/* =============================================
   ESTILOS RESPONSIVOS
   ============================================= */

/* Tablets - Landscape */
@media (max-width: 1024px) {
    /* Container */
    .container {
        padding: 0 30px;
    }
    
    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-card {
        display: none;
    }
    
    /* Sobre Section */
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-experience {
        position: static;
        margin: 2rem auto;
        width: fit-content;
    }
    
    /* MVV Grid */
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        text-align: left;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-dot {
        left: 20px !important;
        right: auto !important;
    }
    
    /* Valores Grid */
    .valores-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Serviços */
    .servico-content {
        grid-template-columns: 1fr;
    }
    
    .servico-image {
        display: none;
    }
    
    /* Processo */
    .processo-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .processo-steps::before {
        display: none;
    }
    
    /* Por que Grid */
    .porque-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Logos Grid */
    .logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contato Grid */
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Tablets - Portrait */
@media (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    /* Section Spacing */
    section {
        padding: var(--espacamento-xl) 0;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: var(--cor-branco);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--sombra-forte);
        transition: right var(--transicao-media);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--cor-fundo);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero Section */
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    /* Tabs */
    .tabs-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Por que Grid */
    .porque-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    /* Back to Top */
    .back-to-top {
        right: 80px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
    
    /* Utility Classes */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    body {
        font-size: 0.9375rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    
    /* Section Header */
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.9375rem;
        padding: 0.625rem 1.25rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* MVV Cards */
    .mvv-card {
        padding: 1.5rem;
    }
    
    /* Valores Grid */
    .valores-cards {
        grid-template-columns: 1fr;
    }
    
    /* Timeline */
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-year {
        font-size: 1.25rem;
    }
    
    /* Processo Steps */
    .processo-steps {
        grid-template-columns: 1fr;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
    
    /* Logos Grid */
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Depoimentos */
    .depoimento-card {
        padding: 2rem 1.5rem;
    }
    
    .depoimento-text {
        font-size: 1rem;
    }
    
    /* Contato */
    .contato-form {
        padding: 2rem 1.5rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }
    
    /* Footer */
    .footer-column {
        margin-bottom: 2rem;
    }
    
    .footer-contact .contact-item {
        font-size: 0.875rem;
    }
    
    /* Policy Content */
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
    
    /* LGPD Banner */
    .lgpd-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-lgpd {
        width: 100%;
        max-width: 200px;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    /* Container */
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    
    /* Hero */
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    /* Buttons */
    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    /* Cards */
    .card {
        padding: 1.5rem 1rem;
    }
    
    /* Policy */
    .policy-content {
        padding: 1.5rem 1rem;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    /* Container */
    .container {
        max-width: 1320px;
    }
    
    /* Typography */
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    
    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-content {
        min-height: 700px;
    }
}

/* Print Media */
@media print {
    /* Hide unnecessary elements */
    .main-header,
    .hero-cta,
    .whatsapp-float,
    .back-to-top,
    .lgpd-banner,
    .nav-cta,
    .footer-social,
    .quick-actions,
    .carousel-nav,
    .carousel-dots {
        display: none !important;
    }
    
    /* Adjust spacing */
    section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    
    /* Ensure text is black */
    body,
    h1, h2, h3, h4, h5, h6,
    p, li, td, th {
        color: #000 !important;
    }
    
    /* Remove backgrounds */
    * {
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    /* Links */
    a {
        text-decoration: underline;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment and adjust if dark mode is needed
    :root {
        --cor-primaria: #1A252F;
        --cor-secundaria: #2C3E50;
        --cor-fundo: #121212;
        --cor-texto: #E0E0E0;
        --cor-branco: #1E1E1E;
    }
    */
}
