/* ==========================================================
   A Live do Século - Prátiko Universitário
   ========================================================== */
:root {
  --red: #E30613;
  --red-deep: #B1040F;
  --red-light: #FF4B55;
  --yellow: #FFCC00;
  --yellow-deep: #F2B600;
  --ink: #141210;
  --ink-2: #3A3633;
  --cream: #FFF7E8;
  --paper: #FFFFFF;
  --dark: #151312;
  --dark-2: #221F1D;
  --green: #157A3B;
  --green-deep: #0F5E2D;
  --radius: 22px;
  --font-display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 800; }
.container { width: min(100% - 40px, 1080px); margin-inline: auto; }

.t-red { color: var(--red); font-style: normal; }
.t-red-light { color: var(--red-light); }

/* ---------- Barra de progresso ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--yellow)); transform-origin: left; transform: scaleX(0); }

/* ---------- Contagem regressiva (flip) ---------- */
.countdown-bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  min-height: var(--bar-h); padding: 8px 14px;
  background: var(--dark); color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}
.countdown-bar__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; }
.countdown-bar__live { font-weight: 800; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,6,19,.7); animation: livePulse 1.6s infinite; flex: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(227,6,19,.7); } 70% { box-shadow: 0 0 0 10px rgba(227,6,19,0); } 100% { box-shadow: 0 0 0 0 rgba(227,6,19,0); } }

.flip-countdown { display: flex; align-items: flex-start; gap: 4px; }
.flip-group { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.flip-group small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.flip-digits { display: flex; gap: 2px; }
.flip-sep { font-family: var(--font-display); color: var(--yellow); font-size: 18px; line-height: 34px; }

/* split-flap (adaptado do FlipCountdown - 21st.dev) */
.flip-unit {
  --fh: 34px; --fw: 24px;
  position: relative; width: var(--fw); height: var(--fh);
  font-family: var(--font-display); font-size: 21px; line-height: var(--fh);
  color: var(--ink); perspective: 200px; border-radius: 5px;
}
.flip-card {
  position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; text-align: center;
  background: var(--yellow); backface-visibility: hidden;
}
.flip-card__top, .flipper__top { top: 0; border-radius: 5px 5px 0 0; }
.flip-card__bottom, .flipper__bottom { bottom: 0; border-radius: 0 0 5px 5px; line-height: 0; }
.flip-card__top, .flipper__top { line-height: var(--fh); }
.flip-card__bottom, .flipper__bottom { line-height: 0; background: var(--yellow-deep); }
.flip-unit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.25); z-index: 5; }
.flipper { position: absolute; inset: 0; transform-style: preserve-3d; }
.flipper__top { transform-origin: bottom center; z-index: 3; }
.flipper__bottom { transform-origin: top center; transform: rotateX(90deg); z-index: 2; }
.flipper.is-flipping .flipper__top { animation: flipTop .3s ease-in forwards; }
.flipper.is-flipping .flipper__bottom { animation: flipBottom .3s .3s ease-out forwards; }
.flipper:not(.is-flipping) .flipper__top, .flipper:not(.is-flipping) .flipper__bottom { visibility: hidden; }
@keyframes flipTop { to { transform: rotateX(-90deg); } }
@keyframes flipBottom { to { transform: rotateX(0); } }

