/*
Theme Name: La Fontaine
Author: La Confiserie
Author URI: https://www.laconfiserie.fr
Description: Thème sur-mesure
Version: 1.0
*/

:root {
	/* Teintes désaturées — adapte les valeurs HSL à ta marque */
	  --orb-1: 30 90% 75%;   /* pêche */
	  --orb-2: 200 85% 75%;  /* bleu doux */
	  --orb-3: 280 70% 80%;  /* lavande */
	  --orb-4: 150 60% 78%;  /* menthe */
	  --hue-shift: 0deg;
    /* -------------------------------------------------------------------------
       Couleurs 
       ------------------------------------------------------------------------- */
    --color-bg:         #fff;        /* slug: background */
    --color-fg:         #140F22;        /* slug: foreground */
    --color-noir:       #140F22;        /* slug: noir */
    --color-blanc:      #ffffff;        /* slug: blanc */
    --color-gris:       #F5F5F5;        /* slug: gris */
    --color-primary:    #e90176;        /* slug: primary */
    --color-secondary:  #e9017680;      /* slug: secondary — 50% opacité */
    --color-third:      #e9017633;      /* slug: third — 20% opacité */

    /* Focus — ne pas modifier, ratio RGAA */
    --color-focus:      #005fcc;

    /* -------------------------------------------------------------------------
       Gradients 
       ------------------------------------------------------------------------- */
    --gradient-one:    linear-gradient(0deg,   rgba(20, 15, 34, 1) 10%, rgba(20, 15, 34, 0.0)  100%);
    --gradient-titre:  linear-gradient(45deg,  rgba(20, 15, 34, 1) 10%, rgba(20, 15, 34, 0.00) 85%);
    --gradient-cta:    linear-gradient(0deg,   rgba(20, 15, 34, .9) 10%, rgba(223, 84, 69, 0.85) 100%);
    --gradient-hero:   linear-gradient(180deg, rgba(20, 15, 34, 0.00) 0%, rgba(20, 15, 34, 1) 100%);

    /* -------------------------------------------------------------------------
       Typographie 
       ------------------------------------------------------------------------- */
    --font-body:    'Figtree', sans-serif;   /* slug: typotext */
    --font-heading: 'Figtree', sans-serif;   /* slug: typotitre */

    --fs-small:        clamp(13px, 1.2vw, 14px);
    --fs-normal:       clamp(16px, 1.4vw, 18px);
    --fs-medium:       clamp(20px, 2vw,   24px);
    --fs-large:        clamp(24px, 3vw,   36px);
    --fs-large-mobile: clamp(22px, 2.5vw, 30px);
    --fs-big:          clamp(36px, 5vw,   60px);
    --fs-big-mobile:   clamp(32px, 4.5vw, 50px);
    --fs-huge:         clamp(45px, 8vw,  90px);

    --lh-tight:  1.2;
    --lh-normal: 1.5;
    --lh-loose:  1.8;

    --fw-regular: 400;
    --fw-medium:  600;
    --fw-bold:    700;

    /* -------------------------------------------------------------------------
       Espacements
       ------------------------------------------------------------------------- */
    --space-1:  0.25rem;  /*   4px */
    --space-2:  0.5rem;   /*   8px */
    --space-3:  0.75rem;  /*  12px */
    --space-4:  1rem;     /*  16px */
    --space-5:  1.25rem;  /*  20px */
    --space-6:  1.5rem;   /*  24px */
    --space-8:  2rem;     /*  32px */
    --space-10: 2.5rem;   /*  40px */
    --space-12: 3rem;     /*  48px */
    --space-16: 4rem;     /*  64px */
    --space-20: 5rem;     /*  80px */
    --space-24: 6rem;     /*  96px */

    /* -------------------------------------------------------------------------
       Layout
       ------------------------------------------------------------------------- */
    --container-max:    1280px;
    --container-gutter: var(--space-6);

    /* -------------------------------------------------------------------------
       Bordures
       ------------------------------------------------------------------------- */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   16px;
    --radius-full: 9999px;

    /* -------------------------------------------------------------------------
       Ombres
       ------------------------------------------------------------------------- */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, .18);

    /* -------------------------------------------------------------------------
       Transitions
       ------------------------------------------------------------------------- */
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --ease-in:       cubic-bezier(0.4, 0, 1, 1);
    --ease-out:      cubic-bezier(0, 0, 0.2, 1);
    --duration-fast: 0.15s;
    --duration:      0.3s;
    --duration-slow: 0.5s;

    /* -------------------------------------------------------------------------
       Z-index
       ------------------------------------------------------------------------- */
    --z-below:  -1;
    --z-base:    0;
    --z-above:  10;
    --z-nav:   100;
    --z-modal: 200;
    --z-toast: 300;
}

.sr-only{
	border: 0 !important;
	clip: rect(1px,1px,1px,1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;
}

.sr-only-focusable:focus,
.sr-only-focusable:focus-visible {
  clip: auto !important;
  clip-path: none !important;
  position: fixed !important;
  top: 1rem;
  left: 1rem;
  width: auto !important;
  height: auto !important;
  padding: .75rem 1rem !important;
  margin: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
  z-index: 999999 !important;
  background: #fff;
  outline: 3px solid #005fcc;
  outline-offset: 2px;
  border-radius: 4px;
}


.orb-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  filter: hue-rotate(var(--hue-shift));
  transition: filter 1.2s ease-out;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.50;
  will-change: transform;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, hsl(var(--orb-1) / 0.7) 0%, transparent 70%);
  top: -10%; left: -5%;
}
.orb-2 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, hsl(var(--orb-2) / 0.6) 0%, transparent 70%);
  top: 20%; right: -10%;
}
.orb-3 {
  width: 550px; height: 550px;
  background: radial-gradient(circle, hsl(var(--orb-3) / 0.65) 0%, transparent 70%);
  bottom: 10%; left: 20%;
}
.orb-4 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, hsl(var(--orb-4) / 0.6) 0%, transparent 70%);
  bottom: -5%; right: 15%;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -20px) scale(1.05); }
}
.orb-1 { animation: drift 18s ease-in-out infinite; }
.orb-2 { animation: drift 22s ease-in-out infinite reverse; }
.orb-3 { animation: drift 20s ease-in-out infinite; animation-delay: -7s; }
.orb-4 { animation: drift 25s ease-in-out infinite reverse; animation-delay: -3s; }

