/* ================================================================
   INOVE EXPERIENCE — Premium CSS
   Design System: Dark Tech + Neon Accents + Glass Morphism
================================================================ */

/* ----------------------------------------------------------------
   CSS Custom Properties
---------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --clr-primary:       #00d4ff;
  --clr-primary-dark:  #0099bb;
  --clr-secondary:     #7c3aed;
  --clr-accent:        #f59e0b;
  --clr-success:       #10b981;
  --clr-danger:        #ef4444;

  /* Background */
  --clr-bg:            #0a0f1e;
  --clr-bg-2:          #0d1428;
  --clr-bg-3:          #111827;
  --clr-surface:       #1a2035;
  --clr-surface-2:     #1e2a40;
  --clr-border:        rgba(255,255,255,0.08);
  --clr-border-light:  rgba(255,255,255,0.15);

  /* Text */
  --clr-text:          #e2e8f0;
  --clr-text-muted:    #94a3b8;
  --clr-text-faint:    #4a5568;
  --clr-white:         #ffffff;
 --clr-azul:          #00BFFF;
  /* Gradients */
  --grad-primary:      linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
  --grad-primary-rev:  linear-gradient(135deg, #7c3aed 0%, #00d4ff 100%);
  --grad-hero:         linear-gradient(135deg, #0a0f1e 0%, #0d1428 50%, #1a1040 100%);
  --grad-glow:         radial-gradient(circle at center, rgba(0,212,255,0.15) 0%, transparent 70%);

  /* Typography */
  --font-heading:      'Space Grotesk', sans-serif;
  --font-body:         'Inter', sans-serif;

  /* Spacing */
  --section-py:        100px;
  --container-max:     1200px;
  --container-px:      24px;

  /* Radius */
  --radius-sm:         8px;
  --radius-md:         16px;
  --radius-lg:         24px;
  --radius-xl:         32px;
  --radius-full:       9999px;

  /* Shadows */
  --shadow-sm:         0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:         0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg:         0 16px 64px rgba(0,0,0,0.5);
  --shadow-glow:       0 0 40px rgba(0,212,255,0.2);
  --shadow-glow-lg:    0 0 80px rgba(0,212,255,0.3);

  /* Transitions */
  --trans-fast:        0.15s ease;
  --trans-base:        0.3s ease;
  --trans-slow:        0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------------------------------
   Typography
---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ----------------------------------------------------------------
   Layout Helpers
---------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background: var(--clr-bg-2);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--clr-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section__title {
  margin-bottom: 16px;
}

.section__subtitle {
  color: var(--clr-text-muted);
  font-size: 1.05rem;
}

/* ----------------------------------------------------------------
   Buttons
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--trans-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn--sm  { padding: 8px 20px;  font-size: 0.85rem; }
.btn--md  { padding: 12px 28px; font-size: 0.95rem; }
.btn--lg  { padding: 16px 36px; font-size: 1rem; }
.btn--xl  { padding: 18px 48px; font-size: 1.1rem; }

.btn--primary {
  background: var(--grad-primary);
  color: #000;
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,212,255,0.5);
  filter: brightness(1.1);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--clr-white);
  border-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn--outline:hover {
  background: var(--clr-primary);
  color: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ----------------------------------------------------------------
   HEADER / NAV
---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: padding var(--trans-base);
  padding: 16px 0;
}

/* IMPORTANTE: o backdrop-filter fica no ::before, e NAO no .header.
   Se ele ficar no .header, o header vira "containing block" e o menu
   mobile (position: fixed) passa a se posicionar dentro do header
   (~64px de altura) em vez da tela inteira. */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(10,15,30,0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity var(--trans-base);
}

.header.scrolled {
  padding: 10px 0;
}

.header.scrolled::before {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--grad-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #000;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--clr-white);
  letter-spacing: -0.02em;
}
.logo-text strong {
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--radius-full);
  transition: width var(--trans-base);
}
.nav__link:hover { color: var(--clr-white); }
.nav__link:hover::after,
.nav__link.active::after { width: 60%; }
.nav__link.active { color: var(--clr-white); }

.nav__cta { font-size: 0.85rem !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--trans-base);
}

/* ----------------------------------------------------------------
   HERO
---------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../images/IMG_6418.JPG') center center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Telas verticais (retrato) */
@media (orientation: portrait) {
  .hero__video--vertical {
    display: block;
  }
}

