/* ============================================================
   Dalva Regina de Araújo Advocacia — Sistema visual
   Navy profundo · Dourado · Off-white · editorial premium
   ============================================================ */

:root {
  /* Cores */
  --navy-deep: #121a26;
  --navy: #1f2a3a;
  --navy-700: #27344a;
  --gold: #d6ad62;
  --gold-dark: #b88b3d;
  --offwhite: #f6f3ee;
  --offwhite-2: #efeae1;
  --ink: #141821;
  --muted: #5f6673;
  --line: #d9d2c7;
  --line-soft: #e7e1d6;
  --white: #ffffff;

  /* Tipografia */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Espaçamento */
  --container: 1200px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(64px, 9vw, 132px);

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-card: 0 1px 2px rgba(18,26,38,.04), 0 18px 40px -28px rgba(18,26,38,.45);
  --shadow-soft: 0 14px 40px -30px rgba(18,26,38,.6);
  --transition: 220ms cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Tipografia base ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-wrap: pretty;
}
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.center { justify-content: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.topbar {
  background: var(--navy-deep);
  color: rgba(246,243,238,.78);
  font-size: 13.5px;
  letter-spacing: .01em;
  border-bottom: 1px solid rgba(214,173,98,.18);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
}
.topbar a { transition: color var(--transition); }
.topbar a:hover { color: var(--gold); }
.topbar .topbar__cred { display: inline-flex; align-items: center; gap: 9px; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); display: inline-block; }
.topbar__right { display: inline-flex; gap: 22px; align-items: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246,243,238,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

/* Wordmark */
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 42px; height: 42px;
  flex: none;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .02em;
}
.brand__text { line-height: 1.05; display: flex; flex-direction: column; gap: 5px; }
.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 0;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__links a:hover { color: var(--gold-dark); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { width: 100%; }
.nav__links a[aria-current="page"] { color: var(--gold-dark); }
.nav__links .is-future { color: var(--muted); }
.nav__links .is-future::after { background: var(--line); }

.nav-toggle { display: none; }

/* Menu mobile — oculto no desktop */
.mobile-menu { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn--primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(31,42,58,.04); }
.btn--on-dark {
  background: transparent;
  color: var(--offwhite);
  border-color: rgba(246,243,238,.32);
}
.btn--on-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.header-cta { white-space: nowrap; }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--offwhite);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(86vh, 760px);
}
.hero__content {
  padding: clamp(56px, 7vw, 104px) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  margin-left: auto;
  width: 100%;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.hero__media { position: relative; }

.hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.3vw, 70px);
  line-height: 1.04;
  font-weight: 600;
  margin-top: 26px;
  max-width: 16ch;
}
.hero__lead {
  font-size: clamp(16px, 1.25vw, 19px);
  color: rgba(246,243,238,.82);
  margin-top: 24px;
  max-width: 52ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__oab {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(246,243,238,.14);
  font-size: 14px;
  color: rgba(246,243,238,.7);
}
.hero__oab strong { color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.hero__note { font-size: 13.5px; color: rgba(246,243,238,.55); margin-top: 16px; max-width: 46ch; }

/* ============================================================
   EDITORIAL PLACEHOLDER (imagem)
   ============================================================ */
.editorial {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(214,173,98,.16), transparent 55%),
    linear-gradient(160deg, #1a2435 0%, #121a26 60%, #0e1622 100%);
  overflow: hidden;
}
.editorial::before {
  /* linhas verticais finas — motivo arquitetônico (colunas) */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(214,173,98,.07) 0 1px,
    transparent 1px 64px
  );
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.editorial__label {
  position: absolute;
  left: 22px; bottom: 22px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246,243,238,.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.editorial__label::before { content: ""; width: 16px; height: 1px; background: var(--gold); }
.editorial__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.editorial__glyph svg { width: clamp(140px, 22vw, 230px); height: auto; color: rgba(214,173,98,.42); }
.editorial--frame::after {
  content: "";
  position: absolute;
  inset: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(214,173,98,.3);
  z-index: 1;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  margin-top: 18px;
  text-wrap: balance;
}
.sec-head p { color: var(--muted); margin-top: 18px; font-size: 18px; }

/* ============================================================
   BLOCO INSTITUCIONAL (split)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split--media-first { direction: ltr; }
.feature-list { display: grid; gap: 2px; margin-top: 32px; }
.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 16.5px;
  color: var(--ink);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.feature-list .tick {
  width: 26px; height: 26px; flex: none;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-dark);
  margin-top: 1px;
}
.feature-list .tick svg { width: 13px; height: 13px; }

.media-portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.media-wide { aspect-ratio: 16 / 10; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* ============================================================
   CARDS — Áreas
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line); }
.card__num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-dark);
  letter-spacing: .04em;
}
.card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy);
  margin-bottom: 22px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 24px; line-height: 1.12; margin-top: 4px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.58; margin-top: 14px; flex: 1; }
.card__link {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition), color var(--transition);
}
.card__link svg { width: 15px; height: 15px; color: var(--gold-dark); transition: transform var(--transition); }
.card:hover .card__link { color: var(--gold-dark); }
.card:hover .card__link svg { transform: translateX(4px); }

/* ============================================================
   BLOCO CONFIANÇA + ACORDEÕES
   ============================================================ */
.trust { background: var(--navy); color: var(--offwhite); }
.trust .split { align-items: start; }
.trust h2 { color: #fff; font-size: clamp(30px, 3.8vw, 46px); margin-top: 18px; }
.trust__text { color: rgba(246,243,238,.78); margin-top: 22px; font-size: 18px; }

.accordion { margin-top: 4px; }
.accordion__item { border-bottom: 1px solid rgba(246,243,238,.14); }
.accordion__item:first-child { border-top: 1px solid rgba(246,243,238,.14); }
.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  transition: color var(--transition);
}
.accordion__trigger:hover { color: var(--gold); }
.accordion__icon {
  flex: none;
  width: 30px; height: 30px;
  border: 1px solid rgba(246,243,238,.3);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  transition: border-color var(--transition);
}
.accordion__icon::before,
.accordion__icon::after {
  content: ""; position: absolute;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}
.accordion__icon::before { width: 12px; height: 1.5px; }
.accordion__icon::after { width: 1.5px; height: 12px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); opacity: 0; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { border-color: var(--gold); }
.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition);
}
.accordion__panel-inner {
  padding: 0 0 24px;
  color: rgba(246,243,238,.74);
  font-size: 16px;
  max-width: 54ch;
}

/* ============================================================
   BLOCO TRIAGEM (CTA)
   ============================================================ */
.cta-band {
  background:
    radial-gradient(140% 120% at 85% 0%, rgba(214,173,98,.14), transparent 50%),
    var(--navy-deep);
  color: var(--offwhite);
  border-top: 3px solid var(--gold);
}
.cta-band .container { text-align: center; max-width: var(--container-narrow); }
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 50px); margin-top: 18px; }
.cta-band p { color: rgba(246,243,238,.8); margin-top: 22px; font-size: 18px; max-width: 56ch; margin-inline: auto; }
.cta-band .hero__actions { justify-content: center; }
.cta-band .micro {
  margin-top: 30px;
  font-size: 13.5px;
  color: rgba(246,243,238,.55);
  max-width: 60ch;
  margin-inline: auto;
}

