/* Diego Voloski – Direito das Famílias e Sucessões */

:root {
  /* Paleta MP062 */
  --snowberry: #efeced;
  --verbena: #f1dfdf;
  --rose: #dcafa3;
  --red: #c21727;
  --petrol: #162733;
  --depth: #193950;

  /* Superfícies */
  --paper: var(--snowberry);
  --paper-2: var(--verbena);
  --card: #faf8f8;
  /* Marca */
  --ink: var(--petrol);
  --navy: var(--petrol);
  --navy-2: var(--depth);
  --brass: var(--red);
  --brass-soft: var(--rose);
  /* Texto e linhas */
  --muted: #56616b;
  --line: rgba(22, 39, 51, .12);
  --line-strong: rgba(22, 39, 51, .22);
  --on-dark: rgba(239, 236, 237, .76);
  --line-dark: rgba(239, 236, 237, .14);
  --wa: #25d366;
  --danger: #c21727;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(22, 39, 51, .05), 0 18px 40px -18px rgba(22, 39, 51, .28);

  --z-header: 50;
  --z-menu: 60;
  --z-skip: 100;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

::selection { background: var(--navy-2); color: var(--paper); }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brass);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--brass-soft); }

.h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.h2 em { font-style: italic; color: var(--navy-2); }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 56ch; }

.grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.3  0 0 0 0 0.2  0 0 0 0 0.22  0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.on-dark .grain { mix-blend-mode: overlay; opacity: .7; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--navy); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: .005em;
  color: var(--fg); background: var(--bg);
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .wa-dot { color: var(--wa); }
.btn:hover { --bg: var(--navy-2); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(22, 39, 51, .6); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn--light { --bg: var(--paper); --fg: var(--navy); }
.btn--light:hover { --bg: #fff; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .45); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--navy-2);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--back:hover svg { transform: translateX(-4px); }
.on-dark .link-arrow { color: var(--paper); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); }
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--petrol);
  box-shadow: 0 1px 0 var(--line-dark);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled::before { box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); transition: height .3s var(--ease); }
.header.is-scrolled .header__inner { height: 68px; }
.header__logo img { height: 50px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .header__logo img { height: 40px; }
.header__actions { display: flex; align-items: center; gap: 28px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; font-size: 15px; color: var(--snowberry); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(239, 236, 237, .3); border-radius: 12px;
  background: transparent; color: var(--snowberry); cursor: pointer; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-toggle { display: grid; }
  .header__actions { gap: 10px; }
  .nav {
    position: fixed; inset: 0; z-index: var(--z-menu);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 96px var(--gutter) 48px;
    background: var(--petrol);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { font-family: var(--serif); font-size: clamp(32px, 8vw, 44px); line-height: 1.3; color: var(--snowberry); }
  .nav a::after { bottom: 4px; }
  .menu-toggle, .header__logo, .header__actions > .btn { position: relative; z-index: calc(var(--z-menu) + 1); }
}
@media (max-width: 440px) {
  .header__actions > .btn span { display: none; }
  .header__actions > .btn { width: 44px; padding: 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: var(--header-h); background: var(--petrol); color: var(--snowberry); }
.hero::after {
  content: ""; position: absolute; z-index: -2; width: 70vw; height: 70vw; right: -20vw; top: -25vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 57, 80, .95), rgba(25, 57, 80, 0));
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; min-height: min(calc(100dvh - var(--header-h)), 780px); }
.hero__copy { align-self: center; padding-block: 48px 88px; }
.hero__copy .eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -.03em; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero__sub { margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--on-dark); max-width: 50ch; }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__where { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--on-dark); }
.hero__where span { display: inline-flex; align-items: center; gap: 8px; }
.hero__where svg { width: 18px; height: 18px; color: var(--rose); }

