#entete,
#content,
#footer{
/* max-width:1280px; */
width:100%;
margin:auto;
}

#corps{
padding-top:80px;
overflow-x: clip;
transition:all ease .5s;
}
#corps:has(.page.home){
padding-top:0;	
}


.intro{
max-width:320px;
text-align:left;
align-self:center;
height:100%;
padding:30px 50px 30px 30px;
}
.intro p, .intro li, .intro strong{color:white;} 
.intro h2,.intro h3,.intro h4{color:var(--jaune);} 

.greyBkg,
.greyBkgIntro{
background:var(--gris);	
}
.greyBkgIntro{
padding-top:100px;
padding-bottom:50px;	
}


.breadcrumb{
width:100%;
max-width:1280px;
margin:auto;
padding:30px 0 0 0;
box-sizing:border-box;
position:relative;
}
.breadcrumb *{
font-size:0.8em;
color:var(--bleu3);	
}
.breadcrumb a:hover{
color:var(--bleu2);	
}
.breadcrumb::before{
content:'';
background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7.5' fill='none' stroke='%23e71d73' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpolygon points='9.32 8.95 6.68 7.05 11.12 3.65 9.32 8.95' stroke='%23e71d73' stroke-linecap='round' stroke-linejoin='round' fill='%23e71d73'/%3E%3Cpolygon points='9.32 8.95 6.68 7.05 4.88 12.35 9.32 8.95' fill='none' stroke='%23e71d73' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");	
background-repeat:no-repeat;
width:16px;
height:16px;
display:inline-block;
background-size:cover;
vertical-align:middle;
margin-right:3px;
}


.slideshow{
width:100%;
display:inline-block;
position:relative;
/* height:380px; */
float:left;
}
.slideshow .diaporama{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
list-style:none;
padding:0;
margin:0;
z-index:1;
}

.slideshow .diaporama > li{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}
.slideshow .diaporama > li picture,
.slideshow .diaporama > li img{
display:block;
width:100%;
height:100%;
}
.slideshow .diaporama > li img{
object-fit:cover;
object-position:center;
}