/* RGAA : on coupe tout mouvement si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; transition: none; }
  .orb-layer { transition: none; }
}
/* RESET CSS
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}

*, *::before, *::after {
    box-sizing: border-box; 
 }
html {
	width:100%;
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
} 
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-normal);
    line-height: var(--lh-normal);
    color: var(--color-fg);
    background-color: var(--color-bg);
}
body.no-scroll {
	overflow: hidden;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// GRILLE
----------------------------------------------------------------- */
.rangee {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	width: 95%;
	margin: 0 auto;
	position: relative;
	flex-flow: row wrap;
}
.rangee.direction-column {
	flex-direction: column;
	flex-wrap: wrap;
}
.rangee.largeur-courte {
	width: 70%;
	max-width: 600px;
}
.fullwidth, .full, .rangee.full, .section-flexible.fullwidth .rangee{
	width: 100%;
	max-width: 100%;
}
.col {
	position: relative;
	z-index: 9;
}
.col3 {
	flex-basis:3%;
	width: 3%;
}
.col5 {
	flex-basis:5%;
	width: 5%;
}
.col15 {
	flex-basis:15%;
	width: 15%;
}
.col10 {
	flex-basis:10%;
	width: 10%;
}
.col20 {
	flex-basis:20%;
	width: 20%;
}
.col30 {
	flex-basis:30%;
	width: 30%;
}
.col40 {
	flex-basis:40%;
	width: 40%;
}
.col48 {
	flex-basis:48%;
	width: 48%;
}
.col50 {
	flex-basis:50%;
	width: 50%;
}
.col60 {
	flex-basis:60%;
	width: 60%;
}
.col70 {
	flex-basis:70%;
	width: 70%;
}
.col80 {
	flex-basis:80%;
	width: 80%;
}
.col85 {
	flex-basis:85%;
	width: 85%;
}
.col90 {
	flex-basis:90%;
	width: 90%;
}
.col100 {
	flex-basis:100%;
	width: 100%;
}
.col25 {
	flex-basis:25%;
	width: 25%;
}
.col45 {
	flex-basis:45%;
	width: 45%;
}
.col55 {
	flex-basis:55%;
	width: 55%;
}
.col57 {
	flex-basis:57%;
	width: 57%;
}
.col65 {
	flex-basis:65%;
	width: 65%;
}
.col35 {
	flex-basis:35%;
	width: 35%;
}
.col75 {
	flex-basis:75%;
	width: 75%;
}
.col66 {
	flex-basis:66.6%;
	width: 66.6%;
}
.col33 {
	flex-basis:33.3%;
	width: 33.3%;
}
.ecart-normal{
	flex: 0 0 auto;
	padding: 15px 25px;
}
.aucun-ecart {
	padding: 0;
}
.aucun-ecart .ecart-normal{
	padding:15px 0;
}
.fullwidth .aucun-ecart .ecart-normal{
	padding:0;
}
.ecart-full .aucun-ecart:first-of-type {
	flex: 0 0 auto;
	padding: 0 0 0 50px;
}
.ecart-full .aucun-ecart:last-of-type {
	flex: 0 0 auto;
	padding: 0 50px 0 0;
}
.fullwidth.ecart-full .aucun-ecart, .section-flexible.aucun-ecart .ecart-normal, .section-flexible.aucun-ecart .colonne01, .section-flexible.aucun-ecart .colonne02 {
	padding:0 ;
}
.colpadleft {
	flex: 0 0 auto;
	padding: 0 0 0 50px;
}
.col-left-marge {
	padding-right: 50px;
}
.col-right-marge {
	padding-left: 50px;
}
.colpadright {
	flex: 0 0 auto;
	padding: 0 50px 0 0;
}
.colcenter {
	margin: 0 auto;
}
.justify-center {
	justify-content:center;
}
.justify-end {
	justify-content:end;
}
.space-between {
	justify-content:space-between;
}
.items-align-end {
	align-items: end;
}
.align-center, .items-align-center {
	align-items:center;
}
.align-end {
	align-items:flex-end;
}
.row-reverse {
	flex-direction: row-reverse;
}
.padding {
	padding: 90px 0 ;
}
.padding-bottom {
	padding-bottom: 90px;
}
.padding-top {
	padding-top: 90px;
}
.double-padding {
	padding: 180px 0 ;
}
.double-padding-bottom {
	padding-bottom: 180px;
}
.double-padding-top {
	padding-top: 180px;
}
.no-padding-top {
	padding-top: 0px !important;
}
.border-left {
	border-left:1px solid var(--color-primary);
}
.padding-col-pres.border-left {
	padding-left: 25px;
}
.decalage15 {
	position: relative;
	top: -15px;
	margin-bottom: -15px !important;
}
.decalage30 {
	position: relative;
	top: -30px;
	margin-bottom: -30px !important;
}
.decalage50 {
	position: relative;
	top: -50px;
	margin-bottom: -50px !important;
}
.decalage70 {
	position: relative;
	top: -70px;
	margin-bottom: -70px !important;
}
.decalage140 {
	position: relative;
	top: -140px;
	margin-bottom: -140px !important;
}
.rotate-3 {
	transform: rotate(-3deg);
}
.rotate3 {
	transform: rotate(3deg);
}
.rotate-5 {
	transform: rotate(-5deg);
}
/* -------------------------------------------------------------- 
/////////////////////////////////// TYPO
----------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family:var(--font-heading);
	margin-bottom: 10px;
	font-weight: var(--fw-regular);
	line-height: 1;
}
h1 {
	color: var(--color-noir);
	font-size:var(--fs-huge);
	line-height: .9;
}
h2 {
	color: var(--color-noir);
	margin-top: 25px;
	font-size:var(--fs-large);
}

h3 {
	color: var(--color-noir);
	font-size:var(--fs-medium);
}
h4 {
	color: var(--color-primary);
	font-size:var(--fs-medium);
}
h5 {
	color: var(--color-noir);
	font-size:var(--fs-medium);
}
h6 {
	color: var(--color-noir);
	font-size:var(--fs-normal);
}
.typo2 {
    font-style: 400;
    font-family: var(--font-heading);
}
.typo-small{
	font-size: var(--fs-small);
}
.typo-normal{
	font-size: var(--fs-normal);
}
.typo-medium{
	font-size: var(--fs-medium);
}
.typo-large{
	font-size: var(--fs-large);
}
.typo-large-mobile{
	font-size: var(--fs-large-mobile);
}
.typo-big{
	font-size: var(--fs-big);
}
.typo-big-mobile{
	font-size: var(--fs-big-mobile);
}
.typo-huge{
	font-size: var(--fs-huge);
}

/* -------------------------------------------------------------- 
/////////////////////////////////// GLOBAL
----------------------------------------------------------------- */
p, ol, li, table,label {
	color: var(--color-foreground);
	font-weight: 400;
	font-size: var(--fs-normal);
	line-height: 1.4;
	margin: 15px 0px;
}
ol, li {
	margin: 5px 0;
}
.bold {
	font-weight: var(--fw-bold);
}
strong, b {
	font-weight: var(--fw-bold);
	color:var(--color-noir);
}
ul {
	margin: 10px 0;
}
ul li{
	margin-left: 16px;
	list-style-type: disc;
}
ol li{
	margin-left: 15px;
}
blockquote {
	position: relative;
    font-family: var(--font-heading);
    font-style: normal;
	color: var(--color-noir);
	line-height: 60px;
	font-size: var(--fs-large);
	text-align: center;
	margin-bottom: 20px;
}
blockquote p {
	color: var(--color-noir);
	font-size: var(--fs-large);
	line-height: 1.1;
}
blockquote em {
	display: block;
	text-transform: uppercase;
	font-size: var(--fs-normal);
	font-style: normal;
	margin-top: 10px;
}
button {
    background: transparent;
    border-radius: 0;
    border: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    user-select: none;
    cursor: pointer;
}
button:focus {
    outline: 0 none;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}
table {
	width: 100%;
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}
tr, td, th {
	padding: 10px;
	text-align: left;
	font-size: var(--fs-normal);
	border: 1px solid var(--color-primary);
}
table p {
	margin: 5px 0;
}
tr h3 {
	line-height: 22px;
}
a {
	color:var(--color-noir);
	-webkit-transition: all .15s ease-in-out;
	-moz-transition: all .15s ease-in-out;
	-o-transition: all .15s ease-in-out;
	transition: all .15s ease-in-out;
}
a:visited, a:active, a:focus {
	color:var(--color-noir);
}
a:hover {
	color:var(--color-primary);
}
.link-like{
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.link-like:focus{
  outline: auto;
}
em {
	font-style: italic;
}

img {
	pointer-events: none;
}
input {
 	-moz-box-sizing: content-box; 
    -webkit-box-sizing: content-box; 
    box-sizing: content-box;
}
#searchform input[type="text"] {
	height: 20px;
	padding: 10px;
}
textarea {
	font-family: inherit;
}
i {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 0px auto 5px auto;
}
.alignright {
    float:right;
    margin: 0px 0 20px 40px;
}
.alignleft {
	float:left;
    margin: 0px 40px 20px 0;
}
.aligncenter {
    display: block;
    margin: 0px auto 10px auto;
}
a img.alignright {
    float: right;
    margin: 0px 0 20px 40px;
}
a img.alignnone {
    margin: 0px 40px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 0px 40px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption-text {
	font-size:var(--fs-small);
	font-style: italic;
}
hr {
	border: 0;
	background-color: var(--color-noir);
	height: 1px;
	margin: 30px 0;
}
hr.blanc {
	background-color: var(--color-blanc);
}
hr.primary {
	background-color: var(--color-primary);
}
.section-separateur hr {
	margin: 0;
}
.section-separateur .ecart-normal {
	padding-top: 0;
	padding-bottom: 0;
}
.blanc {
	background-color:  var(--color-blanc);
}
.color-blanc,.all-color-blanc * {
	color:  var(--color-blanc) !important;
}
.gris {
	background-color: var(--color-gris)!important;
}
.color-gris, .all-color-gris * {
	color:  var(--color-gris)!important;
}
.noir {
	background-color: var(--color-noir)!important;
}
.color-noir, .all-color-noir * {
	color:  var(--color-noir)!important;
}
.primary {
	background-color: var(--color-primary)!important;
}
.color-primary, .all-color-primary * {
	color:  var(--color-primary)!important;
}
.secondary {
	background-color: var(--color-secondary)!important;
}
.color-secondary, .all-color-secondary * {
	color:  var(--color-secondary)!important;
}
.third {
	background-color: var(--color-third)!important;
}

.gradient-one {
	background: var(--gradient-one);
}
.gradient-titre {
	background: var(--gradient-titre);
}
.gradient-hero {
	background: var(--gradient-hero);
}
.shadow {
   	-webkit-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	-moz-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
}
.shadow2 {
   	-webkit-box-shadow: 0px 0px 20px 5px rgba(45,45,45,0.15);
	-moz-box-shadow: 0px 0px 20px 5px rgba(45,45,45,0.15);
	box-shadow: 0px 0px 20px 5px rgba(45,45,45,0.15);
}
.widget-texte > p:first-child {
  margin-top: 0;
}
p:last-of-type {
	margin-bottom: 0;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// BOUTONS ET CLASS
----------------------------------------------------------------- */
.bouton, .bouton-sans{
	margin-top: 15px;
	vertical-align: middle;
}
.bouton a, input[type=submit], .formulaire button, .wpforms-submit-container button, .bouton-sans{
	font-family:var(--font-heading);
	text-decoration: none !important;
	position: relative !important;
	display: inline-block;
	background: var(--color-primary);
    font-weight: var(--fw-regular) !important;
	font-size: var(--fs-normal) !important;
	color: var(--color-blanc);
	border-radius: 5px !important;
	text-shadow:none;
	line-height: 24px!important;
	padding: 12px 22px 12px 22px!important;
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.bouton a:hover, input[type=submit]:hover, .formulaire button:hover, .wpforms-submit-container button:hover{
	background: var(--color-secondary);
}
.bouton-blanc a{
	background: var(--color-blanc) !important;
	color: var(--color-noir) !important;
}
.bouton-blanc a:hover{
	background: var(--color-primary) !important;
	color: var(--color-blanc) !important;
}

.bouton-simple {
	margin: 0 ;
}
.bouton-simple a {
	text-decoration: underline;
	padding-left: 25px; 
	position: relative; 
}
.bouton-simple.btn-noir a {color: var(--color-noir);}
.bouton-simple.btn-primary a {color: var(--color-primary);}
.bouton-simple.btn-blanc a {color: var(--color-blanc);}
.bouton-simple a:hover {
	opacity: .7;
}
.bouton-simple a::before {
	content: "→"; /* Définit le caractère de la flèche */
	position: absolute; /* Positionne la flèche */
	left: 0; /* Ajuste la position horizontale de la flèche */
}
.rond img {
	border-radius: 100%;
}
.ca img {
	border-radius: 100% !important;
	max-width: 200px;
	height: auto;
}
.ca .widget-image {
	text-align: center;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.back-image {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.relative {
	position: relative;
}
.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
}
.video-container video {
	width: 100%;
	height: auto;
}
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.cap, .uppercase {
	text-transform: uppercase;
}
.no-marge {
	margin: 0;
}
.padding-bloc20 {padding: 20px}
.padding-bloc30 {padding: 30px}
.padding-bloc40 {padding: 40px}
.padding-bloc50 {padding: 50px}

.image, .image-upload {
	position: relative;
	margin: 0;
	line-height: 0;
}
.image img{
	width: 100%;
	height: auto;
	border-radius: 15px;
}
.image-logo img {
	height: 80px;
	width: auto;
}

.image-upload img {
	max-width: 100%;
	border-radius: 15px;
}
.no-radius img {
	border-radius: 0px;
}
.image-expand {
	width: calc(100vw - ((100vw - 1240px) / 2));
}
.transition {
     -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
#mobile-header {
	display: none;
}
.only-mobile {
	display: none !important;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// LOGO
----------------------------------------------------------------- */
#logo {
	margin: 0;
	display: inline-block;
	vertical-align: middle;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    padding: 0;
	line-height:0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 20px;
	z-index: 9999;
}
#logo a {
	display:block;
	cursor: pointer;
}
#logo a img {
	height: 72px;
	width: auto;
	position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// HEADER
----------------------------------------------------------------- */
#main {
	padding-top: 0px;
}
header#header {
	margin: 30px;
	width: calc(100% - 60px);
	position: fixed;
	height: 85px;
	z-index: 99;
	background: rgba(255, 255, 255, 1);
	transition: all 0.3s;
   	-webkit-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	-moz-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	border-radius: 15px;
}
header#header nav::before {
	content: "";
	position: absolute;
	width: 700px;
	height: 100px;
	top: 50%;
	right: 0px;
	transform: translateY(-50%);
	background: radial-gradient(circle, hsl(var(--orb-1) / .9) 0%, transparent 90%);
	filter: blur(55px);
	opacity: 0.4;
	z-index: -1;          /* derrière les liens (nav ul est au-dessus) */
	pointer-events: none;
}
/* ====== Header compact au scroll ====== */

