/* EBRO — Câmbio & Pagamentos
   Azul-noite + prata metálica. Archivo largo (wdth 125) no wordmark e nos rótulos. */

:root {
  --ink: #070b14;
  --bg: #0b101c;
  --bg-2: #0f1524;
  --night: #101b38;        /* cartão azul-noite */
  --night-2: #0c1530;
  --panel: rgba(16, 24, 44, 0.72);
  --line: rgba(205, 214, 230, 0.10);
  --line-2: rgba(205, 214, 230, 0.18);
  --silver-1: #7c8597;
  --silver-2: #a9b1bf;
  --silver-3: #cdd3dc;
  --paper: #f2f0ea;        /* branco quente do logotipo */
  --gold: #c9b27a;         /* chip */
  --up: #63c193;
  --down: #e07a66;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--silver-3);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
::selection { background: rgba(205, 214, 230, 0.25); color: var(--paper); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: #232c40; border: 2px solid var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--paper); color: var(--ink); }
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--silver-3); outline-offset: 3px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 28px;
  font-size: 11px; font-weight: 600; font-stretch: 125%;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--silver-2);
}
.eyebrow-sm { font-size: 10px; letter-spacing: 0.28em; margin: 0; color: var(--silver-1); }
.eyebrow-mark { width: 22px; height: 16px; color: var(--silver-2); flex: none; }

.h2 {
  margin: 0 0 56px;
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 300; font-stretch: 112%;
  line-height: 1.04; letter-spacing: -0.03em;
  color: var(--paper);
  max-width: 16ch;
  text-wrap: balance;
}
.lead { font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; line-height: 1.6; color: var(--silver-3); }
.fine { margin: 14px 0 0; font-size: 11px; line-height: 1.5; color: var(--silver-1); letter-spacing: 0.02em; }

.metal-text {
  background: linear-gradient(176deg, #f6f7f9 0%, #c4cad3 38%, #8b93a1 52%, #dfe3e8 70%, #f3f4f6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  font-size: 12px; font-weight: 600; font-stretch: 118%;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 3px;
  white-space: nowrap;
  transition: transform .3s var(--ease), border-color .3s, background-color .3s, box-shadow .3s;
}
/* Prata escovada, como o cartão corporate */
.btn-metal {
  color: #11151d;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #f1f2f4 0%, #c9ced6 45%, #e6e9ed 60%, #b7bdc7 100%);
  border-color: #d4d8de;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 30px -12px rgba(0,0,0,0.6);
}
.btn-metal:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 16px 34px -12px rgba(0,0,0,0.7); }
.btn-ghost { color: var(--paper); border-color: var(--line-2); background: rgba(10, 16, 30, 0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(230, 234, 240, 0.5); }
.btn-sm { padding: 11px 18px; font-size: 11px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); }
.brand-mark { width: 30px; height: 21px; }
.brand-word { font-size: 22px; font-weight: 800; font-stretch: 125%; letter-spacing: 0.04em; line-height: 1; }
.brand-lg .brand-mark { width: 40px; height: 28px; }
.brand-lg .brand-word { font-size: 30px; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(9, 13, 23, 0.86); border-color: var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 11px; font-weight: 500; font-stretch: 115%;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver-2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--paper); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-ticker {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  font-size: 11px; font-weight: 500; font-stretch: 110%; letter-spacing: 0.1em;
  color: var(--silver-2);
  font-variant-numeric: tabular-nums;
}
.nav-ticker b { color: var(--paper); font-weight: 600; }
.nav-lang {
  padding: 9px 12px; border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--silver-2);
  transition: border-color .2s, color .2s;
}
.nav-lang:hover { border-color: var(--line-2); color: var(--paper); }
.dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--up); box-shadow: 0 0 10px var(--up);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px 0 0;
  overflow: hidden;
  background: var(--ink);
}
.hero-river { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.55) 42%, rgba(7, 11, 20, 0) 72%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.55) 0%, rgba(7, 11, 20, 0) 22%, rgba(7, 11, 20, 0) 70%, var(--bg) 100%);
}
/* grão sutil por cima, tira o aspecto "digital" */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 72px; }
.hero-title {
  margin: 0 0 36px;
  font-size: clamp(44px, 7.4vw, 124px);
  font-weight: 300; font-stretch: 112%;
  line-height: 0.98; letter-spacing: -0.035em;
  color: var(--paper);
}
.hero-title span { display: block; }
.hero-title .metal-text { font-weight: 400; }
.hero-sub { max-width: 600px; margin: 0 0 40px; font-size: clamp(17px, 1.45vw, 20px); font-weight: 300; line-height: 1.6; color: var(--silver-3); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 22px; padding-bottom: 26px;
  font-size: 10px; font-weight: 500; font-stretch: 118%;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--silver-1);
}
.hero-foot::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line); }
.hero-scroll { display: inline-flex; align-items: center; gap: 12px; }
.hero-scroll i { width: 1px; height: 28px; background: linear-gradient(var(--silver-2), transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Seções ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 168px) 0; border-top: 1px solid var(--line); }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }

/* Processo + cotação */
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(48px, 6vw, 96px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line); }
.step:nth-child(odd) { border-right: 1px solid var(--line); }
.step:nth-child(even) { padding-left: 32px; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--silver-3), transparent); transition: width .7s var(--ease); }
.step:nth-child(even)::before { left: 0; }
.step:hover::before { width: 100%; }
.step-n { display: block; margin-bottom: 22px; font-size: 13px; font-weight: 600; font-stretch: 125%; letter-spacing: 0.2em; color: var(--silver-1); transition: color .3s; }
.step:hover .step-n { color: var(--paper); }
.step h3 { margin: 0 0 10px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--paper); }
.step p { margin: 0; font-size: 15px; font-weight: 300; color: var(--silver-2); }

.calc-col { position: sticky; top: 96px; }
.calc {
  position: relative;
  padding: 30px;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(120, 140, 190, 0.16), transparent 60%),
    linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
  border: 1px solid rgba(160, 175, 210, 0.16);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255,255,255,0.05) inset;
}
.calc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.calc-mark { width: 26px; height: 18px; color: var(--silver-2); opacity: .7; }
.calc-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.calc-tabs button {
  padding: 13px 8px;
  font-size: 11px; font-weight: 600; font-stretch: 115%; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--silver-1);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .25s, border-color .25s;
}
.calc-tabs button.is-active { color: var(--paper); border-color: var(--silver-3); }
.label { display: block; margin-bottom: 8px; font-size: 10px; font-weight: 600; font-stretch: 115%; letter-spacing: 0.22em; text-transform: uppercase; color: var(--silver-1); }
.calc-field {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding: 0 18px;
  background: rgba(4, 8, 18, 0.5);
  border: 1px solid var(--line); border-radius: 4px;
  transition: border-color .2s;
}
.calc-field:focus-within { border-color: var(--line-2); }
.calc-field input, .calc-field output {
  flex: 1; min-width: 0; padding: 16px 0;
  background: none; border: 0; outline: none;
  font: 500 22px/1.2 var(--font); color: var(--paper);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.calc-field input::-webkit-outer-spin-button, .calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out output { font-size: 28px; }
.calc-field > span { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--silver-1); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 22px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.calc-grid div { padding: 12px 14px; background: rgba(9, 15, 32, 0.92); }
.calc-grid dt { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-1); margin-bottom: 3px; }
.calc-grid dd { margin: 0; font-size: 14px; color: var(--silver-3); font-variant-numeric: tabular-nums; }
.calc-min { margin: 0 0 14px; padding: 10px 14px; font-size: 12px; color: var(--paper); background: rgba(224, 122, 102, 0.1); border: 1px solid rgba(224, 122, 102, 0.35); border-radius: 3px; }