.page .complet{
display:flex;
width:100%;
max-width:1280px;
margin:auto;	
}
.complet:has(.ss-slideshow){
width:100%;
max-width:none;	
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Home : diplomas filter box over the slideshow Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬
   .horsFlux keeps the 1280px centered width of .page .complet but takes
   no height : the box is anchored on its right edge (= Menu button) and
   rises over the bottom of the slideshow. */
@media (min-width:861px){
  .page .complet.horsFlux{
    position:relative;
    z-index:6;              /* above the slideshow (arrows / dots = 5) */
    height:0;
    padding:0;
    margin-top:0;
    margin-bottom:0;
    background:none;
    overflow:visible;
  }
  .page .complet.horsFlux > .dpl-accueil{
    position:absolute;
    right:0;
    bottom:-24px;           /* overlaps the grey slanted edge, as in the mockup */
    width:480px;
    max-width:none;
    font-size:1.05rem;
    padding:30px 22px 26px 22px;
  }
  /* Types on a single line, like the mockup */
  .page .complet.horsFlux .dpl-filtre-types{
    flex-wrap:nowrap;
  }
}

/* Mobile : back in the flow, under the slideshow */
@media (max-width:860px){
  .page .complet.horsFlux{
    background:none;
    padding:0 16px;
  }
  .page .complet.horsFlux > .dpl-accueil{
    margin:-30px auto 20px auto;
    position:relative;
    z-index:6;
  }
}


/* Ã¢â€â‚¬Ã¢â€â‚¬ Home slideshow : fixed text block Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬Ã¢â€â‚¬ */
/* Home slideshow : fixed text placed in a virtual 1280px container,
   centered like .entete, instead of the full slideshow width */
.page.home .ss-box-fixe{
--ss-wrap:min(100%, 1280px);
left:calc((100% - var(--ss-wrap)) / 2 + var(--ss-wrap) * var(--ss-bx) / 100);
width:calc(var(--ss-wrap) * var(--ss-bw) / 100);
}
/* Home slideshow : fixed text placed in a virtual 1280px container,
   centered like .entete, instead of the full slideshow width.
   !important : the inline left/width written by the widget would win otherwise.
   Desktop only : below 769px the widget forces a full-width centered box. */
@media (min-width:769px){
  .page.home .ss-box-fixe{
    --ss-wrap:min(100%, 1280px);
    left:calc((100% - var(--ss-wrap)) / 2 + var(--ss-wrap) * var(--ss-bx) / 100)!important;
    width:calc(var(--ss-wrap) * var(--ss-bw) / 100)!important;
  }
}

.ss-box-fixe .ss-box-text{
text-align:left;
}

/* Training paths : colored badges */
.ss-box-fixe .parcours{
list-style:none;
margin:0 0 14px 0;
padding:0;
display:flex;
flex-direction:column;
align-items:flex-start;
gap:6px;
}
.ss-box-fixe .parcours li{
margin:0;
padding:0;
}
.ss-box-fixe .parcours a{
display:inline-block;
padding:4px 10px;
border-radius:2px 2px 12px 2px;
font-size:clamp(.7rem, .9vw, .85rem);
font-weight:700;
line-height:1.3;
letter-spacing:.02em;
text-transform:uppercase;
text-decoration:none;
text-shadow:none;
color:white;
transition:transform ease .3s, filter ease .3s;
}
.ss-box-fixe .parcours li:nth-child(1) a{background:var(--rose, #e71d73);}
.ss-box-fixe .parcours li:nth-child(2) a{background:#005f71;}
.ss-box-fixe .parcours li:nth-child(3) a{background:#009dc5;}
.ss-box-fixe .parcours a:hover{
transform:translateX(6px);
filter:brightness(1.1);
}

/* Tagline with the pointing hand */
.ss-box-fixe .doigt{
margin:0;
font-size:clamp(1.8rem, 3.4vw, 3.2rem);
font-weight:700;
line-height:1;
letter-spacing:-.01em;
text-shadow:0 2px 14px rgb(0 0 0 / .35);
}
/* Pointing hand (Fichier_33.svg inlined) */
.ss-box-fixe .doigt::after{
content:"";
display:inline-block;
width:1em;
aspect-ratio:60.05 / 40.82;
margin-left:.2em;
vertical-align:-.04em;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60.05 40.82'%3E%3Cpath d='M17.9,1.1h17a3.78,3.78,0,0,1,3.59,4l0,.67a3.77,3.77,0,0,1-4,3.63H25l30.11-.08A3.89,3.89,0,0,1,59,13.16v.33a3.88,3.88,0,0,1-3.87,3.87H36.4a3.88,3.88,0,0,1,3.87,3.87v.32a3.88,3.88,0,0,1-3.87,3.87H34.2a3.68,3.68,0,1,1,0,7.35H30.3a3.39,3.39,0,0,1,3.53,3.47A3.7,3.7,0,0,1,30,39.72H21.63C5.64,39.72,1.1,29,1.1,20.64,1.1,9.34,6.77,1.1,17.9,1.1Z' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
filter:drop-shadow(0 2px 8px rgb(0 0 0 / .35));
}


.FAQ{
max-width:960px!important;	
}
.page .complet .img2{
width:55%;
max-height:400px;
/* background:#e6d3d3; /*debug*/ */
}
.page .complet .max{
width:100%;
max-width:1280px;
padding:50px 30px;
}

.page .complet .txt{
width:45%;
/* background:#bed0ca; /*debug*/ */
}
.page .complet .max .txt{
width:55%;
/* background:#bed0ca; /*debug*/ */
}
.page .complet .img2 img{
object-fit:cover;
object-position:top left;	
}

.article_intro{
background:var(--gris);	
}


.page .txt.noMedia{
width:100%!important;
padding:0 20px;	
}

.page .complet:has(.reviews){
display:block;
}
.page .complet:has(.reviews) .txt{
/* background:#ff00004d; */
margin:0;
padding:0 0 40px 0;
}

.complet{
background:var(--gris2);
}
.complet .txt{
background:none;	
}

.colorDark h5 a{
color:var(--text);	
border:1px solid var(--text);
}

/* fullBkg */
.page .complet.fullBkgImage {
width: 100%;
max-width: none;
padding:0;
}
.fullBkgImage {
position: relative;
padding: 80px 40px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 480px;
box-sizing: border-box;
overflow: hidden;
}
.fullBkgImage>.fullBkg {
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none
}

.fullBkgImage img{
object-fit: cover;
object-position: center
}
#corps .fullBkgImage .txt {
animation: slideInRight 1ms linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%;
z-index: 2!important;
background:#ffffffe0;
border-radius:16px;
border: 1px dashed var(--debug)
}


@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes slideInBottom {
    from { opacity: 0; translate: -50% 100px; }
    to   { opacity: 1; translate: -50% 0; }
}


.complet:has(.formulaire){
/* background:linear-gradient(To right, var(--bleu3), var(--bleu))!important;	 */
}
.complet:has(.formulaire) *{
color:var(--bleu3);
}
/* Message de confirmation : le fond bleu (.fondBleu) est désactivé -> texte foncé */
.formulaire.merci *{color:var(--bleu3);}
.formulaire.merci h2,
.formulaire.merci h2 *{color:var(--bleu);}
.formulaire.merci p,
.formulaire.merci p *{color:var(--bleu3);}
/* Le message remplace le formulaire dans un .complet flex : pleine largeur, sinon collé à gauche */
.complet:has(> .txt > .formulaire.merci),
.txt:has(> .formulaire.merci){
flex:1 1 100%;
width:100%;
}
.formulaire.merci{
text-align:center;
}
.formulaire{
max-width:720px;	
margin:15px auto 30px auto;
text-align:left;
}
.formulaire .eForm{
margin-bottom:24px;
}
.formulaire label{
display:block;
margin-top:16px;
}
.formulaire input,
.formulaire textarea{
width:100%;
display:block;
border-radius:1em;
border:none;
padding:12px;
text-align:left;
border:1px solid var(--bleu3);
}
.formulaire input{
padding:8px 12px;	
border-radius:.5em;
}
.formulaire textarea{
border-radius:.5em;
height:120px;	
}
.formulaire p{
max-width:720px;	
width:100%;	
margin:auto;
}
.formulaire .no-eForm p *{
font-size:.8em;	
}
.formulaire .no-eForm small{
font-size:12px;	
}
.formulaire .no-eForm small strong{
font-size:inherit;	
}

.formulaire input[type="submit"]{
width:auto;
background:var(--bleu);
border:1px solid var(--bleu);
color:var(--blanc);
display:block;
margin:30px auto 0 auto;
font-weight:800;
font-size:1.4em;
text-transform:uppercase;
padding:6px 20px;	
transition:all ease 0.5s;
cursor:pointer;
}
.formulaire input[type="submit"]:hover{
background:var(--rose);
border:1px solid var(--rose);
filter:drop-shadow(0px 4px 12px #e61d737d);
padding:6px 36px;		
}


/* squarelinks */

.squarelinks{
max-width:1280px;
padding:0;
text-align:center;
margin:50px auto;
position:relative;
display:flex;
flex-wrap:wrap;
justify-content:center;
/* gap:20px; */
}

.picto .img2,
.pictoClic .img2{
width:86px!important;
height:86px!important;
margin:0px auto 30px auto!important;	
transition:all ease .5s;
}
.center{
text-align:center!important;	
}
.full{
width:100%!important;
/* background:red; */
}
.full .txt{
width:100%!important;	
}
.noPadding > *{
padding:0!important;	
}
.noMargin > *{
padding:0!important;	
}

.picto:hover .img2,
.pictoClic:hover .img2{
transform:scale(1.1);
}
.picto:hover,
.pictoClic:hover{
/*a animer avec background-position:*/
}

.demi{
width:50%;	
text-align:left;
}

.demi .img2{
width:50%;
margin:30px auto 0 auto;	
}
.demi .txt{padding:30px;}

.tiers{
width:320px;
display:inline-block;
vertical-align:top;
margin:20px;
padding:10px 10px 40px 10px;
transition:all ease 0.5s;
position:relative;
text-align:left;
}

.quart{
width:23%;
display:inline-block;
vertical-align:top;
margin:20px;
/* padding:20px; */
transition:all ease 0.5s;
/* cursor:pointer; */
position:relative;
text-align:left;
}
.quart.picto,
.quart.pictoClic{
width:240px;
}
.quart.picto:hover,
.quart.pictoClic:hover{
transform:translateY(-8px);	
}

.squarelinks .none{ 
padding:0;
}

.cinquieme{
width: calc(20% - 20px);
vertical-align:top;
margin:10px 0;
transition:all ease 0.5s;
position:relative;
}




.page .demi .bloc,
.page .tiers .bloc,
.page .quart .bloc,
.page .cinquieme .bloc{
display:inline-block;
}
.page .tiers .img2,
.page .quart .img2,
.page .cinquieme .img2{
margin-bottom:15px!important;	
}
.page .demi .img2{
width:calc(100% - 60px);
margin-bottom:0px;
}
.page .demi .img2 img{
object-fit:contain;		
}

.txt ul,
.txt ol{
	list-style-type:none;
	padding-left:0;
	margin-bottom:5px;
}

.txt ol{
	counter-reset: txtol;
}

/* on cible uniquement les enfants DIRECTS, pas tous les descendants */
.txt ul > li,
.txt ol > li{
	margin-bottom:5px;	
	padding-left:1.5em;
	position:relative;
}
.txt ul.diaporama > li{
	padding-left:0;	
}

.txt ol > li{
	counter-increment: txtol;
}

.txt ul > li:before{
	content:'';
	position:absolute;
	top:7px;
	left:8px;	
	width:8px;
	height:8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23004c88'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 10px 10px;
	display:block;
}
.txt ul.diaporama > li:before{
display:none;
}

.txt ol > li:before{
	content: counter(txtol)".";
	position:absolute;
	top:0;
	left:0px;
	width:1.5em;
	text-align:right;
	padding-right:0.3em;
	box-sizing:border-box;
}

.tiers .theme{
background:linear-gradient(to right, var(--bleu3), var(--bleu));
text-align:left;
color:white;
font-weight:600;
padding:8px 10px;
border-radius:8px;
margin-bottom:6px;
font-weight:700;
}
.tiers .theme::before{
content:'';
background-image:url(images/pZig.svg);
background-repeat:no-repeat;
background-size:contain;
background-position:center;
width:1.2em;
height:1.2em;
display:inline-block;
vertical-align:bottom;
margin-right:5px;
}
.tiers .img2{
width:100%;
margin-bottom:12px;
border-radius:8px;
height:220px;
/* overflow:hidden; */
transition:all ease 0.5s;    
}
.tiers .img2 img{
transition:all ease 0.5s;    
object-fit:contain;
/* height:220px; */
width:100%;
}
.tiers:hover .img2 img{
transform:scale(105%);
}

p a{
color:inherit;  
text-decoration:none;  
}
/* Liens : même graisse que le texte autour (ex. lien dans un <strong>).
   base.css remet font-weight:400 sur tous les éléments (*), ce qui empêchait l'héritage.
   Les liens qui ont leur propre graisse (boutons, menu…) gardent la leur (sélecteurs plus précis). */
a,
a span,
a em,
a i,
a u{
font-weight:inherit;
}
/* …et la même couleur que le lien (le <span> souligné de l'éditeur gardait la couleur de texte par défaut via *) */
a span,
a em,
a i,
a u{
color:inherit;
}
/* Liens dans les textes : rose au survol (y compris le <span> souligné ajouté par l'éditeur).
   Boutons (.bouton) et liens-boutons (h5) exclus, même si l'éditeur a glissé un <span> entre eux et le lien : ils ont leur propre survol.
   !important : les accordéons forcent la couleur de leur contenu (FAQ en !important). */
:is(.txt, .dpf-texte, .accordeon-content) a:not(.bouton a, h5 a):hover,
:is(.txt, .dpf-texte, .accordeon-content) a:not(.bouton a, h5 a):hover *{
color:var(--bleu2)!important;   /* liens roses au repos (voir « Liens dans les textes »), bleus au survol */
}

/* standard */
.fondBleu{
/* background-color:var(--bleu)!important;	 */
}

.colorDark *{
color:var(--text);	
}
.colorDark h5 a:hover{
color:var(--text);	
border-color:var(--text);	
}

.colorBright *{
color:var(--blanc);	
}
.colorBright h5 a:hover{
color:var(--blanc);	
border-color:var(--blanc);	
}


.none{
position: relative;
/* padding:0px 0 50px 0!important;
margin-bottom:50px; */
/* padding:50px 0 0 0; */
}

.groupe{
z-index:5;
position: relative;
padding:30px 0;
/* padding:0px 0 50px 0!important; */
/* margin-bottom:50px; */
width:100%;
/* min-height:480px; */
}

.groupe:is(.fondBleu){
background:linear-gradient(to bottom, var(--bleu), var(--bleu3));
}
.none:has(.fondBleu){
background:linear-gradient(to bottom, var(--bleu), var(--bleu3));
}

.none:has(.fondBleu)::after{
  content:'';
  position:absolute;
  bottom:0;
  right:0;
  height:280px;
  width:120px;
  background-repeat:no-repeat;
  background-position:right bottom;
  background-size:100% 100%;
  background-image:url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20259.2%20587.9'%20preserveAspectRatio='none'%3E%3Cpolygon%20points='259.2%20587.9%20259.18%200%2058.26%20587.9%20259.2%20587.9'%20fill='%23088bcc'/%3E%3Cpolygon%20points='29.34%20587.9%20172.24%20169.78%20142.9%20169.78%200%20587.9%2029.34%20587.9'%20fill='%23e63728'/%3E%3C/svg%3E");
}

.fondBleu *{
color:white;	
}
.fondBleu .txt a:hover{
color:var(--bleu2);
}
.fondBleu h5 a{
border-color:white;	
}
.fondBleu h5 a:hover{
color:var(--bleu)!important;
border-color:white;
background:white;
}

.fondBleu .txt ul > li:before{
	content:'';
	position:absolute;
	top:7px;
	left:8px;	
	width:8px;
	height:8px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23088bcc'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: 10px 10px;
	display:block;
}
/* Puces roses sur les bandeaux colorés (fond foncé : la puce bleue ne se voit pas) */
.colorBright .txt ul > li:before{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23E61D73'/%3E%3C/svg%3E");
}


/* .none:has(+ .squarelinks),
.groupe:has(.squarelinks){
margin-top:100px;
padding-bottom:0px!important;
} */


.imgCover .img2 img{
object-fit:cover!important;
object-position:center center!important;
}
.imgContain .img2 img{
object-fit:contain!important;
object-position:center center!important;
}

.complet:has(.img2),
.gauche:has(.img2),
.droite:has(.img2){
display:flex;
max-width:1280px;
}

/* .img2{outline:2px solid lime;}
.txt{outline:2px solid magenta;} */

.complet .img2{
min-height:280px;
/* animation: slideInLeft 1ms linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%; */
}
.page .complet.article_intro{
  align-items:stretch;               /* in case an align-items:center is inherited */
}
.page .complet.article_intro .img2{
  align-self:stretch;
  flex:1 1 auto;
  position:relative;                 /* required for the absolute img */
  height:auto;
  min-height:0;                      /* neutralises the 480px */
  max-height:none;
  overflow:hidden;
}
.page .complet.article_intro .img2 picture{
  display:contents;                  /* <picture> no longer counts as a box */
}
.page .complet.article_intro .img2 img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;                  /* not contain, otherwise empty bands in the bevel */
}
.imgMaxHeight360 img{
max-width:360px;	
margin:auto;
}


/* ---------- Colored band (.complet in a .colorBright group) ----------
   Text on the left on the group color, slanted rounded image on the right,
   overflowing the top of the band and bleeding to the right edge of the window.
   The image shape comes from the slanted-image rules (see the actualites section). */
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro){
align-items:center;
gap:50px;
background:none;
}
.page .groupe:has(.complet){
margin-top:50px;	
}
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .txt{
order:1;
flex:0 0 42%;
width:42%;
padding:40px 0 40px 30px;
box-sizing:border-box;
}
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .img2{
order:2;
flex:1 1 auto;
width:auto;
max-height:none;
aspect-ratio:3 / 2;
--pan-angle:-3deg;
--pan-scale:1.1;
--pan-radius:14px;
/* -70px : group padding (30px) + 40px over the top of the band */
margin:-70px min(0px, calc((1280px - 50%) / 2)) 10px 0;
}
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .img2 picture{
display:block;
width:100%;
height:100%;
}
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .img2 img{
object-position:center;
}
/* Pink pill button, as on the mockup */
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) .bouton a{
background:var(--rose);
border:none;
color:#fff;
padding:6px 18px;
font-weight:700;
text-transform:none;
}
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) .bouton a:hover{
background:var(--bleu3);
color:#fff;
}


.droite .img2{
min-height:280px;
/* animation: slideInLeft 1ms linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%; */
}
.gauche .img2{
max-height:320px;
/* animation: slideInRight 1ms linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%; */
}


/* complet > fond bleu+pics arrondis*/
.none .fondBleu{
width:100%;
text-align:center;	
display:flex;
flex-wrap:wrap;
gap: 40px;
padding:20px 0;
max-width:960px;
}
.none .fondBleu .txt{
/* background:white; */
border-radius:16px;
text-align:left;
box-sizing:border-box;
display:block;
align-content:center;
align-items:center;
margin:auto;
flex:1;
}
.none .fondBleu .img2{
flex:1;
margin:30px 0;
background:none;
/* border:1px solid #bcbcbc52;	 */
border-radius:16px;
overflow:hidden;
box-shadow:4px 4px 16px rgb(37 25 61);
}
.none .fondBleu .img2 img{
object-fit:cover!important;	
}

/* droite */
.gauche .bloc .none,
.droite .bloc .none{
text-align:center;	
display:flex;
flex-wrap:wrap;
gap: 40px;
padding:20px 0;
max-width:960px;
width:100%;
direction:ltr;
margin:auto;
}
.droite .bloc .none{
direction:rtl;
}
.gauche .bloc .none .txt,
.droite .bloc .none .txt{
/* background:white; */
border-radius:16px;
text-align:left;
box-sizing:border-box;
display:block;
align-content:center;
align-items:center;
margin:auto;
flex:1;
padding:20px;
direction:ltr;
}
.gauche .bloc .none .img2,
.droite .bloc .none .img2{
flex:1;
margin:30px 0;
background:none;
/* border:1px solid #bcbcbc52;	 */
border-radius:16px;
overflow:hidden;
box-shadow:4px 4px 16px rgb(169 158 142);
}
.gauche .bloc .none .img2 img,
.droite .bloc .none .img2 img{
object-fit:cover!important;	
}

/* ---------- .gauche / .droite : image beside the text ----------
   .gauche = image on the left, .droite = image on the right, whatever the order
   in the HTML (the text comes first). The side is set with `order` instead of
   direction:rtl. On mobile (<= 960px) the image goes on top (see RESPONSIVE). */
.gauche .bloc .none,
.droite .bloc .none{
direction:ltr;
flex-wrap:nowrap;
align-items:center;
gap:50px;
max-width:1140px;
padding:40px 20px;
box-sizing:border-box;
}
.gauche .bloc .none .txt,
.droite .bloc .none .txt{
flex:1 1 45%;
margin:0;
padding:20px 0;
border-radius:0;        /* the old .droite rule rounded the text box, not .gauche */
}
/* Image shown whole (cut-out PNG, illustrationsâ€¦) : no crop, no frame */
.gauche .bloc .none .img2,
.droite .bloc .none .img2{
flex:1 1 55%;
align-self:stretch;
min-height:320px;
max-height:none;
margin:0;
border-radius:0;
box-shadow:none;
overflow:visible;
}
.gauche .bloc .none .img2 img,
.droite .bloc .none .img2 img{
object-fit:contain!important;
object-position:center;
}
.gauche .bloc .none .txt h2,
.droite .bloc .none .txt h2{
color:var(--bleu2);
font-size:1.6em;
line-height:1.15;
}
.gauche .bloc .none .txt p,
.droite .bloc .none .txt p{
color:var(--bleu3);
}
/* Pink pill button, as on the mockups */
.gauche .bloc .none .bouton a,
.droite .bloc .none .bouton a{
background:var(--rose);
border:none;
color:#fff;
padding:6px 18px;
font-weight:700;
text-transform:none;
}
.gauche .bloc .none .bouton a:hover,
.droite .bloc .none .bouton a:hover{
background:var(--bleu3);
color:#fff;
}

/* ---------- .article_intro (outside the home page) : same layout as .droite ----------
   Text on the left, whole image on the right (the side is forced in the
   desktop block below). */
.page:not(.home) .complet.article_intro{
align-items:center;
gap:50px;
max-width:1140px;
padding:40px 20px;
box-sizing:border-box;
}
.page:not(.home) .complet.article_intro > .txt{
flex:1 1 45%;
width:auto;
margin:0;
padding:20px 0;
border-radius:0;
}
.page:not(.home) .complet.article_intro > .img2{
flex:1 1 55%;
width:auto;
align-self:stretch;
min-height:320px;
max-height:none;
margin:0;
border-radius:0;
box-shadow:none;
overflow:visible;
}
.page:not(.home) .complet.article_intro > .img2 img{
object-fit:contain!important;
object-position:center;
}
.page:not(.home) .complet.article_intro > .txt :is(h1, h2){
color:var(--bleu2);
line-height:1.15;
}
.page:not(.home) .complet.article_intro > .txt h2{
font-size:1.6em;
}
.page:not(.home) .complet.article_intro > .txt p{
color:var(--bleu3);
}
.page:not(.home) .complet.article_intro .bouton a{
background:var(--rose);
border:none;
color:#fff;
padding:6px 18px;
font-weight:700;
text-transform:none;
}
.page:not(.home) .complet.article_intro .bouton a:hover{
background:var(--bleu3);
color:#fff;
}

/* Sides, desktop only (on mobile the image always goes on top) */
@media (min-width:961px){
  .gauche .img2{ order:-1; }
  .droite .img2{ order:2; }
  /* article_intro (except on the home page) : image always on the right,
     whether the block is a .complet, a .gauche or a .droite */
  .page:not(.home) .article_intro .img2{ order:2; }
  .page:not(.home) .article_intro .txt{ order:1; }
}


/* actualites : cards on 3 columns */
.actualites{
display:grid;
grid-template-columns:repeat(3, minmax(0, 1fr));
gap:50px 60px;
width:100%;
padding:40px 0 20px 0;
text-align:left;
}
.actualites .actu-elem{
position:relative;
display:flex;
flex-direction:column;
padding-bottom:14px;
border-bottom:2px solid #8a98a3;
cursor:pointer;
}
/* "ACTU" picto over the top left corner of the image */
.actualites .actu-elem::before{
content:"";
position:absolute;
/* SVG avec contour blanc : cadre élargi de 4 unités, lettres à la même taille/place qu'avant */
top:-21.5px;
left:10.5px;
width:100px;
height:67.5px;
background:url(/images/picto-actu.svg?v=2) no-repeat left bottom / contain;
z-index:1;
pointer-events:none;
}
/* ---------- Slanted image with rounded corners (cartes actus, bandeau colorBright) ----------
   A clip-path polygon cannot have rounded corners : the box is skewed instead
   (top and bottom edges rise to the right, sides stay vertical) and border-radius
   works on it. The image is skewed back so it stays straight, and scaled up a
   little so it still covers the slanted corners.
   --pan-angle  : slope (negative = rising to the right)
   --pan-radius : corner radius
   --pan-scale  : image zoom needed to cover the corners (raise it for a steeper slope) */
.actualites .actu-elem .img2,
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .img2{
--pan-angle:-2.5deg;
--pan-radius:12px;
--pan-scale:1.08;
overflow:hidden;
border-radius:var(--pan-radius);
transform:skewY(var(--pan-angle));
}
.actualites .actu-elem .img2 img,
.page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .img2 img{
display:block;
width:100%;
height:100%;
object-fit:cover!important;
transform:skewY(calc(var(--pan-angle) * -1)) scale(var(--pan-scale));
transition:transform .5s;
}

/* Actu image : size of the card */
.actualites .actu-elem .img2{
width:100%;
aspect-ratio:7 / 5;
margin:6px 0 20px 0;    /* the skew overflows the box by a few px at the top and bottom */
}
.actualites .actu-elem .img2 picture{
display:block;
width:100%;
height:100%;
}
.actualites .actu-elem:hover .img2 img{
transform:skewY(calc(var(--pan-angle) * -1)) scale(calc(var(--pan-scale) + .05));
}
/* Tiers avec photo (pas les pictos .picto / .pictoClic) : même effet pans coupés + coins arrondis
   ex. « Ils ont vécu l'expérience Erasmus+ » */
.squarelinks .tiers:not(.picto, .pictoClic) .img2:has(img){
--pan-angle:-2.5deg;
--pan-radius:12px;
--pan-scale:1.08;
overflow:hidden;
border-radius:var(--pan-radius);
transform:skewY(var(--pan-angle));
margin-top:8px;    /* le biais dépasse de quelques px en haut */
}
.squarelinks .tiers:not(.picto, .pictoClic) .img2:has(img) picture{
display:block;
width:100%;
height:100%;
}
.squarelinks .tiers:not(.picto, .pictoClic) .img2:has(img) img{
display:block;
width:100%;
height:100%;
object-fit:cover!important;
transform:skewY(calc(var(--pan-angle) * -1)) scale(var(--pan-scale));
transition:transform .5s;
}
.squarelinks .tiers:not(.picto, .pictoClic):hover .img2:has(img) img{
transform:skewY(calc(var(--pan-angle) * -1)) scale(calc(var(--pan-scale) + .05));
}
/* Paragraphe « bouton » vide (sans lien) saisi dans l'éditeur : ne crée pas de trou sous la photo */
.squarelinks .txt p.bouton:not(:has(a)){
display:none;
}
.actualites .actu-elem-inf{
flex:1;
display:flex;
flex-direction:column;
align-items:flex-start;
}
.actualites .actu-elem-inf .date{
display:block;
margin:0 0 6px 0;
font-size:.85em;
font-weight:400;
text-transform:uppercase;
color:var(--rose);
}
.actualites .actu-elem-inf .categorie{
display:block;
margin:0 0 6px 0;
font-size:.85em;
}
.actualites .actu-elem-inf .titre{
margin:0 0 6px 0;
font-size:1.35em;
font-weight:800;
line-height:1.15;
color:var(--bleu3);
}
/* Excerpt cut at 4 lines */
.actualites .actu-resume{
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-clamp:4;
overflow:hidden;
margin-bottom:14px;
color:var(--bleu3);
}
.actualites .actu-resume p{
margin:0;
color:inherit;
}
/* Pink pill buttons : "Lire la suite" sticks to the bottom so the lines align */
.actualites .actu-suite,
.actualites-voirtout{
display:inline-block;
padding:5px 14px;
border-radius:999px;
background:var(--rose);
color:#fff!important;
font-size:1em;
font-weight:700;
text-decoration:none!important;
transition:all 0.3s;
}
.actualites .actu-suite{
margin-top:auto;
}
.actualites .actu-elem:hover .actu-suite,
.actualites .actu-suite:focus-visible,
.actualites-voirtout:hover,
.actualites-voirtout:focus-visible{
background:var(--bleu3);
transform:translateX(6px);
}
.actualites .noFlex{
grid-column:1 / -1;
text-align:center;
}

/* agenda */
.agenda{
width:100%;
text-align:center;
}


/* Layout */
.complet .txt{
    width:50%;
    padding:50px;
    direction:ltr;
    align-content:center;
    border:1px dashed var(--debug); /* debug */
}

/* Animation only if the parent does NOT have .noAnim */
.complet:not(.noAnim) .txt{
	position:relative;
    /* animation: slideInRight 1ms linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
	z-index:2!important; */
}
.gauche:not(:has(.img2)) .txt,
.droite:not(:has(.img2)) .txt{
max-width:1280px;
margin:auto;	
}
.gauche:has(.img2) .txt{
width:50%;
padding:50px;
direction:ltr;
align-content:center;
border:1px dashed var(--debug); /* debug */
/* animation: slideInLeft 1ms linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%; */
}

.droite:has(.img2) .txt{
width:50%;
padding:50px;
direction:ltr;
align-content:center;
border:1px dashed var(--debug); /* debug */
/* animation: slideInRight linear both;
animation-timeline: view();
animation-range: entry 0% cover 30%; */
border-radius:1em;
}

.droite,
.gauche{
    width:100%;
    max-width:1280px;
    margin:auto;
    position:relative;
    align-content:center;
    z-index:2;
    /* padding-bottom:50px; */
}


/* resume */
.squarelinks-page{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:30px;
max-width:1280px;
margin:0 auto 50px auto;
z-index:10;
position:relative;
}
.squarelinks-page .wall-page-resume{
flex:0 0 calc((100% - 60px) / 3);
box-sizing:border-box;
/* background:white; */
padding:10px;
border-radius:24px;
text-align:left;
}
.wall-page-resume .bloc{
display:block;	
}
.wall-page-resume .img2{
max-height:220px;
overflow:hidden;
border-radius:16px!important;
margin-bottom:8px;
}

.bloc{
position:relative;
display:flex;
margin:auto;
align-items:center;
width:100%;
}

.complet .img2,
.gauche .img2,
.droite .img2{
width:50%;
position:relative;
object-fit:contain;
}

.complet .img2 svg,
.gauche .img2 svg,
.droite .img2 svg{
max-height:240px;
object-fit:contain;
}
.complet .img2 picture,
.gauche .img2 picture,
.droite .img2 picture{
position:absolute;
inset:0;
width:100%;
height:100%;
overflow:hidden;
}
.complet img,
.gauche img,
.droite img{
width:100%;
height:100%;
object-fit:cover
}

.diapo
strong{
font-weight:700;
font-size:inherit;
color:inherit;
}
.download{
display:block;
/* background:red;	 */
}
.download .elem{
display:block;
margin:16px 0;	
}
.download .elem a{
background:var(--bleu);
transition:all ease .5s;
color:white;
text-decoration:none;
padding:4px 32px 4px 10px;
border-radius:2em;
font-weight:500;
position:relative;
background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17.2 20.96'%3E%3Cpath d='M13.9 20.48H3.3A2.81 2.81 0 0 1 .48 17.67V3.3A2.82 2.82 0 0 1 3.3.48H9l7.69 7.69v9.5A2.81 2.81 0 0 1 13.9 20.48Z' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='0.96px'/%3E%3Cpath d='M9 2.48V5.71a2.46 2.46 0 0 0 2.46 2.46h3.23' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='0.96px'/%3E%3C/svg%3E");
background-repeat:no-repeat;
background-position:calc(100% - 8px);
background-size:18px 18px;
box-sizing:border-box;
}
.download .elem a:hover{
background-color:var(--rose);	
}
/* .download .elem a:hover{
background:var(--bleu3);	
} */

.tiers:hover{
background:white;
transform:translateY(-10px);
}
.page .tiers:hover{
background:none;
transform:none;	
}
.page .tiers:not(:has(h5)) {
padding: 10px;
}
.article_intro:has(.txt.noMedia){
padding:0;	
}

h1,
h2{
font-family: "Outfit", sans-serif;
font-optical-sizing: auto;
font-style: normal;
line-height:1.1em;
margin-bottom:10px;
} 
h3{
line-height:1.2em;
margin-bottom:5px;
font-weight:800;
} 
h4,
h5{
line-height:1.2em;
margin-bottom:10px;
font-weight:700;
} 
h1{
font-size:2.5em;
font-weight:700;
color:var(--bleu3);
}
h2{
font-size:1.9em; 
font-weight:700;
color:var(--bleu3);
}
.fondBleu h2{
color:white;
} 
h3{
color:var(--bleu2);
font-size:1.3em; 
}
h4{
font-size:2em; 
font-weight:300;
margin-bottom:5px;
}
p{
margin-bottom:10px;	
}
p strong,
li strong{
font-weight:700; 
color:var(--bleu)   
}

/*ex H5 */
.bouton{
display:inline-block;
margin:0 10px 0 0;
transition:all ease 0.5s;
}
.bouton:hover{
filter:drop-shadow(0px 4px 12px #2f63b74a);	
}
.bouton a{
display:inline-block;
color:white;
padding:6px 16px;
text-decoration:none;
text-transform:uppercase;
font-size:.9em;
margin:8px 0;
font-weight:500;
transition:all ease 0.3s;
border-radius:100em;
background:var(--rose);
position:relative;
}
.bouton a:hover{
transform:translateX(6px);
background:var(--bleu);
color:white;
}
.boutonRose .bouton a{
background:var(--rose);
border:none;
color:white;	
font-size:1em;
padding:8px 24px;
}
.boutonRose .bouton a:hover{
transform:translateX(6px);
background:var(--bleu3)!important;
color:white;
}
.boutonDoigt .bouton a::before{
content:'';
left:-48px;
position:absolute;
display:block;
width:64px;
height:48px;
background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78.65 60.66'%3E%3Cpath d='M21.16 9.79C29.75 6 39.87 1.84 39.87 1.84a5 5 0 0 1 6.5 2.64l.34.81a5 5 0 0 1-2.64 6.5L41 13.14a86.54 86.54 0 0 0-8.14 4.12c-1.92 1.15-1.2 2.090 1.59 2.09H72.14a5.08 5.08 0 0 1 5.07 5.07v.42a5.09 5.09 0 0 1-5.07 5.08H47.66A5.08 5.08 0 0 1 52.73 35v.42a5.08 5.08 0 0 1-5.07 5.07H44.78a4.83 4.83 0 1 1 0 9.640H39.66a4.45 4.45 0 0 1 4.63 4.54 4.85 4.85 0 0 1-5.07 4.55H28.31C7.34 59.22 1.44 47.91 1.44 37S6.54 16.18 21.16 9.79Z' fill='%23fff' stroke='%2300223b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.89px'/%3E%3C/svg%3E");
background-repeat:no-repeat;
background-size:contain;
top:50%;
transform:translateY(-50%);
}
/* Back and forth loop on hover / keyboard focus */
.boutonDoigt .bouton a::before,
.boutonDoigt .bouton a:focus-visible::before{
animation:dpfCtaPoint .8s ease-in-out infinite;
}
@keyframes dpfCtaPoint{
0%, 100%{ transform:translate(0, -50%); }
50%{ transform:translate(10px, -50%); }
}
/* No motion for users who asked for it */
@media (prefers-reduced-motion:reduce){
.boutonDoigt .bouton a:hover::before,
.boutonDoigt .bouton a:focus-visible::before{
animation:none;
transform:translate(10px, -50%);
}
}


/* h5 a[target="_blank"]{
padding-right:48px;
background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 25 25' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12.5' cy='12.5' fill='%233fa9f5' r='12.5'/%3E%3Cg fill='%23153f55'%3E%3Cpath d='m6.12 12.46h11.84v1h-11.84z' transform='matrix(.70710678 -.70710678 .70710678 .70710678 -5.64 12.31)'/%3E%3Cpath d='m16.89 15.05-1.2-.04.21-5.91-5.91.22-.04-1.2 7.2-.27z'/%3E%3C/g%3E%3C/svg%3E");background-size:26px 26px;
background-repeat:no-repeat;
background-position:calc(100% - 8px);
} */


.lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:#042543f2;}
.lightbox.open{display:flex}
.lightbox figure{margin:0;max-width:90vw;max-height:90vh;text-align:center}
.lightbox img{max-width:90vw;max-height:85vh;object-fit:contain}
.lightbox figcaption{color:#fff;margin-top:.5em}
.lightbox button{position:absolute;background:none;border:0;color:#fff;font-size:3rem;cursor:pointer;padding:1rem}
.lb-close{top:0;right:0}
.lb-prev{left:0;top:50%;transform:translateY(-50%)}
.lb-next{right:0;top:50%;transform:translateY(-50%)}


.diaporama{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:15px;
padding:15px;
}
.diaporama li{
list-style-type:none!important;
padding:0;
margin:0;	
}
.diaporama li::before{
content:none;
display:none;	
}
.diaporama li{
width:160px;
height:160px;	
/* background:red; */
align-content:center;
overflow:hidden;
object-fit:cover;
border:1px solid var(--bleu3);
border-radius:8px;
transition:all ease .5s;	
}
.diaporama li img{
transition:all ease .5s;	
height:100%;
object-fit:cover;
}
.diaporama li:hover{
border:1px solid var(--bleu);	
}
.diaporama li:hover img{
transform:scale(1.1);
}


.pictoCertification .diaporama{
display:flex;
flex-wrap:wrap;
justify-content:center;
align-items:center;
gap:5px;
padding:30px 0 0 0;
width:70%;
}
.pictoCertification .diaporama li picture{
display:contents;
}
.pictoCertification .diaporama li{
width:90px;
height:50px;
border:none;
margin:0;
display:flex;
align-items:center;
justify-content:center;
}
.pictoCertification .diaporama li a{
display:flex;
align-items:center;
justify-content:center;
width:100%;
height:100%;
}
.pictoCertification .diaporama li img{
width:auto;
height:auto;
max-width:100%;
max-height:100%;
object-fit:contain;
}


/* Pastilles */
 


/*accordeon */
.none:has(.FAQ){
background-image:url(/images/background-faq.webp);
background-position:center;
background-repeat:no-repeat;
background-size:cover;
background-attachment:fixed;
padding:30px 0;
}
.none:has(.FAQ) h2{
color:white;	
margin-bottom:30px;
}
.none:has(.FAQ) h5{
margin-top:30px;
text-align:center;
width:100%;
}
.none:has(.FAQ) h5 a{
color:white;
border-color:white;
}
.none:has(.FAQ) h5 a:hover{
background:none;	
}

.accordeon{
background:var(--blanc);
margin-bottom:7px;
padding:10px;
border-radius:1em;  
box-sizing:border-box;
}
.accordeon p{
color:var(--text)!important;
font-size:95%;	
}
.accordeon h3{
color:var(--bleu2);
font-size:1em;	
}
.accordeon p:last-child {
margin-bottom:0;	
}

.accordeon .accordeon-toggle{
cursor:pointer;
margin-bottom:0;   
position:relative;
padding-right:30px;
line-height:1em; 
position:relative;
transition:all ease .3s;
}

.accordeon .accordeon-toggle::after{
background-image: url("data:image/svg+xml,%3Csvg height='800' viewBox='-20 -20 552 552' width='800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23088bcc' d='m256 0c-141.163 0-256 114.837-256 256s114.837 256 256 256 256-114.837 256-256-114.837-256-256-256zm79.083 271.083-106.667 106.666c-4.16 4.16-9.621 6.251-15.083 6.251-5.461 0-10.923-2.091-15.083-6.251-8.341-8.341-8.341-21.824 0-30.165l91.585-91.584-91.584-91.584c-8.341-8.341-8.341-21.824 0-30.165s21.824-8.341 30.165 0l106.667 106.667c8.341 8.341 8.341 21.823 0 30.165z'/%3E%3C/svg%3E");background-repeat:no-repeat;
background-position:center;
background-size:contain;
width:32px;
height:32px;
content:'';
display:block;
position:absolute;
top:50%;
right:-7px;
transition:all ease .5s;
transform:translateY(-50%);
}
.accordeon .accordeon-toggle.open::after,
.accordeon .accordeon-toggle:hover::after{
background-image: url("data:image/svg+xml,%3Csvg height='800' viewBox='-20 -20 552 552' width='800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23004c88' d='m256 0c-141.163 0-256 114.837-256 256s114.837 256 256 256 256-114.837 256-256-114.837-256-256-256zm79.083 271.083-106.667 106.666c-4.16 4.16-9.621 6.251-15.083 6.251-5.461 0-10.923-2.091-15.083-6.251-8.341-8.341-8.341-21.824 0-30.165l91.585-91.584-91.584-91.584c-8.341-8.341-8.341-21.824 0-30.165s21.824-8.341 30.165 0l106.667 106.667c8.341 8.341 8.341 21.823 0 30.165z'/%3E%3C/svg%3E");background-repeat:no-repeat;
transform:translateY(-50%) rotate(90deg);
}
.accordeon .accordeon-toggle:hover{
color:var(--bleu)!important;	
}
.accordeon .accordeon-toggle.open{
color:var(--bleu)!important;
}
.accordeon .accordeon-content{
display: none; 
padding:0 30px 0px 0px;
}
.accordeon .accordeon-content *{
color:var(--text);	
}
.accordeon .accordeon-content[style*="display: block"]{
padding-top:.5em;	
}
.accordeon .accordeon:has(> .accordeon-toggle){
background-color:#eef3fa;
}
.accordeon .accordeon .accordeon:has(> .accordeon-toggle){
background-color:#dde9f7;
}
.dpf-main .bouton a{
color:white;
background: var(--rose)!important;
border:none;
}
.dpf-main .bouton a:hover{
color:white;
background: var(--bleu)!important;
border:none;
}

/* ---------- Slanted group (.pansCoupes) ----------
   Same slope as the header and the footer CTA : both edges rise to the right */
/* The clip is on a ::before layer, not on the group itself : the content
   (e.g. the FAQ picto) can then overflow the slanted edges */
.groupe.pansCoupes{
position:relative;
isolation:isolate;
background-color:transparent!important;   /* the color moves to ::before */
padding-top:calc(var(--pente) + 40px)!important;
padding-bottom:calc(var(--pente) + 40px)!important;
}
.groupe.pansCoupes::before{
content:"";
position:absolute;
inset:0;
z-index:-1;
background:var(--fade-color, var(--gris));   /* --fade-color = group color set in the admin */
clip-path:polygon(0 var(--pente), 100% 0, 100% calc(100% - var(--pente)), 0 100%);
pointer-events:none;
}

/* ---------- FAQ ---------- */
.page .complet.FAQ{
position:relative;
max-width:860px!important;
}
/* "Questions frÃƒÂ©quentes" picto, top left, overlapping the list edge */
.FAQ::before{
content:"";
position:absolute;
top:-90px;
right:calc(100% - 30px);
width:220px;
height:120px;
background:url(/images/picto-questions-frequentes.svg) no-repeat center / contain;
pointer-events:none;
z-index:1;
}
.FAQ .accordeon{
margin-bottom:10px;
padding:8px 12px 8px 22px;
border-radius:20px;
}
.FAQ .accordeon .accordeon-toggle{
display:flex;
align-items:center;
min-height:24px;
padding-right:40px;
font-size:.95em;
font-weight:700;
line-height:1.25;
color:var(--bleu3)!important;
}
.FAQ .accordeon .accordeon-toggle::after{
width:28px;
height:28px;
right:-4px;
background-image:url("data:image/svg+xml,%3Csvg viewBox='-20 -20 552 552' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2300233a' d='m256 0c-141.163 0-256 114.837-256 256s114.837 256 256 256 256-114.837 256-256-114.837-256-256-256zm79.083 271.083-106.667 106.666c-4.16 4.16-9.621 6.251-15.083 6.251-5.461 0-10.923-2.091-15.083-6.251-8.341-8.341-8.341-21.824 0-30.165l91.585-91.584-91.584-91.584c-8.341-8.341-8.341-21.824 0-30.165s21.824-8.341 30.165 0l106.667 106.667c8.341 8.341 8.341 21.823 0 30.165z'/%3E%3C/svg%3E");
}
.FAQ .accordeon .accordeon-toggle.open::after{
background-image:url("data:image/svg+xml,%3Csvg viewBox='-20 -20 552 552' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2300233a' d='m256 0c-141.163 0-256 114.837-256 256s114.837 256 256 256 256-114.837 256-256-114.837-256-256-256zm79.083 271.083-106.667 106.666c-4.16 4.16-9.621 6.251-15.083 6.251-5.461 0-10.923-2.091-15.083-6.251-8.341-8.341-8.341-21.824 0-30.165l91.585-91.584-91.584-91.584c-8.341-8.341-8.341-21.824 0-30.165s21.824-8.341 30.165 0l106.667 106.667c8.341 8.341 8.341 21.823 0 30.165z'/%3E%3C/svg%3E");
}
.FAQ .accordeon .accordeon-toggle.open::after,
.FAQ .accordeon .accordeon-toggle:hover::after{
background-image:url("data:image/svg+xml,%3Csvg viewBox='-20 -20 552 552' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23e71d73' d='m256 0c-141.163 0-256 114.837-256 256s114.837 256 256 256 256-114.837 256-256-114.837-256-256-256zm79.083 271.083-106.667 106.666c-4.16 4.16-9.621 6.251-15.083 6.251-5.461 0-10.923-2.091-15.083-6.251-8.341-8.341-8.341-21.824 0-30.165l91.585-91.584-91.584-91.584c-8.341-8.341-8.341-21.824 0-30.165s21.824-8.341 30.165 0l106.667 106.667c8.341 8.341 8.341 21.823 0 30.165z'/%3E%3C/svg%3E");
}
.FAQ .accordeon .accordeon-toggle.open,
.FAQ .accordeon .accordeon-toggle:hover{
color:var(--bleu2)!important;	
}
.FAQ .accordeon .accordeon-content{
padding:0 40px 6px 8px;
}
.FAQ .accordeon .accordeon-content,
.FAQ .accordeon .accordeon-content *{
color:var(--bleu3)!important;
}


/* partenaires */
.partenaires{
width:100%;
padding:50px 0; 
display:block;   
}
.partenaires .bloc{
display:flex;
max-width:1280px;
margin:auto;
align-items:center;
justify-content:center;
}

.partenaires .txt{
width:auto;
position:relative;
padding:15px 50px;   
}
.partenaires .txt::after{
content:'';    
position:absolute;
top:10%;
right:0;
height:80%;
border-left:1px solid var(--bleu3);
}
.partenaires .txt:last-child::after{content:none;}

.partenaires .diaporama{
list-style-type:none;
width:100%;    
}
.partenaires .diaporama li:before{content:none;}
.partenaires .diaporama li{
list-style-type:none;
width:140px;
height:140px;	
align-content:center;
overflow:hidden;
object-fit:contain;
border:none;
border-radius:0px;
}
.partenaires .diaporama li img{object-fit:contain;}
.partenaires .diaporama li:hover{border:none}
.diaporama li:hover img{transform:none}

#backToTop{
position:fixed;
bottom:55px;
right:20px;
width:35px;
height:35px;
z-index:999;
cursor:pointer;
background-image: url("data:image/svg+xml,%3Csvg height='26.5' viewBox='0 0 26.5 26.5' width='26.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m22.97 0h-19.44c-1.95 0-3.53 1.58-3.53 3.53v19.43c0 1.95 1.58 3.53 3.53 3.53h19.43c1.95 0 3.53-1.58 3.53-3.53v-19.43c0-1.95-1.58-3.53-3.53-3.53zm-5.96 13.2v9.39h-7.52v-9.39h-5.54l9.3-9.3 9.3 9.3z' fill='%23E61D73'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
}
#backToTop img{
display:none;   
}
#backToTop:hover{
opacity:.8;    
}

/* ---------- Footer ---------- */
/* CTA band : pink stripe on the slanted top edge, light blue line on the slanted bottom one */
.footCta{
--fc-stripe:12px;
--fc-line:2px;
position:relative;
isolation:isolate;
margin-top:60px;
padding:calc(var(--pente) + 36px) 20px calc(var(--pente) + 44px) 20px;
text-align:center;
/* Under the bottom slant : same grey as #footer */
background:linear-gradient(to bottom, transparent 50%, var(--gris) 50%);
}
.footCta::before,
.footCta::after{
content:"";
position:absolute;
inset:0;
z-index:-1;
pointer-events:none;
}
/* Edge colors : pink on top, light blue at the bottom */
.footCta::before{
background:linear-gradient(to bottom, var(--rose) 50%, var(--bleu3) 50%);
clip-path:polygon(0 var(--pente), 100% 0, 100% calc(100% - var(--pente)), 0 100%);
}
/* Navy fill, inset by the stripe on top and by the line at the bottom */
.footCta::after{
background:var(--bleu3);
clip-path:polygon(0 calc(var(--pente) + var(--fc-stripe)), 100% var(--fc-stripe), 100% calc(100% - var(--pente) - var(--fc-line)), 0 calc(100% - var(--fc-line)));
}
.footCta-in > *{
margin:0;
color:#fff;
text-align:center;
}
.footCta-in > :first-child{
font-weight:700;
font-size:1.1em;
}
/* Phone number : last line of the CTA text */
.footCta-in > :last-child:not(:first-child){
margin-top:6px;
font-size:clamp(2em, 3.6vw, 2.8em);
font-weight:300;
letter-spacing:.03em;
line-height:1.1;
}
.footCta-in a{
color:#fff;
font-size:inherit;
font-weight:inherit;
text-decoration:none;
}
.footCta-in a:hover{
color:var(--rose);
}

/* Logos institutionnels / partenaires (groupe 2732, see logosFromGroupe)
   Desktop : static gallery limited to the body width, one row per article.
   The 2nd .logosPart-set is the copy used by the <=960px marquee only. */
.logosPart{
--lp-h:90px;
--lp-gap:40px;
max-width:1280px;
margin:80px auto 0 auto;
padding:0 30px;
box-sizing:content-box;
}
.logosPart-row + .logosPart-row{
margin-top:40px;
}
.logosPart-set{
display:flex;
flex-wrap:wrap;
justify-content:space-between;
align-items:center;
gap:30px var(--lp-gap);
margin:0;
padding:0;
list-style:none;
}
.logosPart-set[aria-hidden]{
display:none;
}
.logosPart-set li{
flex:none;
margin:0;
padding:0;
}
.logosPart-set li::before{
content:none;
}
.logosPart-set a,
.logosPart-set picture{
display:block;
}
.logosPart-set img{
display:block;
width:auto;
height:calc(var(--lp-h) * var(--s, 1));
max-width:240px;
object-fit:contain;
}
.logosPart-set a img{
transition:opacity .2s;
}
.logosPart-set a:hover img,
.logosPart-set a:focus-visible img{
opacity:.7;
}
.logosPart + .footCta{
margin-top:50px;
}
@keyframes logosPartDefil{
from{transform:translateX(0)}
to{transform:translateX(-50%)}
}

/* Grid : logo + address | sitemap | social + Saint Jacques logo */
#footer{
display:grid;
grid-template-columns:minmax(0, 1.2fr) minmax(0, 1.4fr) auto;
gap:30px 50px;
align-items:start;
max-width:none;
margin:0;
padding:40px max(30px, calc((100% - 1280px) / 2)) 30px;
box-sizing:border-box;
background:var(--gris);
text-align:left;
}
#footer *{
font-size:1em;
color:var(--bleu3);
text-align:left;
}
#footer a{
text-decoration:none;
}
#footer a:hover{
color:var(--rose);
}
#footer h3{
font-size:1.2em;
font-weight:700;
}

