/* --- CSS VARIABLES (Design System) --- */
:root {
  /* Colors */
  --color-black-deep: #050505;
  --color-white: #fff;
  --color-gray-light: #e0e0e0;
  --color-gray-medium: #a0a0a0;
  --color-gray-dark: #888;
  --color-gold-primary: #f4d03f;
  --color-gold-secondary: #d4af37;
  --color-gold-tertiary: #ffd700;

  /* Background overlays */
  --bg-overlay-dark: rgba(5, 5, 5, 0.68);
  --bg-overlay-medium: rgba(5, 5, 5, 0.55);
  --bg-gateway-overlay: rgba(0, 0, 0, 0.75);
  --bg-gateway-overlay-light: rgba(0, 0, 0, 0.65);

  /* Animation timings */
  --anim-duration-fast: 0.8s;
  --anim-duration-normal: 1s;
  --anim-duration-slow: 1.5s;
  --anim-delay-bg: 0s;
  --anim-delay-gateway: 0.4s;
  --anim-delay-logo: 0.8s;
  --anim-delay-headline: 1.2s;
  --anim-delay-justification: 1.6s;
  --anim-delay-gold: 2s;
  --anim-delay-cta: 2.4s;
  --anim-delay-breathing: 2.8s;

  /* Z-index layers */
  --z-bg: 0;
  --z-main: 1;
  --z-protocol: 2;
  --z-gateway: 100;

  /* Typography */
  --font-mono: "Space Mono", monospace;
  --font-serif: "Cinzel", serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Border radius */
  --radius-none: 0;

  /* Shadows */
  --shadow-gold-soft: 0 0 30px rgba(212, 175, 55, 0.3);
  --shadow-gold-medium: 0 0 30px rgba(212, 175, 55, 0.4);
  --shadow-gold-hard: 0 0 40px rgba(212, 175, 55, 0.6);
}

/* --- SKIP LINK --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-gold-primary);
  color: var(--color-black-deep);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* --- SITE HEADER (FIXED) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 5, 5, 1); /* Fundo preto 100% opaco */
  z-index: 1000; /* Acima de tudo */
  border-bottom: 1px solid var(--color-gold-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
}

.header-logo a {
  text-decoration: none;
  color: inherit;
  display: inherit;
  flex-direction: inherit;
}

.header-logo-number {
  background: linear-gradient(
    135deg,
    var(--color-gold-secondary) 0%,
    var(--color-gold-tertiary) 50%,
    var(--color-gold-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
  letter-spacing: 0.05em;
}

.header-logo-text {
  color: var(--color-gold-primary);
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.gold {
  color: var(--color-gold-primary);
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--color-gray-light);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-gold-primary);
}

.nav-link.active {
  color: var(--color-gold-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

/* Destaque especial para o item "O Protocolo" (menu final em amarelo) */
.nav-link.protocolo {
  color: var(--color-gold-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.06),
    rgba(244, 208, 63, 0.04)
  );
  box-shadow: var(--shadow-gold-soft);
}

.nav-link.protocolo:hover,
.nav-link.protocolo:focus {
  color: var(--color-black-deep);
  background: linear-gradient(
    135deg,
    var(--color-gold-secondary),
    var(--color-gold-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: var(--shadow-gold-medium);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0;
  margin-left: 0.85rem;
  background: transparent;
  border: none;
  opacity: 0.92;
}

.lang-switch:hover,
.lang-switch:focus {
  opacity: 1;
}

.lang-flag {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  flex: 0 0 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 16px rgba(0, 0, 0, 0.15);
  opacity: 0.96;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.lang-flag-br {
  background: #1f8f46;
}

.lang-flag-br::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: #f5c400;
  transform: rotate(45deg);
}

.lang-flag-br::after {
  content: "";
  position: absolute;
  inset: 6.5px;
  border-radius: 999px;
  background: #1c3f94;
}

.lang-flag-us {
  background:
    linear-gradient(
      to bottom,
      #b22234 0,
      #b22234 12.5%,
      #ffffff 12.5%,
      #ffffff 25%,
      #b22234 25%,
      #b22234 37.5%,
      #ffffff 37.5%,
      #ffffff 50%,
      #b22234 50%,
      #b22234 62.5%,
      #ffffff 62.5%,
      #ffffff 75%,
      #b22234 75%,
      #b22234 87.5%,
      #ffffff 87.5%,
      #ffffff 100%
    );
}

.lang-flag-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 52%;
  background: #3c3b6e;
}

.lang-switch:hover .lang-flag,
.lang-switch:focus .lang-flag {
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.3),
    0 0 18px rgba(212, 175, 55, 0.1);
}

.section-locked {
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* Scroll reveal for elements */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Toggle mobile */
.menu-toggle {
  display: none;
  width: 42px;
  height: 32px;
  background: transparent;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-gold-primary);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .site-header {
    left: 0;
    right: 0;
    width: auto;
  }

  .header-content {
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: none;
    padding: 0.75rem 1.25rem;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
    order: 2;
  }

  .header-logo {
    order: 1;
  }

  .header-nav {
    display: none;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    max-width: 100vw;
    order: 3;
    width: calc(100% + 2.5rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: calc(100dvh - 78px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.5rem 1.25rem 1rem;
    text-align: left;
  }

  .site-header.nav-open .header-nav {
    display: flex;
  }

  .nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    min-height: 48px;
  }
}

/* Mobile landscape - celular deitado */
@media (max-width: 968px) and (max-height: 500px) {
  .header-content {
    padding: 0.5rem 1rem;
  }

  .header-logo {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  }

  .header-logo-text {
    font-size: clamp(0.6rem, 1.5vw, 0.9rem);
  }

  .header-nav {
    gap: 0.5rem;
    padding: 0.25rem 0 0.5rem 0;
  }

  .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }

  .menu-toggle {
    width: 36px;
    height: 28px;
    padding: 4px;
    gap: 4px;
  }
}

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Acessibilidade: Foco visível melhorado */
*:focus {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 2px;
}

/* Usar :focus-visible para melhor UX (só mostra outline no teclado) */
*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 3px solid var(--color-gold-primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15);
}

/* Focus específico para links de navegação */
.nav-link:focus-visible {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Focus para botões e CTAs */
.cta-button:focus-visible,
.submit-button:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-gold-secondary);
  outline-offset: 4px;
  box-shadow:
    0 0 0 6px rgba(244, 208, 63, 0.2),
    var(--shadow-gold-medium);
}