/* ============================================================
   PÁGINAS INTERNAS
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: var(--offwhite);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(214,173,98,.05) 0 1px, transparent 1px 70px);
  mask-image: linear-gradient(to right, transparent, #000 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 96px); max-width: var(--container-narrow); margin-inline: auto; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.06;
  margin-top: 22px;
  max-width: 20ch;
}
.page-hero .lead {
  color: rgba(246,243,238,.8);
  margin-top: 24px;
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 60ch;
}

.breadcrumb {
  font-size: 13.5px;
  letter-spacing: .02em;
  color: rgba(246,243,238,.6);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(214,173,98,.5); }
.breadcrumb [aria-current] { color: var(--offwhite); }

/* Conteúdo escaneável de páginas internas */
.content-steps { display: grid; gap: 0; counter-reset: step; max-width: var(--container-narrow); margin-inline: auto; }
.content-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-top: 1px solid var(--line);
}
.content-step:last-child { border-bottom: 1px solid var(--line); }
.content-step__num {
  counter-increment: step;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.content-step__num::before { content: counter(step, decimal-leading-zero); }
.content-step h3 { font-size: clamp(23px, 2.6vw, 30px); }
.content-step p { color: var(--muted); margin-top: 14px; font-size: 17.5px; }

.callout {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  margin-top: 40px;
}
.callout h4 { font-size: 22px; }
.callout p { color: var(--muted); margin-top: 12px; font-size: 16.5px; }

.doc-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.doc-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  background: var(--offwhite-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 16px;
}

/* Prose (políticas, textos longos) */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 48px; }
.prose h3 { font-size: 22px; margin-top: 32px; }
.prose p { margin-top: 16px; color: var(--ink); font-size: 17.5px; }
.prose ul.bullets { margin-top: 16px; display: grid; gap: 12px; }
.prose ul.bullets li { position: relative; padding-left: 26px; color: var(--ink); font-size: 17px; }
.prose ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--gold-dark);
}
.prose .meta { color: var(--muted); font-size: 15px; }

