/* Auriks · auriks.com.br
   Tema escuro do app: navy, ciano e o gradiente ciano→violeta dos botões; Baloo 2 nos
   títulos e Mukta no texto. Mobile primeiro (360 px sem scroll lateral).
   Estrutura: fontes → tokens → base → cabeçalho → botões → home (hero, tour pelas telas,
   pets, quarto e amigos, segurança, chamada final) → páginas de texto (índice lateral,
   prosa jurídica, formulário, contato, 404) → rodapé → lightbox → movimento reduzido.
   Especificidade: componentes usam uma classe; a prosa usa :where() para não brigar com
   componentes dentro dela (callout, formulário, tabela). */

@font-face {
  font-family: "Baloo 2";
  src: url("../assets/fonts/baloo2-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
/* Mukta: "º" vem vazio na fonte original e ela não tem "→"; o unicode-range manda esses
   dois caracteres para a fonte seguinte da pilha. */
@font-face {
  font-family: "Mukta";
  src: url("../assets/fonts/mukta-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00B9,U+00BB-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}
@font-face {
  font-family: "Mukta";
  src: url("../assets/fonts/mukta-medium-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00B9,U+00BB-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}
@font-face {
  font-family: "Mukta";
  src: url("../assets/fonts/mukta-bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00B9,U+00BB-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215;
}

/* ---------- tokens ---------- */
:root {
  --bg: #0B1A2E;
  --bg-2: #0F2640;
  --bg-3: #143153;
  --line: rgba(150, 196, 255, .16);
  --text: #EAF3FF;
  --muted: #A9BCD4;
  --cyan: #00E0FF;
  --violet: #7B5CFF;
  --paw: #FF9A52;          /* laranja da patinha nas camisetas dos pets */
  --gold: #FFD166;
  --green: #4BE3A0;
  --pink: #FF7AB6;
  --grad: linear-gradient(100deg, var(--cyan), var(--violet));
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Mukta", "Segoe UI", system-ui, sans-serif;
  --gutter: 16px;
  --max: 1200px;
  --radius-lg: 28px;
  --radius: 16px;
  --header-h: 64px;
  color-scheme: dark;
}
@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 26, 46, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text); text-decoration: none;
  font: 800 1.5rem/1 var(--display); letter-spacing: -.01em;
}
.brand img { width: 36px; height: 44px; object-fit: contain; }
.site-nav { position: absolute; left: 0; right: 0; top: 0; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: none; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(0, 224, 255, .12); }
.site-header .header-cta { order: 2; margin-left: auto; }
.menu-btn {
  order: 3; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }
.site-nav.is-open ul {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: var(--header-h);
  padding: 12px var(--gutter) 20px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-nav.is-open a { padding: 12px 14px; font-size: 1.1rem; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .site-nav { position: static; margin-left: auto; }
  .site-nav ul, .site-nav.is-open ul { display: flex; position: static; flex-direction: row; padding: 0; background: none; border: 0; }
  .site-nav.is-open a { padding: 8px 12px; font-size: 1rem; }
  .site-header .header-cta { margin-left: 0; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 700 1.05rem/1 var(--body); text-decoration: none; cursor: pointer;
  color: #06142A; background: var(--grad);
  box-shadow: 0 10px 30px -10px rgba(0, 224, 255, .55);
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(123, 92, 255, .7); text-decoration: none; }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.soon {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px;
  border-radius: 999px; border: 1px dashed rgba(169, 188, 212, .45); color: var(--muted); font-weight: 500;
}
.soon svg { width: 18px; height: 18px; }

/* ---------- home: hero ---------- */
.hero { position: relative; isolation: isolate; padding: 28px 0 56px; overflow: clip; }
.hero::before { /* brilho de fundo, mesma luz da tela inicial do app */
  content: ""; position: absolute; z-index: -1; inset: -20% -30% auto auto; width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(0, 224, 255, .22), rgba(123, 92, 255, .14) 55%, transparent 72%);
}
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(0, 224, 255, .1); border: 1px solid rgba(0, 224, 255, .3); color: var(--cyan);
  font-weight: 500; font-size: .95rem;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 224, 255, .2); }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 10.5vw, 5.6rem); font-weight: 800; line-height: .92; letter-spacing: -.025em;
}
.hero h1 .line2 {
  display: block;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero .lead { margin-top: 20px; font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: .95rem; color: var(--muted); }

/* composição: celular inclinado com o pet sobreposto real + raposa 3D saindo da moldura */
.hero-art { position: relative; width: min(100%, 440px); margin-inline: auto; aspect-ratio: 440 / 560; }
.hero-art .phone {
  position: absolute; right: 2%; top: 0; width: 58%;
  transform: rotate(5deg);
}
.hero-art .fox {
  position: absolute; left: 0; bottom: 0; width: 54%; z-index: 3;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .45));
}
.hero-art .bubble {
  position: absolute; z-index: 4; left: 30%; top: 30%;
  max-width: 13ch; padding: 10px 14px; border-radius: 18px 18px 18px 4px;
  background: #fff; color: #10223A; font: 700 1rem/1.2 var(--display);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .5);
}
.hero-art .floor {
  position: absolute; left: -4%; bottom: -3%; width: 62%; height: 9%; z-index: 2;
  background: radial-gradient(closest-side, rgba(0, 224, 255, .35), transparent);
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 88px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 24px; min-height: min(760px, calc(100svh - var(--header-h) - 60px)); }
  .hero-art { width: 100%; max-width: 520px; margin-right: 0; }
}

