body {
   font-family: "Poppins", sans-serif;
   margin: 0px;
}

html { scroll-behavior: smooth; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

header { 
   position:fixed;
   top:0;
   left:0;
   width:100%;
   background:rgba(255,255,255,0.9);
   backdrop-filter:blur(8px);
   padding:0px 32px;
   display:flex;
   justify-content:space-around;
   align-items:center;
   transition:transform .3s ease;
   z-index:1000;
   height: 60px;
   padding-top: 10px;
   padding-bottom: 10px;
   padding-left: 20px;
   padding-right:30px;
}
        
header.hidden {
   transform:translateY(-100%);
}
        
/*header nav a {
   margin:0 30px;
   text-decoration:none;
   color:#062c43;
   font-weight:600;
}
        
header nav {
   margin-left: 30px;
}*/

/* =========================================================
   MENU — underline fin, style "about", sans background
   ========================================================= */

header nav {
  display: flex;
  align-items: center;
  gap: 26px; /* espace maîtrisé */
}

header nav a:not(.cta) {
  position: relative;
  text-decoration: none;
  color: #062c43;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; /* normal menu */
  letter-spacing: 0.2px;
  padding: 4px 0;
  opacity: 0.85;
  transition: opacity 160ms ease;
  text-transform: uppercase;
}

/* 🔥 LIEN ACTIF = POPPINS BLACK */
header nav a.active:not(.cta),
header nav a[aria-current="page"]:not(.cta) {
  font-weight: 900; /* BLACK */
  opacity: 1;
}

header nav a:not(.cta):hover {
  opacity: 1;
}

/* underline animé — FIN et élégant */
header nav a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;

  width: 100%;
  height: 4px;
  border-radius: 4px;

  background: #dfe9ff; /* bleu clair = about highlight */
  transform: scaleX(0);
  transform-origin: left;

  transition: transform 260ms ease;
}

header nav a:not(.cta):hover::after,
header nav a.active:not(.cta)::after,
header nav a[aria-current="page"]:not(.cta)::after {
  transform: scaleX(1);
}

/* CTA inchangé (juste micro lift) */
header nav a.cta {
  transition: transform 160ms ease, filter 160ms ease;
}

header nav a.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}




header nav a.cta{
  background: #4b70ba;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  box-shadow:
  6px 5px 0 rgba(200, 199, 255, 0.9),
  0 4px 10px rgba(200, 199, 255, 0.35);
}

.hero { 
   display:flex;
   justify-content:space-between;
   padding-right: 50px;
   padding-left: 50px;
   min-height: calc(100svh - 80px);
   background-image: url("Photo-liste-LeHaillanEnAvant_11zon.webp");
   background-size: cover;
   background-position: center -35px;
   background-repeat: no-repeat;
   margin-top: 80px;
   position: relative;
   overflow: visible;
   z-index: 1;
   padding-bottom: 200px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
  to bottom,
  transparent 0%,
  rgba(4,5,31,.7) 80%,
  #04051F 100%
);
  pointer-events: none;
}

/* Pour que le contenu reste AU-DESSUS du filtre */
.hero > * {
  position: relative;
  z-index: 1;
}

#newsletter {
  position: relative;
  z-index: 5;
  padding-top: 0px 20px 60px;
  margin: -30px auto;
  max-width: 100%;
  background-image: url("Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#newsletter-wrap{
  transform: translateY(-120px);
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
}

/* On centre le bloc Brevo sans toucher son HTML */
.newsletter-bite .sib-form-container,
.newsletter-bite #sib-form-container {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Optionnel : pour renforcer l'effet premium du bloc form */
.newsletter-bite #sib-container {
  box-shadow: 0 18px 60px rgba(0,0,0,.25) !important;
}


.hero-left {
   width:80%;
   align-self: flex-end;     /* au lieu de jouer avec align-items du parent */
   transform: translateY(30px);  /* ajuste la valeur (ex: 20-60px) */
   margin-bottom: 65px;
}

