/* ==========================================================================
   Comunidade Theologales — estilos
   Identidade: azul-noite #0f1328 · amarelo #ffd632 · areia #edece2 · branco
   Fontes: Lora (títulos) e Inter (texto)
   ========================================================================== */

:root {
  --navy: #0f1328;
  --navy-deep: #0a0d1e;
  --yellow: #ffd632;
  --yellow-dark: #f2c40f;
  --sand: #edece2;
  --sand-2: #e0dfd2;
  --white: #ffffff;
  --ink: #0f1328;
  --ink-soft: #4a4f66;
  --line: #d8d6c7;
  --grid: rgba(237, 236, 226, .14);
  --error: #b3261e;

  /* Advento */
  --purple-950: #150a26;
  --purple-900: #21103a;
  --purple-700: #3d1f68;
  --purple-500: #6b3fa8;
  --lilac: #c4a8f2;
  --lilac-soft: #ece2ff;
  --rose: #f0a9c2;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --container: 1120px;
  --rail: 64px;     /* coluna da logo no cabeçalho */
  --hdr-h: 60px;    /* altura da linha do cabeçalho */
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }

body > main { background: var(--sand); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

em { font-style: italic; }
.nb { white-space: nowrap; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botões (retos, seta em caixinha) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 8px 8px 8px 22px;
  border: 0;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1.5px solid rgba(15, 19, 40, .35);
  border-radius: 6px;
  font-size: 17px;
  transition: transform .15s ease, background-color .15s ease;
}

.btn:hover .btn__arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }

.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-dark); }

.btn--sm {
  gap: 12px;
  min-height: 40px;
  padding: 4px 4px 4px 14px;
  font-size: 11.5px;
}
.btn--sm .btn__arrow { width: 32px; height: 32px; font-size: 15px; }

.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Cabeçalho fixo ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: var(--rail) 1fr auto;
  align-items: center;
  background: rgba(15, 19, 40, .94);
  border-bottom: 1px solid var(--grid);
  color: var(--sand);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hdr__logo {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  place-items: center;
  height: var(--hdr-h);
  border-right: 1px solid var(--grid);
}
.hdr__logo img { width: auto; height: 40px; }

.hdr__cta { grid-column: 3; grid-row: 2; margin-right: 16px; }

/* No celular a contagem vira uma faixa roxa no alto */
.hdr__count {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 16px;
  background: linear-gradient(90deg, var(--purple-700), var(--purple-900));
  color: var(--lilac-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.hdr__velas { display: none; width: 26px; height: 20px; flex: none; }
.hdr__count-label { letter-spacing: .02em; }

.hdr__time { display: inline-flex; gap: 6px; font-size: 13.5px; color: var(--lilac); }
.hdr__time b {
  margin-right: 1px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, calc(100svh - 98px), 820px);
  padding: 120px 20px 48px;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 78% 20%, #1b2250 0%, transparent 70%),
    var(--navy);
  color: var(--sand);
}

.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 0% 100%, rgba(10, 13, 30, .85), transparent 70%);
}

.hero__rings {
  position: absolute;
  left: 78%;
  top: 16%;
  width: 1100px;
  height: 1100px;
  max-width: none;
  transform: translate(-50%, -50%);
}

.ring {
  fill: none;
  stroke: var(--sand);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: .1 10;
  opacity: .3;
  transform-origin: 800px 800px;
  animation: girar 160s linear infinite;
}
.ring:nth-child(even) { animation-direction: reverse; animation-duration: 200s; }

