.burger-menu {
  display: none;
}
@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;
}

.connexion-btn {
  background-color: transparent; /* Enlève le fond noir */
  border: 2px solid white; /* Petit contour blanc */
  color: white; /* Texte blanc */
  padding: 6px 14px;
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, border-bottom 0.2s ease;
}

/* Effet zoom au survol */
.connexion-btn:hover {
  transform: scale(1.2); /* Zoom léger */
  background-color: transparent; /* Reste sans fond */
}

/* Supprime les effets de fond au clic */
.connexion-btn:focus,
.connexion-btn:active {
  background-color: transparent;
  outline: none;
  box-shadow: none;
}

.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;
}

/* ACTUALITÉS */
.actualites {
  background-color: transparent;
  text-align: center;
}

.actualites h2 {
  font-size: 40px;
  color: #FFD700;
  font-family: 'Barlow Condensed', sans-serif;
  text-align: center;
  margin-bottom: 25px;
}

.actualites .intro {
  color: #ccc;
  font-size: 16px;
  margin-bottom: 40px;
  font-family: 'Raleway', sans-serif;
}

.actus-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.actu-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
  border: 2px solid #FFD700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.actu-card img {
  width: 100%;
  height: auto;
  display: block;
}

.actu-card-content {
  padding: 20px;
}

.actu-card-content h3 {
  font-size: 20px;
  color: #FFD700;
  margin-bottom: 10px;
  text-align: center;
}

.actu-card-content p {
  font-size: 14px;
  color: #fff;
  text-align: center;
  font-family: 'Raleway', sans-serif;
}

/* MAP */
.map {
  background-color: transparent;
  text-align: center;
}

.map h2 {
  color: #FFD700;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 8px;
  font-size: 40px;
}

.map p {
  margin-bottom: 10px;
  color: #ccc;
  font-family: 'Raleway', sans-serif;
}
.partenaires-image img {
  max-width: 80%;
  height: auto;
  border: 3px solid #FFD700;
  border-radius: 12px;
  padding: 10px;
  background-color: #fff;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.map-container {
  position: relative;
  margin-top: 20px;
}

.map-btn-container {
  text-align: center;
  margin-top: 10px;
}

.map-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.map-btn:hover {
  background-color: #ffa500;
  color: #fff;
}
.map-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #000;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.13);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.17s;
  position: relative;
  overflow: hidden;
}
.map-btn:hover {
  background-color: #ffc800;
  color: #222;
  box-shadow: 0 8px 24px rgba(255,215,0,0.22), 0 2px 12px rgba(0,0,0,0.13);
  transform: translateY(-3px) scale(1.07) rotate(-1.5deg);
}
.map-btn:hover::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 80%;
  border-radius: 10px;
  background: radial-gradient(ellipse at center, #fff18e55 0%, transparent 80%);
  z-index: 0;
  pointer-events: none;
}
.map-encadre {
  border: 2.5px solid #FFD700;
  border-radius: 20px;
  background: #1a1a1a;
  box-shadow: 0 4px 20px rgba(255,215,0,0.10);
  padding: 10px;
  margin: 0 auto 15px auto;
  max-width: 4000px;
  width: 100%;
  display: block;
  transition: box-shadow 0.3s, transform 0.3s;
}

.map-encadre:hover {
  box-shadow: 0 12px 32px rgba(255, 215, 0, 0.18);
  transform: scale(1.011);
}

.map-encadre iframe {
  width: 100%;
  min-height: 340px;
  height: 420px;      /* ← c'est ça qui définit la hauteur ! */
  max-height: 600px;
  border: 0;
  border-radius: 14px;
  display: block;
  background: #222;
}

/* SPONSORS */
.sponsors {
  background-color: transparent;
  text-align: center;
}
.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 12px;
}

.sponsor-logo {
  background: transparent;
  border: 4px solid transparent;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(255,215,0,0.08);
  transition: transform 0.18s, box-shadow 0.2s, background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;      /* largeur minimale */
  max-width: 320px;      /* largeur maximale (pour éviter trop large) */
  height: 140px;         /* hauteur FIXE pour tous les blocs */
  margin: 0 12px;
}

.sponsor-logo:hover {
  background: transparent;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.20);
  transform: translateY(-5px) scale(1.08) rotate(-1deg);
}


