/* 👤 Header organisateur */

  /* 🧱 Structure du header */
  /* 📐 Classes générales header */
  /* 🔠 Typographie spécifique au header */
  /* 📐 Colonne logo & colonne texte */
  /* 🖼 Logo cliquable */
  /* 🧭 Menu de navigation */
  /* 🧭 Modal bienvenue */
  

  /* 📱 Responsive – Tablettes (≤ 768px) */
  /* 📱 Responsive – Tablettes (600px à 768px) */
  /* 📱 Bascule en colonne (≤ 600px) */
  /* 📱 Responsive – Mobile (≤ 480px) */

/* 🧾 Présentation organisateur */

  /* 🌐 Liens publics organisateur */
  /* 🧾 Description organisateur */
  /* 📱 Responsive */

/* 🧭 Devenir organisateur */

  /* 🎯 Axes d’engagement */
  /* 🧩 Blocs étapes de fonctionnement */
  /* 📱 Responsive */




/* ==================================================
   👤 HEADER ORGANISATEUR
   ================================================== */

/* ========== 🧱 STRUCTURE DU HEADER ========== */

.header-organisateur {
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    position: relative;
    padding: 0.6rem 0 0;
    background-color: rgba(255, 255, 255, 0.015);

}
.bouton-edition-attention {
  animation: bouton-pulse 1.2s ease-in-out infinite;
  background: var(--color-text-primary, #fff4d4) !important;

}
.bouton-edition-attention i{
     color:var(--color-text-fond-clair, #fff4d4) ;
}

@keyframes bouton-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
.cta-chasse {
  background: var(--color-text-primary, #fff4d4);
  border-left: 4px solid var(--color-secondary);
  padding: 1.2rem;
  margin: 2rem auto;
  max-width: 700px;
  text-align: center;
  border-radius: 6px;
  font-size: 1rem;
  color: var(--color-text-fond-clair);
}


/* ========== 🔠 TYPOGRAPHIE SPÉCIFIQUE AU HEADER ========== */

/* Titre principal */
.header-organisateur__nom {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  margin: 0;
}


/* ========== 📐 COLONNE LOGO & COLONNE TEXTE ========== */

.conteneur-organisateur {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.conteneur-organisateur .colonne-logo {
  flex: 0 0 auto;
  width: 100px;
  max-width: 100px;
}
.conteneur-organisateur .colonne-texte {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}
.conteneur-organisateur .champ-titre .champ-input-wrapper {
    margin-top:1rem;
}

/* ========== 📌 ICÔNES D'ACTIONS ========== */
.header-organisateur__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-organisateur__actions a,
.header-organisateur__actions button {
  color: var(--color-text-primary);
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.header-organisateur__actions .bouton-edition-toggle {
  font-size: 1.2rem;
}

.header-organisateur__actions a:hover,
.header-organisateur__actions button:hover {
  color: var(--color-accent);
}

/* ========== 🖼 LOGO CLIQUABLE ========== */


.header-organisateur__logo img {
    width: 100px;
}



/* ========== 🧭 MODAL BIENVENUE ========== */
.boutons-modal {
  margin-top: 2rem;
  text-align: center;
}

.boutons-modal button {
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid var(--color-text-fond-clair);
  background: none;
  color: var(--color-text-fond-clair);
  cursor: pointer;
  transition: all 0.2s ease;
}
.boutons-modal button:hover {
  background-color: var(--color-accent, #ffc400);
  border-color: var(--color-accent, #ffc400);
  color: #fff;
}

/* ========== 🟢 MODAL CONFIRMATION VALIDATION CHASSE ========== */
.modal-confirmation-validation-chasse {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}
.modal-confirmation-validation-chasse label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 1rem;
  color: var(--color-text-fond-clair);
}
.modal-confirmation-validation-chasse input[type="checkbox"] {
  transform: scale(1.2);
  margin-top: 2px;
}
.modal-contenu button.header-bouton-edition {
    color: #ffffff;
    background-color: var(--color-background, #ffc400);;
    border-color: var(--color-background, #ffc400);;
}
.modal-tips {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--color-text-fond-clair);
  font-size: 0.95rem;
  opacity: 0.67;
}
.modal-tips p {
  margin-bottom: 1rem;
}

    


/* ========== 📱 RESPONSIVE – TABLETTES (≤ 768PX) ========== */

@media (max-width: 768px) {
    .conteneur-organisateur {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .champ-organisateur .champ-affichage {
        position: relative;
    }

    /* 🔹 Titre  */
    .header-organisateur__nom. {
        margin-bottom: 0.7rem;
    }
    .colonne-logo .champ-modifier{
        position: relative;
    }
    .champ-organisateur .champ-modifier {
        font-size: 0.85rem;
    }
    .colonne-logo {
        max-width: none;
        margin: 0 auto;
    }

  .colonne-texte {
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }
    .header-organisateur__nom {
        font-size: 1.2rem;
    }
}


/* ========== 📱 RESPONSIVE – TABLETTES (600PX À 768PX) ========== */

@media (min-width: 600px) and (max-width: 768px) {
    .conteneur-organisateur {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
    .colonne-logo {
        width: auto;
        max-width: 120px;
        flex-shrink: 0;
        margin: 0;
    }

  .colonne-texte {
    flex: 1;
    align-items: flex-start;
    text-align: left;
  }

  .header-organisateur__nom {
    font-size: 1.5rem;
  }
  .header-organisateur__liens {
    justify-content: flex-start;
  }
}


/* ========== 📱 BASCULE EN COLONNE (≤ 600PX) ========== */

@media (max-width: 600px) {
    .conteneur-organisateur {
        gap:1rem;
    }
    .champ-organisateur .champ-affichage {
        justify-content: center;
        text-align: center;
        position: relative;
    }
}


/* ========== 📱 RESPONSIVE – MOBILE (≤ 480PX) ========== */

@media (max-width: 480px) {
  .conteneur-organisateur {
    gap: 0.2rem;
  }
  /* 🔹 Logo centré & redimensionné */
  .colonne-logo {
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
  }

  .header-organisateur__logo {
    text-align: center;
    margin-bottom: 1rem;
  }

  .header-organisateur__logo .icone-modif {
    top: 0.5rem;
    right: 0.5rem;
  }

  /* 🔹 Titre  */
  .conteneur-organisateur .champ-titre .champ-edition {
        padding-right: 0;
    }
  .header-organisateur__nom {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.7rem;
  }

  .colonne-texte {
    align-items: center;
    margin: 0 auto;
    text-align: center;
  }

  .header-organisateur__liens {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }

  .header-organisateur__liens a {
    font-size: 0.9rem;
  }
    .header-organisateur__logo img {
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
        border-radius: 0.5rem;
        width: 70px;
    }
  /* 🔹 Champs de saisie */
  .champ-edition,
  .champ-organisateur .champ-edition {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
  }

  .champ-organisateur .champ-input {
    background-color: rgba(255, 255, 255, 0.04);
  }


  /* 🔹 Panneau latéral */
  .ligne-lien-formulaire label {
    padding-left: 0.2rem;
  }

  .panneau-lateral__actions {
    text-align: center;
  }
}



/* ==================================================
   🧾 PRÉSENTATION ORGANISATEUR
   ================================================== */

/* ========== 🌐 LIENS PUBLICS ORGANISATEUR ========== */
#presentation .champ-liens {
    margin-bottom: 2rem;
}
body:not(.edition-active) #presentation .champ-liens.champ-vide {
  display: none;
}
.bloc-liens-publics {
  margin-bottom: 1rem;
  justify-content: center;margin: 0;
}

.liste-liens-publics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-lien-public {
  display: flex;
}

.lien-public {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3em 0.8em;
  border-radius: 1.5em;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.lien-public:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lien-public i {
  font-size: 1.1em;
}
.lien-public .texte-lien {
    white-space: nowrap;
}


/* ========== 🧾 DESCRIPTION ORGANISATEUR ========== */

section#presentation {
    margin-top:1rem;
    position: relative;
}
section#presentation.masque {
    margin: 0;
    padding: 0;
}
section#presentation.masque .champ-organisateur {
    display: none;
    margin:0;
    padding: 0;
}
section#presentation h2 {
    display: inline-block;
    margin:0;
}
section#presentation .titre-presentation {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
}

section#presentation .presentation-fermer {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}


/* ========== 📱 RESPONSIVE ========== */
@media (max-width: 480px) {
    .lien-public .texte-lien {
        display: none;
    }
    section#presentation .titre-presentation {
        justify-content: center;
    }
}



/* ==================================================
   🧭 DEVENIR ORGANISATEUR
   ================================================== */

/* ========== 🎯 AXES D’ENGAGEMENT ========== */
.bloc-axes-engagt .wp-block-column{
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  text-align: center;
}
.bloc-axes-engagt .wp-block-column:hover {
   background-color: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 8px rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}


.bloc-intro-fonctionnement {
  margin: 3rem auto;
  max-width: 800px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-primary);
  opacity: 0.85;
}


/* ========== 🧩 BLOCS ÉTAPES FONCTIONNEMENT ========== */

.bloc-etape {
  position: relative;
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bloc-etape::before {
    content: '';
    position: absolute;
     top: -40px;
  right: -20px;
  width: 120px;
  height: 120px;
  opacity: 0.12; /* plus discret encore */
    background-image: url(/wp-content/uploads/2025/compas-rose.svg);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -10;
}
.bloc-etape ul.wp-block-list {
    padding-left: 1rem;
    margin-top: 0;
}
.bloc-bonus {
  margin-top: 2.5rem;
  padding-top: 3rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  color: var(--color-text-primary);
}
.bloc-bonus h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.bloc-bonus li {
  margin-bottom: 0.75rem;
}
.bloc-bonus.has-icon-casino {
  position: relative;
}

.bloc-bonus.has-icon-casino::before {
  content: '';
  position: absolute;
  top: 10px;
  right: -10px;
  width: 60px;
  height: 60px;
  background: url('/wp-content/uploads/2025/aces-cartes.svg') no-repeat center;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}


/* ========== 📱 RESPONSIVE ========== */

@media (max-width: 768px) {
    .separateur-avec-icone {
        margin: 2.1rem 0;
    }
    .bloc-intro-fonctionnement {
        font-size: 1rem;
    }
    .bloc-bonus {
        margin-top: 1.7rem;
        padding-top:2rem;
    }
    .bloc-bonus.has-icon-casino::before {
        width: 50px;
        height: 50px;
    }
}
@media (max-width: 480px) {
    .separateur-avec-icone {
        margin: 1.5rem 0;
    }
    .bloc-intro-fonctionnement {
        font-size: 0.95rem;
    }
    .bloc-bonus {
        margin-top: 1rem;
        padding-top: 1.2rem;
    }
    .bloc-bonus.has-icon-casino::before {
        width: 40px;
        height: 40px;
    }
}

/* ========== ✍️ MODAL DEMANDE DE CORRECTION ========== */
.modal-correction-chasse {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}
.modal-correction-chasse textarea {
  width: 100%;
  margin-top: 1rem;
  padding: 0.5rem;
  font-size: 1rem;
  resize: vertical;
}
