/*
  site_novo/assets/style.css

  Paleta e tipografia extraídas do CSS compilado da página anterior
  (--bg/--gold/--cream/Cormorant Garamond + Outfit) — mesma identidade
  visual, código-fonte novo e legível, sem depender de bundle compilado.
*/

:root {
  --bg: #0a0908;
  --bg2: #111009;
  --surface: #1c1a16;
  --gold: #c9a84c;
  --gold2: #dfc070;
  --cream: #f2ede4;
  --warm-white: #faf8f4;
  --muted: #7a7060;
  --muted2: #9a8e7c;
  --border: #c9a84c2e;
  --radius: 0px;
  --ease-main: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --dflow-bar-h: 40px;

  /* Cor sólida de botão/CTA — NÃO remapeada dentro de .on-light, pra manter
     o dourado sempre com a mesma intensidade em botões, seja em seção clara
     ou escura. Contraste do texto sobre ela é resolvido por --ink, não por
     --bg (que muda de valor conforme a seção). */
  --ink: #0a0908;
  --accent: #c9a84c;
  --accent2: #dfc070;

  /* Paleta clara — usada nas seções de leitura longa (Serviços, Números,
     Quem somos, Depoimentos, FAQ, Contato). Nav, Hero e Rodapé continuam
     escuros (identidade de marca / impacto). Motivo da mudança: preto puro
     + texto claro em blocos de leitura longa cansa a vista (halo/ofuscamento
     — efeito documentado), e pesquisa de UX aponta preferência por fundo
     claro em sites de serviço financeiro por transmitir mais confiança.
     Contraste de cada tom abaixo foi validado (WCAG) contra as duas
     variações de fundo claro antes de entrar aqui. */
  --light-bg: #faf7f2;
  --light-bg2: #f2ede2;
  --light-text: #1c1a16;
  --light-text2: #4a4438;
  --light-muted: #6b6153;
  --light-border: #c9a84c55;
  --gold-deep: #7d6320;
  --gold-deep2: #9c7a1f;
}

/* Remapeia os tokens semânticos (--bg/--cream/--muted.../--gold) pra suas
   versões claras dentro de qualquer seção marcada .on-light. Como todo o
   resto do CSS já usa var(--bg), var(--cream) etc., isso propaga sozinho
   pros cards, textos e bordas de dentro — não precisa reescrever seletor
   por seletor. */
.on-light {
  --bg: var(--light-bg);
  --bg2: var(--light-bg2);
  --cream: var(--light-text);
  --muted: var(--light-muted);
  --muted2: var(--light-text2);
  --border: var(--light-border);
  --gold: var(--gold-deep);
  --gold2: var(--gold-deep2);
  color: var(--muted2);
}
.section.on-light { background: var(--bg); }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 60px;
}

.h-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1.06;
}

.h-section {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--cream);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.italic-gold { color: var(--gold); font-style: italic; font-weight: 300; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted2);
}
.section-label .line { width: 28px; height: 1px; background: var(--gold); display: inline-block; }

/* grão de fundo — textura sutil, mesma técnica do site anterior */
.grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.028;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------------------------------------------------------------------- */
/* Barra "Acesso Consultor" — topo/rodapé                                  */
/* ---------------------------------------------------------------------- */

#dflow-consultor-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  height: var(--dflow-bar-h);
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  padding: 0 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
#dflow-consultor-bottom {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 28px 60px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.dflow-consultor-label {
  color: var(--muted);
  font-size: 10.5px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase;
}
.dflow-consultor-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  font-size: 10.5px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); background: var(--accent); border: 1px solid var(--accent);
  text-decoration: none; cursor: pointer; transition: all 0.4s var(--ease-main);
}
.dflow-consultor-btn:hover { background: var(--accent2); border-color: var(--accent2); }

