html, body { margin: 0; padding: 0;
  width: 100%; height: 100%;
  font-family: Arial, sans-serif; overflow-x: hidden; background: #b49fa0; scrollbar-width: thin;
  scrollbar-color: #000 transparent;
    animation: fadeInFast 0.8s ease forwards; 
}


@keyframes fadeInFast {from { opacity: 0; }to { opacity: 1; }}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: #000 ;
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background-color: #000 ;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.page_login .boutons input.submit {
    font-size: 16px;
    border: 0px;
    padding: 7px 15px;
    background-color: #FFF;
    transition: 0.2s background-color;
    border-radius: none;
    color: black;
    -webkit-appearance: none;
}

::selection{background: #2d8e5e  !important;color: #000 !important;}
::-moz-selection{background: #2d8e5e  !important;color: #000 !important;}
.spip-admin-bloc, .spip-admin-float{right:1% !important;}.spip-admin-boutons{margin:0;padding:.3em .3em !important;background:#666;border:0;font-weight:normal !important;border-radius:0 0 .2em .2em !important;opacity:.2 !important;font-size:12px; z-index:9999;}
ul.spip{list-style-type:square;}
ul.spip{list-style-type:none;padding-left:0; color:#000000; font-size:1.8em;  font-family: 'Phaser-Medium';margin-left:0;padding-left:7%;}
.spip-puce::before {color: #000;content:"\25CF";margin-right:5px;font-size:0.7em;}
ul.spip li::before{content:"\25CF";margin-right:5px;}

strong, b, .b{font-weight:none ;}

#icone_travaux{display:none;}

hr {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-inline-start: auto;
    margin-inline-end: auto;
    color:#000;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style:solid;
    border-width: 3px;
}



/* --------------------------------------------------
 TYPO /texte 
 ----------------------------------------------------- */
* {margin: 0;padding: 0;box-sizing: border-box;}
@font-face {
    font-family: 'Phaser-Bold';
    src: url("../../squelettes/webfont/Phaser-Bold.woff2") format('woff2'),
         url("../../squelettes/webfont/Phaser-Bold.woff") format('woff');
    font-weight: 700;
    font-style: bold;
}
@font-face {
  font-family: 'Phaser-Medium';
    src: url("../../squelettes/webfont/Phaser-Medium.woff2") format('woff2'),
         url("../../squelettes/webfont/Phaser-Medium.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

/* -------------------------------------------
Hyperliens 
---------------------------------------------- */
a, a:visited {color:#000; cursor: pointer; } 
a:focus, a:hover, a:active {cursor: pointer; color:#000 !important; 
background: none !important;  text-decoration: underline !important;}

a.mail{    font-family: 'Phaser-Bold';  font-size:1.8em;  }
a.spip_out:after, a.external:after {content: none;}

mark {color:#f398b5; background:none;}

p,.p  {margin-bottom: 1.1em; color:#000000; font-size:1.8em;  font-family: 'Phaser-Medium'; }  
.ps p {margin-bottom: 1.1em; color:#000000; font-size:1.1em;  font-family: 'Phaser-Medium'; }  
b { color: #00000; font-family: 'Phaser-Bold';}
strong{font-family: 'Phaser-Bold'; color: #00000; }   
small, .small {font-size: 75%;  color: #00000;}    

h1,.h1,h2,.h2,h4,.h4,h5,.h5,h6,.h6 {display: inline; margin: 0;padding: 0;font-size: 100%; color: #000 !important;}
h1,.h1 {font-size:3.5em;line-height: 1;margin-bottom: 0;  font-family: 'Phaser-Bold';  }
h2,.h2 {font-size:2em;color:#00000;line-height: 1;margin-bottom:0; font-family: 'Phaser-Bold';text-align:left;width: 100%;padding: 0 0; }
h3,.h3 {display: inline; margin: 0;padding: 0;font-size: 100%;font-size:1.1em;line-height: 1.3;
margin-bottom: 0;font-family: 'Phaser-Medium'; text-align:left;}


input,textarea,select,button { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color:#000;
padding: 3px;background:none;  font-size: 18px;width:100%; font-family: 'wotfardbold';}
#mc_embed_signup input .button {-webkit-appearance: none;color:#000;}
button{ padding:10px;background:#f59e30;border: none;}
button:hover { background:#ee7598; transition: opacity 0.3s ease;}
blockquote { min-height: 40px;background: none; border: none;padding-left: 3em;}


.spip_logo {float: left;margin: 0 0 10px 0;padding: 0;border: none;}

.logo_site img {
  opacity: 1;
  transition: opacity 0.1s ease;
}

.logo_site img.fade-out {
  opacity: 0;
}


/* --------------------------------------------------
contenaire general
---------------------------------------------- */
section { padding-top:128px; width:100%; position:relative; height:auto; display:block; } 

/* ---------------------- Sommaire ----------------------------- */ 

.image_sommaire{width:100%; height:100vh; position:fixed; overflow: hidden; } 
.image_sommaire img { width:100%; float:right;  height: 100%; object-fit: cover; object-position: center; display: block;}

/* ---------------------- 404 ----------------------------- */ 
.image_404{width:100%; height:auto; position:fixed; overflow: hidden; } 
.image_404 img { width:100%; height: auto; float:right; width: 100%; height: 100%; display: block;}
/* ---------------------- contact ----------------------------- */ 
/* --- Liens (image + texte) --- */
/* --- Liens (image + texte) --- */
.mail{
    display: flex;
    flex-direction: column;  /* empile image + texte */
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative; /* nécessaire pour le positionnement absolu interne */
}

/* wrapper pour empiler les images */
.picto_wrap {
    display: inline-block;
    position: relative;
    width: 180px;   /* largeur fixe du conteneur */
    height: 180px;  /* hauteur fixe du conteneur */
    line-height: 0; /* évite espacement ligne autour des images inline */
}

/* image normale (visible par défaut) */
.picto_normal {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 200px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.18s ease, transform 0.18s ease;
    display: block;
}

/* image hover (au-dessus, cachée par défaut) */
.picto_hover {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 200px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none; /* ne bloque pas le lien */
    display: block;
}

/* survol : faire apparaître l'image hover et masquer la normale */
.mail:hover .picto_hover {
    opacity: 1;
    transform: translateX(-50%) scale(1); /* possibilité d'animation */
}
.mail:hover .picto_normal {
    opacity: 0;
    transform: translateX(-50%) scale(0.98);
}



/* --- Bloc contact --- */

header.rubrique-3 {
    background-color: #2d8e5e;
}

.general_contact {
    background-image: url("../../IMG/contact.svg");/* chemin vers ton image */
    background-repeat: repeat; /* pour répéter l'image */
    background-size: auto;     /* taille normale de l'image */
    background-position: top:178px; /* position de départ */
    width: 100%;
    height: 100vh; /* ou la hauteur que tu souhaites */
}

.contact{
    position: absolute;
    top: 260px;
    width: 700px;
    height: 400px;
    background:#2d8e5e;
    border: 4px solid #000;
    display: flex;
    flex-direction: column;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Bandeau supérieur --- */
.contact-header{
    height: 150px;
    border-bottom: 4px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

/* --- Conteneur des colonnes --- */
.contact-columns{
    flex: 1;
    display: flex;
}

.contact-col{
    flex: 1;
    display: flex;
    flex-direction: column; /* empile image + lien */
    justify-content: center;
    align-items: center;
    gap: 10px; 
    padding: 10px 30px 10px 30px;
    box-sizing: border-box; 
}

/* Bordure entre les colonnes */
.contact-col:first-child{
    border-right: 4px solid #000;
}





/* --------------------------------------------------
sommaire zone déroulante
---------------------------------------------- */
.zone-deroulante {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px; /* hauteur initiale */
  background: #2d8e5e;
  color: #000;
  overflow: hidden;
  transition: transform 0.6s ease, height 0.6s ease;
  z-index: 30;
  cursor: pointer;
  padding: 0;

  transform: translateY(50px); 
  animation: fadeUpBandeau 0.8s ease forwards;
  animation-delay: 0.2s; 
}

@keyframes fadeUpBandeau {
  from {
    opacity: 0;
    transform: translateY(50px); /* vient du bas */
  }
  to {
    opacity: 1; /* opacité finale */
    transform: translateY(0); /* revient à sa place */
  }
}



/* Zone déroulante active : remonte depuis le bas */
.zone-deroulante.active {height: calc(100vh - 178px);   transform: translateY(-calc(100vh - 160px - 50px));}
.zone-contenu {height: 100%;display: flex;}

.zone-texte {
  width: 100%;height: 100%; background: #008eca;  padding: 0; margin:0;
  line-height: 1.5; text-align: left;margin: 0;
 position:relative;
    float:left;
    display:block;
}

.zone-texte .page-article { background-color: #b49fa0;}
.zone-deroulante:hover .zone-contenu {align-items: flex-start;}


.close-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 40px;
  font-weight: bold;
  color:#000;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  padding:10px 10px 10px 10px;
background:#d75e31;   
  transition: opacity 0.3s;
    border-radius:50%;
}

/* La croix n’apparaît QUE quand la zone est ouverte */
.zone-deroulante.active .close-btn {
  opacity: 1;
}


.mots-thematiques {
  display: inline-block; 
  text-align: left;
  width: 100%;
  padding: 0 10px 35px 10px;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d96804 rgba(0,0,0,0.0);
  word-wrap: break-word; /* permet le retour à la ligne entre mots */
}

.mots-thematiques span {
  display: inline; /* chaque phrase peut se casser naturellement */
  margin-right: 0.5em;
  font-family: 'Phaser-Bold';
  font-size: 2.8em;
  line-height: 1.1;
}

.mots-thematiques span a {
  color: #000;
  text-decoration: none;
  white-space: normal;  /* autorise le retour à la ligne */
  overflow-wrap: normal; 
  word-break: normal;
  hyphens: none;
}

.mots-thematiques span::after { content: " —"; }
.mots-thematiques span:last-child::after { content: ""; }

/* Flèches */
.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-family: 'Phaser-Bold';
  font-size: 1em;
  line-height: 1;
}

h2:hover .arrow,
.zone-texte:hover .arrow {
  transform: rotate(45deg);
}

.bandeau_rubrique {
  position: relative;
  background: #2d8e5e;
  width: 100%;
  height: 50px;
  padding: 0px 0px 0px 10px;
  display: flex;           /* aligne texte et flèche */
  align-items: center;
}

.image_fond {
    position:relative;
    float:left;
    display:block;
  width: 100%;
}

.image_fond img {
  width: 100%;
  height: auto;
  display: block;
}

/* Flèche */
.arrow_2 {
  display: inline-block;
  font-family: 'Phaser-Bold';
  font-size: 2em;
  line-height: 1;
  transition: transform 0.3s ease;
}

/* Rotation de la flèche au hover sur bandeau ou zone-texte */
.zone-texte:hover .arrow_2,
.bandeau_rubrique_sommaire:hover .arrow_2 {
  transform: rotate(45deg);
}

.bandeau_rubrique_sommaire {
  position: relative;
  background: #2d8e5e;
  width: 100%;
  height: 50px;
  padding: 0px 0px 0px 10px;
  display: flex;           /* aligne texte et flèche */
  align-items: center;     /* centre verticalement */
  gap: 0.5em;   
    
  
}




/* Texte dans le bandeau */
.bandeau_rubrique_sommaire p {
  font-family: 'Phaser-Bold';
  font-size: 2em;
  margin: 0;               /* supprime marges par défaut */
  display: flex;           /* pour aligner flèche avec texte */
  align-items: center;
  gap: 0.5em;
}




/* --------------------------------------------------
header 
---------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 245px;
  transition: height 0.6s ease;
  z-index: 20;
}

header.reduit {height: 178px; }
header.reduit .logo_site { width: 300px;}
header.rubrique-1 { background-color: #ad7075; } 
header.rubrique-2 { background-color: #7e8470; } 
header.rubrique-4 {background-color: #b49fa0;}
header.page-sommaire { background-color: #b49fa0 !important;} 




/* --------------------------------------------------
slogan defilenemnt
---------------------------------------------- */
.nom_slogan {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: all 0.6s ease;
}

/* Logo site */
.logo_site {
  width: 500px;
  height: auto;
  margin-top: 20px;
  transition: width 0.6s ease;
  float: left;
    Padding-left:10px;
    
          opacity: 0;
  transform: translateY(-30px);
  animation: fadeDownHeader 0.8s ease forwards;
  animation-delay: 0.2s; 
}

@keyframes fadeDownHeader {
  from {opacity: 0;transform: translateY(-30px);}
  to {opacity: 1;transform: translateY(0);}
}

/* Slogan */
.slogan-container {
  width: 100%;
     position: relative;
  overflow: hidden;
  display: flex;
    justify-content: center; 
  align-items: center;    
  gap: 80px;
  transition: transform 0.6s ease;
  border-top: 4px solid #000;
  height:53px;
  border-bottom: 4px solid  #000;
}

.slogan-track {
  display: flex;
  gap: 80px;
  align-items: center; 
position: relative;
  left: 50%;                     
  transform: translateX(-50%);   
  transform: translateX(-50%);
  animation: defilement 200s linear infinite;
}

@keyframes defilement {
  0% {transform: translateX(-50%);}
  100% {transform: translateX(0%);}
}


.slogan {
  display: inline-block;
  white-space: nowrap;
  font-size: 2em;
  line-height: 1.2em;
  font-family: 'Phaser-Bold';
  color: #000000;
  margin: 0;
  padding: 0 20px;
  align-items: center;
}

/* --------------------------------------------------
rubrique
---------------------------------------------- */
body.page-rubrique { background-color:#ad7075;}
body.page-apropos{ background-color:#7e8470;}


.bandeau, .bandeau_apropos, .bandeau_formats{
  position:fixed;float:left; /* ou fixed pour le fixe */
  background: #008eca;
  height: 51px;
  width: 100%;
  padding: 0 10px; /* padding top/bottom à 0 pour centrer verticalement */
  display: flex;
  align-items: center; /* centrage vertical */
  gap: 15px; /* espace entre logo et titre si présent */
  box-sizing: border-box; /* inclut padding dans la hauteur totale */
    z-index: 1; /* juste au-dessus du contenu */
    
}

.bandeau_formats { background-color:#2d8e5e;}
.bandeau_apropos { background-color: #d75e31; } 

/* titre */
.bandeau h2, 
.bandeau_apropos h2 {
  margin: 0;
  line-height: 1; /* évite que la ligne dépasse */
  font-family: 'Phaser-Bold';
    color:#000;  
    align-items: center;
}

/* Liens */
article a {
  text-decoration: none;
  color: #000;
  display: inline-block; /* permet d’appliquer la bordure underline */
}

/* Structure générale */
section.general, section.general_contact {
  padding-top:178px; text-align: left;
  display: flex;
  flex-wrap: nowrap;
  min-height: calc(100vh - 178px); /* hauteur totale - header */
  width: 100%;
}

/* Colonne gauche : liste d’articles */
.liste-articles, .liste-articles_formats {
  width: 50%;
  border-right: 4px solid #000;
  padding-top: 50px;
    overflow-y: auto;
}

.liste-articles_formats li:nth-child(odd) {
  background-color:  #008eca;
}

.liste-articles_formats li:nth-child(even) {
  background-color:#008eca;
}

.liste-articles ul, .liste-articles_formats ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.liste-articles li, .liste-articles_formats li {
  padding: 15px 0;
  padding-left: 10px; /* ← déplacé ici */
  border-bottom: 1px solid #000;
  cursor: pointer;
}


 .liste-articles_formats li {
  border-bottom: 3px solid #000;
  cursor: text;
}


.liste-articles li:hover {
    background: #2d8e5e;text-decoration: none;  
}

.liste-articles a {
  display: block;     
  width: 100%;
  height: 100%;
  color: #000;
}



.liste-articles a:hover {text-decoration: none !important;}
.liste-articles_formats a:hover {text-decoration: underline!important;}


/* Colonne droite : affichage de l’image */
.affichage-image {
  width: 50%;
  position: sticky;
  top: 178px; /* colle sous le header */
  height: calc(100vh - 178px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Faire en sorte que chaque container couvre toute la zone .affichage-image */
.logo_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;       
  height: 100%;     
  opacity: 0;
  visibility: hidden;
    padding-top:51px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* L'image remplit TOTALEMENT le container (largeur + hauteur) */
.logo_container img {
  display: block;
  width: 100%;            /* force 100% de la largeur du container */
  height: 100%;           /* force 100% de la hauteur du container */
  object-fit: cover;      /* recadrage centré sans déformation */
  object-position: center center;
    padding:0;
}

.logo_container.visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------
rubrique a propos
---------------------------------------------- */

/* Colonne droite : affichage de l’image */
.affichage-image_apropos {
  width: 50%;
  position: sticky;
  top: 178px; /* colle sous le header */
  height: calc(100vh - 178px);
  overflow: hidden;
}

/* Le container prend 100% de la place */
.logo_container_apropos {
  width: 100%;
  height: 100%;
    padding-top:51px;
}

/* L'image remplit totalement le container */
.logo_container_apropos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  padding: 0;
}


/* Colonne gauche : liste d’articles */
.a_propos{
  width: 50%;
  border-left: 4px solid #000;
  padding: 50px 10px 50px 10px;
    overflow-y: auto; }


/* --------------------------------------------------
articles 
---------------------------------------------- */
body.page-article { background-color: #d75e31; overflow-y: auto;}
ul#nav.page-article, header.page-article { background-color: #d75e31;}
header.reduit_relative .logo_site {width: 300px;}


section.general_article  {
  display: block;
    float:left;
  min-height: calc(100vh - 178px); /* hauteur totale - header */
  width: 100%;
     padding-top:0; text-align: left;
     overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d96804 rgba(0,0,0,0.0);
}

section.general_article {
  display: block;
  float: left;
  min-height: calc(100vh - 178px);
  width: 100%;
  padding-top: 0;
  text-align: left;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #d96804 rgba(0,0,0,0.0);
}

/* WebKit (Chrome, Edge, Safari, Opera) */
section.general_article::-webkit-scrollbar {
  width: 8px; /* largeur de la barre verticale */
}

section.general_article::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05); /* fond du rail */
}
section.general_article::-webkit-scrollbar-thumb {
  background-color: #d96804; /* couleur du curseur */
  border-radius: 4px;         /* coins arrondis */
  border: 2px solid rgba(0, 0, 0, 0); /* petit contour transparent pour l’effet relief */
  background-clip: padding-box;
}

section.general_article::-webkit-scrollbar-thumb:hover {
  background-color: #ff9a2b; /* couleur plus claire au survol */
}

.bandeau_article,
.bandeau_article_fix {
  position: relative; /* ou fixed pour le fixe */
  background: #008eca;
  height: 50px;
  width: 100%;
  padding: 0 10px; /* padding top/bottom à 0 pour centrer verticalement */
  display: flex;
  align-items: center; /* centrage vertical */
  gap: 15px; /* espace entre logo et titre si présent */
  box-sizing: border-box; /* inclut padding dans la hauteur totale */
  z-index: 1; /* juste au-dessus du contenu */
  justify-content: space-between; /* <-- ajout pour répartir titre / flèches */
}

.bandeau_article_fix {
  position: fixed;
  z-index:1;
  top: 0;
  left: 0;
}




.bandeau_article h2,
.bandeau_article_fix h2 {
  margin: 0;
  line-height: 1;
  font-family: 'Phaser-Bold';
  color:#000;    
}

.bandeau_article img,
.bandeau_article_fix img {
  height: 40px;
  width: auto;
}

.reduit_relative {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 178px; 
  transition: height 0.6s ease;
  z-index:30;
}



.fleche_pre_suiv {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 50px;
  height: 100%;
}

.fleche_pre_suiv a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* flèches sous forme d'images */
span.fleche_gauche,
span.fleche_droite {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  padding: 0 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  overflow: visible;
}

/* images personnalisées */
span.fleche_gauche {
  background-image: url("../../IMG/fleche-droite.png");
}

span.fleche_droite {
  background-image: url("../../IMG/fleche-gauche.png");
}

/* pseudo-élément pour les duplications */
span.fleche_gauche::after,
span.fleche_droite::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  pointer-events: none;
}

/* mêmes images pour les duplications */
span.fleche_gauche::after {
  background-image: url("../../IMG/fleche-droite.png");
}

span.fleche_droite::after {
  background-image: url("../../IMG/fleche-gauche.png");
}

/* animation sur survol */
span.fleche_gauche:hover::after {
  animation: echo-gauche 0.6s ease-out forwards;
}

span.fleche_droite:hover::after {
  animation: echo-droite 0.6s ease-out forwards;
}

/* animations */
@keyframes echo-droite {
  0% {
    opacity: 0.8;
    transform: translateX(0);
  }
  33% {
    opacity: 0.5;
    transform: translateX(-10px);
  }
  66% {
    opacity: 0.3;
    transform: translateX(-20px);
  }
  100% {
    opacity: 0;
    transform: translateX(-30px);
  }
}

@keyframes echo-gauche {
  0% {
    opacity: 0.8;
    transform: translateX(0);
  }
  33% {
    opacity: 0.5;
    transform: translateX(10px);
  }
  66% {
    opacity: 0.3;
    transform: translateX(20px);
  }
  100% {
    opacity: 0;
    transform: translateX(30px);
  }
}

.articles {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding-bottom:43px;
  margin: 0;
  line-height: 0;
}

.images-col .grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 800 / 1080; 
  overflow: hidden;  
  margin:0; padding:0;
    
      opacity: 0;
  transform: translateY(40px);
  animation: fadeUpImage 0.8s ease forwards;
  will-change: opacity, transform;
}

/* animation */
@keyframes fadeUpImage {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.images-col .grid-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* toujours 3 colonnes max */
  gap: 1px; /* espace entre les images */
    
}

.images-col .grid-item img {
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplit le cadre sans déformation */
  margin: 0;
  padding: 0;
  display: block;
}




/* colonne 1 */
.images-col .grid-item:nth-child(3n + 1) {
  animation-delay: 0s;
}

/* colonne 2 */
.images-col .grid-item:nth-child(3n + 2) {
  animation-delay: 0.4s;
}

/* colonne 3 */
.images-col .grid-item:nth-child(3n + 3) {
  animation-delay: 0.8s;
}


li.pdf{display: block; /* centrage vertical */}

.pdf_texte{  display: inline;align-items: center;height:auto;width:200px;   float:left; }
.pdf_texte_2{  display: block; width: 100%; height:47x; padding-top:10px; text-align:center; float:left; 
               position: relative; align-items: center; text-decoration: none; }
.pdf_texte img{   margin:0; width:100%; align-items: center;  }
.pdf_texte img:hover { transform: rotate(-5deg); transition: transform 0.3s ease;  }

h3.pdf {display: inline; margin: 0;padding: 0;font-size: 100%;font-size:1.2em;line-height: 1.3;align-items: center; /* centrage vertical */
margin-bottom: 0;font-family: 'Phaser-Bold'; text-align:center; textedecoration:none;}
.pdf_texte_2 a{ text-decoration: none; align-items: center;}

/* --------------------------------------------------
menu
---------------------------------------------- */

header.page-article {background-color: #d75e31;}
ul#nav.page-article {background-color: #d75e31;}


/* *******************  MENU ******************** */

ul#nav {
  display: inline-block;       /* le <ul> prend seulement la largeur de ses <li> */
  position: fixed;
  top: 50px;
  right: 100px;
  height: 40px;
  width: auto;
  z-index: 950;
  padding: 0 20px 0 20px;
  margin: 0;
    border-radius: 20px;
  list-style: none;
  white-space: nowrap;         /* empêche le retour à la ligne des <li> */
  background: transparent; 
  
}

/* les éléments du menu */
#nav li {
  display: inline-block;       /* garde les <li> alignés */
  vertical-align: middle;      /* centre verticalement le texte */
  margin: 0;                   /* on gère l’espacement uniquement avec margin-right */
  padding: 0;
  font-size: 1.5em;
  font-family: 'Phaser-Bold';
  color: #000000;
}

/* exactement 20px d’espace entre chaque <li> */
#nav li + li {
  margin-left: 20px;
}

#nav a {
  color: #000000;
  display: inline-block;
  text-decoration: none;
  line-height: 40px;           /* aide à centrer verticalement le texte */
}

#nav .current a,
#nav a:hover,
#nav a.on {text-decoration: underline;z-index: 950;}










/* --------------------------------------------------
responsive
---------------------------------------------- */

@media (max-width:1350px){ul#nav {right: 30px;}}
@media (max-width:1200px){.mots-thematiques span {font-size: 1.8em;}}
@media (max-width:1024px){ ul#nav {right: 0px; padding: 0 20px 0 0px;} #nav li + li {margin-left: 10px;} }


@media (max-width:900px){
.bandeau_article_fix{display:none;}
header.page-sommaire, header.reduit, .reduit_relative  {top: 35px;height: auto;}    
.logo_site  {width:100%; padding-right:10px;}
.logo_site img{width:100%;}
    
header.reduit .logo_site, header.reduit_relative .logo_site {width:100%; padding-right:10px;}
header.reduit {position:relative; }
header.page-sommaire {position:fixed; }
    
.nom_slogan {height: auto;}
.bandeau, .bandeau_apropos, .bandeau_formats { position: absolute;}
    
p, .p {font-size: 1.5em;}
h2, .h2 { font-size:1.5em;  line-height: 0.8;margin-bottom: 0;padding: 0 0;}    
.bandeau h2,
.bandeau_apropos h2 {line-height: normal;}
.bandeau_rubrique_sommaire p {font-size: 1.5em;}

.zone-deroulante.active {height: calc(100vh - 190px); transform: translateY(-calc(100vh - 160px - 50px));}    
    
ul#nav {display: flex;position: fixed; border-radius:0px; background:#008eca;
top: 0;right: 0;width: 100%;height: 40px;padding: 0 0 0 0;}
ul#nav.page-article {background-color: #008eca;}
    
#nav li { flex: 1 1 25%; display: flex;          
  justify-content: center;align-items: center;
  padding: 7px 5px 5px 5px;font-size: 1.4em;
  border-right: 3px solid #000;border-bottom: 3px solid #000; 
}
#nav li:last-child {border-right: none;}
#nav li + li {margin-left: 0px;} 
    
.slogan {font-size: 1.5em;line-height: 1.2em;}
.slogan-container {border-top: 3px solid #000;height: 43px;border-bottom: 3px solid #000;} 
.mots-thematiques span {font-size: 1.5em;}
    
section.general, section.general_article {
    padding-top: 35px;
    min-height: calc(100vh - 30px);
    display: block;
}    

/* rubrique concept*/
.liste-articles, .liste-articles_formats {
    width: 100%;
    padding-top: 50px;
    border-right:none;
}
 
    
.liste-articles a {margin-left: 0px; padding-left:10px;}
    
.affichage-image {
    width: 100%;
    position: relative;
    top:0;
    height: 100vh;
}
    
.liste-articles li {
    padding: 13px 0 7px;
    border-bottom: 1px solid #000;
    padding-left: 0px; /* ← déplacé ici */
}


    
.a_propos {
    width: 100%;
    border-left: 0px solid #000;
    padding: 10px 10px 50px 10px;
}    
     /* rubrique apropos*/
    
.affichage-image_apropos {
    width: 100%;
    position: relative;
    top: 0px;
    height: auto;
}
    
.contact {
    position: absolute;
    top: 70px;
    width: 80%;
}
     
    
/* Ratio portrait : 800/1080 = 1.35 → donc 135% pour tablette safari*/    
.images-col .grid-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}


.images-col .grid-item::before {
    content: "";
    display: block;
    padding-bottom: 135%;
}

.images-col .grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
    
.logo_container { padding-top: 0px;}
    
    
}

@media (max-width:750px){
    
.image_404 {width: 100%;height: auto;position:absolute;}
a.mail {font-size: 1em;}
.contact {height: 350px;}    
.contact-col {padding: 10px 10px 10px 10px;}    
.picto_wrap { display: inline-block; position: relative;width: 100px;height: 100px;}  
.picto_normal, .picto_hover {height: 100px;width: auto;}
    
.fleche_pre_suiv {gap: 10px;padding-right: 10px;}
.images-col .grid-images {grid-template-columns: repeat(2, 1fr);} 
    
}


@media (max-width:550px){
#nav li {
        flex: 1 1 25%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 7px 5px 5px 5px;
        font-size: 1.3em;
        border-right: 3px solid #000;
        border-bottom: 3px solid #000;
    }
}



