/*
Theme Name: Groupe BRS
Author: La Confiserie
Author URI: https://www.laconfiserie.fr
Version: 1.0.0
Requires PHP: 7.4
Text Domain: groupe-brs
*/

:root {
	/* Teintes des orbes décoratives — déclinées des bleus BRS */
	  --orb-1: 199 82% 74%;   /* bleu clair */
	  --orb-2: 199 84% 51%;   /* bleu fonce */
	  --orb-3: 210 70% 80%;   /* bleu pale */
	  --orb-4: 192 70% 78%;   /* cyan doux */
	  --hue-shift: 0deg;
    /* -------------------------------------------------------------------------
       Couleurs — charte GROUPE BRS (maquette Figma)
       ------------------------------------------------------------------------- */
    --color-bg:         #fff;        /* slug: background */
    --color-fg:         #555453;        /* slug: foreground — texte courant */
    --color-noir:       #13100d;        /* slug: noir */
    --color-blanc:      #ffffff;        /* slug: blanc */
    --color-gris:       #F5F5F5;        /* slug: gris */
    --color-primary:    #1187c0;        /* slug: primary — bleu foncé */
    --color-secondary:  #83d0f5;        /* slug: secondary — bleu clair */
    --color-third:      #e6f4fb;        /* slug: third — bleu très pâle (hovers) */
    --color-accent:     #e30613;        /* rouge — sur-titres, points */

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

    /* Couleur des traits (bordures, lignes, puces) : basculée en blanc
       dans les sections sombres (voir THEMING SECTIONS SOMBRES). */
    --color-trait:      var(--color-noir);

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

    /* -------------------------------------------------------------------------
       Typographie 
       ------------------------------------------------------------------------- */
    --font-body:    'Figtree', sans-serif;   /* slug: typotext */
    --font-heading: 'Figtree', sans-serif;   /* slug: typotitre */
    --font-mono:    'JetBrains Mono', monospace; /* sur-titres, labels, numéros */

    /* Échelle calée sur la maquette 1728px : coefficient vw = taille/17.28 */
    --fs-small:        clamp(14px, 0.82vw, 14px);
    --fs-normal:       clamp(17px, 1.16vw, 18px);
    --fs-medium:       clamp(20px, 1.45vw, 26px);
    --fs-large:        clamp(26px, 2.6vw,  40px);
    --fs-large-mobile: clamp(21px, 2.2vw,  30px);
    --fs-big:          clamp(35px, 4.05vw, 65px);
    --fs-big-mobile:   clamp(27px, 3.6vw,  50px);
    --fs-huge:         clamp(50px, 5.8vw,  90px);

    /* Arrondis */
    --radius:        20px;
    --radius-bouton: 40px;

    --lh-tight:  1;
    --lh-normal: 1.2;
    --lh-loose:  1.4;

    --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);
}

/* -------------------------------------------------------------- 
/////////////////////////////////// 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 clamp(20px, 1.8vw, 32px);
}
.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;
}
/* Espacements de sections fluides : 50px (mobile) -> 90px (desktop)
   sans media query, même philosophie que les tailles de police en clamp. */
.padding {
	padding: clamp(50px, 8vw, 90px) 0;
}
.padding-bottom {
	padding-bottom: clamp(50px, 8vw, 90px);
}
.padding-top {
	padding-top: clamp(50px, 8vw, 90px);
}
.double-padding {
	padding: clamp(90px, 16vw, 180px) 0;
}
.double-padding-bottom {
	padding-bottom: clamp(90px, 16vw, 180px);
}
.double-padding-top {
	padding-top: clamp(90px, 16vw, 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-bold); /* maquette : titres en Figtree Bold */
	line-height: 1;
}
h1 {
	color: var(--color-noir);
	font-size:var(--fs-huge);
	line-height: 1;
}
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
----------------------------------------------------------------- */
/* NB : beaucoup de classes de cette zone (decalage*, double-padding*,
   all-color-*, only-mobile, rond, shadow…) sont des utilitaires destinés
   aux champs « class section / class colonne » du constructeur. */
