/* =========================================================
   FYoption — Design System
   ========================================================= */

:root {
  /* ---- Cores: background ---- */
  --bg-primary:   #0A0B0E;
  --bg-secondary: #0F1116;
  --bg-elevated:  #15181F;
  --bg-card:      #13161C;

  /* ---- Texto ---- */
  --text-primary:   #F4F6F8;
  --text-secondary: #AEB6C2;
  --text-muted:     #6B7280;

  /* ---- Accent (verde FYoption) ---- */
  --accent:        #2DD68C;
  --accent-bright: #3DE69C;
  --accent-deep:   #16A06A;
  --accent-soft:   rgba(45, 214, 140, 0.12);
  --accent-glow:   rgba(45, 214, 140, 0.35);

  /* ---- Bordas ---- */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* ---- Tipografia ---- */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* ---- Escala (1.25) ---- */
  --fs-display: clamp(2.6rem, 6vw, 4.4rem);
  --fs-h1:      clamp(2.2rem, 5vw, 3.6rem);
  --fs-h2:      clamp(1.8rem, 3.6vw, 2.7rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.5rem);
  --fs-h4:      1.125rem;
  --fs-body-l:  1.125rem;
  --fs-body:    1rem;
  --fs-caption: 0.875rem;
  --fs-overline:0.8rem;

  /* ---- Spacing (8pt) ---- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px; --sp-9: 128px;

  /* ---- Radii ---- */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-full: 999px;

  /* ---- Sombras ---- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 16px 50px -12px var(--accent-glow);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --header-h: 72px;
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection { background: var(--accent); color: #04150D; }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

.section { padding-block: clamp(var(--sp-7), 10vw, var(--sp-9)); }

/* =========================================================
   Helpers
   ========================================================= */
.overline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-overline);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.accent { color: var(--accent); }

.section-head { max-width: 720px; margin: 0 auto var(--sp-6); text-align: center; }
.section-title { font-size: var(--fs-h2); margin-bottom: var(--sp-3); }
.section-lead { font-size: var(--fs-body-l); color: var(--text-secondary); }

/* =========================================================
   Botões
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-body);
  border-radius: var(--r-full);
  padding: 14px 26px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn-sm { padding: 10px 18px; font-size: var(--fs-caption); min-height: 40px; }
.btn-lg { padding: 17px 34px; font-size: var(--fs-body-l); }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  color: #04150D;
  box-shadow: 0 8px 24px -8px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--accent-soft); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              backdrop-filter .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 8px 30px -16px rgba(0, 0, 0, 0.85);
}

/* Barra: grid 1fr | auto | 1fr  → nav sempre centralizada */
.nav-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: var(--sp-3);
}

/* Logo */
.nav-logo { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; }
.nav-logo img { height: 32px; width: auto; display: block; }

/* Navegação central */
.nav-menu {
  grid-column: 2;
  justify-self: center;
  display: none;
  align-items: center;
  gap: clamp(var(--sp-4), 2.4vw, var(--sp-6));
}
.nav-menu a {
  position: relative;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s var(--ease);
}
.nav-menu a:hover { color: var(--text-primary); }
.nav-menu a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s var(--ease);
}
.nav-menu a:hover::after { transform: scaleX(1); }

/* Ações */
.nav-actions {
  grid-column: 3;
  justify-self: end;
  display: flex; align-items: center; gap: var(--sp-2);
}

