/* ============================================================
   O XIS RESOLVE — DESIGN SYSTEM FUTURISTA
   Tema: Central Tecnológica (referência vídeo)
   ============================================================ */

/* ─── VARIÁVEIS GLOBAIS ─── */
/* ─── SEGURANÇA DE PROPORÇÃO (brief §35) ───
   Nunca deformar imagem/vídeo. Regra de baixa especificidade: qualquer componente
   com altura declarada continua vencendo. Protege contra o atributo height do HTML
   (que vira altura FIXA se o CSS não declarar height). */
img, video { height: auto; }

:root {
  /* Fundo */
  --bg-deep: #050C12;
  --bg-primary: #07141C;
  --bg-secondary: #0B202A;
  --bg-card: rgba(11, 34, 45, 0.62);
  --bg-glass: rgba(0, 0, 0, 0.94); /* preto: o fundo do arquivo do logo encaixa sem emenda */
  --bg-panel: linear-gradient(145deg, rgba(16, 46, 58, 0.72), rgba(6, 25, 35, 0.44));

  /* Ciano (tecnologia) */
  --cyan-primary: #69E7F2;
  --cyan-secondary: #29BFD6;
  --cyan-dark: rgba(105, 231, 242, 0.15);
  --cyan-glow: rgba(50, 212, 232, 0.18);
  --blue-highlight: #31AEEB;

  /* Laranja (destaques) */
  --orange-primary: #FFAA45;
  --orange-secondary: #F38A32;
  --orange-glow: rgba(255, 170, 69, 0.15);

  /* Texto */
  --text-primary: #F4FCFF;
  --text-secondary: #B7CDD5;
  --text-muted: #76939E;

  /* Bordas */
  --border-glass: rgba(119, 231, 242, 0.32);
  --border-highlight: rgba(119, 231, 242, 0.65);
  --border-subtle: rgba(105, 231, 242, 0.12);

  /* Sombras */
  --shadow-cyan: rgba(50, 212, 232, 0.18);
  --shadow-orange: rgba(255, 170, 69, 0.15);
  --shadow-card: 0 24px 80px rgba(0, 0, 0, 0.38);

  /* Tipografia */
  --font-heading: 'Sora', 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Manrope', 'Inter', Arial, sans-serif;

  /* Tamanhos fluídos */
  --text-xs: clamp(0.69rem, 0.65rem + 0.10vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.76rem + 0.12vw, 0.875rem);
  --text-base: clamp(0.94rem, 0.88rem + 0.18vw, 1rem);
  --text-lg: clamp(1.06rem, 0.98rem + 0.24vw, 1.125rem);
  --text-xl: clamp(1.19rem, 1.08rem + 0.34vw, 1.25rem);
  --text-2xl: clamp(1.44rem, 1.28rem + 0.48vw, 1.5rem);
  --text-3xl: clamp(1.73rem, 1.50rem + 0.68vw, 1.875rem);
  --text-4xl: clamp(2.07rem, 1.75rem + 0.96vw, 2.25rem);
  --text-5xl: clamp(2.49rem, 2.04rem + 1.32vw, 3rem);
  --text-6xl: clamp(2.99rem, 2.37rem + 1.82vw, 3.75rem);

  /* Raio */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transições */
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.22, 1, 0.36, 1);

  /* Header height */
  --header-h: 130px;
  --header-h-scrolled: 120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ─── TIPOGRAFIA ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 0;
  line-height: 1.15;
}

h1 { font-weight: 800; letter-spacing: -0.03em; }
h2 { font-weight: 700; letter-spacing: -0.02em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }

p {
  line-height: 1.65;
  max-width: 70ch;
}

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 10px 20px;
  background: var(--cyan-primary);
  color: var(--bg-deep);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(105, 231, 242, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(105, 231, 242, 0.4); }

/* ─── FOCUS ─── */
:focus-visible {
  outline: 2px solid var(--cyan-primary);
  outline-offset: 2px;
}

/* ─── HEADER / NAV ─── */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1280px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: height var(--transition), top var(--transition);
}

.site-header.scrolled {
  height: var(--header-h-scrolled);
  top: 8px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}


.header-logo img {
  height: 112px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

.site-header.scrolled .header-logo img {
  height: 112px;
}

/* Nav desktop */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible {
  color: var(--text-primary);
  background: rgba(105, 231, 242, 0.08);
}

.nav-desktop a.active {
  color: var(--cyan-primary);
}

/* Nav buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── BOTÕES ─── */
.oxr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
  max-width: 100%;
}

