/* VitallisVet · Clínica veterinária 24h: tema do Painel v4 (padrão do kit 1)
   Identidade: o manual de marca da VitallisVet (azul-escuro #013C5A institucional, verde #4F6847 de saúde e natureza,
   vinho #640D15 nas chamadas e na urgência, cinza neutro) e o banner que está no ar (verde-sálvia com linhas curvas finas).
   Tipografia: Dosis nos títulos (a fonte do logo), Outfit nos textos (no lugar da Glacial Indifference do manual,
   que não está no Google Fonts) e Bebas Neue nas chamadas, como nas peças do manual.
   Detalhes do segmento: o traçado de eletrocardiograma do logo (desenha ao entrar na tela), a cruz do ícone na cor de cada
   grupo de serviço (como na página "logomarca" do manual) e uma trilha discreta de patinhas.
   Animações curtas, só em transform, opacity e no traço dos SVGs; nada de animação de entrada no título e no banner do topo.
   Toda cor e fonte sai das variáveis do :root (tela Cores e fontes do painel). */
:root {
  --bg: #ffffff;
  --bg-2: #f3f6f2;
  --bg-3: #e7eee5;
  --ink: #18303c;
  --ink-2: #2c4653;
  --muted: #52646b;
  --line: #dbe4dc;
  --accent: #013c5a;
  --accent-hi: #0b5577;
  --accent-ink: #013c5a;
  --accent-rgb: 1 60 90;
  --on-accent: #ffffff;
  --accent-2: #4f6847;
  --accent-2-ink: #3f5638;
  --dark: #012b41;
  --sage: #718c6b;
  --vinho: #640d15;
  --cinza: #9b9a9a;
  --wa: #25d366;
  --wa-ink: #04301a;
  --erro: #a3261c;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Dosis", "Trebuchet MS", system-ui, sans-serif;
  --font-2: "Bebas Neue", "Arial Narrow", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r: 12px;
  --r-lg: 22px;
  --wrap: 1220px;
  --gut: clamp(18px, 4vw, 40px);
  --id-h: 36px;
  --header-h: 84px;
  --sec: clamp(64px, 8vw, 112px);
  --sec-junto: clamp(12px, 2vw, 28px);
  --sombra: 0 1px 2px rgb(1 43 65 / .06), 0 24px 48px -30px rgb(1 43 65 / .45);
  /* fundo verde dos topos: o sálvia do banner puxado para o verde da marca (texto branco com contraste AA) */
  --sage-fundo: color-mix(in oklab, var(--accent-2) 72%, var(--sage));
}

/* ===== 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); font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; 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(--accent-2-ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; color: var(--accent); text-wrap: balance; }
h4, h5, h6 { font-family: var(--font); font-weight: 600; line-height: 1.35; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.35rem; line-height: 1.22; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent-2); }
p { margin: 0 0 1em; }
small, figcaption, time, label, legend { font-weight: 400; }
strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--bg-3); color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: var(--r); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; color: var(--on-accent); }
.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; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.wrap-estreito { width: min(760px, 100% - 2 * var(--gut)); }
.wrap-medio { width: min(880px, 100% - 2 * var(--gut)); }
main { display: block; }
main:focus { outline: none; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }
.cor-vinho { --g: var(--vinho); }
.cor-verde { --g: var(--accent-2); }
.cor-azul { --g: var(--accent); }

/* ===== o ponto "ao vivo" do plantão ===== */
.ponto-vivo { position: relative; display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #5fd38a; box-shadow: 0 0 0 2px rgb(255 255 255 / .18); }
.ponto-vivo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #5fd38a; animation: vivo 2.4s var(--ease) infinite; }
@keyframes vivo { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }

/* ===== o traçado de eletrocardiograma ===== */
.ecg { width: 150px; height: auto; margin: 14px 0 18px; overflow: visible; color: var(--accent-2); }
.ecg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ecg circle { fill: var(--vinho); transform-box: fill-box; transform-origin: center; }
/* o ponto só bate enquanto está na tela (animação de SVG roda fora da GPU) */
.ecg.is-vis circle { animation: bate 2.6s ease-in-out infinite; }
.js [data-reveal] .ecg path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.js [data-reveal].is-in .ecg path { stroke-dashoffset: 0; }
@keyframes bate { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.7); } 80% { transform: scale(1); } 88% { transform: scale(1.35); } }
.sec-head-centro .ecg, .chamada-in .ecg { margin-inline: auto; }

