/* ============================================================
   GOLDEN INVEST — Landing Page de Captação
   Paleta do rebranding:
   - Petróleo:        #0C2A30 (base) / #11363D (elevado) / #1A4750 (borda)
   - Dourado terroso: #986D3D (logo) / #B08850 (hover) / #C9A36B (claro)
   - Off-white/Bege:  #EDE5DB (logo bege) / #F6F1EA (fundo claro)
   ============================================================ */

:root {
  --petrol-900: #081E23;
  --petrol-800: #0C2A30;
  --petrol-700: #11363D;
  --petrol-600: #1A4750;
  --petrol-500: #255963;

  --gold-700: #7D5830;
  --gold-600: #986D3D;
  --gold-500: #B08850;
  --gold-400: #C9A36B;
  --gold-300: #DDBE8E;

  --offwhite: #F6F1EA;
  --beige: #EDE5DB;
  --beige-dark: #DDD2C3;

  --text-dark: #142E33;
  --text-muted: #4A6066;
  --text-light: #EDE5DB;
  --text-light-muted: rgba(237, 229, 219, 0.65);

  --font: 'Montserrat', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius: 18px;
  --section-pad: clamp(96px, 12vw, 160px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }
/* clip (não 'hidden') evita criar container de scroll no <html>, que
   quebraria o ScrollTrigger/Lenis. A causa real do overflow (footer)
   já foi corrigida; isto é só rede de segurança. */
html, body { overflow-x: clip; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font);
  background: var(--offwhite);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section { padding-block: var(--section-pad); }

.section--dark {
  background: var(--petrol-800);
  color: var(--text-light);
}

.text-gold { color: var(--gold-400); }

/* ---------- Section heads ---------- */
.section__head {
  max-width: 720px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 20px;
}

.section__tag::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold-600);
}

.section__tag--light { color: var(--gold-400); }
.section__tag--light::before { background: var(--gold-400); }

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--petrol-800);
}

.section__title--light { color: var(--beige); }

/* Split-reveal lines (set up via JS) */
.split-line {
  display: block;
  overflow: hidden;
}
.split-line > span {
  display: block;
  transform: translateY(110%);
}

/* ---------- Buttons ---------- */
/* o atributo [hidden] precisa vencer o display das classes (ex.: .btn) —
   sem isto o #form-submit aparece desde a 1ª etapa do formulário */
[hidden] { display: none !important; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
              background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.btn--lg { padding: 18px 38px; font-size: 1rem; }

.btn--gold {
  background: var(--gold-600);
  color: var(--offwhite);
  box-shadow: 0 8px 28px rgba(152, 109, 61, 0.35);
}
.btn--gold:hover {
  background: var(--gold-500);
  box-shadow: 0 12px 36px rgba(152, 109, 61, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--beige);
  border: 1px solid rgba(237, 229, 219, 0.35);
}
.btn--ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(20, 46, 51, 0.2);
}
.btn--ghost-dark:hover:not(:disabled) {
  border-color: var(--petrol-700);
  color: var(--petrol-800);
}
.btn--ghost-dark:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--petrol-900);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__inner { text-align: center; }
.preloader__logo { width: 220px; margin: 0 auto 28px; }