/* Contato grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card__icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card .label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.contact-card .value { font-family: var(--serif); font-size: 22px; color: var(--navy); line-height: 1.2; }
.contact-card .note { color: var(--muted); font-size: 14.5px; }

/* Confirmação (obrigado) */
.confirm {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 70vh;
  padding-block: var(--section-y);
}
.confirm__badge {
  width: 84px; height: 84px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid; place-items: center;
  color: var(--gold-dark);
  margin-bottom: 30px;
}
.confirm__badge svg { width: 36px; height: 36px; }
.confirm h1 { font-size: clamp(34px, 5vw, 60px); }
.confirm p { color: var(--muted); margin-top: 20px; max-width: 52ch; font-size: 18px; }

/* ============================================================
   DISCLAIMER OAB inline
   ============================================================ */
.oab-strip {
  background: var(--offwhite-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.oab-strip .container { max-width: var(--container-narrow); padding-block: 34px; }
.oab-strip p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.oab-strip .tag { font-weight: 600; color: var(--navy); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: rgba(246,243,238,.72); }
.site-footer .container { padding-block: clamp(56px, 7vw, 84px); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,243,238,.12);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__mark { color: var(--gold); }
.footer__cred {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.7;
}
.footer__cred strong { color: var(--gold); font-weight: 600; }
.footer__col h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246,243,238,.5);
  font-weight: 600;
  margin-bottom: 20px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: 15px; color: rgba(246,243,238,.78); transition: color var(--transition); }
.footer__col a:hover { color: var(--gold); }
.footer__contact li { font-size: 15px; line-height: 1.6; display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 4px; }
.footer__contact a { color: rgba(246,243,238,.82); }
.footer__contact a:hover { color: var(--gold); }

.footer__oab {
  padding-top: 36px;
  display: grid;
  gap: 18px;
}
.footer__oab p { font-size: 13px; color: rgba(246,243,238,.5); line-height: 1.62; max-width: 100%; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(246,243,238,.1);
  font-size: 13px;
  color: rgba(246,243,238,.5);
}
.footer__legal a { color: rgba(246,243,238,.7); }
.footer__legal a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
/* ---- Header → menu hambúrguer abaixo de 1280px ---- */
@media (max-width: 1279px) {
  .nav__links, .topbar { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--navy);
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav { gap: 14px; }
  .header-cta.desktop { display: none; }

  /* Menu mobile painel */
  .mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--navy);
    color: var(--offwhite);
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(.22,.61,.36,1);
    flex-direction: column;
    padding: 26px var(--gutter) 40px;
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
  .mobile-menu__head .brand__name { color: #fff; }
  .mobile-menu__head .brand__mark { color: var(--gold); }
  .mobile-menu__close {
    width: 46px; height: 46px;
    border: 1px solid rgba(246,243,238,.25);
    border-radius: var(--radius);
    background: none; color: var(--offwhite);
    display: grid; place-items: center;
  }
  .mobile-menu__close svg { width: 24px; height: 24px; }
  .mobile-menu__links { margin-top: 36px; display: grid; gap: 4px; flex: 1; }
  .mobile-menu__links a {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--offwhite);
    padding: 14px 0;
    border-bottom: 1px solid rgba(246,243,238,.12);
    transition: color var(--transition);
  }
  .mobile-menu__links a:hover,
  .mobile-menu__links a[aria-current="page"] { color: var(--gold); }
  .mobile-menu__links a.is-future { color: rgba(246,243,238,.45); font-size: 22px; }
  .mobile-menu__cta { margin-top: 30px; }
  .mobile-menu__cta .btn { width: 100%; }
  .mobile-menu__meta { margin-top: 26px; font-size: 14px; color: rgba(246,243,238,.6); line-height: 1.7; }
  body.menu-open { overflow: hidden; }
}

