/* ========== TOKENS ========== */
:root {
  --navy-900: #061638;
  --navy-800: #0A1F4A;
  --navy-700: #0E2A5E;
  --navy-600: #0A2E8C;
  --gold-500: #C9A84C;
  --gold-400: #D9BC6E;
  --gold-300: #EBD3A0;
  --gold-ink: #8A6A1F;
  --beige-100: #F7F0E1;
  --white: #FFFFFF;
  --ink: #0A1F4A;
  --ink-soft: #3A4A6B;
  --text-muted: rgba(255, 255, 255, .80);
  --line: rgba(255, 255, 255, .16);
  --danger: #FF8A80;
  --wa: #25D366;
  --wa-dark: #1EBE5A;

  --font-title: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(6, 22, 56, .25);
  --shadow-gold: 0 10px 28px rgba(201, 168, 76, .35);
  --header-h: 72px;
  --container: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background: var(--navy-900);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; }
section[id] { scroll-margin-top: var(--header-h); }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 600px) { .container { padding-inline: 24px; } }
.gold { color: var(--gold-400); }
.section { padding: 104px 0; }
@media (max-width: 599px) { .section { padding: 72px 0; } }
.center { text-align: center; }
.center .divider { margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold-500); color: var(--navy-900); font-weight: 800;
  padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 8px; }

.divider { width: 64px; height: 3px; border-radius: 3px; background: var(--gold-500); border: 0; margin: 0 0 22px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; }
.center .lead { margin-inline: auto; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px; border-radius: 999px;
  font-weight: 800; font-size: 1rem; line-height: 1.25;
  text-decoration: none; text-align: center; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn--primary:hover { box-shadow: 0 14px 34px rgba(201, 168, 76, .5); }
.btn--outline { border-color: var(--gold-400); color: var(--white); background: transparent; }
.btn--outline:hover { background: var(--gold-500); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); box-shadow: var(--shadow); }
.btn--wa { background: var(--wa); color: #06331A; }
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 12px 28px rgba(37, 211, 102, .35); }
.btn--ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn--ghost:hover { color: var(--white); transform: none; }

/* ========== HEADER ========== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(6, 22, 56, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo__name { font-family: var(--font-title); font-size: 1.7rem; color: var(--white); display: inline-flex; align-items: flex-start; gap: 4px; }
.logo__name svg { width: 26px; height: 26px; color: var(--gold-400); transform: translateY(-6px); }
.logo__tag { font-size: .55rem; letter-spacing: .2em; font-weight: 800; color: var(--gold-300); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; color: var(--text-muted); transition: color .25s, background-color .25s;
}
.nav__list a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: .92rem; white-space: nowrap; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav__list {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__list.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list a { width: 100%; min-height: 52px; font-size: 1.05rem; border-radius: 12px; }
}
@media (max-width: 520px) {
  .logo__tag { display: none; }
  .nav .btn { padding: 10px 14px; }
}

/* ========== 1. HERO ========== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 860px); display: flex; align-items: center;
  padding: calc(var(--header-h) + 56px) 0 88px;
  background:
    radial-gradient(ellipse 70% 55% at 85% 85%, rgba(246, 176, 92, .5), transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 100%, rgba(255, 214, 140, .4), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 45%, #1B2F66 78%, #5A4560 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6, 22, 56, .9) 0%, rgba(6, 22, 56, .6) 55%, rgba(6, 22, 56, .2) 100%);
}
.hero__route { position: absolute; right: -40px; top: 110px; width: min(560px, 55vw); z-index: -1; opacity: .75; pointer-events: none; }
.hero__content { max-width: 720px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(201, 168, 76, .55);
  background: rgba(201, 168, 76, .12); color: var(--gold-300);
  font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.badge svg { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 22px; }
.hero .lead { font-size: clamp(1.08rem, 2.2vw, 1.3rem); margin-bottom: 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.center .actions { justify-content: center; }
@media (max-width: 599px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; }
  .hero__route { display: none; }
  .actions .btn { width: 100%; }
}

/* ========== 2. SERVIÇOS ========== */
.services { background: var(--navy-900); }
.service-list {
  list-style: none; margin: 48px auto 44px; padding: 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
@media (min-width: 700px) { .service-list { grid-template-columns: repeat(4, 1fr); } }
.service-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 26px 12px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  font-weight: 800; line-height: 1.25;
}
.service-item svg { width: 34px; height: 34px; color: var(--gold-400); }
.not-found { margin-top: 22px; color: var(--text-muted); font-size: .98rem; }
.not-found a { color: #7BE3A4; font-weight: 800; text-underline-offset: 3px; }
.not-found a:hover { color: var(--wa); }

/* ========== 3. QUEM SOMOS ========== */
.about { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.about__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 5fr 6fr; gap: 72px; } }
.about__photo {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900));
  box-shadow: var(--shadow);
}
@media (max-width: 899px) { .about__photo { max-width: 440px; width: 100%; margin-inline: auto; } }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about__photo::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(235, 211, 160, .5);
  border-radius: calc(var(--radius-lg) - 8px); pointer-events: none;
}
.founder__name { font-family: var(--font-title); font-size: clamp(1.6rem, 3vw, 2rem); }
.founder__tag {
  display: inline-block; margin: 10px 0 30px; padding: 6px 16px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400)); color: var(--navy-900); font-weight: 800;
}
.facts { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 18px; }
.fact { display: flex; align-items: center; gap: 16px; }
.fact__icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--gold-500);
}
.fact__icon svg { width: 24px; height: 24px; color: var(--white); }
.fact p { color: var(--text-muted); line-height: 1.35; }
.fact strong { display: block; color: var(--white); font-size: 1.08rem; }
.quote-line { font-size: clamp(1.15rem, 2.3vw, 1.4rem); line-height: 1.45; padding-left: 18px; border-left: 3px solid var(--gold-500); }
.quote-line strong { color: var(--gold-400); }

