@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Raleway:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&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;
}
/* 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;
}
.main-content {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #FFD700;
}

.section-card {
  background-color: #1f1f1f;
  border: 2px solid #FFD700;
  border-radius: 20px;
  padding: 40px;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
  transition: transform 0.3s ease;
}

.section-card:hover {
  transform: translateY(-5px);
}

.section-card h2 {
  color: #FFD700;
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center;
}

.inscription-list,
.paiement-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.inscription-list li,
.paiement-list li {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #fff;
  display: flex;
  align-items: center;
}

.contact-block p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.contact-block a:hover {
  text-decoration: underline;
}
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 25px 0;
}

.download-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #111;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.infos-certificat {
  margin-top: 30px;
  background-color: #292929;
  padding: 20px;
  border-left: 4px solid #FFD700;
  border-radius: 10px;
}

.infos-certificat p {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #FFD700;
  font-weight: bold;
}

.infos-certificat ul {
  list-style: none;
  padding-left: 15px;
}

.infos-certificat li::before {
  content: "✔️ ";
  margin-right: 5px;
}

.infos-certificat li {
  margin-bottom: 8px;
  color: #fff;
}

.envoi-infos {
  margin-top: 30px;
}

.envoi-infos p {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.envoi-infos a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.envoi-infos a:hover {
  text-decoration: underline;
}
.instruction-text {
  color: #ff4d4d;
  font-weight: bold;
  font-size: 1.1rem; /* un peu plus grand pour respirer */
  text-align: center;
  margin-top: 20px;
  letter-spacing: 1.1px; /* ✅ espace entre lettres */
  word-spacing: 2px;     /* ✅ espace entre mots */
  text-shadow: 0 0 4px rgba(200, 60, 60, 0.35); /* ✅ rouge plus doux */
}

.paiement-infos p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.tarifs-bloc {
  margin-top: 30px;
  background-color: #292929;
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid #FFD700;
}

.tarifs-bloc h3 {
  color: #FFD700;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.tarifs-list {
  list-style: none;
  padding-left: 0;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
}

.tarifs-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-tarif {
  color: #ccc;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 10px;
}
/* === STYLE BOOSTÉ POUR LE BLOC TARIFS === */
.tarifs-bloc {
  margin-top: 30px;
  background: linear-gradient(145deg, #1c1c1c, #2a2a2a);
  padding: 30px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tarifs-bloc:hover {
  transform: scale(1.02);
  box-shadow: 0 0 45px rgba(255, 215, 0, 0.6);
}

.tarifs-bloc h3 {
  font-size: 2rem;
  color: #FFD700;
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 0 3px rgba(255, 215, 0, 0.2);
}

.tarifs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tarifs-list li {
  background: #111;
  margin: 12px 0;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 1.2rem;
  display: block;
  align-items: center;
  justify-content: space-between;
  border-left: 5px solid #FFD700;
  transition: background 0.3s ease;
}

.tarifs-list li:hover {
  background: #1f1f1f;
}

.tarifs-list strong {
  color: #FFD700;
  margin-right: 8px; /* ✅ petit espace entre le texte et le prix */
}

.note-tarif {
  margin-top: 15px;
  font-size: 1rem;
  color: #ccc;
  font-style: italic;
  text-align: center;
}
.download-btn {
  display: inline-block;
  background: linear-gradient(145deg, #FFD700, #e6c200);
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900 !important; /* ✅ gras correct */
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 2px; /* ✅ plus d’espace entre lettres */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Effet hover */
.download-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

/* Effet lumineux animé au survol */
.download-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

.download-btn:hover::after {
  left: 100%;
}
.download-buttons {
  display: flex;
  justify-content: center; /* ✅ centre horizontalement */
  gap: 30px; /* ✅ espace régulier entre les boutons */
  margin: 25px auto;
}

.download-btn {
  flex: 1 0 150px; /* ✅ chaque bouton a une largeur minimum égale */
  max-width: 200px; /* ✅ limite la largeur pour éviter des boutons trop larges */
  text-align: center;
}
.burger-menu {
  display: none; /* Caché par défaut */
}