/* Seletor de idioma (dropdown) */
.lang-wrap { position: relative; display: none; }
.lang-select {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: var(--fs-caption); font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 12px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.lang-select:hover { color: var(--text-primary); border-color: var(--border-strong); }
.lang-ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.lang-select[aria-expanded="true"] .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 168px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 2px;
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  display: flex; align-items: center;
  width: 100%; text-align: left;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: var(--fs-caption); color: var(--text-secondary);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang-menu button:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.lang-menu button[aria-current="true"] { color: var(--accent); font-weight: 600; }

/* Hambúrguer */
.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-burger span {
  width: 22px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile */
.nav-drawer[hidden] { display: none; }
.nav-drawer {
  display: flex; flex-direction: column;
  padding: var(--sp-3) var(--sp-4) var(--sp-5);
  gap: 2px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 12, 16, 0.97);
  backdrop-filter: blur(18px);
}
.nav-drawer-link {
  padding: 14px 6px;
  font-family: var(--font-display); font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-drawer-link:hover { color: var(--accent); }
.nav-drawer-foot { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-4); }
.nav-drawer-lang { font-size: var(--fs-caption); color: var(--text-muted); text-align: center; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + clamp(var(--sp-3), 2vh, var(--sp-5)));
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(45,214,140,0.10), transparent 55%),
    radial-gradient(80% 60% at 50% 0%, #0E141A 0%, var(--bg-primary) 70%);
}
.hero-glow {
  position: absolute; top: -6%; left: 50%; transform: translateX(-50%);
  width: 70vw; height: 50vw; max-width: 820px; max-height: 560px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  filter: blur(40px); opacity: 0.4; pointer-events: none;
}
.hero-inner {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 880px;
  min-height: 56vh;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-caption); font-weight: 500;
  color: var(--text-secondary);
  background: var(--accent-soft);
  border: 1px solid rgba(45,214,140,0.25);
  padding: 7px 16px; border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero-title { font-size: var(--fs-display); font-weight: 800; margin-bottom: var(--sp-4); }
.hero-sub { font-size: var(--fs-body-l); max-width: 580px; margin: 0 auto var(--sp-5); }

.hero-cta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: var(--sp-3); margin-bottom: var(--sp-5);
}
.btn-ico {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.btn:hover .btn-ico { transform: translateX(3px); }

.hero-bullets {
  list-style: none; display: flex; flex-wrap: wrap;
  justify-content: center; gap: var(--sp-4);
  margin-bottom: clamp(var(--sp-6), 7vw, var(--sp-8));
}
.hero-bullets li {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-caption); color: var(--text-secondary);
}
.ico-check {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: var(--accent); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero-platform {
  position: relative;
  flex: 0 0 auto;
  max-width: 1080px;
  margin-top: clamp(var(--sp-3), 2vh, var(--sp-5));
}
.hero-frame {
  position: relative;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-bottom: none;
  box-shadow: 0 -10px 60px -20px var(--accent-glow), var(--shadow-md);
  background: var(--bg-elevated);
}
.hero-gif { width: 100%; display: block; }
.hero-badge {
  position: absolute;
  background: rgba(19,22,28,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.hero-badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); line-height: 1; }
.hero-badge small { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.hero-badge .stars { color: var(--accent); font-size: 0.8rem; letter-spacing: 2px; margin-top: 2px; }
.hero-badge--rating { bottom: 20px; left: 20px; }
.hero-badge--payout { top: 20px; right: 20px; }
.hero-badge--payout strong { color: var(--accent); }
@media (max-width: 599px) {
  .hero-badge { padding: var(--sp-2) var(--sp-3); }
  .hero-badge strong { font-size: 1.1rem; }
  .hero-badge small { display: none; }
}

/* =========================================================
   Mercados
   ========================================================= */
/* ---- Ticker de cotações (loop infinito) ---- */
.ticker {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-block: 0 var(--sp-7);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: var(--sp-3);
  animation: ticker-scroll 55s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 9px;
  flex-shrink: 0;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  white-space: nowrap;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.ticker-item:hover { border-color: rgba(45,214,140,0.4); background: var(--bg-elevated); }
.coin-img {
  width: 24px; height: 24px; border-radius: 50%;
  object-fit: contain; flex-shrink: 0;
}
.coin-sym {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; color: var(--text-primary);
}
.coin-name { font-size: 0.8rem; color: var(--text-muted); }
.coin-chg { font-size: 0.8rem; font-weight: 600; }
.coin-chg.up { color: var(--accent); }
.coin-chg.down { color: #FF5C5C; }

.markets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
.market-card {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.035) 0%, transparent 38%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  min-height: 180px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
/* Brilho radial que surge no hover */
.market-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 50% -10%, rgba(45,214,140,0.12), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.market-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45,214,140,0.45);
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.7), 0 0 0 1px rgba(45,214,140,0.12);
}
.market-card:hover::after { opacity: 1; }
.market-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(45,214,140,0.18), rgba(45,214,140,0.04));
  border: 1px solid rgba(45,214,140,0.18);
  border-radius: var(--r-sm);
  margin-bottom: auto;
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.market-card:hover .market-icon {
  background: linear-gradient(135deg, rgba(45,214,140,0.28), rgba(45,214,140,0.08));
  border-color: rgba(45,214,140,0.45);
  transform: scale(1.06);
}
.market-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--accent); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.market-card h3 { font-size: var(--fs-h3); margin-top: var(--sp-4); margin-bottom: 4px; }
.market-count { font-size: var(--fs-caption); color: var(--accent); font-weight: 600; margin-bottom: 0; }
.market-assets { font-size: var(--fs-caption); color: var(--text-muted); line-height: 1.7; }

