/* Alexandre Batista · Hectare — site institucional
   Sistema de design: tokens primitivos -> semânticos -> componentes.
   Fontes: IBM Plex Serif (títulos) + IBM Plex Sans (texto), com fallbacks de sistema. */

/* ---------- 1. Tokens primitivos ---------- */
:root {
  --green-950: #0b2e25;
  --green-900: #0e3a2f;
  --green-800: #12493b;
  --green-700: #1a5e4c;
  --green-600: #22735d;
  --green-100: #dfe9e4;
  --green-50:  #eef4f1;
  --gold-500:  #a8772a;
  --gold-300:  #d6ad63;
  --gray-950:  #16231f;
  --gray-700:  #3b4a44;
  --gray-600:  #4a5952;
  --gray-300:  #c9d3ce;
  --gray-200:  #dde4e0;
  --gray-100:  #eef1ef;
  --gray-50:   #f6f8f7;
  --white:     #ffffff;
  --red-700:   #a42a1f;

  /* ---------- 2. Tokens semânticos ---------- */
  --c-bg: var(--white);
  --c-band: var(--gray-50);
  --c-band-green: var(--green-50);
  --c-ink: var(--gray-950);
  --c-muted: var(--gray-600);
  --c-line: var(--gray-200);
  --c-line-strong: var(--gray-300);
  --c-brand: var(--green-800);
  --c-brand-hover: var(--green-700);
  --c-brand-deep: var(--green-900);
  --c-on-brand: var(--white);
  --c-on-dark: #e9f0ec;
  --c-on-dark-muted: #b9cbc3;
  --c-accent: var(--gold-500);
  --c-accent-text: #835a1b; /* dourado escuro para texto pequeno sobre claro (5,9:1) */
  --c-accent-on-dark: var(--gold-300);
  --c-focus: #0b63b6;
  --c-error: var(--red-700);

  --font-head: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-base: 1.0625rem;/* 17 */
  --t-lead: 1.1875rem;/* 19 */
  --t-h4: 1.125rem;
  --t-h3: 1.3125rem;
  --t-h2: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem);
  --t-h1: clamp(2rem, 1.5rem + 2vw, 2.875rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 40px; --s-8: 56px; --s-9: 72px;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(14, 58, 47, .06), 0 4px 14px rgba(14, 58, 47, .06);
  --wrap: 1200px;
  --header-h: 72px;

  /* ---------- 3. Tokens de componente ---------- */
  --btn-bg: var(--c-brand);
  --btn-bg-hover: var(--c-brand-hover);
  --btn-ink: var(--c-on-brand);
  --card-bg: var(--white);
  --card-border: var(--c-line);
  --icon-bg: var(--green-50);
  --icon-ink: var(--c-brand);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; -webkit-tap-highlight-color: rgba(18,73,59,.15); 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.6 var(--font-text);
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 var(--s-3); color: var(--c-ink); letter-spacing: -.01em; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); font-family: var(--font-text); letter-spacing: 0; }
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-brand-hover); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; 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(--c-brand-deep); 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); } }

/* ---------- Ícones ---------- */
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 18px; height: 18px; }
.ico-box { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--icon-bg); color: var(--icon-ink); flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: var(--radius); border: 1.5px solid transparent;
  font: 600 var(--t-sm)/1.2 var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn--primary:hover { background: var(--btn-bg-hover); color: var(--btn-ink); }
