/*
Theme Name: Le Flibusthème
Author: Agence Les Flibustiers
Author URI: https://les-flibustiers.com
Description: Theme enfant de Divi par Les Flibustiers
Version: 3.0.0
Template: Divi
*/

/*----------RESET----------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, 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;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*----------ELEMENTS DE BASE----------*/

/*Centrer verticalement*/
.centrer {
    display: flex;
    flex-direction: column;
    justify-content: center;
  /* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
  }
/*Inverser ordre des colonnes sur mobile*/
@media only screen and (max-width : 980px) {
  .inverser-section .inverser-ligne {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}
/*Mettre exposants et indices à la bonne taille*/
sup, sub {
  font-size: 70%;
}

/*----------STYLES----------*/
.brother, .brother p, .brother div, .brother span,.brother li, .brother a {
	font-family: brother-1816, sans-serif;
}
:root{
  /* Fonts */
  --ff-main: "Sora", sans-serif;
  --ff-accent: brother-1816, sans-serif;

  /* Taille de typo */
  --fs-h1: clamp(1.5rem, 5vw, 3rem);
  --fs-h2: clamp(1rem, 4vw, 2.5rem)!important;
  --fs-h3: clamp(1rem, 4vw, 1.5rem);
  --fs-text: 16px;
  --fs-text-petit: 13px;
  --fs-text-grand: 18px;

  /* Couleurs */
  --clr-main: #0033ff;
  --clr-scnd : #ff0000;
  --clr-thrd : #00ff4c;
  --clr-text: #000;
}

@media (max-width: 980px){
  :root{
    --fs-text: 14px;
    --fs-text-petit: 12px;
    --fs-text-grand: 17px;
  }
}

p,
ul,
li,
ol,
dl,
blockquote,
pre,
td,
th,
label,
textarea,
caption,
details, 
figure, 
hgroup, 
input,
span,
.cmplz-title, .cmplz-message, .cmplz-buttons, .cmplz-links, .cmplz-btn, div  {
  font-family: var(--ff-main);
  font-weight: 300;
  font-style: normal;
  font-size: var(--fs-text);
}

h1, .h1-like, .h1-like p, .h1-like div, .h1-like span, .h1-like h1, .h1-like h2, .h1-like h3, .h1-like li, .h1-like a {
  font-family: var(--ff-accent);
  font-weight: 800;
  font-style: normal;
  font-size: var(--fs-h1);
	line-height: 1.1;
		text-transform:uppercase;

}
.single-formation h1{
	font-size:clamp(1.2rem, 4vw, 3rem);

}
.single-etablissement h1{
	 font-size:clamp(2.2rem, 10vw, 3rem)!important;
}

h2, .h2-like, .h2-like p, .h2-like div, .h2-like span, .h2-like h1, .h2-like h2, .h2-like h3, .h2-like li, .h2-like a {
  font-family: var(--ff-accent);
  font-weight: 900;
  font-style: normal;
  font-size: var(--fs-h2);
	line-height: 1.1;
	text-transform:uppercase;
}

h3,h3 a, .h3-like, .h3-like p, .h3-like div, .h3-like span, .h3-like h1, .h3-like h2, .h3-like h3, .h3-like li, .h3-like a {
  font-family: var(--ff-accent)!important;
  font-weight: 900;
  font-style: normal;
  font-size: var(--fs-h3);
	line-height: 1.1;
}

.blanc, .blanc p, .blanc div, .blanc span, .blanc h1, .blanc h2, .blanc h3, .blanc li, .blanc a {
  color: #fff !important;
}

.clr-1, .clr-1 p, .clr-1 div, .clr-1 span, .clr-1 h1, .clr-1 h2, .clr-1 h3, .clr-1 li, .clr-1 a {
  color: var(--clr-main) !important;
}

.clr-2, .clr-2 p, .clr-2 div, .clr-2 span, .clr-2 h1, .clr-2 h2, .clr-2 h3, .clr-2 li, .clr-2 a {
  color: var(--clr-scnd) !important;
}

.clr-3, .clr-3 p, .clr-3 div, .clr-3 span, .clr-3 h1, .clr-3 h3, .clr-3 h3, .clr-3 li, .clr-3 a {
  color: var(--clr-thrd) !important;
}

.ital, .ital p, .ital div, .ital span, .ital h1, .ital h2, .ital h3, .ital li, .ital a {
  font-style: italic !important;
}

.underline, .underline p, .underline div, .underline span, .underline h1, .underline h2, .underline h3, .underline li, .underline a {
  text-decoration: underline !important;
}

.underline-h:hover, .underline-h a:hover {
  text-decoration: underline !important;
}

.maj, .maj p, .maj div, .maj span, .maj h1, .maj h2, .maj h3, .maj li, .maj a {
  text-transform: uppercase !important;
}

.petit, .petit p, .petit div, .petit span, .petit h1, .petit h2, .petit h3, .petit li, .petit a {
  font-size: var(--fs-text-petit);
}

.grand, .grand p, .grand div, .grand span, .grand h1, .grand h2, .grand h3, .grand li, .grand a {
  font-size: var(--fs-text-grand);
}

.no-puces, .no-puces ul{
	list-style: none;
	padding-left: 0 !important;
}
.puces-fleches li:before, .puces-fleches .et_pb_tab_content li:before{
	content:url('/wp-content/uploads/2025/10/Trace-108.svg');
    position: absolute;
    margin-top: 4px;
    left: 0px;
} 
.puces-fleches ul, .puces-fleches .et_pb_tab_content ul{
	line-height:35px!important;
	margin-left:40px;
}

strong{
  font-weight: 800 !important;
}

/* Graisses */
.fw300, .fw300 p, .fw300 div, .fw300 span, .fw300 h1, .fw300 h2, .fw300 h3, .fw300 li, .fw300 a {
	font-weight: 300 !important;
}

.fw400, .fw400 p, .fw400 div, .fw400 span, .fw400 h1, .fw400 h2, .fw400 h3, .fw400 li, .fw400 a {
	font-weight: 400 !important;
}

.fw500, .fw500 p, .fw500 div, .fw500 span, .fw500 h1, .fw500 h2, .fw500 h3, .fw500 li, .fw500 a {
	font-weight: 500 !important;
}

.fw600, .fw600 p, .fw600 div, .fw600 span, .fw600 h1, .fw600 h2, .fw600 h3, .fw600 li, .fw600 a {
	font-weight: 600 !important;
}

.fw700, .fw700 p, .fw700 div, .fw700 span, .fw700 h1, .fw700 h2, .fw700 h3, .fw700 li, .fw700 a {
	font-weight: 700 !important;
}

.fw800, .fw800 p, .fw800 div, .fw800 span, .fw800 h1, .fw800 h2, .fw800 h3, .fw800 li, .fw800 a {
	font-weight: 800 !important;
}

.fw900, .fw900 p, .fw900 div, .fw900 span, .fw900 h1, .fw900 h2, .fw900 h3, .fw900 li, .fw900 a {
	font-weight: 900 !important;
}

.full, .full .et_pb_image_wrap{
	width: 100% !important;
}

.full img{
	height: 100% !important;
	width: 100% !important;
	object-fit: cover;
	object-position: center;
}

/*----------BOUTONS----------*/

.et_pb_button, .et_pb_button_0, .et_pb_button_1, .bouton, .button {
  font-family: var(--ff-main) !important;
  font-weight: 500 !important;
}

/*----------SIGNATURE FOOTER----------*/
/* © 2025 - Réalisé avec fierté par l'agence <a href="https://www.les-flibustiers.fr" target="_blank">• les flibustiers •</a> */
.trademark, .trademark .et_pb_text_inner{
	text-align: center;
}

.trademark a{
	text-transform: uppercase;
	font-weight: 600;
  color: inherit;
  transition: color .3s ease;
}

.trademark a:hover{
	color: var(--clr-scnd);
}
/*----------TETEUR----------*/
#pronote:before{
	content:url('/wp-content/uploads/2025/10/Calque-1.svg');
	display:block;
    top: 5px;
    position: relative;
}
#messagerie:before{
	content:url('/wp-content/uploads/2025/10/outlook_732223.svg');
	display:block;
    top: 5px;
    position: relative;
}
#vie-scolaire:before{
	content:url('/wp-content/uploads/2025/10/Groupe-140.svg');
	display:block;
    top: 1px;
    position: relative;
}
#tel:before{
	content:url('/wp-content/uploads/2025/10/Trace-348.svg');
	display:block;
    top: 5px;
    position: relative;
}
#contact:before{
	content:url('/wp-content/uploads/2025/10/@.svg');
	display:block;
    top: 5px;
    position: relative;
}
.ecole-trigger .et_pb_text_inner{
	align-content:center;
}
.ecole-trigger{
	justify-content:center;
}
.wpgb-facet-1 fieldset{
	margin-bottom:10px!important;
}
.wpgb-prev-button, .wpgb-next-button{
	height:30px!important;
}
.wp-grid-builder .wpgb-next-button svg, .wp-grid-builder .wpgb-prev-button svg{
	padding:10%!important;
} 
.wpgb-facet .gm-style .gm-style-iw-d, .wpgb-facet .leaflet-popup-content, .wpgb-facet .mapboxgl-popup-content{
	border-radius:0px!important;
}
#cat-etab div{
	font-size:30px!important;
}
.bref-titre{
	font-weight:900;
}
.bref-descriptif{
	margin-left:35px;
}
.bref-titre:before{
	content: url(/wp-content/uploads/2025/10/Trace-108.svg);
    margin-right: 5px;
}
.bref-item{
	margin-bottom:30px;
}
.bloc-bref {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 5rem; /* row-gap / column-gap */
}

