/* Dra. Mariana Tanaka · Nefrologista pediátrica: tema do Painel v4 (padrão do kit 1)
   Identidade: a nova comunicação do Instagram @dramariana.nefropediatra. Creme do fundo dos carrosséis,
   marrom-cacau dos títulos, pêssego do destaque ("avisar algo"), verde-sálvia do fundo dos retratos e o rosé
   do logo. Tipografia dos posts: Marcellus nos títulos e Montserrat nos textos.
   Detalhe do segmento: o rinzinho (mascote em SVG que pisca, acena e acompanha o cursor), a régua da cor do xixi
   com tubinhos de ensaio, gotinhas e bolhas flutuando e as bordas em curva das ilustrações 3D dos carrosséis.
   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: #fbf5e9;
  --bg-2: #f5ead7;
  --bg-3: #e6f0ea;
  --ink: #4a2b20;
  --ink-2: #5e4034;
  --muted: #735447;
  --line: #e9d9c3;
  --accent: #e08a55;
  --accent-hi: #f2b48c;
  --accent-ink: #a9532a;
  --accent-rgb: 224 138 85;
  --on-accent: #3b2219;
  --accent-2: #a8c8ba;
  --accent-2-ink: #3d6b5b;
  --dark: #4a2b20;
  --wa: #25d366;
  --wa-ink: #04301a;
  --rose: #e7b9a8;
  --creme: #fffdf8;
  --erro: #b3261e;
  --amarelo: #e4b23c;
  --amarelo-ink: #6e5000;
  --terracota-ink: #7f3416;
  --xixi: #f6e7a6;
  --destaque: color-mix(in oklab, var(--accent) 55%, var(--accent-ink));
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-2: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 14px;
  --r-lg: 26px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --id-h: 32px;
  --header-h: 80px;
  --sombra: 0 1px 2px rgb(74 43 32 / .05), 0 16px 36px -22px rgb(74 43 32 / .32);
  --sombra-forte: 0 2px 6px rgb(74 43 32 / .07), 0 28px 56px -26px rgb(74 43 32 / .45);
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
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.75; 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: 400; line-height: 1.16; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--destaque); }
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; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.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: 10px; 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: 900px; }
.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; }

/* ===== botões ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns-centro { justify-content: center; }
.btn { --bb: var(--ink); --bc: var(--bg); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--bb); background: var(--bb); color: var(--bc); font-family: var(--font); font-size: .95rem; font-weight: 600; line-height: 1.2; 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(--ink); --bc: var(--bg); }
.btn-primary:hover { --bb: var(--accent-ink); }
.btn-ghost { --bb: transparent; --bc: var(--ink); border-color: color-mix(in oklab, var(--ink) 30%, transparent); }
.btn-ghost:hover { --bb: var(--creme); border-color: var(--ink); }
.btn-wa { --bb: var(--wa); --bc: var(--wa-ink); }
.btn-wa:hover { --bb: color-mix(in oklab, var(--wa) 86%, white); }
.btn-claro { --bb: var(--bg); --bc: var(--ink); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-bloco { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--creme); color: var(--ink); cursor: pointer; }

/* ===== chamadas e títulos de seção ===== */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 .9em; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2-ink); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.kicker-chip { padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--creme); box-shadow: var(--sombra); letter-spacing: .1em; }
.kicker-chip::before { display: none; }
.kicker-chip .i { width: 22px; height: 22px; color: var(--accent); stroke-width: 2.4; }
.sec { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.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.9rem, 3.6vw, 2.9rem); }
.sec-sub { font-size: 1.06rem; color: var(--muted); max-width: 640px; }
.sec-head-centro .sec-sub { margin-inline: auto; }
.lead { font-size: clamp(1.04rem, 1.4vw, 1.18rem); line-height: 1.7; color: var(--ink-2); max-width: 620px; }

/* ===== ondas (bordas em curva dos carrosséis) ===== */
.onda { position: absolute; left: 0; width: 100%; height: clamp(26px, 4vw, 60px); pointer-events: none; }
.onda-baixo { bottom: -1px; fill: var(--bg); }
.onda-cima { top: -1px; fill: var(--bg); }