.preloader__bar {
  width: 220px;
  height: 2px;
  background: rgba(237, 229, 219, 0.15);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--gold-500);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 22px;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.header.is-scrolled {
  background: rgba(246, 241, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 14px;
  box-shadow: 0 1px 0 rgba(20, 46, 51, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* hero claro: logo dourada e navegação escura o tempo todo */
.header__logo-img { height: 48px; width: auto; }
.header__logo-img--light { display: none; }

.header__nav {
  display: flex;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.header__nav a.is-current { color: var(--gold-600); }
.header__nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.header__nav a {
  position: relative;
  transition: color 0.3s ease;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.header__nav a:hover { color: var(--gold-600); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__cta { padding: 12px 24px; font-size: 0.85rem; }

/* ---------- Hambúrguer ---------- */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  z-index: 110;
}

.header__burger span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--petrol-800);
  transition: transform 0.45s var(--ease-out), background-color 0.3s ease;
}

body.menu-open .header__burger span { background: var(--beige); }
body.menu-open .header__burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .header__burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* logo dourada enquanto o menu está aberto, mesmo com header scrolled */
body.menu-open .header__logo-img--light { display: none !important; }
body.menu-open .header__logo-img--dark { display: block !important; }

/* com o menu aberto, a barra do header assume a mesma cor do modal
   (some a barra branca que ficava por cima do overlay escuro quando a
   página estava rolada). !important para vencer o estado .is-scrolled */
body.menu-open .header,
body.menu-open .header.is-scrolled {
  background: var(--petrol-900) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
}

@media (max-width: 640px) {
  .header__cta { display: none; }
  /* logo maior no desktop, mas sem espremer o burger no celular */
  .header__logo-img { height: 40px; }
  .footer__logo { height: 46px; }
}

/* ---------- Menu mobile (overlay) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(152, 109, 61, 0.18), transparent 60%),
    var(--petrol-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  /* posição inicial (fora da tela) controlada só pelo GSAP via yPercent —
     translateY(-100%) aqui entraria em conflito com a animação */
  visibility: hidden;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.mobile-menu__nav > a:not(.btn) {
  font-size: clamp(1.5rem, 6.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--beige);
  transition: color 0.3s ease;
}

.mobile-menu__nav > a:not(.btn):hover { color: var(--gold-400); }

.mobile-menu__cta { margin-top: 14px; }

.mobile-menu__footer {
  position: absolute;
  bottom: 36px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(237, 229, 219, 0.4);
}

/* nunca exibir o overlay em desktop, mesmo se ficou aberto ao redimensionar */
@media (min-width: 861px) {
  .mobile-menu { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--offwhite);
  color: var(--text-dark);
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  /* funde a base do shader com a próxima seção (também off-white) */
  background: linear-gradient(180deg,
    rgba(246, 241, 234, 0) 0%,
    rgba(246, 241, 234, 0) 70%,
    var(--offwhite) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 160px 120px;
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid rgba(152, 109, 61, 0.35);
  border-radius: 100px;
  background: rgba(152, 109, 61, 0.08);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-700);
  margin-bottom: 36px;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 12px var(--gold-400);
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--petrol-800);
  margin-bottom: 32px;
}

/* dourado mais profundo para manter contraste sobre fundo claro */
.hero__title .text-gold { color: var(--gold-600); }

.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-line > span {
  display: block;
  transform: translateY(110%);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.hero__note {
  font-size: 0.83rem;
  color: rgba(20, 46, 51, 0.45);
  letter-spacing: 0.02em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(20, 46, 51, 0.4);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(20, 46, 51, 0.15);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold-400);
  animation: scrollLine 2s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 110%; }
}

[data-hero-fade] { opacity: 0; }

/* ---------- Stats ---------- */
.stats {
  background: var(--offwhite);
  padding-block: clamp(72px, 9vw, 110px);
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.stats__item {
  flex: 1 1 180px;
  text-align: center;
}

.stats__value {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--petrol-800);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats__value [data-counter] { color: var(--gold-600); }

.stats__label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stats__divider {
  width: 1px;
  height: 56px;
  background: rgba(20, 46, 51, 0.12);
}

.stats__awards {
  margin-top: 56px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.stats__awards strong {
  color: var(--gold-600);
  font-weight: 600;
}

@media (max-width: 760px) {
  .stats__divider { display: none; }
  .stats__grid { gap: 40px; }
  .stats__item { flex-basis: 40%; }
}

/* ---------- About / Cards ---------- */
.about { background: var(--beige); }

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--offwhite);
  border: 1px solid rgba(20, 46, 51, 0.07);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.card:hover {
  border-color: rgba(152, 109, 61, 0.35);
  box-shadow: 0 24px 60px -20px rgba(12, 42, 48, 0.18);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(152, 109, 61, 0.1);
  color: var(--gold-600);
  margin-bottom: 24px;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--petrol-800);
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ---------- Segments ---------- */
.segments { background: var(--offwhite); }

.segments__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.segment {
  background: #FFFFFF;
  border: 1px solid rgba(20, 46, 51, 0.08);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, box-shadow 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.segment:hover {
  border-color: rgba(152, 109, 61, 0.4);
  box-shadow: 0 20px 50px -18px rgba(12, 42, 48, 0.18);
  transform: translateY(-6px);
}

.segment__index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.segment__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--petrol-800);
  margin-bottom: 6px;
}

.segment__range {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(20, 46, 51, 0.08);
}

.segment__features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.45;
}

.segment__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* Private — destaque em petróleo */
.segment--featured {
  background: var(--petrol-800);
  border-color: var(--petrol-600);
}

.segment--featured:hover { border-color: var(--gold-500); }

