@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Raleway:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #111;
  color: #fff;
}

/* -------- TOP BAR -------- */
.top-bar {
  background-color: #3a3a3a;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.top-right-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}
.mail-btn {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.mail-btn i {
  background-color: transparent;
  padding: 8px;
  border-radius: 50%;
}

.mail-btn:hover {
  transform: scale(1.4);
}

.left-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 5000;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.1px;
  color: #fff;
}

/* -------- HEADER -------- */
header {
  background-color: #000;
  padding: 50px 40px;
  position: relative;
  overflow: visible;
  z-index: 10;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 130px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0,7px;   /* 👈 espace entre lettres */
  word-spacing: 4px;       /* 👈 espace entre mots */
}

.nav-links a {
  text-decoration: none;
  color: #FFD700;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #FFD700;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* LOGO DISSOCIÉ */
.logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.logo {
  max-height: 150px; /* Ajuste ici pour changer la taille du logo sans toucher au header */
  height: auto;
  width: auto;
  object-fit: contain;
}

/* -------- SECTIONS -------- */
section {
  padding: 40px;
}
/* FOOTER */
footer {
  background-color: #000;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-family: 'Raleway', sans-serif;
}

footer a {
  color: #FFD700;
  text-decoration: none;
}

footer .socials {
  margin-top: 10px;
}

footer .socials a {
  color: #FFD700;
  margin: 0 10px;
  font-size: 20px;
  transition: transform 0.3s;
}

footer .socials a:hover {
  transform: scale(1.2);
}

/* HEADER SHRINK STICKY */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header.shrink {
  padding: 35px 50px;
}

header.shrink .logo {
  max-height: 100px;
}

/* TOP-BAR STICKY */
.top-bar {
  position: sticky;
  top: 0;
  background-color: #3a3a3a;
  z-index: 101;
}

/* HEADER STICKY EN DESSOUS DE LA TOP-BAR */
header {
  position: sticky;
  top: 40px;
  z-index: 100;
  transition: all 0.3s ease;
}

/* Animation douce du logo */
.logo {
  transition: all 0.3s ease;
}

/* Lorsque le header est réduit */
header.shrink .logo {
  max-height: 100px;
  margin-top: 20px;
}

/* Ajustement plus petit du logo quand le header est réduit */
header.shrink .logo {
  max-height: 87px; /* ajusté depuis 100px */
  margin-top: 20px;
}
/* Réduction de la taille du texte du menu quand le header shrink */
header.shrink .nav-links {
  font-size: 20px;  /* 👈 ajuste cette valeur comme tu veux */
}

/* FONDU HAUT DU HEADER */
.fade-header-top {
  width: 100%;
  height: 8px;
  background: linear-gradient(to bottom, #3a3a3a, transparent); /* adapte la couleur ici */
  z-index: 10;
  position: relative;
}
.fade-header-bottom {
  height: 12px;
  background: linear-gradient(to bottom, #000, #1f1f1f); /* noir vers gris */
}
.nav-links a.active {
  color: white;
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: yellow;
  transition: width 0.3s ease;
}
.connexion-btn {
  text-decoration: none !important;
}
@keyframes fadeInUp {
  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);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up,
.fade-down {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-down {
  transform: translateY(-30px);
}

.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
body {
  background-color: #111;
  background-image: url('/images/topography.svg'); /* adapte si le fichier est ailleurs */
  background-repeat: repeat;
  background-size: 300px; /* ajuste à ta convenance */
}
/* === RESPONSIVE DESIGN POUR TOUS LES ÉCRANS SAUF 1920x1080 === */

/* ✅ PC portable : entre 1280px et 1399px */
@media screen and (min-width: 1280px) and (max-width: 1399px) {
  .logo {
    max-height: 150px;
  }

  .nav-links {
    font-size: 20px;
    gap: 45px;
  }

  header {
    padding: 50px 50px;
  }

  .logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 0;
  }

  .nav-container {
    flex-direction: row;
  }

  .actu-card {
    width: 280px;
  }

  .actu-card img {
    width: 100%;
    height: auto;
  }

  .actus-container {
    gap: 149px !important;
  }
}
/* ✅ Breakpoint spécial 1400px à 1440px */
@media screen and (min-width: 1400px) and (max-width: 1440px) {
  .logo {
    max-height: 150px;
  }

  .nav-links {
    font-size: 20px;
    gap: 60px;
  }

  header {
    padding: 50px 50px;
  }

  .logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-bottom: 0;
  }

  .nav-container {
    flex-direction: row;
  }
}
/* ✅ Breakpoint spécial 1441px à 1919px */
@media screen and (min-width: 1441px) and (max-width: 1919px) {
  .logo {
    max-height: 160px;
  }

  .nav-links {
    font-size: 20px;
    gap: 90px;
  }

  header {
    padding: 50px 60px;
  }
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.video-section {
  padding: 60px 40px;
  text-align: center;
}

.video-page-title {
  font-size: 2.2rem;
  color: #FFD700;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
}

.video-sub {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 40px;
  font-family: 'Raleway', sans-serif;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, auto); /* ✅ 2 vidéos par ligne */
  column-gap: 50px; /* ✅ espace horizontal */
  row-gap: 40px;   /* espace vertical (si plusieurs lignes) */
  justify-content: center; /* ✅ centre l'ensemble */
}


.video-card {
  background-color: transparent;
  padding: 20px;
  box-shadow: 0 0 18px transparent(255, 215, 0, 0.08);
  transition: transform 0.4s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.15);
}

.video-card {
  position: relative;
  width: 100%;
  max-width: 350px; /* 👈 limite la taille comme un téléphone */
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  height: auto;
  overflow: hidden;
  background-color: transparent;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.08);
  transition: transform 0.4s ease;
}

.video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  margin-top: 15px;
  color: #eee;
  font-size: 1rem;
  font-style: italic;
}
.video-wrapper {
  max-width: 400px;
  margin: 40px auto;
  background-color: transparent;
  border: 2px solid #FFD700;
  border-radius: 18px;
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.08);
  padding: 20px 20px 10px;
  text-align: center;
  transition: transform 0.4s ease;
}

.video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
}
.actu-card {
  width: 350px; /* fixe une largeur pour permettre le placement côte à côte */
  background-color: #1b1b1b;
  border: 2px solid #FFD700;
  border-radius: 18px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: center;
}

.actu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.actu-card iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: none;
}

.actu-card-content {
  padding: 15px;
}

.actu-card-content h3 {
  color: #FFD700;
  font-size: 1.3rem;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.actu-card-content p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  color: #eee;
}
.burger-menu {
  display: none; /* Caché par défaut */
}