/* Col 1 : logo + address */
#footer .col1 .img2{
display:block;
width:290px;
max-width:100%;
margin-bottom:14px;
}
#footer .col1 .img2 img,
#footer .col1 .img2 svg{
display:block;
width:100%;
height:auto;
}
#footer .infos{
font-size:.9em;
}
#footer .infos p{
margin:0;
}

/* Sitemap : flat list on 2 columns, sub-pages at the same level */
#footer .liens{
padding-top:6px;
font-size:.9em;
}
#footer .liens ul{
list-style:none;
margin:0;
padding:0;
}
#footer .liens > ul{
column-count:2;
column-gap:40px;
}
#footer .liens li{
margin:0 0 2px 0;
break-inside:avoid;
}
#footer .liens li li{
margin-left:0;
}
#footer .liens li a{
font-weight:400!important;
}

/* Col 3 : social on top, Saint Jacques logo under it */
#footer .col2{
display:flex;
flex-direction:column;
align-items:flex-end;
gap:24px;
}
#footer .col2 .img2{
width:150px;
}
#footer .col2 .img2 img{
display:block;
width:100%;
height:auto;
}

#footer + .last{
background:var(--gris);
}


body .infos .liens{
position:relative;
right:0;
bottom:0; 
top:0;
margin-top:15px;
display:block;
}


