/* Theme Name: Starter AEB (ACTIF - Parent v1.4.0)
   Theme URI: http://www.starter_aeb.fr/
   Description: Thème parent PBN avec page builder ACF flexible, header/footer drag & drop, SEO et accessibilité intégrés (v1.4.0)
   Version: 1.4.0
   Author: A l'Encre bleue
   Author URI: https://alencrebleue.com
*/
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 400;
  src: local("Commissioner Regular"), local("Commissioner-Regular"), url("/wp-content/themes/starter_aeb/assets/fonts/Commissioner-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 700;
  src: local("Commissioner Bold"), local("Commissioner-SemiBold"), url("/wp-content/themes/starter_aeb/assets/fonts/Commissioner-SemiBold.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 700;
  src: local("Commissioner Bold"), local("Commissioner-Bold"), url("/wp-content/themes/starter_aeb/assets/fonts/Commissioner-Bold.woff2") format("woff2");
  font-display: swap;
}
:root {
	/* couleurs */
	--primary: #15293D;
	--secondary:#2D9898;
	--tertiary: #EFB447;
	--black: #3B3939;
	--white: #FFFFFF;
	--gris: #FAFAFA;
	/* Couleurs */
    --color-1:#FCFAF9;
    --color-2:#FFFFFF;
    --color-3:#EFB447;
    --color-4:#15293D;
    --color-5:#2D9898;
    --color-6:#1D3C5B;

    /* couleurs des textes */
    --font-color: var(--black);
    /* couleurs du fond de la page */
    --body-color: var(--white);
    /* Border-radius */
	--radius: 6px;
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-20: 20px;
    /* Fonts */
    --font-family: 'Commissioner', sans-serif;
    /* TYPOGRAPHIE */
    --p-font-size: 16px;
    --li-font-size: 16px;
    /* Desktop */
    --h1-desktop-font-size: 40px;
    --h2-desktop-font-size: 30px;
    --h3-desktop-font-size: 22px;
    --h4-desktop-font-size: 16px;
    /* Tablet */
    --h1-tablet-font-size: 36px;
    --h2-tablet-font-size: 32px;
    --h3-tablet-font-size: 20px;
    --h4-tablet-font-size: 16px;
    /* Mobile */
    --h1-mobile-font-size: 30px;
    --h2-mobile-font-size: 24px;
    --h3-mobile-font-size: 20px;
    --h4-mobile-font-size: 16px;
    /* Arrow et puce */
    --puce-menu: url('/wp-content/themes/starter_aeb/assets/images/puce-menu.svg');
    --fleche-marine: url('/wp-content/themes/starter_aeb/assets/images/fleche-marine.svg');
    --fleche-grise: url('/wp-content/themes/starter_aeb/assets/images/fleche-grise.svg');
    --checklist: url('/wp-content/themes/starter_aeb/assets/images/checklist.svg');
    /* Picto coordonnées */
    --email: url('/wp-content/themes/starter_aeb/assets/images/mail_line.svg');
    --telephone: url('/wp-content/themes/starter_aeb/assets/images/phone_line.svg');
    --telephone-donateur: url('/wp-content/themes/starter_aeb/assets/images/phone-accueil.svg');
    --localisation: url('/wp-content/themes/starter_aeb/assets/images/map_line.svg');
    --social: url('/wp-content/themes/starter_aeb/assets/images/social.svg');
}

/*------------------------------------*/

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,
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-family: var(--font-family);
  font-style: normal;
  color: var(--font-color);
}

body {
  background: var(--body-color);
  overflow-x: hidden;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ul {
    gap: 6px;
    display: flex;
    flex-direction: column;
}
#wpadminbar ul {
	gap: inherit;
	flex-direction: initial;	
	display: contents;
}
ul.wrap-nav {
	list-style-type: none;
	gap: inherit;
	flex-direction: inherit;	
}
ul.checklist {
    list-style-type: none;
}
ul.checklist li {
    position: relative;
    padding-left: 30px;
}
ul.checklist li:after {
    content: var(--checklist);
    position: absolute;
    left: 0;
    top: 0;
}
img {
  width: auto;
  display: block;
  max-width: 100%;
  height: auto;
}

body {
  -webkit-font-smoothing: antialiased;
}

blockquote {
  box-shadow: 0 3px 6px #00000029;
  padding: 0.25rem 1.5rem;
  background: rgb(237 201 161 / 40%);
  border-left: 5px solid var(--secondary);
  margin: 1.5rem 0;
  font-weight: 600;
}

/*------------------------------------*\
    MARGE SUR MENU ADMIN - SUPPRIMÉ
    Maintenant géré par header-styles.css
\*------------------------------------*/