/* ---------------------------------------------------------------------- */
/* Nav                                                                     */
/* ---------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: var(--dflow-bar-h);
  left: 0; right: 0; z-index: 1000;
  background: rgba(10, 9, 8, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: top 0.3s var(--ease-main);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-word {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px;
  letter-spacing: 0.08em; color: var(--cream);
}
.brand-sub {
  font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-top: 2px;
}
.brand-logo { height: 46px; width: auto; display: block; }
.footer-logo { height: 40px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  color: var(--muted2); text-decoration: none; font-size: 12px;
  letter-spacing: 0.06em; transition: color 0.3s var(--ease-main);
}
.nav-links a:hover { color: var(--cream); }
.nav-cta {
  color: var(--ink) !important; background: var(--accent);
  padding: 9px 20px; border: 1px solid var(--accent);
  text-transform: uppercase; font-size: 10.5px !important; letter-spacing: 0.16em !important;
}
.nav-cta:hover { background: var(--accent2) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 1px; background: var(--cream); display: block; transition: all 0.3s var(--ease-main); }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 12px 24px 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--muted2); text-decoration: none; padding: 12px 0;
  border-bottom: 1px solid var(--border); font-size: 13px;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: calc(var(--dflow-bar-h) + 76px);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201,168,76,0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  overflow: hidden;
}
.hero-grid {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, 700px) 1fr;
  gap: 64px; align-items: center;
}
.hero-inner { max-width: 700px; }
.hero-logo { width: 128px; height: auto; display: block; margin-bottom: 28px; }
.hero-title { font-size: clamp(36px, 5.4vw, 64px); margin-top: 22px; }
.hero-sub { margin-top: 26px; font-size: 16px; color: var(--muted2); max-width: 560px; line-height: 1.7; }
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.hero-side { display: flex; flex-direction: column; gap: 20px; }
.hero-stat {
  border: 1px solid var(--border); padding: 24px 26px; background: rgba(201,168,76,0.03);
}
.hero-stat .num {
  font-family: 'Cormorant Garamond', serif; font-size: 34px; color: var(--gold2); line-height: 1;
  display: block;
}
.hero-stat .lbl {
  margin-top: 8px; font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted2); line-height: 1.5; display: block;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .hero-stat { flex: 1; min-width: 200px; }
}
@media (max-width: 640px) {
  .hero-side { flex-direction: column; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: all 0.4s var(--ease-main);
}
.btn-gold { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-gold:hover { background: var(--accent2); border-color: var(--accent2); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* Seções genéricas                                                        */
/* ---------------------------------------------------------------------- */

.section { padding: 120px 0; }

.cards-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.service-card {
  background: var(--bg);
  transition: background 0.4s var(--ease-main);
}
.service-card:hover { background: var(--bg2); }
.service-img { aspect-ratio: 4 / 3; overflow: hidden; }
.service-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(0.92);
  transition: transform 0.6s var(--ease-soft);
}
.service-card:hover .service-img img { transform: scale(1.05); }
.service-card-body { padding: 32px 36px 44px; }
.service-tag {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 26px;
  color: var(--cream); margin-top: 14px;
}
.service-card p { margin-top: 14px; font-size: 14px; color: var(--muted2); line-height: 1.7; }

/* ---------------------------------------------------------------------- */
/* Simulador                                                               */
/* ---------------------------------------------------------------------- */

.sim-intro { margin-top: 18px; max-width: 520px; font-size: 15px; color: var(--muted2); line-height: 1.7; }

.sim-box {
  margin-top: 48px; max-width: 640px;
  border: 1px solid var(--border); padding: 44px 40px;
  background: var(--bg2);
}

.sim-progress { display: flex; gap: 8px; margin-bottom: 32px; }
.sim-dot { width: 28px; height: 3px; background: var(--border); transition: background 0.3s var(--ease-main); }
.sim-dot.active { background: var(--gold); }

.sim-step-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 22px; color: var(--cream);
}

.sim-tipo-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sim-tipo-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 12px; background: var(--bg); border: 1px solid var(--border);
  color: var(--muted2); font-size: 12.5px; letter-spacing: 0.03em;
  cursor: pointer; transition: all 0.3s var(--ease-main);
  font-family: 'Outfit', sans-serif;
}
.sim-tipo-icon { font-size: 26px; line-height: 1; }
.sim-tipo-card:hover { border-color: var(--gold); }
.sim-tipo-card.selected { border-color: var(--gold); background: rgba(201,168,76,0.08); color: var(--cream); }

.sim-valor-display {
  margin-top: 28px; font-family: 'Cormorant Garamond', serif; font-size: 42px; color: var(--gold2);
}
.sim-slider {
  width: 100%; margin-top: 20px; -webkit-appearance: none; appearance: none;
  height: 3px; background: var(--border); outline: none; cursor: pointer;
}
.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--bg2); cursor: pointer;
}
.sim-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--bg2); cursor: pointer;
}
.sim-valor-labels { margin-top: 8px; display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }

.sim-form { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.sim-form input {
  background: var(--bg); border: 1px solid var(--border); color: var(--cream);
  padding: 14px 16px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 300;
}
.sim-form input::placeholder { color: var(--muted); }
.sim-form input:focus { outline: none; border-color: var(--gold); }

.sim-actions { margin-top: 32px; display: flex; gap: 12px; }
.sim-actions-end { justify-content: flex-end; }
.sim-actions .btn { border: none; }
.sim-actions .btn-ghost { border: 1px solid var(--border); }
.sim-actions .btn-gold:disabled { opacity: 0.35; cursor: not-allowed; }

.sim-done-text { margin-top: 16px; font-size: 14px; color: var(--muted2); line-height: 1.7; max-width: 460px; }

@media (max-width: 640px) {
  .sim-box { padding: 32px 24px; }
  .sim-tipo-grid { gap: 8px; }
  .sim-tipo-card { padding: 18px 8px; }
  .sim-valor-display { font-size: 32px; }
}

/* ---------------------------------------------------------------------- */
/* Trust / números                                                         */
/* ---------------------------------------------------------------------- */

.trust { padding: 120px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.trust-stat { text-align: left; }
.trust-number {
  display: block;
  font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic;
  font-size: clamp(32px, 3.4vw, 46px); color: var(--gold);
}
.trust-desc { display: block; margin-top: 10px; font-size: 12px; color: var(--muted2); letter-spacing: 0.02em; }

/* ---------------------------------------------------------------------- */
/* Quem somos                                                              */
/* ---------------------------------------------------------------------- */

.about-grid {
  display: grid; grid-template-columns: minmax(0, 640px) 1fr;
  gap: 64px; align-items: center;
}
.about-inner { max-width: 640px; }
.about-quote {
  margin-top: 26px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-style: italic;
  color: var(--gold2);
}
.about-body { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.about-body p { font-size: 15px; color: var(--muted2); line-height: 1.8; max-width: 640px; }

.about-photo { position: relative; }
.about-photo img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; display: block; filter: saturate(0.92); }
.about-photo-caption {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--bg); color: var(--cream);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--gold);
}
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .about-photo img { max-height: 320px; }
}

/* ---------------------------------------------------------------------- */
/* Depoimentos                                                             */
/* ---------------------------------------------------------------------- */

.testi-wrap { background: var(--bg); }
.testi-header { display: flex; flex-direction: column; }
.testi-viewport { margin-top: 56px; overflow: hidden; }
.testi-track { display: flex; gap: 24px; transition: transform 0.5s var(--ease-soft); }

.testi-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.testi-tag { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.testi-title {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 19px;
  color: var(--cream); margin-top: 10px;
}
.testi-quote { margin-top: 16px; font-size: 13.5px; color: var(--muted2); line-height: 1.75; flex: 1; }
.testi-footer { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.testi-initial {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 15px;
}
.testi-name { font-size: 12.5px; color: var(--cream); }
.testi-detail { font-size: 10.5px; color: var(--muted); margin-top: 2px; }

.testi-dots { margin-top: 32px; display: flex; justify-content: center; gap: 10px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer; padding: 0;
  transition: background 0.3s var(--ease-main);
}
.dot.active { background: var(--gold); }

@media (max-width: 1024px) {
  .testi-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 768px) {
  .testi-card { flex-basis: 100%; }
}

/* ---------------------------------------------------------------------- */
/* FAQ                                                                     */
/* ---------------------------------------------------------------------- */

.faq-list { margin-top: 48px; max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; color: var(--cream); font-size: 15px; font-family: 'Outfit', sans-serif;
}
.faq-question .plus { color: var(--gold); font-size: 20px; transition: transform 0.3s var(--ease-main); flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-soft);
}
.faq-answer p { padding-bottom: 24px; font-size: 13.5px; color: var(--muted2); line-height: 1.75; max-width: 640px; }

/* ---------------------------------------------------------------------- */
/* Contato                                                                 */
/* ---------------------------------------------------------------------- */

.contact-section { background: var(--bg2); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 300;
  resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--gold); }
.contact-form .btn { margin-top: 8px; border: none; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------- */
/* Rodapé                                                                  */
/* ---------------------------------------------------------------------- */

.footer { padding: 56px 0; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.footer-social {
  display: inline-block; margin-top: 10px; font-size: 12px; letter-spacing: 0.02em;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.footer-social:hover { border-color: var(--gold); }

/* ---------------------------------------------------------------------- */
/* WhatsApp flutuante                                                      */
/* ---------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #0a0908;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.3s var(--ease-main);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------------------------------------------------------------------- */
/* Scroll reveal (.sr) — IntersectionObserver adiciona .sr-visible          */
/* ---------------------------------------------------------------------- */

.sr { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft); }
.sr-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------- */
/* Responsivo                                                              */
/* ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  #dflow-consultor-top { padding: 0 40px; }
  #dflow-consultor-bottom { padding: 24px 40px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --dflow-bar-h: 34px; }
  .container { padding: 0 24px; }
  #dflow-consultor-top { padding: 0 24px; gap: 10px; }
  #dflow-consultor-bottom { padding: 20px 24px; flex-direction: column; gap: 10px; }
  .dflow-consultor-label { display: none; }
  .dflow-consultor-btn { padding: 7px 16px; font-size: 9.5px; }
  .section { padding: 80px 0; }
  .trust { padding: 80px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner > p { text-align: left !important; }
}
