/* RLuiz Contabilidade · folha de estilos
   Conceito: faixas largas em azul-marinho alternando com áreas claras;
   o laranja só aparece onde há ação (botões, links, estados). Visual de
   "livro contábil" discreto: linhas finas, números tabulares, etiquetas. */
:root {
  --navy: #011E45;
  --navy-2: #0B2D5E;
  --navy-line: rgba(255, 255, 255, .12);
  --orange: #FA7111;
  --orange-ink: #B9500A;      /* laranja escurecido para textos pequenos sobre branco (contraste AA) */
  --white: #FFFFFF;
  --paper: #F5F7FA;
  --sky: #EEF4FA;
  --ink: #011E45;
  --ink-2: #44546A;
  --muted: #64748B;
  --line: #DCE3EC;
  --ok: #157F4F;
  --err: #B42318;

  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.4rem + 3vw, 3.5rem);

  --r-sm: 8px; --r: 14px; --r-lg: 22px;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --shadow: 0 1px 2px rgba(1, 30, 69, .06), 0 8px 28px rgba(1, 30, 69, .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.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 { position: absolute; left: 12px; top: -60px; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; z-index: 100; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-sky { background: var(--sky); }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy); color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--1); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.band-navy .eyebrow { color: var(--orange); }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: var(--step-3); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: var(--step-1); }
.band-navy .section-head p { color: rgba(255, 255, 255, .78); }

/* Botões */
.btn { --bg: var(--orange); --fg: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; background: var(--bg); color: var(--fg); font: inherit; font-weight: 800; font-size: .95rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(250, 113, 17, .28); }
.btn-primary { --bg: var(--orange); --fg: var(--navy); }
.btn-ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: var(--navy); }
.band-navy .btn-ghost, .hero .btn-ghost { --fg: var(--white); border-color: rgba(255, 255, 255, .35); }
.band-navy .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--white); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Cabeçalho */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(1, 30, 69, .06); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { height: 46px; width: auto; }
.site-footer .brand img { height: 52px; }
.wordmark { font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1; }
.wordmark span { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.logo-slot { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1.5px dashed var(--line); color: var(--muted); font-size: .55rem; font-weight: 700; text-align: center; line-height: 1.1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--sky); color: var(--navy); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); }
.header-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; }
.nav-toggle svg { margin: auto; }
.nav-mobile-cta { display: none; }
@media (max-width: 1000px) {
  .nav-toggle { display: grid; }
  .header-cta .btn { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(1, 30, 69, .1); padding: 8px var(--gutter-r) 20px var(--gutter-l); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-mobile-cta { display: block; margin-top: 12px; }
  .nav-mobile-cta .btn { width: 100%; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 47px, var(--navy-line) 47px 48px); mask-image: linear-gradient(100deg, transparent 35%, #000 85%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lead { margin-top: 20px; font-size: var(--step-1); color: rgba(255, 255, 255, .8); max-width: 56ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slogan { margin-bottom: 20px; }
.hero .eyebrow { color: var(--orange); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Painel ilustrativo do hero */
.ledger { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .28); position: relative; }
.ledger-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ledger-head strong { font-size: 1rem; }
.ledger-head small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.ledger ol { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; font-weight: 600; }
.ledger li:last-child { border-bottom: 0; }
.ledger .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #E7F5EE; color: var(--ok); }
.ledger .tick.pending { background: #FFF1E6; color: var(--orange-ink); }
.ledger .tag { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ledger .tag.pending { color: var(--orange-ink); }
.ledger-foot { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--ink-2); }
.ledger-caption { margin-top: 12px; font-size: .75rem; color: rgba(255, 255, 255, .6); text-align: right; }

/* Apresentação: três frentes */
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro-grid .lead { font-size: var(--step-1); color: var(--ink-2); display: grid; gap: 16px; }
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: var(--step-1); font-weight: 800; margin-bottom: 4px; }
.pillar p { color: var(--ink-2); }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--sky); color: var(--navy); flex: none; }
.icon svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Serviços */
.svc-tabs { display: inline-flex; padding: 5px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.svc-tabs button { font: inherit; font-weight: 700; border: 0; background: transparent; color: var(--ink-2); padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 44px; }
.svc-tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; transition: border-color .15s, box-shadow .15s; }
.svc:hover { border-color: #B9C7D8; box-shadow: var(--shadow); }
.svc h3 { font-size: var(--step-1); font-weight: 800; }
.svc p { color: var(--ink-2); font-size: .95rem; }
.svc .link-arrow { margin-top: 6px; font-size: .92rem; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .svc-grid, .svc-grid.cols-2 { grid-template-columns: 1fr; } }
.svc-group + .svc-group { margin-top: 56px; }
.svc-group h2 { font-size: var(--step-2); font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }

/* Diferenciais */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.why h3 { font-size: var(--step-1); font-weight: 800; margin: 18px 0 8px; }
.why p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Como funciona: sequência real, numerada */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid var(--navy-line); }
.steps li { counter-increment: s; padding: 28px 24px 8px 0; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: .85rem; font-weight: 800; color: var(--orange); letter-spacing: .08em; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.steps li::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.steps h3 { font-size: var(--step-1); font-weight: 800; margin-bottom: 8px; }
.steps p { color: rgba(255, 255, 255, .75); font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--navy-line); padding-left: 24px; } .steps li { padding: 4px 0 28px; } .steps li::after { top: 6px; left: -29px; } }