.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-bold) !important;
	font-size: var(--fs-normal) !important;
	color: var(--color-blanc);
	border-radius: var(--radius-bouton) !important;
	text-shadow:none;
	line-height: 24px!important;
	padding: 14px 30px!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-noir);
	color: var(--color-blanc);
}
/* Variante contour (maquette : bouton téléphone sur fond sombre) */
.bouton.btn-contour a {
	background: transparent;
	border: 1px solid currentColor;
	color: inherit;
}
.bouton.btn-contour a:hover {
	background: var(--color-blanc);
	color: var(--color-noir);
}
.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;
}
/* Image de fond en vraie balise <img> : srcset responsive, lazy loading,
   priorité LCP — le conteneur doit être en position:relative. */
.media-fond {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: inherit;
}
.media-fond img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.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%;
}
/* Façade vidéo click-to-load : aperçu + bouton play, l'iframe YouTube
   n'est injectée qu'au clic (module VIDEO FACADE de app.js). */
.video-facade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: none;
	background: var(--color-noir);
	cursor: pointer;
}
.video-facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.video-facade-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	border-radius: 100px;
	background: var(--color-primary);
	transition: all 0.3s;
}
.video-facade-play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 13px 0 13px 22px;
	border-color: transparent transparent transparent var(--color-blanc);
}
.video-facade:hover .video-facade-play,
.video-facade:focus-visible .video-facade-play {
	background: var(--color-noir);
	transform: translate(-50%, -50%) scale(1.08);
}
.video-facade:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
}
.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: 2px;
	left: 30px;
	z-index: 9999;
}
#logo a {
	display:block;
	cursor: pointer;
}
#logo a img {
	height: 100px;
	width: auto;
	position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// HEADER
----------------------------------------------------------------- */
#main {
	padding-top: 100px;
}
header#header {
	width: 100%;
	position: fixed;
	height: 100px;
	z-index: 999;
	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);
}
header#header .btn-header.bouton {
	margin: 0;
	position: absolute;
	z-index: 9;
	right: 0;
	top: 22px;
	transition: all 0.3s;
}
header#header .bouton a{
	color: #fff !important;
}
/* ====== 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: 65px;
}
header#header.is-scrolled .bouton {
	top: 8px;
}

/* ====== 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: var(--fs-normal);
	font-weight: var(--fw-bold);
	position: relative;
	padding: 0;
	margin: 0 22px;
	line-height: 100px;
}
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 ul li 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;
}
/* ====== 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: 130px 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;
}


/* -------------------------------------------------------------- 
/////////////////////////////////// TITRE PAGE
----------------------------------------------------------------- */
#bloc-titre-page {
	position: relative;
}
#bloc-titre-page .rangee {
	min-height: 400px;
	padding: 170px 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 .bouton, #titre-simple .bouton{
	margin-top: 25px;
}
#titre-simple .bouton a {
	margin:5px 5px 5px 0;
}
#titre-simple {
	padding: 80px 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: 40px;
	color: var(--color-fg);
	font-family: var(--font-heading);
	font-weight: 400;
	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
----------------------------------------------------------------- */

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: 60px;
}
#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;
}

/* Titre standard des sections du constructeur */
h2.sous-titre {
	margin: 0 0 15px 0;
	color: var(--color-noir);
	font-size: var(--fs-large);
}

/* -------------------------------------------------------------- 
///////////////////////////////////  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);
    
    font-size: var(--fs-medium);
    line-height: 1.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, .anim-gauche, .anim-droite, .anim-zoom {
    opacity: 1;
    transform: none;
    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;
}

/* Variantes directionnelles — utilisables seules dans
   « class section / class colonne » (ex. anim-gauche anim-d2). */
.js-enabled .anim-gauche,
.js-enabled .anim-droite,
.js-enabled .anim-zoom {
    opacity: 0;
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}
.js-enabled .anim-gauche { transform: translateX(-40px); }
.js-enabled .anim-droite { transform: translateX(40px); }
.js-enabled .anim-zoom   { transform: scale(0.95); }