.star { transform-origin: 800px 800px; animation: cintilar 3.2s ease-in-out infinite; }

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes cintilar {
  0%, 100% { transform: scale(1); opacity: .95; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Lugar da ilustração (some no celular enquanto não houver imagem) */
.hero__art {
  position: absolute;
  z-index: -1;
  right: 7%;
  bottom: 0;
  display: none;
  width: min(30%, 420px);
  height: 76%;
}
.hero__art img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.hero__art-ph {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  height: 100%;
  border: 1.5px dashed rgba(237, 236, 226, .3);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  color: rgba(237, 236, 226, .55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__art-ph .icon { font-size: 28px; stroke-width: 1.5; }

.hero__rail { display: none; }

.hero__content { position: relative; max-width: 640px; }

.hero h1 {
  font-size: clamp(50px, 6.6vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--white);
}
.hero h1 em { color: var(--yellow); }

.hero__lead {
  margin-top: 22px;
  max-width: 27em;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: rgba(237, 236, 226, .86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}
.hero__note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(237, 236, 226, .6);
}

/* ---------- Formulário (janela) ---------- */

.modal {
  width: calc(100% - 24px);
  max-width: 460px;
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  overflow: auto;
}
.modal::backdrop {
  background: rgba(10, 13, 30, .72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal[open] { animation: subir .25s ease both; }
@keyframes subir {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}
.modal__close:hover { background: var(--sand-2); }
.modal__close:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.form-card {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.form-card__body { padding: 28px 22px 22px; }
.form-card h2 { padding-right: 44px; font-size: 27px; }
.form-card__sub { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

.form { display: grid; gap: 14px; margin-top: 20px; }

.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }

.field__control { position: relative; }
.field__control .icon {
  position: absolute;
  top: 50%;
  left: 15px;
  font-size: 18px;
  color: #8a8d9c;
  transform: translateY(-50%);
  pointer-events: none;
}

.field input {
  width: 100%;
  height: 54px;
  padding: 0 14px 0 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input::placeholder { color: #9b9eab; }
.field input:focus {
  outline: 0;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255, 214, 50, .45);
}
.field.has-error input { border-color: var(--error); }

.field__error { display: none; margin-top: 5px; font-size: 13px; color: var(--error); }
.field.has-error .field__error { display: block; }

.form__status {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fdecea;
  color: var(--error);
  font-size: 14px;
}
.form__status.is-visible { display: block; }

.form .btn:focus-visible { outline-color: var(--navy); }

.form__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.form__note .icon { margin-top: 2px; font-size: 15px; }

.form-card__bonus {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: linear-gradient(100deg, var(--purple-700), var(--purple-900));
  color: var(--lilac-soft);
  font-size: 14px;
  line-height: 1.4;
}
.form-card__bonus svg { width: 46px; height: 36px; flex: none; }
.form-card__bonus strong { color: var(--white); }

/* ---------- Seções ---------- */

.section { padding: 64px 0; }

.section__head { max-width: 640px; }
.section__head .eyebrow { color: #8a6d00; }
.section__head h2 { margin-top: 12px; font-size: clamp(30px, 6.4vw, 44px); }
.section__head p { margin-top: 14px; color: var(--ink-soft); }

/* O que você recebe: lista empilhada + mockup */

.benefits-grid { display: grid; gap: 40px; align-items: center; }

.benefits { display: grid; gap: 10px; margin-top: 30px; }

.benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--sand-2);
  border-radius: 16px;
  background: var(--white);
}
.benefit__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 21px;
}
.benefit h3 { font-size: 18.5px; }
.benefit p { margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

.mockup {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
}
.mockup img { width: 100%; height: 100%; object-fit: contain; }
.mockup__ph {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  height: 100%;
  border: 1.5px dashed #c9c6b3;
  border-radius: 28px;
  background: var(--sand-2);
  color: #8a8770;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mockup__ph .icon { font-size: 32px; stroke-width: 1.5; }

/* ---------- Advento ---------- */

.advent {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(760px 480px at 18% 0%, rgba(107, 63, 168, .55), transparent 65%),
    radial-gradient(620px 420px at 100% 100%, rgba(240, 169, 194, .12), transparent 70%),
    linear-gradient(180deg, var(--purple-900), var(--purple-950));
  color: var(--lilac-soft);
}

.advent__grid { display: grid; gap: 40px; align-items: center; }

.advent__panel {
  display: grid;
  justify-items: center;
  gap: 26px;
  padding: 36px 22px 28px;
  border: 1px solid rgba(196, 168, 242, .22);
  border-radius: 28px;
  background: rgba(255, 255, 255, .045);
  text-align: center;
}

/* Logo da campanha */

.advent-logo { display: grid; justify-items: center; gap: 6px; }
.advent-logo__candles { width: 210px; height: auto; overflow: visible; }

.advent-logo__kicker {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--lilac);
}
.advent-logo__name {
  font-family: var(--serif);
  font-size: 58px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  color: var(--white);
}
.advent-logo__sig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--yellow);
}
.advent-logo__sig::before,
.advent-logo__sig::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}

/* Velas */

.candle--purple { fill: url(#velaRoxa); }
.candle--rose { fill: url(#velaRosa); }
.candle__shine { fill: #fff; opacity: .22; }
.candle__wick { stroke: #2a1838; stroke-width: 2; stroke-linecap: round; }

.flame__glow { fill: var(--yellow); opacity: .22; filter: blur(5px); }
.flame__outer { fill: var(--yellow); }
.flame__inner { fill: #fff6c4; }

.flame__ignite,
.flame__flicker {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.flame__flicker { animation: flicker 1.7s ease-in-out infinite; }
.flame__glow { animation: glow 2.2s ease-in-out infinite; }

.flame:nth-of-type(2) .flame__flicker { animation-duration: 1.45s; animation-delay: -.4s; }
.flame:nth-of-type(3) .flame__flicker { animation-duration: 1.9s; animation-delay: -.9s; }
.flame:nth-of-type(4) .flame__flicker { animation-duration: 1.6s; animation-delay: -1.2s; }

/* As velas se acendem uma a uma quando a seção aparece na tela */
.js .advent-logo:not(.is-lit) .flame { opacity: 0; }
.js .advent-logo.is-lit .flame__ignite { animation: ignite .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.js .advent-logo.is-lit .flame { animation: appear .4s ease both; }
.js .advent-logo.is-lit .flame:nth-of-type(1),
.js .advent-logo.is-lit .flame:nth-of-type(1) .flame__ignite { animation-delay: .2s; }
.js .advent-logo.is-lit .flame:nth-of-type(2),
.js .advent-logo.is-lit .flame:nth-of-type(2) .flame__ignite { animation-delay: .65s; }
.js .advent-logo.is-lit .flame:nth-of-type(3),
.js .advent-logo.is-lit .flame:nth-of-type(3) .flame__ignite { animation-delay: 1.1s; }
.js .advent-logo.is-lit .flame:nth-of-type(4),
.js .advent-logo.is-lit .flame:nth-of-type(4) .flame__ignite { animation-delay: 1.55s; }

@keyframes flicker {
  0%, 100% { transform: scale(1, 1) rotate(-2deg); }
  22% { transform: scale(.93, 1.07) rotate(2.5deg); }
  48% { transform: scale(1.05, .94) rotate(-1deg); }
  74% { transform: scale(.96, 1.05) rotate(3deg); }
}
@keyframes glow {
  0%, 100% { opacity: .18; }
  50% { opacity: .34; }
}
@keyframes ignite {
  from { transform: scale(.1); }
  to { transform: scale(1); }
}
@keyframes appear {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Data e contagem */

.advent-date {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(196, 168, 242, .2);
}
.advent-date__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lilac);
}
.advent-date__day {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--yellow);
}
.advent-date__day .icon { font-size: 17px; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 330px;
}
.countdown__unit {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 4px 11px;
  border: 1px solid rgba(196, 168, 242, .28);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
}
.countdown__unit b {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--white);
}
.countdown__unit span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lilac);
}

.advent .eyebrow { color: var(--rose); }
.advent h2 { margin-top: 12px; font-size: clamp(32px, 7vw, 50px); color: var(--white); }
.advent h2 em { color: var(--lilac); font-weight: 500; }
.advent__lead { margin-top: 16px; font-size: 18px; color: rgba(236, 226, 255, .86); }

.advent__list { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.advent__list li { display: flex; gap: 16px; }
.advent__list .ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(196, 168, 242, .35);
  border-radius: 50%;
  background: rgba(196, 168, 242, .14);
  color: var(--lilac);
  font-size: 21px;
}
.advent__list strong { display: block; font-size: 17px; color: var(--white); }
.advent__list div > span { display: block; font-size: 15.5px; color: rgba(236, 226, 255, .78); }

.advent .btn { margin-top: 34px; }

/* ---------- Passos ---------- */

.steps-section { background: var(--white); }

.steps { display: grid; gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: passo; }

.step {
  padding: 24px 22px;
  border-radius: 20px;
  background: var(--sand);
  counter-increment: passo;
}
.step::before {
  content: counter(passo);
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  color: #c9a400;
}
.step h3 { margin-top: 14px; font-size: 21px; }
.step p { margin-top: 6px; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Chamada final ---------- */

.final {
  padding: 64px 0;
  background: var(--navy);
  color: var(--sand);
  text-align: center;
}
.final img { width: auto; height: 86px; margin: 0 auto 20px; }
.final h2 { font-size: clamp(30px, 6.6vw, 46px); color: var(--white); }
.final h2 em { color: var(--yellow); font-weight: 500; }
.final p { max-width: 32em; margin: 14px auto 0; color: rgba(237, 236, 226, .8); }
.final .btn { margin-top: 28px; }

.footer {
  padding: 26px 0 30px;
  border-top: 1px solid var(--grid);
  background: var(--navy);
  color: rgba(237, 236, 226, .6);
  font-size: 13.5px;
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand img { width: auto; height: 28px; }
.brand span { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .01em; }
.brand--3d img { height: 48px; }

/* ---------- Página de obrigado ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.thanks {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--sand);
}
.thanks::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 50% 0%, rgba(255, 214, 50, .14), transparent 70%),
    radial-gradient(560px 460px at 100% 100%, rgba(107, 63, 168, .3), transparent 70%);
  pointer-events: none;
}
.thanks > * { position: relative; }

.thanks__main {
  flex: 1;
  display: grid;
  gap: 40px;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 56px;
}

.progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}
.progress li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.progress .dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  font-size: 14px;
}
.progress .is-done { color: rgba(237, 236, 226, .7); }
.progress .is-done .dot { background: rgba(237, 236, 226, .16); color: var(--yellow); }
.progress .is-now { color: var(--white); }
.progress .is-now .dot { background: var(--yellow); color: var(--navy); font-weight: 700; }
.progress .bar { flex: 0 0 26px; height: 2px; border-radius: 2px; background: rgba(237, 236, 226, .25); }

.thanks h1 { font-size: clamp(36px, 8.6vw, 58px); color: var(--white); }
.thanks h1 em { color: var(--yellow); font-weight: 500; }
.thanks__lead { margin-top: 18px; max-width: 30em; font-size: 19px; color: rgba(237, 236, 226, .86); }
.thanks__lead strong { color: var(--white); }

.thanks .btn { margin-top: 30px; }

.btn--pulse { animation: pulse 2.2s ease-out infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 214, 50, .55); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(255, 214, 50, 0); }
}

.thanks__warn {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px dashed rgba(255, 214, 50, .6);
  border-radius: 10px;
  font-size: 14px;
  color: var(--yellow);
}
.thanks__warn.is-visible { display: block; }

.howto { display: grid; gap: 14px; margin: 34px 0 0; padding: 0; list-style: none; }
.howto li { display: flex; align-items: flex-start; gap: 14px; font-size: 16.5px; color: rgba(237, 236, 226, .9); }
.howto .n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1.5px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
}
.howto strong { color: var(--white); }

.thanks__advent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 14px 18px;
  border: 1px solid rgba(196, 168, 242, .3);
  border-radius: 16px;
  background: rgba(107, 63, 168, .28);
  color: var(--lilac-soft);
  font-size: 14.5px;
  line-height: 1.45;
}
.thanks__advent svg { width: 46px; height: 36px; flex: none; }
.thanks__advent strong { color: var(--white); }

/* Ilustração do passo a passo */

.mock {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.mock__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border-bottom: 1px solid var(--sand-2);
}
.mock__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--navy);
}
.mock__avatar img { width: auto; height: 28px; }
.mock__head strong { display: block; font-size: 16px; line-height: 1.25; }
.mock__head span { font-size: 13px; color: var(--ink-soft); }

.mock__list { display: grid; gap: 8px; padding: 14px; }
.mock__row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--white);
}
.mock__row .ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 20px;
}
.mock__row strong { display: block; font-size: 15.5px; line-height: 1.25; }
.mock__row div > span { font-size: 13px; color: var(--ink-soft); }

.mock__row--target { box-shadow: 0 0 0 2.5px var(--yellow); }
.mock__row--target .ico { background: var(--yellow); color: var(--navy); }

.mock__row--ghost { opacity: .45; }
.mock__row--ghost .line { height: 10px; border-radius: 6px; background: var(--sand-2); }
.mock__row--ghost .line + .line { width: 60%; margin-top: 7px; }
.mock__row--ghost > div { flex: 1; }

.mock__foot { padding: 4px 14px 18px; }
.mock__enter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 15.5px;
  font-weight: 700;
}

.tag {
  position: absolute;
  top: -11px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tag b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 11px;
}
.mock__enter .tag { background: var(--yellow); color: var(--navy); }
.mock__enter .tag b { background: var(--navy); color: var(--yellow); }

/* ---------- Telas maiores ---------- */

@media (min-width: 600px) {
  .form-card__body { padding: 32px 30px 26px; }
  .form-card__bonus { padding: 16px 30px; }
}

@media (min-width: 920px) {
  :root { --rail: 88px; --hdr-h: 80px; }

  body { font-size: 18px; }
  .container { padding: 0 32px; }

  /* Cabeçalho em uma linha só */
  .hdr { grid-template-columns: var(--rail) 1fr auto; }
  .hdr__logo { grid-row: 1; }
  .hdr__logo img { height: 52px; }
  .hdr__cta { grid-row: 1; margin-right: 24px; }
  .btn--sm { min-height: 44px; padding-left: 16px; font-size: 12px; }
  .btn--sm .btn__arrow { width: 34px; height: 34px; }

  .hdr__count {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    gap: 12px;
    min-height: 0;
    margin-left: 24px;
    padding: 8px 16px 8px 12px;
    border: 1px solid rgba(196, 168, 242, .35);
    border-radius: 999px;
    background: rgba(107, 63, 168, .3);
    font-size: 12.5px;
  }
  .hdr__velas { display: block; }
  .hdr__count-label { letter-spacing: .1em; text-transform: uppercase; color: var(--lilac); }
  .hdr__time { gap: 8px; font-size: 15px; }

  /* Hero */
  .hero {
    min-height: clamp(600px, calc(100svh - 80px), 880px);
    padding: 140px 32px 88px calc(var(--rail) + 56px);
  }
  .hero__rings { left: 72%; top: 20%; width: 1700px; height: 1700px; }
  .hero__art { display: block; }
  .hero__lead { font-size: 23px; }

  .hero__rail {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--rail) - 1px);
    width: 14px;
    border-left: 1px solid var(--grid);
    pointer-events: none;
  }
  /* marquinhas da régua */
  .hero__rail::before {
    content: "";
    position: absolute;
    top: 22%;
    left: 0;
    width: 12px;
    height: 151px;
    background: repeating-linear-gradient(to bottom, var(--grid) 0 1px, transparent 1px 50px);
  }

  .section { padding: 104px 0; }

  .benefits-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .benefits { margin-top: 36px; }

  .advent { padding: 112px 0; }
  .advent__grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 72px; }
  .advent__panel { padding: 52px 36px 36px; }
  .advent-logo__candles { width: 250px; }
  .advent-logo__name { font-size: 68px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
  .step { padding: 30px 28px; }

  .final { padding: 104px 0; }

  .thanks__main {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 380px);
    gap: 72px;
    padding-top: 28px;
    padding-bottom: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .advent-logo:not(.is-lit) .flame { opacity: 1; }
}