/* Pré-diagnóstico */
.diag-shell { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.diag-aside { display: grid; gap: 18px; position: sticky; top: 104px; }
.diag-aside h2 { font-size: var(--step-3); font-weight: 800; }
.diag-aside p { color: var(--ink-2); font-size: var(--step-1); }
.diag-aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.diag-aside li { display: flex; gap: 10px; }
.diag-aside li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011E45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.diag-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(20px, 4vw, 40px); min-width: 0; }
@media (max-width: 900px) { .diag-shell { grid-template-columns: 1fr; } .diag-aside { position: static; } }

.stepform { display: grid; gap: 22px; }
.progress { display: grid; gap: 10px; }
.progress-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.progress-path { color: var(--orange-ink); }
.progress-track { height: 6px; background: var(--sky); border-radius: 999px; overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 0; background: var(--orange); border-radius: inherit; transition: width .35s ease; }
.step-title { font-size: var(--step-2); font-weight: 800; outline: none; }
.step-fields { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-label, .field legend { font-weight: 700; font-size: .95rem; color: var(--ink); padding: 0; }
.field .req { color: var(--orange-ink); }
.field-hint { font-size: .85rem; color: var(--muted); margin-top: -2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23011E45' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(1, 30, 69, .1); }
.field-error { font-size: .85rem; color: var(--err); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); }

.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-body { display: grid; gap: 4px; height: 100%; border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--white); transition: border-color .15s, background .15s, box-shadow .15s; }
.choice-pills .choice-body { border-radius: 999px; padding: 10px 16px; min-height: 44px; align-content: center; }
.choice-title { font-weight: 700; }
.choice-desc { font-size: .88rem; color: var(--ink-2); }
.choice:hover .choice-body { border-color: #9FB0C6; }
.choice input:checked + .choice-body { border-color: var(--navy); background: var(--sky); box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:focus-visible + .choice-body { outline: 3px solid var(--orange); outline-offset: 2px; }
.field-check .check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.field-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.is-consent .check { color: var(--ink); }
.privacy-note { font-size: .85rem; color: var(--muted); background: var(--paper); border-radius: var(--r-sm); padding: 12px 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .92rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--err); background: #FEF3F2; border-radius: var(--r-sm); padding: 12px 14px; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.step-actions .btn-primary { margin-left: auto; }

.stepform-done { display: grid; gap: 16px; outline: none; }
.done-mark { width: 52px; height: 52px; border-radius: 50%; background: #E7F5EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157F4F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/24px no-repeat; }
.done-text { font-size: var(--step-1); color: var(--ink-2); }
.done-proto { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.done-proto strong { color: var(--ink); letter-spacing: .04em; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.done-note { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.demo-payload summary { cursor: pointer; font-weight: 700; color: var(--orange-ink); font-size: .9rem; }
.demo-payload pre { background: var(--paper); border-radius: var(--r-sm); padding: 14px; font-size: .78rem; overflow-x: auto; max-height: 320px; }

/* Equipe */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.member { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.member-photo { width: 132px; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r); object-fit: cover; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 2rem; letter-spacing: -.02em; position: relative; overflow: hidden; }
.member-photo small { position: absolute; bottom: 8px; left: 0; right: 0; text-align: center; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.member h3 { font-size: var(--step-2); font-weight: 800; }
.member .role { color: var(--orange-ink); font-weight: 700; font-size: .9rem; margin: 4px 0 12px; }
.member p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .member { grid-template-columns: 1fr; } .member-photo { width: 120px; } }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); font-weight: 600; font-size: 1.25rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 52px 24px 0; color: var(--ink-2); }
.faq-more { margin-top: 28px; }

/* CTA final */
.cta-final { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-final h2 { font-size: var(--step-3); font-weight: 800; }
.cta-final p { margin-top: 14px; color: rgba(255, 255, 255, .78); font-size: var(--step-1); }
.cta-actions { display: grid; gap: 12px; justify-items: start; }
.channels { display: grid; gap: 4px; margin-top: 8px; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.channels a { color: var(--white); }
@media (max-width: 860px) { .cta-final { grid-template-columns: 1fr; } }

/* Páginas internas */
.page-hero { background: var(--navy); color: var(--white); padding-block: clamp(48px, 7vw, 88px); }
.page-hero h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; max-width: 18ch; }
.page-hero p { margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: var(--step-1); max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.prose { max-width: 72ch; display: grid; gap: 16px; color: var(--ink-2); }
.prose h2 { color: var(--ink); font-size: var(--step-2); font-weight: 800; margin-top: 24px; }
.prose h3 { color: var(--ink); font-size: var(--step-1); font-weight: 800; margin-top: 8px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.flag { display: inline-block; background: #FFF1E6; color: var(--orange-ink); font-weight: 700; font-size: .78rem; padding: 2px 8px; border-radius: 6px; letter-spacing: .02em; }
.tbc { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--orange-ink); background: #FFF1E6; padding: 2px 8px; border-radius: 6px; }
.band-navy .tbc { background: rgba(250, 113, 17, .16); color: #FFB27A; }
.note-box { background: var(--sky); border-radius: var(--r); padding: 22px 24px; display: grid; gap: 8px; }
.note-box h3 { font-size: var(--step-1); font-weight: 800; }
.note-box p { color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact-item .value { font-weight: 700; font-size: var(--step-1); word-break: break-word; }
.contact-item .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .85rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.notfound { text-align: left; padding-block: clamp(72px, 12vw, 140px); }
.notfound .code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--sky); -webkit-text-stroke: 2px var(--navy); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

/* Rodapé */
.site-footer { background: #00142F; color: rgba(255, 255, 255, .72); padding-block: 56px 32px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--white); }
.site-footer .wordmark span { color: rgba(255, 255, 255, .5); }
.site-footer .logo-slot { border-color: rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .5); }
.site-footer h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-slogan { margin-top: 14px; max-width: 34ch; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer-legal button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante (só no celular) */
.wa-float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; align-items: center; gap: 8px; min-height: 48px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 700; font-size: .9rem; box-shadow: 0 10px 26px rgba(1, 30, 69, .3); }
.wa-float:hover { color: var(--white); }
.wa-float svg { width: 22px; height: 22px; color: #3DDC84; }
@media (max-width: 760px) { .wa-float { display: inline-flex; } body { padding-bottom: 72px; } }

/* Aviso de cookies */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(1, 30, 69, .1); padding: 18px var(--gutter-r) calc(18px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
.cookie-inner { max-width: var(--wrap); margin: auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie p { max-width: 70ch; font-size: .9rem; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Ajustes pontuais (sem estilos inline, compatível com a CSP) */
.section-head.flush { margin-bottom: 0; }
.cta-final h2 { margin-top: 14px; }
.page-hero a, .band-navy p a { color: var(--orange); }
.page-hero a:hover, .band-navy p a:hover { color: var(--white); }
.notfound h1 { font-size: var(--step-3); font-weight: 800; margin-top: 16px; }
.notfound-lead { color: var(--ink-2); margin-top: 14px; }

/* Fundadora */
.founder { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1000px; }
.founder-photo { width: 100%; max-width: 100%; aspect-ratio: 4 / 5; border-radius: var(--r-lg); object-fit: cover; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 3.5rem; letter-spacing: -.03em; position: relative; overflow: hidden; box-shadow: 18px 18px 0 var(--sky); }
.band-sky .founder-photo { box-shadow: 18px 18px 0 var(--white); }
.founder-photo small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.founder-text { display: grid; gap: 14px; min-width: 0; }
.founder-text .role { color: var(--orange-ink); font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.founder-text h3 { font-size: var(--step-3); font-weight: 800; }
.founder-text p { color: var(--ink-2); font-size: var(--step-1); max-width: 58ch; }
.founder-team { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; font-size: 1rem !important; }
.founder-team svg { flex: none; color: var(--navy); margin-top: 2px; }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 300px; } }

/* Fatos do atendimento no hero */
.hero-facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .85); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--orange); flex: none; }
@media (max-width: 480px) { .ledger-head small { display: none; } }

/* Atalho do pré-diagnóstico no hero */
.quickstart { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); box-shadow: 0 30px 60px rgba(0, 0, 0, .28); display: grid; gap: 16px; min-width: 0; }
.qs-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.qs-title { font-size: var(--step-2); font-weight: 800; }
.qs-options { display: grid; gap: 12px; }
.qs-option { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s, transform .15s; }
.qs-option:hover { border-color: var(--navy); background: var(--sky); color: var(--ink); transform: translateY(-1px); }
.qs-text { display: grid; gap: 2px; min-width: 0; }
.qs-text strong { font-size: 1.02rem; }
.qs-text span { font-size: .88rem; color: var(--ink-2); line-height: 1.45; }
.qs-arrow { font-size: 1.3rem; font-weight: 700; color: var(--orange-ink); transition: transform .15s; }
.qs-option:hover .qs-arrow { transform: translateX(3px); }
.qs-foot { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* Serviço em destaque ocupa duas colunas */
.svc-grid > .svc-featured { grid-column: span 2; background: var(--navy); border-color: var(--navy); color: var(--white); }
.svc-featured p { color: rgba(255, 255, 255, .8); font-size: 1rem; max-width: 60ch; }
.svc-featured .icon { background: rgba(255, 255, 255, .1); color: var(--white); }
.svc-featured .link-arrow { color: var(--orange); }
.svc-featured .link-arrow:hover { color: var(--white); }
.svc-featured:hover { border-color: var(--navy); }
@media (max-width: 620px) { .svc-grid > .svc-featured { grid-column: auto; } }
