/* =========================================================
   FONTES — todas hospedadas na própria pasta (fonts/)
   para respeitar o CSP do site (font-src 'self').
   PT Serif / PT Sans: subconjunto latin do Google Fonts.
   Avenue Pro Bold: apenas no botão "ir para o app" do header.
   ========================================================= */
@font-face { font-family: 'PT Sans'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('fonts/PTSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'PT Sans'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/PTSans-Bold.woff2') format('woff2'); }
@font-face { font-family: 'PT Serif'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('fonts/PTSerif-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Avenue Pro'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('fonts/AvenuePro-Bold.woff2') format('woff2'); }

/* =========================================================
   TOKENS (variáveis do Figma)
   ========================================================= */
:root {
  --serif: 'PT Serif', Georgia, serif;
  --sans: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;

  --green-400: #7de494;
  --green-950: #132724;
  --green-100: #d7f2dd;
  --lime-500: #e7ff37;
  --red-500: #da5c4e;
  --black: #000;
  --white: #fff;
  --header-btn: #4ae077;
  --firefly: #0c2028;
}

/* =========================================================
   BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--white);
  font-family: var(--sans); font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 120px; padding-right: 120px; }
.h2 { font-family: var(--serif); font-size: 56px; line-height: 1.08; color: var(--white); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 4px;
  font-family: var(--sans); font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, filter .2s ease;
}
.btn--primary { background: var(--green-400); color: var(--green-950); }
.btn--primary:hover { filter: brightness(1.08); }
.btn--secondary { border: 1.5px solid var(--green-400); color: var(--green-400); }
.btn--secondary:hover { background: var(--green-400); color: var(--green-950); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* =========================================================
   HEADER
   ========================================================= */
.header { background: var(--black); border-bottom: 1px solid var(--green-100); padding: 15px 0 13px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.header__logo { display: block; width: 120px; height: 23px; }
.header__logo img { width: 120px; height: 22.1593px; }
.header__btn {
  display: inline-flex; align-items: center; padding: 16px 23px; border-radius: 48px;
  background: var(--header-btn); color: var(--firefly);
  font-family: 'Avenue Pro', var(--sans); font-weight: 700; font-size: 16px; line-height: 24px; white-space: nowrap;
  transition: filter .2s ease;
}
.header__btn:hover { filter: brightness(1.05); }

/* =========================================================
   HERO
   ========================================================= */
.hero { background: var(--black); padding-top: 72px; display: flex; flex-direction: column; gap: 56px; overflow: hidden; }
.hero__inner { display: flex; align-items: center; gap: 80px; }
.hero__text { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.hero__logo { width: 132px; height: 30.9606px; }
.hero__title { font-family: var(--serif); font-size: 72px; line-height: 1; color: var(--green-400); }
.hero__lead { font-size: 20px; line-height: 1.5; color: var(--white); }
.hero__actions { display: flex; align-items: center; gap: 24px; }
.hero__prazo { font-size: 15px; line-height: 1.4; color: var(--green-100); white-space: nowrap; }
.hero__linhas { display: block; width: 100%; height: 150px; }

/* Formulário */
.form {
  width: 520px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 20px;
  padding: 40px; border-radius: 8px; background: var(--green-950);
}
.form__title { font-family: var(--serif); font-size: 30px; line-height: 1.15; color: var(--white); }
.form__title:focus { outline: none; }
.form__row { display: flex; gap: 16px; }
.field { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 8px; }
.field__label { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--white); }
.field__input {
  width: 100%; margin: 0; padding: 13px 14px;
  background: var(--black); border: 1px solid var(--green-100); border-radius: 4px;
  font-family: var(--sans); font-size: 16px; line-height: 1.4; color: var(--white);
  outline: none;
}
.field__input::placeholder { color: var(--green-100); opacity: 1; }
.field__input:focus { border-color: var(--green-400); box-shadow: 0 0 0 1px var(--green-400); }
.field__error { display: none; font-size: 13px; line-height: 18px; color: #ff8a80; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .field__input { border-color: #ff8a80; box-shadow: 0 0 0 1px #ff8a80; }

.form__consent { flex: none; }
.form__check { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; font-size: 14px; line-height: 1.5; color: var(--green-100); }
.form__check input {
  appearance: none; -webkit-appearance: none; flex-shrink: 0;
  width: 18px; height: 18px; margin: 1px 0 0; border: 1px solid var(--green-100); border-radius: 2px;
  background: var(--black) center / 12px no-repeat; cursor: pointer;
}
.form__check input:checked {
  background-color: var(--green-400); border-color: var(--green-400);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3' fill='none' stroke='%23132724' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form__check input:focus-visible { outline: 2px solid var(--green-400); outline-offset: 2px; }
.field.is-invalid .form__check input { border-color: #ff8a80; box-shadow: 0 0 0 1px #ff8a80; }
.form__check a { color: var(--green-400); text-decoration: underline; text-underline-position: from-font; }
.form__note { font-size: 14px; line-height: 1.5; color: var(--green-100); }
.form__feedback:empty { display: none; }
.form__feedback { font-size: 14px; line-height: 1.5; color: var(--green-400); }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* =========================================================
   DESCONTOS
   ========================================================= */
.descontos { background: var(--black); }
.descontos__inner { display: flex; flex-direction: column; gap: 64px; padding-top: 128px; padding-bottom: 112px; }
.descontos__head { display: flex; align-items: flex-end; gap: 80px; }
.descontos__head > * { flex: 1 0 0; min-width: 1px; }
.descontos__intro { font-size: 20px; line-height: 1.5; color: var(--green-100); }

.faixas { display: flex; align-items: flex-end; gap: 24px; }
.faixa {
  flex: 1 0 0; min-width: 1px; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding: 32px 32px 40px; border-top: 2px solid var(--green-400);
}
.faixa--destaque { border-top: 0; background: var(--green-950); }
.faixa__linhas { width: 320px; max-width: 100%; }
.faixa__respiro { display: block; width: 10px; height: 16px; }
.faixa__espaco { display: block; width: 100%; height: 12px; }
.faixa__plano { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--green-400); }
.faixa__pct { font-family: var(--serif); font-size: 124px; line-height: 1; color: var(--white); }
.faixa__de { font-size: 22px; line-height: 1.3; color: var(--white); }
.faixa__txt { font-size: 18px; line-height: 1.5; color: var(--green-100); }
.faixa--destaque .faixa__plano { color: var(--lime-500); }
.faixa--destaque .faixa__pct { color: var(--green-400); }

.somar { display: flex; align-items: center; gap: 80px; padding-top: 32px; border-top: 1px solid var(--green-400); }
.somar__title { font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--white); white-space: nowrap; }
.somar__txt { flex: 1 0 0; min-width: 1px; font-size: 20px; line-height: 1.5; color: var(--green-100); }

/* =========================================================
   O QUE CONTA COMO APORTE
   ========================================================= */
.aportes { background: var(--black); }
.aportes__inner { display: flex; flex-direction: column; gap: 64px; padding-top: 112px; padding-bottom: 128px; }
.aportes__cols { display: flex; align-items: flex-start; gap: 80px; }
.aporte { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 20px; padding-top: 32px; }
.aporte--sim { border-top: 2px solid var(--green-400); }
.aporte--nao { border-top: 2px solid var(--red-500); }
.aporte__title { font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--white); }
.aporte--sim .aporte__title { color: var(--green-400); }
.aporte__lista { display: flex; flex-direction: column; gap: 20px; }
.aporte__lista li { display: flex; align-items: flex-start; gap: 14px; font-size: 18px; line-height: 1.4; color: var(--white); }
.aporte__lista img { width: 24px; height: 24px; flex-shrink: 0; }
.aporte__nota { font-size: 16px; line-height: 1.5; color: var(--green-100); }

/* =========================================================
   PASSO A PASSO
   ========================================================= */
.passos { background: var(--black); }
.passos__inner { display: flex; flex-direction: column; gap: 64px; padding-top: 128px; padding-bottom: 112px; }
.passos__miolo { display: flex; align-items: flex-start; gap: 96px; }
.passos__col { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 40px; }
.passo { display: flex; align-items: flex-start; gap: 28px; padding: 22px 0; border-top: 1px solid var(--green-400); }
.passo__num { flex-shrink: 0; width: 40px; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--white); }
.passo > div { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 4px; }
.passo__title { font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--white); }
.passo__txt { font-size: 18px; line-height: 1.4; color: var(--green-400); }
.passos__foto { position: relative; width: 480px; height: 640px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.passos__foto img { position: absolute; top: 0; left: -42.51%; width: 238.92%; height: 100%; }

.timeline { display: flex; align-items: flex-start; gap: 24px; }
.timeline__item { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 2px solid var(--green-400); }
.timeline__data { font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--white); }
.timeline__txt { font-size: 16px; line-height: 1.4; color: var(--green-400); }

