/* Alexandre Batista · Hectare — site institucional, versão 5
   Direção: especialista pessoal. Azul-marinho, marfim e dourado; serifa clássica.
   Fontes: EB Garamond (títulos), Source Sans 3 (texto e rótulos). */

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #faf8f3;
  --surface: #ffffff;
  --band: #f2eee4;
  --ink: #162033;
  --ink-2: #36404f;
  --muted: #5b6472;
  --line: #e4dfd2;
  --line-strong: #cbc4b3;
  --green: #14294a;
  --green-deep: #0d1d36;
  --green-tint: #eef1f6;
  --gold: #b08a3e;
  --gold-text: #7d5f1f;
  --gold-soft: #d6ad63;
  --red: #a42a1f;

  --c-bg: var(--paper);
  --c-band: var(--band);
  --c-band-green: var(--green-tint);
  --c-ink: var(--ink);
  --c-muted: var(--muted);
  --c-line: var(--line);
  --c-line-strong: var(--line-strong);
  --c-brand: var(--green);
  --c-brand-hover: var(--green-deep);
  --c-brand-deep: var(--green-deep);
  --c-on-dark: #eef1f6;
  --c-on-dark-muted: #b3bfd2;
  --c-accent: var(--gold);
  --c-accent-text: var(--gold-text);
  --c-focus: #0b63b6;
  --c-error: var(--red);
  --white: #ffffff;
  --green-50: var(--green-tint);

  --font-head: "EB Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Source Sans 3", system-ui, "Segoe UI", Arial, sans-serif;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-base: 1.0625rem;
  --t-lead: 1.25rem;
  --t-h4: 1.125rem;
  --t-h3: 1.375rem;
  --t-h2: clamp(1.875rem, 1.5rem + 1.5vw, 2.625rem);
  --t-h1: clamp(2.125rem, 1.6rem + 2.2vw, 3.125rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;

  --radius: 8px;
  --radius-lg: 12px;
  --wrap: 1120px;
  --header-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; -webkit-tap-highlight-color: rgba(20,41,74,.12); scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 400 var(--t-base)/1.65 var(--font-text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0 0 var(--s-4); color: var(--c-ink); letter-spacing: -.022em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.012em; }
h4 { font: 600 var(--t-h4)/1.3 var(--font-text); letter-spacing: -.005em; }
p, ul, ol, dl { margin: 0 0 var(--s-4); }
p, li, dd { text-wrap: pretty; overflow-wrap: break-word; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
a { color: var(--c-brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-ink); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; 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: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 8px; color: var(--white); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--s-5)); margin: 0 auto; padding: 0 var(--s-5); }
@media (max-width: 639px) { .wrap { padding: 0 var(--s-4); } :root { --t-lead: 1.125rem; --s-9: 80px; --s-8: 56px; } }
::selection { background: var(--green); color: var(--white); }

/* ---------- Ícones ---------- */
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }
.ico-box { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--green-tint); color: var(--green); flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius); border: 1px solid transparent;
  font: 500 var(--t-sm)/1.2 var(--font-text); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary, .btn--light { background: var(--green); color: var(--white); }
.btn--primary:hover, .btn--light:hover { background: var(--green-deep); color: var(--white); }
.btn--outline, .btn--ghost-light { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover, .btn--ghost-light:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.cta-band .btn--light { background: var(--white); color: var(--green-deep); }
.cta-band .btn--light:hover { background: var(--green-tint); color: var(--green-deep); }
.cta-band .btn--ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); }
.cta-band .btn--ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--ink); }
.link-arrow:hover { color: var(--green); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
/* O desfoque fica num pseudo-elemento: no próprio cabeçalho ele prenderia o menu fixo do celular. */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251,250,247,.88); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.header .wrap { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font: 500 1.1875rem/1.15 var(--font-head); letter-spacing: -.015em; }
.brand__co { font: 400 .71875rem/1.3 var(--font-text); color: var(--muted); letter-spacing: .005em; white-space: nowrap; }
.brand__co b { font-weight: 500; color: var(--ink-2); letter-spacing: .1em; text-transform: uppercase; }

