@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

.fa-facebook:before {
    content: "\f39e";
}

.mod-header-logo{
max-width: inherit;
}

/* ─── HEADER : liens texte (Savoir, Nous contacter) ─── */
.header-ext-custom a:hover span {
    color: #0ca3a3 !important;
}
.header-ext-custom a:hover {
    color: #0ca3a3 !important;
}

/* ─── HEADER : icône Savoir (PNG) ─── */
.header-ext-custom a[href*="savoir"] img {
    transition: filter 73ms ease-in-out;
}
.header-ext-custom a[href*="savoir"]:hover img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(75%) 
            saturate(1800%) hue-rotate(156deg) brightness(105%);
}

/* ─── NEWSLETTER : dimensions communes (header + footer) ─── */
.social-link.newsletter {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    vertical-align: middle;
}
.social-link.newsletter .fa-envelope-open-text {
    font-size: 18px;
    line-height: 1;
    pointer-events: none;
}

/* Supprime la marge social-links */
.mod-header .header-ext + .header-ext {
    margin-left: 0px;
}

.line-header-top .mod-header .header-ext + .header-ext {
    margin-left: 15px;
}

.social-link {
    margin-right: 5px;
    margin-left: 5px;
}

.mod-social-links .social-link:last-child {
    margin-right: 0;
}

/* ─── NEWSLETTER HEADER : fond bleu, icône blanche, hover turquoise ─── */
.line-header .social-link.newsletter {
    background-color: #1a3663;
    transition: background-color 73ms ease-in-out;
}
.line-header .social-link.newsletter .fa-envelope-open-text {
    color: #ffffff !important;
}
.line-header .social-link.newsletter:hover {
    background-color: #0ca3a3;
}
.line-header .social-link.newsletter:hover .fa-envelope-open-text {
    color: #ffffff !important;
}

/* ─── NEWSLETTER FOOTER : fond blanc, icône bleu foncé, hover icône bleu ─── */
.line-footer .social-link.newsletter {
    background-color: #ffffff;
    transition: all 73ms ease-in-out;
}
.line-footer .social-link.newsletter .fa-envelope-open-text {
    color: #1a3663;
}
.line-footer .social-link.newsletter:hover .fa-envelope-open-text {
    color: #517ebc !important;
}

.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 */
}

p { text-indent: 2em; }

.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%
  );
}

/* ── 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;
}

/* ═══════════════════════════════════════════════════════════════
   BILLET FQSG — tous les styles sont scopés sous .billet-fqsg
   Aucune règle ici n'affecte le reste du site.
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables + conteneur lettre (816 × 1056 px = 8,5 × 11 po) ── */
.billet-fqsg {
  --billet-navy:       #1a3663;
  --billet-violet:     #ab3c83;
  --billet-teal:       #0ca3a3;
  --billet-navy-light: #e8edf5;
  --billet-text:       #222222;
  --billet-muted:      #5a6070;
  --billet-white:      #ffffff;
  --billet-border:     #d0d8e8;
  --billet-pad-h:      48px;
  --billet-pad-v:      36px;

  width: 816px;
  min-height: 1056px;
  margin: 0 auto;
  background: var(--billet-white);
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  color: var(--billet-text);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  box-shadow: 0 8px 48px rgba(26, 54, 99, .18), 0 2px 8px rgba(0,0,0,.07);
}

/* ── Reset interne uniquement ───────────────────────────────── */
.billet-fqsg *,
.billet-fqsg *::before,
.billet-fqsg *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Bandes de couleur ──────────────────────────────────────── */
.billet-fqsg .bar-top {
  height: 7px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--billet-navy) 0%, var(--billet-teal) 55%, var(--billet-violet) 100%);
}
.billet-fqsg .bar-bottom {
  height: 4px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--billet-violet) 0%, var(--billet-teal) 55%, var(--billet-navy) 100%);
}