/* Institucional */
.section-about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-mark { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.about-mark::before {
  content: ""; position: absolute; inset: 6%;
  border: 1px solid var(--line); border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(130, 150, 200, 0.12), transparent 65%);
}
.about-svg { position: relative; width: 62%; height: auto; overflow: visible; }
.about-svg .band {
  fill: none; stroke: url(#metal); stroke-width: 4.6; stroke-linecap: round;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  transition: stroke-dashoffset 1.8s var(--ease);
}
.about-svg .band-2 { transition-delay: .25s; }
.about-mark.is-in .band { stroke-dashoffset: 0; }
.about-body p { margin: 0 0 20px; font-size: 17px; font-weight: 300; color: var(--silver-2); max-width: 62ch; }
.about-body p.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--silver-3); }

/* Faixa de cotações */
.strip { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.012); padding: 16px 0; }
.strip-track { display: inline-flex; animation: marquee 60s linear infinite; }
.strip-track span { padding: 0 32px; font-size: 11px; font-weight: 500; font-stretch: 115%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-1); font-variant-numeric: tabular-nums; }
.strip-track span b { font-weight: 600; color: var(--silver-3); margin-left: 8px; }
.strip-track .up { color: var(--up); margin-left: 8px; }
.strip-track .down { color: var(--down); margin-left: 8px; }
.strip-track .sep { color: var(--silver-1); opacity: .5; padding: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Mercado ao vivo */
.live {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(160deg, rgba(16, 27, 56, 0.6), rgba(9, 14, 26, 0.6));
}
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.live-tag { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--up); }
.live-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.live-price { font-size: clamp(44px, 6vw, 76px); font-weight: 300; font-stretch: 105%; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; transition: filter .6s; }
.live-price.flash-up { filter: drop-shadow(0 0 18px rgba(99, 193, 147, 0.55)); }
.live-price.flash-down { filter: drop-shadow(0 0 18px rgba(224, 122, 102, 0.55)); }
.live-book { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 24px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.live-book div { padding: 10px 16px; background: rgba(9, 14, 26, 0.95); }
.live-book dt { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-1); margin-bottom: 3px; }
.live-book dd { margin: 0; font-size: 13px; color: var(--silver-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.live-chart { margin: 0; }
.live-chart svg { width: 100%; height: 160px; overflow: visible; }
.live-chart .fine { text-align: right; }

/* Métricas */
.metrics { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0; background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric { padding: 4px 28px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric-v { font-size: clamp(38px, 4.2vw, 58px); font-weight: 300; font-stretch: 108%; letter-spacing: -0.025em; line-height: 1; margin-bottom: 16px; }
.metric-l { font-size: 11px; font-weight: 600; font-stretch: 120%; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); margin-bottom: 10px; }
.metric p { margin: 0; font-size: 14px; font-weight: 300; color: var(--silver-1); max-width: 30ch; }

/* Dúvidas */
.faq-wrap { max-width: 1000px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 4px;
  font-size: clamp(18px, 1.7vw, 22px); font-weight: 400; letter-spacing: -0.01em; color: var(--paper);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 300; color: var(--silver-2); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -8px 0 28px; padding: 0 4px; max-width: 760px; font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--silver-2); animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } }

/* Contato */
.section-contact { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 112px); }
.contact-grid .h2 { margin-bottom: 28px; }
.contact-grid .lead { max-width: 460px; margin: 0 0 44px; }
.direct { display: grid; gap: 8px; padding-top: 26px; border-top: 1px solid var(--line-2); max-width: 460px; }
.direct .eyebrow-sm { margin-bottom: 6px; }
.direct-mail { font-size: 19px; font-weight: 500; color: var(--paper); }
.direct-phone { font-size: 15px; color: var(--silver-2); font-variant-numeric: tabular-nums; }
.direct a:hover { color: var(--paper); }

