/*
  rc-core.css — sistema visual das calculadoras v2 (reescrito do zero, minimalista).

  Princípios: fundo branco, uma cor de destaque (turquesa da marca), tipografia
  Open Sans disciplinada, hairlines em vez de sombras, nenhum enfeite decorativo.
  As classes do funil de leads (lead-form, consent-banner, lead-modal…) são
  emitidas por rc-leads.js e precisam continuar existindo aqui.
*/

:root {
  --ink: #0d3247;          /* texto principal (petróleo da marca) */
  --ink-soft: #5b6b72;     /* texto secundário */
  --ink-faint: #93a1a7;    /* legendas e notas */
  --accent: #45c1c6;       /* turquesa da marca — único destaque */
  --accent-ink: #1f9297;   /* turquesa escurecida para texto sobre branco */
  --line: #e5ecee;         /* hairline padrão */
  --bg-soft: #f6f9fa;      /* fundo de apoio muito sutil */
  --danger: #b3564d;
  --content: 1020px;
  --font: "Open Sans", Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.3; }
p { margin: 0; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(var(--content), calc(100% - 3rem)); margin: 0 auto; }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 0; top: 0; background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 99; }

/* ---------- topo (header padrao V3 — skill rio-claro-brand) ---------- */

header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(9, 52, 76, .25);
}
header.site .bar {
  max-width: 1360px; margin: 0 auto; padding: 0.9rem clamp(1.4rem, 5vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
header.site .logo { display: inline-flex; align-items: center; flex: none; }
header.site .logo img { height: 40px; width: auto; max-width: none; object-fit: contain; }

nav.main { display: flex; align-items: center; gap: 1.7rem; }
nav.main > a { text-decoration: none; }
nav.main > a:not(.btn):not(.btn-login) {
  font-size: 0.88rem; font-weight: 500; color: var(--ink-soft);
  transition: color 0.3s; position: relative;
}
nav.main > a:not(.btn):not(.btn-login)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  border-radius: 2px; background: var(--accent); transition: width 0.35s ease;
}
nav.main > a:not(.btn):not(.btn-login):hover { color: var(--ink); text-decoration: none; }
nav.main > a:not(.btn):not(.btn-login):hover::after,
nav.main > a.active::after { width: 100%; }
nav.main > a.active { color: var(--ink); }
nav.main .btn { padding: 0.75rem 1.5rem; }
nav.main .btn-login {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink); font-weight: 600; font-size: 0.84rem;
  border-radius: 9999px; box-shadow: inset 0 0 0 1.6px rgba(13, 50, 71, .2);
  padding: 0.7rem 1.3rem; transition: color 0.3s, box-shadow 0.3s, transform 0.3s;
}
nav.main .btn-login svg { width: 16px; height: 16px; }
nav.main .btn-login:hover { box-shadow: inset 0 0 0 1.6px var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.7rem; border-radius: 9999px; border: none;
  font-size: 0.9rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.35s ease, background 0.35s, color 0.35s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(69, 193, 198, .5); }
