/* ============================================
   LP DSE — Souza & Barreira Advogados
   Direção: Premium · Reservado · Executivo
   ============================================ */

:root {
  /* Palette — Azul profundo */
  --navy: #0B1F3A;
  --navy-deep: #081730;
  --navy-soft: #142a4a;
  --graphite: #1F2937;
  --slate: #5C6776;
  --slate-soft: #8a93a0;
  --ivory: #F4F0E8;
  --ivory-warm: #EDE7DA;
  --paper: #FBF9F4;
  --paper-pure: #ffffff;
  --gold: #B08C4E;
  --gold-soft: #C9A567;
  --gold-deep: #8a6c38;
  --line: #d9d2c2;
  --line-soft: #e8e2d2;
  --line-dark: rgba(255,255,255,0.14);

  /* Typography */
  --display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --body: "Inter", "Söhne", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Density */
  --section-py: clamp(80px, 9vw, 140px);
  --container: 1240px;
  --container-narrow: 980px;
  --container-text: 720px;
  --gutter: clamp(24px, 5vw, 64px);

  /* Radii / shadows — very subtle */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --shadow-card: 0 1px 0 rgba(11,31,58,0.04), 0 24px 60px -28px rgba(11,31,58,0.18);
  --shadow-deep: 0 30px 80px -40px rgba(11,31,58,0.5);

  /* Easing */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--graphite);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

/* ============================================
   Typography scale
   ============================================ */

.display-xl, .display-lg, .display-md, .display-sm {
  font-family: var(--display);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.012em;
  line-height: 1.06;
  text-wrap: balance;
}

.display-xl { font-size: clamp(48px, 6.4vw, 92px); letter-spacing: -0.02em; line-height: 1.02; }
.display-lg { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.05; }
.display-md { font-size: clamp(32px, 3.4vw, 52px); }
.display-sm { font-size: clamp(26px, 2.4vw, 38px); }

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow.on-dark::before { background: var(--gold-soft); }

.lede {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.5;
  color: var(--slate);
  letter-spacing: -0.005em;
  font-style: italic;
  text-wrap: pretty;
}

.body-lg { font-size: 18px; line-height: 1.65; }
.body-md { font-size: 16px; line-height: 1.65; }
.body-sm { font-size: 14px; line-height: 1.6; }

.label-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ============================================
   Layout primitives
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }
.container.text { max-width: var(--container-text); }

section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(48px, 5vw, 80px);
}
.section-head.center { text-align: center; }
.section-head .eyebrow { margin-bottom: 24px; }
.section-head .lede { margin-top: 24px; max-width: 640px; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

.section-number {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--slate-soft);
  text-transform: uppercase;
}

/* Hairline divider */
.hr-fine {
  height: 1px;
  background: var(--line);
  margin: 0;
  border: 0;
}
.hr-fine.dark { background: var(--line-dark); }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.32s var(--ease);
  text-align: center;
  position: relative;
}

.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -18px rgba(11,31,58,0.5);
}

.btn-gold {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--ivory);
}

.btn-ghost-light {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover {
  background: var(--ivory);
  color: var(--navy);
  border-color: var(--ivory);
}

.btn-arrow {
  width: 14px;
  height: 10px;
}

/* ============================================
   Header / Nav
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 22px 0;
  transition: all 0.35s var(--ease);
  background: transparent;
}
.site-header.scrolled {
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-mark-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.site-header.scrolled .brand-mark-img { width: 40px; height: 40px; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--graphite);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  font-size: 12px !important;
  padding: 12px 22px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh;
  background: var(--paper);
  padding: 160px 0 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 380px; }
}
@media (max-width: 600px) {
  .hero-visual { min-height: 260px; }
  .hero { padding: 90px 0 60px; }
  .hero-headline { font-size: 36px; }
  .hero-sub { font-size: 16px; }
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-headline em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 36px;
  max-width: 580px;
  text-wrap: pretty;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 44px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-bullets li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  font-size: 15px;
  color: var(--graphite);
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}
.hero-bullets .bullet-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  margin-top: 9px;
  transform: rotate(45deg);
}

.hero-cta-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--slate);
  align-items: baseline;
}
.hero-meta strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.hero-meta .meta-divider {
  width: 1px;
  height: 28px;
  background: var(--line);
  align-self: center;
}

/* Hero visual — architectural plate */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 520px;
}

