/* ==========================================================================
   DevSkin Pet — Gestão de filas para clínicas e hospitais veterinários
   Dark premium (família DevSkin) · acento teal clínico + violeta preferencial
   ========================================================================== */

:root {
  --bg: #07070c;
  --bg-soft: #0b0b13;
  --card: #101019;
  --card-2: #15151f;
  --card-3: #1a1a26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* acento da vertical Pet: teal clínico */
  --teal: #0f766e;
  --teal-bright: #2dd4bf;
  --teal-deep: #0b544e;
  /* violeta = prioridade legal do tutor (mesma cor do produto) */
  --violet: #7c3aed;
  --violet-bright: #a78bfa;
  /* vermelho = emergência clínica (mesma cor do produto) */
  --red: #dc2626;
  --amber: #f59e0b;

  --ink: #f6f7fb;
  --muted: rgba(233, 236, 246, 0.66);
  --muted-2: rgba(233, 236, 246, 0.44);

  --green: #2bd97c;

  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --t: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --font-head: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --glow: 0 10px 40px rgba(15, 118, 110, 0.35);
  --nav-h: 74px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 700;
}
h1 { font-size: clamp(2.15rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.85rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

.container { width: min(1200px, 92%); margin: 0 auto; }
.container-narrow { width: min(880px, 92%); margin: 0 auto; }

::selection { background: var(--teal); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ---------- Utilidades ---------- */
.grad {
  background: linear-gradient(100deg, var(--teal-bright) 5%, #7dd3fc 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--teal-bright);
}
.grad-violet {
  background: linear-gradient(100deg, var(--violet-bright) 5%, #f0abfc 95%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--violet-bright);
}
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(7, 7, 12, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(7, 7, 12, 0.94); }
.nav-wrap { height: var(--nav-h); display: flex; align-items: center; gap: 26px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { height: 30px; width: auto; }
.brand-tag {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--teal-bright); background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 3px 9px; border-radius: 6px; line-height: 1.5;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button {
  padding: 9px 14px; border-radius: 10px; font-size: 0.93rem; font-weight: 600;
  color: var(--muted); background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: color var(--t), background var(--t);
}
.nav > a:hover, .nav-drop > button:hover, .nav > a.active { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
  padding: 18px 0 26px; display: none;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 13px 4px; font-weight: 600; font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 18px; width: 100%; justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; font-weight: 700; font-size: 0.96rem;
  font-family: var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: transform var(--t), filter var(--t), border-color var(--t), background var(--t);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff; box-shadow: var(--glow);
}
.btn-primary:hover { filter: brightness(1.14); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,0.03); }
.btn-ghost:hover { border-color: var(--teal-bright); background: rgba(45,212,191,0.08); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; border-radius: 10px; }
.btn-lg { padding: 16px 30px; font-size: 1.03rem; border-radius: 14px; }

/* ---------- Seções ---------- */
.sec { padding: clamp(64px, 8.5vw, 118px) 0; }
.sec-sm { padding: clamp(48px, 6vw, 78px) 0; }
.sec-soft { background: var(--bg-soft); }
.sec-line { border-block: 1px solid var(--line); }

/* A etiqueta se repete em toda seção. Colorida oito vezes na mesma página ela
   vira barulho, então fica neutra — o teal aparece só no ícone. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--muted); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow svg { color: var(--teal-bright); }
.eyebrow.violet svg { color: var(--violet-bright); }
.sec-head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 60px); }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.13rem); margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: -30% 0 auto -10%;
  width: 70%; height: 130%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(15,118,110,0.20), transparent 72%);
}
.hero::after {
  content: ''; position: absolute; inset: auto -12% -40% auto;
  width: 60%; height: 110%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124,58,237,0.10), transparent 72%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 70px); align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 56ch; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 0.9rem; color: var(--muted-2); display: flex; align-items: flex-start; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; stroke: var(--green); fill: none; stroke-width: 2.4; flex-shrink: 0; margin-top: 5px; }

/* ---------- Totem de piso (mock do hero) ----------
   Desenhado em CSS: bezel escuro, tela clara, barra de marca e base.
   A silhueta de quiosque é o que faz a pessoa reconhecer o produto na hora. */
.totem-stage { position: relative; display: flex; justify-content: center; padding: 10px 0 0; }
.totem-stage::before {
  content: ''; position: absolute; inset: 4% -18% -8% -18%; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(15, 118, 110, 0.30), transparent 74%),
    radial-gradient(closest-side at 70% 80%, rgba(124, 58, 237, 0.20), transparent 72%);
  filter: blur(6px);
}

.totem {
  position: relative; z-index: 1;
  width: min(354px, 100%);
  background: linear-gradient(168deg, #1a1a24 0%, #0d0d13 58%, #121219 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 30px;
  padding: 20px 16px 16px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 1px 0 rgba(255, 255, 255, 0.10) inset;
}
/* brilho de vidro no topo do gabinete */
.totem::before {
  content: ''; position: absolute; inset: 1px 1px auto; height: 46%;
  border-radius: 29px 29px 40% 40% / 29px 29px 14% 14%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent);
  pointer-events: none;
}
.totem-cam {
  width: 46px; height: 5px; border-radius: 3px; margin: 0 auto 15px;
  background: rgba(255, 255, 255, 0.12);
}

.totem-screen {
  background: linear-gradient(180deg, #ffffff, #f5f5f2);
  border-radius: 16px; padding: 26px 20px 22px; color: #141414;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4) inset, 0 0 0 1px rgba(0, 0, 0, 0.06);
}
/* Espaço da marca do CLIENTE na tela do totem. Na LP fica como placeholder:
   é a marca da clínica que aparece ali, nunca a nossa nem a de um cliente. */
.ts-brand {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; padding-bottom: 15px; border-bottom: 1px solid #ebe9e4;
}
.ts-brandslot {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 10px;
  border: 1.5px dashed #d3d0c9; color: #a5a19a;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.ts-brandslot svg { width: 17px; height: 17px; fill: currentColor; }
/* pata do totem mockado: ícone traçado, não emoji — emoji renderiza colorido e
   diferente em cada sistema, e aqui a marca precisa ser neutra. */
.ts-brand { gap: 9px; font-weight: 700; color: #3b3a37; }
.ts-paw { display: inline-flex; color: #0f766e; }
.ts-paw svg { width: 20px; height: 20px; }
.ts-label {
  font-size: 0.63rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: #9a9a9a; font-weight: 700; text-align: center;
}
.ts-code {
  font-size: clamp(3.6rem, 7.4vw, 4.7rem); font-weight: 900; text-align: center;
  line-height: 1; letter-spacing: -0.045em; color: #7c3aed; margin: 4px 0 14px;
  font-variant-numeric: tabular-nums;
}
.ts-badge {
  display: block; width: fit-content; margin: 0 auto 15px;
  background: #7c3aed; color: #fff; font-size: 0.6rem; font-weight: 800;
  letter-spacing: 0.13em; padding: 7px 15px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.32);
}
.ts-svc { text-align: center; font-weight: 700; font-size: 1rem; }
.ts-pet { text-align: center; color: #6b6b6b; font-size: 0.87rem; margin-top: 2px; }
.ts-note {
  margin-top: 16px; background: #f5f3ff; border: 1px solid #e6e0fb;
  border-radius: 11px; padding: 12px;
  font-size: 0.7rem; line-height: 1.55; color: #5b21b6; text-align: center;
}

/* barra de marca na base do gabinete, como num totem real */
/* barra inferior do gabinete: leitor de QR e faixa de luz, como num totem real */
.totem-brandbar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 15px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.totem-led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 10px var(--teal-bright);
  animation: ledPulse 2.4s ease-in-out infinite;
}
@keyframes ledPulse { 0%, 100% { opacity: .45 } 50% { opacity: 1 } }
.totem-brandbar span {
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(233, 236, 246, 0.34); font-weight: 700;
}

/* sombra projetada no chão — dá o peso de equipamento sem desenhar pedestal */
.totem-stage::after {
  content: ''; position: absolute; left: 50%; bottom: -26px;
  transform: translateX(-50%);
  width: 74%; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.78), transparent 78%);
  filter: blur(3px); pointer-events: none;
}

.totem-caption {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 22px; font-size: 0.8rem; color: var(--muted-2);
}
.totem-caption svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Hero em movimento ----------
   Mostra o produto FUNCIONANDO: a senha sendo emitida no totem e o painel de
   TV chamando o número. Tudo em CSS — nada de vídeo pesando no carregamento. */
.hero-viz { position: relative; }

/* senha que troca sozinha, como numa recepção em movimento */
.viz-cycle { position: relative; height: 1em; }
.viz-cycle > span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; animation: vizCycle 10.2s cubic-bezier(.4, 0, .2, 1) infinite;
}
.viz-cycle > span:nth-child(1) { animation-delay: 0s; }
.viz-cycle > span:nth-child(2) { animation-delay: 3.4s; }
.viz-cycle > span:nth-child(3) { animation-delay: 6.8s; }
@keyframes vizCycle {
  0%          { opacity: 0; transform: translateY(16px) scale(.96); }
  4%, 29%     { opacity: 1; transform: translateY(0) scale(1); }
  33%, 100%   { opacity: 0; transform: translateY(-16px) scale(.96); }
}

/* o selo de preferencial só acompanha a senha preferencial */
.viz-badge-slot { height: 30px; margin-bottom: 15px; position: relative; }
.viz-badge-slot .ts-badge {
  position: absolute; left: 50%; transform: translateX(-50%);
  margin: 0; opacity: 0; animation: vizBadge 10.2s ease infinite;
}
@keyframes vizBadge {
  0%, 29%    { opacity: 0; transform: translateX(-50%) scale(.9); }
  34%, 62%   { opacity: 1; transform: translateX(-50%) scale(1); }
  67%, 100%  { opacity: 0; transform: translateX(-50%) scale(.9); }
}

/* painel de TV flutuando na frente do totem */
/* encosta no canto inferior esquerdo do gabinete, sem tapar o texto da tela */
.viz-panel {
  position: absolute; left: -13%; bottom: -4%; z-index: 3;
  width: min(216px, 58%);
  background: linear-gradient(180deg, #16233d, #111c33);
  border: 1px solid rgba(45, 212, 191, 0.30);
  border-radius: 18px; padding: 16px 18px;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.62);
  animation: vizFloat 6s ease-in-out infinite;
}
@keyframes vizFloat {
  0%, 100% { transform: translateY(0) }
  50%      { transform: translateY(-11px) }
}
.viz-panel-lbl {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-bright);
}
.viz-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal-bright);
  animation: vizRing 2s ease-out infinite;
}
@keyframes vizRing {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.6) }
  70%  { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0) }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0) }
}
.viz-panel-code {
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.05; margin: 6px 0 2px;
  font-variant-numeric: tabular-nums; color: #fff;
}
.viz-panel-at { font-size: 0.86rem; color: var(--muted); font-weight: 600; }

