/* Workshop Direção de IA · Ruy Martinez
   Estilos compartilhados por /, /gravacao/ e /obrigado/. Sem framework, sem build. */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback com métricas próximas da Inter: o texto não pula quando a fonte chega. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.4%;
  line-gap-override: 0%;
}

:root {
  color-scheme: dark;
  --bg: #0A0A0A;
  --bg-raise: #131313;
  --text: #F5F5F5;
  --text-2: #A3A3A3;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --accent: #3DFF6E;
  --accent-hover: #74FF97;
  --accent-ink: #0A0A0A;
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: 20px;
  --maxw: 1200px;
  --section-y: clamp(88px, 11vw, 152px);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
@media (min-width: 768px) { html { scroll-padding-top: 88px; } }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 650; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

/* Rótulo de software de edição: timecode, REC, selo. Só para rótulos curtos. */
.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Ponto "ao vivo" ---------- */
.live-dot {
  position: relative;
  flex: none;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: live-pulse 1.8s var(--ease-out) infinite;
}
@keyframes live-pulse {
  from { transform: scale(1); opacity: .55; }
  to { transform: scale(3.2); opacity: 0; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 650 16px/1.15 var(--font);
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease-out), background-color .2s var(--ease-out), border-color .2s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 0 6px rgba(61, 255, 110, .12), 0 14px 32px -14px rgba(61, 255, 110, .55);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0) scale(.99); }
.btn--primary:focus-visible { outline-color: var(--text); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .3); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn svg { flex: none; width: 18px; height: 18px; }

/* ---------- Barra do topo ---------- */
.topbar {
  position: relative;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar__in {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: minmax(60px, auto);
  align-items: center;
  gap: 0 16px;
}
.topbar__logo { display: block; padding: 8px 0; }
.topbar__logo img { width: 120px; height: auto; }
.topbar .selo {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 9px 0 11px;
  border-top: 1px solid var(--line);
}
.topbar__cta { grid-column: 3; grid-row: 1; }
.selo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .topbar .selo { grid-column: 2; grid-row: 1; padding: 0; border: 0; justify-self: center; }
  .topbar__logo img { width: 140px; }
}
@media (min-width: 768px) {
  .topbar {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, .74);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    backdrop-filter: saturate(140%) blur(14px);
  }
  .topbar__in { grid-template-rows: minmax(72px, auto); }
  .topbar .selo { justify-self: start; padding-left: 8px; }
}
.topbar--simple .topbar__in { grid-template-columns: auto; }

/* ---------- 1. Topo ---------- */
.hero {
  position: relative;
  padding-block: clamp(36px, 6vw, 72px) clamp(72px, 9vw, 120px);
  overflow: hidden;
  overflow: clip;
}
.hero__grid { display: grid; gap: 56px; }
.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}
.hero__kicker::before {
  content: "";
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.hero__title {
  font-size: clamp(40px, 7.2vw, 88px);
  line-height: .98;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 15ch;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lede {
  margin-top: 26px;
  max-width: 36em;
  color: var(--text-2);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.62;
}
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 34px;
}
.note { color: var(--text-2); font-size: 14px; line-height: 1.5; }
@media (min-width: 640px) {
  .hero__cta { align-items: flex-start; }
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(48px, 6vw, 96px);
  }
}