/* ---------- moldura de celular (telas reais do app) ---------- */
.phone {
  display: block; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 34px; position: relative;
}
.phone .frame {
  display: block; padding: 7px; border-radius: 34px;
  background: linear-gradient(160deg, #2A4466, #0A1626 60%, #22395A);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 80px -30px rgba(0, 224, 255, .5);
}
.phone img { width: 100%; aspect-ratio: 540 / 1095; object-fit: cover; border-radius: 27px; background: var(--bg-2); }
.phone:focus-visible { outline-offset: 6px; border-radius: 36px; }

/* ---------- seções ---------- */
.section { padding: 72px 0; position: relative; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section-title { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
.section-intro { margin-top: 14px; color: var(--muted); font-size: 1.15rem; max-width: 46ch; }

/* ---------- tour pelas telas: celular fixo à esquerda que troca de tela ---------- */
.tour-head { max-width: 640px; }
.tour { margin-top: 40px; display: grid; gap: 20px; }
.tour-stage { display: none; }
.chapter {
  display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 18px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 49, 83, .55), rgba(15, 38, 64, .25));
  border: 1px solid var(--line);
}
.chapter .phone .frame { padding: 4px; border-radius: 20px; }
.chapter .phone img { border-radius: 16px; }
.chapter .phone { border-radius: 20px; }
.chapter h3 { font-size: clamp(1.35rem, 5vw, 1.9rem); font-weight: 800; }
.chapter p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.chapter .tag {
  display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px;
  font-size: .85rem; font-weight: 500; color: var(--tc, var(--cyan));
  background: color-mix(in srgb, var(--tc, var(--cyan)) 14%, transparent);
}
@media (min-width: 560px) { .chapter { grid-template-columns: minmax(0, 30%) minmax(0, 1fr); gap: 28px; padding: 24px; } }
@media (min-width: 960px) {
  html.js .tour { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  html.js .tour-stage {
    display: block; position: sticky; top: calc(var(--header-h) + 5vh);
    height: calc(90vh - var(--header-h)); max-height: 760px;
  }
  html.js .tour-stage .phone { height: 100%; width: auto; aspect-ratio: 554 / 1109; margin-inline: auto; }
  html.js .tour-stage .phone .frame { height: 100%; position: relative; }
  html.js .tour-stage .phone img { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); opacity: 0; transition: opacity .45s ease; }
  html.js .tour-stage .phone img.is-on { opacity: 1; }
  html.js .tour-stage .glow {
    position: absolute; inset: 10% -10%; z-index: -1; border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--stage-c, var(--cyan)) 35%, transparent), transparent);
    transition: background .5s;
  }
  html.js .chapters { display: grid; }
  html.js .chapter {
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: center;
    min-height: 72vh; padding: 0; background: none; border: 0; border-radius: 0;
    opacity: .35; transition: opacity .35s;
  }
  html.js .chapter.is-on { opacity: 1; }
  html.js .chapter .phone { display: none; }
  html.js .chapter h3 { font-size: clamp(2rem, 3.4vw, 3rem); max-width: 16ch; }
  html.js .chapter p { font-size: 1.2rem; max-width: 38ch; margin-top: 14px; }
  html.js .chapter .tag { font-size: .95rem; margin-bottom: 14px; }
  html.js .chapter:first-child { min-height: 60vh; }
  html.js .chapter:last-child { min-height: 64vh; }
}
@media (min-width: 960px) {
  html:not(.js) .chapters { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ---------- pets: palco + escolha ---------- */
.pets-section { background: linear-gradient(180deg, var(--bg), var(--bg-2) 40%, var(--bg)); }
.pets-layout { display: grid; gap: 28px; margin-top: 36px; }
.stage {
  position: relative; isolation: isolate; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(70% 60% at 50% 55%, color-mix(in srgb, var(--pc, var(--cyan)) 40%, transparent), transparent 70%), var(--bg-3);
  border: 1px solid var(--line);
  min-height: 360px; display: grid; place-items: center; padding: 28px 20px 84px;
  transition: background .4s;
}
.stage-name {
  position: absolute; z-index: -1; left: 16px; right: 16px; top: 22px;
  text-align: center; font: 800 clamp(1.6rem, 6.4vw, 4.2rem)/1 var(--display); letter-spacing: -.02em;
  color: rgba(234, 243, 255, .08); white-space: nowrap; overflow: hidden; text-overflow: clip;
  pointer-events: none;
}
.stage-btn { background: none; border: 0; padding: 0; cursor: zoom-in; border-radius: 20px; }
.stage-btn img {
  width: auto; max-width: min(78vw, 360px); max-height: 380px;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .5));
}
.stage-btn img.is-swapping { animation: pop-in .38s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.stage-caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.stage-caption strong { font: 800 1.7rem/1 var(--display); }
.stage-caption span { color: var(--muted); font-size: .95rem; }
.picker-wrap h3 { font-size: 1.4rem; font-weight: 700; }
.picker-wrap > p { margin-top: 8px; color: var(--muted); }
.picker {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.picker button {
  position: relative; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: 18px; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  display: grid; place-items: center; transition: background .2s, border-color .2s, transform .15s;
}
.picker button:hover { background: rgba(255, 255, 255, .08); }
.picker button:active { transform: scale(.95); }
.picker button[aria-pressed="true"] { border-color: var(--cyan); background: rgba(0, 224, 255, .12); box-shadow: 0 0 0 1px var(--cyan) inset; }
.picker img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.pets-note { margin-top: 20px; color: var(--muted); font-size: .98rem; }
@media (min-width: 560px) { .picker { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .pets-layout { grid-template-columns: 7fr 5fr; gap: 48px; align-items: stretch; }
  .stage { min-height: 520px; }
  .stage-btn img { max-height: 420px; max-width: 420px; }
  .picker-wrap { display: flex; flex-direction: column; justify-content: center; }
  .picker { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
}

/* ---------- quarto, amigos e casal ---------- */
.together { display: grid; gap: 40px; align-items: center; }
.together-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.together-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.together-list .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  color: var(--ic); background: color-mix(in srgb, var(--ic) 15%, transparent);
}
.together-list .ico svg { width: 24px; height: 24px; }
.together-list h3 { font-size: 1.3rem; font-weight: 700; }
.together-list p { margin-top: 4px; color: var(--muted); }
.duo { position: relative; aspect-ratio: 1 / .82; width: 100%; max-width: 560px; margin-inline: auto; }
.duo::before { /* chão do quarto */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 2%; height: 26%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 122, 182, .28), rgba(123, 92, 255, .12) 60%, transparent);
}
.duo .pet { position: absolute; bottom: 8%; background: none; border: 0; padding: 0; cursor: zoom-in; border-radius: 16px; }
.duo .pet img { filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .45)); }
.duo .pet-a { left: 4%; width: 42%; }
.duo .pet-b { right: 2%; width: 48%; bottom: 7%; }
.duo .heart {
  position: absolute; left: 50%; top: 6%; transform: translateX(-50%);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--pink); box-shadow: 0 12px 30px -8px rgba(255, 122, 182, .6);
}
.duo .heart svg { width: 32px; height: 32px; }
@media (prefers-reduced-motion: no-preference) {
  .duo .heart { animation: beat 2.4s ease-in-out infinite; }
  @keyframes beat { 0%, 100% { transform: translateX(-50%) scale(1); } 12% { transform: translateX(-50%) scale(1.12); } 24% { transform: translateX(-50%) scale(1); } }
}
@media (min-width: 960px) { .together { grid-template-columns: 6fr 5fr; gap: 72px; } .duo { order: 2; } }