/* ===== cabeçalho ===== */
.site-header { position: sticky; top: calc(var(--id-h) * -1); z-index: 50; }
.header-id { background: var(--bg-2); color: var(--muted); font-size: .76rem; border-bottom: 1px solid var(--line); }
.header-id-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--id-h); }
.header-id p { margin: 0; line-height: 1.3; }
.header-id strong { color: var(--ink); font-weight: 600; }
.header-id-contato { display: flex; align-items: center; gap: 18px; flex: none; }
.header-id-contato a, .header-id-hora { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.header-id-contato a:hover { color: var(--ink); }
.header-id .i { width: 15px; height: 15px; }
.header-bar { padding-top: 10px; }
.header-in { display: flex; align-items: center; gap: 22px; min-height: calc(var(--header-h) - 10px); background: color-mix(in oklab, var(--creme) 92%, transparent); border: 1px solid color-mix(in oklab, var(--line) 80%, transparent); border-radius: 999px; padding: 8px 10px 8px 26px; box-shadow: 0 10px 30px -22px rgb(74 43 32 / .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: calc(var(--wrap) - 2 * var(--gut)); }
.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link { display: block; padding: 10px 13px; border-radius: 999px; color: var(--ink-2); font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.nav-link:hover { background: var(--bg-2); color: var(--ink); }
.nav-link[aria-current="page"] { background: var(--bg-3); color: var(--ink); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--bg-2); cursor: pointer; place-items: center; }
.burger-linhas { display: grid; gap: 5px; width: 20px; }
.burger-linhas i { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.burger-linhas i:nth-child(2) { width: 70%; }

/* ===== menu do celular ===== */
.menu-celular { position: fixed; inset: 0; z-index: 120; background: rgb(74 43 32 / .35); }
.menu-celular[hidden] { display: none; }
.menu-celular-in { position: absolute; inset: 10px 10px auto 10px; max-height: calc(100dvh - 20px); overflow-y: auto; background: var(--bg); border-radius: 28px; padding: 18px 20px 26px; box-shadow: var(--sombra-forte); animation: menu-entra .35s var(--ease); }
@keyframes menu-entra { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-celular-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.menu-celular-top img { height: 42px; width: auto; }
.menu-celular-list { list-style: none; display: grid; gap: 2px; }
.menu-celular-list a { display: block; padding: 12px 14px; border-radius: 14px; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); text-decoration: none; animation: item-entra .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.menu-celular-extra a { font-family: var(--font); font-size: 1rem; font-weight: 500; color: var(--ink-2); padding-block: 9px; }
.menu-celular-list a[aria-current="page"] { background: var(--bg-3); }
@keyframes item-entra { from { transform: translateX(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-celular-acoes { margin-top: 16px; display: grid; gap: 10px; }
.menu-celular-info { list-style: none; margin-top: 16px; font-size: .85rem; color: var(--muted); 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: 50%; background: var(--bg-2); color: var(--ink); transition: transform .25s var(--ease), background-color .25s; }
.redes a:hover { transform: translateY(-2px); background: var(--accent-hi); }
.redes .i { width: 20px; height: 20px; }

/* ===== hero ===== */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(70px, 9vw, 120px); background: radial-gradient(120% 80% at 85% 10%, var(--bg-3) 0, transparent 60%), radial-gradient(90% 70% at 0% 100%, color-mix(in oklab, var(--accent-hi) 30%, transparent) 0, transparent 60%), var(--bg-2); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.06; margin-bottom: .4em; }
.hero .lead { font-size: clamp(1.04rem, 1.5vw, 1.2rem); }
.hero-cred { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; max-width: 640px; }
.hero-cred li { padding: 14px 16px; border-radius: 18px; background: color-mix(in oklab, var(--creme) 80%, transparent); border: 1px solid var(--line); line-height: 1.35; }
.hero-cred strong { display: block; font-size: .9rem; font-weight: 700; color: var(--ink); }
.hero-cred span { font-size: .8rem; color: var(--muted); }
.hero-arte { position: relative; display: grid; justify-items: center; align-items: end; min-height: 440px; }
.hero-arco { position: absolute; inset: 6% 8% 0 8%; border-radius: 999px 999px 34px 34px; background: linear-gradient(180deg, color-mix(in oklab, var(--accent-2) 72%, var(--creme)) 0%, var(--bg-3) 100%); box-shadow: inset 0 -30px 60px -40px rgb(61 107 91 / .5); }
.hero-arco::after { content: ""; position: absolute; inset: 14px; border-radius: inherit; border: 1.5px dashed color-mix(in oklab, var(--creme) 75%, transparent); }
.hero-foto { position: relative; z-index: 2; width: min(100%, 420px); }
.hero-foto img { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgb(74 43 32 / .18)); }
.hero-selo { position: absolute; z-index: 3; left: -4%; bottom: 12%; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--creme); box-shadow: var(--sombra-forte); font-size: .82rem; line-height: 1.3; color: var(--muted); animation: flutua 5.5s ease-in-out infinite alternate; }
.hero-selo strong { display: block; color: var(--ink); font-size: .9rem; }
.hero-selo .i { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--bg-3); color: var(--accent-2-ink); }
.bolha { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 30%, color-mix(in oklab, var(--creme) 95%, transparent) 0 18%, color-mix(in oklab, var(--accent-hi) 55%, transparent) 60%, color-mix(in oklab, var(--accent) 40%, transparent) 100%); opacity: .85; }
.bolha.b1 { width: 54px; height: 54px; top: 10%; left: 4%; animation: flutua 6s ease-in-out infinite alternate; }
.bolha.b2 { width: 30px; height: 30px; top: 30%; right: 2%; animation: flutua 4.6s ease-in-out -1.5s infinite alternate; }
.bolha.b3 { width: 18px; height: 18px; top: 4%; right: 24%; animation: flutua 5.2s ease-in-out -3s infinite alternate; }
.brilho { position: absolute; color: var(--creme); }
.brilho .i { width: 26px; height: 26px; stroke-width: 2.2; }
.brilho.br1 { top: 18%; right: 16%; animation: cintila 3.2s ease-in-out infinite; }
.brilho.br2 { top: 48%; left: 8%; animation: cintila 3.8s ease-in-out -1.2s infinite; }
@keyframes flutua { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@keyframes cintila { 0%, 100% { transform: scale(.6) rotate(0deg); opacity: .4; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

/* ===== rinzinho (mascote) ===== */
.rz-wrap { display: block; width: 120px; pointer-events: none; animation: flutua 3.4s ease-in-out infinite alternate; }
.rz { width: 100%; height: auto; overflow: visible; }
.rz-corpo { fill: var(--accent); }
.rz-sombra { fill: var(--accent-ink); opacity: .22; }
.rz-brilho { fill: var(--creme); opacity: .4; }
.rz-membro { fill: none; stroke: var(--accent-ink); stroke-width: 6; stroke-linecap: round; }
.rz-mao, .rz-pe { fill: var(--accent-ink); }
.rz-olho { fill: var(--creme); }
.rz-pupila { fill: var(--ink); transform: translate(var(--px, 0px), var(--py, 0px)); transition: transform .25s var(--ease); }
.rz-luz { fill: var(--creme); }
.rz-olhos { transform-box: fill-box; transform-origin: center; animation: pisca 5.2s infinite; }
.rz-bochecha { fill: var(--rose); opacity: .9; }
.rz-boca { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.rz-braco { transform-box: view-box; transform-origin: 21px 64px; animation: acena 1.3s ease-in-out infinite alternate; }
@keyframes pisca { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.08); } }
@keyframes acena { from { transform: rotate(-10deg); } to { transform: rotate(24deg); } }
.rz-hero { position: absolute; z-index: 4; right: -2%; bottom: 4%; width: clamp(88px, 11vw, 128px); }
.rz-sobre { position: absolute; right: -14px; bottom: -18px; width: 104px; z-index: 3; }
.rz-chamada { width: 96px; flex: none; }
.rz-faq { width: 92px; margin-top: 26px; }
.rz-topo { width: clamp(90px, 12vw, 140px); justify-self: end; }
.rz-capa { width: 92px; }
.rz-erro { width: 130px; margin: 0 auto 8px; }

/* ===== faixa de fatos ===== */
.sec-fatos { position: relative; z-index: 3; margin-top: clamp(-64px, -5vw, -40px); }
.fatos { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--creme); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sombra); overflow: hidden; }
.fatos li { display: flex; align-items: center; gap: 14px; padding: 22px 22px; line-height: 1.35; color: var(--muted); font-size: .88rem; }
.fatos li + li { border-left: 1px solid var(--line); }
.fatos strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.fato-icone { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; background: var(--bg-2); color: var(--accent-ink); }
.fato-icone .i { width: 26px; height: 26px; }

/* ===== sinais de alerta ===== */
.sinais-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.sinais-arte { position: relative; }
.ilustra { margin: 0; border-radius: 34px 34px 50% 50% / 34px 34px 22% 22%; overflow: hidden; background: var(--bg-2); box-shadow: var(--sombra-forte); }
.ilustra img { width: 100%; }
.ilustra-flutua { animation: flutua 6s ease-in-out infinite alternate; }
.gotinha { position: absolute; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--creme); color: var(--accent); box-shadow: var(--sombra); }
.gotinha .i { width: 26px; height: 26px; stroke-width: 2; }
.gotinha.g1 { top: -18px; right: 12%; animation: flutua 4.4s ease-in-out infinite alternate; }
.gotinha.g2 { bottom: 8%; left: -16px; width: 44px; height: 44px; color: var(--accent-2-ink); animation: flutua 5s ease-in-out -2s infinite alternate; }
.sinais-lista { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sinais-lista li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--creme); border: 1px solid var(--line); line-height: 1.4; font-size: .9rem; color: var(--muted); transition: transform .3s var(--ease), box-shadow .3s; }
.sinais-lista li:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.sinais-lista strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.sinal-icone { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in oklab, var(--accent-hi) 40%, var(--creme)); color: var(--accent-ink); }
.sinal-icone .i { width: 22px; height: 22px; }

