/* =========================================================
   trampag · landing page
   Tokens baseados em design_tokens.json (v0.9)
   ========================================================= */

:root {
  --orange: #F25402;
  --orange-deep: #D84B00;
  --teal: #027584;
  --teal-deep: #015E6A;
  --ink: #0E272F;
  --ink-2: #16343E;
  --light-teal: #E6F7F8;
  --gray: #F4F4F4;
  --graphite: #333333;
  --white: #FFFFFF;

  --text: #3B4B51;
  --muted: #64767C;
  --line: #E3E7E8;
  --on-orange: #1C0900;

  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-ui: 'Inter', system-ui, sans-serif;

  --r-sm: 8px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(14,39,47,.06), 0 4px 14px rgba(14,39,47,.06);
  --shadow-2: 0 2px 4px rgba(14,39,47,.06), 0 18px 40px -12px rgba(14,39,47,.22);
  --focus: 0 0 0 3px rgba(2,117,132,.35);

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-family: var(--font-ui); font-weight: 700; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg:not(.ico-wa) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); }
.btn-ghost { background: #fff; color: var(--teal); border-color: var(--teal); }
.btn-ghost:hover { background: var(--light-teal); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: .9375rem; }
.btn-block { width: 100%; }
.ico-wa path { stroke-width: 1.7; }
.ico-wa .fill, .wa-float .fill { fill: currentColor; stroke: none; }

/* ---------- textos utilitários ---------- */
.eyebrow {
  font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow-light { color: #9FD9DF; }

h2 { font-size: clamp(1.875rem, 3.6vw, 2.875rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head h2 { text-wrap: balance; }
.sec-sub { margin-top: 16px; font-size: 1.0625rem; color: var(--text); max-width: 60ch; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.sec-head-split .sec-sub { margin: 0; }

.section { padding: 112px 0; }
/* com o simulador oculto, Soluções e Negócios ficam colados (dois fundos brancos): tira o espaço dobrado */
.section-sim[hidden] + .section { padding-top: 16px; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: .9375rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
/* o desfoque fica num pseudo-elemento: backdrop-filter no próprio header
   prenderia o menu mobile (position: fixed) dentro dele */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.brand { flex: none; display: block; line-height: 0; border-radius: 6px; }
.brand img { width: 132px; height: auto; }

.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem;
  padding: 10px 12px; border-radius: var(--r-pill); transition: background-color .2s;
}
.main-nav a:hover { background: var(--gray); }
.main-nav .nav-cta-mobile { display: none; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.link-quiet { color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.link-quiet:hover { color: var(--teal); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: var(--gray); border-radius: 50%;
  position: relative; cursor: pointer;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, top .25s;
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 56px 0 0; position: relative; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 600; color: var(--ink);
  background: var(--light-teal); padding: 7px 14px 7px 12px; border-radius: var(--r-pill);
  margin-bottom: 26px;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242,84,2,.18); }

.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.375rem);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.04em;
  text-wrap: balance;
}
.swoosh-word { position: relative; white-space: nowrap; color: var(--orange); }
.swoosh-word svg {
  position: absolute; left: 1%; width: 100%; bottom: -0.04em; height: .22em; overflow: visible;
}
.swoosh-word path {
  fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1s .5s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.lead { font-size: 1.1875rem; line-height: 1.55; margin-top: 26px; max-width: 34em; color: var(--text); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.accepts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.accepts li { font-size: .8125rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; }
.accepts li { display: inline-flex; align-items: center; gap: 8px; }
.accepts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #B8C3C6; }
.accepts .pix::before { background: var(--teal); }
.accepts .pix { color: var(--teal); }

/* visual do hero */
.hero-visual { position: relative; height: 560px; }
.hero-shape {
  position: absolute; right: -8%; top: 4%; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), transparent 45%),
    linear-gradient(150deg, var(--teal) 0%, var(--ink) 78%);
}
.hero-shape::after {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 2px dashed rgba(2,117,132,.28);
}

/* maquininha */
.pos {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%) rotate(-6deg);
  width: 248px;
  /* sem filter aqui: no Safari do iPhone um filter no pai pode congelar a troca de telas lá dentro
     (e obriga o celular a redesenhar tudo a cada quadro). A sombra fica no box-shadow do .pos-body. */
}
.pos-slot {
  position: absolute; left: 30px; right: 30px; bottom: calc(100% - 22px); height: 210px;
  overflow: hidden; z-index: 0;
}
.receipt {
  position: absolute; left: 10px; right: 10px; bottom: 0;
  background: #FFFDF8; color: #2B2B2B;
  font: 600 10px/1.45 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  letter-spacing: .04em; text-align: center;
  padding: 14px 10px 26px;
  display: flex; flex-direction: column; gap: 3px;
  transform: translateY(100%);
  transition: transform 1.6s cubic-bezier(.3,.7,.3,1);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 10px 6px repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - 6px) no-repeat,
                conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 10px 6px repeat-x;
}
.receipt b { font-family: var(--font-display); font-size: 13px; letter-spacing: -.01em; color: var(--orange); }
.receipt strong { font-size: 15px; color: #111; }
.receipt .r-line { border-top: 1px dashed #BDBDBD; margin: 4px 0; }
.pos.is-printing .receipt { transform: translateY(18%); }

.pos-body {
  position: relative; z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), transparent 18%),
    linear-gradient(160deg, #FF6A1A 0%, var(--orange) 45%, #D94A00 100%);
  border-radius: 36px 36px 44px 44px;
  padding: 34px 16px 22px;
  box-shadow: 0 40px 50px -12px rgba(6,24,30,.4), inset 0 -6px 0 rgba(0,0,0,.12), inset 0 2px 0 rgba(255,255,255,.35);
}
.pos-body::before { /* fenda da impressora */
  content: ""; position: absolute; left: 34px; right: 34px; top: 12px; height: 8px;
  background: #3A1A07; border-radius: 6px; box-shadow: inset 0 2px 3px rgba(0,0,0,.5);
}
.pos-cam { position: absolute; top: 24px; left: 50%; width: 5px; height: 5px; margin-left: -2px; border-radius: 50%; background: rgba(0,0,0,.35); }
.pos-screen {
  position: relative; height: 330px; border-radius: 18px; overflow: hidden;
  isolation: isolate; /* Safari: garante o recorte arredondado com as telas animando dentro */
  background: radial-gradient(120% 80% at 50% 0%, #17414C 0%, #0B1F25 70%);
  box-shadow: inset 0 0 0 3px #0A1418, inset 0 0 0 5px rgba(255,255,255,.04);
  color: #fff; font-family: var(--font-ui);
}
.ps-status { display: flex; justify-content: space-between; padding: 10px 14px 0; font-size: 10px; font-weight: 600; color: rgba(255,255,255,.7); }
.ps-icons { display: flex; gap: 3px; align-items: flex-end; }
.ps-icons i { width: 3px; background: rgba(255,255,255,.7); border-radius: 1px; }
.ps-icons i:nth-child(1) { height: 4px; } .ps-icons i:nth-child(2) { height: 6px; } .ps-icons i:nth-child(3) { height: 8px; }

.ps-state {
  position: absolute; top: 28px; right: 0; bottom: 0; left: 0; /* sem "inset": iPhone com iOS 14.0 ou anterior não entende */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 0 18px;
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s;
}
.ps-state.is-on { opacity: 1; transform: none; }
.ps-state small { font-size: 12px; color: rgba(255,255,255,.72); line-height: 1.35; }
.ps-amount { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ps-amount.sm { font-size: 20px; }
.ps-methods { display: flex; gap: 6px; margin-top: 10px; }
.ps-methods span { font-size: 10px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.ps-methods .on { background: var(--orange); color: #fff; }
.ps-nfc { width: 64px; height: 64px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.ps-state[data-state="tap"].is-on .ps-nfc path { animation: nfc 1.4s infinite; }
.ps-nfc path:nth-child(2) { animation-delay: .15s !important; }
.ps-nfc path:nth-child(3) { animation-delay: .3s !important; }
@keyframes nfc { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ps-spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255,255,255,.15); border-top-color: var(--orange); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ps-hint { font-size: 10px; color: rgba(255,255,255,.45); }
.ps-check { width: 64px; height: 64px; border-radius: 50%; background: #1FA971; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(31,169,113,.18); }
.ps-check svg { width: 34px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ps-state[data-state="ok"] strong { font-family: var(--font-display); font-size: 22px; }
.pos-brand { text-align: center; margin-top: 16px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: rgba(255,255,255,.92); letter-spacing: -.02em; }

/* cards flutuantes */
.toast {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-2);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; z-index: 3;
  animation: bob 6s ease-in-out infinite;
}
.toast b { display: block; color: var(--ink); font-size: .875rem; }
.toast em { font-style: normal; font-size: .8125rem; color: var(--muted); }
.toast-pix { left: -4%; top: 22%; }
.t-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--light-teal); }
.t-ico svg { width: 20px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.toast-sched { right: -2%; bottom: 9%; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 18px 14px; animation-delay: -3s; }
.t-label { font-size: .75rem; font-weight: 600; color: var(--muted); }
.t-big { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.375rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t-bars { display: flex; gap: 4px; align-items: flex-end; height: 28px; margin-top: 6px; }
.t-bars i { width: 10px; height: var(--h); background: var(--light-teal); border-radius: 3px; }
.t-bars i:last-child { background: var(--orange); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero-facts {
  list-style: none; margin: 56px 0 0; padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.hero-facts li { font-size: .9375rem; color: var(--text); padding-right: 12px; }
.hero-facts b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; margin-bottom: 2px; }

/* =========================================================
   SOLUÇÕES (bento)
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile {
  position: relative; border-radius: var(--r-xl); padding: 32px; overflow: hidden;
  background: var(--gray); min-height: 300px;
}
.tile h3 { font-size: 1.5rem; font-weight: 800; line-height: 1.15; margin: 14px 0 10px; letter-spacing: -.025em; }
.tile p { font-size: .9375rem; max-width: 46ch; }
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--orange-deep); background: rgba(242,84,2,.1); padding: 4px 10px; border-radius: var(--r-pill);
}
.tag-teal { color: var(--teal-deep); background: rgba(2,117,132,.1); }

.tile-pos { grid-column: span 7; background: var(--ink); color: #C9D6D9; display: grid; grid-template-columns: 1fr 180px; gap: 24px; align-items: center; }
.tile-pos h3 { color: #fff; font-size: 1.875rem; }
.tile-pos .tag { color: #FFB38A; background: rgba(242,84,2,.18); }
.tile-pos .ticks li { font-size: .9rem; color: #DCE6E8; }
.mini-pos {
  width: 150px; height: 250px; justify-self: center; border-radius: 26px 26px 32px 32px;
  background: linear-gradient(160deg, #FF6A1A, var(--orange) 50%, #D94A00);
  padding: 22px 12px 34px; transform: rotate(8deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6);
}
.mp-screen { height: 100%; border-radius: 12px; background: #0B1F25; padding: 16px 10px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 6px; }
.mp-screen span { grid-column: 1 / -1; color: #fff; font: 700 15px/1 var(--font-display); text-align: center; padding: 8px 0 6px; }
.mp-screen i { border-radius: 8px; background: rgba(255,255,255,.08); }
.mp-screen i:first-of-type { background: var(--teal); }

.tile-pix { grid-column: span 5; background: var(--light-teal); }
.qr-wrap { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.qr { width: 104px; height: 104px; background: #fff; padding: 8px; border-radius: 12px; box-shadow: var(--shadow-1); flex: none; }
.qr rect { fill: var(--ink); }
.qr-cap { font-size: .8125rem; color: var(--muted); line-height: 1.4; }
.qr-cap b { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }

.tile-link { grid-column: span 5; background: #fff; border: 1px solid var(--line); }
.chat { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; font-size: .8125rem; }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 14px; line-height: 1.4; }
.bubble.in { background: var(--gray); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--ink); }
.bubble.out { background: #DCF5E6; align-self: flex-end; border-bottom-right-radius: 4px; color: var(--ink); }
.bubble.out u { color: var(--teal); }
.bubble small { display: block; text-align: right; font-size: .6875rem; color: var(--muted); }
.bubble.paid { align-self: center; background: var(--ink); color: #fff; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; border-radius: var(--r-pill); padding: 6px 14px; }
.bubble.paid svg { width: 16px; fill: none; stroke: #5FE0A6; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.tile-tef { grid-column: span 7; background: #fff; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.05fr; gap: 0 28px; align-content: start; }
.tile-tef .tag, .tile-tef h3, .tile-tef p { grid-column: 1; }
.tile-tef .code { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.code {
  margin: 0; background: var(--ink); color: #D6E3E6; border-radius: 16px; padding: 18px 20px;
  font: 500 12.5px/1.65 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.tile-tef .tag, .tile-ant .tag { justify-self: start; }
.c-k { color: #FF9A62; font-weight: 700; } .c-s { color: #8EE0E8; } .c-n { color: #FFD580; } .c-c { color: #7E9AA1; }

.tile-tap { grid-column: span 4; background: var(--orange); color: var(--on-orange); }
.tile-tap h3 { color: var(--on-orange); }
.tile-tap .tag { color: var(--on-orange); background: rgba(255,255,255,.35); }
.tap-ill { position: absolute; right: 26px; bottom: -30px; width: 150px; height: 150px; }
.tap-ill .phone { position: absolute; right: 6px; bottom: 0; width: 76px; height: 140px; border-radius: 16px; background: var(--ink); border: 4px solid #22444D; }
.tap-ill .card { position: absolute; left: 0; bottom: 64px; width: 82px; height: 52px; border-radius: 8px; background: #fff; transform: rotate(-14deg); box-shadow: 0 10px 20px rgba(0,0,0,.18); animation: tap 2.6s ease-in-out infinite; }
.tap-ill .card::before { content: ""; position: absolute; left: 10px; top: 14px; width: 16px; height: 12px; border-radius: 3px; background: #E7C46A; }
@keyframes tap { 0%, 100% { transform: translate(0,0) rotate(-14deg); } 45%, 60% { transform: translate(22px, 6px) rotate(-6deg); } }
.tile-tap p { max-width: 24ch; }

.tile-ant { grid-column: span 8; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; align-content: start; }
.tile-ant .tag, .tile-ant h3, .tile-ant p { grid-column: 1; }
.ant-ill { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: grid; gap: 18px; }
.ant-row { display: grid; grid-template-columns: 100px 1fr; grid-template-rows: auto auto; gap: 4px 12px; align-items: center; font-size: .8125rem; }
.ant-row span { font-weight: 600; color: var(--ink); }
.ant-row em { grid-column: 2; font-style: normal; color: var(--muted); font-size: .75rem; }
.ant-row b { height: 14px; border-radius: 99px; display: block; }
.bar-a { background: repeating-linear-gradient(90deg, #C8D2D4 0 30%, transparent 30% 34%); }
.bar-b { background: var(--orange); width: 100%; }
.ant-row.hot em { color: var(--orange-deep); font-weight: 600; }

/* =========================================================
   SIMULADOR
   ========================================================= */
.section-sim { background: var(--ink); color: #B9CBCF; position: relative; overflow: hidden; }
.section-sim::before {
  content: ""; position: absolute; right: -240px; top: -240px; width: 640px; height: 640px; border-radius: 50%;
  border: 90px solid rgba(2,117,132,.18);
}
.sim-grid { position: relative; display: grid; grid-template-columns: 1fr 480px; gap: 72px; align-items: center; }
.sim-intro h2 { color: #fff; margin-bottom: 18px; }
.sim-intro > p { font-size: 1.0625rem; max-width: 44ch; }
.sim-note { margin-top: 18px; font-size: .8125rem !important; color: #7F9AA0; max-width: 52ch !important; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.12); }
.sim-intro .btn { margin-top: 32px; }

.sim-card { background: #fff; color: var(--text); border-radius: var(--r-xl); padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.field input:not([type="radio"]):not([type="range"]), .field select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid #D5DCDE; border-radius: var(--r-md);
  background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E272F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: var(--focus); }
.help { display: block; margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.err { display: block; margin-top: 6px; font-size: .8125rem; color: #B42318; font-weight: 600; }
.err[hidden] { display: none; }
.field.has-error input, .field.has-error select { border-color: #B42318; }

.money { position: relative; }
.money span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.money input { padding-left: 46px !important; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; min-height: 56px !important; font-variant-numeric: tabular-nums; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--gray); padding: 5px; border-radius: 14px; }
.seg-2 { grid-template-columns: 1fr 1fr; }
.seg label { margin: 0; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 8px; text-align: center;
  border-radius: 10px; font-size: .875rem; font-weight: 600; color: var(--text); line-height: 1.2;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.seg input:focus-visible + span { box-shadow: var(--focus); }

#parcelasField label { display: flex; justify-content: space-between; }
#parcelasField output { font-family: var(--font-display); font-weight: 800; color: var(--orange-deep); }
input[type="range"] { width: 100%; height: 28px; background: transparent; -webkit-appearance: none; appearance: none; margin: 0; --p: 0%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--orange) var(--p), #E1E6E7 var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #E1E6E7; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--orange); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); margin-top: -9px; box-shadow: 0 2px 6px rgba(0,0,0,.18); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); cursor: grab; }
.range-scale { position: relative; height: 18px; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.range-scale span { position: absolute; top: 0; left: calc(var(--at) * (100% - 24px) + 12px); transform: translateX(-50%); }
.is-disabled { opacity: .4; pointer-events: none; }

.slip {
  margin-top: 6px; background: #FFFCF6; border: 1px dashed #E5D9C6; border-radius: 16px; padding: 18px 20px;
  font-variant-numeric: tabular-nums;
}
.slip-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9375rem; }
.slip-row em { font-style: normal; color: var(--muted); font-size: .8125rem; }
.slip-row.total { border-top: 1px dashed #D9CCB8; margin-top: 6px; padding-top: 12px; align-items: baseline; }
.slip-row.total span { font-weight: 700; color: var(--ink); }
.slip-row.total strong { font-family: var(--font-display); font-size: 1.75rem; color: var(--ink); letter-spacing: -.02em; }
.slip-when { margin-top: 8px; font-size: .8125rem; color: var(--teal-deep); background: var(--light-teal); border-radius: 8px; padding: 8px 12px; }

/* =========================================================
   SEGMENTOS
   ========================================================= */
.tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab-list button {
  min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: .9375rem; color: var(--ink); cursor: pointer; transition: all .2s;
}
.tab-list button:hover { border-color: var(--teal); }
.tab-list button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.tab-panel {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  background: var(--gray); border-radius: var(--r-xl); padding: 48px;
  animation: fadeUp .4s ease;
}
.tab-panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tp-text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.tp-text p { font-size: 1.0625rem; max-width: 48ch; }
.tp-card {
  background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-2);
  transform: rotate(1.2deg);
}
.tp-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tp-rows { margin-top: 14px; font-variant-numeric: tabular-nums; }
.tp-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.tp-rows div:last-child { border: 0; }
.tp-rows b { color: var(--ink); white-space: nowrap; }
.tp-rows .sum { padding-top: 14px; }
.tp-rows .sum span { font-weight: 700; color: var(--ink); }
.tp-rows .sum b { font-family: var(--font-display); font-size: 1.125rem; color: var(--orange-deep); }
.tp-rows .ok { color: #13845A !important; }

/* =========================================================
   PAINEL
   ========================================================= */
.section-panel { background: var(--light-teal); }
.panel-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.panel-copy h2 { margin-bottom: 18px; }
.panel-copy > p { font-size: 1.0625rem; }
.panel-points { margin: 32px 0 0; display: grid; gap: 18px; }
.panel-points div { padding-left: 18px; border-left: 3px solid var(--teal); }
.panel-points dt { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.panel-points dd { margin: 2px 0 0; font-size: .9375rem; }

.dash { background: #fff; border-radius: 22px; box-shadow: 0 50px 90px -40px rgba(2,60,70,.45), 0 0 0 1px rgba(2,117,132,.08); overflow: hidden; font-size: 13px; }
.dash-top { display: flex; align-items: center; gap: 22px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dash-top img { width: 84px; height: auto; }
.dash-tabs { display: flex; gap: 16px; color: var(--muted); font-weight: 500; }
.dash-tabs b { color: var(--ink); position: relative; }
.dash-tabs b::after { content: ""; position: absolute; left: 0; right: 0; bottom: -17px; height: 2px; background: var(--orange); }
.dash-user { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.dash-body { padding: 20px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.kpi span { color: var(--muted); font-size: 12px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 1.125rem; color: var(--ink); letter-spacing: -.02em; margin: 2px 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi em { font-style: normal; font-size: 11px; color: var(--muted); }
.kpi em.up { color: #13845A; font-weight: 600; }
.chart { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 10px; }
.chart-head { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); font-size: 12px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--muted); }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.legend .l1 { background: var(--teal); } .legend .l2 { background: var(--orange); margin-left: 8px; }
.bars { height: 120px; display: flex; align-items: flex-end; gap: 5px; margin-top: 12px; }
.bars .col { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; justify-content: flex-start; }
.bars .col i { display: block; border-radius: 3px; transform-origin: bottom; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.bars .col i.c { background: var(--teal); }
.bars .col i.p { background: var(--orange); }
.dash.is-visible .bars .col i { transform: scaleY(1); }
.bars-x { display: flex; justify-content: space-between; color: var(--muted); font-size: 10.5px; margin-top: 6px; }
.tx { list-style: none; margin: 0; padding: 0; }
.tx li { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.tx li:last-child { border: 0; }
.tx em { font-style: normal; color: var(--muted); font-size: 12px; }
.tx b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tx .b { font-size: 10px; font-weight: 700; border-radius: 6px; text-align: center; padding: 4px 0; }
.b-cr { background: rgba(2,117,132,.12); color: var(--teal-deep); }
.b-px { background: rgba(242,84,2,.12); color: var(--orange-deep); }
.b-db { background: var(--gray); color: var(--graphite); }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: calc(100% / 3 - 30px); top: 28px; border-top: 2px dashed #CFD8DA; }
.steps li { position: relative; }
.step-n {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #fff; border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); margin-bottom: 22px;
}
.steps li:last-child .step-n { background: var(--orange); border-color: var(--orange); color: #fff; }
.steps h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.steps p { font-size: .9375rem; max-width: 34ch; }

/* =========================================================
   SEGURANÇA
   ========================================================= */
.section-sec { background: var(--teal); color: #DDF1F3; }
.section-sec h2 { color: #fff; }
.section-sec .eyebrow-light { color: #C6ECEF; }
.section-sec .eyebrow::before { background: #fff; }
.sec-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 64px; align-items: start; }
.sec-grid h2 { text-wrap: balance; }
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.sec-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.sec-list svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.sec-list h3 { color: #fff; font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -.01em; }
.sec-list p { font-size: .9375rem; line-height: 1.55; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--header-h) + 32px); margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--ink); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--orange); border-radius: 2px;
  transition: transform .25s;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq summary:hover { color: var(--teal); }
.faq details p { padding: 0 48px 24px 0; max-width: 62ch; }

/* =========================================================
   CONTATO
   ========================================================= */
.section-cta { background: var(--orange); color: var(--on-orange); position: relative; overflow: hidden; }
.section-cta::after {
  content: ""; position: absolute; left: -10%; bottom: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,.08); pointer-events: none;
}
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: center; }
.cta-copy h2 { color: var(--on-orange); font-size: clamp(2.125rem, 4.4vw, 3.5rem); letter-spacing: -.04em; margin-bottom: 18px; }
.cta-copy p { font-size: 1.125rem; max-width: 40ch; }
.phone-big { display: inline-block; margin-top: 32px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--on-orange); text-decoration: none; letter-spacing: -.02em; border-bottom: 3px solid rgba(28,9,0,.25); }
.phone-big:hover { border-bottom-color: var(--on-orange); }
.phone-note { display: block; margin-top: 8px; font-size: .875rem; font-weight: 600; opacity: .8; }

.lead-form { background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: 0 40px 80px -30px rgba(80,20,0,.45); color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row .field { min-width: 0; }
.lead-form .btn { margin-top: 4px; }
.form-legal { margin-top: 12px; font-size: .8125rem; color: var(--muted); text-align: center; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { background: var(--ink); color: #9FB3B8; padding: 72px 0 100px; font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { width: 132px; height: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 34ch; }
.foot-col h4 { color: #fff; font-family: var(--font-ui); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-col a { display: block; color: #C5D4D7; text-decoration: none; padding: 5px 0; overflow-wrap: anywhere; }
.foot-col a:hover { color: #fff; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: #C5D4D7; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #1FAF63; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -6px rgba(10,80,40,.5);
  transition: transform .2s, opacity .3s;
  opacity: 0; transform: translateY(16px); pointer-events: none;
}
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }

/* ---------- revelar ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 9px; }
  .link-quiet { display: none; }
  .sim-grid { grid-template-columns: 1fr 440px; gap: 48px; }
  .cta-grid { grid-template-columns: 1fr 420px; gap: 48px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .section { padding: 88px 0; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    background: #fff; flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter) 32px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav a { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav a:hover { background: none; }
  .main-nav .nav-cta-mobile { display: inline-flex; margin-top: 24px; border: 0; color: #fff; font-family: var(--font-ui); font-size: 1rem; border-radius: var(--r-pill); }

  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-visual { height: 520px; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-facts { grid-template-columns: 1fr 1fr; }

  .tile-pos, .tile-pix, .tile-link, .tile-tef, .tile-tap, .tile-ant { grid-column: span 12; }
  .tile-tap { min-height: 260px; }
  .tile-link, .tile-pix { grid-column: span 6; }

  .sim-grid, .panel-grid, .sec-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .sec-head-split { grid-template-columns: 1fr; gap: 16px; }
  .faq-grid .sec-head { position: static; }
  .tab-panel { grid-template-columns: 1fr; padding: 36px; gap: 32px; }
  .tp-card { max-width: 440px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .section { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .hero { padding-top: 32px; }
  .lead { font-size: 1.0625rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { height: 500px; margin-top: 64px; }
  .pos { top: 56%; }
  .kicker { font-size: .8125rem; }
  .pos { width: 210px; }
  .pos-screen { height: 280px; }
  .pos-slot { height: 170px; }
  .hero-shape { right: -20%; width: 115%; top: 8%; }
  .toast-pix { left: 0; top: 12%; }
  .toast-sched { right: 0; bottom: 4%; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }

  .tile { padding: 24px; min-height: 0; border-radius: var(--r-lg); }
  .tile-link, .tile-pix { grid-column: span 12; }
  .tile-pos { grid-template-columns: 1fr; }
  .mini-pos { display: none; }
  .tile-tef, .tile-ant { grid-template-columns: 1fr; }
  .tile-tef .code, .ant-ill { grid-column: 1; grid-row: auto; margin-top: 20px; }
  .tile-tap { padding-bottom: 150px; }
  .tap-ill { right: 50%; transform: translateX(50%); bottom: -36px; }

  .sim-card { padding: 20px; border-radius: var(--r-lg); }
  .seg span { font-size: .8125rem; }

  .tab-list button { padding: 0 14px; font-size: .875rem; }
  .tab-panel { padding: 24px; border-radius: var(--r-lg); }
  .tp-card { transform: none; }

  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi-hide-sm { display: none; }
  .dash-tabs span { display: none; }
  .dash-body { padding: 14px; }
  .tx li { grid-template-columns: 36px 1fr auto; }
  .tx em { display: none; }

  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 40px; border-top: 0; border-left: 2px dashed #CFD8DA; }
  .steps li { padding-left: 76px; }
  .step-n { position: absolute; left: 0; top: 0; margin: 0; }

  .sec-list { grid-template-columns: 1fr; gap: 28px; }
  .faq summary { font-size: 1rem; padding-right: 40px; }
  .faq details p { padding-right: 0; }

  .lead-form { padding: 22px; border-radius: var(--r-lg); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-legal { flex-direction: column; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

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