header#header.is-scrolled {
	height: 70px;
	margin: 0;
	width: 100%;
	border-radius: 0px;
}
header#header.is-scrolled #logo a img {
	height: 56px;
}

/* ====== Nav desktop ====== */

header#header nav {
	position: absolute;
	z-index: 9;
	top: 0;
	text-align: center;
	width: 100%;
	transition: all 0.3s;
}
header#header nav ul {
	margin: 0;
}
header#header nav ul li {
	display: inline-block;
	position: relative;
	list-style: none;
	margin: 0;
}
header#header nav a {
	font-family: var(--font-body);
	text-decoration: none;
	display: inline-block;
	vertical-align: middle;
	color: var(--color-noir);
	font-size: 17px;
	font-weight: var(--fw-bold);
	position: relative;
	padding: 0;
	margin: 0 22px;
	line-height: 85px;
}
header#header nav a:active,
header#header nav a:visited,
header#header nav a:focus {
	color: var(--color-noir);
	text-decoration: none;
}
header#header nav a:hover,
header#header nav ul li.current_page_item > a,
header#header nav ul li.current_page_parent > a,
header#header nav ul li.current-menu-ancestor > a,
header#header nav ul li.current-menu-item > a,
header#header nav ul li.current-menu-parent > a {
	color: var(--color-primary);
}

/* Soulignement animé (hover + focus clavier + état actif) */
header#header nav a::after {
	content: "";
	position: absolute;
	left: 22px;       /* annule le margin: 0 22px du lien */
	right: 22px;
	bottom: 28px;     /* à ajuster à l'œil selon le rendu du line-height */
	height: 2px;
	background: var(--color-primary);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}
header#header nav a:hover::after,
header#header nav a:focus-visible::after,
header#header nav ul li.current_page_item > a::after,
header#header nav ul li.current_page_parent > a::after,
header#header nav ul li.current-menu-ancestor > a::after,
header#header nav ul li.current-menu-item > a::after,
header#header nav ul li.current-menu-parent > a::after {
	transform: scaleX(1);
	transform-origin: left;
}
/* Le trait suit la hauteur réduite quand le header est compacté */
header#header.is-scrolled nav a {
	line-height: 70px;
}
header#header.is-scrolled nav a::after {
	bottom: 18px;
}
header#header .header-social {
	position: absolute;
	top: 50%;
	right: 25px;
	transform: translateY(-50%);
	z-index: 10;            /* au-dessus du nav et de l'orbe */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-primary);
	transition: background 0.3s, transform 0.3s;
}
header#header .header-social img {
	width: 18px;
	height: 18px;
}
header#header .header-social:hover {
	background: var(--color-secondary);
}
header#header .header-social:focus-visible {
	outline: 3px solid #0b57d0;
	outline-offset: 3px;
}
/* ====== Sous-menu desktop ====== */

header#header nav ul li .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--color-blanc);
	padding: 0;
	min-width: 240px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	z-index: -1;
	overflow: hidden;
}

/* Ouverture uniquement via JS (classe is-open) — plus de :hover */
header#header nav ul li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	z-index: 10;
}
header#header nav ul li .sub-menu li {
	display: block;
	margin: 0;
}
header#header nav ul li .sub-menu a {
	padding: 12px 20px;
	margin: 0;
	display: block;
	line-height: 1.15;
	color: var(--color-noir);
	background: transparent;
	transition: background 0.2s ease;
}
header#header nav ul li .sub-menu a:hover {
	background: var(--color-primary);
	color: #fff;
}
/* Le soulignement n'a pas de sens sur les liens de sous-menu */
header#header nav ul li .sub-menu a::after {
	display: none;
}

/* ====== Toggle chevron (desktop) ====== */

header#header .submenu-toggle {
	background: none;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	padding: 0 15px 0 0;
	vertical-align: middle;
}
header#header .submenu-toggle:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
	border-radius: 4px;
}
header#header .submenu-toggle .chevron {
	box-sizing: border-box;
	display: inline-block;
	width: 14px;
	height: 14px;
	background-image: url(img/chevron-menu.svg);
	background-size: 12px auto;
	background-repeat: no-repeat;
	background-position: center center;
	transform-origin: 50% 50%;
	transition: transform 0.2s ease;
	position: relative;
	left: -6px;
}

/* Rotation chevron uniquement via JS */
header#header nav ul li.is-open > .submenu-toggle .chevron {
	transform: rotate(-180deg) translateZ(0);
}

/* ====== Bouton hamburger ====== */

.menu-toggle {
	display: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	right: 30px;
	align-items: center;
	line-height: 24px !important;
	padding: 12px !important;
	gap: 0.8rem;
	color: var(--color-primary);
	cursor: pointer;
	font-size: 17px;
	font-weight: var(--fw-bold);
	font-family: var(--font-heading);
	transition: all 0.3s;
	border-radius: 5px;
}
.menu-toggle:focus-visible {
	outline: 3px solid #0b57d0;
	outline-offset: 2px;
}

/* Icon hamburger → croix */

.menu-toggle__icon {
	position: relative;
	width: 24px;
	height: 20px;
	display: inline-block;
}
.bar {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--color-primary);
	border-radius: 2px;
	transition: all 0.18s ease;
}
.bar--top { top: 0; }
.bar--mid { top: 9px; }
.bar--bot { top: 18px; }