.nav { display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 11px; white-space: nowrap;
  font: 400 var(--t-sm)/1.2 var(--font-text); color: var(--muted); text-decoration: none;
  border: 0; background: none; cursor: pointer; border-radius: var(--radius); transition: color .2s;
}
.nav__link:hover, .nav__toggle:hover { color: var(--ink); }
.nav__link[aria-current="page"], .nav__item--active > .nav__toggle { color: var(--ink); font-weight: 500; }
.nav__toggle .ico { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 580px; padding: var(--s-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(22,32,51,.07);
  display: none; grid-template-columns: 1fr 1fr; gap: 2px;
}
.dropdown.is-open { display: grid; }
.dropdown a { display: flex; gap: 12px; padding: 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: background-color .2s; }
.dropdown a:hover { background: var(--band); }
.dropdown a .ico { color: var(--green); margin-top: 2px; }
.dropdown strong { display: block; font-size: var(--t-sm); font-weight: 500; }
.dropdown span span { display: block; font-size: var(--t-xs); color: var(--muted); line-height: 1.45; }
.dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding: 12px 12px 4px; font-size: var(--t-sm); color: var(--muted); }
.dropdown__all a { display: inline; padding: 0; font-weight: 500; color: var(--green); }
.dropdown__all a:hover { background: none; text-decoration: underline; }
.header__cta { flex: none; min-height: 40px; padding: 8px 16px; }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink); font: 500 var(--t-sm) var(--font-text); cursor: pointer; }

@media (max-width: 1259px) and (min-width: 1024px) { .brand__co { display: none; } }
@media (max-width: 1139px) { .header__cta { display: none; } }
@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); display: none; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-4) var(--s-4) var(--s-7); border-top: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font: 500 1.375rem/1.2 var(--font-head); color: var(--ink); letter-spacing: -.015em; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; background: none; padding: 4px 0 8px; grid-template-columns: 1fr; }
  .nav__mobile-cta { display: grid !important; gap: var(--s-3); margin-top: var(--s-6); }
}
.nav__mobile-cta { display: none !important; }
@media (max-width: 479px) { .brand__co { display: none; } }