/*------------------------------------*\
    LA GRID
\*------------------------------------*/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.container {
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.row>* {
  float: left;
  width: 100%;
}

.row::after {
  content: "";
  display: block;
  clear: both;
}

@media screen and (min-width:1200px) {
  .container {
    max-width: 1140px;
  }
}

@media screen and (min-width:801px) and (max-width:1199px) {
.container{
    max-width: 95%;
}
}
@media screen and (min-width:601px) and (max-width:800px) {
.container{
    max-width: 86%;
}
}
@media screen and (min-width:481px) and (max-width:600px) {
.container{
    max-width: 90%;
}
}
@media screen and (max-width:480px) {
.container {
	max-width: 93%;
}
}

@media screen and (min-width:800px) {
  .row>* {
    padding-left: .9375rem;
    padding-right: .9375rem;
  }
}

/* Typographie */
h1, h2, h3, h4, h5 {
	font-family: var(--font-title);
	font-weight: 700;
	color:var(--primary);
}
h1 {
  line-height: 110%;
}
h2 {
  line-height: 140%;
}
h3 {
  font-size: 22px;
  line-height: 140%;
}
h4 {
  font-size: 18px;
  line-height: 1;
}
p {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
}
small {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
}
@media screen and (min-width:1024px) {
h1 {
  font-size: 36px;
}	
h2 {
  font-size: 34px;
}	
}
@media screen and (min-width:801px) and (max-width:1023px) {
h1 {
    font-size: 30px;
}
h2 {
  font-size: 28px;
}	
}
@media screen and (min-width:721px) and (max-width:800px) {
h1 {
    font-size: 36px;
}
h2 {
  font-size: 34px;
}	
}
@media screen  and (max-width:720px) {
h1 {
    font-size: 30px;
}
h2 {
  font-size: 26px;
}		
}
.btn,
.btn-sec {
  display: inline-block;
  font-weight: 700;
  background: var(--secondary);
	color:#fff;
  padding: 11px 24px;
  width: max-content;
  height: max-content;
  transition: background-color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--secondary);
}

.btn-sec {
  background-color: var(--color-6);
  border: 1px solid var(--color-6);
}

.btn:before,
.btn-sec:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  border-radius: var(--radius);
}

.btn-sec:before {
  background: var(--primary);
}

.btn span,
.btn-sec span {
	position: relative;
	z-index: 2;
	color: var(--white);
}
.btn:hover {
	background: var(--primary);
}

.btn-sec:hover {
  background: var(--primary);
}

.btn:hover:before {
  transform: scaleX(1);
}

.btn:hover span {
  position: relative;
  z-index: 3;
}

.btn-sec:hover span {
  color: var(--white);
}

/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */

a {
  color: var(--font-color);
  text-decoration: underline;
}

a:hover {
  color: var(--primary);
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
}

:focus {
  outline: none;
}

/* IMG POUR WISIWYG */
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-container img {
  max-width: 100%;
  height: auto;
}

.alignleft,
img.alignleft {
  display: inline;
  float: left;
  margin-right: 24px;
  margin-top: 4px;
}

.alignright,
img.alignright {
  display: inline;
  float: right;
  margin-left: 24px;
  margin-top: 4px;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignleft,
img.alignright,
img.aligncenter {
  margin-bottom: 12px;
}

hr {
  border: none;
}

hr.small {
  margin: 0.5rem 0;
}

hr.medium {
  margin: 1rem 0;
}

hr.large {
  margin: 2rem 0;
}

/* =====================================
   ANCIEN SYSTÈME MENU SUPPRIMÉ
   Maintenant géré par header-styles.css
=======================================*/

/* RESPONSIVE */
@media only screen and (min-width: 801px) {
  .bloc-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .bloc-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bloc-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.3%;
    flex: 0 0 33.3%;
    max-width: 33.3%;
  }

  .bloc-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .bloc-4.formule {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .bloc-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .bloc-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66%;
    flex: 0 0 16.66%;
    max-width: 16.66%;
  }

  .bloc-2-3 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66%;
    flex: 0 0 66.66%;
    max-width: 66.66%;
  }

  .bloc-3-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .bloc-2-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }

  .bloc-3-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
  }

  .bloc-4-5 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
  }
}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
  background: #424242;
  color: var(--white);
  text-shadow: none;
}

::-webkit-selection {
  background: #424242;
  color: var(--white);
  text-shadow: none;
}

::-moz-selection {
  background: #424242;
  color: var(--white);
  text-shadow: none;
}

/*------------------------------------*\
    PERSONNALISATION LANDING PAGE
\*------------------------------------*/

