.fa-facebook:before {
    content: "\f39e";
}

.mod-header-logo{
max-width: inherit;
}

.social-link.newsletter {
    background-color: white;
    border-radius: 50%; /* rend le bouton parfaitement rond */
    height: 40px;
    width: 40px;
    padding: 5px;
    text-align: center;
    display: inline-block;
    transition: all 73ms ease-in-out;
}
.social-link.newsletter .social-link:hover [class*=icon-] {
    color: #569ab8 !important;
}
.social-link.newsletter .fa-envelope-open-text {
    font-size: 20px;
    color: #1a3663;
    line-height: 30px;/* centrage vertical */
}

.event-jumbotron__contact-wrapper .email a{
color: #ffffff;
}
#T7lby8cxiGRLqZ0DyvdlZmhw > div > div > div > ul > li.header-ext.header-ext-login > a {
font-size:0px;
}
#T7lby8cxiGRLqZ0DyvdlZmhw > div > div > div > ul > li.header-ext.header-ext-login > a:before {
content:"Espace membre";
font-size:18px;
margin-left:-3px;
}

.image-box {
  float: right;              /* place la box à droite du texte */
  margin-left: 15px;         /* espace entre l’image et le texte */
  margin-bottom: 15px;
  max-width: 400px;          /* largeur maximale */
  max-height: 300px;         /* hauteur maximale */
  overflow: hidden;          /* cache ce qui dépasse */
}

.image-box img {
  width: 100%;               /* l’image s’adapte à la largeur de la box */
  height: auto;              /* conserve les proportions */
  display: block;
  object-fit: contain;       /* ajuste l’image sans la déformer */
  max-height: 300px;         /* limite la hauteur */
}
.contact-box {
  border: 1px solid #ccc;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.contact-columns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* permet de passer en ligne suivante si pas assez de place */
}

.contact-col {
  flex: 1;
  min-width: 250px; /* largeur minimale pour forcer le passage en colonne sur mobile */
}

.contact-col img {
  width: 20px;
  height: auto;
  margin-right: 5px;
  vertical-align: middle;
}

.contact-col h5 {
  color: #1a3663;
  margin-top: 10px;
}
.contact-item {
  display: flex;              /* aligne image + texte sur la même ligne */
  align-items: center;
  gap: 8px;                   /* espace entre l’icône et le texte */
  word-break: break-word;     /* coupe le texte si trop long */
  overflow-wrap: anywhere;    /* permet de passer à la ligne */
}

.contact-item img {
  width: 20px;
  height: auto;
  flex-shrink: 0;             /* empêche l’icône de se réduire */
}

.contact-item a, 
.contact-item span {
  flex: 1;                    /* occupe l’espace restant */
}

<style>
p { text-indent: 2em; }
</style>

.shadow-in .mod-banner__img {
    position: relative;
}

.shadow-in .mod-banner__img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* ajuste l’opacité ici */
    z-index: 1;
}

/* Pour que le texte reste visible */
.shadow-in .mod-banner__content {
    position: relative;
    z-index: 2;
}


/* --- 404 --- */
.page-404 {
  --p-1:  #1a3663;
  --p-2:  #2c557d;
  --p-3:  #447b9e;
  --p-4:  #7f9eb6;
  --p-owl:      #15607c;
  --p-squirrel: #11798a;

  position: relative;
  overflow: hidden;
  padding: 130px 0 70px;
  min-height: 85vh;
  background: linear-gradient(
    180deg,
    #ffffff  0%,
    #f0f5f9 40%,
    #c8dbe8 100%
  );
}

/* Liseré bleu bas de page */
.page-404::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: var(--p-1);
  z-index: 5;
}