/* Telas horizontais (paisagem) */
@media (orientation: landscape) {
  .hero__video--horizontal {
    display: block;
  }
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,15,30,0.52) 0%, rgba(13,20,40,0.50) 50%, rgba(26,16,64,0.58) 100%),
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,212,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(124,58,237,0.10) 0%, transparent 60%);
}

/* Particle dots */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__particles::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.05) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero__particles::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  bottom: 0;
  left: 20%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--clr-primary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(0,212,255,0.3); box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50% { border-color: rgba(0,212,255,0.6); box-shadow: 0 0 0 6px rgba(0,212,255,0.05); }
}

.hero__title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__title strong { color: var(--clr-azul); }

/* Hero Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--clr-border-light);
  flex-shrink: 0;
}

/* Hero Actions */
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Hero Trust */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__trust > span {
  font-size: 0.8rem;
  color: var(--clr-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust__badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-text-muted);
  letter-spacing: 0.05em;
  transition: all var(--trans-fast);
}
.trust__badge:hover {
  background: rgba(0,212,255,0.1);
  border-color: rgba(0,212,255,0.3);
  color: var(--clr-primary);
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-indicator {
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  width: 4px;
  height: 8px;
  background: var(--clr-primary);
  border-radius: var(--radius-full);
  animation: scroll-down 1.8s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* ----------------------------------------------------------------
   HOW IT WORKS
---------------------------------------------------------------- */
.how-it-works {
  /* background handled by section--light */
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.step__icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step__icon--1 { background: rgba(0,212,255,0.15); color: var(--clr-primary); border: 1px solid rgba(0,212,255,0.3); }
.step__icon--2 { background: rgba(124,58,237,0.15); color: #a78bfa; border: 1px solid rgba(124,58,237,0.3); }
.step__icon--3 { background: rgba(245,158,11,0.15); color: var(--clr-accent); border: 1px solid rgba(245,158,11,0.3); }
.step__icon--4 { background: rgba(16,185,129,0.15); color: var(--clr-success); border: 1px solid rgba(16,185,129,0.3); }

.step__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.step__desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  position: relative;
  z-index: 1;
}

.step__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--clr-text-faint);
  font-size: 1.2rem;
  padding-top: 40px;
}

/* ----------------------------------------------------------------
   TOTENS
---------------------------------------------------------------- */
.totens__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.totem-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-base);
}
.totem-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.totem-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: var(--clr-bg-3);
}

.totem-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--trans-slow);
}
.totem-card:hover .totem-card__img-wrap img {
  transform: scale(1.05);
}

/* Mini Swiper dentro de cada totem card */
.totem-swiper {
  width: 100%;
  height: 100%;
}
.totem-swiper .swiper-slide {
  overflow: hidden;
}
.totem-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--trans-slow);
}
.totem-swiper:hover .swiper-slide-active img {
  transform: scale(1.05);
}
/* Slide do produto (primeira imagem) usa contain com fundo */
.totem-swiper .swiper-slide.slide-produto img {
  object-fit: contain;
  padding: 16px;
  background: var(--clr-bg-3);
}
.section--light .totem-swiper .swiper-slide.slide-produto img {
  background: #f1f5f9;
}
/* Paginação dos totem swipers */
.totem-swiper .swiper-pagination {
  bottom: 8px !important;
}
.totem-swiper .swiper-pagination-bullet {
  background: rgba(255,255,255,0.6) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  transition: all 0.3s ease;
}
.totem-swiper .swiper-pagination-bullet-active {
  background: #fff !important;
  width: 18px !important;
  border-radius: 3px !important;
}
/* Setas mini dos totem swipers */
.totem-swiper .swiper-button-prev,
.totem-swiper .swiper-button-next {
  width: 30px !important;
  height: 30px !important;
  background: rgba(0,0,0,0.45) !important;
  border-radius: 50% !important;
  border: none !important;
  color: #fff !important;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.totem-card:hover .totem-swiper .swiper-button-prev,
.totem-card:hover .totem-swiper .swiper-button-next {
  opacity: 1;
}
.totem-swiper .swiper-button-prev::after,
.totem-swiper .swiper-button-next::after {
  font-size: 10px !important;
  font-weight: 900;
}

.totem-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--grad-primary);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.totem-card__badge--purple {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}