/* POUR TOUS LE SITE */
section:nth-child(odd) {
	background: var(--white);
}
section:nth-child(even) {
	background: var(--gris);
}
.flexgap {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width:1200px) {
section {
  padding: 70px 0;
}
.flexgap {
    gap: 30px;
}	
}
@media screen and (min-width:801px) and (max-width:1199px) {
section {
  padding: 50px 0;
}
.flexgap {
    gap: 25px;
}		
}
@media screen and (max-width:800px) {
.flexgap {
    gap: 20px;
}		
}
@media screen and (min-width:481px) and (max-width:800px) {
section {
  padding: 2.5em 0;
}
}
@media screen and (max-width:480px) {
section {
  padding: 2em 0;
}
}

/* MAIN */
h2.section-title{
	text-align: center;
}
/* HERO */
.section-hero {
	position: relative;
}
.section-hero.hero_image_texte, .section-hero.hero_avec_formulaire, .section-hero.hero_image_pleine_largeur {
	padding:0;
}
.section-hero .row.contenuhero .bloc-2 .bloc-content,
.section-hero .row.contenudemidemi .bloc-2 .bloc-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap:30px;
}
.section-hero img {
	object-fit: cover;
	max-height:700px;
}
.section-hero > div.row.imge {
	position: relative;
}
.section-hero > div.row.imge > .bloc-2, .section-hero > div.row.imge > .full-width{
	padding:0;
}
.section-hero > div.row.imge > .bloc-2 img, .section-hero > div.row.imge > .full-width img{
	width:100%;
}
.section-hero .row.contenuhero .hero-content,
.section-hero .row.contenudemidemi .hero-content {
    display: flex;
    gap: 12px;
    flex-direction: column;
}
.section-hero .row.contenuhero .hero-content h2,
.section-hero .row.contenudemidemi .hero-content h2{
    font-size:18px;
}
.section-hero .bloc-content .grp-btn {
    display: flex;
    gap: 20px;
}
.hero_avec_formulaire .contentform{
    background: #fff;
    padding: 2em 3em;
	width: max-content;
}	
.hero_avec_formulaire .contentform .gform_title{
    font-size: 28px;
    margin-bottom: .5em;
    text-align: center;
}
#top .hero_avec_formulaire .gform-theme--foundation .gform_fields {
    row-gap: 16px;
	column-gap: 14px;
}
#top .hero_avec_formulaire .gform-theme--foundation em {
    font-size: 14px;
}
#top .hero_avec_formulaire .gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
    margin-block-start: 16px;
}
.hero_image_pleine_largeur .bloc-content{
    background: rgba(255,255,255,.95);
    padding: 2.5em 3em;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 850px;
}
.hero_image_pleine_largeur .hero-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media screen and (min-width:1200px) {
.section-hero .row.contenuhero{
	width:1140px;
}	
}	
@media screen and (min-width:801px) and (max-width:1199px) {
.section-hero .imge img {
	min-height:550px
}
}

@media screen and (min-width:1024px) {
.section-hero .bloc-2:first-child {
	padding-right: 3em;
}  
.section-hero .bloc-2:last-child {
	padding-left: 3em;
}  
.section-hero.hero_avec_formulaire .bloc-2:first-child {
    align-self:center;
}
.section-hero.hero_avec_formulaire .bloc-2:last-child {
    display: flex;
    justify-content: flex-end;
}

}
@media screen and (min-width:801px) and (max-width:1199px) {
.section-hero .row.contenuhero{
    max-width: 95%;
}
}
@media screen and (min-width:601px) {
.section-hero .row.contenuhero{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	width:1140px;
}	
.section-hero.hero_image_pleine_largeur .row.contenuhero{
	width:max-content;
}	
}	
@media screen and (min-width:601px) and (max-width:800px) {
.section-hero .row.contenuhero{
    max-width: 86%;
}
.section-hero .row.contenuhero .bloc-content{
    border-radius: 6px;
    background: #ffffffe6;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
    padding: 40px;
    align-items: center;	
}	
}
@media screen and (min-width:481px) and (max-width:600px) {

}
@media screen and (max-width:800px) {
#pre-header .container{
    max-width: 95%;
}	
.section-hero .row.contenuhero .bloc-content *{
    text-align: center;	
}
}
@media screen  and (max-width:720px) {
.section-hero .row.contenuhero .bloc-2 .bloc-content{
    gap: 20px;
    padding: 30px;	
}	
}
@media screen and (max-width:600px) {
.section-hero {    
    display: flex;
    flex-direction: column;
}	
.section-hero > div.row.imge{order:2;}	
.section-hero > div.container{order:1;}	
.section-hero .row.contenuhero .bloc-2 .bloc-content {;
    align-items: center;
    max-width: 100%;
}	
.section-hero .row.contenuhero {
    max-width: 100%;
    margin-top: 1em;
}
}
@media screen and (max-width:480px) {
.section-hero .row.contenuhero .bloc-2 .bloc-content{
    padding: 30px 10px;	
}	
}