/* ===== régua da cor do xixi ===== */
.sec-regua { background: var(--bg-3); padding-block: clamp(80px, 10vw, 130px); }
.sec-regua .onda { fill: var(--bg); }
.regua { max-width: 1000px; margin-inline: auto; }
.regua-tubos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 18px); align-items: end; }
.tubo { display: grid; justify-items: center; gap: 12px; padding: 14px 6px 12px; border: 2px solid transparent; border-radius: 22px; background: transparent; cursor: pointer; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.tubo:hover { background: color-mix(in oklab, var(--creme) 60%, transparent); transform: translateY(-4px); }
.tubo[aria-pressed="true"] { background: var(--creme); border-color: var(--accent-2-ink); box-shadow: var(--sombra); }
.tubo-vidro { position: relative; display: block; width: 46px; height: 150px; border-radius: 6px 6px 24px 24px; border: 2.5px solid color-mix(in oklab, var(--ink) 35%, transparent); border-top: 0; background: linear-gradient(90deg, rgb(255 255 255 / .55) 0 18%, transparent 40%); overflow: hidden; }
.tubo-vidro::before { content: ""; position: absolute; left: -6px; right: -6px; top: 0; height: 4px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 35%, transparent); }
.tubo-liquido { position: absolute; inset: auto 0 0 0; height: 68%; background: var(--cor, var(--accent-hi)); transform-origin: bottom; transition: transform .5s var(--ease); }
.tubo-liquido::before { content: ""; position: absolute; left: 0; right: 0; top: -5px; height: 10px; border-radius: 50%; background: inherit; filter: brightness(1.08); }
.tubo[aria-pressed="true"] .tubo-liquido { animation: enche .7s var(--ease); }
@keyframes enche { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
.tubo-espuma .tubo-liquido { background: var(--cor, color-mix(in oklab, var(--accent-hi) 55%, var(--xixi))); }
.tubo-espuma .tubo-liquido::after { content: ""; position: absolute; left: -4px; right: -4px; top: -16px; height: 28px; background: radial-gradient(circle at 20% 60%, var(--creme) 0 7px, transparent 8px), radial-gradient(circle at 50% 40%, var(--creme) 0 9px, transparent 10px), radial-gradient(circle at 80% 62%, var(--creme) 0 7px, transparent 8px); }
.tubo-nome { font-size: .8rem; font-weight: 600; line-height: 1.25; color: var(--ink); text-align: center; min-height: 3.75em; }
.regua-painel { margin-top: 22px; }
.regua-item { display: flex; gap: 20px; align-items: flex-start; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--creme); box-shadow: var(--sombra); }
.regua-item + .regua-item { margin-top: 12px; }
.js .regua-item { display: none; margin-top: 0; }
.js .regua-item.is-on { display: flex; animation: aparece .4s var(--ease); }
@keyframes aparece { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.regua-gota { flex: none; width: 54px; height: 54px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--cor, var(--accent-hi)); transform: rotate(180deg); box-shadow: inset 0 -6px 0 rgb(255 255 255 / .3); }
.regua-gota-espuma { background: radial-gradient(circle at 30% 30%, var(--creme) 0 8px, transparent 9px), radial-gradient(circle at 65% 55%, var(--creme) 0 10px, transparent 11px), color-mix(in oklab, var(--accent-hi) 55%, var(--xixi)); }
.regua-item h3 { font-size: 1.5rem; margin-bottom: .3em; }
.regua-item p:last-child { margin-bottom: 0; }
.nivel { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 .6em; padding: 5px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--bg-2); color: var(--ink); }
.nivel::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.nivel-ok { background: var(--bg-3); color: var(--accent-2-ink); }
.nivel-observar { background: color-mix(in oklab, var(--amarelo) 22%, var(--creme)); color: var(--amarelo-ink); }
.nivel-consulta { background: color-mix(in oklab, var(--accent-hi) 38%, var(--creme)); color: var(--accent-ink); }
.nivel-mesmo-dia { background: color-mix(in oklab, var(--accent) 30%, var(--creme)); color: var(--terracota-ink); }
.nivel-urgencia { background: color-mix(in oklab, var(--erro) 14%, var(--creme)); color: var(--erro); }
.regua-extra { margin-top: 14px; padding: 16px 20px; border-radius: 18px; border: 1.5px dashed color-mix(in oklab, var(--accent-2-ink) 45%, transparent); font-size: .94rem; }
.regua-extra-titulo { margin: 0 0 .2em; font-weight: 700; color: var(--ink); }
.regua-extra p:last-child { margin: 0; }
.regua-nota { margin: 16px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }
.regua-nota small { display: block; margin-top: 4px; font-size: .76rem; }
.post-regua { margin: 34px 0; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-lg); background: var(--bg-3); }
.post-regua-titulo { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; color: var(--accent-2-ink); }
.post-regua .tubo-vidro { width: 36px; height: 110px; }

