header {
  font-family: 'Inter', sans-serif; /* Application de la police Inter */
}

/* Agrandir la zone cliquable du bouton hamburger */
.wp-block-navigation__responsive-container-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;  /* zone cliquable plus grande */
    margin: -8px;   /* compense le padding pour que le SVG reste au même endroit */
    cursor: pointer;
}



/* BOUTON DE RESERVATION*/

.cta-reserve {
  background: linear-gradient(to bottom right, #CAF880, #71CE7E); /* Nouveau dégradé vert-jaune pastel */
  color: white;
  padding: 10px 22px; /* Un peu plus petit */
  border: none;
  border-radius: 12px; /* Moins arrondi qu’avant */
  font-size: 16px; /* Légèrement réduit */
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Désactive tout sur le wrapper */
.wp-block-button.cta-reservepages {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

/* Animation et zoom uniquement sur le bouton (le ) */
.wp-block-button.cta-reservepages .wp-block-button__link {
  display: inline-block;
  border-radius: 40px;
  overflow: hidden; /* empêche coins blancs */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button.cta-reservepages .wp-block-button__link:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}




/* MENUS  */


.menu-zoom a {
  position: relative;
  display: inline-block;
  color: #fff;
  transition: transform 0.3s ease, font-weight 0.3s ease;
  font-weight: 400;
}

.menu-zoom a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #DC143C; /* Rouge carmin lumineux style laser */
  transition: width 0.3s ease;
}

.menu-zoom a:hover {
  transform: scale(1.05);
  font-weight: 500;
}

.menu-zoom a:hover::after {
  width: 100%;
}

/* HEADER */

.header-blanc {
  background: linear-gradient(to bottom, #ffffff, #ffffff) !important; /* Presque blanc */
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important; /* Ombre un peu plus visible */
  transition: none !important;
  position: relative;
  z-index: 10;
}

/* Effet réfléchissant plus marqué */
.header-blanc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.05));
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  pointer-events: none;
  z-index: -1;
}





/* PIED DE PAGE */

.pied-page {
  padding: 10px 0 !important; /* Hauteur réduite au strict minimum */
  margin-top: 20px;
  background: #ffffff; /* Gris très clair, neutre */
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.03);
  text-align: center;
  font-size: 14px;
  color: #555;
}

/* TITRES */

.titre-big {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25); /* ombre douce */
  color: inherit; /* respecte la couleur définie ailleurs */
}



/* DRAPEAU */

/* Espace entre les drapeaux */
.glink {
  margin: 0 6px;
  display: inline-block;
  vertical-align: middle;
}

/* Style général des images */
.glink img {
  border-radius: 6px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  display: block;
  filter: none; /* couleur normale par défaut */
  cursor: pointer;
}

/* Effet hover uniquement sur les drapeaux non actifs */
.glink:not(.gt-current-lang):hover img {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  filter: brightness(1.08);
}

/* Drapeau actif en noir et blanc et inactif au hover */
.gt-current-lang img {
  filter: grayscale(100%) contrast(90%) brightness(80%);
  cursor: default;
  box-shadow: none;
  border: none;
  transform: none;
  pointer-events: none; /* désactive les clics sur actif */
}

@media (max-width: 770px) {
  .header-blanc::before {
    display: none !important;
    content: none !important;
    animation: none !important;
  }
}


@media (max-width: 600px) {
  .header-blanc {
    padding-top: 15px !important; /* espace interne pour que le contenu ne colle pas */
  }
}


/* LOGO */


.cta-logo {
  max-width: 150px;    /* largeur maximale */
  min-width: 40px;     /* largeur minimale */
  transition: transform 0.3s ease-in-out;
}

.cta-logo:hover {
  transform: scale(1.15);
}

.cta-logo:active {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .cta-logo {
    width: 90px !important;
    transition: none; /* désactive la transition */
  }

  /* Supprime l’effet hover/active */
  .cta-logo:hover,
  .cta-logo:active {
    transform: none !important;
  }
}

@media (max-width: 450px) {
  .cta-logo {
    width: 75px !important;
    transition: none; /* désactive la transition */
  }
}




/* TEXTE NOMBRE ANIMER ACCEUIL */

/* CONTENEUR PRINCIPAL */
.stats-cols {
  display: flex;
  align-items: stretch;       /* toutes les colonnes ont la même hauteur */
  flex-wrap: wrap;            /* permet au contenu de passer à la ligne */
  margin-left: -10px;
  margin-right: -10px;
}