@media screen and (min-width:801px) {
}

/* Section présentation des produits / services */
.produits-services .content-header-section, .produits-services .header-group {
    text-align: center;
}
/* Conteneur principal - padding vertical seulement */
.produits-services .bloc-produit {
    border-radius: 6px; 
    background: var(--white);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
	height:100%;
}
/* Exception : pas de padding pour les images en première position */
.produits-services .bloc-produit > img:first-child {
    padding-left: 0;
    padding-right: 0;
    margin-top: -30px;
}
.produits-services .bloc-4.formule .bloc-produit > img:first-child {
    padding-left: 0;
    padding-right: 0;
    margin-top: inherit;
    max-width: 350px;
    border-radius: 6px;
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
}
.produits-services .bloc-produit > *:first-child img {
}
.produits-services .bloc-produit .produit-subtitle{
    color: var(--primary);
}
.produits-services .bloc-produit .price-wrapper{
    display: flex;
    gap: 8px;
    align-items: baseline;	
}
.produits-services .bloc-produit .price-main{
    font-size: 30px;
}
.produits-services .bloc-produit .price-suffix{
    font-size: 20px;
}
.produits-services .bloc-produit .price-main,
.produits-services .bloc-produit .price-suffix{
	font-weight:700;
	color: var(--primary);
    font-family: var(--font-title);
}
.produits-services .contenu-informatif {
    text-align: center;
}
.bloc-info-custom{
    padding:20px;
	background:  var(--tertiary);
	border-radius: 6px;
    text-align: center;
}
.produits-services .bloc-info-custom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.produits-services .bloc-info-custom ul {
    flex-direction: row;
    list-style-type: none;
    gap: 30px;
    justify-content: center;
}
@media screen and (min-width:801px) {
.blocs-produits .row {
    row-gap: 1.8795em;
}	
}
@media screen and (min-width:801px) and (max-width:1023px) {
.produits-services .bloc-produit .price-wrapper {
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: row;
	justify-content: center;
}
/*.produits-services .bloc-produit .price-wrapper .price-main, .produits-services .bloc-produit .price-wrapper .price-suffix {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%; 
    flex: 0 0 50%;
    max-width: 50%;
}*/
.produits-services .bloc-produit .price-wrapper .price-note{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}	
.produits-services .bloc-produit {
    height: 100%;
}	
}
@media screen and (max-width:800px) {
.produits-services .blocs-produits .formule:first-of-type{
    margin-bottom:20px;
}
}
@media screen and (max-width:480px) {
.produits-services .bloc-produit .price-wrapper {
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: row;
	justify-content: center;
}
.produits-services .blocs-produits .formule:first-of-type{
    margin-bottom:20px;
}
}
/*  Bandeau process étape par étape */
#process-steps .container *{
    text-align: center;	
}
#process-steps .step-etape {;
    display: flex;
    flex-direction: column;
    list-style-type: none;
    gap: 10px;
    justify-content: center;	
}
#process-steps .step-number {
    width: 48px;
    aspect-ratio: 1 / 1;
	background:  var(--tertiary);
    border-radius: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;	
}
#process-steps .step-number span {
    font-family: var(--font-title);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
	color: var(--primary);
}
@media screen and (max-width:800px) {
.row.steps-wrapper {
    gap: 20px;
}
}
/* Formulaire de contact */
.form-title{
	text-align: center;
}
.form-wrapper{
	display: flex;
	padding: 30px 40px;
	flex-direction: column;
	gap: 20px;
	margin: auto;
	border-radius: 6px;
    background: var(--white);
    box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.07);
}
.bloc-info-custom a{
    color: var(--primary);
	font-weight:700;
}
#top .gform-theme--framework .gfield_list_group_item::before, #top .gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])) {
    font-weight: 700;
}
#top .gform-theme--framework .gfield_list_group_item::before, #top .gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])), #top .gform-theme--framework .gform-field-label--type-inline {
	font-size:16px;
}
#top .gform-theme--foundation em {
    font-style: italic;
}
#top .gform-theme--foundation .gfield_required {
    display: none;
}
#top .gform-theme--foundation .gform_fields {
    row-gap: 20px;
}
#top .gform-theme--foundation .gform_footer {
    justify-content: center;
}
#top .gform-theme .gform_button.button{
    display: inline-block;	
    font-weight: 700;
    background: var(--secondary);
    padding: 11px 24px;
    width: max-content;
    height: max-content;
    transition: background-color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), color 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--secondary);	
	font-size: 16px;
}
#top .gform-theme .gform_button.button:hover {
    background: var(--primary);
    border: 1px solid var(--primary);
}
.gform_confirmation_message_1.gform_confirmation_message {
    text-align: center;
    min-height: 150px;
}
@media screen and (min-width:1024px) {
.form-wrapper{
	width: 800px;
}
}
@media screen and (min-width:800px) and (max-width:1024px) {
.form-wrapper {
    margin-left: .9375rem;
    margin-right: .9375rem;
    width: calc(100% - 1.875rem); /* Soustrait les marges gauche et droite */
}
}
@media screen and (max-width:480px) {
.form-wrapper{
	padding: 20px;
}
}
/*  Bandeau réassurance */
#reassurance{
	background: var(--primary);
}
#reassurance .bloc-4{
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
#reassurance .reassurance-title, #reassurance .reassurance-description{
	color: var(--white);
	text-align: center;
}
#reassurance .reassurance-title{
	font-size:18px;
}
@media screen and (min-width:600px)  and (max-width:800px) {
#reassurance .bloc-4{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
}
@media screen and (min-width:481px) and (max-width:800px) {
.reassurance-wrapper .row {
    row-gap: 30px;
}
}
@media screen and (max-width:480px) {
.reassurance-wrapper .row {
    row-gap: 20px;
}
}
/* Section nos autres produits */
.produits-services.sectionprestafficher .bloc-produit {
    padding: 20px 20px 80px;
    gap: 10px;
	align-items: flex-start;	
	height: 100%;
	position: relative;
}
.produits-services.sectionprestafficher .bloc-produit img {
    max-width: inherit;
    width: calc(100% + 40px);
    margin-top: -20px;
	margin-left:-20px;
    margin-bottom: 10px;
}
.produits-services.sectionprestafficher .bloc-produit .list-header p {
    font-weight:700;
}
.produits-services.sectionprestafficher .bloc-produit .btn {
    position: absolute;
    bottom: 20px;
}
@media screen and (min-width:481px) and (max-width:800px) {
#autres-produits .blocs-produits .row .bloc-3{
    margin-bottom: 30px;
}
#autres-produits .blocs-produits .row .bloc-3:last-of-type{
    margin-bottom: 0;
}
}
@media screen and (max-width:480px) {
#autres-produits .blocs-produits .row .bloc-3{
    margin-bottom: 30px;
}
#autres-produits .blocs-produits .row .bloc-3:last-of-type{
    margin-bottom: 0;
}	
}


