/* Clínica Sorriso Claro — site de exemplo (negócio fictício) · REONDIAL
   Direção visual «Sorriso claro»: fundo branco arejado, azul-marinho profundo,
   cartões grandes e arredondados, grotesca limpa + uma palavra em serifa itálica.
   Movimento só com transform/opacity; o que se esconde para animar vale apenas
   sob html.js-motion (sem JavaScript ou com «reduzir movimento», tudo aparece). */

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --ink: #1F2E5A;
  --text: #45506C;
  --muted: #5D6782;
  --line: rgba(31, 46, 90, .12);
  --accent: #3F5DAE;
  --accent-claro: #AFC8FF;
  --ice: #E8EEF8;
  --night: #17244A;

  --r-xl: 32px;
  --r-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(23, 36, 74, .05), 0 4px 12px -4px rgba(23, 36, 74, .08);
  --shadow: 0 1px 2px rgba(23, 36, 74, .04), 0 20px 50px -22px rgba(23, 36, 74, .22);
  --shadow-lg: 0 2px 6px rgba(23, 36, 74, .05), 0 34px 80px -30px rgba(23, 36, 74, .38);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 16px;
  --max: 1220px;

  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(56rem 36rem at 108% -8rem, rgba(176, 202, 246, .55), transparent 62%),
    radial-gradient(40rem 32rem at -20% 24rem, rgba(236, 220, 204, .45), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Segurança contra rolagem lateral: clip não cria área de rolagem (não quebra fixed/sticky). */
@supports (overflow: clip) { html, body { overflow-x: clip; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 500; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.escuro :focus-visible, .cta-final :focus-visible { outline-color: var(--accent-claro); }

.pular {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px;
  background: var(--night); color: #fff; font-weight: 600; text-decoration: none;
}
.pular:focus { top: 36px; }

/* ---------- Selo «Exemplo» ---------- */
/* Revisão de 28/10/2026: antes o selo flutuava fixo no meio da tela e, ao rolar, cobria títulos e botões. Agora é uma faixa
   fina e opaca no topo, presa ao rolar (sticky): continua sempre visível, mas nada passa por baixo dela meio coberto. */
.selo {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 32px; padding: max(6px, env(safe-area-inset-top)) 16px 6px;
  background: var(--night); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.2;
  pointer-events: none;
}
html { scroll-padding-top: 40px; }
/* «Quero um site assim →» en la barra de arriba (3/11/2026): el camino de vuelta a la REONDIAL siempre a mano */
.selo .selo__cta {
  pointer-events: auto;
  margin-left: 6px; padding: 6px 4px;
  color: inherit; font: inherit; font-weight: 700;
  letter-spacing: .02em; text-transform: none; white-space: nowrap;
  text-decoration: underline; text-underline-offset: 3px;
}
.selo .selo__cta:hover { text-decoration-thickness: 2px; }
.selo .selo__cta:focus-visible { outline: 2px solid #9DBCFF; outline-offset: 2px; border-radius: 4px; }
.selo::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #9DBCFF; box-shadow: 0 0 0 3px rgba(157, 188, 255, .25);
}

/* ---------- Cabeçalho ---------- */
.topo {
  position: relative; z-index: 30;
  max-width: var(--max); margin: 0 auto;
  padding: 28px var(--gutter) 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.marca { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--ink); }
.marca-ico {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #3A55A0, var(--night) 70%);
  box-shadow: 0 8px 18px -8px rgba(23, 36, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.marca-ico .i { width: 22px; height: 22px; stroke-width: 1.7; }
.marca-nome { display: flex; flex-direction: column; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; line-height: 1.15; }
.marca-nome small { font-size: .75rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }

.nav-desk { display: none; }
.acoes { display: flex; align-items: center; gap: 8px; }
/* Pílula do cabeçalho só a partir de 640 px (no celular o botão já está no herói). */
.topo .btn-topo { display: none; }

/* ---------- Botões ---------- */
.btn-redondo {
  position: relative; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-out);
}
.btn-redondo:hover { transform: translateY(-2px); }
.btn-redondo .i { width: 22px; height: 22px; }
.btn-grande { width: 56px; height: 56px; }
.btn-vidro {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, .65);
}

.btn-pilula {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 6px 6px 6px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #25386E, var(--night));
  color: #fff; text-decoration: none;
  font-weight: 600; font-size: 1rem; letter-spacing: -.005em; line-height: 1.2;
  max-width: 100%; text-wrap: balance;
  box-shadow: 0 14px 28px -14px rgba(23, 36, 74, .75), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-seta {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #fff; color: var(--night);
  transition: transform .5s var(--ease-out);
}
.btn-seta .i { width: 20px; height: 20px; stroke-width: 1.9; }
.btn-pilula:hover .btn-seta { transform: rotate(45deg); }
.btn-pilula.claro { background: #fff; color: var(--night); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.btn-pilula.claro .btn-seta { background: var(--night); color: #fff; }
.btn-pilula .ico-esq { width: 22px; height: 22px; margin-right: -4px; }
.btn-pilula.pequena { min-height: 48px; padding: 4px 4px 4px 18px; gap: 10px; font-size: .9375rem; }
.btn-pilula.pequena .btn-seta { width: 40px; height: 40px; }

.btn-contorno {
  align-self: flex-start;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  border-radius: 999px; border: 1px solid rgba(31, 46, 90, .22);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: background-color .3s;
}
.btn-contorno:hover { background: var(--ice); }
.btn-contorno .i { width: 20px; height: 20px; transition: transform .45s var(--ease-out); }
.btn-contorno:hover .i { transform: rotate(45deg); }

/* ---------- Menu do celular ---------- */
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-painel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: min(290px, calc(100vw - 32px));
  display: flex; flex-direction: column;
  padding: 8px; border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  transform-origin: top right;
}
.menu-painel a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 500;
}
.menu-painel a:hover { background: var(--ice); }
.menu-painel .menu-cta { margin-top: 6px; justify-content: center; background: var(--night); color: #fff; font-weight: 600; }
.menu-painel .menu-cta:hover { background: #22356A; }

/* ---------- Cartões ---------- */
.cartao {
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}
.ico-circulo {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--ink);
  background: linear-gradient(160deg, #EEF3FB, #DCE6F6);
  box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(23, 36, 74, .35);
}

/* ---------- Herói ---------- */
.heroi { max-width: var(--max); margin: 0 auto; padding: 6px var(--gutter) 0; }
.heroi-grade { display: grid; gap: 12px; }

.heroi-texto { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 20px 22px 24px; }
.heroi-texto::before {
  content: ""; position: absolute; right: -32%; top: -42%;
  width: 82%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(204, 221, 248, .85), rgba(204, 221, 248, 0) 68%);
}
.heroi-texto > * { position: relative; }

.selinho {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  background: var(--ice); color: var(--ink);
  font-size: .8125rem; font-weight: 600; line-height: 1.3;
}
.ponto { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.ponto::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; }
.selinho.claro { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.selinho.claro .ponto { background: #9DBCFF; }

.titulo-heroi {
  margin: 16px 0 12px;
  font-size: clamp(2.5rem, 1.55rem + 3.7vw, 3.6rem);
  line-height: 1.02; letter-spacing: -.042em; font-weight: 500; color: var(--ink);
}
.linha { display: block; overflow: hidden; padding: .05em 0 .14em; margin: -.05em 0 -.14em; }
.linha > span { display: inline-block; }
.enfase {
  display: inline-block;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.16em; line-height: .9; letter-spacing: -.012em;
  color: var(--accent); padding-right: .03em;
}
.heroi-sub { max-width: 36ch; margin: 0 0 20px; font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
.heroi-acoes { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.heroi-fatos { display: none; }

.heroi-foto { position: relative; }
.foto-moldura {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); aspect-ratio: 4 / 5;
  background: #C9A891; box-shadow: var(--shadow-lg);
  transform: translateZ(0);
}
.foto-moldura img { width: 100%; height: 100%; object-fit: cover; }
.heroi-foto .foto-moldura img { object-position: 50% 22%; }
.foto-moldura::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  background: linear-gradient(180deg, rgba(23, 36, 74, 0) 62%, rgba(23, 36, 74, .3));
}

.chip { position: absolute; z-index: 2; max-width: calc(100% - 24px); }
.chip-in {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 16px 34px -14px rgba(23, 36, 74, .45), inset 0 1px 0 #fff;
  color: var(--ink); font-size: .875rem; font-weight: 600; line-height: 1.25;
}
.chip-ico {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #3A55A0, var(--night) 72%);
}
.chip-ico .i { width: 18px; height: 18px; stroke-width: 1.8; }
.chip-a { top: -24px; left: 14px; }
.chip-b { top: 56%; right: 12px; }
.chip-c { bottom: 16px; left: 16px; }

.foto-btn { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.girar { transform: rotate(90deg); }
.legenda {
  position: absolute; left: 16px; bottom: 18px; z-index: 2;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(15, 24, 50, .62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .75rem; font-weight: 500; letter-spacing: .01em; line-height: 1.3;
}
.legenda-alto { top: 16px; right: 16px; bottom: auto; left: auto; }

/* ---------- Seções ---------- */
.secao { max-width: var(--max); margin: 0 auto; padding: 92px var(--gutter) 0; }
.sec-topo { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--ink); }
.sec-label { margin: 0; font-size: .875rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3; white-space: nowrap; color: inherit; }
.sec-linha { flex: 1; height: 1px; background: currentColor; opacity: .16; transform-origin: left center; }
.sec-num { font-family: var(--serif); font-style: italic; font-size: 1.125rem; line-height: 1; color: var(--muted); }

.titulo {
  max-width: 17ch; margin: 0 0 14px;
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
  line-height: 1.05; letter-spacing: -.038em; font-weight: 500; color: var(--ink);
}
.titulo em, .manifesto em {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 1.12em; line-height: .9; letter-spacing: -.01em; color: var(--accent);
}
.intro { max-width: 46ch; font-size: 1.0625rem; line-height: 1.6; }
.cabeca { margin-bottom: 32px; }

/* (01) Sobre */
.manifesto {
  max-width: 25ch; margin: 0 0 44px;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 1.17; letter-spacing: -.032em; font-weight: 500; color: var(--ink);
}
.manifesto .grupo { white-space: nowrap; }

.sobre-grade { display: grid; gap: 12px; }
.sobre-foto { position: relative; }
.sobre-foto .foto-moldura { aspect-ratio: 1 / 1; background: #E4E1DC; }
.valores { display: grid; gap: 12px; }
.valor { display: flex; align-items: flex-start; gap: 16px; padding: 20px; }
.valor h3 { margin-bottom: 4px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.015em; }
.valor p { color: var(--muted); }

/* (02) Tratamentos */
.trat-grade { display: grid; gap: 12px; }
.trat { position: relative; display: flex; flex-direction: column; padding: 22px; }
.trat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .45s var(--ease-out);
}
.trat:hover::after { opacity: 1; }
.trat-topo { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.trat-n { font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1; color: var(--muted); }
.trat h3 { margin-bottom: 8px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.trat p { margin-bottom: 20px; color: var(--muted); }
.trat-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 4px 4px 4px 18px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none;
}
.mini-seta {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--night); color: #fff;
  transition: transform .45s var(--ease-out);
}
.mini-seta .i { width: 18px; height: 18px; stroke-width: 1.9; }
.trat-link:hover .mini-seta { transform: rotate(45deg); }

/* (03) Primeira consulta */
.escuro {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; gap: 28px;
  padding: 28px 20px 20px; border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(84, 118, 201, .55), transparent 60%),
    radial-gradient(70% 50% at 0% 100%, rgba(63, 93, 174, .35), transparent 60%),
    linear-gradient(165deg, #1E2F5E, #121C3B);
  box-shadow: var(--shadow-lg);
}
.escuro::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(80% 60% at 80% 8%, #000, transparent 75%);
  mask-image: radial-gradient(80% 60% at 80% 8%, #000, transparent 75%);
}
.escuro .sec-topo { color: #fff; }
.escuro .sec-linha { opacity: .24; }
.escuro .sec-num { color: rgba(255, 255, 255, .72); }
.escuro .titulo { color: #fff; }
.escuro .titulo em { color: var(--accent-claro); }

.passos { margin: 26px 0 28px; }
.passo {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px;
  padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .14);
}
.passo:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.passo-n { min-width: 44px; font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--accent-claro); }
.passo h3 { margin-bottom: 6px; color: #fff; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.passo p { color: rgba(255, 255, 255, .78); }
.passo-ico { display: none; }

.escuro-foto { position: relative; }
.escuro-foto .foto-moldura { aspect-ratio: 4 / 3; background: #DDE3EA; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); }
.escuro-foto .foto-moldura img { object-position: 50% 42%; }

/* (04) Horários e endereço */
.local-grade { display: grid; gap: 12px; margin-top: 28px; }
.horas { padding: 22px; }
.cartao-cab { display: flex; align-items: center; gap: 14px; }
.cartao-cab h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.horas-lista { margin: 18px 0 16px; }
.horas-lista div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px dashed rgba(31, 46, 90, .18);
}
.horas-lista dt { color: var(--text); }
.horas-lista dd { margin: 0; font-weight: 600; color: var(--ink); white-space: nowrap; }
.horas-lista dd.fechado { font-weight: 500; color: var(--muted); }
.nota {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--ice); color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.4;
}
.nota .i { width: 20px; height: 20px; color: var(--accent); }

.local { display: flex; flex-direction: column; gap: 6px; padding: 10px; }
.mapa { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 400 / 260; border-radius: 18px; background: #E6ECF4; }
.mapa svg { display: block; width: 100%; height: 100%; }
.pino { position: absolute; left: 46%; top: 53.5%; width: 0; height: 0; isolation: isolate; }
.pino-cabeca {
  position: absolute; left: -23px; bottom: 12px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, #3A55A0, var(--night) 72%);
  box-shadow: 0 0 0 4px #fff, 0 14px 26px -10px rgba(23, 36, 74, .75);
}
.pino-cabeca::after {
  content: ""; position: absolute; left: 50%; bottom: -11px; z-index: -1;
  width: 14px; height: 14px; border-radius: 0 0 3px 0;
  background: var(--night); box-shadow: 3px 3px 0 0 #fff;
  transform: translateX(-50%) rotate(45deg);
}
.pino-cabeca .i { width: 22px; height: 22px; stroke-width: 1.7; }
.pino-pulso { position: absolute; left: -14px; top: -7px; width: 28px; height: 14px; border-radius: 50%; background: rgba(63, 93, 174, .35); }
.mapa-tag {
  position: absolute; left: 10px; top: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); color: var(--ink);
  font-size: .75rem; font-weight: 600; line-height: 1.4;
}
.local-info { display: flex; flex-direction: column; gap: 16px; padding: 14px 12px 12px; }
.endereco { margin-top: 2px; color: var(--text); }

/* Chamada final */
.cta-final {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 36px 22px 26px; border-radius: var(--r-xl);
  color: #fff;
  background:
    radial-gradient(80% 70% at 100% 100%, rgba(98, 132, 214, .6), transparent 60%),
    radial-gradient(60% 50% at 0% 0%, rgba(63, 93, 174, .4), transparent 60%),
    linear-gradient(160deg, #20325F, #111B39);
  box-shadow: var(--shadow-lg);
}
.cta-deco {
  position: absolute; z-index: -1; right: -70px; bottom: -64px;
  width: 300px; height: 300px;
  fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: .3;
  stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(-14deg);
}
.cta-final .titulo { max-width: 14ch; margin: 18px 0 12px; color: #fff; }
.cta-final .titulo em { color: var(--accent-claro); }
.cta-texto { max-width: 40ch; margin-bottom: 26px; color: rgba(255, 255, 255, .82); font-size: 1.0625rem; }

/* ---------- Rodapé ---------- */
.rodape { max-width: var(--max); margin: 0 auto; padding: 72px var(--gutter) 28px; }
.rodape-in { display: grid; gap: 22px; padding: 24px 4px 28px; border-top: 1px solid var(--line); }
.rodape-marca .marca { margin-bottom: 8px; }
.rodape-marca p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.rodape-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.rodape-nav a { display: flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 500; text-decoration: none; }
.rodape-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.reondial {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 20px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #E9EFF8, #DFE7F4);
  border: 1px solid rgba(255, 255, 255, .9);
}
.reondial p { color: var(--ink); font-weight: 500; line-height: 1.5; }
.reondial p a { display: inline-block; padding: 12px 2px; margin: -12px 0; font-weight: 700; text-underline-offset: 3px; }
.aviso-exemplo {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 0 14px; padding: 14px 16px; border-radius: 16px;
  background: var(--surface); border: 1px dashed rgba(31, 46, 90, .25);
  color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.5;
  scroll-margin-top: 80px;
}
.aviso-exemplo .i { width: 20px; height: 20px; margin-top: 1px; color: var(--accent); }
.aviso-exemplo:focus { outline: none; }
.aviso-exemplo:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Mensagem curta dos botões de demonstração (fixa: não empurra nada) */
.aviso-toast {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  width: max-content; max-width: min(440px, calc(100vw - 32px));
  padding: 14px 18px; border-radius: 18px;
  background: var(--night); color: #fff;
  font-size: .9375rem; font-weight: 500; line-height: 1.45; text-align: center;
  box-shadow: 0 18px 40px -16px rgba(23, 36, 74, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
  opacity: 0; transform: translate(-50%, 14px); pointer-events: none;
  transition: opacity .3s ease, transform .45s var(--ease-out);
}
.aviso-toast:empty { padding: 0; box-shadow: none; }
.aviso-toast.visivel { opacity: 1; transform: translate(-50%, 0); }

.creditos { margin-top: 18px; color: var(--muted); font-size: .8125rem; line-height: 1.5; }

/* ---------- Tamanhos ---------- */
@media (max-width: 399px) {
  .btn-pilula { gap: 10px; padding-left: 20px; }
  .cta-final { padding-left: 18px; padding-right: 18px; }
}

@media (max-width: 359px) {
  .marca-nome small { display: none; }
  .btn-pilula { padding-left: 18px; gap: 10px; font-size: .9375rem; }
  .titulo-heroi { font-size: 2.25rem; }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .topo .btn-topo { display: inline-flex; min-height: 50px; padding: 4px 4px 4px 20px; font-size: .9375rem; }
  .btn-topo .btn-seta { width: 42px; height: 42px; }
  .heroi-texto { padding: 32px; }
  .valor { padding: 24px; }
  .trat-grade { grid-template-columns: 1fr 1fr; }
  .trat { padding: 26px; }
  .escuro { padding: 40px 36px 36px; }
  .passo { grid-template-columns: auto 1fr auto; align-items: start; }
  .passo-ico {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  }
  .passo-ico .i { width: 22px; height: 22px; }
  .cta-final { padding: 56px 48px 48px; }
  .cta-deco { width: 420px; height: 420px; right: -60px; bottom: -90px; }
  .rodape-in { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .reondial { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 18px 18px 28px; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .heroi-foto .foto-moldura { aspect-ratio: 5 / 4; }
  .heroi-foto .foto-moldura img { object-position: 50% 18%; }
}

@media (min-width: 860px) {
  .sobre-grade { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 16px; }
  .cabeca { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 32px; }
  .cabeca .titulo { margin: 0; }
  .local-grade { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
  .horas { padding: 30px; }
  .local-info { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 14px 10px; }
  .local-info .btn-contorno { align-self: center; }
}

@media (min-width: 1024px) {
  .heroi-grade { grid-template-columns: 1.06fr .94fr; gap: 16px; }
  .heroi-texto { display: flex; flex-direction: column; min-height: 640px; padding: 48px 52px 40px; }
  .titulo-heroi { margin: 28px 0 22px; font-size: clamp(3.75rem, 5.4vw, 4.75rem); }
  .heroi-sub { max-width: 34ch; margin-bottom: 30px; font-size: 1.1875rem; }
  .heroi-fatos {
    display: flex; flex-wrap: wrap; gap: 10px 24px;
    margin-top: auto; padding-top: 26px; border-top: 1px solid var(--line);
    color: var(--ink); font-size: .9375rem; font-weight: 500;
  }
  .heroi-fatos li { display: flex; align-items: center; gap: 8px; }
  .heroi-fatos .i { width: 20px; height: 20px; color: var(--accent); }
  .heroi-foto .foto-moldura { aspect-ratio: auto; height: 100%; min-height: 640px; }
  .chip-a { top: 50%; left: -36px; }
  .chip-b { top: auto; bottom: 112px; right: 28px; }
  .foto-btn { right: 24px; bottom: 24px; }
  .legenda:not(.legenda-alto) { left: 24px; bottom: 30px; }
  .legenda-alto { top: 24px; right: 24px; }

  .secao { padding-top: 128px; }
  .sec-topo { margin-bottom: 36px; }
  .manifesto { margin-bottom: 64px; }
  .escuro { grid-template-columns: 1.1fr .9fr; gap: 44px; padding: 56px; }
  .escuro-foto .foto-moldura { aspect-ratio: auto; height: 100%; min-height: 540px; }
}

@media (min-width: 1080px) {
  .topo { padding-top: 34px; }
  .nav-desk {
    display: flex; gap: 2px; padding: 5px; border-radius: 999px;
    background: rgba(255, 255, 255, .75); border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .nav-desk a {
    display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
    color: var(--ink); font-weight: 500; font-size: .9375rem; text-decoration: none;
    transition: background-color .25s;
  }
  .nav-desk a:hover { background: var(--ice); }
  .menu { display: none; }
  .trat-grade { grid-template-columns: repeat(4, 1fr); }
  .trat { min-height: 340px; }
}

/* ---------- Movimento (só com html.js-motion) ---------- */
@keyframes selo-desce { from { transform: translateY(-110%); } to { transform: none; } }
@keyframes descer { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes subir-linha { from { transform: translateY(112%); } to { transform: none; } }
@keyframes surgir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes enfase { from { opacity: 0; transform: translateY(.32em) rotate(-5deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes foto-entra { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: none; } }
@keyframes foto-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes chip-entra { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulso { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes pulso-chao { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes balanco { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-9deg) translateY(-12px); } }
@keyframes painel { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }

/* Entrada da primeira tela */
.js-motion .selo { animation: selo-desce .8s var(--ease-out) .1s both; }
.js-motion .topo { animation: descer .8s var(--ease-out) both; }
.js-motion .selinho { animation: surgir .8s var(--ease-out) .05s both; }
.js-motion .linha > span { animation: subir-linha 1s var(--ease-out) both; }
.js-motion .linha:nth-child(1) > span { animation-delay: .15s; }
.js-motion .linha:nth-child(2) > span { animation-delay: .27s; }
.js-motion .linha:nth-child(3) > span { animation-delay: .39s; }
.js-motion .linha:nth-child(4) > span { animation-delay: .51s; }
.js-motion .enfase { animation: enfase 1.1s var(--ease-out) 1.05s both; }
.js-motion .heroi-sub { animation: surgir .9s var(--ease-out) .75s both; }
.js-motion .heroi-acoes { animation: surgir .9s var(--ease-out) .9s both; }
.js-motion .heroi-fatos { animation: surgir .9s var(--ease-out) 1.1s both; }
.js-motion .heroi-foto { animation: foto-entra 1.3s var(--ease-out) .25s both; }
.js-motion .heroi-foto .foto-moldura img { animation: foto-zoom 2.4s var(--ease-out) .25s both; }
.js-motion .chip-a { animation: chip-entra .9s var(--ease-out) 1.3s both; }
.js-motion .chip-b { animation: chip-entra .9s var(--ease-out) 1.55s both; }
.js-motion .heroi-foto .foto-btn { animation: chip-entra .8s var(--ease-out) 1.7s both; }
.js-motion .chip-a .chip-in { animation: flutuar 6s ease-in-out 2.4s infinite; }
.js-motion .chip-b .chip-in { animation: flutuar 7s ease-in-out 2.9s infinite; }
.js-motion .chip-c .chip-in { animation: flutuar 6.5s ease-in-out 1s infinite; }
.js-motion .ponto::after { animation: pulso 2.4s var(--ease-out) 1.6s infinite; }
.js-motion .menu[open] .menu-painel { animation: painel .35s var(--ease-out) both; }

/* Aparecer ao rolar */
.js-motion [data-reveal] {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion .sec-topo .sec-linha { transform: scaleX(0); transition: transform 1.3s var(--ease-out) .2s; }
.js-motion .sec-topo.is-in .sec-linha { transform: none; }
.js-motion .zoom img { transform: scale(1.14); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
.js-motion .is-in .zoom img { transform: none; }
.js-motion .sobre-foto .chip { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out) .5s, transform .8s var(--ease-out) .5s; }
.js-motion .sobre-foto.is-in .chip { opacity: 1; transform: none; }
.js-motion .manifesto.dividido .w { opacity: .15; transition: opacity .3s linear; }

/* Mapa: o pino cai e pulsa */
.js-motion .local .pino-cabeca {
  opacity: 0; transform: translateY(-28px);
  transition: opacity .6s var(--ease-out) .45s, transform .9s cubic-bezier(.34, 1.56, .64, 1) .45s;
}
.js-motion .local.is-in .pino-cabeca { opacity: 1; transform: none; }
.js-motion .pino-pulso { animation: pulso-chao 2.4s var(--ease-out) 1.2s infinite; }
.js-motion .cta-deco { animation: balanco 12s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