.btn-primary:hover { background: var(--accent-ink); color: #fff; transform: translateY(-2px); }

.menu-btn { display: none; background: none; border: none; color: var(--ink); padding: 0.4rem; cursor: pointer; }

body { padding-top: 84px; }

/* ---------- drawer mobile ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 200; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 0 8vw;
  opacity: 0; pointer-events: none; transition: opacity 0.45s ease;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer a { text-decoration: none; }
.drawer a:not(.btn) {
  font-size: clamp(1.4rem, 6vw, 1.9rem); font-weight: 300; color: #fff;
  padding: 0.85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
  display: flex; justify-content: space-between; align-items: center;
}
.drawer a:not(.btn):hover { color: #fff; text-decoration: none; }
.drawer a:not(.btn) b { font-weight: 700; color: var(--accent); }
.drawer .btn { margin-top: 2rem; justify-content: center; }
.drawer .close {
  position: absolute; top: 1.6rem; right: 6vw; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 980px) {
  nav.main { display: none; }
  .menu-btn { display: block; }
}

/* ---------- cabeçalho da página ---------- */

.page-head { padding: 3rem 0 2rem; text-align: center; max-width: 720px; margin: 0 auto; }
.page-head h1 { font-size: 1.85rem; font-weight: 400; letter-spacing: -0.01em; }
.page-head h1 strong { font-weight: 700; }
.page-head .sub { margin: 0.5rem auto 0; color: var(--ink-soft); max-width: 58ch; }

/* ---------- cartão principal da calculadora ---------- */

.calc {
  display: grid;
  grid-template-columns: 320px 1fr;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }

.inputs {
  padding: 1.6rem 1.5rem;
  border-right: 1px solid var(--line);
  background: var(--bg-soft);
}
@media (max-width: 860px) { .inputs { border-right: 0; border-bottom: 1px solid var(--line); } }

.result { padding: 1.9rem 2rem 1.7rem; min-width: 0; }
@media (max-width: 640px) { .result { padding: 1.5rem 1.2rem; } }

/* ---------- campos ---------- */

.field { margin-bottom: 1.05rem; }
.field:last-child { margin-bottom: 0; }
.field > label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 0.3rem;
}

/* dica "?" com balão explicativo (hover no desktop, toque/foco no mobile) */
.hint {
  display: inline-grid; place-items: center;
  width: 15px; height: 15px; margin-left: 0.3rem; vertical-align: -1px;
  border: 0; border-radius: 50%; background: var(--line); color: var(--ink-soft);
  font-family: var(--font); font-size: 0.62rem; font-weight: 700; line-height: 1;
  cursor: help; position: relative; padding: 0;
}
.hint:hover, .hint:focus-visible { background: var(--accent); color: #fff; outline: none; }
.hint .tip {
  position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(4px);
  width: 216px; max-width: 74vw;
  background: var(--ink); color: #fff; font-weight: 400; font-size: 0.75rem; line-height: 1.45;
  text-align: left; padding: 0.6rem 0.75rem; border-radius: 9px;
  opacity: 0; visibility: hidden; transition: opacity 0.14s ease, transform 0.14s ease;
  z-index: 30; pointer-events: none;
  box-shadow: 0 10px 28px -10px rgba(13, 50, 71, 0.5);
}
.hint .tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--ink);
}
.hint:hover .tip, .hint:focus .tip, .hint:focus-visible .tip {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
/* balão ancorado à esquerda quando o "?" está perto da borda direita do painel */
.hint.tip-left .tip { left: auto; right: -4px; transform: translateY(4px); }
.hint.tip-left .tip::after { left: auto; right: 12px; transform: none; }
.hint.tip-left:hover .tip, .hint.tip-left:focus .tip, .hint.tip-left:focus-visible .tip { transform: translateY(0); }
.field input[type="text"], .field input[type="email"], .field input:not([type]), .field select {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dfe2;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  outline: none;
  transition: border-color 0.12s ease;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field select { appearance: auto; }

/* prefixo/sufixo dentro do campo */
.affix { position: relative; display: flex; align-items: center; }
.affix > input { flex: 1; }
.affix[data-prefix] > input { padding-left: 2.1rem; }
.affix[data-prefix]::before {
  content: attr(data-prefix);
  position: absolute; left: 0.7rem;
  font-size: 0.85rem; color: var(--ink-faint); pointer-events: none;
}
.affix[data-suffix] > input { padding-right: 3.4rem; text-align: right; }
.affix[data-suffix]::after {
  content: attr(data-suffix);
  position: absolute; right: 0.7rem;
  font-size: 0.8rem; color: var(--ink-faint); pointer-events: none;
}

/* linha campo + campo (ex.: valor | unidade) */
.field-row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem; }
.field-row select { width: auto; }

/* rótulo com seletor de unidade discreto à direita (ao ano/ao mês, anos/meses…) */
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; }
.label-row > label { margin-bottom: 0.3rem; white-space: nowrap; }
.field select.unit {
  width: auto; flex: none; border: 0; background: none; font-family: var(--font);
  font-size: 0.76rem; color: var(--accent-ink); cursor: pointer; padding: 0; outline: none;
}

