/* ============================================================
   AVORA AI — Guias (iscas dos Reels)
   Identidade copiada de vagas.avoraai.io (~/vagas-avora-ai/styles.css):
   tokens, pills, botões, cards, campos e rodapé são os mesmos de lá.
   ============================================================ */

:root {
  color-scheme: dark;

  --bg: #0a0a0b;
  --surface: #121214;
  --surface-2: #17171a;
  --surface-3: #1c1c20;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text: #b4b6bc;
  --text-dim: #85878f;
  --text-strong: #f4f4f6;

  --gold: #e8b45c;
  --gold-hi: #f2cd8b;
  --gold-deep: #cf9440;
  --gold-soft: rgba(232, 180, 92, 0.13);

  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --r-card: 20px;
  --r-md: 14px;
  --r-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgba(232, 180, 92, 0.3); color: #fff; }

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
  border-radius: 6px;
}

/* campo-isca para robôs, fora da tela */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* textarea temporário do "Copiar" (fallback sem Clipboard API) */
.copy-buffer { position: fixed; top: 0; left: -9999px; opacity: 0; }

/* ---------- Utilitários ---------- */
.container { width: min(1160px, 92%); margin-inline: auto; }
.container--guide { width: min(760px, 92%); }
.nowrap { white-space: nowrap; } /* CNPJ não quebra no hífen */

.fade-tail {
  background: linear-gradient(180deg, #a9abb3 10%, #6e7078 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Palavra-acento em serifa dourada (*assim* nos textos das iscas) */
.gold-word {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1.06em;
  padding-right: 0.04em; /* o itálico não corta na borda do recorte do degradê */
  background: linear-gradient(120deg, #f6d292 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* código inline (`assim` nos textos) */
code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--gold-hi);
  background: rgba(232, 180, 92, 0.09);
  border: 1px solid rgba(232, 180, 92, 0.18);
  border-radius: 6px;
  padding: 0.05em 0.4em;
  white-space: nowrap;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 500;
  color: #cfd0d5;
  margin-bottom: 22px;
}
.pill--gold { color: var(--gold-hi); border-color: rgba(232, 180, 92, 0.28); background: rgba(232, 180, 92, 0.06); }
.pill--proof {
  padding: 6px 16px 6px 6px;
  font-size: 0.86rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}
.pill--proof strong { color: var(--text-strong); font-weight: 600; }
.pill__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 1px rgba(232, 180, 92, 0.6);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s ease;
  white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 0.98rem; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn--gold {
  color: #1b1204;
  background: linear-gradient(180deg, var(--gold-hi) 0%, #dda249 100%);
  box-shadow: 0 10px 30px -12px rgba(232, 180, 92, 0.45);
}
.btn--gold:hover {
  background: linear-gradient(180deg, #f7d79c 0%, #e5ac52 100%);
  box-shadow: 0 14px 36px -12px rgba(232, 180, 92, 0.55);
}
.btn--gold:active { transform: translateY(1px); }

.btn__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin: -4px -10px -4px 2px;
  border-radius: 50%;
  background: #17120a;
  color: var(--gold-hi);
  font-size: 0.85rem;
  transition: transform 0.3s var(--ease);
}
.btn--gold:hover .btn__circle { transform: translateX(3px); }

.btn--ghost {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

/* ---------- Tags (chips) ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

/* ---------- Checklist (✓ dourado) ---------- */
.check-list { display: grid; gap: 4px; }
.check-list li { position: relative; padding: 12px 0 12px 36px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(232, 180, 92, 0.25);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
}
.check-list h3 {
  font-size: 0.99rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 3px;
  line-height: 1.45;
}
.check-list p { font-size: 0.9rem; color: var(--text-dim); }

/* fundo do topo: grade de pontos + brilho dourado (o hero do vagas) */
.page-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 820px;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 62% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 62% at 50% 30%, #000 30%, transparent 100%);
}
.page-bg::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -220px;
  transform: translateX(-50%);
  width: min(920px, 100vw);
  height: 480px;
  background: radial-gradient(ellipse at center,
    rgba(232, 180, 92, 0.16) 0%,
    rgba(190, 196, 210, 0.07) 45%,
    transparent 72%);
  filter: blur(48px);
}

/* ============================================================
   CAPTURA
   ============================================================ */
.lp {
  position: relative;
  padding: clamp(36px, 8vh, 88px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}

.lp__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas:
    "head    form"
    "bullets form";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 96px);
  row-gap: 36px;
  align-items: start;
}
.lp__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; }
.lp__form { grid-area: form; }
.lp__bullets { grid-area: bullets; }