.menu-toggle[aria-expanded="true"] .bar--top {
	top: 9px;
	transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .bar--mid {
	opacity: 0;
}
.menu-toggle[aria-expanded="true"] .bar--bot {
	top: 9px;
	transform: rotate(-45deg);
}

/* ====== Overlay menu mobile ====== */

.menu-overlay {
	position: fixed;
	z-index: 9998;
	background: var(--color-blanc);
	top: 0;
	right: -100px;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: all 0.5s ease;
	overflow-y: auto;
	box-shadow: 0 0 20px 5px rgba(45, 45, 45, 0.15);
}
.menu-overlay .contenu-menu {
	padding: 100px 30px 50px 30px;
	overflow-y: auto;
}
.menu-overlay.is-open {
	opacity: 1;
	top: 0;
	right: 0;
	visibility: visible;
	pointer-events: auto;
}
.menu-overlay .ecart-normal {
	padding: 0 15px;
}
.menu-overlay p,
.menu-overlay li,
.menu-overlay a {
	color: var(--color-noir);
}
.menu-overlay ul {
	margin: 0;
}
.menu-overlay li {
	list-style-type: none;
	padding: 5px 0;
	margin: 0;
}
.menu-overlay a {
	text-decoration: none;
}
.menu-overlay a:hover {
	text-decoration: underline;
}
.menu-overlay li a {
	font-size: var(--fs-medium);
	font-weight: var(--fw-bold);
}
.menu-overlay li.menu-item-has-children {
	margin-bottom: 0;
	padding:  0 !important;
	transition: margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-overlay li.menu-item-has-children a:hover {
	text-decoration: none;
}
.menu-overlay li.menu-item-has-children .sub-menu a {
	text-transform: none;
	font-size: var(--fs-normal);
}
.menu-overlay li.menu-item-has-children .sub-menu a:hover {
	text-decoration: underline;
}

/* Sous-menu dans l'overlay (accordéon) */

header#header .menu-overlay li.menu-item-has-children .sub-menu {
	position: static;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	padding-left: 15px;
	margin-top: 0;
	border-left: 1px solid var(--color-primary);
	border-radius: 10px;
	transform: none;
	visibility: visible;
	z-index: auto;
	min-width: 0;
	background: transparent;
	transition:
		max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.35s ease 0.05s,
		margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
header#header .menu-overlay li.menu-item-has-children.is-open .sub-menu {
	max-height: 2000px;
	opacity: 1;
	margin-top: 0px;
}

/* Toggle chevron dans l'overlay (mobile) */

header#header .menu-overlay .submenu-toggle {
	display: inline-flex;
	width: 44px;
	height: 44px;
	padding: 0;
	justify-content: center;
	align-items: center;
}
header#header .menu-overlay .submenu-toggle .chevron {
	left: 0;
	width: 16px;
	height: 16px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
header#header .menu-overlay li.menu-item-has-children.is-open .submenu-toggle .chevron {
	transform: rotate(-180deg);
}
header#header .menu-overlay a:focus-visible {
	outline: 3px solid #0b57d0;
	outline-offset: 4px;
	border-radius: 2px;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// RGAA — prefers-reduced-motion
----------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	header#header,
	header#header nav,
	header#header nav a,
	header#header nav a::after,
	header#header #logo a img,
	header#header nav ul li .sub-menu,
	header#header .submenu-toggle .chevron {
		transition: none;
	}
}
/* -------------------------------------------------------------- 
/////////////////////////////////// TITRE PAGE
----------------------------------------------------------------- */
#bloc-titre-page {
	position: relative;
}
#bloc-titre-page .rangee {
	min-height: 400px;
	padding: 250px 0 170px 0;
	z-index: 9;
}
#bloc-titre-page .overlay-titre {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 1;
	z-index: 2;
}
#bloc-titre-page h1 {
	color: #fff;
}
#bloc-titre-page .desc {
	margin-top: 25px;
}
#bloc-titre-page .desc p {
	color: #fff;
	font-weight: 400;
	font-size: var(--fs-normal);
}
#bloc-titre-page .bouton, #titre-simple .bouton{
	margin-top: 25px;
}
#bloc-titre-page .overlay-video {
	display: none;
}
#titre-simple .bouton a {
	margin:5px 5px 5px 0;
}
#titre-simple {
	padding: 180px 0 80px 0;	
}
#titre-simple h1 {
	color: var(--color-noir);
}
#titre-simple h1 span{
	color: var(--color-primary);
}
#titre-simple p.sous-titre-page, #titre-simple p.sur-titre-page, #bloc-titre-page p.sous-titre-page, 
#bloc-titre-page p.sur-titre-page  {
	margin-top: 10px;
	color: var(--color-noir);
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1;
	font-size: var(--fs-medium);
}
#bloc-titre-page p.sous-titre-page, 
#bloc-titre-page p.sur-titre-page {
	color: #fff;
}
#titre-simple p.sur-titre-page, #bloc-titre-page p.sur-titre-page {
	margin: 0 0 20px 0;
}
body.fond-noir #titre-simple.aucun h1, body.fond-noir #titre-simple.aucun p {
	color: var(--color-blanc);
}
#titre-simple.noir h1, #titre-simple.noir p,
#titre-simple.primary h1, #titre-simple.primary p{
	color: #fff;
} 
#titre-simple.noir .bouton a{
	background: #fff !important;
	color: var(--color-noir)!important;
}
#titre-simple.noir .bouton a:hover{
	background: var(--color-primary)!important;
	color: var(--color-blanc)!important;
}
#titre-simple.primary .bouton a{
	background: var(--color-noir)!important;
	color: var(--color-blanc)!important;
}
#titre-simple.primary .bouton a:hover{
	background: #fff !important;
	color: var(--color-primary)!important;
}
#titre-simple.noir .bouton a{
	background: #fff !important;
	color: var(--color-noir)!important;
}
#titre-simple.noir .bouton a:hover{
	background: var(--color-noir)!important;
	color: var(--color-blanc)!important;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// VIGNETTE
----------------------------------------------------------------- */
.col-news {
    margin-bottom: 30px;
}

a.bloc-vignette {
    display: block;
    height: 100%;
    background: #fff;
    text-decoration: none;
    border-radius: 15px;
    -webkit-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	-moz-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
}

a.bloc-vignette .image-vignette {
    display: block;
    position: relative;
    line-height: 0;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

a.bloc-vignette .image-vignette img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

a.bloc-vignette:hover .image-vignette img {
    transform: scale(1.05);
}

.content-vignette {
    padding: 25px;
    position: relative;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.content-vignette p {
    margin: 0;
    line-height: 1;
    font-family: var(--font-heading);
}

.content-vignette .titre-vignette {
    color: var(--color-primary);
    font-size: var(--fs-medium);
    margin-bottom: 5px;
    line-height: 1.1;
    font-weight: var(--fw-bold);
    transition: color 0.3s ease;
}
.content-vignette .titre-vignette span {
	display: block;
	color: var(--color-noir);
	font-size: var(--fs-normal);
	margin-top: 3px;
}
a.bloc-vignette:hover .titre-vignette{
    color: var(--color-primary);
}

.content-vignette .sous-titre-vignette {
    color: var(--color-noir);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 5px;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// SINGLE
----------------------------------------------------------------- */
#single{
	position: relative;
	padding-top: 150px;
}
#single h1 {
	color: var(--color-noir);
	font-size: var(--fs-big);
	line-height: 1;
	margin-top: 5px;
	text-align: center;
}
#single .image-single {
	position: relative;
}
#single .image-single img {
	width: 100% ;
	height: auto;
	position: relative;
	margin: 25px 0 0 0;
}
#single .date-publi {
	text-align: center;
	font-size: var(--fs-small);
	color: var(--color-noir);
	margin: 0;
}
#single .date-publi::first-letter {
	text-transform: uppercase;
}
#single .wp-block-image, #single .wp-block-cover {
	margin: 40px 0;
}
#single .content-single h2 {
	font-size: var(--fs-large);
	color: var(--color-noir);
	margin-top: 0;
}
#single .content-single p + h2, #single .content-single p + h3,
#single .content-single ul + h2, #single .content-single ul + h3,
#single .content-single ol + h2, #single .content-single ol + h3 {
  margin-top: 25px;
}
#single .content-single h3 {
	color:var(--color-primary);
	font-size: var(--fs-medium);
	margin-top: 0px;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// FOCUS