.bref-item {
    flex: 0 0 calc(50% - 3rem); /* 2 colonnes */
}

@media (max-width: 900px) {
    .bref-item {
        flex-basis: 100%;
    }
	#map_etables .wpgb-map-facet {
		height:600px!important;
	}
}

.docs-utiles {
    display: flex;
	justify-content:center;
	flex-wrap:wrap;
	gap: 2.5rem 3rem;
    text-align: center;
}

.docs-utiles__item {
    display: flex;
	width:25%;
    flex-direction: column;
    align-items: center;
	justify-content: space-between;
}
@media (max-width: 900px) {
	.docs-utiles {
		flex-direction:column;
	}
	.docs-utiles__item {
	width:100%;
	}	
}

.docs-utiles__top {
    margin-bottom: 1rem;
}

/* Icône de document (en haut) */
.docs-utiles__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.75rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* remplace l'URL par ton pictogramme doc */
    background-image: url('/wp-content/uploads/2025/10/inscription.svg');
}

.docs-utiles__title {
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
	color:#194453;
}

.docs-utiles__subtitle {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
}

/* Bouton de download */
.docs-utiles__bottom {
    margin-top: 0.75rem;
}

.docs-utiles__download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background-color: #f2a311; /* ton orange */
    text-decoration: none;
}

