/* ==========================================================================
   Villela Advogados — sistema visual
   Paleta, tipografia e regras de composição seguem a identidade de marca v3.0
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-VariableFont_wght.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/PlayfairDisplay-Italic-VariableFont_wght.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-MediumItalic.woff2") format("woff2"); font-weight: 500 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lato"; src: url("../fonts/Lato-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #222C4F;
  --royal: #3B5EA6;
  --gold: #D2BEA5;
  --beige: #F4F2EE;
  --white: #FFFFFF;
  --black: #0A0A0A;
  --text: #444444;
  --text-soft: #6B6B6B;
  --line: #E4DFD6;         /* derivado do dourado para divisórias em fundo claro */
  --line-dark: rgba(210, 190, 165, .22);

  --ff-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-sub: "Cormorant Garamond", Georgia, serif;
  --ff-body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --section-y: 100px;
  --radius: 2px;
  --header-h: 84px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 18px 40px -24px rgba(34, 44, 79, .35);
}

@media (max-width: 767px) {
  :root { --section-y: 60px; --header-h: 68px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (max-width: 767px) { body { font-size: 16px; } }

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 700; text-wrap: balance; }
h1 { font-family: var(--ff-display); font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-family: var(--ff-display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -.005em; }
h3 { font-family: var(--ff-sub); font-size: clamp(22px, 2vw, 26px); line-height: 1.3; font-weight: 600; }
em { font-style: italic; }
h1 em, h2 em { font-weight: 500; color: var(--royal); }

::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: var(--gold); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.muted { color: var(--text-soft); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 34px; height: 34px; stroke-width: 1.25; color: var(--gold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }

.section { padding: var(--section-y) 0; position: relative; }
.section--beige { background: var(--beige); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy h2 em { color: var(--gold); }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .rule { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: grid; gap: 24px; align-items: end; }
.section-head--split > div { max-width: 640px; }
.section-head__aside { max-width: 460px; color: var(--text-soft); }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 64px; }
  .section-head--split > :last-child { justify-self: end; }
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 0 0 18px;
  font: 700 13px/1.4 var(--ff-body);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold); }
.eyebrow--light::before, .eyebrow--light::after { background: var(--gold); }
@media (max-width: 767px) { .eyebrow { font-size: 12px; } }

.rule { display: block; width: 64px; height: 1px; background: var(--gold); margin: 28px 0; }
.rule--light { background: var(--gold); opacity: .8; }

.subtitle { font: italic 500 24px/1.3 var(--ff-sub); color: var(--navy); opacity: .8; margin: 10px 0 0; }
.lead { font-size: 20px; line-height: 1.7; color: var(--text); }
@media (max-width: 767px) { .lead { font-size: 17px; } }

.quote {
  margin: 32px 0; padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold);
  font: italic 400 24px/1.45 var(--ff-display); color: var(--navy);
}
@media (max-width: 767px) { .quote { font-size: 20px; } }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy); --fg: var(--gold); --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd); border-radius: var(--radius);
  font: 700 14px/1 var(--ff-body); letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn:hover { --bg: var(--royal); --fg: var(--white); --bd: var(--royal); }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: var(--navy); --bd: var(--navy); }
.btn--ghost:hover { --bg: var(--navy); --fg: var(--gold); --bd: var(--navy); }
.btn--ghost .icon { transition: transform .3s var(--ease); }
.btn--ghost:hover .icon { transform: translateX(4px); }
.btn--gold { --bg: var(--gold); --fg: var(--navy); --bd: var(--gold); }
.btn--gold:hover { --bg: var(--white); --fg: var(--navy); --bd: var(--white); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 12px; }
.btn--block { width: 100%; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.3; padding: 14px 22px; } }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1.4 var(--ff-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 4px; border-bottom: 1px solid var(--gold);
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--royal); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
/* o desfoque fica num pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) dentro dele */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(34, 44, 79, .96);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  transition: background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.site-header.is-scrolled::before { background: rgba(34, 44, 79, .98); }
body.nav-open .site-header::before { background: var(--navy); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 46px; }
@media (max-width: 767px) { .brand img { height: 38px; } }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
  background: none; border: 0; cursor: pointer;
  font: 700 12.5px/1 var(--ff-body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .88);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }

/* submenu (Áreas de Atuação) */
.nav__item--sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 22px); left: -28px; min-width: 320px;
  padding: 14px 0; background: var(--white); border-top: 2px solid var(--gold);
  box-shadow: 0 24px 48px -24px rgba(10, 10, 10, .5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* ponte para o hover */
.submenu a {
  display: block; padding: 11px 28px;
  font: 400 15px/1.4 var(--ff-body); color: var(--navy);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.submenu a:hover, .submenu a:focus-visible { background: var(--beige); color: var(--royal); }
.submenu a.is-featured { font-weight: 700; }
.submenu__sep { height: 1px; margin: 8px 28px; background: var(--line); }
@media (min-width: 1100px) {
  .nav__item--sub:hover .submenu, .nav__item--sub:focus-within .submenu, .nav__item--sub.is-open .submenu {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
  }
  .nav__item--sub:hover .nav__caret, .nav__item--sub.is-open .nav__caret { transform: rotate(180deg); }
}
.nav-toggle { display: none; }

@media (max-width: 1099px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    background: transparent; border: 1px solid var(--gold); border-radius: var(--radius); color: var(--white); cursor: pointer;
  }
  .nav-toggle .icon--close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon--open { display: none; }
  .nav-toggle[aria-expanded="true"] .icon--close { display: block; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 16px var(--gutter) 40px;
    background: var(--navy);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-dark); }
  .nav__link {
    display: flex; width: 100%; justify-content: space-between; padding: 20px 0;
    font: 700 24px/1.2 var(--ff-display); letter-spacing: 0; text-transform: none; color: var(--white);
  }
  .nav__link::after { display: none; }
  .nav__caret { width: 22px; height: 22px; color: var(--gold); }
  .nav__item--sub.is-open .nav__caret { transform: rotate(180deg); }
  .submenu {
    position: static; min-width: 0; padding: 0 0 16px; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .submenu::before { display: none; }
  .nav__item--sub.is-open .submenu { display: block; }
  .submenu a { padding: 10px 0 10px 16px; border-left: 1px solid var(--gold); color: rgba(255, 255, 255, .82); font-size: 16px; }
  .submenu a:hover { background: none; color: var(--gold); }
  .submenu__sep { display: none; }
  .nav__cta { min-height: 54px; font-size: 14px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; }
.hero__mark {
  position: absolute; right: -120px; top: 40px; width: 620px; opacity: .14; pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.hero__title { max-width: 14.5em; }
.hero__title em { color: var(--royal); font-weight: 500; }
.hero__lead { font-size: 20px; max-width: 34em; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__figure { position: relative; margin: 0; justify-self: center; width: min(100%, 460px); }
.hero__frame { position: relative; }
.hero__frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); z-index: 0;
}
.hero__frame picture { position: relative; z-index: 1; overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__badge {
  position: absolute; z-index: 2; left: -28px; bottom: 36px;
  display: grid; gap: 2px; padding: 18px 24px;
  background: var(--navy); color: rgba(255, 255, 255, .78);
  font-size: 13px; line-height: 1.4; letter-spacing: .04em;
  box-shadow: var(--shadow);
}
.hero__badge strong { font: 600 21px/1.25 var(--ff-sub); color: var(--gold); letter-spacing: 0; }

.credentials {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: 72px; background: var(--white);
  border: 1px solid var(--line); border-bottom: 0;
}
.credentials li { padding: 26px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.credentials li:nth-child(odd) { border-right: 1px solid var(--line); }
.credentials strong { font: 700 22px/1.2 var(--ff-display); color: var(--navy); }
.credentials span { font-size: 14px; line-height: 1.45; color: var(--text-soft); }

@media (min-width: 960px) {
  .hero { padding-top: 88px; }
  .hero__grid { grid-template-columns: 1.25fr 1fr; gap: 72px; }
  .hero__figure { justify-self: end; }
  .credentials { grid-template-columns: repeat(4, 1fr); margin-top: 96px; }
  .credentials li { border-bottom: 0; padding: 32px 32px; }
  .credentials li:not(:last-child) { border-right: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .hero { padding-top: 40px; }
  .hero__lead { font-size: 17px; }
  .hero__mark { width: 380px; right: -160px; top: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { left: -8px; bottom: 20px; padding: 14px 18px; }
  .hero__frame::before { inset: 14px -12px -14px 12px; }
  .credentials li { padding: 20px 16px; }
  .credentials strong { font-size: 19px; }
  .credentials span { font-size: 13px; }
}

/* ---------- Isenção de IR (destaque) ---------- */
.ir-feature__grid { display: grid; gap: 56px; }
.ir-feature__intro h2 { max-width: 15em; }
.ir-feature__intro p { max-width: 36em; }
.ir-feature__facts { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); align-self: start; }
.fact { background: var(--navy); padding: 30px 30px 28px; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; }
.fact .icon--lg { grid-row: span 2; margin-top: 2px; }
.fact h3 { font-size: 23px; }
.fact p { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .72); }
@media (min-width: 960px) {
  .ir-feature__grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
}
@media (max-width: 480px) { .fact { grid-template-columns: 1fr; padding: 26px 22px; } .fact .icon--lg { grid-row: auto; } }

.diseases { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.diseases__label { font: 700 13px/1.4 var(--ff-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 9px 16px; border: 1px solid var(--line-dark); border-radius: var(--radius);
  font-size: 15px; line-height: 1.3; color: rgba(255, 255, 255, .88);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.chips li:hover { border-color: var(--gold); color: var(--gold); }
.chips--light li { border-color: var(--line); color: var(--navy); background: var(--white); }
.chips--light li:hover { border-color: var(--navy); color: var(--navy); }

/* ---------- Serviços ---------- */
.service-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 40px 36px 36px; background: var(--white);
  transition: background-color .4s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { background: var(--beige); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon--lg { color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 16px; line-height: 1.7; flex: 1; }
.service-card .link-arrow { align-self: flex-start; margin-top: 8px; }
.service-card--dark { background: var(--navy); color: rgba(255, 255, 255, .78); }
.service-card--dark h3 { color: var(--white); }
.service-card--dark .icon--lg { color: var(--gold); }
.service-card--dark .link-arrow { color: var(--gold); }
.service-card--dark:hover { background: var(--navy); }
.service-card--dark::before { background: var(--gold); }
@media (max-width: 767px) { .service-card { padding: 32px 24px 28px; } }

/* ---------- Situações ---------- */
.situations { display: grid; gap: 48px; }
.situations__intro .btn { margin-top: 12px; }
.situations__list { border-top: 1px solid var(--line); counter-reset: s; }
.situations__list li {
  display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  font: 400 21px/1.45 var(--ff-sub); font-weight: 600; color: var(--navy);
}
.situations__n { font: 700 12px/1 var(--ff-body); letter-spacing: .16em; color: var(--gold); transform: translateY(-3px); }
@media (min-width: 960px) {
  .situations { grid-template-columns: 1fr 1.25fr; gap: 96px; align-items: start; }
  .situations__intro { position: sticky; top: calc(var(--header-h) + 48px); }
  .situations__list li { font-size: 23px; }
}

/* ---------- Sobre (teaser) ---------- */
.about-teaser { display: grid; gap: 56px; align-items: center; }
.about-teaser__photo { margin: 0; position: relative; max-width: 460px; }
.about-teaser__photo::after {
  content: ""; position: absolute; left: -22px; bottom: -22px; width: 58%; height: 58%;
  border-left: 1px solid var(--gold); border-bottom: 1px solid var(--gold); z-index: 0;
}
.about-teaser__photo picture { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; }
.about-teaser__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.about-teaser__text .link-arrow { margin-top: 8px; }
@media (min-width: 960px) { .about-teaser { grid-template-columns: 1fr 1.15fr; gap: 104px; } }
@media (max-width: 767px) { .about-teaser__photo { margin-left: 12px; } .about-teaser__photo::after { left: -12px; bottom: -12px; } }

/* ---------- Como funciona ---------- */
.how__grid { display: grid; gap: 56px; }
.how__intro p { max-width: 32em; }
.how__photo { margin: 40px 0 0; max-width: 420px; position: relative; }
.how__photo picture { aspect-ratio: 5 / 4; overflow: hidden; }
.how__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.how__photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--line-dark); }
.steps { display: grid; gap: 0; border-top: 1px solid var(--line-dark); align-self: start; }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 36px 0; border-bottom: 1px solid var(--line-dark); }
.step__num { font: 400 40px/1 var(--ff-display); color: var(--gold); font-style: italic; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .72); }
@media (min-width: 960px) {
  .how__grid { grid-template-columns: 1fr 1.1fr; gap: 104px; }
}
@media (max-width: 767px) { .step { grid-template-columns: 56px 1fr; padding: 28px 0; } .step__num { font-size: 32px; } }

/* ---------- Valores ---------- */
.values { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { background: var(--white); padding: 40px 32px; display: grid; gap: 12px; align-content: start; }
.value .icon--lg { color: var(--navy); margin-bottom: 10px; }
.value p { font-size: 16px; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 1fr 1.5fr; gap: 96px; align-items: start; }
  .faq-layout__intro { position: sticky; top: calc(var(--header-h) + 48px); }
}
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 26px 0;
  font: 600 22px/1.35 var(--ff-sub); color: var(--navy);
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--royal); }
.faq__item summary .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--gold); transition: transform .4s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 48px 28px 0; font-size: 17px; }
@media (max-width: 767px) { .faq__item summary { font-size: 20px; } .faq__answer { padding-right: 0; font-size: 16px; } }