/* Délais en cascade : étager l'apparition de plusieurs colonnes. */
.js-enabled .anim-d1 { transition-delay: 0.15s; }
.js-enabled .anim-d2 { transition-delay: 0.3s; }
.js-enabled .anim-d3 { transition-delay: 0.45s; }

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

/* -------------------------------------------------------------- 
/////////////////////////////////// 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);
	border-radius: 20px;
}
.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: 1;
	font-family: var(--font-heading);
}
.widget.widget-titre p.typo-huge {
	line-height: .9;
}
.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;
	border: 1px solid var(--color-primary);
	color: var(--color-primary) !important;
}
.widget-bouton .bouton.btn-blanc a:hover {
	background: var(--color-primary) !important;
	border-color: var(--color-primary);
	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);
	font-weight: var(--fw-bold);
	margin: 0px;
	line-height: 1.2;
}
.section-reassurance .icone {
	margin-bottom: 10px;
}
.section-reassurance .icone img {
	height: 40px;
	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;
}
.section-reassurance .rangee.full {
	width: 100%;
	max-width: 100%;
}
/* Bande de couleur : le fond vient de la classe globale (.primary, .noir…),
   l'outline étend la couleur de 40px au-delà du conteneur. */
.section-reassurance .banniere {
	margin-top: 40px;
	margin-bottom: 40px;
	position: relative;
	z-index: 1;
}
#pourquoi.section-reassurance .banniere {
	padding-top: 80px;
}
.section-reassurance .banniere.primary   { outline: 40px solid var(--color-primary); }
.section-reassurance .banniere.secondary { outline: 40px solid var(--color-secondary); }
.section-reassurance .banniere.noir      { outline: 40px solid var(--color-noir); }
.section-reassurance .banniere.blanc     { outline: 40px solid var(--color-blanc); }
.section-reassurance .banniere.gris      { outline: 40px solid var(--color-gris); }
/* Mode décalé : la bande remonte sur la section précédente. */
.section-reassurance.decalage-banniere .banniere {
	position: relative;
	top: -80px;
	margin-top: 0;
	margin-bottom: -80px;
}
@media (max-width: 1025px) {
	.section-reassurance .banniere.primary,
	.section-reassurance .banniere.secondary,
	.section-reassurance .banniere.noir,
	.section-reassurance .banniere.blanc,
	.section-reassurance .banniere.gris {
		outline-width: 20px;
	}
	.section-reassurance.decalage-banniere .banniere {
		top: -60px;
	}
}

/* ///////////////////////////// SECTION BANDEAU / GALERIE / CAROUSEL ///////*/
.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 .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;
}
.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;
}
.section-galerie .gallery-item:hover:after {
	opacity: 1;
	visibility: visible;
}
.section-galerie .gallery-item img {
	width: 100%;
	height: auto;
	line-height: 0;
}
.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;
}
/* Carousel Swiper — reprend le style des anciens boutons Owl */
.widget-carousel .swiper {
	max-width: 1000px;
	margin: 0 auto;
	/* overflow:hidden hérité de Swiper : le carousel reste aligné
	   sur le contenu, sans débordement des slides voisines. */
}
.widget-carousel .swiper-slide img {
	width: 100%;
	height: auto;
	display: block;
}
.widget-carousel .swiper-button-prev,
.widget-carousel .swiper-button-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin-top: 0;
	background-color: var(--color-primary);
	background-image: url(img/arrow-left.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px auto;
	border: none;
	border-radius: 100px;
	width: 45px;
	height: 45px;
	cursor: pointer;
	transition: all 0.3s;
}
.widget-carousel .swiper-button-next {
	background-image: url(img/arrow-right.svg);
}
.widget-carousel .swiper-button-prev { left: 15px; }
.widget-carousel .swiper-button-next { right: 15px; }
/* Retire la fleche par defaut de Swiper (glyphe de police) */
.widget-carousel .swiper-button-prev::after,
.widget-carousel .swiper-button-next::after {
	content: none;
}
.widget-carousel .swiper-button-prev:hover,
.widget-carousel .swiper-button-next:hover {
	background-color: var(--color-secondary);
}
.widget-carousel .swiper-button-prev:focus-visible,
.widget-carousel .swiper-button-next:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 2px;
	border-radius: 4px;
}
.widget-carousel .swiper-button-disabled {
	opacity: .3;
}