/* Em telas estreitas o texto do botão pode quebrar em vez de estourar a largura */
@media (max-width: 420px) {
  .oxr-btn {
    white-space: normal;
    text-align: center;
    padding-left: 16px;
    padding-right: 16px;
    min-height: 48px;
  }
}

.oxr-btn:active {
  transform: scale(0.97);
}

.oxr-btn--primary {
  background: var(--cyan-primary);
  color: #050C12;
  box-shadow: 0 4px 16px var(--shadow-cyan);
}

.oxr-btn--primary:hover,
.oxr-btn--primary:focus-visible {
  background: #7df0fa;
  box-shadow: 0 6px 24px var(--shadow-cyan);
  transform: translateY(-1px);
  outline: none;
}

.oxr-btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
}

.oxr-btn--secondary:hover,
.oxr-btn--secondary:focus-visible {
  background: rgba(105, 231, 242, 0.08);
  border-color: var(--cyan-primary);
  outline: none;
}

.oxr-btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 16px;
}

.oxr-btn--ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.oxr-btn--lg {
  padding: 16px 36px;
  font-size: var(--text-base);
  min-height: 52px;
  border-radius: var(--radius-lg);
}

/* ─── MOBILE MENU ─── */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--header-h) + 24px);
  left: 16px;
  right: 16px;
  background: rgba(5, 12, 18, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  z-index: 99;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.mobile-menu a:hover {
  background: rgba(105, 231, 242, 0.08);
  color: var(--text-primary);
}

/* ─── HERO SECTION ─── */

/* ─── Hero das páginas internas (não ocupa a tela toda) ─── */
.hero.hero--inner {
  min-height: auto;
  padding-top: calc(var(--header-h) + 96px);
  padding-bottom: clamp(48px, 6vw, 84px);
}
.hero.hero--inner .hero-content { grid-template-columns: 1fr; }
.hero.hero--inner .hero-title { font-size: clamp(2.1rem, 5vw, var(--text-5xl)); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}

/* Tech Ring */
.tech-ring {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(120vw, 900px);
  height: min(120vw, 900px);
  border-radius: 50%;
  border: 1px solid rgba(105, 231, 242, 0.12);
  pointer-events: none;
  z-index: 0;
}

.tech-ring::before {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(105, 231, 242, 0.08);
}

.tech-ring::after {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 212, 232, 0.04) 0%, transparent 60%);
}

.tech-ring--inner {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 700px);
  height: min(100vw, 700px);
  border-radius: 50%;
  border: 1px solid rgba(105, 231, 242, 0.06);
  pointer-events: none;
  z-index: 0;
}

.tech-ring-glow {
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: min(80vw, 600px);
  height: min(80vw, 600px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 212, 232, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Circuit Floor */
.circuit-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.circuit-floor::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      rgba(105, 231, 242, 0.03) 1px,
      transparent 2px,
      transparent 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      rgba(105, 231, 242, 0.02) 1px,
      transparent 2px,
      transparent 40px
    );
  transform: perspective(400px) rotateX(60deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 60%);
}

/* Orange accent lines on floor */
.circuit-floor::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 30%;
  right: 30%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 170, 69, 0.15), transparent);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(105, 231, 242, 0.06);
  border: 1px solid rgba(105, 231, 242, 0.12);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--cyan-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #F4FCFF 0%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.hero-trust .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan-primary);
  opacity: 0.5;
}

/* Hero visual (right side) */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-xeverino {
  position: relative;
  z-index: 3;
  width: min(80%, 320px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(50, 212, 232, 0.12));
}

/* Holographic panel */
.holo-panel {
  position: absolute;
  left: -20%;
  top: 15%;
  width: 240px;
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid rgba(105, 231, 242, 0.42);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), 0 0 35px rgba(50, 212, 232, 0.10);
  z-index: 4;
  animation: float-panel 4s ease-in-out infinite;
}

@keyframes float-panel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.holo-panel-title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
  letter-spacing: -0.01em;
}

.holo-panel-sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--cyan-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
  opacity: 0.8;
}

.holo-panel-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(105, 231, 242, 0.06);
}

.holo-panel-step:last-child {
  border-bottom: none;
}