/* ── Zone animaux / arbres ── */
.trees {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ── Animation défilement ── */
@keyframes moveclouds {
  0%   { transform: translateX(120vw); }
  100% { transform: translateX(-120vw); }
}

/* ── Arbres ── */
.tree {
  position: absolute;
  z-index: 2;
  animation: moveclouds linear infinite;
  filter: drop-shadow(0 5px 8px rgba(26,54,99,0.13));
}
.tree::before {
  content: "";
  position: absolute;
  left: 50%;
  background: var(--p-1);
  transform: translateX(-50%);
  border-radius: 0 0 5px 5px;
}
.tree::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Tailles — tronc tree-B plus court via surcharge */
.size-S { width: 90px;  height: 160px; }
.size-S::before { bottom: 0;    width: 10px; height:  55px; }
.size-S::after  { bottom: 55px; width: 90px; height: 105px; }

.size-M { width: 130px; height: 210px; }
.size-M::before { bottom: 0;    width:  14px; height:  75px; }
.size-M::after  { bottom: 75px; width: 130px; height: 135px; }

.size-L { width: 180px; height: 260px; }
.size-L::before { bottom: 0;    width:  18px; height:  95px; }
.size-L::after  { bottom: 95px; width: 180px; height: 165px; }

/* Tronc plus court pour tree-B uniquement */
.tree-B.size-S::before { height: 30px; }
.tree-B.size-S::after  { bottom: 30px; height: 130px; }
.tree-B.size-M::before { height: 44px; }
.tree-B.size-M::after  { bottom: 44px; height: 166px; }
.tree-B.size-L::before { height: 55px; }
.tree-B.size-L::after  { bottom: 55px; height: 205px; }

/* Tronc plus court pour tree-C uniquement */
.tree-C.size-S::before { height: 40px; }
.tree-C.size-S::after  { bottom: 40px; height: 140px; }
.tree-C.size-M::before { height: 54px; }
.tree-C.size-M::after  { bottom: 54px; height: 175px; }
.tree-C.size-L::before { height: 65px; }
.tree-C.size-L::after  { bottom: 65px; height: 215px; }

/* Feuillu organique — légèrement bombé d'un côté */
.tree-A::after {
  border-radius: 42% 58% 38% 62% / 55% 48% 72% 45%;
}

/* Arbre compact — rectangle arrondi, style "lollipop" élégant */
.tree-B::after {
  clip-path: none;
  border-radius: 40% 40% 35% 35% / 45% 45% 38% 38%;
}

/* Conifère étagé — 3 paliers de branches */
.tree-C::after {
  clip-path: polygon(
    50%  0%,
    22% 36%,  34% 36%,
    12% 62%,  30% 62%,
     4% 100%, 96% 100%,
    70% 62%,  88% 62%,
    66% 36%,  78% 36%
  );
  border-radius: 0;
}

/* Couleurs intentionnellement mélangées —pâles et foncés présents à toutes les hauteurs */
.x1::after  { background: var(--p-1); }
.x2::after  { background: var(--p-4); }
.x3::after  { background: var(--p-2); }
.x4::after  { background: var(--p-1); }
.x5::after  { background: var(--p-3); }
.x6::after  { background: var(--p-4); }
.x7::after  { background: var(--p-2); }
.x8::after  { background: var(--p-1); }
.x9::after  { background: var(--p-3); }
.x10::after { background: var(--p-4); }
.x11::after { background: var(--p-1); }
.x12::after { background: var(--p-2); }

/* POSITIONS & DÉLAIS*/
/*  arbre          top   left   durée   délai                  opacité  */
.x1  { top:  6%;  left: 15%;  animation-duration: 34s; animation-delay:  -3s; opacity: 0.42; } /*  9% */
.x2  { top: 65%;  left:  8%;  animation-duration: 40s; animation-delay: -30s; opacity: 0.92; } /* 75% */
.x3  { top: 38%;  left: 22%;  animation-duration: 32s; animation-delay:  -6s; opacity: 0.62; } /* 19% */
.x4  { top: 10%;  left: 55%;  animation-duration: 32s; animation-delay: -16s; opacity: 0.38; } /* 50% */
.x5  { top: 72%;  left: 72%;  animation-duration: 36s; animation-delay: -27s; opacity: 0.90; } /* 75% */
.x6  { top: 22%;  left: 40%;  animation-duration: 34s; animation-delay: -22s; opacity: 0.52; } /* 65% */
.x7  { top: 55%;  left: 85%;  animation-duration: 44s; animation-delay: -11s; opacity: 0.78; } /* 25% */
.x8  { top:  8%;  left: 78%;  animation-duration: 38s; animation-delay: -29s; opacity: 0.35; } /* 76% */
.x9  { top: 48%;  left: 33%;  animation-duration: 36s; animation-delay: -13s; opacity: 0.68; } /* 36% */
.x10 { top: 18%;  left: 62%;  animation-duration: 30s; animation-delay:  -9s; opacity: 0.44; } /* 30% */
.x11 { top: 60%;  left: 48%;  animation-duration: 40s; animation-delay: -34s; opacity: 0.85; } /* 85% */
.x12 { top: 32%;  left: 90%;  animation-duration: 30s; animation-delay: -24s; opacity: 0.55; } /* 80% -> 

/*   ÉCUREUIL   */
.squirrel {
  position: absolute;
      bottom: 15%;
  left: 130%;
  font-size: 46px;
  color: #11798a;
  z-index: 4;
  filter: drop-shadow(0 3px 7px rgba(17,121,138,0.28));
  animation:
    squirrelRun 28s linear infinite,
    squirrelBob  0.4s ease-in-out infinite;
}

@keyframes squirrelBob {
  0%, 100% { transform: scaleX(-1) translateY(0px);  }
  50%       { transform: scaleX(-1) translateY(-5px); }
}

@keyframes squirrelRun {
  0%    { left: 130%; opacity: 0; }
  7%    { left: 110%; opacity: 1; }
  92%   { left: -10%; opacity: 1; }
  98%   { left: -10%; opacity: 0; }
  100%  { left: 130%; opacity: 0; }
}

/* ──────────────────────────
   CONTENU 404
────────────────────────── */
.content-404 {
  position: relative;
  z-index: 10;
  text-align: center;
}

.code-404 {
   font-size: 200px;
  font-weight: 700;
    letter-spacing: 15px;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(255,255,255,0.6),
    0 8px 24px rgba(26,54,99,0.14);
  margin-bottom: 4px;
}

.line-404 {
  width: 420px;
  border: none;
  border-top: 5px solid var(--p-1);
  margin: 0 auto 20px;
  position: relative;
}

.line-404::after {
  content: "•";
  position: relative;
  top: -0.75em;
    font-size: 2em;
  transform: translate(-50%, -55%);
  line-height: 1;
  color: var(--p-1);
  background: linear-gradient(180deg, #ffffff 0%, #f0f5f9 100%);
  padding: 0 0.25em;
}

.title-404 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 10px;
  text-transform: uppercase;
  line-height: 1;
  color: var(--p-1);
}

.subtitle-404 {
  font-size: 18px;
     font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--p-2);
  margin-top: 6px;
  margin-bottom: 30px;
}