/* ========================================
   RESPONSIVE CSS - SEUPETMERECE
   ======================================== */

/* Tablets e dispositivos médios (768px e abaixo) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Hero Section */
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Grid de Produtos */
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    /* Steps */
    .steps {
        grid-template-columns: 1fr;
    }
    
    /* Benefícios */
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Formulários */
    form .form-row {
        flex-direction: column;
    }
    
    form .form-group {
        width: 100% !important;
    }
    
    /* Tabelas */
    table {
        font-size: 12px;
    }
    
    table th, table td {
        padding: 8px 5px;
    }
    
    /* Overflow horizontal para tabelas grandes */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Dashboard Admin */
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Carrossel */
    .carousel {
        height: 300px;
    }
}

/* Celulares (576px e abaixo) */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .btn {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .produto-card {
        max-width: 100%;
    }
    
    /* Popup WhatsApp */
    #whatsapp-popup {
        width: 95% !important;
        margin: 10px;
    }
    
    .carousel {
        height: 250px;
    }
}

/* Ajustes gerais para melhorar a experiência mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

input, select, textarea, button {
    font-size: 16px; /* Previne zoom no iOS */
}

/* Melhoria de toque */
.btn, a, button {
    min-height: 44px;
    min-width: 44px;
}