.hero-plate {
  position: absolute;
  inset: 0;
  background: var(--navy);
  overflow: hidden;
  color: var(--ivory);
  box-shadow: var(--shadow-deep);
}

.hero-plate-img {
  position: absolute;
  inset: 0;
}
.hero-plate-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: saturate(0.85) contrast(1.02);
}
.hero-plate-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,31,58,0.2) 0%, rgba(11,31,58,0) 30%, rgba(11,31,58,0) 60%, rgba(11,31,58,0.85) 100%),
    linear-gradient(to right, rgba(11,31,58,0.3), rgba(11,31,58,0) 30%, rgba(11,31,58,0) 70%, rgba(11,31,58,0.2));
}
.hero-plate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 36px;
  z-index: 2;
}
.hero-plate-bot {
  position: relative;
}

.hero-plate-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-cue::after {
  content: "";
  width: 1px;
  height: 36px;
  background: var(--slate-soft);
  animation: scroll-cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   Generic content blocks
   ============================================ */

.dark-section {
  background: var(--navy);
  color: var(--ivory);
}
.dark-section .display-xl,
.dark-section .display-lg,
.dark-section .display-md,
.dark-section .display-sm { color: var(--ivory); }
.dark-section .lede { color: rgba(244, 240, 232, 0.7); }
.dark-section .body-md, .dark-section .body-lg { color: rgba(244, 240, 232, 0.82); }
.dark-section .hr-fine { background: var(--line-dark); }

.ivory-section { background: var(--ivory); }

/* Pull quote */
.pullquote {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.25;
  color: var(--navy);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  letter-spacing: -0.005em;
}
.pullquote .quote-mark {
  font-family: var(--display);
  font-size: 90px;
  color: var(--gold);
  line-height: 0;
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Two-col text */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* Whisper list — items separated by hairlines, ample whitespace */
.whisper-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.whisper-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.55;
  color: var(--graphite);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: baseline;
  text-wrap: pretty;
}
.whisper-list li .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate-soft);
  padding-top: 4px;
}
.dark-section .whisper-list { border-color: var(--line-dark); }
.dark-section .whisper-list li { border-color: var(--line-dark); color: rgba(244,240,232,0.88); }
.dark-section .whisper-list li .num { color: var(--gold-soft); }

/* ============================================
   Cards
   ============================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card-grid > .card {
  background: var(--paper-pure);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
}
.dark-section .card-grid { background: var(--line-dark); border-color: var(--line-dark); }
.dark-section .card-grid > .card { background: var(--navy); }

.card .card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.dark-section .card .card-num { color: var(--gold-soft); }
.card h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.15;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.dark-section .card h4 { color: var(--ivory); }
.card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--slate);
}
.dark-section .card p { color: rgba(244,240,232,0.72); }

/* Process steps */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.step:hover { background: rgba(176, 140, 78, 0.04); }
.step-num {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.step-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--slate);
  text-wrap: pretty;
}
@media (max-width: 800px) {
  .step { grid-template-columns: 64px 1fr; gap: 24px; }
  .step-body { grid-column: 2; }
}

/* Deliverable rows */
.deliverable {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.deliverable:last-child { border-bottom: none; }
.deliverable-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  color: var(--ivory);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.deliverable-title .label-mono {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-soft);
}
.deliverable-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(244,240,232,0.78);
  max-width: 540px;
}
@media (max-width: 800px) {
  .deliverable { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================
   Diagnostic interactive
   ============================================ */

.diagnostic-wrap {
  background: var(--paper-pure);
  padding: 56px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (max-width: 720px) { .diagnostic-wrap { padding: 32px 24px; } }

.diagnostic-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .diagnostic-head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
}

.diagnostic-title {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
}

.diagnostic-counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
}

.diagnostic-question {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (max-width: 600px) {
  .diagnostic-question {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .scale { justify-content: flex-start; }
}
.diagnostic-question:last-of-type { border-bottom: none; }
.diagnostic-question p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.45;
  color: var(--graphite);
  text-wrap: pretty;
}
.diagnostic-question .q-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate-soft);
  margin-right: 12px;
}

