/* =========================================================================
   VagaClara — folha de estilos
   ========================================================================= */

:root {
  --ink: #10201b;
  --ink-2: #2b3d36;
  --muted: #5a6b64;
  --line: #e2e7e3;
  --line-2: #d3dbd6;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --tint: #f2f6f1;
  --brand: #0b6e4f;
  --brand-700: #085a40;
  --brand-800: #06432f;
  --brand-50: #e7f3ed;
  --brand-100: #cfe8db;
  --accent: #f5b82e;
  --accent-700: #c98d05;
  --accent-50: #fff6df;
  --warn: #b4441c;
  --warn-50: #fdf0ea;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 27, .06), 0 1px 1px rgba(16, 32, 27, .04);
  --shadow: 0 10px 30px -12px rgba(16, 32, 27, .18), 0 2px 6px rgba(16, 32, 27, .05);
  --shadow-lg: 0 30px 60px -20px rgba(6, 67, 47, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 16px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 110, 79, .6); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 18px -8px rgba(201, 141, 5, .7); }
.btn--accent:hover { background: #ffc642; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn--light:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .88);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16, 32, 27, .2); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); flex-shrink: 0; }
.logo__mark { width: 38px; height: 38px; }
.logo__text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.02em; }
.logo__text b { color: var(--brand); font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: 8px 11px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { background: var(--brand-50); color: var(--brand-800); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle__bar { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--surface); padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 12px 12px; font-size: 1rem; }
}

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--brand-800); color: #d6e7de; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .8125rem/1 var(--font); text-transform: uppercase; letter-spacing: .09em; color: var(--brand); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.section-title--sm { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 24px; }
.section-lead { font-size: 1.125rem; color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 110, 79, .14), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -160px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245, 184, 46, .18), transparent 70%); pointer-events: none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 62%, rgba(245, 184, 46, .45) 62%); }
.hero__lead { font-size: 1.1875rem; color: var(--muted); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B6E4F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.hero__checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; font-size: .9875rem; }
.hero__note { margin-top: 26px; font-size: .875rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 14px; max-width: 620px; }