/* ---------- segurança ---------- */
.safety {
  display: grid; gap: 32px; padding: 32px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); position: relative; overflow: hidden;
}
.age {
  font: 800 clamp(6rem, 30vw, 13rem)/.8 var(--display); letter-spacing: -.05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.age-cap { margin-top: 14px; font: 700 1.5rem/1.15 var(--display); max-width: 14ch; }
.age-cap + p { margin-top: 10px; color: var(--muted); max-width: 32ch; }
.safety-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.safety-list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.safety-list li:first-child { border-top: 0; padding-top: 0; }
.safety-list svg { width: 26px; height: 26px; color: var(--green); margin-top: 2px; }
.safety-list strong { display: block; font: 700 1.2rem/1.2 var(--display); }
.safety-list span { display: block; margin-top: 4px; color: var(--muted); }
@media (min-width: 960px) {
  .safety { grid-template-columns: 5fr 7fr; gap: 64px; padding: 64px; align-items: center; }
}

/* ---------- chamada final ---------- */
.cta-card {
  position: relative; display: grid; gap: 24px; align-items: end;
  padding: 32px 22px; border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(123, 92, 255, .45), transparent 60%),
    radial-gradient(70% 100% at 0% 100%, rgba(0, 224, 255, .3), transparent 60%),
    var(--bg-2);
  border: 1px solid rgba(0, 224, 255, .25);
}
.cta-card h2 { font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 800; letter-spacing: -.02em; }
.cta-card .cta-text p { margin-top: 12px; color: var(--muted); max-width: 44ch; }
.cta-card .hero-actions { margin-top: 24px; }
.cta { padding-top: 96px; }
.cta-card { padding-top: 64px; }
.cta-mascot { position: absolute; right: 14px; top: -78px; width: 112px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5)); }
@media (min-width: 720px) {
  .cta { padding-top: 120px; }
  .cta-card { grid-template-columns: 1fr auto; padding: 56px; }
  .cta-mascot { position: static; width: 220px; margin: -140px 0 -56px; align-self: end; }
}