.totem-card__body {
  padding: 24px;
}
.totem-card__body h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.totem-card__body p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.totem-card__specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.totem-card__specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}
.totem-card__specs li i {
  color: var(--clr-success);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.totens__more {
  text-align: center;
  padding: 40px;
  background: var(--clr-surface);
  border: 1px dashed var(--clr-border-light);
  border-radius: var(--radius-lg);
}
.totens__more p {
  color: var(--clr-text-muted);
  margin-bottom: 20px;
}

/* ----------------------------------------------------------------
   CASES — Swiper
---------------------------------------------------------------- */
.cases-swiper {
  padding: 16px 8px 56px !important;
}

.swiper-slide { height: auto; }

.case-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: all var(--trans-base);
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--clr-bg-3);
}
.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}
.case-card:hover .case-card__image img {
  transform: scale(1.07);
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.case-card__client {
  background: var(--grad-primary);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.case-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clr-primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-card__body h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.case-card__body p {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.case-card__results {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-card__results span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--clr-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}
.case-card__results span i { color: var(--clr-primary); font-size: 0.75rem; }

/* Swiper customization */
.swiper-button-prev,
.swiper-button-next {
  color: var(--clr-primary) !important;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  transition: all var(--trans-base);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 14px !important;
  font-weight: 900;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--clr-primary);
  color: #000 !important;
  border-color: var(--clr-primary);
}

.swiper-pagination-bullet {
  background: var(--clr-text-faint) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
}
.swiper-pagination-bullet-active {
  background: var(--clr-primary) !important;
  width: 24px !important;
  border-radius: var(--radius-full) !important;
}

/* ----------------------------------------------------------------
   GAMES
---------------------------------------------------------------- */
.games__filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--clr-surface);
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  cursor: pointer;
  transition: all var(--trans-base);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-primary);
  color: #000;
  border-color: var(--clr-primary);
  box-shadow: 0 4px 16px rgba(0,212,255,0.3);
}

.games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.game-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 0;
  transition: all var(--trans-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 270px;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform var(--trans-base);
  z-index: 3;
}

.game-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0,212,255,0.08);
}
.game-card:hover::before {
  transform: scaleX(1);
}

.game-card.hidden {
  display: none;
}

.game-card__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--clr-bg-3);
}

.game-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.55;
  transition: transform var(--trans-slow), opacity var(--trans-base);
}

.game-card:hover .game-card__img-wrap img {
  transform: scale(1.08);
  opacity: 0.65;
}

.game-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,24,0.55) 0%, rgba(8,12,24,0.45) 40%, rgba(8,12,24,0.92) 100%);
}

.game-card__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}

.game-card__icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 42px;
  height: 42px;
  background: rgba(10,15,30,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  transition: all var(--trans-base);
  z-index: 3;
  backdrop-filter: blur(4px);
}
.game-card:hover .game-card__icon {
  background: var(--clr-primary);
  color: #000;
  border-color: var(--clr-primary);
}

.game-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #fff;
}

.game-card p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin-bottom: 14px;
}

.game-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
  align-self: flex-start;
}

.games__cta {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.games__cta-box {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.games__cta-box > i {
  font-size: 2.5rem;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.games__cta-box > div {
  flex: 1;
  min-width: 200px;
}
.games__cta-box h3 {
  margin-bottom: 4px;
}
.games__cta-box p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
}

/* ----------------------------------------------------------------
   GAMIFICATION PITCH
---------------------------------------------------------------- */
.gamification {
  background: var(--clr-bg-2);
}

.gamification__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.gamification__content .section__tag { display: inline-flex; margin-bottom: 16px; }
.gamification__content .section__title { text-align: left; margin-bottom: 16px; }
.gamification__content > p {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.gamification__content > p strong { color: var(--clr-white); }

.gamification__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gamification__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.gamification__icon {
  width: 42px;
  height: 42px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.gamification__list li strong {
  display: block;
  font-size: 0.95rem;
  color: var(--clr-white);
  margin-bottom: 2px;
}
.gamification__list li span {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.gamification__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gamification__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--trans-base);
}
.mini-card:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mini-card--accent {
  background: rgba(0,212,255,0.05);
  border-color: rgba(0,212,255,0.2);
}

.mini-card i {
  font-size: 1.5rem;
  color: var(--clr-primary);
  margin-bottom: 12px;
  display: block;
}
.mini-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--clr-white);
  margin-bottom: 4px;
}
.mini-card span {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  line-height: 1.4;
}

/* ----------------------------------------------------------------
   SISTEMAS
---------------------------------------------------------------- */
.sistemas__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.sistema-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--trans-base);
}
.sistema-card:hover {
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(124,58,237,0.1);
}

