/* Referência Soluções Financeiras — sistema visual compartilhado
   Paleta extraída da logo: azul-marinho + dourado. Reutilizar nas landing pages. */

:root {
  --navy: #182D41;
  --navy-deep: #0F1E2E;
  --navy-soft: #24405A;
  --gold: #B48239;
  --gold-text: #8A5F1F;
  --gold-light: #EEC374;
  --gold-grad: linear-gradient(135deg, #F3CE85 0%, #DDA95A 45%, #B48239 100%);
  --ivory: #FAF7F1;
  --paper: #FFFFFF;
  --ink: #182D41;
  --muted: #56667A;
  --line: #E7E0D3;
  --ink-soft: #3A4B5F;
  --chip: #EEF1F4;
  --danger: #B8323C;
  --ok: #18774A;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(24, 45, 65, 0.10);
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: 80px 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: #fff; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 14px;
}
.section--navy .eyebrow, .hero .eyebrow, .lp-hero .eyebrow { color: var(--gold-light); }
.section-title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; max-width: 720px; }
.section-lead { margin-top: 14px; color: var(--muted); max-width: 640px; font-size: 17px; }
.section--navy .section-lead { color: rgba(255,255,255,.78); }
.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head--center .section-title, .section-head--center .section-lead { margin-inline: auto; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.btn--gold { background: var(--gold-grad); color: var(--navy-deep); box-shadow: 0 8px 22px rgba(180,130,57,.35); }
.btn--gold:hover { box-shadow: 0 12px 28px rgba(180,130,57,.45); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.brand__sub { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: none; gap: 26px; }
.nav a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.header .btn { padding: 11px 20px; font-size: 14px; }
@media (min-width: 960px) { .nav { display: flex; } }
@media (max-width: 520px) { .brand__text { display: none; } }

/* Hero */
.hero { background: radial-gradient(1000px 500px at 85% 20%, rgba(238,195,116,.18), transparent 60%), var(--navy); color: #fff; overflow: hidden; }
.hero__inner { display: grid; gap: 40px; padding: 64px 0 0; align-items: end; }
.hero__copy { padding-bottom: 56px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 20px; font-size: 18px; color: rgba(255,255,255,.82); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.hero__photo { position: relative; justify-self: center; width: min(420px, 88%); }
.hero__photo::before { content: ""; position: absolute; inset: 8% 6% 0; border-radius: 50% 50% 0 0; background: var(--gold-grad); opacity: .9; }
.hero__photo img { position: relative; width: 100%; }
.hero__badge { position: absolute; left: -4px; bottom: 26px; background: #fff; color: var(--navy); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 15px; }
.hero__badge span { font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.1fr .9fr; padding-top: 72px; } .hero__badge { left: -24px; } }

/* Faixa de números */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.stat { padding: 26px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--gold-text); }
.stat span { font-size: 13px; color: var(--muted); }
@media (min-width: 800px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(2n) { border-right: 1px solid var(--line); border-bottom: 0; }
  .stat:last-child { border-right: 0; }
}

/* Serviços */
.services { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ivory); display: grid; place-items: center; color: var(--gold-text); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card__link { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--gold-text); }
.card__link::after { content: " →"; }

.feature {
  margin-top: 24px; display: grid; gap: 20px; align-items: center;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px;
}
.feature h3 { font-size: 22px; }
.feature p { color: rgba(255,255,255,.8); margin-top: 8px; max-width: 620px; }
@media (min-width: 800px) { .feature { grid-template-columns: 1fr auto; padding: 36px 40px; } }

/* Como funciona */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 28px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-grad); color: var(--navy-deep); font-family: var(--font-display); font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.75); font-size: 15px; }
.steps-note { margin-top: 28px; color: rgba(255,255,255,.7); font-size: 14px; max-width: 720px; }

/* Sobre */
.about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.about__photo { position: relative; max-width: 380px; justify-self: center; }
.about__photo::before { content: ""; position: absolute; inset: 10% 8% 0; border-radius: 50% 50% var(--radius) var(--radius); background: var(--gold-grad); }
.about__photo img { position: relative; }
.quote { margin: 22px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); font-size: 18px; font-style: italic; color: var(--navy); }
.about p + p { margin-top: 14px; }
.about p { color: var(--muted); }
.about .quote { color: var(--navy); }

/* Resultados */
.proofs { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .proofs { grid-template-columns: repeat(4, 1fr); } }
.proof { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 14px rgba(24,45,65,.06); }
.proof img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--ivory); }
.proof figcaption { padding: 12px 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.proofs-note { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold-text); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--gold-light); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); max-width: 68ch; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final h2 { font-size: clamp(26px, 3.8vw, 40px); max-width: 720px; margin-inline: auto; }
.cta-final p { margin: 16px auto 30px; color: rgba(255,255,255,.8); max-width: 560px; font-size: 17px; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 56px 0 32px; font-size: 14px; }
.footer__top { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer .brand { margin-bottom: 14px; }
.footer .brand img { background: #fff; border-radius: 10px; padding: 6px; height: 52px; }
.footer .brand__name { color: var(--gold-light); }
.footer .brand__sub { color: rgba(255,255,255,.6); }
.footer h4, .footer .footer__title { font-family: var(--font-display); color: #fff; font-size: 14px; margin: 0 0 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer ul a { display: inline-block; padding-block: 11px; margin-block: -11px; }
@media (max-width: 899px) { .footer ul { gap: 22px; } }
.footer a:hover { color: var(--gold-light); }
.footer__legal { padding-top: 26px; font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.55); display: grid; gap: 10px; }
.footer__legal p { max-width: 110ch; }

/* Botão flutuante WhatsApp (mobile) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-grad); color: var(--navy-deep); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.wa-float svg { width: 30px; height: 30px; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* Páginas de texto (privacidade, termos) */
.doc { max-width: 780px; margin-inline: auto; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 20px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