/* slider fino pareado com campo */
.slider-row { display: grid; grid-template-columns: 1fr 118px; gap: 0.7rem; align-items: center; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 20px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 50%), #dbe4e7 var(--fill, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; margin-top: -5.5px;
  border-radius: 50%; background: #fff;
  border: 2px solid var(--accent);
}
input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: #dbe4e7; }
input[type="range"]::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--accent); }
input[type="range"]::-moz-range-thumb {
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent);
}
input[type="range"]:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* grupo avançado recolhido */
details.more { margin-bottom: 1.05rem; }
details.more > summary {
  cursor: pointer; font-size: 0.8rem; color: var(--ink-soft);
  list-style: none; user-select: none;
}
details.more > summary::before { content: "+ "; color: var(--accent-ink); }
details.more[open] > summary::before { content: "− "; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > .field:first-of-type { margin-top: 0.8rem; }

/* nota de premissa no rodapé dos inputs */
.method { margin-top: 1.3rem; font-size: 0.72rem; line-height: 1.5; color: var(--ink-faint); }

/* ---------- resultado ---------- */

.r-label { font-size: 0.8rem; color: var(--ink-soft); }
.r-big {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  margin-top: 0.1rem;
}
.r-sub { margin-top: 0.3rem; color: var(--ink-soft); font-size: 0.92rem; }
.r-sub strong { color: var(--ink); font-weight: 600; }

/* linha de estatísticas secundárias */
.stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 1.4rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.stat .s-label { font-size: 0.74rem; color: var(--ink-faint); }
.stat .s-value { font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .s-value.pos { color: var(--accent-ink); }

/* gráfico */
.chart-box { position: relative; height: 260px; margin-top: 1.5rem; }
@media (max-width: 640px) { .chart-box { height: 210px; } }
.chart-note { margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-soft); padding-left: 0.8rem; border-left: 2px solid var(--accent); }
.chart-note strong { color: var(--ink); }
.legend { display: flex; gap: 1.2rem; margin-top: 1.4rem; font-size: 0.76rem; color: var(--ink-soft); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 0.35rem; font-style: normal; }

/* ---------- comparadores (duas colunas) ---------- */

.duel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 1.4rem;
}
@media (max-width: 560px) { .duel { grid-template-columns: 1fr; } }
.duel.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { .duel.cols-3 { grid-template-columns: 1fr; } }