/* FOOTER */
footer {
  background-color: var(--white);
  padding: 1.5rem 0;
}

/* === NOUVEAU SYSTÈME FOOTER DYNAMIQUE === */
.site-footer {
    width: 100%;
}

/* Classes de padding top */
.padding-0 { padding-top: 0px; }
.padding-10 { padding-top: 10px; }
.padding-20 { padding-top: 20px; }
.padding-30 { padding-top: 30px; }
.padding-40 { padding-top: 40px; }
.padding-50 { padding-top: 50px; }
.padding-60 { padding-top: 60px; }

/* Classes de padding bottom */
.padding-bottom-0 { padding-bottom: 0px; }
.padding-bottom-10 { padding-bottom: 10px; }
.padding-bottom-20 { padding-bottom: 20px; }
.padding-bottom-30 { padding-bottom: 30px; }
.padding-bottom-40 { padding-bottom: 40px; }
.padding-bottom-50 { padding-bottom: 50px; }
.padding-bottom-60 { padding-bottom: 60px; }

/* Styles de fond footer avec héritage couleurs pour accessibilité */
.site-footer.bg-primary { 
    background: var(--primary); 
    color: var(--white); 
}
.site-footer.bg-primary * { 
    color: var(--white); 
}

.site-footer.bg-secondary { 
    background: var(--secondary); 
    color: var(--black); 
}
.site-footer.bg-secondary * { 
    color: var(--black); 
}

.site-footer.bg-white { 
    background: var(--white); 
    color: var(--black); 
}
.site-footer.bg-white * { 
    color: var(--black); 
}

.site-footer.bg-dark { 
    background: var(--black); 
    color: var(--white); 
}
.site-footer.bg-dark * { 
    color: var(--white); 
}

/* Classes bottom bar margin */
.bottom-margin-0 { margin-top: 0px; }
.bottom-margin-10 { margin-top: 10px; }
.bottom-margin-20 { margin-top: 20px; }
.bottom-margin-30 { margin-top: 30px; }
.bottom-margin-40 { margin-top: 40px; }
.bottom-margin-50 { margin-top: 50px; }
.bottom-margin-60 { margin-top: 60px; }