/* -------------------------------------------------------------- 
/////////////////////////////////// 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-noir) !important;
	color: var(--color-blanc) !important;
}
.wpforms-submit-container button.wpforms-submit:hover{
	background: var(--color-secondary) !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);
}
div.wpforms-container-full .wpforms-confirmation-container-full p {
	 color: var(--color-noir) !important;
}
/* -------------------------------------------------------------- 
/////////////////////////////////// FOOTER
----------------------------------------------------------------- */
footer#footer {
	padding: 70px 0px 40px 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: 16px;
	line-height: 1.6;
}
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;
}
footer#footer .bouton a:hover {
	background: var(--color-secondary);
	color: var(--color-noir);
}
/* -------------------------------------------------------------- 
/////////////////////////////////// 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%;
}

/* --------------------------------------------------------------
/////////////////////////////////// ECHELLE D'ESPACEMENT
----------------------------------------------------------------- */
/* Espaceurs sur échelle fermée, mappés sur les jetons --space-*.
   Garde la cohérence verticale du site : modifier les jetons
   répercute partout. */
.espaceur.espace-s  { height: var(--space-6);  }            /*  24px */
.espaceur.espace-m  { height: var(--space-12); }            /*  48px */
.espaceur.espace-l  { height: var(--space-24); }            /*  96px */
.espaceur.espace-xl { height: calc(var(--space-24) * 2); }  /* 192px */

@media (max-width: 767px) {
	.espaceur.espace-l  { height: var(--space-16); }
	.espaceur.espace-xl { height: var(--space-24); }
}

/* --------------------------------------------------------------
/////////////////////////////////// WIDGET TEMOIGNAGE
----------------------------------------------------------------- */
.widget-temoignage {
	margin: 0 0 var(--space-8) 0;
	padding-left: var(--space-6);
	border-left: 3px solid var(--color-primary);
	text-align: left; /* ferré à gauche quel que soit le contexte */
}
.widget-temoignage blockquote {
	margin: 0;
}
.widget-temoignage blockquote p {
	font-size: var(--fs-medium);
	font-style: italic;
	line-height: var(--lh-normal);
	color: var(--color-fg);
}
.widget-temoignage blockquote p::before { content: "\201C\00A0"; }
.widget-temoignage blockquote p::after  { content: "\00A0\201D"; }
.widget-temoignage figcaption {
	display: flex;
	align-items: center;
	gap: var(--space-4);
	margin-top: var(--space-4);
}
.widget-temoignage .photo-temoignage {
	width: 60px;
	height: 60px;
	border-radius: 100px;
	object-fit: cover;
	flex-shrink: 0;
}
.widget-temoignage .auteur-temoignage {
	display: flex;
	flex-direction: column;
}
.widget-temoignage .auteur {
	font-weight: var(--fw-bold);
	color: var(--color-fg);
}
.widget-temoignage .fonction {
	font-size: var(--fs-small);
	color: var(--color-fg);
	opacity: .7;
}

/* --------------------------------------------------------------
/////////////////////////////////// WIDGET CHIFFRES CLES
----------------------------------------------------------------- */
.widget-chiffres .liste-chiffres {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-8);
	justify-content: center;
}
.widget-chiffres .chiffre-cle {
	flex: 1 1 150px;
	text-align: center;
}
.widget-chiffres .nombre {
	font-family: var(--font-heading);
	font-size: var(--fs-big);
	font-weight: var(--fw-bold);
	line-height: var(--lh-tight);
	color: var(--color-primary);
	margin: 0;
	font-variant-numeric: tabular-nums; /* stabilise la largeur pendant l'animation */
}
.widget-chiffres .legende {
	font-size: var(--fs-normal);
	color: var(--color-fg);
	margin: var(--space-2) 0 0 0;
}