.scale {
  display: flex;
  gap: 6px;
}
.scale button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate);
  transition: all 0.2s var(--ease);
}
.scale button:hover { border-color: var(--navy); color: var(--navy); }
.scale button.selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--ivory);
}
.scale-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--slate-soft);
  text-transform: uppercase;
}

/* Result panel */
.result-panel {
  margin-top: 40px;
  padding: 40px;
  background: var(--navy);
  color: var(--ivory);
  position: relative;
}
@media (max-width: 720px) { .result-panel { padding: 28px 24px; } }
.result-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 720px) { .result-grid { grid-template-columns: 1fr; gap: 24px; } }

.index-meter {
  width: 160px;
  height: 160px;
  position: relative;
}
.index-meter svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.index-meter .meter-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
}
.index-meter .meter-value .v {
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  color: var(--ivory);
  letter-spacing: -0.02em;
}
.index-meter .meter-value .lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-top: 8px;
}

.result-text h4 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ivory);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.result-text p {
  color: rgba(244,240,232,0.78);
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================
   Retrato Estratégico — sample pages
   ============================================ */

.retrato-section { background: var(--ivory-warm); }

.retrato-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .retrato-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .retrato-grid { grid-template-columns: 1fr; } }

.retrato-page {
  background: var(--paper-pure);
  aspect-ratio: 3 / 4;
  position: relative;
  box-shadow: 0 1px 0 rgba(11,31,58,0.05), 0 24px 50px -30px rgba(11,31,58,0.3);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.retrato-page:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 rgba(11,31,58,0.05), 0 36px 70px -32px rgba(11,31,58,0.4);
}
.retrato-page svg { width: 100%; height: 100%; display: block; }
.retrato-caption {
  margin-top: 16px;
  text-align: left;
}
.retrato-caption .label-mono { color: var(--gold-deep); font-size: 10px; }
.retrato-caption h5 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  margin: 6px 0 0;
  letter-spacing: -0.005em;
}

/* ============================================
   FAQ accordion
   ============================================ */

.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.25;
  transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
  position: relative;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 0.3s var(--ease);
}
.faq-toggle::before { width: 12px; height: 1px; }
.faq-toggle::after { width: 1px; height: 12px; }
.faq-item.open .faq-toggle { background: var(--navy); border-color: var(--navy); }
.faq-item.open .faq-toggle::before { background: var(--ivory); }
.faq-item.open .faq-toggle::after { transform: scaleY(0); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 32px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  max-width: 760px;
  text-wrap: pretty;
}

/* ============================================
   Three paths
   ============================================ */

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--line-dark);
}
@media (max-width: 900px) { .paths-grid { grid-template-columns: 1fr; border-left: 0; } }
@media (max-width: 600px) { .path-card { min-height: 220px; padding: 32px 28px; } }

.path-card {
  padding: 48px;
  border-right: 1px solid var(--line-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 360px;
  position: relative;
}
.path-card.highlight {
  background: rgba(176, 140, 78, 0.06);
}
.path-card .path-num {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 500;
  color: var(--gold-soft);
  line-height: 1;
}
.path-card h4 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ivory);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.path-card p {
  color: rgba(244,240,232,0.75);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   Depoimentos
   ============================================ */

.depoimentos-section {
  padding: clamp(80px, 10vw, 130px) 0;
}

.dep-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 56px;
}

.dep-grid > .reveal {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 260px;
  box-sizing: border-box;
}

.dep-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.25s ease;
  height: 100%;
  box-sizing: border-box;
}
.dep-card:hover {
  border-color: rgba(196, 161, 102, 0.35);
}

.dep-mark {
  font-family: var(--display);
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  display: block;
  opacity: 0.7;
}

.dep-quote {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 240, 232, 0.85);
  flex: 1;
  margin: 0;
}

.dep-company {
  display: block;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  font-size: 10px;
  margin-top: 4px;
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
  text-align: center;
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: "";
  position: absolute;
  width: 1px;
  background: var(--gold);
  opacity: 0.4;
}
.final-cta::before { left: 8%; top: 10%; height: 80%; }
.final-cta::after { right: 8%; top: 10%; height: 80%; }
@media (max-width: 800px) {
  .final-cta::before, .final-cta::after { display: none; }
}

