/* =============================================================
   home.css — todo o CSS que estava inline em index.html
   Extraído em 2026-08-19, ORDEM ORIGINAL PRESERVADA (importante:
   CSS depende de ordem quando o mesmo seletor aparece mais de
   uma vez — reordenar quebra o cascade). Ainda tem bastante
   sobreposição com exam.css (mesmo design system, extraído
   separado por segurança). Ver relatório de unificação p/ Astro.
   ============================================================= */


    /* ===== LGC DESIGN SYSTEM ===== */
    :root {
      --brand: #047691; --brand-dark: #086985; --brand-accent: #2DC7C7; --brand-green: #31AB6F;
      --text-navy: #182B38; --text-ink: #242A33; --text-gray: #545E6C; --text-storm: #66717F;
      --bg-white: #ffffff; --bg-light: #F4FBFC; --bg-highlight: #E8F7FA; --border: #E8F0F6;
      --shadow: rgba(29, 42, 52, 0.05) 0px 4px 16px 0px; --shadow-hover: rgba(29, 42, 52, 0.10) 0px 8px 32px 0px;
      --radius-sm: 8px; --radius-md: 16px; --radius-pill: 9999px; --orange: #E67528; --orange-dark: #C6601F;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { font-size: 100%; scroll-behavior: smooth; transition: font-size 0.3s; }
    /* "Reduzir movimento" ligado no aparelho: sem rolagem animada (2026-10-09, aprovado pelo
       usuário; WCAG 2.3.3). */
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
    body { font-family: "Source Sans 3", "Source Sans Pro", "Nunito Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--text-ink); background: var(--bg-white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
      a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
      .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

    /* ===== LGC EXACT TYPOGRAPHY SCALE =====
       CRITICAL: LGC uses weight 400 (regular) for ALL headings.
       This is the #1 visual signature of their clean editorial style.
    */
    h1, h2, h3, h4 { font-weight: 400; color: var(--text-navy); line-height: 1.2; }
    /* LGC heading scale (extracted from live site) */
    h1 { font-size: clamp(24px, 3vw, 34px); line-height: 52px; letter-spacing: -0.01em; }
    h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; }
    h3 { font-size: 18px; font-weight: 700; line-height: 21.6px; }
    p  { font-size: 16px; line-height: 1.5; color: var(--text-gray); }
    /* Alto contraste: ver /css/high-contrast.css (2026-09-25). O filtro invert() que ficava
       aqui deixava negativa toda foto de fundo via CSS (ex.: Coleta Domiciliar). */
    a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
    a:hover { opacity: 0.75; }
    .btn:hover, .quick-card:hover, .hero-drop:hover, .exam-card:hover, .exam-cat-card:hover, .unit-card:hover, .service-block:hover, .blog-card:hover { opacity: 1; /* override for complex elements */ }
    img { max-width: 100%; height: auto; display: block; } /* height:auto: com width/height no <img> (4A.0b), a altura segue a proporcao quando a largura encolhe */
    ul { list-style: none; }
    button { font-family: inherit; cursor: pointer; border: none; background: none; transition: all 0.2s ease; }
    button:hover { opacity: 0.75; }

    .container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

    /* Container de página (ver BaseLayout.astro). Todos os breakpoints desta folha que
       mexem em algo DENTRO dele são @container page (...), não @media: o A+/A- aplica zoom
       na <html>, e só container query enxerga a largura já com zoom (1280px a 125% = 1024px
       de CSS). @media ficou só pro que está fora do container (html/body, gaveta mobile,
       botão flutuante). Detalhes: Manuais/Arquitetura_Frontend_Astro.md, seção 13. */
    .page-root { container-type: inline-size; container-name: page; }

    /* ===== BUTTONS ===== */
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-size: 16px; font-weight: 600; border-radius: var(--radius-sm); transition: background 0.2s, color 0.2s, transform 0.15s; white-space: nowrap; cursor: pointer; border: none; font-family: inherit; height: 48px; }
    .btn:hover { transform: translateY(-1px); }
    .btn-primary { background-color: var(--brand); color: #ffffff; }
    .btn-primary:hover { background-color: var(--brand-dark); }
    .btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
    .btn-outline:hover { background: var(--brand-dark); color: #ffffff; border-color: var(--brand-dark); }
    .btn-white { background: #fff; color: var(--text-navy); }
    .btn-white:hover { background: #f0f0f9; }
    .btn-sm { padding: 8px 16px; font-size: 14px; height: 40px; }

    /* NOVO PADRO DE CARDS / CAIXAS LIMPAS */
    .clean-box { background: rgba(255, 255, 255, 1); border: none; border-radius: 16px; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; }

    /* HIGHIGHT BOX */
    .highlight-box { background: var(--border); border: none; border-radius: 8px; padding: 20px 24px; font-size: 15px; font-weight: 400; color: var(--text-navy); margin: 32px 0; display: flex; align-items: flex-start; gap: 16px; }
    .highlight-icon { color: var(--brand); font-size: 24px; flex-shrink: 0; }

    /* TWO COLUMN LAYOUT */
    .two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
    @container page (max-width: 1024px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }

    /* VERTICAL STEPS */
    .steps-col { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
    .step-row { display: flex; gap: 24px; align-items: flex-start; padding: 24px; }
    .step-circle { width: 52px; height: 52px; background: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 400; color: #ffffff; flex-shrink: 0; }
    .step-body-title { font-size: 20px; font-weight: 400; color: var(--text-navy); margin-bottom: 8px; }
    .step-body-desc { font-size: 16px; font-weight: 400; color: var(--text-gray); line-height: 1.6; }
    
    /* ===== A1. ACCESSIBILITY STRIP ===== */
    .access-strip { background: #f1f5f9; border-bottom: 1px solid var(--border); padding: 5px 0; font-size: 12px; }
    .access-strip-inner { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
    .access-btn { background: none; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--text-gray); cursor: pointer; padding: 2px 8px; transition: background 0.2s; }
    .access-btn:hover { background: #e2e8f0; }

    /* ===== A. TOP BAR ===== */
    .a11y-bar { background-color: #114259; color: #ffffff; padding: 7px 0; font-size: 14px; position: relative; border-bottom: 1px solid rgba(0,0,0,0.1); }
    .a11y-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
    .a11y-contacts { display: flex; gap: 20px; align-items: center; }
    .a11y-contacts a { color: #fff; text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 6px; }
    .a11y-contacts a:hover { text-decoration: underline; }
    .a11y-cta-group { display: flex; gap: 10px; align-items: center; }
    .a11y-cta-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: opacity 0.2s; white-space: nowrap; }
    .a11y-cta-btn:hover { opacity: 0.85; }
    .a11y-cta-btn.outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: #fff; }`n    
    .a11y-cta-btn.solid { background: var(--brand); color: #fff; border: 1.5px solid var(--brand); }

    /* Top Bar Hamburger Menu */
    .a11y-hamburger-btn { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; border-radius: 8px; padding: 4px 8px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; transition: background 0.2s; }
    .a11y-hamburger-btn:hover { background: rgba(255,255,255,0.1); }
    .a11y-dropdown { position: absolute; top: 100%; right: 16px; background: #ffffff; color: var(--text-gray); border-radius: 8px; box-shadow: 0 10px 25px rgba(33,63,102,0.15); width: 260px; padding: 16px; z-index: 200; display: none; flex-direction: column; gap: 16px; margin-top: 12px; border: 1px solid #D0DEEB; }
    .a11y-dropdown.active { display: flex; }
    .a11y-dropdown a { color: var(--text-gray); text-decoration: none; font-weight: 600; font-size: 14px; transition: color 0.2s; }
    .a11y-dropdown a:hover { color: var(--brand); }
    .a11y-dropdown-section { display: flex; flex-direction: column; gap: 12px; }
    .a11y-dropdown-divider { height: 1px; background: var(--border); margin: 0 -16px; }
    .a11y-contact { display: flex; gap: 16px; opacity: 0.9; }
    .a11y-controls { display: flex; gap: 12px; align-items: center; }
    .a11y-btn { background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 12px; cursor: pointer; padding: 2px 8px; border-radius: 8px; transition: 0.2s; }
    .a11y-btn:hover { background: rgba(255,255,255,0.1); }
    
    /* Search Bar Topo */
    .top-search { position: relative; margin-left: 8px; }
    .top-search input { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 4px 12px 4px 32px; color: #fff; font-size: 14px; outline: none; width: 180px; transition: all 0.2s; font-family: inherit; }
    .top-search input::placeholder { color: rgba(255,255,255,0.7); }
    .top-search input:focus { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.4); width: 200px; }
    .top-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); opacity: 0.7; color: #fff; }

    /* Mobile Navigation Drawer */
    .mobile-nav-btn { display: none; background: none; border: none; color: var(--text-navy); font-size: 24px; cursor: pointer; }
    
    .mobile-drawer { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: #ffffff; z-index: 9999; padding: 24px 16px; display: flex; flex-direction: column; gap: 12px; transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; }
    .mobile-drawer.active { right: 0; }
    .mobile-drawer-header { display: flex; justify-content: space-between; align-items: center; }
    .mobile-drawer-title { font-size: 18px; font-weight: 700; color: var(--text-navy); }
    .mobile-drawer-close { background: #f1f5f9; border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-gray); cursor: pointer; transition: background 0.2s; }
    .mobile-drawer-close:hover { background: #e2e8f0; }
    
    .mobile-drawer .highlight-link { display: flex; align-items: center; justify-content: flex-start; background: var(--brand); border: 1px solid var(--brand); border-radius: 12px; padding: 12px 14px; color: #ffffff; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
    .mobile-drawer .highlight-link:active { transform: scale(0.98); }
    
    /* Accordion in Mobile Drawer */
    .drawer-accordion { display: flex; flex-direction: column; gap: 0; width: 100%; }
    .accordion-btn { display: flex; justify-content: space-between; align-items: center; background: #f8fafd; border: 1px solid #D0DEEB; border-radius: 12px; padding: 12px 14px; min-height: 44px; color: var(--text-navy); font-size: 15px; font-weight: 600; text-decoration: none; width: 100%; text-align: left; cursor: pointer; transition: background 0.2s; font-family: inherit; }
    .accordion-btn:hover { background: #f1f5f9; }
    .accordion-btn svg { transition: transform 0.3s; color: #64748b; width: 16px; height: 16px; }
    .accordion-btn.active svg { transform: rotate(180deg); }
    .accordion-btn.active { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; }
    .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: transparent; margin-top: 0; border: none; }
    .accordion-inner { padding: 16px 16px 12px 16px; display: flex; flex-direction: column; gap: 10px; background: #ffffff; border: 1px solid #D0DEEB; border-top: none; border-radius: 0 0 12px 12px; }
    .accordion-inner h4 { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; margin: 6px 0 0; }
    .accordion-inner a { padding: 10px 0 !important; min-height: 44px; background: transparent !important; border: none !important; border-radius: 0 !important; font-size: 14px !important; color: var(--text-gray) !important; font-weight: 600 !important; display: flex !important; align-items: center; }
    .accordion-inner a:hover { color: var(--brand) !important; }
    .accordion-inner a::after { display: none !important; }
    
    .mobile-backdrop { position: fixed; inset: 0; background: rgba(33,63,102,0.8); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
    .mobile-backdrop.active { opacity: 1; pointer-events: auto; }

    /* ===== B. HEADER / NAVIGATION ===== */
    .header { padding: 20px 0; background: #ffffff; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); box-shadow: 0 4px 20px rgba(33,63,102,0.05); }
    .header-inner { display: flex; justify-content: space-between; align-items: center; }
    .site-logo img { height: 42px; width: auto; object-fit: contain; flex-shrink: 0; min-width: 150px; }
    .header-nav { display: flex; gap: 14px; align-items: center; height: 100%; margin-left: 32px; }
    .header-nav > a, .has-dropdown > a, .dropdown-trigger { color: var(--text-navy); font-size: 14px; font-weight: 600; transition: color 0.2s; text-decoration: none; padding: 8px 0; display: flex; align-items: center; gap: 4px; cursor: pointer; background: none; border: none; font-family: inherit; min-height: 44px; }
    .header-nav > a:hover, .has-dropdown > a:hover, .dropdown-trigger:hover { color: var(--brand); }
    .dropdown-trigger svg { transition: transform 0.2s ease; }
    .dropdown-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

    /* MEGAMENU DESKTOP -- posicionamento por JS desde a Fase 3 (2026-09-28), ver o
       <script> em Header.astro. Antes o menu ficava centralizado no PAI via
       transform:translateX(-50%), e a variante --align-end tinha especificidade maior
       que a do :hover e "vencia" ela: o menu de Serviços saía ~100px deslocado pra
       esquerda, embaixo de "Unidades". Agora left/--arrow-x vêm do JS, calculados a
       partir do centro real do botão-gatilho, e a abertura é por classe .is-open (hover
       intent com atraso, clique/toque e teclado), não mais só :hover. */
    .has-dropdown { position: relative; display: flex; align-items: center; height: 100%; }
    /* transition: opacity/visibility/transform, nunca "all" -- o JS acima seta left/
       --arrow-x no mesmo tick que abre o menu, e "transition: all" também animava essas
       propriedades: o menu deslizava na horizontal de um jeito estranho ao abrir, e uma
       leitura de posição logo depois do clique pegava o frame 0 da transição (left ainda
       em 0), não o valor final. Achado rodando o probe de verdade (verify-nav-menu.mjs),
       não lendo o CSS. */
    .nav-dropdown { position: absolute; top: 100%; left: 0; transform: translateY(8px); background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(0,0,0,0.06); border-radius: 16px; box-shadow: 0 24px 48px rgba(15,23,42,0.1), 0 4px 6px rgba(15,23,42,0.05); padding: 32px; display: flex; gap: 48px; opacity: 0; visibility: hidden; transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); z-index: 200; pointer-events: none; }
    .nav-dropdown::before { content: ''; position: absolute; top: -6px; left: var(--arrow-x, 24px); transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: #ffffff; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
    /* Ponte invisível: sem margin-top no menu (o top:100% já encosta no gatilho), essa
       faixa de 16px acima cobre o deslize de 8px do translateY e dá folga pro mouse
       passar de um pro outro sem contar como "saiu" (mouseleave). */
    .nav-dropdown::after { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
    .has-dropdown.is-open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
    .dropdown-col { display: flex; flex-direction: column; gap: 6px; min-width: 220px; }
    .dropdown-col h4 { font-size: 12px; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; border-bottom: none; padding-bottom: 0; }
.dropdown-col h4::before { content: ""; display: inline-block; width: 6px; height: 6px; background-color: var(--brand-accent); border-radius: 50%; }
    .dropdown-col a { color: var(--text-gray) !important; font-size: 14px !important; font-weight: 600 !important; padding: 12px 14px !important; min-height: 44px; transition: all 0.25s ease !important; border-radius: 8px; display: flex !important; align-items: center; }
    .dropdown-col a:hover { color: var(--brand-dark) !important; background: #f1f5f9; transform: translateX(4px); }
    .nav-dropdown-overview { color: var(--brand-dark) !important; font-size: 14px !important; font-weight: 700 !important; padding: 10px 14px !important; min-height: 44px; display: flex !important; align-items: center; border-radius: 8px; align-self: flex-start; text-decoration: none; }
    .nav-dropdown-overview:hover { background: #f1f5f9; }

    .header-actions { display: flex; gap: 8px; align-items: center; margin-left: 16px; flex-shrink: 0; }
    
    /* Small Header buttons */
    .header-btn { padding: 0 14px; font-size: 14px; height: 40px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
    .header-btn-outline { border: 1.5px solid var(--brand); color: var(--brand); background: transparent; }
    .header-btn-outline:hover { background: var(--brand-dark); color: #ffffff; border-color: var(--brand-dark); }
    .header-btn-solid { background: var(--brand); color: #ffffff; border: 1.5px solid var(--brand); }
    .header-btn-solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

    /* ===== C. DISCOUNT BANNER ===== */
    .discount-banner { background: var(--border); color: var(--brand); text-align: center; padding: 12px 20px; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
    .discount-banner a { color: var(--brand-dark); text-decoration: underline; font-weight: 700; }

    /* ===== D. HERO  LGC split layout ===== */
    /* LGC: hero section bg is pure white, 64px vertical padding */
    .hero { padding: 64px 0; background: #ffffff; }
    /* minmax(0, …): sem isso a coluna do grid não encolhe abaixo do conteúdo mais largo
       (1fr = minmax(auto, 1fr)) e, com A+ no celular, o hero inteiro passava da tela. */
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 64px; align-items: center; }
    /* LGC Hero: h1 weight=400, size=44px, line-height=52px */
    .hero h1 { font-size: 55px; font-weight: 400; color: var(--text-navy); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 24px; }
    .hero h1 .highlight { color: var(--brand); }
    /* LGC subtitle: 20px, weight 400, line-height 28px, color var(--text-gray) */
    .hero-sub { font-size: 20px; font-weight: 400; color: var(--text-gray); line-height: 28px; max-width: 480px; margin-bottom: 24px; }
    .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
    /* LGC CTAs: height 48px, padding 12px 24px */
    .hero-ctas .btn { height: 48px; padding: 12px 24px; }
    .hero-social-proof { display: flex; align-items: center; gap: 10px; }
    .stars { display: flex; gap: 2px; }
    .star { color: #FACC15; font-size: 16px; }
    .proof-text { font-size: 14px; color: var(--text-storm); font-weight: 400; }
    .proof-text strong { color: var(--text-navy); font-weight: 600; }

    /* Hero image: radius 16px, não hard crop */
    .hero-visual { position: relative; }
    .hero-visual img { border-radius: 16px; width: 100%; height: auto; display: block; }
    /* Remove the floating badge  too noisy */
    .hero-badge-2 { display: none; }

    @container page (max-width: 767px) {
      .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    }

    /* ===== E. QUICK ACTIONS  LGC info band ===== */
    /* LGC: sits on #F8FAFD bg, cards have clean border */
    .quick-actions { padding: 48px 0; background: var(--bg-highlight); }
    .quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    /* LGC quick cards: clean box */
    .quick-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 28px 20px; background: rgba(255, 255, 255, 1); border: none; border-radius: 16px; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; text-align: center; color: var(--text-ink); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; text-decoration: none; }
    .quick-card:hover { transform: translateY(-4px); box-shadow: rgba(95,109,179,0.24) 0px 8px 24px 0px; }
    /* LGC icon containers: 48px circle/rounded, bg var(--border), icon 24px teal */
    .quick-icon { width: 48px; height: 48px; background: #e8f7fa; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--brand); flex-shrink: 0; }
    .quick-title { font-size: 14px; font-weight: 600; color: var(--text-navy); line-height: 1.5; }

    @container page (max-width: 767px) { .quick-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

    /* ===== F. SOCIAL PROOF  LGC review strip ===== */
    .social-proof-inner { background: rgba(255, 255, 255, 1); border: none; border-radius: 16px; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; padding: 48px 40px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: center; }
    .proof-stars-big { display: flex; gap: 4px; margin-bottom: 10px; }
    .star-big { font-size: 28px; color: #FACC15; }
    .proof-score { font-size: 44px; font-weight: 400; color: var(--text-navy); line-height: 1; margin-bottom: 6px; }
    .proof-count { font-size: 16px; font-weight: 400; color: var(--text-storm); margin-bottom: 16px; }
    .proof-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-green); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 9999px; }
    .proof-right { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .review-stars { display: flex; gap: 2px; margin-bottom: 8px; }
    .review-star { color: #FACC15; font-size: 14px; }
    .review-text { font-size: 14px; font-weight: 400; color: var(--text-gray); line-height: 1.6; margin-bottom: 10px; }
    .review-author { font-size: 14px; font-weight: 600; color: var(--text-storm); }

    @container page (max-width: 767px) { .social-proof-inner { grid-template-columns: 1fr; padding: 32px 24px; } .proof-right { grid-template-columns: 1fr; } }

    /* ===== G. EXAM HUB / CATEGORIES  pure white bg ===== */
    .exam-hub-section { padding: 64px 0; background: #ffffff; }
    .section-header { margin-bottom: 40px; }
    /* LGC eyebrow: 12px, weight 600, uppercase, letter-spacing 0.1em, teal */
    .section-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); margin-bottom: 10px; }
    /* LGC section title: weight 400 (regular!) */
    .section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 400; color: var(--text-navy); line-height: 1.25; margin-bottom: 8px; }
    .section-subtitle { font-size: 16px; font-weight: 400; color: var(--text-storm); }
    .exam-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
    /* LGC category cards: clean border, radius 12px */
    .exam-cat-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; background: rgba(255, 255, 255, 1); border: none; border-radius: 16px; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; text-decoration: none; color: var(--text-ink); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
    .exam-cat-card:hover { transform: translateY(-4px); box-shadow: rgba(95,109,179,0.24) 0px 8px 24px 0px; }
    .exam-cat-img { height: 130px; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; }
    
    /* MOBILE STICKY */
    .mob-sticky { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 900; padding: 16px 24px; background: #ffffff; border-top: 1px solid var(--border); display: none; gap: 12px; box-shadow: rgba(95,109,179,0.16) 0 -4px 16px; }

    @container page (max-width: 767px) {
      .mob-sticky { display: flex; }
      .footer { padding-bottom: 100px; }
    }
    .exam-cat-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
      a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
    .exam-cat-name { font-size: 16px; font-weight: 600; color: var(--text-navy); line-height: 1.2; }
    .exam-cat-count { font-size: 14px; color: var(--text-storm); font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; margin: 4px 0; }
    .exam-cat-arrow { margin-top: auto; color: var(--brand); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }

    @container page (max-width: 767px) { .exam-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }

    /* ===== H. FEATURED EXAMS  LGC #F8FAFD bg ===== */
    .featured-exams-section { padding: 64px 0; background: #f8fafd; }
    .exams-scroll { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 0 16px; margin-bottom: 32px; }
    .exams-scroll::-webkit-scrollbar { height: 4px; }
    .exams-scroll::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
    .exams-scroll::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 2px; }
    /* LGC product cards: padding 24px, clean border */
    .exam-card { flex: 0 0 260px; scroll-snap-align: start; background: rgba(255, 255, 255, 1); border: none; border-radius: 16px; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.2s, box-shadow 0.2s; }
    .exam-card:hover { transform: translateY(-4px); box-shadow: rgba(95,109,179,0.24) 0px 8px 24px 0px; }
    .exam-badge-pill { display: inline-block; background: var(--bg-highlight); color: var(--brand); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 9999px; align-self: flex-start; }
    .exam-name { font-size: 20px; font-weight: 400; color: var(--text-navy); line-height: 1.25; }
    .exam-benefit { font-size: 14px; font-weight: 400; color: var(--text-gray); line-height: 1.5; flex: 1; }
    .exam-price { font-size: 16px; font-weight: 600; color: #0f172a; line-height: 1; margin-top: auto; display: flex; align-items: flex-start; margin-bottom: 12px; }
    .exam-price sup { font-size: 12px; font-weight: 600; vertical-align: top; margin-top: 3px; }
    .btn-exam { background-color: var(--brand); color: #ffffff; padding: 0 16px; border-radius: 6px; font-size: 13px; font-weight: 600; text-align: center; display: block; transition: background 0.2s; font-family: inherit; cursor: pointer; border: none; height: 36px; display: flex; align-items: center; justify-content: center; }
    .btn-exam:hover { background-color: var(--brand-dark); }
    .exam-detail { text-align: center; font-size: 14px; color: var(--brand); font-weight: 600; padding: 4px; }
    .exam-detail:hover { text-decoration: underline; }

    @container page (min-width: 1024px) {
      .exams-scroll { display: grid; grid-template-columns: repeat(5, 1fr); overflow-x: visible; }
      .exam-card { flex: none; }
    }

    /* ===== I. HOW IT WORKS  pure white bg ===== */
    .how-it-works { padding: 64px 0; background: #ffffff; }
    .steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
    /* LGC steps: bg #f8fafd card, radius 16px, não border */
    .step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; background: #f8fafd; border-radius: 16px; border: none; }
    /* LGC step numbers: solid teal circle, weight 400 */
    .step-number { width: 52px; height: 52px; background: var(--brand); color: #fff; font-size: 20px; font-weight: 400; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
    .step-emoji { font-size: 30px; margin-bottom: 10px; }
    .step-title { font-size: 20px; font-weight: 400; color: var(--text-navy); margin-bottom: 8px; }
    .step-desc { font-size: 16px; font-weight: 400; color: var(--text-gray); line-height: 1.6; }
    .step-arrow { display: flex; align-items: center; justify-content: center; color: var(--brand-accent); opacity: 0.5; font-size: 24px; padding: 0 4px; margin-top: 48px; }

    @container page (max-width: 767px) {
      .steps-grid { grid-template-columns: 1fr; gap: 12px; }
      .step-arrow { display: none; }
      .step { flex-direction: row; text-align: left; gap: 16px; align-items: flex-start; }
      .step-number { flex-shrink: 0; margin-bottom: 0; }
    }

    /* ===== J. UNITS  LGC #F8FAFD ===== */
    .units-section { padding: 64px 0; background: #f8fafd; }
    .city-selector { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
    .city-pill { padding: 8px 20px; border-radius: 9999px; font-size: 14px; font-weight: 600; cursor: pointer; border: 1.5px solid #D0DEEB; background: #ffffff; color: var(--text-storm); transition: all 0.2s; }
    .city-pill.active, .city-pill:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
    .units-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
    .unit-card[data-city="metro"] { display: none; }
    /* LGC unit cards: clean box */
    .unit-card { background: rgba(255, 255, 255, 1); border: none; border-radius: 16px; padding: 24px; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; gap: 8px; }
    .unit-card:hover { transform: translateY(-4px); box-shadow: rgba(95,109,179,0.24) 0px 8px 24px 0px; }
    .unit-header { display: flex; align-items: center; gap: 10px; }
    /* LGC icon containers */
    .unit-icon { width: 40px; height: 40px; background: var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 20px; flex-shrink: 0; }
    .unit-name { font-size: 18px; font-weight: 600; color: var(--text-navy); }
    .unit-address { font-size: 14px; font-weight: 400; color: var(--text-storm); display: flex; align-items: flex-start; gap: 6px; margin-bottom: 8px; }
    .unit-hours { font-size: 14px; color: var(--brand-green); font-weight: 600; display: flex; align-items: center; gap: 6px; }
    .unit-hours::before { content: ''; width: 7px; height: 7px; background: var(--brand-green); border-radius: 50%; display: inline-block; flex-shrink: 0; }
    /* Dois horários por card desde 2026-09-28 (atendimento + coleta), cada um com rótulo --
       sem rótulo, dois horários seguidos ficavam ambíguos. O horário pode quebrar linha no
       celular: ponto e rótulo ficam alinhados à 1ª linha, o horário quebra embaixo de si. */
    .unit-hours { align-items: flex-start; line-height: 21px; }
    .unit-hours::before { margin-top: 7px; }
    .unit-hours-label { color: var(--text-navy); font-weight: 700; flex-shrink: 0; }
    /* (2026-10-05, achado da Fase 10) Cada trecho ("Sáb 7h30–11h") numa linha só: o navegador
       quebrava logo depois do "–" ("Sáb 7h30–" / "11h": 10 de 44 trechos a 1440 px). Com base 0, os
       horários só descem para baixo do rótulo quando nem um trecho cabe ao lado (A+ alto em tela
       estreita), em vez de vazar do card -- o motivo de o nowrap ter saído em 28/09. */
    .unit-hours { flex-wrap: wrap; }
    .unit-hours-seg { white-space: nowrap; }
    .unit-hours > span:last-child { flex: 1 1 0%; }
    /* Card de unidade é link para a página da unidade (2026-10-05). */
    a.unit-card { text-decoration: none; color: inherit; }
    /* Sem nowrap: "Seg–Sex" e "7h–17h30" (en dash, sem espaço) já são tokens que o navegador
       nunca quebra no meio -- só pode quebrar ENTRE eles, o que é aceitável. Um nowrap por
       segmento parecia mais seguro, mas em zoom extremo (150% a 320-375px, ~213-276px
       efetivos) nenhum segmento cabia, e o texto vazava pra fora do card (achado real,
       2026-09-28). Sem nowrap, quebra normal, sem estourar a tela. */
    .units-cta { text-align: center; }

    @container page (max-width: 767px) { .units-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
    @container page (min-width: 768px) and (max-width: 1023px) { .units-grid { grid-template-columns: 1fr 1fr; } }

    /* ===== K. SERVICES  pure white bg ===== */
    .services-section { padding: 64px 0; background: #ffffff; }
    .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
    /* LGC service cards: clean box */
    .service-block { background: rgba(255, 255, 255, 1); border: none; border-radius: 16px; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.2s, box-shadow 0.2s; }
    .service-block:hover { transform: translateY(-4px); box-shadow: rgba(95,109,179,0.24) 0px 8px 24px 0px; }
    /* LGC icon containers: 48px, bg var(--border), radius 12px */
    .service-icon-wrap { width: 48px; height: 48px; background: var(--border); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 24px; margin-bottom: 4px; flex-shrink: 0; }
    .service-title { font-size: 20px; font-weight: 400; color: var(--text-navy); }
    .service-desc { font-size: 16px; font-weight: 400; color: var(--text-gray); line-height: 1.6; flex: 1; }
    .service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
    .service-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; background: var(--border); color: var(--brand); border-radius: 9999px; }

    @container page (max-width: 767px) { .services-grid { grid-template-columns: 1fr; } }
    @container page (min-width: 768px) and (max-width: 1023px) { .services-grid { grid-template-columns: 1fr 1fr; } }

    /* ===== L. BLOG  #F8FAFD bg ===== */
    .blog-section { padding: 64px 0; background: #f8fafd; }
    /* auto-fill (era auto-fit, 06/10, pedido do usuário): os lugares vazios continuam na grade,
       então com 1 a 3 artigos os cards ficam do mesmo tamanho, sem esticar. Com 4, igual. */
    .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
    /* LGC blog cards: clean box */
    .blog-card { background: #ffffff; border-radius: 16px; border: none; box-shadow: rgba(95,109,179,0.16) 0px 2px 12px 0px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
    .blog-card:hover { transform: translateY(-4px); box-shadow: rgba(95,109,179,0.24) 0px 8px 24px 0px; }
    .blog-img { height: 200px; position: relative; overflow: hidden; }
    .blog-img-1 { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-accent) 100%); }
    .blog-img-2 { background: linear-gradient(135deg, var(--brand-green) 0%, #7ec8a0 100%); }
    .blog-img-pattern { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 72px; opacity: 0.25; }
    .blog-tag { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--brand); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 9999px; }
    .blog-body { padding: 24px; }
      a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
    .blog-title { font-size: 20px; font-weight: 400; color: var(--text-navy); line-height: 1.35; margin-bottom: 10px; }
    .blog-excerpt { font-size: 16px; font-weight: 400; color: var(--text-gray); line-height: 1.6; margin-bottom: 16px; }
    .blog-read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: var(--brand); transition: gap 0.15s; }
    .blog-read-more:hover { gap: 10px; text-decoration: underline; }

    @container page (max-width: 767px) { 
      .blog-grid { 
        display: flex !important; 
        flex-wrap: nowrap !important;
        overflow-x: auto !important; 
        scroll-snap-type: x mandatory; 
        -webkit-overflow-scrolling: touch; 
        padding-bottom: 16px !important;
        gap: 16px !important;
      }
      .blog-grid::-webkit-scrollbar { height: 4px; }
      .blog-grid::-webkit-scrollbar-track { background: var(--border); border-radius: 2px; }
      .blog-grid::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 2px; }
      .blog-grid > a {
        flex: 0 0 85% !important;
        scroll-snap-align: start;
      }
    }

    /* ===== M. SECURITY WARNING ===== */
    .security-warning { background: #fffbeb; border-top: 2px solid #fcd34d; border-bottom: 2px solid #fcd34d; padding: 16px 0; }
    .security-warning .container { display: flex; align-items: center; justify-content: center; gap: 8px; }
    .security-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
    /* white-space: normal sempre (era nowrap fora do tablet/mobile): a frase não cabe numa
       linha entre 1025 e ~1150px e estourava a tela (medido, 2026-09-24). */
    .security-text { font-size: 14px; color: #92400e; line-height: 1.5; text-align: center; width: 100%; white-space: normal; }
    .security-text strong { color: #78350f; }

    /* ===== N. FOOTER ===== */
    .footer { background-color: var(--brand); color: #ffffff; padding: 64px 0 32px; }
    .footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; margin-bottom: 48px; }
    .footer-logo { margin-bottom: 24px; display: inline-block; background: #ffffff; padding: 12px 16px; border-radius: 8px; }
    .footer-gnext-link:hover { opacity: 0.8; }
    .skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 12px 20px; z-index: 9999; border-radius: 0 0 8px 0; }
    .skip-link:focus { left: 0; }
    .footer-logo-img { height: 32px; object-fit: contain; }
    .footer-brand-desc { font-size: 15px; color: #ffffff; line-height: 1.6; max-width: 280px; }
    .footer h2 { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #ffffff; margin-bottom: 20px; }
    @container page (min-width: 769px) {
      .footer-accordion-btn svg { display: none; }
      .footer-accordion-content { display: block; max-height: none !important; overflow: visible !important; }
    }
    .footer-col ul li { margin-bottom: 12px; }
    .footer-col ul a { color: #a3b8cc; font-size: 15px; transition: color 0.2s; }
    .footer-col ul a:hover { color: #ffffff; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
    .footer-copy { font-size: 14px; color: #ffffff; }
    .footer-legal { display: flex; gap: 24px; align-items: center; }
    .footer-legal a { font-size: 14px; color: #a3b8cc; transition: color 0.2s; }
    .footer-legal a:hover { color: #ffffff; }

    @container page (max-width: 1024px) {
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
      .reviews-box { flex-direction: column; gap: 32px !important; padding: 24px !important; }
      .a11y-inner { flex-direction: row; gap: 8px; align-items: center; justify-content: center; padding: 4px 0; }
      .a11y-promo { position: static; transform: none; flex-direction: row; flex-wrap: wrap; text-align: center; justify-content: center; gap: 6px; width: 100%; font-size: 14px; line-height: 1.5; }
      .a11y-hamburger-btn { display: none !important; }
      .a11y-dropdown { right: 0; left: 0; width: 100%; }
    }
    /* Menu completo só a partir de 1200px de container (2026-09-25, Fase 2). Era 1024px, e
       entre 1025-1199px os 5 itens + 3 botões não cabiam: "Check-ups" e "O Laboratório"
       quebravam em 2 linhas e o botão "Agendamentos" saía da tela (medido em Chrome). Em
       container query, A+ a 125% numa tela de 1280px (= 1024px de CSS) também cai aqui. */
    @container page (max-width: 1199px) {
      .header-nav { display: none !important; }
      .header-actions { display: none !important; }
      .mobile-nav-btn { display: flex !important; align-items: center; justify-content: center; }
    }
    .header-nav > a, .has-dropdown > a, .dropdown-trigger { white-space: nowrap; }
    @container page (max-width: 768px) {
      .footer-grid { grid-template-columns: 1fr; }
      /* Top bar on mobile: hide contacts and store promo; keep a11y controls centered */
      .a11y-contacts { display: none !important; }
      .a11y-bar-promo { display: none !important; }
      .a11y-center-controls { margin: 0 auto; }
    }

    /* ===== FLOATING CHAT ===== */
    .chat-widget-btn { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; background: var(--brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,121,144,0.35); z-index: 9999; color: #fff; font-size: 28px; transition: background 0.2s, transform 0.2s; }
    .chat-widget-btn:hover { background: var(--brand-dark); transform: scale(1.08); }
    .chat-widget-badge { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; background: var(--brand-green); border-radius: 50%; border: 2px solid #fff; }
    .float-wpp { position: fixed; bottom: 24px; right: 24px; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 24px rgba(37,211,102,0.35); z-index: 9999; color: #fff; font-size: 26px; transition: transform 0.2s; }
    .float-wpp:hover { transform: scale(1.08); }
  

/* --- next <style> block --- */


    .footer h2 { font-size: 13px !important; font-weight: 700 !important; letter-spacing: 1.2px !important; text-transform: uppercase !important; color: var(--brand-accent) !important; margin-bottom: 24px !important; }
    .footer-col ul li { margin-bottom: 16px !important; }
    .footer-col ul a { color: rgba(255,255,255,0.85) !important; font-size: 14px !important; transition: all 0.2s ease !important; display: inline-block !important; font-weight: 400 !important; }
    .footer-col ul a:hover { color: var(--brand-accent) !important; transform: translateX(6px) !important; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,0.15) !important; padding-top: 32px !important; margin-top: 24px !important; }
    .footer-legal a:hover { color: var(--brand-accent) !important; }
  

/* --- next <style> block --- */


  .hero-drop {
    color: #475569 !important;
  }


/* --- next <style> block --- */


  /* INTERPOLATED CUSTOM TYPOGRAPHY & DARK FOOTER */
  h1, h2, h3, h4, h5, h6, .step-body-title, .mobile-drawer-title { color: #1C3B5E !important; }
  .header-nav > a, .has-dropdown > a { color: #2c3c65 !important; }
  body, p, .step-body-desc { color: #3E536B !important; }
  
    /* DARK FOOTER OVERRIDES (V11 FONT SCHEME) */
  .footer { background-color: #114259 !important; color: #ffffff !important; }
  .footer h2 { color: var(--brand-accent) !important; }
  .footer-col ul a { color: rgba(255,255,255,0.85) !important; }
  .footer-col ul a:hover { color: var(--brand-accent) !important; }
  .footer p { color: rgba(255,255,255,0.85) !important; } .footer-brand-desc { color: #ffffff !important; }
  .footer-copy { color: #ffffff !important; }
  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1) !important; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
  .footer-link-hover:hover, .footer-link-hover:hover * { color: var(--brand-accent) !important; }
  .footer-logo { filter: brightness(0) invert(1); }


/* --- next <style> block --- */


/* ===== MOBILE RESPONSIVENESS MASTER FIXES ===== */

/* --- GAVETA MOBILE: fica FORA do .page-root (é position:fixed), então continua @media ---
   Gaveta estreita (380px) a partir de 641px de tela. Antes: dois blocos (641-768 e
   769-1024, achado de 2026-09-16 sobre o iPad em retrato); com o hambúrguer aparecendo até
   1199px de container (Fase 2), a gaveta cheia de 1025px+ ficaria enorme -- um bloco só
   cobre tudo. z-index acima do botão flutuante do WhatsApp (9999) em qualquer largura:
   os dois são irmãos fora do container, e o WhatsApp vem depois no HTML. */
@media (min-width: 641px) {
  .mobile-drawer { width: 380px !important; box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important; }
}
.mobile-drawer, .mobile-backdrop { z-index: 10001 !important; }

/* --- TABLET SPECIFIC REVISION (769px - 1024px) --- */
@container page (min-width: 769px) and (max-width: 1024px) {
  /* 1. Hero (header: ver bloco max-width:1199px acima) */

  .hero { padding-top: 32px !important; padding-bottom: 24px !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 40px !important; text-align: center !important; }
  .hero-grid > div:first-child { max-width: 650px !important; margin: 0 auto !important; }
  .hero-grid > div:first-child > div:first-child { font-size: 16px !important; height: auto !important; padding: 6px 20px !important; }
  .hero-grid > div:first-child > div:first-child span { font-size: 18px !important; }
  .hero-grid .hero-sub { margin-left: auto !important; margin-right: auto !important; text-align: center !important; font-size: 24px !important; line-height: 1.5 !important; }
  .hero-search-wrapper { justify-content: center !important; }
  .hero-search-wrapper > :is(div, form) { height: 60px !important; max-width: 500px !important; }
  .hero-search-input { font-size: 20px !important; }
  .hero-search-wrapper .btn { font-size: 20px !important; padding: 0 32px !important; height: auto !important; }
  .hero-dual-link { font-size: 18px !important; }
  .hero-grid div[style*="margin-right: 8px;"] span:nth-child(2) { font-size: 18px !important; }
  .hero-drop { font-size: 16px !important; height: auto !important; min-height: 44px !important; padding: 8px 18px !important; }
  
  .hero-visual { max-width: 500px !important; margin: 0 auto !important; }
  .hero-ctas { justify-content: center !important; }
  .hero-social-proof { justify-content: center !important; }

  /* Hide specific image */
  img[src*="mosaico-topo-site7.png"] { display: none !important; }
  
  /* 2. Component Grids */
  .quick-actions { padding-top: 24px !important; padding-bottom: 24px !important; }
  .quick-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 12px !important; }
  .quick-card { padding: 16px 8px !important; gap: 8px !important; }
  .quick-title { font-size: 13px !important; line-height: 1.2 !important; }
  .quick-icon { width: 36px !important; height: 36px !important; font-size: 18px !important; }
  
  .exam-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .two-col { gap: 24px !important; }
  
  /* 3. Social Proof */
  .social-proof-inner { grid-template-columns: 1fr !important; gap: 32px !important; padding: 32px !important; max-width: 340px !important; margin-left: auto !important; margin-right: auto !important; }
  .proof-right { grid-template-columns: 1fr !important; }
  .reviews-box { flex-direction: column !important; max-width: 440px !important; margin-left: auto !important; margin-right: auto !important; padding: 32px !important; gap: 32px !important; overflow: hidden !important; }

  /* 4. Footer Tweaks */
  .footer .footer-top-grid { 
    grid-template-columns: 1fr 1fr !important; 
    gap: 40px !important; 
  }
  .footer .footer-grid { 
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 32px 24px !important; 
  }
  .footer h2 { font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0.1em !important; color: var(--brand-accent) !important; margin-bottom: 20px !important; }
  .footer-col ul li { margin-bottom: 12px !important; }
  .footer-col ul a { color: rgba(255,255,255,0.85) !important; font-size: 15px !important; display: inline-block !important; font-weight: 400 !important; }
  .footer-accordion-btn svg { display: none !important; }
  .footer-accordion-btn { cursor: default !important; pointer-events: none !important; border-bottom: none !important; padding: 0 !important; margin-bottom: 20px !important; }
  .footer-accordion-content { max-height: none !important; overflow: visible !important; display: block !important; }
  .footer-bottom { 
    flex-direction: column !important; 
    justify-content: center !important; 
    text-align: center !important; 
    gap: 16px !important; 
  }

  /* 5. Security Text Wrap */
  .security-text { white-space: normal !important; text-align: center !important; }

  /* 6. (largura da gaveta mobile: ver bloco @media min-width:641px acima) */

  /* 7. Blog Horiz Scroll */
  .blog-grid { 
    display: flex !important; 
    flex-wrap: nowrap !important;
    overflow-x: auto !important; 
    scroll-snap-type: x mandatory !important; 
    -webkit-overflow-scrolling: touch !important; 
    padding-bottom: 24px !important;
    gap: 24px !important;
  }
  .blog-grid::-webkit-scrollbar { height: 6px; }
  .blog-grid::-webkit-scrollbar-track { background: var(--border); border-radius: 3px; }
  .blog-grid::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }
  .blog-grid > a {
    flex: 0 0 42% !important;
    scroll-snap-align: start !important;
  }
}

/* --- MOBILE FIXES (≤768px) --- */
/* Parte que fica FORA do .page-root: continua @media (container query não alcança
   html/body nem o botão flutuante). */
@media (max-width: 768px) {
  /* Fix horizontal scroll / right margin */
  html, body { overflow-x: clip !important; }
  .chat-widget-btn { bottom: 84px !important; }
  .float-wpp { bottom: 24px !important; }
}
@container page (max-width: 768px) {

  /* ========== TOP BAR ========== */
  /* Hide entirely on mobile as requested */
  .a11y-bar { display: none !important; }

  /* ========== HEADER ========== */
  .header { padding: 12px 0 !important; }
  .site-logo img { height: 36px !important; min-width: 120px !important; }

  /* ========== FOOTER ACCORDION ========== */
  .footer-accordion-btn { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 0 !important; }
  .footer-accordion-btn svg { display: block; transition: transform 0.3s; color: rgba(255,255,255,0.7); }
  .footer-accordion-btn.active svg { transform: rotate(180deg); }
  .footer-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
  .footer-accordion-content ul { padding-top: 4px; padding-bottom: 8px; }

  /* ========== HERO ========== */
  .hero { padding: 32px 0 40px !important; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  .hero-grid > div:first-child { padding-right: 0 !important; padding-bottom: 24px !important; }

  /* Left align texts (Reverted from center) */
  .hero h1,
  .hero-grid h1,
  .container.hero-grid h1 {
    text-align: left !important;
  }
  .hero-sub {
    text-align: left !important;
  }

  /* Rating badge - larger text as requested. Antes: uma linha só com nowrap + reticências
     e altura fixa de 36px -- com A+ o selo era cortado ("Excelente — 2.249+ Avali…"). Agora
     quebra em 2 linhas quando não cabe (2026-09-25, Fase 2); numa linha continua com 36px.
     A regra de baixo pega o selo como <a> (com link do Google, o caso normal); esta pega a
     variante <div> (sem link cadastrado). */
  .hero-grid > div:first-child > div:first-child {
    font-size: 13px !important;
    padding: 6px 14px !important;
    height: auto !important;
    min-height: 36px !important;
    white-space: normal !important;
    text-align: left !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
  }
  /* flex-wrap: quando não cabe, o texto desce inteiro pra baixo das estrelas (em vez de
     espremer em 4 linhas ao lado delas). Raio 18px = pílula igual à de antes em 1 linha. */
  /* !important: a regra-base de .hero-rating-badge fica DEPOIS no arquivo (bloco
     "EXTRAÍDO DE STYLE INLINE"), com a mesma especificidade, e venceria o padding/raio. */
  .hero-rating-badge {
    height: auto !important;
    min-height: 36px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    row-gap: 2px !important;
    border-radius: 18px !important;
  }
  .hero-grid > div:first-child > div:first-child span {
    font-size: 13px !important;
    letter-spacing: -0.5px !important;
    position: relative !important;
    top: -1px !important;
  }

  /* H1 */
  .hero h1,
  .hero-grid h1,
  .container.hero-grid h1 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
  }
  /* Subtitle */
  .hero-sub { font-size: 16px !important; margin-bottom: 24px !important; line-height: 1.5 !important; }

  /* Search box */
  .hero-search-wrapper {
    flex-direction: column !important;
    align-items: center !important; /* Center search block */
    margin-bottom: 32px !important; 
  }
  /* flex-wrap: os dois links ("Lista de todos Exames →" e "Lista de Check-ups →") não
     cabem lado a lado a 320px, nem em telas maiores com A+ -- sem wrap, o hero inteiro
     ficava mais largo que a tela (medido, 2026-09-25). */
  .mobile-dual-buttons {
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 16px !important;
    margin-left: 0 !important;
    gap: 24px !important;
    row-gap: 12px !important;
    flex-wrap: wrap !important;
  }
  .hero-search-wrapper > :is(div, form):not([class]) {
    max-width: 100% !important;
    flex: none !important;
    width: 100% !important;
    height: 52px !important;
  }
  .hero-search-input { font-size: 16px !important; padding: 0 12px !important; }
  
  /* Link "Lista de Exames" and "Check-ups" dual links */
  .hero-dual-link {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    color: var(--brand) !important;
    white-space: nowrap !important;
  }
  /* Exam category cards */
  .exam-cat-img { height: 90px !important; display: block !important; }
  .exam-cat-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; }
  .exam-cat-count { font-size: 13px !important; -webkit-line-clamp: 3 !important; line-clamp: 3 !important; }
  
  /* Hero drops / tag cloud */
  .hero-trending-tags, .hero-search-wrapper {
    gap: 6px !important;
  }
  .hero-drop {
    font-size: 12px !important;
    padding: 0 10px !important;
    height: 44px !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }
  .hero-drop svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Hide Hero Image completely on mobile as requested */
  .hero-visual { display: none !important; }

  /* ========== QUICK ACTIONS ========== */
  .quick-actions { padding: 24px 0 !important; }
  .quick-card { padding: 20px 14px !important; }
  .quick-title { font-size: 13px !important; }

  /* ========== SECURITY WARNING ========== */
  .security-text { white-space: normal !important; }

  /* ========== FOOTER ========== */
  .footer { padding-top: 32px !important; }
  .footer .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer .footer-grid,
  .footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: 32px !important;
    margin-bottom: 24px !important;
  }

  /* ========== SOCIAL PROOF ========== */
  .social-proof-inner { padding: 24px 16px !important; }
  .proof-score { font-size: 36px !important; }
  .star-big { font-size: 22px !important; }
}

/* --- SMALL PHONE FIXES (≤480px) --- */
@container page (max-width: 480px) {
  .hero-drop { font-size: 13px !important; padding: 0 12px !important; height: 44px !important; }
  .quick-grid { gap: 10px !important; }
  .quick-card { padding: 16px 10px !important; }
  .quick-icon { width: 40px !important; height: 40px !important; }
  .quick-title { font-size: 13px !important; }

  /* Mobile Footer Adjustments for Social Links and Separators */
  .footer .footer-social-col {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }
  .footer-social-btn {
    padding: 0 12px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  .footer-social-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
  .footer .footer-top-grid {
    border-bottom: none !important;
    padding-bottom: 8px !important;
    margin-bottom: 0 !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .footer-legal {
    justify-content: center !important;
    width: 100% !important;
  }
}


/* --- next <style> block --- */


      .a11y-btn {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.1);
        color: #fff;
        cursor: pointer;
        /* padding maior que o original (era 4px 10px) -- alvo de toque pequeno demais
           (~24px de altura), abaixo do mínimo recomendado (WCAG 2.5.5 / Apple HIG). A
           barra é uma faixa fina no topo, então não dá pra chegar aos 44px ideais sem
           destoar do resto do layout -- ~34-36px é o meio-termo real aqui. */
        padding: 9px 12px;
        min-height: 34px;
        font-size: 12px;
        font-weight: 600;
        border-radius: 20px;
        font-family: inherit;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s ease;
      }
      .a11y-btn:hover {
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.3);
      }
      .a11y-link {
        color: #ffffff; font-weight: 500;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.2px;
        transition: color 0.2s;
      }
      .a11y-link:hover {
        color: #fff;
      }
      .a11y-link svg {
        stroke: var(--brand-accent);
      }
      .a11y-divider {
        width: 4px;
        height: 4px;
        background: rgba(255,255,255,0.25);
        border-radius: 50%;
      }
    

/* --- next <style> block --- */


                .hero-search-input::placeholder {
                  color: var(--text-gray);
                  opacity: 1;
                }
                .hero-search-input::-webkit-input-placeholder {
                  color: var(--text-gray);
                }
                .hero-search-input::-moz-placeholder {
                  color: var(--text-gray);
                  opacity: 1;
                }
              

/* --- next <style> block --- */


              .hide-on-desktop { display: none !important; }
              @container page (max-width: 768px) {
                .hide-on-desktop { display: inline-flex !important; }
              }
            

/* --- next <style> block --- */


            .hero-drop:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(95,109,179,0.1) !important; }
          

/* --- next <style> block --- */



    .promo-slide { flex: 0 0 100%; width: 100%; box-sizing: border-box; }
    .promo-loja-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

    /* Miolo do slide — antes era estilo inline gerado pelo home.js (mesmos valores,
       só movidos pra classe pra tirar o slide de dentro do JS, como o resto do site). */
    .promo-slide-tag { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
    .promo-slide-title { font-size: clamp(32px, 4vw, 44px); font-weight: 400; color: var(--text-navy); line-height: 1.15; margin-bottom: 20px; }
    .promo-slide-desc { font-size: 16px; color: var(--text-gray); line-height: 1.65; margin-bottom: 32px; max-width: 440px; min-height: 76px; }
    .promo-slide-btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; font-size: 15px; text-decoration: none; }
    .promo-slide-media { border-radius: 24px; height: 320px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
    .promo-slide-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; z-index: 1; transform: translateZ(0); backface-visibility: hidden; }

    .promo-dot { 
      width: 12px; height: 12px; border-radius: 50%; background: rgba(33, 63, 102, 0.2); 
      cursor: pointer; transition: all 0.3s ease; border: none; padding: 0; 
    }
    .promo-dot:hover { background: rgba(33, 63, 102, 0.4); }
    .promo-dot.active { background: var(--brand); width: 32px; border-radius: 6px; }
    
    @container page (max-width: 992px) {
      .promo-loja-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    }
  

/* --- next <style> block --- */


    .footer-social-btn {
      width: fit-content; height: 44px; padding: 0 18px 0 14px; border: 1px solid rgba(255,255,255,0.2); border-radius: 9999px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #ffffff; transition: all 0.3s ease; font-size: 14px; text-decoration: none; font-weight: 500;
    }
    .footer-social-btn:hover {
      border-color: var(--brand-accent);
      color: var(--brand-accent);
      background: rgba(39, 209, 201, 0.08);
      transform: translateY(-2px);
    }
    .footer-link-hover {
      transition: all 0.2s ease;
    }
    .footer-link-hover:hover {
      color: var(--brand-accent) !important;
      opacity: 1 !important;
    }
    .footer-link-hover svg {
      transition: transform 0.2s ease;
    }
    .footer-link-hover:hover svg {
      transform: scale(1.1);
    }
  

/* ===== EXTRAÍDO DE STYLE INLINE (auto, 2026-08-20) ===== */
.a11y-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.a11y-left { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.a11y-center-controls { display: flex; gap: 8px; align-items: center; }
/* .nav-dropdown--align-end/--align-end-flush removidas na Fase 3 (2026-09-28): a
   posição do menu agora é sempre calculada em JS a partir do centro do gatilho (ver
   Header.astro), então essas variantes de alinhamento fixo por CSS ficaram sem uso. O
   campo dropdownAlign do Sanity continua existindo (histórico), só ficou escondido no
   Studio. */
.dropdown-col--wide { min-width: 140px; }
.dropdown-col--wider { min-width: 160px; }
.discount-banner { display: none !important; background: var(--border); color: var(--text-navy); padding: 10px 0; font-size: 14px; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.discount-banner-badge { background: var(--brand); color: #fff; padding: 2px 8px; border-radius: 8px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.discount-banner-text { font-weight: 400; }
.discount-banner > a:not([class]) { color: var(--brand); font-weight: 600; text-decoration: underline; margin-left: 8px; }
.mobile-drawer-header > div:not([class]) { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* 44x44px: alvo mínimo de toque recomendado (WCAG 2.5.5 / Apple HIG) -- antes 38x38px. */
.js-font-btn { display: flex; align-items: center; justify-content: center; background: #f8fafd; border: 1px solid #D0DEEB; color: var(--text-navy); font-weight: 600; width: 44px; height: 44px; font-size: 14px; border-radius: 12px; cursor: pointer; font-family: inherit; }
.js-font-btn.is-default { background: var(--brand); border-color: var(--brand); color: #fff; }
/* width fixo (não min-width) -- "137.5%" é mais largo que "100%", e isso empurrava os
   botões vizinhos de lado a cada clique (achado real, 2026-09-17). font-variant-numeric
   trava a largura de cada dígito também, não só o texto como um todo. */
.js-font-level { display: inline-flex; align-items: center; justify-content: center; width: 52px; font-size: 13px; font-weight: 600; color: var(--text-storm); font-variant-numeric: tabular-nums; }
.js-contrast-toggle { display: flex; align-items: center; gap: 6px; background: #f8fafd; border: 1px solid #D0DEEB; color: var(--text-navy); font-weight: 600; height: 44px; padding: 0 14px; font-size: 14px; border-radius: 12px; cursor: pointer; font-family: inherit; }
.js-contrast-toggle[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.js-contrast-toggle[aria-pressed="true"] svg { stroke: #fff; }
.drawer-contact-row { display: flex; gap: 8px; }
.contact-link-card { flex: 1; display: flex; align-items: center; justify-content: flex-start; text-align: left; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 8px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.03); gap: 8px; }
.contact-link-icon { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: #e8f7fa; border-radius: 10px; color: var(--brand); flex-shrink: 0; }
.contact-link-text { display: flex; flex-direction: column; gap: 0; }
.contact-link-label { font-size: 12px; font-weight: 500; color: #64748b; text-transform: uppercase; line-height: 1.2; }
.contact-link-value { font-size: 13px; font-weight: 600; color: var(--text-navy); white-space: nowrap; line-height: 1.2; }
.drawer-link-group { display: flex; flex-direction: column; gap: 6px; }
.hero { padding: 64px 0 100px; }
.container.hero-grid > div:not([class]) { padding-right: 24px; }
.hero-rating-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; height: 36px; padding: 0 16px; background: #ffffff; border: 1px solid #D3EEF3; border-radius: 9999px; color: var(--brand); font-size: 14px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,0.08); width: fit-content; }
.hero-rating-stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px; }
.hero-sub { font-size: 18px; font-weight: 400; color: var(--text-gray); line-height: 1.6; max-width: 520px; margin-bottom: 40px; }
.hero-search-wrapper { display: flex; flex-direction: row; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; align-items: center; }
/* :is(div, form): desde a 4A.4 a caixa é um <form action="/busca">; mesma especificidade de antes. */
.hero-search-wrapper > :is(div, form):not([class]) { display: flex; background: #ffffff; border: 1px solid rgba(33, 63, 102, 0.25); border-radius: 9999px; overflow: hidden; padding: 4px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); max-width: 400px; flex: 1; height: 52px; box-sizing: border-box; align-items: center; }
.hero-search-input { flex: 1; border: none; outline: none; padding: 0 20px; font-size: 16px; font-family: inherit; color: var(--text-ink); width: 100%; height: 100%; }
.hero-search-btn { background: var(--brand); color: #fff; border: none; padding: 0 24px; border-radius: 9999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.2s; height: 100%; flex-shrink: 0; }
.mobile-dual-buttons { display: flex; gap: 12px; align-items: center; margin-left: 12px; }
.hero-dual-link { color: var(--brand); font-weight: 600; font-size: 15px; text-decoration: underline; transition: all 0.2s; display: inline-flex; align-items: center; }
.hero-trending-wrap { margin-top: 24px; }
.hero-trending-label-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.hero-trending-icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--bg-highlight); border-radius: 50%; color: var(--brand); }
.hero-trending-label { font-size: 14px; font-weight: 600; color: var(--brand); letter-spacing: 0.01em; }
.hero-trending-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-drop { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; background: #ffffff; border: 1px solid #D0DEEB; border-radius: 9999px; color: var(--text-navy); font-size: 14px; font-weight: 600; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 2px 8px rgba(95,109,179,0.05); }
.hero-visual > img:not([class]) { border-radius: 16px; width: 100%; height: auto; display: block; transform: translateZ(0); backface-visibility: hidden; }
.exam-cat-img > img:not([class]) { width: 100%; height: auto; display: block; transform: translateZ(0); backface-visibility: hidden; }
.exam-card > div:not([class]) { font-size: 13px; color: #64748b; font-weight: 500; margin-bottom: -8px; }
.price-old { text-decoration: line-through; }
.price-discount-badge { background: var(--bg-highlight); color: var(--brand); font-size: 11px; padding: 4px 10px; border-radius: 9999px; font-weight: 600; margin-left: 6px; vertical-align: middle; display: inline-flex; align-items: center; }
.price-currency-wrap { display: flex; flex-direction: column; justify-content: center; margin-right: 4px; padding-top: 4px; }
.price-currency { font-size: 20px; font-weight: 500; line-height: 1; }
.price-value { font-size: 40px; font-weight: 400; letter-spacing: -1.5px; }
.price-cents { font-size: 18px; font-weight: 400; padding-top: 4px; margin-left: 1px; }
.section-cta-center { text-align: center; }
.how-it-works { display: none !important; }
.two-col--center { align-items: center; }
.how-it-works-img { width: 80%; margin-left: auto; margin-right: auto; border-radius: 16px; display: block; transform: translateZ(0); backface-visibility: hidden; }
.section-header--tight { margin-bottom: 24px; }
.steps-col { margin-top: 0; }
.results-cta { display: none !important; padding: 0 0 64px 0; background: #ffffff; }
.results-cta-box { padding: 32px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; width: 100%; margin: 0; background: #ffffff; border: 1px solid #D0DEEB; }
.results-cta-content { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 300px; }
.results-cta-icon { width: 56px; height: 56px; background: var(--bg-highlight); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--brand); flex-shrink: 0; }
.results-cta-title { font-size: 22px; font-weight: 600; color: var(--text-navy); margin: 0 0 4px 0; }
.results-cta-subtitle { font-size: 15px; color: var(--text-gray); margin: 0; }
.results-cta-steps { display: flex; flex-direction: row; align-items: center; gap: 24px; min-width: max-content; }
.results-cta-steps-link { color: var(--brand); font-weight: 600; text-decoration: underline; font-size: 14px; }
.results-cta-btn { justify-content: center; height: 48px; font-size: 15px; padding: 0 24px; }
.promo-slider-section { padding: 80px 0 40px; background: var(--bg-highlight); color: var(--text-navy); overflow: hidden; }
.promo-slider-container { position: relative; }
.promo-track-wrap { position: relative; overflow: hidden; width: 100%; }
.promo-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.promo-dots-row { display: flex; justify-content: center; gap: 12px; margin-top: 40px; } /* gap 12px (era 10): centros das bolinhas a 24px, o minimo de alvo de toque da WCAG AA -- aprovado pelo usuario em 29/09 (4A.0b) */
.service-collect-img { width: 100%; height: 160px; background: url('../imagens/coleta-domiciliar1.webp') center/cover no-repeat; border-radius: 16px; margin-bottom: 24px; }
.service-block-icon { width: 100%; height: 160px; background: #f4fbfc; border-radius: 16px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; color: #047691; }
.service-block-cta { margin-top: 8px; width: fit-content; }
.service-block-img { width: 100%; height: 160px; border-radius: 16px; overflow: hidden; margin-bottom: 24px; display: flex; align-items: center; }
.service-block-photo { width: 100%; height: auto; display: block; transform: translateZ(0); backface-visibility: hidden; }
.social-proof-section { padding: 40px 0 80px; background: #ffffff; overflow: hidden; }
.section-header--centered { text-align: center; margin-bottom: 40px; }
.reviews-summary-col { display: flex; flex-direction: column; gap: 32px; }
.reviews-box { display: flex; gap: 64px; align-items: center; background: #f8fafd; border-radius: 24px; padding: 48px; border: 1px solid var(--border); }
.reviews-box > div:not([class]) { flex: 1; max-width: 320px; display: flex; flex-direction: column; }
.reviews-summary-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.reviews-score-value { font-size: 72px; font-weight: 500; color: var(--brand); line-height: 1; letter-spacing: -2px; }
.reviews-score-meta { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.reviews-score-stars { color: #FACC15; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.reviews-score-label { font-size: 15px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; width: fit-content; }
.reviews-note { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.reviews-note-text { font-size: 15px; color: var(--text-gray); line-height: 1.5; }
.reviews-note-strong { color: var(--text-navy); font-weight: 600; }
.reviews-note-date { font-size: 13px; font-style: italic; color: #94a3b8; margin-top: 2px; }
.google-review-btn { display: inline-flex; height: 38px; padding: 0 16px; font-size: 14px; width: fit-content; margin-top: 4px; }
.units-section { padding: 0 0 80px; background: #ffffff; }
.unit-card > div:not([class]) { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.unit-status-open { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--brand-green); font-weight: 600; }
.unit-status-dot-open { display: inline-block; width: 8px; height: 8px; background: var(--brand-green); border-radius: 50%; box-shadow: 0 0 0 3px #d1fae5; }
.unit-status-closed { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-storm); font-weight: 600; }
.unit-status-dot-closed { display: inline-block; width: 8px; height: 8px; background: var(--text-storm); border-radius: 50%; }
.blog-section { padding: 64px 0; background: #f8fafd; }
.blog-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none; }
.blog-card-tag { font-size: 12px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: 0.05em; }
/* Palavra com hífen do rótulo ("check-up") não quebra no hífen: no card estreito a linha quebra
   antes dela (Fase 12, 2026-10-07; aprovado pelo usuário no print de 375px com A+ 150%). */
.blog-card-tag-word { white-space: nowrap; }
.blog-card > h3:not([class]) { font-size: 18px; color: var(--text-navy); font-weight: 600; line-height: 1.3; }
.blog-card > p:not([class]) { font-size: 14px; color: var(--text-gray); line-height: 1.5; margin-bottom: 8px; }
.blog-card-cta { font-size: 14px; font-weight: 600; color: var(--brand); margin-top: auto; }
.footer-top-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1.2fr 0.9fr; gap: 32px; padding-bottom: 48px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.15); align-items: start; }
.footer-brand-logo { height: 48px; width: auto; margin-bottom: 24px; display: block; }
.footer-brand-lead { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.6; margin: 0 0 16px; max-width: 320px; }
.footer-contact-link { display: flex; align-items: center; gap: 10px; color: #ffffff; text-decoration: none; font-size: 15px; margin-bottom: 20px; font-weight: 500; }
.footer-chat-link { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); text-decoration: none; font-size: 15px; font-weight: 500; }
.footer-addr-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-addr-icon { flex-shrink: 0; margin-top: 2px; }
.footer-addr-text { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0; }
.footer-addr-city { color: rgba(255,255,255,0.85); font-size: 14px; }
.footer-hours-row { display: flex; gap: 12px; margin-bottom: 24px; align-items: flex-start; }
.footer-hours-text { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0; line-height: 1.5; }
.footer-units-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-accent); font-size: 15px; font-weight: 600; text-decoration: none; }
.footer-social-col { display: flex; flex-direction: column; gap: 12px; }
.footer-gnext-link { display: inline-flex; align-items: center; transition: opacity 0.2s; }
.footer-gnext-link > img:not([class]) { height: 16px; width: auto; display: block; }

/* ===== Botões com texto longo quebram linha no celular (2026-09-25, Fase 2) =====
   .btn é white-space:nowrap com altura fixa. Com A+ no celular, rótulos como "Ver todos os
   Exames do Laboratório" ou "Agendar coleta em casa" ficavam mais largos que a tela e
   empurravam a seção inteira pra fora (medido em Chrome). Em 1 linha nada muda: min-height
   igual à altura de antes. Fica no FIM do arquivo de propósito -- precisa vir depois das
   regras de altura fixa por botão (ex.: .google-review-btn, mesma especificidade). */
@container page (max-width: 767px) {
  .btn { white-space: normal; height: auto; min-height: 48px; line-height: 1.25; text-align: center; }
  .btn-sm { min-height: 40px; }
  .google-review-btn { height: auto; min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .promo-slide-btn { min-height: 50px; }
}

/* A11Y-BAR-REFERENCIA -- barra de acessibilidade do topo com o desenho do arquivo de
   referência (pedido do usuário em 29/09: "voltar para o design anterior", clean).
   Mesmos valores do bloco inline dos arquivos Manuais/Analysis-v29/*.html: pílula com
   padding 4px 10px (27px de altura, acima do mínimo de 24px da WCAG 2.2 AA),
   8px entre os botões. Mais específico que .js-contrast-toggle (visual de 44px da gaveta
   do celular, que também vale para o botão daqui por causa da classe de gancho do JS).
   No celular a barra some e os controles ficam na gaveta, com 44px. */
.a11y-center-controls { display: flex; gap: 8px; align-items: center; }
.a11y-center-controls .a11y-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
  padding: 4px 10px;
  min-height: 0;
  width: auto;
  height: auto;
  font-size: 12px;
  font-weight: 600;
  line-height: normal;
  border-radius: 20px;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.a11y-center-controls .a11y-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
.a11y-center-controls .a11y-btn svg { stroke: currentColor; }

/* Gaveta do celular: "Ver todos os exames"/"Ver todos os check-ups" (Link de visão geral do
   item no Studio), 1º link do acordeão. Mesmo destaque do menu do topo
   (.nav-dropdown-overview: azul-escuro da marca, negrito) e uma linha separando o "ver tudo"
   dos atalhos específicos. Área de toque de 44px, como os outros links da gaveta (29/09). */
.accordion-inner a.accordion-overview { color: var(--brand-dark) !important; font-weight: 700 !important; border-bottom: 1px solid var(--border) !important; padding-bottom: 12px !important; }

/* ===== MENU-TOPO: NOME LEVA AO HUB E "VER TODOS" NO PÉ (29/09) =====
   "Exames" e "Check-ups" viraram <a class="dropdown-trigger"> (levam a /exames e
   /check-ups; Header.astro). O <a> tem de ficar idêntico ao <button> de antes:
   - a regra antiga ".has-dropdown > a { color: #2c3c65 !important }" não pode valer para
     ele. A troca vale só fora do Alto Contraste, que continua mandando na cor;
   - o <a> recebe os valores de linha que o <button> tem por padrão do navegador.
   O "Ver todos…" sai da coluna apertada à esquerda e vai para uma linha própria no pé do
   menu, na largura toda, no mesmo lugar nos dois menus (opção B, escolhida pelo usuário). */
html:not(.high-contrast) .has-dropdown > a.dropdown-trigger { color: var(--text-navy) !important; }
html:not(.high-contrast) .has-dropdown > a.dropdown-trigger:hover { color: var(--brand) !important; }
a.dropdown-trigger { line-height: normal; letter-spacing: normal; word-spacing: normal; }
.nav-dropdown--with-footer { display: grid; grid-template-columns: repeat(var(--nav-cols, 2), auto); column-gap: 48px; row-gap: 0; }
.nav-dropdown-footer { grid-column: 1 / -1; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--border); }
.nav-dropdown-footer .nav-dropdown-overview { display: inline-flex !important; gap: 6px; }

/* ===== CARDS DE CATEGORIA DA HOME (Fase 4 do plano; 20/10/2026, pedido do usuário) =====
   - Categoria sem imagem: o ícone dela sobre o fundo claro da marca (o mesmo dos hubs, no
     catalog.css), nunca um quadro vazio. No celular, a regra antiga do quadro
     (display: block !important) jogaria o ícone para o canto: aqui ele fica centrado.
   - A última linha fica centrada (antes, alinhada à esquerda): a grade virou uma fila que quebra
     linha, com a mesma largura de card da grade nas linhas cheias (4 colunas com 24 px de
     intervalo; 2 colunas de 769 a 1024 px e até 767 px, como as regras da grade acima).
   - Botão "Ver todos os Exames/Check-ups do Laboratório" abaixo dos cards (usuário, 20/10, no
     lugar do card "Ver todos" do mesmo dia): o botão das seções "mais procurados" (btn
     btn-outline em .section-cta-center), com a mesma distância dos cards que ele tem lá
     (16 px de respiro + 32 px de margem da fila .exams-scroll = 48 px). */
.exam-hub-section .exam-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.exam-hub-section .exam-grid > .exam-cat-card { flex: 0 0 calc((100% - 3 * 24px) / 4); min-width: 0; }
@container page (min-width: 769px) and (max-width: 1024px) {
  .exam-hub-section .exam-grid > .exam-cat-card { flex-basis: calc((100% - 24px) / 2); }
}
@container page (max-width: 767px) {
  .exam-hub-section .exam-grid > .exam-cat-card { flex-basis: calc((100% - 16px) / 2); }
}
.exam-cat-img--icon { background: var(--bg-highlight); color: var(--brand); }
@container page (max-width: 768px) { .exam-cat-img.exam-cat-img--icon { display: flex !important; } }
.exam-hub-cta { margin-top: 48px; }

/* Rodapé (23/10/2026, aprovado pelo usuário; o mesmo bloco está no fim do exam.css). No celular, o site.js põe
   um <button class="footer-accordion-toggle"> dentro do título de cada coluna, para o teclado e o leitor de
   tela; ele herda o desenho do título (o mesmo flex do .footer-accordion-btn), e nada muda na tela.
   O anel de foco do rodapé fica em --brand-accent (#2DC7C7, a cor dos títulos do rodapé): o do site (--brand,
   #047691) sobre o fundo do rodapé (#114259) tem ~2,1:1, abaixo dos 3:1 que a WCAG pede para o foco; o ciano
   dá ~5,2:1. Vale para os links, os botões das redes e os títulos (Arquitetura §55.16). */
.footer-accordion-toggle { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; width: 100%; cursor: pointer; }
.footer :is(a, button):focus-visible { outline-color: var(--brand-accent); }

/* Selo das estrelas da Home numa linha só a 360 px (03/11/2026, M-1). Numa linha ele mede 353 px com a fonte de 14 px; a 360 px sobram
   320 px e ele quebrava em 2 linhas. Até 413 px: fonte 12,5 px (estrelas 13,5 px), 12 px de recheio nas laterais e 6 px entre as estrelas e o
   texto (~309 px). Abaixo de ~340 px ele ainda desce para 2 linhas (a regra de quebra do bloco de 768 px continua valendo, também com A+).
   !important: a regra-base do selo fica antes, mas a do bloco de 768 px usa !important. */
@container page (max-width: 413px) {
  .hero-rating-badge { font-size: 12.5px !important; gap: 6px !important; padding-left: 12px !important; padding-right: 12px !important; }
  .hero-rating-stars { font-size: 13.5px; letter-spacing: 0.5px; }
}