.segment--featured .segment__name { color: var(--beige); }
.segment--featured .segment__range {
  color: var(--gold-400);
  border-bottom-color: rgba(237, 229, 219, 0.14);
}
.segment--featured .segment__features li { color: var(--text-light-muted); }
.segment--featured .segment__index { color: var(--gold-400); }

@media (max-width: 1100px) {
  .segments__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

/* ---------- Steps ---------- */
.steps__thesis {
  margin-top: 28px;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-400);
}

.steps__list {
  display: flex;
  flex-direction: column;
}

.steps__item {
  display: flex;
  gap: clamp(24px, 5vw, 64px);
  align-items: flex-start;
  padding-block: 40px;
  border-bottom: 1px solid rgba(237, 229, 219, 0.12);
}

.steps__item:first-child { border-top: 1px solid rgba(237, 229, 219, 0.12); }

.steps__number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--gold-400);
  line-height: 1;
  min-width: 80px;
}

.steps__body h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: var(--beige);
  margin-bottom: 10px;
}

.steps__body p {
  color: var(--text-light-muted);
  max-width: 560px;
  font-size: 0.95rem;
}

.steps__cta { margin-top: 64px; }

/* ---------- Lead form section ---------- */
.lead { background: var(--offwhite); }

.lead__container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

@media (max-width: 960px) {
  .lead__container { grid-template-columns: 1fr; }
}

.lead__text {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.lead__bullets li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--petrol-700);
}

.lead__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(152, 109, 61, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m7 12.5 3 3L17 9' stroke='%23986D3D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Multi-step form ---------- */
.lead__form-wrap {
  background: var(--petrol-800);
  border-radius: 24px;
  padding: clamp(32px, 4.5vw, 52px);
  box-shadow: 0 40px 90px -30px rgba(12, 42, 48, 0.45);
  position: relative;
  overflow: hidden;
}

.lead__form-wrap::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 109, 61, 0.25), transparent 70%);
  pointer-events: none;
}

.lead-form { position: relative; }

.lead-form__progress {
  height: 3px;
  background: rgba(237, 229, 219, 0.12);
  border-radius: 3px;
  margin-bottom: 40px;
  overflow: hidden;
}

.lead-form__progress-bar {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  border-radius: 3px;
}

.form-step { display: none; }
.form-step.is-active { display: block; }

.form-step__count {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.form-step__title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 28px;
  line-height: 1.25;
}

.form-options {
  display: grid;
  gap: 12px;
}

.form-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.form-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-option span {
  display: block;
  padding: 17px 22px;
  border: 1px solid rgba(237, 229, 219, 0.18);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light);
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out);
}

.form-option:hover span {
  border-color: rgba(201, 163, 107, 0.5);
  transform: translateX(4px);
}

.form-option input:checked + span {
  border-color: var(--gold-500);
  background: rgba(152, 109, 61, 0.18);
  color: var(--gold-300);
}

.form-fields { display: grid; gap: 18px; }

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 8px;
}

.form-field input {
  width: 100%;
  padding: 15px 18px;
  background: rgba(237, 229, 219, 0.06);
  border: 1px solid rgba(237, 229, 219, 0.18);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--beige);
  transition: border-color 0.3s ease, background-color 0.3s ease;
  outline: none;
}

.form-field input::placeholder { color: rgba(237, 229, 219, 0.3); }

.form-field input:focus {
  border-color: var(--gold-500);
  background: rgba(237, 229, 219, 0.09);
}

.form-field input.is-invalid { border-color: #C75D4F; }

.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--text-light-muted);
  cursor: pointer;
  margin-top: 4px;
}

.form-consent input {
  margin-top: 3px;
  accent-color: var(--gold-600);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-consent a {
  color: var(--gold-400);
  text-decoration: underline;
}

.lead-form__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}

.lead-form__nav .btn {
  padding: 11px 24px;
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  .lead-form__nav { flex-direction: column-reverse; }
  .lead-form__nav .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.9rem;
  }
}

.lead-form__nav .btn--ghost-dark {
  color: var(--text-light-muted);
  border-color: rgba(237, 229, 219, 0.2);
}
.lead-form__nav .btn--ghost-dark:hover:not(:disabled) {
  border-color: var(--beige);
  color: var(--beige);
}

/* Success state */
.form-step--success { text-align: center; padding-block: 24px; }

.form-success__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(152, 109, 61, 0.15);
  color: var(--gold-400);
}

.form-step--success p {
  color: var(--text-light-muted);
  max-width: 380px;
  margin-inline: auto;
}