.section--navy .faq, .section--navy .faq__item { border-color: var(--line-dark); }
.section--navy .faq__item summary { color: var(--white); }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } .post-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.post-card { background: var(--white); border: 1px solid var(--line); transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.section--white .post-card { background: var(--beige); border-color: transparent; }
.post-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__link { display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 36px 32px 32px; }
.post-card__meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; letter-spacing: .04em; color: var(--text-soft); }
.post-card__cat { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--navy); }
.post-card__title { font: 700 23px/1.3 var(--ff-display); color: var(--navy); }
.post-card__excerpt { font-size: 16px; line-height: 1.65; flex: 1; }
.post-card .link-arrow { align-self: flex-start; }

/* artigo */
.post-hero { padding-top: 56px; }
.post-hero__title { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 24px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; font-size: 14px; color: var(--text-soft); }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.author { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author strong { display: block; color: var(--navy); font-size: 16px; }
.author span { font-size: 14px; color: var(--text-soft); }

.post-body-wrap { padding-top: 72px; }
.prose { font-size: 19px; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin-bottom: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin-top: 2em; margin-bottom: .2em; }
.prose h3 { margin-top: 1.6em; }
.prose a { color: var(--royal); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 0; }
.prose ul li, .prose ol li { position: relative; padding-left: 28px; margin-top: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 10px; height: 1px; background: var(--gold); }
.prose ol { counter-reset: li; }
.prose ol li::before { counter-increment: li; content: counter(li) "."; position: absolute; left: 0; font-weight: 700; color: var(--navy); }
.prose blockquote { margin: 2em 0; padding-left: 26px; border-left: 2px solid var(--gold); font: italic 400 24px/1.45 var(--ff-display); color: var(--navy); }
.prose .callout { margin: 2em 0; padding: 28px 30px; background: var(--beige); border-left: 2px solid var(--navy); font-size: 17px; }
.prose .callout strong { color: var(--navy); }
@media (max-width: 767px) { .prose { font-size: 17px; } }

.post-cta { margin-top: 64px; padding: 44px 40px; background: var(--navy); color: rgba(255, 255, 255, .8); }
.post-cta__title { font: 600 26px/1.35 var(--ff-sub); color: var(--white); margin-bottom: 28px; }
@media (max-width: 767px) { .post-cta { padding: 34px 24px; } .post-cta__title { font-size: 22px; } }
.disclaimer { margin-top: 32px; font-size: 14px; color: var(--text-soft); font-style: italic; }

/* ---------- CTA final + formulário ---------- */
.cta-panel { display: grid; background: var(--navy); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.cta-panel::after {
  content: ""; position: absolute; right: -80px; top: -60px; width: 360px; height: 420px;
  background: url("../img/simbolo-dourado.png") no-repeat center / contain; opacity: .07; pointer-events: none;
}
.cta-panel h2 { color: var(--white); }
.cta-panel__text { padding: 56px 48px; position: relative; z-index: 1; }
.cta-panel__form { padding: 48px; background: var(--white); position: relative; z-index: 1; }
@media (min-width: 1024px) { .cta-panel { grid-template-columns: 1.1fr 1fr; } .cta-panel__text { padding: 80px 72px; } .cta-panel__form { margin: 24px; padding: 48px 44px; } }
@media (max-width: 767px) { .cta-panel__text { padding: 44px 24px; } .cta-panel__form { padding: 32px 24px; } }

.checklist { display: grid; gap: 12px; margin-top: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; }
.checklist .icon { color: var(--gold); margin-top: 2px; }
.checklist--dark li { color: var(--text); }
.checklist--dark .icon { color: var(--navy); }

.wa-form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font: 700 12px/1.3 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.field .optional { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: 400 16px/1.4 var(--ff-body); color: var(--black);
  background: var(--beige); border: 1px solid transparent; border-bottom-color: var(--line); border-radius: var(--radius);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222C4F' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #9A968F; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--navy); }
.field.is-invalid input, .field.is-invalid select { border-color: #A33A3A; }
.field__error { font-size: 13px; color: #A33A3A; min-height: 0; }
.field__error:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.check a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.wa-form__note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-soft); margin: -4px 0 0; }
.wa-form__note .icon { width: 16px; height: 16px; margin-top: 2px; }

/* ---------- Cabeçalho de páginas internas ---------- */
.page-hero { padding: 72px 0 var(--section-y); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; gap: 48px; align-items: center; }
.page-hero h1 { max-width: 15em; }
.page-hero .lead { max-width: 34em; }
.page-hero__photo { margin: 0; position: relative; justify-self: center; width: min(100%, 420px); }
.page-hero__photo::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--gold); }
.page-hero__photo picture { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.page-hero .hero__mark { opacity: .1; }
@media (min-width: 960px) { .page-hero { padding-top: 96px; } .page-hero__grid { grid-template-columns: 1.3fr 1fr; gap: 88px; } .page-hero__photo { justify-self: end; } }
@media (max-width: 767px) { .page-hero { padding-top: 44px; } .page-hero__photo::before { inset: 12px -12px -12px 12px; } .page-hero__photo { width: calc(100% - 12px); justify-self: start; } }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.anchor-nav a {
  padding: 10px 16px; border: 1px solid var(--line); background: var(--white);
  font-size: 14px; color: var(--navy); border-radius: var(--radius);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.anchor-nav a:hover { border-color: var(--navy); }

/* ---------- Blocos das páginas internas ---------- */
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: start; } .split--rev { grid-template-columns: 1.2fr 1fr; } }

.cards-3 { display: grid; gap: 24px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 40px 32px; background: var(--white); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.section--white .card { background: var(--beige); border-color: transparent; }
.card .icon--lg { color: var(--navy); margin-bottom: 6px; }
.card__num { font: italic 400 44px/1 var(--ff-display); color: var(--gold); }
.card p { font-size: 16px; line-height: 1.7; }

.highlight { position: relative; padding: 56px 48px; background: var(--beige); border-left: 2px solid var(--gold); }
.highlight h2, .highlight h3 { margin-bottom: 16px; }
@media (max-width: 767px) { .highlight { padding: 36px 24px; } }

.timeline { border-left: 1px solid var(--gold); margin-left: 10px; }
.timeline li { position: relative; padding: 0 0 40px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 5px var(--beige); }
.section--white .timeline li::before { box-shadow: 0 0 0 5px var(--white); }
.timeline h3 { margin-bottom: 6px; }
.timeline p { font-size: 17px; }
.section--navy .timeline li::before { background: var(--gold); box-shadow: 0 0 0 5px var(--navy); }
.section--navy .timeline p { color: rgba(255, 255, 255, .72); }

.doc-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 768px) { .doc-list { grid-template-columns: repeat(2, 1fr); } }
.doc-list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--white); font-size: 16px; line-height: 1.55; }
.doc-list .icon { color: var(--navy); margin-top: 2px; }
.doc-list strong { color: var(--navy); }