.holo-panel-step .num {
  font-weight: 700;
  color: var(--cyan-primary);
  width: 20px;
  flex-shrink: 0;
}

.holo-panel-step .bar {
  width: 2px;
  height: 12px;
  background: var(--orange-primary);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Floating icons */
.floating-icon {
  position: absolute;
  width: 36px;
  height: 36px;
  background: rgba(5, 12, 18, 0.6);
  border: 1px solid rgba(105, 231, 242, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
  animation: float-icon 5s ease-in-out infinite;
  pointer-events: none;
}

.floating-icon:nth-child(1) { top: 10%; right: 5%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 50%; right: -5%; animation-delay: 1.5s; }
.floating-icon:nth-child(3) { bottom: 20%; right: 10%; animation-delay: 3s; }

@keyframes float-icon {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(-8px); opacity: 1; }
}

/* ─── SEÇÕES ─── */
.oxr-section {
  position: relative;
  padding: 100px 24px;
}

.oxr-container {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.oxr-section--dark {
  background: var(--bg-primary);
}

.oxr-section--darker {
  background: var(--bg-deep);
}

.oxr-section--alt {
  background: var(--bg-secondary);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--cyan-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 0 48px;
  line-height: 1.7;
}

.section-desc.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ─── CARDS ─── */
.oxr-card {
  background: var(--bg-card);
  border: 1px solid rgba(105, 231, 242, 0.08);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.oxr-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(105, 231, 242, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.oxr-card:hover {
  border-color: rgba(105, 231, 242, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.oxr-card:hover::before {
  opacity: 1;
}

.oxr-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(105, 231, 242, 0.06);
  border: 1px solid rgba(105, 231, 242, 0.1);
  border-radius: var(--radius);
  font-size: 20px;
  margin-bottom: 16px;
}

.oxr-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.oxr-card__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Grid */
.oxr-grid {
  display: grid;
  gap: 20px;
}

.oxr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.oxr-grid--3 { grid-template-columns: repeat(3, 1fr); }
.oxr-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ─── STEPS ─── */
.oxr-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.oxr-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(105, 231, 242, 0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.oxr-step:hover {
  border-color: rgba(105, 231, 242, 0.15);
  transform: translateY(-2px);
}

.oxr-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(105, 231, 242, 0.06);
  border: 1px solid rgba(105, 231, 242, 0.15);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--cyan-primary);
}

.oxr-step__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0 0 8px;
}

.oxr-step__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── SECURITY CARDS ─── */
.security-card {
  background: var(--bg-card);
  border: 1px solid rgba(105, 231, 242, 0.08);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: all var(--transition);
}

.security-card:hover {
  border-color: rgba(105, 231, 242, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.security-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-size: 18px;
  flex-shrink: 0;
}

/* ─── TRANSPARENCY CARDS ─── */
.transparency-card {
  background: var(--bg-card);
  border: 1px solid rgba(105, 231, 242, 0.08);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: all var(--transition);
}

.transparency-card:hover {
  border-color: rgba(105, 231, 242, 0.18);
}

/* ─── INCLUSION CARDS ─── */
.inclusion-grid { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .inclusion-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .inclusion-grid { grid-template-columns: repeat(2, 1fr); }
}

.inclusion-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(105, 231, 242, 0.06);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.inclusion-card:hover {
  border-color: rgba(105, 231, 242, 0.15);
}

.inclusion-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}

.inclusion-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── FAQ ─── */
.oxr-faq { max-width: 720px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid rgba(105, 231, 242, 0.06);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--cyan-primary); }

.faq-question:focus-visible {
  outline: 2px solid var(--cyan-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ─── FINAL CTA ─── */
.final-cta {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-deep));
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50, 212, 232, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: var(--text-4xl);
  margin: 0 0 16px;
}

.final-cta p {
  color: var(--text-secondary);
  margin: 0 auto 36px;
  max-width: 500px;
}

.final-cta .oxr-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #000; /* preto puro: encaixa com o fundo do arquivo do logo */
  border-top: 1px solid rgba(105, 231, 242, 0.06);
  padding: 64px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-brand img {
  height: 144px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--cyan-primary); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(105, 231, 242, 0.1);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  background: rgba(105, 231, 242, 0.06);
}

.footer-bottom {
  border-top: 1px solid rgba(105, 231, 242, 0.06);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* a linha de links do rodapé precisa poder quebrar (são 6+ links hoje) */
.footer-bottom > div {
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.footer-bottom a { white-space: nowrap; }

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover { color: var(--text-primary); }

/* ─── SOCIAL LINKS ─── */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(105, 231, 242, 0.1);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  transform: scale(1.08);
  opacity: 0.85;
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

.social-link:focus-visible {
  outline: 2px solid var(--cyan-primary);
  outline-offset: 2px;
}

/* ─── STORE BUTTONS (App Store / Google Play) ─── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(105, 231, 242, 0.15);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 170px;
}

.store-btn:hover {
  background: linear-gradient(135deg, rgba(105, 231, 242, 0.12) 0%, rgba(255,255,255,0.06) 100%);
  border-color: rgba(105, 231, 242, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow-cyan);
}

.store-btn:active {
  transform: scale(0.97);
}

.store-btn svg {
  color: var(--cyan-primary);
}

.store-btn:hover svg {
  color: var(--text-primary);
}

/* ─── SOUND TOGGLE ─── */
.sound-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(105, 231, 242, 0.06);
  border: 1px solid rgba(105, 231, 242, 0.1);
  border-radius: var(--radius);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 16px;
}

.sound-toggle:hover {
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
}

.sound-toggle.active {
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── PARTICLES CANVAS ─── */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .tech-ring,
  .tech-ring--inner,
  .tech-ring-glow { display: none; }

  .circuit-floor::before { display: none; }

  .floating-icon { display: none; }

  .holo-panel { animation: none; }

  .hero-badge-dot { animation: none; }
}

/* ─── STEPS GRID (mobile fallback) ─── */
@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr !important; }
  .videos-grid { grid-template-columns: 1fr !important; }
}