/* --------------------------------------------------------------
/////////////////////////////////// WIDGET ETAPES
----------------------------------------------------------------- */
.widget-etapes .liste-etapes {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: etape;
}
.widget-etapes .etape {
	counter-increment: etape;
	position: relative;
	padding: 0 0 var(--space-8) calc(45px + var(--space-5));
	list-style: none;
	margin-left: 0; /* neutralise le retrait global ol li */
}
.widget-etapes .etape::before {
	content: counter(etape);
	position: absolute;
	left: 0;
	top: 0;
	width: 45px;
	height: 45px;
	border-radius: 100px;
	background: var(--color-primary);
	color: var(--color-blanc);
	font-family: var(--font-heading);
	font-weight: var(--fw-bold);
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Trait vertical reliant les étapes (sauf la dernière) */
.widget-etapes .etape:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 22px;
	top: 50px;
	bottom: 5px;
	width: 1px;
	background: var(--color-trait);
	opacity: .25;
}
.widget-etapes .titre-etape {
	margin: 0 0 var(--space-2) 0;
	font-weight: var(--fw-bold);
	color: var(--color-fg);
	line-height: 45px;
}
.widget-etapes .titre-etape + .texte-etape {
	margin-top: calc(var(--space-2) * -1);
}
.widget-etapes .texte-etape p {
	color: var(--color-fg);
}

/* --------------------------------------------------------------
/////////////////////////////////// WIDGET TELECHARGEMENTS
----------------------------------------------------------------- */
.widget-fichiers .titre-fichiers {
	font-weight: var(--fw-bold);
	margin: 0 0 var(--space-4) 0;
	color: var(--color-fg);
}
.widget-fichiers .liste-fichiers {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* Neutralise les puces/retraits globaux (ul li disc) */
.widget-fichiers .liste-fichiers li {
	list-style: none;
	margin-left: 0;
}
.widget-fichiers .fichier a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-4) var(--space-2);
	border-bottom: 1px solid var(--color-trait);
	text-decoration: none;
	transition: background 0.3s;
}
.widget-fichiers .fichier:first-child a {
	border-top: 1px solid var(--color-trait);
}
.widget-fichiers .fichier a:hover,
.widget-fichiers .fichier a:focus-visible {
	background: var(--color-third);
}
.widget-fichiers .nom-fichier {
	color: var(--color-fg);
	font-weight: var(--fw-medium);
}
.widget-fichiers .nom-fichier::before {
	content: "\2913"; /* flèche de téléchargement */
	color: var(--color-primary);
	margin-right: var(--space-2);
}
.widget-fichiers .meta-fichier {
	font-size: var(--fs-small);
	color: var(--color-fg);
	opacity: .7;
	white-space: nowrap;
}

/* --------------------------------------------------------------
/////////////////////////////////// THEMING SECTIONS SOMBRES
----------------------------------------------------------------- */
/* Sur fond sombre (section, bannière ou bloc colonne), les jetons
   de texte et de traits basculent : tout widget qui utilise
   var(--color-fg) / var(--color-trait) s'adapte automatiquement.
   Les titres suivent aussi, sauf couleur explicitement choisie
   dans le widget Titre (classes color-*). */
.section-flexible.noir,
.section-flexible.primary,
.section-flexible .noir,
.section-flexible .primary {
	--color-fg:    var(--color-blanc);
	--color-trait: var(--color-blanc);
	color: var(--color-fg);
}
.section-flexible.noir :is(h1, h2, h3, h4, h5, h6, p, li):not([class*="color-"]),
.section-flexible.primary :is(h1, h2, h3, h4, h5, h6, p, li):not([class*="color-"]),
.section-flexible .noir :is(h1, h2, h3, h4, h5, h6, p, li):not([class*="color-"]),
.section-flexible .primary :is(h1, h2, h3, h4, h5, h6, p, li):not([class*="color-"]) {
	color: var(--color-fg);
}
/* color-noir est la valeur par défaut du widget Titre : du noir sur fond
   sombre n'étant jamais voulu, il bascule en blanc lui aussi. Les autres
   couleurs explicites (color-primary, color-blanc…) restent respectées. */