/* Sitemap en 2 colonnes identiques */
.sitemap ul li{
padding:3px;
display:inline-block;
}
.sitemap a {
text-decoration: none;
color:var(--dore);
}


.copyright{
display:block;
height:30px;
bottom:0;
left:0;
width:100%;
background:linear-gradient(to right, var(--bleu3), var(--bleu));
align-content:center;
text-align:center;
}
.lastLinks{
display:block;
padding:15px 0;
list-style-type:none;
text-align:center;
	
}
.lastLinks a{
color:var(--bleu);
font-size:0.8em;
opacity:.8;
}
.copyright *{
color:var(--text);
font-size:.9em;
}

/* social */
#footer .social{
display:flex;
align-items:center;
}
#footer .social a{
display:block;
width:32px;
height:32px;
border:none;
padding:0;
margin:0 0 0 8px;
}
#footer .social a:hover{
transform:none;  
}
#footer .social a svg{    
fill:var(--bleu3);
display:block;
}
#footer .social a:hover svg{    
fill:var(--rose);
}


/* ==========================================================
   RESPONSIVE
   All breakpoints live here ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â no @media elsewhere in the file
   ========================================================== */

/* ---------- <= 1200px : FAQ picto above the list ---------- */
@media screen and (max-width: 1200px) {
  .page .complet.FAQ { flex-wrap: wrap; }
  .FAQ::before {
    position: static;
    display: block;            /* <=860px .complet passe en display:block : sans ça le ::before redevient inline (invisible) */
    flex: 0 0 100%;
    width: 100%;
    height: 90px;
    margin-bottom: 16px;
  }
}