/* ===== cartões e grades ===== */
.grade { display: grid; gap: clamp(14px, 2vw, 22px); }
.grade-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grade-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grade-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); background: var(--creme); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--sombra-forte); border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.card-titulo { font-size: 1.32rem; margin-bottom: .4em; }
.card-titulo a { color: var(--ink); text-decoration: none; }
.card-titulo a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-titulo a:focus-visible { outline: none; }
.card:has(.card-titulo a:focus-visible) { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.card p { font-size: .92rem; line-height: 1.6; color: var(--muted); margin-bottom: 0; }
.card-rotulo { margin: 0 0 .5em !important; font-size: .72rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2-ink) !important; }
.card-icone { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px 18px 18px 6px; background: color-mix(in oklab, var(--accent-hi) 36%, var(--creme)); color: var(--accent-ink); transition: transform .4s var(--ease); }
.card:hover .card-icone { transform: rotate(-8deg) scale(1.06); }
.card-icone .i { width: 28px; height: 28px; }
.card-mais { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-size: .86rem; font-weight: 600; color: var(--accent-ink); }
.card-mais .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card:hover .card-mais .i { transform: translateX(4px); }
.card-exame .card-icone { background: var(--bg-3); color: var(--accent-2-ink); border-radius: 18px 18px 6px 18px; }
.sec-atuacao .btns, .sec-posts .btns, .sec-colecao .btns { justify-content: center; }
.grupo { margin-top: clamp(36px, 5vw, 56px); scroll-margin-top: calc(var(--header-h) + 30px); }
.grupo:first-of-type { margin-top: 10px; }
.grupo-titulo { font-size: clamp(1.5rem, 2.6vw, 2rem); display: flex; align-items: center; gap: 14px; }
.grupo-titulo::after { content: ""; flex: 1; height: 1.5px; background: linear-gradient(90deg, var(--line), transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--creme); color: var(--ink-2); font-size: .86rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.card-post { padding: 0; overflow: hidden; }
.card-post-capa { aspect-ratio: 16 / 10; background: var(--bg-2); overflow: hidden; }
.card-post-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-post:hover .card-post-capa img { transform: scale(1.05); }
.card-post-capa-vazia { display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, var(--bg-3) 0 30%, transparent 31%), radial-gradient(circle at 20% 80%, color-mix(in oklab, var(--accent-hi) 40%, transparent) 0 22%, transparent 23%), var(--bg-2); }
.card-post-txt { display: flex; flex-direction: column; padding: 20px 22px 24px; flex: 1; }
.card-colecao { flex-direction: row; gap: 20px; align-items: flex-start; }
.card-colecao .card-icone { margin-bottom: 0; flex: none; }
.card-colecao-capa { flex: none; width: 104px; border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.card-colecao-capa img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.filtros { display: grid; gap: 16px; margin-bottom: 30px; }
.busca { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 0 18px; min-height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--creme); }
.busca:focus-within { border-color: var(--accent-ink); }
.busca .i { color: var(--muted); }
.busca input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 12px 0; }
.busca input:focus { outline: none; }
.vazio { padding: 30px; text-align: center; color: var(--muted); }
.js [data-lista] .card.is-fora { display: none; }