.btn--outline { border-color: var(--c-brand); color: var(--c-brand); background: transparent; }
.btn--outline:hover { background: var(--c-band-green); color: var(--c-brand); }
.btn--light { background: var(--white); color: var(--c-brand-deep); }
.btn--light:hover { background: var(--green-50); color: var(--c-brand-deep); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--c-brand-deep); color: var(--c-on-dark-muted); font-size: var(--t-xs); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 36px; }
.topbar ul { list-style: none; display: flex; gap: var(--s-5); margin: 0; padding: 0; }
.topbar a { color: var(--c-on-dark); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar li { display: flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; }
@media (max-width: 899px) { .topbar__region { display: none !important; } .topbar .wrap { justify-content: center; } }
@media (max-width: 479px) { .topbar__mail { display: none !important; } }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--c-line); }
.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(--c-ink); margin-right: auto; }
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font: 600 1.1875rem/1.15 var(--font-head); letter-spacing: -.01em; }
.brand__co { font-size: .75rem; color: var(--c-muted); letter-spacing: .01em; white-space: nowrap; }
.brand__co b { font-weight: 600; color: var(--c-brand); letter-spacing: .08em; 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 9px; white-space: nowrap;
  font: 500 var(--t-sm)/1.2 var(--font-text); color: var(--c-ink); text-decoration: none;
  border: 0; background: none; cursor: pointer; border-radius: var(--radius);
}
.nav__link:hover, .nav__toggle:hover { color: var(--c-brand); background: var(--c-band); }
.nav__link[aria-current="page"], .nav__item--active > .nav__toggle { color: var(--c-brand); box-shadow: inset 0 -2px 0 var(--c-brand); border-radius: 0; }
.nav__toggle .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: -12px; width: 560px; padding: var(--s-4);
  background: var(--white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(14,58,47,.14);
  display: none; grid-template-columns: 1fr 1fr; gap: 4px;
}
.dropdown.is-open { display: grid; }
.dropdown a { display: flex; gap: 12px; padding: 10px; border-radius: var(--radius); text-decoration: none; color: var(--c-ink); }
.dropdown a:hover { background: var(--c-band-green); }
.dropdown a .ico { color: var(--c-brand); margin-top: 2px; }
.dropdown strong { display: block; font-size: var(--t-sm); }
.dropdown span span { display: block; font-size: var(--t-xs); color: var(--c-muted); line-height: 1.4; }
.dropdown__all { grid-column: 1 / -1; border-top: 1px solid var(--c-line); margin-top: 4px; padding-top: 8px; }
.dropdown__all a { font-weight: 600; color: var(--c-brand); font-size: var(--t-sm); }
.header__cta { flex: none; }
.menu-btn { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius); background: var(--white); color: var(--c-ink); font: 600 var(--t-sm) var(--font-text); cursor: pointer; }

@media (max-width: 1299px) and (min-width: 1024px) { .brand__co { display: none; } }
@media (max-width: 1179px) {
  .header__cta { display: none; }
}
@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + 36px) 0 0 0; background: var(--white); display: none; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-4) var(--s-4) var(--s-7); border-top: 1px solid var(--c-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: 14px 8px; border-bottom: 1px solid var(--c-line); border-radius: 0; font-size: var(--t-base); }
  .nav__link[aria-current="page"], .nav__item--active > .nav__toggle { box-shadow: inset 3px 0 0 var(--c-brand); padding-left: 14px; }
  .dropdown { position: static; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; grid-template-columns: 1fr; }
  .nav__mobile-cta { display: grid !important; gap: var(--s-3); margin-top: var(--s-5); }
}
.nav__mobile-cta { display: none !important; }
@media (max-width: 479px) { .brand__co { display: none; } .brand__name { font-size: 1.0625rem; } }

/* ---------- Seções ---------- */
.section { padding: var(--s-9) 0; }
.section--tight { padding: var(--s-8) 0; }
.section--band { background: var(--c-band); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section--green { background: var(--c-band-green); }
.section--dark { background: var(--c-brand-deep); color: var(--c-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--c-on-dark-muted); }
.section--dark a:not(.btn) { color: var(--white); }
@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-5); margin-bottom: var(--s-6); }
.section-head > div { max-width: 720px; }
.section-head p { color: var(--c-muted); font-size: var(--t-lead); margin: 0; }
.section--dark .section-head p { color: var(--c-on-dark-muted); }
@media (max-width: 767px) { .section-head { flex-direction: column; align-items: start; } }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 600 var(--t-xs)/1.2 var(--font-text); text-transform: uppercase; letter-spacing: .12em; color: var(--c-brand); margin: 0 0 var(--s-3); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--c-accent); }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--c-accent-on-dark); }
.lead { font-size: var(--t-lead); color: var(--c-muted); }
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 6px; }
.muted { color: var(--c-muted); }
.small { font-size: var(--t-sm); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--s-5); }
.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 { position: relative; background: var(--c-brand-deep); color: var(--c-on-dark); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,46,37,.96) 0%, rgba(11,46,37,.88) 45%, rgba(11,46,37,.45) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: var(--s-9); padding-bottom: var(--s-9); }
.hero__content { max-width: 680px; }
.hero h1 { color: var(--white); font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.25rem); margin-bottom: var(--s-4); }
.hero p { font-size: var(--t-lead); color: var(--c-on-dark); max-width: 60ch; }
.hero .btn-row { margin-top: var(--s-6); }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding: 0; margin: var(--s-6) 0 0; font-size: var(--t-sm); color: var(--c-on-dark-muted); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ico { color: var(--c-accent-on-dark); width: 18px; height: 18px; }
@media (max-width: 767px) { .hero::after { background: rgba(11,46,37,.88); } .hero .wrap { padding-top: var(--s-8); padding-bottom: var(--s-8); } }