/* alerta de emergência entrando pelo totem */
.viz-alert {
  position: absolute; right: -6%; top: 16%; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 999px;
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.42);
  opacity: 0; animation: vizAlert 10.2s ease infinite;
}
.viz-alert svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
@keyframes vizAlert {
  0%, 66%   { opacity: 0; transform: translateX(14px) scale(.92); }
  71%, 92%  { opacity: 1; transform: translateX(0) scale(1); }
  97%, 100% { opacity: 0; transform: translateX(14px) scale(.92); }
}


/* ---------- Faixa de prova ---------- */
.proof-strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: clamp(30px, 4vw, 46px) 0;
}
.proof-item { text-align: center; }
/* Um tom só. Alternar teal e violeta aqui não comunicava nada — era enfeite. */
.proof-num {
  font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
}
.proof-num.grad, .proof-num.grad-violet {
  background: none; -webkit-text-fill-color: currentColor; color: var(--ink);
}
.proof-lbl { font-size: 0.86rem; color: var(--muted-2); margin-top: 4px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color var(--t), transform var(--t);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
/* Ícone neutro por padrão. Cor aqui é RUÍDO: quando tudo é colorido, o
   vermelho da emergência e o violeta da prioridade legal param de significar
   alguma coisa. Cor só entra onde carrega significado do produto. */
.card-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-strong);
  margin-bottom: 18px;
}
.card-ico svg { width: 21px; height: 21px; fill: none; stroke: var(--muted); stroke-width: 1.9; }
/* Sem variantes coloridas de ícone. A regra da página é uma só, e cor fica
   reservada para três lugares onde ela É a informação:
     1. o semáforo clínico (emergência / urgência / normal)
     2. a faixa que separa as duas colunas de prioridade
     3. o ✕ e o ✓ do "o sistema diz / não diz"
   O resto é cinza. Um ícone colorido no meio de nove cinzas não significava
   nada — só parecia erro. */