/* ===== sobre ===== */
.sec-sobre { background: var(--bg-2); }
.sobre-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.sobre-foto { position: relative; margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.arco-foto { border-radius: 999px 999px 30px 30px; overflow: hidden; background: var(--bg-3); box-shadow: var(--sombra-forte); outline: 1.5px dashed color-mix(in oklab, var(--accent) 55%, transparent); outline-offset: 10px; }
.arco-foto img { width: 100%; height: 100%; object-fit: cover; }
.citacao { position: relative; margin: 26px 0; padding: 20px 24px 20px 64px; border-radius: 22px; background: var(--creme); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.citacao .i { position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; color: var(--accent); }
.citacao p { margin: 0; }
.destaques { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 22px 0 6px; }
.destaques strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--accent-ink); }
.destaques span { font-size: .82rem; color: var(--muted); }
.assinatura { margin: 18px 0 0; font-size: .84rem; font-weight: 600; color: var(--muted); }

/* ===== texto rico ===== */
.rich > :last-child { margin-bottom: 0; }
.rich h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-top: 1.5em; }
.rich h3 { font-size: 1.3rem; margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.rich li { margin-bottom: .4em; }
.rich li::marker { color: var(--accent); }
.rich blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--accent); border-radius: 0 18px 18px 0; background: var(--bg-2); color: var(--ink); }
.rich blockquote p:last-child { margin-bottom: 0; font-size: .9rem; color: var(--muted); }
.rich-longo { font-size: 1.04rem; }