.market-card--cta {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(45,214,140,0.22), transparent 55%),
    linear-gradient(135deg, rgba(45,214,140,0.12), rgba(22,160,106,0.04));
  border-color: rgba(45,214,140,0.32);
  justify-content: center; gap: var(--sp-3);
}
.market-card--cta::after { display: none; }
.market-card--cta h3 { margin-top: 0; }
.market-card--cta p { color: var(--text-secondary); }
.market-card--cta .btn { align-self: flex-start; margin-top: var(--sp-2); }

/* =========================================================
   Plataforma
   ========================================================= */
.platform-inner { display: grid; gap: var(--sp-6); align-items: center; }
.feature-list { list-style: none; display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.feature-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.ico-feat {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px;
  fill: none; stroke: var(--accent); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature-list h4 { font-size: var(--fs-h4); color: var(--text-primary); margin-bottom: 2px; }
.feature-list p { font-size: var(--fs-caption); color: var(--text-secondary); }

.platform-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  position: relative;
}
.platform-frame::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(45,214,140,0.08);
  pointer-events: none;
}
.platform-img { width: 100%; }

/* Variante para mockup de dispositivos (PNG transparente) */
.platform-frame--device {
  border: none;
  overflow: visible;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.platform-frame--device::after { display: none; }
.platform-frame--device::before {
  content: '';
  position: absolute;
  inset: -4% 0%;
  background: radial-gradient(circle at 50% 45%, var(--accent-glow), transparent 62%);
  filter: blur(44px);
  opacity: 0.6;
  z-index: 0;
}
.platform-frame--device .platform-img {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  filter: drop-shadow(0 34px 60px rgba(0,0,0,0.6));
}

/* =========================================================
   Conta Demo
   ========================================================= */
.demo {
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(45,214,140,0.1), transparent 70%),
    var(--bg-primary);
}
.demo-inner { max-width: 760px; margin: 0 auto; }
.demo-amount {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1;
  margin: var(--sp-3) 0 var(--sp-4);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.demo-lead { font-size: var(--fs-body-l); margin-bottom: var(--sp-5); }
.demo-cta { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); }
.demo-note { font-size: var(--fs-caption); color: var(--text-muted); }

/* =========================================================
   Depósitos
   ========================================================= */
.deposits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
.deposit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.deposit-card:hover { transform: translateY(-4px); border-color: rgba(45,214,140,0.4); }
.deposit-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-3);
}
.deposit-icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--accent); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.deposit-icon svg path[d^="M13 2"] { fill: var(--accent); stroke: none; }

.flag-br {
  display: inline-block;
  width: 1.05em; height: auto;
  vertical-align: -0.1em;
  margin-left: 0.18em;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.deposit-card h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.deposit-card p { font-size: var(--fs-caption); }

/* =========================================================
   3 Passos
   ========================================================= */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  overflow: hidden;
}
.step-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(45,214,140,0.4);
  display: block; margin-bottom: var(--sp-2); line-height: 1;
}
.step-card h3 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.step-card p { font-size: var(--fs-caption); }

/* =========================================================
   Multiplataforma
   ========================================================= */
.multiplat-inner { display: grid; gap: var(--sp-6); align-items: center; }