/* Reel num quadro de celular */
.hero__media {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero__media::before {
  /* luz verde ambiente, a mesma do estúdio do bastidor */
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -30% 12%;
  background: radial-gradient(closest-side, rgba(61, 255, 110, .11), transparent);
  pointer-events: none;
}
.hero__caption { color: var(--text-2); font-size: 14px; text-align: center; }

.phone {
  position: relative;
  width: min(100%, 340px);
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: var(--bg-raise);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .9);
}
@media (min-width: 1024px) {
  .phone { width: calc(min(76vh, 720px) * .5625 + 14px); }
}
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 24px;
  background: #050505;
  isolation: isolate;
}
.phone__video,
.phone__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__video[hidden] { display: none; }
.phone__hud {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 30px;
  background: linear-gradient(rgba(5, 5, 5, .6), rgba(5, 5, 5, 0));
  color: var(--text);
  font-size: 10.5px;
  pointer-events: none;
}
.rec { display: inline-flex; align-items: center; gap: 7px; }
.rec::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.tc { font-variant-numeric: tabular-nums; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(8, 8, 8, .66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
  font: 600 14px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.chip:hover { background: rgba(8, 8, 8, .85); border-color: rgba(255, 255, 255, .34); }
.chip:active { transform: scale(.98); }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip svg[hidden] { display: none; }
.phone__sound {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
}
.phone__sound:active { transform: translateX(-50%) scale(.98); }
.phone__controls {
  position: absolute;
  z-index: 3;
  left: 12px;
  right: 12px;
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.phone__controls[hidden], .phone__sound[hidden] { display: none; }
.phone__progress {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, .14);
  pointer-events: none;
}
.phone__progress span {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.phone.is-loading .phone__progress { animation: loading 1.2s ease-in-out infinite alternate; }
@keyframes loading { from { opacity: .35; } to { opacity: 1; } }

/* ---------- Títulos de seção ---------- */
.sec-title {
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
}
.sec-lede {
  margin-top: 24px;
  max-width: 38em;
  color: var(--text-2);
  font-size: clamp(17px, 1.4vw, 19px);
}

/* ---------- 2. O problema ---------- */
.problema {
  padding-block: var(--section-y) clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}
.escada {
  margin-top: clamp(48px, 7vw, 88px);
  display: grid;
}
.escada li {
  --step: 0;
  margin-left: calc(var(--step) * clamp(18px, 9vw, 150px));
  padding: 22px 0 24px;
  border-top: 1px solid var(--line-strong);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.escada li:nth-child(1) { font-size: clamp(19px, 2vw, 26px); color: rgba(245, 245, 245, .52); }
.escada li:nth-child(2) { --step: 1; font-size: clamp(21px, 2.5vw, 32px); color: rgba(245, 245, 245, .74); }
.escada li:nth-child(3) {
  --step: 2;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 750;
  color: var(--text);
  border-top-color: var(--accent);
}

/* ---------- 3. A virada ---------- */
/* --img-h fica no pai: a imagem usa na altura e o texto usa na margem negativa. */
.virada { position: relative; padding-bottom: var(--section-y); --img-h: 125vw; /* recorte 4:5 no celular */ }
.virada__media {
  position: relative;
  height: var(--img-h);
  overflow: hidden;
}
.virada__media picture { height: 100%; }
.virada__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
/*
  Contraste medido sobre os pixels reais da imagem, com estes degradês
  (lancamento-rui/assets-src/scripts/contraste.py, Pillow + numpy). Mede o PIOR pixel
  do retângulo inteiro onde o bloco de texto pode cair (da margem negativa até o pé
  da imagem, na largura da coluna), não só atrás das letras:
    viewport      título #F5F5F5   texto #A3A3A3
    360x780        16.9:1           7.3:1   (recorte 4:5)
    390x844        16.8:1           7.3:1   (recorte 4:5)
    768x1024       11.9:1           5.2:1   (pior caso da página)
    1024x768       14.5:1           6.3:1
    1440x900       14.4:1           6.2:1
    1920x1080      14.4:1           6.2:1
  Meta: >= 4.5:1. Se trocar a imagem, o recorte ou estes degradês, rode o script de novo.
*/
.virada__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 0) 16%, rgba(10, 10, 10, 0) 38%, rgba(10, 10, 10, .86) 64%, var(--bg) 90%);
}
.virada__copy {
  position: relative;
  margin-top: -40vw;
}
.virada__copy .sec-title { max-width: 14ch; }
.virada__copy p {
  margin-top: 22px;
  max-width: 36em;
  color: var(--text-2);
  font-size: clamp(17px, 1.4vw, 19px);
}
@media (min-width: 768px) {
  .virada { --img-h: min(56.28vw, 90vh); }
  .virada__scrim {
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(10, 10, 10, 0) 16%),
      linear-gradient(0deg, var(--bg) 3%, rgba(10, 10, 10, .84) 30%, rgba(10, 10, 10, 0) 60%);
  }
  .virada__copy {
    width: auto;
    max-width: 36rem;
    margin: calc(var(--img-h) * -.36) var(--gutter) 0 max(var(--gutter), (100% - var(--maxw)) / 2);
  }
}

