:root {
  --bg: #001635;
  /* Degradê radial do Figma (mesmas paradas em todo o site) */
  --bg-glow: #00c8ff 0%, #004fc0 32%, #00255a 57%, #001635 100%;
  /* Cores semânticas no modelo da HIG (label / secondaryLabel / tertiaryLabel), levemente azuladas */
  --ink: #f4f8ff;
  --ink-2: rgba(235, 242, 255, 0.74);
  --ink-3: rgba(235, 242, 255, 0.58);
  --on-ink: #0b4fae;
  /* Separadores finos e preenchimentos neutros (separator / tertiarySystemFill) */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(120, 180, 255, 0.45);
  /* Material "regular": vidro azul-marinho com desfoque, no lugar do degradê */
  --surface: rgba(6, 34, 86, 0.55);
  --material-blur: saturate(180%) blur(30px);
  --chip: rgba(255, 255, 255, 0.06);
  --chip-hover: rgba(255, 255, 255, 0.1);
  --field: rgba(0, 12, 36, 0.55);
  /* Uma cor de destaque só: systemBlue (modo escuro) e um tom claro para texto */
  --blue: #0a84ff;
  --blue-ink: #8cc4ff;
  --blue-soft: rgba(10, 132, 255, 0.18);
  --accent-text: #0a6fe0;
  --green: #30d158;
  --orange: #ffd60a;
  --red: #ff6961;
  --glow: 0 0 0 1px rgba(80, 170, 255, 0.1), 0 0 40px rgba(10, 132, 255, 0.2);
  --shadow: 0 20px 50px rgba(0, 8, 30, 0.35);
  /* Fonte do sistema (SF Pro no iPhone e no Mac); Inter só onde não houver SF */
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, sans-serif;
  /* Escala de texto da HIG (iOS, tamanho padrão), tracking da tabela do SF Pro */
  --t-title1: 600 28px/34px var(--font);
  --t-title2: 600 22px/28px var(--font);
  --t-title3: 600 20px/25px var(--font);
  --t-headline: 600 17px/22px var(--font);
  --t-callout: 400 16px/21px var(--font);
  --t-subhead: 400 15px/20px var(--font);
  --t-footnote: 400 13px/18px var(--font);
  --t-caption: 400 12px/16px var(--font);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  /* Texto base no padrão Apple: 17px, entrelinha 1.47 e -0.022em */
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  -webkit-tap-highlight-color: transparent;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Fundo: degradê radial do Figma saindo da borda direita; cobre a página inteira e rola junto */
body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg) radial-gradient(circle 800px at 100% min(100%, 960px), var(--bg-glow)) no-repeat;
}
/* Na página inicial o brilho nasce logo abaixo do formulário (ver .layout::after) */
body:has(.layout)::before { background: var(--bg); }

a { color: var(--blue-ink); }

button { font: inherit; cursor: pointer; }

::selection { background: rgba(10, 132, 255, 0.4); }

/* Foco visível para teclado, no anel de foco do sistema */
:focus-visible { outline: 3px solid rgba(10, 132, 255, 0.7); outline-offset: 2px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; margin: 0 auto; padding: 0 20px; }

/* ---------- marca ---------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.logo {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.035em;
  line-height: 1;
}
.logo sup { font-size: 0.42em; font-weight: 600; vertical-align: 0.95em; margin-left: 1px; letter-spacing: 0; opacity: 0.6; }

.tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pill {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  line-height: 1;
}
.pill.ghost { background: var(--blue-soft); color: var(--blue-ink); }
.pill.dark { background: rgba(255, 255, 255, 0.08); color: var(--ink-2); border: 1px solid var(--line); }

header.top { padding: 32px 0; }
header.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* ---------- tipografia ---------- */

