/* ==========================================================================
   AMS Digital — LP institucional
   Design tokens aprovados por Isla (item 3 do painel): dourado/champagne/
   prata sobre base neutra. Fraunces nos headlines, Inter no corpo/UI.
   ========================================================================== */

:root {
  --gold: #C9A227;
  --bronze: #9C7A1E;
  --champagne: #EFE3BE;
  --silver: #ACADA8;
  --off-white: #FAF9F6;
  --graphite: #17140F;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1120px;
  --shadow-card: 0 8px 24px rgba(23, 20, 15, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw + 1rem, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }
.section--off { background: var(--off-white); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.75em;
}

.center { text-align: center; }
.max-w-prose { max-width: 640px; margin-left: auto; margin-right: auto; }

.section-intro { margin-bottom: 40px; }
.section-intro--tight { margin-bottom: 24px; }
.section-intro .section-note { color: #6b6558; }

.narrow-list { max-width: 720px; margin: 0 auto; }
.sr-only-input { position: absolute; opacity: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active { transform: scale(0.98); }

/* Texto grafite (não branco) sobre dourado — contraste WCAG AA, decisão do Design. */
.btn-primary {
  background: var(--gold);
  color: var(--graphite);
}
.btn-primary:hover { background: var(--bronze); }

.btn-ghost {
  background: transparent;
  border-color: var(--champagne);
  color: var(--graphite);
}
.btn-ghost:hover { border-color: var(--gold); }

.btn-ghost--dark {
  color: var(--off-white);
  border-color: #3a3527;
}
.btn-ghost--dark:hover { border-color: var(--gold); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--champagne);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--graphite);
}

.logo .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-img {
  height: 40px;
  width: auto;
}

.header .btn { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Hero (fundo escuro, destaque dourado) ---------- */
.hero {
  background: linear-gradient(180deg, #1d1911 0%, var(--graphite) 100%);
  color: var(--off-white);
  padding: 72px 0 56px;
}

.hero .eyebrow { color: var(--gold); }

.hero h1 { color: var(--white); }

.hero .lead {
  font-size: 1.15rem;
  color: var(--silver);
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-proof {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--silver);
}

.hero-proof strong { color: var(--champagne); }

/* ---------- Caminhos (cards) ---------- */
.paths {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .paths { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .paths { grid-template-columns: repeat(3, 1fr); }
}

.path-card {
  background: var(--white);
  border: 1px solid var(--champagne);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.path-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--champagne);
  color: var(--bronze);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.path-card p { color: #4a463d; flex-grow: 1; }

.path-card .btn { margin-top: 12px; align-self: flex-start; }

/* ---------- Como funciona ---------- */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--graphite);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 14px;
}

.step h3 { margin-bottom: 6px; }
.step p { color: #4a463d; font-size: 0.95rem; }

/* ---------- Prova / diferenciais ---------- */
.proof-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
}

.proof-item {
  border: 1px solid var(--champagne);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-decoration: none;
  color: var(--graphite);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.proof-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.proof-item .proof-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 10px;
}

.proof-item .proof-name {
  font-family: var(--font-display);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.proof-item .proof-desc {
  font-size: 0.85rem;
  color: #6b6558;
}

/* ---------- Objeções ---------- */
.objections {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .objections { grid-template-columns: repeat(3, 1fr); }
}

.objection-card {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.objection-card h3 { font-size: 1.05rem; color: var(--bronze); }
.objection-card p { color: #4a463d; font-size: 0.95rem; margin: 0; }

/* ---------- FAQ (accordion nativo, sem JS) ---------- */
.faq-item {
  border-bottom: 1px solid var(--champagne);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: "–"; }

.faq-item p { padding-bottom: 18px; color: #4a463d; margin: 0; }

/* ---------- Formulário ---------- */
.form-wrap {
  background: var(--graphite);
  color: var(--off-white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
}

.form-wrap h2 { color: var(--white); }
.form-wrap .lead { color: var(--silver); }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--champagne);
}

.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #3a3527;
  background: #211d14;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
}

.field input::placeholder { color: #8a8471; }

.field input:focus,
.radio-pill:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-pill {
  border: 1px solid #3a3527;
  background: #211d14;
  color: var(--off-white);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.radio-pill.checked {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--graphite);
  font-weight: 600;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--silver);
  margin: 20px 0;
}

.consent input { margin-top: 4px; }
.consent a { color: var(--champagne); text-decoration: underline; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}

.form-success.show { display: block; }
.form-success h3 { color: var(--white); }

.form-success .icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--off-white);
  padding: 40px 0;
  border-top: 1px solid var(--champagne);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-legal {
  font-size: 0.78rem;
  color: #8a8471;
  max-width: 560px;
}

.footer-copyright {
  font-size: 0.78rem;
  color: #8a8471;
  margin-top: -8px;
}

/* ---------- WhatsApp flutuante (fixo no mobile) ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.45);
  font-size: 1.6rem;
}

@media (min-width: 960px) {
  .wa-float { right: 32px; bottom: 32px; }
}