/* ---------- Botões ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 16px 30px; border: 0; border-radius: 16px;
  font: 800 18px/1.15 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s, filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 var(--yellow-deep), 0 14px 30px rgba(255,204,0,.35); }
.btn--yellow:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn--yellow:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--yellow-deep), 0 6px 14px rgba(255,204,0,.3); }
.btn--block { width: 100%; }
.btn--center { display: flex; width: fit-content; margin: 34px auto 0; }
.btn__arrow { font-size: 22px; transition: transform .25s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--pulse { animation: btnPulse 2.2s ease-in-out infinite; }
.btn--pulse:hover, .btn--pulse:active { animation-play-state: paused; }
@keyframes btnPulse { 0%, 100% { scale: 1; } 50% { scale: 1.045; } }
.btn--pulse::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255,204,0,.6); animation: btnRing 2.2s ease-out infinite;
}
@keyframes btnRing { 0% { box-shadow: 0 0 0 0 rgba(255,204,0,.55); } 80%, 100% { box-shadow: 0 0 0 18px rgba(255,204,0,0); } }
.btn::after { /* brilho que atravessa */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 150% 0; animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { background-position: 150% 0; } 100% { background-position: -60% 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 34px 0 70px; overflow: hidden; isolation: isolate; text-align: center; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: -10%;
  background-image: linear-gradient(rgba(20,18,16,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,18,16,.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 72%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__glow--red { width: 420px; height: 420px; background: var(--red); top: -160px; left: -160px; opacity: .22; }
.hero__glow--yellow { width: 480px; height: 480px; background: var(--yellow); bottom: 60px; right: -200px; opacity: .45; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: min(280px, 72vw); height: auto; margin-bottom: 22px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.12)); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; margin-bottom: 18px;
  border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px;
}
.hero__title {
  margin: 0 0 18px; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 10.5vw, 76px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase;
  max-width: 14ch;
}
.hero__title em { position: relative; display: inline; }
.hero__text { max-width: 640px; margin: 0 0 18px; font-size: clamp(17px, 4.4vw, 21px); color: var(--ink-2); }
.hero__text strong:not(.t-red) { color: var(--ink); }
.hero__tag { margin: 0 0 28px; font-size: clamp(16px, 4.2vw, 19px); font-weight: 600; }
.marker {
  color: var(--ink); font-weight: 900; padding: 2px 6px; border-radius: 4px;
  background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 0 / 0% 100%;
  transition: background-size 1s .6s var(--ease-out);
}
.is-visible .marker, .marker.is-visible { background-size: 100% 100%; }

.hero__media {
  position: relative; margin: 46px 0 0; width: min(100%, 560px); aspect-ratio: 4 / 3;
  border-radius: 28px; transform-style: preserve-3d; will-change: transform;
}
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; z-index: 2; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); }
.media-placeholder {
  position: absolute; inset: 0; border-radius: inherit; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: radial-gradient(circle at 30% 20%, #2a2725, var(--dark));
  color: rgba(255,255,255,.75); font-weight: 600; font-size: 14px; padding: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  border: 2px dashed rgba(255,204,0,.35);
}
.media-placeholder img { width: 96px; animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-4deg); } }
.float-chip {
  position: absolute; z-index: 3; display: grid; place-items: center;
  font-family: var(--font-display); color: var(--ink); background: var(--yellow);
  box-shadow: 0 14px 30px rgba(0,0,0,.25); will-change: transform;
}
.float-chip--1 { width: 64px; height: 64px; border-radius: 50%; font-size: 30px; top: -22px; left: -12px; }
.float-chip--2 { width: 58px; height: 58px; border-radius: 16px; font-size: 20px; bottom: 30px; right: -16px; background: var(--red); color: #fff; rotate: 10deg; }
.float-chip--3 { padding: 10px 16px; border-radius: 999px; font-size: 14px; bottom: -18px; left: 18%; background: var(--ink); color: var(--yellow); rotate: -6deg; }

/* ---------- Ticker ---------- */
.ticker {
  position: relative; z-index: 2; background: var(--yellow); overflow: hidden;
  border-block: 3px solid var(--ink); rotate: -2deg; margin: -18px -10px 0; padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.ticker__track { display: flex; align-items: center; gap: 22px; width: max-content; will-change: transform; }
.ticker__track span { font-family: var(--font-display); font-size: clamp(16px, 4vw, 22px); white-space: nowrap; }
.ticker__track i { font-style: normal; color: var(--red); font-size: 20px; }

/* ---------- Títulos de seção ---------- */
.section-title {
  margin: 0 auto 28px; max-width: 18ch; text-align: center;
  font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 7.4vw, 50px); line-height: 1.02; letter-spacing: -.01em;
}

/* ---------- Vídeo ---------- */
.video-section { padding: 86px 0 30px; }
.video-frame {
  position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16; margin: 0 auto;
  border-radius: 30px; padding: 10px; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 6px rgba(255,204,0,.9);
}
.video-frame__video, .video-frame__cover { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); border-radius: 22px; }
.video-frame__video { object-fit: cover; background: #000; }
.video-frame__cover {
  border: 0; padding: 0; cursor: pointer; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 30%, #3b1d1b, var(--dark) 70%); color: #fff;
}
.video-frame__cover.has-poster { background-size: cover; background-position: center; }
.video-frame__poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 40px 20px; }
.video-frame__cover.has-poster .video-frame__poster { display: none; }
.video-frame__poster img { width: 110px; }
.video-frame__caption { font-size: 20px; line-height: 1.2; text-align: center; color: rgba(255,255,255,.85); }
.video-frame__caption strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--yellow); }
.play-btn {
  position: relative; z-index: 2; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff; padding-left: 6px;
  box-shadow: 0 0 0 0 rgba(227,6,19,.6); animation: playPulse 1.8s infinite;
  transition: transform .3s var(--ease-out);
}
.video-frame__cover:hover .play-btn { transform: scale(1.1); }
@keyframes playPulse { 0% { box-shadow: 0 0 0 0 rgba(227,6,19,.6); } 75%, 100% { box-shadow: 0 0 0 26px rgba(227,6,19,0); } }
.video-frame__soon { position: absolute; bottom: 120px; left: 50%; translate: -50% 0; z-index: 3; padding: 8px 14px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; white-space: nowrap; }