/* ---------- páginas de texto ---------- */
.page-hero { position: relative; padding: 40px 0 32px; overflow: clip; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; right: -200px; top: -300px; width: 700px; height: 700px;
  background: radial-gradient(closest-side, rgba(123, 92, 255, .22), transparent 70%);
}
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
.page-hero h1 { font-size: clamp(2.3rem, 9vw, 4.6rem); font-weight: 800; letter-spacing: -.025em; line-height: .95; }
.page-hero .updated { margin-top: 14px; color: var(--muted); font-size: .98rem; }
.page-hero .peek { width: clamp(88px, 22vw, 170px); margin-bottom: -33px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
@media (min-width: 960px) { .page-hero { padding: 72px 0 40px; } .page-hero .peek { margin-bottom: -41px; } }

.doc-layout { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 80px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.toc summary {
  list-style: none; cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center;
  font: 700 1.1rem/1 var(--display);
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.toc[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.toc h2 { font: 700 1.1rem/1 var(--display); }
.toc ol { margin: 0; padding: 0 18px 16px; list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a {
  display: grid; grid-template-columns: 2ch 1fr; gap: 8px; padding: 6px 8px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: .98rem; line-height: 1.35;
}
.toc a::before { content: counter(toc); color: rgba(169, 188, 212, .55); font-variant-numeric: tabular-nums; text-align: right; }
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.toc a.is-current { color: var(--text); background: rgba(0, 224, 255, .1); }
.toc a.is-current::before { color: var(--cyan); }
@media (min-width: 960px) {
  .doc-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 120px; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; background: none; border: 0; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; }
  .toc summary { padding: 0 8px 14px; cursor: default; pointer-events: none; }
  .toc summary::after { display: none; }
  .toc ol { padding: 0; }
}

/* prosa (texto jurídico e páginas de texto) */
.prose { max-width: 70ch; min-width: 0; }
.prose :where(p, ul, ol) { margin: 0 0 1em; }
.prose :where(ul, ol) { padding-left: 1.3em; }
.prose :where(li) { margin-bottom: .55em; }
.prose :where(li)::marker { color: var(--cyan); }
.prose :where(strong) { color: #fff; font-weight: 700; }
.prose :where(h2) {
  margin: 1.7em 0 .6em; padding-top: 1em; border-top: 1px solid var(--line);
  font-size: clamp(1.55rem, 4.6vw, 2.05rem); font-weight: 800; letter-spacing: -.01em;
}
.prose :where(h3) { margin: 1.6em 0 .5em; font-size: 1.3rem; font-weight: 700; }
.prose > :where(p:first-child) { font-size: 1.2rem; color: var(--text); line-height: 1.55; }
.prose :where(p, li) { color: #CFDCEC; }

.callout {
  margin: 1.4em 0; padding: 16px 20px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--c, var(--cyan)) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, var(--cyan)) 35%, transparent);
  border-left-width: 4px;
}
.callout p { margin: 0; }
.table-scroll { overflow-x: auto; margin: 1.2em 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius); }
.table-scroll table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .98rem; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--line); }
.table-scroll thead th { border-top: 0; background: var(--bg-2); font: 700 1rem/1.2 var(--display); color: var(--text); }
.table-scroll td:first-child { color: var(--text); font-weight: 500; width: 40%; }
.table-scroll td { color: #CFDCEC; }

/* passos numerados (excluir conta pelo app: é uma sequência de verdade) */
.prose .steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 10px; }
.prose .steps li {
  counter-increment: step; margin: 0; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  padding: 12px 16px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
}
.prose .steps li::before {
  content: counter(step); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font: 800 1.2rem/1 var(--display); color: #06142A; background: var(--grad);
}