/* ---- Lado esquerdo: texto + botão ---- */
.multiplat-copy { max-width: 540px; }
.multiplat-copy .overline { margin-bottom: var(--sp-3); }
.multiplat-copy .section-title {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin-bottom: var(--sp-4);
}
.multiplat-copy .section-lead {
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

/* ---- Lado direito: ícone pulsando ---- */
.multiplat-frame {
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-lg);
  overflow: hidden;
}
/* halo que respira atrás do ícone */
.multiplat-frame::before {
  content: '';
  position: absolute;
  width: 62%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 68%);
  filter: blur(18px);
  animation: halo-pulse 3.2s ease-in-out infinite;
}
.multiplat-img {
  position: relative;
  width: 52%;
  filter: drop-shadow(0 18px 38px rgba(45,214,140,0.3));
  animation: icon-pulse 3.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes icon-pulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 18px 38px rgba(45,214,140,0.28)); }
  50%      { transform: scale(1.07); filter: drop-shadow(0 22px 54px rgba(45,214,140,0.55)); }
}
@keyframes halo-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.95); }
  50%      { opacity: 0.8;  transform: scale(1.12); }
}

/* =========================================================
   Depoimentos
   ========================================================= */
.rating-summary {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-3);
  font-size: var(--fs-caption); color: var(--text-secondary);
}
.rating-summary strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); }
.rating-summary .stars { color: var(--accent); letter-spacing: 2px; }

/* ---- Carrossel de depoimentos (loop infinito) ---- */
.tcarousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: var(--sp-6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.tcarousel-track {
  display: flex;
  width: max-content;
  gap: var(--sp-3);
  animation: tcarousel-scroll 60s linear infinite;
  will-change: transform;
}
.tcarousel:hover .tcarousel-track { animation-play-state: paused; }
@keyframes tcarousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.t-card {
  flex-shrink: 0;
  width: min(380px, 82vw);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: flex; flex-direction: column;
  gap: var(--sp-3);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.t-card:hover { border-color: rgba(45,214,140,0.4); transform: translateY(-4px); }

.t-head { display: flex; align-items: center; gap: var(--sp-3); }
.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(45,214,140,0.45);
  background: var(--bg-elevated);
}
.t-person { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; }
.t-name { font-family: var(--font-display); font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.t-handle { font-size: 0.8rem; color: var(--text-muted); }
.t-stars { color: var(--accent); letter-spacing: 2px; font-size: 0.8rem; flex-shrink: 0; }

.t-card blockquote {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-list { display: grid; gap: var(--sp-2); }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq-item[open] { border-color: rgba(45,214,140,0.35); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-h4);
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(-135deg); }
.faq-item p { padding: 0 var(--sp-4) var(--sp-4); font-size: var(--fs-body); color: var(--text-secondary); }

/* =========================================================
   CTA Final
   ========================================================= */
.cta-final {
  position: relative;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(110% 80% at 50% 115%, rgba(45, 214, 140, 0.16) 0%, transparent 55%),
    radial-gradient(70% 60% at 50% 100%, rgba(45, 214, 140, 0.10) 0%, transparent 62%);
}
/* Transição suave com a seção anterior — evita a linha dura no topo */
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 180px;
  background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
  pointer-events: none;
}
.cta-glow {
  position: absolute; bottom: -60%; left: 50%; transform: translateX(-50%);
  width: 130vw; height: 95vw; max-width: 1150px; max-height: 780px;
  background: radial-gradient(ellipse at center,
    var(--accent-glow) 0%,
    rgba(45, 214, 140, 0.12) 38%,
    transparent 70%);
  filter: blur(70px); opacity: 0.6; pointer-events: none;
}
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta-final h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-3); }
.cta-final p { font-size: var(--fs-body-l); margin-bottom: var(--sp-5); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  padding-bottom: var(--sp-6);
}
.footer-logo { height: 36px; width: auto; margin-bottom: var(--sp-3); }
.footer-brand p { font-size: var(--fs-caption); max-width: 320px; margin-bottom: var(--sp-3); }
.footer-mail { font-size: var(--fs-caption); color: var(--accent); font-weight: 500; }
.footer-col h4 {
  font-size: var(--fs-caption);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}
.footer-col a {
  display: block;
  font-size: var(--fs-caption);
  color: var(--text-muted);
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-risk {
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--sp-4);
}
.footer-risk p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; max-width: 900px; }
.footer-risk strong { color: var(--text-secondary); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-block: var(--sp-4) var(--sp-5);
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track, .tcarousel-track { animation: none !important; transform: none !important; }
  .multiplat-img, .multiplat-frame::before { animation: none !important; transform: none !important; }
}

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 600px) {
  .markets-grid   { grid-template-columns: repeat(2, 1fr); }
  .deposits-grid  { grid-template-columns: repeat(3, 1fr); }
  .steps-grid     { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 940px) {
  .nav-menu { display: flex; }
  .lang-wrap { display: block; }
  .nav-burger { display: none; }
  .nav-drawer { display: none !important; }

  .platform-inner { grid-template-columns: 1fr 1.15fr; gap: var(--sp-7); align-items: center; }
  .multiplat-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
  .markets-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-6); }
}