.display {
  font-weight: 600;
  letter-spacing: 0.004em; /* tabela de tracking do SF Pro: títulos grandes ficam perto de zero */
  line-height: 1.07;
  display: inline-block; /* o degradê cobre só o texto, não a coluna inteira */
  padding-bottom: 0.06em; /* espaço para o "g" e o "p" não cortarem com o degradê */
  /* Degradê diagonal do Figma: #FFFFFF (topo esquerdo) até #CEEBFF (base direita) */
  background: linear-gradient(to bottom right, #ffffff 0%, #ceebff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f4f8ff;
  font-size: clamp(48px, 4.8vw, 64px);
}
.display .soft { color: inherit; }
.h2 { font-weight: 700; letter-spacing: 0.009em; line-height: 1.08; font-size: clamp(28px, 4vw, 44px); }
.h3 { font: var(--t-title3); letter-spacing: -0.023em; }
.lead { font-size: 21px; line-height: 1.38; color: var(--ink-2); letter-spacing: -0.018em; }
.lead strong { color: var(--ink); font-weight: 600; }
.muted { color: var(--ink-3); }
.small { font: var(--t-subhead); letter-spacing: -0.016em; }
.center { text-align: center; }
.blue { color: var(--blue-ink); }
code { font-size: 0.9em; color: var(--blue-ink); }

/* ---------- hero + funil ---------- */

.layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, 540px);
  gap: 64px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 32px;
  position: relative;
}
.layout::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  bottom: -800px;
  height: 1600px;
  pointer-events: none;
  background: radial-gradient(circle 800px at 100% 50%, var(--bg-glow));
}
.hero { position: sticky; top: 48px; padding-top: 24px; }
.hero .display { margin-bottom: 24px; }
.hero .lead { max-width: 21em; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
  -webkit-backdrop-filter: var(--material-blur);
  backdrop-filter: var(--material-blur);
}
.card.glow { border-color: var(--line-strong); box-shadow: var(--glow), var(--shadow); }

.funnel { padding: 36px 32px 32px; position: relative; overflow: clip; }

.progress { height: 4px; background: rgba(255, 255, 255, 0.12); border-radius: 999px; overflow: hidden; margin-bottom: 28px; }
.progress > i { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 999px; transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }

.step { display: none; animation: rise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.step.active { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.step-label i { vertical-align: -2px; }
.step-label { font: var(--t-footnote); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 16px; }
.step h2 { font: var(--t-title1); letter-spacing: 0.014em; margin-bottom: 8px; text-wrap: balance; }
.step .hint { color: var(--ink-2); margin-bottom: 24px; }

.options { display: grid; gap: 12px; margin-top: 24px; }

.option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  min-height: 56px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--chip);
  border-radius: 14px;
  font-size: 17px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.026em;
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.option:hover { background: var(--chip-hover); }
.option:active { transform: scale(0.98); background: var(--chip-hover); }
.option.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.opt-body { display: grid; gap: 2px; }
.opt-name { font-weight: 600; }
.opt-price { color: var(--blue-ink); font-weight: 500; }
.opt-sub { font: var(--t-subhead); letter-spacing: -0.016em; color: var(--ink-2); }
.option .key {
  flex: none;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  font: var(--t-subhead); font-weight: 600;
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s;
}
.option.selected .key { background: var(--blue); border-color: var(--blue); }

.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font: var(--t-subhead); font-weight: 500; letter-spacing: -0.016em; color: var(--ink-2); }
/* Medidas de campo no padrão dos formulários do apple.com: 56px de altura, cantos de 12px,
   texto de 17px com -0.022em e grade de espaçamento em múltiplos de 4px */
.field input, .field textarea, .field select {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 17px;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--field);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.25); }
.field.invalid input { border-color: var(--red); }
.field .err { display: none; color: var(--red); font: var(--t-footnote); letter-spacing: -0.006em; }
.field.invalid .err { display: block; }
.phone-row { display: grid; grid-template-columns: auto 1fr; gap: 4px; }
.ddi {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--field);
  font-size: 17px;
  letter-spacing: -0.022em;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.ddi::after { content: ''; width: 7px; height: 7px; border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); transform: rotate(45deg) translateY(-3px); margin-left: 2px; }