/* Icône de flèche vers le bas */
.docs-utiles__download-icon {
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    /* remplace l'URL par ton picto "download" */
    background-image: url('/wp-content/uploads/2025/10/Groupe-218.svg');
}

/* Responsive */
@media (max-width: 1024px) {
    .docs-utiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .docs-utiles {
        grid-template-columns: 1fr;
    }
}

/* Module search en mode icône */
.flib-search-icon .et_pb_searchform{
  position: relative;
}

/* Icône loupe (Divi ETModules) */
.flib-search-icon .et_pb_searchform::after{
  content: '\55';                 /* icône search Divi */
  font-family: 'ETModules';
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  position: absolute;
  top: 50%;
  right: 1px;
  transform: translateY(-50%) scaleX(-1);
  pointer-events: none;          /* l’icône ne bloque pas le clic */
    z-index: 7;
    color: #fff;
    background: #194453;
    border-radius: 900px;
    padding: 7px;
}

/* On rend le bouton submit invisible mais cliquable */
.flib-search-icon .et_pb_searchsubmit{
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;                   /* ajuste selon la hauteur de ton champ */
  height: 100%;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;       /* cache "Chercher" */
  cursor: pointer;
  z-index: 3;
}

/* Laisse de la place à droite pour l’icône */
.flib-search-icon .et_pb_s{
  padding-right: 54px !important;
}
/* Base */
#menu-haut li{
  position: relative;               /* au cas où */
  display: inline-flex;             /* optionnel mais comfy */
  align-items: center;
  gap: .5rem;                       /* si ::before est à côté */

}