/* ---------- Passos (linha do tempo) ----------
   Cinco caixas soltas não diziam que era uma SEQUÊNCIA. Aqui os passos ficam
   sobre uma linha contínua: no desktop na horizontal, no celular na vertical. */
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  position: relative; padding-top: 8px;
}
/* o trilho que liga os passos */
.steps::before {
  content: ''; position: absolute; top: 26px; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}
.step { position: relative; padding: 0 14px; text-align: center; }
.step-n {
  position: relative; z-index: 1;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 18px;
  background: var(--bg); color: var(--muted);
  border: 2px solid var(--line-strong);
  font-family: var(--font-head); font-weight: 800; font-size: 0.92rem;
  transition: border-color var(--t), color var(--t);
}
/* o primeiro e o último ancoram a sequência */
.step:first-child .step-n,
.step:last-child .step-n { border-color: var(--teal); color: var(--teal-bright); }
.step h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

@media (max-width: 860px) {
  /* vertical: o trilho passa a correr do lado esquerdo, colado nos números */
  .steps { grid-template-columns: 1fr; gap: 26px; padding-top: 0; }
  .steps::before {
    top: 10px; bottom: 10px; left: 19px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--line-strong), var(--line-strong) 90%, transparent);
  }
  .step {
    display: grid; grid-template-columns: 38px 1fr;
    column-gap: 16px; row-gap: 4px;
    text-align: left; padding: 0;
  }
  /* o número ocupa as duas linhas; título e texto ficam SEMPRE na coluna 2.
     Sem isto o parágrafo caía na coluna de 38px e saía uma palavra por linha. */
  .step-n { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .step h4 { grid-column: 2; margin: 7px 0 0; }
  .step p { grid-column: 2; padding-bottom: 4px; }
}

