/* ==========================================================================
   Seções das LPs (de cima para baixo) e páginas de destino
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 36px 64px; }
.hero::before { /* brilho no canto, na cor da peça */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -420px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.hero__title { font-size: clamp(3.1rem, 14.6vw, 8.25rem); line-height: .92; margin-top: 6px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.hero__actions .btn--accent { flex: 1 1 auto; }
.hero__actions .btn--ghost { display: none; }
.hero__art { display: none; }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: 72px; }
.section--alt { background: var(--card); }
.sec-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.sec-sub { max-width: 40ch; font-size: clamp(18px, 4.6vw, 24px); font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.sec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

/* ---------- Faixa laranja "Sua turma ainda está negociando?" ---------- */
.band { position: relative; overflow: hidden; padding-block: 56px 64px; background: var(--orange); color: var(--ink); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.band__copy { display: flex; flex-direction: column; gap: 14px; flex: 1 1 560px; min-width: 0; }
.band__title { font-size: clamp(2.8rem, 12vw, 5.5rem); }
.band__inner > .btn { width: 100%; }
.band__text { max-width: 34ch; font-size: clamp(18px, 4.6vw, 24px); font-weight: 600; line-height: 1.35; }

/* ---------- Cadastro ---------- */
.section--form { border-top: 1px solid var(--line); scroll-margin-top: 56px; }
.form-wrap { display: grid; gap: 32px; }
.form-intro { display: flex; flex-direction: column; gap: 18px; }
.form-intro__title { font-size: clamp(3.6rem, 16.5vw, 7rem); line-height: .96; }
.form-intro .lead { font-weight: 500; color: var(--text-soft); }
.form-intro__cd b { color: var(--accent); }
.form-intro__cd.is-over { display: none; }

/* ---------- Perguntas frequentes ---------- */
.faq__wrap { max-width: calc(900px + 2 * var(--gutter)); }
.faq__title { margin-bottom: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 16px; background: var(--ink); scroll-margin-top: 96px; }
.faq__q {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 20px 22px; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 700; line-height: 1.35; border-radius: 16px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: #fff; }
.faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--graphite); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: var(--accent); transition: transform .35s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 22px 22px; }
.faq__a p { max-width: 62ch; font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--text-soft); }
.faq__foot { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 24px; }

/* Abre e fecha com animação nos navegadores que já suportam (os demais só alternam) */
@supports selector(::details-content) {
  .faq { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete;
  }
  .faq__item[open]::details-content { block-size: auto; }
}

/* ---------- Rodapé ---------- */
.footer { padding-block: 32px calc(104px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #1A1A1A; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; text-align: center; }
.footer img { height: 32px; width: auto; }
.footer p { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.footer a:not([aria-disabled="true"]) { color: var(--muted); }
.footer a:not([aria-disabled="true"]):hover { color: var(--paper); }
.footer--thanks { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Páginas de destino (pós-cadastro) ---------- */
.thanks { position: relative; min-height: 100svh; display: flex; flex-direction: column; }
.thanks::before { /* mesmo brilho do hero */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 900px; height: 900px; right: -420px; top: -380px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
}
.thanks__main { flex: 1; padding-block: 40px 64px; }
.thanks__grid { display: grid; gap: 40px; align-items: center; }
.thanks__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.thanks__ok {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--accent-glow); color: var(--paper);
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.thanks__ok svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks__title { font-size: clamp(3.4rem, 15vw, 7rem); line-height: .92; }
.thanks__text { max-width: 36ch; font-size: clamp(18px, 4.6vw, 22px); font-weight: 500; line-height: 1.4; color: var(--text-soft); text-wrap: pretty; }
.thanks__text strong { color: var(--paper); }
.thanks__actions { width: 100%; }
.thanks__actions .btn { width: 100%; }

/* Pergunta sutil sobre parcela pendente (página de quem já é cliente) */
.pending {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  width: 100%; max-width: 560px; margin-top: 12px; padding: 22px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
}
.pending__q { font-size: 20px; font-weight: 800; line-height: 1.25; }
.pending__a { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--text-soft); }

/* Bilhete de confirmação ao lado do texto (telas largas) */
.ticket {
  position: relative; width: min(100%, 340px); padding: 30px 26px 34px; border-radius: 16px;
  background: var(--paper); color: var(--ink); transform: rotate(-3deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
  -webkit-mask: radial-gradient(14px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(14px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(14px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(14px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.ticket .eyebrow { color: #4F4C46; }
.ticket__title { margin-top: 10px; font-size: 56px; }
.ticket__stamp { position: absolute; right: 18px; bottom: 14px; font-size: 14px; color: var(--ink); }
.thanks__art { display: none; justify-self: center; }

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  .hero { padding-block: 64px 96px; }
  .hero__actions { width: auto; }
  .hero__actions .btn--accent { flex: 0 0 auto; }
  .hero__actions .btn--ghost { display: inline-flex; }
  .section { padding-block: 104px; }
  .band { padding-block: 72px; }
  .band__inner > .btn { width: auto; }
  .footer { padding-block: 32px; }
  .faq__q { padding: 22px 26px; font-size: 19px; }
  .faq__a { padding: 0 26px 24px; }
  .faq__a p { font-size: 17px; }
  .thanks__main { padding-block: 72px 96px; }
  .thanks__actions { width: auto; }
  .thanks__actions .btn { width: auto; }
  .pending { padding: 26px 28px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; }
  .hero__title { font-size: clamp(5.5rem, 7.6vw, 8.25rem); }
  .hero__art { display: block; }
  .form-wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
  .form-intro { position: sticky; top: 120px; }
  .thanks__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; }
  .thanks__art { display: block; }
}
