/* ============================================================
   PALETTE DE COULEURS INSTITUTIONNELLES
   ============================================================ */
:root {
  --color-primary: #1e3a8a;   /* Bleu majesté – fond sacré, titres, header */
  --color-secondary: #6E9E4F; /* Vert doré – boutons fonctionnels, sélecteur langue */
  --color-tertiary: #D4AF37;  /* Or sacré – accents, halo, hover, icônes */
  --color-accent: #F9F7F2;    /* Beige noble – arrière-plans doux, sections neutres */
  --color-text: #2C2C2C;      /* Texte standard – corps du contenu */
  --color-white: #ffffff;     /* Blanc pur – titres, devise, contrastes */
}

/* ============================================================
   RESET DE BASE
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


 html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}




/* ============================================================
   STYLE GLOBAL DU BODY
   ============================================================ */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--color-accent);
  color: var(--color-text);
  line-height: 1.6;

  /* Fond sacré */
  /*background-image: url('../img/fond-filigrane-flg.png');*/
  background-size: cover;
  background-position: center bottom; /* essentiel pour la verdure */
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ============================================================
   FILIGRANE ANIMÉ
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  top: 10%;
  left: 70%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  
  <?php
		$host = $_SERVER['HTTP_HOST'];

		if ($host === 'localhost' || $host === '127.0.0.1' || strpos($host, 'local') !== false) {
		    $imgPath = url('../img/fond-filigrane-flg.png');
		} else {
		    $imgPath = url('assets/img/fond-filigrane-flg.png');
		}
?>		
 
  
  background-image: $imgPath;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.3));
 animation: fadeFiligrane 2s ease-in-out forwards;
}

/*@keyframes fadeFiligrane {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
  to   { opacity: 0.04; transform: translateX(-50%) translateY(0); }
}*/

/* ============================================================
   STRUCTURE SACRÉE
   ============================================================ */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1; /* contenu au-dessus du filigrane */
}

main {
  flex: 1;
  padding: 0;
  margin: 0;
  background: transparent;
}




/* ============================================================
   HEADER
   ============================================================ */
.flg-header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  /*background-color: var(--color-primary);*/
  background: #0056b3;
  color: var(--color-white);
}

.logo-left { flex: 0 0 auto; }

.logo-flg {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}
.logo-flg:hover { transform: scale(1.05); }

.devise-center { flex: 1; text-align: center;  margin-left: auto;}



.lang-right { flex: 0 0 auto; }

.lang-don-wrapper {
  display: flex;
  align-items: center;       /* aligne verticalement */
  gap: 0.75rem;
  margin-left: auto;
}


 .sr-only {
  
position: relative;
 height: 0px !important;
  padding: 0 !important;
   overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  left: -9999px; /* sort complètement du viewport */ 
   
}


.lang-right select,
.btn-don {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background-color: var(--color-secondary);
  /*color: var(--color-white);*/
  text-decoration: none;
  transition: background-color 0.3s ease;
  /*background: #28a745;*/
  
  background: #fff;
  color: #333;
  border: 1px solid #ccc;


}
/* Sélecteur de langue neutre */
.lang-right select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-weight: 500;
  cursor: pointer;
}

/* Bordure dorée au focus */
.lang-right select:focus {
  outline: 2px solid var(--color-tertiary); /* or sacré */
  outline-offset: 2px;
}


/* Bouton Don vert harmonisé et désactivé */
.btn-don {
  display: block;              /* ✅ prend toute la largeur */
  width: 100%;                 /* ✅ largeur complète */

  padding: 8px 14px;
  border-radius: 4px;
  background: #28a745; /* vert harmonisé */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
  line-height: 1.4;
  white-space: nowrap;
}



.lang-right select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-weight: 500;
  cursor: pointer;
}

/* Bordure dorée au focus */
.lang-right select:focus {
  outline: 2px solid var(--color-tertiary); /* or sacré */
  outline-offset: 2px;
}




.btn-don:hover,
.btn-don:focus {
 /* background: #218838;*/
  outline: none;
  background: linear-gradient(to right, #007bff, #ffd700); /* bleu → or */
}

.btn-don.disabled {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}


.don-icon {
  font-size: 1.2rem;
}

.site-header .logo {
  background: rgba(255,255,255,0.8); /* voile blanc semi-transparent */
  padding: 6px 12px;
  border-radius: 8px;
}




/* ============================================================
   HEAD
   ============================================================ */
.titre-flg {
  font-family: Verdana, Geneva, sans-serif; /* 'Cinzel', serif;*/
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0rem;
  margin-bottom: 0.1rem; /* augmente ou réduit selon besoin */

}

.devise-flg {
   font-family: Verdana, Geneva, sans-serif; /*"Palatino Linotype", "Book Antiqua", Palatino, serif;*/
  font-size: 1rem;
  font-weight: 900;
  color: #d4a857;
  margin-top: 0rem;
}

/* Style principal */
.Role-flg {
  font-family: Verdana, Geneva, sans-serif; /* cohérence avec la devise */
  font-size: 0.7rem;       /* taille relative → responsive */
  font-weight: 700;      /* gras */
  color: white;          /* texte blanc */
  margin-top: 0rem;
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.6); /* halo doré subtil */
text-transform: none;    /* ✅ empêche toute mise en majuscule */
 line-height: 1.2; /* réduit l’espace vertical */
 margin: 1rem 0;
 text-align: center;

}

/* Ajustement tablette */
@media (max-width: 768px) {
  .Role-flg {
    font-size: 0.95rem;   /* légèrement plus petit sur tablette */
    text-align: center;   /* centré pour un rendu harmonieux */
    line-height: 1.4;     /* améliore la lisibilité */
  }
}

/* Ajustement mobile */
@media (max-width: 480px) {
  .Role-flg {
    font-size: 0.9rem;    /* encore plus compact sur mobile */
    text-align: center;   /* centré pour lisibilité */
    line-height: 1.4;
  }
}
/* ============================================================
   MENU PRINCIPAL
   ============================================================ */
.main-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background-color: var(--color-accent);
   line-height: 0.7; /* réduit l’espace vertical */
}

.menu-column ul { list-style: none; padding: 0; }
.menu-column li { margin-bottom: 0.8rem; }

/*Animation sacrée des menus*/
.menu-column a {
  position: relative;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
   

}

.menu-column a::before {
  content: "✦"; /* ou "🔸", "⚡", "🌟" selon ton style */
  margin-right: 8px;
  color: var(--color-tertiary);
  font-size: 1em;
  transition: transform 0.3s ease;
}

.menu-column a:hover::before {
  transform: scale(1.2);
}
.menu-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, var(--color-tertiary), var(--color-secondary));
  transition: width 0.4s ease;
}

.menu-column a:hover {
  color: var(--color-tertiary);
}

.menu-column a:hover::after {
  width: 100%;
}

/* Focus visible pour l’accessibilité */
.main-menu-grid a:focus,
.valeur:focus,
.axe:focus,
.axe-socle:focus,
.btn-rituel:focus {
  outline: 3px solid var(--color-tertiary); /* halo doré */
  outline-offset: 2px;
  position: static; /* garantit qu’on ne change pas le flux */

}


/* Version Responsive Mobile */
@media (max-width: 768px) {
  /* --- Menu (déjà en place) --- */
  .main-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
  }

  .menu-column {
    text-align: center;
  }

  .menu-column a {
    display: block;
    padding: 0.5rem 0;
  }

  /* --- Header (ajouté) --- */
  .titre-flg {
    font-size: 2.2rem; /* réduit le titre */
  }

  .devise-flg {
    font-size: 1rem; /* réduit la devise */
  }

  .logo-left img {
    height: 50px; /* logo plus petit */
  }
}

@media (max-width: 480px) {
  /* --- Menu  --- */
  .main-menu-grid {
    grid-template-columns: 1fr;
  }

  /* --- Header (ajouté) --- */
  .header-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-left {
    margin-bottom: 0.5rem;
  }

  .titre-flg {
    font-size: 1.8rem; /* encore plus compact */
  }

  .devise-flg {
    font-size: 0.9rem;
    margin-top: 0.3rem;
  }

  .lang-right {
    margin-top: 0.5rem; /* bouton langue sous le titre */
  }
}

/* Garde le halo visible sur desktop/laptop (où le clavier est utilisé), */
/*mais le désactive sur mobile si tu veux éviter des effets visuels inutiles*/

@media (min-width: 769px) {
  .main-menu-grid a:focus,
  .valeur:focus,
  .axe:focus,
  .axe-socle:focus,
  .btn-rituel:focus {
    outline: 3px solid var(--color-tertiary);
    outline-offset: 2px;
    position: static; /* garantit qu’on ne change pas le flux */

  }
}

/*Respect des préférences utilisateurs (réduction des animations)
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .axe-socle, .section-title, .valeur {
    animation: none !important;
  }
}

*/
/*Halo ou Icone pour chaque lien*/

/* ============================================================
   TITRES
   ============================================================ */
h1, h2, h3 {
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
}
.section-title { font-size: 1.8rem; margin-bottom: 1rem; }


/* ============================================================
   BOUTONS
   ============================================================ */
button,
.btn,
.btn-flg {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-tertiary));
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
     font-family: Verdana, Geneva, sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  display: inline-block;
}
button:hover,
.btn:hover,
.btn-flg:hover { background-color: #a3b660; }

/* Bouton rituel */
.btn-rituel {
 /*display: inline-block;*/
   display: block;
  background: linear-gradient(to right, #007bff, #ffd700); /* bleu → or */
 /*background: linear-gradient(90deg, #0055a5, #00a55a);*/
 /*color: #fff;;*/
  font-family: Verdana, Geneva, sans-serif;
  
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  padding: 16px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  text-decoration: none;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin: 1rem 0;


}

.btn-rituel:hover {
 background: linear-gradient(to right, #ffd700, #ff8c00); /* or → orange doré */
 color: #000; /* texte devient noir */
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
  transform: translateY(-10px);

}


 
 /* ============================================================
   SECTION ACCUEIL HERO
   ============================================================ */
/* Hero */
.accueil-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  text-align: center;
  padding: 4rem 2rem;
  background-image: url('images/fond-sacré.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
 min-height: auto;


  position: relative ; /*  nécessaire pour le positionnement absolu des valeurs */
  z-index: 2;
  padding-top: 4rem; /* espace supérieur */
  padding-bottom: 4rem;
  background: #fff;
}


/* ============================================================
   VALEURS CARDINALES
   ============================================================ */


/* Boutons */

.valeur {
  background: #007bff;
  border: 2px solid gold;
  color: white;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  /*animation: fadeInUp 0.6s ease forwards;*/
  min-width: 160px;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
  font-size: 1.1rem; /* ou 18px, selon ton système */
	margin-top: 3px
}

.valeur:hover {
  background: #ffd700;
  color: #000;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
  
}


/* Valeurs cardinales – placement exact */

.valeurs-cardinales {
  position: absolute;
  top: 4%;              /* ajuste 28–40%  */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px;
  width: min(720px, 92vw); /* largeur max sans sortir des bords */
  margin: 0;                /*neutralise les marges qui gênent le placement */
  min-width: max-content;
  justify-content: center;
  margin-bottom: 0px;
  
}




/* Révélation sous le menu (déjà en place) */
.valeur-definition {
  margin-top: 30px;
  padding: 12px 20px;
  background: linear-gradient(to right, #007bff, #ffd700);
  color: white;
  font-style: italic;
  font-size: 1em;
  border-radius: 8px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000; /* au-dessus des axes */
pointer-events: none;

}







/* ============================================================
   TITRE GROUPE DANS LA BANDE BLEUE
   ============================================================ */
.titre-groupe {
  flex: 1; /* occupe l’espace central */
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;       /* grand format */
  font-weight: 700;
  color: var(--color-white); /* blanc pur */
  text-transform: uppercase;
  letter-spacing: 2px;
/*  animation: fadeInDown 1s ease-in-out;*/
}


/* ============================================================
   SECTION DOMAINES - AXES OPÉRATIONNELS
   ============================================================ */
#domaines {
  position: relative;
  background-image: url('../img/fond-filigrane-flg.png');  /*ton image */
  background-size: cover;       /* couvre toute la zone */
  background-position: center;  /* centrée */
  background-repeat: no-repeat; /* pas de répétition */
  width: 100%;
  min-height: auto;            /* laisse la section s’adapter au contenu */
  padding: 4rem 2rem;
  z-index: 1;
   
  

}

/* Overlay sacré pour lisibilité */
#domaines::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /*background: rgba(0,0,50,0.2);  moins opaque */
   background: rgba(255,255,255,0.1); /* voile clair au lieu de sombre */

  z-index: 0;
  pointer-events: none; /* le voile ne bloque plus les clics */

}
/* Zone cliquable réelle */
/* Assure que les axes et le socle sont cliquables */
#domaines .axe,
#domaines .axe-socle,
#domaines .axe-socle .contenu-socle {
  position: relative;
  z-index: 3; /* au-dessus du voile visuel */
  /*cursor: pointer;*/
}




#domaines .axes-operatoires {
  position: relative;
  z-index: 1; /* contenu au-dessus du voile */
}

/* Bloc des axes */


.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Cinzel', serif;
  color: var(--color-primary);
  margin: 1.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  /*animation: fadeInDown 1s ease forwards;*/
}

/* Ligne dorée animée sous le titre */

.section-title::after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: gold;
  margin: 0.8rem auto 0;
  border-radius: 1px;
  animation: growLine 1.5s ease forwards;
}

.axes-operatoires {
  padding: 3rem 1rem;
  background-color: rgba(0, 0, 0, 0);
}


.flg-footer-minimal {
  margin-top: auto; /* pousse le footer en bas */
  text-align: center;
    padding: 12px 20px;
   font-size: 0.9rem;
  background-color: #f9f9f9;
  font-family: 'Montserrat', sans-serif;
  
}
.footer-nav a:focus {
  outline: 2px solid var(--color-tertiary);
  outline-offset: 2px;
}


.devise-bas {
  font-size: 1.1em;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
}

.mentions-legales {
  font-size: 0.85em;
  color: #777;
}

.mentions-legales a {
  color: #777;
  text-decoration: underline;
}


/* Bloc socle monumental */
.axes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   /*grid-template-columns: repeat(3, 1fr);*/ 
   gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  
    /*font-family: "Georgia", serif; /* Police noble et lisible 
  font-size: 1.1em;
  line-height: 1.5;*/

}

.axe h3 {
  text-align: center;   /* centre le texte */
  font-family: "Georgia", serif; /* Police noble et lisible */
  font-size: 1.1em;
  line-height: 1.5;
}

/* Halo lumineux sur les caractères du texte*/
/*#domaines  .axes-grid .axe h3 {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  animation: pulseGlow 3s infinite;
  

} */


/* Séquencement des axes */
.axes-operatoires {
  background-color: transparent; /* ✅ fond transparent */
  background: none;              /* ✅ supprime tout dégradé */
}
.axe {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  
  /* Ajout pour uniformiser la hauteur */
  min-height: 155px; /* ajuste la hauteur */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

}
/* Bloc 7 du bas */
.axe-socle {
  /* Espacement au-dessus du bloc */
  margin-top: 2rem;

  /* Fond en dégradé bleu → doré */
  background: linear-gradient(90deg, var(--color-primary), var(--color-tertiary));

  /* Remontée visuelle du bloc pour l’harmoniser avec les autres */
  transform: translateY(-10px);

  /* Typographie sacrée */
  font-family: 'Cinzel', serif;
  font-weight: bold;
  color: #ffffff !important;

  /* Espacement interne */
  padding: 2rem 1.5rem;

  /* Coins arrondis */
  border-radius: 10px;

  /* Halo lumineux autour du bloc */
  box-shadow: 0 -10px 30px rgba(255, 255, 255, 0.3);

  /* Alignement du texte */
  text-align: center;

  /* Largeur maximale et centrage horizontal */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;

  /* Hauteur uniforme avec les 6 autres axes */
  min-height: 155px;


  /* Animation de pulsation lumineuse */
  animation: pulseGlow 3s infinite;


  /* aligne le texte vers le haut  */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
 

}
.contenu-socle {
  margin-top: -20px; /* ✅ remonte le texte sans bouger le bloc */
  margin-bottom: -20px;
}

/* Animations */
/*@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}*/


/*@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}*/

@keyframes growLine {
  from { width: 0; }
  to { width: 120px; }
}


@keyframes pulseGlow {

   0%   { background-color: rgba(255, 255, 255, 0.05); }
  50%  { background-color: rgba(255, 215, 0, 0.3); } /* doré lumineux */
  100% { background-color: rgba(255, 255, 255, 0.05); }

}

.axe-socle h3 {
  
   font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: pulseGlow 3s infinite;
   
 }
 
.axe-socle p strong {
   
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}
.axe-socle p {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
}


 /* style de focus pour rendre le halo des axes visible*/
.axe:focus,.axe-socle:focus
 {
  outline: 3px solid var(--color-tertiary);
  outline-offset: 2px;
}



/* Responsive pour les valeurs cardinales */
@media (max-width: 992px) {
  .valeurs-cardinales {
    display: flex;
    flex-direction: column;   /* ✅ empile les boutons verticalement */
    align-items: center;      /* ✅ centre horizontalement */
    gap: 12px;
    width: 100%;
    margin: 20px auto;
    position: static;
    transform: none;
    text-align: center;
     
  }

  .valeur {
    width: 100%;              /* ✅ même largeur que le bouton sacré */
    max-width: 600px;         /* ✅ limite élégante */
    font-size: 1rem;
    padding: 10px 14px;
    box-sizing: border-box;
  }

  .btn-rituel {
    margin-top: 20px;         /* ✅ juste après les 7 valeurs */
    width: 100%;
    max-width: 600px;         /* ✅ même largeur que les valeurs */
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .valeur {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
.valeurs-cardinales,
  .valeur-definition {
    position: static;   /* ✅ elles suivent le flux */
    transform: none;
    margin: 1rem 0;
    max-width: 90%;
  }


  .btn-rituel {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .valeur,
  .btn-rituel {
    max-width: 100%;          /* ✅ occupe toute la largeur de l’écran */
  }
}

@media (max-width: 768px) {
  .Role-flg {
    line-height: 1.3; /* légèrement plus aéré sur tablette/mobile */
  }
}
/* Version Desktop (PC) */
@media (min-width: 769px) {
  .valeur-definition {
    margin-top: 30px;
    padding: 12px 20px;
    background: linear-gradient(to right, #007bff, #ffd700);
    color: white;
    font-style: italic;
    font-size: 1em;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

    position: absolute;   /* ✅ flottant uniquement sur PC */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
  }
}

/* Version Tablette et Mobile */
@media (max-width: 768px) {
  .valeur-definition {
    position: relative;   /* ✅ suit le flux normal */
    top: 0;
    left: auto;
     margin-top: -100;
    max-width: 95%;
    display: inline-block;
   
  }
}