/* ==========================================================================
   OBASTIDOR — style.css
   Fonte de verdade: specs/design.md + specs/plano-site.md
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f1ec;
  --surface: #fbfaf7;
  --surface-2: #ebe7e0;
  --text: #111111;
  --text-body: #3d3d3d;
  --text-muted: rgba(17, 17, 17, 0.62);
  --text-faint: rgba(17, 17, 17, 0.5);
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.25);
  --accent: #e5322d;
  --veil: 244, 241, 236; /* off-white (rgb) para véus sobre imagens */

  --font-display: "Montserrat", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(96px, 4rem + 7vw, 160px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.15vw, 1.0625rem);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 112px; }

:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 200;
  background: var(--text); color: var(--bg); padding: 12px 16px;
  font: 600 14px/1 var(--font-body);
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Tipografia ---------- */
.h1, .h2, .h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
  hyphens: none;
}
.h1 {
  font-weight: 900;
  font-size: clamp(2.25rem, 1rem + 5.5vw, 5.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 1000px;
  margin-inline: auto;
}
.h2 {
  font-weight: 800;
  font-size: clamp(2rem, 1rem + 2.8vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 32px;
}
.h2--center { margin-inline: auto; text-align: center; }
.h2--xl {
  font-weight: 900;
  font-size: clamp(2.25rem, 1.25rem + 3.6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.h3 {
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 11px/1 var(--font-body);
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; background: var(--accent); flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 20px; height: 2px; background: var(--accent); flex: none;
}

.body {
  max-width: 60ch;
  color: var(--text-muted);
  text-wrap: pretty;
}
.body + .body { margin-top: 20px; }
.closing {
  max-width: 60ch;
  margin-top: 28px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
}

/* ---------- Botões / tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 32px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 700 12px/1 var(--font-display);
  letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--block { width: 100%; }
.btn--pill { border-radius: 999px; padding: 12px 20px; border-color: rgba(17, 17, 17, 0.22); }
.btn--accent { border-color: var(--accent); }
.btn--lg { padding: 22px 44px; font-size: 13px; }
.split__text > .reveal:last-child, .hero__content > .reveal:last-child { margin-top: 40px; }

.tag {
  display: inline-block;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  font: 700 11px/1 var(--font-display);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.link {
  color: var(--text-muted);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), background-size 0.3s var(--ease);
}
.link:hover, .link:focus-visible { color: var(--text); }
.link--small { font-size: 13px; line-height: 1.4; }

/* ---------- Reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Header (pílula) ---------- */
.header {
  position: fixed; z-index: 100;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  height: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 8px 0 20px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(var(--veil), 0.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color 0.3s var(--ease);
}
.header.is-scrolled { background: rgba(var(--veil), 0.88); }
.header__logo img { height: 28px; width: auto; }
.header__nav { display: none; gap: 28px; }
.header__nav a {
  font: 500 14px/1 var(--font-body); color: var(--text-muted);
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--text); }
.header__cta { display: none; }
.header__toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-content: center; gap: 6px;
}
.header__toggle span {
  display: block; width: 20px; height: 2px; background: var(--text);
  transition: transform 0.3s var(--ease);
}
.header__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.header__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(var(--veil), 0.98);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: flex; align-items: center;
  padding: 96px var(--gutter) 48px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__nav { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.menu__nav a {
  font: 800 28px/1.3 var(--font-display);
  letter-spacing: -0.01em; text-transform: uppercase; color: var(--text);
  padding: 10px 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: 60ms; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: 120ms; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: 180ms; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: 240ms; }
.menu__nav .menu__cta { margin-top: 24px; font-size: 18px; color: var(--text-muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: 140px var(--gutter) 120px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--veil), 0.42) 0%, rgba(var(--veil), 0.46) 55%, var(--bg) 100%);
}
.hero__content { max-width: 1000px; }
.hero__lead {
  max-width: 52ch; margin: 28px auto 0;
  color: var(--text-body); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  text-wrap: balance;
}
.rec {
  position: absolute; top: 40px; right: var(--gutter);
  display: flex; align-items: center; gap: 10px;
  font: 600 11px/1 var(--font-body); letter-spacing: 0.25em;
  color: rgba(17, 17, 17, 0.75);
}
.rec i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  animation: rec 1.6s ease-in-out infinite;
}
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero__scroll {
  position: absolute; left: 50%; bottom: 32px;
  width: 1px; height: 40px; background: var(--line-strong);
  overflow: hidden;
}
.hero__scroll::after {
  content: ""; position: absolute; inset: 0;
  background: var(--text); transform: translateY(-100%);
  animation: scroll 2.4s var(--ease) infinite;
}
@keyframes scroll { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Split (texto + foto) ---------- */
.split { display: grid; gap: 56px; align-items: center; }
.split__media { width: 100%; }

/* ---------- Fotos (P&B → cor) ---------- */
.photo {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06);
  transition: filter 0.4s var(--ease);
}
.photo--4x5 { aspect-ratio: 4 / 5; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo:hover img, .photo.is-color img, .card:hover .photo img { filter: none; }
.photo--founder img { object-position: 50% 30%; }

/* ---------- Números de prova ---------- */
.stats { display: flex; flex-wrap: wrap; gap: 32px 48px; margin-top: 40px; }
.stats dd {
  font: 800 clamp(2.5rem, 1.5rem + 2.8vw, 3.5rem)/1 var(--font-display);
  letter-spacing: -0.02em; color: var(--text); order: 1;
}
.stats dt {
  order: 2; margin-top: 10px;
  font: 600 11px/1.4 var(--font-body); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-faint);
}
.stats > div { display: flex; flex-direction: column; }

/* ---------- Ecossistema ---------- */
.orbit { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 64px auto 0; }
.orbit__core {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-2);
  display: grid; place-items: center;
}
.orbit__core img { width: 60%; height: auto; }
.orbit__list li {
  position: absolute; inset: 50% auto auto 50%; width: 0; height: 0;
  transform: rotate(calc(var(--i) * 360deg / var(--n)));
}
.orbit__list li::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 1px; height: 224px;
  background: linear-gradient(to top, transparent 60px, var(--line) 60px);
}
.tile {
  position: absolute; left: -36px; bottom: 224px; width: 72px; height: 72px;
  transform: rotate(calc(var(--i) * -360deg / var(--n)));
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line);
}
.tile img { height: 30px; width: auto; max-width: 70%; opacity: 0.7; transition: opacity 0.3s; }
.tile:hover img { opacity: 1; }

