/* ============================================================
   Cedo Capital — styles.css
   Dark premium, single-theme. Paleta:
   grafite #0B0B0C / #121214, branco-gelo #F5F3EF,
   acento areia/champanhe #C9B18C, cinzas quentes.
   ============================================================ */

:root {
  --bg: #0B0B0C;
  --bg-2: #121214;
  --surface: #16161A;
  --surface-2: #1C1C21;
  --ink: #F5F3EF;
  --ink-2: #BDB7AD;
  --ink-3: #948E84;
  --gold: #C9B18C;
  --gold-2: #DCC9A8;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --danger: #E2A9A1;
  --ok: #A9C9A4;
  --font-display: "Schibsted Grotesk", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --max: 1160px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(201, 177, 140, 0.28); color: var(--ink); }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografia ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 18px;
}

.section-lead {
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 19px);
  max-width: 640px;
}

.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark svg { height: 26px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--bg) !important;
  background: var(--gold);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--gold-2); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: var(--gold-2); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.34); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 176px 0 96px;
  overflow: hidden;
  /* Cor de fallback antes do load da imagem */
  background-color: var(--bg);
  background-image:
    linear-gradient(100deg, rgba(11, 11, 12, 0.92) 34%, rgba(11, 11, 12, 0.55) 62%, rgba(11, 11, 12, 0.18) 100%),
    linear-gradient(to top, #0B0B0C 2%, rgba(11, 11, 12, 0.25) 34%, rgba(11, 11, 12, 0.05) 60%),
    url("assets/img/fundo-hero-1920.webp");
  background-size: cover;
  background-position: center top;
}

@media (max-width: 960px) {
  .hero {
    background-image:
      linear-gradient(100deg, rgba(11, 11, 12, 0.93) 40%, rgba(11, 11, 12, 0.68) 70%, rgba(11, 11, 12, 0.4) 100%),
      linear-gradient(to top, #0B0B0C 2%, rgba(11, 11, 12, 0.3) 34%, rgba(11, 11, 12, 0.08) 60%),
      url("assets/img/fundo-hero-960.webp");
    background-position: 72% top;
  }
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(40px, 6.6vw, 74px);
  font-weight: 700;
  max-width: 15ch;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  color: var(--ink-3);
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  max-width: 640px;
}
.hero-footnote span { display: inline-flex; align-items: center; gap: 8px; }
.hero-footnote .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---------- Barra de números ---------- */

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 26px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.stat-value.stat-value-text { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.3; margin-top: 5px; }
.stat-label { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.stats-note {
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 0 26px 22px;
}

/* ---------- Seções ---------- */

.section { padding: 110px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--bg-2); }

.section-head { margin-bottom: 56px; }

/* ---------- Fotos (retratos ilustrativos) ---------- */

.foto {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Máscara: funde as bordas da foto no grafite da página */
.foto::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(11, 11, 12, 0.62), rgba(11, 11, 12, 0) 42%),
    linear-gradient(to right, rgba(11, 11, 12, 0.3), rgba(11, 11, 12, 0) 26%, rgba(11, 11, 12, 0) 74%, rgba(11, 11, 12, 0.3)),
    linear-gradient(to bottom, rgba(11, 11, 12, 0.28), rgba(11, 11, 12, 0) 22%);
}
.foto figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Como funciona ---------- */

.steps-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.8fr);
  gap: 24px;
  align-items: stretch;
}
.foto-passos { min-height: 420px; }

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.step:hover { border-color: rgba(201, 177, 140, 0.35); transform: translateY(-3px); }
.step-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ---------- A conta aberta ---------- */

.conta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.conta-copy p { color: var(--ink-2); margin-bottom: 18px; }
.conta-copy p strong { color: var(--ink); }