/* ---------- Reduced motion: global, not tied to a width ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .logosPart-track { animation: none !important; }
  .logosPart-row { overflow-x: auto !important; }
  .logosPart-set[aria-hidden] { display: none !important; }
}

/* ==========================================================
   <= 960px : tablet ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â everything stacks
   ========================================================== */
@media screen and (max-width: 960px) {
  /* --- article_intro : image on top, text under it (like .droite) --- */
  .page:not(.home) .complet.article_intro { flex-direction: column; gap: 20px; padding: 30px 20px; }
  .page:not(.home) .complet.article_intro > .img2 { flex: none; min-height: 240px; }
  .page:not(.home) .complet.article_intro > .txt { flex: none; }

  /* --- .gauche / .droite : image on top, text under it --- */
  .gauche .bloc .none,
  .droite .bloc .none { flex-direction: column; flex-wrap: wrap; gap: 20px; padding: 30px 20px; }
  .gauche .bloc .none .img2,
  .droite .bloc .none .img2 { min-height: 240px; align-self: stretch; }

  /* --- Colored band : image on top (still overflowing the band), text under it --- */
  .page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) { flex-direction: column; gap: 0; }
  .page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .img2 {
    order: 0;
    width: calc(100% - 40px) !important;
    margin: -50px 20px 0 20px;
  }
  .page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .txt { flex: none; padding: 30px 20px !important; }


  /* --- Global --- */
  #corps {
    padding-top: 100px;
    overflow-x: clip;
    background-attachment: scroll; /* fixed backgrounds are broken on iOS */
  }
  .none:has(.FAQ) {
    background-attachment: scroll;
  }

  /* Kill scroll-driven animations */
  .complet:not(.noAnim) .txt,
  .complet .img2,
  .gauche:has(.img2) .txt,
  .gauche .img2,
  .droite:has(.img2) .txt,
  .droite .img2,
  #corps .fullBkgImage .txt {
    animation: none !important;
    animation-timeline: auto !important;
    animation-range: initial !important;
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
  }

  .none .fondBleu,
  .actualites {
    padding: 0;
  }
  .page .complet .max { padding: 0 !important; }
  .squarelinks {
    margin: 0 auto;
  }

  h1 { font-size: 2em; }
  h2 { font-size: 1.6em; }
  h3 { font-size: 1.2em; }
  h4 { font-size: 1.6em; }

  /* --- Header: intro + slideshow --- */
  .intro {
    max-width: none;
    width: 100%;
    padding: 20px 30px;
  }
  .slideshow {
    float: none;
    min-height: 320px;
  }

  /* --- Section spacing --- */
  .none,
  .groupe {
    position: relative;
    padding: 0 0 30px 0 !important;
    margin-bottom: 30px;
  }
  .none:has(.complet),
  .groupe:has(.complet),
  .none:has(.fullBkgImage),
  .groupe:has(.fullBkgImage) {
    padding: 0 !important;
    margin-bottom: 0;
  }
  .none:has(+ .squarelinks),
  .groupe:has(.squarelinks) {
    margin-top: 0;
    padding-bottom: 0 !important;
  }
  .groupe:has(.none) .none {
    margin-top: 0 !important;
    margin-bottom: 0;
  }
  .bkgColor { margin-bottom: 0 !important; }
  .bkgColor > .squarelinks { margin: 0 !important; }
  [class~="fadeTop"] + div { margin-top: 0 !important; }
  .none:has(.noPadding) .txt { padding: 0 !important; }

  /* --- Two-column blocks stack (image first) --- */
  .page .complet:not(:has(.widgetPortfolio, .formulaire, .temoignages, .carousel)),
  .complet:has(.img2),
  .gauche:has(.img2),
  .droite:has(.img2),
  .bloc {
    flex-direction: column;
    direction: ltr;
  }
  .bloc .img2 { order: -1; }

  .page .complet .img2,