/* ---------- Processo ---------- */
.process { display: grid; margin-top: 72px; }
.step {
  position: relative;
  padding: 0 0 40px 28px;
  border-left: 1px solid var(--line-strong);
  cursor: default;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: -1px; top: 0;
  width: 8px; height: 1px; background: var(--line-strong);
  transition: all 0.3s var(--ease);
}
.step__num {
  display: block; margin-bottom: 14px;
  font: 600 11px/1 var(--font-body); letter-spacing: 0.3em; color: var(--text-faint);
}
.step__title {
  font: 500 15px/1.35 var(--font-body); letter-spacing: -0.01em;
  color: var(--text-muted); transition: color 0.3s;
}
.step__text { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 26ch; }
.step.is-active { border-left-color: var(--line-strong); }
.step.is-active::before {
  width: 2px; height: 14px; left: -1px; background: var(--accent);
}
.step.is-active .step__title { color: var(--text); font-weight: 600; }
.step.is-active .step__num { color: var(--text-muted); }

/* ---------- Essência ---------- */
.essence { overflow: hidden; isolation: isolate; }
.essence__canvas {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  opacity: 0.45;
}
.essence__inner { position: relative; }
.essence__title { max-width: 14ch; }
.essence__inner .body { margin-top: 0; }

/* ---------- Cards (frentes) ---------- */
.cards { display: grid; gap: 24px; margin-top: 56px; }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
}
.card .photo { border: 0; border-bottom: 1px solid var(--line); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 28px 24px 24px; }
.card__body .body { margin-bottom: 24px; }
.list { margin-bottom: 32px; }
.list li {
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.5; color: var(--text-body);
}
.list li:last-child { border-bottom: 1px solid var(--line); }
.card .btn { margin-top: auto; }

