/* Tokens, tipografia base, .container, botões, header/nav e footer vivem em
   /assets/site.css (fundação compartilhada) — este arquivo é só o que é
   específico da home. index.html carrega os dois, nessa ordem. */

/* ========== Hero ========== */
.hero-inner { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(48px, 6vw, 94px); }
.hero .kicker { margin-bottom: clamp(24px, 3vw, 36px); }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 92px); line-height: 1.02; letter-spacing: -0.035em;
  max-width: 1100px; margin-bottom: clamp(28px, 3vw, 40px); text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--dim-dark); max-width: 640px; margin-bottom: clamp(36px, 4vw, 52px); }

/* ========== O que eu faço ========== */
.fronts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 4vw, 56px); }
.front { display: flex; flex-direction: column; }
.front-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; border-bottom: 1px solid var(--text-light); margin-bottom: 8px;
}
.front-head h3 { font-weight: 600; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
.offer { padding: 28px 0; border-bottom: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 16px; }
.offer-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; row-gap: 8px; }
.offer h4 { font-size: 20px; line-height: 1.3; }
.offer p { font-size: 16px; line-height: 1.6; color: var(--dim-light); max-width: 520px; }
.badge {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-deep); border: 1px solid rgba(91, 33, 182, 0.35); padding: 3px 9px; border-radius: 100px;
}
.link-arrow {
  font-weight: 600; font-size: 15px; color: var(--accent-deep); display: inline-flex; align-items: center; min-height: 44px;
  background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-body); text-align: left;
}
.link-arrow:hover { color: var(--text-light); }

.system-strip {
  margin-top: clamp(48px, 6vw, 72px); padding: 24px clamp(20px, 2.5vw, 32px);
  border-radius: 12px; background: var(--surface-light); border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.system-strip p { font-size: 15.5px; line-height: 1.55; color: var(--dim-light); max-width: 760px; flex: 1 1 420px; }
.system-strip strong { color: var(--text-light); font-weight: 600; }

/* ========== Resultados ========== */
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr)); column-gap: clamp(40px, 5vw, 80px); }
.result { padding: clamp(28px, 3vw, 40px) 0; border-top: 1px solid rgba(20, 16, 35, 0.12); min-width: 0; }
.result-value {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(44px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.045em; margin-bottom: 18px; white-space: nowrap;
}
.result p { font-size: 17px; line-height: 1.55; margin-bottom: 8px; max-width: 440px; }
.result span { font-size: 14px; color: var(--dim-light); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: clamp(56px, 7vw, 96px); }
.quote {
  margin: 0; padding: clamp(24px, 2.5vw, 32px); border-radius: 12px;
  background: var(--surface-light); border: 1px dashed rgba(91, 33, 182, 0.3);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 240px;
}
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; text-wrap: pretty; }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; }
.quote figcaption strong { font-size: 15px; }
.quote figcaption span { font-size: 14px; color: var(--dim-light); }