/* ========== 4. ASSESSORIA ========== */
.advice { background: var(--beige-100); color: var(--ink); }
.advice .eyebrow { color: var(--gold-ink); }
.advice .gold { color: #A9822A; }
.advice .lead { color: var(--ink-soft); margin-bottom: 36px; }
.advice__meta { margin-top: 18px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .92rem; color: var(--ink-soft); }
.advice__meta span { display: inline-flex; align-items: center; gap: 6px; }
.advice__meta svg { width: 16px; height: 16px; color: var(--gold-ink); }

/* ========== 5. DÚVIDAS ========== */
.help { background: var(--navy-800); padding: 80px 0; }
.help h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }
.help .lead { margin-bottom: 28px; }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__about p { color: var(--text-muted); margin-top: 14px; max-width: 380px; }
.site-footer h3 { font-family: var(--font-body); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer__links a, .footer__links button {
  display: inline-flex; min-height: 40px; align-items: center; color: var(--text-muted); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer; transition: color .25s;
}
.footer__links a:hover, .footer__links button:hover { color: var(--gold-300); }
.footer__bottom a { color: var(--gold-300); }
.footer__bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: rgba(255, 255, 255, .6); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ========== WHATSAPP FLUTUANTE ========== */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--white); box-shadow: 0 10px 26px rgba(0, 0, 0, .3);
  transition: transform .25s var(--ease), background-color .25s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa);
  z-index: -1; animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ========== QUESTIONÁRIO (janela) ========== */
.quiz {
  width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 1px solid rgba(201, 168, 76, .4); border-radius: var(--radius-lg);
  background: var(--navy-800); color: var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.quiz[open] { display: flex; flex-direction: column; animation: quiz-in .3s var(--ease); }
.quiz::backdrop { background: rgba(3, 10, 28, .75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes quiz-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 599px) {
  .quiz { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; border: 0; }
}
.quiz__head { padding: 22px 24px 0; }
.quiz__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.quiz__brand { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); display: inline-flex; align-items: center; gap: 8px; }
.quiz__brand svg { width: 16px; height: 16px; color: var(--gold-400); }
.quiz__close {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent;
  color: var(--white); cursor: pointer; display: grid; place-items: center; flex: none;
}
.quiz__close:hover { background: rgba(255, 255, 255, .08); }
.quiz__close svg { width: 22px; height: 22px; }
.quiz__count { font-size: .85rem; color: var(--text-muted); margin-bottom: 8px; }
.quiz__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-300), var(--gold-500)); border-radius: 6px; transition: width .4s var(--ease); }