/* ---------- Contato / formulário de proposta ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding-block: var(--section-y); } /* clip não cria rolagem: mantém o sticky da coluna esquerda */
.contact__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
}
.contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--bg) 0%, rgba(var(--veil), 0) 20%, rgba(var(--veil), 0) 80%, var(--bg) 100%),
    rgba(var(--veil), 0.85);
}
.contact__grid { display: grid; gap: 56px; align-items: start; }
.contact__title { margin-bottom: 28px; }
.contact__alt { margin-top: 32px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.contact__sign {
  margin-top: 40px;
  font: 800 14px/1 var(--font-display); letter-spacing: 0.12em; color: var(--text);
}
.contact__panel {
  background: var(--surface); border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
}

.lead__note { margin-bottom: 28px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.lead__alert {
  margin-bottom: 24px; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-left: 2px solid var(--accent);
  background: var(--surface-2);
  font: 500 14px/1.6 var(--font-body); color: var(--text);
}
.lead__alert a { text-decoration: underline; text-underline-offset: 3px; }

.field { margin-bottom: 28px; }
.field > label, .choices > legend {
  display: block; padding: 0;
  font: 600 11px/1.5 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--text); }
.opt { letter-spacing: 0.08em; text-transform: none; font-weight: 500; }
.field input, .field textarea {
  display: block; width: 100%;
  margin: 0; padding: 12px 0;
  border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--text);
  font: 400 16px/1.5 var(--font-body);
  -webkit-appearance: none; appearance: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(17, 17, 17, 0.6); opacity: 1; }
