/* PrismaPay — Câmbio B2B landing page */

:root {
  /* Paleta do site oficial prismapay.com.br */
  --bg: #050505;          /* void */
  --abyss: #0a0a0b;
  --fg: #f6f7f8;
  --fg-2: rgba(246, 247, 248, 0.82);
  --muted: rgba(246, 247, 248, 0.66);
  --faint: rgba(246, 247, 248, 0.5);
  --placeholder: rgba(246, 247, 248, 0.35);
  --card: #0e0f10;
  --card-2: #151617;
  --chip: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.1);
  --edge-lit: rgba(255, 255, 255, 0.18);
  --paper: #f4f5f6;
  --ink: #0b0c0d;
  --ink-muted: rgba(11, 12, 13, 0.68);
  --ink-faint: rgba(11, 12, 13, 0.56);
  --ink-line: rgba(11, 12, 13, 0.09);

  --accent: #07e7ef;
  --accent-ink: #04191b;
  --accent-ink-safe: #05787d;
  --cyan: var(--accent);

  --gutter: clamp(20px, 4vw, 48px);
  --section-gap: clamp(80px, 10vw, 140px);
  --mono: 'Geist Mono', ui-monospace, monospace;
}

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

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--cyan); }

h1, h2, h3, p { margin: 0; }

.page { min-height: 100vh; background: var(--bg); overflow: hidden; }
.container { max-width: 1280px; margin: 0 auto; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* ---------- Shared type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}

.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-stack { display: flex; flex-direction: column; gap: 56px; }
.section { padding: 0 var(--gutter) var(--section-gap); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-outline { border: 1px solid rgba(255, 255, 255, 0.22); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hover: every button lifts slightly; solid buttons light up in cyan,
   outline buttons pick up a cyan edge. */
.btn, .site-nav .nav-cta {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}
.btn > span[aria-hidden] { display: inline-block; transition: transform 0.25s ease; }
@media (hover: hover) {
  .btn:hover, .site-nav .nav-cta:hover { transform: translateY(-2px); }
  .btn-primary:hover, .site-nav .nav-cta:hover,
  .btn-accent:hover, .calc-panel .btn:hover {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 8px 28px rgba(7, 231, 239, 0.35);
  }
  .btn-outline:hover, .btn-ghost:hover {
    color: var(--fg);
    border-color: rgba(7, 231, 239, 0.7);
    background: rgba(7, 231, 239, 0.08);
    box-shadow: 0 8px 28px rgba(7, 231, 239, 0.15);
  }
  .btn:hover > span[aria-hidden] { transform: translateX(4px); }
}
.btn:active, .site-nav .nav-cta:active { transform: translateY(0); }
.btn:focus-visible, .site-nav .nav-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .site-nav .nav-cta, .btn > span[aria-hidden] { transition: none; }
  .btn:hover, .site-nav .nav-cta:hover, .btn:hover > span[aria-hidden] { transform: none; }
}

/* ---------- Logo ---------- */

.logo { display: flex; align-items: center; }
.logo img { display: block; height: 24px; width: auto; }

/* ---------- Header ---------- */

/* Fixed header: transparent over the hero, frosted glass once the page scrolls. */
html { scroll-padding-top: 88px; }
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(5, 5, 5, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  flex-wrap: wrap;
}
.site-nav a { color: var(--fg-2); }
.site-nav a:hover { color: var(--cyan); }
.site-nav .nav-cta {
  background: var(--fg);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 500;
}
@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 400px) {
  .logo img { height: 20px; }
  .site-nav .nav-cta { padding: 9px 14px; font-size: 13px; }
}

/* ---------- Photo placeholders ---------- */

.stripes { background: repeating-linear-gradient(135deg, #0a0a0b 0 14px, #0e0f10 14px 28px); }
.photo-note { font-family: var(--mono); font-size: 12px; color: var(--placeholder); }
.fill { position: absolute; inset: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: max(720px, 92vh);
  display: flex;
  align-items: flex-end;
  padding: 120px var(--gutter) clamp(110px, 16vh, 170px);
}
/* The photo has extra sky on the left and top, so anchoring it bottom-right keeps
   the phone beside the headline at full-bleed size. */
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 100%;
  transform: translate(1%, -4.4%) scale(1.07);
  transform-origin: 100% 50%;
}

/* Smaller laptops: keep the copy a little narrower so it never reaches the phone. */
@media (min-width: 1200px) and (max-width: 1439px) {
  .hero .hero-copy h1 { font-size: 4.9vw; }
  .hero .hero-lede { max-width: 36vw; }
}
/* Large screens: the photo's size follows the hero height, so shift it right only as much as
   needed to keep the phone and hand clear of the full-size headline (calibrated 1440-2560px). */
@media (min-width: 1440px) {
  .hero-bg {
    transform: translate(clamp(0px, 1.1745 * max(50.84vw, 86.35vh, 675.7px) - 50vw - 148px, 5vw), -4.4%) scale(1.07);
  }
}
/* Shades the photo on the copy side so the text stays readable, and fades into the page. */
.hero-glow {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.55) 40%, rgba(5, 5, 5, 0) 70%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, transparent 22%, transparent 70%, var(--bg) 100%);
}
@media (max-width: 1199px) {
  .hero-bg { object-position: 86% 100%; transform: none; }
  .hero-glow {
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.82) 40%, var(--bg) 100%);
  }
}
.hero-grid {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: end;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 640px; }
.hero-copy .eyebrow { color: var(--cyan); }
.hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  text-wrap: balance;
}
.hero-lede {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}