/* ---------- 4. O que acontece na quarta (linha do tempo) ---------- */
.programa { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.track {
  --rail-x: 4px;
  --mc: 10px; /* centro do marcador, a partir do topo do clipe (alinha com o número) */
  margin-top: clamp(48px, 6vw, 72px);
}
.clip {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 0 0 40px 40px;
  background: linear-gradient(var(--line-strong), var(--line-strong)) var(--rail-x) 0 / 1px 100% no-repeat;
}
.clip:first-child { background-position: var(--rail-x) var(--mc); }
.clip:last-child { background-size: 1px var(--mc); padding-bottom: 0; }
.clip::before {
  /* marcador do clipe no trilho */
  content: "";
  position: absolute;
  left: calc(var(--rail-x) - 4px);
  top: calc(var(--mc) - 4.5px);
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 2px;
  background: var(--bg);
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.clip::after {
  /* trecho do trilho que a agulha já percorreu */
  content: "";
  position: absolute;
  left: var(--rail-x);
  top: var(--mc);
  width: 1px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .6s var(--ease-out);
}
.clip:last-child::after { display: none; }
.clip.is-on::before { background: var(--accent); border-color: var(--accent); }
.clip.is-passed::after { transform: scaleY(1); }
.clip__n { color: var(--text-2); font-size: 12px; transition: color .3s var(--ease-out); }
.clip.is-on .clip__n { color: var(--accent); }
.clip__t {
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.clip__d { color: var(--text-2); max-width: 44ch; }
@media (min-width: 1024px) {
  .track { --mc: 46px; } /* alinha com a altura das maiúsculas do título do clipe */
  .clip {
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px;
    align-items: baseline;
    padding: 28px 0 32px 48px;
    border-top: 1px solid var(--line);
  }
  .clip:last-child { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
}

/* ---------- 5. Pra quem é ---------- */
.praquem { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.perfis { margin-top: clamp(40px, 6vw, 64px); display: grid; }
.perfis li {
  padding: 24px 0;
  border-top: 1px solid var(--line-strong);
  color: var(--text-2);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.perfis strong { color: var(--text); }
@media (min-width: 900px) {
  .perfis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .perfis li { padding-top: 28px; }
}

/* ---------- 6. Quem conduz ---------- */
.conduz { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.conduz__grid { display: grid; gap: 28px; }
.conduz__text { max-width: 36em; color: var(--text-2); font-size: clamp(17px, 1.5vw, 20px); }
.conduz__sign { margin-top: 36px; }
.conduz__sign img { width: 190px; height: auto; opacity: .92; }
@media (min-width: 1024px) {
  .conduz__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
}

/* ---------- 7. Oferta ---------- */
.oferta {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
  overflow: hidden;
  overflow: clip;
}
.oferta__grid { position: relative; display: grid; gap: 40px; }
.oferta__note { margin-top: 24px; max-width: 30em; color: var(--text-2); }
@media (min-width: 1024px) {
  .oferta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 80px; align-items: center; }
}
.ticket-wrap { position: relative; }
.ticket-wrap::before {
  /* o que o vidro desfoca: um brilho verde atrás do cartão */
  content: "";
  position: absolute;
  z-index: 0;
  inset: -12% -18%;
  background:
    radial-gradient(40% 46% at 72% 24%, rgba(61, 255, 110, .22), transparent 70%),
    radial-gradient(36% 40% at 20% 84%, rgba(61, 255, 110, .10), transparent 70%);
  pointer-events: none;
}
.ticket {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background: rgba(22, 22, 22, .58);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -40px rgba(0, 0, 0, .9);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ticket { background: #161616; }
}
.ticket .selo { font-size: 10.5px; }
.ticket__name {
  margin-top: 18px;
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ticket__when { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.ticket__list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed rgba(255, 255, 255, .16);
}
.ticket__list li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.45; }
.ticket__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.ticket__price {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, .16);
}
.price {
  font-size: clamp(52px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}
.price-sub { color: var(--text-2); font-size: 15px; }
.ticket .btn { margin-top: 22px; }
.fine { margin-top: 16px; color: var(--text-2); font-size: 13.5px; line-height: 1.55; }
.garantia {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.5;
}
.garantia .mono { color: var(--accent); font-size: 11px; }

/* ---------- 8. Perguntas ---------- */
.faq { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 36px; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}
.faq__list { border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 18px 0;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 14px no-repeat;
  transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; max-width: 60ch; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: faq-in .4s var(--ease-out); }
}
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 9. Fecho ---------- */
.fecho { padding-block: var(--section-y) calc(var(--section-y) + 8px); border-top: 1px solid var(--line); }
.fecho__title {
  font-size: clamp(44px, 9vw, 124px);
  line-height: .94;
  letter-spacing: -0.045em;
  max-width: 11ch;
}
.fecho p { margin-top: 24px; max-width: 30em; color: var(--text-2); font-size: clamp(17px, 1.5vw, 20px); }
.fecho__cta { margin-top: 36px; }
@media (max-width: 639px) { .fecho__cta .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.rodape {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.6;
}
.rodape__logo { width: 120px; height: auto; margin-bottom: 22px; opacity: .85; }
.rodape p + p { margin-top: 8px; }
.rodape__aviso { max-width: 62ch; }
@media (max-width: 767px) {
  .page-index .rodape { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}

/* ---------- Barra fixa de compra (celular) ---------- */
.buybar {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-strong);
  background: rgba(10, 10, 10, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .35s var(--ease-out), visibility 0s linear .35s;
}
.buybar.is-visible {
  transform: none;
  visibility: visible;
  transition: transform .4s var(--ease-out), visibility 0s;
}
.buybar__info { display: grid; gap: 2px; min-width: 0; }
.buybar__when { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 10.5px; white-space: nowrap; }
.buybar__price { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.buybar .btn { flex: none; padding: 0 18px; font-size: 15px; }
@media (min-width: 768px) { .buybar { display: none; } }

/* ---------- Páginas internas (gravação e obrigado) ---------- */
.page-main { padding-block: clamp(48px, 9vw, 120px) var(--section-y); }
.kicker { color: var(--text-2); font-size: 15px; font-weight: 500; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--accent); }
.page-title {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.page-lede { margin-top: 22px; max-width: 34em; color: var(--text-2); font-size: clamp(17px, 1.5vw, 19px); }

.upsell__grid { display: grid; gap: 56px; }
.upsell__media { display: none; margin: 0; }
@media (min-width: 1024px) {
  .upsell__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 96px; }
  .upsell__media { display: block; }
  .upsell__media .phone { width: calc(min(68vh, 620px) * .5625 + 14px); }
}
.upsell__label { margin-top: 36px; color: var(--text-2); }
.checklist { display: grid; gap: 12px; margin-top: 14px; }
.checklist li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.5; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .6em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.upsell__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px dashed rgba(255, 255, 255, .16);
}
.upsell__actions { margin-top: 26px; max-width: 460px; }
.upsell .fine { max-width: 460px; }

/* Botões da Cakto (upsell.js): o botão real fica no shadow DOM, exposto como part="button". */
cakto-upsell-buttons, cakto-upsell-accept, cakto-upsell-reject { display: block; width: 100%; }
cakto-upsell-accept::part(button) {
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 10px;
  background-color: var(--accent);
  color: var(--accent-ink);
  font: 650 17px/1.2 var(--font);
  letter-spacing: -0.01em;
  transition: background-color .2s var(--ease-out), box-shadow .25s var(--ease-out), transform .2s var(--ease-out);
}
cakto-upsell-accept::part(button):hover {
  background-color: var(--accent-hover);
  box-shadow: 0 0 0 6px rgba(61, 255, 110, .12), 0 14px 32px -14px rgba(61, 255, 110, .55);
}
cakto-upsell-accept::part(button):focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
cakto-upsell-reject::part(button) {
  /* recusa como link discreto, alvo de toque de 44 px */
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font: 500 15px/1.4 var(--font);
  text-decoration: underline;
  text-decoration-color: rgba(163, 163, 163, .45);
  text-underline-offset: 3px;
}
cakto-upsell-reject::part(button):hover { color: var(--text); }
cakto-upsell-reject::part(button):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
/* Antes do script da Cakto carregar, o texto já aparece com a cara final. */
cakto-upsell-accept:not(:defined) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 17px;
  font-weight: 650;
  opacity: .6;
}
cakto-upsell-reject:not(:defined) {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 15px;
  text-decoration: underline;
}

.thanks { text-align: left; }
.thanks .selo { margin-bottom: 28px; }
.thanks .btn { margin-top: 36px; }
.dica {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 22px;
  max-width: 34em;
  border-top: 1px solid var(--line);
}
.dica .mono { color: var(--accent); font-size: 11px; }
.em-breve { margin-bottom: 18px; color: var(--text); font-size: 15px; }
@media (max-width: 639px) { .thanks .btn { width: 100%; } }

/* ---------- Entradas ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 90ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Movimento reduzido: desliga entradas, pulso e trilho animado ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot::after { display: none; }
  .phone.is-loading .phone__progress { animation: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