/* ---------- Formulário ---------- */
.form-section { padding: 60px 0 100px; }
.form-card {
  position: relative; max-width: 560px; margin: 0 auto; padding: 44px 26px 28px;
  background: var(--paper); border-radius: 32px; text-align: center;
  box-shadow: 0 50px 100px -40px rgba(20,18,16,.35), 0 0 0 1px rgba(20,18,16,.06);
}
.form-card__badge {
  position: absolute; top: 0; left: 50%; translate: -50% -50%;
  padding: 8px 18px; border-radius: 999px; background: var(--red); color: #fff;
  font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(227,6,19,.35);
}
.form-card__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 6.8vw, 38px); line-height: 1.05; }
.form-card__sub { margin: 0 0 26px; color: var(--ink-2); font-size: 16px; }
.form-card__safe { margin: 16px 0 0; font-size: 13px; color: #77706a; }

#lead-form { display: grid; gap: 14px; text-align: left; }
.field { position: relative; }
.field input {
  width: 100%; height: 62px; padding: 24px 18px 8px; border-radius: 14px;
  border: 2px solid #E3DED6; background: #FBFAF7; color: var(--ink);
  font: 600 17px var(--font-body); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(255,204,0,.55); }
.field label {
  position: absolute; left: 20px; top: 50%; translate: 0 -50%; pointer-events: none;
  color: #8A837C; font-size: 16px; font-weight: 600; transition: all .2s var(--ease-out); transform-origin: left;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 17px; font-size: 12px; color: var(--ink-2); letter-spacing: .02em; }
.field__hint { position: absolute; left: 20px; top: 36px; font-size: 16px; font-weight: 600; color: #C2BBB2; pointer-events: none; opacity: 0; transition: opacity .2s; }
.field input:focus:placeholder-shown ~ .field__hint { opacity: 1; }
.field__error { display: none; margin: 6px 4px 0; color: var(--red); font-size: 13px; font-weight: 700; }
.field.is-invalid input { border-color: var(--red); animation: shake .4s; }
.field.is-invalid .field__error { display: block; }
.field.is-valid input { border-color: #2BA35A; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; color: var(--ink-2); padding: 4px 2px 6px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #CFC8BE; display: grid; place-items: center; transition: all .2s; margin-top: 1px; }
.check__box svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .3s .05s; }
.check input:checked + .check__box { background: var(--yellow); border-color: var(--yellow-deep); }
.check input:checked + .check__box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(255,204,0,.55); }

.wa-icon { width: 24px; height: 24px; flex: none; }
.spinner { display: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(20,18,16,.25); border-top-color: var(--ink); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#submit-btn.is-loading { pointer-events: none; animation: none; filter: saturate(.7); opacity: .85; }
#submit-btn.is-loading .wa-icon { display: none; }
#submit-btn.is-loading .spinner { display: block; }
#submit-btn:disabled { cursor: default; }
.form-status { min-height: 22px; margin: 4px 0 0; text-align: center; font-weight: 800; font-size: 16px; }
.form-status.is-success { color: #1E8A49; }
.form-status.is-error { color: var(--red); }

/* ---------- Produtos (faixa escura) ---------- */
.products { position: relative; padding: 100px 0 110px; background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.products::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 400px at 50% 0%, rgba(227,6,19,.35), transparent 70%), radial-gradient(500px 400px at 100% 100%, rgba(255,204,0,.12), transparent 70%);
}
.products__noise { position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 4px 4px; }
.products__title { margin: 0 auto 14px; max-width: 16ch; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 8.4vw, 60px); line-height: 1; }
.hl-yellow { display: inline; background: var(--yellow); color: var(--ink); padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; border-radius: 6px; }
.products__sub { margin: 0 auto 44px; text-align: center; max-width: 30ch; font-weight: 800; letter-spacing: .04em; font-size: clamp(15px, 4vw, 19px); color: rgba(255,255,255,.82); }

.secret-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 260px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px max(20px, calc((100vw - 1080px) / 2)) 30px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.secret-rail::-webkit-scrollbar { display: none; }
.secret-card {
  position: relative; scroll-snap-align: center; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden;
  background: linear-gradient(160deg, #2c2826, #1a1816); border: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column; justify-content: space-between; padding: 18px;
  transform: perspective(900px) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); transition: transform .5s var(--ease-out), border-color .3s;
  opacity: 0; translate: 0 50px;
}
.secret-card.is-visible { opacity: 1; translate: 0 0; transition: opacity .7s var(--ease-out) var(--d, 0s), translate .9s var(--ease-out) var(--d, 0s), transform .5s var(--ease-out), border-color .3s; }
.secret-card:hover { border-color: rgba(255,204,0,.6); --ty: -6px; }
.secret-card__spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,204,0,.28), transparent 60%); }
.secret-card:hover .secret-card__spot { opacity: 1; }
.secret-card__num { position: relative; font-family: var(--font-display); font-size: 13px; color: var(--yellow); letter-spacing: .1em; }
.secret-card__mystery { position: relative; flex: 1; display: grid; place-items: center; margin: 10px 0; }
.secret-card__blob {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%;
  background: conic-gradient(from var(--a, 0deg), var(--red), var(--yellow), #ff7a00, var(--red));
  filter: blur(18px); opacity: .75; animation: blobSpin 8s linear infinite, morph 6s ease-in-out infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes blobSpin { to { --a: 360deg; } }
@keyframes morph { 50% { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; scale: 1.08; } }
.secret-card__q { position: relative; font-family: var(--font-display); font-size: 96px; line-height: 1; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.5); animation: qBob 3s ease-in-out infinite; }
@keyframes qBob { 50% { transform: translateY(-8px) rotate(6deg); } }
.secret-card h3 { position: relative; margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.secret-card__lock {
  position: relative; display: inline-flex; align-items: center; gap: 6px; width: fit-content; white-space: nowrap;
  padding: 8px 11px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 12.5px;
}
.secret-card__lock svg { width: 15px; height: 15px; }
.secret-card:hover .secret-card__lock svg { animation: lockShake .5s; }
@keyframes lockShake { 25% { rotate: -14deg; } 75% { rotate: 14deg; } }
.rail-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.rail-dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); transition: all .3s; }
.rail-dots span.is-active { width: 26px; background: var(--yellow); }