/* ---------- Tabela das duas variáveis (o diferencial) ---------- */
.dual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 12px;
}
/* Cartão neutro. A distinção entre as duas colunas é feita por uma faixa fina
   no topo e pelo rótulo — não por fundo tingido mais borda colorida, que era
   cor demais para dizer uma coisa só. */
.dual-col {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card-2), var(--card));
}
.dual-col::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
}
.dual-col.tutor::before { background: var(--violet); }
.dual-col.pet::before { background: var(--teal); }
.dual-tag {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px;
}
.dual-col.tutor .dual-tag { color: var(--violet-bright); }
.dual-col.pet .dual-tag { color: var(--teal-bright); }
.dual-col h3 { font-size: 1.32rem; margin-bottom: 8px; }
.dual-col > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.dual-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.pill {
  font-size: 0.79rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--muted);
}
/* As categorias legais são uma LISTA, não nove estados diferentes. Neutras,
   elas param de competir com o semáforo clínico da coluna ao lado. */
.pill.violet { color: var(--muted); border-color: var(--line-strong); background: rgba(255,255,255,0.03); }
/* Único semáforo da página: aqui a cor É a informação (gravidade). */
.pill.teal { color: var(--teal-bright); border-color: rgba(45,212,191,0.38); background: rgba(15,118,110,0.1); }
.pill.red { color: #fca5a5; border-color: rgba(220,38,38,0.45); background: rgba(220,38,38,0.12); }
.pill.amber { color: #fcd34d; border-color: rgba(245,158,11,0.42); background: rgba(245,158,11,0.1); }
.dual-foot {
  font-size: 0.84rem; color: var(--muted-2); border-top: 1px solid var(--line);
  padding-top: 16px; line-height: 1.6;
}

/* Bloco "o que dizemos / o que não dizemos" */
.says { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.say {
  border-radius: var(--radius); padding: 24px; border: 1px solid var(--line);
  font-size: 1.02rem; line-height: 1.55; font-weight: 600;
}
/* Dois blocos grandes tingidos de vermelho e verde pesavam demais. O contraste
   está no ✕ e no ✓ — o cartão pode ser neutro. */
.say-no, .say-yes { background: var(--card); border-color: var(--line); }
.say-no { border-left: 3px solid rgba(220,38,38,0.55); }
.say-yes { border-left: 3px solid rgba(34,197,94,0.55); }
.say-lbl {
  display: flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.say-no .say-lbl { color: #f87171; }
.say-yes .say-lbl { color: #4ade80; }
.say-lbl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; }

/* ---------- Base legal ---------- */
.laws { display: grid; gap: 12px; }
.law {
  display: flex; gap: 15px; align-items: flex-start; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.law-n {
  font-family: var(--font-head); font-weight: 800; font-size: 0.84rem;
  color: var(--violet-bright); background: rgba(124,58,237,0.14);
  border: 1px solid rgba(167,139,250,0.28); border-radius: 7px;
  padding: 4px 10px; flex-shrink: 0; white-space: nowrap;
}
.law p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Lista com check ---------- */
.checks { display: grid; gap: 13px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; }
.checks svg {
  width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px;
  fill: none; stroke: var(--teal-bright); stroke-width: 2.6;
}
.checks b { font-weight: 700; }
.checks span { color: var(--muted); }

/* ---------- Preço unitário (por totem) ---------- */
.price-hero {
  border-radius: var(--radius-lg); padding: clamp(32px, 4.5vw, 52px);
  background:
    radial-gradient(120% 150% at 12% 0%, rgba(15, 118, 110, 0.26), transparent 62%),
    radial-gradient(120% 150% at 100% 100%, rgba(124, 58, 237, 0.16), transparent 62%),
    linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px);
  align-items: center;
}
.price-main { text-align: center; }
.price-kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2);
}
.price-value {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.04em;
  font-size: clamp(3.6rem, 8vw, 5.4rem); line-height: 1; margin: 8px 0 2px;
}
.price-value small { font-size: 0.3em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price-unit { font-size: 1.05rem; font-weight: 700; color: var(--teal-bright); }
.price-hint { font-size: 0.88rem; color: var(--muted-2); margin-top: 14px; line-height: 1.6; }
.price-side { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.price-side h3 { font-size: 1.12rem; margin-bottom: 6px; }
.price-side > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 18px; }
.setup-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
}
.setup-row:last-of-type { border-bottom: 0; }
.setup-row span { color: var(--muted); }
.setup-row b { font-family: var(--font-head); font-weight: 800; white-space: nowrap; }

@media (max-width: 860px) {
  .price-hero { grid-template-columns: 1fr; }
  .price-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 26px; }
}

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; }
.plan {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  position: relative;
}
.plan.featured { border-color: rgba(45,212,191,0.42); box-shadow: 0 0 0 1px rgba(45,212,191,0.16), var(--shadow); }
.plan-flag {
  position: absolute; top: -11px; left: 26px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal)); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px;
}
.plan h3 { font-size: 1.22rem; margin-bottom: 6px; }
.plan-sub { font-size: 0.86rem; color: var(--muted-2); margin-bottom: 20px; }
.plan-price { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.plan-price small { font-size: 0.86rem; font-weight: 600; color: var(--muted-2); letter-spacing: 0; }
.plan-per { font-size: 0.82rem; color: var(--muted-2); margin-bottom: 22px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 24px; }
.plan li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--muted); align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--teal-bright); stroke-width: 2.6; }
.plan li.off { color: var(--muted-2); }
.plan li.off svg { stroke: var(--muted-2); }
.plan .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px; transition: border-color var(--t);
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 1rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.4rem; color: var(--teal-bright); font-weight: 400;
  line-height: 1; flex-shrink: 0;
}
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--muted); font-size: 0.94rem; margin-top: 14px; }