/* ─── RESPONSIVO ─── */

/* Tablet (768-1024) */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }

  .header-logo img { height: 64px; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-title {
    font-size: var(--text-5xl);
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .oxr-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .oxr-grid--3,
  .oxr-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: 1 / -1; }

  .circuit-floor { height: 25vh; }

  .nav-actions .oxr-btn--ghost { display: none; }
}

/* Mobile (até 480) */
@media (max-width: 640px) {
  .site-header {
    top: 8px;
    padding: 0 16px;
    height: 60px;
  }

  .header-logo img { height: 44px; }

  .nav-actions { gap: 6px; }

  .nav-actions .oxr-btn--primary { padding: 10px 14px; font-size: var(--text-xs); }

  .menu-toggle { padding: 6px; }

  .mobile-menu { top: 76px; }

  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: var(--text-4xl);
  }

  .hero-desc {
    font-size: var(--text-base);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .oxr-btn { width: 100%; }

  .hero-trust {
    gap: 4px 12px;
  }

  .oxr-section {
    padding: 60px 16px;
  }

  .oxr-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .oxr-grid--2,
  .oxr-grid--3,
  .oxr-grid--4 {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: var(--text-3xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .final-cta h2 {
    font-size: var(--text-3xl);
  }
}

/* ─── PRINT ─── */
@media print {
  .site-header,
  .site-footer,
  .hero-ctas,
  .oxr-btn,
  .circuit-floor,
  .tech-ring,
  #particles-canvas {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════
   SISTEMA DE NARRATIVA — vídeos dentro de contexto
   (brief §21 componente de vídeo · §25 layout das seções)
   ═══════════════════════════════════════════════════════ */


/* ─── Cabeçalho de seção (bloco label + título + descrição) ─── */
.section-head {
  max-width: 780px;
  margin: 0 auto clamp(32px, 4.5vw, 56px);
  text-align: center;
}
.section-head .section-desc { margin-inline: auto; }



/* ─── Ajuste do hero: o cabeçalho é fixo, o selo não pode ficar sob ele ─── */
.hero {
  padding-top: calc(var(--header-h) + 76px);
  padding-bottom: clamp(64px, 8vw, 104px);
}
.hero .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 26px;
}
@media (max-width: 640px) {
  .hero .check-list { grid-template-columns: 1fr; }
}

/* ─── Lista de confirmações (vertical) ─── */
.check-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.check-list li {
  position: relative;
  padding-left: 30px;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--text-secondary);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--cyan-primary); font-weight: 700;
  font-size: var(--text-base);
}