.hero-left h1 {
   font-size:48px;
   font-weight:700;
   color: white;
   margin-bottom:20px;
   text-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    0 8px 24px rgba(0,0,0,0.45);
}

.hero-left p {
   font-size:18px;
   line-height:1.6;
   color: white;
   margin-bottom:30px;
   text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-left .cta {
   background:#4b70ba;
   color:#fff;
   padding:16px 26px;
   border-radius:8px;
   text-decoration:none;
   font-weight:600;
   font-size:18px;
   box-shadow: 6px 5px 0 rgba(6, 44, 67, 0.28), 0 2px 4px rgba(6, 44, 67, 0.12);
}

.hero-left .cta {
  transition:
    transform .15s ease,
    filter .15s ease,
    background-color .15s ease,
    color .15s ease;
}

.hero-left .cta:hover {
  background: white;
  color: #4b70ba;
  transform: translateY(-1px);
}

.logo {
   height:100%;
   padding-top: 20px;
   padding-bottom: 20px;
}

.imglogo {
   height: 100%;
   width: 100%;
   display: block;
   margin-right: 20px;
}

/* ------------------------------Section formulaire newsletter-------------------------------------- */

/* Empêche le chevauchement H1 / formulaire */
#sib-form-container {
  position: relative !important;
  clear: both !important;
  margin-top: clamp(12px, 3vw, 28px) !important;
}

/* Neutralise d’éventuels positionnements qui “remontent” le formulaire */
#sib-form-container,
#sib-container {
  transform: none !important;
}

/* Sur mobile : on s’assure que le formulaire prenne toute la ligne */
@media (max-width: 900px) {
  #sib-form-container {
    width: 100% !important;
  }
}

.sib-form { padding: 0px !important; }

div#sib-container { max-width: 100% !important; }

/* ===== POLICE GLOBALE ===== */
#sib-form-container,
#sib-container,
#sib-form,
.sib-form,
.sib-input,
.sib-sms-field,
.sib-form-message-panel,
.sib-form-message-panel__inner-text,
.sib-form-message-panel__text,
.sib-form-block,
.entry__field,
.entry__error,
.entry__specification,
button,
label,
p,
input,
textarea,
select,
span,
div {
  font-family: "Poppins", sans-serif !important;
}

/* ===== TITRES ET TEXTES ===== */
#sib-container label,
#sib-container span,
#sib-container input,
#sib-container textarea {
  font-family: "Poppins", sans-serif !important;
  color: #062c43 !important;
}

.sib-form .entry__choice {
  text-indent: 0 !important;
  margin-right: 0px !important;
}

.entry__choice { padding-left: 5px !important; }

/* ===== TÉLÉPHONE (structure actuelle Brevo) ===== */
.sib-sms-select__title::after { display: none !important; }
span.sib-sms-select__label-text { display: none !important; }

.sib-flag { margin-left: 5px !important; }

.sib-sms-select__title,
.sib-flag.sib-flag-fr {
  pointer-events: none !important;
  user-select: none !important;
  cursor: default !important;
}
.sib-sms-select__title { opacity: 0.9 !important; }

/* ✅ suppression de l’icône d’aide du champ téléphone */
span.sib-sms-tooltip__icon {
  display: none !important;
}

/* ===== BOUTON ===== */
#sib-container button,
.sib-form-block__button {
  font-family: "Poppins", sans-serif !important;
  letter-spacing: 0.3px !important;
  font-size: 20px !important;
  padding: 18px 28px !important;
}

/* ===== MESSAGES D’ERREUR / SUCCÈS ===== */
#success-message,
#error-message,
.sib-form-message-panel__inner-text {
  font-family: "Poppins", sans-serif !important;
}

