/* =====================================================
   Biologia Digital — Responsive
   Breakpoints: 1024 / 768 / 560 + movimento reduzido
   Base (styles.css) é mobile-first: menu em painel
   ===================================================== */

/* --- MOVIMENTO REDUZIDO --- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-mesh,
    .logo-dna { animation: none; }
    .area-card,
    .stat-item,
    .content-block {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- TABLET 768px: nav vira barra inline --- */
@media (min-width: 768px) {
    .menu-toggle { display: none; }

    #main-nav {
        position: static;
        transform: none;
        background: transparent;
        border-bottom: none;
        box-shadow: none;
    }

    .nav-list {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 1.4rem;
        padding: 0;
    }

    .nav-list li { border-bottom: none; }

    .nav-list a {
        font-size: 0.82rem;
        padding: 0.35rem 0.1rem;
        color: rgba(226, 240, 230, 0.82);
        border-bottom: 2px solid transparent;
    }

    .nav-list a::before { content: ''; }

    .nav-list a:hover {
        color: var(--gfp);
        padding-left: 0.1rem;
        border-bottom-color: rgba(53, 217, 138, 0.6);
    }

    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-col p { max-width: none; }

    .section { padding: 4.6rem 0; }
    .hero { padding: 5.6rem 0 6.6rem; }
}

/* --- DESKTOP 1024px --- */
@media (min-width: 1024px) {
    .areas-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }

    .area-card { padding: 1.7rem 1.6rem 1.5rem 5.8rem; }
    .stat-number { font-size: 2.6rem; }

    .hero { padding: 6.4rem 0 7.2rem; }
    .hero h1 { max-width: 24ch; }

    h2 { max-width: none; }
}

/* --- CELULAR 560px --- */
@media (max-width: 560px) {
    .container { padding: 0 1.05rem; }

    .hero { padding: 3.6rem 0 5rem; }
    .hero::after { left: 6%; right: 6%; bottom: 1.9rem; }
    .hero-subtitle { font-size: 0.95rem; padding-left: 0.85rem; }

    .section { padding: 3rem 0; }
    .section-alt { padding: 3rem 0; }

    .content-block p:first-of-type::first-letter { font-size: 2.9em; }

    /* lane compacta: bandas acima do texto */
    .area-card { padding: 3.4rem 1.2rem 1.3rem 1.2rem; }
    .area-card::before {
        left: 1.2rem; top: 1.5rem;
        box-shadow: 0 5px 0 var(--gfp), 0 10px 0 rgba(53, 217, 138, 0.45), 0 15px 0 rgba(53, 217, 138, 0.18);
    }
    .area-number { top: 1.1rem; right: 1rem; }

    .stat-item { padding: 1.25rem 1rem 1.1rem; }
    .stat-number { font-size: 1.9rem; }
    .stat-label { font-size: 0.78rem; }

    .cta-wrapper p { display: block; text-align: center; padding: 0.9rem 1.2rem; }

    .footer-grid { gap: 1.7rem; }
    .whatsapp-btn { bottom: 1.1rem; right: 1.1rem; width: 54px; height: 54px; }
    .whatsapp-btn svg { width: 27px; height: 27px; }
}