/* ===== as linhas curvas do banner ===== */
.ondas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.ondas path { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .ondas path { animation: traco 3.2s var(--ease) .5s both; }
.js .ondas path:nth-child(2) { animation-delay: .85s; }
.js .ondas path:nth-child(3) { animation-delay: 1.2s; }
@keyframes traco { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ===== a trilha de patinhas ===== */
.patinhas { position: absolute; display: flex; gap: 14px; pointer-events: none; color: currentColor; transform: rotate(-16deg); }
.patinhas span { display: block; opacity: 0; transform: translateY(6px) scale(.6); }
.patinhas span:nth-child(odd) { margin-top: 16px; }
.patinhas .i { width: 20px; height: 20px; transform: rotate(90deg); }
.patinhas.is-in span { animation: pisa .7s var(--ease) both; animation-delay: calc(var(--k) * .28s); }
@keyframes pisa { from { opacity: 0; transform: translateY(6px) scale(.6); } to { opacity: var(--pata-o, .5); transform: none; } }
/* no topo: as patinhas caminham devagar e somem, em ciclo */
.patinhas-hero.is-in span, .patinhas-pt.is-in span { animation: passeio 11s ease-in-out infinite; animation-delay: calc(1.2s + var(--k) * .45s); }
@keyframes passeio { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 6%, 52% { opacity: var(--pata-o, .5); transform: none; } 66%, 100% { opacity: 0; transform: none; } }

/* ===== botões ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 30px; }
.btns-centro { justify-content: center; }
.btn { --b: var(--vinho); --c: var(--on-accent); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 26px; border: 1.5px solid var(--b); border-radius: var(--r); background: var(--b); color: var(--c); font-family: var(--font); font-size: .98rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn .i { width: 19px; height: 19px; transition: transform .35s var(--ease); }
.btn:hover { --b: color-mix(in oklab, var(--vinho) 78%, black); color: var(--c); transform: translateY(-1px); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn-primary { --b: var(--vinho); }
.btn-linha { --b: color-mix(in oklab, var(--accent) 60%, transparent); --c: var(--accent); background: transparent; }
.btn-linha:hover { --b: var(--accent); --c: var(--on-accent); background: var(--accent); }
.btn-claro { --b: #ffffff; --c: var(--accent); }
.btn-claro:hover { --b: var(--bg-3); --c: var(--accent); }
.btn-linha-claro { --b: rgb(255 255 255 / .62); --c: #ffffff; background: transparent; }
.btn-linha-claro:hover { --b: #ffffff; --c: var(--accent); background: #ffffff; }
.btn-wa { --b: var(--wa); --c: var(--wa-ink); }
.btn-wa:hover { --b: color-mix(in oklab, var(--wa) 82%, black); --c: var(--wa-ink); }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding-inline: 32px; }
.btn-bloco { width: 100%; }

/* ===== chamada (kicker) ===== */
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-2); font-size: 1.12rem; font-weight: 400; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; color: var(--accent-2-ink); }
.kicker .i { width: 18px; height: 18px; color: var(--accent-2); }
.kicker-claro, .kicker-claro .i { color: #ffffff; }
.sec-head-centro .kicker, .chamada-in .kicker, .erro-in .kicker { justify-content: center; }

/* ===== cabeçalho ===== */
.site-header { position: sticky; top: calc(-1 * var(--id-h)); z-index: 100; background: rgb(255 255 255 / .96); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 18px 40px -34px rgb(1 43 65 / .55); }
.header-id { background: var(--accent); color: color-mix(in oklab, #ffffff 86%, var(--accent)); font-size: .82rem; letter-spacing: .02em; }
.header-id-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--id-h); }
.header-id p { display: flex; align-items: center; gap: 10px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-id-contato { gap: 18px !important; flex: none; }
.header-id a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.header-id a:hover { color: #ffffff; }
.header-id .i { width: 15px; height: 15px; }
.header-in { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: block; padding: 10px 14px; color: var(--ink-2); font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.has-sub > .nav-link { padding-right: 4px; }
.has-sub > .nav-link::after { right: 4px; }
.nav-sub-bt { display: grid; place-items: center; width: 26px; height: 32px; margin-left: 0; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.nav-sub-bt .i { width: 15px; height: 15px; transform: rotate(90deg); transition: transform .3s var(--ease); }
.nav-sub-bt[aria-expanded="true"] .i { transform: rotate(-90deg); }
.nav-sub { position: absolute; top: calc(100% + 10px); left: 50%; width: min(780px, 88vw); padding-top: 4px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s; }
.nav-sub.is-open, .has-sub:hover .nav-sub, .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; padding: 26px 28px 20px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sombra); }
.nav-sub-titulo { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; line-height: 1.25; color: var(--g, var(--accent)); }
.nav-sub-titulo .i { width: 16px; height: 16px; }
.nav-sub ul { margin: 0; padding: 0; list-style: none; }
.nav-sub li a { display: block; padding: 4px 0; color: var(--ink-2); font-size: .95rem; line-height: 1.4; text-decoration: none; }
.nav-sub li a:hover, .nav-sub li a[aria-current="page"] { color: var(--accent-2-ink); text-decoration: underline; }
.nav-sub-todos { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font-weight: 500; text-decoration: none; }
.nav-sub-todos .i { width: 16px; height: 16px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.plantao-pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 13px; border: 1px solid color-mix(in oklab, var(--vinho) 30%, transparent); border-radius: 999px; background: color-mix(in oklab, var(--vinho) 6%, white); color: var(--vinho); text-decoration: none; line-height: 1.15; transition: background .3s; }
.plantao-pill:hover { background: color-mix(in oklab, var(--vinho) 12%, white); color: var(--vinho); }
.plantao-pill .ponto-vivo, .plantao-pill .ponto-vivo::after { background: var(--vinho); }
.plantao-pill-txt { display: grid; }
.plantao-pill strong { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.plantao-pill small { font-size: .74rem; color: color-mix(in oklab, var(--vinho) 85%, black); }
.burger { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.burger-linhas { display: grid; gap: 5px; width: 20px; margin: auto; }
.burger-linhas i { display: block; height: 2px; border-radius: 2px; background: var(--accent); }
.burger-linhas i:nth-child(2) { width: 70%; justify-self: end; }

/* ===== menu do celular ===== */
.menu-celular { position: fixed; inset: 0; z-index: 200; background: var(--bg); overflow-y: auto; }
.menu-celular[hidden] { display: none; }
.menu-celular-in { display: flex; flex-direction: column; gap: 26px; min-height: 100%; padding: 18px var(--gut) 40px; }
.menu-celular-top { display: flex; align-items: center; justify-content: space-between; }
.menu-celular-top img { height: 44px; width: auto; }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--accent); cursor: pointer; }
.menu-celular-list { margin: 0; padding: 0; list-style: none; }
.menu-celular-list li { border-bottom: 1px solid var(--line); animation: entra .55s var(--ease) both; animation-delay: calc(var(--i) * .05s); }
.menu-celular-list a { display: block; padding: 13px 0; font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.menu-celular-list a[aria-current="page"] { color: var(--accent-2-ink); }
.menu-celular-acoes { display: grid; gap: 10px; }
.menu-celular-info { margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } }

/* ===== redes ===== */
.redes { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.redes a { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: .92rem; text-decoration: none; }
.redes a:hover { text-decoration: underline; }
.redes .i { width: 19px; height: 19px; }

/* ===== seções ===== */
.sec { position: relative; padding-block: var(--sec); }
.sec-head { max-width: 760px; margin-bottom: clamp(34px, 4.5vw, 54px); }
.sec-head-centro { margin-inline: auto; text-align: center; }
.sec-title { font-size: clamp(1.85rem, 3.3vw, 2.75rem); margin-bottom: 0; }
.sec-sub { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }
.sec-head-centro .sec-sub { margin-inline: auto; }
.sec-head > :last-child { margin-bottom: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich a { color: var(--accent-ink); }
.rich ul { padding-left: 1.1em; }

/* revelar ao rolar (só o que está abaixo da dobra) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* fundos e espaços entre seções vizinhas da mesma cor */
.sec-promessa, .sec-pilares, .sec-posts, .sec-faq, .sec-texto, .post-corpo, .sec-mvv, .sec-ti, .sec-curriculo { background: var(--bg); }
.sec-serv, .kigs, .sec-contato, .item-corpo, .sec-relacionados, .sec-manifesto { background: var(--bg-2); }
.sec-equipe, .sec-onde, .sec-fatos { background: var(--bg-3); }
.sec-chamada, .sec-pilares-escuro { background: var(--accent); color: #ffffff; }
.sec-faq + .sec-ti, .sec-ti + .sec-faq, .sec-ti + .sec-mvv, .sec-promessa + .sec-ti, .page-top + .sec-texto { padding-top: var(--sec-junto); }
.sec-serv + .kigs, .kigs + .sec-contato, .sec-contato + .sec-manifesto { padding-top: calc(var(--sec) * .4); }

/* ===== topo da home: o mesmo banner do site ===== */
.hero { position: relative; overflow: hidden; background: var(--sage); color: #ffffff; isolation: isolate; }
.hero-banner { display: block; }
.hero-banner img { width: 100%; height: auto; }
.hero-ondas { display: none; color: rgb(255 255 255 / .28); }
.hero-txt-wrap { position: relative; z-index: 2; }
.hero h1 { color: #ffffff; font-weight: 700; font-size: clamp(2.05rem, 3.4vw, 3.45rem); line-height: 1.08; margin-bottom: 0; }
.hero h1 em { color: #ffffff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .45); text-decoration-thickness: 3px; text-underline-offset: .14em; }
.hero .lead { max-width: 50ch; margin: 20px 0 0; font-size: clamp(1.02rem, 1.25vw, 1.18rem); font-weight: 400; line-height: 1.6; color: #ffffff; }
.hero .btns { margin-top: 26px; }
.hero-selos { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .92rem; font-weight: 500; }
.hero-selos li { display: inline-flex; align-items: center; gap: 7px; }
.hero-selos .i { width: 17px; height: 17px; stroke-width: 2.4; }
.patinhas-hero { --pata-o: .55; color: #ffffff; z-index: 1; }
@media (min-width: 1080px) {
  .hero-banner img { max-height: 760px; object-fit: cover; object-position: 100% 50%; }
  .hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 62%; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, color-mix(in oklab, var(--accent-2) 66%, transparent) 0%, color-mix(in oklab, var(--accent-2) 60%, transparent) 62%, transparent 100%); }
  .hero-txt-wrap { position: absolute; inset: 0; display: flex; align-items: center; }
  .hero-txt { max-width: min(560px, 42vw); padding-block: 36px; }
  .patinhas-hero { left: 34%; bottom: 7%; }
}
@media (max-width: 1079.98px) {
  .hero-banner { position: relative; }
  .hero-banner img { max-height: 76vh; min-height: 300px; object-fit: cover; object-position: 50% 12%; }
  .hero-banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(180deg, transparent, var(--sage-fundo)); }
  .hero-txt-wrap { background: var(--sage-fundo); padding: 4px 0 52px; margin-top: -1px; }
  .hero-ondas { display: block; top: auto; height: 60%; bottom: 0; }
  .hero-txt { max-width: 640px; }
  .patinhas-hero { right: 10%; bottom: 16px; }
}

/* ===== faixa de destaques ===== */
.sec-fatos { padding-block: 26px; }
.fatos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.fatos li { display: flex; align-items: center; gap: 14px; }
.fato-ic { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; background: #ffffff; color: var(--accent-2); box-shadow: 0 10px 24px -18px rgb(1 43 65 / .6); }
.fato-ic .i { width: 24px; height: 24px; }
.fato-txt { display: grid; line-height: 1.3; }
.fato-txt strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--accent); }
.fato-txt small { font-size: .9rem; color: var(--muted); }

/* ===== molduras de foto (curvas suaves do manual) ===== */
.moldura-cruz { position: relative; overflow: hidden; border-radius: 28px 150px 28px 28px; background: var(--bg-3); }
.moldura-cruz img { width: 100%; height: 100%; object-fit: cover; }

/* ===== nossa promessa ===== */
.promessa-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.sec-promessa .sec-title { font-size: clamp(1.7rem, 2.7vw, 2.35rem); line-height: 1.18; }
.promessa-txt .rich { color: var(--ink-2); }
.destaque { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; padding: 16px 20px; border-radius: var(--r); background: var(--bg-2); font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.35; color: var(--accent); }
.destaque .i { width: 30px; height: 30px; color: var(--vinho); }
.promessa-foto { position: relative; margin: 0; width: min(470px, 100%); justify-self: center; }
.promessa-foto .moldura-cruz { aspect-ratio: 4 / 5; }
.promessa-foto::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--sage); border-radius: 28px 150px 28px 28px; transform: translate(18px, 18px); pointer-events: none; }
.selo-24 { position: absolute; left: -26px; bottom: 44px; display: grid; justify-items: center; width: 118px; height: 118px; place-content: center; margin: 0; border-radius: 50%; background: var(--vinho); color: #ffffff; text-align: center; line-height: 1.15; box-shadow: var(--sombra); animation: flutua 7s ease-in-out infinite; }
.selo-24 strong { font-family: var(--font-2); font-size: 2.3rem; font-weight: 400; letter-spacing: .04em; line-height: 1; }
.selo-24 span { max-width: 86px; font-size: .72rem; }
.patinhas-foto { --pata-o: .7; right: -14px; top: -30px; color: var(--sage); }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ===== serviços ===== */
.serv-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 4vw, 46px); }
.serv-topo .sec-head { margin-bottom: 0; }
.carrossel-setas { display: flex; gap: 10px; flex: none; }
.seta { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid color-mix(in oklab, var(--accent) 35%, transparent); border-radius: 50%; background: #ffffff; color: var(--accent); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.seta:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.seta:disabled { opacity: .4; cursor: default; }
.seta .i { width: 20px; height: 20px; }
.carrossel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; margin: 0; padding: 4px 2px 22px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--sage) transparent; overscroll-behavior-x: contain; }
.carrossel:focus-visible { outline-offset: 6px; }
.carrossel > li { scroll-snap-align: start; }
.grade-serv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.card-serv a { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-lg); background: #ffffff; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgb(1 43 65 / .05); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card-serv a:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.card-serv-foto { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.card-serv-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-serv a:hover .card-serv-foto img { transform: scale(1.05); }
.card-serv-txt { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; border-top: 4px solid var(--g, var(--accent)); }
.card-serv-grupo { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-family: var(--font-2); font-size: .98rem; letter-spacing: .08em; text-transform: uppercase; color: var(--g, var(--accent)); }
.card-serv-grupo .i { width: 14px; height: 14px; }
.card-serv h3 { margin-bottom: 8px; font-size: 1.38rem; }
.card-serv-desc { display: block; margin-bottom: 14px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.card-mais { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-weight: 500; font-size: .95rem; color: var(--accent); }
.card-mais .i { width: 17px; height: 17px; transition: transform .4s var(--ease); }
a:hover .card-mais .i { transform: translateX(5px); }
.card-pata { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #ffffff; color: var(--g, var(--accent)); opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.card-pata .i { width: 20px; height: 20px; }
.card-serv a:hover .card-pata, .card-serv a:focus-visible .card-pata { opacity: 1; transform: none; }
.legenda-grupos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 22px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--muted); }
.legenda-grupos li { display: inline-flex; align-items: center; gap: 8px; }
.legenda-grupos .i { width: 15px; height: 15px; color: var(--g); }
.sec-serv .btns-centro { margin-top: 34px; }
.serv-grupo + .serv-grupo { margin-top: clamp(56px, 7vw, 86px); }
.serv-grupo-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.serv-grupo-ic { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 18px; background: var(--g); color: #ffffff; }
.serv-grupo-ic .i { width: 26px; height: 26px; }
.serv-grupo-head h2 { margin: 0 0 4px; font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--g); }
.serv-grupo-head p { margin: 0; color: var(--muted); }

/* ===== pilares ===== */
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: p; }
.pilares li { position: relative; padding: clamp(26px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #ffffff; }
.pilar-n::before { content: attr(data-n); }
.pilar-n { position: absolute; right: 22px; top: 16px; font-family: var(--font-2); font-size: 2.6rem; line-height: 1; letter-spacing: .04em; color: var(--bg-3); }
.pilar-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 18px; background: var(--bg-2); color: var(--accent-2); }
.pilar-ic .i { width: 28px; height: 28px; }
.pilares h3 { margin-bottom: 10px; font-size: 1.45rem; }
.pilares p { margin: 0; color: var(--muted); }
.sec-pilares-escuro { overflow: hidden; }
.pilares-ondas { color: rgb(255 255 255 / .12); }
.sec-pilares-escuro .sec-title, .sec-pilares-escuro .kicker, .sec-pilares-escuro .kicker .i { color: #ffffff; }
.sec-pilares-escuro .sec-title em { color: color-mix(in oklab, var(--accent-2) 28%, #ffffff); }
.sec-pilares-escuro .ecg { color: color-mix(in oklab, var(--accent-2) 28%, #ffffff); }
.sec-pilares-escuro .pilares li { border-color: rgb(255 255 255 / .16); background: rgb(255 255 255 / .05); }
.sec-pilares-escuro .pilares h3 { color: #ffffff; }
.sec-pilares-escuro .pilares p { color: color-mix(in oklab, var(--accent) 12%, #ffffff); }
.sec-pilares-escuro .pilar-n { color: rgb(255 255 255 / .14); }
.sec-pilares-escuro .pilar-ic { background: rgb(255 255 255 / .1); color: color-mix(in oklab, var(--accent-2) 28%, #ffffff); }
.sec-pilares-escuro .wrap { position: relative; }

/* ===== equipe ===== */
.grade-eq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 400px)); justify-content: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.card-eq a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r-lg); background: #ffffff; color: inherit; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card-eq a:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.card-eq-foto { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-3); }
.card-eq-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 1.2s var(--ease); }
.card-eq a:hover .card-eq-foto img { transform: scale(1.04); }
.card-eq-txt { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-eq h3 { margin-bottom: 4px; font-size: 1.5rem; }
.card-eq-cargo { display: block; margin-bottom: 12px; font-size: .9rem; font-weight: 500; color: var(--accent-2-ink); }
.card-eq-resumo { display: block; margin-bottom: 14px; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.sec-equipe .btns-centro { margin-top: 38px; }

/* ===== chamada (faixa azul) ===== */
.sec-chamada { overflow: hidden; }
.chamada-ondas { color: rgb(255 255 255 / .13); }
.chamada-in { position: relative; max-width: 780px; text-align: center; }
.sec-chamada .kicker, .sec-chamada .kicker .i, .sec-chamada .sec-title { color: #ffffff; }
.sec-chamada .sec-title em { color: color-mix(in oklab, var(--accent-2) 28%, #ffffff); }
.sec-chamada .ecg { color: color-mix(in oklab, var(--accent-2) 28%, #ffffff); }
.chamada-txt { margin: 0 auto; max-width: 56ch; color: color-mix(in oklab, var(--accent) 12%, #ffffff); font-size: 1.08rem; }
.sec-chamada .btns { margin-top: 30px; }
.patinhas-chamada { --pata-o: .3; color: #ffffff; left: 6%; bottom: 18%; }

/* ===== Instagram (peça do kit) ===== */
.kigs { padding-block: var(--sec); }
.kigs .kigs-kicker { font-family: var(--font-2); font-size: 1.12rem; font-weight: 400; letter-spacing: .1em; color: var(--accent-2-ink); }
.kigs .kigs-titulo { font-weight: 600; font-size: clamp(1.85rem, 3.3vw, 2.75rem); color: var(--accent); }
.kigs .kigs-titulo em { color: var(--accent-2); }
.kigs .kigs-nome strong { font-weight: 600; }
.kigs .kig { --kig-raio: var(--r-lg); --kig-gap: 10px; }

/* ===== blog ===== */
.grade-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); margin: 0; padding: 0; list-style: none; }
.card-post a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-post-capa { display: block; overflow: hidden; margin-bottom: 20px; border-radius: var(--r-lg); aspect-ratio: 3 / 2; background: var(--bg-3); }
.card-post-capa img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-post a:hover .card-post-capa img { transform: scale(1.04); }
.card-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; font-size: .86rem; color: var(--muted); }
.card-post-meta span { font-family: var(--font-2); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2-ink); }
.card-post h3 { font-size: clamp(1.25rem, 1.6vw, 1.42rem); }
.card-post-resumo { display: block; margin-bottom: 14px; color: var(--muted); font-size: .96rem; line-height: 1.6; }
.sec-posts .btns-centro { margin-top: 44px; }
.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filtro { min-height: 44px; padding: 8px 20px; border: 1.5px solid var(--line); border-radius: 999px; background: #ffffff; color: var(--ink-2); font-size: .95rem; font-weight: 500; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filtro:hover { border-color: var(--accent); color: var(--accent); }
.filtro[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.card-post[hidden] { display: none; }

/* ===== perguntas frequentes ===== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq-intro .sec-head { margin-bottom: 0; }
.faq-intro .btns { margin-top: 26px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 22px 48px 22px 0; font-family: var(--font-display); font-size: clamp(1.14rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.35; color: var(--accent); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: var(--accent-2); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq summary:hover { color: var(--accent-2-ink); }
.faq-a { padding: 0 40px 22px 0; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* ===== formulários ===== */
.contato-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.contato-canais { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.contato-canais a { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contato-canais a:hover { color: var(--accent-2-ink); }
.contato-canais .i { width: 22px; height: 22px; color: var(--accent-2); }
.contato-canais span { display: grid; line-height: 1.4; }
.contato-canais small { font-family: var(--font-2); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contato-plantao { display: flex; gap: 12px; align-items: baseline; margin: 22px 0 0; padding: 14px 16px; border-radius: var(--r); background: color-mix(in oklab, var(--vinho) 7%, white); color: var(--vinho); font-size: .95rem; }
.contato-plantao .ponto-vivo, .contato-plantao .ponto-vivo::after { background: var(--vinho); }
.contato-form, .form-card { padding: clamp(24px, 4vw, 46px); background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sombra); }
.q-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.field label .i { display: inline-block; width: 17px; height: 17px; vertical-align: -3px; }
.field .req { color: var(--vinho); }
.field .opc { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg-2); color: var(--ink); font-size: 1rem; transition: border-color .3s, background .3s; }
.field input[type="file"] { padding: 10px; background: #ffffff; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-size: 5px 5px; background-position: calc(100% - 18px) 54%, calc(100% - 13px) 54%; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: #ffffff; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field.invalid input, .field.invalid select, .field.invalid textarea, [aria-invalid="true"] { border-color: var(--erro); }
.field-ajuda { font-size: .84rem; color: var(--muted); }
.err { font-size: .85rem; color: var(--erro); }
.err:empty { display: none; }
.q-form > button { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--muted); }
.form-ok { grid-column: 1 / -1; display: none; margin: 0; padding: 14px 16px; border-radius: var(--r); background: var(--bg-3); color: var(--ink); font-size: .95rem; }
.form-ok.show { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aceite { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.aceite input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent-2); }
.form-erro { margin: 0; padding: 12px 14px; border-radius: var(--r); background: color-mix(in oklab, var(--erro) 9%, white); color: var(--erro); font-size: .92rem; }
.feito { text-align: center; padding: 20px 0; }
.feito:focus { outline: none; }
.feito-ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--accent-2); color: #ffffff; }
.feito-ic .i { width: 30px; height: 30px; stroke-width: 2.4; }
.recibo { color: var(--muted); }

/* ===== onde nos encontrar ===== */
.onde-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 70px); align-items: stretch; }
.sec-onde-sem-mapa .onde-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.onde-card .sec-head { margin-bottom: 24px; }
.onde-lista { display: grid; gap: 16px; margin: 0; }
.onde-lista div { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid color-mix(in oklab, var(--accent) 14%, transparent); }
.onde-lista dt { display: flex; align-items: center; gap: 10px; font-family: var(--font-2); font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2-ink); }
.onde-lista dt .i { width: 18px; height: 18px; }
.onde-lista dd { margin: 0; color: var(--ink); }
.onde-h { display: block; }
.onde-lista a { color: inherit; }
.mapa { position: relative; min-height: 400px; overflow: hidden; border-radius: var(--r-lg); background: #ffffff; border: 1px solid color-mix(in oklab, var(--accent) 12%, transparent); }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapa-capa { position: absolute; inset: 0; display: grid; place-items: center; }
.mapa-ruas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa-ruas path { fill: none; stroke: var(--bg-3); stroke-width: 10; }
.mapa-pino { position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 70px; border-radius: 50%; background: var(--accent); color: #ffffff; box-shadow: 0 0 0 12px rgb(var(--accent-rgb) / .12); }
.mapa-pino .i { width: 28px; height: 28px; }
.patinhas-mapa { --pata-o: .55; color: var(--sage); left: 16%; top: 22%; }
.mapa-bt { position: absolute; left: 50%; bottom: 22%; white-space: nowrap; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1.5px solid var(--accent); border-radius: var(--r); background: #ffffff; color: var(--accent); font-weight: 500; cursor: pointer; transition: background .3s, color .3s; }
.mapa-bt:hover { background: var(--accent); color: #ffffff; }

/* ===== topo das páginas internas ===== */
.page-top { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 84px) clamp(48px, 6vw, 88px); background: var(--sage-fundo); color: #ffffff; isolation: isolate; }
.pt-ondas { color: rgb(255 255 255 / .2); z-index: -1; }
.pt-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.page-top-foto .pt-in, .page-top-item .pt-in:has(.pt-foto) { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.pt-txt { max-width: 780px; }
.page-top h1 { margin-bottom: 0; color: #ffffff; font-weight: 700; }
.page-top h1 em { color: #ffffff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .45); text-decoration-thickness: 3px; text-underline-offset: .14em; }
.page-top .lead { max-width: 60ch; margin: 18px 0 0; color: #ffffff; font-size: 1.14rem; }
.pt-cargo { margin: 14px 0 0; font-size: 1.05rem; }
.pt-foto { margin: 0; width: min(360px, 100%); justify-self: end; }
.pt-foto .moldura-cruz { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -36px rgb(0 0 0 / .55); }
.patinhas-pt { --pata-o: .45; color: #ffffff; right: 6%; bottom: 14px; z-index: -1; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .88rem; color: #ffffff; }
.crumbs li + li::before { content: "›"; margin-right: 10px; opacity: .8; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: #ffffff; text-decoration-thickness: 2px; }

/* ===== texto com foto ===== */
.ti-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sec-ti-inv .ti-foto { order: -1; }
.ti-txt .rich { color: var(--ink-2); }
.ti-foto { margin: 0; width: min(480px, 100%); justify-self: center; }
.ti-foto .moldura-cruz { aspect-ratio: 4 / 5; }
.sec-ti-inv .moldura-cruz { border-radius: 150px 28px 28px 28px; }

/* ===== missão, visão e valores ===== */
.grade-mvv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.mvv { padding: clamp(26px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.mvv-ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: var(--accent); color: #ffffff; }
.mvv-ic .i { width: 26px; height: 26px; }
.mvv h3 { font-size: 1.5rem; }
.mvv .rich { color: var(--ink-2); font-size: 1rem; }
.mvv ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mvv li { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--accent); }
.mvv li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }

/* ===== manifesto ===== */
.manifesto { margin: 0; text-align: center; }
.manifesto p { margin: 0 auto 18px; max-width: 34ch; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.38; color: var(--accent); }
.manifesto footer { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-family: var(--font-2); font-size: 1.2rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2-ink); }
.manifesto footer .i { width: 18px; height: 18px; color: var(--vinho); }

/* ===== página de links ===== */
.sec-links { position: relative; overflow: hidden; min-height: 80vh; padding-block: clamp(40px, 7vw, 90px); background: var(--sage-fundo); color: #ffffff; isolation: isolate; }
.links-ondas { color: rgb(255 255 255 / .2); z-index: -1; }
.links-in { width: min(520px, 100% - 2 * var(--gut)); margin-inline: auto; text-align: center; }
.links-logo { width: min(260px, 70%); height: auto; margin: 0 auto 26px; }
.sec-links h1 { color: #ffffff; font-size: clamp(1.9rem, 4vw, 2.5rem); }
.sec-links h1 em { color: #ffffff; }
.links-txt { margin-bottom: 26px; }
.links-bts { display: grid; gap: 12px; margin-bottom: 30px; }
.sec-links .redes { justify-content: center; }
.patinhas-links { --pata-o: .35; color: #ffffff; left: 8%; bottom: 10%; z-index: -1; }

/* ===== páginas de serviço, equipe e textos longos ===== */
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 6vw, 86px); align-items: start; }
.rich-longo { font-size: 1.08rem; color: var(--ink-2); }
.rich-longo > * { max-width: 70ch; }
.rich-longo h2 { margin: 1.7em 0 .6em; font-size: clamp(1.5rem, 2.3vw, 1.95rem); }
.rich-longo h3 { margin: 1.4em 0 .5em; font-size: 1.3rem; }
.rich-longo > :first-child { margin-top: 0; }
.rich-longo ul, .rich-longo ol { margin: 0 0 1.2em; padding-left: 1.2em; }
.rich-longo li { margin-bottom: .45em; padding-left: .3em; }
.rich-longo ul li::marker { color: var(--accent-2); }
.rich-longo strong { color: var(--ink); }
.aviso { display: flex; gap: 12px; margin: 40px 0 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #ffffff; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.aviso .i { width: 22px; height: 22px; margin-top: 2px; color: var(--accent-2); }
.item-lateral { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.item-box { padding: 24px; background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.item-box-titulo { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--font-2); font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2-ink); }
.item-box-titulo .i { width: 18px; height: 18px; }
.item-agenda .btn { margin-top: 10px; }
.item-agenda-plantao { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-weight: 500; color: var(--vinho); }
.item-agenda-plantao .ponto-vivo, .item-agenda-plantao .ponto-vivo::after { background: var(--vinho); }
.item-agenda-end { display: flex; gap: 10px; margin: 16px 0 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.item-agenda-end .i { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-2); }
.item-links { margin: 0; padding: 0; list-style: none; }
.item-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; text-decoration: none; }
.item-links li:last-child a { border-bottom: 0; }
.item-links a:hover { color: var(--accent-2-ink); }
.item-links .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.item-links a:hover .i { transform: translateX(4px); }
.item-quem { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.item-quem a { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.item-quem-foto { width: 58px; height: 58px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.item-quem span { display: grid; line-height: 1.3; }
.item-quem strong { font-family: var(--font-display); font-size: 1.08rem; color: var(--accent); }
.item-quem small { font-size: .86rem; color: var(--muted); }
.lista-formacao li::marker { color: var(--vinho); }
.page-top-item .kicker .i { color: #ffffff; }
.post-meta { margin: 14px 0 0; font-size: .95rem; color: #ffffff; }
.post-capa { margin: 0 0 clamp(30px, 4vw, 50px); overflow: hidden; border-radius: var(--r-lg); }
.post-capa img { width: 100%; height: auto; }

/* ===== 404 ===== */
.erro-in { position: relative; text-align: center; padding-block: clamp(20px, 5vw, 60px); }
.erro-n { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-family: var(--font-2); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: rgb(255 255 255 / .9); }
.erro-n .i { width: .8em; height: .8em; }
.erro-in .lead { margin-inline: auto; }

/* ===== rodapé ===== */
.site-footer { position: relative; overflow: hidden; background: var(--dark); color: color-mix(in oklab, var(--accent) 14%, #ffffff); font-size: .96rem; isolation: isolate; }
.footer-ondas { color: rgb(255 255 255 / .07); z-index: -1; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 90px) clamp(36px, 5vw, 56px); }
.footer-logo { height: 62px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 40ch; line-height: 1.7; }
.footer-title { margin: 0 0 16px; font-family: var(--font-2); font-size: 1.25rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: #ffffff; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover, .site-footer .redes a:hover { color: #ffffff; text-decoration: underline; }
.footer-contato li { display: flex; gap: 12px; }
.footer-contato .i { width: 18px; height: 18px; margin-top: 4px; color: color-mix(in oklab, var(--sage) 70%, #ffffff); }
.footer-legal { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 30px; padding-block: 26px 32px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .88rem; line-height: 1.6; }
.footer-legal p { margin: 0 0 4px; }
.footer-legal-txt > :last-child { margin-bottom: 0; }
.footer-legal a { color: inherit; }
.footer-rt { color: #ffffff; font-weight: 500; }
.footer-aviso { color: color-mix(in oklab, var(--accent) 24%, #ffffff); }
.dev-sign { display: inline-flex; flex: none; margin-left: auto; opacity: .85; transition: opacity .25s; }
.dev-sign:hover { opacity: 1; }
.dev-sign img { width: 160px; height: 23px; max-width: none; display: block; }

/* ===== botão e balão do WhatsApp ===== */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 150; 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); box-shadow: 0 14px 30px -12px rgb(0 0 0 / .5); cursor: pointer; transition: transform .35s var(--ease); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulsa 2.6s var(--ease) infinite; }
.wa-fab .i { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.06); }
@keyframes pulsa { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa-bubble { position: relative; width: min(310px, calc(100vw - 36px)); padding: 22px 20px 18px; border-radius: var(--r-lg); background: #ffffff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sombra); animation: entra .45s var(--ease); }
.wa-bubble[hidden] { display: none; }
.wa-bubble-titulo { margin: 0 0 6px; padding-right: 30px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--accent); }
.wa-bubble > p { margin: 0 0 16px; font-size: .95rem; color: var(--muted); line-height: 1.55; }
.wa-bubble > p.wa-bubble-fone { margin: 10px 0 0; text-align: center; font-size: .9rem; color: var(--ink-2); }
.wa-bubble-x { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.wa-bubble-x .i { width: 18px; height: 18px; }

/* lightbox */
.lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(1 30 45 / .95); color: #ffffff; }
.lb::backdrop { background: transparent; }
.lb[open] { display: grid; place-items: center; }
.lb-fig { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 92vw; }
.lb-fig img { max-width: 92vw; max-height: 80dvh; width: auto; height: auto; border-radius: var(--r); }
.lb-fig figcaption { max-width: 70ch; text-align: center; font-size: .92rem; }
.lb-bt { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgb(255 255 255 / .4); border-radius: 50%; background: transparent; color: #ffffff; cursor: pointer; }
.lb-bt:hover { background: #ffffff; color: var(--dark); }
.lb-x { top: 18px; right: 18px; }
.lb-ant { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-prox { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-n { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; font-size: .85rem; }
.lb-unica .lb-ant, .lb-unica .lb-prox, .lb-unica .lb-n { display: none; }

/* ===== responsivo ===== */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-actions { margin-left: auto; }
  .carrossel { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .grade-serv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { height: 46px; }
  .plantao-pill small { display: none; }
  .promessa-grid, .faq-grid, .contato-grid, .onde-grid, .ti-grid, .item-grid, .page-top-foto .pt-in, .page-top-item .pt-in:has(.pt-foto) { grid-template-columns: minmax(0, 1fr); }
  .promessa-foto { width: min(420px, 86%); margin-top: 10px; }
  .fatos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carrossel { grid-auto-columns: calc((100% - 20px) / 2.3); }
  .grade-serv, .grade-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pilares, .grade-mvv { grid-template-columns: minmax(0, 1fr); }
  .pt-foto { justify-self: start; width: min(300px, 76%); }
  .sec-ti-inv .ti-foto { order: 0; }
  .item-lateral { position: static; }
  .mapa { min-height: 330px; }
  .serv-topo { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  :root { --id-h: 0px; }
  .header-id { display: none; }
  body { font-size: 1rem; }
  .header-in { gap: 12px; }
  .brand img { height: 40px; }
  .header-cta { display: none; }
  .plantao-pill { padding: 7px 12px; }
  .fatos { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .carrossel { grid-auto-columns: 78%; gap: 14px; }
  .grade-serv, .grade-posts { grid-template-columns: minmax(0, 1fr); }
  .q-form { grid-template-columns: minmax(0, 1fr); }
  .q-form > button { justify-self: stretch; }
  .selo-24 { left: -10px; width: 100px; height: 100px; }
  .selo-24 strong { font-size: 1.9rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-legal { flex-direction: column; align-items: center; text-align: center; padding-bottom: 96px; }
  .dev-sign { margin-left: 0; }
  .btns .btn { flex: 1 1 auto; }
  .patinhas .i { width: 16px; height: 16px; }
  .moldura-cruz, .promessa-foto::before { border-radius: 22px 110px 22px 22px; }
}
@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; }
  .patinhas span { opacity: var(--pata-o, .5); transform: none; }
}

/* alinhamento da peça do Instagram com o contêiner do tema */
.kigs .kigs-in { width: min(var(--wrap), 100% - 2 * var(--gut)); max-width: none; padding-inline: 0; }
.promessa-txt .sec-head, .ti-txt .sec-head { margin-bottom: 22px; }

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