/* =========================================================
   Auth Panel (drawer lateral direito)
   ========================================================= */
.auth-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 6, 9, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.auth-overlay.is-open { opacity: 1; }

.auth-panel {
  position: fixed; top: 0; right: 0; z-index: 100;
  height: 100dvh; width: min(440px, 100vw);
  background:
    radial-gradient(120% 50% at 100% 0%, rgba(45,214,140,0.10), transparent 55%),
    var(--bg-secondary);
  border-left: 1px solid var(--border-strong);
  box-shadow: -24px 0 60px -20px rgba(0,0,0,0.7);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .42s var(--ease), visibility 0s linear .42s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.auth-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .42s var(--ease), visibility 0s;
}

.auth-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.auth-close:hover { color: var(--text-primary); border-color: var(--border-strong); background: var(--bg-card); }
.auth-close svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}

.auth-inner { padding: clamp(var(--sp-5), 6vw, var(--sp-6)); padding-top: var(--sp-7); }
.auth-logo { height: 34px; width: auto; margin-bottom: var(--sp-5); }
.auth-panel h2 { font-size: 1.7rem; margin-bottom: var(--sp-2); }
.auth-sub { font-size: var(--fs-caption); color: var(--text-secondary); margin-bottom: var(--sp-5); }

/* Tabs */
.auth-tabs {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-full);
  padding: 4px;
  margin-bottom: var(--sp-5);
}
.auth-tab {
  position: relative; z-index: 2;
  padding: 10px 0;
  font-family: var(--font-display);
  font-size: var(--fs-caption); font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--r-full);
  transition: color .3s var(--ease);
}
.auth-tab.is-active { color: #04130c; }
.auth-tab-ind {
  position: absolute; z-index: 1; top: 4px; left: 4px;
  width: calc(50% - 4px); height: calc(100% - 8px);
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-deep));
  border-radius: var(--r-full);
  box-shadow: 0 6px 16px -6px var(--accent-glow);
  transition: transform .35s var(--ease);
}
.auth-tabs[data-active="login"] .auth-tab-ind { transform: translateX(100%); }

/* Form */
.auth-form { display: grid; gap: var(--sp-3); }
/* Altura reservada: mantém o botão/rodapé na mesma posição em Cadastrar e Entrar */
.auth-fields {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  min-height: 258px;
}
.auth-field { display: grid; gap: 6px; }
.auth-field > span {
  font-size: var(--fs-caption); font-weight: 500; color: var(--text-secondary);
}
.auth-field input {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--font-body); font-size: var(--fs-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.auth-field input::placeholder { color: var(--text-muted); }
.auth-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(45,214,140,0.15);
}

.auth-forgot {
  justify-self: end;
  font-size: var(--fs-caption); color: var(--accent); font-weight: 500;
  margin-top: -4px;
}
.auth-forgot:hover { text-decoration: underline; }

.auth-submit { margin-top: var(--sp-2); }

.auth-switch {
  text-align: center; font-size: var(--fs-caption);
  color: var(--text-secondary); margin-top: var(--sp-4);
}
.auth-switch button {
  color: var(--accent); font-weight: 600; font-family: inherit;
}
.auth-switch button:hover { text-decoration: underline; }

.auth-legal {
  font-size: 0.78rem; line-height: 1.6; color: var(--text-muted);
  text-align: center; margin-top: var(--sp-5);
}
.auth-legal a { color: var(--text-secondary); text-decoration: underline; }

/* Estados de aba: oculta campos exclusivos */
.auth-panel[data-mode="login"] [data-only="signup"],
.auth-panel[data-mode="signup"] [data-only="login"] { display: none; }

/* Trava de scroll do body quando o painel está aberto */
body.auth-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .auth-panel, .auth-overlay, .auth-tab-ind { transition: none; }
}
