/* ==============================================================================
   HERO & CABEÇALHO FIDELIDADE ANEXO 1 — XX SEMANA DE TECNOLOGIA FATEC OURINHOS
   ============================================================================== */

/* Wrapper Geral do Hero Banner */
.hero-banner-wrapper {
  position: relative;
  width: 100%;
  min-height: 480px;
  background-color: #050714;
  overflow: hidden;
  border-bottom: 2px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.15);
}

/* Camada de Fundo: Cidade Futurista e Linhas Neon */
.hero-background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(5, 7, 20, 0.85) 0%, rgba(5, 7, 20, 0.45) 50%, rgba(5, 7, 20, 0.2) 100%),
    url('../images/hero-clean-bg.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Canvas Dinâmico Interativo de Partículas & Linhas de Velocidade */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Linhas Neon de Circuito e Brilho no Topo/Base do Hero */
.hero-neon-bar-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #00f0ff 0%, #8a2be2 50%, #ff007f 100%);
  box-shadow: 0 0 15px #00f0ff;
  z-index: 5;
}

/* Conteúdo do Hero (Alinhamento rigoroso conforme Anexo 1) */
.hero-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 24px 30px 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
}

/* ==============================================================================
   LINHA SUPERIOR: LOGO (ESQUERDA) + SLOGAN (DIREITA/CENTRO)
   ============================================================================== */
.hero-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* Logo Oficial (Lado Esquerdo) */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
}

/* Ícone S Neon Tridimensional */
.hero-brand-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.6)) drop-shadow(0 0 20px rgba(255, 0, 127, 0.4));
  transition: transform var(--transition-smooth);
}
.hero-brand:hover .hero-brand-logo-img {
  transform: scale(1.05);
}

/* Novo Logo Oficial com Letras Brancas e Fundo Transparente (Anexo 5) */
.hero-brand-logo-img-full {
  height: 68px;
  max-width: 290px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.5)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
  transition: transform var(--transition-smooth);
}
.hero-brand:hover .hero-brand-logo-img-full {
  transform: scale(1.04);
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
}

.hero-brand-sub {
  font-family: var(--font-tech);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.hero-brand-main {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5), 0 0 25px rgba(0, 240, 255, 0.6);
}

.hero-brand-location {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
}

/* Slogan do Evento (Topo Centro/Direita) */
.hero-slogan-box {
  text-align: left;
  max-width: 440px;
  margin-right: auto;
  margin-left: 60px;
  padding-top: 6px;
}

.hero-slogan {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0.92;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ==============================================================================
   ÁREA CENTRAL DO HERO: DATA EM GRANDE DESTAQUE + SUBTÍTULO
   ============================================================================== */
.hero-center-info {
  text-align: center;
  margin: 25px auto 20px auto;
  max-width: 900px;
  position: relative;
}

/* Destaque Principal: "19 à 23 de outubro de 2026" (Idêntico ao Anexo 1) */
.hero-dates-highlight {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-shadow: 
    -2px -2px 0 #000,  
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0 4px 15px rgba(0, 0, 0, 0.9);
  line-height: 1.15;
}

/* Chamada: "Palestras, minicursos, hackathon, ideathon e muito mais..." */
.hero-subcallout {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-shadow: 
    -1.5px -1.5px 0 #000,  
     1.5px -1.5px 0 #000,
    -1.5px  1.5px 0 #000,
     1.5px  1.5px 0 #000,
     0 3px 12px rgba(0, 0, 0, 0.85);
  margin-bottom: 24px;
}

/* ==============================================================================
   BARRA DE NAVEGAÇÃO RECTANGULAR EXATA DO ANEXO 1
   Início | Competições | Gamefest | Palestrantes/Agenda | Parceiros
   ============================================================================== */
.hero-nav-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px auto;
  width: 100%;
}

.hero-nav-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
}

/* Itens de Botão do Menu */
.hero-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 135px;
  height: 44px;
  padding: 0 20px;
  background-color: var(--blue-primary); /* Azul sólido idêntico ao anexo */
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px; /* Retangular conforme solicitado */
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.hero-nav-btn:hover {
  background-color: var(--blue-electric);
  box-shadow: 0 0 15px rgba(0, 132, 255, 0.7);
  transform: translateY(-2px);
  color: #ffffff;
}

/* BOTÃO DA PÁGINA ATUAL DESTACADO EM BRANCO (Conforme Anexo 1) */
.hero-nav-btn.active,
.hero-nav-btn[aria-current="page"] {
  background-color: #ffffff !important;
  color: #0052cc !important;
  font-weight: 700 !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  transform: none;
}

/* ==============================================================================
   BOTÃO DE INSCRIÇÃO ABAIXO DO MENU (Anexo 1: "Inscreva-se >")
   ============================================================================== */
.hero-cta-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}

.hero-btn-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 200px;
  height: 48px;
  padding: 0 34px;
  background: linear-gradient(135deg, #741ea0 0%, #5616af 100%);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid #00f0ff; /* Borda neon ciano e magenta brilhante */
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.hero-btn-subscribe:hover {
  background: linear-gradient(135deg, #8b28be 0%, #681bd3 100%);
  border-color: #ffffff;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px) scale(1.03);
  color: #ffffff;
}

.hero-btn-subscribe .arrow {
  font-size: 1.4rem;
  font-weight: 900;
  transition: transform var(--transition-fast);
}

.hero-btn-subscribe:hover .arrow {
  transform: translateX(4px);
}

/* Botão Hamburger para Dispositivos Móveis */
.mobile-menu-toggle {
  display: none;
  background: rgba(0, 102, 204, 0.9);
  border: 1px solid var(--cyan-neon);
  border-radius: 4px;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  z-index: 10;
}

/* Drawer Mobile Cyber */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 8, 20, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  padding: 40px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  transform: translateY(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  display: flex;
}

.mobile-nav-drawer .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--cyan-neon);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-nav-drawer .hero-nav-btn {
  width: 100%;
  max-width: 320px;
  height: 52px;
  font-size: 1.15rem;
}

/* ==============================================================================
   RESPONSIVIDADE DO HERO (Tablet e Celular)
   ============================================================================== */
@media (max-width: 1024px) {
  .hero-top-row {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .hero-slogan-box {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
    max-width: 100%;
  }
  .hero-background-layer {
    background-position: center center;
    background-image: 
      linear-gradient(to bottom, rgba(5, 7, 20, 0.85) 0%, rgba(5, 7, 20, 0.75) 100%),
      url('../images/hero-clean-bg.jpg');
  }
  .hero-nav-menu {
    gap: 8px;
  }
  .hero-nav-btn {
    min-width: 110px;
    height: 40px;
    font-size: 0.9rem;
    padding: 0 12px;
  }
}

@media (max-width: 768px) {
  .hero-banner-wrapper {
    min-height: auto;
  }
  .hero-content-container {
    padding: 20px 16px 30px 16px;
  }
  .hero-top-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-brand {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .hero-brand-logo-img {
    height: 55px;
  }
  .hero-brand-main {
    font-size: 1.4rem;
  }
  .hero-slogan {
    font-size: 0.95rem;
  }
  .hero-nav-wrapper {
    display: none; /* Ativa menu mobile */
  }
  .mobile-menu-toggle {
    display: inline-flex;
    margin: 10px auto 16px auto;
  }
  .hero-btn-subscribe {
    width: 100%;
    max-width: 280px;
    font-size: 1.15rem;
    height: 46px;
  }
}