.lp__title {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.032em;
  background: linear-gradient(180deg, #ffffff 25%, #c4c6cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 20px;
  text-wrap: balance;
}
.lp__title .gold-word { font-size: 1.07em; }

.lp__sub {
  max-width: 560px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-dim);
  margin-bottom: 26px;
  text-wrap: pretty;
}

.lp__chips { display: flex; flex-wrap: wrap; gap: 8px; }

.lp__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

/* Card do formulário */
.lead-form {
  position: relative;
  background: linear-gradient(180deg, #141417 0%, #101013 100%);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(24px, 3.6vw, 36px);
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
}
.lead-form::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -150px;
  transform: translateX(-50%);
  width: 520px;
  height: 280px;
  background: radial-gradient(ellipse at center,
    rgba(232, 180, 92, 0.13) 0%,
    rgba(190, 196, 210, 0.05) 50%,
    transparent 75%);
  filter: blur(40px);
  pointer-events: none;
}
.lead-form > * { position: relative; }

.lead-form__title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.lead-form__sub { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 24px; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.86rem; font-weight: 500; color: #d9dade; }
.field input {
  width: 100%;
  font: inherit;
  font-size: 1rem; /* ≥16px evita o zoom automático do iOS ao focar */
  color: var(--text-strong);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #6f727c; }
.field input:focus {
  outline: none;
  border-color: rgba(232, 180, 92, 0.55);
  background: #191920;
  box-shadow: 0 0 0 3px rgba(232, 180, 92, 0.12);
}
.field.is-invalid input { border-color: rgba(255, 107, 107, 0.65); }

.field__error {
  display: block; /* sempre no DOM (vazio colapsa) para o aria-live anunciar */
  font-size: 0.85rem;
  line-height: 1.4;
  color: #ff8f8f;
}

/* "Você quis dizer …@gmail.com?" */
.field__hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text);
}
.field__hint strong { color: var(--text-strong); font-weight: 600; word-break: break-all; }
.field__hint-btn {
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid rgba(232, 180, 92, 0.4);
  color: var(--gold-hi);
  font-size: 0.8rem;
  font-weight: 600;
}
.field__hint-btn:hover { background: var(--gold-soft); }

.lead-form__submit { width: 100%; margin-top: 8px; }
.lead-form__submit[disabled] { opacity: 0.6; cursor: wait; }
.lead-form__error { margin-top: 12px; text-align: center; }
.lead-form__error:empty { margin-top: 0; }

.lead-form__notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-dim);
}
.lead-form__notice svg { flex: none; width: 14px; height: 14px; margin-top: 2px; fill: var(--text-dim); }
.lead-form__notice a { color: var(--text); text-decoration: underline; }
.lead-form__noscript { margin-top: 14px; font-size: 0.9rem; color: var(--gold-hi); text-align: center; }

/* ============================================================
   OBRIGADO
   ============================================================ */