/* COLONNES DE CONTENU */
.stats-col {
  flex: 1 1 0;                /* largeur flexible */
  min-width: 0;                /* Chrome-friendly : empêche le débordement du texte */
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* TITRES */
.stats-col h6 {
  font-size: 18px;
  margin-bottom: 8px;
  white-space: nowrap;         /* ne coupe pas le titre */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* DESCRIPTIONS */
.stats-col p {
  font-size: 14px;
  margin: 0;
  overflow-wrap: break-word;   /* coupe les mots si nécessaire */
  word-break: break-all;      /* sécurité pour Chrome/Firefox */
  hyphens: auto;               /* ajoute un tiret automatique quand un mot passe à la ligne */
  line-height: 1.4;
}

/* COLONNES SEPARATRICES */
.separator-col {
  flex: 0 0 2px;              /* largeur fixe */
  max-width: 2px;
  background-color: #000;      /* noir */
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* RESPONSIVE TABLETTE */
@media (max-width: 1024px) {
  .stats-col {
    flex: 1 1 48%;             /* 2 colonnes de contenu par ligne */
    margin-bottom: 10px;
  }
  /* séparateurs visibles même sur tablette */
  .separator-col {
    display: block;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 600px) {
  .stats-col {
    flex: 1 1 100%;            /* 1 colonne par ligne */
  }
  /* séparateurs visibles même sur mobile */
  .separator-col {
    display: block;
  }
}




/* ============================ */
/* TEXTE - COUPE DES MOTS       */
/* ============================ */

.text-break {
  overflow-wrap: break-word; /* casse uniquement quand nécessaire */
  word-break: normal;        /* ne casse pas les mots normaux au hasard */
  hyphens: manual;           /* pas de césure automatique mal placée */
  white-space: normal;       /* permet le retour à la ligne classique */
}

.no-word-break {
  white-space: normal !important;        /* retour à la ligne naturel */
  overflow-wrap: normal !important;      /* ne casse pas les mots */
  word-wrap: normal !important;          /* ancien nom (compatibilité) */
  word-break: keep-all !important;       /* évite les coupures internes */
  hyphens: none !important;              /* désactive les césures automatiques */
}






/* STYLE ET EFFETS BOUTONS RESERVATIONS */


/* Désactive tout sur le wrapper */
.wp-block-button.cta-reservepagess {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}


/* ---------- Bouton header ---------- */
.wp-block-button.cta-reservepagess .wp-block-button__link {
  display: inline-block;
  border-radius: 40px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button.cta-reservepagess .wp-block-button__link:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ---------- Mobile responsive ---------- */
/* ---------- Mobile responsive compressé ---------- */
@media (max-width: 768px) {
  .wp-block-button.cta-reservepagess .wp-block-button__link {
    padding: 2px 6px !important;  /* encore plus compact */
    font-size: 0.7rem;            /* texte plus petit */
  }
}

/* Effet hover uniquement sur desktop */
.style-bouton {
	display: inline-block;
  border-radius: 40px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover desktop : léger soulèvement + ombre */
.style-bouton:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile ≤ 768px : on annule l'effet */
@media (max-width: 768px) {
  .style-bouton:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* Effet hover uniquement sur desktop */
.cta-reservepage {
	display: inline-block;
  border-radius: 40px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover desktop : léger soulèvement + ombre */
.cta-reservepage:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mobile ≤ 768px : on annule l'effet */
@media (max-width: 768px) {
  .cta-reservepage:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}





/* TEXTES HAUT DE PAGE ET ANIMATION VAGUES */


/* =============================
   Conteneur principal centré
   ============================= */
.lottie-container {
  position: relative;           /* nécessaire pour que le texte absolute se base dessus */
  left: 50%;                    /* centre le conteneur sur la page */
  transform: translateX(-50%);  /* centre horizontalement */
  max-width: 600px;             /* largeur max du bloc (modifiable) */
  text-align: center;
  /* flex ici n'est plus nécessaire pour le centrage vertical du texte */
}

/* =============================
   Animation Lottie (vague)
   ============================= */
#lottie-animation,
#lottie-animation-contact,
#lottie-animation-galerie,
#lottie-animation-infospratiques,
#lottie-animation-tarifsetreservations,
#lottie-animation-prestationsexterieurs,
#lottie-animation-activite {
  width: 90%;           /* largeur de la vague (modifiable) */
  height: 300px;
  position: absolute;    /* absolute pour rester derrière le texte */
  top: -115px;             /* position verticale de la vague par rapport au texte */
                         /* 100% = juste en dessous du texte, augmente pour descendre plus */
  left: 50%;             /* centre horizontalement */
  transform: translateX(-50%); /* centre horizontalement précisément */
  z-index: 0;            /* doit être inférieur à z-index du texte pour passer derrière */
}

/* =============================
   Texte au-dessus de l'animation
   ============================= */
.lottie-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: calc(20px + 2vw); /* plus petit et responsive */
  text-transform: uppercase;
  color: #ffffff;
  white-space: normal; /* autorise les retours à la ligne */
  text-align: center;  /* centrer le texte multi-lignes */
  z-index: 2;
  pointer-events: none;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  max-width: 90%;
  box-sizing: border-box;
  line-height: 1.2em; /* espace vertical entre les lignes */
}

/* Responsive : limite taille sur petits écrans */
@media (max-width: 768px) {
  .lottie-text {
    font-size: 32px;
  }
	#lottie-animation,
  #lottie-animation-contact,
  #lottie-animation-galerie,
  #lottie-animation-infospratiques,
  #lottie-animation-tarifsetreservations,
  #lottie-animation-prestationsexterieurs,
  #lottie-animation-activite {
    top: -125px;             /* position verticale de la vague par rapport au texte */
  }
}

@media (max-width: 480px) {
  .lottie-text {
    font-size: 30px;
  }
}





/* === Grille d’images ACCEUIL (9 images) === */
.custom-image-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* Chaque image + overlay */
.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin: 10px; /* réduit légèrement pour éviter débordement */
  flex: 1 1 calc(33.333% - 20px); /* largeur flexible avec marges incluses */
  max-width: calc(33.333% - 20px);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-title {
  position: absolute;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  transition: opacity 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* Hover desktop */
.image-item:hover img {
  filter: blur(3px);
  transform: scale(1.05);
}

.image-item:hover .overlay-title {
  opacity: 1;
}

/* Responsive & désactivation des effets sur mobile */
@media (max-width: 1024px) {
  .image-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    height: 250px;
  }
}

@media (max-width: 768px) {
  .image-item {
    flex: 1 1 100%;
    max-width: 100%;
    height: 200px;
    margin: 10px 0;
  }

  .overlay-title {
    opacity: 1;       /* texte toujours visible */
    font-size: 1.2rem;
  }

/* On neutralise hover / flou / scale */
  .image-item img,
  .image-item:hover img {
    filter: none !important;
    transform: none !important;
  }

  .image-item:hover .overlay-title {
    opacity: 1 !important;
  }
}




/* FLECHE PAGE ACCEUIL */
.arrow-animation-container {
  position: relative;
  width: 100%;
  height: 180px; /* augmente pour que la flèche ne soit plus trop basse */
  pointer-events: none; /* ne bloque pas les clics */
}

/* Flèche Lottie */
.arrow-animation {
  width: 350px;       /* augmente la taille de la flèche */
  height: 150px;
  position: absolute;
  left: 12%;
  top: -35px; /* ajuste pour remonter la flèche */
  transform: translateX(-50%) rotate(-30deg); /* rotation : change ici pour le bon sens */
  z-index: 1;
}

/* Si tu veux mettre au-dessus ou en-dessous, tu peux modifier top ou bottom */
.arrow-animation-container.top .arrow-animation {
  top: 0;
}

.arrow-animation-container.bottom .arrow-animation {
  bottom: 0;
}

/* Cacher sur mobile */
@media (max-width: 768px) {
  .arrow-animation-container {
    display: none;
  }
}




/* === Bannière bas pleine page avec flou léger === */
.wp-block-cover.banniere-bas {
  width: 100vw !important;          /* pleine largeur */
  height: 100vh !important;         /* pleine hauteur de l'écran */
  min-height: 100vh !important;
  max-height: 100vh !important;
  display: flex;                    /* centre le contenu interne */
  align-items: center;              /* centre verticalement le texte */
  justify-content: center;          /* centre horizontalement le texte */
  overflow: hidden;                 /* évite les débordements */
  position: relative;
}

/* Image bas de fond avec flou */
.wp-block-cover.banniere-bas .wp-block-cover__image-background {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;      /* couvre sans déformation */
  object-position: center center !important; /* centre l'image */
	filter: blur(2px);
  transform: scale(1.05);            /* léger zoom pour éviter les bords flous visibles */
}




/* === Bannière haut pleine page === */
.wp-block-cover.banniere-haut {
  width: 100vw !important;
  height: 100vh !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  position: relative;
  background: none !important;
  box-shadow: none !important;  /* supprime toute ombre éventuelle */
  filter: none !important;
}

/* Image de fond avec flou léger (garde ton ambiance) */
.wp-block-cover.banniere-haut .wp-block-cover__image-background {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: blur(2px);
  transform: scale(1.05);
}




/* TITRES ACCEUIL */
.titre-01,
.titre-02,
.titre-03 {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto;
  padding: 10px;
  line-height: 1.05;
  letter-spacing: 1px;
  display: block;
  max-width: 95%;
  background: none !important;   /* supprime fond ou halo */
  box-shadow: none !important;   /* supprime ombres du bloc */
  filter: none !important;
  white-space: nowrap;           /* évite retour de ligne automatique */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Couleurs & ombres des lettres === */
.titre-02 {
  color: #fff;
	text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

/* Titre 1 */
.titre-01 {
  font-size: 1rem;
  margin-bottom: 0.3em;
	color: #fff;
	text-shadow: 0 2px 5px rgba(0,0,0,0.6);
}

/* Titre principal */
.titre-02 {
  font-size: calc(28px + 2.5vw);
  margin-bottom: 0.3em;
}

/* Titre 3 */
.titre-03 {
  font-size: calc(14px + 0.8vw);
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.6);
  margin-top: 1em;
  white-space: normal;
}

/* === Responsive === */
@media (max-width: 768px) {
  .titre-01 {
    font-size: 0.85rem; /* réduit légèrement pour garder tout sur une ligne */
  }
  .titre-02 {
    font-size: 1.8rem;
    white-space: normal; /* autorise un retour si nécessaire */
  }
  .titre-03 {
    font-size: 0.9rem;
  }
}




/* BOUTON PAGE ACCEUIL */
.btn-reserver {
  display: inline-block;
  position: relative;
  padding: 0.75em 2em;
  font-family: Arial, Helvetica, sans-serif; /* police simple */
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(to right, #660000, #8B0000); /* rouge sombre dégradé */
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

/* Effet survol sombre et dynamique */
.btn-reserver:hover {
  box-shadow: 0 0 20px rgba(139,0,0,0.8), 0 0 40px rgba(102,0,0,0.5);
  transform: scale(1.05) rotate(-1deg); /* légère rotation pour effet “énervé” */
  text-shadow: 0 0 8px #8B0000, 0 0 15px rgba(0,0,0,0.5);
}

/* Option “liseré” animé discret autour du bouton */
.btn-reserver::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border: 2px solid rgba(139,0,0,0.5); /* rouge sombre translucide */
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.btn-reserver:hover::after {
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive : désactive animation sur petits écrans */
@media (max-width: 768px) {
  .btn-reserver:hover::after {
    display: none;
  }
  .btn-reserver:hover {
    transform: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
    text-shadow: none;
  }
}






/* VIDEO PAGE ACCEUIL */
.video-scroll-container {
  position: relative;
  width: 100vw;
  height: 75vh;
  overflow: hidden;
}

.video-scroll-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 75vh;
  object-fit: cover;
}

#video-sound-toggle {
  position: absolute;
  bottom: 15px;
  right: 30px;
  z-index: 10;
  width: 40px;
  height: 40px;
  font-size: 20px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#video-sound-toggle:hover {
  background: rgba(0,0,0,0.7);
  transform: scale(1.1);
}

/* Mobile */
@media (max-width: 768px) {
  #video-sound-toggle {
    width: 30px;
    height: 30px;
    font-size: 16px;
    bottom: 10px;
    right: 20px;
  }
}


/* Adaptation vidéo sur mobile */
@media (max-width: 768px) {
  .video-scroll-container {
    height: 50vh; /* réduit la hauteur sur mobile */
  }

  .video-scroll-container video {
    width: 100%;           /* largeur pleine */
    height: 100%;          /* prend toute la hauteur du conteneur */
    object-fit: cover;     /* remplit le conteneur sans déformation */
    top: 0;
    left: 0;
    transform: none;       /* plus besoin de centrer avec translate */
  }
}




/* === Grille d’images mini (9 images) === */
.custom-image-grid-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 95%;
  max-width: 1800px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Élément image */
.image-item-mini {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 5px;
  flex: 1 1 calc(11.111% - 10px);
  max-width: calc(11.111% - 10px);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  background: #000;
}

/* Image */
.image-item-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Titre au centre */
.overlay-title-mini {
  position: absolute;
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  transition: opacity 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

/* Effet au survol */
.image-item-mini:hover img {
  filter: blur(3px);
  transform: scale(1.05);
}

.image-item-mini:hover .overlay-title-mini {
  opacity: 1;
}

/* Tablette : 3 images par ligne */
@media (max-width: 1024px) {
  .image-item-mini {
    flex: 1 1 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    height: 150px;
  }
}

/* Mobile : toujours 3 par ligne */
@media (max-width: 768px) {
  .image-item-mini {
    flex: 1 1 calc(33.333% - 8px);
    max-width: calc(33.333% - 8px);
    height: 100px;
    margin: 4px;
  }

  .overlay-title-mini {
    font-size: 0.8rem;
    opacity: 1; /* visible par défaut sur mobile */
  }
/* On neutralise hover / flou / scale */
  .image-item-mini img,
  .image-item-mini:hover img {
    filter: none !important;
    transform: none !important;
  }

  .image-item-mini:hover .overlay-title-mini {
    opacity: 1 !important;
  }
}




/* PAGE 404 */
.groupe-404 {
  position: relative;
  height: 90vh; /* 90% de la hauteur de l'écran */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}


/* Contenu central */
.content-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.content-404 h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5em;
  color: #000;
}

.content-404 p {
  font-size: 1.1rem;
  margin-bottom: 1.5em;
  color: #333;
}

/* Animation Lottie */
.animation-container {
  margin-bottom: 1.5em;
}

/* Texte secondaire + bouton discret */
.back-text {
  font-size: 1rem;
  color: #555;
}

.back-home {
  display: inline-block;
  margin-left: 5px;
  padding: 6px 14px;
  background-color: #8B0000;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}

.back-home:hover {
  background-color: #600000;
  transform: scale(1.05);
}

/* Adaptatif mobile */
@media (max-width: 768px) {
  .groupe-404 {
    height: auto;
    padding: 15px;
  }

  .logo-404 img {
    width: 60px;
  }

  .content-404 h1 {
    font-size: 1.5rem;
  }

  .animation-container lottie-player {
    width: 200px !important;
    height: 200px !important;
  }

  .back-home {
    padding: 5px 10px;
    font-size: 0.9rem;
  }
}

/* CONTENER DES EXEMPLES DEROULANT */

/* Conteneur principal */
.toggle-section {
  margin: 50px auto;
  max-width: 900px;
  padding: 0 20px;
}

/* Barre + texte centré */
.toggle-header {
  position: relative;
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
}

/* Ligne fine noire */
.toggle-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000; /* noir */
  z-index: 0;
}

/* Texte au centre, sans ombre, sans fond */
.toggle-header span {
  position: relative;
  padding: 0 25px;
  background: white; /* masque la ligne derrière */
  font-weight: 600;
  color: #444;        /* noir légèrement grisé */
  text-transform: uppercase; /* MAJUSCULES */
  z-index: 2;
}

/* Zone du contenu (fermée par défaut) */
.toggle-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
}

/* Espacement interne lorsque ouvert */
.toggle-section.open .toggle-content {
  margin-top: 15px;
}


/* BLOCK RELIER RELIERS LES PAGES RUBRIQUES */

/* Bloc redirections pages liées */
.opale-links-block {
  margin-top: 60px;
  padding: 30px 20px;
  border-radius: 6px;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

/* Titre */
.opale-links-block h3 {
  font-size: 30px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Texte descriptif */
.opale-links-block p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 25px auto;
  color: #555;
}

/* Conteneur des liens */
.opale-links-grid {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Liens */
.opale-links-grid a {
  display: inline-block;
  min-width: 220px;
  margin: 6px;
  padding: 10px 18px;
  font-size: 16px;
  text-decoration: none;
  color: #333;
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover */
.opale-links-grid a:hover {
  background-color: #eaeaea;
  border-color: #bbb;
}

/* Mobile */
@media screen and (max-width: 600px) {
  .opale-links-grid a {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}