.section-flexible.noir .color-noir,
.section-flexible.primary .color-noir,
.section-flexible .noir .color-noir,
.section-flexible .primary .color-noir {
	color: var(--color-blanc) !important;
}

/* --------------------------------------------------------------
/////////////////////////////////// PREFERS-REDUCED-MOTION
----------------------------------------------------------------- */
/* Respect de la préférence système de réduction de mouvement
   (accessibilité — troubles vestibulaires). */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	html {
		scroll-behavior: auto !important;
	}
	/* Fond animé : masqué */
	.orb-layer {
		display: none;
	}
	/* Animations d'apparition : contenu visible immédiatement */
	.anim,
	.widget,
	.anim-gauche,
	.anim-droite,
	.anim-zoom {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* --------------------------------------------------------------
/////////////////////////////////// UTILITAIRES CONSTRUCTEUR
----------------------------------------------------------------- */
/* Colonne sticky : l'encadré (contact, sommaire…) suit le défilement.
   À poser dans « class colonne ». Aligné sur scroll-padding-top du html. */
.col-sticky {
	position: sticky;
	top: 120px;
	align-self: flex-start;
}
@media (max-width: 1025px) {
	.col-sticky {
		position: static; /* inutile quand les colonnes s'empilent */
	}
}

/* Ratios d'affichage des images : la forme est gérée par le CSS,
   quelle que soit l'image envoyée. À poser sur la colonne ou un
   wrapper d'image (toutes les images descendantes sont concernées). */
.ratio-carre img,
.ratio-16-9 img,
.ratio-4-3 img,
.ratio-portrait img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
.ratio-carre img    { aspect-ratio: 1 / 1; }
.ratio-16-9 img     { aspect-ratio: 16 / 9; }
.ratio-4-3 img      { aspect-ratio: 4 / 3; }
.ratio-portrait img { aspect-ratio: 3 / 4; }

/* --------------------------------------------------------------
/////////////////////////////////// CONTAINER QUERIES (widgets)
----------------------------------------------------------------- */
/* Chaque colonne devient un conteneur mesurable : les widgets
   s'adaptent à la largeur de LEUR colonne, pas à celle de l'écran.
   Un widget posé en col33 se compacte tout seul. */
.ecart-normal {
	container-type: inline-size;
}

@container (max-width: 400px) {
	/* Chiffres clés : empilés */
	.widget-chiffres .chiffre-cle {
		flex: 1 1 100%;
	}
	.widget-chiffres .liste-chiffres {
		gap: var(--space-6);
	}

	/* Téléchargements : nom et métadonnées sur deux lignes */
	.widget-fichiers .fichier a {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--space-1);
	}
	.widget-fichiers .meta-fichier {
		white-space: normal;
	}

	/* Témoignage : citation plus compacte */
	.widget-temoignage blockquote p {
		font-size: var(--fs-normal);
	}

	/* CTA : hauteur réduite */
	.widget-cta .bloc-focus {
		min-height: 250px;
	}

	/* Étapes : pastilles réduites */
	.widget-etapes .etape {
		padding-left: calc(36px + var(--space-4));
	}
	.widget-etapes .etape::before {
		width: 36px;
		height: 36px;
	}
	.widget-etapes .etape:not(:last-child)::after {
		left: 18px;
		top: 42px;
	}
	.widget-etapes .titre-etape {
		line-height: 36px;
	}
}

/* --------------------------------------------------------------
/////////////////////////////////// CONTENU EDITEUR (complément)
----------------------------------------------------------------- */
/* Contenu saisi dans les champs wysiwyg : jamais de débordement. */
.content-single img,
.widget-texte img {
	max-width: 100%;
	height: auto;
}
.content-single iframe,
.widget-texte iframe {
	max-width: 100%;
}
.wp-caption {
	max-width: 100%;
}

/* --------------------------------------------------------------
/////////////////////////////////// FINITIONS
----------------------------------------------------------------- */
::selection {
	background: var(--color-primary);
	color: var(--color-blanc);
}

