/* Tuna Pagamentos — Home
   Recriado a partir de project/Tuna Site.dc.html (Claude Design).
   Cores nomeadas como no Pitaya Design System (tokens/fig-tokens.css). */

@font-face { font-family: 'Roboto'; src: url('../assets/fonts/Roboto-Regular-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('../assets/fonts/Roboto-Medium-latin.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Roboto'; src: url('../assets/fonts/Roboto-Bold-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tuna Rounded'; src: url('../assets/fonts/MPLUSRounded1c-ExtraBold-latin.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --green-500: #31B34E;      /* primary-color */
  --green-400: #5AC271;
  --green-300: #8FE0A4;      /* texto verde sobre escuro */
  --green-100: #D4F7DD;
  --green-50: #EBFFEE;
  --green-700: #238038;      /* destaque sobre claro */
  --green-tag: #278F3E;      /* TagStatus Sucesso */
  --red-500: #E5484D;

  --bg-0: #080B09;
  --bg-footer: #050706;
  --bg-card-dark: #111613;
  --light-1: #FBFBFB;
  --light-2: #F0F0F0;
  --ink: #1E1E1E;
  --ink-2: #49454F;
  --ink-3: #5F6368;
  --line-light: #EEEEEE;

  --font-display: 'Tuna Rounded', 'M PLUS Rounded 1c', Roboto, sans-serif;
  --font-body: Roboto, sans-serif;
  --gutter: clamp(20px, 3vw, 32px);
  --max: 1240px;

  --shadow-card: 0 0 2px rgba(0,0,0,.06), 0 2px 2px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.06);
  --shadow-panel: 0 0 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --fade-x: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 4%, rgba(0,0,0,.7) 9%, #000 14%, #000 86%, rgba(0,0,0,.7) 91%, rgba(0,0,0,.25) 96%, rgba(0,0,0,0) 100%);
}

* { box-sizing: border-box; }
html { background: var(--bg-0); }
body { margin: 0; background: var(--bg-0); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--green-500); text-decoration: none; }
a:hover { color: var(--green-400); }
img { display: block; }

@keyframes tunaRing { 0% { box-shadow: 0 0 0 0 rgba(49,179,78,.55); } 70% { box-shadow: 0 0 0 7px rgba(49,179,78,0); } 100% { box-shadow: 0 0 0 0 rgba(49,179,78,0); } }
@keyframes tunaMarquee { to { transform: translateX(-50%); } }

.page { background: var(--bg-0); color: #fff; overflow-x: clip; }
.container { max-width: var(--max); margin: 0 auto; }
.section { padding: clamp(64px,8vw,112px) var(--gutter); }

/* Grid fluido: mantém o mínimo do design no desktop sem estourar no mobile */
.grid-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min), 100%), 1fr)); }