/* Classes bottom bar padding */
.bottom-padding-0 { padding: 0px 0; }
.bottom-padding-10 { padding: 10px 0; }
.bottom-padding-20 { padding: 20px 0; }
.bottom-padding-30 { padding: 30px 0; }
.bottom-padding-40 { padding: 40px 0; }
.bottom-padding-50 { padding: 50px 0; }
.bottom-padding-60 { padding: 60px 0; }

/* Classes bottom bar bordure */
.bottom-border-none { border-top: none; }
.bottom-border-light { border-top: 1px solid rgba(255,255,255,0.1); }
.bottom-border-medium { border-top: 1px solid rgba(0,0,0,0.1); }
.bottom-border-strong { border-top: 2px solid rgba(0,0,0,0.2); }

/* Bottom bar backgrounds avec héritage couleurs */
.footer-bottom.bg-primary { 
    background: var(--primary); 
    color: var(--white); 
}
.footer-bottom.bg-primary * { 
    color: var(--white); 
}

.footer-bottom.bg-secondary { 
    background: var(--secondary); 
    color: var(--black); 
}
.footer-bottom.bg-secondary * { 
    color: var(--black); 
}

.footer-bottom.bg-white { 
    background: var(--white); 
    color: var(--black); 
}
.footer-bottom.bg-white * { 
    color: var(--black); 
}

.footer-bottom.bg-dark { 
    background: var(--black); 
    color: var(--white); 
}
.footer-bottom.bg-dark * { 
    color: var(--white); 
}

.footer-bottom-content { text-align: center; font-size: 14px; }
.footer-bottom-content a { color: inherit; text-decoration: none; }
.footer-bottom-content a:hover { text-decoration: underline; }

/* Transition pour le chargement AJAX du footer */
#footer-dynamic-content {
    transition: opacity 0.3s ease;
}
#footer-dynamic-content.loading {
    opacity: 0.6;
}

.content-footer{
    display: flex;
    justify-content: space-between;
}
.bloc-mlpc-rs{
    display: flex;
	gap:20px;
    align-items: center;
}
.bloc-mlpc-rs ul.page-mlpc {
    gap: 15px;
    flex-direction: row;
	list-style-type: none;
}
/* Réseaux sociaux */
.menu-rs {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	list-style-type: none;
	margin-left:0;
}
.menu-rs a{
    display: flex;
}
.sprites, .sprites:hover {
	width: 27px;
	height: 27px;
	display: inline-block;
}
.sprites {
	background: url(/wp-content/themes/starter_aeb/assets/images/RS.svg) no-repeat center center;
}
.sprites:hover {
	background: url(/wp-content/themes/starter_aeb/assets/images/RS.svg) no-repeat center center;
	opacity: 0.8;
}
.rs-facebook,
.rs-facebook:hover {
	background-position: 0 0;
}
.rs-instagram,
.rs-instagram:hover {
	background-position: -31px 0;
}
.rs-linkedin,
.rs-linkedin:hover {
	background-position: -64px 0;
}
.rs-youtube,
.rs-youtube:hover {
	background-position: -96px 0;
}
@media screen and (min-width:740px) and (max-width:860px) {
.bloc-mlpc-rs {
    align-items: flex-end;
    flex-direction: column;
}
}
@media screen and (max-width:739px) {
.content-footer {
    flex-direction: column;
    gap: 20px;
}
.bloc-logo{
    display: flex;
    justify-content: center;
}	
.bloc-mlpc-rs {
    align-items: center;
    flex-direction: column;
}	
}
@media screen and (max-width:400px) {
.bloc-mlpc-rs ul.page-mlpc {
    gap: 10px;
    font-size: 14px;
}
}
@media screen and (max-width:359px) {
.bloc-mlpc-rs ul.page-mlpc {
    flex-direction: column;
    align-items: center;
}
}


