/* ======================================
   RESPONSIVE CSS - Mobile & Tablet
   ====================================== */

/* Desktop Large (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    .container {
        max-width: 1140px;
    }
}

/* Tablet Large (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .stats-container {
        min-width: 250px;
    }
    
    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Navigation */
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cor-branco);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 2rem 2rem;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 998;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Sobre */
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Serviços */
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .banner-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
         /* Depoimentos */
     .depoimento-card {
         flex-direction: column;
         text-align: center;
     }
     
     .testimonial-img {
         width: 80px;
         height: 80px;
         margin: 0 auto;
     }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contato */
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Hero */
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    /* Serviços */
    .servico-card {
        padding: 1.5rem;
    }
    
    .servico-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    /* Depoimentos */
    .carousel-controls {
        bottom: -60px;
    }
    
    .carousel-indicators {
        bottom: -40px;
    }
    
    .testimonial-img {
        width: 70px;
        height: 70px;
    }
    
    .depoimento-image {
        margin-bottom: 1rem;
    }
    
    /* Contato */
    .contato-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
    }
    
    /* Scroll to Top */
    .scroll-top {
        bottom: 80px;
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    /* Cookie Notice */
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
}

/* Mobile Medium (480px - 575px) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Hero */
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-menu {
        width: 100%;
        left: -100%;
    }
    
    .nav-logo .logo-text {
        font-size: 1.25rem;
    }
    
    /* Cards */
    .servico-card,
    .depoimento-card {
        padding: 1.25rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    /* Forms */
    .form-input,
    .form-label {
        font-size: 0.9rem;
    }
    
    .btn-form {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    /* Spacing */
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Hero */
    .hero-content {
        padding: 80px 0 40px;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn-large {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Cards */
    .servico-card,
    .depoimento-card {
        padding: 1rem;
    }
    
    .servico-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-img {
        width: 60px;
        height: 60px;
    }
    
    /* WhatsApp and Scroll */
    .whatsapp-float {
        bottom: 70px;
        right: 10px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .scroll-top {
        bottom: 70px;
        left: 10px;
        width: 40px;
        height: 40px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .nav-menu {
        padding: 80px 2rem 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-img,
    .sobre-img,
    .testimonial-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav-toggle,
    .whatsapp-float,
    .scroll-top,
    .cookie-notice,
    .carousel-controls,
    .carousel-indicators {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
} 