/* Focus para inputs e forms */
.elite-form input:focus-visible,
.elite-form select:focus-visible,
.elite-form textarea:focus-visible,
.dev-elite-form input:focus-visible,
.dev-elite-form select:focus-visible,
.dev-elite-form textarea:focus-visible {
  border-color: var(--color-gold-primary);
  outline: 2px solid var(--color-gold-secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

/* Focus para elementos clicaveis */
.concept-card:focus-within {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 3px;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Focus para menu mobile toggle */
.menu-toggle:focus-visible {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 4px;
  background: rgba(212, 175, 55, 0.1);
}

/* Acessibilidade: Reduzir movimento para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  min-height: 100vh;
  width: 100%;
  background-color: var(--color-black-deep);
  scroll-behavior: smooth;
}

body {
  width: 100%;
  color: var(--color-gray-light);
  font-family: var(--font-mono);
  position: relative;
  overflow-x: hidden; /* Apenas bloqueia scroll horizontal */
  overflow-y: auto; /* Permite scroll vertical */
  background-color: var(--color-black-deep);
  z-index: var(--z-bg);
}

/* Performance: GPU acceleration for animations */
.gateway-container,
.vault-panel,
.cta-button,
.protocol-preview {
  will-change: transform, opacity;
}

/* Fallback for JavaScript disabled */
.no-js .cta-button {
  background: var(--color-gold-secondary);
  color: var(--color-white);
  cursor: not-allowed;
}

.no-js .cta-button::after {
  content: "JavaScript necessário";
}

/* Performance: Optimize background image loading */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: none;
  opacity: 0;
  z-index: var(--z-bg);
  pointer-events: none;
}

/* --- GATEWAY CONTAINER (MAIN OVERLAY) --- */
.gateway-container {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  min-height: auto;
  height: auto;
  z-index: var(--z-gateway);
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  animation: fadeInGateway var(--anim-duration-normal) ease-out
    var(--anim-delay-gateway) forwards;
  opacity: 0;
  padding: 5rem 2rem;
}

/* Safe area support for devices with notches */
.gateway-container {
  padding-top: max(5rem, env(safe-area-inset-top) + 2rem);
  padding-bottom: max(3rem, env(safe-area-inset-bottom) + 1rem);
  padding-left: max(2rem, env(safe-area-inset-left) + 1rem);
  padding-right: max(2rem, env(safe-area-inset-right) + 1rem);
}

/* Environment variables for safe areas */
@supports (padding: max(0px)) {
  .gateway-container {
    /* Modern browsers with CSS env() support */
  }
}

.gateway-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--anim-duration-fast) ease;
}

.content-wrapper {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Slide texts instantly visible */

/* Camadas para o efeito de abertura de porta (Vault Door) - DESATIVADO */
.vault-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: var(--color-black-deep);
  z-index: -1; /* Fica atrás do texto, mas cobre o site principal */
  transition: transform var(--anim-duration-slow)
    cubic-bezier(0.77, 0, 0.175, 1);
  display: none; /* Ocultar painéis de porta */
}

.panel-left {
  left: 0;
  border-right: 1px solid #111;
}
.panel-right {
  right: 0;
  border-left: 1px solid #111;
}

/* Gradiente subtil de luz dourada distante */
.gateway-container::before {
  content: none;
}

/* --- TYPOGRAPHY & ELEMENTS --- */