.ty {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.ty .container--guide { position: relative; }

.ty__ok {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  text-align: center;
}
.ty__check {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1px solid rgba(232, 180, 92, 0.3);
}
.ty__check svg { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Card "Aula bônus liberada" */
.aula-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #141417 0%, #101013 100%);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px) clamp(22px, 5vw, 48px);
  overflow: hidden;
}
.aula-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -150px;
  transform: translateX(-50%);
  width: 560px;
  height: 300px;
  background: radial-gradient(ellipse at center,
    rgba(232, 180, 92, 0.16) 0%,
    rgba(190, 196, 210, 0.06) 50%,
    transparent 75%);
  filter: blur(40px);
  pointer-events: none;
}
.aula-card > * { position: relative; }
.aula-card .pill { margin-bottom: 18px; }
.aula-card__title {
  max-width: 580px;
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 20%, #c8cad1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 14px;
}
.aula-card__text {
  max-width: 500px;
  font-size: 0.98rem;
  color: var(--text-dim);
  margin-bottom: 28px;
  text-wrap: pretty;
}

.ty__pdf { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- O guia ---------- */
.guide { margin-top: clamp(44px, 6vw, 64px); }
.guide__head { margin-bottom: 26px; }
.guide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-hi);
  margin-bottom: 14px;
}
.guide__eyebrow svg { width: 16px; height: 16px; fill: var(--gold); }
.guide__title {
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 25%, #c4c6cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* caixas de destaque (introdução e dica) */
.callout {
  display: grid;
  gap: 12px;
  padding: 22px 24px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(232, 180, 92, 0.075) 0%, rgba(232, 180, 92, 0.035) 100%);
  border: 1px solid rgba(232, 180, 92, 0.26);
  font-size: 0.98rem;
  color: var(--text);
}
.callout strong { color: var(--gold-hi); font-weight: 600; }
.callout__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.callout--tip { margin-top: clamp(40px, 5vw, 52px); }

.guide__section {
  margin-top: clamp(40px, 5vw, 52px);
  padding-top: clamp(36px, 5vw, 48px);
  border-top: 1px solid var(--line);
}
.guide__h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin-bottom: 18px;
}

/* passos numerados (o "Nossos valores" do vagas) */
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-width: 38px;
  padding: 5px 10px;
  border-radius: 9px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}
.step__title {
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin-top: 3px;
}
.step__sub { font-size: 0.82rem; font-weight: 500; color: var(--gold); margin: 3px 0 12px; }
.step__body > p:not(.step__sub) { font-size: 0.95rem; color: var(--text-dim); }
.step__body > p:not(.step__sub) + p { margin-top: 10px; }
.step__body strong { color: var(--text-strong); font-weight: 600; }
.step__body > .code + p { margin-top: 14px; }

/* bloco de código / prompt com botão de copiar */
.code {
  margin-top: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #0c0c0e;
  overflow: hidden;
}
.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-dim);
}
.code__copy {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-strong);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.code__copy:hover { background: rgba(255, 255, 255, 0.09); }
.code__copy.is-copied { color: var(--gold-hi); border-color: rgba(232, 180, 92, 0.45); background: var(--gold-soft); }
.code pre {
  margin: 0;
  padding: 14px 16px 16px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.65;
  color: #e7e7eb;
  white-space: pre-wrap; /* prompt longo quebra linha no celular em vez de rolar de lado */
  word-break: break-word;
}
.code pre code { all: unset; font: inherit; color: inherit; white-space: inherit; }