/* ===== topo das páginas internas ===== */
.page-top { position: relative; padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 100px); background: radial-gradient(90% 90% at 100% 0%, var(--bg-3) 0, transparent 55%), var(--bg-2); overflow: hidden; }
.pt-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 64px); align-items: center; }
.page-top h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-top-post h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.pt-foto { margin: 0; width: clamp(220px, 26vw, 340px); }
.pt-icone { display: grid; place-items: center; width: clamp(110px, 14vw, 170px); height: clamp(110px, 14vw, 170px); border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; background: var(--creme); color: var(--accent); box-shadow: var(--sombra-forte); animation: flutua 5s ease-in-out infinite alternate; }
.pt-icone .i { width: 52%; height: 52%; stroke-width: 1.4; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin-bottom: 18px; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--accent); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.post-meta { font-size: .9rem; color: var(--muted); }

/* ===== itens (doença, exame) ===== */
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.item-lateral { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.item-box { padding: 22px; border-radius: var(--r-lg); background: var(--creme); border: 1px solid var(--line); }
.item-box-titulo { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.item-agenda { background: var(--bg-3); border-color: transparent; }
.item-agenda-nome { margin: 0 0 14px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.item-agenda-nome small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.item-agenda-end { display: flex; gap: 8px; margin: 14px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.item-agenda-end .i { color: var(--accent-2-ink); margin-top: 1px; }
.item-links { list-style: none; display: grid; }
.item-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; font-weight: 500; text-decoration: none; }
.item-links li:last-child a { border-bottom: 0; }
.item-links a:hover { color: var(--accent-ink); }
.item-links .i { width: 16px; height: 16px; color: var(--accent); transition: transform .3s var(--ease); }
.item-links a:hover .i { transform: translateX(4px); }
.box-sinais { margin-bottom: 32px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: color-mix(in oklab, var(--accent-hi) 22%, var(--creme)); }
.box-sinais h2 { font-size: 1.45rem; margin-bottom: .7em; }
.box-sinais ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.box-sinais li { display: flex; gap: 10px; line-height: 1.45; font-size: .95rem; }
.box-sinais .i { color: var(--accent-ink); margin-top: 2px; stroke-width: 2.2; }
.box-sage { background: var(--bg-3); margin: 32px 0 0; }
.box-sage .i { color: var(--accent-2-ink); }
.box-onde { margin-top: 24px; padding: 20px 24px; border-radius: var(--r-lg); border: 1.5px dashed var(--line); }
.box-onde h2 { font-size: 1.3rem; }
.fontes { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.fontes-titulo { margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.fontes ul { padding-left: 1.2em; }
.aviso-medico { display: flex; gap: 10px; margin: 26px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--bg-2); font-size: .84rem; line-height: 1.5; color: var(--muted); }
.aviso-medico .i { color: var(--accent-2-ink); margin-top: 1px; }
.item-figura { margin: 0 0 28px; border-radius: var(--r-lg); overflow: hidden; }

/* ===== post ===== */
.post-corpo { padding-top: clamp(30px, 4vw, 48px); }
.post-capa { margin: 0 0 34px; border-radius: 30px 30px 50% 50% / 30px 30px 16% 16%; overflow: hidden; background: var(--bg-2); box-shadow: var(--sombra); }
.post-capa img { width: 100%; max-height: 520px; object-fit: cover; }
.post-capa-contida img { object-fit: contain; max-height: 560px; background: var(--bg-2); }
.post-ig a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.outras-duvidas { margin-top: 40px; padding: 24px; border-radius: var(--r-lg); background: var(--creme); border: 1px solid var(--line); }
.outras-duvidas h2 { font-size: 1.4rem; }
.resposta { font-size: 1.1rem; }
.referencia { padding: 16px 20px; border-radius: 16px; background: var(--bg-2); font-size: .92rem; }
.pub-grid-capa { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; }
.pub-capa { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--sombra-forte); }
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; margin: 30px 0; }
.galeria figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.galeria a { display: block; }
.galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.galeria a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 24px; background: rgb(40 24 18 / .88); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(100%, 1100px); max-height: 82vh; width: auto; border-radius: 14px; }
.lightbox-x, .lightbox-ant, .lightbox-prox { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--creme); color: var(--ink); cursor: pointer; }
.lightbox-x { top: 16px; right: 16px; }
.lightbox-ant { left: 16px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lightbox-prox { right: 16px; top: 50%; transform: translateY(-50%); }

/* ===== texto com foto e linha do tempo ===== */
.ti-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.sec-ti-inv .ti-txt { order: 2; }
.ti-foto { margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.sec-tempo { background: var(--bg-2); }
.tempo { list-style: none; position: relative; display: grid; gap: 14px; max-width: 860px; }
.tempo::before { content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent-hi), var(--accent-2)); }
.tempo li { position: relative; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: start; }
.tempo-ano { position: relative; z-index: 1; justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--creme); border: 1.5px solid var(--accent-hi); font-size: .8rem; font-weight: 700; color: var(--accent-ink); text-align: center; min-width: 120px; }
.tempo li > div { padding: 16px 20px; border-radius: 18px; background: var(--creme); border: 1px solid var(--line); }
.tempo h3 { font-size: 1.2rem; margin-bottom: .2em; }
.tempo p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.55; }

