/* ==================================================================
   Página isca — resumo + formulário de captura (carregado só no index.html)
   ================================================================== */

@media (max-width: 480px) { :root { --gutter: 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- LAYOUT ---------- */
.lead-hero { padding-top: clamp(40px, 7vw, 96px); }
.lead-hero__grid {
  position: relative; display: grid; gap: clamp(32px, 5vw, 48px);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "form" "resume";
}
.lead-hero__head { grid-area: head; min-width: 0; }
.lead-hero__resume { grid-area: resume; min-width: 0; display: grid; gap: 28px; align-content: start; }
.lead-hero__form { grid-area: form; min-width: 0; }

@media (min-width: 1024px) {
  .lead-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    grid-template-areas: "head form" "resume form";
    column-gap: clamp(48px, 6vw, 80px);
    align-items: start;
  }
  .lead-hero__form { align-self: start; position: sticky; top: 96px; }
}

.lead-hero .h1 { max-width: 17ch; }
.lead-hero .lead { margin-top: 22px; max-width: 54ch; }

/* números em linha (o .stats do relatório é vertical no desktop) */
@media (min-width: 640px) {
  .lead-hero .stats { grid-template-columns: repeat(3, 1fr); }
  .lead-hero .stat + .stat { padding-top: 0; border-top: 0; padding-left: 24px; border-left: 1px solid var(--line); }
}
.lead-hero .stat__value { font-size: clamp(1.9rem, 3.2vw, 2.4rem); }

/* ---------- O QUE VOCÊ VAI RECEBER ---------- */
.receive__title {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.receive__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.receive__list li {
  position: relative; padding-left: 34px; font-weight: 600; color: var(--ink); line-height: 1.45;
}
.receive__list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--gold-2); font-size: .7rem; font-weight: 800;
}

/* ---------- CARD DO FORMULÁRIO ---------- */
.form-card {
  position: relative;
  background: var(--ink); color: var(--ivory);
  border: 1px solid rgba(184, 148, 90, .35); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px) clamp(18px, 3.5vw, 32px);
  box-shadow: 0 30px 80px -30px rgba(14, 27, 38, .55);
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 2px;
  background: var(--gold-grad); border-radius: 0 0 2px 2px;
}
.form-card__title {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.6rem);
  letter-spacing: -.03em; line-height: 1.2; color: var(--ivory);
}
.form-card__sub { margin-top: 8px; font-size: .92rem; line-height: 1.5; color: var(--muted-light); }

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

/* ---------- CAMPOS ---------- */
.field { display: grid; gap: 6px; min-width: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%; min-height: 60px; padding: 0 20px;
  font: inherit; font-size: 1rem; color: var(--ivory);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(184, 148, 90, .45); border-radius: 16px;
  outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: rgba(248, 245, 239, .55); }
.field input:focus, .field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 148, 90, .18); }

.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 52px;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8BD8A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 20px;
}
.field select:invalid { color: rgba(248, 245, 239, .55); }
.field select option { color: var(--ink); background: var(--paper); }

.field input { text-overflow: ellipsis; }

/* Celular: menos respiro lateral, mas fonte sempre ≥ 16px (abaixo disso o iOS dá zoom ao focar). */
@media (max-width: 480px) {
  .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select { padding: 0 14px; min-height: 56px; }
  .field select { padding-right: 40px; background-position: right 12px center; background-size: 18px; }
  .field__prefix { padding: 0 12px; min-height: 56px; }
}

.field--phone { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
.field--phone .field__error { grid-column: 1 / -1; }
.field__prefix {
  display: inline-flex; align-items: center; gap: 8px; min-height: 60px; padding: 0 18px;
  border: 1px solid rgba(184, 148, 90, .45); border-radius: 16px;
  background: rgba(255, 255, 255, .03); font-size: 1rem; color: var(--ivory); white-space: nowrap;
}
.field__flag { font-size: 1.1rem; line-height: 1; }

.field.is-invalid input[type="text"], .field.is-invalid input[type="email"],
.field.is-invalid input[type="tel"], .field.is-invalid select { border-color: #E5484D; }
.field.is-invalid .check__box { border-color: #E5484D; }
.field__error { font-size: .8rem; font-weight: 600; line-height: 1.3; color: #FF8A8A; }
.field__error:empty { display: none; }

/* ---------- ACEITE ---------- */
.field--check { margin-top: 4px; }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check__box {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 6px;
  background: var(--paper); border: 1px solid rgba(184, 148, 90, .45);
  display: grid; place-items: center; transition: background .2s var(--ease);
}
.check input:checked + .check__box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check__box::after { content: "✓"; color: var(--ink); font-size: .85rem; font-weight: 800; }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 3px; }
.check__text { font-size: .9rem; line-height: 1.5; color: rgba(248, 245, 239, .82); }
.check__text a { color: #F6C453; font-weight: 700; text-decoration: none; }
.check__text a:hover { text-decoration: underline; }

/* ---------- BOTÃO ---------- */
.btn-submit {
  width: 100%; min-height: 64px; margin-top: 6px; border-radius: 999px;
  font-family: var(--display); font-size: 1.1rem; font-weight: 700; color: var(--ink);
  background: linear-gradient(90deg, #F6D365, #F29A3A);
  box-shadow: 0 10px 30px -10px rgba(242, 154, 58, .6), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease);
}
.btn-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(242, 154, 58, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-submit:disabled { opacity: .6; cursor: progress; transform: none; }

.form__status { font-size: .88rem; font-weight: 600; line-height: 1.4; color: #FF8A8A; text-align: center; }
.form__status:empty { display: none; }
.form__note { font-size: .82rem; line-height: 1.4; color: rgba(248, 245, 239, .6); text-align: center; }

/* ---------- ARMADILHA ANTI-ROBÔ ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