/* ---------- Seções ---------- */
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--band { background: var(--band); }
.section--green { background: var(--green-tint); }
.section--dark { background: var(--band); }
@media (max-width: 767px) { .section { padding: var(--s-8) 0; } .section--tight { padding: var(--s-7) 0; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); margin-bottom: var(--s-7); }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: var(--t-lead); line-height: 1.5; margin: 0; }
@media (max-width: 767px) { .section-head { flex-direction: column; align-items: start; margin-bottom: var(--s-6); } }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 var(--s-5); }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); flex: none; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--s-7); font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 6px; }
.muted { color: var(--muted); }
.small { font-size: var(--t-sm); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--s-4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-8); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 1023px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } .split { grid-template-columns: 1fr; gap: var(--s-6); } }
@media (max-width: 639px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* ---------- Hero (início) ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--s-8); align-items: center; padding-top: var(--s-8); padding-bottom: var(--s-8); }
.hero__content { max-width: 720px; }
.hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.375rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: var(--s-5); }
.hero p:not(.eyebrow) { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 54ch; }
.hero .btn-row { margin-top: var(--s-6); }
.hero__link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; font-size: var(--t-sm); text-underline-offset: 4px; }
.hero__link:hover { color: var(--green); }
.hero__facts { list-style: none; display: grid; gap: 10px; padding: var(--s-5) 0 0; margin: var(--s-7) 0 0; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--muted); }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts .ico { color: var(--green); width: 18px; height: 18px; }
.hero__facts .pend { white-space: normal; }
.hero__media { margin: 0; position: relative; }
.hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; border-radius: var(--radius-lg); filter: saturate(.82) contrast(.98); }
@media (max-width: 1023px) { .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); padding-top: var(--s-7); padding-bottom: var(--s-7); } .hero__img { aspect-ratio: 16 / 10; } }
.js .hero__content > * { animation: rise .8s var(--ease) both; }
.js .hero__content > :nth-child(2) { animation-delay: .06s; }
.js .hero__content > :nth-child(3) { animation-delay: .12s; }
.js .hero__content > :nth-child(4) { animation-delay: .18s; }
.js .hero__content > :nth-child(5) { animation-delay: .24s; }
.js .hero__media { animation: fade 1.2s var(--ease) .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Entrada suave ao rolar (só com JavaScript ativo) */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- Números ---------- */
.stats { border-bottom: 1px solid var(--line); }
.stats ul, .stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--s-6); }
.stats li, .stats-list li { padding: var(--s-5) 0 0; border-top: 1px solid var(--ink); }
.stats b, .stats-list b { display: block; font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.75rem)/1 var(--font-head); letter-spacing: -.03em; color: var(--ink); margin-bottom: var(--s-3); font-variant-numeric: lining-nums; }
.stats span, .stats-list span { font-size: var(--t-sm); color: var(--muted); line-height: 1.5; display: block; }
@media (max-width: 1023px) { .stats ul, .stats-list { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); } }
@media (max-width: 479px) { .stats ul, .stats-list { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }
.card h3 { font: 600 var(--t-h4)/1.3 var(--font-text); letter-spacing: -.01em; margin: 0; }
.card p { color: var(--muted); font-size: var(--t-sm); line-height: 1.6; margin: 0; }
.card ul { font-size: var(--t-sm); color: var(--muted); padding-left: 1.1em; margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: var(--s-3); font-size: var(--t-sm); }
.card--link { position: relative; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.card--link:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(22,32,51,.05); }
.card--link h3 a { color: var(--ink); text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; }
.card--link:focus-within { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.card--link h3 a:focus-visible { outline: none; }
.card__head { display: flex; gap: var(--s-4); align-items: center; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.tag { font: 500 .6875rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--green); background: var(--green-tint); border-radius: 999px; padding: 5px 10px; }
.card--flat { background: transparent; border: 0; padding: 0; }

/* ---------- Etapas ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-6); counter-reset: step; }
.steps li { position: relative; padding: var(--s-5) 0 0; border-top: 1px solid var(--ink); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 500 var(--t-xs)/1 var(--font-mono); letter-spacing: .08em; color: var(--green); margin-bottom: var(--s-5); }
.steps h3 { font: 600 var(--t-base)/1.3 var(--font-text); letter-spacing: -.01em; margin-bottom: 8px; }
.steps p { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .steps, .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .steps, .steps--4 { grid-template-columns: 1fr; gap: var(--s-5); } .steps li::before { margin-bottom: var(--s-3); } }

/* ---------- Página interna: topo ---------- */
.page-hero { padding: var(--s-6) 0 var(--s-8); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; margin-bottom: var(--s-5); line-height: 1.06; letter-spacing: -.028em; }
.page-hero .lead { max-width: 60ch; margin: 0; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 400px; gap: var(--s-8); align-items: center; }
.page-hero__img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: saturate(.82) contrast(.98); }
.page-hero .btn-row { margin-top: var(--s-6); }
@media (max-width: 1023px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__img { display: none; } }
.breadcrumbs { font: 400 .75rem/1.4 var(--font-mono); letter-spacing: .02em; margin-bottom: var(--s-7); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); padding: 0 6px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); }

/* ---------- Serviço: layout com barra lateral ---------- */
.with-sidebar { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + var(--s-5)); display: grid; gap: var(--s-6); }
.sidenav { border-top: 1px solid var(--ink); }
.sidenav h2 { font: 500 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: var(--s-4) 0 var(--s-3); margin: 0; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav a { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: var(--muted); text-decoration: none; font-size: var(--t-sm); transition: color .2s; }
.sidenav a:hover { color: var(--ink); }
.sidenav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.sidenav .ico { width: 18px; height: 18px; color: var(--green); }
.side-cta { background: var(--band); border-radius: var(--radius-lg); padding: var(--s-5); }
.side-cta h2 { font: 600 var(--t-h4)/1.3 var(--font-text); letter-spacing: -.01em; margin-bottom: 8px; }
.side-cta p { color: var(--muted); font-size: var(--t-sm); }
.side-cta .btn { width: 100%; margin-top: var(--s-3); }
.side-cta a:not(.btn) { font-size: var(--t-sm); }
.toc { font-size: var(--t-sm); }
.toc ol { margin: 0; padding: 0 0 0 1.4em; color: var(--muted); }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 1023px) { .with-sidebar { grid-template-columns: 1fr; gap: var(--s-7); } .sidebar { position: static; order: 2; } }

.content-block { padding-bottom: var(--s-7); margin-bottom: var(--s-7); border-bottom: 1px solid var(--line); }
.content-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.content-block > h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); }
.content-block > h2 .num { font: 500 var(--t-xs) var(--font-mono); letter-spacing: .08em; color: var(--green); min-width: 2ch; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .ico { color: var(--green); width: 20px; height: 20px; margin-top: 4px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 12px var(--s-6); }
@media (max-width: 767px) { .checklist--2 { grid-template-columns: 1fr; } }
.problem-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-7); list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.problem-list li { border-bottom: 1px solid var(--line); padding: var(--s-5) 0; font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }
.problem-list strong { display: block; font: 500 1.25rem/1.25 var(--font-head); letter-spacing: -.012em; color: var(--ink); margin-bottom: 6px; }
@media (max-width: 767px) { .problem-list { grid-template-columns: 1fr; } }
.docs-box { background: var(--band); border-radius: var(--radius-lg); padding: var(--s-6); }
.note { background: var(--band); padding: var(--s-4) var(--s-5); border-radius: var(--radius); font-size: var(--t-sm); color: var(--ink-2); }
.note strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-5) 0; font-weight: 500; min-height: 44px; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--muted); width: 18px; height: 18px; transition: transform .3s var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq details > div { padding: 0 0 var(--s-5); color: var(--muted); max-width: 68ch; }

/* ---------- Linha do tempo ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 3px; top: 10px; bottom: 10px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 var(--s-6) var(--s-6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.timeline__when { font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: block; }
.timeline h3 { font: 600 var(--t-h4)/1.3 var(--font-text); letter-spacing: -.01em; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: var(--t-sm); max-width: 66ch; }

.years { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.years li { padding: var(--s-5) 0 0; border-top: 1px solid var(--ink); }
.years b { display: block; font: 500 2.25rem/1 var(--font-head); letter-spacing: -.03em; color: var(--ink); margin: 0 0 var(--s-4); }
.years h3 { font: 600 var(--t-base)/1.3 var(--font-text); letter-spacing: -.01em; margin-bottom: 6px; }
.years p { font-size: var(--t-sm); color: var(--muted); line-height: 1.6; }
@media (max-width: 1023px) { .years { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .years { grid-template-columns: 1fr; } }

/* ---------- Faixa final / destaques ---------- */
.cta-band { background: var(--green-deep); color: var(--c-on-dark); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-7); padding-top: var(--s-8); padding-bottom: var(--s-8); }
.cta-band h2 { color: var(--white); margin-bottom: var(--s-3); max-width: 18ch; }
.cta-band p { color: var(--c-on-dark-muted); margin: 0; max-width: 56ch; }
.cta-band a:not(.btn) { color: var(--white); }
.cta-band .btn-row { flex: none; }
@media (max-width: 899px) { .cta-band .wrap { flex-direction: column; align-items: start; gap: var(--s-6); } }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.feature__body { padding: 0; }
.feature__media { position: relative; aspect-ratio: 5 / 4; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); filter: saturate(.82) contrast(.98); }
@media (max-width: 899px) { .feature { grid-template-columns: 1fr; gap: var(--s-6); } .feature__media { aspect-ratio: 16 / 10; order: -1; } }

.facts { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); }
.facts li { border-top: 1px solid var(--line-strong); padding-top: var(--s-3); font-size: var(--t-sm); color: var(--muted); }
.facts b { display: block; color: var(--ink); font-size: var(--t-base); font-weight: 600; }

.profile { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-8); align-items: start; }
.profile__card { border-top: 1px solid var(--ink); padding: var(--s-5) 0 0; }
.profile__card dl { margin: 0; display: grid; gap: var(--s-4); font-size: var(--t-sm); }
.profile__card dt { font: 500 .6875rem/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.profile__card dd { margin: 0; font-weight: 500; }
.monogram-lg { width: 56px; height: 56px; margin-bottom: var(--s-5); }
@media (max-width: 899px) { .profile { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); }
th, td { padding: 11px 14px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--surface); font: 500 .6875rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); position: sticky; top: 0; border-bottom-color: var(--line-strong); }
tbody tr.is-grace { background: #faf6ec; }
.table-plain th, .table-plain td { text-align: left; white-space: normal; }

/* ---------- Formulários ---------- */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 639px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 500; font-size: var(--t-sm); padding: 0; }
.field .hint { font-size: var(--t-xs); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: 400 var(--t-base)/1.4 var(--font-text); color: var(--ink); background: var(--surface); transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(20,41,74,.16); }
textarea { min-height: 130px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--c-error) !important; }
.field-error { color: var(--c-error); font-size: var(--t-xs); font-weight: 500; }
.field-error:empty { display: none; }
.field label.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-sm); font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.seg label { display: inline-flex; align-items: center; cursor: pointer; font-weight: 500; font-size: var(--t-sm); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { padding: 10px 16px; min-height: 46px; display: inline-flex; align-items: center; transition: background-color .2s, color .2s; }
.seg label + label span { border-left: 1px solid var(--line-strong); }
.seg input:checked + span { background: var(--green); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--c-focus); outline-offset: -3px; }
.input-group { display: flex; gap: var(--s-2); align-items: stretch; flex-wrap: wrap; }
.input-group input { flex: 1 1 140px; }