/* Serviços detalhados (Previdenciário) */
.service-detail { display: grid; gap: 40px; padding: 72px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 8px); }
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail:last-of-type { padding-bottom: 0; }
.service-detail__head .icon--lg { color: var(--navy); margin-bottom: 20px; }
.service-detail__head p { color: var(--text-soft); }
.service-detail__body h3 { font-size: 22px; margin: 0 0 12px; }
.service-detail__body > * + h3 { margin-top: 32px; }
@media (min-width: 960px) {
  .service-detail { grid-template-columns: 1fr 1.4fr; gap: 96px; }
  .service-detail__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

/* Sobre */
.bio-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .bio-grid { grid-template-columns: 1.3fr 1fr; gap: 96px; align-items: start; } }
.edu { border-top: 1px solid var(--line); }
.edu li { display: grid; gap: 2px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.edu strong { font: 600 20px/1.35 var(--ff-sub); color: var(--navy); }
.edu span { font-size: 15px; color: var(--text-soft); }

.manifesto { display: grid; gap: 48px; align-items: center; }
.manifesto__photo { margin: 0; max-width: 420px; }
.manifesto__photo picture { aspect-ratio: 4 / 5; overflow: hidden; }
.manifesto__photo img { width: 100%; height: 100%; object-fit: cover; }
.manifesto blockquote { margin: 0; font: italic 400 clamp(26px, 3vw, 36px)/1.35 var(--ff-display); color: var(--white); }
.manifesto cite { display: block; margin-top: 24px; font: 700 13px/1.4 var(--ff-body); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@media (min-width: 960px) { .manifesto { grid-template-columns: 1fr 1.4fr; gap: 104px; } }

/* Contato */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 96px; align-items: start; } }
.contact-list { border-top: 1px solid var(--line); margin-top: 36px; }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 22px 0; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border: 1px solid var(--gold); border-radius: 50%; color: var(--navy); }
.contact-list small { display: block; font: 700 12px/1.3 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 2px; }
.contact-list span { font-size: 18px; color: var(--navy); word-break: break-word; }
.contact-list a:hover span { color: var(--royal); }
.form-card { padding: 48px 44px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 767px) { .form-card { padding: 32px 22px; } }