/* 2.0s: Logo 33 Digital (após background) */
.intro-logo {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInLogoScale var(--anim-duration-slow) ease-out forwards;
  animation-delay: var(--anim-delay-logo);
  letter-spacing: 0.05em;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.intro-logo::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af37,
    #f4d03f,
    #d4af37,
    transparent
  );
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.intro-logo-number {
  background: linear-gradient(
    135deg,
    #d4af37 0%,
    #f4d03f 50%,
    #ffd700 75%,
    #d4af37 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.5))
    drop-shadow(0 0 20px rgba(244, 208, 63, 0.3));
  text-shadow: 0 0 80px rgba(212, 175, 55, 0.4);
  transform: translateY(-0.15em);
  display: inline-block;
}

.intro-logo-text {
  color: #d4af37;
  font-size: clamp(1.1rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* 2.5s: A Provocação (após logo) */
.headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.35;
  color: #f0f0f0;
  max-width: 850px;
  margin: 0 auto;
  opacity: 0;
  font-weight: 400;
  animation: fadeInUp var(--anim-duration-slow) ease-out forwards;
  animation-delay: var(--anim-delay-headline);
  letter-spacing: -0.01em;
  text-align: center;
}

/* 3.5s: A Justificativa */
.justification {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  color: #b0b0b0;
  margin-top: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp var(--anim-duration-slow) ease-out forwards;
  animation-delay: var(--anim-delay-justification);
  text-align: center;
}

/* 4.5s: O Gatilho de Midas */
.gold-trigger {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-gold-primary);
  margin-top: 2.5rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0;
  animation: fadeIn var(--anim-duration-slow) ease-out forwards;
  animation-delay: var(--anim-delay-gold);
  text-shadow: 0 0 30px rgba(244, 208, 63, 0.4);
  text-align: center;
}

/* --- CTA BUTTON (O PORTAL) --- */
.cta-wrapper {
  margin-top: 3.5rem;
  opacity: 0;
  animation: fadeIn var(--anim-duration-slow) ease-out forwards;
  animation-delay: var(--anim-delay-cta);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-button {
  text-decoration: none;
  font-family: var(--font-mono);
  color: var(--color-black-deep);
  background: linear-gradient(
    135deg,
    var(--color-gold-secondary),
    var(--color-gold-primary),
    var(--color-gold-secondary)
  );
  border: 2px solid var(--color-gold-primary);
  padding: 1.3rem 3rem;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
  animation: breathing 4s infinite ease-in-out;
  animation-delay: var(--anim-delay-breathing);
  box-shadow:
    var(--shadow-gold-medium),
    0 0 60px rgba(244, 208, 63, 0.2);
  display: inline-block;
  font-weight: 700;
}

/* --- ENHANCED RESPONSIVE DESIGN --- */

/* Base responsive adjustments */
@media (max-width: 1200px) {
  .gateway-container {
    padding: 4rem 2rem 3rem 2rem;
  }

  .content-wrapper {
    max-width: 1000px;
  }
}

/* Tablet landscape and small desktop */
@media (max-width: 1024px) {
  .gateway-container {
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  }

  .intro-logo {
    font-size: clamp(2.5rem, 7vw, 4rem);
    margin-bottom: 2rem;
  }

  .headline {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    max-width: 95vw;
  }

  .justification {
    font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    margin-top: 2rem;
    max-width: 92vw;
  }

  .gold-trigger {
    margin-top: 2rem;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
  }

  .cta-button {
    padding: 1.2rem 2.5rem;
    font-size: 0.9rem;
  }
}

/* Tablet portrait and large mobile */
@media (max-width: 768px) {
  .gateway-container {
    padding: 3rem 1.25rem 2rem 1.25rem;
    overflow-y: auto;
  }

  .intro-logo {
    font-size: clamp(2.2rem, 9vw, 3.8rem);
    margin-bottom: 1.8rem;
    gap: 0.2rem;
  }

  .intro-logo-text {
    font-size: clamp(0.9rem, 3vw, 1.4rem);
    letter-spacing: 0.2em;
  }

  .headline {
    font-size: clamp(1.2rem, 5vw, 2rem);
    line-height: 1.35;
    max-width: 90vw;
    margin: 0 auto;
  }

  .justification {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    margin-top: 1.6rem;
    max-width: 88vw;
    line-height: 1.6;
  }

  .gold-trigger {
    margin-top: 1.8rem;
    font-size: clamp(0.95rem, 3vw, 1.2rem);
  }

  .cta-wrapper {
    margin-top: 2.6rem;
  }

  .cta-button {
    padding: 1.1rem 2.4rem;
    letter-spacing: 2px;
    font-size: 0.8rem;
    min-height: 44px; /* Touch target size */
    min-width: 44px;
  }

  .microcopy {
    font-size: 0.6rem;
    margin-top: 1rem;
  }
}

/* Celulares altos/compridos (telas verticais longas) */
@media (max-width: 480px) and (min-height: 750px) {
  .gateway-container {
    padding: 4rem 1.5rem 3rem 1.5rem;
    min-height: 85vh;
    justify-content: center;
  }

  .intro-logo {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    margin-bottom: 2.5rem;
    gap: 0.3rem;
  }

  .intro-logo-text {
    font-size: clamp(1rem, 3.5vw, 1.8rem);
    letter-spacing: 0.3em;
  }

  .headline {
    font-size: clamp(1.4rem, 5.5vw, 2.4rem);
    line-height: 1.4;
    max-width: 85vw;
    margin-bottom: 2rem;
  }

  .justification {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
    margin-top: 2rem;
    max-width: 85vw;
    line-height: 1.75;
  }

  .gold-trigger {
    margin-top: 2.5rem;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    line-height: 1.5;
  }

  .cta-wrapper {
    margin-top: 3rem;
  }

  .cta-button {
    padding: 1.3rem 2.8rem;
    letter-spacing: 2.5px;
    font-size: 0.9rem;
  }

  .microcopy {
    font-size: 0.7rem;
    margin-top: 1.2rem;
  }
}

/* Mobile landscape */
@media (max-width: 768px) and (orientation: landscape) {
  .gateway-container {
    padding: 2rem 1rem 1.5rem 1rem;
  }

  .intro-logo {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    margin-bottom: 1.2rem;
  }

  .headline {
    font-size: clamp(1rem, 4vw, 1.6rem);
    line-height: 1.3;
  }

  .justification {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
    margin-top: 1.2rem;
  }

  .gold-trigger {
    margin-top: 1.4rem;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  }

  .cta-button {
    padding: 0.9rem 2rem;
    font-size: 0.75rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .gateway-container {
    padding: 2.5rem 1rem 1.5rem 1rem;
  }

  .intro-logo {
    font-size: clamp(1.8rem, 8vw, 3rem);
    margin-bottom: 1.5rem;
  }

  .intro-logo-text {
    font-size: clamp(0.8rem, 3.5vw, 1.2rem);
  }

  .headline {
    font-size: clamp(1.1rem, 5.5vw, 1.8rem);
    line-height: 1.3;
    max-width: 95vw;
  }

  .justification {
    font-size: clamp(0.8rem, 4vw, 0.95rem);
    margin-top: 1.4rem;
    max-width: 95vw;
    line-height: 1.5;
  }

  .gold-trigger {
    margin-top: 1.6rem;
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .cta-wrapper {
    margin-top: 2.2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    min-height: 48px; /* Larger touch target for small screens */
  }

  .microcopy {
    font-size: 0.55rem;
    margin-top: 0.8rem;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .gateway-container {
    padding: 2rem 0.75rem 1rem 0.75rem;
  }

  .intro-logo {
    font-size: clamp(1.6rem, 9vw, 2.5rem);
    margin-bottom: 1.2rem;
  }

  .headline {
    font-size: clamp(1rem, 6vw, 1.6rem);
    line-height: 1.25;
  }

  .justification {
    font-size: clamp(0.75rem, 4.5vw, 0.9rem);
    margin-top: 1.2rem;
  }

  .gold-trigger {
    margin-top: 1.4rem;
    font-size: clamp(0.85rem, 4vw, 1rem);
  }

  .cta-button {
    padding: 0.9rem 1.8rem;
    font-size: 0.7rem;
    min-height: 50px;
  }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .gateway-container {
    /* Smoother animations on high DPI */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .intro-logo {
    text-shadow: 0 0 40px rgba(244, 208, 63, 0.6);
  }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
  .cta-button {
    /* Remove hover effects on touch devices */
    transition: none;
  }

  .cta-button:hover {
    transform: none;
    box-shadow:
      var(--shadow-gold-medium),
      0 0 60px rgba(244, 208, 63, 0.2);
  }

  .cta-button:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* Large screens and ultra-wide */
@media (min-width: 1400px) {
  .gateway-container {
    padding: 5rem 3rem 4rem 3rem;
  }

  .content-wrapper {
    max-width: 1200px;
  }

  .intro-logo {
    font-size: clamp(3.5rem, 6vw, 6rem);
    margin-bottom: 3rem;
  }

  .headline {
    font-size: clamp(2rem, 3vw, 3rem);
    max-width: 1000px;
  }

  .justification {
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    max-width: 900px;
  }

  .gold-trigger {
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  }

  .cta-button {
    padding: 1.5rem 3.5rem;
    font-size: 1rem;
  }
}

/* --- TOUCH & INTERACTION OPTIMIZATIONS --- */

/* Better touch targets */
.cta-button {
  touch-action: manipulation; /* Prevents double-tap zoom */
  -webkit-tap-highlight-color: rgba(244, 208, 63, 0.3);
}

/* Prevent text selection on UI elements */
.intro-logo,
.cta-button,
.protocol-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }

  .gateway-container {
    -webkit-overflow-scrolling: touch;
  }
}

/* Input modalities */
@media (pointer: fine) {
  /* Mouse users get hover effects */
  .cta-button:hover {
    transform: translateY(-3px) scale(1.02);
  }
}

@media (pointer: coarse) {
  /* Touch users get different interaction */
  .cta-button {
    transition:
      transform 0.1s ease,
      background 0.2s ease;
  }

  .cta-button:active {
    transform: scale(0.96);
    background: var(--color-gold-tertiary);
  }
}

/* Screen reader improvements */
@media (max-width: 768px) {
  .microcopy {
    /* Hide microcopy on very small screens for screen readers */
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .gateway-container {
    animation: none;
  }

  .intro-logo,
  .headline,
  .justification,
  .gold-trigger,
  .cta-wrapper {
    animation: none !important;
  }

  .cta-button {
    animation: none;
  }

  .cta-button:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .gateway-container {
    background: var(--color-black-deep);
    border: 2px solid var(--color-gold-primary);
  }

  .intro-logo {
    -webkit-text-fill-color: var(--color-gold-primary);
  }

  .cta-button {
    border: 3px solid var(--color-gold-primary);
    background: var(--color-gold-primary);
    color: var(--color-black-deep);
  }
}

/* Dark mode support (if user prefers) */
@media (prefers-color-scheme: dark) {
  /* Already optimized for dark theme */
}

@media (prefers-color-scheme: light) {
  /* Força manter o gateway no tema escuro para evitar flash branco no Chrome */
  .gateway-container {
    background: transparent;
  }

  .headline,
  .justification,
  .gold-trigger {
    color: var(--color-gray-light);
  }
}

/* Hover: Toque de Midas */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--color-gold-tertiary),
    var(--color-gold-primary)
  );
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.cta-button:hover {
  color: var(--color-black-deep);
  border-color: var(--color-gold-tertiary);
  box-shadow:
    var(--shadow-gold-hard),
    0 0 80px rgba(244, 208, 63, 0.3);
  transform: translateY(-3px) scale(1.02);
}

.cta-button:hover::before {
  width: 100%;
}

.microcopy {
  margin-top: 1.2rem;
  font-size: 0.65rem;
  color: var(--color-gray-dark);
  opacity: 0.8;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- ANIMATIONS KEYFRAMES --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInMoveUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale3d(0.9, 0.9, 1);
  }
  to {
    opacity: 1;
    transform: translate3d(0, -40px, 0) scale3d(1, 1, 1);
  } /* Logo sobe um pouco */
}

@keyframes fadeInLogoScale {
  from {
    opacity: 0;
    transform: scale3d(0.8, 0.8, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.1);
  }
  50% {
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.3);
  }
}

@keyframes breathing {
  0% {
    transform: scale3d(1, 1, 1);
    box-shadow:
      var(--shadow-gold-medium),
      0 0 60px rgba(244, 208, 63, 0.2);
  }
  50% {
    transform: scale3d(1.04, 1.04, 1);
    box-shadow:
      var(--shadow-gold-hard),
      0 0 80px rgba(244, 208, 63, 0.3);
  }
  100% {
    transform: scale3d(1, 1, 1);
    box-shadow:
      var(--shadow-gold-medium),
      0 0 60px rgba(244, 208, 63, 0.2);
  }
}

/* --- STATES FOR TRANSITION --- */
.content-fade-out {
  opacity: 0 !important;
  transform: scale3d(0.95, 0.95, 1);
  transition:
    opacity var(--anim-duration-fast) ease,
    transform var(--anim-duration-fast) ease;
  pointer-events: none;
}

.doors-open-left {
  transform: translate3d(-100%, 0, 0);
}

.doors-open-right {
  transform: translate3d(100%, 0, 0);
}

/* --- BREADCRUMBS NAVEGACIONAIS --- */
.breadcrumb {
  padding: 1rem 2rem;
  margin-top: 120px; /* Compensar header fixo */
  background: rgba(5, 5, 5, 0.4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item a {
  color: var(--color-gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-gold-primary);
}

.breadcrumb-item.active {
  color: var(--color-gold-secondary);
  font-weight: 700;
}

.breadcrumb-separator {
  color: rgba(212, 175, 55, 0.3);
  user-select: none;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.75rem 1rem;
    font-size: 0.7rem;
    margin-top: 80px; /* Header menor em mobile */
  }
}

/* Paisagem baixa (celular deitado) */
@media (max-height: 600px) and (orientation: landscape) {
  .breadcrumb {
    margin-top: 80px; /* aproxima do header em telas baixas */
  }
}

/* --- MOCK MAIN SITE (HIDDEN BEHIND) --- */
.main-site-preview {
  position: absolute;
  top: 120px; /* Abaixo do header fixo */
  left: 0;
  width: 100%;
  min-height: calc(100vh - 120px); /* Altura mínima da viewport menos header */
  z-index: var(--z-main);
  display: none; /* Ocultar por padrão */
  justify-content: center;
  align-items: center;
  role: main; /* Acessibilidade: Conteúdo principal */
  background: transparent;
}

.mock-content {
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease 1s;
  pointer-events: none;
}

.site-revealed .mock-content {
  opacity: 0;
}

.mock-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  background: linear-gradient(90deg, #c5a059, #f0f0f0, #c5a059);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.mock-subtitle {
  color: var(--color-white);
  font-size: 1.5rem;
}

/* --- SEGUNDA TELA: PROTOCOLO PREVIEW --- */
.protocol-preview {
  position: absolute;
  top: 120px; /* Abaixo do header fixo */
  left: 0;
  width: 100%;
  min-height: calc(100vh - 120px); /* Altura mínima da viewport menos header */
  background: transparent;
  z-index: var(--z-protocol);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 1s;
}

.site-revealed .protocol-preview {
  opacity: 1;
  pointer-events: all;
}

.protocol-preview-content {
  text-align: center;
  max-width: 800px;
}

.protocol-preview-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #f4d03f;
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-shadow: 0 0 40px rgba(244, 208, 63, 0.5);
}

.protocol-preview-text {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  color: var(--color-gray-medium);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.protocol-btn {
  text-decoration: none;
  font-family: var(--font-mono);
  color: var(--color-black-deep);
  background: linear-gradient(
    135deg,
    var(--color-gold-secondary),
    var(--color-gold-primary)
  );
  border: 2px solid var(--color-gold-primary);
  padding: 1rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow-gold-soft);
}

.protocol-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(135deg, #ffd700, #f4d03f);
  transition: width 0.4s ease-in-out;
  z-index: -1;
}

.protocol-btn:hover {
  color: #000;
  border-color: #ffd700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.protocol-btn:hover::before {
  width: 100%;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInGateway {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInLogoScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathing {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Print styles */
@media print {
  .gateway-container {
    background: white !important;
    color: black !important;
    box-shadow: none;
  }

  .intro-logo {
    color: black !important;
    -webkit-text-fill-color: black !important;
  }

  .cta-button {
    display: none;
  }
}

/* Loading state for JavaScript */
.js-loading .cta-button {
  pointer-events: none;
  opacity: 0.7;
}

.js-loading .cta-button::after {
  content: "Carregando...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.8rem;
  color: var(--color-black-deep);
}

/* --- FOOTER ELITE --- */
.site-footer {
  background-color: #020202; /* Quase preto absoluto */
  position: relative;
  padding: 0;
  margin-top: 0;
  font-family: "Space Mono", monospace;
  overflow: hidden;
}

/* 1. O Divisor de Ouro */
.footer-gold-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c5a059 50%,
    transparent 100%
  );
  opacity: 0.6;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* Coluna da marca maior */
  gap: 4rem;
}

/* Coluna da Marca */
.footer-logo {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.footer-logo .num {
  color: #c5a059;
  font-weight: 700;
}

.brand-manifesto {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 300px;
}

/* Indicador de Status (Tech Vibe) */
.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #333;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #00ff41; /* Verde Matrix/Terminal */
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff41;
  animation: pulse-green 2s infinite;
}

.status-text {
  font-size: 0.65rem;
  color: #00ff41;
  letter-spacing: 1px;
}

/* Títulos das Colunas */
.footer-heading {
  font-family: "Cinzel", serif;
  color: #c5a059;
  font-size: 1rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px); /* Move levemente para direita */
}

/* Contato e Social */
.footer-email {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.footer-email:hover {
  color: #c5a059;
}

.social-nodes {
  margin-bottom: 2rem;
}

.node-link {
  font-size: 0.75rem;
  color: #888; /* Melhorando contraste */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}

.node-link:hover {
  color: #c5a059;
  border-color: #c5a059;
}

.separator {
  color: #333;
  margin: 0 8px;
}

.location-data {
  font-size: 0.7rem;
  color: #444;
  letter-spacing: 1px;
}

/* Rodapé Inferior */
.footer-bottom {
  border-top: 1px solid #111;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.7rem;
  color: #444;
}

.tech-signature {
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Animação do Ponto Verde */
@keyframes pulse-green {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

/* Responsividade do Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .brand-manifesto,
  .footer-email,
  .location-data {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links a:hover {
    transform: translateX(0); /* Remove movimento no mobile */
    color: #c5a059;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Slide Section */
.slide-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding-top: 120px; /* Compensar altura do header fixed */
  background-color: #050505; /* Garantia contra flashes brancos no carregamento */
  background:
    linear-gradient(135deg, rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.35)),
    url("../img/fundo.webp") center center / cover no-repeat;
}

/* SEÇÃO CTA - Tema Escuro */
.cta-section-dark {
  background: radial-gradient(
    circle at top right,
    rgba(12, 12, 12, 1) 0%,
    rgba(5, 5, 5, 1) 55%
  );
  padding: calc(110px + 3rem) 2rem 4rem;
  min-height: 240px;
  color: var(--color-gray-light);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-section-dark .container {
  text-align: center;
  width: 100%;
}

.cta-section-dark .section-title {
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.cta-section-dark .section-subtitle {
  color: #a0a0a0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-section-dark .cta-button {
  background: linear-gradient(
    135deg,
    var(--color-gold-secondary),
    var(--color-gold-primary)
  );
  color: var(--color-black-deep);
  border: none;
  box-shadow: var(--shadow-gold-medium);
  padding: 14px 36px;
  font-size: 1.05rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .cta-section-dark {
    padding: calc(80px + 1.5rem) 1.25rem;
    min-height: auto;
  }
  .cta-section-dark .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .cta-section-dark .section-subtitle {
    font-size: 1rem;
  }
}

/* Preserve existing manifesto block */
/* SEÇÃO MANIFESTO */
.manifesto-section {
  background-color: #0a0a0a; /* Ligeiramente mais claro que o preto puro do slide */
  padding: 6rem 2rem;
  color: #e0e0e0;
  position: relative;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.section-subtitle {
  font-family: var(--font-mono);
  text-align: center;
  color: #888;
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

.dichotomy-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap; /* Para mobile */
}

.column {
  flex: 1;
  padding: 2rem;
  border-radius: 4px;
}

.old-way {
  border-left: 1px solid #333;
  opacity: 0.6; /* Visualmente "menos importante" */
  transition: opacity 0.3s;
}

.old-way:hover {
  opacity: 0.8;
}

.new-way {
  background: linear-gradient(
    145deg,
    rgba(20, 20, 20, 1) 0%,
    rgba(30, 30, 30, 1) 100%
  );
  border: 1px solid rgba(197, 160, 89, 0.3); /* Borda Dourada Sutil */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.column h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.new-way h3 {
  color: #c5a059; /* Ouro */
}

.column ul {
  list-style: none;
  font-family: var(--font-mono);
  line-height: 2;
}

/* O Divisor Dourado (Visual Vertical) */
.golden-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, #c5a059, transparent);
  display: none; /* Escondido no mobile, visivel no desktop via media query */
}

@media (min-width: 768px) {
  .golden-divider {
    display: block;
  }
}

.bridge-text {
  text-align: center;
  margin-top: 4rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #888; /* Melhorando contraste */
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- A PONTE (BOTÃO DE TRANSIÇÃO) --- */
.bridge-action {
  text-align: center;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Estilo do Botão Sólido (Mais agressivo que o Ghost) */
.solid-button {
  text-decoration: none;
  background-color: transparent;
  color: #c5a059; /* Ouro */
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 2px;
  padding: 15px 40px;
  border: 1px solid #c5a059;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 600;
}

.solid-button:hover {
  background-color: #c5a059;
  color: #050505; /* Texto Preto no fundo Ouro */
  box-shadow: 0 0 30px rgba(197, 160, 89, 0.4); /* Brilho Intenso */
  transform: translateY(-3px); /* Leve subida */
}

/* --- SEÇÃO ARSENAL --- */
.arsenal-section {
  background-color: #050505; /* Volta para o preto profundo */
  padding: 6rem 2rem;
  position: relative;
  /* Efeito de grade de fundo sutil para dar ar técnico */
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.arsenal-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* GRID LAYOUT */
.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(300px, 1fr)
  ); /* Responsivo Automático */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* O CARD (High-Tech Panel) */
.tech-card {
  background: rgba(20, 20, 20, 0.6); /* Semi-transparente */
  border: 1px solid #222; /* Borda quase invisível */
  padding: 2.5rem;
  border-radius: 8px;
  backdrop-filter: blur(10px); /* Efeito Glassmorphism */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação elástica */
  position: relative;
  overflow: hidden;
}

/* Efeito HOVER: A Ativação */
.tech-card:hover {
  border-color: #c5a059; /* Borda vira Ouro */
  transform: translateY(-10px); /* Sobe */
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(197, 160, 89, 0.2); /* Brilho */
  background: rgba(25, 25, 25, 0.9);
}

/* Ícone */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  filter: grayscale(100%); /* Ícone cinza por padrão */
  transition: filter 0.3s;
}

.tech-card:hover .card-icon {
  filter: grayscale(0%); /* Ícone ganha cor no hover */
  text-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
}

/* Tipografia do Card */
.tech-card h3 {
  font-family: "Playfair Display", serif;
  color: #e0e0e0;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.tech-card:hover h3 {
  color: #c5a059; /* Título fica dourado */
}

.card-desc {
  font-family: var(--font-mono);
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Lista de Serviços */
.tech-list {
  list-style: none;
  padding: 0;
}

.tech-list li {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 12px;
  padding-left: 15px;
  border-left: 2px solid #333; /* Marcador cinza */
  transition: border-color 0.3s;
}

.tech-card:hover .tech-list li {
  border-left-color: #c5a059; /* Marcador vira ouro */
  color: #d0d0d0;
}

.tech-list strong {
  color: #fff;
  font-weight: 600;
}

.arsenal-footer {
  text-align: center;
  margin-top: 4rem;
  color: #555;
  font-family: "Playfair Display", serif;
  font-style: italic;
  letter-spacing: 1px;
}

/* --- SEÇÃO PROVA SOCIAL (DATA DRIVEN) --- */
.proof-section {
  background-color: #0a0a0a;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-header {
  text-align: center;
  margin-bottom: 5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* CARD DE ESTATÍSTICA */
.stat-card {
  text-align: center;
  padding: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.05); /* Linha divisória sutil */
  transition: transform 0.3s ease;
}

/* Remove a borda do último item no Desktop para ficar limpo */
.stat-card:last-child {
  border-right: none;
}

/* Responsividade: Remove bordas laterais no mobile */
@media (max-width: 768px) {
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .stat-card:last-child {
    border-bottom: none;
  }
}

/* Tag do Nicho (Pequena, em cima) */
.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #666;
  border: 1px solid #333;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* O NÚMERO (Ouro) */
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 4rem; /* Gigante */
  color: #c5a059;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  /* Efeito de brilho no texto */
  text-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.stat-desc {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #888;
  line-height: 1.5;
  max-width: 250px;
  margin: 0 auto; /* Centraliza o texto */
}

/* Interação */
.stat-card:hover {
  transform: scale(1.05);
}

.stat-card:hover .stat-number {
  color: #fff; /* Inverte para branco no hover */
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.truth-statement {
  text-align: center;
  margin-top: 5rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: #444;
  font-size: 1.2rem;
}

/* --- SEÇÃO APLICAÇÃO --- */
.application-section {
  background-color: #050505;
  padding: 6rem 2rem;
  position: relative;
  /* Fundo diferente para separar visualmente */
  background: radial-gradient(
    circle at top right,
    rgba(20, 20, 20, 1) 0%,
    rgba(5, 5, 5, 1) 50%
  );
}

.application-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap; /* Responsivo */
}

/* Lado Esquerdo (Texto) */
.application-text {
  flex: 1;
  min-width: 300px;
}

.application-text p {
  font-family: var(--font-mono);
  color: #888;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.application-text strong {
  color: #e0e0e0;
}

.gold-detail {
  color: #c5a059;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem !important;
}

/* Lado Direito (Formulário) */
.elite-form {
  flex: 1.2;
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 320px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Estilo dos Inputs */
.elite-form input,
.elite-form select,
.elite-form textarea {
  width: 100%;
  background-color: #0a0a0a;
  border: 1px solid #333;
  padding: 15px;
  color: #e0e0e0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.elite-form input:focus,
.elite-form select:focus,
.elite-form textarea:focus {
  border-color: #c5a059; /* Foco Dourado */
}

/* Botão de Envio (Destaque Total) */
.submit-button {
  width: 100%;
  background-color: #c5a059;
  color: #050505;
  border: none;
  padding: 18px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.submit-button:hover {
  background-color: #d4af37; /* Ouro mais claro */
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.privacy-note {
  font-size: 0.7rem;
  color: #444;
  text-align: center;
  margin-top: 15px;
}

/* --- SEÇÃO CANDIDATURA DE DESENVOLVEDORES --- */
.dev-application-section {
  background: radial-gradient(
    circle at top right,
    rgba(20, 20, 20, 1) 0%,
    rgba(5, 5, 5, 1) 50%
  );
  padding: calc(120px + 6rem) 2rem 6rem; /* Compensar header fixo */
  position: relative;
  min-height: calc(100vh - 120px);
}

.dev-application-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap; /* Responsivo */
}

/* Lado Esquerdo (Texto) */
.dev-application-text {
  flex: 1;
  min-width: 300px;
}

.dev-application-text p {
  font-family: var(--font-mono);
  color: #888;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.dev-application-text ul li {
  font-family: var(--font-mono);
  color: #aaa;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.dev-application-text strong {
  color: #e0e0e0;
}

/* Lado Direito (Formulário) */
.dev-elite-form {
  flex: 1.2;
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 320px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #666;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Estilo dos Inputs */
.dev-elite-form input,
.dev-elite-form select,
.dev-elite-form textarea {
  width: 100%;
  background-color: #0a0a0a;
  border: 1px solid #333;
  padding: 15px;
  color: #e0e0e0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.dev-elite-form input:focus,
.dev-elite-form select:focus,
.dev-elite-form textarea:focus {
  border-color: #c5a059; /* Foco Dourado */
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.dev-elite-form input::placeholder,
.dev-elite-form textarea::placeholder {
  color: #555;
}

.dev-elite-form select {
  cursor: pointer;
}

.dev-elite-form select option {
  background-color: #0a0a0a;
  color: #e0e0e0;
}

/* Responsivo */
@media (max-width: 768px) {
  .dev-application-section {
    padding: calc(120px + 3rem) 1.5rem 3rem;
  }

  .dev-application-container {
    gap: 2rem;
  }

  .dev-elite-form {
    padding: 2rem;
  }
}

/* --- PROTOCOLO 33 PAGE STYLES --- */

/* Scrollbar premium para página protocolo */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #050505;
}
::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 8px;
  border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4af37;
}

/* Evita que âncoras e scroll automático fiquem escondidos atrás do header fixo */
html,
body {
  scroll-padding-top: 72px; /* compensa o header fixo sem deixar sobra excessiva */
}

@media (max-width: 768px) {
  html,
  body {
    scroll-padding-top: 64px;
  }
}
/* Garante espaço extra no topo para compensar o header fixo do site */
.protocol-container {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  padding: calc(max(5.5rem, 120px) + 6rem) 2rem 4rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.34));
}

/* Protocol Header */
.protocol-header {
  max-width: 1200px;
  margin: 0 auto 5rem auto;
  text-align: center;
  border-bottom: 1px solid #222;
  padding-bottom: 3.5rem;
  position: relative;
}

.protocol-header::before {
  content: "";
  position: absolute;
  inset: -2rem 0 auto 0;
  height: 14rem;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  z-index: -1;
}

.protocol-title {
  font-family: "Cinzel", serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #f4d03f;
  margin: 0 auto 1.2rem auto;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(244, 208, 63, 0.35);
}

.protocol-subtitle {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: #a0a0a0;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Grid de Conceitos */
.grid-33 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.concept-card {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid #222;
  padding: 2.1rem;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.concept-card:hover {
  border-color: #f4d03f;
  transform: translateY(-6px);
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.12);
}

.concept-number {
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 1rem;
  display: inline-block;
  border-bottom: 1px solid #222;
  padding-bottom: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.concept-title {
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
  color: #e0e0e0;
  margin-bottom: 0.9rem;
  letter-spacing: 0.01em;
}

.concept-desc {
  font-size: 0.92rem;
  color: #a0a0a0;
  line-height: 1.75;
}

.concept-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(
    135deg,
    transparent 52%,
    #d4af37 52%,
    #f4d03f 100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.concept-card:hover::after {
  opacity: 1;
}

.protocol-footer {
  display: none !important;
}

/* Mobile Adjustments para Protocolo */
@media (max-width: 768px) {
  .protocol-container {
    padding: max(6rem, 100px) 1.25rem 3rem;
  }

  .protocol-title {
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: 0.05em;
  }

  .grid-33 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .concept-card {
    padding: 1.7rem;
  }
}

/* --- PÁGINA SERVIÇOS (BLUEPRINT STYLE) --- */

/* Ajuste do Body para página serviços */
.servicos-body {
  background-color: #050505;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px; /* Grade técnica de fundo */
}

/* Header da Página (Hero) */
.blueprint-header {
  padding: calc(120px + 6rem) 2rem 5rem; /* Compensar header fixo */
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(17, 17, 17, 0.9) 0%,
    rgba(5, 5, 5, 0.95) 80%
  );
  border-bottom: 1px dashed #333;
  position: relative;
}

.page-headline {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #f4d03f;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(244, 208, 63, 0.2);
}

.page-subheadline {
  font-family: "Space Mono", monospace;
  color: #a0a0a0;
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid de Serviços */
.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1px; /* Linhas finas entre os cards */
  background-color: #222; /* Cor das linhas */
  border-bottom: 1px solid #222;
  max-width: 1400px;
  margin: 0 auto;
}

.service-block {
  background-color: rgba(5, 5, 5, 0.95);
  padding: 3rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-block:hover {
  background-color: rgba(15, 15, 15, 1);
}

/* Efeito de hover técnico */
.service-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0%;
  background-color: #c5a059;
  transition: height 0.3s ease;
}

.service-block:hover::before {
  height: 100%;
}

/* Categoria (Badge) */
.service-category {
  font-family: "Space Mono", monospace;
  color: #c5a059;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-block;
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 5px 12px;
}

.service-title {
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Lista de Detalhes */
.service-details {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-details li {
  font-family: "Inter", sans-serif;
  color: #999;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
  font-size: 0.9rem;
}

.service-details li strong {
  color: #e0e0e0;
  font-weight: 600;
}

.service-details li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: #c5a059;
  font-family: "Space Mono", monospace;
  font-weight: bold;
}

/* Especificações Técnicas (Rodapé do Card) */
.tech-specs {
  padding-top: 1.5rem;
  border-top: 1px solid #1a1a1a;
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spec-link {
  display: block;
  margin-top: 1.5rem;
  text-align: center;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  color: #c5a059;
  text-decoration: none;
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 10px;
  transition: all 0.3s;
}

.spec-link:hover {
  background-color: #c5a059;
  color: #000;
  font-weight: bold;
}

/* Responsividade para Serviços */
@media (max-width: 768px) {
  .blueprint-grid {
    grid-template-columns: 1fr;
  }
  .service-block {
    padding: 2rem;
  }
}

/* --- PÁGINAS DE SERVIÇOS ESPECÍFICAS (DETALHE) --- */

/* Hero Menor e Mais Direto */
.service-hero {
  padding: calc(120px + 4rem) 2rem 4rem;
  border-bottom: 1px solid #222;
  background: radial-gradient(
    circle at top right,
    rgba(20, 20, 20, 1),
    #050505
  );
}

.service-type {
  font-family: "Space Mono", monospace;
  color: #c5a059;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.service-headline {
  font-family: "Cinzel", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1.5rem;
}

.service-intro {
  color: #a0a0a0;
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* O Diagnóstico (Problema vs Solução) */
.diagnosis-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #222;
}

.diagnosis-col {
  padding: 4rem;
}

.problem-col {
  background-color: #080808;
  border-right: 1px solid #222;
}

.solution-col {
  background-color: #050505;
}

.col-title {
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.text-problem {
  color: #ff4444;
}
.text-solution {
  color: #00ff41;
}

.diagnosis-list {
  list-style: none;
  padding: 0;
}

.diagnosis-list li {
  margin-bottom: 1.5rem;
  color: #888;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

.diagnosis-list li strong {
  display: block;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-family: "Cinzel", serif;
}

/* Entregáveis (Checklist) */
.deliverables-section {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.deliverable-item {
  border: 1px solid #222;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.deliverable-item h3 {
  color: #c5a059;
  font-family: "Space Mono", monospace;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.deliverable-item p {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsividade para Páginas de Serviço */
@media (max-width: 768px) {
  .diagnosis-section {
    grid-template-columns: 1fr;
  }
  .problem-col {
    border-right: none;
    border-bottom: 1px solid #222;
  }
  .diagnosis-col {
    padding: 3rem 2rem;
  }
}

/* --- HOME REBUILD --- */
.gateway-home {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.content-wrapper-home {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-eyebrow,
.section-kicker,
.cta-kicker,
.form-shell-label,
.qualification-title,
.card-badge,
.system-label {
  font-family: var(--font-mono);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.7);
  padding-top: 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.hero-headline {
  max-width: 12ch;
  margin: 0;
}

.hero-justification {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-secondary {
  box-shadow: none;
}

.hero-trigger {
  max-width: 58ch;
  margin: 0;
}

.hero-system-panel {
  border: 1px solid rgba(212, 175, 55, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 45%),
    rgba(7, 7, 7, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.45);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 100%;
}

.system-panel-header,
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.system-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-gray-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.hero-system-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.system-label,
.section-kicker,
.cta-kicker,
.form-shell-label,
.qualification-title,
.card-badge {
  color: var(--color-gold-primary);
}

.hero-system-list,
.qualification-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-system-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0.9rem;
  align-items: start;
  color: var(--color-gray-light);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.7;
  padding: 0.65rem 0;
}

.hero-system-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-gold-primary);
}

.hero-metric {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hero-metric strong {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
}

.hero-metric span {
  color: var(--color-gray-medium);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
}

.hero-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-band-item,
.cta-side-card,
.blueprint-card,
.service-rail-item,
.proof-quote,
.qualification-panel,
.elite-form-upgraded {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-band-item {
  padding: 1rem 1.1rem;
}

.hero-band-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--color-gold-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.hero-band-item p,
.cta-side-card p,
.service-rail-item p,
.blueprint-card p,
.proof-quote,
.qualification-list li,
.form-shell-header h3 {
  margin: 0;
  color: var(--color-gray-light);
  line-height: 1.6;
}

.cta-section-split {
  min-height: auto;
}

.cta-split-grid {
  max-width: 1160px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: center;
}

.cta-kicker {
  margin: 0 0 1rem;
}

.cta-side-card {
  padding: 1.5rem;
  text-align: left;
}

.cta-side-card .cta-button {
  margin-top: 1.25rem;
}

.dichotomy-grid-reimagined {
  max-width: 1160px;
}

.manifesto-blueprint {
  max-width: 1160px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blueprint-card {
  padding: 1.5rem;
}

.blueprint-index {
  margin-bottom: 0.8rem !important;
  color: var(--color-gold-primary) !important;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.blueprint-card h3,
.form-shell-header h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: "Playfair Display", serif;
}

.service-rail {
  max-width: 1160px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-rail-item {
  padding: 1.1rem;
}

.service-rail-item span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--color-gold-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.arsenal-grid-enhanced {
  margin-top: 1rem;
}

.tech-card-featured {
  border-color: rgba(212, 175, 55, 0.35);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(20, 20, 20, 0.88);
}

.tech-card-featured:hover {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.8),
    0 0 26px rgba(212, 175, 55, 0.22);
}

.card-badge {
  margin: 0 0 0.75rem;
}

.stats-grid-showcase {
  align-items: stretch;
}

.stat-card-highlight {
  position: relative;
  background:
    radial-gradient(circle at top center, rgba(212, 175, 55, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.proof-quote-grid {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.proof-quote {
  padding: 1.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.application-container-enhanced {
  align-items: stretch;
}

.application-title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.qualification-panel {
  margin: 2rem 0;
  padding: 1.4rem;
}

.qualification-title {
  margin: 0 0 1rem;
}

.qualification-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  color: var(--color-gray-medium);
}

.qualification-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 7px;
  height: 7px;
  background: var(--color-gold-primary);
  border-radius: 50%;
}

.qualification-list li:last-child {
  margin-bottom: 0;
}

.elite-form-upgraded {
  padding: 2.5rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.form-shell-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-shell-label {
  margin: 0 0 0.5rem;
}

.section-jump-nav {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: min(220px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(5, 5, 5, 0.9);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.section-jump-status {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.section-jump-kicker,
.section-jump-current,
.section-jump-button-text {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.section-jump-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  color: var(--color-gold-primary);
}

.section-jump-current {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--color-gray-light);
  text-align: right;
}

.section-jump-dots {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.section-jump-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.section-jump-dot.is-passed {
  background: rgba(212, 175, 55, 0.35);
  border-color: rgba(212, 175, 55, 0.45);
}

.section-jump-dot.is-active {
  background: var(--color-gold-primary);
  border-color: var(--color-gold-primary);
  transform: scale(1.18);
}

.section-jump-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15),
    rgba(244, 208, 63, 0.05)
  );
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.section-jump-button:hover,
.section-jump-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--color-gold-primary);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
  outline: none;
}

.section-jump-button-text {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.section-jump-button-icon {
  font-size: 1.2rem;
  color: var(--color-gold-primary);
  line-height: 1;
}

.section-jump-nav.is-hidden {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

body.modal-open {
  overflow: hidden;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.site-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-modal-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 2rem));
  height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(7, 7, 7, 0.96);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.site-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-gray-light);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.site-modal-close:hover,
.site-modal-close:focus-visible {
  color: var(--color-gold-primary);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
  outline: none;
}

.site-modal-header {
  padding: 1.4rem 4.5rem 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-modal-kicker {
  margin: 0 0 0.6rem;
  color: var(--color-gold-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-modal-title {
  margin: 0 0 0.55rem;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.site-modal-subtitle {
  margin: 0;
  color: var(--color-gray-medium);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 72ch;
}

.site-modal-body {
  flex: 1;
  min-height: 0;
  background: #050505;
}

.site-modal-frame {
  width: 100%;
  height: 100%;
  border: none;
  background: #050505;
}

@media (max-width: 1024px) {
  .hero-grid,
  .cta-split-grid,
  .service-rail,
  .manifesto-blueprint,
  .proof-quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gateway-home {
    padding: 0 1.25rem 3rem;
  }

  .section-jump-nav {
    right: 0.75rem;
    bottom: 0.75rem;
    width: min(210px, calc(100vw - 1.5rem));
    padding: 0.85rem;
  }

  .site-modal-dialog {
    width: calc(100vw - 1rem);
    height: min(92vh, 980px);
  }

  .site-modal-header {
    padding: 1.1rem 4rem 1rem 1rem;
  }

  .hero-headline {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .cta-button,
  .hero-actions .solid-button {
    text-align: center;
  }

  .system-panel-header,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-system-list li {
    grid-template-columns: 30px 1fr;
  }

  .hero-system-list span {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .elite-form-upgraded {
    min-width: 0;
    padding: 1.5rem;
  }

  .proof-quote {
    font-size: 1rem;
  }
}

/* --- INSTITUTIONAL PAGES --- */
.info-page-main {
  background:
    radial-gradient(circle at top right, rgba(18, 18, 18, 1) 0%, rgba(5, 5, 5, 1) 52%),
    #050505;
}

.info-page-hero,
.info-page-section,
.info-page-cta {
  padding-left: 2rem;
  padding-right: 2rem;
}

.info-page-hero {
  padding-top: calc(120px + 4rem);
  padding-bottom: 4rem;
}

.info-page-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.info-page-kicker {
  margin: 0 0 1rem;
  color: var(--color-gold-primary);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.info-page-title {
  margin: 0 0 1.2rem;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  max-width: 11ch;
}

.info-page-intro {
  max-width: 72ch;
  margin: 0;
  color: var(--color-gray-light);
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.85;
}

.info-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: end;
}

.info-page-sidecard,
.info-page-panel,
.info-page-metric,
.info-page-card,
.info-page-cta-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.info-page-sidecard {
  padding: 1.4rem;
}

.info-page-sidecard h2,
.info-page-panel h2,
.info-page-card h3,
.info-page-cta-box h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-family: "Playfair Display", serif;
}

.info-page-sidecard p,
.info-page-panel p,
.info-page-card p,
.info-page-cta-box p {
  margin: 0;
  color: var(--color-gray-medium);
  font-family: var(--font-mono);
  line-height: 1.7;
}

.info-page-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.info-page-metric {
  padding: 1rem 1.1rem;
}

.info-page-metric strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-gold-primary);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.info-page-metric span {
  color: var(--color-gray-medium);
  font-family: var(--font-mono);
  font-size: 0.83rem;
  line-height: 1.5;
}

.info-page-section {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
}

.info-page-layout {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: start;
}

.info-page-panel {
  padding: 1.5rem;
  position: sticky;
  top: 120px;
}

.info-page-panel ul,
.info-page-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.info-page-panel li,
.info-page-card li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
  color: var(--color-gray-light);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.65;
}

.info-page-panel li::before,
.info-page-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-gold-primary);
}

.info-page-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-page-card {
  padding: 1.4rem;
}

.info-page-card .info-page-kicker,
.info-page-panel .info-page-kicker,
.info-page-cta-box .info-page-kicker {
  margin-bottom: 0.75rem;
}

.info-page-cta {
  padding-top: 0.5rem;
  padding-bottom: 5rem;
}

.info-page-cta-box {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.info-page-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .info-page-grid,
  .info-page-layout,
  .info-page-cards,
  .info-page-meta,
  .info-page-cta-box {
    grid-template-columns: 1fr;
  }

  .info-page-panel {
    position: static;
  }
}

@media (max-width: 768px) {
  .info-page-hero,
  .info-page-section,
  .info-page-cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .info-page-hero {
    padding-top: calc(88px + 2rem);
  }

  .info-page-title {
    max-width: none;
  }
}

/* --- PROTOCOLO BADGE --- */
.protocolo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--color-gold-primary);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
  border-radius: 4px;
  margin-bottom: 1.5rem;
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
}

.protocolo-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.protocolo-badge span {
  color: var(--color-gold-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