/* Plus de mot orphelin sur la dernière ligne des titres,
   coupures de paragraphes plus harmonieuses. */
h1, h2, h3, h4,
.sous-titre,
.titre-focus em {
	text-wrap: balance;
}
p, li {
	text-wrap: pretty;
}

/* --------------------------------------------------------------
/////////////////////////////////// CHARTE BRS (maquette Figma)
----------------------------------------------------------------- */

/* ----- Sur-titres : JetBrains Mono uppercase + point rouge ----- */
.label-mono,
#titre-simple p.sur-titre-page,
#bloc-titre-page p.sur-titre-page {
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: var(--fs-small);
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-fg);
}
.label-mono::before,
#titre-simple p.sur-titre-page::before,
#bloc-titre-page p.sur-titre-page::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 100px;
	background: var(--color-primary);
	flex-shrink: 0;
}
/* Footer : sur-titre en rouge (maquette "intervention sous 24h") */
footer#footer .label-mono {
	color: var(--color-accent);
}
footer#footer .label-mono::before {
	background: var(--color-accent);
}
#titre-simple.text-center p.sur-titre-page,
.colcenter p.sur-titre-page {
	justify-content: center;
}

/* ----- Typo mono utilitaire + numéros d'étapes (parcours) ----- */
.typo-mono {
	font-family: var(--font-mono);
	font-weight: 300;
}
.numero-etape {
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 45px;
	line-height: 1;
	color: var(--color-primary);
	margin: 0 0 14px 0;
}

/* ----- Header : barre blanche, menu Figtree Bold, item CTA ----- */
header#header nav > ul > li > a {
	font-weight: var(--fw-bold);
	font-size: 18px;
	color: var(--color-noir);
}
header#header nav ul li.menu-cta > a {
	background: var(--color-primary);
	color: var(--color-blanc);
	border-radius: var(--radius-bouton);
	padding: 12px 26px;
	transition: all 0.3s;
}
header#header nav ul li.menu-cta > a:hover {
	background: var(--color-noir);
	color: var(--color-blanc);
}

/* ----- Images du constructeur : arrondi 20px (maquette) ----- */
.widget-image img,
.widget-carousel .swiper-slide img,
.section-galerie .gallery-item,
.section-galerie .gallery-item img {
	border-radius: var(--radius);
}



/* ----- Widget étapes : numéros mono bleus (maquette parcours) ----- */
.widget-etapes .etape {
	padding: 0 0 var(--space-8) 0;
}
.widget-etapes .etape::before {
	content: counter(etape, decimal-leading-zero);
	position: static;
	display: block;
	width: auto;
	height: auto;
	border-radius: 0;
	background: none;
	color: var(--color-primary);
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 45px;
	line-height: 1;
	margin-bottom: var(--space-4);
}
.widget-etapes .etape:not(:last-child)::after {
	content: none;
}
.widget-etapes .titre-etape {
	line-height: 1.3;
	margin: 0 0 var(--space-2) 0;
}
.widget-etapes .titre-etape + .texte-etape {
	margin-top: 0;
}

/* ----- Footer BRS : grand CTA + colonnes + baseline ----- */
footer#footer {
	background: var(--color-noir);
	color: var(--color-gris);

}
footer#footer .titre-footer {
	font-family: var(--font-heading);
	font-weight: var(--fw-bold);
	font-size: var(--fs-big);
	line-height: 1;
	color: var(--color-blanc);
	margin: 0px 0 0 0;
	text-wrap: balance;
}
footer#footer p {
	color: var(--color-gris);
}
footer#footer .titre-colonne {
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-blanc);
	margin: 0 0 10px 0;
}
footer#footer a {
	color: var(--color-gris);
	text-decoration: none;
	transition: color 0.3s;
}
footer#footer a:hover,
footer#footer a:focus-visible {
	color: var(--color-secondary);
}
footer#footer ul {
	margin: 0;
	padding: 0;
}
footer#footer ul li {
	list-style: none;
	margin: 0 0 0px 0;
}
footer#footer .boutons-footer {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}
footer#footer .colonnes-footer {
	margin-top: 30px;
}
footer#footer #credits {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	padding-top: 25px;
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 13px;
}
footer#footer #credits p {
	margin: 0;
	color: #cfcfcf;
}