/* ===== PLACEHOLDERS (nouveau design “ligne”) ===== */
#sib-container input::placeholder,
#sib-container textarea::placeholder {
  color: rgba(6, 44, 67, 0.55) !important;
  opacity: 1 !important;
  font-size: 14px !important;
}

/* ===== AUTOFILL ===== */
#sib-form input:-webkit-autofill {
  -webkit-text-fill-color: #062c43 !important;
  font-family: "Poppins", sans-serif !important;
}

/* ===== BLOCS BREVO COMPLÉMENTAIRES ===== */
.sib-sms-tooltip,
.sib-form-message-panel__text--center,
.entry__choice label span {
  font-family: "Poppins", sans-serif !important;
}

/* ===== CONTAINER PRINCIPAL ===== */
#sib-container {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 20px !important;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100% !important;
}

/* =======================
   NOUVEAU DESIGN INPUTS : “ligne” + glow au focus
   ======================= */

/* Supprime le “cadre” du wrapper Brevo qui entourait visuellement l’input */
.sib-form .entry__field {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 12px 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
}

/* Supprime tout effet de cadre sur le wrapper au focus */
.sib-form .entry__field:focus-within {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Animation douce au focus */
#sib-container input.input,
#sib-container textarea.input {
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.18s ease !important;
}

/* Focus animé */
#sib-container input.input:focus,
#sib-container textarea.input:focus {
  transform: translateY(2px) scale(1.015);
  border-bottom-width: 2px !important;
}

/* Inputs/textarea : plus de bordure, seulement une ligne basse */
#sib-container input.input,
#sib-container textarea.input {
  font-family: "Poppins", sans-serif !important;
  color: #062c43 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(6, 44, 67, 0.35) !important;
  border-radius: 0 !important;
  padding: 15px 15px 15px !important;
  box-sizing: border-box !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  max-height: 60px !important;
}

/* Focus : ligne + glow léger (style “premium”) */
#sib-container input:focus,
#sib-container textarea:focus {
  outline: none !important;
  background-color: transparent !important;
  border-bottom-color: #4b70ba !important;
  box-shadow: 0 6px 12px rgba(75, 112, 186, 0.18) !important;
  color: #062c43 !important;
}

/* Bloc de suggestions (collé sous le trait) */
#ADRESSE .entry__field{
  position: relative !important;
}

#suggestions {
  position: absolute;
  top: 100% !important;
  margin-top: 2px !important;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  z-index: 99999 !important;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}
#suggestions::-webkit-scrollbar { width: 8px; }
#suggestions::-webkit-scrollbar-thumb {
  background-color: #cbd3e1;
  border-radius: 8px;
}
#suggestions::-webkit-scrollbar-thumb:hover {
  background-color: #aebcd6;
}
#suggestions div {
  padding: 10px 12px;
  color: #3c4b65;
  cursor: pointer;
  transition: background 0.2s ease;
}
#suggestions div:hover {
  background-color: #eef3fb;
  color: #2c3a52;
}

/* Champ Code postal (lecture seule, grisé) */
#ZIPCODE {
  background-color: #f5f7fa !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  border: 1px solid #e0e6ed !important;
  text-align: center !important;
  width: calc(5.5ch + 28px) !important;
  min-width: 0 !important;
  padding-inline: 12px !important;
}

/* Réduction d’espacement entre champs (garde UNIQUEMENT cette version) */
#sib-container .sib-input,
#sib-container .sib-sms-field,
#sib-container .sib-optin,
#sib-container .sib-form-block {
  margin-bottom: 0px !important;
}

/* === FORMULAIRE BREVO FLUIDE ET ALIGNÉ === */
#sib-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  row-gap: 0px !important;       /* ✅ réduit l'écart entre les deux lignes */
  column-gap: 15px;
  box-sizing: border-box;
  max-width: 100% !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
}

/* Ne PAS forcer le padding inline des champs (ça te les “remonte”) */
/* #sib-form > div[id]{ padding: 4px 0 !important; }  <-- supprimé */