/* ---------- Simulador e calculadoras ---------- */
.sim { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.sim__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); }
.sim__results { display: grid; gap: var(--s-5); min-width: 0; }
.sim table { font-size: .875rem; }
.sim__kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-5); }
.kpi span { display: block; font: 500 .6875rem/1.3 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.kpi b { display: block; font: 500 1.4375rem/1.2 var(--font-head); letter-spacing: -.02em; color: var(--ink); margin-top: 8px; font-variant-numeric: tabular-nums lining-nums; }
.kpi--main { background: var(--green-deep); border-color: var(--green-deep); }
.kpi--main span { color: var(--c-on-dark-muted); }
.kpi--main b { color: var(--white); }
.sim__error { color: var(--c-error); font-weight: 500; font-size: var(--t-sm); }
@media (max-width: 1023px) { .sim { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .sim__kpis { grid-template-columns: 1fr; } }
.tool-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-bottom: var(--s-6); padding: 4px; background: var(--band); border-radius: 10px; }
.tool-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 7px; color: var(--muted); font-weight: 500; font-size: var(--t-sm); text-decoration: none; transition: color .2s, background-color .2s; }
.tool-tabs a:hover { color: var(--ink); }
.tool-tabs a[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(22,32,51,.08); }
.eq-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
@media (max-width: 767px) { .eq-ladder { grid-template-columns: 1fr; } }
.eq-verdict { display: grid; gap: var(--s-4); }
.eq-verdict[hidden] { display: none; }
.eq-verdict__head { margin: 0; padding: var(--s-4) var(--s-5); font-weight: 500; border-radius: var(--radius); }
.eq-verdict--ok .eq-verdict__head { background: var(--green-tint); color: var(--green-deep); }
.eq-verdict--falta .eq-verdict__head { background: #fbeeeb; color: #8a2a1c; }
.eq-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eq-table .eq-total th, .eq-table .eq-total td { font-weight: 600; border-top: 1px solid var(--ink); }
.eq-adv { border-top: 1px solid var(--line); }
.eq-adv summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; cursor: pointer; font-weight: 500; font-size: var(--t-sm); list-style: none; }
.eq-adv summary::-webkit-details-marker { display: none; }
.eq-adv summary .ico { transition: transform .3s var(--ease); color: var(--muted); }
.eq-adv[open] summary .ico { transform: rotate(45deg); }
.eq-adv .field { margin-bottom: var(--s-3); }
.field .hint .pend { white-space: normal; }

/* ---------- Contato ---------- */
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-card { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.contact-card h2 { font: 600 var(--t-base)/1.3 var(--font-text); letter-spacing: -.01em; margin-bottom: 4px; }
.contact-card p { font-size: var(--t-sm); color: var(--muted); margin-bottom: 8px; }

/* ---------- Artigos ---------- */
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.article-meta { font: 400 .75rem/1.4 var(--font-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.page-hero .article-meta { margin-top: var(--s-5); }

/* ---------- Rodapé ---------- */
.footer { background: var(--paper); color: var(--muted); font-size: var(--t-sm); border-top: 1px solid var(--line); }
.footer a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--green); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: var(--s-7); padding: var(--s-8) 0 var(--s-7); }
.footer h2 { font: 500 .75rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: var(--s-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer .brand { margin-bottom: var(--s-4); }
.footer__top > div:first-child p { max-width: 36ch; line-height: 1.6; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.footer__bottom { border-top: 1px solid var(--line); padding: var(--s-5) 0; display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font: 400 .75rem/1.5 var(--font-mono); letter-spacing: .01em; }
.footer__bottom ul { display: flex; gap: var(--s-5); }
@media (max-width: 1023px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .footer__top { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ---------- Diversos ---------- */
.empty-state { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: var(--s-6); }
.notfound { padding: var(--s-9) 0; }
.notfound b { font: 500 5rem/1 var(--font-head); letter-spacing: -.04em; color: var(--green); display: block; margin-bottom: var(--s-4); }
.edu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-7); border-top: 1px solid var(--line); }
.edu li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.edu strong { font-weight: 500; }
.edu span { color: var(--muted); font-size: var(--t-sm); text-align: right; white-space: nowrap; }
@media (max-width: 767px) { .edu { grid-template-columns: 1fr; } .edu li { flex-direction: column; gap: 2px; } .edu span { text-align: left; white-space: normal; } }

/* Marcador de pendência: some do site quando preço, prazo e garantia forem preenchidos. */
.pend { background: #fbf3db; color: #6b4a00; border-radius: 4px; padding: 1px 7px; font: 500 .8em/1.4 var(--font-mono); white-space: nowrap; }
.guarantee { display: flex; gap: var(--s-5); align-items: flex-start; margin-top: var(--s-7); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s-6); }
.guarantee h3 { font: 600 var(--t-h4)/1.3 var(--font-text); letter-spacing: -.01em; margin: 0 0 6px; }
.guarantee p { margin: 0 0 8px; color: var(--muted); font-size: var(--t-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media print {
  .header, .footer, .cta-band, .sidebar { display: none; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  body { background: #fff; }
}

/* ===== Versão 5: especialista pessoal ===== */
h1, h2, h3 { letter-spacing: -.012em; }
.header { border-top: 3px solid var(--green); }
.steps li::before, .content-block > h2 .num { color: var(--gold-text); }
.btn { border-radius: 4px; letter-spacing: .01em; }
.eyebrow, .tag, .kpi span, thead th, .breadcrumbs, .footer h2, .timeline__when, .sidenav h2, .profile__card dt, .article-meta { font-weight: 600; }

/* Retrato e assinatura */
.portrait { margin: 0; position: relative; padding: 0 18px 18px 0; }
.portrait__ph { aspect-ratio: 4 / 5; border-radius: 4px; background: var(--green); color: var(--c-on-dark-muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-4); text-align: center; padding: var(--s-5); font-size: var(--t-sm); box-shadow: 18px 18px 0 -1px var(--paper), 18px 18px 0 0 var(--gold); }
.portrait__mark { width: 84px; height: 84px; }
.portrait__mark rect { fill: var(--green-deep); }
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 4px; box-shadow: 18px 18px 0 -1px var(--paper), 18px 18px 0 0 var(--gold); }
.portrait figcaption { margin-top: calc(var(--s-5) + 18px); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); font-size: var(--t-sm); color: var(--muted); border-top: 1px solid var(--line-strong); padding-top: var(--s-3); }
.portrait figcaption strong { font: 500 1.125rem/1.2 var(--font-head); color: var(--ink); }
.signature { display: grid; gap: 2px; margin: var(--s-7) 0 0; }
.hero .signature .signature__name { font: 400 3rem/.9 "Mrs Saint Delafield", "Brush Script MT", cursive; color: var(--green); }
.hero .signature .signature__role { font-size: var(--t-sm); color: var(--muted); }
.hero .hero__facts { margin-top: var(--s-6); }
.hero__facts .ico { color: var(--gold-text); }
@media (max-width: 1023px) { .portrait { max-width: 420px; } }

/* Faixa azul-marinho com os números da carreira */
.section--navy { background: var(--green); color: var(--c-on-dark-muted); }
.section--navy h2 { color: var(--white); }
.section--navy .eyebrow { color: var(--c-on-dark-muted); }
.section--navy .section-head p:not(.eyebrow) { color: var(--c-on-dark-muted); }
.section--navy .stats-list li { border-top-color: rgba(255,255,255,.28); }
.section--navy .stats-list b { color: #e3c98f; }
.section--navy .stats-list span { color: var(--c-on-dark-muted); }

/* Final e rodapé em azul-marinho */
.cta-band .btn--light { background: #e3c98f; color: var(--green-deep); }
.cta-band .btn--light:hover { background: var(--white); color: var(--green-deep); }
.footer { background: var(--green-deep); color: var(--c-on-dark-muted); border-top: 0; }
.footer a { color: var(--c-on-dark); }
.footer a:hover { color: #e3c98f; }
.footer h2 { color: #e3c98f; }
.footer .brand { color: var(--white); }
.footer .brand__co, .footer .brand__co b { color: var(--c-on-dark-muted); }
.footer__contact .ico { color: #e3c98f; }
.footer__bottom { border-top-color: rgba(255,255,255,.14); }
.footer .brand__mark rect { fill: var(--green); }