.form {
  position: relative; display: grid; gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); backdrop-filter: blur(12px);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg button { padding: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-1); transition: background-color .2s, color .2s; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button.is-active { background: rgba(205, 214, 230, 0.08); color: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row.is-single { grid-template-columns: 1fr; }
.input {
  width: 100%; padding: 15px 18px;
  background: rgba(4, 8, 18, 0.5);
  border: 1px solid var(--line); border-radius: 4px;
  font: 300 16px/1.4 var(--font); color: var(--paper);
  outline: none; transition: border-color .2s;
}
.input:focus { border-color: rgba(205, 214, 230, 0.4); }
.input::placeholder { color: rgba(190, 198, 212, 0.4); }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver-2) 50%), linear-gradient(135deg, var(--silver-2) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select.input option { background: #0c1220; color: var(--paper); }
.ta-wrap { position: relative; }
textarea.input { resize: vertical; padding-bottom: 30px; min-height: 120px; }
.ta-count { position: absolute; right: 12px; bottom: 10px; font-size: 10px; color: rgba(190, 198, 212, 0.4); pointer-events: none; font-variant-numeric: tabular-nums; }
.form-error { padding: 12px 16px; font-size: 13px; color: #ffc2b6; background: rgba(224, 122, 102, 0.1); border: 1px solid rgba(224, 122, 102, 0.4); border-radius: 3px; }
.form-ok { padding: 96px 32px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.form-ok-mark { width: 52px; height: 36px; margin: 0 auto 22px; color: var(--silver-3); }
.form-ok-t { font-size: 36px; font-weight: 300; font-stretch: 112%; margin-bottom: 10px; }
.form-ok p { margin: 0; color: var(--silver-2); }

/* Rodapé */
.footer { border-top: 1px solid var(--line); background: var(--ink); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 56px; }
.footer-grid .eyebrow-sm { margin-bottom: 18px; }
.footer-tag { margin: 24px 0 18px; max-width: 320px; font-size: 14px; font-weight: 300; color: var(--silver-2); }
.footer-address { display: grid; gap: 2px; font-style: normal; font-size: 12px; line-height: 1.6; color: var(--silver-1); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-list a { color: var(--silver-2); transition: color .2s; }
.footer-list a:hover { color: var(--paper); }
.footer-mono { font-variant-numeric: tabular-nums; }
.footer-legal { margin: 0; font-size: 12px; font-weight: 300; line-height: 1.65; color: var(--silver-1); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.06em; color: var(--silver-1);
}

/* Voltar ao topo */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--paper);
  background: rgba(10, 15, 27, 0.85); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease), border-color .2s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: rgba(230, 234, 240, 0.4); }

/* Entrada suave */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .process-grid { grid-template-columns: minmax(0, 1fr) 400px; }
}
@media (max-width: 980px) {
  .process-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .calc-col { position: static; max-width: 520px; }
  .about-mark { max-width: 360px; width: 100%; margin: 0 auto; }
  .live-body { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .nav-ticker { display: none; }
  .nav-right { gap: 8px; }
  .nav-right .btn-sm { padding: 10px 14px; letter-spacing: 0.14em; }
  .nav-lang { padding: 9px 10px; }
  .brand { gap: 10px; }
  .brand-word { font-size: 19px; }
  .brand-mark { width: 26px; height: 18px; }
  .calc { padding: 22px 18px; }
  .calc-tabs button { letter-spacing: 0.12em; font-size: 10px; }
  .calc-grid div { padding: 10px 12px; }
  .hero { padding-top: 110px; }
  .hero-inner { padding-bottom: 48px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-foot { font-size: 9px; letter-spacing: 0.18em; }
  .hero-scroll { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { padding: 28px 0 30px; border-right: 0; }
  .step:nth-child(odd) { border-right: 0; }
      .form-row { grid-template-columns: 1fr; }
  .live-book dd { font-size: 12px; }
  .live-book div { padding: 10px 10px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric, .metric:nth-child(3) { border-left: 0; padding: 0 0 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