/* ========== Como eu trabalho ========== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { padding: 28px 28px 28px 0; border-top: 2px solid var(--primary); display: flex; flex-direction: column; gap: 14px; }
.step span { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--accent-deep); }
.step h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.02em; }
.step p { font-size: 16px; line-height: 1.55; color: var(--dim-light); }

/* ========== CTA final ========== */
.cta .container { padding-top: clamp(88px, 13vw, 200px); padding-bottom: clamp(88px, 13vw, 200px); }
.cta h2 {
  font-size: clamp(36px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -0.035em;
  max-width: 1100px; margin-bottom: clamp(36px, 4vw, 52px); text-wrap: balance;
}
.accent { color: var(--accent-lilac); }

/* ========== WhatsApp float ========== */
.wa-btn {
  position: fixed; bottom: 26px; right: 26px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5); color: #fff; }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }

/* ========== Modal ========== */
.overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(10, 9, 18, 0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.overlay.open { opacity: 1; pointer-events: all; }
.overlay .modal {
  background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: 16px;
  width: 100%; max-width: 460px; padding: 32px; max-height: 88vh; overflow-y: auto;
  transform: translateY(16px); transition: transform .25s;
}
.overlay.open .modal { transform: none; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; gap: 12px; }
.modal-head h3 { font-size: 19px; color: var(--text-dark); margin-bottom: 4px; }
.modal-head p { font-size: 13px; color: var(--dim-dark); }
.modal-close {
  background: transparent; border: 1px solid var(--line-dark); border-radius: 8px; color: var(--dim-dark);
  cursor: pointer; width: 30px; height: 30px; font-size: 13px; flex-shrink: 0;
}
.modal-close:hover { color: var(--text-dark); border-color: var(--accent-lilac); }
.fgroup { margin-bottom: 14px; }
.flabel { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dim-dark); margin-bottom: 6px; }
.finput {
  width: 100%; background: var(--bg-dark); border: 1px solid var(--line-dark); border-radius: 9px;
  padding: 11px 14px; color: var(--text-dark); font-family: var(--font-body); font-size: 14.5px; outline: none;
  appearance: none; -webkit-appearance: none;
}
.finput:focus { border-color: var(--accent-lilac); }
.finput::placeholder { color: var(--faint-dark); }
.finput option { background: var(--bg-dark-2); color: var(--text-dark); }
textarea.finput { resize: vertical; min-height: 80px; line-height: 1.5; }
.mfooter { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 12px; }
.mnote { font-size: 12px; color: var(--faint-dark); }
.btn-send {
  background: var(--primary); color: #fff; border: none; border-radius: 10px; padding: 11px 22px;
  font-weight: 600; font-size: 14.5px; cursor: pointer; font-family: var(--font-body);
  display: flex; align-items: center; gap: 6px; transition: background .15s;
}
.btn-send:hover { background: var(--primary-hover); }
.btn-send svg { width: 14px; height: 14px; stroke: #fff; fill: none; stroke-width: 2.5; }
.success-msg { text-align: center; padding: 28px 8px; }
.success-msg .success-icon { font-size: 36px; margin-bottom: 10px; }
.success-msg h4 { color: var(--text-dark); font-size: 17px; margin-bottom: 6px; }
.success-msg p { font-size: 14px; color: var(--dim-dark); margin-bottom: 14px; }
.success-msg a { color: var(--accent-lilac); font-size: 13.5px; border-bottom: 1px solid rgba(167, 139, 250, 0.3); padding-bottom: 1px; }

/* ========== Diagnostic / exit popup ========== */
.exit-overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(10, 9, 18, 0.8); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.exit-overlay.open { opacity: 1; pointer-events: all; }
.exit-popup {
  background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: 18px;
  width: 100%; max-width: 460px; overflow: hidden; position: relative;
  transform: translateY(16px); transition: transform .3s;
}
.exit-overlay.open .exit-popup { transform: none; }
.exit-popup-top {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.16) 0%, rgba(167, 139, 250, 0.04) 100%);
  padding: 28px 28px 20px; border-bottom: 1px solid var(--line-dark);
}
.exit-close {
  position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark); border-radius: 8px; color: var(--dim-dark);
  cursor: pointer; width: 28px; height: 28px; font-size: 12px;
}
.exit-close:hover { color: var(--text-dark); }
.exit-popup h3 { font-size: 19px; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
.exit-popup-sub { font-size: 13.5px; color: var(--dim-dark); line-height: 1.6; }
.exit-popup-body { padding: 22px 28px 28px; }
.exit-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.exit-meta-item { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--dim-dark); }
.exit-meta-item svg { width: 13px; height: 13px; stroke: var(--accent-lilac); fill: none; stroke-width: 2.2; }
.exit-btns { display: flex; flex-direction: column; gap: 10px; }
.exit-btns .btn { width: 100%; }
.btn-exit-skip { background: none; border: none; color: var(--faint-dark); font-size: 13px; cursor: pointer; padding: 6px; width: 100%; font-family: var(--font-body); }
.btn-exit-skip:hover { color: var(--dim-dark); }

/* ========== Mobile ========== */
/* Regras de header/nav mobile (hambúrguer, dropdown) vivem em
   /assets/site.css — aqui só o que é específico da home. */
@media (max-width: 860px) {
  .result-value { white-space: normal; }
}