.ddi:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.25); }
.ddi select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 17px; }
.ddi select option { color: #111; }
.field.invalid .ddi { border-color: var(--red); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.booked-actions { justify-content: flex-start; flex-wrap: wrap; }
[hidden] { display: none !important; }
.nav.solo { justify-content: center; }
.nav.solo #back { display: none; }
.nav.solo .btn { width: 100%; padding-left: 24px; padding-right: 24px; }
.nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  padding: 14px 40px;
  font: var(--t-headline);
  letter-spacing: -0.026em;
  white-space: nowrap; /* rótulo do botão sempre em uma linha */
  text-decoration: none;
  background: #f5f9ff;
  color: var(--accent-text);
  box-shadow: 0 0 0 1px rgba(160, 220, 255, 0.5), 0 8px 30px rgba(20, 130, 255, 0.35);
  transition: transform 0.1s, opacity 0.15s, box-shadow 0.15s;
}
.btn:hover { box-shadow: 0 0 0 1px rgba(160, 220, 255, 0.8), 0 10px 40px rgba(20, 130, 255, 0.55); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn.blue { background: var(--blue); color: #fff; box-shadow: 0 8px 30px rgba(10, 132, 255, 0.4); }
.btn.ghost { background: transparent; color: var(--ink-2); min-height: 44px; padding: 12px 8px; box-shadow: none; font: var(--t-callout); font-weight: 500; letter-spacing: -0.02em; }
.btn.ghost:hover { color: var(--ink); }
.btn.outline { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.btn.outline:hover { background: rgba(255, 255, 255, 0.06); }
.btn.sm { min-height: 44px; padding: 10px 20px; font: var(--t-subhead); font-weight: 600; letter-spacing: -0.016em; }
.btn.block { width: 100%; }

.notice {
  padding: 16px 16px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: #b9dcff;
  font: var(--t-subhead);
  letter-spacing: -0.016em;
  margin-top: 16px;
  border: 1px solid var(--line);
}
.notice.warn { background: rgba(255, 184, 76, 0.12); color: #ffd394; border-color: rgba(255, 184, 76, 0.25); }
.notice.error { background: rgba(255, 90, 90, 0.14); color: #ffb0b0; border-color: rgba(255, 90, 90, 0.3); }

/* ---------- calendário ---------- */

.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.days { display: grid; gap: 8px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.day {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--chip);
  text-align: left;
  color: var(--ink);
}
.day:hover { background: var(--chip-hover); }
.day.selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.day strong { font-weight: 600; }
.day small { font: var(--t-footnote); color: var(--ink-3); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; align-content: start; }
.time {
  min-height: 44px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--chip);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.time:hover { background: var(--chip-hover); }
.time.selected { background: var(--blue); border-color: var(--blue); color: #fff; }
.cal-empty { color: var(--ink-3); font: var(--t-subhead); padding: 12px 0; }

.summary {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--field);
  border: 1px solid var(--line);
  margin-top: 20px;
}
.summary i { color: var(--green); font-size: 21px; flex: none; }

.spinner { width: 22px; height: 22px; border: 2.5px solid rgba(140, 196, 255, 0.25); border-top-color: var(--blue-ink); border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- comparação (carrossel) ---------- */

.vs-zone { position: relative; margin-top: 0; overflow: hidden; }
.vs-zone::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: clamp(160px, 34vw, 300px); bottom: 0;
  background: #02050b;
  border-radius: 64px 64px 0 0;
  box-shadow: 0 -24px 80px rgba(0, 110, 255, 0.18);
}
.vs-zone > * { position: relative; }
.vs-zone .foot { padding-top: 24px; }

.vs { overflow-x: clip; padding-top: 16px; }

/* Roda giratória: os cards giram em torno de um eixo abaixo deles */
.vs-wheel {
  display: grid;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  --angle: 32deg;
}
.vs-wheel.dragging { cursor: grabbing; }
.vs-slide {
  grid-area: 1 / 1;
  justify-self: center;
  width: min(78%, 400px);
  display: flex;
  flex-direction: column;
  transform-origin: 50% 190%;
  transform: rotate(calc(var(--pos, 0) * var(--angle) + var(--drag, 0deg)));
  transition: transform 0.7s cubic-bezier(0.22, 0.9, 0.24, 1), filter 0.7s;
  will-change: transform;
}
.vs-wheel.dragging .vs-slide { transition: none; }
.vs-slide:not(.active) { filter: brightness(0.7); z-index: 0; }
.vs-slide .vs-card > *, .vs-slide .vs-phones { transition: opacity 0.5s; }
.vs-slide:not(.active) .vs-card > * { opacity: 0.12; }
.vs-slide.active { z-index: 1; }
.vs-slide img { pointer-events: none; -webkit-user-drag: none; }

.vs-phones { position: relative; z-index: 2; width: 96%; margin: 0 auto; aspect-ratio: 487 / 332; }
.vs-phones img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }

.vs-card {
  flex: 1;
  margin-top: -26%;
  padding: calc(26% + 20px) 24px 32px;
  border-radius: 28px;
  border: 1px solid;
}
.vs-card h2 { text-align: center; text-transform: uppercase; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; letter-spacing: 0.01em; margin-bottom: 24px; }
.vs-card h2.vs-logo { text-transform: none; }
.vs-card ul { list-style: none; display: grid; gap: 0; }
/* Estilo Apple: ícone em cima, texto centralizado, divisórias finas */
.vs-card li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 4px; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.35; letter-spacing: -0.01em; text-wrap: balance; }
.vs-card li + li { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.vs-card li i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; }
.them .vs-card {
  border-color: #ff4a4f;
  background: radial-gradient(120% 60% at 30% 0%, rgba(70, 30, 110, 0.55), transparent 60%), linear-gradient(180deg, #16060f 0%, #050205 60%, #000 100%);
  box-shadow: 0 0 36px rgba(255, 60, 70, 0.45), inset 0 0 40px rgba(255, 60, 70, 0.12);
}
.them h2 { color: #ff4a4f; }
.them li { color: #f3f5f8; }
.them li i { border-radius: 50%; background: #ff4a4f; color: var(--ink); font-size: 14px; }

.us .vs-card {
  border-color: #2b93ff;
  background: linear-gradient(180deg, #004fc0 0%, #00255a 40%, #001635 70%, #02050b 100%);
  box-shadow: 0 0 40px rgba(30, 140, 255, 0.55), inset 0 0 40px rgba(60, 160, 255, 0.12);
}
.us h2 { color: var(--ink); }
.us li { color: #c8dcf7; }
.us li i { color: #4aa8ff; font-size: 24px; }

/* Celulares genéricos em leque (desenhados em CSS) */
.fan { container-type: inline-size; }
.gphone {
  position: absolute;
  top: 4%;
  width: 36%;
  aspect-ratio: 10 / 16;
  border-radius: 6cqw;
  background: #151515;
  border: 1px solid #2a2a2a;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6cqw;
  padding-bottom: 3cqw;
  font-size: 2.2cqw;
}
.gphone:nth-child(1) { left: 3%; transform: rotate(-8deg); top: 10%; }
.gphone:nth-child(2) { left: 32%; top: 0; z-index: 1; }
.gphone:nth-child(3) { right: 3%; transform: rotate(8deg); top: 10%; z-index: 2; }
.gp-photo { flex: none; width: 100%; height: 26%; display: grid; place-items: end center; background: linear-gradient(180deg, #2b2b2b, #151515); }
.gp-photo img { width: 13cqw; height: 13cqw; border-radius: 50%; object-fit: cover; transform: translateY(35%); border: 0.5cqw solid #151515; }
.gphone .gp-name { margin-top: 4cqw; }
/* Variações: cada celular com um visual genérico diferente */
.g-rose { background: #fbeff1; border-color: #ead3d8; }
.g-rose .gp-photo { background: linear-gradient(180deg, #f3b8c4, #fbeff1); }
.g-rose .gp-photo img { border-color: #fbeff1; }
.g-rose .gp-name { color: #3a2228; }
.g-rose .gp-tag { background: #f1d4da; color: #8a4b58; }
.g-rose b { background: #e67e96; color: #fff; border-radius: 99px; }
.g-dark b { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #555; }
.g-sand { background: #efe8dc; border-color: #d9cfbd; }
.g-sand .gp-photo { background: linear-gradient(180deg, #b9a98d, #efe8dc); }
.g-sand .gp-photo img { border-color: #efe8dc; }
.g-sand .gp-name { color: #2f2a22; }
.g-sand .gp-tag { background: #ddd2bf; color: #6b5f4b; }
.g-sand b { background: #fff; color: #2f2a22; border-radius: 0.6cqw; }
.gp-name { color: #fff; font-weight: 700; font-size: 2.6cqw; display: flex; align-items: center; gap: 0.8cqw; margin-top: -1cqw; }
.gp-name i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #3aa0ff; }
.gp-tag { background: #333; color: #ccc; font-size: 1.7cqw; padding: 0.4cqw 2cqw; border-radius: 1cqw; margin-bottom: 1cqw; }
.gphone b { flex: none; line-height: 1.2; width: 84%; background: #fff; color: #222; font-weight: 500; text-align: center; padding: 1.3cqw 0; border-radius: 1.8cqw; white-space: nowrap; overflow: hidden; }

.vs-dots { display: flex; justify-content: center; gap: 4px; margin: 16px 0 0; }
/* Botão com 44pt de altura para o dedo; o ponto visível continua com 12px */
.vs-dots button { display: grid; place-items: center; height: 44px; padding: 0 4px; border: 0; background: none; }
.vs-dots button::before { content: ''; width: 12px; height: 12px; border-radius: 999px; background: #7a7a7a; transition: width 0.3s, background 0.3s; }
.vs-dots button.on::before { width: 60px; }
.vs-dots button.on.red::before { background: #ff4a4f; }
.vs-dots button.on.blue::before { background: var(--blue); }

@media (min-width: 900px) {
  .vs-wheel { --angle: 18deg; }
  .vs-card { padding-left: 40px; padding-right: 40px; }
}

/* ---------- VSL / obrigado ---------- */

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #010a1a;
  border: 1px solid var(--line-strong);
  box-shadow: var(--glow), var(--shadow);
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-3); text-align: center; padding: 20px; font-size: 14px; }

.steps-list { display: grid; gap: 12px; counter-reset: s; }
.steps-list li { list-style: none; display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--chip); border: 1px solid var(--line); border-radius: 12px; }
.steps-list li::before {
  counter-increment: s; content: counter(s);
  flex: none; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; font: var(--t-subhead); font-weight: 700;
}

footer.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; color: var(--ink-3); font: var(--t-footnote); }

/* ---------- responsivo ---------- */

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 36px; padding-top: 8px; }
  .hero { position: static; padding-top: 0; }
}

@media (max-width: 720px) {
  .funnel { padding: 28px 24px 24px; border-radius: 28px; }
  header.top { padding: 28px 0 20px; }
  .layout { padding-left: 16px; padding-right: 16px; padding-top: 8px; padding-bottom: 16px; }
  .cal, .compare, .grid-2 { grid-template-columns: 1fr; }
  /* Carrossel de dias: sem barra de rolagem, encaixe por card e o próximo dia "espiando" na borda */
  .days { max-height: none; grid-auto-flow: column; grid-auto-columns: 128px; overflow-x: auto; overflow-y: hidden; padding: 0 24px 0 0; scroll-snap-type: x mandatory; scroll-padding-left: 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .days::-webkit-scrollbar { display: none; }
  .days .day { scroll-snap-align: start; }
  /* Texto das opções em Callout (16pt), mínimo confortável no iPhone */
  .option { padding: 14px 16px; gap: 14px; font: var(--t-callout); font-weight: 500; letter-spacing: -0.02em; }
  .option .key { width: 32px; height: 32px; }
  .step h2 { font: var(--t-title2); font-weight: 700; letter-spacing: -0.012em; }
  .display { font-size: 40px; line-height: 1.1; letter-spacing: 0.01em; }
  .lead { font-size: 19px; line-height: 1.42; letter-spacing: -0.024em; }
  .btn { padding: 14px 32px; }
  .logo { font-size: 24px; }
  /* Botão principal fixo perto do polegar, sobre um material, como nas telas do iOS */
  .nav:has(#next:not([hidden])) {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin: 20px -24px 0;
    padding: 12px 24px calc(16px + env(safe-area-inset-bottom));
    background: rgba(4, 26, 70, 0.72);
    -webkit-backdrop-filter: var(--material-blur);
    backdrop-filter: var(--material-blur);
    border-top: 1px solid var(--line);
  }
}

/* ---------- esqueleto de carregamento (agenda) ---------- */

.skeleton { pointer-events: none; border-color: transparent; background: linear-gradient(90deg, rgba(120, 170, 255, 0.08) 25%, rgba(120, 170, 255, 0.2) 50%, rgba(120, 170, 255, 0.08) 75%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.day.skeleton { height: 64px; }
.time.skeleton { height: 46px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- acessibilidade ---------- */

.pill i, .btn i, .vsl-cap i { font-size: 1.1em; }

/* Quem pede menos movimento no sistema: sem animações, a roda troca na hora */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Sem transparência: vidro vira cor sólida com o mesmo contraste */
@media (prefers-reduced-transparency: reduce) {
  .card, .vs-card { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .card { background: #0b2d6b; }
}

/* ---------- impressão (kit em PDF) ---------- */

@media print {
  :root { --ink: #111; --ink-2: #444; --ink-3: #777; --line: #ddd; --chip: #fff; --field: #fff; --surface: #fff; --blue-ink: #1f6fcc; color-scheme: light; }
  body::before { display: none; }
  body { background: #fff; }
  .card { box-shadow: none; backdrop-filter: none; }
}

/* Animação de entrada (ativada pelo common.js) */
.rv { opacity: 0; transform: translateY(12px); transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rv.rv-in { opacity: 1; transform: none; filter: none; }
.step-label.approved { color: var(--green); }
.progress[hidden] { display: none; }
/* Agenda: horários ocupados, poucas vagas, nota de preparo e microtexto do botão */
.time.taken { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.time.taken:hover { border-color: inherit; }
.day small .few { color: var(--orange); font-weight: 600; }
.prep-note { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; padding: 12px 14px; border-radius: 12px; background: rgba(48, 209, 88, 0.08); border: 1px solid rgba(48, 209, 88, 0.25); color: #c9f2e1; font: var(--t-subhead); letter-spacing: -0.016em; }
.prep-note i { color: var(--green); margin-top: 2px; }
.next-note { margin-top: 14px; text-align: center; font: var(--t-footnote); color: var(--ink-3); }
.next-note[hidden] { display: none; }

/* Quem liga "Aumentar contraste": textos e bordas mais fortes */
@media (prefers-contrast: more) {
  :root { --ink-2: rgba(245, 248, 255, 0.9); --ink-3: rgba(245, 248, 255, 0.78); --line: rgba(255, 255, 255, 0.35); --chip: rgba(255, 255, 255, 0.1); }
  .card { background: #0b2d6b; }
}
