:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --primary: #ff6b35;
  --primary-glow: rgba(255, 107, 53, 0.4);
  --gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --border: #27272a;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
  background: var(--bg-dark); 
  color: var(--text-primary); 
  line-height: 1.6; 
}
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== HERO UNIVERSAL ===== */
.hero-universal {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.bg-media {
  width: 100%; height: 100%;
  object-fit: cover;
}

.bg-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.bg-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.subheadline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #e4e4e7;
}

.btn-cta {
  display: inline-block;
  background: var(--gradient);
  color: white;
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta:hover, .btn-cta:focus {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--primary-glow);
  outline: none;
}

/* ===== VÍDEO EXTERNO (YouTube/Vimeo) ===== */
.video-externo-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  z-index: 1;
}

.video-externo-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== SLIDER ===== */
.hero-slider {
  display: flex;
  width: 100%; height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.hero-slider::-webkit-scrollbar { display: none; }

.hero-slider .slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 2rem;
}

.slide-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
}

.slide-content p {
  font-size: 1.2rem;
  color: #e4e4e7;
}

.slide-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ===== INDICADORES DO SLIDER ===== */
.slider-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 4;
}

.indicator {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover { background: rgba(255, 255, 255, 0.7); }
.indicator.active { 
  background: var(--primary); 
  border-color: var(--primary);
  transform: scale(1.3);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .hero-content { padding: 1.5rem; }
  .btn-cta { padding: 1rem 2rem; font-size: 1rem; }
  .slide-content { padding: 1.5rem; }
  .video-externo-wrapper {
    width: 100%;
    height: 100%;
    min-height: unset;
    min-width: unset;
  }
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slider { scroll-behavior: auto; }
  video { animation: none; }
}