.form-step--success a {
  color: var(--gold-400);
  text-decoration: underline;
}

/* ---------- FAQ ---------- */
.faq { background: var(--beige); }

.faq__container { max-width: 860px; }

.faq__item {
  background: var(--offwhite);
  border: 1px solid rgba(20, 46, 51, 0.07);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq__item[open] { border-color: rgba(152, 109, 61, 0.4); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--petrol-800);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--gold-600);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__answer { padding: 0 28px; overflow: hidden; }

.faq__answer p {
  padding-bottom: 26px;
  color: var(--text-muted);
  font-size: 0.93rem;
  max-width: 680px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(152, 109, 61, 0.22), transparent 65%),
    var(--petrol-900);
}

.final-cta__inner {
  text-align: center;
  max-width: 760px;
}

.final-cta__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--beige);
  margin-bottom: 20px;
}

.final-cta__text {
  color: var(--text-light-muted);
  margin-bottom: 44px;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--petrol-900);
  border-top: 1px solid rgba(237, 229, 219, 0.08);
  padding-block: 64px 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer__logo { height: 56px; width: auto; opacity: 0.9; }

.footer__cities {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-400);
}

.footer__disclaimer {
  max-width: 680px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(237, 229, 219, 0.4);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  gap: 14px 28px;
  font-size: 0.82rem;
  color: var(--gold-400);
}

.footer__links a:hover { color: var(--gold-300); }

.footer__copy {
  font-size: 0.75rem;
  color: rgba(237, 229, 219, 0.3);
}

/* ---------- Depoimentos ---------- */
/* Seção nasce com [hidden] no HTML; o content.js só a revela se houver
   depoimentos publicados no /admin. */
.testimonials { background: var(--beige); }
.testimonials[hidden] { display: none; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.tmnl {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 36px 32px;
  background: var(--offwhite);
  border: 1px solid rgba(20, 46, 51, 0.07);
  border-radius: var(--radius);
  transition: box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
}

.tmnl:hover {
  border-color: rgba(152, 109, 61, 0.35);
  box-shadow: 0 24px 60px -20px rgba(12, 42, 48, 0.18);
}

.tmnl__quote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-dark);
}

/* aspas decorativas — puramente visual, fora da árvore de acessibilidade */
.tmnl__quote::before {
  content: "“";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  margin-bottom: 12px;
  color: var(--gold-400);
}

.tmnl__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tmnl__photo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--beige-dark);
  color: var(--text-muted);
  display: grid;
  place-items: center;
}

.tmnl__photo img,
.tmnl__photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }

.tmnl__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.tmnl__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.tmnl__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .tmnl { padding: 28px 24px; }
}

/* dica sob o título de uma etapa do formulário */
.form-step__hint {
  margin: -6px 0 18px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ---------- Reveal helpers ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-hero-fade] { opacity: 1 !important; transform: none !important; }
  .hero__title-line > span, .split-line > span { transform: none !important; }
  /* animation: none (e não duração 0.01ms) — duração curta + infinite vira flicker */
  * { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- Banner de consentimento de cookies (LGPD) ---------- */
.consent {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  width: min(880px, calc(100% - 32px));
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.4s ease;
}
.consent.is-visible { transform: translate(-50%, 0); opacity: 1; }

.consent__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 26px;
  border-radius: 16px;
  background: rgba(12, 42, 48, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px -12px rgba(8, 30, 35, 0.5);
  border: 1px solid rgba(201, 163, 107, 0.22);
}

.consent__text {
  flex: 1;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-light-muted);
}
.consent__text a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.consent__text a:hover { color: var(--gold-300); }

.consent__actions { display: flex; gap: 12px; flex: 0 0 auto; }

/* Aceitar e Recusar com a MESMA proeminência: mesmo padding, mesma
   fonte, mesma largura mínima. Consentimento só é livre (art. 8º da
   LGPD) se recusar for tão fácil quanto aceitar. */
.consent__btn {
  padding: 11px 26px;
  font-size: 0.85rem;
  min-width: 116px;
}
.consent .btn--ghost-dark {
  color: var(--beige);
  border-color: rgba(237, 229, 219, 0.35);
}
.consent .btn--ghost-dark:hover { border-color: var(--beige); color: #fff; }

@media (max-width: 720px) {
  .consent { bottom: 12px; }
  .consent__inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .consent__actions { flex-direction: row-reverse; }
  .consent__btn { flex: 1; min-width: 0; }
}