.side {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.side.win { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.side .d-tag {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent-ink); visibility: hidden;
}
.side.win .d-tag { visibility: visible; }
.side .d-name { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.1rem; }
.side .d-value { font-size: 1.45rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 0.05rem; }
.side .d-note { font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.15rem; }

/* barras horizontais simples (composição / comparação) */
.hbar-list { margin-top: 1.4rem; display: grid; gap: 0.55rem; }
.hbar { display: grid; grid-template-columns: 150px 1fr auto; gap: 0.8rem; align-items: center; font-size: 0.85rem; }
@media (max-width: 560px) { .hbar { grid-template-columns: 110px 1fr auto; } }
.hbar .h-name { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .h-track { height: 8px; border-radius: 4px; background: var(--bg-soft); overflow: hidden; }
.hbar .h-fill { height: 100%; border-radius: 4px; background: var(--accent); transition: width 0.35s ease; }
.hbar .h-value { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* barra empilhada de composição */
.stack { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin-top: 1.5rem; }
.stack > span { transition: flex-basis 0.35s ease; min-width: 2px; }
.stack-list { margin-top: 0.9rem; display: grid; gap: 0.35rem; }
.stack-item { display: flex; align-items: baseline; gap: 0.55rem; font-size: 0.85rem; }
.stack-item i { width: 9px; height: 9px; border-radius: 2px; flex: none; align-self: center; font-style: normal; }
.stack-item .si-name { color: var(--ink-soft); }
.stack-item .si-dots { flex: 1; border-bottom: 1px dotted var(--line); }
.stack-item .si-value { font-variant-numeric: tabular-nums; font-weight: 600; }
.stack-item .si-pct { color: var(--ink-faint); font-size: 0.76rem; width: 3.2rem; text-align: right; }

/* abas de modo (texto com sublinhado) */
.modes { display: flex; gap: 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 1.3rem; flex-wrap: wrap; }
.modes button {
  border: 0; background: none; cursor: pointer;
  font-family: var(--font); font-size: 0.88rem; color: var(--ink-soft);
  padding: 0 0 0.55rem; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
}
.modes button[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

/* ---------- detalhamento (zona do gate) ---------- */

.detail { margin-top: 2.4rem; }
.detail h2 { font-size: 1.05rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); text-align: center; }
.detail-body { padding-top: 1.2rem; }
.detail-body > p:last-child { text-align: center; }
.analysis { margin: 1.2rem auto 0; max-width: 70ch; display: grid; gap: 0.7rem; font-size: 0.92rem; color: var(--ink-soft); }
.analysis strong { color: var(--ink); }

/* formulário do gate — compacto, quieto e centralizado na página */
.gate-min {
  max-width: 400px;
  margin: 0 auto;
  padding: 1.4rem 0 0.4rem;
  text-align: center;
}
.gate-min > p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.gate-min .lead-form { text-align: left; }

/* tabela */
.tbl-wrap { overflow-x: auto; margin-top: 0.4rem; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.tbl th {
  text-align: right; font-weight: 600; font-size: 0.72rem; color: var(--ink-faint);
  padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl td {
  text-align: right; padding: 0.42rem 0.6rem; color: var(--ink);
  border-bottom: 1px solid var(--bg-soft);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.tbl tr.hl td { font-weight: 700; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font); font-size: 0.86rem; font-weight: 600;
  border-radius: 999px; padding: 0.6rem 1.4rem;
  background: var(--accent); color: #fff;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-ink); text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: none; color: var(--ink-soft); box-shadow: inset 0 0 0 1px #d5dfe2; }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-quiet {
  background: none; border: 0; color: var(--accent-ink); padding: 0.4rem 0;
  border-radius: 0; font-weight: 600; cursor: pointer; font-family: var(--font);
}
.btn-quiet:hover { background: none; text-decoration: underline; }
.btn-link { color: var(--accent-ink); text-decoration: underline; }
button.btn-link { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; }

/* ---------- funil de leads (markup emitido por rc-leads.js) ---------- */

.lead-form .field { margin-bottom: 0.8rem; }
.lead-form .btn { width: 100%; margin-top: 0.2rem; }
.checkbox-row {
  display: flex; gap: 0.5rem; align-items: flex-start;
  font-size: 0.74rem; color: var(--ink-soft); line-height: 1.45;
  margin: 0.4rem 0 0.9rem; cursor: pointer;
}
.checkbox-row input { margin-top: 3px; accent-color: var(--accent); flex: none; }
.form-alert {
  display: none; margin-top: 0.7rem; font-size: 0.82rem; color: var(--danger);
}
.form-alert.is-visible { display: block; }

.status-line { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 1rem; }
.status-line button { border: 0; background: none; font: inherit; color: var(--accent-ink); cursor: pointer; padding: 0; text-decoration: underline; }

/* honeypot anti-robô — fora da tela, nunca visível/focável */
.lead-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* nota discreta abaixo de um campo (ex.: telefone de outro país) */
.field-note { margin: 0.3rem 0 0; font-size: 0.72rem; color: var(--ink-faint); line-height: 1.35; }

/* sugestão de correção de e-mail (typo) */
.email-suggest { margin: 0.35rem 0 0; font-size: 0.78rem; color: var(--ink-soft); }
.email-suggest .btn-link { font-weight: 600; }

/* título dentro do form (modo "corrigir dados") */
.lead-form-title { margin: 0 0 0.6rem; font-size: 0.95rem; font-weight: 700; color: var(--ink); }

/* parágrafo do botão "receber por e-mail" segue centralizado mesmo com o painel de edição depois dele */
.detail-cta { text-align: center; }

/* painel "corrigir meus dados" no detalhamento */
.lead-edit { margin-top: 0.9rem; text-align: center; }
.lead-edit-slot { max-width: 400px; margin: 0.8rem auto 0; text-align: left; }

.eyebrow { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 0.5rem; }

body.lead-modal-open { overflow: hidden; }
.lead-modal-shell {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: rgba(13, 50, 71, 0.45); padding: 1rem;
}
.lead-modal {
  position: relative; width: min(440px, 100%); background: #fff;
  border-radius: 14px; padding: 1.8rem 1.6rem 1.4rem;
  max-height: calc(100vh - 2rem); overflow-y: auto;
}
.lead-modal h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.lead-modal p { color: var(--ink-soft); font-size: 0.9rem; }
.lead-modal-close {
  position: absolute; top: 0.7rem; right: 0.9rem; border: 0; background: none;
  font-size: 1.5rem; line-height: 1; color: var(--ink-faint); cursor: pointer;
}
.exit-intent-actions { display: grid; gap: 0.6rem; margin: 1.1rem 0 0.4rem; }
.lead-modal-footnote { font-size: 0.72rem; color: var(--ink-faint); margin-top: 0.9rem; }

.consent-banner {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 110;
  width: min(640px, calc(100% - 2rem)); background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 40px -12px rgba(13, 50, 71, 0.35);
  padding: 0.9rem 1.1rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.consent-banner p { margin: 0; font-size: 0.78rem; color: var(--ink-soft); flex: 1 1 300px; }
.consent-actions { display: flex; gap: 0.5rem; }
.consent-actions .btn { padding: 0.45rem 1rem; font-size: 0.78rem; }

/* ---------- rodapé e miudezas ---------- */

.fineprint {
  margin: 2.6rem auto 0; padding-top: 1.4rem;
  font-size: 0.75rem; color: var(--ink-faint); max-width: 64ch; line-height: 1.6;
  text-align: center; position: relative;
}
.fineprint::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 1px; background: var(--line);
}

.consult { margin: 2rem auto 0; font-size: 0.95rem; color: var(--ink-soft); text-align: center; max-width: 62ch; }

/* Footer alinhado à marca (skill rio-claro-brand — mesmo padrão de index.html/cartões). */
footer.site-footer-v3 { background: #062537; color: #fff; padding: 5.5rem 0 3rem; }
footer.site-footer-v3 .foot-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3.5rem; border-bottom: 1px solid rgba(255,255,255,.14);
}
footer.site-footer-v3 .flogo img { height: 52px; width: auto; max-width: none; object-fit: contain; }
footer.site-footer-v3 .about { margin-top: 1.4rem; font-size: 0.85rem; color: rgba(255,255,255,.55); font-weight: 300; max-width: 30ch; line-height: 1.7; }
footer.site-footer-v3 h5 { font-size: 0.68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.3rem; font-weight: 700; }
footer.site-footer-v3 .col a, footer.site-footer-v3 .col span { display: block; font-size: 0.88rem; color: rgba(255,255,255,.78); padding: .3rem 0; transition: color .3s; font-weight: 300; }
footer.site-footer-v3 .col a:hover { color: #fff; }
footer.site-footer-v3 .foot-bottom {
  padding-top: 2rem; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  font-size: 0.74rem; color: rgba(255,255,255,.4);
}
footer.site-footer-v3 .foot-bottom .legal { max-width: 70ch; line-height: 1.7; font-weight: 300; }
footer.site-footer-v3 .foot-bottom a { color: rgba(255,255,255,.55); text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
footer.site-footer-v3 .foot-bottom a:hover { color: #fff; }
@media (max-width: 980px) { footer.site-footer-v3 .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { footer.site-footer-v3 .foot-top { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body.keyboard-nav :focus { outline: 2px solid var(--accent); outline-offset: 2px; }