.hero-card {
  justify-self: end;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(rgba(20, 21, 22, 0.82), rgba(10, 10, 11, 0.74));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--edge-lit);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.status { color: var(--accent); display: flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-card-payee { display: flex; flex-direction: column; gap: 4px; }
.hero-card-payee span:first-child { font-size: 15px; color: var(--fg-2); }
.hero-card-amount { font-size: 36px; letter-spacing: -0.03em; font-weight: 500; }
.rule { height: 1px; background: var(--line); }
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 13px; }
.kv { display: flex; flex-direction: column; gap: 4px; }
.kv > span:first-child { color: var(--muted); }

/* ---------- Highlights strip ---------- */

.highlights { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .highlights-grid { grid-template-columns: 1fr 1fr; } }
.highlight {
  padding: 32px clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
}
.highlight:last-child { border-right: 0; }
.highlight .highlight-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(7, 231, 239, 0.08);
  border: 1px solid rgba(7, 231, 239, 0.22);
}
.highlight strong { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.highlight span { font-size: 14px; color: var(--muted); }

/* ---------- Como funciona ---------- */

.how { padding: var(--section-gap) var(--gutter); }
.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.step {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.step-visual {
  height: 280px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glow-cyan { background: radial-gradient(80% 70% at 50% 100%, rgba(7, 231, 239, 0.14), transparent); }
.glow-white { background: radial-gradient(80% 70% at 50% 100%, rgba(238, 244, 246, 0.09), transparent); }
.glow-cyan-soft { background: radial-gradient(80% 70% at 50% 100%, rgba(7, 231, 239, 0.08), transparent); }
.step-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-body h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.step-body p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Mockup panels */
.panel {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.step .panel, .step .panel-list { max-width: 300px; }

.quote { gap: 12px; }
.quote-row { display: flex; flex-direction: column; gap: 2px; }
.quote-row span:first-child { font-size: 12px; color: var(--muted); }
.quote-row span:last-child { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.quote-row .amount { display: flex; align-items: center; gap: 10px; }
/* Small rounded flag next to amounts. */
.flag {
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.quote-rate {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--cyan);
}
.quote-rate::before, .quote-rate::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.split-row { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.split-row .mono { color: var(--fg); }

.panel-list { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.payee {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
}
/* Round flag badge for payees. */
.badge-flag { overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.badge-flag svg { width: 100%; height: 100%; display: block; }
.payee > .mono small { font-size: 10px; color: var(--muted); margin-left: 2px; }
.badge-sm { width: 32px; height: 32px; }
.payee-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.payee-info span:first-child { font-size: 13px; }
.payee-info span:last-child { font-size: 11px; color: var(--muted); }
.payee > .mono { font-size: 13px; }

.timeline { padding: 20px; gap: 14px; font-size: 13px; }
.tl-row { display: flex; align-items: center; gap: 12px; }
.tl-row span:nth-child(2) { flex: 1; }
.tl-row .mono { color: var(--muted); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.tl-dot.pending { background: none; border: 1.5px solid var(--faint); }
.tl-row.pending span:nth-child(2) { color: var(--fg-2); }
.timeline .split-row { font-size: 13px; }
.timeline .split-row span:last-child { color: var(--fg); }

/* ---------- Simulador ---------- */

.calc {
  background: var(--paper);
  color: var(--ink);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 72px);
}
.calc-intro { display: flex; flex-direction: column; gap: 28px; }
.calc .eyebrow { color: var(--accent-ink-safe); }
.calc-lede { font-size: 17px; line-height: 1.55; color: var(--ink-muted); max-width: 460px; }
.tiers { display: flex; flex-direction: column; gap: 10px; }
.tiers-title { font-size: 14px; font-weight: 500; }
.tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid rgba(11, 12, 13, 0.14);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.tier.is-active { background: var(--ink); color: var(--fg); border-color: var(--ink); }
.tier .mono { white-space: nowrap; }

.calc-panel {
  background: var(--ink);
  color: var(--fg);
  border-radius: 28px;
  padding: clamp(24px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
  container-type: inline-size;
}
.calc-block { display: flex; flex-direction: column; gap: 18px; }
.calc-block.tight { gap: 10px; }
.calc-label { font-size: 15px; color: var(--muted); }
.calc-volume { font-size: min(48px, 11cqi); letter-spacing: -0.03em; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

.slider { position: relative; height: 28px; display: flex; align-items: center; }
.slider-track, .slider-fill { position: absolute; left: 0; height: 6px; border-radius: 3px; }
.slider-track { right: 0; background: var(--chip); }
.slider-fill { background: var(--accent); }
.slider-thumb {
  position: absolute;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.slider input {
  position: absolute;
  left: 0; right: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.slider:has(input:focus-visible) .slider-thumb { outline: 2px solid var(--cyan); outline-offset: 3px; }
.slider-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* Sized to the panel width so the largest value ("US$ 2.100.000") stays on one line. */
.calc-savings {
  font-size: min(80px, 12.5cqi);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}
.calc-explain { font-size: 14px; color: var(--fg-2); }
.calc-panel .btn { align-self: flex-start; background: var(--accent); color: var(--accent-ink); }
.calc-legal { font-size: 12px; line-height: 1.5; color: var(--faint); }

/* ---------- Para quem ---------- */

.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.audience {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.audience { background: var(--card); }
.audience-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
  .audience:hover .audience-photo { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .audience-photo { transition: none; }
}
.audience-shade { background: linear-gradient(180deg, transparent 35%, rgba(5, 5, 5, 0.92)); }
.audience-copy { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.audience-copy h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.025em; }
.audience-copy p { font-size: 16px; line-height: 1.55; color: var(--fg-2); }

/* ---------- Demais serviços ---------- */

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.service {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.service .panel { font-size: 13px; gap: 10px; }
.service-body { display: flex; flex-direction: column; gap: 10px; }
.service-body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.service-body p { font-size: 15px; line-height: 1.55; color: var(--muted); }

.otc { gap: 12px !important; }
.otc-top { display: flex; justify-content: space-between; color: var(--muted); }
.otc-price { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; font-family: var(--mono); }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip { background: var(--chip); border-radius: 10px; padding: 10px; text-align: center; }
.otc .split-row { font-size: 13px; }

.pix-row { display: flex; align-items: center; gap: 12px; }
.pix-row .payee-info span:first-child { font-size: 13px; }
.pix-row > .mono { color: var(--accent); }
.pix-row > .mono.muted { color: var(--muted); }
.divider { height: 1px; background: rgba(255, 255, 255, 0.06); }

.balance-head { display: flex; flex-direction: column; gap: 2px; }
.balance-head span:first-child { color: var(--muted); }
.balance-head span:last-child { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.balances { font-family: var(--mono); font-size: 12px; }
.balances .chip { display: flex; justify-content: space-between; text-align: left; }
.balances .chip span:first-child { color: var(--muted); }
.balances .chip-add {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq-q {
  all: unset;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
}
.faq-q:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.faq-icon { font-size: 22px; font-weight: 300; color: var(--muted); }
.faq-a { padding: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 620px; }

/* ---------- CTA ---------- */

.cta {
  position: relative;
  padding: clamp(72px, 10vw, 150px) var(--gutter);
  overflow: hidden;
  background: var(--bg);
}
.cta-bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
/* On wide screens, shift the photo left so the person stays visible beside the card. */
@media (min-width: 900px) {
  .cta-bg { left: -18%; width: 118%; object-position: 0% 40%; }
}
/* Fades the photo into the page above and below. */
.cta-glow {
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(5, 5, 5, 0.15), rgba(5, 5, 5, 0.45) 100%),
    linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}
.cta-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
/* App store badges inside the CTA card. */
.cta-app {
  width: 100%;
  margin-top: 4px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.cta-app-label { font-size: 14px; color: var(--muted); }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--fg);
  line-height: 1.1;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.store-badge span { display: flex; flex-direction: column; align-items: flex-start; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.store-badge small { font-size: 10.5px; font-weight: 400; letter-spacing: 0.02em; color: var(--fg-2); }
@media (hover: hover) {
  .store-badge:hover {
    color: var(--fg);
    transform: translateY(-2px);
    border-color: rgba(7, 231, 239, 0.7);
    box-shadow: 0 8px 28px rgba(7, 231, 239, 0.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .store-badge { transition: none; }
  .store-badge:hover { transform: none; }
}
.store-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Glassmorphism card around the copy. */
.cta-glass {
  max-width: 900px;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 24px 80px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}
.cta h2 {
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 300;
  text-wrap: balance;
}
.cta h2 strong { font-weight: 600; }
@media (min-width: 720px) { .cta h2 .nowrap { white-space: nowrap; } }
.cta p { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 560px; text-wrap: pretty; }
.cta .btn-row { justify-content: center; margin-top: 8px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-ghost {
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--edge-lit);
}
@media (max-width: 600px) {
  .cta h2 br { display: none; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 48px var(--gutter); }
.footer-inner { display: flex; flex-direction: column; gap: 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.footer-links a { color: var(--fg-2); }
.footer-links a:hover { color: var(--cyan); }
.footer-legal { font-size: 12px; line-height: 1.6; color: var(--faint); max-width: 880px; }

/* Phones: let long button labels wrap instead of overflowing their container. */
.btn { max-width: 100%; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; justify-content: center; padding: 14px 20px; font-size: 15px; }
}
@media (max-width: 360px) {
  .site-header { gap: 12px; }
  .site-nav .nav-cta { padding: 8px 12px; font-size: 12px; }
}

/* ---------- Responsive spacing ---------- */

/* Tablets and phones: highlights as a 2×2 grid instead of a tall stack or an orphan. */
@media (max-width: 1023px) {
  .highlight {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .highlight:nth-child(2n) { border-right: 0; }
  .highlight:nth-last-child(-n + 2) { border-bottom: 0; }
}
/* Tablets: three cards would leave one alone on its own row, so the last spans the width. */
@media (min-width: 700px) and (max-width: 1023px) {
  .step-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .step:last-child, .service:last-child { grid-column: 1 / -1; }
  .step:last-child .panel, .service:last-child .panel { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .highlight {
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .highlight:nth-child(2n) { border-right: 0; }
  .highlight:nth-last-child(-n + 2) { border-bottom: 0; }
  .highlight strong { font-size: 18px; }
  .highlight span:not(.highlight-icon) { font-size: 13px; }
}

/* Phones: tighter card padding so nested panels keep enough width. */
@media (max-width: 480px) {
  .calc { padding: 24px 16px; border-radius: 28px; gap: 28px; }
  .calc-panel { padding: 24px 20px; border-radius: 22px; }
  .tier { padding: 14px 16px; font-size: 14px; }
  .step-visual { height: auto; min-height: 220px; padding: 24px 20px; }
  .step-body { padding: 24px 20px; }
  .service { padding: 20px; gap: 24px; }
  .service .panel { padding: 14px; }
  .chip-grid { gap: 6px; }
  .chip, .balances .chip-add { padding: 8px; }
  .audience { padding: 24px; }
  .cta-glass { padding: 32px 20px; border-radius: 24px; }
}

/* Very narrow phones (≤360px). */
@media (max-width: 360px) {
  .balances { font-size: 11px; }
  .balance-head span:last-child { font-size: 20px; }
  .pix-row { gap: 8px; }
  .pix-row > .mono { font-size: 12px; }
  .hero h1 { font-size: 40px; }
}

/* ---------- Services: flags, coin icons and Pix/QR logos ---------- */

.service .flag { width: 18px; height: 12px; border-radius: 2px; vertical-align: middle; }
.service .coin { width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; vertical-align: middle; }
.otc-top .pair { display: inline-flex; align-items: center; gap: 6px; }
.otc-top .pair .flag { margin-left: 2px; }
.service .with-flag { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.service .balance-head .with-flag .flag { width: 24px; height: 16px; border-radius: 3px; }
.balances .chip span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.badge-icon svg { width: 18px; height: 18px; color: var(--fg); }
/* Balance chips: two per row when they fit, one per row on narrow phones. */
.chip-grid.balances { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.balances .chip { gap: 8px; min-width: 0; }
@media (max-width: 400px) {
  .service .balance-head span.with-flag { font-size: 20px; }
}

/* PDF file icon in the "Acompanhe" timeline. */
.pdf-file { display: inline-flex; align-items: center; gap: 6px; }
.pdf-icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ---------- WhatsApp floating button ---------- */

.whatsapp-fab {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsapp-pulse 2.6s ease-out infinite;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.08); }
.whatsapp-fab:active { transform: scale(0.97); }
.whatsapp-fab:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes whatsapp-pulse {
  0% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { animation: none; transition: none; }
}
@media (max-width: 599px) {
  .whatsapp-fab { width: 56px; height: 56px; }
}