/* Páginas de texto (privacidade) */
.legal h2 { font-size: 26px; margin-top: 2em; }

/* 404 */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font: italic 400 120px/1 var(--ff-display); color: var(--gold); margin-bottom: 12px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 88px 0 40px; font-size: 15px; line-height: 1.7; }
.site-footer__grid { display: grid; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.site-footer__brand img { width: 200px; margin-bottom: 24px; }
.site-footer__brand p { max-width: 26em; margin-bottom: 28px; }
.site-footer__title { font: 700 12px/1.4 var(--ff-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer__col ul { display: grid; gap: 10px; }
.site-footer__col a { transition: color .25s var(--ease); }
.site-footer__col a:hover { color: var(--white); }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--gold); margin-top: 4px; width: 18px; height: 18px; }
.site-footer__legal { padding-top: 32px; display: grid; gap: 10px; font-size: 13px; line-height: 1.65; color: rgba(255, 255, 255, .5); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 56px; } }
@media (max-width: 767px) { .site-footer { padding-top: 64px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 0;
  height: 60px; padding: 0 18px; border-radius: 30px;
  background: var(--navy); color: var(--gold);
  box-shadow: 0 14px 30px -12px rgba(10, 10, 10, .45);
  border: 1px solid rgba(210, 190, 165, .35);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), opacity .3s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font: 700 12px/1 var(--ff-body); letter-spacing: .12em; text-transform: uppercase;
  transition: max-width .45s var(--ease), margin .45s var(--ease);
}
.wa-float:hover { background: var(--royal); color: var(--white); }
.wa-float:hover .wa-float__label, .wa-float.is-expanded .wa-float__label { max-width: 220px; margin-left: 12px; }
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (max-width: 767px) { .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 15px; } }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal--slow { transition-duration: 1.3s; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .rule.reveal { transform: scaleX(0); transform-origin: left; opacity: 1; }
.js .rule.reveal.is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .site-header, .wa-float, .nav, .cta-final, .post-cta { display: none !important; }
  .section { padding: 24px 0; }
}

/* ---------- Utilitários ---------- */
.note { margin-top: 32px; max-width: 52em; font-size: 16px; color: var(--text-soft); }
.highlight__quote { margin: 0; font: italic 400 clamp(21px, 2.2vw, 26px)/1.5 var(--ff-display); color: var(--navy); }
.btn--spaced { margin-top: 16px; }
.section--navy .chips { align-self: center; }
.form-card__title { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 28px; }
.insta-strip { display: grid; gap: 28px; align-items: center; }
.insta-strip h2 { max-width: 18em; }
@media (min-width: 960px) { .insta-strip { grid-template-columns: 1.4fr auto; gap: 64px; } }
.notfound .rule { margin-left: auto; margin-right: auto; }
.notfound .hero__actions { justify-content: center; }

/* ==========================================================================
   Tema escuro — seções em azul naval e preto, com respiros em bege
   ========================================================================== */
.section--black { background: var(--black); color: rgba(255, 255, 255, .78); }
.hero.section--navy, .page-hero.section--navy { background: var(--navy); color: rgba(255, 255, 255, .8); }

:is(.section--navy, .section--black) :is(h1, h2, h3) { color: var(--white); }
:is(.section--navy, .section--black) :is(h1, h2) em { color: var(--gold); }
:is(.section--navy, .section--black) .eyebrow { color: var(--gold); }
:is(.section--navy, .section--black) :is(.lead, .hero__lead) { color: rgba(255, 255, 255, .8); }
:is(.section--navy, .section--black) :is(.muted, .note, .section-head__aside) { color: rgba(255, 255, 255, .6); }
:is(.section--navy, .section--black) .subtitle { color: var(--gold); opacity: 1; }
:is(.section--navy, .section--black) .quote { color: var(--white); }
:is(.section--navy, .section--black) .hero__mark { opacity: .06; }

/* botões e links sobre fundo escuro */
:is(.section--navy, .section--black) .btn--primary { --bg: var(--gold); --fg: var(--navy); --bd: var(--gold); }
:is(.section--navy, .section--black) .btn--primary:hover { --bg: var(--white); --fg: var(--navy); --bd: var(--white); }
:is(.section--navy, .section--black) .btn--ghost { --bg: transparent; --fg: var(--white); --bd: var(--gold); }
:is(.section--navy, .section--black) .btn--ghost:hover { --bg: var(--gold); --fg: var(--navy); --bd: var(--gold); }
:is(.section--navy, .section--black) .link-arrow { color: var(--white); }
:is(.section--navy, .section--black) .link-arrow:hover { color: var(--gold); }

/* hero */
.hero.section--navy .hero__badge { background: var(--beige); color: var(--text); }
.hero.section--navy .hero__badge strong { color: var(--navy); }
.section--navy .credentials { background: transparent; border-color: var(--line-dark); }
.section--navy .credentials li { border-color: var(--line-dark) !important; }
.section--navy .credentials strong { color: var(--white); }
.section--navy .credentials span { color: rgba(255, 255, 255, .6); }
@media (min-width: 960px) { .credentials--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 959px) {
  .credentials--3 { grid-template-columns: 1fr; }
  .credentials--3 li { border-right: 0 !important; }
}