.portrait { position: relative; align-self: end; justify-self: center; width: min(100%, 470px); }
.portrait__arch {
  position: absolute; left: 6%; right: 6%; bottom: 0; top: 14%; z-index: -1;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--rose), var(--verbena) 75%);
}
.portrait__arch::after {
  content: ""; position: absolute; inset: 14px 14px 0; border-radius: inherit;
  border: 1px solid rgba(22, 39, 51, .2); border-bottom: 0;
}
.portrait img { width: 100%; }
.portrait__badge {
  position: absolute; left: -12%; bottom: 13%; max-width: 250px;
  padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--snowberry); color: var(--petrol); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
}
.portrait__badge strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.25; }
.portrait__badge span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; gap: 8px; }
  .hero__copy { padding-block: 32px 16px; }
  .portrait { width: min(84%, 400px); }
  .portrait__badge { left: auto; right: -10%; bottom: 8%; max-width: 210px; padding: 14px 16px; }
  .portrait__badge strong { font-size: 16px; }
}
@media (max-width: 480px) { .portrait__badge { right: -6%; } }

/* ---------- Credenciais ---------- */
.creds { border-block: 1px solid var(--line); background: var(--paper-2); }
.creds__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cred { padding: 32px 28px 34px 0; }
.cred + .cred { padding-left: 28px; border-left: 1px solid var(--line); }
.cred strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.2; color: var(--navy); }
.cred span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
@media (max-width: 960px) {
  .creds__grid { grid-template-columns: 1fr 1fr; }
  .cred:nth-child(3) { padding-left: 0; border-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .creds__grid { grid-template-columns: 1fr; }
  .cred, .cred + .cred { padding: 22px 0; border-left: 0; }
  .cred + .cred { border-top: 1px solid var(--line); }
}

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(88px, 11vw, 148px) clamp(100px, 12vw, 164px); }
.section__head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head .eyebrow { margin-bottom: 20px; }
.section__head .head-link { justify-self: end; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; } .section__head .head-link { justify-self: start; } }

/* Áreas de atuação */
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.area-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--r-xl);
  background: var(--card); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.area-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(22, 39, 51, .05), 0 28px 50px -20px rgba(22, 39, 51, .35); }
.area-card__num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--brass); }
.area-card h3 { font-size: clamp(28px, 2.5vw, 36px); line-height: 1.08; letter-spacing: -.015em; }
.area-card > p { font-size: 16px; color: var(--muted); }
.area-card .checklist { padding-top: 22px; border-top: 1px solid var(--line); }
.area-card .link-arrow { margin-top: auto; padding-top: 10px; display: inline-block; align-self: flex-start; }
.area-card .link-arrow svg { display: inline; vertical-align: -3px; margin-left: 6px; }
.area-card--featured { background: var(--petrol); color: var(--snowberry); }
.area-card--featured .area-card__num, .area-card--featured .checklist svg { color: var(--rose); }
.area-card--featured > p { color: var(--on-dark); }
.area-card--featured .checklist { border-top-color: var(--line-dark); }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 16px; line-height: 1.45; }
.checklist svg { width: 18px; height: 18px; margin-top: 2px; color: var(--brass); }
@media (max-width: 1020px) {
  .areas-grid { grid-template-columns: 1fr; max-width: 640px; }
}

/* Abordagem */
.approach { background: var(--navy); color: var(--paper); isolation: isolate; overflow: hidden; }
.approach::before {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; left: -20vw; bottom: -30vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(25, 57, 80, .9), rgba(25, 57, 80, 0));
}
.approach__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.approach__statement { position: sticky; top: 120px; }
.approach__statement .eyebrow { margin-bottom: 28px; }
.approach__statement blockquote { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4.4vw, 58px); line-height: 1.06; letter-spacing: -.02em; }
.approach__statement blockquote em { color: var(--brass-soft); }
.principles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
.principle { padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line-dark); }
.principle:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line-dark); }
.principle__num { font-family: var(--serif); font-style: italic; color: var(--brass-soft); font-size: 18px; }
.principle h3 { margin-top: 18px; font-size: 26px; line-height: 1.15; }
.principle p { margin-top: 12px; color: var(--on-dark); font-size: 16px; }
@media (max-width: 960px) {
  .approach__grid { grid-template-columns: 1fr; }
  .approach__statement { position: static; }
}
@media (max-width: 600px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:nth-child(even) { padding: 28px 0; border-left: 0; }
}

