/* ============================================================================
   Landing page — Gabinete Central (estática, zero dependência).
   Recriação fiel do protótipo "Landing Premium v2" (design handoff hifi).
   Os valores exatos de cor/tipografia/espacamento vivem nos style="" do HTML
   (como no protótipo); aqui ficam tokens de tema, keyframes, hovers e as
   media queries responsivas (o protótipo fazia isso por JS; aqui é CSS).
   ========================================================================== */

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #f7f8fb;
}
a {
  color: #122249;
}
a:hover {
  color: #0d1a38;
}
::selection {
  background: #122249;
  color: #fff;
}

#gcp {
  --bg0: #f7f8fb;
  --bg1: #ffffff;
  --ink: #0e1730;
  --body: #5d6478;
  --muted: #8a8f9c;
  --card: #ffffff;
  --border: #e4e7ee;
  --border2: #edeff4;
  --navtxt: #3d4358;
  --accent: #2b50c8;
  --accent2: #3a63de;
  --pill-bg: #ffffff;
  --pill-border: #e4e7ee;
  --pill-txt: #6b7185;
  --ghost-border: #d5d9e2;
  --ghost-txt: #1d2540;
  --glow1: rgba(58, 99, 222, 0.16);
  --glow2: rgba(40, 70, 170, 0.08);
  --grid: rgba(14, 23, 48, 0.06);
  --gccol: #f4f7ff;
  --gctext: #122249;
  --navglass: rgba(247, 248, 251, 0.8);
  --navborder: rgba(14, 23, 48, 0.08);
  --stage: #0b1226;
  --winshadow: 0 70px 140px -50px rgba(10, 16, 38, 0.5), 0 30px 60px -35px rgba(10, 16, 38, 0.35);
}
#gcp[data-theme="dark"] {
  --bg0: #060914;
  --bg1: #0a0f1f;
  --ink: #f2f5fd;
  --body: #9aa4bd;
  --muted: #77809a;
  --card: #0d1428;
  --border: rgba(255, 255, 255, 0.09);
  --border2: rgba(255, 255, 255, 0.06);
  --navtxt: #c2c9d8;
  --accent: #8fb0ff;
  --accent2: #6f95f5;
  --pill-bg: rgba(255, 255, 255, 0.03);
  --pill-border: rgba(255, 255, 255, 0.12);
  --pill-txt: #9aa4bd;
  --ghost-border: rgba(255, 255, 255, 0.16);
  --ghost-txt: #e7ebf4;
  --glow1: rgba(58, 99, 222, 0.32);
  --glow2: rgba(40, 70, 170, 0.18);
  --grid: rgba(124, 154, 255, 0.06);
  --gccol: rgba(58, 99, 222, 0.12);
  --gctext: #cdd9f7;
  --navglass: rgba(6, 9, 20, 0.75);
  --navborder: rgba(255, 255, 255, 0.07);
  --stage: #0b1226;
  --winshadow: 0 70px 140px -50px rgba(0, 0, 0, 0.9), 0 30px 60px -35px rgba(0, 0, 0, 0.7);
}

@keyframes gcLineUp {
  from {
    transform: translateY(112%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes gcFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes gcRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gcFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}
@keyframes gcFloatB {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes gcPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 164, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(46, 164, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 164, 102, 0);
  }
}
@keyframes gcMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes gcBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Hovers (o protótipo usava style-hover; aqui são classes) */
.gc-navlink:hover,
.gc-iconbtn:hover {
  background: var(--pill-bg);
}
.gc-ghost:hover {
  border-color: var(--accent2) !important;
}
.gc-footlink:hover {
  color: #ffffff !important;
}
.gc-chip:hover {
  transform: translateY(-1px);
}

/* Toggle de tema: mostra o ícone certo por tema (sol no claro → vira lua no escuro) */
#gcp .gc-icon-moon {
  display: none;
}
#gcp .gc-icon-sun {
  display: block;
}
#gcp[data-theme="dark"] .gc-icon-moon {
  display: block;
}
#gcp[data-theme="dark"] .gc-icon-sun {
  display: none;
}

/* ============ Responsivo (breakpoints do handoff, via media query) ============ */
@media (max-width: 939px) {
  [data-sticky-wrap] {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  [data-stage-col] {
    display: none !important;
  }
  [data-step-img] {
    display: block !important;
  }
  [data-step] {
    min-height: 0 !important;
    padding: 34px 0 !important;
    opacity: 1 !important;
  }
}
@media (max-width: 899px) {
  [data-nav-links] {
    display: none !important;
  }
}
@media (max-width: 819px) {
  [data-hero-chip] {
    display: none !important;
  }
  [data-ouro-chips] {
    align-items: flex-start !important;
    max-width: none !important;
  }
  [data-ouro-chips-row] {
    justify-content: flex-start !important;
  }
}
@media (max-width: 599px) {
  [data-nav-cta] {
    height: 38px !important;
    padding: 0 13px !important;
    font-size: 12.5px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gcp * {
    animation: none !important;
    transition: none !important;
  }
}
