/* Recovery Mediações Financeiras — visual v3.
   Azul-marinho e dourado da logo, creme como superfície quente, fotos reais de pessoas.
   Títulos em Fraunces (serifada) com destaque dourado em itálico; texto em Inter. */

:root {
  --bg: #ffffff;
  --cream: #f7f3ec;
  --sand: #eee6d6;
  --line: #e7e0d2;

  --ink: #0f1d33;
  --ink-2: #44516a;
  --ink-3: #66718a;

  --navy: #0c2340;
  --navy-2: #143259;
  --deep: #071628;
  --on-navy: #c9d4e4;
  --gold: #c9a24a;
  --gold-2: #d8b465;
  --gold-ink: #7a5a12;
  --gold-soft: #f6ecd6;
  --green: #1d7a3e;
  --green-2: #166533;
  --green-soft: #e4f3e9;
  --red: #b42318;
  --blue: #1a4e9f;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --t-display: clamp(2.75rem, 5.8vw, 5.75rem);
  --t-head: clamp(2.125rem, 3.8vw, 3.5rem);
  --t-lead: clamp(1.125rem, 1.4vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --gutter: max(clamp(20px, 4vw, 64px), calc((100vw - 1600px) / 2));
  --sec: clamp(80px, 9vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, iframe { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2 { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: var(--t-display); line-height: 1; letter-spacing: -0.028em; }
h2 { font-size: var(--t-head); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold-ink); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; text-wrap: balance; }
p { text-wrap: pretty; }
.lead { font-size: var(--t-lead); color: var(--ink-2); line-height: 1.6; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }
.section--cream { background: var(--cream); }
.head { display: grid; gap: 18px; margin-bottom: clamp(44px, 5vw, 72px); max-width: 48rem; }
.head p { color: var(--ink-2); font-size: var(--t-lead); line-height: 1.6; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(44px, 5vw, 72px); }
.head__row .head { margin-bottom: 0; }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}
.btn--lg { min-height: 58px; padding: 14px 30px; font-size: var(--t-body); }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn--gold { background: var(--gold); color: var(--deep); }
.btn--gold:hover { background: var(--gold-2); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); }
.btn--line { border-color: rgb(255 255 255 / 0.45); color: #fff; }
.btn--line:hover { border-color: #fff; background: rgb(255 255 255 / 0.08); }
.btn--line-dark { border-color: var(--ink); color: var(--ink); }
.btn--line-dark:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: var(--green-2); }
.btn .ico { transition: transform 180ms var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: translateY(0) scale(0.98); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; min-height: 44px; }
.link:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.link .ico { width: 18px; height: 18px; transition: transform 180ms var(--ease); color: var(--gold-ink); }
.link:hover .ico { transform: translateX(4px); }

/* ---------- Faixa superior ---------- */
.topbar { background: var(--deep); color: var(--on-navy); font-size: 0.875rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.topbar p, .topbar nav { display: flex; align-items: center; gap: 24px; }
.topbar a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.topbar a:hover { color: #fff; }
.topbar .ico { width: 16px; height: 16px; color: var(--gold); }
@media (max-width: 760px) { .topbar__left { display: none !important; } .topbar__in { justify-content: center; } }

/* ---------- Cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow 200ms ease, transform 320ms var(--ease); }
.header.is-away { transform: translateY(-100%); }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(7 22 40 / 0.35); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: 40px; }
.brand__txt { display: grid; line-height: 1; }
.brand__txt b { font-family: var(--serif); font-weight: 600; font-size: 1.625rem; letter-spacing: -0.015em; line-height: 0.95; color: var(--navy); }
.brand__txt small { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; color: var(--gold-ink); margin-top: 5px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--ink-2); transition: color 150ms ease; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav__cta { margin-left: 14px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--cream); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms ease, top 200ms ease; }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 27px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
@media (max-width: 1100px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); padding: 12px var(--gutter) 24px; box-shadow: 0 24px 40px -24px rgb(7 22 40 / 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }
  .header.is-top .nav { top: 120px; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 180ms ease; }
  .nav a:not(.btn) { min-height: 56px; font-size: var(--t-body); color: var(--ink); padding: 0 12px; }
  .nav a:not(.btn)::after { left: 12px; right: auto; width: 32px; bottom: 10px; }
  .nav__cta { margin: 12px 0 0; min-height: 56px; }
}

/* ---------- Abertura (início) ---------- */
.hero { background: var(--navy); color: #fff; overflow: clip; position: relative; }
.hero::before { /* luz suave atrás da foto */
  content: ""; position: absolute; width: 900px; height: 900px; right: -200px; top: -300px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(201 162 74 / 0.18), transparent); pointer-events: none;
}
.hero__in {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center;
  padding-block: clamp(48px, 6vw, 96px) clamp(56px, 6vw, 104px);
  min-height: min(calc(100svh - 120px), 860px);
}
.hero__text { grid-column: 1 / span 6; display: grid; justify-items: start; }
.hero h1 { color: #fff; }
.hero h1 em, .phero h1 em, .section--navy h1 em, .section--navy h2 em, .cta-final h2 em, .doc-hero h1 em { color: var(--gold-2); }
.hero .lead { margin-top: 28px; max-width: 34rem; color: var(--on-navy); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.14); width: 100%; max-width: 36rem; }
.stats li { padding-right: 20px; }
.stats li + li { padding-left: 20px; border-left: 1px solid rgb(255 255 255 / 0.14); }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; color: #fff; }
.stats span { display: block; margin-top: 8px; font-size: var(--t-small); color: var(--on-navy); line-height: 1.4; }

.hero__art { grid-column: 7 / -1; position: relative; padding: 0 0 48px 48px; }
.photo { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--navy-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo { aspect-ratio: 5 / 5.2; }
.hero__photo img { object-position: 58% 40%; }

/* Peças de interface sobre a foto */
.float-card {
  position: absolute; z-index: 2; background: var(--bg); color: var(--ink); border-radius: var(--r);
  box-shadow: 0 2px 6px rgb(7 22 40 / 0.08), 0 30px 60px -24px rgb(7 22 40 / 0.5);
}
.mini { left: 0; bottom: 0; width: min(78%, 360px); padding: 20px 22px; }
.mini__top { display: flex; align-items: center; gap: 10px; }
.mini__top b { font-size: 1rem; font-weight: 600; }
.tag { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--gold-ink); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; }
.mini__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: var(--t-small); color: var(--ink-2); }
.mini__row b { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.mini__row--real b { color: var(--gold-ink); }
.mini__bar { height: 8px; margin-top: 8px; border-radius: 999px; background: #edf0f5; overflow: hidden; }
.mini__bar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: inherit; background: #9db6dd; transform-origin: left center; }
.mini__row--real + .mini__bar i { background: var(--gold); }
.badge { right: 24px; top: 24px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; }
.badge__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.badge b { display: block; font-size: var(--t-small); font-weight: 600; line-height: 1.25; }
.badge small { display: block; font-size: 0.8125rem; color: var(--ink-3); line-height: 1.3; }

@media (max-width: 1060px) {
  .hero__in { min-height: 0; }
  .hero__text, .hero__art { grid-column: 1 / -1; }
  .hero__art { padding: 0 0 40px 24px; max-width: 680px; }
  .hero__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .hero__ctas .btn { width: 100%; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .stats li, .stats li + li { padding: 0; border: 0; display: flex; align-items: baseline; gap: 14px; }
  .stats span { margin: 0; }
  .hero__art { padding: 0 0 56px; }
  .mini { width: calc(100% - 24px); left: 12px; }
  .badge { display: none; }
}

/* ---------- Abertura das páginas internas ---------- */
.phero { background: var(--navy); color: #fff; overflow: clip; position: relative; }
.phero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -320px; border-radius: 50%; background: radial-gradient(closest-side, rgb(201 162 74 / 0.16), transparent); pointer-events: none; }
.phero__in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; padding-block: clamp(40px, 5vw, 80px) clamp(56px, 6vw, 96px); }
.phero__text { grid-column: 1 / span 6; display: grid; justify-items: start; }
.phero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.75rem); }
.phero .lead { margin-top: 24px; max-width: 36rem; color: var(--on-navy); }
.phero .hero__ctas { margin-top: 32px; }
.phero__art { grid-column: 8 / -1; }
.phero__photo { aspect-ratio: 4 / 3.3; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin-bottom: 16px; font-size: var(--t-small); color: var(--on-navy); }
.crumbs a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.crumbs > span { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--gold); }
.phero--compact .phero__text { grid-column: 1 / span 8; }
.phero--compact .phero__in { padding-block: clamp(40px, 5vw, 72px) clamp(48px, 5vw, 80px); }
.catnav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.catnav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgb(255 255 255 / 0.3); color: #fff; font-weight: 500; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.catnav a:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
@media (max-width: 1060px) {
  .phero__text, .phero__art, .phero--compact .phero__text { grid-column: 1 / -1; }
  .phero__art { max-width: 680px; }
}
@media (max-width: 560px) { .phero .hero__ctas .btn { width: 100%; } }

/* ---------- Problema: quando a parcela aperta ---------- */
.pain { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.pain__photo { grid-column: 1 / span 5; aspect-ratio: 4 / 4.6; }
.pain__photo img { object-position: 50% 50%; }
.pain__text { grid-column: 7 / -1; }
.pain__text .head { margin-bottom: 40px; }
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pains li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.section:not(.section--cream) .pains li { background: var(--cream); border-color: transparent; }
.pains b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--gold-ink); line-height: 1; }
.pains p { margin-top: 12px; color: var(--ink); }
@media (max-width: 1060px) {
  .pain__photo, .pain__text { grid-column: 1 / -1; }
  .pain__photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) { .pains { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cartões com foto (serviços) ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms ease; }
.section--cream .card { border-color: transparent; }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgb(7 22 40 / 0.4); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px 24px 20px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.625rem; letter-spacing: -0.015em; line-height: 1.15; }
.card p { color: var(--ink-2); }
.card .link { margin-top: auto; padding-top: 8px; }
@media (max-width: 1200px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards, .cards--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Etapas numeradas ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: passo; }
.steps li { position: relative; background: var(--bg); border-radius: var(--r-lg); padding: 32px 28px 30px; border: 1px solid var(--line); }
.section--cream .steps li { border-color: transparent; }
.steps li::before { counter-increment: passo; content: counter(passo, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 3.25rem; line-height: 1; color: #9a7425; letter-spacing: -0.03em; }
.steps h3 { margin-top: 28px; font-family: var(--serif); font-weight: 500; font-size: 1.625rem; letter-spacing: -0.015em; }
.steps p { margin-top: 10px; color: var(--ink-2); }
.steps__go { position: absolute; top: 52px; right: -14px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.steps__go .ico { width: 14px; height: 14px; }
.steps li:last-child .steps__go { display: none; }
.steps__more { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; }
@media (max-width: 1060px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps__go { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Texto e foto lado a lado ---------- */
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; align-items: center; }
.duo__photo { grid-column: 1 / span 6; aspect-ratio: 4 / 3.4; }
.duo__text { grid-column: 8 / -1; display: grid; gap: 20px; justify-items: start; }
.duo--flip .duo__photo { grid-column: 7 / -1; grid-row: 1; }
.duo--flip .duo__text { grid-column: 1 / span 5; grid-row: 1; }
.duo__text > p:not(.lead) { color: var(--ink); max-width: 36em; }
@media (max-width: 1060px) {
  .duo__photo, .duo__text, .duo--flip .duo__photo, .duo--flip .duo__text { grid-column: 1 / -1; grid-row: auto; }
  .duo__photo { aspect-ratio: 16 / 10; }
}

/* Lista com marca dourada */
.checks { display: grid; gap: 18px; width: 100%; }
.checks li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: start; }
.checks .tick { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.section--cream .checks .tick { background: var(--bg); }
.checks .tick .ico { width: 16px; height: 16px; stroke-width: 2.8; }
.checks h3 { font-size: 1.125rem; }
.checks p { margin-top: 4px; color: var(--ink-2); }
.checks--no .tick { background: #fbe9e7; color: var(--red); }

/* Grade de itens (o que analisamos) */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid3 li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.section--cream .grid3 li { border-color: transparent; }
.grid3 .tick { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); margin-bottom: 20px; }
.grid3 .tick .ico { width: 18px; height: 18px; stroke-width: 2.6; }
.grid3 p { margin-top: 8px; color: var(--ink-2); }
.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1060px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid3, .grid2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Simulador ---------- */
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: clip; }
.section--navy h1, .section--navy h2 { color: #fff; }
.section--navy .head p { color: var(--on-navy); }
.sim { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 96px); row-gap: 40px; align-items: center; }
.sim__form { display: grid; gap: 24px; padding: clamp(24px, 3.2vw, 44px); align-content: start; background: var(--bg); color: var(--ink); border-radius: var(--r-lg); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 1rem; padding: 0; }
.field small { color: var(--ink-3); font-size: var(--t-small); }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"] {
  width: 100%; min-height: 56px; padding: 12px 18px; border: 1.5px solid #d5dbe5; border-radius: var(--r-sm);
  background: var(--bg); font-size: 1.125rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: border-color 150ms ease;
}
.field input::placeholder { color: #8a95a8; font-weight: 400; }
.field input:hover { border-color: #aab5c6; }
.field input:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field .err { color: var(--red); font-weight: 600; }
.prazo { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.prazo__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pchip { min-width: 60px; min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); border: 1.5px solid #d5dbe5; background: var(--bg); font-weight: 600; font-size: var(--t-body); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.pchip:hover { border-color: var(--ink); }
.pchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.prazo__outro { position: relative; flex: 1 1 130px; max-width: 180px; }
.prazo__outro input { min-height: 52px !important; padding-right: 72px !important; }
.prazo__outro > span[aria-hidden] { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 500; pointer-events: none; }
.sim__out { color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.sim__rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.sim__rate .num { font-family: var(--serif); font-weight: 400; font-size: clamp(4rem, 9vw, 8.5rem); letter-spacing: -0.045em; line-height: 1; color: var(--gold-2); }
.sim__rate small { font-size: var(--t-lead); font-weight: 500; color: var(--on-navy); }
.sim__year { margin-top: 12px; color: var(--on-navy); font-size: var(--t-lead); line-height: 1.45; max-width: 24em; }
.sim__year b { color: #fff; font-weight: 600; }
.bar { display: flex; height: 12px; margin-top: 32px; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / 0.1); }
.bar__p { background: #9db6dd; width: 60%; transition: width 450ms var(--ease); }
.bar__j { background: var(--gold); width: 40%; transition: width 450ms var(--ease); }
.sim__rows { margin-top: 20px; display: grid; }
.sim__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.sim__rows dt { display: inline-flex; align-items: center; gap: 10px; color: #d5ddea; }
.sim__rows dd { font-weight: 600; text-align: right; }
.sim__rows .sim__total { border-bottom: 0; padding-top: 16px; }
.sim__rows .sim__total dt { color: #fff; font-weight: 600; }
.sim__rows .sim__total dd { font-size: 1.25rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--p { background: #9db6dd; }
.dot--j { background: var(--gold); }
.sim__cmp, .sim__err { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 500; font-size: 1rem; line-height: 1.45; }
.sim__cmp { background: rgb(201 162 74 / 0.18); color: #f6e2b5; }
.sim__cmp.is-ok { background: rgb(29 122 62 / 0.3); color: #cdeed8; }
.sim__err { background: rgb(180 35 24 / 0.3); color: #ffd9d4; }
.sim__out .btn { margin-top: 24px; }
.sim__note { margin-top: 14px; font-size: var(--t-small); color: #aebbd0; line-height: 1.5; }
.sim.is-err .sim__rate .num, .sim.is-err .sim__year, .sim.is-err .bar, .sim.is-err .sim__rows { opacity: 0.35; }
.sim-page { padding-top: clamp(48px, 6vw, 88px); }
.sim-page h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
@media (max-width: 960px) { .sim { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .prazo__chips { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pchip { min-width: 0; padding: 0; }
  .prazo__outro { max-width: none; flex-basis: 100%; }
}

/* ---------- Parcela aberta em partes (peça de interface) ---------- */
.pcard { margin: 0; width: 100%; max-width: 520px; background: var(--bg); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 2px 6px rgb(7 22 40 / 0.06), 0 40px 80px -40px rgb(7 22 40 / 0.4); justify-self: end; }
.pcard__top { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #e8ecf2; }
.pcard__top img { width: 40px; height: 40px; flex: none; }
.pcard__top b { display: block; font-size: var(--t-body); font-weight: 600; line-height: 1.3; }
.pcard__top small { display: block; font-size: var(--t-small); color: var(--ink-3); line-height: 1.35; }
.pcard__bar { display: flex; gap: 3px; height: 16px; margin: 22px 0 10px; border-radius: 999px; overflow: hidden; }
.pcard__bar i { display: block; height: 100%; width: calc(var(--w) * 100%); transform-origin: left center; }
.pcard__rows { display: grid; }
.pcard__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e8ecf2; }
.pcard__rows dt { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: var(--t-small); font-weight: 500; }
.pcard__rows dd { font-weight: 600; text-align: right; }
.pcard__rows .pcard__total { border-bottom: 0; padding-top: 14px; }
.pcard__total dt { color: var(--ink); font-size: var(--t-body); font-weight: 600; }
.pcard__total dd { font-family: var(--serif); font-weight: 500; font-size: 1.625rem; line-height: 1; }
.pcard__note { margin-top: 10px; font-size: var(--t-small); color: var(--ink-3); line-height: 1.45; }
.pc--a { background: #9db6dd; }
.pc--j { background: var(--gold); }
.pc--s { background: #5fb985; }
.pc--t { background: #b6c2d3; }
.pcard.duo__photo { aspect-ratio: auto; }
.why .duo__text { grid-column: 1 / span 5; align-self: start; }
.why .prose { grid-column: 7 / -1; }
@media (max-width: 1060px) { .pcard { justify-self: start; } .why .duo__text, .why .prose { grid-column: 1 / -1; } }
@media (max-width: 480px) { .pcard { padding: 20px; } }

/* ---------- Dúvidas ---------- */
.faq-wrap { max-width: 920px; margin-inline: auto; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 160ms ease, box-shadow 200ms ease; }
.section--cream .faq details { border-color: transparent; }
.faq details[open] { box-shadow: 0 20px 40px -30px rgb(7 22 40 / 0.35); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 18px 28px; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; border-radius: var(--r); }
.faq summary:hover { color: var(--navy-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--gold-ink); transition: transform 240ms var(--ease); }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq__a { padding: 0 28px 24px; color: var(--ink-2); max-width: 46em; }
.faq details:not([open]) .faq__a { display: none; }
.faq__a a { color: var(--navy); font-weight: 600; }
.faq__foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; margin-top: 40px; }
@media (max-width: 480px) { .faq summary { padding: 14px 20px; } .faq__a { padding: 0 20px 20px; } }

.faqpage__in { display: grid; gap: clamp(56px, 7vw, 96px); }
.faqcat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: start; }
.faqcat h2 { grid-column: 1 / span 4; font-size: clamp(1.875rem, 3vw, 2.75rem); position: sticky; top: 120px; }
.faqcat .faq__list { grid-column: 6 / -1; }
@media (max-width: 960px) { .faqcat h2, .faqcat .faq__list { grid-column: 1 / -1; position: static; } }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.contact__text { grid-column: 1 / span 6; display: grid; gap: 20px; align-content: start; }
.contact__text .lead { max-width: 32rem; }
.contact__form { grid-column: 8 / -1; display: grid; gap: 20px; align-content: start; background: var(--bg); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 60px -40px rgb(7 22 40 / 0.35); }
.wa-preview { margin-top: 12px; max-width: 440px; border-radius: var(--r); overflow: hidden; background: #efe7dc; box-shadow: 0 24px 48px -28px rgb(7 22 40 / 0.35); }
.wa-preview__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #075e54; color: #fff; }
.wa-preview__top img { width: 36px; height: 36px; border-radius: 50%; background: #fff; padding: 3px; }
.wa-preview__top b { display: block; font-size: 1rem; }
.wa-preview__top small { display: block; font-size: var(--t-small); opacity: 0.85; }
.wa-preview__body { padding: 16px 16px 28px; min-height: 200px; display: grid; justify-items: end; align-content: space-between; gap: 24px; }
.wa-day { justify-self: center; background: #fff; color: #54656f; font-size: var(--t-small); font-weight: 500; padding: 4px 12px; border-radius: 8px; }
.wa-bubble { max-width: 88%; background: #d9fdd3; color: #111b21; padding: 10px 14px; border-radius: 12px 0 12px 12px; font-size: var(--t-small); line-height: 1.45; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: grid; place-items: center; min-height: 52px; padding: 0 8px; border: 1.5px solid #d5dbe5; border-radius: var(--r-sm); font-weight: 600; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; text-align: center; }
.seg label:hover span { border-color: var(--ink); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.form__note { font-size: var(--t-small); color: var(--ink-3); text-align: center; }
.form__note a { color: var(--navy); font-weight: 600; }
.contact-page { padding-top: clamp(48px, 6vw, 88px); }
.contact-page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
@media (max-width: 960px) { .contact__text, .contact__form { grid-column: 1 / -1; } }

.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.channels li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.channels__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.channels p { margin-top: 6px; color: var(--ink-2); }
.channels .link { margin-top: 6px; overflow-wrap: anywhere; }
@media (max-width: 1060px) { .channels { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Onde estamos (mapa) ---------- */
.place { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: stretch; }
.place__text { grid-column: 1 / span 5; display: grid; gap: 20px; align-content: center; justify-items: start; }
.place__map { grid-column: 7 / -1; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--sand); }
.place__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; }
.facts div { background: var(--bg); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 2px; align-content: start; }
.facts dt { font-size: var(--t-small); color: var(--ink-3); }
.facts dd { font-weight: 600; line-height: 1.4; }
@media (max-width: 1060px) { .place__text, .place__map { grid-column: 1 / -1; } }
@media (max-width: 560px) { .facts { grid-template-columns: minmax(0, 1fr); } .place__map, .place__map iframe { min-height: 320px; } }

/* ---------- Onde achar cada número / glossário / etapas detalhadas ---------- */
.where { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.where div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.where b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.25rem; line-height: 1; color: #9a7425; margin-bottom: 18px; }
.where p { margin-top: 10px; color: var(--ink-2); }
@media (max-width: 1060px) { .where { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .where { grid-template-columns: minmax(0, 1fr); } }

.gloss-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.gloss-wrap__head { grid-column: 1 / span 4; display: grid; gap: 16px; position: sticky; top: 120px; }
.gloss { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gloss div { background: var(--bg); border-radius: var(--r); padding: 24px; }
.gloss dt { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; letter-spacing: -0.01em; }
.gloss dd { margin-top: 6px; color: var(--ink-2); }
@media (max-width: 960px) { .gloss-wrap__head, .gloss { grid-column: 1 / -1; position: static; } }
@media (max-width: 560px) { .gloss { grid-template-columns: minmax(0, 1fr); } }

.stepsx { display: grid; gap: 16px; counter-reset: etapa; }
.stepx { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; background: var(--bg); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); }
.stepx__head { grid-column: 1 / span 5; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-content: start; }
.stepx__head::before { counter-increment: etapa; content: counter(etapa, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--serif); font-style: italic; font-size: 2.75rem; line-height: 1; color: #9a7425; }
.stepx__head h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 2.6vw, 2.375rem); letter-spacing: -0.02em; line-height: 1.1; }
.stepx__head p { grid-column: 2; margin-top: 8px; color: var(--ink-2); }
.stepx__who { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stepx__who div { background: var(--cream); border-radius: var(--r-sm); padding: 20px; }
.stepx__who dt { font-weight: 600; color: var(--gold-ink); }
.stepx__who dd { margin-top: 6px; color: var(--ink); }
@media (max-width: 960px) { .stepx__head, .stepx__who { grid-column: 1 / -1; } }
@media (max-width: 560px) { .stepx__who { grid-template-columns: minmax(0, 1fr); } }

.prose { display: grid; gap: 20px; }
.prose p { max-width: 38em; }
.prose p:not(.lead) { color: var(--ink); }

/* ---------- Chamada final (grande, arredondada) ---------- */
.cta-final { padding-block: clamp(24px, 3vw, 48px) clamp(64px, 7vw, 112px); }
.cta-final__in { position: relative; overflow: hidden; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 0; align-items: stretch; background: var(--navy); color: #fff; border-radius: var(--r-xl); }
.cta-final__text { grid-column: 1 / span 7; padding: clamp(40px, 6vw, 88px); display: grid; gap: 20px; align-content: center; justify-items: start; }
.cta-final h2 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 4.25rem); }
.cta-final p { color: var(--on-navy); font-size: var(--t-lead); line-height: 1.55; max-width: 32rem; }
.cta-final .hero__ctas { margin-top: 12px; }
.cta-final__photo { grid-column: 8 / -1; position: relative; min-height: 360px; }
.cta-final__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-final__photo::before { content: ""; position: absolute; inset: 0 auto 0 -2px; width: calc(100% + 2px); z-index: 1; background: linear-gradient(90deg, var(--navy) 2px, rgb(12 35 64 / 0) 42%); }
@media (max-width: 960px) {
  .cta-final__text, .cta-final__photo { grid-column: 1 / -1; }
  .cta-final__photo { min-height: 280px; order: -1; }
  .cta-final__photo::before { background: linear-gradient(0deg, var(--navy), rgb(12 35 64 / 0) 50%); }
}
@media (max-width: 560px) { .cta-final .hero__ctas, .cta-final .hero__ctas .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--deep); color: var(--on-navy); padding-block: clamp(64px, 7vw, 96px) 32px; }
.footer .brand__txt b { color: #fff; }
.footer .brand__txt small { color: var(--gold); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.85fr)) minmax(0, 1.25fr); gap: 32px; }
.footer__brand p { margin-top: 16px; max-width: 22rem; }
.footer__col { display: grid; gap: 2px; align-content: start; }
.footer__col h2 { font-family: var(--font); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; color: var(--gold); }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-navy); text-decoration: none; justify-self: start; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__co p { font-size: 1rem; }
.footer__co p + p { margin-top: 10px; }
.footer__end { margin-top: 64px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; color: #9fadc4; font-size: var(--t-small); }
@media (max-width: 1100px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Botão fixo de WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 12px 28px -8px rgb(29 122 62 / 0.6); transition: transform 220ms ease, opacity 220ms ease, background-color 160ms ease; }
.wa-float:hover { background: var(--green-2); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float.is-hidden { opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none; }

/* ---------- Páginas de política ---------- */
.doc-hero { background: var(--navy); color: #fff; padding-block: clamp(40px, 5vw, 80px); }
.doc-hero__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: center; }
.doc-hero__text { grid-column: 1 / span 7; }
.doc-help { grid-column: 9 / -1; display: grid; gap: 14px; justify-items: start; background: var(--navy-2); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.doc-help h2 { color: #fff; font-size: clamp(1.5rem, 2vw, 1.875rem); }
.doc-help p { color: var(--on-navy); }
@media (max-width: 1060px) { .doc-hero__text, .doc-help { grid-column: 1 / -1; } }
.doc-hero h1 { color: #fff; font-size: var(--t-head); }
.doc-hero .lead { margin-top: 16px; max-width: 40rem; color: var(--on-navy); }
.doc-hero .upd { margin-top: 20px; font-size: var(--t-small); color: var(--gold-2); }
.doc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; padding-block: clamp(40px, 6vw, 80px); align-items: start; }
.doc__toc { grid-column: 1 / span 3; position: sticky; top: 104px; }
.doc__toc h2 { font-family: var(--font); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 8px; }
.doc__toc ol { display: grid; gap: 2px; }
.doc__toc a { display: flex; align-items: center; min-height: 44px; padding: 4px 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 1rem; line-height: 1.35; }
.doc__toc a:hover { background: var(--cream); color: var(--ink); }
.doc__body { grid-column: 5 / -1; display: grid; gap: 48px; max-width: 46rem; }
.doc__body h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); scroll-margin-top: 100px; }
.doc__body section > * + * { margin-top: 16px; }
.doc__body p, .doc__body li { color: var(--ink-2); }
.doc__body strong { color: var(--ink); }
.doc__body ul { display: grid; gap: 10px; }
.doc__body ul li { position: relative; padding-left: 28px; overflow-wrap: anywhere; }
.doc__body ul li::before { content: ""; position: absolute; left: 6px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.doc__body a { color: var(--navy); font-weight: 600; }
.doc__body .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doc__body .facts div { background: var(--cream); }
.doc__body .facts strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.doc__body .facts span { font-size: var(--t-small); color: var(--ink-2); line-height: 1.45; }
.callout { padding: 20px 24px; border-radius: var(--r); background: var(--green-soft); }
.callout p, .callout strong { color: var(--green-2) !important; }
@media (max-width: 960px) {
  .doc__toc { grid-column: 1 / -1; position: static; background: var(--cream); border-radius: var(--r); padding: 20px; }
  .doc__body { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .doc__body .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Animação ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.04em 0.14em; margin: -0.08em -0.04em -0.14em; }
.w > span, .w > em { display: inline-block; will-change: transform; }
.reveal-photo { clip-path: inset(0 0 0 0 round var(--r-xl)); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Formulário: envio por e-mail ---------- */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__form { position: relative; }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.form__status { padding: 12px 16px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green-2); font-weight: 500; font-size: var(--t-small); }
.form__status.is-err { background: #fbe9e7; color: var(--red); }
.contact__form.is-sent > :not(.form__ok) { display: none; }
.form__ok { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 12px 0; }
.form__okico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.form__okico .ico { width: 30px; height: 30px; stroke-width: 2.6; }
.form__ok h2 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; }
.form__ok p { color: var(--ink-2); max-width: 30em; }
button.link { background: none; border: 0; padding: 0 8px; cursor: pointer; font: inherit; font-weight: 600; }

/* ---------- Aviso de cookies ---------- */
.cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px var(--gutter) max(12px, env(safe-area-inset-bottom)); pointer-events: none; }
.cookies__in {
  pointer-events: auto; display: flex; align-items: center; gap: 16px 32px;
  background: var(--bg); color: var(--ink); border-radius: var(--r); padding: 18px 20px 18px 24px;
  box-shadow: 0 2px 8px rgb(7 22 40 / 0.1), 0 24px 60px -20px rgb(7 22 40 / 0.45);
  animation: cookies-in 420ms var(--ease) both;
}
.cookies p { flex: 1; font-size: var(--t-small); line-height: 1.55; color: var(--ink-2); }
.cookies p b { color: var(--ink); }
.cookies a { color: var(--navy); font-weight: 600; }
.cookies__btns { display: flex; gap: 10px; flex: none; }
.cookies .btn { min-height: 46px; padding: 10px 22px; }
@keyframes cookies-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .cookies__in { flex-direction: column; align-items: stretch; }
  .cookies__btns .btn { flex: 1; }
}
body.has-cookies .wa-float { bottom: calc(var(--cookies-h, 0px) + 12px); }
.footer__btn { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; color: var(--on-navy); font: inherit; cursor: pointer; justify-self: start; text-align: left; }
.footer__btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   Responsividade de ponta a ponta
   ===================================================================== */
/* Quando tudo vira uma coluna, a grade de 12 colunas sai: seus 11 espaçamentos não cabem em 320 px. */
@media (max-width: 1060px) {
  .hero__in, .phero__in, .pain, .duo, .place, .doc-hero__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .contact, .faqcat, .gloss-wrap, .stepx, .doc, .cta-final__in, .sim { grid-template-columns: minmax(0, 1fr); }
}
/* Tela estreita: botões podem quebrar linha e ocupam a largura toda. */
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; }
  .duo__text .btn, .steps__more .btn, .head__row .btn, .faq__foot .btn, .place__text .btn, .doc-help .btn { width: 100%; }
  .steps__more, .faq__foot { flex-direction: column; align-items: stretch; text-align: center; }
  .steps__more .link, .faq__foot .link { justify-content: center; }
}
/* Menu do celular: rola por dentro quando a tela é baixa (celular deitado). */
@media (max-width: 1100px) {
  .nav { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
}
/* Telas baixas deitadas: faixa superior some e o cabeçalho encolhe. */
@media (max-height: 520px) and (orientation: landscape) {
  .topbar { display: none; }
  .header__in { min-height: 64px; }
  .brand img { width: 34px; height: 34px; }
  .brand__txt b { font-size: 1.375rem; }
  html { scroll-padding-top: 76px; }
  .hero__in, .phero__in { padding-block: 32px 48px; }
}
/* Aviso de cookies compacto no celular. */
@media (max-width: 560px) {
  .cookies { padding: 8px 10px max(8px, env(safe-area-inset-bottom)); }
  .cookies__in { padding: 14px 16px; gap: 12px; }
  .cookies p { font-size: 0.875rem; line-height: 1.5; }
  .cookies .btn { min-height: 44px; padding: 8px 16px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .cookies__in { flex-direction: row; align-items: center; padding: 10px 14px; }
  .cookies p { font-size: 0.8125rem; }
  .cookies__btns .btn { flex: none; }
}
/* Textos com palavras longas (e-mail, links) quebram em vez de alargar a coluna. */
.doc__body { grid-template-columns: minmax(0, 1fr); }
.doc__body p, .faq__a p, .channels p, .footer p { overflow-wrap: anywhere; }
/* Menu compacto também quando a fonte do navegador está grande e o menu não cabe numa linha (o JS mede). */
html.menu-compacto .menu-btn { display: block; }
html.menu-compacto .nav {
  position: fixed; inset: 80px 0 auto 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 2px;
  background: var(--bg); padding: 12px var(--gutter) 24px; box-shadow: 0 24px 40px -24px rgb(7 22 40 / 0.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  overflow-y: auto; overscroll-behavior: contain;
}
html.menu-compacto .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms ease, transform 180ms ease; }
html.menu-compacto .nav a:not(.btn) { min-height: 56px; font-size: var(--t-body); color: var(--ink); padding: 0 12px; }
html.menu-compacto .nav a:not(.btn)::after { left: 12px; right: auto; width: 32px; bottom: 10px; }
html.menu-compacto .nav__cta { margin: 12px 0 0; min-height: 56px; }
.menu-btn { flex: none; }
.brand { min-width: 0; }

/* Fonte ampliada: títulos quebram palavras longas, selos e botões quebram linha em vez de vazar. */
h1, h2, h3 { overflow-wrap: anywhere; hyphens: auto; }
.btn { white-space: normal; }
.pcard__top, .mini__top { flex-wrap: wrap; }
.tag { white-space: nowrap; }
.nav a { white-space: nowrap; }

/* Tablet deitado e telas de 901 a 1060 px: abertura continua com texto e foto lado a lado. */
@media (min-width: 901px) and (max-width: 1060px) {
  .hero__in, .phero__in { grid-template-columns: repeat(12, minmax(0, 1fr)); min-height: 0; }
  .hero__text, .phero__text { grid-column: 1 / span 6; }
  .hero__art { grid-column: 7 / -1; padding: 0 0 40px 24px; max-width: none; }
  .phero__art { grid-column: 7 / -1; max-width: none; }
  .hero__photo { aspect-ratio: 4 / 4.8; }
  .hero h1, .phero h1 { font-size: clamp(2.75rem, 5.4vw, 3.5rem); }
}
/* Monitores grandes e ultrawide: a escala cresce junto, sem esticar as linhas de texto. */
@media (min-width: 2200px) { html { font-size: 112.5%; } :root { --gutter: calc((100vw - 1880px) / 2); } }
@media (min-width: 3000px) { html { font-size: 125%; } :root { --gutter: calc((100vw - 2200px) / 2); } }

/* Trilha de navegação no celular: vira um "voltar" curto, sem barras soltas no fim da linha. */
@media (max-width: 560px) {
  .crumbs > * { display: none !important; }
  .crumbs > a:last-of-type { display: inline-flex !important; gap: 6px; font-weight: 500; min-height: 48px; padding-right: 12px; }
  .crumbs > a:last-of-type::before { content: "‹"; color: var(--gold-2); font-size: 1.25em; line-height: 1; }
}

/* Menu aberto: fundo escurecido e página parada atrás. */
html.menu-aberto { overflow: hidden; }
body::after { content: ""; position: fixed; inset: 0; z-index: 45; background: rgb(7 22 40 / 0.5); opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 0s linear 180ms; }
html.menu-aberto body::after { opacity: 1; visibility: visible; transition: opacity 180ms ease; }

/* Fonte ampliada: os botões de escolha quebram em linhas em vez de se sobrepor. */
.seg { grid-template-columns: repeat(auto-fit, minmax(min(100%, 7.5em), 1fr)); }
.prazo__chips { flex-wrap: wrap; }

/* Telas muito baixas (zoom alto, celular deitado): botão flutuante menor. */
@media (max-height: 520px) { .wa-float { width: 48px; height: 48px; right: 12px; bottom: 12px; } .wa-float .ico { width: 24px; height: 24px; } }

/* Alto contraste do sistema: barras e marcadores continuam visíveis. */
@media (forced-colors: active) {
  .mini__bar i, .pcard__bar i, .bar__p, .bar__j, .dot, .tick { forced-color-adjust: none; }
  .btn, .card, .faq details, .float-card, .cookies__in { border: 1px solid CanvasText; }
}

/* ---------- Impressão ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  html { font-size: 11pt; }
  body { background: #fff !important; color: #000 !important; }
  .topbar, .nav, .menu-btn, .wa-float, .cookies, .cta-final, .hero__ctas, .steps__more, .faq__foot, .head__row > .btn,
  .contact__form, .wa-preview, .place__map, .doc-help, .doc__toc, .sim__form, #rEnviar, .catnav, .crumbs, .badge, .skip,
  .footer__col:not(.footer__co), .footer__btn { display: none !important; }
  .header { position: static; box-shadow: none !important; border-bottom: 1px solid #999; }
  .hero, .phero, .doc-hero, .section--navy, .section--cream, .footer { background: #fff !important; color: #000 !important; }
  .hero::before, .phero::before, body::after { display: none !important; }
  h1, h2, h3, .hero h1, .phero h1, .doc-hero h1, .section--navy h2, .section--navy h1 { color: #000 !important; }
  h1 em, h2 em { color: #5a4210 !important; }
  .lead, p, li, dd, dt, .stats span, .sim__year, .sim__rows dt, .footer p, .doc-hero .upd { color: #222 !important; }
  .section, .hero__in, .phero__in, .doc-hero, .doc { padding-block: 10mm !important; min-height: 0 !important; }
  .hero__in, .phero__in, .duo, .pain, .contact, .doc { display: block !important; }
  .photo, .cta-final__photo, .card__img { display: none !important; }
  .mini, .pcard { position: static; box-shadow: none !important; border: 1px solid #999; margin-top: 6mm; }
  .card, .grid3 li, .pains li, .steps li, .stepx, .where div, .gloss div, .channels li, .faq details, .facts div { border: 1px solid #bbb !important; box-shadow: none !important; background: #fff !important; break-inside: avoid; }
  .sim__rate .num, .sim__rate small, .stats b, .sim__rows dd, .sim__year b, .brand__txt b { color: #000 !important; }
  .stats { border-color: #999 !important; }
  .stats li + li { border-color: #999 !important; }
  .brand__txt small, .tag { font-size: 9pt !important; }
  h2, h3 { break-after: avoid; }
  .doc__body { max-width: none; }
  .doc__body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; }
  .footer { padding-block: 6mm !important; border-top: 1px solid #999; }
  .footer__top { display: block !important; }
  .footer__end { margin-top: 4mm; border-color: #999 !important; color: #444 !important; }
  .footer .brand__txt b { color: #000 !important; }
}