.steps { max-width: 640px; margin: 60px auto 0; }
.steps__title { margin: 0 0 26px; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 6.4vw, 36px); }
.steps__wrap { position: relative; }
.steps__line { position: absolute; left: 25px; top: 26px; bottom: 26px; width: 3px; border-radius: 3px; background: rgba(255,255,255,.12); }
.steps__line span { display: block; height: 100%; background: linear-gradient(var(--yellow), var(--red)); transform-origin: top; transform: scaleY(0); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-size: 24px;
  box-shadow: 0 0 0 6px var(--dark);
}
.step p { margin: 0; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 16px; color: rgba(255,255,255,.88); flex: 1; }
.step p strong { color: #fff; }
.alert {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 30px; padding: 18px 20px; border-radius: 20px;
  background: var(--red); color: #fff; box-shadow: 0 20px 40px -18px rgba(227,6,19,.7);
}
.alert__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); font-family: var(--font-display); font-size: 20px; animation: alertBlink 1.4s ease-in-out infinite; }
@keyframes alertBlink { 50% { transform: scale(1.15); } }
.alert p { margin: 0; font-size: 16px; font-weight: 600; }

/* ---------- Rodapé ---------- */
.footer { padding: 40px 20px calc(40px + env(safe-area-inset-bottom)); background: var(--green); color: #fff; text-align: center; }
.footer img { width: 190px; height: auto; margin: 0 auto 14px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.footer p { margin: 2px 0; }
.footer__name { font-weight: 700; font-size: 17px; }
.footer__cnpj, .footer__addr { font-size: 14px; color: rgba(255,255,255,.75); }
.footer__addr { max-width: 32ch; margin-inline: auto !important; }

/* ---------- CTA fixo mobile ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px 12px 18px; border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transform: translateY(160%); transition: transform .5s var(--ease-out);
}
.sticky-cta span { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 600; }
.sticky-cta strong { padding: 11px 14px; border-radius: 12px; background: var(--yellow); color: var(--ink); font-size: 15px; white-space: nowrap; }
.sticky-cta.is-shown { transform: translateY(0); }

/* ---------- Animações de entrada ---------- */
.js .reveal, .js .reveal-up, .js .reveal-left, .js .reveal-scale { opacity: 0; transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s), filter .9s var(--ease-out) var(--d, 0s); }
.js .reveal { transform: translateY(26px); filter: blur(6px); }
.js .reveal-up { transform: translateY(60px); }
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-scale { transform: scale(.88) translateY(40px); }
.js .reveal.is-visible, .js .reveal-up.is-visible, .js .reveal-left.is-visible, .js .reveal-scale.is-visible { opacity: 1; transform: none; filter: none; }
.js .hero__media.reveal-scale.is-visible { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .9s var(--ease-out) var(--d, 0s), transform .6s var(--ease-out); }

/* Text Reveal (Mask) - adaptado do 21st.dev */
.mask-reveal .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.mask-reveal .line > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * .09s + var(--d, 0s)); }
.mask-reveal.is-visible .line > span { transform: translateY(0); }
.mask-reveal .line.w { display: inline-block; vertical-align: top; }
.js .mask-reveal:not(.is-split) { visibility: hidden; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  :root { --bar-h: 72px; }
  .countdown-bar__label { font-size: 15px; }
  .flip-unit { --fh: 42px; --fw: 30px; font-size: 26px; }
  .flip-sep { line-height: 42px; font-size: 22px; }
  .hero { padding: 50px 0 110px; }
  .hero__logo { width: 340px; }
  .secret-rail { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; width: min(100% - 40px, 1180px); margin-inline: auto; padding: 20px 0 10px; }
  .secret-card:nth-child(odd) { --ty: 0px; }
  .secret-card:nth-child(even) { margin-top: 40px; }
  .rail-dots { display: none; }
  .secret-card { padding: 16px; }
  .secret-card h3 { font-size: 18px; }
  .secret-card__lock { font-size: 11.5px; padding: 7px 9px; }
  .secret-card__q { font-size: 80px; }
  .sticky-cta { display: none; }
  .form-card { padding: 54px 46px 34px; }
}
@media (max-width: 420px) {
  .countdown-bar { gap: 8px; }
  .countdown-bar__label { font-size: 11px; flex-direction: column; gap: 2px; text-align: center; max-width: 64px; line-height: 1.1; }
  .countdown-bar__label .live-dot { display: none; }
  .flip-unit { --fw: 20px; --fh: 30px; font-size: 18px; }
  .flip-sep { line-height: 30px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