.page .complet .txt,
.page .complet .max .txt,
.complet .img2,
.gauche .img2,
.droite .img2,
.gauche:has(.img2) .txt,
.droite:has(.img2) .txt{
    width: 100% !important;
    height: auto;
  }

  /* article_intro: the absolute <img> needs a box once stacked */
  .page .complet.article_intro .img2 {
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-height: 400px;
  }
  .page .complet.article_intro.imgContain .img2 img {
    object-fit: contain !important;
  }

  .complet .txt,
  .gauche .txt,
  .droite .txt {
    padding: 30px !important;
  }
  .page .complet .max { padding: 30px 20px; }
  .page .txt.noMedia { padding: 0; }
  .page .tiers{padding: 0px!important;}

  /* fullBkgImage */
  .fullBkgImage {
    padding: 0;
    display: block;
    min-height: auto;
  }
  .fullBkgImage > .fullBkg,
  .fullBkg {
    position: relative;
    display: block !important;
    height: 100%;
  }

  /* fondBleu / gauche / droite inner blocks */
  .none .fondBleu,
  .gauche .bloc .none,
  .droite .bloc .none {
    flex-direction: column;
    direction: ltr;
    gap: 20px;
  }
  .none .fondBleu .img2,
  .gauche .bloc .none .img2,
  .droite .bloc .none .img2 {
    width: 100%;
    margin: 0;
  }
  .none:has(.fondBleu)::after { display: none; }

  /* --- Grids --- */
  .squarelinks {
    padding: 0 30px;
    gap: 0;
  }
  .quart { width: 48%; }
  .cinquieme { width: calc(33.333% - 20px); }
  .demi .img2 { width: 80%; }
  .squarelinks-page .wall-page-resume { flex: 0 0 calc((100% - 30px) / 2); }

  /* --- Actualites --- */
  .actualites { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; }

  /* --- Misc --- */
  .formulaire { width: 80%; }
  .diaporama li { width: 140px; height: 140px; }
  .partenaires .bloc { flex-wrap: wrap; }
  .partenaires .txt { padding: 15px 20px; }

  /* --- Footer : logo + sitemap, then social + Saint Jacques logo on one row --- */
  #footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 30px 20px;
  }
  #footer .col2 {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* --- Logos : one full-viewport marquee per row (pauses on hover / focus) --- */
  .logosPart { --lp-h: 64px; max-width: none; margin-top: 20px; padding: 0; }
  .logosPart + .footCta { margin-top: 30px; }
  .logosPart-row { overflow: hidden; }
  .logosPart-row + .logosPart-row { margin-top: 30px; }
  .logosPart-track {
    display: flex;
    width: max-content;
    animation: logosPartDefil calc(var(--n, 6) * 3.5s) linear infinite;
  }
  .logosPart-row:hover .logosPart-track,
  .logosPart-row:focus-within .logosPart-track { animation-play-state: paused; }
  .logosPart-set,
  .logosPart-set[aria-hidden] {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    min-width: 100vw;             /* each copy >= viewport : no gap in the loop */
    box-sizing: border-box;
    padding: 0 calc(var(--lp-gap) / 2);
  }
  .logosPart-set img { max-width: 180px; }
}

/* ==========================================================
   <= 860px : small tablet / large phone
   ========================================================== */
@media screen and (max-width: 860px) {

  .complet,
  .gauche,
  .droite {
    display: block !important;
  }

  .tiers,
  .quart,
  .quart.picto,
  .quart.pictoClic,
  .demi,
  .cinquieme {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    margin: 15px 0;
  }
  .cinquieme { width: 50% !important; }

  .faq { padding: 35px 24px; }
  .faq h2 { font-size: 1.9em; }

  #backToTop {
    bottom: 20px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .partenaires .bloc { flex-direction: column; }
  .partenaires .txt { padding: 15px 0; }
  .partenaires .txt::after { content: none; }

}

/* ==========================================================
   <= 600px : phone
   ========================================================== */
