/* =============================
   PAGE D'ACCUEIL : HERO SECTION
   ============================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding: 2rem;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
}

/* Bouton principal */
.btn-main {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  color: var(--color-button-text, #fff);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius, 2rem);
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-main:hover {
  background-color: var(--color-primary-dark, #0052cc);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
  .hero-logo {
    max-width: 200px;
  }

  .btn-main {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}


/* =============================
   Animations HERO
   ============================= */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  animation: fadeInDown 1s ease-out 0.2s forwards;
  opacity: 0;
}

.btn-main {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}