/* Como funciona */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-strong); }
.step { position: relative; padding-right: 12px; }
.step__dot {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--navy-2);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.step:hover .step__dot { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.step h3 { margin-top: 28px; font-size: 26px; line-height: 1.15; }
.step p { margin-top: 12px; font-size: 16px; color: var(--muted); }
.steps__cta { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.steps__cta p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding: 0 0 36px; }
  .step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step h3 { margin-top: 12px; grid-column: 2; }
  .step p { grid-column: 2; }
  .step__dot { grid-row: 1 / span 2; }
}

/* Sobre */
.about { background: var(--paper-2); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.about__media { position: sticky; top: 110px; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 66% 30%; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.about__media figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.about__copy .eyebrow { margin-bottom: 20px; }
.about__copy h2 { font-style: italic; }
.about__bio { margin-top: 28px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.75; color: #22323e; max-width: 58ch; }
.timeline { list-style: none; margin-top: 44px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline strong { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); padding-top: 3px; }
.timeline span { font-size: 16px; line-height: 1.5; }
.timeline li.is-current span { font-family: var(--serif); font-size: 20px; color: var(--navy); }
.about__social { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { position: static; max-width: 520px; }
  .about__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* Dúvidas */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.faq__aside { position: sticky; top: 110px; }
.faq__aside .eyebrow { margin-bottom: 20px; }
.faq__aside .lead { margin-top: 24px; }
.faq__aside .btn { margin-top: 32px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  display: grid; grid-template-columns: 1fr 32px; gap: 20px; align-items: center;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.25;
  transition: color .25s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--navy-2); }
.qa__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s var(--ease), border-color .3s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { padding: 0 52px 28px 0; color: #2f3e4a; }
.qa__body p + p { margin-top: 12px; }
.faq__note { margin-top: 24px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
}
@media (max-width: 520px) { .qa__body { padding-right: 0; } }

/* Blog (cards) */
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.post { display: grid; grid-template-rows: auto 1fr; }
.post__media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16 / 10; background: var(--paper-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tag {
  display: inline-block; padding: 6px 10px; border-radius: var(--r-sm);
  background: var(--paper); color: var(--navy);
  font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}
.post__media .tag { position: absolute; left: 16px; top: 16px; }
.post__body { display: flex; flex-direction: column; gap: 14px; padding: 24px 4px 0; }
.post__date { font-size: 14px; color: var(--muted); }
.post h3, .post h2 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.post h3 a, .post h2 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.post:hover h3 a, .post:hover h2 a { background-size: 100% 1px; }
.post:hover .post__media img { transform: scale(1.04); }
.post .link-arrow { margin-top: auto; align-self: flex-start; font-size: 15px; }
@media (max-width: 760px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Chamada final ---------- */
.cta { background: var(--navy-2); color: var(--paper); isolation: isolate; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(220, 175, 163, .2), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(22, 39, 51, .9), transparent 70%);
}
.cta__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.cta h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1; letter-spacing: -.025em; }
.cta h2 em { color: var(--brass-soft); }
.cta__lead { margin-top: 24px; max-width: 48ch; color: var(--on-dark); font-size: clamp(17px, 1.4vw, 19px); }
.cta__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.cta__actions .note { font-size: 14px; color: var(--on-dark); }
.cta__info { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.cta__info div { padding: 22px 0; border-bottom: 1px solid var(--line-dark); }
.cta__info h3 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); }
.cta__info p, .cta__info a { margin-top: 6px; display: block; color: var(--paper); font-size: 16px; }
.cta__info a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Páginas internas ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(220, 175, 163, .45), rgba(220, 175, 163, 0));
}
.page-hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.03em; max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--navy-2); }
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero .lead { margin-top: 24px; }

