/* ========================================
   MEDIA QUERIES - RESPONSIVO
   ======================================== */

/* Tablets e dispositivos médios */
@media (max-width: 1024px) {
    :root {
        --font-5xl: 3rem;
        --font-4xl: 2.5rem;
        --font-3xl: 2rem;
        --font-2xl: 1.75rem;
        --font-xl: 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: var(--font-3xl);
    }
    
    .hero-description {
        font-size: var(--font-base);
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas a {
        width: 100%;
        justify-content: center;
    }
}

/* Smartphones e dispositivos pequenos */
@media (max-width: 768px) {
    :root {
        --font-5xl: 2.5rem;
        --font-4xl: 2rem;
        --font-3xl: 1.75rem;
        --font-2xl: 1.5rem;
        --font-xl: 1.25rem;
        --font-lg: 1.125rem;
        --font-base: 1rem;
        --font-sm: 0.875rem;
        --font-xs: 0.75rem;
    }
    
    /* Navbar */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-brand h1 {
        font-size: var(--font-lg);
    }
    
    .nav-brand span {
        font-size: 0.625rem;
    }
    
    /* Hero */
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-badge {
        font-size: var(--font-xs);
        padding: 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: var(--font-2xl);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: var(--font-sm);
    }
    
    .hero-diagram {
        display: none;
    }
    
    /* Seções */
    .section-light,
    .section-dark {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: var(--font-xl);
    }
    
    .section-subtitle {
        font-size: var(--font-base);
    }
    
    /* Grids */
    .comparison-grid,
    .pillars-grid,
    .metrics-grid,
    .status-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cards */
    .ecosystem-card {
        margin-bottom: 2rem;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-2xl);
    }
    
    .card-title h3 {
        font-size: var(--font-xl);
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Diagramas */
    .flow-diagram {
        grid-template-columns: 1fr;
    }
    
    .governance-bottom {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Métricas */
    .metric-number {
        font-size: var(--font-3xl);
    }
    
    .metric-title {
        font-size: var(--font-lg);
    }
    
    /* Impacto Financeiro */
    .impact-financial {
        padding: 2rem 1rem;
    }
    
    .impact-financial h3 {
        font-size: var(--font-xl);
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-value {
        font-size: var(--font-2xl);
    }
    
    /* Status */
    .status-container {
        padding: 1.5rem;
    }
    
    .status-header h3 {
        font-size: var(--font-xl);
    }
    
    /* Disclaimer */
    .disclaimer-central {
        padding: 2rem 0;
    }
    
    .disclaimer-content {
        padding: 1.5rem;
    }
    
    .disclaimer-content p {
        font-size: var(--font-sm);
        text-align: left;
    }
    
    .disclaimer-icons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Banners */
    .banner-evento h2 {
        font-size: var(--font-xl);
    }
    
    .banner-ctas {
        flex-direction: column;
    }
    
    .btn-banner-primary,
    .btn-banner-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Estratégia */
    .estrategia-grid {
        grid-template-columns: 1fr;
    }
    
    /* Botões */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Smartphones muito pequenos */
@media (max-width: 480px) {
    :root {
        --font-5xl: 2rem;
        --font-4xl: 1.75rem;
        --font-3xl: 1.5rem;
        --font-2xl: 1.25rem;
        --font-xl: 1.125rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: var(--font-xl);
    }
    
    .section-header h2 {
        font-size: var(--font-lg);
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-xl);
    }
    
    .metric-number {
        font-size: var(--font-2xl);
    }
    
    .impact-value {
        font-size: var(--font-xl);
    }
    
    .governance-bottom {
        grid-template-columns: 1fr;
    }
}

/* Landscape em smartphones */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-diagram {
        display: none;
    }
    
    .section-light,
    .section-dark {
        padding: 2rem 0;
    }
}

/* Impressão */
@media print {
    .navbar,
    .hero-diagram,
    .btn-eventos-float,
    .whatsapp-widget,
    .scroll-indicator {
        display: none !important;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section-light,
    .section-dark {
        padding: 2rem 0;
        background: white !important;
        color: black !important;
    }
    
    * {
        box-shadow: none !important;
    }
}
