* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #003366;
  --secondary: #001a33;
  --accent: #00cc66;
  --light: #f0f4f8;
  --dark: #001a33;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

/* ===================== HEADER ===================== */
header {
  background: var(--light);
  color: rgb(0, 0, 0);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}
.nav-links a {
  color: #1c456b;
}
.logo {
  font-size: 2rem;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

/* ===================== SLIDER ===================== */
.slider {
  position: relative;
  max-width: 1700px;
  margin: 4rem auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  background: #000;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.slider-track img,
.slider-track video {
  flex: 0 0 100%;
  max-height: 800px;
  width: 700px;
  object-fit: contain;
  background: #000;
  display: block;
  border-radius: 20px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}

.slide-caption {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
}

.slide-caption h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.slide-caption p {
  font-size: 1.2rem;
}

/* Botões */
.slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s;
  z-index: 3;
}
.slider .nav:hover { opacity: 1; }
.slider .prev { left: 1rem; }
.slider .next { right: 1rem; }

/* Dots */
.dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff8;
  border: 2px solid var(--accent);
  cursor: pointer;
}
.dot[aria-selected="true"] {
  background: var(--accent);
}

/* ===================== RESPONSIVIDADE ===================== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .slider-track img,
  .slider-track video { max-height: 300px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.9rem; }
  .slider-track img,
  .slider-track video { max-height: 200px; }
}