/* ---------- CTA ---------- */
.cta-box {
  border-radius: var(--radius-lg); padding: clamp(38px, 5vw, 62px);
  background:
    radial-gradient(120% 140% at 15% 0%, rgba(15,118,110,0.3), transparent 60%),
    radial-gradient(120% 140% at 100% 100%, rgba(124,58,237,0.2), transparent 60%),
    var(--card);
  border: 1px solid var(--line-strong); text-align: center;
}
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { color: var(--muted); max-width: 60ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }

/* ---------- Formulário ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 17px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--line-strong);
  border-radius: 11px; padding: 13px 15px; font-size: 0.95rem; transition: border-color var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-bright); }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 14px; line-height: 1.6; }
.form-msg { border-radius: 11px; padding: 14px 16px; font-size: 0.92rem; margin-bottom: 18px; display: none; }
.form-msg.ok { display: block; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.35); color: #86efac; }
.form-msg.err { display: block; background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.35); color: #fca5a5; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: clamp(44px, 5vw, 66px) 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 40px; }
.foot-brand p { color: var(--muted-2); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.foot-col h5 {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted-2); margin-bottom: 15px;
}
.foot-col a { display: block; padding: 5px 0; font-size: 0.92rem; color: var(--muted); transition: color var(--t); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--muted-2);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

/* Nada pode furar a lateral: o hero tem peças posicionadas em absoluto e, em
   tela estreita, elas saíam do viewport. */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .dual, .says, .form-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  /* Empilhado, o texto do hero fica centrado: o totem logo abaixo é centrado,
     e um bloco alinhado à esquerda sobre uma peça centrada fica torto. */
  .hero-grid > div:first-child { text-align: center; }
  .hero .eyebrow { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-note { justify-content: center; text-align: left; max-width: 46ch; margin-inline: auto; }

  /* A composição sai do sobreposto e vira empilhada. Sobrepor peça absoluta em
     coluna estreita é o que jogava o card "chamando agora" para fora da tela. */
  .hero-viz { max-width: 420px; margin-inline: auto; }
  .totem-stage { flex-direction: column; align-items: center; gap: 16px; }
  .totem-stage::after { display: none; }
  .viz-panel,
  .viz-alert {
    position: static;
    transform: none;
    width: 100%;
    max-width: 320px;
    animation: none;
  }
  .viz-alert { width: fit-content; justify-content: center; }
  .totem-caption { margin-top: 26px !important; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn-ghost { display: none; }
  .nav-wrap { gap: 12px; }
}

@media (max-width: 620px) {
  /* Só a marca e o menu no topo: o botão de CTA junto não cabia e empurrava o
     hambúrguer para fora da tela. O CTA continua dentro do menu. */
  .nav-cta { display: none; }
  .brand-logo { height: 26px; }

  .hero { padding-top: 40px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .eyebrow { font-size: .7rem; letter-spacing: .1em; padding: 6px 11px; }

  .sec-head p, .hero-lead { font-size: 1rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  /* preço: o valor gigante não pode encostar na borda */
  .price-hero { padding: 26px 20px; }
  .price-value { font-size: clamp(3rem, 15vw, 4rem); }
  .setup-row { flex-direction: column; align-items: flex-start; gap: 2px; }

  .totem { padding: 16px 12px 12px; border-radius: 24px; }
  .totem-screen { padding: 22px 16px 18px; }
}

@media (max-width: 620px) {
  /* Rodapé em coluna única: alinhado à esquerda ele fica desencostado do resto
     da página, que já está centrado nesse tamanho. */
  .foot-grid { text-align: center; }
  .foot-brand .brand { justify-content: center; }
  .foot-brand p { margin-inline: auto; }
  .foot-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .card, .dual-col, .plan { padding: 24px 20px; }
  .container, .container-narrow { width: min(1200px, 90%); }
  .laws .law { flex-direction: column; gap: 8px; }
  .faq details { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