/* bônus */
.bonus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bonus__item {
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.bonus__item h4 {
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.bonus__item p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }

/* links e recursos */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .tool:hover { border-color: rgba(232, 180, 92, 0.38); background: #141417; }
}
.tool__name { display: block; font-size: 0.92rem; font-weight: 500; color: var(--text-strong); }
.tool__type { display: block; font-size: 0.78rem; color: var(--text-dim); }
.tool__arrow {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
}
.tool__arrow svg { width: 15px; height: 15px; fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ty__end { margin-top: clamp(48px, 7vw, 72px); }

/* ============================================================
   404
   ============================================================ */
.notfound {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: 64px 0;
  overflow: hidden;
}
.notfound__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.notfound__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 16px;
  text-wrap: balance;
}
.notfound__sub { max-width: 460px; color: var(--text-dim); margin-bottom: 30px; }

/* ============================================================
   TERMOS E POLÍTICA (/termos, /politicas)
   ============================================================ */
.legal {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
}
.container--legal { position: relative; width: min(760px, 92%); }
.legal__title {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  text-wrap: balance;
}
.legal__meta { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 28px; }
.legal a { color: var(--text-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--gold-hi); }
.legal strong { color: var(--text-strong); font-weight: 600; }
.legal .callout strong { color: var(--gold-hi); }
.legal__secao { margin-top: clamp(32px, 4vw, 40px); }
.legal__secao h2 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin-bottom: 12px;
}
.legal__secao > * + * { margin-top: 12px; }
.legal__secao > h2 + * { margin-top: 0; }
.legal__list { display: grid; gap: 8px; }
.legal__list li { position: relative; padding-left: 20px; }
.legal__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.legal__alerta {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer { position: relative; border-top: 1px solid var(--line); background: var(--bg); }
.footer__disclaimer {
  padding-top: 26px;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #6f727b;
  max-width: 920px;
}
.footer__disclaimer + .footer__disclaimer { padding-top: 12px; }
.footer__disclaimer a { color: var(--text-dim); text-decoration: underline; }
.footer__disclaimer strong { color: var(--text-dim); font-weight: 600; }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 0 30px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer__legal a { color: var(--text-dim); text-decoration: underline; }
.footer__legal a:hover { color: var(--text); }

/* ============================================================
   ANIMAÇÕES DE ENTRADA (só com JS: sem JS tudo fica visível)
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .lp__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "form" "bullets";
    grid-template-rows: auto;
    row-gap: 28px;
  }
  .lp__head { align-items: center; text-align: center; }
  .lp__chips { justify-content: center; }
  .lp__sub { margin-inline: auto; }
  .lp__form { width: min(520px, 100%); margin-inline: auto; }
  .lp__bullets { width: min(520px, 100%); margin-inline: auto; }
}

@media (max-width: 560px) {
  .lp { padding-top: 28px; }
  .lp__head .pill { margin-bottom: 16px; }
  .lp__title { font-size: clamp(1.95rem, 8.6vw, 2.4rem); margin-bottom: 14px; }
  .lp__sub { font-size: 0.98rem; margin-bottom: 18px; }
  .lp__chips { gap: 6px; }
  .lp__chips .tag { font-size: 0.74rem; padding: 4px 11px; }
  .lead-form { border-radius: 20px; padding: 22px 18px; }
  .lead-form__sub { margin-bottom: 18px; }

  .step { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 18px; }
  .step__num { justify-self: start; }
  .bonus, .tools { grid-template-columns: minmax(0, 1fr); }
  .callout { padding: 20px; }
  .aula-card .btn { width: 100%; }

  .footer__legal { flex-direction: column; gap: 6px; }
}

/* ============================================================
   ACESSIBILIDADE — reduz movimento
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   IMPRESSÃO = PDF do guia (scripts/pdf.mjs)
   Some o que é interação; fica o guia e o card da aula do final (com link).
   ============================================================ */
@media print {
  @page { margin: 0; }
  html, body { background: var(--bg) !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .ty__ok, .aula-card--topo, .ty__pdf, .code__copy, .page-bg { display: none !important; }
  .aula-card::before, .lead-form::before { display: none; }
  /* sombra desfocada vira retângulo no leitor de PDF do Mac/iPhone */
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }

  .ty { padding: 48px 0; }
  .guide { margin-top: 0; }

  /* degradê recortado no texto não imprime bem: vira cor sólida */
  .guide__title, .aula-card__title {
    background: none;
    -webkit-text-fill-color: var(--text-strong);
    color: var(--text-strong);
  }
  .gold-word { background: none; -webkit-text-fill-color: var(--gold); color: var(--gold); }

  .step, .bonus__item, .tool, .callout, .code, .aula-card { break-inside: avoid; }
  a { text-decoration: none; }
}
