/* ==========================================================================
   Seções da página (de cima para baixo)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 36px 64px; }
.hero::before { /* brilho verde no canto */
  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(--green-glow), transparent);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.hero__heading { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; font-weight: inherit; }
.kicker {
  font-stretch: var(--stretch-wide); font-weight: 800; letter-spacing: .03em;
  font-size: clamp(16px, 4.8vw, 30px); line-height: 1.2; color: var(--green);
  text-wrap: balance; overflow-wrap: anywhere;
}
.hero__title { font-size: clamp(3.1rem, 14.6vw, 8.25rem); line-height: .92; }
.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); }
.section--flush { padding-top: 0; }
.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; }

.more__title { margin: 64px 0 28px; max-width: 920px; }
.more__demo { margin-top: 32px; max-width: 60ch; }

/* ---------- Faixa laranja "Ainda não fechou o fundo?" ---------- */
.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; }
.band__stamp { position: absolute; right: 18px; top: 16px; font-size: 12px; opacity: .9; }
.band__copy { padding-top: 28px; }

/* ---------- 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(--green); }
.form-intro__cd.is-over { display: none; }

/* ---------- 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 { color: var(--muted); }
.footer a:hover { color: var(--paper); }
/* Nota da regra do pack (#nota-pack): logo abaixo do último item do FAQ, acima do rodapé. */
.nota-pack { margin-top: 28px; font-family: var(--f-mono); font-size: 13px; line-height: 1.5; color: var(--muted); }
.nota-pack .nota-ref { font-size: 1em; vertical-align: baseline; margin: 0 .3em 0 0; }

/* ---------- 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; }
  .section--flush { padding-top: 0; }
  .band { padding-block: 72px; }
  .band__inner > .btn { width: auto; }
  .band__stamp { right: max(32px, calc((100% - var(--max)) / 2)); top: 24px; font-size: 15px; }
  .band__copy { padding-top: 0; }
  .footer { padding-block: 32px; }
}

/* ---------- 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; }
}

/* ---------- 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); }
.faq__q {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  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(--green); 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); }

/* 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; }
}

@media (min-width: 720px) {
  .faq__q { padding: 22px 26px; font-size: 19px; }
  .faq__a { padding: 0 26px 24px; }
  .faq__a p { font-size: 17px; }
}