/* ---- Tablet / médio: grids reduzem, hero permanece em 2 colunas ---- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .media-portrait, .split .media-wide { aspect-ratio: 16/11; order: -1; }
  .trust .split .editorial { order: -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---- Hero: single-column (conteúdo primeiro) até 1279px ---- */
/* Duas colunas apenas em >=1280px (padrão em .hero__grid). */
@media (max-width: 1279px) {
  body { font-size: 17px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content {
    order: 1;
    max-width: none;
    padding-left: var(--gutter);
    padding-block: clamp(40px, 6vw, 60px);
  }
  .hero__media { order: 2; min-height: 280px; }
  .editorial { min-height: 280px; }
  .hero h1 {
    font-size: clamp(28px, 3.4vw, 44px);
    max-width: 24ch;
    margin-top: 18px;
  }
  .hero__lead { margin-top: 18px; }
  .hero__actions { margin-top: 26px; }
  .hero__oab { margin-top: 28px; padding-top: 22px; }
  .hero__note { margin-top: 14px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .content-step { grid-template-columns: 1fr; gap: 10px; }
  .content-step__num { font-size: 36px; }
  .hero__actions .btn, .cta-band .btn { width: 100%; }
}

/* Foco acessível */
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   ADIÇÕES — Página de serviço (Isenção de IR)
   Variantes aditivas; não alteram componentes existentes.
   ============================================================ */

/* Hero de página interna com CTAs + microcopy */
.page-hero .hero__actions { margin-top: 36px; }
.page-hero .hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(246,243,238,.62);
  line-height: 1.6;
  max-width: 58ch;
}

/* Texto introdutório de seção (abaixo do sec-head) */
.sec-intro { color: var(--muted); font-size: 18.5px; line-height: 1.6; margin-top: 22px; max-width: 66ch; }

/* Lista de público / situações — duas colunas em telas largas */
.feature-list--rich li { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.feature-list--rich .label { font-family: var(--serif); font-size: 21px; color: var(--navy); line-height: 1.15; }
.feature-list--rich .desc { color: var(--muted); font-size: 15.5px; margin-top: 6px; line-height: 1.55; }

/* Checklist de documentos — duas colunas, marcador dourado */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(28px, 5vw, 60px);
  margin-top: 40px;
}
.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 16.5px;
  color: var(--ink);
  line-height: 1.5;
}
.checklist .tick {
  width: 26px; height: 26px; flex: none;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-dark);
  margin-top: 1px;
}
.checklist .tick svg { width: 13px; height: 13px; }

/* Pílulas de condições (lista em linguagem simples) */
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tag-list .doc-tag { font-size: 15px; padding: 9px 18px; }

/* Acordeão claro — para FAQ em fundo off-white */
.accordion--light .accordion__item { border-bottom-color: var(--line); }
.accordion--light .accordion__item:first-child { border-top-color: var(--line); }
.accordion--light .accordion__trigger { color: var(--navy); }
.accordion--light .accordion__trigger:hover { color: var(--gold-dark); }
.accordion--light .accordion__icon { border-color: var(--line); }
.accordion--light .accordion__panel-inner { color: var(--muted); max-width: 70ch; }

/* Faixa de aviso final, discreta */
.final-note { color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 30px; max-width: 60ch; margin-inline: auto; }
.cta-band .final-note { color: rgba(246,243,238,.55); }

@media (max-width: 760px) {
  .checklist,
  .feature-list--rich.cols-2 { grid-template-columns: 1fr; }
}

/* Grade de 3 cards (página-mãe de temas) */
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards--3 { grid-template-columns: 1fr; } }
.cards .card__themes-num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--gold-dark);
  letter-spacing: .04em;
  margin-bottom: 4px;
}