.final-cta-headline {
  font-family: var(--display);
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto 32px;
  max-width: 880px;
  text-wrap: balance;
}
.final-cta-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto 48px;
}
.final-cta-meta {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 13px;
  color: var(--slate);
  align-items: baseline;
}
.final-cta-meta strong {
  font-family: var(--display);
  font-size: 24px;
  color: var(--navy);
  font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(244,240,232,0.7);
  padding: 80px 0 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-grid h6 {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer-grid a {
  display: block;
  padding: 6px 0;
  color: rgba(244,240,232,0.7);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer-grid a:hover { color: var(--ivory); }
.footer-brand {
  font-family: var(--display);
  font-size: 24px;
  color: var(--ivory);
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}
.footer-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: rgba(244,240,232,0.6);
  line-height: 1.5;
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,240,232,0.5);
}

/* ============================================
   WhatsApp float + Modal
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  background: var(--navy);
  color: var(--ivory);
  border-radius: 999px;
  padding: 14px 22px 14px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px -16px rgba(11,31,58,0.6);
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--gold);
}
.whatsapp-float:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.whatsapp-float .wpp-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}
.whatsapp-float:hover .wpp-icon {
  background: var(--navy);
  color: var(--gold);
}
.whatsapp-float .wpp-label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.whatsapp-float .wpp-label strong { font-weight: 500; }
.whatsapp-float .wpp-label small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
@media (max-width: 600px) {
  .whatsapp-float { padding: 12px; }
  .whatsapp-float .wpp-label { display: none; }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,23,48,0.78);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade 0.3s var(--ease);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: var(--paper);
  width: 100%;
  max-width: 560px;
  padding: 56px 48px;
  position: relative;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line);
  max-height: 92vh;
  overflow-y: auto;
}
@media (max-width: 600px) { .modal-card { padding: 40px 28px; } }
.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--slate);
  transition: all 0.2s var(--ease);
}
.modal-close:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.modal-card h3 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.modal-card p.modal-sub {
  color: var(--slate);
  margin: 0 0 32px;
  font-size: 15.5px;
  line-height: 1.6;
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.modal-form input,
.modal-form select {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--paper-pure);
  font-family: var(--body);
  font-size: 15px;
  color: var(--graphite);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease);
}
.modal-form input:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--navy);
}
.modal-success {
  text-align: center;
  padding: 24px 0;
}
.modal-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}

/* ============================================
   Scroll reveal
   ============================================ */

/* ============================================
   Scroll reveal — uses keyframes for iframe reliability
   ============================================ */

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.in {
  animation: reveal-in 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* ============================================
   Tweak overrides
   ============================================ */

body.density-roomy { --section-py: clamp(100px, 12vw, 180px); }
body.density-compact { --section-py: clamp(60px, 6vw, 96px); }

/* Palette variants */
body.palette-warm {
  --navy: #1A2540;
  --navy-deep: #121a30;
  --gold: #B89254;
  --gold-deep: #8a6c38;
  --paper: #FAF7F0;
  --ivory: #F2EBDC;
}
body.palette-classic {
  --navy: #0A2540;
  --navy-deep: #061A30;
  --gold: #C8A24A;
  --gold-deep: #97772f;
  --paper: #FFFFFF;
  --ivory: #F4F1EA;
}
body.palette-graphite {
  --navy: #1B2330;
  --navy-deep: #11161F;
  --gold: #A18555;
  --gold-deep: #7d6135;
  --paper: #F7F6F2;
  --ivory: #ECE9DF;
}

/* Typography variants */
body.type-fraunces { --display: "Fraunces", Georgia, serif; }
body.type-playfair { --display: "Playfair Display", Georgia, serif; }
body.type-cormorant { --display: "Cormorant Garamond", "EB Garamond", Georgia, serif; }

/* ============================================
   Autoridade — portrait collage
   ============================================ */

.autoridade-section { padding: var(--section-py) 0; background: var(--paper); }

.autoridade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .autoridade-grid { grid-template-columns: 1fr; gap: 56px; }
}

.autoridade-content { max-width: 600px; }

.autoridade-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.autoridade-signature {
  margin-top: 56px;
  padding: 24px 28px;
  background: var(--paper-pure);
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.autoridade-collage {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 700px;
  max-height: 80vh;
}
@media (max-width: 600px) {
  .autoridade-collage { height: 420px; grid-template-columns: 1.4fr 1fr; }
  .ac-card-label { display: none; }
  .ac-main-tag { padding: 6px 10px; }
  .ac-main-tag .label-mono { font-size: 9px; letter-spacing: 0.12em; }
}

.ac-main {
  grid-row: span 2;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.ac-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.92);
}
.ac-main-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(11,31,58,0.85);
  padding: 8px 14px;
  backdrop-filter: blur(6px);
}
.ac-secondary { display: contents; }
.ac-card {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.ac-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.8s var(--ease);
}
.ac-card:hover img { transform: scale(1.05); }
.ac-card-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(11,31,58,0.85);
  padding: 6px 12px;
  backdrop-filter: blur(6px);
}
.ac-card-label .label-mono,
.ac-main-tag .label-mono {
  color: var(--gold-soft);
}

/* ============================================
   MOBILE MASTER — revisão completa
   Tudo que envolve ≤600px e ≤480px está aqui.
   Esta seção tem precedência sobre qualquer
   regra anterior de mesmo nível.
   ============================================ */

html {
  overflow-x: hidden;
}

/* Garante que nenhum elemento ultrapasse a largura do viewport */
@media (max-width: 600px) {
  * {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* --- HERO --- */
  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hero-headline {
    font-size: clamp(30px, 7.5vw, 38px) !important;
    letter-spacing: -0.015em;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-bullets li {
    font-size: 14px;
    gap: 10px;
  }
  .hero-visual {
    min-height: 280px !important;
    aspect-ratio: 4 / 5 !important;
  }
  .hero-plate-img img {
    object-position: center top;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    padding: 16px 24px;
  }

  /* --- DIAGNÓSTICO --- */
  .diagnostic-wrap {
    padding: 28px 20px !important;
  }
  .diagnostic-title {
    font-size: 26px;
  }
  .diagnostic-question {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px 0;
  }
  .scale {
    justify-content: flex-start;
    gap: 8px;
  }
  .scale button {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }
  .scale-labels {
    max-width: 228px;
  }

  /* --- DOR --- */
  .whisper-list li {
    font-size: 15px;
    padding: 18px 0;
  }

  /* --- AUTORIDADE --- */
  .autoridade-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .autoridade-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px;
  }
  .autoridade-signature {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }
  .autoridade-signature .label-mono {
    font-size: 9px;
    letter-spacing: 0.08em;
    white-space: normal;
    word-break: break-word;
  }
  .autoridade-collage {
    height: 380px !important;
    grid-template-columns: 1.5fr 1fr !important;
  }
  .ac-card-label {
    display: none !important;
  }
  .ac-main-tag {
    padding: 5px 8px;
  }
  .ac-main-tag .label-mono {
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  /* --- FAQ --- */
  .faq-q {
    font-size: 17px;
    padding: 20px 0;
    gap: 16px;
  }
  .faq-item.open .faq-a {
    max-height: 600px;
  }

  /* --- CAMINHOS --- */
  .paths-grid {
    grid-template-columns: 1fr !important;
  }
  .path-card {
    min-height: 180px !important;
    padding: 28px 24px !important;
  }
  .path-card h4 {
    font-size: 22px;
  }

  /* --- RETRATO --- */
  .retrato-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* --- FINAL CTA --- */
  .final-cta {
    padding: 64px 0;
  }
  .final-cta-headline {
    font-size: clamp(30px, 7.5vw, 40px) !important;
  }
  .final-cta-sub {
    font-size: 16px;
  }
  .final-cta-meta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  /* --- FOOTER --- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* --- MODAL --- */
  .modal-card {
    padding: 32px 20px !important;
    margin: 16px;
    max-height: 92vh;
  }

  /* --- CONTAINER OVERRIDE --- */
  .container,
  .container.narrow,
  .container.text {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* --- TWO-COL --- */
  .two-col {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* --- SECTION HEADS --- */
  .display-lg {
    font-size: clamp(28px, 7vw, 40px) !important;
  }
  .display-sm {
    font-size: clamp(24px, 6vw, 32px) !important;
  }

  /* --- DEPOIMENTOS --- */
  .dep-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .dep-grid > .reveal {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .dep-card {
    padding: 28px 24px !important;
  }
  .dep-quote {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }
  .dep-mark {
    font-size: 52px !important;
  }
}