/* ─── Assinatura da marca ─── */
.hero-signature {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  color: var(--cyan-primary);
  margin: 24px 0 0;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
/* alterna o lado do vídeo para criar ritmo (sem zig-zag exagerado) */
.story-section--reverse .story-section__text { order: 2; }
.story-section--reverse .story-section__video { order: 1; }

.story-video {
  width: min(100%, 360px);
  margin-inline: auto;
}
.story-video__frame {
  overflow: hidden;
  border-radius: 24px;
  background: #0b0b0b;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.story-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0b0b0b;
}
.story-video figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.72;
  text-align: center;
}

/* §10 — cards de SITUAÇÕES (não categorias frias) */
.situation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.situation-card {
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(105, 231, 242, 0.14);
  background: linear-gradient(150deg, rgba(11, 32, 46, 0.72), rgba(6, 17, 25, 0.55));
  transition: transform var(--transition), border-color var(--transition);
}
.situation-card:hover { transform: translateY(-3px); border-color: rgba(105, 231, 242, 0.4); }
.situation-card__ask {
  display: block;
  font-family: var(--font-heading); font-weight: 700;
  font-size: var(--text-lg); color: var(--text-primary);
  margin: 0 0 8px; line-height: 1.3;
}
.situation-card__answer {
  font-family: var(--font-body); font-size: var(--text-sm);
  line-height: 1.6; color: var(--cyan-primary); margin: 0;
}

/* §17 — fluxo simples (01 conte … 05 avalie) */
.flow-steps { display: grid; gap: 14px; counter-reset: passo; }
.flow-step {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(105, 231, 242, 0.12);
  background: rgba(7, 20, 28, 0.5);
}
.flow-step__num {
  flex: none;
  font-family: var(--font-heading); font-weight: 800;
  font-size: var(--text-xl); line-height: 1;
  color: var(--cyan-primary); min-width: 2.2ch;
}
.flow-step__txt { font-family: var(--font-body); font-size: var(--text-base); color: var(--text-secondary); line-height: 1.5; }
.flow-step__txt strong { color: var(--text-primary); display: block; margin-bottom: 2px; }

/* §5 — demonstração de conversa com o Xeverino */
.chat-demo { display: grid; gap: 14px; max-width: 620px; }
.chat-bubble {
  padding: 16px 18px; border-radius: 16px;
  font-family: var(--font-body); font-size: var(--text-base); line-height: 1.55;
}
.chat-bubble--user {
  background: rgba(105, 231, 242, 0.08);
  border: 1px solid rgba(105, 231, 242, 0.22);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}
.chat-bubble--xis {
  background: linear-gradient(150deg, rgba(255, 170, 69, 0.12), rgba(255, 170, 69, 0.04));
  border: 1px solid rgba(255, 170, 69, 0.3);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}
.chat-bubble__who {
  display: block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}

/* §18 — segurança antes / durante / depois */
.security-phases { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.security-phase {
  padding: 26px 24px; border-radius: 18px;
  border: 1px solid rgba(105, 231, 242, 0.14);
  background: linear-gradient(150deg, rgba(11, 32, 46, 0.7), rgba(6, 17, 25, 0.5));
}
.security-phase__when {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(105, 231, 242, 0.12); color: var(--cyan-primary);
}
.security-phase h3 {
  font-family: var(--font-heading); font-size: var(--text-lg);
  color: var(--text-primary); margin: 0 0 8px; line-height: 1.35;
}
.security-phase p { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* §20 — ecossistema institucional (CSS dado no brief) */
.ecosystem-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
}
.ecosystem-logo img {
  width: auto;
  height: 48px;
  max-width: 160px;
  object-fit: contain;
}
.ecosystem-logo {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px;
  width: 200px; height: 84px; padding: 14px 20px;
}
.ecosystem-note {
  font-family: var(--font-body); font-size: var(--text-sm);
  color: var(--text-muted); text-align: center; margin: 22px 0 0; line-height: 1.6;
}

/* §33 — par de CTAs padronizado */
.cta-pair { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-pair .oxr-btn { min-height: 48px; }

@media (max-width: 820px) {
  .story-section { grid-template-columns: 1fr; gap: 32px; }
  .story-section__video { order: 2; }
  .story-video { width: min(88vw, 360px); }
  .cta-pair { flex-direction: column; align-items: stretch; }
  .cta-pair .oxr-btn { width: 100%; justify-content: center; }
}