----------------------------------------------------------------- */
a.bloc-focus {
	position: relative;
	display: block;
	min-height: 350px;
}
a.bloc-focus span.titre-focus {
	position: absolute;
	bottom: 0px;
	left: 0;
	z-index: 99;
	padding: 30px;
	font-size: var(--fs-normal);
	color: var(--color-blanc);
	text-transform: uppercase;
}
a.bloc-focus span.titre-focus em {
	display: block;
	font-style: normal;
	font-size: var(--fs-medium);
	font-family: var(--font-heading);
	line-height: 1;
	margin-top: 0px;
}
a.bloc-focus span.titre-focus span {
	font-weight: 400;
}
a.bloc-focus span.titre-focus span img {
	width: 15px;
	margin-right: 7px;
	position: relative;
	top: 2px;
}
a.bloc-focus.cta-center span.titre-focus {
	text-align: center;
	top: 50%;
	bottom: inherit;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
}
a.bloc-focus .overlay-focus {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
	background: var(--gradient-one);
}
a.bloc-focus:hover .overlay-focus {
	opacity: .5;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// SECTION HOME
----------------------------------------------------------------- */

.titre-news {
	font-weight:700;
	font-size: var(--fs-medium);
	line-height: 1;
	margin-top: 25px;
	margin-bottom: 0px;
}
.titre-news a {
	text-decoration: none;
}

.section-activites {
	overflow: hidden;
	padding-top: 20px;
}
h2.sous-titre {
	margin: 0 0 15px 0;
	color: var(--color-noir);
	font-size: var(--fs-large);
}

/* --------------------------------------------------------------
///////////////////////////////////  WIDGET SLIDER
----------------------------------------------------------------- */
.bloc-slider {
	width: 95%;
	margin: 0 auto;
	position: relative;
}

/* -------------------------------------------------------------- 
///////////////////////////////////  WIDGET BLOC LIENS
----------------------------------------------------------------- */
.blocs-couleurs .bloc-couleur {
	width: 100%;
	padding: 120px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
}
.blocs-couleurs h2 {
	margin-top: 0;
}
.blocs-couleurs .bloc-couleur h2 {
	color: #fff;
	margin-bottom: 5px;
}
.blocs-couleurs ul {
	margin: 0;
	padding: 0;
}
.blocs-couleurs .bloc-couleur ul li {
	color: #fff;
	margin: 12px 0px;
	list-style-type: none;
    position: relative;
    padding-left: 25px;
    font-size: var(--fs-normal);
}
.blocs-couleurs .bloc-couleur li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px; 
    background-image: url('img/arrow-right.svg');
    background-size: contain; 
    background-repeat: no-repeat; 
}
.blocs-couleurs .bloc-couleur ul li:last-of-type,
.blocs-couleurs .bloc-liens-normal ul li:last-of-type {
	margin-bottom: 0;
}
.blocs-couleurs .bloc-couleur ul li a{
	color: #fff;
	text-decoration: none;
	font-weight: var(--fw-bold);
}
.blocs-couleurs .bloc-couleur ul li a:hover {
	text-decoration: underline;
}
.blocs-couleurs .bloc-couleur.blanc h2 {
	color: var(--color-noir);
}
.blocs-couleurs .bloc-couleur.blanc a, .blocs-couleurs .bloc-couleur.blanc li {
	color: var(--color-foreground);
}
.blocs-couleurs .bloc-couleur.blanc li::before {
	 background-image: url('img/arrow-right-noir.svg');
}
.blocs-couleurs .bloc-liens-normal {
	padding: 40px;
}
.blocs-couleurs .bloc-liens-normal.no-color {
	padding: 0;
}
.blocs-couleurs .bloc-liens-normal h2 {
	font-size: var(--fs-medium);
}
.blocs-couleurs .bloc-liens-normal ul li {
	color: var(--color-foreground);
	margin: 12px 0px;
	list-style-type: none;
    position: relative;
    padding-left: 25px;
    font-size: var(--fs-normal);
}
.blocs-couleurs .bloc-liens-normal li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px; 
    background-image: url('img/arrow-right-noir.svg');
    background-size: contain; 
    background-repeat: no-repeat; 
}
.blocs-couleurs .bloc-liens-normal ul li a {
	text-decoration: underline;
	color: var(--color-foreground);
}
.blocs-couleurs .bloc-liens-normal ul li a:hover {
	color: var(--color-primary);
}
.blocs-couleurs .bloc-liens-normal.noir h2, 
.blocs-couleurs .bloc-liens-normal.primary h2,
.blocs-couleurs .bloc-liens-normal.noir h2,
.blocs-couleurs .bloc-liens-normal.noir a, 
.blocs-couleurs .bloc-liens-normal.primary a,
.blocs-couleurs .bloc-liens-normal.noir a {
	color: #fff;
}
.blocs-couleurs .bloc-liens-normal.noir a:hover, 
.blocs-couleurs .bloc-liens-normal.primary a:hover,
.blocs-couleurs .bloc-liens-normal.noir a:hover {
	color: #fff;
	opacity: .6;
}
.blocs-couleurs .bloc-liens-normal.noir li::before, 
.blocs-couleurs .bloc-liens-normal.primary li::before,
.blocs-couleurs .bloc-liens-normal.noir li::before {
	background-image: url('img/arrow-right-noir.svg');
}

/* -------------------------------------------------------------- 
///////////////////////////////////  WIDGET ACCORDEON
----------------------------------------------------------------- */
.bloc-accordeon {
    border-bottom: 1px solid var(--color-noir);
    margin: 10px 0;
}
.bloc-accordeon .titre-accordeon {
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    cursor: pointer;
    padding: 18px 35px 18px 0;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    font-size: var(--fs-plus);
    line-height: 1;
    color: var(--color-noir);
    border-top: 1px solid var(--color-noir);
    position: relative;
}
.bloc-accordeon .titre-accordeon:hover {
    text-decoration: underline;
}
.bloc-accordeon .titre-accordeon:focus-visible {
	outline: 3px solid #005fcc;
  	outline-offset: 2px;
}
.bloc-accordeon .titre-accordeon::after {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(img/plus.svg);
    background-size: cover;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease-in-out;
}
.bloc-accordeon .titre-accordeon[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(45deg);
}
.texte-accordeon {
    display: none;
    padding: 0 0 25px 0;
    border-bottom: 1px solid var(--color-noir);
}
.section-col.noir .bloc-accordeon,
.section-col .banniere .noir .bloc-accordeon {
    border-bottom: 1px solid var(--color-blanc);
}
.section-col.noir .bloc-accordeon .titre-accordeon,
.section-col.noir .bloc-accordeon .texte-accordeon *, 
.section-col .banniere .noir .bloc-accordeon .titre-accordeon,
.section-col .banniere .noir .bloc-accordeon .texte-accordeon *{
    color: #fff;
}
.section-col.noir .bloc-accordeon .titre-accordeon,
.section-col .banniere .noir .bloc-accordeon .titre-accordeon {
    border-top: 1px solid var(--color-blanc);
}
.section-col.noir .bloc-accordeon .titre-accordeon:after, 
.section-col .banniere .noir .bloc-accordeon .titre-accordeon:after {
    background-image: url(img/plus-blanc.svg);
}
.section-col.noir .bloc-accordeon .titre-accordeon.active,
.section-col .banniere .noir .bloc-accordeon .titre-accordeon.active  {
    border-bottom: 0px solid var(--color-blanc);
    color:var(--color-blanc);
}
.section-col.noir .bloc-accordeon .titre-accordeon.active:after,
.section-col .banniere .noir .bloc-accordeon .titre-accordeon.active:after {
    color:var(--color-blanc);
}
.section-col.noir .bloc-accordeon .texte-accordeon,
.section-col .banniere .noir .bloc-accordeon .texte-accordeon {
    border-bottom: 1px solid var(--color-blanc);
}
/* -------------------------------------------------------------- 
/////////////////////////////////// ANIMATIONS
----------------------------------------------------------------- */
.widget, .anim {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}