.field input:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--text);
  box-shadow: 0 1px 0 0 var(--text);
  background: rgba(17, 17, 17, 0.035);
}
.field__hint { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.field__error {
  margin-top: 8px; padding-left: 10px;
  border-left: 2px solid var(--accent);
  font: 500 13px/1.5 var(--font-body); color: var(--text);
}
.field.has-error input, .field.has-error textarea { border-bottom-color: var(--text); }

.choices { min-width: 0; margin: 0 0 32px; padding: 0; border: 0; }
.choices > legend { margin-bottom: 12px; }
.choices .field__hint { margin: -6px 0 10px; }
.choices__title {
  margin: 20px 0 10px;
  font: 700 11px/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.choices__title:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font: 500 14px/1.3 var(--font-body);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip:hover input:not(:checked) + span { border-color: var(--text); }
.chip input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip input:checked + span::before { content: "✓"; margin-right: 8px; font-size: 12px; }
.chip input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.choices .link { margin-top: 12px; }
.choices.has-error .chip span { border-color: var(--text); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__turnstile { margin-bottom: 20px; }
.lead__turnstile:empty { display: none; }

.btn--submit {
  position: relative; overflow: hidden;
  width: 100%; justify-content: space-between;
  padding: 22px 28px; font-size: 13px;
}
.btn__arrow { font-size: 16px; line-height: 1; transition: transform 0.3s var(--ease); }
.btn--submit:hover .btn__arrow, .btn--submit:focus-visible .btn__arrow { transform: translate(3px, -3px); }
.btn--submit:disabled { cursor: not-allowed; opacity: 0.7; }
.btn--submit:disabled:hover { background: transparent; border-color: var(--accent); color: var(--text); }
.btn--submit:disabled .btn__arrow { transform: none; }
.btn--submit[aria-busy="true"]::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 35%;
  background: var(--text);
  animation: sending 1.2s var(--ease) infinite;
}
@keyframes sending { 0% { transform: translateX(-100%); } 100% { transform: translateX(300%); } }
.lead__privacy { margin-top: 20px; max-width: 52ch; font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.lead__privacy a { text-decoration: underline; text-underline-offset: 3px; }
.lead__privacy a:hover { color: var(--text); }

.lead__done:focus { outline: none; }
.lead__done-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.12; margin-bottom: 20px; max-width: 14ch; }
.lead__done .contact__sign { margin-bottom: 32px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; z-index: 80;
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(var(--veil), 0.92); color: var(--text);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s, background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover, .wa-float:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.menu.is-open ~ .wa-float { opacity: 0; visibility: hidden; }

/* ---------- Aviso de consentimento (só aparece com IDs de tracking) ---------- */
.consent {
  position: fixed; z-index: 95; left: 20px; bottom: 20px; max-width: 420px;
  padding: 20px; background: var(--bg); border: 1px solid var(--line-strong);
  font-size: 13px; line-height: 1.6; color: var(--text-body);
}
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: 8px; margin-top: 16px; }
.consent .btn { flex: 1; padding: 12px 16px; font-size: 11px; }

/* ---------- Página legal (privacidade) ---------- */
.legal { padding-block: 160px 96px; }
.legal__inner { max-width: 760px; }
.legal h1 { font: 900 clamp(2rem, 1.2rem + 3vw, 3.25rem)/1.1 var(--font-display); letter-spacing: -0.02em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.legal h2 { font: 800 1.25rem/1.3 var(--font-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--text); margin: 48px 0 12px; }
.legal p, .legal li { max-width: 68ch; color: var(--text-body); }
.legal p + p, .legal ul { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .legal__meta { font-size: 14px; color: var(--text-muted); }
.legal .todo { background: rgba(229, 50, 45, 0.12); padding: 0 4px; font-weight: 600; color: var(--text); }
.legal__bar { padding-block: 24px; }
.legal__bar img { height: 28px; width: auto; }

/* ---------- Footer ---------- */
.footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-top: 72px; }
.footer__grid { display: grid; gap: 40px; }
.footer__brand img { height: 36px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.footer__title {
  margin-bottom: 20px;
  font: 600 12px/1 var(--font-body); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-faint);
}
.footer li { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.footer li + li { margin-top: 8px; }
.footer li a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size 0.3s var(--ease), color 0.2s; padding-bottom: 4px; }
.footer li a:hover { color: var(--text); background-size: 100% 1px; }
.footer__legal { margin-top: 64px; padding-block: 24px 32px; border-top: 1px solid var(--line); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__legal p { font-size: 13px; line-height: 1.5; color: var(--text-faint); }
.footer__legal .footer__hash { font: 800 13px/1.5 var(--font-display); letter-spacing: 0.12em; color: var(--text-muted); }
.footer__brand .footer__signature { margin-top: 16px; font-weight: 600; color: var(--text); }

/* ==========================================================================
   Tablet ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  .header { top: 24px; height: 56px; }
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .header__toggle, .menu { display: none; }
  .eyebrow::before, .eyebrow--center::after { width: 24px; }
  .eyebrow { font-size: 12px; }
  .btn { font-size: 13px; }
  .tag { font-size: 12px; }

  .rec { top: 48px; }
  .split { grid-template-columns: 7fr 5fr; gap: 64px; }
  .split--reverse { grid-template-columns: 7fr 5fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card__body { padding: 32px; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
  .contact__panel { max-width: 760px; }

  /* Timeline horizontal */
  .process { grid-template-columns: repeat(5, 1fr); }
  .step {
    padding: 28px 24px 0 0; border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
  .step:last-child { padding-bottom: 0; }
  .step::before { left: 0; top: 0; width: 1px; height: 8px; }
  .step.is-active::before { left: 0; top: -1px; width: 2px; height: 14px; }
  .step.is-active { border-top-color: var(--line-strong); }
}

/* ==========================================================================
   Desktop ≥ 1120px
   ========================================================================== */
@media (min-width: 1120px) {
  .essence__canvas { left: 38%; width: 62%; opacity: 0.9; }
  .contact__grid { grid-template-columns: 5fr 7fr; gap: 80px; }
  .contact__intro { position: sticky; top: 128px; }
  .contact__panel { max-width: none; }
}

/* ==========================================================================
   Mobile < 768px — ajustes finos
   ========================================================================== */
@media (max-width: 767px) {
  .hero { place-items: start center; padding-top: clamp(112px, 16.5svh, 170px); }
  .split--reverse .split__media { order: 2; }
  .split--reverse .split__text { order: 1; }
  .stats { gap: 28px 36px; }
  .orbit { width: 100%; aspect-ratio: auto; margin-top: 48px; display: grid; justify-items: center; gap: 24px; }
  .orbit__core { position: static; transform: none; }
  .orbit__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; }
  .orbit__list li { position: static; width: auto; height: auto; transform: none; }
  .orbit__list li::before { display: none; }
  .tile { position: static; transform: none; width: 100%; height: 72px; }
  .btn--block { width: 100%; }
  .consent { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); max-width: none; }
  .consent:not([hidden]) ~ .wa-float { bottom: calc(var(--consent-h, 150px) + 24px); }
  .wa-float { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (max-width: 419px) { .rec { display: none; } }

/* ==========================================================================
   Movimento reduzido
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rec i, .hero__scroll::after { animation: none; }
  .btn--submit[aria-busy="true"]::after { animation: none; width: 100%; opacity: 0.4; }
  .wa-float, .chip span, .field input, .field textarea { transition: none; }
  .photo img { transition: none; }
}