/* Réinitialisation Brevo */
.sib-form-block {
  text-align: unset !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Hauteur uniforme */
#sib-form input.input,
#sib-form textarea.input {
  box-sizing: border-box;
  height: 44px !important;
  line-height: 1.4 !important;
  max-width: 100% !important;
  min-width: 100% !important;
}

/* Champs */
img.souligner {
    width: 20% !important;
}
#NOM, #PRENOM { flex: 1 1 250px; max-width: 320px; }
#MAIL { flex: 1 1 300px; min-width: 260px; max-width: 380px; }
#ADRESSE { flex: 1 1 auto; position: relative !important; min-width: 0; z-index: 50 !important; overflow: visible !important; }
#POSTAL { flex: 0 0 auto; width: auto !important; min-width: fit-content !important; align-self: flex-start; }

/* ✅ TEL : alignement + design “ligne” sur +33 et tél (structure actuelle Brevo) */
#TEL{
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
  min-width: 260px;
  max-width: 320px;
  flex-direction: column;
  margin-top: 30px !important;
}

/* wrapper flex */
#TEL .sib-sms-input-wrapper{
  display: flex !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  align-items: flex-end !important;     /* ✅ aligne avec les autres inputs */
}

/* bloc global tel */
#TEL .sib-sms-select{
  display: flex !important;
  align-items: flex-end !important;
}

/* drapeau : même hauteur visuelle */
#TEL .sib-sms-select__title{
  height: 44px !important;
  display: flex !important;
  align-items: flex-end !important;
  padding-bottom: 3px !important;
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
}

/* conteneur des 2 inputs (+33 + tel) : une seule “ligne du bas” */
#TEL .sib-sms-select__number-input{
  display: flex !important;
  align-items: flex-end !important;
  height: 44px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(6,44,67,.35) !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1 1 auto !important;
  min-width: 220px !important;
  border-radius: 0px !important;
}

/* téléphone */
#TEL input.sib-sms-select__phone-number{
  height: 44px !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  font-family: "Poppins", sans-serif !important;
  color: #062c43 !important;
  font-size: 16px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  padding: 15px 15px 15px !important;
}

/* +33 */
#TEL input.sib-sms-select__calling-code{
  display: none !important; /* évite le vieux max-width:50px */
}


/* focus du téléphone : glow + mini décalage */
#TEL .sib-sms-select__number-input:focus-within{
  border-bottom-width: 2px !important;
  border-bottom-color: #4b70ba !important;
  box-shadow: 0 10px 25px rgba(75,112,186,.18) !important;
  transform: translateY(1px) !important;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

@media (min-width: 1200px) {
  #TEL { max-width: 300px !important; }
  div#d3ba1d49-bd5b-4565-bc97-4d7010e1de39 {
    width: 80% !important;
  }
}

/* Label info */
label.entry__specification {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #4b70ba !important;
  margin-top: 4px !important;
  text-align: left !important;
  max-width: 100% !important;
}
@media (max-width: 800px) {
  label.entry__specification { text-align: center !important; }
}

/* Bouton */
#BOUTON { flex: 0 0 100%; text-align: center !important; }
#BOUTON button {
  display: inline-block !important;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease, color .15s ease;
  box-shadow: 8px 8px 0 rgba(6, 44, 67, 0.28), 0 2px 4px rgba(6, 44, 67, 0.12);
}

