/* assets/site-chrome.css — CSS do CABEÇALHO e do RODAPÉ (REGRA PÉTREA: iguais em toda página).
   Fonte única (edite AQUI, nunca numa página). Linkado antes de </head> em toda página, para valer
   sobre o CSS de cada uma. As regras de celular ficam dentro dos @media — o portão confere isso.
   Ver ferramentas/modelo/README.md. */
:root { --bg-white: #FFFFFF; --bg-light: #F8FAFC; --bg-card: #FFFFFF; --bg-input: #F1F5F9; --border: #E2E8F0; --border-focus: #EB6B0F; --text-primary: #0B386A; --text-secondary: #475569; --text-muted: #94A3B8; --primary: #EB6B0F; --primary-hover: #D45A00; --primary-light: rgba(235, 107, 15, 0.08); --secondary: #0B386A; --secondary-light: rgba(11, 56, 106, 0.08); --success: #10B981; --success-light: rgba(16, 185, 129, 0.1); --warning: #F59E0B; --danger: #EF4444; --gradient: linear-gradient(135deg, #EB6B0F 0%, #F59E0B 100%); --gradient-blue: linear-gradient(135deg, #0B386A 0%, #1E5A9E 100%); }
.header, .footer { font-family: 'DM Sans', system-ui, sans-serif; }
.header a, .footer a { text-decoration: none; }
.header { background: var(--bg-white); padding: 14px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 8px rgba(11,56,106,0.06); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo a { display: flex; align-items: center; }
.logo img { width: 250px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text-secondary); font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 10px; transition: all 0.2s; }
.nav a:hover { background: var(--secondary-light); color: var(--secondary); }
.nav-dropdown { position: relative; padding-bottom: 8px; margin-bottom: -8px; }
.nav-dropdown > .nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; cursor: pointer; color: var(--text-secondary); font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 10px; transition: all 0.2s; background: none; border: none; font-family: inherit; }
.nav-dropdown > .nav-dropdown-toggle:hover { background: var(--secondary-light); color: var(--secondary); }
.nav-dropdown > .nav-dropdown-toggle .arrow { font-size: 10px; transition: transform 0.2s; }
.nav-dropdown:hover > .nav-dropdown-toggle .arrow { transform: rotate(180deg); }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 8px 32px rgba(11,56,106,0.12); padding: 12px 0 8px; z-index: 200; }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 10px 20px; font-size: 13px; font-weight: 600; color: var(--text-secondary); transition: all 0.2s; border-radius: 0; }
.nav-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
.nav .cta-btn { background: var(--gradient); color: #fff; padding: 10px 22px; border-radius: 12px; font-weight: 700; box-shadow: 0 2px 12px rgba(235,107,15,0.25); transition: transform 0.2s, box-shadow 0.2s; }
.nav .cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(235,107,15,0.35); }
.nav .cta-btn-alt { background: var(--gradient-blue); color: #fff; padding: 10px 22px; border-radius: 12px; font-weight: 700; box-shadow: 0 2px 12px rgba(11,56,106,0.25); transition: transform 0.2s, box-shadow 0.2s; }
.nav .cta-btn-alt:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(11,56,106,0.35); }
a.nav-suely-icon { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex-shrink: 0; padding: 0; border: 3px solid rgba(11,56,106,0.15); background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: transform 0.2s, box-shadow 0.2s; display: inline-block; line-height: 0; }
a.nav-suely-icon:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(0,0,0,0.25); background: #fff; }
.nav-suely-icon video { width: 100%; height: 100%; object-fit: cover; display: block; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 24px; height: 24px; stroke: var(--secondary); }
.footer { background: var(--secondary); color: rgba(255,255,255,0.6); }
.footer-cta-bar { background: var(--gradient); padding: 32px 24px; text-align: center; }
.footer-cta-bar p { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.footer-cta-bar .footer-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.footer-cta-bar .btn-footer-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 12px; font-size: 14px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
.btn-footer-cta.primary { background: #fff; color: var(--primary); }
.btn-footer-cta.primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.btn-footer-cta.whatsapp { background: #25D366; color: #fff; }
.btn-footer-cta.whatsapp:hover { background: #1fb855; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.footer-main { max-width: 1400px; margin: 0 auto; padding: 48px 24px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 12px; display: block; }
.footer-brand .logo span { color: var(--primary); }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 300px; margin-bottom: 20px; }
.footer-brand .footer-social { display: flex; gap: 10px; }
.footer-brand .footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #fff; transition: all 0.2s; }
.footer-brand .footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-brand .footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-col h4 { color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); font-size: 13.5px; padding: 5px 0; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--primary); padding-left: 4px; }
.footer-badges { display: flex; gap: 16px; justify-content: center; align-items: center; padding: 24px 0; flex-wrap: wrap; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 10px; font-size: 12px; color: rgba(255,255,255,0.6); }
.footer-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 24px; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-bottom .cnpj { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer-bottom .footer-legal-links { margin-top: 8px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-bottom .footer-legal-links a { font-size: 12px; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom .footer-legal-links a:hover { color: var(--primary); }
.footer-disclaimer { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,0.35); max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.footer-cta-bar { background: #F8FAFC; border-top: 1px solid #E2E8F0; padding: 36px 24px; }
.footer-cta-bar p { color: #0B386A; }
.footer-cta-bar .btn-footer-cta.primary { background: #EB6B0F; color: #fff; box-shadow: 0 6px 18px rgba(235,107,15,0.28); }
.footer-cta-bar .btn-footer-cta.primary:hover { background: #D45A00; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(235,107,15,0.35); }
.footer-cta-bar .btn-footer-cta.whatsapp { background: #fff; color: #0B386A; border: 2px solid #0B386A; padding: 10px 26px; }
.footer-cta-bar .btn-footer-cta.whatsapp:hover { background: #0B386A; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(11,56,106,0.25); }
/* ===== HERO — REGRA PÉTREA (03/09/2026): todo hero do site na LARGURA DO CABEÇALHO e com o MESMO RESPIRO.
   Nenhuma página define largura/respiro do próprio hero; mude AQUI e rode ferramentas/modelo/aplicar-modelo.mjs.
   Seletores com duas classes para vencer o CSS inline de cada página (mesma ordem de prioridade, sem !important).
   Ver ferramentas/modelo/README.md. ===== */
.hero.hero { padding: 88px 0 96px; }
.hero .hero-inner { max-width: 1400px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.hero .hero-content p { max-width: 72ch; }
/* ===== TIPOGRAFIA — REGRA PÉTREA (03/09/2026): UMA escala de tamanhos e TRÊS cinzas para o site inteiro.
   Papéis (desktop): apoio 14px · base 16px (rodapé 15px) · parágrafo 17px · destaque 18px · título de seção 30px ·
   hero 42/19/15/18px. Cinzas: apoio #64748B (contraste 4,8:1) · texto #334155 · títulos #0B386A. Rodapé: links branco 82%.
   Os seletores começam com ":root" para empatar em prioridade com o CSS inline de cada página e vencer pela ordem
   (este arquivo carrega por último). Nenhuma página define tamanho/cor de texto fora desta escala.
   Ver ferramentas/modelo/README.md. ===== */
:root { --text-secondary: #334155; --text-muted: #64748B; }
:root body { font-size: 17px; }
/* apoio (14px) */
:root .breadcrumb, :root .breadcrumb-inner, :root .breadcrumb a, :root .breadcrumb span, :root .stat-label, :root .plano-detalhe, :root .rel-card p, :root .related-card p, :root .article-date, :root .article-reading, :root .article-author, :root .escada-titulo span, :root .escada-label, :root .stat-hosp span, :root .fig-real figcaption, :root .hub-paginacao a, :root .hub-paginacao span, :root .operadora-card-link, :root .compare-table th { font-size: 14px; }
:root .toc-number, :root .plano-desde .label, :root .plano-desde .obs, :root .plano-linha-tag, :root .op-tag, :root .article-category, :root .related-card-category { font-size: 12px; }
:root .selo-verificado, :root .infografico-escada figcaption, :root .infografico-matriz figcaption { font-size: 13.5px; }
/* base (16px) */
:root .toc-list a, :root .toc ol li a, :root .info-card p, :root .info-card ul li, :root .faq-answer-inner, :root .summary-box, :root .checklist li, :root .plano-nome, :root .rel-card h4, :root .related-card h4, :root .tldr p, :root .article-wrapper li, :root .info-box p, :root .cta-inline p, :root .operadora-card-nome { font-size: 16px; }
:root table, :root .compare-table { font-size: 15px; }
:root .toc-toggle, :root .tldr-title, :root .info-box-title, :root .cta-inline a, :root .aviso-honesto, :root .sub-nav a { font-size: 15px; }
:root .toc-list a, :root .toc ol li a { color: var(--text-secondary); }
/* destaque (18px) e títulos de seção (30px) */
:root .section-sub, :root .section .section-sub, :root .info-card h4 { font-size: 18px; }
:root .faq-question { font-size: 17px; }
:root .section h2 { font-size: 30px; }
/* hero: título 42, parágrafo 19, selo 15, botão 18 (heros centralizados mantêm o título maior que já têm) */
:root .hero .hero-content h1 { font-size: 42px; }
:root .hero .hero-inner p, :root .hero .hero-desc { font-size: 19px; }
:root .hero .hero-badge { font-size: 15px; }
:root .hero .hero-cta { font-size: 18px; }
/* parágrafos e títulos de seção e de artigo */
:root .section p, :root .article-wrapper p, :root .editorial p, :root .blog-intro, :root .sub { font-size: 17px; }
:root .article-wrapper h2 { font-size: 30px; }
:root .section h3, :root .article-wrapper h3, :root .related-posts h3, :root .blog-card h2 { font-size: 20px; }
:root .toc-title { font-size: 18px; }
:root .section-subtitle { font-size: 18px; }
/* blog: cards, passos, destaques, chamadas */
:root .blog-card-excerpt, :root .op-card p, :root .op-card li, :root .highlight-card li, :root .steps-content p, :root .blog-cta p, :root .faq-a, :root .passo p, :root .diferenciais-list li { font-size: 16px; }
:root .blog-card-link, :root .blog-cta-btn, :root .pagination a, :root .pagination span, :root .steps-content h4, :root .comparador-passo h4, :root .resposta-rapida { font-size: 16px; }
:root .blog-card-date, :root .blog-card-reading, :root .op-card-meta span, :root .img-figure figcaption, :root .cidade-rmc-item, :root .hcard span, :root .escada-bar b, :root .op-card-preco, :root .op-card-link, :root .comparador-passo p, :root .acomodacao-btn, :root .hospital-select, :root .resultado-info .resultado-meta, :root .resultado-info .resultado-hospitais, :root .resultado-hospitais-lista, :root .breakdown-row { font-size: 14px; }
:root .blog-card-category, :root .blog-tag, :root .op-card-badge, :root .op-card-cidades a, :root .op-card-nota, :root .hcard .tag, :root .escada-bar em, :root .comparador-disclaimer, :root .resultado-preco .preco-label { font-size: 12.5px; }
:root .op-card-nome { font-size: 18px; }
:root .cta-box p { font-size: 17px; }
:root .section-tag, :root .badge-regional, :root .destaque-regional h3 .badge-regional { font-size: 13px; }
:root .comparador-passo .passo-numero { font-size: 14px; }
:root .breakdown-row.breakdown-total, :root .op-card-preco b { font-size: 15px; }
:root .acomodacao-btn .seg-n, :root .cot-acomodacao-btn .cot-seg-n { font-size: 12px; }
/* rodapé: mais corpo e mais contraste (sobre azul-marinho) */
:root .footer { color: rgba(255,255,255,0.75); }
:root .footer .footer-col h4 { font-size: 14px; color: #fff; }
:root .footer .footer-col a { font-size: 15px; color: rgba(255,255,255,0.82); }
:root .footer .footer-col a:hover { color: var(--primary); }
:root .footer .footer-brand p { font-size: 15px; color: rgba(255,255,255,0.78); }
:root .footer .footer-badge { font-size: 13px; color: rgba(255,255,255,0.72); }
:root .footer .footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.6); }
:root .footer .cnpj, :root .footer .footer-bottom .cnpj { font-size: 12.5px; color: rgba(255,255,255,0.5); }
:root .footer .footer-legal-links a, :root .footer .footer-bottom .footer-legal-links a { font-size: 13px; color: rgba(255,255,255,0.65); }
:root .footer .footer-disclaimer { font-size: 12.5px; color: rgba(255,255,255,0.55); }
:root .footer .fp-selo-atualizacao { font-size: 13px; color: rgba(255,255,255,0.65); }
/* desktop estreito (1025–1200px): o menu com 8 itens cabe numa linha sem hambúrguer */
@media (max-width: 1200px) {
    .logo img { width: 200px; }
    .nav { gap: 2px; }
    .nav a { padding: 8px 10px; font-size: 13.5px; }
    .nav .cta-btn { padding: 9px 16px; }
}
/* tablet e celular (até 1024px): hambúrguer, menu empilhado, rodapé em 3 colunas */
@media (max-width: 1024px) {
    .hero.hero { padding: 64px 0 76px; }
    .hero .hero-content p { max-width: none; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand p { max-width: 100%; margin: 0 auto 20px; }
    .footer-brand .footer-social { justify-content: center; }
    .nav { display: none; }
    .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); padding: 16px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-top: 1px solid var(--border); }
    .nav a { width: 100%; text-align: center; padding: 12px 16px; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown > .nav-dropdown-toggle { width: 100%; justify-content: center; padding: 12px 16px; }
    .nav-dropdown-menu { position: static; box-shadow: none; border: none; border-radius: 0; background: var(--bg-light); margin-top: 0; padding: 4px 0; }
    .nav-dropdown-menu a { text-align: center; }
    .menu-toggle { display: block; }
}
/* celular (até 768px): rodapé em uma coluna */
@media (max-width: 768px) {
    /* tipografia no celular: um passo menor em cada papel */
    :root body { font-size: 16px; }
    :root .section h2 { font-size: 26px; }
    :root .section-sub, :root .section .section-sub, :root .info-card h4 { font-size: 16px; }
    :root .faq-question { font-size: 16px; }
    :root .toc-list a, :root .toc ol li a { font-size: 15px; }
    :root table, :root .compare-table { font-size: 14px; }
    :root .hero .hero-content h1 { font-size: 28px; }
    :root .hero .hero-inner p, :root .hero .hero-desc { font-size: 16px; }
    :root .hero .hero-badge { font-size: 13px; }
    :root .hero .hero-cta { font-size: 16px; }
    :root .footer .footer-col a { font-size: 14px; }
    :root .section p, :root .article-wrapper p, :root .editorial p, :root .blog-intro, :root .sub { font-size: 16px; }
    :root .article-wrapper h2 { font-size: 26px; }
    .hero.hero { padding: 44px 0 56px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-cta-bar p { font-size: 16px; }
    .btn-footer-cta { width: 100%; justify-content: center; }
}
.nav a.active { background: var(--primary-light); color: var(--primary); }