.sponsor-logo img {
  max-width: 85%;
  max-height: 78px;      /* Limite la hauteur des images */
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: grayscale(0%) brightness(1);
  transition: filter 0.23s;
}

.sponsor-logo:hover img {
  filter: none;
}
.sponsor-logo-bg {
  background: #fff; /* Fond de chaque logo */
  border-radius: 12px;
  padding: 12px 24px;
  width: 270px;      /* largeur fixe */
  min-width: 270px;  /* largeur fixe */
  max-width: 270px;  /* largeur fixe */
  height: 140px;     /* hauteur fixe */
  min-height: 140px; /* hauteur fixe */
  max-height: 140px; /* hauteur fixe */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
}

.sponsor-logo:hover .sponsor-logo-bg {
  background: #fffbe5; /* Fond doré très léger au survol */
}
.sponsor-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  border-radius: 12px;
}
.sponsor-link:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 3px;
}

/* FOND DIFFÉRENT POUR CHAQUE SPONSOR SI BESOIN */

.sponsor-logo.bricomarche .sponsor-logo-bg {
  background: #fff; /* Blanc par défaut */
}
.sponsor-logo.jdstocks .sponsor-logo-bg {
  background: #FFD700; /* Jaune pour JD Stocks */
}
.sponsor-logo.miecaline .sponsor-logo-bg {
  background: #94867e; /* Beige pour La Mie Câline */
}
.sponsor-logo.halleauxplantes .sponsor-logo-bg {
  background: #fff; /* Vert pâle pour Halle aux Plantes */
}

/* Responsive */
@media (max-width: 700px) {
  .sponsor-logos {
    gap: 18px;
  }
  .sponsor-logo {
    padding: 9px 7px;
    min-width: 90px;
    max-width: 120px;
    min-height: 35px;
    max-height: 48px;
  }
  .sponsor-logo img {
    max-width: 90px;
    max-height: 34px;
  }
}

.sponsors h2 {
  color: #FFD700;
  font-family: 'Barlow Condensed', sans-serif;
  margin-bottom: 8px;
  font-size: 40px;
}
.sponsors p {
  font-family: 'Poppins', sans-serif;
  color: #FFD700;
  margin-bottom: 10px;
}

.sponsors p {
  margin-bottom: 10px;
  color: #ccc;
  font-family: 'Raleway', sans-serif;
}

/* RÉSEAUX SOCIAUX */
.social-follow {
  background-color: transparent;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.social-follow h2 {
  font-size: 40px;
  color: #FFD700;
  margin-bottom: 10px;
  font-family: 'Barlow Condensed', sans-serif;
}

.social-follow p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 40px;
  font-family: 'Raleway', sans-serif;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.social-item {
  background-color: #222;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  width: 140px;
  transition: transform 0.3s ease, box-shadow 0.3s;
  text-decoration: none;
}

.social-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.social-item i {
  font-size: 32px;
  background-color: #FFD700;
  color: #000;
  padding: 18px;
  border-radius: 50%;
  margin-bottom: 15px;
  display: inline-block;
}

.social-item .count {
  font-size: 22px;
  font-weight: bold;
  margin: 5px 0;
  color: #fff;
}

.social-item span {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: #FFD700;
}

/* PARTENAIRES */
.partenaires {
  background-color: transparent;
  text-align: center;
  padding: 40px 0;
}

.partenaires h2 {
  color: #FFD700;
  margin-bottom: 20px;
  font-size: 36px;
  font-family: 'Barlow Condensed', sans-serif;
}

.partenaires-image img {
  max-width: 80%;
  height: auto;
  border: 3px solid #FFD700;
  border-radius: 12px;
  padding: 10px;
  background-color: #fff;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.partenaires-image img:hover {
  transform: scale(1.02);
  opacity: 1;
}

/* 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;
  }
}
/* ✅ PC portable : entre 1400px et 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;
  }

  .actu-card {
    width: 280px;
  }

  .actu-card img {
    width: 100%;
    height: auto;
  }

  .actus-container {
    gap: 21px !important;
  }
}
/* ✅ 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;
}
.click-hint {
  color: #ff4747 !important;
  font-weight: bold !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  margin-top: 15px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  animation: blink 1.8s ease-in-out infinite !important;
}

/* Animation de clignotement doux */
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}