/* === RESPONSIVE < 600px === */
@media (max-width: 600px) {
  div#d3ba1d49-bd5b-4565-bc97-4d7010e1de39 {
    width: 100% !important;
  }

  /* ✅ Taille du titre adaptée */
  #sib-form-container .sib-form-block p:first-child {
    line-height: 1.3 !important;
    text-align: center !important;
  }

  #SOUSTITRE p {
    font-size: 16px !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  /* ✅ Texte consentement */
  #sib-container .sib-optin label,
  #sib-container .sib-optin p {
    line-height: 1.5 !important;
  }

  #sib-form {
    flex-direction: column;
    row-gap: 8px;
    column-gap: 0;
    align-items: stretch;
  }

  #NOM, #PRENOM, #MAIL, #TEL, #POSTAL {
    max-height: 60px !important;
  }
  #NOM, #PRENOM, #MAIL, #TEL, #BOUTON {
    flex: 0 0 100%;
    max-width: 100% !important;
    min-width: 100% !important;
  }

  #ADRESSE, #POSTAL {
    display: inline-flex !important;
    align-items: stretch;
    flex: 1 1 auto !important;
    max-width: 100% !important;
  }
  #ADRESSE .entry__field { flex: 1 1 auto !important; position: relative !important; overflow: visible !important; }
  #POSTAL { display: none !important }

  /* TEL mobile */
  #TEL .sib-sms-input-wrapper { align-items: flex-end !important; gap: 6px !important; }
  #TEL .sib-sms-select__title{ padding: 0 10px 0 0 !important; }

  #BOUTON button { width: auto; }
}

/* Divers */
#SOUSTITRE {
  width: 100% !important;
  text-align: center !important;
}

.sib-text-form-block {
  color: #4B70BA !important;
}

/* ⚠️ SUPPRIMÉ : anciens styles téléphone devenus faux
   input.sib-sms-select__calling-code { max-width: 50px !important; }
   .sib-sms-select__phone-number { width: 100% !important; }
   select.input { display: none !important; }
   (ça cassait le nouveau DOM téléphone)
*/

div#TITRE {
  display: none !important;
}

label.entry__error.entry__error--primary{
  padding: 10px !important;
  width: fit-content !important;
}

#BOUTON button.sib-form-block__button.sib-form-block__button-with-loader:hover{
  background-color: #98acff !important;
  color : #062c43 !important;
}

/*---------------------------------------------- FEED */

/*---------------------------------------------- FEED */

.title-actus {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

.juicer-feed.j-initialized.j-modern.j-desktop.modern.loaded {
  padding: 0px 40px !important;
}

/* ✅ Masonry : on remplace la GRID par des colonnes */
.juicer-feed {
  margin: 0 auto !important;
  list-style: none !important;
  padding-left: 0 !important;

  /* Masonry */
  columns: 3;
  column-gap: 20px;
}

/* ✅ Responsive masonry */
@media (max-width: 980px){
  .juicer-feed{
    columns: 2;
    column-gap: 20px;
    padding: 0 20px !important;
  }
}

@media (max-width: 640px){
  .juicer-feed{
    columns: 1;
    column-gap: 20px;
    padding: 0 12px !important;
  }
}

/* ====== Bouton "Load More" Juicer ====== */
.juicer-feed a.j-paginate.juicer-button{
  font-size: 0 !important;              /* masque "Load More" */
  border: none !important;              /* supprime bordure */
  background: #4b70ba !important;       /* fond bleu */
  color: #fff !important;
  padding: 20px 20px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color .25s ease, color .25s ease, transform .25s ease !important;
  width: fit-content !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 12px 30px rgba(64, 88, 255, 0.25) !important;
}

/* Texte remplacé */
.juicer-feed a.j-paginate.juicer-button::before{
  content: "Voir toute notre actualité";
  text-transform: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  line-height: 1 !important;
}

/* Hover inversé */
.juicer-feed a.j-paginate.juicer-button:hover{
  background: #fff !important;
  transform: translateY(-1px);
}

.juicer-feed a.j-paginate.juicer-button:hover::before{
  color: #4b70ba !important;
}

/* Focus/outline (au cas où) */
.juicer-feed a.j-paginate.juicer-button:focus{
  outline: none !important;
  box-shadow: none !important;
}

/* Remplacement "Read more" → "Lire la suite" */
.juicer-feed a.j-read-more{
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;   /* cache le texte original (et ses ...) */
  line-height: inherit !important;
}

#actus {
  padding: 30px 20px;
  background: white; /* ou transparent selon ton design */
}