.sistema-card--highlight {
  background: linear-gradient(135deg, rgba(0,212,255,0.05), rgba(124,58,237,0.08));
  border-color: rgba(0,212,255,0.2);
}

.sistema-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #a78bfa;
  margin-bottom: 20px;
  transition: all var(--trans-base);
}
.sistema-card:hover .sistema-card__icon {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}
.sistema-card--highlight .sistema-card__icon {
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.3);
  color: var(--clr-primary);
}

.sistema-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.sistema-card p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ----------------------------------------------------------------
   DIFERENCIAIS
---------------------------------------------------------------- */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.diferencial {
  padding: 32px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  background: var(--clr-surface);
  transition: all var(--trans-base);
  text-align: center;
}
.diferencial:hover {
  border-color: rgba(0,212,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.diferencial__icon {
  width: 64px;
  height: 64px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  margin: 0 auto 20px;
}

.diferencial h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.diferencial p {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ----------------------------------------------------------------
   FAQ
---------------------------------------------------------------- */
.faq__grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--trans-base);
}
.faq__item.open {
  border-color: rgba(0,212,255,0.3);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-white);
  cursor: pointer;
  transition: color var(--trans-fast);
}
.faq__question i {
  color: var(--clr-primary);
  flex-shrink: 0;
  transition: transform var(--trans-base);
}
.faq__item.open .faq__question i {
  transform: rotate(180deg);
}

.faq__answer {
  /* Controlled by JS with max-height animation */
  padding: 0 24px;
}
.faq__answer p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   CTA FINAL
---------------------------------------------------------------- */
.cta-final {
  background: var(--clr-bg-2);
}

.cta-final__box {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.12));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final__box .section__tag { margin-bottom: 16px; }
.cta-final__box h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-final__box p {
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
}
.cta-final__box p strong { color: var(--clr-white); }

.cta-final__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.cta-final__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}
.cta-final__trust i { color: var(--clr-primary); }

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.footer {
  background: #050a14;
  border-top: 1px solid var(--clr-border);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 32px;
}

.footer__brand .nav__logo {
  display: inline-flex;
  margin-bottom: 16px;
}
.footer__brand p {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  transition: all var(--trans-base);
}
.footer__social a:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #000;
  transform: translateY(-3px);
}

.footer__links h4,
.footer__contact h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-faint);
  margin-bottom: 16px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__links a {
  color: var(--clr-text-muted);
  font-size: 0.88rem;
  transition: color var(--trans-fast);
}
.footer__links a:hover { color: var(--clr-primary); }

.footer__contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}
.footer__contact li i {
  color: var(--clr-primary);
  width: 16px;
  flex-shrink: 0;
}
.footer__contact a {
  color: var(--clr-text-muted);
  transition: color var(--trans-fast);
}
.footer__contact a:hover { color: var(--clr-primary); }

.footer__wabtn { display: inline-flex; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--clr-text-faint);
}

