:root {
  --azul-principal: #0A3D91;
  --azul-secundario: #1E5CB3;
  --branco: #ffffff;
  --cinza-texto: #dcdcdc;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.45)
  );
  z-index: 2;
  pointer-events: none;
}

/* MENU */
.hero-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 42px;
}

.menu {
  display: flex;
  gap: 36px;
  list-style: none;
}

.menu a {
  position: relative;
  color: var(--branco);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding-bottom: 4px;
  z-index: 11;
}

/* underline animado */
.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--azul-secundario);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* CONTEÚDO */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;     /* largura máxima */
  height: 100%;
  margin: 0 auto;      /* centraliza na página */
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* conteúdo à esquerda */
  text-align: left;        /* texto à esquerda */
}

.hero-content h1 {
  color: var(--branco);
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-content p {
  color: var(--cinza-texto);
  font-size: 1.15rem;
  max-width: 720px;
  margin-bottom: 36px;
  font-weight: 400;
}

/* BOTÃO */
.btn-whatsapp {
  background: var(--azul-secundario);
  color: var(--branco);
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  align-self: flex-start; /* força alinhamento à esquerda */
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(30, 92, 179, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 92, 179, 0.35);
}

/* ANIMAÇÕES */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 1s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--branco);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* animação X */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MOBILE MENU */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: rgba(10, 61, 145, 0.98);
    flex-direction: column;
    padding: 120px 32px;
    gap: 28px;
    transition: right 0.35s ease;
  }

  .menu.active {
    right: 0;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-video {
    object-position: left center;
  }
}