/* Comparação didática de regimes (RPPS x INSS) */
.regime-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.regime-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 34px 32px;
}
.regime-card h3 { font-family: var(--serif); font-size: 25px; color: var(--navy); }
.regime-card .regime-tag { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.regime-card p { color: var(--muted); margin-top: 14px; font-size: 16.5px; line-height: 1.6; }
@media (max-width: 760px) { .regime-compare { grid-template-columns: 1fr; } }

/* Bloco NAP + mapa (SEO local) */
.nap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; margin-top: 44px; }
.nap-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 38px 36px;
}
.nap-card .nap-name { font-family: var(--serif); font-size: 26px; color: var(--navy); line-height: 1.15; }
.nap-card .nap-oab { font-size: 15px; color: var(--gold-dark); font-weight: 600; margin-top: 6px; }
.nap-list { display: grid; gap: 2px; margin-top: 26px; }
.nap-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line-soft); font-size: 16px; color: var(--ink); line-height: 1.5; }
.nap-list li:first-child { border-top: 0; }
.nap-list .nap-ico { width: 22px; height: 22px; color: var(--gold-dark); flex: none; margin-top: 1px; }
.nap-list a { color: var(--navy); border-bottom: 1px solid var(--line); }
.nap-list a:hover { color: var(--gold-dark); }
.map-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(20,42,66,.04), rgba(20,42,66,0)),
    repeating-linear-gradient(0deg, var(--offwhite-2) 0, var(--offwhite-2) 38px, var(--white) 38px, var(--white) 39px),
    repeating-linear-gradient(90deg, var(--offwhite-2) 0, var(--offwhite-2) 38px, var(--white) 38px, var(--white) 39px);
  display: grid;
  place-items: center;
  min-height: 320px;
  text-align: center;
}
.map-frame__pin {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--navy);
  display: grid; place-items: center;
  color: var(--gold);
  box-shadow: 0 10px 28px rgba(20,42,66,.22);
}
.map-frame__pin svg { width: 26px; height: 26px; }
.map-frame__label { margin-top: 18px; font-size: 15px; color: var(--muted); font-weight: 500; }
.map-frame__label strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
@media (max-width: 860px) { .nap-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BLOG — índice e artigo (aditivo)
   ============================================================ */

/* Filtro de clusters (pílulas) */
.cluster-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.cluster-chip {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all var(--transition);
}
.cluster-chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.cluster-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--offwhite); }

/* Grade de posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
@media (max-width: 1040px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line); }
.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(214,173,98,.16), transparent 55%),
    var(--navy);
  display: grid;
  place-items: center;
  color: rgba(246,243,238,.30);
}
.post-card__thumb svg { width: 46px; height: 46px; }
.post-card__cluster {
  position: absolute;
  left: 16px; top: 16px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 999px;
  padding: 5px 13px;
}
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-card__meta { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.post-card h3 { font-size: 22px; line-height: 1.16; margin-top: 12px; }
.post-card p { color: var(--muted); font-size: 15px; line-height: 1.55; margin-top: 12px; flex: 1; }
.post-card__link {
  margin-top: 20px;
  font-size: 14.5px; font-weight: 600; color: var(--navy);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap var(--transition), color var(--transition);
}
.post-card__link svg { width: 15px; height: 15px; color: var(--gold-dark); transition: transform var(--transition); }
.post-card:hover .post-card__link { color: var(--gold-dark); }
.post-card:hover .post-card__link svg { transform: translateX(4px); }
.post-empty { margin-top: 40px; color: var(--muted); font-size: 16px; }

/* Artigo — corpo (prose) */
.article-head { max-width: 760px; }
.article-head h1 { font-size: clamp(34px, 4.6vw, 56px); margin-top: 20px; }
.article-head .article-sub { color: rgba(246,243,238,.78); font-size: clamp(18px,2vw,21px); line-height: 1.5; margin-top: 22px; max-width: 60ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 26px; font-size: 14px; color: rgba(246,243,238,.62); }
.article-meta .article-cluster { color: var(--navy-deep); background: var(--gold); border-radius: 999px; padding: 5px 14px; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 24px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 52px; }
.prose h3 { font-size: 23px; margin-top: 38px; color: var(--navy); }
.prose p { color: var(--ink); font-size: 18.5px; line-height: 1.68; }
.prose ul { display: grid; gap: 12px; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; color: var(--ink); font-size: 17.5px; line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose strong { color: var(--navy); font-weight: 600; }
.prose .lead-p { font-size: 21px; line-height: 1.6; color: var(--navy); font-family: var(--serif); }
.article-toc {
  background: var(--offwhite-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-top: 14px;
}
.article-toc h4 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.article-toc ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.article-toc a { color: var(--navy); font-size: 16px; border-bottom: 1px solid transparent; }
.article-toc a:hover { color: var(--gold-dark); border-bottom-color: var(--gold); }
.article-cta {
  margin-top: 52px;
  background: var(--offwhite-2);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.article-cta h3 { font-size: 26px; }
.article-cta p { color: var(--muted); margin-top: 12px; font-size: 16.5px; line-height: 1.6; }
.article-cta .hero__actions { margin-top: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }
