/*
 * =========================================================
 * klb-2025v2 — template.css (v1)
 * Base graphique : Îles Lumières
 * =========================================================
 *
 * PALETTE COULEURS (mémo) :
 * - Marron (texte courant) ............ #422918
 * - Jaune orangé (accent) ............. #ff9c00
 * - Rouge (accent 2 / alertes) ........ #e53529
 * - Vert (validation / boutons ok) .... #62b033
 * - Vert très clair (fonds doux) ...... #eff7ea
 *
 * Astuce : si besoin, copier-coller cette section dans d'autres
 * fichiers pour garder le mémo visuel partout.
 */

/*
 * =========================================================
 * klb-2025v2 — template.css (variables globales)
 * =========================================================
 * Variables CSS pour les couleurs de base du template.
 * Chaque teinte est nommée pour rester parlante.
 */

:root {
  /* --- Couleurs principales --- */
  --marron-texte: #15141e;     /* Texte principal */
  --jaune-orange: #f39c9e;     /* Accent / appels à l'action */
  --rouge: #ff458f;            /* Hover, alertes, liens */
  --vert: #00c2b0;             /* Validation / accents secondaires */
  --vert-clair: #bcd893;       /* Fond clair, zones neutres */
  --marron-rgb: 40, 24, 13;

  /* --- Couleurs génériques --- */
  --blanc: #ffffff;
  --noir: #000000;

  /* --- Ombres et bordures --- */
  --ombre-douce: 0 2px 8px rgba(0, 0, 0, 0.08);
  --ombre-forte: 0 10px 30px rgba(0, 0, 0, 0.12);
  --bordure-claire: #eceff3;
  --bordure-sombre: #333333;

  /* --- Transitions globales --- */
  --transition-rapide: 0.2s ease;
  --transition-douce: 0.3s ease;

  /* --- Polices --- */
  --font-titres: "Poppins", sans-serif;
  --font-texte: "Poppins", sans-serif;
}

/* =========================================================
   BASE / RESET DOUX
   ========================================================= */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

body {
  color: var(--marron-texte);
  background: var(--blanc);
  font-family: var(--font-texte);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titres);
  line-height: 1.25;
  margin-top: 0;
  color: var(--marron-texte);
  font-weight:600;
}


/* Liens par défaut (thème clair) */
a {
  color: var(--lien);              /* #e53529 (rouge) */
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--lien-hover);        /* #ff9c00 (jaune orangé) */
  text-decoration: underline;
}

/* Focus accessible (clavier) */
:focus-visible {
  outline: 2px dashed var(--jaune-orange); /* #ff9c00 */
  outline-offset: 2px;
}

/* Messages Joomla (base très soft, à étoffer au besoin) */
.alert, .alert-message, .alert-error, .alert-success, .alert-info {
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.alert-success { background: #eef9f0; color: #1f6f2a; }
.alert-error   { background: #ffefef; color: #8d1a12; }
.alert-info    { background: #eef6ff; color: #123e8d; }

/* =========================================================
   MASQUER MODIFIER LE MODULE
   ========================================================= */
.jmodedit, .edit-icon{
	display:none !important;
}
div[role="tooltip"] {
  display: none !important;
}

/* =========================================================
   LIGNES / RYTHME
   ========================================================= */
/* Chaque .ligne (tu gardes la maîtrise via l’HTML + Bootstrap) */
.ligne {
  padding-block: var(--espace-ligne);
}
@media (min-width: 992px) {
  .ligne {
    padding-block: var(--espace-ligne-lg);
  }
}

/* Option douce pour séparer visuellement certaines lignes si besoin */
.ligne--fond-doux {
  background: var(--vert-clair); /* #eff7ea */
}
.ligne.sept{
	margin-top: 2rem !important;
}
.ligne.dix{
	padding-top:2rem !important;
	padding-bottom:4rem !important;
}
.ligne.onze h4{
	text-transform:uppercase;
	letter-spacing:0.025rem !important;
	margin-bottom:1.5rem !important;
}
.ligne.treize{
	text-align:center;
	font-size:0.90em;
}
/* =========================================================
   LOGOTYPE / PREMIUM (centrage auto si premium vide)
   =========================================================
   Ligne 4 = 2 colonnes (logotype | premium). Si la colonne premium
   est vide (pas de module), on centre le logotype.
   — Utilise :has(), pris en charge par les navigateurs modernes.
   — Fallback : ajouter la classe .centrer-si-pas-premium sur la ligne.
*/
.ligne .row:has(> .col-12.col-md-6:nth-child(2):empty) {
  display: flex;
  justify-content: center;
}
.ligne .row:has(> .col-12.col-md-6:nth-child(2):empty) > .col-12.col-md-6:first-child {
  max-width: 520px;
  text-align: center;
  margin: 0 auto;
}

/* Fallback manuel (au cas où :has() indisponible) */
.centrer-si-pas-premium .row {
  display: flex;
  justify-content: center;
}
.centrer-si-pas-premium .row > .col-12.col-md-6:first-child {
  max-width: 520px;
  text-align: center;
  margin: 0 auto;
}


.logotype-blc img{
	max-width:200px;
	height:auto;
	filter: brightness(0) invert(1) !important;
}
/* =========================================================
   BOUTONS (base neutre; à spécialiser selon extensions)
   ========================================================= */
.bouton,
.btn,
button,
input[type="submit"],
input[type="button"] {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--jaune-orange);    /* #ff9c00 */
  color: #fff;
  font-weight: 400;
  cursor: pointer;
}
.bouton:hover,
.btn:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--rouge);           /* #e53529 */
}

/* Variante bouton contour marron (texte marron) */
.bouton--creme,
.btn--creme {
  background: transparent;
  border-color: var(--marron-texte);  /* #422918 */
  color: var(--marron-texte);
}
.bouton--creme:hover,
.btn--creme:hover {
  background: var(--vert-clair);      /* #eff7ea */
}

/* =========================================================
   TABLEAUX, FORMULAIRES (bases très light)
   ========================================================= */
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e6e6e6;
}
th { font-family: var(--font-titres); text-align: left; }

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  color: var(--marron-texte);
}

/* =========================================================
   UTILITAIRES
   ========================================================= */
.texte-centre { text-align: center; }
.espacement-haut { margin-top: 1rem; }
.espacement-bas { margin-bottom: 1rem; }

/* Fond doux pour encadrés / blocs info */
.bloc-doux {
  background: var(--vert-clair);  /* #eff7ea */
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--ombre-douce);
}
/* =========================================================
   TAILLE DU SITE
   ========================================================= */

/* Largeur fixe des lignes .container et centrage*/
.container {
  background-color: #fff; /* couleur par défaut */
  margin-left: auto;
  margin-right: auto;
  padding:0 2rem;
}

/* Fond du site (utile si site fixe avec un background derrière) */
body {
	background-color:rgba( var(--marron-rgb), 0.5);
}

/* =========================================================
   LIGNES VIDES (pas d'espace inutile)
   ========================================================= */

/* Si une ligne ne contient pas de modules ou si ses colonnes sont vides,
   on annule padding et margin pour ne pas créer de vide visuel. */
.ligne:empty,
.ligne .row:empty,
.ligne .col:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* =========================================================
   CONTAINER FLUID
   ========================================================= */

/* spect du container-fluid*/
.container-fluid {
  background-color: var(--marron-texte);      /* Texte courant marron #422918 */
  margin-left: auto;
  margin-right: auto;
  padding:0 2rem;
}
.container-fluid .row{
	max-width:1190px;
	margin:0 auto;
}
/* =========================================================
   MENUS VERTICAUX (structure + animation)
   ========================================================= */

.menu-vertical {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-vertical li {
  margin: 0.4rem 0;
}

.menu-vertical a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.menu-vertical a:hover,
.menu-vertical a:focus {
}
/* =========================================================
	Champ email dans le footer newsletter
   ========================================================= */
.acym_module input[type="email"] {
  height: 34px; /* même hauteur que le bouton */
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 0; /* rectangulaire comme le bouton */
  font-size: 0.9rem;
  width: 100%;
}

.moduletable.newsletter{
	padding:0 !important;
}
/* =========================================================
   LIGNE TREIZE
   ========================================================= */
.ligne.treize{
  padding-top:10px;
  margin-top:5px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  }
  /* =========================================================
   LIGNE UN
   ========================================================= */
  .ligne.un .moduletable{
  padding:0.5rem !important;
  }
.ligne.un li:not(:first-child){
padding:0 .5rem;
}
.ligne.un a{
  text-transform:uppercase;
  font-size:0.75em;
  font-family: var(--font-titres);
letter-spacing:0.15rem;
  }
  /* =========================================================
   MODULE LOGOTYPE
   ========================================================= */
.moduletable.logotype{
	float:left;
	padding:0 !important; /* enlève le padding appliqué à tous les moduletables */
}
  /* =========================================================
   MODULE SLIDESHOW
   ========================================================= */
/* === SLIDER PHOTOS ARTISTES — propre et fonctionnel === */
.slider-artistes-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  background-color: transparent;
}

.slider-artistes-track {
  display: flex;
  animation: defilement-artistes 25s linear infinite;
  gap: 20px;
  will-change: transform;
}

.slide-artiste {
  flex: 0 0 20%; /* 5 images visibles */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 6px;
  background-color: #eee;
  box-shadow: none;
  padding: 0;
}

.slide-artiste img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

/* === Animation === */
@keyframes defilement-artistes {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* === Responsive === */
@media screen and (max-width: 992px) {
  .slide-artiste {
    flex: 0 0 33.33%; /* 3 images visibles */
  }
}

@media screen and (max-width: 600px) {
  .slide-artiste {
    flex: 0 0 50%; /* 2 images visibles */
  }
}
  /* =========================================================
   MODULE LIENS FOOTER
   ========================================================= */
   .moduletable.footer{
	   padding-bottom:0 !important;
	   border-bottom:1px solid #706f6f;
   }
   
  /* =========================================================
   PAGES
   ========================================================= */  
   
#member-registration{
	max-width: 960px;
    margin: 0 auto;
    padding: 2rem 0 5rem;
}