/* Ton before */
#menu-haut li::before{
  display: inline-block;            /* IMPORTANT pour pouvoir rotate */
  transition: transform .2s ease;   /* animation douce */
  transform-origin: center center;  /* pivot au centre */
}

/* Hover : before tourne léger vers la droite + texte grossit */
li#messagerie:hover::before{
  transform: rotate(8deg);          /* ajuste l’angle */
}

li#messagerie:hover{
  transform: scale(1.06);           /* grossissement léger */
  font-weight: 600;                 /* optionnel: donne un “pop” */
}
@keyframes vib {
  0%   { transform: translate(0,0) rotate(0); }
  15%  { transform: translate(1px,-1px) rotate(1deg); }
  30%  { transform: translate(-1px,1px) rotate(-1deg); }
  45%  { transform: translate(1px,1px) rotate(1deg); }
  60%  { transform: translate(-1px,-1px) rotate(-1deg); }
  75%  { transform: translate(1px,-1px) rotate(1deg); }
  100% { transform: translate(0,0) rotate(0); }
}

/* au hover */
li#tel:hover::before{
  animation: vib .35s linear infinite;
}
.flib-submenu{
	display:none;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  will-change: opacity, transform;
}

.flib-submenu.is-open{
	display:block;
  opacity: 1;
  pointer-events: auto;
}
.flib-menu-wrap ul.flib-menu-vertical{
  list-style: none;
  margin: 0;
  padding: 0;
}
#menu-établissement .flib-menu-wrap ul.flib-menu-vertical{
		column-count:2;
}
.flib-menu-wrap ul.flib-menu-vertical li{
  margin: 0;
  padding: 0;
}

.flib-menu-wrap ul.flib-menu-vertical a{
  display: block;
  text-decoration: none;
	color:#194453;
}
#meta-cat .wpgb-block-term{
    padding: 4px 8px;
    font-weight: 400;
    margin-right: 15px;
}
#et-boc .wpgb-facet .wpgb-button span{
    font-weight: 700!important;
}
#et-boc .wpgb-facet .wpgb-button{
	border-width:1.5px;
}
.wpgb-facet fieldset:last-child{
	margin-bottom:5px!important;	
}
/*trombinoscope*/
.trombi{
	display: flex;
    flex-wrap: wrap;
	justify-content: space-around;
}
.trombi-item__photo{
	height: 140px;
    width: 138px;
    background-size: cover;
	margin:auto;
	margin-bottom:20px;
}
.trombi-item{
	width:20%;
	min-width: 235px;
}
.trombi-item-be{
	width:25%;
	min-width: 235px;
}
@media(max-width:650px){
	.trombi-item{
	margin-bottom:20px;
	}
}
.trombi-item__name{
	font-size:24px;
	font-weight:700;
	text-align:center;
	color:#194453;
	padding-bottom:20px!important;
}
.trombi-item__title{
	text-align:center;
	color:#194453;
}
/*contenu formations custom*/
.single-formation #main-content .container::before {
    content: none !important;
}
.acf-section__inner{
	padding: 50px 0;
}
.acf-section__title{
	text-transform:uppercase;
	font-weight:800;
	margin-bottom:20px;	
}
.acf-section__subtitle{
	margin-bottom:20px;	
	padding: 0;
	line-height:33px;
	font-size:18px;
}
.acf-section__content,.acf-section__meav{
	margin-bottom:20px;	
}
.acf-section h2,.acf-section h3, .acf-section p, .acf-section div{
	color:#194453;
}
.acf-section__actions a{
	color: #194453;
    border-width: 2px !important;
    border-radius: 0px;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}