.js-enabled .widget, .js-enabled .anim {
    opacity: 0;
    transform: translateY(20px); /* Déplacement subtil */
    transition: 
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.js-enabled .anim15 {
    transition: 
        opacity 0.9s ease-out,
        transform 0.9s ease-out;
}
.js-enabled .is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------- 
/////////////////////////////////// FLEXIBLE
----------------------------------------------------------------- */
.section-flexible {
	z-index: 9;
	position: relative;
}
.section-flexible.bande-grise {
	  background: linear-gradient(transparent 0 calc(100% - 100px), var(--color-gris) calc(100% - 100px) 100%);
}
.section-flexible.fullwidth .rangee .une-col {
	flex-basis: 100%;
	width: 100%;
}
.section-flexible.largeur-container .rangee .une-col {
	flex-basis: 100%;
	width: 100%;
}
.section-flexible.primary .bouton a {
	background: var(--color-noir) !important;
	color: var(--color-primary) !important;
}
.section-col .border-col .ecart-normal {
	border-left: 1px solid var(--color-primary)
}
.section-col .border-col .ecart-normal:first-of-type {
	border-left: 0px solid var(--color-primary)
}
.section-col .col-padding-right {
	padding-right: 50px;
}
.section-col .col-padding-left {
	padding-left: 50px;
}
.section-col .bloc-colonne {
	padding: 40px;
	border-radius: 15px;
	-webkit-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	-moz-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
}
.bloc-colonne.noir p, .bloc-colonne.primary p, .bloc-colonne.noir p {
	color: #fff;
}
.section-col .banniere {
	padding: 15px 20px;
}
.section-col .banniere .rangee {
	padding: 40px;
	width: calc(92% - 40px);
}
.section-col .banniere .noir p, .section-col .banniere .primary p,
.section-col .banniere .noir a, .section-col .banniere .primary a {
	color: #fff;
} 
.section-col .banniere .noir a:hover {
	color: var(--color-primary);
}
.section-col .banniere .primary a:hover {
	color: var(--color-noir);
}
.section-col .banniere .rangee.decalage-image .widget-image {
	position: absolute;
	top: -40px;
}
.widget-image {
	position: relative;
}
.widget-image .image a, .widget-image .image-upload a {
	display: block;
	position: relative;
}
.widget-image .image a img, .widget-image .image-upload a img{
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.widget-image .image a:hover img, .widget-image .image-upload a:hover img {
	opacity: .7;
}

.widget {
	padding: 0 0 20px 0;
}
.widget:last-of-type {
	padding-bottom:0;
}
.widget.widget-titre {
	padding-bottom: 15px;
}
.widget.widget-titre h2, .widget.widget-titre h3 {
	margin-bottom: 0;
}
.widget.widget-titre h2, h2.sous-titre, .bloc-encadre h2 {
	margin-top: 0;
}
.widget.widget-titre p {
	margin-top:0;
	line-height: .9;
	font-family: var(--font-heading);
}
.widget.widget-titre p.typo-huge {
	line-height: .8;
}
.widget.widget-titre p.typo-normal {
	line-height: 26px;
}
.widget.widget-titre .typo-light {
	font-weight: 300;
}
.widget.widget-titre .typo-regular {
	font-weight: 400;
}
.widget.widget-titre .typo-bold {
	font-weight:var(--fw-bold);
}
.widget.widget-icone {
	padding-bottom: 10px;
}
.widget-bouton .bouton {
	margin-top: 0;
}
.widget-bouton .bouton.btn-blanc a{
	background: var(--color-blanc) !important;
	color: var(--color-noir) !important;
}
.widget-bouton .bouton.btn-blanc a:hover {
	background: var(--color-primary) !important;
	color: var(--color-blanc) !important;
}
.widget-bouton .bouton.btn-primary a{
	background: var(--color-primary) !important;
	color: var(--color-blanc) !important;
}
.widget-bouton .bouton.btn-primary a:hover {
	background: var(--color-blanc) !important;
	color: var(--color-primary) !important;
}
.widget-bouton .bouton.btn-noir a{
	background: var(--color-noir) !important;
	color: var(--color-blanc) !important;
}
.widget-bouton .bouton.btn-noir a:hover {
	background: var(--color-primary) !important;
	color: var(--color-blanc) !important;
}
.noir .widget-bouton .bouton.btn-primary a:hover {
	background: var(--color-blanc) !important;
	color: var(--color-primary) !important;
}
.noir .widget-bouton .bouton.btn-blanc a {
	background: var(--color-blanc) !important;
	color: var(--color-noir) !important;
}
.noir .widget-bouton .bouton.btn-blanc a:hover {
	background: var(--color-noir) !important;
	color: var(--color-blanc) !important;
}
.primary .widget-bouton .bouton.btn-noir a:hover {
	background: var(--color-blanc) !important;
	color: var(--color-primary) !important;
}
.widget-bouton.widget-liste-boutons p.bouton {
	display: inline-block;
	vertical-align: middle;
	margin: 10px 10px 10px 0;
}
.widget.widget-texte .bloc-encadre {
	padding: 40px;
}
.widget.widget-texte .bloc-encadre.noir *, 
.widget.widget-texte .bloc-encadre.noir *,
.widget.widget-texte .bloc-encadre.primary *,
.widget.widget-texte.text-blanc * {
	color: #fff;
}

.icone img {
	height: 50px;
	width: auto;
}
.espaceur {
	display: block;
}
.widget-separateur .ligne {
	width: 100%;
	height: 1px;
	margin: 20px 0;
}
.widget-separateur .tiret {
	width: 40px;
	height: 4px;
}
.text-center .widget-separateur .tiret {
	margin: 0 auto;
} 
.section-logos .logo  {
	text-align: center;
}
.section-logos .logo a {
	display: block;
}
.section-logos .logo img {
	width: 100%;
	height: auto;
	border-radius: 0px;
	max-width: 220px;
}

/* ///////////////////////////// SECTION REASSURANCE //////////////////////*/
.section-reassurance p.titre-argument {
	font-family:var(--font-heading);
	margin: 0px;
}
.section-reassurance .icone {
	margin-bottom: 10px;
}
.section-reassurance .icone img {
	height: 32px;
	width: auto;
}
/* État initial : masqué */
.svg-anim {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.4s ease;
}

/* Animation : révélation de bas en haut */
.svg-anim.is-visible {
    clip-path: inset(0 0 0 0);
    opacity: 1;
}

/* Décalage progressif entre les arguments */
.section-reassurance .argument:nth-child(1) .svg-anim {
    transition-delay: 0s;
}
.section-reassurance .argument:nth-child(2) .svg-anim {
    transition-delay: 0.15s;
}
.section-reassurance .argument:nth-child(3) .svg-anim {
    transition-delay: 0.3s;
}
.section-reassurance .argument:nth-child(4) .svg-anim {
    transition-delay: 0.45s;
}
.section-reassurance .texte-argument {
	margin-top: 0px;
}
.section-reassurance h2.sous-titre {
	margin: 0;
	text-align: center;
}
.section-reassurance .banniere {
	margin-top: 40px;
	margin-bottom: 40px;
	position: relative;
	z-index: 1;
}
.section-reassurance .banniere::before {
	content: "";
	position: absolute;
	inset: -40px; /* épaisseur */
	border-radius: 20px;
	z-index: -1;
}
.section-reassurance .banniere.noir::before {
	background: var(--color-noir);
}
.section-reassurance .banniere.primary::before {
	background: var(--color-primary);
}
.section-reassurance .banniere.noir::before {
	background: var(--color-noir);
}
.section-reassurance .banniere.blanc::before {
	background: var(--color-blanc);
}
.section-reassurance .banniere.gris::before {
	background: var(--color-gris);
}
.section-reassurance.decalage-banniere .banniere{
	position: relative;
	top: -100px;
	margin-top: 0;
	margin-bottom: -40px;
}
.section-reassurance.noir p,
.section-reassurance.noir h2,
.section-reassurance.primary p,
.section-reassurance.primary h2,
.section-reassurance.noir p,
.section-reassurance.noir h2  {
	color: #fff;
}
.section-reassurance .banniere.noir p, .section-reassurance .banniere.noir p,
.section-reassurance .banniere.noir h2, .section-reassurance .banniere.noir h2 {
	color: #fff;
}
/* ///////////////////////////// SECTION CTA ICONE //////////////////////*/
.cta-icone {
	display: block;
	text-align: center;
	border-left: 1px solid var(--color-noir);
}
.section-cta-icone .rangee.full > div:first-child .cta-icone {
    border-left: none;
}
.titre-lien {
	text-transform: uppercase;
	font-weight: var(--fw-bold);
}
.titre-lien a{
	text-decoration: none;
}

.section-bandeau.alignement-center p,
.section-bandeau.alignement-center h2,
.section-bandeau.alignement-center p.bouton {
	text-align: center;
}
.section-bandeau.noir p,
.section-bandeau.primary p,
.section-bandeau.noir p {
	color: #fff;
}
.section-bandeau .bouton {
	margin-top: 25px;
}
.section-bandeau.noir .bouton a {
	background: #fff !important;
	color: var(--color-noir) !important;
}
.section-bandeau.noir .bouton a:hover {
	background: var(--color-primary) !important;
	color: var(--color-blanc) !important;
}
.section-bandeau-image {
	position: relative;
	min-height: 500px;
}
.section-bandeau-image .rangee {
	min-height: 500px;
}
.section-bandeau-image .overlay-bandeau {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: var(--gradient-cta);
}
.section-bandeau h2 {
	font-size: var(--fs-huge);
	line-height: .9;
}
.section-bandeau p {
	font-size: var(--fs-large-mobile);
}
.section-galerie.galerie-activite {
	margin-top:40px;
}
.section-galerie .gallery-container {
	display: flex;
	width: 100%;
	margin: 0 auto;
	position: relative;
	flex-flow: column wrap;
  	margin-top: 0px;
}
.section-galerie .gallery-item {
	position: relative;
	flex-basis: calc(33.3% - 20px);
	width: calc(33.3% - 20px);
	line-height: 0;
	margin-bottom: 20px;
	display: block;
	border-radius:10px;
}
.section-galerie .gallery-item:after {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: var(--gradient-one);
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
	opacity: 0;
	visibility: hidden;
	border-radius:10px;
}
.section-galerie .gallery-item:hover:after {
	opacity: 1;
	visibility: visible;
}
.section-galerie .gallery-item img {
	width: 100%;
	height: auto;
	line-height: 0;
	border-radius:10px;
}
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
  border-color: var(--color-primary) !important;
}

.widget-carousel {
	position: relative;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}
.owl-carousel {
  	padding: 0 25px; 
  	width: calc(95% - 25px) !important;
  	margin: 0 auto;
}
.col50 .owl-carousel {
  	padding: 0px; 
}
.owl-stage-outer {
  overflow: visible; 
}
.owl-carousel {
  overflow: visible !important; 
}
.owl-stage-outer {
  overflow: visible !important; 
}
.owl-carousel .owl-stage {
  display: flex;
}
.owl-carousel .item {
  margin: 0 15px;
  transition: transform 0.3s ease;
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next {
    position: absolute;
    top: -90px !important;
    background-color: var(--color-primary) !important;
	background-image: url(img/arrow-left.svg)!important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 20px auto !important;
    border: none !important;
    border-radius: 100px !important;
   	width: 45px !important;
	height: 45px !important;
	text-indent: -9999px;
	-webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.owl-carousel .owl-nav .owl-prev:focus-visible,
.owl-carousel .owl-nav .owl-next:focus-visible {
	outline: 3px solid #005fcc;
  	outline-offset: 2px;
  	border-radius: 4px;
}
.owl-carousel .owl-nav .owl-next {
	background-image: url(img/arrow-right.svg) !important;
}
.owl-carousel .owl-nav .owl-prev { right: 70px; }
.owl-carousel .owl-nav .owl-next { right: 20px; }

.owl-carousel .owl-nav .owl-prev:hover,
.owl-carousel .owl-nav .owl-next:hover {
    background-color: var(--color-secondary)!important;
}
.owl-theme .owl-nav .disabled {
  opacity: .3 !important;
}

.widget-carousel .owl-carousel .owl-nav .owl-prev,
.widget-carousel .owl-carousel .owl-nav .owl-next {
    top: 50%!important;
    transform: translateY(-50%);
}
.widget-carousel .owl-carousel .owl-nav .owl-prev { right: inherit; left:-10px}
.widget-carousel .owl-carousel .owl-nav .owl-next { right:-10px; }

.widget-carousel .owl-carousel { 
	max-width: 1000px;
}

/* ///////////////////////////// WIDGET TABLEAU //////////////////////*/
.widget-tableau {
	margin-bottom: 20px;
	overflow-x: auto;
}
.widget-tableau table.tableau-dynamique {
  	width: 100%;
	border-collapse: collapse;
  	margin-bottom: 10px;
}
.widget-tableau table caption {
	text-align: left;
	font-size: var(--fs-medium);
	font-family:var(--font-heading);
	font-weight: var(--fw-bold);
	padding:20px 0px;
}
.widget-tableau table tr, .widget-tableau table td, .widget-tableau table th {
	border: 1px solid var(--color-noir);
	font-size: 16px;
	line-height: 1.2;
}
.widget-tableau .tableau-dynamique th,
.widget-tableau .tableau-dynamique td {
  	border: 1px solid var(--color-noir);
  	padding: 20px;
  	text-align: left;
}
.widget-tableau .tableau-dynamique td:not(:empty) {
  	border-top: 1px solid var(--color-noir);
}
.widget-tableau .tableau-dynamique thead {
	font-family:var(--font-heading);
	font-weight: var(--fw-bold);
	font-size: var(--fs-normal);
	background-color: var(--color-noir);
	color: #fff;
}
.widget-tableau .tableau-dynamique thead th {
	border-right: 1px solid #fff;
}
.widget-tableau .tableau-dynamique thead th:last-child {
	border-right: 0px solid #fff;
}
.widget-tableau .tableau-dynamique td:first-child {
	font-weight: var(--fw-bold);
}
.widget-tableau  tbody tr:nth-child(even) {
  background-color: #fff;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// SINGLE PROG
----------------------------------------------------------------- */

.hero-activite {
	width: 100%;
	height: 65vh; /* ← ajuste ici la hauteur souhaitée */
	background-color: var(--color-noir); /* fallback */
}
 
.single-activites .image.only-mobile {
	margin: 0;
	line-height: 0;
}
.single-activites .image.only-mobile img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0;
}
#content-activite {
	padding: 50px;
	background: #fff;
	position: relative;
	top:-120px;
	margin-bottom: -120px;
	border-radius: 15px;
}
#content-activite h1 {
	line-height: .9
	margin: 0;
	color: var(--color-primary);
	font-weight: 700;
	text-transform: uppercase;
}

#content-activite p.sous-titre{
	font-size: var(--fs-large);
	font-weight: 400;
	line-height: 1;
	margin: 10px 0;
}
.image-intervenant {
	padding-right: 30px;
	padding-top: 15px;
}
.image-intervenant img {
	border-radius: 100%;
	max-width: 100%;
	height: auto;
}
#content-activite .video-container{
	margin-top: 40px;
}
#activite #sidebar {
	padding: 40px 0;
}
#activite #sidebar p.bouton a{
	display: block !important;
	width: 100% !important;
	text-align: center;
}
#activite #sidebar .bloc-sidebar p {
	margin: 5px 0;
}
#activite #sidebar h3 {
	margin: 0 0 10px 0;
	font-weight: 700;
}
#activite #sidebar .bloc-sidebar {
	border-bottom: 1px solid  var(--color-primary);
	padding: 25px 0;
}
#activite #sidebar.last-bordure div.bloc-sidebar:last-of-type {
	border-bottom:none;
}
#activite .infos {
	background: #fff;
	padding: 45px;
	margin-top: 30px;
	border: 2px solid var(--color-primary);
	border-radius: 15px;
}
#activite .infos:not(:has(> p + h2)) h2, #activite .infos:not(:has(> p + h3)) h3 {
    margin-top: 0; /* Aucun margin-top si <h2> n'est pas précédé d'un <p> */
}
#activite .infos p:first-of-type {
	margin-top: 0;
}
#activite #sidebar .bloc-sidebar.access img,#activite #sidebar .bloc-sidebar.access span {
	display: inline-block;
	vertical-align: middle;
}
#activite #sidebar .bloc-sidebar.access img {
	margin-right: 15px;
}
#activite #sidebar .representation {
	margin: 20px 0;
}
#activite #sidebar .representation:last-of-type {
	margin-bottom: 0;
}
#activite #sidebar .representation p  {
	margin: 0;
	color: var(--color-primary);
	font-weight: 400;
}
#activite #sidebar .representation p.date-agenda {
	font-weight: 700;
	color: var(--color-primary);
}
#activite #sidebar .representation p.date-horaire {
	font-weight: 700;
}
#activite #sidebar .representation p a {
 	font-weight: 700;
 	text-decoration: underline;
 }