/* ---------- Tipografia ---------- */
.display { font-family: var(--font-display); font-weight: 800; }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px,3.6vw,42px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: pretty; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.eyebrow--dark { color: var(--green-300); }
.eyebrow--light { color: var(--green-700); }
.label-caps { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.lead { font-size: 17px; line-height: 1.65; margin: 0; text-wrap: pretty; }
.lead--dark { color: rgba(255,255,255,.62); }
.lead--light { color: var(--ink-3); }
.link-arrow, .link-arrow:hover { font-size: 15px; font-weight: 600; color: var(--green-300); }

/* ---------- Pitaya: Button primary/default ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: nowrap;
  height: 40px; padding: 0 30px; border-radius: 25px; border: 0;
  background: var(--green-500); color: #fff;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500; font-size: 18px; line-height: 100%; white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover { color: #fff; }
/* Pitaya: hover = primary/color + neutral/300A (#333 · 16%) por cima */
.btn-primary:hover, .rd-embed .bricks--component-button:hover { background-image: linear-gradient(rgba(51,51,51,.16), rgba(51,51,51,.16)) !important; }
.btn-primary--44 { height: 44px; }
.btn-primary--52 { height: 52px; }
.btn-primary--block { width: 100%; }

/* ---------- Pitaya: TagStatus Medium Label Sucesso ---------- */
.tag-success {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  width: fit-content; padding: 4px 8px; border-radius: 6px;
  background: rgba(49,179,78,.15); color: var(--green-tag);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500; font-size: 12px; line-height: 16px;
}

/* Seleção de texto com o verde da marca, como no site antigo */
::selection { background: var(--green-500); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(8,11,9,.72); border-bottom: 1px solid rgba(255,255,255,.07); }
.site-header__inner { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.site-header__logo { width: 132px; height: auto; }
/* Como no site antigo: o logo "afunda" 1px ao clicar */
.site-header__brand { position: relative; display: flex; }
@media (min-width: 768px) { .site-header__brand:active { top: 1px; left: -1px; } }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; }
.site-nav a { color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--green-500); }
.site-header__spacer { flex: 1; min-width: 12px; }
.site-header__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.btn-ghost, .btn-ghost:hover { display: inline-flex; align-items: center; height: 44px; color: rgba(255,255,255,.86); font-size: 14px; font-weight: 500; padding: 0 18px; border-radius: 9999px; border: 1px solid rgba(255,255,255,.18); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
/* Celular: só logo e CTA; os links do menu ficam no rodapé */
@media (max-width: 760px) {
  .site-nav, .site-header__actions .btn-ghost { display: none; }
  .site-header__inner { flex-wrap: nowrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .site-header__spacer { min-width: 0; }
  .site-header__logo { width: 96px; }
  .site-header__actions .btn-primary { height: 40px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 340px) { .site-header__logo { width: 84px; } .site-header__actions .btn-primary { padding: 0 12px; font-size: 13px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px,8vw,104px) var(--gutter) clamp(56px,7vw,88px); background: radial-gradient(1100px 620px at 78% 8%, rgba(49,179,78,.20), transparent 62%), linear-gradient(180deg, #080B09 0%, #0A1410 58%, #080B09 100%); }
.hero__grid { --min: 420px; gap: clamp(32px,4vw,64px); align-items: center; }
.pill-live { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 9999px; border: 1px solid rgba(49,179,78,.35); background: rgba(49,179,78,.10); margin-bottom: 28px; }
.pill-live__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); animation: tunaRing 1.2s ease-out infinite; }
.pill-live__text { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--green-300); font-weight: 700; }
.hero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px,5.2vw,60px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 24px; text-wrap: pretty; }
.hero__title em { font-style: normal; color: var(--green-500); }
.hero__text { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.68); margin: 0 0 36px; max-width: 520px; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__secondary, .hero__secondary:hover { align-self: center; font-size: 16px; font-weight: 600; color: var(--green-300); padding: 16px 8px; }
.hero__secondary:hover { color: #fff; }
.metrics { display: flex; gap: 36px; flex-wrap: wrap; }
.metric__value { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #fff; }
.metric__label { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 2px; }
.metrics__sep { width: 1px; background: rgba(255,255,255,.1); }

/* Diagrama do fluxo (hero) */
.flow-card { position: relative; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(160deg, rgba(20,72,31,.55), rgba(8,11,9,.9)); padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.flow-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.flow-card__title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 700; }
.badge-live { font-size: 11px; font-weight: 700; color: var(--green-300); background: rgba(49,179,78,.14); border: 1px solid rgba(49,179,78,.3); padding: 5px 10px; border-radius: 9999px; }
.flow { display: grid; gap: 12px; }
.step-num { font-family: Roboto, sans-serif; font-size: 11px; font-weight: 700; color: #0B0F0C; background: #fff; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; flex: none; }
.flow__node { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); }
.flow__node-title { font-size: 14px; font-weight: 600; }
.flow__node-sub { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 2px; }
.connector { justify-self: center; width: 1px; height: 16px; }
.connector--in { background: linear-gradient(180deg, rgba(49,179,78,.1), #31B34E); }
.connector--out { background: linear-gradient(180deg, #31B34E, rgba(49,179,78,.1)); }
.flow__decision { padding: 16px; border-radius: 14px; background: rgba(49,179,78,.10); border: 1px solid rgba(49,179,78,.32); }
.flow__decision-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.flow__decision-title { font-size: 13px; font-weight: 700; color: var(--green-300); letter-spacing: .04em; }
.flow__chips { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.flow__chip { font-size: 12px; color: rgba(255,255,255,.8); padding: 9px 11px; border-radius: 8px; background: rgba(8,11,9,.5); border: 1px solid rgba(255,255,255,.08); }
.flow__targets { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.target { padding: 12px; border-radius: 10px; text-align: center; background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.16); }
.target__name { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); }
.target__state { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 4px; }
.target--active { background: rgba(255,255,255,.05); border: 1px solid rgba(49,179,78,.45); }
.target--active .target__name { font-weight: 700; color: #fff; }
.target--active .target__state { color: var(--green-300); }

/* ---------- Carrosséis ---------- */
.marquee { overflow: hidden; -webkit-mask-image: var(--fade-x); mask-image: var(--fade-x); }
.marquee__track { display: flex; width: max-content; align-items: center; animation: tunaMarquee var(--dur, 60s) linear infinite; }
.marquee__track--reverse { animation-direction: reverse; }
.marquee__track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .pill-live__dot { animation: none; } }

.customers { padding: 36px 0 40px; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); background: var(--bg-0); display: grid; gap: 18px; }
.customers__label { text-align: center; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 700; padding: 0 20px; }
.customer-logo { flex: none; width: 168px; height: 56px; padding: 0 24px; display: flex; align-items: center; justify-content: center; }
.customer-logo img { max-width: 100%; object-fit: contain; opacity: .85; filter: brightness(1); transition: filter .35s ease, opacity .35s ease; }
.customer-logo:hover img { filter: brightness(1.6); opacity: 1; }

/* Mesmo brilho do hero, espelhado à esquerda, maior e centrado no fim do título */
.connections { padding: clamp(64px,8vw,104px) 0; background: radial-gradient(1500px 900px at 33% 250px, rgba(49,179,78,.20), transparent 62%), linear-gradient(180deg, #080B09 0%, #0A1410 58%, #080B09 100%); border-top: 1px solid rgba(255,255,255,.07); }
.connections__head { --min: 360px; max-width: var(--max); margin: 0 auto 48px; padding: 0 var(--gutter); gap: clamp(24px,4vw,64px); align-items: end; }
.connections__head .h2 { margin: 0; }
.connections__rows { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 32px; }
.conn-row { display: grid; gap: 14px; }
.conn-row__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.conn-row__title { font-size: 13px; font-weight: 700; color: #fff; }
.conn-row__sub { font-size: 13px; color: rgba(255,255,255,.5); }
.conn-row .marquee__track { align-items: stretch; }
.conn-item { padding-right: 14px; flex: none; }
/* Fundo translúcido (mesmo tom do --bg-card-dark sobre o fundo) para o brilho da seção passar pelos cards */
.conn-card { width: 168px; height: 76px; border-radius: 14px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; padding: 12px 16px; }
/* Logo branco monocromático; no hover mostra as cores originais. */
.conn-card img { object-fit: contain; filter: brightness(0) invert(1); opacity: .72; transition: filter .35s ease, opacity .35s ease; }
.conn-card:hover img { filter: brightness(1) invert(0); opacity: 1; }

/* ---------- Onde a margem se perde ---------- */
.problem { padding: clamp(64px,8vw,104px) var(--gutter); background: var(--light-1); color: var(--ink); }
.problem__grid { --min: 400px; gap: clamp(36px,5vw,72px); align-items: start; }
.problem .eyebrow { margin-bottom: 18px; }
.problem .h2 { margin-bottom: 20px; line-height: 1.1; }
.stat-grid { --min: 220px; gap: 16px; }
.stat { padding: 24px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--green-500); margin-bottom: 8px; }
.stat__text { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.stat--dark { background: var(--ink); color: #fff; box-shadow: 0 0 2px rgba(0,0,0,.06), 0 2px 2px rgba(0,0,0,.04); }
.stat--dark .stat__text { color: rgba(255,255,255,.7); }

/* ---------- Orquestração ---------- */
.orch { background: linear-gradient(180deg, #080B09 0%, #0A1410 50%, #080B09 100%); }
.orch__intro { max-width: 680px; margin-bottom: 56px; }
.orch__intro .h2 { font-size: clamp(30px,3.8vw,44px); }
.layers { --min: 240px; gap: 0; align-items: stretch; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.layer { padding: 32px 26px; background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.08); transition: background .15s ease-out; }
.layer:last-child { border-right: 0; }
.layer:hover { background: rgba(49,179,78,.09); }
.layer--hl { background: rgba(49,179,78,.10); }
.layer--hl:hover { background: rgba(49,179,78,.16); }
.layer__num { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--green-500); letter-spacing: .14em; margin-bottom: 22px; }
.layer__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.layer__text { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); margin: 0 0 18px; }
.layer--hl .layer__text { color: rgba(255,255,255,.68); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 11px; padding: 5px 9px; border-radius: 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); }
.layer--hl .chip { background: rgba(8,11,9,.45); color: var(--green-300); }

/* Simulador */
.sim { --min: 340px; margin-top: 24px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); padding: 32px; gap: clamp(28px,3vw,44px); align-items: start; }
.sim__eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 700; margin-bottom: 14px; }
.sim__title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; margin: 0 0 20px; }
.sim__group-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); font-weight: 700; margin-bottom: 10px; }
.sim__options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; border: 0; padding: 0; min-width: 0; }
.sim__options:last-child { margin-bottom: 0; }
.opt { font-family: Roboto, sans-serif; font-size: 13px; font-weight: 600; padding: 11px 15px; border-radius: 9999px; cursor: pointer; transition: all .15s ease-out; background: rgba(255,255,255,.04); color: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.14); }
.opt[aria-pressed="true"] { background: var(--green-500); color: #08150C; border-color: var(--green-500); }
.opt:focus-visible { outline: 2px solid var(--green-300); outline-offset: 2px; }
.sim__kpis { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.kpi { flex: 1; min-width: 150px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.kpi--hl { background: rgba(49,179,78,.10); border-color: rgba(49,179,78,.32); }
.kpi__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 700; margin-bottom: 8px; }
.kpi--hl .kpi__label { color: var(--green-300); }
.kpi__value { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: #fff; line-height: 1; }
.sim__steps { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.sim-step { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); }
.sim-step__dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; background: rgba(255,255,255,.28); }
.sim-step__body { flex: 1; }
.sim-step__title { font-size: 14px; font-weight: 600; color: #fff; }
.sim-step__desc { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 3px; }
.sim-step__num { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.3); }
.sim-step--ok { background: rgba(49,179,78,.08); border-color: rgba(49,179,78,.45); }
.sim-step--ok .sim-step__dot { background: var(--green-500); }
.sim-step--fail { border-color: rgba(229,72,77,.4); }
.sim-step--fail .sim-step__dot { background: var(--red-500); }
.sim__note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.5; }

/* ---------- Split ---------- */
.split { background: var(--light-2); color: var(--ink); }
.split__grid { --min: 400px; gap: clamp(32px,4vw,64px); align-items: center; }
.split .lead { margin-bottom: 28px; }
.checks { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check__icon { width: 20px; height: 20px; border-radius: 50%; background: var(--green-500); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: 0 0 auto; margin-top: 2px; }
.check__text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.check__text strong { color: var(--ink); }
.order { background: #fff; border-radius: 18px; padding: 32px; box-shadow: 0 0 2px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.08); }
.order__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); }
.order__id { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.order__total { font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--ink); margin-top: 6px; }
.split-bar { display: flex; height: 10px; border-radius: 9999px; overflow: hidden; margin: 24px 0 22px; }
.split-rows { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.split-row { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink); }
.split-row__swatch { width: 10px; height: 10px; border-radius: 3px; }
.split-row__name { flex: 1; }
.split-row__value { font-weight: 700; }
.split-row--muted { color: var(--ink-3); }
.order__foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-light); font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ---------- Tokenização ---------- */
.token { background: radial-gradient(900px 520px at 20% 30%, rgba(49,179,78,.16), transparent 60%), var(--bg-0); }
.token__grid { --min: 420px; gap: clamp(32px,4vw,64px); align-items: center; }
.data-path { border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.02); padding: 30px; }
.data-path__title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 700; margin-bottom: 22px; }
.data-path__flow { display: grid; gap: 0; }
.data-path .connector { height: 20px; }
.data-path .connector--in { background: linear-gradient(180deg, rgba(49,179,78,.15), #31B34E); }
.data-path .connector--out { background: linear-gradient(180deg, #31B34E, rgba(49,179,78,.15)); }
.hop { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.hop__tag { font-size: 12px; font-weight: 700; color: #08150C; background: #fff; padding: 5px 9px; border-radius: 6px; white-space: nowrap; }
.hop__text { font-size: 14px; color: rgba(255,255,255,.85); }
.hop--proxy { background: rgba(49,179,78,.12); border-color: rgba(49,179,78,.35); }
.hop--proxy .hop__tag { background: var(--green-500); }
.hop--proxy .hop__text { color: #fff; }
.hop-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.dest { padding: 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.dest__title { font-size: 13px; font-weight: 700; color: var(--green-300); margin-bottom: 6px; }
.dest__text { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }
.dest--reserve { background: rgba(255,255,255,.03); border: 1px dashed rgba(255,255,255,.16); }
.dest--reserve .dest__title { color: rgba(255,255,255,.5); }
.dest--reserve .dest__text { color: rgba(255,255,255,.45); }
.token-literal { margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: rgba(8,11,9,.6); border: 1px solid rgba(255,255,255,.08); font-family: Roboto, monospace; font-size: 13px; color: var(--green-300); }
.token__eyebrow-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.token__eyebrow-row .eyebrow { margin: 0; }
.seal { font-size: 12px; font-weight: 700; color: var(--green-300); border: 1px solid rgba(49,179,78,.35); background: rgba(49,179,78,.10); padding: 6px 11px; border-radius: 8px; }
.token .lead { margin-bottom: 28px; }
.features { --min: 220px; gap: 14px; }
.feature { padding: 20px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); }
.feature__title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature__text { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,.55); }

/* ---------- Console & Analytics ---------- */
.analytics { background: var(--light-1); color: var(--ink); }
.analytics__intro { max-width: 660px; margin-bottom: 48px; }
.analytics__grid { --min: 280px; gap: 20px; }
.panel { background: #fff; border-radius: 16px; box-shadow: var(--shadow-panel); }
.ab { grid-column: span 2; min-width: 0; padding: 28px; }
.ab__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.ab__title { font-size: 16px; font-weight: 700; }
.ab__groups { --min: 240px; gap: 20px; }
.ab-group { padding: 20px; border-radius: 12px; background: var(--light-1); border: 1px solid var(--line-light); }
.ab-group__label { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.ab-group__value { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--ink); }
.ab-group__bar { height: 6px; border-radius: 9999px; background: var(--line-light); margin-top: 14px; overflow: hidden; }
.ab-group__bar span { display: block; height: 100%; background: var(--green-300); }
.ab-group__meta { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.ab-group--win { background: var(--green-50); border-color: var(--green-500); }
.ab-group--win .ab-group__label { color: var(--green-700); font-weight: 600; }
.ab-group--win .ab-group__value, .ab-group--win .ab-group__meta { color: var(--green-700); }
.ab-group--win .ab-group__bar { background: var(--green-100); }
.ab-group--win .ab-group__bar span { background: var(--green-500); }
.ab__note { margin-top: 22px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.analytics__side { display: grid; gap: 20px; }
.tpv { background: var(--ink); color: #fff; border-radius: 16px; padding: 26px; }
.tpv .label-caps { color: rgba(255,255,255,.45); margin-bottom: 14px; }
.tpv__value { font-family: var(--font-display); font-weight: 800; font-size: 36px; }
.tpv__bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-top: 20px; }
.tpv__bars span { flex: 1; border-radius: 3px; }
.recon { padding: 26px; }
.recon .label-caps { color: var(--ink-3); margin-bottom: 14px; }
.recon__text { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 659px) { .ab { grid-column: auto; } }

/* ---------- Métodos e integração ---------- */
.methods { background: var(--bg-0); }
.methods__grid { --min: 280px; gap: 20px; }
.methods__head { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 12px; }
.methods__head .h2 { font-size: clamp(28px,3.2vw,38px); line-height: 1.1; margin: 0; max-width: 560px; }
.info-card { padding: 26px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.09); }
.info-card__title { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.info-card__text { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.6); }

/* ---------- Contato ---------- */
.contact { background: linear-gradient(140deg, #0A1410 0%, #144023 55%, #080B09 100%); }
.contact__grid { --min: 400px; gap: clamp(32px,4vw,64px); align-items: center; }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px,4vw,46px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 20px; text-wrap: pretty; }
.contact__text { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.7); margin: 0 0 30px; max-width: 520px; }
.creds { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.6); }
.form-card { background: rgba(8,11,9,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 32px; }
.form { display: grid; gap: 16px; margin: 0; }
.field { display: grid; gap: 7px; }
.field__label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); }
.field__input { width: 100%; font-family: Roboto, sans-serif; font-size: 15px; padding: 13px 16px; border-radius: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); color: #fff; outline: none; }
.field__input::placeholder { color: rgba(255,255,255,.4); }
.field__input:focus { border-color: var(--green-500); background: rgba(49,179,78,.07); }
.form .btn-primary { margin-top: 6px; }
.form__note { font-size: 12px; color: rgba(255,255,255,.45); text-align: left; }
.form-card .form__note { margin-top: 12px; }

/* Formulário do RD Station no tema escuro. O RD injeta estilos com seletores de id, por isso o !important. */
.rd-embed { color-scheme: dark; min-height: 520px; }
.rd-embed .bricks--component-embeddable-form { border: 0 !important; border-radius: 0 !important; }
.rd-embed .bricks--section { background: transparent !important; }
.rd-embed .bricks--column > div { padding: 0 !important; }
.rd-embed .bricks-form { max-width: none !important; width: 100%; padding: 0 !important; }
.rd-embed .bricks-form__label { color: rgba(255,255,255,.7) !important; font-size: 13px !important; font-weight: 500 !important; margin-bottom: 7px; }
.rd-embed .bricks-form__static, .rd-embed .bricks-form__static a { color: rgba(255,255,255,.55) !important; font-size: 12px !important; }
.rd-embed .bricks-form__input,
.rd-embed .select2-container .select2-choice { background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.16) !important; color: #fff !important; font-size: 15px !important; padding: 0 14px !important; }
.rd-embed .bricks-form__input:not(textarea) { height: 44px !important; }
.rd-embed .bricks-form__input:focus { border-color: var(--green-500) !important; background: rgba(49,179,78,.07) !important; outline: none; }
/* Seta própria no lugar da nativa, que cola na borda e ignora o padding */
.rd-embed select.bricks-form__input { -webkit-appearance: none !important; appearance: none !important; padding-right: 40px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23ffffffb3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; background-size: 12px 8px !important; }
.rd-embed select.bricks-form__input option { background: #0E1310; color: #fff; }
.rd-embed .with-select-flags .select2-container .select2-choice { border-right: none !important; height: 44px !important; line-height: 44px !important; padding: 0 8px !important; }
.rd-embed .bricks--component-button { width: 100% !important; height: 52px !important; display: flex !important; align-items: center; justify-content: center; padding: 0 24px !important; line-height: 1.2 !important; font-family: Roboto, sans-serif !important; font-weight: 700 !important; font-size: 15px !important; }
@media (max-width: 560px) { .rd-embed .bricks-form__field { width: 100% !important; } }
.site-footer__legal a, .site-footer__legal a:hover { color: inherit; }
.site-footer__legal a:hover { color: rgba(255,255,255,.65); }

/* ---------- Rodapé ---------- */
.site-footer { padding: 56px 32px 40px; background: var(--bg-footer); border-top: 1px solid rgba(255,255,255,.07); }
.site-footer__grid { --min: 200px; gap: 40px; padding-bottom: 40px; }
.site-footer__logo { width: 124px; height: auto; margin-bottom: 16px; }
.site-footer__tagline { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.45); max-width: 280px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col__title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); font-weight: 700; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.65); }
.footer-col a:hover { color: var(--green-500); }
/* Seletor de idioma (como o do rodapé do site antigo) */
.lang-switch { position: relative; margin-top: 6px; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 14px Roboto, sans-serif; color: rgba(255,255,255,.65); }
.lang-switch__btn:hover { color: var(--green-500); }
.lang-switch__btn[aria-expanded="true"] .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__menu { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20; min-width: 180px; margin: 0; padding: 6px 0; list-style: none; background: #141A16; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
.lang-switch__menu[hidden] { display: none; }
.lang-switch__menu a { display: block; padding: 9px 16px; font-size: 14px; color: rgba(255,255,255,.75); }
.lang-switch__menu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.lang-switch__menu a[aria-current="true"] { color: var(--green-500); font-weight: 700; }
.site-footer__bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.35); }

.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; }