/* formulário de exclusão */
.form-card {
  margin: 1.4em 0; padding: 22px; border-radius: var(--radius-lg); display: grid; gap: 18px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
}
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; color: var(--text); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  font: 400 1rem/1.4 var(--body); color: var(--text);
  background: rgba(6, 18, 34, .7); border: 1px solid rgba(150, 196, 255, .28);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.field input[aria-invalid="true"] { border-color: #FF6B7A; }
.field .hint { color: var(--muted); font-size: .92rem; }
.field .error { color: #FF8F9B; font-size: .95rem; font-weight: 500; }
.field .error:empty { display: none; }
.status:empty { display: none; }
.status { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.status.ok { background: rgba(75, 227, 160, .12); border: 1px solid rgba(75, 227, 160, .4); color: #BDF5DA; }
.status.err { background: rgba(255, 107, 122, .12); border: 1px solid rgba(255, 107, 122, .4); color: #FFC9CF; }
@media (min-width: 720px) { .form-card { padding: 32px; } }

/* contato */
.contact-grid { display: grid; gap: 14px; margin: 8px 0 28px; }
.contact-card {
  display: grid; gap: 6px; padding: 22px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  border-top: 3px solid var(--c, var(--cyan));
}
.contact-card h2 { font-size: 1.35rem; font-weight: 700; }
.contact-card p { color: var(--muted); }
.contact-card .mail { font: 700 clamp(1.15rem, 4.6vw, 1.5rem)/1.2 var(--display); overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-card:first-child { grid-column: 1 / -1; padding: 32px; }
  .contact-card:first-child .mail { font-size: 2rem; }
}
.legal-note { color: var(--muted); font-size: .95rem; }

/* 404 */
.notfound { min-height: calc(100svh - var(--header-h) - 200px); display: grid; align-items: center; padding: 48px 0 80px; }
.notfound .wrap { display: grid; gap: 28px; align-items: center; }
.notfound h1 { font-size: clamp(2.4rem, 9vw, 4.4rem); font-weight: 800; letter-spacing: -.02em; line-height: .95; }
.notfound p { margin: 16px 0 28px; color: var(--muted); font-size: 1.15rem; max-width: 36ch; }
.notfound img { width: min(60vw, 300px); justify-self: center; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .5)); }
@media (prefers-reduced-motion: no-preference) {
  .notfound img { animation: bob 3.2s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-10px) rotate(-2deg); } }
}
@media (min-width: 720px) { .notfound .wrap { grid-template-columns: 1fr auto; } .notfound img { width: 320px; } }

/* ---------- rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: #081424; }
.site-footer .wrap { display: grid; gap: 28px; }
.footer-brand p { margin-top: 10px; color: var(--muted); max-width: 32ch; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.footer-links a { display: inline-block; padding: 6px 0; color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--cyan); text-decoration: underline; }
.legal-line { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); padding-top: 20px; }
@media (min-width: 720px) {
  .site-footer .wrap { grid-template-columns: 1fr auto; }
  .footer-links ul { grid-template-columns: repeat(3, auto); }
  .legal-line { grid-column: 1 / -1; }
}

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none;
  background: rgba(4, 10, 20, .92); color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; padding: 56px 16px 24px; display: grid; gap: 12px; justify-items: center; max-height: 100vh; }
.lightbox img { max-width: min(92vw, 900px); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 18px; object-fit: contain; }
.lightbox figcaption { color: var(--muted); text-align: center; max-width: 60ch; }
.lightbox .close {
  position: fixed; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); border: 1px solid var(--line); color: var(--text); cursor: pointer;
  display: grid; place-items: center;
}
.lightbox .close svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] img { animation: pop-in .25s cubic-bezier(.2, .9, .3, 1); }
}

/* ---------- entrada do hero (único momento orquestrado) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .hero-copy > :nth-child(5) { animation-delay: .24s; }
  .hero-art .phone { animation: phone-in .9s .1s cubic-bezier(.2, .8, .2, 1) both; }
  .hero-art .fox { animation: fox-in .9s .3s cubic-bezier(.25, 1.2, .4, 1) both; }
  .hero-art .bubble { animation: rise .5s .95s cubic-bezier(.2, .9, .3, 1.3) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }
  @keyframes phone-in { from { opacity: 0; transform: rotate(12deg) translateY(30px); } }
  @keyframes fox-in { from { opacity: 0; transform: translate(-24px, 30px) scale(.9); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (min-width: 960px) { .doc-layout.doc-layout--single { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.contact-card .credit-license { color: var(--c, var(--cyan)); font-weight: 600; font-size: .92rem; }