.hero-card { position: relative; background: var(--brand-800); color: #d9eae1; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(245, 184, 46, .14); }
.hero-card__quote { position: relative; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; font-weight: 700; color: #fff; margin: 0 0 24px; }
.hero-card__quote::before { content: "“"; display: block; font-size: 3.5rem; line-height: .6; color: var(--accent); margin-bottom: 10px; }
.hero-stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.hero-stats li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 16px; }
.hero-stats strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.hero-stats span { font-size: .8125rem; color: #b7d3c5; line-height: 1.4; display: block; }
.hero-card__foot { position: relative; margin: 20px 0 0; font-size: .8125rem; color: #a9c8b9; }

@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .hero { padding-top: 40px; } .hero__checklist { grid-template-columns: 1fr; } .hero-card { padding: 26px; } .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- Cartões ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card--link:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-top: 14px; }
.card__more::after { content: "→"; transition: transform .2s; }
.card--link:hover .card__more::after { transform: translateX(3px); }
.card__stretch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.area-card { display: flex; flex-direction: column; }
.area-card p { color: var(--muted); font-size: .975rem; }
.area-card__salary { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: .875rem; color: var(--ink-2); }
.area-card__salary strong { color: var(--brand-800); }

.number-card { counter-increment: n; }
.number-card::before { content: counter(n, decimal-leading-zero); display: block; font: 800 1rem/1 var(--font-display); color: var(--accent-700); margin-bottom: 14px; }
.number-grid { counter-reset: n; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.principles { display: grid; gap: 16px; }
.principle { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.principle h3 { font-size: 1.05rem; margin-bottom: 4px; }
.principle p { margin: 0; color: var(--muted); font-size: .975rem; }
.principle .card__icon { margin: 0; flex-shrink: 0; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Passos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 1.05rem/1 var(--font-display); margin-bottom: 16px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: .9375rem; color: var(--muted); }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Guias (home) ---------- */
.guide-group + .guide-group { margin-top: 40px; }
.guide-group__title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 16px; }
.link-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.link-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink-2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.link-tile strong { color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; }
.link-tile span { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.link-tile:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-2); }
@media (max-width: 980px) { .link-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .link-tiles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.faq-group h3 { font-size: 1.1rem; margin: 0 0 12px; color: var(--brand-800); }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; color: var(--ink); position: relative; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230B6E4F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item > :not(summary) { padding: 0 20px; color: var(--ink-2); }
.faq-item > :last-child { padding-bottom: 18px; margin-bottom: 0; }
@media (max-width: 900px) { .faq-groups { grid-template-columns: 1fr; } }

/* ---------- Contato / formulário ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.info-list .card__icon { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
.info-list strong { display: block; }
.info-list span { color: var(--muted); font-size: .9375rem; }
.after-send { background: var(--brand-50); border-radius: var(--radius); padding: 22px; }
.after-send h3 { font-size: 1.05rem; }
.after-send ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: .9625rem; }
.after-send li + li { margin-top: 6px; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.field .req { color: var(--warn); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 12px;
  padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(11, 110, 79, .12); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--warn); }
.field__hint { font-size: .8125rem; color: var(--muted); }
.field__error { font-size: .8125rem; color: var(--warn); display: none; }
.field.has-error .field__error { display: block; }
.form__title { font-size: 1.35rem; margin-bottom: 20px; }
.form__legal { font-size: .8125rem; color: var(--muted); margin: 14px 0 0; }
.form[hidden] { display: none; }
.form--thanks { text-align: center; padding: 44px 32px; animation: pop .3s ease-out; }
.form--thanks:focus { outline: none; }
.form--thanks p { color: var(--ink-2); }
.form__thanks-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.form__thanks-icon svg { width: 32px; height: 32px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: 22px; } .form__row { grid-template-columns: 1fr; gap: 0; } }

@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Página interna: hero ---------- */
.page-hero { padding: 48px 0 44px; background: linear-gradient(180deg, var(--tint), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.025em; max-width: 920px; }
.page-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 820px; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; font-size: .8125rem; color: var(--muted); }
.page-hero__meta span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Layout de guia ---------- */
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 48px; padding-bottom: 72px; align-items: start; }
.guide-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; }
.toc__title { font: 700 .8125rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .9rem; line-height: 1.4; border-left: 2px solid transparent; }
.toc a:hover { background: var(--tint); }
.toc a.is-active { color: var(--brand-800); background: var(--brand-50); border-left-color: var(--brand); }
.aside-card { background: var(--brand-50); border-radius: var(--radius); padding: 20px; font-size: .9375rem; }
.aside-card__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.aside-card--warn { background: var(--accent-50); }
@media (max-width: 1024px) {
  .guide-layout { grid-template-columns: 1fr; gap: 32px; }
  .guide-aside { position: static; max-height: none; order: -1; }
  .guide-aside .aside-card { display: none; }
}

/* ---------- Prosa ---------- */
.prose { min-width: 0; }
.prose > section + section { margin-top: 56px; }
.prose h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 1.9rem); margin-top: 0; padding-top: 4px; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose h2 + h3, .prose h2 + .company-grid, .prose h2 + .tags { margin-top: .6em; }
.prose h4 { font-size: 1.02rem; margin-top: 1.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--accent-50); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); }
.prose blockquote p:last-child { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.legal-body { padding-top: 48px; padding-bottom: 80px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-body h2:first-child { margin-top: 0; }

/* Tabelas */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--tint); font-family: var(--font-display); color: var(--ink); font-size: .9rem; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap caption { caption-side: bottom; text-align: left; padding: 10px 16px; font-size: .8125rem; color: var(--muted); }

/* Destaques */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); margin: 1.6em 0; color: var(--ink-2); }
.callout::before { content: "i"; flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font: 800 .9rem/1 var(--font-display); }
.callout p:last-child { margin-bottom: 0; }
.callout--warn { background: var(--warn-50); border-color: #f4d3c4; }
.callout--warn::before { content: "!"; background: var(--warn); }
.callout--tip { background: var(--accent-50); border-color: #f6e2ad; }
.callout--tip::before { content: "★"; background: var(--accent-700); font-size: .8rem; }

/* Lista de verificação no texto */
.prose .checklist { margin-bottom: 1.4em; }
.prose .checklist li { margin-bottom: .55em; }

/* Etapas numeradas no texto */
.step-list { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; margin: 1.4em 0; }
.step-list > li { position: relative; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: s; margin: 0; }
.step-list > li::before { content: counter(s); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font: 800 .9rem/1 var(--font-display); }
.step-list > li strong:first-child { display: block; margin-bottom: 2px; }

/* Empresas */
.company-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.4em 0 1.8em; }
.company { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; display: flex; flex-direction: column; }
.company h3 { font-size: 1.1rem; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.company h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.company p { font-size: .9625rem; margin-bottom: .8em; }
.company .tags { margin-top: auto; }
.company--wide { grid-column: 1 / -1; }
@media (max-width: 720px) { .company-grid { grid-template-columns: 1fr; } }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 1em; }
.tags li { margin: 0; font-size: .8125rem; line-height: 1.3; padding: 5px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); color: var(--ink-2); }
.tags__label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; font-weight: 600; }