/* =============================
=========  POPUP ===============
==============================*/
.popup-legal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  animation: fadeIn 0.3s;
}
.popup-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: slideIn 0.4s;
    overflow: hidden;
}
.popup-header {
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
  position: relative;
  background-color: #f9f9f9;
  border-radius: 8px 8px 0 0;
}
.popup-header h2 {
  margin: 0;
  font-size: 22px;
  color: #333;
}
.popup-close {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
}
.popup-close:hover {
  color: #333;
}
.popup-body {
  padding: 20px 25px;
  overflow-y: auto;
  max-height: calc(80vh - 60px);
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes slideIn {
  from {transform: translateY(-50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
/* Styles pour le contenu des pages légales */
.popup-content-container {
  line-height: 1.6;
  color: #333;
}
.popup-content-container h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 18px;
}
.popup-content-container p {
  margin-bottom: 15px;
}
.popup-content-container ul {
  margin-bottom: 15px;
  padding-left: 20px;
}
/* Style pour bloquer le scroll de la page quand une popup est ouverte */
body.popup-open {
  overflow: hidden;
} 
.popup-content #wisiwyg {
    padding:1em 0;
}
@media screen and (max-width:480px) {
.popup-header{
    padding: 20px;
}		
.popup-body {
    padding: 10px 20px;
}	
.popup-header h2 {
    padding-right: 30px;
}
.popup-close {
    right: 10px;
    top: 10px;
}	
}


body .fond-gris{
	background: var(--color-1);
}
body .fond-blanc{
	background: var(--color-2);
}
body .fond-primary{
	background: var(--primary);
}
body .fond-secondary{
	background: var(--secondary);
}
body .fond-primary *{
	color: var(--white);
}
body .fond-secondary *{
	color: var(--white);
}




/* Select demlo de layout */
.hero-layout-selector {
    background-color: #f5f5f5;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.hero-layout-selector .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.selector-title {
    font-weight: bold;
    margin-right: 10px;
}

.selector-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.selector-option {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: white;
    transition: all 0.2s ease;
}

.selector-option:hover {
    background-color: #f0f0f0;
}

.selector-option.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* Pour la démo uniquement - vous pourriez masquer ceci sur le site de production */
@media (max-width: 768px) {
    .hero-layout-selector .container {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ========================================
   STYLES GÉNÉRAUX BANDEAUX
   ======================================== */
.section-bandeau {
    padding: 50px 0;
}

/* Styles de texte partagés */
.reassurance-text, 
.chiffres-text {
    display: flex;
    gap: 8px;
    flex-direction: column;
	margin-bottom: 2em;
}

.reassurance-text *, 
.chiffres-text * {
    text-align: center;
}

/* ========================================
   BANDEAU RÉASSURANCE
   ======================================== */
/* Bandeau 5 scénarios - Commenté du 27/05/2025 
.section-bandeau.bandeau_layout_reassurance .reassurance-bandeau {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.section-bandeau.bandeau_layout_reassurance .reassurance-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-bandeau.bandeau_layout_reassurance .reassurance-items .reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
*/

/* Styles carousel réassurance */
.bandeau_layout_reassurance .carousel .reassurance-item {
    padding: 0 15px;
    text-align: center;
    height: auto;
    align-items: center;
}

.bandeau_layout_reassurance .carousel .reassurance-icon {
    margin-bottom: 15px;
}

.bandeau_layout_reassurance .carousel .reassurance-icon img {
    max-width: 36px;
    height: auto;
}

.bandeau_layout_reassurance .carousel .reassurance-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.bandeau_layout_reassurance .carousel .reassurance-description {
    font-size: 14px;
    line-height: 1.4;
}

/* ========================================
   BANDEAU CHIFFRES CLÉS
   ======================================== */
.stat-number.chiffre-number {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* Styles carousel chiffres clés */
.bandeau_layout_chiffres_cles .carousel .chiffre-item {
    padding: 0 15px;
    text-align: center;
    align-items: center;
}

.bandeau_layout_chiffres_cles .carousel .chiffre-icon {
    margin-bottom: 15px;
}

.bandeau_layout_chiffres_cles .carousel .chiffre-icon img {
    max-width: 50px;
    height: auto;
}

.bandeau_layout_chiffres_cles .carousel .chiffre-number {
    margin-bottom: 10px;
}

.bandeau_layout_chiffres_cles .carousel .chiffre-principal {
    font-size: 36px;
    font-weight: bold;
}

.bandeau_layout_chiffres_cles .carousel .chiffre-prefixe,
.bandeau_layout_chiffres_cles .carousel .chiffre-suffixe {
    font-size: 24px;
    font-weight: bold;
}

.bandeau_layout_chiffres_cles .carousel .chiffre-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.bandeau_layout_chiffres_cles .carousel .chiffre-description {
    font-size: 14px;
    line-height: 1.4;
}

/* ========================================
   BANDEAU CALL TO ACTION
   ======================================== */
.bandeau_layout_call_to_action .bloc-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.bandeau_layout_call_to_action .bloc-content .cta-text {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

/* ========================================
   BANDEAU LOGOS
   ======================================== */
.bandeau_layout_logos .logos-text {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.bandeau_layout_logos .logos-text * {
    text-align: center;
}
.bandeau_layout_logos .carousel{
    min-height: 100px;
    display: flex;
    align-items: center;
}

.bandeau_layout_logos .carousel .logo-item {
    padding: 0 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.bandeau_layout_logos .carousel .logo-item:hover {
    transform: translateY(-5px);
}

.bandeau_layout_logos .carousel .logo-text {
    font-size: 14px;
    font-weight: 500;
	text-align: center;
}

.bandeau_layout_logos .carousel a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   STYLES SLICK SPÉCIFIQUES AUX BANDEAUX
   ======================================== */
.reassurance-bandeau .slick-track, 
.bandeau_layout_chiffres_cles .slick-track, 
.bandeau_layout_logos .slick-track {
    min-width: 100%;
    display: flex;
    justify-content: space-between;
}

/* ========================================
   BANDEAU NEWSLETTER
   ======================================== */
.row.newsletter-bandeau {
    align-items: flex-end;
}

.newsletter-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    justify-content: center;	
}

.newsletter-text em {
    font-style: italic;	
}

/* ========================================
   FORMULAIRE NEWSLETTER (Gravity Forms)
   ======================================== */
/* Structure du formulaire */
#gform_2 {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

#gform_wrapper_2 .gform_footer {
    margin-block-start: 0;
}

#top #gform_wrapper_2 .gform_fields {
    row-gap: 8px;
}

/* Styles des champs */
#top .fond-primary #gform_wrapper_2 input:not(#gform_submit_button_2), 
#top .fond-secondary #gform_wrapper_2 input:not(#gform_submit_button_2) {
    border-color: #fff;
}

/* Labels RGPD */
#top .gform-theme--framework .rgpdpdc .gform-field-label--type-inline {
    font-size: 14px;
}

#top .fond-primary .gform-theme--framework .rgpdpdc .gform-field-label--type-inline, 
#top .fond-secondary .gform-theme--framework .rgpdpdc .gform-field-label--type-inline {
    color: #fff;
}

/* Mention obligatoire */
#top .mobligatoire {
    font-size: 12px;
    font-style: italic;
}

/* Boutons submit */
#top .fond-secondary .gform-theme .gform_button.button {
    background: var(--primary);
    border: 1px solid var(--primary);
}