@media screen and (max-width: 600px) {
  /* --- Actualites : one card per row --- */
  .actualites { grid-template-columns: 1fr; }


  .intro { padding: 20px; }
  .slideshow { min-height: 240px; }
  .slideshow .diaporama { height: 240px; }

	
  .complet .txt,
  .gauche .txt,
  .droite .txt {
    padding: 20px !important;
  }
  .page .complet.article_intro .img2 {
    aspect-ratio: 4 / 3;
    min-height: 200px;
  }

  .diaporama li {
    width: 45%;
    max-width: 160px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .partenaires .diaporama li {
    width: 100px;
    height: 100px;
  }

  .accordeon { padding: 12px; }
  .accordeon .accordeon-toggle {
    padding-right: 32px;
    font-size: 1em;
  }
  .accordeon .accordeon-toggle::after {
    width: 24px;
    height: 24px;
    right: 0;
  }
  .accordeon .accordeon-content { padding-right: 0; }

  .formulaire {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .formulaire input[type="submit"] { width: 100%; }
  .formulaire input[type="submit"]:hover { padding: 6px 20px; }

  .squarelinks-page .wall-page-resume { flex: 0 0 100%; }


  /* --- Footer : single column, centered --- */
  #footer { grid-template-columns: 1fr; }
  #footer .col1 * { text-align: center; }
  #footer .col1 .img2 { margin: 0 auto 14px auto; }
  #footer .liens > ul { column-gap: 20px; }
  #footer .col2 { flex-direction: column; align-items: center; }
  #footer .social { justify-content: center; }
  .footCta-in > :last-child:not(:first-child) { font-size: 1.8em; }
  .copyright {
    height: auto;
    padding: 8px 15px;
  }
}

/* ==========================================================
   <= 380px : small phone
   ========================================================== */
@media screen and (max-width: 380px) {

  #corps { padding-top: 90px; }

  h1 { font-size: 1.4em; }
  h2 { font-size: 1.2em; }
  h3 { font-size: 1.1em; }
  h4 { font-size: 1.4em; }

  h5 {
    display: block;
    margin: 8px 0;
  }
  h5 a {
    display: block;
    text-align: center;
  }
  h5 a:hover { transform: none; }

  .complet .txt,
  .gauche .txt,
  .droite .txt {
    padding: 15px !important;
  }
  .diaporama li {
    width: 100%;
    max-width: none;
  }
}

/* ==========================================================================
   Responsive mobile (nov. 2026) — marges latérales homogènes (20px),
   blocs resserrés, fil d'Ariane, actualités, bouton « doigt »
   (les coins arrondis sont désormais conservés en mobile)
   ========================================================================== */
/* Fil d'Ariane : même marge que le texte des pages dès que l'écran < contenu */
@media screen and (max-width:1320px){
  .breadcrumb{padding-left:20px;padding-right:20px;}
}
@media screen and (max-width:960px){
  /* Actualités : marges latérales (les cartes touchaient les bords) + marge au-dessus
     pour le picto « ACTU » qui dépasse de la photo (il était coupé) */
  .actualites{padding:40px 20px 0 20px;}
  /* 2 colonnes : la dernière carte, seule sur sa ligne, est centrée */
  .actualites > .actu-elem:nth-child(odd):not(:has(~ .actu-elem)){
    grid-column:1 / -1;
    justify-self:center;
    width:calc((100% - 30px) / 2);
  }
}
@media screen and (max-width:860px){
  /* Accueil : le slide commence sous la barre d'en-tête (il passait dessous) */
  #corps:has(.page.home){padding-top:100px;}
  /* Pages : l'espace sous l'en-tête était calé sur l'en-tête desktop (190px) */
  .greyBkgIntro{padding-top:calc(var(--pente) + 24px);}
}
@media screen and (max-width:600px){
  /* Actualités : une carte par ligne sans déborder (1fr = min-content), même blanc au-dessus de la 1re photo que sur les côtés */
  .actualites{grid-template-columns:minmax(0,1fr);padding-top:20px;}
  .actualites > .actu-elem:nth-child(odd):not(:has(~ .actu-elem)){grid-column:auto;justify-self:stretch;width:auto;}
  /* Bouton « doigt » : place pour la main à gauche */
  .boutonDoigt .bouton{padding:0 20px 0 52px;}
  .boutonDoigt .bouton a::before{left:-42px;width:50px;height:38px;}

  /* Marge latérale unique de 20px entre le texte et le bord de l'écran
     (la règle ≤380px mettait 15px, l'intro des pages 35px) */
  .complet .txt,
  .gauche .txt,
  .droite .txt{padding-left:20px !important;padding-right:20px !important;}
  /* Accueil : encart de recherche */
  .page .complet.horsFlux{padding:0 20px;}

  /* Bloc image + texte (squarelinks) : 30px + 30px → 20px */
  .squarelinks{padding-left:20px;padding-right:20px;}
  .squarelinks .demi{margin:0;}
  .squarelinks .bloc .img2{margin:0;width:100% !important;}
  .squarelinks .bloc .txt{padding:16px 0 !important;}

  /* Écarts entre blocs */
  .greyBkgIntro{padding-bottom:20px;}
  .greyBkgIntro:not(:has(> .breadcrumb)){padding-top:40px;}          /* accueil (pas de fil d'Ariane) */
  .page .groupe:has(.complet):not(.colorBright){margin-top:24px;}   /* 50px → 24px ; colorBright garde 50px : son image déborde au-dessus du bandeau */
  .footCta{margin-top:30px;}
}
/* Fil d'Ariane masqué sous 640px ; intro des pages resserrée au même seuil
   (le conteneur a déjà 20px → rien en plus sur le texte ; écarts verticaux réduits) */
@media screen and (max-width:639px){
  .breadcrumb{display:none;}
  .page:not(.home) .complet.article_intro{padding-top:10px;padding-bottom:10px;}
  .page:not(.home) .complet.article_intro > .txt{padding:0 !important;}
}
/* FAQ (accueil) : même espace gris au-dessus et au-dessous de l'image « Questions fréquentes »
   (le haut du bloc est biseauté : au centre de l'image, le bord est à --pente/2) */
@media screen and (min-width:861px) and (max-width:1200px){
  .FAQ::before{margin-bottom:calc(var(--pente) / 2 + 40px);}   /* = espace au-dessus (padding du bloc biseauté) */
}
@media screen and (max-width:860px){
  /* padding (et non margin, qui fusionnait avec les blocs parents et descendait tout le fond gris) */
  .page .complet.FAQ{padding-top:calc(var(--pente) / 2 + 30px);}
  .FAQ::before{margin-bottom:30px;}
  .page .complet.FAQ > .txt{padding-top:0 !important;}
}
@media screen and (max-width:380px){
  /* Accueil : barre d'en-tête de 90px sur petit téléphone (menu.css) */
  #corps:has(.page.home){padding-top:90px;}
}

/* ==========================================================================
   FAQ hors groupe (nov. 2026)
   ========================================================================== */
/* FAQ placée directement dans la page (sans groupe « pans coupés » autour, ex. Bac+2) :
   même bandeau gris biseauté pleine largeur et mêmes espacements que la FAQ de l'accueil */
.page > .complet.FAQ{
  isolation:isolate;                                   /* le bandeau (z-index -1) reste derrière le contenu de la FAQ */
  margin-top:calc(50px + var(--pente) + 40px);
  margin-bottom:calc(var(--pente) + 40px);
}
.page > .complet.FAQ::after{
  content:"";
  position:absolute;
  top:calc(-1 * (var(--pente) + 40px));
  bottom:calc(-1 * (var(--pente) + 40px));
  left:calc(50% - 50vw);
  right:calc(50% - 50vw);
  z-index:-1;
  background:var(--gris);
  clip-path:polygon(0 var(--pente), 100% 0, 100% calc(100% - var(--pente)), 0 100%);
  pointer-events:none;
}
/* Mobile : comme l'accueil, le bandeau épouse la FAQ (l'espace du haut est dans son padding) */
@media screen and (max-width:860px){
  .page > .complet.FAQ{margin-top:24px;margin-bottom:0;padding-bottom:20px;}
  .page > .complet.FAQ::after{top:0;bottom:0;}
}

/* ---------- Détail d'une actualité : contenu complet (text_fr) sous l'intro ----------
   Aligné sur l'intro (1140px, gouttière 20px), colonne de lecture limitée */
.page .complet.actu-corps{
display:block;
max-width:1140px;
padding:50px 20px 60px 20px;
box-sizing:border-box;
background:none;
}
.page .complet.actu-corps > .txt{
width:100%;
max-width:860px;
padding:0;
}
@media screen and (max-width:600px){
  .page .complet.actu-corps{padding:24px 0 30px 0;}
}

/* ---------- Images en pan coupé + coins arrondis : classe admin « imgPansCoupes » ----------
   Même masque que la photo des pages diplômes (pageDiplome.css, .dpf-photo img).
   Activée bloc par bloc dans l'admin (CSS spécifique → imgPansCoupes), sur n'importe quelle page,
   accueil comprise. Mise en page dédiée pour l'image principale (intro), les blocs
   .gauche / .droite et les blocs .demi ; ailleurs (complet, tiers, quart…) seul le masque
   s'applique. Les SVG (pictos) ne sont jamais masqués.
   L'image garde ses proportions (pas de contain dans une boîte étirée : le masque
   doit épouser l'image) ; seules les images très hautes sont recadrées.
   (≠ « pansCoupes », qui coupe en biais le fond coloré d'un groupe.) */
.page .complet.article_intro.imgPansCoupes.imgPansCoupes > .img2,
.page :is(.gauche, .droite).imgPansCoupes.imgPansCoupes > .bloc > .none > .img2:not(:has(svg)),
.page .demi.imgPansCoupes.imgPansCoupes > .bloc > .img2:not(:has(svg)){
position:static;
align-self:center;
width:100%;
height:auto;
min-height:0;
max-height:none;
aspect-ratio:auto;
overflow:visible;
}
/* .demi : garde sa largeur (marges du bloc) */
.page .demi.imgPansCoupes.imgPansCoupes > .bloc > .img2:not(:has(svg)){
width:calc(100% - 60px);
}
.page :is(.gauche, .droite).imgPansCoupes.imgPansCoupes > .bloc > .none > .img2:not(:has(svg)) picture,
.page .demi.imgPansCoupes.imgPansCoupes > .bloc > .img2:not(:has(svg)) picture{
position:static;
display:block;
width:100%;
height:auto;
overflow:visible;
}
.page .complet.article_intro.imgPansCoupes.imgPansCoupes > .img2 img,
.page :is(.gauche, .droite).imgPansCoupes.imgPansCoupes > .bloc > .none > .img2 img:not([src$=".svg"]),
.page .demi.imgPansCoupes.imgPansCoupes > .bloc > .img2 img:not([src$=".svg"]){
position:static;
display:block;
width:100%;
height:auto;
max-height:560px;
object-fit:cover!important;
-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1274 929' preserveAspectRatio='none'%3E%3Cpath d='M14 75.2 L1260 0.8 Q1274 0 1274 14 L1274 838 Q1274 852 1260 852.8 L14 928.2 Q0 929 0 915 L0 90 Q0 76 14 75.2 Z'/%3E%3C/svg%3E");
mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1274 929' preserveAspectRatio='none'%3E%3Cpath d='M14 75.2 L1260 0.8 Q1274 0 1274 14 L1274 838 Q1274 852 1260 852.8 L14 928.2 Q0 929 0 915 L0 90 Q0 76 14 75.2 Z'/%3E%3C/svg%3E");
-webkit-mask-size:100% 100%;
mask-size:100% 100%;
-webkit-mask-repeat:no-repeat;
mask-repeat:no-repeat;
}
/* Empilé (≤960px) : le bloc .none n'a plus de marge latérale → gouttière de 20px
   pour l'image (avant, l'image entière en contain laissait déjà un vide sur les côtés) */
@media screen and (max-width:960px){
  .page :is(.gauche, .droite).imgPansCoupes.imgPansCoupes > .bloc > .none > .img2:not(:has(svg)){
    width:calc(100% - 40px) !important;
    flex:none;
    align-self:center;
    margin:30px auto 0 auto;   /* ne colle plus au haut du bloc */
  }
}
/* Petit écran : l'image d'intro ne colle plus au titre (le texte n'a plus de padding) */
@media screen and (max-width:639px){
  .page .complet.article_intro.imgPansCoupes.imgPansCoupes > .img2{margin-bottom:20px;}
}

/* Autres blocs (complet, tiers, quart…, mise en page de l'accueil, ou groupe entier) :
   le masque seul, sans toucher à la mise en page du bloc */
.imgPansCoupes .img2 img:not([src$=".svg"]){
-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1274 929' preserveAspectRatio='none'%3E%3Cpath d='M14 75.2 L1260 0.8 Q1274 0 1274 14 L1274 838 Q1274 852 1260 852.8 L14 928.2 Q0 929 0 915 L0 90 Q0 76 14 75.2 Z'/%3E%3C/svg%3E");
mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1274 929' preserveAspectRatio='none'%3E%3Cpath d='M14 75.2 L1260 0.8 Q1274 0 1274 14 L1274 838 Q1274 852 1260 852.8 L14 928.2 Q0 929 0 915 L0 90 Q0 76 14 75.2 Z'/%3E%3C/svg%3E");
-webkit-mask-size:100% 100%;
mask-size:100% 100%;
-webkit-mask-repeat:no-repeat;
mask-repeat:no-repeat;
}

/* ---------- Pictos (.tiers.picto, .quart.picto…) en responsive ----------
   ≤860px : une colonne, mais la largeur d'une colonne desktop (texte pas étiré sur tout l'écran)
   ≤600px : .squarelinks .bloc .img2 {width:100% !important} écrasait la taille fixe
   du picto (86px) : le SVG prenait toute la largeur et passait sous le texte */
@media screen and (max-width:860px){
  .squarelinks .picto,
  .squarelinks .pictoClic{max-width:360px !important;margin:15px auto !important;}
}
@media screen and (max-width:600px){
  .squarelinks .picto .bloc .img2,
  .squarelinks .pictoClic .bloc .img2{width:86px !important;margin:0 auto 15px auto !important;}
}
/* Compteur (classe « compteur », cf. js/site.js) : chiffres à chasse fixe, pas de tremblement */
.compteur-num{font:inherit;color:inherit;letter-spacing:inherit;font-variant-numeric:tabular-nums;}

/* ---------- Écart homogène sous le fil d'Ariane (pages standards, actus, diplômes…) ----------
   Le fil d'Ariane n'a plus de padding bas : l'intro qui le suit démarre à --ecart-ariane
   en dessous, et son titre est tout en haut (plus de padding haut sur le texte).
   Desktop : le texte des intros avec image est calé en haut (et plus centré verticalement
   à côté de l'image), sinon la position du titre dépendait de la hauteur de l'image.
   Sous 640px le fil d'Ariane est masqué : rien à harmoniser. */
:root{--ecart-ariane:40px;}
@media screen and (min-width:640px){
  .greyBkgIntro > .breadcrumb + .article_intro{padding-top:var(--ecart-ariane) !important;}
  .greyBkgIntro > .breadcrumb + .article_intro > .txt{padding-top:0 !important;}
  .greyBkgIntro > .breadcrumb + .article_intro > .txt > :first-child{margin-top:0 !important;}
}
@media screen and (min-width:961px){
  .greyBkgIntro > .breadcrumb + .complet.article_intro > .txt,
  .greyBkgIntro > .breadcrumb + .complet.article_intro > .img2{align-self:flex-start !important;}
}

/* Formulaire de contact : message d'erreur (champs, envoi impossible) */
.formulaire .formulaire-erreur{
margin:0 0 20px 0;
padding:12px 16px;
border-left:4px solid var(--rose);
background:#fdecf3;
color:var(--bleu3);
font-weight:700;
}

/* Accueil, actualités (> 960px) : cartes centrées. En grille 3 colonnes, 1 ou 2 actus
   restaient calées à gauche ; en flex centré les cartes gardent exactement la même
   largeur (1/3 moins les gouttières) et une rangée incomplète se centre.
   Marge latérale progressive : 0 au-delà de 1320px, jusqu'à 20px quand l'écran
   se rapproche de 1280px (les cartes touchaient le bord de la fenêtre). */
@media screen and (min-width:961px){
  .actualites{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:50px 60px;
    padding-left:clamp(0px, calc((1320px - 100vw) / 2), 20px);
    padding-right:clamp(0px, calc((1320px - 100vw) / 2), 20px);
  }
  .actualites > .actu-elem{flex:0 0 calc((100% - 120px) / 3);min-width:0;}
  .actualites > .noFlex{flex:0 0 100%;}
}

/* Accueil, bandeau coloré empilé (≤ 960px) : l'image ne touche plus le haut du bloc bleu.
   Padding en haut du bloc (même écart que sur les côtés, 20px) et plus de marge négative
   sur l'image (sans padding, cette marge traversait le bloc au lieu de décaler l'image). */
@media screen and (max-width:960px){
  .page .groupe.colorBright:has(> .complet > .img2){
    padding-top:20px !important; /* ≤960 : .groupe{padding:0 0 30px 0 !important} */
  }
  .page .groupe.colorBright > .complet:has(> .img2):has(> .txt):not(.article_intro) > .img2{
    margin-top:0;
  }
}

/* Détail d'une actualité : « Les dernières actualités » avant le pied (widget Actualités,
   même grille que la page Actualités). Bloc en display:block : le titre au-dessus de la grille. */
.page .complet.actu-dernieres{
display:block;
width:100%;
max-width:1280px;
margin:0 auto;
padding:50px 0 60px 0;
border-top:1px solid #d5dde2;
box-sizing:border-box;
background:none;
}
.page .complet.actu-dernieres > h2{
text-align:center;
margin:0;
}
@media screen and (max-width:960px){
  .page .complet.actu-dernieres{padding:30px 0 40px 0;}
  .page .complet.actu-dernieres > h2{padding:0 20px;}
}

/* Liens dans les textes : visibles sans survol (rose + souligné). Avant, « p a » héritait de la
   couleur du texte, sans soulignement : rien ne montrait que c'était un lien.
   Boutons (.bouton) et liens-boutons (h5) exclus. Au survol, le soulignement s'épaissit. */
:is(.txt, .dpf-texte, .accordeon-content) :is(p, li, td, dd) a:not(.bouton a, h5 a){
color:var(--rose);
text-decoration:underline;
text-decoration-thickness:1px;
text-underline-offset:3px;
}
:is(.txt, .dpf-texte, .accordeon-content) :is(p, li, td, dd) a:not(.bouton a, h5 a):hover{
text-decoration-thickness:2px;
}
/* Fonds colorés (texte blanc) : couleur du texte, seulement soulignés (pas de rose sur bleu), même au survol */
:is(.fondBleu, .colorBright) :is(.txt, .dpf-texte, .accordeon-content) :is(p, li, td, dd) a:not(.bouton a, h5 a){
color:inherit;
}
:is(.fondBleu, .colorBright) :is(.txt, .dpf-texte, .accordeon-content) a:not(.bouton a, h5 a):hover,
:is(.fondBleu, .colorBright) :is(.txt, .dpf-texte, .accordeon-content) a:not(.bouton a, h5 a):hover *{
color:inherit!important;
}
/* Soulignement ajouté par l'éditeur (<span style="text-decoration: underline">) autour d'un lien ou
   dedans : il doublait celui du lien (trait couleur texte + trait rose). !important : style en ligne. */
:is(.txt, .dpf-texte, .accordeon-content) span[style*="underline"]:has(> a:not(.bouton a, h5 a)),
:is(.txt, .dpf-texte, .accordeon-content) :is(p, li, td, dd) a:not(.bouton a, h5 a) span[style*="underline"]{
text-decoration:none!important;
}
/* Lien vers un autre site (classe ajoutée par js/site.js) : icône « nouvelle fenêtre » fine,
   comme sur caf86-partenaires.fr (carré + flèche sortante), de la couleur du lien */
:is(.txt, .dpf-texte, .accordeon-content) a.lien-externe::after{
content:"";
display:inline-block;
width:1em;
height:1em;
margin-left:2px;
vertical-align:middle;
background-color:currentColor;
-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m10 5h-1.8c-1.12 0-1.68 0-2.108.218-.377.192-.682.497-.874.874-.218.428-.218.988-.218 2.108v7.6c0 1.12 0 1.68.218 2.108.192.376.497.683.874.874.427.218.987.218 2.105.218h7.606c1.118 0 1.677 0 2.104-.218.377-.191.683-.498.875-.875.218-.427.218-.986.218-2.104v-1.803m1-5v-5m0 0h-5m5 0-7 7' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m10 5h-1.8c-1.12 0-1.68 0-2.108.218-.377.192-.682.497-.874.874-.218.428-.218.988-.218 2.108v7.6c0 1.12 0 1.68.218 2.108.192.376.497.683.874.874.427.218.987.218 2.105.218h7.606c1.118 0 1.677 0 2.104-.218.377-.191.683-.498.875-.875.218-.427.218-.986.218-2.104v-1.803m1-5v-5m0 0h-5m5 0-7 7' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Texte lu seulement par les lecteurs d'écran (ex. « (site externe) » ajouté par js/site.js) */
.sr-only{
position:absolute!important;
width:1px;
height:1px;
overflow:hidden;
clip:rect(0 0 0 0);
white-space:nowrap;
}
/* Détail d'une actualité : date en rose au-dessus du titre (même style que sur les cartes) */
.page .article_intro .txt .actu-date{
margin:0 0 6px 0;
font-size:.85em;
text-transform:uppercase;
}
.page .article_intro .txt .actu-date,
.page .article_intro .txt .actu-date *{
color:var(--rose);
font-weight:400;
}

/* ---------- Picto « Les secteurs de formation » sur l'image d'un bloc : classe admin « pictoSecteurs » ----------
   Calque au-dessus de l'image (pas dans le fichier) : l'image peut être changée dans l'admin,
   le picto reste calé en haut à droite et déborde un peu à droite (maquette acc.png).
   Uniquement s'il y a une image (.img2 n'existe pas sans image ; :has(img) exclut les pictos SVG).
   Le masque « imgPansCoupes » est sur l'<img>, pas sur .img2 : le picto n'est pas coupé. */
.pictoSecteurs .img2:has(img){
position:relative!important;   /* « imgPansCoupes » met .img2 en static */
overflow:visible!important;
}
.pictoSecteurs .img2:has(img)::after{
content:"";
position:absolute;
z-index:2;
top:7%;
right:-3%;
width:45%;
aspect-ratio:279.59 / 200.59;
background:url(/images/picto-secteurs-formation.svg?v=1) no-repeat center / contain;
pointer-events:none;
}

/* ==========================================================================
   Consentement cookies (module admin « Consentement », inc/consentement.php, js/consentement.js)
   Carte fixe en bas à gauche, au-dessus du menu (999) et sous la visionneuse (9999).
   Rappel : la règle globale « * » fixe font-size / font-weight / color → tout est précisé ici.
   ========================================================================== */
.consent{
position:fixed;
left:20px;
bottom:20px;
z-index:9000;
width:min(520px, calc(100vw - 40px));
max-height:calc(100vh - 40px);
max-height:calc(100dvh - 40px);
overflow:auto;
background:var(--blanc);
border-radius:16px;
box-shadow:0 10px 40px rgba(0, 34, 59, .28);
outline:none;
}
.consent[hidden],
.consent [hidden]{
display:none !important;
}
.consent-in{
padding:24px 26px 22px;
}
.consent h2{
font-size:1.25rem;
font-weight:700;
color:var(--bleu3);
margin:0 0 10px 0;
}
.consent-texte,
.consent-texte *{
font-size:.95rem;
line-height:1.45em;
color:var(--bleu3);
}
.consent-texte p + p{
margin-top:8px;
}
.consent-texte strong,
.consent-texte b{
font-weight:700;
}
.consent-texte ul,
.consent-texte ol{
margin:8px 0 0 20px;
}
.consent-texte a{
color:var(--rose);
text-decoration:underline;
text-underline-offset:3px;
}
.consent-texte a:hover{
color:var(--bleu2);
}

/* Liste des services (ouverte par « Personnaliser ») */
.consent-detail{
margin-top:16px;
border-top:1px solid var(--gris);
}
.consent-detail ul{
list-style:none;
}
.consent-detail li{
border-bottom:1px solid var(--gris);
}
.consent-service{
display:flex;
align-items:flex-start;
gap:14px;
padding:12px 0;
cursor:pointer;
position:relative;
}
.consent-service input{
position:absolute;
opacity:0;
width:44px;
height:24px;
margin:0;
cursor:pointer;
}
.consent-switch{
flex:0 0 44px;
height:24px;
border-radius:100em;
background:#8a9aa6;
position:relative;
transition:background .2s ease;
}
.consent-switch::after{
content:"";
position:absolute;
top:3px;
left:3px;
width:18px;
height:18px;
border-radius:50%;
background:var(--blanc);
transition:transform .2s ease;
}
.consent-service input:checked + .consent-switch{
background:var(--bleu);
}
.consent-service input:checked + .consent-switch::after{
transform:translateX(20px);
}
.consent-service input:focus-visible + .consent-switch{
outline:2px solid var(--bleu2);
outline-offset:2px;
}
.consent-service-txt{
display:block;
}
.consent-service-nom{
display:block;
font-size:.95rem;
font-weight:600;
color:var(--bleu3);
}
.consent-service-finalite{
display:block;
font-size:.85rem;
line-height:1.4em;
color:var(--bleu3);
opacity:.8;
margin-top:2px;
}

/* Actions : « Tout refuser » et « Tout accepter » ont le même poids visuel */
.consent-actions{
display:flex;
flex-wrap:wrap;
align-items:center;
justify-content:flex-end;
gap:10px;
margin-top:18px;
}
.consent-btn{
font-size:.9rem;
font-weight:500;
text-transform:uppercase;
color:var(--blanc);
background:var(--rose);
border:0;
border-radius:100em;
padding:9px 18px;
cursor:pointer;
transition:background .3s ease;
}
.consent-btn:hover{
background:var(--bleu);
}
/* Liste ouverte : « Enregistrer mes choix » à côté du lien, puis refuser / accepter à parts égales */
.consent--detail .consent-btn[data-consent="enregistrer"]{
background:var(--bleu3);
}
.consent--detail .consent-btn[data-consent="enregistrer"]:hover{
background:var(--bleu);
}
.consent--detail .consent-btn[data-consent="refuser"],
.consent--detail .consent-btn[data-consent="accepter"]{
flex:1 1 calc(50% - 5px);
}
.consent-lien{
font-size:.9rem;
color:var(--bleu3);
background:none;
border:0;
padding:9px 0;
margin-right:auto;
text-decoration:underline;
text-underline-offset:3px;
cursor:pointer;
}
.consent-lien:hover{
color:var(--rose);
}
.consent-btn:focus-visible,
.consent-lien:focus-visible,
.consent-ouvrir:focus-visible{
outline:2px solid var(--bleu2);
outline-offset:2px;
}

/* Lien « Gérer les cookies » du pied de page (même aspect que les liens voisins) */
.lastLinks:has(.consent-ouvrir) li{
display:inline-block;
margin:0 10px;
}
.consent-ouvrir{
font-size:.8em;
color:var(--bleu);
opacity:.8;
background:none;
border:0;
padding:0;
text-decoration:underline;
cursor:pointer;
}
.consent-ouvrir:hover{
color:var(--rose);
opacity:1;
}

@media (max-width:600px){
.consent{
left:20px;
right:20px;
bottom:20px;
width:auto;
}
.consent-in{
padding:20px 20px 18px;
}
.consent-actions{
justify-content:stretch;
}
.consent-actions .consent-btn{
flex:1 1 calc(50% - 5px);
padding:10px 8px;
}
.consent--detail .consent-btn[data-consent="enregistrer"]{
flex:1 1 100%;
}
.consent-actions .consent-lien{
flex:1 1 100%;
margin-right:0;
text-align:left;
padding:4px 0;
}
}

/* Formulaire de contact : champ piège anti-spam (honeypot "honey"), hors écran pour les humains.
   Pas de display:none : certains robots ignorent les champs masqués ainsi */
.formulaire .potform{
position:absolute !important;
left:-10000px !important;
top:auto !important;
width:1px !important;
height:1px !important;
overflow:hidden !important;
opacity:0 !important;
pointer-events:none !important;
}

/* ---------- Trombinoscope : classe admin « trombinoscope » (page Les équipes) ----------
   Sur un bloc (ou un groupe) : tous les portraits ont la même taille et le même cadrage,
   quelle que soit la taille de la photo envoyée (carré 200px max, centré, recadré sur
   le haut du visage), avec le pan coupé + coins arrondis. Les SVG ne sont pas touchés. */
.page .trombinoscope .img2:has(img:not([src$=".svg"])){
position:static;
display:block;
width:calc(100% - 20px);
max-width:200px;
height:auto;
min-height:0;
max-height:none;
aspect-ratio:auto;
overflow:visible;
margin:0 auto 15px auto !important;
}
.page .trombinoscope .img2:has(img:not([src$=".svg"])) picture{
position:static;
display:block;
width:100%;
height:auto;
}
.page .trombinoscope .img2 img:not([src$=".svg"]){
position:static;
display:block;
width:100%;
max-width:none;
height:auto;
aspect-ratio:1 / 1;
object-fit:cover !important;
object-position:50% 25%;
-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1274 929' preserveAspectRatio='none'%3E%3Cpath d='M14 75.2 L1260 0.8 Q1274 0 1274 14 L1274 838 Q1274 852 1260 852.8 L14 928.2 Q0 929 0 915 L0 90 Q0 76 14 75.2 Z'/%3E%3C/svg%3E");
mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1274 929' preserveAspectRatio='none'%3E%3Cpath d='M14 75.2 L1260 0.8 Q1274 0 1274 14 L1274 838 Q1274 852 1260 852.8 L14 928.2 Q0 929 0 915 L0 90 Q0 76 14 75.2 Z'/%3E%3C/svg%3E");
-webkit-mask-size:100% 100%;
mask-size:100% 100%;
-webkit-mask-repeat:no-repeat;
mask-repeat:no-repeat;
}
/* ≤600px : « .squarelinks .bloc .img2 {width:100% !important} » collait les portraits bord à bord */
@media screen and (max-width:600px){
  .page .squarelinks .trombinoscope .bloc .img2:has(img:not([src$=".svg"])){width:calc(100% - 20px) !important;margin:0 auto !important;}
}