footer#footer #credits .ligne-credits {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 14px;
}
footer#footer .baseline-footer {
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-blanc);
}



/* --------------------------------------------------------------
/////////////////////////////////// HERO ACCUEIL
----------------------------------------------------------------- */
.bg-points {
	background-image: url(img/bg-points.png);
	background-position: center center;
}
.hero-home {
	position: relative;
	top: -70px;
	z-index: 99;
}
.hero-home .rangee {
	align-items: flex-start;
}
.hero-home .colonne01 .widget-texte {
	padding-right: 50px;
}
.hero-home .colonne01 .widget-texte p {
	font-size: var(--fs-medium);
}
.hero-home .colonne01 .widget-image {
	width: 75%;
	margin: 10px -20% -0 auto;
	position: relative;
	z-index: 2;
}
.hero-home .colonne02 .widget-image {
	position: relative;
	z-index: 1;
}
@media (max-width: 1025px) {
	.hero-home .colonne01 .widget-texte {
		max-width: 100%;
	}
	.hero-home .colonne01 .widget-image {
		width: 100%;
		margin: 20px 0 0 0;
	}
}
/* Le H1 de l'accueil laisse la place à droite ; la photo portrait
   de la section hero-home remonte à côté du titre (maquette). */
body.home #titre-simple h1 {
	max-width: 75%;
}

/* Photo portrait : démarre au niveau du sous-titre, pas du titre */
.hero-home .colonne02 .widget-image {
	
}
/* Photo large : chevauche la section suivante */
.hero-home .colonne01 .widget-image {
	margin-bottom: clamp(-140px, -7vw, -50px);
}
@media (max-width: 1025px) {
	body.home #titre-simple h1 {
		max-width: 100%;
	}
	.hero-home .colonne02 .widget-image {
		margin-top: 0;
	}
	.hero-home .colonne01 .widget-image {
		margin-bottom: 0;
	}
}

/* Flèche de descente (lien d'ancre sous les boutons du héros) */
.fleche-bas-wrap {
	position: relative;
	top: 80px;
}
a.fleche-bas {
	display: inline-block;
	width: 15px;
	height: 40px;
	background: url(img/fleche-bas.svg) center / 15px 40px no-repeat;
	transition: transform 0.3s;
}
a.fleche-bas:hover,
a.fleche-bas:focus-visible {
	transform: translateY(8px);
}
/* --------------------------------------------------------------
/////////////////////////////////// AJUSTEMENTS MAQUETTE 
----------------------------------------------------------------- */

/* Crédits footer : le menu légal au même format que le reste de la ligne */
footer#footer #credits .menu-legal li {
	margin: 0;
	list-style: none;
}
footer#footer #credits a {
	color: #cfcfcf;
	font-family: var(--font-mono);
	font-weight: 300;
	font-size: 13px;
}

/* --------------------------------------------------------------
/////////////////////////////////// LOADER (home — maquette)
----------------------------------------------------------------- */
#loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-blanc);
	transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
/* Halo bleu doux derrière le logo (rappel des orbes de la maquette) */
#loader::before {
	content: "";
	position: absolute;
	top: -400px;
	right: -400px;
	width: min(90vw, 900px);
	height: min(90vw, 900px);
	background: radial-gradient(circle, hsl(199 84% 51% / 0.12) 0%, transparent 60%);
	border-radius: 50%;
}
#loader .loader-logo {
	position: relative;
	width: clamp(150px, 16vw, 240px);
	animation: loader-pulse 1.5s ease-in-out infinite;
}
#loader .loader-logo img {
	width: 100%;
	height: auto;
	display: block;
}
@keyframes loader-pulse {
	0%, 100% { transform: scale(.98); opacity: 0.7; }
	50%      { transform: scale(1);    opacity: 1; }
}
/* Masquage (classe posée par app.js au chargement) */
#loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
	#loader .loader-logo { animation: none; }
}