.quote-line {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 20px;
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.extrato {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.extrato-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.extrato-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 177, 140, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}
.extrato-rows { padding: 8px 0; }
.extrato-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.extrato-row + .extrato-row { border-top: 1px solid var(--line); }
.extrato-row .k { font-size: 14.5px; color: var(--ink-2); }
.extrato-row .k small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.extrato-row .v {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  color: var(--ink);
  white-space: nowrap;
}
.extrato-row .v.minus { color: var(--ink-3); }
.extrato-row .v.ghost { color: var(--ink-3); letter-spacing: 0.04em; }
.extrato-row.highlight .v.ghost { color: var(--gold); }
.extrato-row.highlight {
  background: rgba(201, 177, 140, 0.07);
  border-top: 1px solid rgba(201, 177, 140, 0.3);
  border-bottom: 1px solid rgba(201, 177, 140, 0.3);
}
.extrato-row.highlight .k { color: var(--ink); font-weight: 600; }
.extrato-row.highlight .v { color: var(--gold-2); font-size: 20px; font-weight: 500; }
.extrato-foot {
  padding: 16px 24px 20px;
  font-size: 12.5px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

/* ---------- Peça sua conta aberta ---------- */

.cta-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 1020px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.55fr);
  gap: 52px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 560px; height: 360px;
  background: radial-gradient(closest-side, rgba(201, 177, 140, 0.09), transparent 70%);
  pointer-events: none;
}
.cta-foto { align-self: stretch; min-height: 400px; }
.cta-panel .section-lead { margin: 0 0 34px; }
.cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}
.cta-panel-note {
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 560px;
  margin: 0;
}

/* ---------- Faixa da marca ---------- */

.brand-band {
  position: relative;
  /* A altura acompanha a LARGURA, nao a altura da janela: a imagem de fundo
     escala pela largura, entao so assim a fatia visivel mantem proporcao
     constante e o "C" nunca fica cortado, de 1280px a ultrawide. */
  height: clamp(360px, 27vw, 720px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-color: var(--bg-2);
  background-image:
    linear-gradient(to bottom, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.08) 30%, rgba(11, 11, 12, 0.08) 62%, rgba(11, 11, 12, 0.72)),
    url("assets/img/logo-parede-1920.webp");
  background-size: cover;
  /* 46% e o centro vertical do "C" na arte original. */
  background-position: center 46%;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 34px;
}
@media (max-width: 960px) {
  .brand-band {
    height: clamp(220px, 34vh, 340px);
    background-image:
      linear-gradient(to bottom, rgba(11, 11, 12, 0.55), rgba(11, 11, 12, 0.08) 30%, rgba(11, 11, 12, 0.08) 62%, rgba(11, 11, 12, 0.72)),
      url("assets/img/logo-parede-960.webp");
  }
}
.brand-band-line {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
  text-align: center;
}

/* ---------- Para advogados ---------- */

.adv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.foto-advogada { min-height: 420px; }
/* Sobre a seção alt, funde no tom da seção */
.section-alt .foto::after {
  background:
    linear-gradient(to top, rgba(18, 18, 20, 0.62), rgba(18, 18, 20, 0) 42%),
    linear-gradient(to right, rgba(18, 18, 20, 0.3), rgba(18, 18, 20, 0) 26%, rgba(18, 18, 20, 0) 74%, rgba(18, 18, 20, 0.3)),
    linear-gradient(to bottom, rgba(18, 18, 20, 0.28), rgba(18, 18, 20, 0) 22%);
}

.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.card:hover { border-color: rgba(201, 177, 140, 0.3); transform: translateY(-3px); }
.card h3 { font-size: 19px; margin-bottom: 12px; letter-spacing: -0.01em; }
.card p { font-size: 15px; color: var(--ink-2); }
.card .legal-ref {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ---------- Transparência ---------- */

.trans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.trans-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.trans-card .t-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.16em;
  display: block;
  margin-bottom: 16px;
}
.trans-card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.01em; }
.trans-card p { font-size: 15.5px; color: var(--ink-2); }
.trans-card a { color: var(--gold-2); text-underline-offset: 3px; }
.trans-card.alert { border-color: rgba(226, 169, 161, 0.35); }
.trans-card.alert h3 { color: var(--danger); }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; }
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.faq-list summary:hover { color: var(--gold-2); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--gold);
  flex: none;
  transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-body {
  padding: 0 4px 26px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 680px;
}
.faq-list .faq-body strong { color: var(--ink); }