.plan iframe {
	max-width: 100% !important;
	max-height: 250px !important;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// AGENDA
----------------------------------------------------------------- */
.section-agenda {
	overflow: hidden;
	padding-top: 10px;
}
.section-agenda .owl-carousel {
	margin-bottom: 10px;
}
.section-agenda .owl-carousel-item {
	height: 100%;
}
a.bloc-agenda,
button.bloc-agenda,
div.bloc-agenda{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.bloc-agenda {
	display: block;
	position: relative;
	height: 100%;
	width: 100%;
	background: #fff;
	border-radius: 15px;
	padding: 30px 30px 30px 30px;
	text-decoration: none;
     -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
       	-webkit-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	-moz-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
}
button.bloc-agenda{
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  font: inherit;
  color: inherit;
  text-align: left;
  line-height: normal;
}

.bloc-agenda h2 {
	font-size: var(--fs-medium);
	font-weight: 700;
	line-height: 1;
	margin: 10px 0;
	color: var(--color-noir);
}
.bloc-agenda p {
	color: var(--color-noir);
	font-size: var(--fs-normal);
	margin: 0;
}
a.bloc-agenda:hover, button.bloc-agenda:hover {
	
}
.bloc-agenda p.detail, .bloc-formation p.detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  margin: 5px 0;
  color: var(--color-primary);
}

.bloc-agenda p.detail img, .bloc-formation p.detail img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 0 !important;
}
.section-agenda .owl-stage{
  align-items: stretch; 
}
.ligne-agenda {
	margin: 0px 0;
	padding: 0;

}
.ligne-agenda .rangee {
	padding: 25px 0px;
	padding-left: 10px;
	margin-bottom: 0px;
	border-bottom: 1px solid var(--color-primary);
}
.titre-mois {
	font-size: var(--fs-large);
	line-height:28px;
	margin-bottom: 0px;
	display: inline-block;
	margin-top: 50px;
	margin-left: 10px;
	text-transform: uppercase;
	color: var(--color-primary);
}
.titre-mois span{
	font-size: var(--fs-medium);
}
.ligne-agenda a {
	text-decoration: none;
}
.ligne-agenda .col-date {
	border-right: 1px solid var(--color-noir);
}
.ligne-agenda .col-lieu {
	border-left: 1px solid var(--color-noir);
	padding-left: 20px;
}
.ligne-agenda .date-agenda, .ligne-agenda .horaire-agenda {
	margin: 0;
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
	color: var(--color-noir);
}
.ligne-agenda .date-agenda {
	padding-right: 10px;
}
.date-agenda:first-letter {
	text-transform: uppercase;
}
.ligne-agenda .horaire-agenda {
	margin: 0;
	font-weight: 400;
}
.ligne-agenda .titre-agenda, .ligne-agenda button {
	position: relative;
	margin: 5px 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	
	padding: 0 20px;
	text-align: left;
}
.ligne-agenda button {
	padding: 0;
     -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.ligne-agenda .titre-agenda a {
	color: var(--color-noir);
	cursor: pointer;
}
.ligne-agenda .titre-agenda a:hover, .ligne-agenda .titre-agenda button:hover {
	color: var(--color-primary);
}
.ligne-agenda .surtitre-agenda{
	display: block;
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 400;
	text-transform: none;
	color:var(--color-noir);
}

.ligne-agenda .lieu-agenda {
	padding-right: 10px;
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	color:var(--color-noir);
}
.ligne-agenda .lieu-agenda span {
	display: block;
	color:var(--color-primary);
}
.popup{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

/* Quand on enlève hidden (donc display revient), mais sans .open,
   ça reste invisible le temps d’appliquer .open */
.popup:not([hidden]){
  display: block;
}

.popup.open{
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease;
}

.popup .content-popup{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 70%;
  max-width: 700px;
  padding: 50px;
  background: #fff;
  border-radius: 15px;
}

.popup .close{
  position: absolute;
  right: -20px;
  top: -20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border: 0;
  background: url(img/close.svg) no-repeat center center var(--color-primary);
  background-size: 20px auto;
  border-radius: 15px;
}

.popup .close:hover{
  background-color: var(--color-noir);
}

/* RGAA : focus visible clavier */
.popup .close:focus-visible{
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}

.popup .content-popup h3{
  margin: 0 0 15px 0;
  color: var(--color-noir);
  font-weight: 700;
}
#single-agenda {
	padding-top:160px;
}
#single-agenda h1 {
	font-size: var(--fs-big);
	line-height: 1;
	margin-bottom: 20px;
}
#single-agenda .image-agenda {
	margin-top: 30px;
}
#single-agenda .image-agenda img{
	width: 100%;
	height: auto;
	max-width: 600px;
}
#single-agenda .date-agenda {
	font-weight: 700;
	font-size: var(--fs-medium);
	line-height: 1.1;
	color: var(--color-primary);
	margin-top: 0;
}
#single-agenda .surtitre-agenda {
	text-transform: uppercase;
	margin: 0 0 10px 0;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// FORM