/* Artigo */
.article-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 0; }
.article-hero__inner { max-width: 880px; }
.article-hero h1 { margin-top: 28px; font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; font-size: 15px; color: var(--muted); }
.article-meta .tag { background: var(--navy); color: var(--paper); }
.article-meta strong { color: var(--ink); font-weight: 500; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.article-cover { margin: clamp(40px, 5vw, 64px) 0 0; }
.article-cover img { width: 100%; max-height: 620px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xl); }
.article-body { padding-block: clamp(48px, 6vw, 80px) clamp(80px, 10vw, 128px); }
.prose { max-width: 700px; margin-inline: auto; font-size: 19px; line-height: 1.8; color: #1d2e3b; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2em; font-size: clamp(28px, 3vw, 36px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--brass); font-weight: 600; }
.prose .lei { padding: 24px 28px; border-radius: var(--r-md); background: var(--paper-2); font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.prose blockquote {
  margin: 2em 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--brass);
  font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.25; color: var(--navy);
}
.prose blockquote strong { font-weight: 500; color: var(--navy-2); }
.prose hr { margin: 3em 0 0; border: 0; border-top: 1px solid var(--line); }
.prose .refs { font-size: 15px; line-height: 1.65; color: var(--muted); }
.prose .refs-title { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.article-box {
  max-width: 700px; margin: 56px auto 0; padding: clamp(24px, 3vw, 36px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  border-radius: var(--r-lg); background: var(--navy); color: var(--paper);
}
.article-box p { font-family: var(--serif); font-size: 24px; line-height: 1.2; max-width: 22ch; }
.article-foot { max-width: 700px; margin: 40px auto 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.share { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.share a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--navy);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.share a:hover { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.share svg { width: 16px; height: 16px; }
.disclaimer { max-width: 700px; margin: 32px auto 0; font-size: 14px; color: var(--muted); }
.related { background: var(--paper-2); }

/* 404 */
.notfound { min-height: 100dvh; display: grid; align-items: center; }
.notfound__code { font-family: var(--serif); font-style: italic; font-size: clamp(96px, 16vw, 200px); line-height: .9; color: var(--brass); }
.notfound .hero__cta { margin-top: 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding-block: 80px 40px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; }
.footer__brand img { height: 54px; width: auto; }
.footer__brand p { margin-top: 20px; max-width: 34ch; color: var(--on-dark); font-size: 15px; }
.footer h2 { margin: 0 0 16px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-soft); }
.footer__links { display: grid; gap: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 12px; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social-ic {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line-dark); transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
a:hover > .social-ic { background: var(--paper); border-color: var(--paper); color: var(--navy); }
.social-ic svg { width: 16px; height: 16px; }
.about__social a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 15px; transition: border-color .25s var(--ease); }
.about__social a:hover { border-color: var(--navy); }
.about__social .social-ic { border-color: var(--line-strong); }
.about__social a:hover > .social-ic { background: var(--navy); border-color: var(--navy); color: var(--paper); }

.nl p { color: var(--on-dark); font-size: 15px; }
.nl-form { margin-top: 16px; display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(239, 236, 237, .06); border: 1px solid var(--line-dark); transition: border-color .25s var(--ease); }
.nl-form:focus-within { border-color: rgba(239, 236, 237, .45); }
.nl-form input[type="email"] { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border: 0; background: transparent; color: var(--paper); font: 400 15px var(--sans); outline: none; }
.nl-form input::placeholder { color: rgba(239, 236, 237, .5); }
.nl-form .btn { min-height: 44px; padding: 0 18px; font-size: 13px; letter-spacing: .06em; }
.nl-msg { min-height: 22px; margin-top: 10px; font-size: 14px; color: var(--on-dark); }
.nl-msg.is-error { color: var(--rose); }
.footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 13px; color: rgba(239, 236, 237, .5); }
.footer__bottom p:last-child { max-width: 62ch; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; border-radius: var(--r-lg); padding: 8px; }
  .nl-form input[type="email"] { flex: none; }
}

/* ---------- Revelação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