/* ===== chamada ===== */
.chamada-card { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); flex-wrap: wrap; padding: clamp(26px, 4vw, 44px); border-radius: 34px; background: radial-gradient(120% 140% at 100% 0%, var(--bg-3) 0 40%, transparent 41%), var(--creme); border: 1px solid var(--line); box-shadow: var(--sombra); }
.chamada-txt { flex: 1 1 340px; }
.chamada-txt .sec-title { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.chamada-txt p:last-child { margin-bottom: 0; color: var(--muted); }
.chamada-card .btns { margin-top: 0; }
.sec-chamada { padding-block: clamp(40px, 6vw, 72px); }

/* ===== 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; }
.faq-grid-larga { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 20px 46px 20px 0; cursor: pointer; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.35; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; 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-2); 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; }
.faq-link { font-size: .86rem; }
.faq-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.faq-link .i { width: 15px; height: 15px; }

/* ===== 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: 18px; background: var(--creme); 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: .76rem; font-weight: 500; color: var(--muted); }
.contato-canais .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--bg-3); color: var(--accent-2-ink); }
.contato-form { padding: clamp(22px, 3.4vw, 36px); border-radius: 30px; background: var(--creme); 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: .86rem; 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 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem; 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) / .18); }
.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: 14px; 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: 30px; background: var(--creme); border: 1px solid var(--line); }
.onde-card .sec-head { margin-bottom: 20px; }
.onde-card .sec-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.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: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2-ink); }
.onde-lista dd { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.onde-lista small { color: var(--muted); }
.onde-lista .i { width: 18px; height: 18px; }
.mapa { position: relative; min-height: 380px; border-radius: 30px; overflow: hidden; background: var(--bg-3); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-capa { position: absolute; inset: 0; background: repeating-linear-gradient(35deg, transparent 0 46px, rgb(255 255 255 / .5) 46px 52px), repeating-linear-gradient(-55deg, transparent 0 70px, rgb(255 255 255 / .35) 70px 76px), var(--bg-3); }
.mapa-pino { position: absolute; left: 50%; top: 44%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); color: var(--creme); box-shadow: var(--sombra-forte); }
.mapa-pino .i { transform: rotate(45deg); width: 28px; height: 28px; }
.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: 999px; background: var(--ink); color: var(--bg); font-weight: 600; cursor: pointer; white-space: nowrap; }

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

/* ===== 404 ===== */
.erro { text-align: center; }
.erro-in { display: grid; justify-items: center; }
.erro-n { margin: 0; font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); line-height: 1; color: var(--accent); }
.erro .lead { margin-inline: auto; }