.acf-section--style-fond-bleu{
	background-color:#008AA1;
}
#main-content .acf-section--style-fond-bleu h2,#main-content .acf-section--style-fond-bleu h3,#main-content .acf-section--style-fond-bleu p,#main-content .acf-section--style-fond-bleu div,#main-content .acf-section--style-fond-bleu div a{
	color:white;
}
.acf-section--style-fond-vert{
	background-color:#97BF0D;
}
#main-content .acf-section--style-fond-vert h2,#main-content .acf-section--style-fond-vert h3,#main-content .acf-section--style-fond-vert p,#main-content .acf-section--style-fond-vert div,#main-content .acf-section--style-fond-vert div a{
	color:white;
}
.acf-section--style-fond-orange-clair{
	background-color:#FEF5E7;
}
#main-content .acf-section--style-fond-orange-clair h2,#main-content .acf-section--style-fond-orange-clair h3,#main-content .acf-section--style-fond-orange-clair div{
	color:#F59D15!important;
}
#main-content .acf-section--style-fond-orange-clair p,#main-content .acf-section--style-fond-orange-clair li{
	color:#D27902;
}
#main-content .acf-section--style-fond-orange-clair div a{
	color:white;
	background-color:#F59D15!important;
	border:0;
}
.acf-section--style-fond-bleu-clair{
	background-color:#F7F5F0;
}
.acf-section--style-default .acf-section__col--1{
	border-color:#008AA1;
}
.acf-section--style-fond-bleu-clair .acf-section__col--1{
	border-color:#F59D15;
}

@media (min-width:890px){
	.acf-section--image-texte .acf-section__inner{
	display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
	}
	.acf-section--image-texte .acf-section__text,.acf-section--image-texte .acf-section__image{
		flex:1;
	}
	.acf-section-float{
		display:flex;
		align-items: center;
		gap:5%;
	}
	.acf-section__inner--2cols{
		display:flex;
	}
	.column1_formation{
		width:70%;
	}
	.column2_formation{
		width:30%;
	}
	.acf-section__inner--2cols .acf-section__col{
		width:50%;
	}
	.acf-section__col--1{
		border-right: solid 3px;
		padding-right:2%;
	}
	.acf-section__col--2{
		padding-left:2%;
	}
	.acf-section--double-colonne .acf-section__content{
		margin-bottom:0;
	}
	.acf-section__subtitle{
	font-size:26px;
}
}
.acf-section-float .acf-section__meav{
	padding: 10%!important;
}    

.acf-section__meav, .acf-section__content_border{
	width:fit-content;
    border-radius: 10px;
	padding:2%;
}
.column2_formation .acf-section__meav{
	margin:auto;
}
.acf-section__content_border{
	border:solid;
}
.acf-section__meav * {
    color: inherit !important;
}
.acf-section--table-default{
	background-color:#F7F5F0;
}
.acf-section--table-fond-bleu{
	background-color:#194453;
}
.acf-section--table-fond-bleu h2,.acf-section--table-fond-bleu .acf-table__cell{
	color:white;
}
.acf-table__row{
	display:flex;
	justify-content:space-between;
	margin-bottom: 10px;
    border-bottom: 3px solid #008AA1;
	padding-bottom:10px;
}
.acf-table__cell--right{
	font-weight:800;
}
.acf-debouches__subtitle{
	color:#194453;
}
.acf-debouches__item{
	background-color: #F59D15;
    padding: 10px!important;
    color: white;
    font-weight: 700;
    border-radius: 15px;
    width: fit-content;
    margin-bottom: 20px;
}
.acf-poursuite-etudes__item{
	background-color: white;
    padding: 10px!important;
    color: #194453!important;
    font-weight: 700;
    border-radius: 15px;
    width: fit-content;
    margin-bottom: 20px;
}
.acf-poursuite-etudes__subtitle{
	color:white;
}
.acf-section__meav ul{
	padding-bottom:0;
}
.acf-debouches__items,.acf-poursuite-etudes{
	display: flex;
    flex-wrap: wrap;
    gap: 3%;
}
.acf-section--images .acf-section__images-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.acf-section__image-img {
    width: 100%;
    height: auto;
    display: block;
}
.acf-video-embed , .et_pb_video    {
    max-width: 950px;
    margin: auto;
} 
@media (max-width: 768px) {
    .acf-section--images .acf-section__images-grid {
        grid-template-columns: 1fr;
    }
}
.acf-section--images{
	background-color:#F7F5F0;
}
/*menu*/
.burger-menu-list {
    padding: 0 4% !important;
}
.tableau-form td{
	padding:1%;
}
.single-formation h2, .single-formation h3{
	margin-bottom:20px;
}
.flib-menu-vertical li{
	margin-bottom:10px!important;
}
@media (max-width: 1280px) {
    #row-menu-haut {
        flex-direction:column;
		gap:20px;
	}
	#row-menu-haut .et_pb_column_1_4 {
		margin-right:0px!important;
	}
}
.wpgb-marker-icon{
	height:3vw!important;
	min-height:30px;
}
#menu-item-559 a:after, #menu-item-560 a:after {
	font-family: ETmodules;
    content: "3";
    font-size: 16px;
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 800;
}
#menu-item-559 a, #menu-item-560 a{
	padding-right:20px;
}
.bleu-menu:before{
	content:'';
	background: #194453 !important;
    position: absolute;
    height: 32%;
    width: 100%;
    top: 34%;
    left: 0px;
}
#menu-item-2258 a{
	color:white!important
}
/* Remplace .ton-element par la classe de ton titre ou de ton bouton */
#menu-menu-principal::after {
    content: "";
    display: inline-block;
    width: 21px;  /* Largeur du drapeau */
    height: 14px; /* Hauteur du drapeau */
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Petit relief */
	margin-top:38px;
    
    /* Le drapeau : 3 bandes de 33.33% */
    background: linear-gradient(
        to right, 
        #002654 33.33%, 
        #ffffff 33.33% 66.66%, 
        #ed2939 66.66%
    );
}
/* On prépare le header pour l'animation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    z-index: 9999; /* Pour rester au-dessus de tout */
}