.quiz__body { padding: 28px 24px; overflow-y: auto; flex: 1; }
.quiz__q { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 10px; }
.quiz__hint { color: var(--text-muted); font-size: .95rem; margin-bottom: 20px; }
.quiz__field {
  width: 100%; padding: 16px 18px; border-radius: 14px; font: inherit; font-size: 1.05rem;
  color: var(--white); background: rgba(255, 255, 255, .06); border: 1.5px solid var(--line);
  transition: border-color .2s, background-color .2s;
}
.quiz__field::placeholder { color: rgba(255, 255, 255, .45); }
.quiz__field:focus { outline: none; border-color: var(--gold-400); background: rgba(255, 255, 255, .09); }
textarea.quiz__field { min-height: 120px; resize: vertical; line-height: 1.5; }
.quiz__error { color: var(--danger); font-size: .9rem; margin-top: 10px; min-height: 1.4em; }
.quiz__field[aria-invalid="true"] { border-color: var(--danger); }

.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .04); color: var(--white); font-weight: 600; font-size: 1.02rem;
  transition: border-color .2s, background-color .2s;
}
.choice:hover { border-color: rgba(201, 168, 76, .6); }
.choice[aria-checked="true"] { border-color: var(--gold-400); background: rgba(201, 168, 76, .14); }
.choice__dot { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--gold-400); display: grid; place-items: center; }
.choice[aria-checked="true"] .choice__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-400); }
.choice-other { margin-top: 10px; }

.quiz__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
}
.quiz__foot .btn { min-height: 50px; white-space: nowrap; }
@media (max-width: 400px) { .quiz__foot .btn--ghost { padding-inline: 8px; } .quiz__foot .btn--primary { padding-inline: 20px; } }
.quiz__privacy { padding: 0 24px 16px; font-size: .78rem; color: rgba(255, 255, 255, .55); text-align: center; }
.quiz__privacy svg { width: 13px; height: 13px; display: inline; vertical-align: -2px; margin-right: 4px; }

.quiz__done { text-align: center; padding: 24px 8px; }
.quiz__done-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(201, 168, 76, .15); border: 2px solid var(--gold-500); }
.quiz__done-icon svg { width: 34px; height: 34px; color: var(--gold-300); }
.quiz__done h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 12px; }
.quiz__done p { color: var(--text-muted); margin: 0 auto 26px; max-width: 420px; }
.quiz__done .actions { justify-content: center; }

/* ========== REVEAL ========== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ========== GRUPO DE PROMOÇÕES ========== */
.group { background: var(--navy-800); }
.group__card {
  max-width: 900px; margin: 0 auto; padding: 44px 28px; border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 211, 102, .45);
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(37, 211, 102, .16), transparent 60%),
    rgba(255, 255, 255, .03);
}
.group__icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(37, 211, 102, .14); border: 2px solid var(--wa);
}
.group__icon svg { width: 32px; height: 32px; color: var(--wa); }
.group h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.group .lead { margin-bottom: 28px; }

/* ========== PÁGINA QUEM SOMOS ========== */
.about--page { padding-top: calc(var(--header-h) + 72px); }
@media (max-width: 599px) { .about--page { padding-top: calc(var(--header-h) + 40px); } }
.about__intro { color: var(--text-muted); font-size: 1.08rem; margin-bottom: 30px; max-width: 560px; }
.facts { grid-template-columns: 1fr; }
@media (min-width: 600px) { .facts { grid-template-columns: 1fr 1fr; gap: 20px 24px; } }
.next-step { background: var(--navy-900); border-top: 1px solid var(--line); padding: 80px 0; }
.next-step h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }
.next-step .lead { margin-bottom: 28px; }

/* Menu: página atual */
.nav__list a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .08); }