/* ---------- Contato ---------- */

.contato-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.contato-canais { display: grid; gap: 14px; margin-top: 34px; max-width: 460px; }
.canal {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  transition: border-color 0.25s ease;
}
.canal:hover { border-color: rgba(201, 177, 140, 0.35); }
.canal .canal-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(201, 177, 140, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--gold);
}
.canal .canal-txt small { display: block; font-size: 13px; color: var(--ink-3); }
.canal .canal-txt strong { font-size: 16.5px; font-weight: 600; overflow-wrap: anywhere; }

.verify-box {
  background: var(--surface);
  border: 1px solid rgba(201, 177, 140, 0.3);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.verify-box h3 { font-size: 20px; margin-bottom: 12px; }
.verify-box p { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 40px;
  font-size: 14px;
  color: var(--ink-3);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-brand svg { height: 24px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 380px; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-3); text-decoration: none; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-legal {
  padding-top: 32px;
  display: grid;
  gap: 14px;
  line-height: 1.7;
}
.footer-legal .strong-note { color: var(--ink-2); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 13px;
}

/* ---------- Páginas internas ---------- */

.page-main { padding: 150px 0 110px; }
.page-main .page-head { margin-bottom: 48px; max-width: 720px; }
.page-main h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 20px; }
.page-main .page-lead { color: var(--ink-2); font-size: 18px; }

.prose { max-width: 760px; }
.prose h2 {
  font-size: 24px;
  margin: 48px 0 16px;
  letter-spacing: -0.015em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); margin-bottom: 14px; font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--gold-2); text-underline-offset: 3px; }

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 8px;
  font-size: 15px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--surface);
  font-weight: 500;
}
.info-table td { color: var(--ink-2); }
.info-table td strong { color: var(--ink); }
.table-wrap { overflow-x: auto; }

.callout {
  background: var(--surface);
  border: 1px solid rgba(201, 177, 140, 0.3);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 32px 0;
}
.callout p { margin-bottom: 0; }
.callout.danger { border-color: rgba(226, 169, 161, 0.4); }
.callout.danger h3 { color: var(--danger); font-size: 18px; margin-bottom: 10px; }
.callout h3 { font-size: 18px; margin-bottom: 10px; }

.direction-rule {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin: 40px 0;
  max-width: 640px;
  line-height: 1.3;
}
.direction-rule em { font-style: normal; color: var(--gold); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {
  .steps-layout { grid-template-columns: 1fr; }
  .foto-passos {
    min-height: 0;
    height: 300px;
  }
  .foto-passos img { object-position: 50% 22%; }
  .adv-layout { grid-template-columns: 1fr; }
  .foto-advogada {
    min-height: 0;
    height: 320px;
  }
  .foto-advogada img { object-position: 50% 18%; }
  .conta-grid { grid-template-columns: 1fr; gap: 44px; }
  .contato-grid { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 15px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav .nav-cta {
    margin-top: 16px;
    text-align: center;
    border-radius: 12px;
    padding: 15px 18px;
  }
  .menu-toggle { display: inline-flex; }
  .cta-panel { grid-template-columns: 1fr; gap: 32px; }
  /* A foto empilha acima do texto, como as demais secoes fazem — antes ela
     era escondida aqui, e sumia no celular. */
  .cta-foto {
    align-self: auto;
    min-height: 0;
    height: 320px;
  }
  .cta-foto img { object-position: 50% 25%; }
}

@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .hero { padding: 138px 0 72px; }
  .steps { grid-template-columns: 1fr; }
  .foto-passos { height: 260px; }
  .foto-advogada { height: 280px; }
  .trans-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-top: 1px solid var(--line); padding: 28px 26px; }
  .stat:nth-child(1) { border-top: none; }
  .cta-panel { padding: 48px 24px; gap: 28px; }
  .cta-foto { height: 280px; }
  .cta-panel-actions .btn { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .extrato-row { padding: 14px 18px; }
  .extrato-head, .extrato-foot { padding-left: 18px; padding-right: 18px; }
}
