/* ==========================================================================
   Design system — branco, grafite, cinza claro e verde discreto.
   Mobile-first. Sem dependências.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --bg-softer: #fafafb;
  --surface: #ffffff;
  --ink: #0c0f12;
  --ink-2: #2a3036;
  --muted: #68717b;
  --muted-2: #8b939c;
  --line: #e6e8eb;
  --line-2: #f0f1f3;

  --green: #0f8a5f;
  --green-strong: #0b754f;
  --green-bright: #34d399;
  --green-50: #effaf5;
  --green-100: #d7f2e5;
  --danger: #c2412d;
  --danger-50: #fdf1ef;
  --warn: #a15c07;
  --warn-50: #fff8eb;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(12, 15, 18, 0.05);
  --shadow-sm: 0 1px 2px rgba(12, 15, 18, 0.04), 0 2px 8px rgba(12, 15, 18, 0.04);
  --shadow-md: 0 2px 4px rgba(12, 15, 18, 0.04), 0 10px 30px rgba(12, 15, 18, 0.07);
  --shadow-lg: 0 4px 10px rgba(12, 15, 18, 0.05), 0 24px 60px rgba(12, 15, 18, 0.1);
  --ring: 0 0 0 4px rgba(15, 138, 95, 0.16);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 20px;
  --header-h: 60px;
  color-scheme: light;
}

/* ------------------------------- Base ------------------------------------ */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; font-weight: 700; }
a { color: inherit; }
img, svg, video, iframe { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
h1:focus { outline: none; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 760px; }
.container--app { max-width: 560px; }

.stack { display: grid; gap: 10px; width: 100%; }

.noscript { padding: 24px; text-align: center; }

/* ------------------------------- Header ---------------------------------- */

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.header--minimal, .header { border-bottom-color: var(--line-2); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: -0.02em; font-size: 18px; }
.logo__mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: var(--green-bright);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.header__badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 550; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 999px;
}
.header__badge .icon { color: var(--green); }

/* -------------------------------- Botões --------------------------------- */

.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-shadow: var(--shadow-sm);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--radius); background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 650; letter-spacing: 0.01em; text-decoration: none; text-align: center;
  box-shadow: var(--btn-shadow);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, opacity 0.2s;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn:disabled { cursor: default; opacity: 0.7; transform: none; }
.btn--md { min-height: 44px; padding: 0 18px; font-size: 14.5px; border-radius: 12px; }
.btn--lg { min-height: 54px; padding: 0 22px; font-size: 15.5px; }
.btn--xl { min-height: 62px; padding: 0 26px; font-size: 16.5px; border-radius: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  --btn-bg: var(--green); --btn-fg: #fff;
  --btn-shadow: 0 1px 2px rgba(11, 117, 79, 0.25), 0 8px 24px rgba(15, 138, 95, 0.28);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}
.btn--primary:hover { --btn-bg: var(--green-strong); --btn-shadow: 0 2px 4px rgba(11, 117, 79, 0.25), 0 14px 32px rgba(15, 138, 95, 0.32); }
.btn--dark:hover { --btn-bg: #1d2227; --btn-shadow: var(--shadow-md); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-shadow: none; border: 1px solid var(--line); }
.btn--ghost:hover { --btn-bg: var(--bg-soft); }
.btn--danger { --btn-bg: var(--danger); }
.btn__icon { transition: transform 0.25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn.is-loading .btn__icon { display: none; }
.btn.is-loading::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite;
}

.icon-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); border-radius: 10px; min-height: 36px; padding: 0 10px; font-size: 13px; font-weight: 550;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn--danger:hover { color: var(--danger); border-color: #f2c9c1; background: var(--danger-50); }

.link-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0;
  color: var(--green); font-weight: 600; font-size: 14px; text-decoration: none;
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-btn--muted { color: var(--muted); font-weight: 550; }

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

.hero { position: relative; padding: 36px 0 56px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -20% auto; height: 620px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(52, 211, 153, 0.13), transparent 70%),
    radial-gradient(30% 40% at 80% 10%, rgba(12, 15, 18, 0.04), transparent 70%);
}
.hero__glow--soft { opacity: 0.8; }
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
  padding: 7px 12px; border-radius: 999px; box-shadow: var(--shadow-xs);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-100); }