----------------------------------------------------------------- */
.wpforms-container {
	margin: 0 !important;
}
.wpforms-container .wpforms-field {
    padding: 0 0 15px 0 !important;
    position: relative;
}
.wpforms-container input, .wpforms-container textarea{
	max-width: 100% !important;
	background-color: var(--color-blanc) !important;
	border-color:#ddd !important;
	border-radius: 5px!important;
}
div.wpforms-container-full .wpforms-field-file-upload .wpforms-uploader, div.wpforms-container div.wpforms-uploader {
	background-color: var(--color-gris) !important;
	border-color:#ddd !important;
}
div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li input{
	position: relative !important;
	top: 2px !important;
}
.wpforms-container button {
	height:auto !important;
}
.wpforms-form button[type=submit], button.wpforms-page-button {
	background-color: var(--color-noir)  !important;
	border-color: var(--color-noir) !important;
	color: #fff !important;
}
.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium, .wp-core-ui div.wpforms-container input.wpforms-field-medium, .wp-core-ui div.wpforms-container select.wpforms-field-medium, .wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium {
  max-width: 100%!important;
}

div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success] > .wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
  	background: var(--color-blanc) !important;
  	border: 1px solid var(--color-primary) !important;
}
.wpforms-submit-container button.wpforms-submit{
	background: var(--color-primary) !important;
	color: var(--color-blanc) !important;
}
.wpforms-submit-container button.wpforms-submit:hover{
	background: var(--color-primary) !important;
	color: var(--color-blanc) !important;
}
.bloc-colonne.primary .wpforms-container input, .bloc-colonne.primary .wpforms-container textarea {
	background-color: var(--color-blanc) !important;
}
.bloc-colonne.primary div.wpforms-container-full .wpforms-field-label, 
.bloc-colonne.primary .wp-core-ui div.wpforms-container-full .wpforms-field-label,
.bloc-colonne.primary .wpforms-container .wpforms-required-label{
	color: var(--color-blanc) !important;
}
.bloc-encadre.primary div.wpforms-container, .bloc-colonne.encadre div.wpforms-container-full:not(:empty) {
	margin-bottom:0 !important;
}
.wpforms-container .wpforms-field-html a {
	color: var(--color-blanc) !important;
	text-decoration:underline!important;
}
.wpforms-container .wpforms-field-html a:hover {
	color: var(--color-blanc) !important;
	opacity:.6;
}
.wpforms-container .wpforms-field-html p {
	font-weight:var(--fw-bold);
}
.wpforms-container .wpforms-field-html p.small {
	font-weight:400;
	font-size:15px;
	line-height:1.2;
}
.wpforms-container a:focus-visible,
.wpforms-container a:focus {
  outline: 2px solid #005fcc;
  outline-offset: 3px;
  text-decoration: underline;
}
div.wpforms-container-full .wpforms-form .wpforms-field-divider h3:first-of-type {
  color: var(--color-primary);
  padding-top: 0px;
  font-size: var(--fs-medium);
}

/* -------------------------------------------------------------- 
/////////////////////////////////// BACKGROUND
---------------------------------------------------------------- */
.tri {
	padding-top: 40px;
}
.wpgb-facet .wpgb-facet-title {
	margin-bottom: 12px !important;
	color: var(--color-noir);
	font-size: var(--fs-plus)!important;
	font-weight: var(--fw-bold);
	text-decoration: none;
}
.wpgb-facet .wpgb-select, .wpgb-date-facet, .wpgb-facet .wpgb-search-facet input[type="search"]{
	height: auto!important;
    min-height: 40px!important;
	background: var(--color-blanc)!important;
    border: 0px solid var(--color-primary) !important;
    color: var(--color-noir) !important;
    border-radius: 5px !important;
    -webkit-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	-moz-box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
	box-shadow: 0 16px 32px 0 rgba(50,50,50,0.10);
}
.wpgb-facet .wpgb-date-facet label input[type="text"], .wpgb-search-facet label input[type="text"]{
	height: auto!important;
    min-height: 40px!important;
	background: #fff!important;
    border: 0px solid var(--color-primary) !important;
    color: var(--color-noir) !important;
}
.wpgb-facet > fieldset {
    margin-bottom: 0px!important;
}
.wpgb-facet .wpgb-clear-button:hover, 
.wpgb-facet .wpgb-select button:hover, .wpgb-facet .wpgb-select input, 
.wpgb-facet .acplt-clear:hover, 
.wpgb-facet .wpgb-hierarchy:hover .wpgb-hierarchy-control, 
.wpgb-facet .wpgb-rating .wpgb-rating-control, 
.wpgb-facet .wpgb-rating-reset:hover .wpgb-rating-control {
  color: var(--color-primary) !important;
}
.wpgb-select-dropdown ul li.wpgb-focused {
 background-color:rgba(0, 0, 0,.1)!important; 
}
.wpgb-select-dropdown ul li[aria-selected="true"] {
 background-color:var(--color-noir) !important;
 font-size: var(--fs-small)!important;
}
.wpgb-select-placeholder {
	padding-left: 10px !important;
}
.wpgb-facet .wpgb-pagination li {
	font-size: 20px !important;
}
.wpgb-facet .wpgb-pagination li a[aria-current] {
  color: var(--color-noir) !important;
}
.wpgb-facet .wpgb-checkbox-control {
	border-radius: 5px !important;
	border-color:var(--color-noir) !important;
}
.wpgb-facet .wpgb-checkbox:hover:not([tabindex="-1"]) .wpgb-checkbox-control {
  border-color:var(--color-primary) !important;
}
.wpgb-facet .wpgb-checkbox-label {
	 color: var(--color-noir) !important;
	 font-size: 16px !important;
}
.wpgb-facet .wpgb-checkbox-facet .wpgb-checkbox[aria-pressed="true"] .wpgb-checkbox-control {
  border-color:var(--color-primary) !important;
  background: var(--color-primary) !important;
}
.wpgb-hierarchical-list li{
	display: inline-block !important;
	margin-right: 25px !important;
}
 .wpgb-facet .wpgb-radio-facet .wpgb-radio[aria-pressed="true"] .wpgb-radio-control {
  border-color: var(--color-primary) !important;
}
.wpgb-button-label:first-letter {
	text-transform: uppercase !important;
}
.wpgb-facet .wpgb-button {
	border: none !important;
	background: none !important;
	padding: 0 !important;
}
.wpgb-facet .wpgb-button-label {
  padding: 0px 10px!important;
  word-break: break-word;
  	color: var(--color-blanc) !important;
	font-family:var(--font-heading)!important;
	font-size: var(--fs-plus) !important;
	text-transform: uppercase!important;
	line-height: 1!important;
	font-weight: var(--fw-bold)!important;
}
.wpgb-facet .wpgb-button[aria-pressed="true"] .wpgb-button-label{
	color: var(--color-primary) !important;
}
.wpgb-facet li:first-of-type  .wpgb-button-label{
	padding-left: 0px !important;
}
.wpgb-facet li:last-of-type .wpgb-button-label{
	padding-right: 0px !important;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// FOOTER
----------------------------------------------------------------- */
footer#footer {
	padding: 70px 0px 70px 0;
}
footer#footer ul {
	margin: 0;
	padding: 0;
	margin-bottom: 20px;
}
footer#footer ul li, footer#footer p {
	list-style: none;
	color: var(--color-noir);
	padding: 0;
	margin: 0;
	font-size: 15px;
	line-height: 30px;
}
footer#footer p.bouton {
	margin-top: 30px;
}

footer#footer a {
	text-decoration: none;
}
footer#footer a:hover{
	color: var(--color-primary);
}
footer#footer #credits {
	margin-top: 20px;
	padding: 0px 0;
}
footer#footer #credits p {
	font-size: 12px;
}
footer#footer #credits p a {
	display: inline-block;
	margin: 0 30px 0 0;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// FLASH
----------------------------------------------------------------- */
#flash {
	width: 100%;
	padding: 40px 100px;
	background: var(--color-primary);
	overflow:hidden;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 9999;
}
#flash p {
	margin: 3px 0;
	font-size: var(--fs-normal);
	font-weight:var(--fw-bold);
	text-align: center;
	color: #fff;
}
#flash a {
	color: #fff;
	text-decoration:underline;
}
#flash .cross {
	position: absolute;
	right: 32px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	cursor: pointer;
}
#flash .cross img {
	width: 16px;
	height: auto;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// BACK TO TOP
----------------------------------------------------------------- */
#backtotop {
  display: inline-block;
  background-color: var(--color-primary);
  width: 40px;
  height: 40px;
  text-align: center;
  border-radius: 50px;
  position: fixed;
  bottom: 40px;
  right: 20px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#backtotop::after {
	content: "";
  	display:block;
  	background-image:url('img/backtotop.svg') ;
  	background-repeat: no-repeat;
  	background-position: center center;
    background-size: 17px auto;
 	height: 17px;
  	width: 17px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#backtotop:hover {
  cursor: pointer;
  background-color: var(--color-primary);
}
#backtotop:active {
  background-color: var(--color-primary);
}
#backtotop.show {
  opacity: 1;
  visibility: visible;
}
#backtotop:focus-visible {
	outline: 3px solid #005fcc;
  	outline-offset: 2px;
  	border-radius: 100%;
}