/* =========================================================
   ASSINANTE
   ========================================================= */
.assinante { background: var(--black); overflow: hidden; }
.assinante__inner { position: relative; padding-top: 128px; padding-bottom: 128px; }
.assinante__texto { position: relative; width: 596px; display: flex; flex-direction: column; gap: 40px; }
.assinante__title { font-family: var(--serif); font-size: 52px; line-height: 1.1; color: var(--green-400); }
.assinante__lead { font-size: 20px; line-height: 1.5; color: var(--white); }
.bonus { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 2px solid var(--lime-500); }
.bonus__label { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--lime-500); }
.bonus__title { font-family: var(--serif); font-size: 28px; line-height: 1.2; color: var(--white); }
.bonus__txt { font-size: 18px; line-height: 1.5; color: var(--green-100); }
.pagar { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--green-400); }
.pagar__label { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--green-400); }
.pagar__cols { display: flex; gap: 24px; }
.pagar__cols > div { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 2px; }
.pagar__title { font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--white); }
.pagar__txt { font-size: 18px; line-height: 1.4; color: var(--green-100); }
.assinante__mockup { position: absolute; top: 128px; left: calc(120px + 652px); width: 921.763px; height: 621.11px; }
.assinante__mockup img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--black); }
.faq__inner { display: flex; align-items: flex-start; gap: 96px; padding-top: 128px; padding-bottom: 128px; }
.faq__title { width: 416px; flex-shrink: 0; }
.faq__grupos { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 56px; }
.faq__grupo { display: flex; flex-direction: column; gap: 8px; }
.faq__cat { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--green-400); }
.faq__item { border-bottom: 1px solid var(--green-400); }
.faq__q { display: flex; align-items: center; gap: 32px; width: 100%; min-height: 50px; padding: 10px 0; }
.faq__q span { flex: 1 0 0; min-width: 1px; font-size: 20px; line-height: 1.4; color: var(--white); }
.faq__q img { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s ease; }
.faq__q:focus-visible { outline: 2px solid var(--green-400); outline-offset: 2px; }
.faq__item.is-open .faq__q img { transform: rotate(45deg); }
.faq__a { padding: 0 52px 20px 0; font-size: 18px; line-height: 1.5; color: var(--green-100); }
.faq__a[hidden] { display: none; }
.faq__a p + p { margin-top: 12px; }
.faq__a a { color: var(--green-400); text-decoration: underline; text-underline-position: from-font; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta { background: var(--green-950); overflow: hidden; }
.cta__inner { max-width: 1440px; margin: 0 auto; display: flex; align-items: center; gap: 48px; padding-left: 120px; }
.cta__texto { flex: 1 0 0; min-width: 1px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; padding: 128px 0; }
.cta__title { font-family: var(--serif); font-size: 64px; line-height: 1.05; color: var(--green-400); }
.cta__lead { font-size: 20px; line-height: 1.5; color: var(--white); }
.cta__legal { font-size: 14px; line-height: 1.5; color: var(--green-100); }
.cta__radial { display: block; width: 582px; height: 582px; aspect-ratio: 1 / 1; flex-shrink: 0; }

/* =========================================================
   FOOTER (estrutura da LP anterior, tema escuro)
   ========================================================= */
.lp-footer { background: var(--black); color: var(--white); border-top: 1px solid var(--green-950); }
.lp-container { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 120px; padding-right: 120px; }
.lp-footer__inner { display: flex; flex-direction: column; gap: 64px; padding-top: 64px; padding-bottom: 64px; }
.lp-footer__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.lp-footer__divider { width: 100%; height: 1px; margin: 0; border: 0; background: var(--green-950); }
.lp-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.lp-footer__logo { width: 120px; height: 22px; }
.lp-footer__copy { font-style: normal; font-size: 16px; line-height: 20px; color: var(--white); }
.lp-footer__social { display: flex; align-items: center; gap: 8px; }
.lp-footer__social a { display: block; width: 48px; height: 48px; transition: opacity .2s ease; }
.lp-footer__social a:hover { opacity: .7; }
/* ícones originais são escuros: renderiza em branco no tema escuro */
.lp-footer__social img { width: 48px; height: 48px; filter: brightness(0) invert(1); }

.lp-footer__heading { font-weight: 700; font-size: 18px; line-height: 24px; color: var(--green-400); }
.lp-disclaimer__summary { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.lp-disclaimer__summary::-webkit-details-marker { display: none; }
.lp-disclaimer__summary:focus-visible { outline: 2px solid var(--green-400); outline-offset: 4px; border-radius: 2px; }
/* seta original é escura: recolorida para o verde do título */
.lp-disclaimer__arrow {
  width: 16px; height: 16px; transition: transform .25s ease;
  filter: brightness(0) saturate(100%) invert(84%) sepia(21%) saturate(749%) hue-rotate(76deg) brightness(97%) contrast(89%);
}
.lp-disclaimer[open] .lp-disclaimer__arrow { transform: scaleY(-1); }
.lp-disclaimer__body { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--green-100); }
.lp-disclaimer__body strong { font-weight: 700; color: var(--white); }
.lp-disclaimer__body a { text-decoration: underline; text-underline-position: from-font; }

/* =========================================================
   RESPONSIVO (abaixo da largura do protótipo 1440px)
   ========================================================= */
@media (max-width: 1439px) {
  .container, .lp-container { padding-left: clamp(16px, 8.33vw, 120px); padding-right: clamp(16px, 8.33vw, 120px); }
  .cta__inner { padding-left: clamp(16px, 8.33vw, 120px); }
  .hero__inner { gap: 48px; }
  .hero__title { font-size: clamp(48px, 5vw, 72px); }
  .faixa__pct { font-size: clamp(80px, 8.6vw, 124px); }
  .passos__miolo { gap: 48px; }
  .faq__inner { gap: 48px; }
  .faq__title { width: auto; flex: 0 1 416px; }
  .cta__radial { width: clamp(320px, 40vw, 582px); height: auto; }
  .assinante__mockup { left: calc(clamp(16px, 8.33vw, 120px) + 652px); }
}

@media (max-width: 1100px) {
  .h2 { font-size: 44px; }
  .hero__inner, .passos__miolo, .faq__inner, .descontos__head, .aportes__cols { flex-direction: column; align-items: stretch; gap: 32px; }
  .hero__text, .form { width: 100%; flex: none; }
  .faixas { flex-direction: column; align-items: stretch; }
  .faixa, .aporte, .passos__col, .descontos__head > * { flex: none; }
  .faixa__linhas { height: auto; }
  .somar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .somar__title { white-space: normal; }
  .passos__foto { width: 100%; max-width: 480px; height: auto; aspect-ratio: 480 / 640; }
  .timeline { flex-wrap: wrap; }
  .timeline__item { flex: 1 1 calc(50% - 12px); }
  .assinante__texto { width: 100%; }
  .assinante__mockup { position: static; width: 100%; height: auto; margin-top: 48px; }
  .assinante__mockup img { height: auto; }
  .faq__title { flex: none; }
  .cta__inner { flex-direction: column; align-items: stretch; padding-right: clamp(16px, 8.33vw, 120px); gap: 0; }
  .cta__texto { padding: 80px 0 32px; }
  .cta__radial { width: min(100%, 420px); align-self: center; margin-bottom: 64px; }
  .hero__inner, .descontos__inner, .aportes__inner, .passos__inner, .faq__inner { padding-top: 80px; padding-bottom: 80px; }
  .assinante__inner { padding-top: 80px; padding-bottom: 80px; }
  .lp-footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .lp-footer__social { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  .h2 { font-size: 36px; }
  .hero { padding-top: 48px; gap: 40px; }
  .hero__title { font-size: 44px; }
  .hero__lead { font-size: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__prazo { white-space: normal; }
  .btn { white-space: normal; text-align: center; }
  .header__btn { padding: 12px 18px; }
  .form { padding: 24px 16px; }
  .form__title { font-size: 26px; }
  .form__row { flex-direction: column; }
  .faixa { padding: 24px 20px 32px; }
  .faixa__pct { font-size: 88px; }
  .assinante__title { font-size: 38px; }
  .pagar__cols { flex-direction: column; gap: 16px; }
  .passo__title { font-size: 20px; }
  .timeline__item { flex-basis: 100%; }
  .faq__q span { font-size: 18px; }
  .faq__a { padding-right: 0; }
  .cta__title { font-size: 44px; }
}

/* =========================================================
   PÁGINA DE OBRIGADO
   ========================================================= */
.obrigado__inner { min-height: 548px; }
.obrigado__text { flex: 0 1 600px; }
@media (max-width: 1100px) {
  .obrigado__inner { min-height: 0; }
  .obrigado__text { flex: none; }
}