.hero__title { margin-top: 20px; font-size: clamp(29px, 7.4vw, 54px); font-weight: 780; letter-spacing: -0.035em; line-height: 1.08; max-width: 18ch; text-wrap: balance; }
.hero__subtitle { margin-top: 16px; font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 46ch; text-wrap: pretty; }
.hero__pills { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.hero__pills li { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 550; color: var(--ink-2); }
.hero__pills li .icon { color: var(--green); }
.hero__video { width: 100%; margin-top: 30px; }
.hero__cta { width: 100%; max-width: 520px; margin-top: 22px; }
.hero__gate-hint { display: none; margin-top: 18px; max-width: 34ch; text-align: center; justify-content: center; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero__gate-hint .icon { color: var(--green); flex: none; }
.is-gated .hero__gate-hint { display: inline-flex; }
.is-gated .gated { display: none; }
.gated { animation: enter-fwd 0.6s var(--ease) both; }
.transparency__note { font-size: 13px; color: var(--muted); }
.hero__micro { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.hero__micro span { display: inline-flex; align-items: center; gap: 6px; }

/* --------------------------------- Vídeo --------------------------------- */

.video {
  padding: 6px; border-radius: calc(var(--radius-lg) + 4px); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #0d1114; }
.video__media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.video__poster { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; color: #fff; display: grid; place-items: center; }
.video__poster:disabled { cursor: default; }
.video__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 20% 0%, rgba(52, 211, 153, 0.22), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(255, 255, 255, 0.07), transparent 60%),
    linear-gradient(160deg, #161b20 0%, #0b0e11 100%);
}
.video__bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.video__play {
  position: relative; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease);
}
.video__play .icon { margin-left: 4px; }
.video__play::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.35);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
.video__poster:not(:disabled):hover .video__play { transform: scale(1.06); }
.video__caption { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 2px; }
.video__title { font-weight: 650; font-size: 14.5px; }
.video__meta { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); }

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

.section { padding: 56px 0; }
.section--tight { padding: 20px 0; }
.section--alt { background: var(--bg-softer); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section__title { font-size: 21px; margin-bottom: 18px; }
.section__title--lg { font-size: clamp(26px, 5.4vw, 38px); margin: 16px 0 10px; letter-spacing: -0.03em; text-wrap: balance; }
.section__lead { color: var(--muted); font-size: 17px; max-width: 56ch; margin-bottom: 28px; }

/* Como funciona */
.how { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.how__item {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-xs);
}
.how__n { position: absolute; top: 14px; right: 16px; font-size: 12px; font-weight: 700; color: var(--muted-2); }
.how__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.how__title { font-size: 16.5px; margin-bottom: 4px; }
.how__text { color: var(--muted); font-size: 14.5px; }

.transparency, .meaning, .summary, .cta-card, .card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
}
.card--pad { padding: 24px; }
.transparency { padding: 28px 22px; display: grid; gap: 16px; }
.transparency__icon, .meaning__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--green-bright); display: grid; place-items: center; }
.transparency__title, .meaning__title { font-size: 22px; }

.checklist { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 10px; text-align: left; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; color: var(--ink-2); font-size: 15px; }
.checklist li .icon { color: var(--green); margin-top: 3px; }

/* ----------------------------- Página app -------------------------------- */

.page--app { min-height: 100vh; min-height: 100dvh; background: var(--bg-softer); }
.page--app .page__main { padding-bottom: 48px; }

.quiz__progress { position: sticky; top: var(--header-h); z-index: 30; background: rgba(250, 250, 251, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin: 0 calc(var(--gutter) * -1); padding: 12px var(--gutter) 14px; }
.progress__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-bottom: 10px; }
.progress__back {
  justify-self: start; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 6px 6px 6px 0;
  font-size: 14px; font-weight: 550; color: var(--ink-2); min-height: 36px;
}
.progress__back:hover { color: var(--ink); }
.progress__back--placeholder { visibility: hidden; }
.progress__step { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-xs); white-space: nowrap; }
.progress__label { justify-self: end; font-size: 13px; color: var(--muted); font-weight: 550; }
.progress__track { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.progress__fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-bright)); transition: width 0.6s var(--ease); }

.step { padding-top: 18px; display: flex; flex-direction: column; }
.step--center { align-items: center; text-align: center; }
.step__title { font-size: clamp(25px, 6.4vw, 32px); font-weight: 760; letter-spacing: -0.03em; margin-top: 10px; text-wrap: balance; }
.step__text { color: var(--muted); font-size: 16px; margin-top: 10px; margin-bottom: 22px; text-wrap: pretty; }
.step__badge, .step__count, .step__chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650;
  padding: 5px 10px; border-radius: 999px;
}
.step--center .step__badge { align-self: center; }
.step__badge { color: var(--green-strong); background: var(--green-50); }
.step__count { color: var(--muted); background: var(--line-2); }
.step__chip { color: var(--ink); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.step__icon { width: 60px; height: 60px; border-radius: 18px; background: var(--ink); color: var(--green-bright); display: grid; place-items: center; box-shadow: var(--shadow-md); margin-bottom: 8px; }
.step__icon--warn { background: var(--warn-50); color: var(--warn); box-shadow: none; }
.step--center .checklist { margin: 0 0 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; width: 100%; }

/* Transições de tela */
.anim-enter { animation: enter-fwd 0.45s var(--ease) both; }
.anim-enter--back { animation-name: enter-back; }

/* ------------------------------ Formulário ------------------------------- */

.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field__control { position: relative; }
.input, .select {
  width: 100%; min-height: 56px; padding: 0 16px; border-radius: var(--radius); background: var(--surface);
  border: 1.5px solid var(--line); font-size: 17px; /* ≥16px evita zoom no iOS */
  transition: border-color 0.15s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #a7aeb5; }
.input:hover, .select:hover { border-color: #d6dade; }
.input:focus, .select:focus { outline: none; border-color: var(--green); box-shadow: var(--ring); }
.textarea { min-height: 96px; padding: 14px 16px; resize: vertical; }
.select {
  padding-right: 40px; font-size: 16px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2368717b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field.is-valid .input { border-color: #bfe6d3; }
.field.is-valid .field__control::after {
  content: ''; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f8a5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: pop 0.3s var(--ease);
}
.field.has-error .input { border-color: var(--danger); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(194, 65, 45, 0.12); }
.field__hint { font-size: 13px; color: var(--muted); }
.field__hint--center { text-align: center; }
.field__error, .form__error { font-size: 13.5px; color: var(--danger); font-weight: 550; }
.field__error:empty, .form__error:empty { display: none; }
.form__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--muted); text-align: center; margin-top: 2px; }
.form__secure .icon { color: var(--green); flex: none; }

/* Checkbox */
.consent { display: grid; gap: 6px; }
.checkbox { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; padding: 14px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); transition: border-color 0.15s; }
.checkbox:hover { border-color: #d6dade; }
.consent.has-error .checkbox { border-color: var(--danger); }
.checkbox__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #c9ced3; display: grid; place-items: center; color: transparent; transition: all 0.18s var(--ease); background: var(--surface); }
.checkbox__input:checked + .checkbox__box { background: var(--green); border-color: var(--green); color: #fff; transform: scale(1.04); }
.checkbox__input:focus-visible + .checkbox__box { box-shadow: var(--ring); }
.checkbox__text { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.checkbox__text a { color: var(--green); font-weight: 600; text-underline-offset: 2px; }

/* --------------------------------- Quiz ---------------------------------- */

.options { display: grid; gap: 10px; }
.option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 62px;
  padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line);
  text-align: left; font-size: 16px; font-weight: 560; box-shadow: var(--shadow-xs);
  transition: border-color 0.15s, background 0.2s, transform 0.18s var(--ease), box-shadow 0.2s;
  animation: enter-fwd 0.45s var(--ease) both;
}
.option:hover { border-color: #cfd4d9; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.option:active { transform: scale(0.99); }
.option__check { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.5px solid #cfd4d9; display: grid; place-items: center; color: transparent; transition: all 0.2s var(--ease); }
.option.is-selected { border-color: var(--green); background: var(--green-50); box-shadow: var(--ring); }
.option.is-selected .option__check { background: var(--green); border-color: var(--green); color: #fff; animation: pop 0.3s var(--ease); }

/* Seleção de plataforma */
.search { position: relative; margin-bottom: 12px; }
.search__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input--search { padding-left: 46px; }
.input--search::-webkit-search-cancel-button { -webkit-appearance: none; }
.platform-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.platform-item {
  min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; border-radius: var(--radius);
  border: 1.5px solid var(--line); background: var(--surface); text-align: left; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-xs); transition: border-color 0.15s, background 0.2s, transform 0.18s var(--ease);
  animation: enter-fwd 0.4s var(--ease) both;
}
.platform-item:hover:not(:disabled) { border-color: #cfd4d9; transform: translateY(-1px); }
.platform-item:disabled { opacity: 0.55; cursor: not-allowed; }
.platform-item.is-selected { border-color: var(--green); background: var(--green-50); box-shadow: var(--ring); }
.platform-item__avatar { width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 14px; font-weight: 750; color: var(--ink-2); }
.platform-item__avatar.is-other { background: var(--ink); color: #fff; border-color: var(--ink); }
.platform-item__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platform-item__check { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: transparent; flex: none; }
.platform-item.is-selected .platform-item__check { background: var(--green); color: #fff; animation: pop 0.3s var(--ease); }
.platform-item__tag { flex: none; font-size: 10.5px; font-weight: 650; color: var(--muted); background: var(--line-2); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.platform-item[data-id='outra'] { grid-column: 1 / -1; }
.platform-empty { grid-column: 1 / -1; padding: 16px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-size: 14px; display: grid; gap: 4px; justify-items: center; }
.other-box { margin-top: 14px; padding: 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: 10px; animation: enter-fwd 0.35s var(--ease) both; }
.other-box[hidden] { display: none; }

/* Período */
.period { display: grid; gap: 12px; }
.period__label { font-size: 13px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--center { justify-content: center; }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 650; font-size: 15px; box-shadow: var(--shadow-xs); transition: all 0.18s var(--ease);
}
.chip:hover { border-color: #cfd4d9; }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--soft { min-height: 38px; padding: 0 14px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.period__divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; margin: 6px 0 2px; }
.period__divider::before, .period__divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.period__row { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; }
.period__tag { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.period__selects { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.period__summary { font-size: 14px; color: var(--green-strong); font-weight: 600; min-height: 1px; }
.period__summary:empty { display: none; }

/* Valor */
.amount { display: grid; gap: 14px; }
.input--money { min-height: 76px; text-align: center; font-size: clamp(28px, 8vw, 36px); font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; border-radius: var(--radius-lg); }

/* Lista de plataformas */
.pcard-list { display: grid; gap: 10px; }
.pcard {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; padding: 16px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  animation: enter-fwd 0.45s var(--ease) both;
}
.pcard__avatar, .rcard__avatar { width: 44px; height: 44px; border-radius: 13px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 750; font-size: 17px; }
.pcard__name { font-size: 17px; margin-bottom: 6px; }
.pcard__meta { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pcard__meta dt, .rcard__grid dt, .stats dt { font-size: 12px; color: var(--muted); font-weight: 550; }
.pcard__meta dd, .rcard__grid dd, .stats dd { margin: 2px 0 0; font-weight: 650; font-size: 15px; font-variant-numeric: tabular-nums; }
.pcard__value { color: var(--ink); }
.pcard__actions { grid-column: 1 / -1; display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.pcard__actions .icon-btn { flex: 1; justify-content: center; }

.add-more {
  margin-top: 12px; width: 100%; min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px dashed #cdd2d7; border-radius: var(--radius-lg); background: transparent; font-weight: 650; color: var(--ink-2);
  transition: all 0.18s var(--ease);
}
.add-more:hover { border-color: var(--green); color: var(--green-strong); background: var(--green-50); }

.total-bar {
  margin: 18px 0 16px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow-md);
}
.total-bar__label { font-weight: 650; font-size: 15px; }
.total-bar__sub { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.total-bar__value { font-size: clamp(22px, 6vw, 26px); font-weight: 780; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--green-bright); }

/* ------------------------- Prova social (dados reais) -------------------- */

.proof {
  position: fixed; left: 50%; top: calc(10px + env(safe-area-inset-top, 0px)); z-index: 80;
  width: calc(100% - 20px); max-width: 420px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 12px 10px 12px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(12, 15, 18, 0.06); box-shadow: 0 10px 34px rgba(12, 15, 18, 0.18);
  transform: translate(-50%, calc(-100% - 24px)); opacity: 0; pointer-events: none;
  transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
}
.proof.is-in { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.proof__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: var(--green-bright); }
.proof__app { font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.proof__time { text-transform: none; font-weight: 500; letter-spacing: 0; }
.proof__title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.proof__meta { font-size: 12.5px; color: var(--muted); }
.proof__close { border: 0; background: none; color: var(--muted-2); padding: 6px; border-radius: 8px; }
.proof__close:hover { background: var(--bg-soft); color: var(--ink); }

.reviews__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); margin-bottom: 22px; }
.reviews__summary strong { color: var(--ink); font-size: 18px; }
.reviews { display: grid; gap: 12px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 12px; }
.review__text { color: var(--ink-2); font-size: 15.5px; }
.review__author { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.review__author > span:nth-child(2) { display: grid; }
.review__meta { font-size: 12.5px; color: var(--muted); }
.review__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review__verified { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 650; color: var(--green-strong); background: var(--green-50); padding: 3px 8px; border-radius: 999px; }
.stars { display: inline-flex; gap: 2px; }
.star { fill: var(--line); }
.star.is-on { fill: #f5b301; }
@media (min-width: 640px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------- Toast --------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px); opacity: 0; transition: all 0.3s var(--ease); max-width: calc(100% - 32px);
}
.toast .icon { color: var(--green-bright); }
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }

/* -------------------------------- Loading -------------------------------- */

.loader-wrap { padding-top: 20px; }
.loader { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 0 10px; }
.loader__visual { position: relative; width: 148px; height: 148px; margin-bottom: 26px; }
.loader__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.loader__ring-bg { fill: none; stroke: var(--line-2); stroke-width: 8; }
.loader__ring-fg { fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 0.25s linear; }
.loader__center { position: absolute; inset: 18px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-md); display: grid; place-items: center; }
.loader__pct { font-size: 26px; font-weight: 780; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.loader__pulse { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green-100); animation: pulse-ring 2.2s var(--ease) infinite; }
.loader__title { font-size: clamp(23px, 6vw, 28px); font-weight: 760; }
.loader__msg { margin-top: 10px; color: var(--muted); font-size: 16px; min-height: 26px; }
.loader__msg.is-swap { animation: swap 0.45s var(--ease); }
.loader__bar { width: 100%; max-width: 360px; height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; margin-top: 22px; }
.loader__bar-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-bright)); position: relative; overflow: hidden; }
.loader__bar-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent); animation: shimmer 1.3s linear infinite; }
.loader__steps { list-style: none; padding: 18px; margin: 26px 0 0; width: 100%; max-width: 400px; display: grid; gap: 12px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.loader__steps li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted-2); transition: color 0.3s; }
.loader__dot { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: all 0.3s var(--ease); }
.loader__steps li.is-active { color: var(--ink); font-weight: 600; }
.loader__steps li.is-active .loader__dot { border-color: var(--green); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.loader__steps li.is-done { color: var(--ink-2); }
.loader__steps li.is-done .loader__dot { background: var(--green); border-color: var(--green); color: #fff; animation: pop 0.3s var(--ease); }
.loader--error .stack { margin-top: 24px; max-width: 400px; }

/* -------------------------------- Resultado ------------------------------ */

.result-hero { position: relative; padding: 36px 0 18px; overflow: hidden; }
.result-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; padding: 6px 11px; border-radius: 999px; }
.badge--success { background: var(--green-50); color: var(--green-strong); border: 1px solid var(--green-100); }
.badge--neutral { background: var(--line-2); color: var(--muted); border: 1px solid var(--line); }
.result-hero__title { margin-top: 16px; font-size: clamp(28px, 7vw, 44px); font-weight: 780; letter-spacing: -0.035em; text-wrap: balance; }
.result-hero__text { margin-top: 12px; color: var(--muted); font-size: 17px; }

.stats { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-xs); }
.stats__item--wide { grid-column: 1 / -1; }
.stats dd { font-size: 19px; font-weight: 740; letter-spacing: -0.01em; }

.rcard-list { display: grid; gap: 14px; }
.rcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 20px; box-shadow: var(--shadow-md); }
.rcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rcard__name { font-size: 17px; letter-spacing: 0.02em; font-weight: 750; }
.rcard__grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.rcard__estimate { margin-top: 16px; padding: 16px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.rcard__estimate-label { font-size: 13px; font-weight: 650; color: var(--green-strong); }
.rcard__estimate-value { margin-top: 2px; font-size: clamp(24px, 7vw, 30px); font-weight: 790; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rcard__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.total {
  position: relative; overflow: hidden; text-align: center; padding: 34px 22px 28px; border-radius: var(--radius-xl);
  background: radial-gradient(120% 90% at 50% 0%, #1b2329 0%, #0b0e11 60%); color: #fff; box-shadow: var(--shadow-lg);
  margin-bottom: 14px;
}
.total__shine { position: absolute; inset: -40% -10% auto; height: 300px; background: radial-gradient(40% 60% at 50% 40%, rgba(52, 211, 153, 0.28), transparent 70%); pointer-events: none; }
.total__eyebrow { position: relative; font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.total__value { position: relative; margin-top: 12px; font-size: clamp(38px, 11vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; color: #fff; }
.total__value.is-done { animation: glow 1.2s var(--ease); }
.total__tag { position: relative; display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 650; color: var(--green-bright); background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.25); padding: 5px 11px; border-radius: 999px; }
.total__disclaimer { position: relative; margin: 18px auto 0; max-width: 56ch; font-size: 13px; color: rgba(255, 255, 255, 0.66); line-height: 1.6; }

.legal { border-radius: var(--radius-lg); padding: 18px 20px; display: grid; gap: 8px; }
.legal--card { background: var(--warn-50); border: 1px solid #f5e2bf; }
.legal--footer { background: var(--bg-soft); border: 1px solid var(--line); margin: 26px 0 18px; }
.legal__title { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.legal--card .legal__title { color: var(--warn); }
.legal__text { font-size: 13px; color: var(--ink-2); line-height: 1.6; }

.summary { padding: 24px 20px; display: grid; gap: 16px; }
.summary__title { font-size: 20px; }
.summary__list { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.summary__list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.summary__list > div + div { border-top: 1px solid var(--line); }
.summary__list dt { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.summary__list dt .icon { color: var(--muted); flex: none; }
.summary__list dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; text-align: right; }
.summary__list .is-highlight { background: var(--green-50); }
.summary__list .is-highlight dt { color: var(--green-strong); font-weight: 600; }
.summary__list .is-highlight dt .icon { color: var(--green); }
.summary__list .is-highlight dd { color: var(--green-strong); font-size: 17px; }
.summary__next { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.summary__next .icon { color: var(--green); }
.summary .link-btn { justify-self: center; }

/* Processo */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.process__item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; position: relative; padding-bottom: 14px; }
.process__rail { position: relative; display: flex; justify-content: center; }
.process__item:not(:last-child) .process__rail::after {
  content: ''; position: absolute; top: 50px; bottom: -14px; width: 2px; border-radius: 2px;
  background: linear-gradient(var(--green), var(--green-100));
}
.process__icon { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 15px; background: var(--ink); color: var(--green-bright); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.process__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); display: grid; gap: 8px; }
.process__n { font-size: 12px; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.process__title { font-size: 18px; }
.process__text { color: var(--ink-2); font-size: 15px; }

.meaning { padding: 26px 22px; display: grid; gap: 14px; }
.meaning__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.meaning__list li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; }
.meaning__list li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.section--cta { padding-top: 8px; padding-bottom: 64px; }
.cta-card { padding: 30px 22px; text-align: center; display: grid; gap: 14px; justify-items: center; background: linear-gradient(180deg, #fff, var(--bg-softer)); }
.cta-card__title { font-size: clamp(24px, 6vw, 32px); font-weight: 780; letter-spacing: -0.03em; text-wrap: balance; }
.cta-card__text { color: var(--muted); font-size: 16.5px; max-width: 44ch; margin-bottom: 6px; }
.cta-card__micro { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.cta-card__micro .icon { color: var(--green); }

/* -------------------------------- Checkout ------------------------------- */

.checkout { position: relative; padding: 22px 0 64px; overflow: hidden; }
.checkout__back { margin-bottom: 14px; }
.checkout__title { margin-top: 14px; font-size: clamp(26px, 6.6vw, 40px); font-weight: 780; letter-spacing: -0.035em; text-wrap: balance; }
.checkout__text { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.checkout__recap { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.checkout__recap strong { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }

.product { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px 20px; box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.product__head { display: flex; align-items: center; gap: 12px; }
.product__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--green-bright); display: grid; place-items: center; }
.product__title { font-size: 16px; letter-spacing: 0.04em; font-weight: 780; }
.product__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.product__list li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 550; color: var(--ink-2); }
.product__check { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; border: 1px solid var(--green-100); }
.product__price { display: grid; gap: 2px; padding: 18px; border-radius: var(--radius-lg); background: var(--bg-softer); border: 1px solid var(--line); text-align: center; }
.product__price-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.product__price-value { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.product__price-note { font-size: 13px; color: var(--muted); }
.product__trust { list-style: none; padding: 0; margin: -4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.product__trust li { display: inline-flex; align-items: center; gap: 6px; }
.product__trust .icon { color: var(--green); }
.product__fine { font-size: 12.5px; color: var(--muted); line-height: 1.6; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* Pacotes */
.packages { display: grid; gap: 10px; }
.package {
  position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 16px; border-radius: var(--radius-lg); border: 1.5px solid var(--line); background: var(--surface);
  cursor: pointer; transition: border-color 0.15s, background 0.2s, box-shadow 0.2s;
}
.package:hover { border-color: #cfd4d9; }
.package.is-selected { border-color: var(--green); background: var(--green-50); box-shadow: var(--ring); }
.package__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.package__radio { width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; border: 1.5px solid #c9ced3; background: var(--surface); transition: all 0.18s var(--ease); }
.package.is-selected .package__radio { border-color: var(--green); border-width: 7px; }
.package__input:focus-visible ~ .package__radio { box-shadow: var(--ring); }
.package__body { display: grid; gap: 8px; min-width: 0; }
.package__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.package__title { font-weight: 700; font-size: 15.5px; }
.package__badge { justify-self: start; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; background: var(--ink); padding: 3px 8px; border-radius: 999px; }
.package__items { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.package__items li { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.package__items .icon { color: var(--green); flex: none; }
.package__guarantee { display: flex; align-items: flex-start; gap: 7px; padding: 9px 11px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--green); font-size: 13px; font-weight: 600; color: var(--green-strong); line-height: 1.4; }
.package__guarantee .icon { flex: none; margin-top: 1px; }
.package__compare { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.package__compare s { text-decoration-thickness: 1.5px; }
.package__save { font-weight: 700; color: var(--green-strong); background: var(--green-100); padding: 2px 8px; border-radius: 999px; }
.product__why { font-size: 14px; color: var(--ink-2); margin-top: -6px; }
.product__savings { margin-top: 4px; font-size: 13.5px; font-weight: 650; color: var(--green-strong); }
.package__price { font-weight: 780; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.product__price-value.is-swap { animation: swap 0.35s var(--ease); }

/* --------------------------------- Modal --------------------------------- */

.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(12, 15, 18, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.2s; padding: 0;
}
.modal-overlay.is-open { opacity: 1; }
.modal {
  width: 100%; max-width: 480px; background: var(--surface); border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg);
  transform: translateY(24px); transition: transform 0.3s var(--ease); display: grid; gap: 14px;
}
.modal-overlay.is-open .modal { transform: translateY(0); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal__title { font-size: 19px; }
.modal__body { display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; }
.modal__actions .btn { flex: 1; }
.modal .icon-btn { border: 0; padding: 0 8px; }

/* ---------------------------- Páginas legais ----------------------------- */

.legal-page { padding: 26px 0 56px; }
.legal-page__title { margin-top: 16px; font-size: clamp(28px, 6.6vw, 40px); font-weight: 780; letter-spacing: -0.035em; }
.legal-page__date { margin-top: 6px; color: var(--muted); font-size: 14px; }
.legal-page__draft { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--warn-50); border: 1px solid #f5e2bf; color: var(--warn); font-size: 13.5px; }
.legal-page__draft .icon { flex: none; margin-top: 2px; }
.legal-page__intro { margin: 18px 0 20px; font-size: 17px; color: var(--ink-2); }
.legal-page__toc { padding: 16px 18px; border-radius: var(--radius-lg); background: var(--bg-softer); border: 1px solid var(--line); margin-bottom: 26px; }
.legal-page__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.legal-page__toc a { color: var(--ink-2); text-decoration: none; }
.legal-page__toc a:hover { color: var(--green); text-decoration: underline; }
.legal-page__section { padding: 18px 0; border-top: 1px solid var(--line-2); display: grid; gap: 10px; }
.legal-page__section h2 { font-size: 19px; }
.legal-page__section p, .legal-page__section li { color: var(--ink-2); font-size: 15.5px; }
.legal-page__section ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-page__section a { color: var(--green); font-weight: 600; }
.legal-page .card { margin-top: 8px; }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); }
.notice--success { background: var(--green-50); border: 1px solid var(--green-100); color: var(--ink-2); }
.notice--success > .icon { color: var(--green); flex: none; margin-top: 2px; }
.notice__title { font-weight: 700; color: var(--ink); margin-bottom: 2px; }

.notfound { padding: 80px var(--gutter); text-align: center; display: grid; gap: 14px; justify-items: center; }

/* --------------------------------- Footer -------------------------------- */

.footer { border-top: 1px solid var(--line); background: var(--bg-softer); padding: 36px 0 28px; }
.footer__top { display: grid; gap: 18px; }
.footer__tagline { margin-top: 6px; font-size: 14px; color: var(--muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; }
.footer__nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; }
.footer__nav a:hover { color: var(--green); }
.footer__copy { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ------------------------------- Animações -------------------------------- */

.fade-up { animation: enter-fwd 0.7s var(--ease) both; }
.delay-1 { animation-delay: 0.06s; }
.delay-2 { animation-delay: 0.12s; }
.delay-3 { animation-delay: 0.18s; }
.delay-4 { animation-delay: 0.26s; }
.delay-5 { animation-delay: 0.34s; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes enter-fwd { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse-ring { 0% { transform: scale(0.92); opacity: 0.9; } 100% { transform: scale(1.18); opacity: 0; } }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0% { text-shadow: 0 0 0 rgba(52, 211, 153, 0); } 40% { text-shadow: 0 0 28px rgba(52, 211, 153, 0.55); } 100% { text-shadow: 0 0 0 rgba(52, 211, 153, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------ Breakpoints ------------------------------ */

@media (max-width: 430px) {
  .btn--xl { padding: 0 16px; gap: 8px; font-size: 15.5px; letter-spacing: 0; }
  .product { padding: 22px 16px; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .platform-item__tag { display: none; }
  .header__badge span { display: none; }
  .header__badge { padding: 7px; }
  .platform-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}

@media (min-width: 640px) {
  :root { --gutter: 28px; --header-h: 68px; }
  .hero { padding: 64px 0 80px; }
  .hero__video { margin-top: 40px; }
  .how { grid-template-columns: repeat(3, 1fr); }
  .how__item { grid-template-columns: 1fr; padding: 22px; }
  .transparency { padding: 36px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats__item--wide { grid-column: auto; }
  .rcard { padding: 26px; }
  .total { padding: 48px 36px 38px; }
  .summary, .meaning { padding: 32px; }
  .cta-card { padding: 44px 40px; }
  .product { padding: 32px; }
  .modal-overlay { align-items: center; padding: 20px; }
  .modal { border-radius: var(--radius-xl); padding: 26px; }
  .footer__top { grid-template-columns: 1fr auto; align-items: start; }
  .step { padding-top: 28px; }
}

@media (min-width: 900px) {
  .section { padding: 80px 0; }
  .section--tight { padding: 24px 0; }
  .process__item { grid-template-columns: 56px 1fr; gap: 20px; }
  .process__icon { width: 56px; height: 56px; }
  .process__item:not(:last-child) .process__rail::after { top: 58px; }
}

/* --------------------- Checkout de oferta única e upsells ----------------- */

.product__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.product__items li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--ink-2); }
.product__items .icon { color: var(--green); margin-top: 3px; flex: none; }

.vsl .hero__subtitle { max-width: 46ch; }
.vsl .badge { margin-bottom: 4px; }

.upsell__list { margin-top: 24px; display: grid; gap: 14px; }
.upsell { position: relative; display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); }
.upsell .package__badge { justify-self: start; }
.upsell__title { font-size: 20px; font-weight: 760; letter-spacing: -0.02em; }
.upsell__price { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: var(--green-strong); font-variant-numeric: tabular-nums; }
.upsell__price span { font-size: 20px; color: var(--muted); }
.upsell__soon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; border-radius: var(--radius); background: var(--line-2); color: var(--muted); font-weight: 650; font-size: 14px; }
.upsell__skip { margin: 24px auto 0; display: flex; align-items: center; gap: 6px; }
.upsell__notice { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-strong); font-weight: 600; font-size: 15px; }
.upsell__notice[hidden] { display: none; }
.upsell__includes { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-strong); font-size: 13px; font-weight: 700; }
.upsell__subtitle { color: var(--ink-2); font-size: 16px; font-weight: 550; margin-top: -4px; }
.upsell__partner { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.upsell__partner .icon { flex: none; margin-top: 2px; }
.upsell__urgency { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--warn-50); color: var(--warn); font-size: 14.5px; font-weight: 600; }
.upsell__urgency .icon { flex: none; margin-top: 2px; }
.upsell .upsell__price { text-align: center; font-size: 34px; }
.upsell__container { max-width: 1120px; }
.upsell-page .checkout__title, .upsell-page .checkout__text { max-width: 720px; }
@media (min-width: 960px) { .upsell__list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.upsell__label { justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.upsell--featured { border: 2px solid var(--green); box-shadow: 0 0 0 6px var(--green-50), var(--shadow-lg); }
.upsell--featured .upsell__label { padding: 5px 11px; border-radius: 999px; background: var(--green); color: #fff; }
.upsell__disclaimer { margin-top: 18px; text-align: center; }

/* ------------------------ Linha do tempo de prazos ------------------------ */
.speed { padding: 16px; border-radius: var(--radius-lg); background: var(--green-50); border: 1px solid var(--green-100); }
.speed__title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--green-strong); }
.speed__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; position: relative; }
.speed__item { display: flex; gap: 12px; align-items: flex-start; position: relative; }
.speed__item:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 32px; bottom: -12px; width: 2px; background: var(--green-100); }
.speed__icon { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.speed__item strong { display: block; font-size: 15px; color: var(--ink); }
.speed__item div > span { display: block; font-size: 14px; color: var(--ink-2); }
.upsell__speed { margin-top: 20px; }
@media (min-width: 960px) { .upsell__speed .speed__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } .upsell__speed .speed__item:not(:last-child)::after { display: none; } }
.upsell__compare { display: grid; justify-items: center; gap: 2px; text-align: center; font-size: 14px; color: var(--muted); }
.upsell__compare s { font-size: 18px; font-weight: 650; color: var(--danger); }
.upsell__compare strong { margin-top: 4px; font-size: 14.5px; color: var(--green-strong); }
.upsell--featured .upsell__label { font-size: 13px; padding: 6px 12px; background: linear-gradient(90deg, #f97316, #ef4444); }
@media (min-width: 960px) { .upsell__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; } }