/* ===== rodapé ===== */
.site-footer { position: relative; margin-top: clamp(40px, 6vw, 70px); padding: clamp(56px, 7vw, 84px) 0 30px; background: var(--dark); color: color-mix(in oklab, var(--bg) 80%, var(--dark)); font-size: .92rem; }
.footer-onda { position: absolute; left: 0; bottom: calc(100% - 2px); width: 100%; height: 40px; fill: var(--dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 48px); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { line-height: 1.65; max-width: 360px; }
.footer-brand .redes a { background: color-mix(in oklab, var(--bg) 12%, var(--dark)); color: var(--bg); }
.footer-title { margin: 0 0 14px; font-family: var(--font-display); font-size: 1.2rem; color: var(--bg); }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: color-mix(in oklab, var(--bg) 84%, var(--dark)); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--accent-hi); 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: .74rem; opacity: .8; }
.footer-contato strong { color: var(--bg); }
.footer-legal { display: grid; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--bg) 18%, var(--dark)); font-size: .8rem; }
.footer-legal p { margin: 0; }
.footer-legal a { color: var(--accent-hi); }
.footer-id { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.footer-id-nome { font-weight: 600; color: var(--bg); }
.footer-id ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.footer-id li { padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in oklab, var(--bg) 30%, var(--dark)); font-size: .76rem; color: var(--bg); }
.footer-aviso { opacity: .85; }
.dev-sign { justify-self: start; margin-top: 6px; }
.dev-sign img { height: 16px; width: auto; opacity: .55; 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: 62px; height: 62px; 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: 22px 22px 6px 22px; background: var(--creme); color: var(--ink-2); box-shadow: var(--sombra-forte); font-size: .9rem; line-height: 1.5; animation: aparece .35s var(--ease); }
.wa-bubble[hidden] { display: none; }
.wa-bubble-titulo { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); padding-right: 24px; }
.wa-bubble-x { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; 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); }

/* ===== 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; }

/* ===== tema: responsivo ===== */
@media (max-width: 1180px) {
  .nav-link { padding: 9px 9px; font-size: .86rem; }
  .brand img { height: 44px; }
}
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header-actions { margin-left: auto; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grade-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-id-hora { display: none; }
  .hero-in, .sinais-grid, .sobre-grid, .ti-grid, .faq-grid, .contato-grid, .onde-grid, .item-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-arte { min-height: 0; max-width: 440px; width: 100%; justify-self: center; }
  .hero-cred { grid-template-columns: minmax(0, 1fr); }
  .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); }
  .grade-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-lateral { position: static; }
  .sec-ti-inv .ti-txt { order: 0; }
  .pt-in { grid-template-columns: minmax(0, 1fr); }
  .pt-foto { width: min(70vw, 300px); }
  .pt-icone { display: none; }
  .rz-topo { display: none; }
  .regua-tubos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tubo-vidro { height: 110px; }
}
@media (max-width: 640px) {
  :root { --id-h: 0px; }
  .header-id { display: none; }
  .header-in { padding: 6px 6px 6px 18px; gap: 10px; }
  .brand img { 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(2.1rem, 10vw, 2.7rem); }
  .grade-2, .grade-3, .grade-4, .sinais-lista, .box-sinais ul, .q-form { grid-template-columns: minmax(0, 1fr); }
  .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); }
  .hero-selo { left: 0; bottom: 6%; }
  .regua-item { flex-direction: column; gap: 14px; }
  .tempo::before { left: 18px; }
  .tempo li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 40px; }
  .tempo-ano { min-width: 0; }
  .onde-lista > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .card-colecao { flex-direction: column; }
  .pub-grid-capa { grid-template-columns: minmax(0, 1fr); }
  .pub-capa { max-width: 200px; }
  .mapa { min-height: 300px; }
  .wa-fab { width: 56px; height: 56px; }
}
@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; }
}