/* ── En-tête logo ───────────────────────────────────────────── */
.billet-fqsg .header {
  padding: var(--billet-pad-v) var(--billet-pad-h) 24px;
  border-bottom: 1px solid var(--billet-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.billet-fqsg .header img {
  height: 64px;
  width: auto;
}
.billet-fqsg .header-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--billet-teal);
  border: 1.5px solid var(--billet-teal);
  padding: 7px 12px;
  line-height: 1.5;
  text-align: right;
}

/* ── Corps principal ────────────────────────────────────────── */
.billet-fqsg .body {
  padding: 0 var(--billet-pad-h) var(--billet-pad-v);
  flex: 1;
}

/* ── Titres ─────────────────────────────────────────────────── */
.billet-fqsg h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--billet-navy);
  line-height: 1.2;
  padding-top: 28px;
  padding-bottom: 10px;
}

.billet-fqsg h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--billet-violet);
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.billet-fqsg h2 .material-icons {
  font-size: 20px;
  color: var(--billet-violet);
}

.billet-fqsg h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--billet-navy);
  padding-top: 24px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.billet-fqsg h3 .material-icons {
  font-size: 16px;
  color: var(--billet-teal);
}
.billet-fqsg h3::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--billet-teal) 0%, transparent 100%);
}

/* ── Séparateur ─────────────────────────────────────────────── */
.billet-fqsg hr {
  border: none;
  border-top: 1px solid var(--billet-border);
  margin: 6px 0;
}

/* ── Bloc participant ───────────────────────────────────────── */
.billet-fqsg .participant-row {
  display: flex;
  gap: 40px;
  background: var(--billet-navy-light);
  padding: 16px 20px;
  margin-bottom: 6px;
}
.billet-fqsg .participant-row .field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--billet-muted);
  margin-bottom: 4px;
}
.billet-fqsg .participant-row .field-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--billet-navy);
}

/* ── Paragraphes ────────────────────────────────────────────── */
.billet-fqsg p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--billet-text);
  padding-bottom: 8px;
}
.billet-fqsg p strong {
  font-weight: 600;
  color: var(--billet-navy);
}
.billet-fqsg p a {
  color: var(--billet-teal);
  text-decoration: none;
}
.billet-fqsg p a:hover {
  text-decoration: underline;
}

/* ── Notice stationnement ───────────────────────────────────── */
.billet-fqsg .notice {
  background: #fff8e1;
  border-left: 3px solid #f0b429;
  padding: 12px 16px;
  margin: 4px 0 10px;
  font-size: 13px;
  line-height: 1.7;
  color: #5a4500;
}
.billet-fqsg .notice strong { color: #7a5c00; }
.billet-fqsg .notice a {
  color: #7a5c00;
  text-decoration: none;
}
.billet-fqsg .notice a:hover { text-decoration: underline; }

/* ── Liste horaire ──────────────────────────────────────────── */
.billet-fqsg ul.schedule {
  list-style: none;
  padding-bottom: 6px;
}
.billet-fqsg ul.schedule li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--billet-border);
}
.billet-fqsg ul.schedule li:last-child {
  border-bottom: none;
}
.billet-fqsg ul.schedule .time {
  font-weight: 700;
  color: var(--billet-navy);
  min-width: 86px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.billet-fqsg ul.schedule .desc {
  color: var(--billet-text);
  line-height: 1.45;
}
.billet-fqsg ul.schedule .desc em {
  font-style: normal;
  font-weight: 600;
  color: var(--billet-violet);
}

/* ── Pied de page ───────────────────────────────────────────── */
.billet-fqsg .footer {
  background: var(--billet-navy);
  color: rgba(255, 255, 255, .72);
  padding: 24px var(--billet-pad-h);
  font-size: 12.5px;
  line-height: 1.9;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
}
.billet-fqsg .footer .footer-name {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 700;
  color: var(--billet-white);
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.billet-fqsg .footer a {
  color: var(--billet-teal);
  text-decoration: none;
}
.billet-fqsg .footer a:hover {
  text-decoration: underline;
}