/* cards e listas */
:is(.section--navy, .section--black) :is(.service-grid, .values) { background: var(--line-dark); border-color: var(--line-dark); }
.section--black .service-card { background: var(--black); color: rgba(255, 255, 255, .72); }
.section--black .service-card:hover { background: var(--navy); }
.section--navy .service-card { background: var(--navy); color: rgba(255, 255, 255, .72); }
:is(.section--navy, .section--black) .service-card .icon--lg { color: var(--gold); }
:is(.section--navy, .section--black) .service-card::before { background: var(--gold); }
.service-card--featured { background: var(--navy) !important; }
.service-card--featured .service-card__tag {
  align-self: flex-start; padding: 5px 10px; margin-bottom: -2px;
  font: 700 11px/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); background: var(--gold);
}
:is(.section--navy, .section--black) .card { background: rgba(255, 255, 255, .04); border-color: var(--line-dark); color: rgba(255, 255, 255, .75); }
:is(.section--navy, .section--black) .card .icon--lg { color: var(--gold); }
:is(.section--navy, .section--black) .checklist--dark li { color: rgba(255, 255, 255, .8); }
:is(.section--navy, .section--black) .checklist--dark .icon { color: var(--gold); }
.section--black .timeline li::before { background: var(--gold); box-shadow: 0 0 0 5px var(--black); }
.section--black .timeline p { color: rgba(255, 255, 255, .72); }
.section--black .step p { color: rgba(255, 255, 255, .72); }

/* situações */
.section--navy .situations__list, .section--navy .situations__list li { border-color: var(--line-dark); }
.section--navy .situations__list li { color: var(--white); }

/* serviços detalhados, formação, contato */
.section--black .service-detail { border-color: var(--line-dark); }
.section--black .service-detail__head .icon--lg { color: var(--gold); }
.section--black .service-detail__head p { color: rgba(255, 255, 255, .6); }
.section--black .edu, .section--black .edu li { border-color: var(--line-dark); }
.section--black .edu strong { color: var(--white); }
.section--black .edu span { color: rgba(255, 255, 255, .55); }
:is(.section--navy, .section--black) .contact-list, :is(.section--navy, .section--black) .contact-list li { border-color: var(--line-dark); }
:is(.section--navy, .section--black) .contact-list .icon { color: var(--gold); }
:is(.section--navy, .section--black) .contact-list small { color: rgba(255, 255, 255, .55); }
:is(.section--navy, .section--black) .contact-list span { color: var(--white); }
:is(.section--navy, .section--black) .contact-list a:hover span { color: var(--gold); }
:is(.section--navy, .section--black) .anchor-nav a { background: transparent; border-color: var(--line-dark); color: rgba(255, 255, 255, .85); }
:is(.section--navy, .section--black) .anchor-nav a:hover { border-color: var(--gold); color: var(--gold); }

/* cartões claros dentro de seções escuras mantêm as cores originais */
:is(.section--navy, .section--black) .form-card { border-color: transparent; }
:is(.section--navy, .section--black) .form-card .eyebrow { color: var(--navy); }
:is(.section--navy, .section--black) .form-card h2 { color: var(--navy); }

/* artigo: cabeçalho escuro */
.post-hero.section--navy .breadcrumb { color: rgba(255, 255, 255, .55); }
.post-hero.section--navy .breadcrumb a:hover { color: var(--white); }
.post-hero.section--navy .author { border-color: var(--line-dark); }
.post-hero.section--navy .author strong { color: var(--white); }
.post-hero.section--navy .author span { color: rgba(255, 255, 255, .6); }

/* CTA final em fundo preto */
.section--black .cta-panel { border: 1px solid var(--line-dark); }