/* Ficha (definition list) */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 1.2em 0 1.6em; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* Pró / contra */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.4em 0; }
.pros-cons > div { border-radius: var(--radius); padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); }
.pros-cons h4 { margin-top: 0; }
.pros-cons ul { margin: 0; }
.pros-cons .pros { border-top: 4px solid var(--brand); }
.pros-cons .cons { border-top: 4px solid var(--warn); }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }

/* Mini-cards de link dentro do texto */
.inline-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1.2em 0 1.6em; }
.inline-links a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; }
.inline-links a span { display: block; font-weight: 400; color: var(--muted); font-size: .875rem; }
.inline-links a:hover { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .inline-links { grid-template-columns: 1fr; } }

/* Hub de setores */
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sector-card { display: flex; flex-direction: column; }
.sector-card .tags { margin: 6px 0 0; }
@media (max-width: 760px) { .sector-grid { grid-template-columns: 1fr; } }

/* ---------- Relacionados e CTA ---------- */
.related { padding: 64px 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 44px 20px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-2); transition: border-color .2s, box-shadow .2s, transform .2s; }
.related-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-2); }
.related-card__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.related-card__text { font-size: .9rem; color: var(--muted); }
.related-card__arrow { position: absolute; right: 18px; top: 20px; color: var(--brand); font-weight: 700; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--brand-800); color: #cfe3d8; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(245, 184, 46, .12); }
.cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 640px; }
@media (max-width: 760px) { .cta-band__inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Faixa de confiança ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust__item { padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.trust__item strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.trust__item span { font-size: .9rem; color: #b7d3c5; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Rodapé ---------- */
.site-footer { background: #0c1915; color: #a9bbb3; padding: 64px 0 28px; font-size: .9375rem; }
.site-footer a { color: #d7e6df; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__text b { color: var(--accent); }
.site-footer .logo { color: var(--brand); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand p { margin: 16px 0 20px; max-width: 360px; }
.footer-title { font: 700 .8125rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .09em; color: #fff; margin: 0 0 14px; }
.footer-col ul, .footer-bottom ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 9px; }
.footer-legal { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 40px; padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .875rem; line-height: 1.6; }
.footer-block p { margin-bottom: .8em; }
.footer-company { color: #d7e6df; }
.footer-company strong { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .8125rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-legal { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px;
  display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px;
  background: var(--ink); color: #d7e6df; box-shadow: var(--shadow-lg); font-size: .875rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--accent); }
@media (max-width: 520px) { .cookie-banner { flex-direction: column; align-items: stretch; } }

/* ---------- Voltar ao topo ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cookie-banner, .guide-aside, .cta-band, .related, .to-top { display: none !important; }
  .guide-layout { display: block; }
}