.actus-wrap {
  margin: 0 auto;
  text-align: center;
}

.title-actus h2 {
  color: #4b70ba;
  margin-bottom: 0px;
  font-size: 50px;
}

.title-actus p {
  color: #4b70ba;
  margin-top: -15px !important;
  font-size: 45px;
}

/* Cartes (masonry) */
li.feed-item{
  border: none !important;
  border-radius: 16px !important;
  overflow: hidden;
  position: relative;

  /* ✅ Masonry essentials */
  display: inline-block !important;
  width: 100% !important;
  break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;
  margin: 0 0 20px 0 !important; /* espace vertical entre cards */

  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 12px 30px rgba(64, 88, 255, 0.25);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

li.feed-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 16px 40px rgba(64, 88, 255, 0.35);
}

/* Carré média */
.juicer-feed .j-image,
.juicer-feed .j-video,
.juicer-feed .j-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.j-poster{
  display: none !important;
}

.j-meta{
  display: none !important;
}

.j-text{
  padding-bottom: 30px;
}

/* ✅ Couleur du texte demandée */
.j-message{
  padding: 20px 15px 20px 20px;
  text-align: left;
  color: #062C43 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

/* Images & vidéos */
.juicer-feed .j-image img,
.juicer-feed .j-video video,
.juicer-feed .j-media img,
.juicer-feed .j-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.juicer-feed li.feed-item .j-image,
.juicer-feed li.feed-item .j-video,
.juicer-feed li.feed-item .j-media{
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

/* ✅ si enveloppé dans un <a>, on le force aussi */
.juicer-feed li.feed-item .j-image a,
.juicer-feed li.feed-item .j-video a,
.juicer-feed li.feed-item .j-media a{
  display: block !important;
  width: 100% !important;
}

/* ✅ carré */
.juicer-feed li.feed-item .j-image,
.juicer-feed li.feed-item .j-video,
.juicer-feed li.feed-item .j-media{
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.juicer-feed li.feed-item a {
  display: inline-block !important;
}

.juicer-feed li.feed-item img,
.juicer-feed li.feed-item video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Suppression branding si possible (selon plan) */
.juicer-feed h1.referral a,
.juicer-feed .j-branding {
  width: 0px !important;
  visibility: hidden !important;
}

/* Faux feed : limite à 5 lignes + garde "... Lire la suite" */
.juicer-feed .j-message{
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 5 !important;
  overflow: hidden !important;
}

/* ✅ Cards vidéo (sans texte) : uniquement le carré, pas de bloc blanc */
.juicer-feed li.feed-item:not(:has(.j-text)) {
  padding: 0 !important;
}

.juicer-feed li.feed-item:not(:has(.j-text)) .j-media {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 12px 30px rgba(64, 88, 255, 0.25) !important;
}

/* Remplacement "Read more" → "Lire la suite" */
.juicer-feed a.j-read-more{
  text-decoration: none;
}

/* On recrée les 3 points + le texte FR */
.juicer-feed a.j-read-more::before{
  content: "... Lire la suite";
  font-size: 16px;
  font-weight: 600;
  color: #4b70ba;
  white-space: nowrap;
}



/*---------------------------------------------- EVENT */

.event-section{
  background: #4B70BA;
  margin-top: 30px;
  overflow: hidden;
}

img.photo-event {
  max-width: 400px;
  box-shadow: 10px 12px 0 rgba(6, 44, 67, 0.28), 0 2px 4px rgba(6, 44, 67, 0.12);
}

img.fleche-event {
  margin-bottom: -70px;
  margin-top: -500px;
  margin-left: 150px;
  width: 400px;
  position: relative;
  z-index: 10000;
}

.event-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  align-items: center;
  padding-top: 80px;
  padding-right: 50px;
  padding-bottom: 50px;
  padding-left: 50px;
}

.event-title{
  margin: 0 0 12px 0;
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.event-subtitle{
  margin: 0 0 20px 0;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  max-width: 52ch;
}

/* Bouton (corrigé pour être lisible sur fond bleu) */
.btn-event{
  background: #ffffff;
  color: #062c43;
  border: 0;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease, color .15s ease;
}
.btn-event:hover{
  background: #062c43;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Image à droite */
.event-image{
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/*---------------------------------------------- ABOUT */

.about{
  color: #062C43;
  background-image: url("vague-bleu.svg");
   background-size: contain;
   background-position: center -10px;
   background-repeat: no-repeat;
}

.photo-eric-about{
  width: 80%;
}

/*.about-top,
.about-bottom {
  padding: 60px 30px;
}*/

.about-title{
  font-size: 50px;
  line-height: 1.3;
  margin-bottom: -20px;
  padding-top: 80px;
  padding-left: 80px;
  padding-right: 30px;
  font-size: 50px !important;
  margin-top: 0px;
}

.about-title-highlight,
.about-liste__subtitle,
.about-bottom__title,
.title-actus-highlight {
  box-shadow: inset 0 -0.5em 0 rgba(75, 112, 186, 0.4);
}

/*img.souligner-eric {
    width: 250px;
    padding-left: 45px;
    margin-top: 20px;
}*/

.about-top__content{
  display: grid;
  grid-template-columns: 1.4fr 0.6fr; /* gauche PLUS large que droite */
  gap: 5px;
  align-items: start;
  margin-top: -60px;
}

/* Le bloc texte à droite */
#left-texte{
  width: auto;
  margin-top: auto;
  margin-bottom: auto;
  padding-left: 30px;
}

.about-right{
  margin-left: -20px;
  margin-top: 40px;
  margin-right: 30px;
}

/* Le bloc image à droite */
#right-texte{
  width: 100%;
  justify-self: center;   /* colle l’image à droite */
  margin-top: auto;
  margin-bottom: auto;
}

/* Image */
.photo-eric-about{
  width: min(420px, 100%);
  height: auto;
  display: block;
}

.about-top__content2 {
    display: grid;
    grid-template-columns: 0.55fr 1.4fr;
    gap: 5px;
    align-items: center;
    margin-top: -30px;
}

h3.about-liste__title {
    font-size: 40px;
    line-height: 1.2;
}

span.about-liste__subtitle {
    font-weight: 400;
}

span.about-subtitle {
    margin: 0px;
    font-weight: 400;
    margin-left: -30px;
}

img.mains-levées{
  width: 100%;
}

p.about-highlight__text {
  margin-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
}


.highlight {
  position: relative;
  display: inline;
  padding: 0 6px;
  font-weight: bold;
}

.highlight::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.05em;

  width: 0%;
  height: 1.1em;

  background: rgba(255, 236, 140, 0.85);
  z-index: -1;

  border-radius: 6px 4px 6px 4px;

  transition:
    width 1.4s cubic-bezier(0.25, 1, 0.3, 1);
  transition-delay: 0.40s; /* ⬅️ petite latence */
}

.highlight.is-visible::after {
  width: calc(100% + 8px);
}

.about-float-img{
  float: right;
  width: min(360px, 42vw);
  height: auto;
  margin: 0 0 18px 28px;

  shape-outside: ellipse(48% 45% at 50% 50%);
  shape-margin: 14px;
}

p.about-p {
    padding-left: 30px;
}

h3.about-bottom__title {
    padding-top: 30px;
    padding-left: 30px;
    font-size: 40px;
    text-align: center;
    margin-bottom: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

p.about-bottom__subtitle{
  padding-left: 30px;
  text-align: center;
  font-size: 25px;
}

.btn-prog{
  background: #062c43;
  color: white;
  border: 0;
  padding: 14px 14px;
  border-radius: 10px;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease, color .15s ease;
  font-size: 20px;
  margin-left: 35%;
  margin-right: 35%;
  width: 30%;
  margin-top: 30px;
  margin-bottom: -30px;
  box-shadow: 8px 8px 0 rgba(6, 44, 67, 0.28), 0 2px 4px rgba(6, 44, 67, 0.12);
}

.btn-prog:hover{
  background: white;
  color: #062c43;
  transform: translateY(-1px);
}

.about-float-img2 {
  float: left;
  width: min(360px, 42vw);
  height: auto;
  margin: -100px 28px 18px 0;
  shape-outside: ellipse(48% 45% at 50% 50%);
  shape-margin: 14px;
}

.demarche::after{
  content: "";
  display: block;
  clear: both;
}

.demarche-text {
  min-height: 360px;              /* ≈ hauteur visuelle de l’image */
  display: flex;
  flex-direction: column;
  justify-content: center;        /* 🔥 centrage vertical */
}

.about-bottom__inner{
  background-image: url("dessin.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 120px;
}

.demarche{
  padding-top: 60px;
  padding-right: 50px;
  padding-left: 50px;
}

.demarche .about-demarche:first-of-type{
  width: 90%;
}

p.about-demarche {
  padding-right: 30px;
}

/*---------------------------------------------- CONTACT */

.contact__content{
  display: grid;
  grid-template-columns: 0.35fr 1.4fr;
  gap: 5px;
  align-items: end;
  overflow: hidden;
}

.contact-section{
  background-image: url(contact.svg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #062C43;
}

img.photo-eric-contact {
    margin-bottom: -20px;
}

.contact-content__right {
    padding-bottom: 30px;
}

.contact-networks{
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;           /* espace entre les items */
  flex-wrap: wrap;     /* si ça ne tient pas en desktop, ça passe à la ligne */
  padding: 0;
}

.contact-liste{
  display: inline-flex;
  align-items: center;
  gap: 10px;           /* espace icône / texte */
}

.contact-liste i{
  font-size: 35px;
  line-height: 1;
}

.contact-liste i.fa-brands.fa-facebook {
    margin-right: -12px;
}

li.network1 {
    list-style: none;
    margin-right: 30px;
}

a.contact-liste{
  color: #062C43;
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
}

.contact-title h5{
  font-size: 35px;
  margin-bottom: 20px;
  margin-top: 20px;
}

img.petite-fleche {
  width: 40px;
  margin-top: 40px;
  margin-left: 20px;
}

.contact-title{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

/*---------------------------------------------- FOOTER */

footer.footer{
  background-image: url(footer.svg);
  background-size: cover;
  background-position: center 10px;
  background-repeat: no-repeat;
  color: #062C43;
}

.footer__brand {
  text-align: center;
}

img.logo-footer {
  margin-top: -20px;
}

.footer__nav ul {
  list-style: none;
  font-size: 12px;
  width: 100%;
  padding: 0;
}

nav.footer__nav {
  display: flex;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
}

.footer-title {
  margin: 0;
  padding-bottom: 5px;
  font-size: 12px;
  text-transform: uppercase;
  color: #062C43;
  font-weight: bold;
}

.footer ul li a{
  margin: 0;
  color: #062C43;
  text-decoration: none;
}

.footer ul li{
  padding-bottom: 5px;
}

.footer__bottom {
    text-align: center;
    color: #062C43;
    font-size: 13px;
    padding-bottom: 10px;
}

ul.footer-programme-links {
    text-align: right;
    padding-right: 80px;
}

ul.footer-contact-links {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-contact-links {
  width: 100%;
  text-align: center;
}

ul.footer-links{
  padding-left: 80px;
}

.footer-contact{
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 30px !important;
  margin-top: 10px;
}