#top .fond-primary .gform-theme .gform_button.button:hover, 
#top .fond-secondary .gform-theme .gform_button.button:hover {
    background: var(--tertiary);
    border: 1px solid var(--tertiary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media only screen and (max-width: 800px) {
    /* Ajustements des contenus réassurance et chiffres */
    .bandeau_layout_reassurance .carousel .reassurance-item,
    .bandeau_layout_chiffres_cles .carousel .chiffre-item {
        min-height: 180px;
        padding: 15px 10px;
    }
    
    .bandeau_layout_logos .carousel .logo-item {
        min-height: 100px;
        padding: 15px 10px;
    }
    
    .bandeau_layout_chiffres_cles .carousel .chiffre-principal {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 480px) {
    /* Contenus plus compacts sur mobile */
    .bandeau_layout_reassurance .carousel .reassurance-item,
    .bandeau_layout_chiffres_cles .carousel .chiffre-item {
        min-height: 150px;
        padding: 10px 5px;
    }
    
    .bandeau_layout_logos .carousel .logo-item {
        min-height: 80px;
        padding: 10px 5px;
    }
    
    .bandeau_layout_chiffres_cles .carousel .chiffre-principal {
        font-size: 1.8rem;
    }
    
    .bandeau_layout_logos .carousel .logo-image {
        max-width: 100px;
        max-height: 60px;
    }
}

/* ==========================================================================
   CARTE LEAFLET - Zone d'intervention (Accueil + Contact)
   Styles partagés pour la carte OpenStreetMap avec Leaflet
   ========================================================================== */

/* Conteneur de la carte */

.leaflet-map {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-12, 12px);
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

/* Override Leaflet default styles */
.leaflet-map .leaflet-popup-content-wrapper {
    border-radius: var(--radius, 8px);
}

.leaflet-map .leaflet-popup-content {
    margin: 15px;
    font-family: var(--font-family, inherit);
}

/* Attribution Leaflet */
.leaflet-map .leaflet-control-attribution {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
}

/* Section communes */
.communes-section {
    margin-top: 40px;
}

.communes-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.commune-tag {
    padding: 8px 16px;
    background: var(--tertiary, #f5f5f5);
    border-radius: var(--radius, 8px);
    font-size: 14px;
    color: var(--black, #333);
    transition: all 0.2s ease;
}

.commune-tag:hover {
    background: var(--primary, #FF6B35);
    color: var(--white, #fff);
    transform: translateY(-2px);
}

.commune-note {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
}

.commune-note a {
    color: var(--primary, #FF6B35);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.commune-note a:hover {
    color: var(--secondary, #333);
}

/* Responsive */
@media (max-width: 768px) {
    .leaflet-map {
        height: 350px;
    }

    .communes-tags {
        justify-content: center;
    }

    .commune-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}
