/* CPAC – Centro de Patologia e Citologia: tema do Painel v4 (padrão do kit 1)
   Identidade: a marca da CPAC. Petróleo, verde e menta da marca, tipografia Sora (a da marca).
   Detalhe do segmento: a hélice de DNA feita dos chevrons do C (a fita CPAC_DNA da marca e da requisição),
   que entra no topo e se resolve no logo, corre nas faixas acompanhando a rolagem e fecha como pinça nos botões;
   e a lâmina corada em H&E que entra em foco ao microscópio na seção de exames.
   Toda cor e fonte sai das variáveis do :root (tela Cores e fontes do painel). Animações só com transform e opacity. */
:root {
  --bg: #ffffff;
  --bg-2: #f2f9f6;
  --bg-3: #e2f4eb;
  --ink: #003a40;
  --ink-2: #24494d;
  --muted: #4f6e70;
  --line: #d5e8e0;
  --accent: #34b78f;
  --accent-hi: #80e0a7;
  --accent-ink: #137257;
  --accent-rgb: 52 183 143;
  --on-accent: #003a40;
  --accent-2: #80e0a7;
  --accent-2-ink: #0f6b52;
  --dark: #003a40;
  --wa: #25d366;
  --wa-ink: #04301a;
  --eosina: #f0bfd5;
  --hemato: #6a4aa0;
  --erro: #b3261e;
  --dark-2: color-mix(in oklab, var(--dark) 86%, var(--accent));
  --dark-3: color-mix(in oklab, var(--dark) 72%, var(--accent));
  --sobre-escuro: color-mix(in oklab, white 82%, var(--dark));
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-2: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 10px;
  --r-lg: 18px;
  --wrap: 1220px;
  --gut: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --sombra: 0 1px 2px rgb(0 58 64 / .06), 0 16px 34px -22px rgb(0 58 64 / .35);
  --sombra-forte: 0 2px 6px rgb(0 58 64 / .08), 0 30px 60px -28px rgb(0 58 64 / .5);
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font); font-size: 1rem; line-height: 1.72; font-weight: 400; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.14; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent-ink); }
h4, h5, h6 { font-family: var(--font); font-weight: 600; line-height: 1.3; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
small, figcaption, time, label, legend { font-weight: 500; }
strong { font-weight: 600; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
code { font-size: .9em; padding: 1px 6px; border-radius: 5px; background: var(--bg-3); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: transform .2s; }
.skip:focus { transform: translateY(72px); color: var(--bg); }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-estreito { max-width: 820px; }
.wrap-medio { max-width: 920px; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }
.hx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hx-defs .hx-l { fill: var(--accent-hi); }
.hx-defs .hx-d { fill: var(--accent); }
.hx-defs .hx-alt .hx-l { fill: var(--accent); }
.hx-defs .hx-alt .hx-d { fill: var(--ink); }

/* ===== pinça: os dois traços do C abrem e fecham ===== */
.i-pinca { stroke-width: 2.4; stroke-linecap: butt; stroke-linejoin: miter; }
.i-pinca path { transition: transform .35s var(--ease); }
a:hover > .i-pinca .pa, button:hover > .i-pinca .pa, a:focus-visible > .i-pinca .pa, .card-exame:hover .i-pinca .pa, .exame-card:hover .i-pinca .pa, .card-post:hover .i-pinca .pa, .publico-links a:hover .i-pinca .pa { transform: translate(2px, 1.6px); }
a:hover > .i-pinca .pb, button:hover > .i-pinca .pb, a:focus-visible > .i-pinca .pb, .card-exame:hover .i-pinca .pb, .exame-card:hover .i-pinca .pb, .card-post:hover .i-pinca .pb, .publico-links a:hover .i-pinca .pb { transform: translate(2px, -1.6px); }
.i-marca path { transition: transform .4s var(--ease); }

/* ===== botões ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns-centro { justify-content: center; }
.btn { --bb: var(--accent); --bc: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--r); border: 2px solid var(--bb); background: var(--bb); color: var(--bc); font-family: var(--font); font-size: .93rem; font-weight: 600; line-height: 1.2; letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s; }
.btn:hover { color: var(--bc); transform: translateY(-2px); box-shadow: var(--sombra); }
.btn .i { width: 1.15em; height: 1.15em; }
.btn-primary { --bb: var(--accent); --bc: var(--on-accent); }
.btn-primary:hover { --bb: var(--accent-hi); }
.btn-ghost { --bb: transparent; --bc: var(--ink); border-color: color-mix(in oklab, var(--ink) 28%, transparent); }
.btn-ghost:hover { --bb: var(--bg-2); border-color: var(--ink); }
.btn-ghost-claro { --bb: transparent; --bc: #fff; border-color: rgb(255 255 255 / .4); }
.btn-ghost-claro:hover { --bb: rgb(255 255 255 / .08); border-color: var(--accent-hi); }
.btn-claro { --bb: #fff; --bc: var(--ink); }
.btn-claro:hover { --bb: var(--accent-hi); }
.btn-wa { --bb: var(--wa); --bc: var(--wa-ink); }
.btn-wa:hover { --bb: color-mix(in oklab, var(--wa) 86%, white); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: .86rem; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: .98rem; }
.btn-bloco { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.icon-btn-claro { border-color: rgb(255 255 255 / .22); background: transparent; color: #fff; }
.link-bt { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--accent-ink); font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.link-bt .i { width: 1em; height: 1em; }

/* ===== chamadas e títulos de seção ===== */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 .9em; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.kicker::before { content: ""; flex: none; width: 14px; height: 14px; background: var(--accent); clip-path: polygon(45% 0, 100% 0, 100% 24%, 54% 24%, 24% 54%, 0 54%, 0 45%); }
.kicker-claro { color: var(--accent-hi); }
.kicker-claro::before { background: var(--accent-hi); }
.sec { position: relative; padding-block: clamp(56px, 8vw, 100px); }
.sec + .sec:not(.sec-chamada):not(.sec-contato):not(.sec-lamina):not(.sec-equipe):not(.sec-publicos) { padding-top: clamp(20px, 3vw, 40px); }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head-centro { margin-inline: auto; text-align: center; }
.sec-head-centro .kicker { justify-content: center; }
.sec-title { font-size: clamp(1.7rem, 3.3vw, 2.55rem); }
.sec-sub { font-size: 1.02rem; color: var(--muted); max-width: 640px; }
.sec-head-centro .sec-sub { margin-inline: auto; }
.lead { font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.7; color: var(--ink-2); max-width: 640px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; background: var(--bg-3); color: var(--accent-2-ink); font-size: .74rem; font-weight: 600; letter-spacing: .02em; }

/* ===== faixa da hélice ===== */
.faixa { --fh: 30px; position: relative; height: var(--fh); overflow: hidden; pointer-events: none; }
.faixa-svg { height: 100%; width: auto; max-width: none; will-change: transform; }
.faixa-loop { animation: faixa-corre 7s linear infinite; }
@keyframes faixa-corre { to { transform: translateX(calc(var(--fh) * -885 / 524)); } }
.faixa-hero { --fh: 38px; position: absolute; left: 0; right: 0; bottom: 78px; opacity: .9; }
.faixa-topo { --fh: 22px; position: absolute; left: 0; right: 0; bottom: 0; opacity: .75; }
.faixa-rodape { --fh: 26px; margin-bottom: clamp(40px, 6vw, 64px); }
.faixa-chamada { --fh: 22px; position: absolute; left: 0; right: 0; top: 0; opacity: .7; }

/* ===== cabeçalho ===== */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--dark); color: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { flex: none; display: block; color: #fff; }
.brand img, .brand-svg { height: 50px; width: auto; }
.logo-svg .lg-claro { fill: var(--accent-hi); }
.logo-svg .lg-escuro { fill: var(--accent); }
.logo-svg .lg-texto { fill: var(--accent-hi); }
.logo-svg .lg-pa, .logo-svg .lg-pb { transition: transform .45s var(--ease); }
.brand:hover .lg-pa, .footer-brand:hover .lg-pa { transform: translateY(16px); }
.brand:hover .lg-pb, .footer-brand:hover .lg-pb { transform: translateY(-16px); }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link { position: relative; display: block; padding: 10px 12px; border-radius: 8px; color: var(--sobre-escuro); font-size: .88rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color .2s, background-color .2s; }
.nav-link:hover { color: #fff; background: rgb(255 255 255 / .06); }
.nav-link[aria-current="page"] { color: var(--accent-hi); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent-hi); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cta[aria-expanded="true"] { --bb: var(--accent-hi); }
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r); border: 1px solid rgb(255 255 255 / .2); background: transparent; cursor: pointer; place-items: center; }
.burger-linhas { display: grid; gap: 5px; width: 20px; }
.burger-linhas i { display: block; height: 2px; border-radius: 2px; background: #fff; }
.burger-linhas i:nth-child(2) { width: 70%; }

/* ===== painel dos resultados online ===== */
.resultados { position: absolute; left: 0; right: 0; top: 100%; z-index: 61; padding-bottom: 18px; pointer-events: none; }
.resultados[hidden] { display: none; }
.resultados-in { pointer-events: auto; }
.resultados-in { max-width: 860px; margin-right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); padding: 22px 24px 20px; border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--dark-2); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); animation: aparece .3s var(--ease); }
.resultados-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.resultados-titulo { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: #fff; }
.resultados-titulo .i { color: var(--accent-hi); }
.resultados-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.resultados .acesso { background: var(--dark); border-color: rgb(255 255 255 / .1); color: var(--sobre-escuro); }
.resultados .acesso-titulo { color: #fff; font-size: 1.05rem; }
.resultados .acesso-titulo .i { color: var(--accent-hi); background: rgb(255 255 255 / .06); }
.resultados .field label { color: #fff; }
.resultados .field input { background: var(--dark-2); border-color: rgb(255 255 255 / .18); color: #fff; }
.resultados .link-bt { color: var(--accent-hi); }
.resultados .acesso-texto { color: var(--sobre-escuro); }
.resultados-ajuda { margin: 14px 0 0; font-size: .82rem; color: var(--sobre-escuro); }
.resultados-ajuda a { color: var(--accent-hi); font-weight: 600; }
@keyframes aparece { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== acesso (login do Orgen) ===== */
.acessos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 28px); }
.acessos-paciente, .acessos-medico { grid-template-columns: minmax(0, 520px); }
.acesso { padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--sombra); }
.acesso-titulo { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font-size: 1.3rem; }
.acesso-titulo .i { width: 42px; height: 42px; padding: 9px; border-radius: var(--r); background: var(--bg-3); color: var(--accent-ink); }
.acesso-texto { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.acesso-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.acesso-form .btn { grid-column: 1 / -1; }
.acesso-cadastro { margin-top: 12px; }
.acesso-ajuda { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); font-size: .92rem; }
.acesso-ajuda > .i { color: var(--accent-ink); margin-top: 3px; }
.acesso-ajuda p { margin: 0; }

/* ===== menu do celular ===== */
.menu-celular { position: fixed; inset: 0; z-index: 120; background: rgb(0 30 34 / .5); }
.menu-celular[hidden] { display: none; }
.menu-celular-in { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); overflow-y: auto; background: var(--dark); color: var(--sobre-escuro); padding: 18px 22px 30px; box-shadow: var(--sombra-forte); animation: menu-entra .35s var(--ease); }
@keyframes menu-entra { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-celular-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.menu-celular-logo { height: 40px; width: auto; }
.menu-celular-list { list-style: none; display: grid; gap: 2px; }
.menu-celular-list a { display: block; padding: 11px 12px; border-radius: 8px; font-size: 1.15rem; font-weight: 600; color: #fff; text-decoration: none; animation: item-entra .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.menu-celular-extra a { font-size: .95rem; font-weight: 500; color: var(--sobre-escuro); padding-block: 8px; }
.menu-celular-list a[aria-current="page"] { background: var(--dark-2); color: var(--accent-hi); }
@keyframes item-entra { from { transform: translateX(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-celular-acoes { margin-top: 18px; display: grid; gap: 10px; }
.menu-celular-info { list-style: none; margin-top: 18px; font-size: .84rem; display: grid; gap: 4px; }
.menu-celular .redes { margin-top: 14px; }

/* ===== redes ===== */
.redes { display: flex; gap: 10px; list-style: none; }
.redes a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r); background: var(--dark-2); color: var(--accent-hi); transition: transform .25s var(--ease), background-color .25s; }
.redes a:hover { transform: translateY(-2px); background: var(--dark-3); color: #fff; }
.redes .i { width: 20px; height: 20px; }

/* ===== hero ===== */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 12vw, 150px); background: var(--dark); color: var(--sobre-escuro); overflow: hidden; isolation: isolate; }
.hero-luz { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 78% 40%, rgb(var(--accent-rgb) / .22) 0, transparent 65%), radial-gradient(50% 60% at 0% 100%, color-mix(in oklab, var(--accent-hi) 14%, transparent) 0, transparent 60%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.06; margin-bottom: .45em; }
.hero h1 em { color: var(--accent-hi); }
.hero .lead { color: var(--sobre-escuro); }
.hero-info { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .84rem; }
.hero-info li { display: flex; align-items: center; gap: 8px; }
.hero-info .i { color: var(--accent-hi); width: 18px; height: 18px; }
.hero-arte { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-lente { position: absolute; width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgb(var(--accent-rgb) / .16) 0, rgb(var(--accent-rgb) / .05) 55%, transparent 70%); }
.hero-anel { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed color-mix(in oklab, var(--accent-hi) 35%, transparent); animation: gira 80s linear infinite; }
.hero-anel::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--accent-hi) 18%, transparent); }
@keyframes gira { to { transform: rotate(1turn); } }
.hl { position: relative; z-index: 1; width: 100%; height: auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%); mask-image: linear-gradient(90deg, transparent 0, #000 2.5%); }
.hl-claro, .hl .hx-l { fill: var(--accent-hi); }
.hl-escuro, .hl .hx-d { fill: var(--accent); }
.hl-cauda, .hl-meio { opacity: 0; }
.hl-letras .hl-p { transform-box: fill-box; }
.hl-anima .hl-trem { animation: hl-trem 1.5s cubic-bezier(.2, .75, .25, 1) .2s both; }
.hl-anima .hl-cauda { animation: hl-cauda 1.7s linear .2s both; }
.hl-anima .hl-meio { animation: hl-some .45s ease 1.5s both; }
.hl-anima .hl-c2-desliza { animation: hl-c2 .7s var(--ease) 1.5s both; }
.hl-anima .hl-letras .hl-p { animation: .7s var(--ease) both; }
.hl-anima .hl-letras .hl-haste { animation-name: hl-haste; animation-delay: 1.55s; transform-origin: 50% 0; }
.hl-anima .hl-letras .hl-bojo { animation-name: hl-bojo; animation-delay: 1.7s; }
.hl-anima .hl-letras .hl-perna1 { animation-name: hl-perna1; animation-delay: 1.62s; }
.hl-anima .hl-letras .hl-perna2 { animation-name: hl-perna2; animation-delay: 1.68s; }
.hl-anima .hl-letras .hl-trav { animation-name: hl-trav; animation-delay: 1.82s; }
.hl-c .hl-pa { animation: hl-pinca-a 7s var(--ease) 3.4s infinite; }
.hl-c .hl-pb { animation: hl-pinca-b 7s var(--ease) 3.4s infinite; }
.hl-c2 .hl-pa, .hl-c2 .hl-pb { animation-delay: 3.6s; }
@keyframes hl-trem { from { transform: translateX(-2300px); } to { transform: none; } }
@keyframes hl-cauda { 0%, 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hl-some { from { opacity: 1; } to { opacity: 0; } }
@keyframes hl-c2 { from { transform: translateX(212px); } to { transform: none; } }
@keyframes hl-haste { from { transform: scaleY(0); } to { transform: none; } }
@keyframes hl-bojo { from { transform: translateX(-90px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hl-perna1 { from { transform: translateY(-140px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hl-perna2 { from { transform: translateY(140px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hl-trav { from { transform: translateX(-170px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hl-pinca-a { 0%, 84%, 100% { transform: none; } 89%, 93% { transform: translateY(18px); } }
@keyframes hl-pinca-b { 0%, 84%, 100% { transform: none; } 89%, 93% { transform: translateY(-18px); } }
.hero-selo { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 14px 10px 10px; border-radius: 12px; background: var(--dark-2); border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .6); font-size: .78rem; line-height: 1.3; color: var(--sobre-escuro); animation: flutua 6s ease-in-out infinite alternate; }
.hero-selo strong { display: block; color: #fff; font-size: .86rem; }
.hero-selo .i { width: 36px; height: 36px; padding: 8px; border-radius: 9px; background: var(--dark); color: var(--accent-hi); }
.hero-selo-1 { left: 2%; bottom: 10%; }
.hero-selo-2 { right: 0; top: 10%; animation-delay: -2.5s; }
@keyframes flutua { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ===== faixa de fatos ===== */
.sec-fatos { position: relative; z-index: 2; margin-top: -54px; }
.fatos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--bg); border-radius: var(--r-lg); box-shadow: var(--sombra-forte); overflow: hidden; }
.fatos li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; font-size: .84rem; line-height: 1.35; color: var(--muted); }
.fatos li + li { border-left: 1px solid var(--line); }
.fatos strong { display: block; font-size: .96rem; color: var(--ink); }
.fatos-icone { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--r); background: var(--bg-3); color: var(--accent-ink); }
.fatos-icone .i { width: 24px; height: 24px; }

/* ===== lâmina ao microscópio ===== */
.sec-lamina { background: linear-gradient(180deg, var(--bg) 0, var(--bg-2) 100%); }
.lamina-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.lamina-lado { position: sticky; top: calc(var(--header-h) + 30px); }
.sec-lamina-so .lamina-grid { align-items: center; }
.sec-lamina-so .lamina-lado { position: static; }
.lamina-fig { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lamina-fig figcaption { font-size: .78rem; color: var(--muted); text-align: center; max-width: 340px; }
.lamina { --p: 1; position: relative; width: min(100%, 470px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--eosina); box-shadow: 0 0 0 10px var(--dark), 0 0 0 13px var(--accent), var(--sombra-forte); }
.lamina-campo { position: absolute; inset: 0; }
.lamina-campo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.55 - .55 * var(--p))) rotate(calc((1 - var(--p)) * -12deg)); will-change: transform; }
.lamina-desfocada { opacity: calc(1 - var(--p) * 1.1); }
.lamina-mira { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--dark); }
.lm-anel { stroke-width: 8; opacity: .18; }
.lm-tracos { stroke-width: 1.4; opacity: .5; transform-origin: 100px 100px; animation: gira 60s linear infinite; }
.lm-cruz { stroke-width: 1.2; opacity: .45; }
.lamina-obj { position: absolute; right: 13%; bottom: 13%; padding: 4px 10px; border-radius: 6px; background: var(--dark); color: var(--accent-hi); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.lista-exames { display: grid; gap: 10px; }
.card-exame { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card-exame:hover { color: var(--ink-2); transform: translateX(6px); border-color: var(--accent); box-shadow: var(--sombra); }
.ce-icone { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: var(--r); background: var(--bg-3); color: var(--accent-ink); transition: background-color .3s, color .3s; }
.card-exame:hover .ce-icone { background: var(--dark); color: var(--accent-hi); }
.ce-icone .i { width: 26px; height: 26px; }
.ce-txt { flex: 1; min-width: 0; display: grid; }
.ce-titulo { margin: 0; font-size: 1.05rem; letter-spacing: -.015em; }
.ce-apelido { font-size: .8rem; color: var(--muted); }
.ce-resumo { margin-top: 4px; font-size: .88rem; line-height: 1.5; }
.ce-seta { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 9px; color: var(--accent-ink); background: var(--bg-2); }
.lista-exames-mini .card-exame { padding: 10px 12px; gap: 12px; }
.lista-exames-mini .ce-icone { width: 40px; height: 40px; }
.lista-exames-mini .ce-icone .i { width: 22px; height: 22px; }
.lista-exames-mini .ce-titulo { font-size: .94rem; }
.lista-exames-mini .ce-seta { width: 30px; height: 30px; }

/* ===== grade de exames (/exames-2/) ===== */
.grade-exames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.exame-card { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.exame-card:hover { transform: translateY(-4px); box-shadow: var(--sombra-forte); border-color: var(--accent); }
.ex-icone { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 12px; background: var(--dark); color: var(--accent-hi); }
.ex-icone .i { width: 28px; height: 28px; }
.ex-titulo { margin: 0 0 4px; font-size: 1.25rem; }
.ex-titulo a { color: var(--ink); text-decoration: none; }
.ex-titulo a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ex-apelido { margin: 0 0 12px; font-size: .84rem; font-weight: 600; color: var(--accent-ink); }
.ex-resumo { flex: 1; font-size: .92rem; line-height: 1.6; }
.ex-mais { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--accent-ink); }
.exame-card:focus-within { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.exame-card a:focus-visible { outline: none; }

/* ===== públicos ===== */
.publicos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 28px); }
.publico { position: relative; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-lg); overflow: hidden; }
.publico-1 { background: var(--dark); color: var(--sobre-escuro); }
.publico-2 { background: var(--bg-3); color: var(--ink-2); }
.publico-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.publico h3 { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.publico-1 h3 { color: #fff; }
.publico-icone { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 12px; }
.publico-1 .publico-icone { background: var(--dark-2); color: var(--accent-hi); }
.publico-2 .publico-icone { background: var(--bg); color: var(--accent-ink); }
.publico-icone .i { width: 26px; height: 26px; }
.publico-links { list-style: none; display: grid; gap: 8px; margin-top: 22px; }
.publico-links a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--r); font-weight: 600; font-size: .94rem; text-decoration: none; transition: transform .3s var(--ease), background-color .3s; }
.publico-links a > span { flex: 1; }
.publico-1 .publico-links a { background: var(--dark-2); color: #fff; }
.publico-1 .publico-links a:hover { background: var(--dark-3); }
.publico-1 .publico-links .i { color: var(--accent-hi); }
.publico-2 .publico-links a { background: var(--bg); color: var(--ink); }
.publico-2 .publico-links a:hover { background: var(--bg-2); }
.publico-2 .publico-links .i { color: var(--accent-ink); }
.publico-links a:hover { transform: translateX(4px); }

/* ===== molduras (canto cortado em 45°, como o C) ===== */
.moldura { position: relative; margin: 0; }
.moldura img { width: 100%; border-radius: var(--r-lg); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 14%); }
.moldura-helice { position: absolute; top: 7%; bottom: 7%; right: -15px; width: 26px; overflow: hidden; }
.moldura-helice svg { width: 100%; height: auto; max-width: none; }

/* ===== sobre ===== */
.sobre-grid, .ti-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.sec-ti-inv .ti-txt { order: 2; }
.valores { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.valores li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 8px; background: var(--bg-3); color: var(--ink); font-size: .84rem; font-weight: 600; }
.valores .i { width: 16px; height: 16px; color: var(--accent-ink); }

/* ===== missão, visão e valores ===== */
.sec-mvv { background: var(--bg-2); }
.mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.mvv-item { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.mvv-n { display: block; margin-bottom: 14px; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; color: var(--accent-ink); line-height: 1; }
.mvv-item h3 { font-size: 1.3rem; }
.mvv-item .rich p:last-child { margin: 0; }

/* ===== equipe ===== */
.equipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.pessoa { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.pessoa-foto { margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.pessoa-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pessoa:hover .pessoa-foto img { transform: scale(1.04); }
.pessoa-txt { padding: 20px 22px 22px; }
.pessoa h3 { margin: 0 0 4px; font-size: 1.15rem; }
.pessoa-cargo { margin: 0 0 8px; font-size: .88rem; font-weight: 600; color: var(--accent-ink); }
.pessoa-reg { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 10px; border-radius: 7px; background: var(--bg-2); font-size: .78rem; font-weight: 600; color: var(--ink); }
.pessoa-reg .i { width: 15px; height: 15px; color: var(--accent-ink); }
.pessoa-bio { font-size: .9rem; }
.pessoa-bio p:last-child { margin: 0; }
.pessoa-form summary { cursor: pointer; font-size: .86rem; font-weight: 600; color: var(--ink); }
.pessoa-form ul { margin: 10px 0 0; padding-left: 18px; font-size: .84rem; line-height: 1.55; display: grid; gap: 6px; }

/* ===== convênios ===== */
.conv-faixa { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.conv-head .sec-head { margin-bottom: 0; }
.conv-head .btns { margin-top: 20px; }
.conv-logos { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.conv-logos li, .conv-logo { display: grid; place-items: center; height: 86px; padding: 12px 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.conv-logos img, .conv-logo img { max-height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.conv-grade { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.conv-grade li { display: grid; gap: 10px; text-align: center; }
.conv-logo { height: 110px; }
.conv-logo img { max-height: 70px; }
.conv-nome { font-size: .88rem; font-weight: 600; color: var(--ink); }
.conv-nome a { color: var(--ink); }

/* ===== cartões e posts ===== */
.grade-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.grade-posts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra-forte); }
.card.is-fora { display: none; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-capa { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.card-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-capa img { transform: scale(1.04); }
.card-corpo { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 10px; font-size: .78rem; color: var(--muted); }
.card-titulo { margin: 0 0 8px; font-size: 1.15rem; }
.card-resumo { flex: 1; font-size: .9rem; line-height: 1.6; color: var(--ink-2); }
.card-mais { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--accent-ink); }
.filtros { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.filtros-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: .86rem; font-weight: 600; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #fff; }
.busca { position: relative; flex: 1 1 260px; max-width: 360px; }
.busca .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.busca input { width: 100%; min-height: 46px; padding: 10px 14px 10px 44px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .92rem; }
.busca input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .2); }
.vazio { padding: 22px; border-radius: var(--r); background: var(--bg-2); text-align: center; }

/* ===== texto rico ===== */
.rich > :last-child { margin-bottom: 0; }
.rich h2 { margin-top: 1.4em; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.rich h3 { margin-top: 1.3em; font-size: 1.15rem; }
.rich ul, .rich ol { margin: 0 0 1.1em; padding-left: 1.3em; display: grid; gap: .35em; }
.rich li::marker { color: var(--accent); }
.rich-longo { font-size: 1.02rem; }
.rich-longo > p:first-child { font-size: 1.08rem; color: var(--ink); }

/* ===== topo das páginas internas ===== */
.page-top { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 86px); background: var(--bg-2); overflow: hidden; }
.pt-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 5vw, 64px); }
.page-top h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; }
.page-top .btns { margin-top: 22px; }
.pt-foto { width: min(34vw, 420px); }
.pt-icone { position: relative; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 28px; background: var(--dark); color: var(--accent-hi); }
.pt-icone > .i { width: 64px; height: 64px; stroke-width: 1.4; }
.pt-c { position: absolute; inset: 0; display: grid; place-items: center; opacity: .12; }
.pt-c .i { width: 150px; height: 150px; color: var(--accent-hi); }
.pt-icone:hover .i-marca .pa { transform: translate(0, 1.4px); }
.pt-icone:hover .i-marca .pb { transform: translate(0, -1.4px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--accent); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ===== itens (exame) ===== */
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 64px); align-items: start; }
.item-lateral { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.lateral-card { padding: 20px; border-radius: var(--r-lg); background: var(--bg-2); }
.lateral-card h2, .lateral-t { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.lateral-escuro { background: var(--dark); color: var(--sobre-escuro); font-size: .9rem; }
.lateral-escuro .lateral-t { color: #fff; }
.box { margin-top: 30px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--line); }
.box h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.2rem; }
.box h2 .i { color: var(--accent-ink); }
.box-amostra { background: var(--bg-2); border-color: transparent; }
.box-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-size: .9rem; font-weight: 600; }
.box-links a { display: inline-flex; align-items: center; gap: 6px; }
.lista-check { list-style: none; display: grid; gap: 10px; }
.lista-check li { display: flex; gap: 10px; align-items: flex-start; }
.lista-check .i { color: var(--accent-ink); margin-top: 3px; width: 18px; height: 18px; }
.item-posts { margin-top: 36px; }
.item-posts h2 { font-size: 1.3rem; }
.aviso { display: flex; gap: 10px; align-items: flex-start; margin: 30px 0 0; padding: 14px 16px; border-radius: var(--r); background: var(--bg-2); font-size: .84rem; line-height: 1.55; color: var(--muted); }
.aviso .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent-ink); }

/* ===== post ===== */
.page-top-post .crumbs ol { margin-bottom: 14px; }
.post-meta { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .84rem; color: var(--muted); }
.post-capa { margin: 0 0 34px; }
.fontes { margin-top: 30px; font-size: .86rem; color: var(--muted); }
.fontes h2 { font-size: 1rem; }
.fontes ul { padding-left: 1.2em; display: grid; gap: 4px; }

/* ===== orientações ===== */
.orient-grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(26px, 5vw, 60px); align-items: start; }
.orient-indice { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding: 20px; border-radius: var(--r-lg); background: var(--bg-2); }
.orient-indice-t { margin: 0 0 10px; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.orient-indice ol { list-style: none; display: grid; gap: 2px; counter-reset: oi; }
.orient-indice a { display: block; padding: 6px 8px; border-radius: 7px; font-size: .86rem; line-height: 1.35; color: var(--ink-2); text-decoration: none; }
.orient-indice a:hover, .orient-indice a.is-atual { background: var(--bg); color: var(--ink); font-weight: 600; }
.orient-lista { display: grid; gap: 16px; }
.orient-item { position: relative; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); scroll-margin-top: calc(var(--header-h) + 20px); }
.orient-item:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .2); }
.ancora-extra { position: absolute; top: 0; }
.orient-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.orient-top h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.orient-icone { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--r); background: var(--dark); color: var(--accent-hi); }
.orient-icone .i { width: 24px; height: 24px; }

/* ===== downloads ===== */
.downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 28px); }
.download { display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.download-foto { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.download-foto img { width: 100%; height: 100%; object-fit: cover; }
.download-txt { padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; flex: 1; }
.download-txt h2 { font-size: 1.35rem; }
.download-txt .btns { margin-top: auto; padding-top: 18px; }

/* ===== chamada ===== */
.sec-chamada { padding-block: clamp(36px, 6vw, 70px); }
.chamada-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; padding: clamp(42px, 5vw, 60px) clamp(24px, 4.5vw, 56px) clamp(30px, 4vw, 48px); border-radius: var(--r-lg); background: var(--dark); color: var(--sobre-escuro); overflow: hidden; }
.chamada-card .sec-title { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.chamada-txt p:last-child { margin: 0; }
.chamada-card .btns { margin-top: 0; }

/* ===== dúvidas (FAQ) ===== */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.sec-duvidas-larga .faq-grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 50px 20px 0; cursor: pointer; font-size: 1.04rem; font-weight: 600; line-height: 1.4; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 8px; background: linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat, var(--bg-3); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 20px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

/* ===== contato ===== */
.sec-contato { background: var(--bg-2); }
.contato-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.contato-canais { list-style: none; display: grid; gap: 10px; }
.contato-canais a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s; overflow-wrap: anywhere; }
.contato-canais a:hover { transform: translateX(4px); box-shadow: var(--sombra); }
.contato-canais small { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); }
.contato-canais .i { width: 42px; height: 42px; padding: 10px; border-radius: var(--r); background: var(--dark); color: var(--accent-hi); }
.contato-form { padding: clamp(22px, 3.4vw, 36px); border-radius: var(--r-lg); background: var(--bg); box-shadow: var(--sombra-forte); }
.q-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field-full, .q-form .btn, .q-form .form-note, .q-form .form-ok { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .94rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--erro); }
.err { font-size: .8rem; color: var(--erro); font-weight: 600; }
.err:empty { display: none; }
.form-note { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.form-ok { display: none; margin: 0; padding: 12px 16px; border-radius: var(--r); background: var(--bg-3); color: var(--accent-2-ink); font-weight: 600; font-size: .9rem; }
.form-ok.show { display: block; }

/* ===== onde ===== */
.onde-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.onde-card { padding: clamp(24px, 3.4vw, 38px); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.onde-card .sec-head { margin-bottom: 20px; }
.onde-card .sec-title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.onde-lista { display: grid; gap: 14px; margin: 0; }
.onde-lista > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.onde-lista dt { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.onde-lista dd { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--ink); overflow-wrap: anywhere; }
.onde-lista .i { width: 18px; height: 18px; }
.mapa { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--dark); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-capa { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, transparent 0 46px, rgb(255 255 255 / .05) 46px 54px), repeating-linear-gradient(-45deg, transparent 0 70px, rgb(255 255 255 / .04) 70px 78px), radial-gradient(60% 60% at 50% 44%, rgb(var(--accent-rgb) / .3), transparent 70%); }
.mapa-pino { position: absolute; left: 50%; top: 42%; display: grid; place-items: center; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 18px; background: var(--accent); color: var(--dark); box-shadow: var(--sombra-forte); }
.mapa-pino .i { width: 36px; height: 36px; }
.mapa-bt { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--r); background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; white-space: nowrap; }

/* ===== Instagram (kit) ===== */
.kigs { background: var(--bg); }
.kig { --kig-raio: var(--r-lg); --kig-gap: 8px; --kig-raio-post: 10px; }
.kigs .kigs-kicker { color: var(--accent-ink); }
.kigs .kigs-nome small { opacity: 1; color: var(--muted); }

/* ===== 404 e aviso de acesso ===== */
.erro { text-align: center; }
.erro-in { display: grid; justify-items: center; }
.erro-n { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: clamp(4rem, 12vw, 7rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--ink); }
.erro-n .i { width: .78em; height: .78em; color: var(--accent); }
.erro .lead { margin-inline: auto; }
.aviso-acesso .pt-icone { width: 120px; height: 120px; margin-bottom: 20px; }
.aviso-acesso .pt-icone > .i { width: 46px; height: 46px; }
.aviso-acesso .pt-c .i { width: 104px; height: 104px; }
.contagem { font-size: .92rem; color: var(--muted); }

/* ===== rodapé ===== */
.site-footer { position: relative; padding: 0 0 30px; background: var(--dark); color: var(--sobre-escuro); font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.15fr); gap: clamp(24px, 3.4vw, 42px); }
.footer-brand img, .footer-logo { width: min(100%, 330px); height: auto; margin-bottom: 18px; }
.footer-brand p { line-height: 1.65; max-width: 340px; }
.footer-title { margin: 0 0 14px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hi); }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: var(--sobre-escuro); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contato li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.footer-contato .i { color: var(--accent-hi); margin-top: 3px; width: 18px; height: 18px; }
.footer-contato small { display: block; font-size: .72rem; opacity: .85; }
.footer-legal { display: grid; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .78rem; }
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--accent-hi); }
.footer-rt strong { color: #fff; }
.dev-sign { justify-self: start; margin-top: 8px; }
.dev-sign img { height: 15px; width: auto; opacity: .5; transition: opacity .3s; }
.dev-sign:hover img { opacity: .85; }

/* ===== WhatsApp flutuante ===== */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; justify-items: end; gap: 12px; }
.wa-fab { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--wa); color: var(--wa-ink); cursor: pointer; box-shadow: 0 10px 26px -8px rgb(4 48 26 / .55); }
.wa-fab .i { width: 30px; height: 30px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulsa 2.4s ease-out infinite; }
@keyframes pulsa { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-bubble { position: relative; width: min(300px, calc(100vw - 36px)); padding: 20px 20px 16px; border-radius: 16px 16px 4px 16px; background: var(--bg); color: var(--ink-2); box-shadow: var(--sombra-forte); font-size: .88rem; line-height: 1.5; animation: aparece .35s var(--ease); }
.wa-bubble[hidden] { display: none; }
.wa-bubble-titulo { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; color: var(--ink); padding-right: 26px; }
.wa-bubble-x { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--bg-2); color: var(--ink); cursor: pointer; }
.wa-bubble-x .i { width: 16px; height: 16px; }
.wa-bubble-fone { margin: 8px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }

/* ===== aviso de cookies ===== */
.cookies { position: fixed; left: 18px; bottom: 18px; z-index: 95; display: flex; align-items: center; gap: 14px; max-width: min(520px, calc(100vw - 110px)); padding: 14px 16px; border-radius: var(--r-lg); background: var(--dark); color: var(--sobre-escuro); box-shadow: var(--sombra-forte); font-size: .8rem; line-height: 1.5; animation: aparece .35s var(--ease); }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; }
.cookies a { color: var(--accent-hi); }
.cookies .btn { flex: none; }

/* ===== revelar ao rolar (só abaixo da dobra; título e foto do topo aparecem na hora) ===== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card-exame[data-reveal].is-in:hover { transform: translateX(6px); }
.js .exame-card[data-reveal].is-in:hover, .js .card[data-reveal].is-in:hover { transform: translateY(-4px); }

/* ===== tema: responsivo ===== */
@media (max-width: 1200px) {
  .nav-link { padding: 9px 8px; font-size: .84rem; }
  .brand img, .brand-svg { height: 44px; }
  .footer-top { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .grade-exames, .grade-posts, .equipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .conv-faixa { grid-template-columns: minmax(0, 1fr); }
  .conv-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero-in, .lamina-grid, .sobre-grid, .ti-grid, .faq-grid, .contato-grid, .onde-grid, .item-grid, .publicos, .orient-grid, .acessos, .chamada-card, .downloads { grid-template-columns: minmax(0, 1fr); }
  .hero-arte { min-height: 300px; }
  .lamina-lado, .item-lateral { position: static; }
  .lamina { width: min(100%, 380px); }
  .fatos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fatos li:nth-child(3) { border-left: 0; }
  .fatos li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mvv { grid-template-columns: minmax(0, 1fr); }
  .sec-ti-inv .ti-txt { order: 0; }
  .pt-in { grid-template-columns: minmax(0, 1fr); }
  .pt-foto { width: min(80vw, 360px); justify-self: center; }
  .pt-icone { display: none; }
  .aviso-acesso .pt-icone { display: grid; }
  .orient-indice { position: static; max-height: none; }
  .orient-indice ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resultados-grid { grid-template-columns: minmax(0, 1fr); }
  .conv-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .conv-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .moldura-helice { right: -10px; width: 18px; }
}
@media (max-width: 640px) {
  .header-in { gap: 10px; }
  .brand img, .brand-svg { height: 40px; }
  .header-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-cta { width: 46px; padding: 0; }
  .btns .btn { width: 100%; }
  .hero h1 { font-size: clamp(2rem, 9.4vw, 2.5rem); }
  .hero-selo { display: none; }
  .hero-arte { min-height: 200px; }
  .grade-exames, .grade-posts, .grade-posts-2, .equipe, .q-form, .acesso-form, .fatos { grid-template-columns: minmax(0, 1fr); }
  .fatos li + li { border-left: 0; border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .orient-indice ol { grid-template-columns: minmax(0, 1fr); }
  .onde-lista > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .conv-logos, .conv-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mapa { min-height: 300px; }
  .wa-fab { width: 56px; height: 56px; }
  .cookies { flex-direction: column; align-items: flex-start; max-width: calc(100vw - 96px); }
  .ce-seta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hl-c .hl-pa, .hl-c .hl-pb { animation: none !important; }
}

/* CDW assinatura padrao 160x23 */
.cdw-css-guard {}
/* computador: direita, na linha da ultima info, longe do botao do WhatsApp */
.dev-sign { display: flex !important; width: fit-content; flex: 0 0 auto !important; order: 99 !important; line-height: 0; opacity: 1 !important;
  margin: 0 max(0px, calc(var(--cdw-fab, 100px) - (100vw - 100%) / 2)) 0 auto !important; align-self: flex-end !important; justify-self: end !important; }
.dev-sign img { width: 160px !important; height: 23px !important; max-width: none !important; display: block; opacity: 1 !important; }
@media (min-width: 701px) {
  :has(> .dev-sign) { flex-wrap: nowrap !important; }
  :has(> .dev-sign) > :not(.dev-sign) { min-width: 0; }
}
@media (min-width: 701px) {
  .footer-legal:has(> .dev-sign) { grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; padding-right: max(0px, calc(100px - (100vw - 100%) / 2)); }
  .footer-legal:has(> .dev-sign) > :not(.dev-sign) { grid-column: 1; }
  .footer-legal > .dev-sign { grid-column: 2; align-self: end !important; margin: 0 !important; }
}
/* celular: linha propria, alinhada a esquerda como o texto */
@media (max-width: 700px) {
  /* -5px compensa a margem interna do desenho (16 de 480), para a letra alinhar com o texto */
  .dev-sign { margin: 0 calc(100% - 155px) 0 -5px !important; align-self: flex-start !important; justify-self: start !important; }
}
/* pagina de links (bio do Instagram): conteudo centralizado -> assinatura centralizada */
.pg-links .dev-sign, .tpl-links .dev-sign { margin: 6px auto 0 !important; align-self: center !important; justify-self: center !important; }

/* ===== Card sozinho na última linha da grade: centralizado (14/11/2026) =====
   A grade continua igual; só o card (ou os dois) que sobram na última linha vão para o meio.
   "of :not([hidden])" ignora os cards escondidos pelo filtro; translate soma com o transform das animações. */
@media (min-width: 1061px) {
  .equipe > :nth-last-child(1 of :not([hidden])):nth-child(3n+1 of :not([hidden])) { translate: calc(100% + clamp(16px, 2.4vw, 26px)) 0; }
  .equipe > :nth-last-child(2 of :not([hidden])):nth-child(3n+1 of :not([hidden])),
  .equipe > :nth-last-child(1 of :not([hidden])):nth-child(3n+2 of :not([hidden])) { translate: calc(50% + clamp(16px, 2.4vw, 26px) / 2) 0; }
  .grade-posts:not(.grade-posts-2) > :nth-last-child(1 of :not([hidden])):nth-child(3n+1 of :not([hidden])) { translate: calc(100% + clamp(16px, 2.4vw, 26px)) 0; }
  .grade-posts:not(.grade-posts-2) > :nth-last-child(2 of :not([hidden])):nth-child(3n+1 of :not([hidden])),
  .grade-posts:not(.grade-posts-2) > :nth-last-child(1 of :not([hidden])):nth-child(3n+2 of :not([hidden])) { translate: calc(50% + clamp(16px, 2.4vw, 26px) / 2) 0; }
  .grade-posts-2 > :nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { translate: calc(50% + clamp(16px, 2.4vw, 26px) / 2) 0; }
}
@media (min-width: 641px) and (max-width: 1060px) {
  .equipe > :nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { translate: calc(50% + clamp(16px, 2.4vw, 26px) / 2) 0; }
  .grade-posts > :nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { translate: calc(50% + clamp(16px, 2.4vw, 26px) / 2) 0; }
}