/* ----------------------------------------------------------------
   WHATSAPP FLOAT
---------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--trans-base);
  animation: pulse-wa 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe57;
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 70px;
  background: #25d366;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--trans-base);
}
.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: #25d366;
}
.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gamification__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .gamification__visual { display: none; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 70px;
  }

  /* Nav */
  .nav__menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 85vw);
    max-width: 100vw;
    background: rgba(10,15,30,0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--clr-border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    /* espaco no topo para nao ficar embaixo da barra do header */
    padding: 84px 28px calc(32px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    /* se nao couber (tela baixa / muitos itens), rola dentro do proprio menu */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* animacao + estado fechado acessivel */
    transform: translateX(105%);
    visibility: hidden;
    transition: transform var(--trans-base), visibility var(--trans-base);
  }
  .nav__menu.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav__menu > li { width: 100%; }
  .nav__link {
    display: block;
    width: 100%;
    padding: 12px 8px;
    font-size: 1rem;
  }
  .nav__cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
  }
  .nav__toggle { display: flex; z-index: 1001; position: relative; }

  /* trava o fundo enquanto o menu esta aberto */
  body.nav-open { overflow: hidden; }

  /* Hero */
  .hero__stats {
    flex-direction: column;
    gap: 16px;
    padding: 20px 24px;
    width: 100%;
  }
  .stat__divider { display: none; }

  .hero__actions {
    flex-direction: column;
  }

  /* Steps */
  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step__arrow { transform: rotate(90deg); padding: 0; }

  /* Totens */
  .totens__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Gamification */
  .gamification__content .section__title { font-size: 1.6rem; }

  /* Games */
  .games__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  /* Sistemas */
  .sistemas__grid {
    grid-template-columns: 1fr;
  }

  /* Diferenciais */
  .diferenciais__grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-final__box { padding: 48px 24px; }
  .cta-final__trust { flex-direction: column; gap: 12px; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__stats { width: 100%; }
  .stat { padding: 0 12px; }

  .totens__grid { grid-template-columns: 1fr; }
  .games__grid { grid-template-columns: 1fr; }
  .gamification__cards { grid-template-columns: 1fr; }

  .games__cta-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ================================================================
   LIGHT SECTIONS — seções brancas alternadas
================================================================ */
.section--light {
  background: #f8fafc;
}

/* Tags */
.section--light .section__tag {
  background: rgba(0, 82, 204, 0.08);
  border-color: rgba(0, 82, 204, 0.25);
  color: #0052cc;
}

/* Headings */
.section--light .section__title,
.section--light h2,
.section--light h3,
.section--light h4 {
  color: #0f172a;
}
.section--light .section__subtitle {
  color: #64748b;
}

/* Generic paragraph override (careful — scoped) */
.section--light .step__desc,
.section--light .totem-card__body p,
.section--light .case-card__body p,
.section--light .sistema-card p,
.section--light .diferencial p,
.section--light .faq__answer p,
.section--light .galeria__caption,
.section--light .games__cta-box p,
.section--light .totens__more p {
  color: #64748b;
}

/* Steps */
.section--light .how-it-works {
  background: #f8fafc;
}
.section--light .step__number {
  color: rgba(0,0,0,0.04);
}
.section--light .step__title { color: #0f172a; }
.section--light .step__arrow { color: #cbd5e1; }

/* Totem cards */
.section--light .totem-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.section--light .totem-card:hover {
  border-color: rgba(0,130,255,0.3);
  box-shadow: 0 8px 32px rgba(0,130,255,0.12);
}
.section--light .totem-card__img-wrap { background: #f1f5f9; }
.section--light .totem-card__specs li { color: #64748b; }
.section--light .totens__more {
  background: #ffffff;
  border-color: #e2e8f0;
}

/* Case cards */
.section--light .case-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.section--light .case-card:hover {
  border-color: rgba(0,130,255,0.3);
}
.section--light .case-card__results span {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}
.section--light .swiper-button-prev,
.section--light .swiper-button-next {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

/* Game cards — image-first design stays consistent (dark overlay + white text)
   regardless of section background, so no light-mode color overrides needed. */
.section--light .game-card {
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section--light .game-card:hover {
  border-color: rgba(0,130,255,0.25);
  box-shadow: 0 8px 24px rgba(0,130,255,0.1);
}
.section--light .filter-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}
.section--light .filter-btn.active,
.section--light .filter-btn:hover {
  background: var(--clr-primary);
  color: #000;
  border-color: var(--clr-primary);
}
.section--light .games__cta {
  background: #ffffff;
  border-color: #e2e8f0;
}
.section--light .games__cta-box h3 { color: #0f172a; }

/* Sistema cards */
.section--light .sistema-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section--light .sistema-card:hover {
  border-color: rgba(124,58,237,0.3);
  box-shadow: 0 8px 24px rgba(124,58,237,0.08);
}
.section--light .sistema-card--highlight {
  background: linear-gradient(135deg, rgba(0,130,255,0.04), rgba(124,58,237,0.06));
  border-color: rgba(0,130,255,0.2);
}

/* Diferenciais */
.section--light .diferencial {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section--light .diferencial:hover {
  border-color: rgba(0,130,255,0.3);
  box-shadow: 0 8px 24px rgba(0,130,255,0.1);
}

/* FAQ */
.section--light .faq__item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section--light .faq__question {
  color: #0f172a;
}
.section--light .faq__item.open {
  border-color: rgba(0,130,255,0.3);
}

/* Gamification in light section */
.section--light.gamification {
  background: #f8fafc;
}
.section--light .gamification__content > p {
  color: #64748b;
}
.section--light .gamification__content > p strong {
  color: #0f172a;
}
.section--light .gamification__list li strong {
  color: #0f172a;
}
.section--light .gamification__list li span {
  color: #64748b;
}
.section--light .gamification__icon {
  background: rgba(0, 82, 204, 0.08);
  border-color: rgba(0, 82, 204, 0.2);
  color: #0052cc;
}
.section--light .mini-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section--light .mini-card strong { color: #0f172a; }
.section--light .mini-card span   { color: #64748b; }
.section--light .mini-card--accent {
  background: rgba(0, 82, 204, 0.04);
  border-color: rgba(0, 82, 204, 0.15);
}

/* FAQ dark overrides (quando faq vira section--dark) */
.section--dark .faq__question { color: var(--clr-white); }
.section--dark .faq__answer p  { color: var(--clr-text-muted); }
.section--dark .faq__item {
  background: var(--clr-surface);
  border-color: var(--clr-border);
}
.section--dark .faq__item.open { border-color: rgba(0,212,255,0.3); }

/* Cases light overrides (swiper buttons on light bg) */
.section--light .swiper-button-prev,
.section--light .swiper-button-next {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: var(--clr-primary) !important;
}

/* Section divider (used inside combined sections) */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #cbd5e1 20%, #cbd5e1 80%, transparent);
  margin: 0 auto;
  max-width: 600px;
}
.section--dark .section-divider {
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, transparent);
}

/* ----------------------------------------------------------------
   GALERIA DE EVENTOS
---------------------------------------------------------------- */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 12px;
}

.galeria__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  cursor: pointer;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.galeria__item:hover img {
  transform: scale(1.07);
}

.galeria__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.galeria__item:hover::after {
  opacity: 1;
}

.galeria__item--tall { grid-row: span 2; }
.galeria__item--wide { grid-column: span 2; }

@media (max-width: 1024px) {
  .galeria__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .galeria__item--wide { grid-column: span 1; }
}
@media (max-width: 480px) {
  .galeria__grid { grid-auto-rows: 130px; }
}

/* ----------------------------------------------------------------
   Utility Animations & Misc
---------------------------------------------------------------- */
.hidden { display: none !important; }

/* CTA button shine effect */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: rgba(255,255,255,0.15);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn--primary:hover::after {
  left: 125%;
}

/* Hover glow on diferenciais icon */
.diferencial:hover .diferencial__icon {
  box-shadow: 0 0 28px rgba(0,212,255,0.4);
}

/* Games grid wide */
@media (min-width: 1200px) {
  .games__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Steps — extra mobile */
@media (max-width: 580px) {
  .step { max-width: 100%; min-width: 100%; }
  .step__arrow { display: none; }
}

/* Hero badge accent */
.hero__badge i { color: var(--clr-accent); }

/* Glassmorphism utility */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-surface); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-primary); }

/* AOS custom easing */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ================================================================
   CATÁLOGO DE JOGOS — cards sempre no formato vertical (retrato)
   Independe da orientação/tamanho da tela: a proporção 3:4 é fixa,
   então o card nunca fica "deitado" (horizontal).
================================================================ */
.game-card {
  aspect-ratio: 3 / 4;
  min-height: 0;
  height: auto;
}

/* Em telas estreitas mantemos 2 colunas para o card não virar um
   retângulo enorme ocupando a largura toda. */
@media (max-width: 480px) {
  .games__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .game-card__body { padding: 14px; }
  .game-card h3 { font-size: 0.9rem; }
  .game-card p {
    font-size: 0.75rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 360px) {
  .game-card p { -webkit-line-clamp: 2; }
}

/* ----------------------------------------------------------------
   SISTEMAS — CARDS COM IMAGEM
---------------------------------------------------------------- */
.sistema-card--img {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sistema-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--clr-bg-3);
}

.sistema-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--trans-slow);
}

.sistema-card--img:hover .sistema-card__img-wrap img {
  transform: scale(1.06);
}

.sistema-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,24,0) 55%, rgba(8,12,24,0.75) 100%);
  pointer-events: none;
}

.sistema-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #a78bfa;
  background: rgba(8,12,24,0.6);
  border: 1px solid rgba(124,58,237,0.45);
  backdrop-filter: blur(6px);
  transition: all var(--trans-base);
}

.sistema-card--img:hover .sistema-card__badge {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
}

.sistema-card__body {
  padding: 22px 24px 26px;
}

.sistema-card__body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.sistema-card__body p {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.sistema-card--img .sistema-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sistema-card--img .sistema-card__body p {
  margin-bottom: 18px;
}

.sistema-card__btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Botão ghost sobre seções claras */
.section--light .btn--ghost {
  background: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section--light .btn--ghost:hover {
  background: #f1f5f9;
  color: #0052cc;
  border-color: rgba(0,130,255,0.3);
}

/* Fundo do container de imagem em seção clara */
.section--light .sistema-card__img-wrap {
  background: #f1f5f9;
}