/* ---------- Faixa de números ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--c-line); }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: var(--s-6) var(--s-5); border-left: 1px solid var(--c-line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 600 2.25rem/1 var(--font-head); color: var(--c-brand); margin-bottom: 8px; }
.stats span { font-size: var(--t-sm); color: var(--c-muted); line-height: 1.45; display: block; }
@media (max-width: 1023px) { .stats ul { grid-template-columns: repeat(2, 1fr); } .stats li:nth-child(3) { border-left: 0; padding-left: 0; } .stats li:nth-child(n+3) { border-top: 1px solid var(--c-line); } }
@media (max-width: 479px) { .stats li { padding: var(--s-5) var(--s-3); } .stats b { font-size: 1.75rem; } }

/* ---------- Cards ---------- */
.card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius-lg); padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.card h3 { font-size: var(--t-h4); font-family: var(--font-text); font-weight: 600; margin: 0; line-height: 1.3; }
.card p { color: var(--c-muted); font-size: var(--t-sm); margin: 0; }
.card ul { font-size: var(--t-sm); color: var(--c-muted); padding-left: 1.1em; margin: 0; }
.card .link-arrow { margin-top: auto; padding-top: var(--s-2); font-size: var(--t-sm); }
.card--link { position: relative; transition: border-color .2s, box-shadow .2s; }
.card--link:hover { border-color: var(--c-brand); box-shadow: var(--shadow); }
.card--link h3 a { color: var(--c-ink); text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; }
.card--link:focus-within { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.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-size: .75rem; font-weight: 600; color: var(--c-brand); background: var(--c-band-green); border-radius: 999px; padding: 3px 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: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 var(--s-4) 0 0; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-brand); color: var(--white); font: 600 var(--t-sm) var(--font-text); position: relative; z-index: 1; margin-bottom: var(--s-4); }
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: var(--c-line-strong); }
.steps li:last-child::after { display: none; }
.steps h3 { font: 600 var(--t-base)/1.3 var(--font-text); margin-bottom: 6px; }
.steps p { font-size: var(--t-sm); color: var(--c-muted); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .steps, .steps--4 { grid-template-columns: 1fr; gap: var(--s-5); }
  .steps li { padding: 0 0 0 64px; min-height: 44px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 44px; bottom: calc(-1 * var(--s-5)); left: 21px; right: auto; width: 2px; height: auto; }
}

/* ---------- Página interna: topo ---------- */
.page-hero { background: var(--c-brand-deep); color: var(--c-on-dark); padding: var(--s-6) 0 var(--s-8); position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); max-width: 22ch; margin-bottom: var(--s-4); }
.page-hero .lead { color: var(--c-on-dark); max-width: 64ch; margin: 0; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--s-8); align-items: center; }
.page-hero__img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.page-hero .btn-row { margin-top: var(--s-5); }
@media (max-width: 1023px) { .page-hero__grid { grid-template-columns: 1fr; } .page-hero__img { display: none; } }
.breadcrumbs { font-size: var(--t-xs); margin-bottom: var(--s-6); }
.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(--c-on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--c-on-dark-muted); opacity: .7; padding: 0 4px; }
.breadcrumbs a { color: var(--c-on-dark); }
.breadcrumbs a:hover, .page-hero a:not(.btn):hover, .side-cta a:not(.btn):hover, .section--dark a:not(.btn):hover, .feature--dark a:not(.btn):hover, .cta-band a:not(.btn):hover { color: var(--white); }
.breadcrumbs [aria-current] { color: var(--c-on-dark-muted); }

/* ---------- Serviço: layout com barra lateral ---------- */
.with-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: var(--s-8); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + var(--s-5)); display: grid; gap: var(--s-5); }
.sidenav { border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.sidenav h2 { font: 600 var(--t-xs)/1.2 var(--font-text); text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); padding: var(--s-4) var(--s-4) var(--s-2); margin: 0; }
.sidenav ul { list-style: none; margin: 0; padding: 0 0 var(--s-2); }
.sidenav a { display: flex; align-items: center; gap: 10px; padding: 10px var(--s-4); color: var(--c-ink); text-decoration: none; font-size: var(--t-sm); border-left: 3px solid transparent; }
.sidenav a:hover { background: var(--c-band); color: var(--c-brand); }
.sidenav a[aria-current="page"] { border-left-color: var(--c-brand); background: var(--c-band-green); color: var(--c-brand); font-weight: 600; }
.sidenav .ico { width: 18px; height: 18px; color: var(--c-brand); }
.side-cta { background: var(--c-brand-deep); color: var(--c-on-dark); border-radius: var(--radius-lg); padding: var(--s-5); }
.side-cta h2 { color: var(--white); font-size: var(--t-h4); }
.side-cta p { color: var(--c-on-dark-muted); font-size: var(--t-sm); }
.side-cta .btn { width: 100%; margin-top: var(--s-3); }
.side-cta a:not(.btn) { color: var(--white); font-size: var(--t-sm); }
.toc { font-size: var(--t-sm); }
.toc ol { margin: 0; padding: 0 var(--s-4) var(--s-4) calc(var(--s-4) + 1.2em); }
.toc li { margin-bottom: 4px; }
@media (max-width: 1023px) { .with-sidebar { grid-template-columns: 1fr; gap: var(--s-6); } .sidebar { position: static; order: 2; } }

.content-block { padding-bottom: var(--s-7); margin-bottom: var(--s-7); border-bottom: 1px solid var(--c-line); }
.content-block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.content-block > h2 { display: flex; align-items: center; gap: 12px; }
.content-block > h2 .num { font: 600 var(--t-sm) var(--font-text); color: var(--c-accent-text); min-width: 2ch; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ico { color: var(--c-brand); width: 20px; height: 20px; margin-top: 3px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px var(--s-5); }
@media (max-width: 767px) { .checklist--2 { grid-template-columns: 1fr; } }
.problem-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); list-style: none; padding: 0; margin: 0; }
.problem-list li { border: 1px solid var(--c-line); border-top: 3px solid var(--c-brand); border-radius: 0; padding: var(--s-4); background: var(--white); font-size: var(--t-sm); }
.problem-list strong { display: block; font-size: var(--t-base); margin-bottom: 4px; }
@media (max-width: 767px) { .problem-list { grid-template-columns: 1fr; } }
.docs-box { background: var(--c-band); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: var(--s-5); }
.note { border: 1px solid #e8d9bb; background: #fbf7ef; padding: var(--s-4) var(--s-5); border-radius: var(--radius); font-size: var(--t-sm); color: var(--gray-700); }
.note strong { color: var(--c-ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--c-brand); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-brand); }
.faq details > div { padding: 0 0 var(--s-5); color: var(--c-muted); max-width: 72ch; }

/* ---------- Linha do tempo ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--c-line-strong); }
.timeline li { position: relative; padding: 0 0 var(--s-6) var(--s-7); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--c-brand); }
.timeline__when { font: 600 var(--t-xs)/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: 4px; display: block; }
.section--band .timeline li::before, .section--green .timeline li::before { background: var(--c-band); }
.timeline h3 { font-size: var(--t-h4); font-family: var(--font-text); margin-bottom: 6px; }
.timeline p { color: var(--c-muted); font-size: var(--t-sm); max-width: 70ch; }

.years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.years li { padding: var(--s-5); border-left: 1px solid var(--c-line); position: relative; }
.years li:first-child { border-left: 0; }
.years li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--c-brand); opacity: var(--o, 1); }
.years b { display: block; font: 600 1.625rem/1 var(--font-head); color: var(--c-brand); margin: 6px 0 var(--s-3); }
.years h3 { font: 600 var(--t-base)/1.3 var(--font-text); margin-bottom: 6px; }
.years p { font-size: var(--t-sm); color: var(--c-muted); }
@media (max-width: 1023px) { .years { grid-template-columns: 1fr 1fr; } .years li:nth-child(3) { border-left: 0; } .years li:nth-child(n+3) { border-top: 1px solid var(--c-line); } }
@media (max-width: 639px) { .years { grid-template-columns: 1fr; } .years li { border-left: 0; } .years li + li { border-top: 1px solid var(--c-line); } }

/* ---------- Faixa de destaque / CTA ---------- */
.cta-band { background: var(--c-brand-deep); color: var(--c-on-dark); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); padding-top: var(--s-8); padding-bottom: var(--s-8); }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--c-on-dark-muted); margin: 0; max-width: 60ch; }
.cta-band .btn-row { flex: none; }
@media (max-width: 899px) { .cta-band .wrap { flex-direction: column; align-items: start; } }

.feature { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.feature__body { padding: var(--s-7); }
.feature__media { position: relative; min-height: 320px; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature--dark { background: var(--c-brand-deep); color: var(--c-on-dark); border-color: var(--c-brand-deep); }
.feature--dark h2, .feature--dark h3 { color: var(--white); }
.feature--dark p, .feature--dark li { color: var(--c-on-dark-muted); }
@media (max-width: 899px) { .feature { grid-template-columns: 1fr; } .feature__media { min-height: 220px; order: -1; } .feature__body { padding: var(--s-5); } }

.facts { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.facts li { border-left: 2px solid var(--c-accent); padding-left: var(--s-3); font-size: var(--t-sm); }
.facts b { display: block; color: var(--c-ink); font-size: var(--t-base); }
.feature--dark .facts b { color: var(--white); }

.profile { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-7); align-items: start; }
.profile__card { background: var(--white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: var(--s-5); }
.profile__card dl { margin: 0; display: grid; gap: var(--s-3); font-size: var(--t-sm); }
.profile__card dt { color: var(--c-muted); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; }
.profile__card dd { margin: 0; font-weight: 500; }
.monogram-lg { width: 72px; height: 72px; margin-bottom: var(--s-4); }
@media (max-width: 899px) { .profile { grid-template-columns: 1fr; } }

/* ---------- Tabelas ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: var(--t-sm); }
th, td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--c-line); white-space: nowrap; font-variant-numeric: tabular-nums; }
th:first-child, td:first-child { text-align: left; }
thead th { background: var(--c-band); font-weight: 600; color: var(--gray-700); position: sticky; top: 0; }
tbody tr:nth-child(even) { background: #fafbfa; }
tbody tr.is-grace { background: #fbf7ef; }
.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: 600; font-size: var(--t-sm); padding: 0; }
.field .hint { font-size: var(--t-xs); color: var(--c-muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius);
  font: 400 var(--t-base)/1.4 var(--font-text); color: var(--c-ink); background: var(--white);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 0; border-color: var(--c-focus); }
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: 600; }
.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(--c-brand); flex: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: inline-flex; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius); overflow: hidden; }
.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 14px; min-height: 44px; display: inline-flex; align-items: center; }
.seg label + label span { border-left: 1.5px solid var(--c-line-strong); }
.seg input:checked + span { background: var(--c-brand); color: var(--white); }
.seg input:focus-visible + span { outline: 3px 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 ---------- */
.sim { display: grid; grid-template-columns: 340px 1fr; gap: var(--s-6); align-items: start; }
.sim__panel { background: var(--white); border: 1px solid var(--c-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(--white); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: var(--s-4); }
.kpi span { display: block; font-size: var(--t-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi b { display: block; font: 600 1.375rem/1.25 var(--font-head); color: var(--c-ink); margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi--main { background: var(--c-brand-deep); border-color: var(--c-brand-deep); }
.kpi--main span { color: var(--c-on-dark-muted); }
.kpi--main b { color: var(--white); }
.sim__error { color: var(--c-error); font-weight: 600; font-size: var(--t-sm); }
@media (max-width: 1023px) { .sim { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .sim__kpis { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-cards { display: grid; gap: var(--s-4); }
.contact-card { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--white); }
.contact-card h2 { font: 600 var(--t-base)/1.3 var(--font-text); margin-bottom: 4px; }
.contact-card p { font-size: var(--t-sm); color: var(--c-muted); margin-bottom: 8px; }

/* ---------- Artigos ---------- */
.article-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.article-meta { font-size: var(--t-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.page-hero .article-meta { color: var(--c-on-dark-muted); margin-top: var(--s-4); }

/* ---------- Rodapé ---------- */
.footer { background: var(--green-950); color: var(--c-on-dark-muted); font-size: var(--t-sm); }
.footer a { color: var(--c-on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--s-6); padding: var(--s-8) 0 var(--s-7); }
.footer h2 { font: 600 var(--t-xs)/1.2 var(--font-text); text-transform: uppercase; letter-spacing: .12em; color: var(--c-accent-on-dark); margin-bottom: var(--s-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand { color: var(--white); margin-bottom: var(--s-4); }
.footer .brand__co { color: var(--c-on-dark-muted); }
.footer .brand__co b { color: var(--c-accent-on-dark); }
.footer__contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer__contact .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--c-accent-on-dark); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: var(--s-5) 0; display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: var(--t-xs); }
.footer__bottom ul { display: flex; gap: var(--s-4); }
@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); } }

/* ---------- Casos ---------- */
.case-types { counter-reset: ct; }
.empty-state { border: 1.5px dashed var(--c-line-strong); border-radius: var(--radius-lg); padding: var(--s-6); background: var(--white); }

/* ---------- 404 ---------- */
.notfound { padding: var(--s-9) 0; }
.notfound b { font: 600 4rem/1 var(--font-head); color: var(--c-brand); display: block; margin-bottom: var(--s-4); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .header, .footer, .cta-band, .sidebar { display: none; } .page-hero { background: none; color: #000; } .page-hero h1 { color: #000; } }

/* Formação: lista densa em duas colunas */
.edu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); border-top: 1px solid var(--c-line); }
.edu li { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line); }
.edu strong { font-weight: 600; }
.edu span { color: var(--c-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; } }

/* ===== Página de oferta (v3) ===== */
/* Marcador de pendência: some do site quando o cliente preencher preço, prazo e garantia. */
.pend { background: #fff3c4; color: #5c4400; border: 1px dashed #b38600; padding: 0 6px; font-size: .85em; font-weight: 600; white-space: nowrap; }
.hero__link { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: 500; text-underline-offset: 4px; }
.hero__link:hover { color: var(--c-accent-on-dark); }
.hero__facts .pend { white-space: normal; }
.stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stats-list li { background: var(--white); border: 1px solid var(--c-line); padding: var(--s-5); }
.stats-list b { display: block; font: 600 2rem/1.1 var(--font-head); color: var(--c-brand); margin-bottom: 8px; }
.stats-list span { font-size: var(--t-sm); color: var(--c-muted); line-height: 1.45; display: block; }
@media (max-width: 1023px) { .stats-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .stats-list { grid-template-columns: 1fr; } .stats-list b { font-size: 1.75rem; } }
.guarantee { display: flex; gap: var(--s-4); align-items: flex-start; margin-top: var(--s-7); border: 1px solid #e6d3ad; background: #fcf8ef; padding: var(--s-5); }
.guarantee h3 { margin: 0 0 6px; }
.guarantee p { margin: 0 0 8px; }

/* ===== Calculadoras (v3) ===== */
.tool-tabs { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.tool-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius); color: var(--c-ink); font-weight: 600; font-size: var(--t-sm); text-decoration: none; }
.tool-tabs a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.tool-tabs a[aria-current="page"] { background: var(--c-brand); border-color: var(--c-brand); color: var(--white); }
.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); font-weight: 600; border: 1px solid; }
.eq-verdict--ok .eq-verdict__head { background: var(--green-50); border-color: #b9d3c7; color: var(--c-brand-deep); }
.eq-verdict--falta .eq-verdict__head { background: #fdf0ee; border-color: #e8b9b1; 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: 700; border-top: 2px solid var(--c-line-strong); }
.eq-adv { border: 1px solid var(--c-line); padding: 0 var(--s-3); }
.eq-adv summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; cursor: pointer; font-weight: 600; font-size: var(--t-sm); list-style: none; }
.eq-adv summary::-webkit-details-marker { display: none; }
.eq-adv[open] summary .ico { transform: rotate(45deg); }
.eq-adv .field { margin-bottom: var(--s-3); }
.field .hint .pend { white-space: normal; }