/* "Conheça a trajetória" — abre a formação sem sair da página */
.trajetoria { margin-top: 8px; }
.trajetoria summary { list-style: none; cursor: pointer; display: inline-flex; }
.trajetoria summary::-webkit-details-marker { display: none; }
.trajetoria summary .icon { transition: transform .35s var(--ease); }
.trajetoria[open] summary .icon { transform: rotate(90deg); }
.trajetoria .edu { margin-top: 24px; }
:is(.section--navy, .section--black) .trajetoria .edu, :is(.section--navy, .section--black) .trajetoria .edu li { border-color: var(--line-dark); }
:is(.section--navy, .section--black) .trajetoria .edu strong { color: var(--white); }
:is(.section--navy, .section--black) .trajetoria .edu span { color: rgba(255, 255, 255, .55); }
.trajetoria[open] .edu { animation: desce .45s var(--ease); }
@keyframes desce { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* sobre (teaser) no escuro */
.section--navy .about-teaser__photo::after { border-color: var(--gold); }

/* WhatsApp flutuante com contraste sobre fundos escuros */
.wa-float { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.wa-float:hover { background: var(--white); color: var(--navy); }

/* ==========================================================================
   Áreas de Atuação — lista à esquerda + detalhe à direita (desktop)
   e sanfona, com o detalhe abrindo logo abaixo do item (celular)
   ========================================================================== */
.areas { display: grid; gap: 0; border-top: 1px solid var(--line); }
.areas__tab {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  width: 100%; padding: 22px 8px 22px 0; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer;
  font: 600 22px/1.3 var(--ff-sub); color: var(--navy);
  transition: color .25s var(--ease), background-color .25s var(--ease), padding .25s var(--ease);
}
.areas__tab .icon--lg { width: 30px; height: 30px; color: var(--navy); }
.areas__tab:hover { color: var(--royal); }
.areas__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.areas__tag {
  padding: 4px 9px; background: var(--gold); color: var(--navy);
  font: 700 10px/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase;
}
.areas__chev { width: 20px; height: 20px; color: var(--navy); transition: transform .35s var(--ease); }
.areas__tab[aria-expanded="true"] .areas__chev { transform: rotate(180deg); }
.areas__panel { padding: 8px 0 36px; }
.areas__panel[hidden] { display: none; }
.areas__panel .eyebrow { display: none; }
.areas__lead { font: 700 clamp(22px, 2.2vw, 28px)/1.3 var(--ff-display); color: var(--navy); }
.areas__panel .rule { margin: 22px 0; }
.areas__panel .btn-row { margin-top: 32px; }
.areas__panel:not([hidden]) { animation: desce .45s var(--ease); }

@media (min-width: 960px) {
  .areas { grid-template-columns: minmax(300px, .9fr) 1.3fr; column-gap: 64px; border-top: 0; align-items: start; }
  .areas__tab {
    grid-column: 1; padding: 22px 24px; border: 1px solid transparent; border-bottom-color: var(--line);
  }
  .areas__tab:first-of-type { border-top-color: var(--line); }
  .areas__tab[aria-expanded="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
  .areas__tab[aria-expanded="true"] .icon--lg, .areas__tab[aria-expanded="true"] .areas__chev { color: var(--gold); }
  .areas__chev { transform: rotate(-90deg); }
  .areas__tab[aria-expanded="true"] .areas__chev { transform: rotate(-90deg) translateY(4px); }
  .areas__panel {
    grid-column: 2; grid-row: 1 / span 7;
    padding: 48px 52px; background: var(--white); border-top: 2px solid var(--gold);
    box-shadow: var(--shadow); align-self: stretch;
  }
  .areas__panel .eyebrow { display: inline-flex; }
}
@media (max-width: 959px) {
  .areas__tab[aria-expanded="true"] { color: var(--royal); border-bottom-color: transparent; }
  .areas__tab { font-size: 20px; }
}

/* ---------- Ajustes da alternância naval / bege ---------- */
/* Atendimento digital em fundo claro */
.section--beige .how__photo::before { border-color: var(--gold); }
.section--beige .steps, .section--beige .step { border-color: var(--line); }
.section--beige .step p { color: var(--text); }
.section--beige .step__num { color: var(--navy); }
/* Diferenciais em fundo naval */
.section--navy .value { background: var(--navy); color: rgba(255, 255, 255, .75); }
.section--navy .value .icon--lg { color: var(--gold); }
/* Cartões claros dentro de seções escuras */
.post-card { color: var(--text); }
:is(.section--navy, .section--black) .post-card .post-card__title { color: var(--navy); }
:is(.section--navy, .section--black) .post-card .link-arrow { color: var(--navy); }
.doc-list li { color: var(--text); }
.section--navy .cta-panel { border: 1px solid var(--line-dark); }
.section--navy .faq__answer { color: rgba(255, 255, 255, .78); }

/* ---------- Ajustes da revisão 3 ---------- */
/* "Fale conosco" no verde do WhatsApp */
.btn--whatsapp { --bg: #25D366; --fg: #FFFFFF; --bd: #25D366; }
.btn--whatsapp:hover { --bg: #1DA851; --fg: #FFFFFF; --bd: #1DA851; }

/* mais respiro entre o logotipo e o menu */
.site-header__inner { gap: 40px; }
.nav { margin-left: auto; gap: 32px; }
.nav__list { gap: 26px; }
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav__list { gap: 20px; }
  .nav__link { letter-spacing: .08em; font-size: 12px; }
  .nav { gap: 24px; }
}

/* textos das Áreas e de "Quem conduz" justificados */
.areas__panel p, .areas__panel .checklist li, .about-teaser__text > p:not(.eyebrow):not(.subtitle) {
  text-align: justify; -webkit-hyphens: manual; hyphens: manual;
}
.about-teaser .quote { font-size: 19px; line-height: 1.5; }
@media (max-width: 767px) { .about-teaser .quote { font-size: 17px; } }

/* campo "Já possui processo em andamento?" */
.field--radio { border: 0; margin: 0; padding: 0; min-width: 0; }
.field--radio legend { padding: 0; margin-bottom: 10px; font: 700 12px/1.3 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.radios { display: flex; gap: 12px; }
.radio {
  flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px;
  background: var(--beige); border: 1px solid transparent; border-radius: var(--radius);
  font: 400 16px/1 var(--ff-body); color: var(--black); cursor: pointer;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.radio:has(input:checked) { background: var(--white); border-color: var(--navy); }
.field--radio.is-invalid .radio { border-color: #A33A3A; }
.field .radio { font: 400 16px/1 var(--ff-body); letter-spacing: 0; text-transform: none; color: var(--black); }
.field .radio input {
  -webkit-appearance: radio; appearance: auto;
  width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0;
  background: none; border: 0; accent-color: var(--navy); flex: none;
}

/* ---------- Faixa de credenciais (entre o topo e as Áreas de Atuação) ---------- */
.hero { padding-bottom: 150px; }
.section--after-hero { padding-top: 0; }
.cred-card {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr;
  margin: -96px 0 72px;
  background: var(--white); border-top: 2px solid var(--gold);
  box-shadow: 0 30px 60px -30px rgba(10, 10, 10, .45);
}
.cred-card li { display: flex; align-items: center; gap: 22px; padding: 28px 28px; }
.cred-card li + li { border-top: 1px solid var(--line); }
.cred-card .icon--lg {
  width: 58px; height: 58px; padding: 13px; flex: none;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; stroke-width: 1.3;
}
.cred-card strong { display: block; font: 700 30px/1.1 var(--ff-display); color: var(--navy); }
.cred-card span { display: block; margin-top: 6px; font: 700 12px/1.45 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
@media (min-width: 960px) {
  .hero { padding-bottom: 170px; }
  .cred-card { grid-template-columns: repeat(3, 1fr); margin: -104px 0 96px; }
  .cred-card li { padding: 40px 40px; }
  .cred-card li + li { border-top: 0; }
  .cred-card li:not(:last-child) { box-shadow: inset -1px 0 0 var(--line); }
  .cred-card strong { font-size: 34px; }
}
@media (max-width: 767px) {
  .hero { padding-bottom: 110px; }
  .cred-card { margin: -70px 0 56px; }
  .cred-card li { padding: 22px 20px; gap: 18px; }
  .cred-card .icon--lg { width: 50px; height: 50px; padding: 11px; }
  .cred-card strong { font-size: 25px; }
}

/* frase de compromisso em bege sobre o azul */
.section--navy .about-teaser .quote { color: var(--gold); }
.section--after-hero > .container { display: flow-root; } /* impede o colapso da margem negativa da faixa */

/* espaçamento após remover os traços do título do topo e do "Quem conduz" */
.hero__title { margin-bottom: 28px; }
.about-teaser .subtitle { margin-bottom: 26px; }

/* ---------- Revisão: remoção dos traços dourados ---------- */
.eyebrow--plain::before { display: none; }
.areas__lead { margin-bottom: 20px; }
.how__intro h2, .faq-layout__intro h2, .cta-panel h2 { margin-bottom: 24px; }

/* textos justificados */
.how__intro > p, .site-footer__brand p { text-align: justify; -webkit-hyphens: manual; hyphens: manual; }

/* foto do escritório no Atendimento digital (horizontal) */
.how__photo { max-width: 520px; }
.how__photo picture { aspect-ratio: 3 / 2; }
.how__photo img { object-position: 60% 50%; }

/* ---------- Linha entre o menu e a página ---------- */
/* no topo: traço bege; ao rolar: sem nenhuma linha, menu contínuo com a página */
.site-header { border-bottom: 1px solid var(--gold); }
.site-header.is-scrolled { border-bottom-color: transparent; }
.site-header.is-scrolled::before { bottom: -1px; }

/* ---------- Logo "V" ao fundo no "O primeiro passo" ---------- */
.cta-final { overflow: hidden; }
.cta-final > .container { position: relative; z-index: 1; }
.cta-final__mark { top: 50%; right: -140px; transform: translateY(-50%); }
.section--beige .cta-final__mark { opacity: .35; }

/* ---------- Textos justificados, sem quebrar palavras com hífen ---------- */
main p, main li, .site-footer__brand p { text-align: justify; -webkit-hyphens: manual; hyphens: manual; }
/* exceções: rótulos, títulos curtos, textos centralizados e elementos de formulário */
main :is(.eyebrow, .subtitle, .diseases__label, .post-card__meta, .breadcrumb, .wa-form__note, .check, .field__error, .notfound__code),
main .section-head--center p, main .notfound p,
main .cred-card li, main .chips li, main .anchor-nav, main .contact-list li, main .edu li,
main .situations__list li, main .timeline h3 { text-align: left; }
main .section-head--center p, main .notfound p { text-align: center; }
/* V ao fundo do "O primeiro passo": aparece no bege acima e à direita do painel */
.cta-final__mark { top: 24px; right: -90px; width: 640px; transform: none; }
.section--beige .cta-final__mark { opacity: .45; }
@media (min-width: 1024px) { .cta-final .cta-panel { margin-right: 6%; } }
@media (max-width: 767px) { .cta-final__mark { width: 380px; right: -150px; top: 10px; } }

/* ---------- Artigo: texto ao lado de imagem ---------- */
.prose .media-split { display: grid; gap: 28px; align-items: center; margin: 2em 0; }
.prose .media-split figure { margin: 0; }
.prose .media-split img { width: 100%; box-shadow: var(--shadow); }
.prose .media-split figcaption { margin-top: 10px; font-size: 13px; font-style: italic; color: var(--text-soft); text-align: center; }
@media (min-width: 720px) { .prose .media-split { grid-template-columns: 1.3fr 1fr; gap: 40px; } }

/* V ao fundo do "O primeiro passo" — versão final: logotipo inteiro, à direita do painel */
.cta-final .cta-panel::after { display: none; }
.cta-final__mark { display: none; }
@media (min-width: 1200px) {
  .cta-final .cta-panel { margin-right: 0; width: calc(100% - 250px); }
  .cta-final__mark {
    display: block; position: absolute; z-index: 0; pointer-events: none;
    top: 50%; right: var(--gutter); width: 210px; height: auto; transform: translateY(-50%);
  }
  .section--navy .cta-final__mark { opacity: .22; }
  .section--beige .cta-final__mark { opacity: .5; }
}
@media (min-width: 1200px) {
  .cta-final .cta-panel { width: calc(100% - 200px); }
  .cta-final__mark { width: 160px; right: calc(var(--gutter) + 4px); }
}
main .checklist li { text-align: left; }

/* "O primeiro passo": V grande ao fundo, igual ao topo da primeira página */
.cta-final .cta-panel { width: auto !important; margin-right: 0 !important; }
.section--navy .cta-final .cta-panel { background: transparent; }
.cta-final__mark {
  display: block !important; position: absolute; z-index: 0; pointer-events: none;
  top: 50% !important; right: -120px !important; width: 620px !important; height: auto;
  transform: translateY(-50%) !important;
}
.section--navy .cta-final__mark { opacity: .06 !important; }
.section--beige .cta-final__mark { opacity: .14 !important; }
@media (max-width: 767px) { .cta-final__mark { width: 380px !important; right: -160px !important; } }
.cta-final__mark { top: -60px !important; transform: none !important; }
.cta-final > .container { position: static; }
.cta-final .cta-panel { position: relative; z-index: 1; }
.cta-final__mark { top: 16px !important; }