/* La classe qui va cacher le header */
.header-hidden {
    transform: translateY(-100%);
}
#et-main-area{
	margin-top:120px;
}
@media(max-width:890px){
	#et-main-area{
	margin-top:74px;
	}
}
@media(max-width:1621px){
	.et_pb_menu ul li a,.flib-menu-vertical li a{
		font-size:14px!important;
	}
	.et_pb_menu_0_tb_header .et_pb_menu__logo-wrap {
	max-width:120px!important;
	}
	.et_pb_menu--style-left_aligned .et_pb_menu__logo
	{
    margin-right: 0!important;
	}
}
@media(max-width:1384px){
	.et_pb_menu ul li a,.flib-menu-vertical li a{
		font-size:13px!important;
	}
		.et_pb_menu_0_tb_header .et_pb_menu__logo-wrap {
	max-width:100px!important;
	}
	#menu-item-2707{
		display:none;
	}
	
}
@media(min-width:890px){
	#menu-haut{
		min-width:789px;
	}
}
.et_pb_menu_0_tb_header {
	min-width:948px;
}
.et_pb_menu_0_tb_header .et_pb_menu__wrap{
	min-height:92px;
}
.flib-menu-vertical .sub-menu{
	list-style:none;
	padding:0;
}
/* 1. État caché : on réduit la hauteur à 0 et on cache le débordement */
.flib-menu-vertical  .menu-item-has-children .sub-menu {
    display: block; /* On le laisse en block pour que l'animation fonctionne */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    margin: 0;
    padding-left: 15px; /* Petit retrait visuel pour les sous-menus */
}

/* 2. État survolé : on donne une hauteur max suffisante pour tout afficher */
.flib-menu-vertical .menu-item-has-children:hover > .sub-menu {
    max-height: 500px; /* Une valeur supérieure à la taille réelle du menu */
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 10px;
}
.flib-menu-vertical .menu-item-has-children > a:after {
    font-family: ETmodules;
    content: "3";
    font-size: 16px;
    position: absolute;
    right: -10px;
    top: 0;
    font-weight: 800;
}
.wsp-parole-de-jeunes-title, .wsp-parole-de-jeunes-list, .wsp-layout_types-title, .wsp-layout_types-list, .wsp-module_widths-title, .wsp-module_widths-list, .wsp-scopes-title, .wsp-scopes-list, .wsp-etablissement-liess-title, .wsp-etablissement-liess-list, .wsp-niveau-de-formations-title, .wsp-niveau-de-formations-list{
	display:none!important;
}