/* -------------------------------
   Reset & Variables
--------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-family: 'Poppins', sans-serif;
  --primary-color: #1a1a1a;
  --secondary-color: #666;
  --background-color: #fff;
  --accent-color: #1a1a1a;
  --accent-hover: #fff;
  --link-hover: #fff;
  --header-height: 70px;
  --transition-speed: 0.3s;
  --menu-bg-color: #1a1a1a;
  --menu-text-color: #fff;
  --burger-color: #fff;
}

/* -------------------------------
   Base HTML
--------------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--primary-color);
  line-height: 1.6;
}

/* -------------------------------
   Container
--------------------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* -------------------------------
   Header & Navigation
--------------------------------- */
header,
.header {
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background-color: var(--background-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Logo */
.logo {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.logo img {
  height: 50px;
  transition: transform var(--transition-speed) ease;
}
.logo:hover img {
  transform: scale(1.1);
}

/* -------------------------------
   Nav-links (optionnel)
--------------------------------- */
.nav-links {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}
.nav-links a:hover {
  color: var(--accent-color);
}

/* -------------------------------
   Burger Menu
--------------------------------- */
.burger-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--burger-color);
  border-radius: 2px;
  transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}
.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}
.burger-menu.open span:nth-child(2) {
  opacity: 0;
}
.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* -------------------------------
   Menu principal fullscreen
--------------------------------- */
.menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.5s ease, transform 0.5s ease;

  /* ✅ Correction ajoutée : évite de bloquer les vidéos */
  pointer-events: none;
}

.menu.open {
  display: flex;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.menu a {
  color: var(--menu-text-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.75rem;
  text-align: center;
  transition: color var(--transition-speed) ease;
  text-decoration: none;
}
.menu a:hover {
  color: #ddd;
}

/* -------------------------------
   Footer
--------------------------------- */
footer {
  width: 100%;
  background: #000;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 15px;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
}
footer .follow-us {
  margin-top: 8px;
}
footer .follow-us a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  margin-left: 10px;
  transition: color 0.3s ease;
}
footer .follow-us a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* -------------------------------
   Utilitaires
--------------------------------- */
.text-center {
  text-align: center;
}
.mt-2 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.p-1 {
  padding: 1rem;
}