@charset "UTF-8";
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Book.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Book_Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Medium_Italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text";
  src: url("/font/Premier_Tech_Text-Bold_Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Book.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Book_Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Medium_Italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Text_Cnd";
  src: url("/font/Premier_Tech_Text_Cnd-Bold_Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Light_Italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Bold_Italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Premier_Tech_Title";
  src: url("/font/Premier_Tech_Title-Black_Italic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --color-primary: #0f544f;
  --color-primary-hover: color-mix(in srgb, var(--color-primary) 90%, black 10%);
  --color-secondary: #93c5dc;
  --color-secondary-hover: color-mix(in srgb, var(--color-secondary) 90%, black 10%);
  --color-tertiary: #f4f9fc;
  --color-tertiary-hover: color-mix(in srgb, var(--color-tertiary) 90%, black 10%);
  --color-lightblue: color-mix(in srgb, var(--color-secondary) 20%, white 10%);
  --color-text-dark: #575856;
  --color-text-light: #ffffff;
  --clear-background:rgb(147 197 220 / 0.1);
  --font-primary: "Premier_Tech_Text", sans-serif;
  --font-heading: "Premier_Tech_Title", sans-serif;
  --font-condensed: "Premier_Tech_Text_Cnd", sans-serif;
  --font-size-sup: 12px;
  --font-size-sm: 14px;
  --font-size-p: 16px;
  --font-size-h5: 18px;
  --font-size-h4: 22px;
  --font-size-h3: 28px;
  --font-size-h2: 36px;
  --font-size-h1: 48px;
  --opacity-overlay-image: rgba(15, 84, 79, 0.75);
}

html,
input,
textarea,
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
}

iframe,
img {
  border: 0;
  max-width: 100%;
}

/* Rendre les iframes de vidéos responsive (YouTube, etc.) */
iframe {
  height: auto;
  aspect-ratio: 16 / 9;
}

a {
  cursor: pointer;
  text-decoration: underline;
  color: var(--color-primary);
}
a:hover {
  color: var(--color-primary-hover);
}

.clear {
  clear: both;
}

.txtright {
  text-align: right;
}

.bg-primary {
  background: var(--color-primary);
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
@media screen and (max-width: 1024px) {
  .wrap {
    width: auto;
  }
}

.wrap-title {
  padding-right: 20%;
}
@media screen and (max-width: 1024px) {
  .wrap-title {
    padding-right: 20px;
  }
}

.gauche {
  float: left;
  margin-right: 12px;
  margin-bottom: 20px;
  line-height: 0px;
}

.droite {
  float: right;
  margin-left: 12px;
  margin-bottom: 20px;
  line-height: 0px;
}

.petit {
  width: 140px;
}

.moyen {
  width: 320px;
}

.grand {
  width: 100%;
}

.sous-titre {
  font-size: var(--font-size-p);
  font-family: var(--font-heading);
  font-weight: 700;
}

button {
  font-family: var(--font-primary);
}

.separateur-section {
  height: 15px;
  background: var(--color-tertiary);
  margin-top: 3px;
}

.alerte-formulaire {
  color: black;
  background-color: var(--color-text-light);
  padding: 20px 0;
  width: calc(100% + 2px);
  text-align: center;
  display: block;
  margin-bottom: 20px;
}

#old-browser-dialog p {
  text-align: center;
  font-size: var(--font-size-p);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 8px;
  position: relative;
  top: 100px;
}
#old-browser-dialog a {
  cursor: pointer;
  color: var(--color-secondary);
  text-decoration: underline;
}

#http404 {
  padding: 50px 0;
}

h1,
.style--h1,
h2,
.style--h2,
h3,
.style--h3,
h4,
.style--h4,
h5,
.style--h5,
h6 {
  font-family: var(--font-heading);
  font-weight: bold;
}

p {
  font-size: var(--font-size-p);
}

h1,
.style--h1 {
  font-size: var(--font-size-h1);
  margin: 24px 0;
  text-align: left;
  flex-grow: 1;
  font-family: var(--font-heading);
}
h1 span,
.style--h1 span {
  font-weight: 700;
  font-size: var(--font-size-h2);
}

h1,
.style--h1,
h2,
.style--h2,
h3,
.style--h3 {
  color: var(--color-primary);
}

h2,
.style--h2 {
  margin: 16px 0;
  font-size: var(--font-size-h2);
}

h3,
.style--h3 {
  margin: 12px 0;
  font-size: var(--font-size-h3);
}

h4,
.style--h4 {
  font-size: var(--font-size-h4);
  margin: 8px 0 0;
  color: black;
  line-height: 1.5;
}

p {
  line-height: 1.5;
}

.ot-sdk-show-settings {
  color: var(--color-text-dark);
  text-decoration: underline !important;
  border: none;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  text-align: left;
}
.ot-sdk-show-settings:hover {
  color: black !important;
}

.small-text {
  font-size: var(--font-size-sm);
}

header {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
header .bg-blanc {
  background: white;
}
header + section {
  margin-top: -1px;
  padding-top: 1px;
}
header #logo-agro-entete {
  height: 52px;
  width: auto;
  display: block;
}

#menu-secondaire {
  font-size: var(--font-size-h5);
  font-weight: 700;
  height: 52px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: right;
  gap: 30px;
}
#menu-secondaire a:not(.btn-primary) {
  color: var(--color-primary);
  display: inline-block;
  text-decoration: none;
  transition: 0.4s ease;
}
#menu-secondaire a:not(.btn-primary):hover {
  box-shadow: 0 3px 0 0 var(--color-secondary);
}

#wrap-menu-secondaire {
  display: flex;
  justify-content: space-between;
  padding: 15px;
}

#entete-boutons {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}
#entete-boutons a {
  font-size: var(--font-size-p);
}

#entete-menu-droite {
  display: flex;
  text-align: right;
  align-items: center;
  padding: 0 20px;
}

#logo-agro-entete {
  vertical-align: top;
  width: 200px;
  height: auto;
}

#btn-menu-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
#btn-menu-mobile span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
#btn-menu-mobile.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
#btn-menu-mobile.active span:nth-child(2) {
  opacity: 0;
}
#btn-menu-mobile.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

#menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow: hidden;
  padding-top: 80px;
}
#menu-mobile a {
  text-decoration: none;
}
#menu-mobile nav {
  display: flex;
  flex-direction: column;
  padding: 0 30px 30px;
  gap: 20px;
  height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: visible;
}
#menu-mobile .mobile-link {
  color: var(--color-primary);
  font-size: var(--font-size-p);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: color 0.3s ease;
}
#menu-mobile .mobile-link:hover {
  text-decoration: underline;
}
#menu-mobile .menu-mobile-boutons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#menu-mobile.ouvert {
  transform: translateX(0);
}
#menu-mobile.ouvert::before {
  content: "";
  position: fixed;
  top: 0;
  left: -100vw;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1024px) {
  #entete-menu-droite {
    display: none;
  }
  #wrap-menu-secondaire {
    display: block;
    text-align: left;
    padding: 15px;
  }
  #btn-menu-mobile {
    display: block;
  }
  #logo-agro-entete {
    max-width: 50%;
  }
}
footer {
  background: var(--clear-background);
}
footer a:not(.btn-primary):not(.btn-secondary):not(.btn-tertiary),
footer p {
  margin: 0;
  color: var(--color-text-dark);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
footer a:not(.btn-primary):not(.btn-secondary):not(.btn-tertiary):not(#column-nous-joindre):hover {
  text-decoration: underline;
}
footer .footer-container {
  display: flex;
  flex-direction: column;
  margin: auto;
}
footer .ael-footer {
  margin: 64px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  column-gap: clamp(15px, 3vw, 40px);
}
footer .ael-footer .column {
  display: flex;
  flex-direction: column;
  padding-right: 10px;
}
footer .ael-footer .column .section-title {
  font-size: var(--font-size-h4);
  font-weight: bold;
  margin: 0 0 15px 0;
}
footer .ael-footer .column .btn-primary {
  margin-bottom: 30px;
}
footer .ael-footer .column .btn-secondary {
  margin-top: 20px;
}
footer .ael-footer .column .external-link::after {
  top: 6px;
  -webkit-mask-size: 12px 12px;
  mask-size: 12px 12px;
  background-color: var(--color-text-dark);
}
footer #column-nous-joindre a:not(.btn-primary):not(.btn-secondary):not(.btn-tertiary) {
  color: var(--color-primary);
  text-decoration: underline;
}
footer #column-nous-joindre a:not(.btn-primary):not(.btn-secondary):not(.btn-tertiary):hover {
  color: var(--color-primary-hover);
}
footer .legal-banner {
  margin: 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: var(--font-size-sm);
}
footer .legal-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  align-items: flex-start;
  color: var(--color-text-dark) !important;
  text-decoration: underline;
}
footer .ot-sdk-show-settings {
  font-family: var(--font-primary) !important;
  font-size: inherit !important;
  text-align: left !important;
  line-height: 1.5 !important;
  margin-bottom: 0.75rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
  display: block;
  min-height: 0 !important;
  height: auto !important;
}
footer .ot-sdk-show-settings:hover {
  color: var(--color-text-dark) !important;
}

@media screen and (max-width: 1024px) {
  footer .ael-footer {
    grid-template-columns: repeat(2, 1fr);
    margin: 64px 20px;
  }
  footer .ael-footer .column {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 767px) {
  footer .ael-footer {
    margin: 0;
    padding: 20px;
    grid-template-columns: 1fr;
  }
  footer .legal-banner {
    margin: 0;
    padding: 20px;
  }
}
.entete-services {
  background-size: cover;
  margin-top: 0.1px;
  padding: 50px 0;
  color: var(--color-text-light);
}
.entete-services .info-content h1,
.entete-services .info-content .style--h1 {
  margin: 0 0 25px 0;
  text-align: left;
}
.entete-services .info-content h1,
.entete-services .info-content .style--h1,
.entete-services .info-content h2,
.entete-services .info-content .style--h2,
.entete-services .info-content h3,
.entete-services .info-content .style--h3,
.entete-services .info-content h4,
.entete-services .info-content .style--h4 {
  color: var(--color-text-light);
}
@media screen and (max-width: 1024px) {
  .entete-services {
    align-items: center;
  }
}
.entete-services:has(#sols) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Sols/img/AEL_Analyse_Sols_Agricoles.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#sols) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Sols/img/AEL_Analyse_Sols_Agricoles_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services:has(#agro_jardin) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Agro_jardin/img/AEL_Analyse_Jardin.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#agro_jardin) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Agro_jardin/img/AEL_Analyse_Jardin_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services:has(#tissus_vegetaux) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Tissus_vegetaux/img/AEL_Analyse_Tissus_Vegetaux.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#tissus_vegetaux) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Tissus_vegetaux/img/AEL_Analyse_Tissus_Vegetaux_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services:has(#agro_precision) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Agro_precision/img/AEL_Agriculture_Precision.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#agro_precision) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Agro_precision/img/AEL_Agriculture_Precision_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services:has(#eau_potable) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Eau_potable/img/AEL_Eau_Potable.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#eau_potable) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Eau_potable/img/AEL_Eau_Potable_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services:has(#eaux_usees) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Eaux_usees/img/AEL_Eau_Usee.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#eaux_usees) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Eaux_usees/img/AEL_Eau_Usee_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services:has(#engrais_organiques) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Engrais_organiques/img/AEL_Engrais_Organique.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#engrais_organiques) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Engrais_organiques/img/AEL_Engrais_Organique_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services:has(#Sante_des_sols) {
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Sante_des_sols/img/AEL_Sante_Sols.jpg") center/cover no-repeat;
}
@media screen and (max-width: 1024px) {
  .entete-services:has(#Sante_des_sols) {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Sante_des_sols/img/AEL_Sante_Sols_mobile.jpg") center/cover no-repeat;
  }
}
.entete-services sup {
  font-size: var(--font-size-sup);
}
.entete-services .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.entete-services img {
  margin-bottom: 20px;
}
.entete-services .info-content {
  width: 100%;
  max-width: 1200px;
}
.entete-services a:not([class^=btn-]) {
  color: var(--color-secondary);
}
.entete-services a:not([class^=btn-]):hover {
  text-decoration: underline;
}

.table-cms-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 20px;
}

.table-cms {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--color-primary);
  border-radius: 15px;
  overflow: hidden;
}
.table-cms thead th {
  background: var(--color-lightblue);
  color: var(--color-primary);
}
.table-cms th,
.table-cms td {
  border-bottom: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  color: #222;
  padding: 12px 16px;
  text-align: left;
  font-size: 1rem;
  /* Enlever la bordure droite du dernier élément pour éviter les bordures doubles à droite */
}
.table-cms th:last-child,
.table-cms td:last-child {
  border-right: none;
}
.table-cms {
  /* Enlever la bordure du bas à la dernière rangée pour éviter les bordures doubles en bas */
}
.table-cms tr:last-child th,
.table-cms tr:last-child td {
  border-bottom: none;
}
.table-cms th {
  font-weight: bold;
}

.contact-container {
  display: flex;
  gap: 40px;
  padding: 32px 0 80px;
  max-width: 1000px;
  justify-content: space-between;
  align-items: end;
}
.contact-container .contact-infos,
.contact-container .contact-map {
  width: 50%;
}
.contact-container .contact-infos {
  font-size: 1.2rem;
  line-height: 2;
}
.contact-container .contact-infos a {
  color: var(--color-primary);
  text-decoration: underline;
  word-break: break-all;
}
.contact-container .contact-map {
  min-width: 250px;
}
.contact-container .contact-map iframe {
  width: 100%;
  min-height: 300px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.0666666667);
}
@media screen and (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-container .contact-infos,
  .contact-container .contact-map {
    width: 100%;
  }
  .contact-container .contact-map {
    margin-top: 30px;
  }
}

#paragraphes {
  padding-top: 50px;
}

#accueil {
  margin-top: 0.1px;
}
#accueil .top-section {
  background-size: cover;
  padding: 25px 0;
  background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Accueil/img/AEL_Accueil_Hero.jpg") center/cover no-repeat;
}
#accueil .top-section h2, #accueil .top-section .style--h2,
#accueil .top-section h3, #accueil .top-section .style--h3,
#accueil .top-section h4, #accueil .top-section .style--h4,
#accueil .top-section a {
  color: var(--color-secondary);
}
#accueil .top-section h1, #accueil .top-section .style--h1,
#accueil .top-section p {
  color: var(--color-text-light);
}
@media screen and (max-width: 1024px) {
  #accueil .top-section {
    background: linear-gradient(var(--opacity-overlay-image), var(--opacity-overlay-image)), url("../fichiers/upload/Accueil/img/AEL_Accueil_Hero_mobile.jpg") center/cover no-repeat;
  }
}
#accueil .top-section-green {
  background: var(--color-primary);
  padding: 41px 0 25px;
}
#accueil .top-section-green p {
  margin-top: 0;
  color: var(--color-text-light);
}
#accueil .middle-section,
#accueil .bottom-section {
  padding: 25px 0 50px;
}
#accueil .middle-section h2, #accueil .middle-section .style--h2,
#accueil .middle-section h3, #accueil .middle-section .style--h3,
#accueil .middle-section h4, #accueil .middle-section .style--h4,
#accueil .bottom-section h2,
#accueil .bottom-section .style--h2,
#accueil .bottom-section h3,
#accueil .bottom-section .style--h3,
#accueil .bottom-section h4,
#accueil .bottom-section .style--h4 {
  color: var(--color-primary);
}
#accueil .middle-section p,
#accueil .bottom-section p {
  color: var(--color-text-dark);
}
#accueil .middle-section {
  background: var(--clear-background);
}
#accueil .middle-section #link-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  #accueil .middle-section #link-container {
    flex-direction: column;
  }
}
#accueil .middle-section #link-container .card {
  padding: 25px 25px 41px 25px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  background-color: white;
}
#accueil .middle-section #link-container .card:first-child {
  width: 75%;
}
@media screen and (max-width: 1024px) {
  #accueil .middle-section #link-container .card:first-child {
    width: 100%;
  }
}
#accueil .middle-section #link-container .card > div {
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}
@media screen and (max-width: 1024px) {
  #accueil .middle-section #link-container .card {
    width: 100%;
  }
}
#accueil .bottom-section {
  background: none;
  display: flex;
  align-items: center;
  gap: 5%;
}
@media screen and (max-width: 1024px) {
  #accueil .bottom-section {
    flex-direction: column;
  }
}
#accueil .bottom-section h2, #accueil .bottom-section .style--h2 {
  margin-bottom: 0;
}
#accueil .bottom-section #contenu-apropos {
  width: 60%;
}
@media screen and (max-width: 1024px) {
  #accueil .bottom-section #contenu-apropos {
    width: 100%;
  }
}
#accueil .bottom-section #image-apropos {
  width: 30%;
}
@media screen and (max-width: 1024px) {
  #accueil .bottom-section #image-apropos {
    width: 100%;
  }
}
#accueil .bottom-section img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5; /* Ratio plus extrême pour 3x plus de hauteur visuelle relative */
  object-fit: cover; /* Recadre l'image proprement sans l'étirer */
  margin-bottom: 0;
}
@media screen and (max-width: 1024px) {
  #accueil .bottom-section img {
    aspect-ratio: inherit;
  }
}
#accueil .bottom-section #contenu-apropos {
  width: 65%;
}
#accueil .bottom-section #contenu-apropos a {
  text-decoration: underline;
}
#accueil .bottom-section #contenu-apropos p:first-of-type {
  margin-bottom: 28px;
}
@media screen and (max-width: 1024px) {
  #accueil .bottom-section #contenu-apropos {
    width: 100%;
  }
}
#accueil .bottom-section #apropos-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 5%;
}
@media screen and (max-width: 1024px) {
  #accueil .bottom-section #apropos-container {
    flex-direction: column;
  }
}
#accueil .bottom-section .wrap {
  display: flex;
  flex-direction: column;
}

#section-faq {
  padding-top: 50px;
}
#section-faq h2, #section-faq .style--h2 {
  color: var(--color-primary);
}

#faq-questions {
  margin: 40px 0 80px;
}
#faq-questions h3, #faq-questions .style--h3 {
  position: relative;
  font-weight: bold;
  font-size: var(--font-size-h4);
  color: var(--color-primary);
  padding: 18px 55px 18px 25px;
  margin: 15px 0 0 0;
  border-bottom: 1px solid var(--color-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}
#faq-questions h3::after, #faq-questions .style--h3::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transition: transform 0.3s ease;
}
#faq-questions h3.actif, #faq-questions .style--h3.actif {
  background-color: #fff;
}
#faq-questions h3.actif::after, #faq-questions .style--h3.actif::after {
  transform: translateY(-20%) rotate(225deg);
}
#faq-questions .texte {
  padding: 20px 25px;
  background-color: #fff;
  display: none;
}
#faq-questions .actif {
  display: block;
}
#faq-questions a:not(.btn-tertiary):not(.btn-primary):not(.btn-secondary) {
  color: var(--color-primary);
  text-decoration: underline;
}
#faq-questions a:not(.btn-tertiary):not(.btn-primary):not(.btn-secondary):hover {
  color: var(--color-primary-hover);
}

.nav-services {
  text-align: center;
  position: relative;
  border-bottom: 0;
}
.nav-services:has(div > a)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--color-secondary);
  z-index: 0;
}
.nav-services > div {
  display: flex;
  width: 1400px;
  max-width: 100%;
  margin: auto;
  position: relative;
  z-index: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  scrollbar-width: none;
}
.nav-services > div:has(a) {
  margin-top: 20px;
}
.nav-services > div::-webkit-scrollbar {
  display: none;
}
.nav-services > div.is-scrollable {
  cursor: grab;
}
.nav-services > div.is-scrollable.active-drag {
  cursor: grabbing;
}
.nav-services > div.is-scrollable {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.nav-services > div.is-scrollable:not(.is-scrolled-start) {
  mask-image: linear-gradient(to right, black, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, black, black 90%, transparent);
}
.nav-services > div.is-scrollable:not(.is-scrolled-end) {
  mask-image: linear-gradient(to right, transparent, black 10%, black);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black);
}
.nav-services > div.is-scrollable:not(.is-scrolled-start):not(.is-scrolled-end) {
  mask-image: none;
  -webkit-mask-image: none;
}
.nav-services > div > a {
  background-color: var(--color-lightblue);
  flex-grow: 1;
  flex-shrink: 0;
  width: auto;
  display: block;
  white-space: nowrap;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 20px 20px 0 0;
  padding: 8px 33px;
  font-weight: bold;
  color: var(--color-primary);
  font-size: var(--font-size-p);
  transition: 500ms all ease;
  margin: 0 1px;
  border: 2px solid transparent;
  text-align: center;
  text-decoration: none;
}
.nav-services > div > a.active {
  background-color: white;
  border-color: var(--color-secondary);
  border-bottom-color: transparent;
  position: relative;
  z-index: 2;
}
.nav-services > div > a.active::after {
  content: "";
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: -1px;
  height: 2px;
  background: white;
}

.snav-container {
  margin: 40px auto 70px;
  display: flex;
}
.snav-container .snav-menu {
  background-color: var(--clear-background);
  padding: 20px;
  border-radius: 20px;
  width: 25%;
  height: 100%;
  margin-right: 3%;
  box-shadow: 0 10px 17px -10px rgba(0, 0, 0, 0.3);
}
.snav-container .snav-menu.full {
  display: none;
}
.snav-container .snav-menu a {
  display: inline-block;
  font-family: var(--font-roboto);
  font-weight: bold;
  color: var(--color-text-dark);
  border-bottom: 2px solid transparent;
  transition: 500ms all ease;
  font-size: var(--font-size-p);
  margin: 15px 0;
  padding-bottom: 4px;
  text-decoration: none;
}
.snav-container .snav-menu a:hover, .snav-container .snav-menu a.active {
  border-bottom-color: var(--color-primary);
}
.snav-container .snav-content {
  width: 80%;
  overflow: visible;
}
.snav-container .snav-content.full {
  margin-right: 3%;
  width: 94%;
}
.snav-container .snav-content .par-content {
  overflow: hidden;
  max-height: 0;
}
.snav-container .snav-content .par-content.active {
  max-height: 10000px;
}
.snav-container .snav-content a:not([class^=btn-]) {
  color: var(--color-primary);
}
.snav-container .snav-content a:not([class^=btn-]):hover {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .nav-services > div {
    width: auto;
  }
  .snav-container {
    flex-wrap: wrap;
    height: 100%;
  }
  .snav-container .snav-content {
    width: 100%;
  }
  .snav-container .snav-menu {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    background-color: transparent;
    padding: 0;
    border: 2px solid var(--color-secondary);
    border-radius: 20px;
    transition: all 0.4s ease;
  }
  .snav-container .snav-menu #mobile-filter-btn {
    font-size: var(--font-size-p);
    display: inline-flex !important;
    justify-content: center;
    align-items: center; /* Pour aligner le chevron avec le texte */
    border: none;
    background-color: white;
    margin-bottom: 0 !important;
    transition: margin 0.4s ease;
    box-shadow: none;
  }
  .snav-container .snav-menu #mobile-filter-btn:hover {
    box-shadow: none;
  }
  .snav-container .snav-menu #mobile-filter-btn {
    /* Ajout du chevron inspiré de la FAQ */
  }
  .snav-container .snav-menu #mobile-filter-btn::after {
    content: "";
    display: inline-block;
    margin-left: 12px;
    margin-top: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
    transition: transform 0.3s ease, margin-top 0.3s ease;
  }
  .snav-container .snav-menu .snav-menu-links {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
  }
  .snav-container .snav-menu .snav-menu-links-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .snav-container .snav-menu br {
    display: none;
  }
  .snav-container .snav-menu a {
    align-self: center;
    opacity: 0;
    padding-bottom: 0;
    border-bottom: 2px solid transparent;
    transition: all 0.4s ease;
  }
  .snav-container .snav-menu.menu-ouvert {
    background-color: var(--clear-background);
  }
  .snav-container .snav-menu.menu-ouvert #mobile-filter-btn {
    margin-bottom: 20px !important;
    border-radius: 20px 20px 0 0;
    /* Chevron qui tourne quand ouvert */
  }
  .snav-container .snav-menu.menu-ouvert #mobile-filter-btn::after {
    transform: rotate(225deg);
    margin-top: 4px;
  }
  .snav-container .snav-menu.menu-ouvert .snav-menu-links {
    grid-template-rows: 1fr;
  }
  .snav-container .snav-menu.menu-ouvert a {
    opacity: 1;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 4px;
  }
  .snav-container .snav-menu.menu-ouvert a:last-of-type {
    margin-bottom: 25px;
  }
  .snav-container .snav-menu.menu-ouvert a:hover, .snav-container .snav-menu.menu-ouvert a.active {
    border-bottom-color: var(--color-primary);
  }
}
.btn-primary,
.btn-secondary,
.btn-tertiary {
  border: none;
  display: inline-flex;
  align-self: flex-start;
  min-height: 40px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary,
.btn-secondary {
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  padding: 8px 25px;
  min-width: 165px;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 10px 17px -10px rgba(0, 0, 0, 0.5);
}
.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  box-shadow: none;
}
.btn-primary--green {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 10px 17px -10px rgba(0, 0, 0, 0.5);
}
.btn-primary--green:hover {
  color: var(--color-text-light);
  background-color: var(--color-primary-hover);
  box-shadow: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  box-shadow: 0 0 0 1.5px var(--color-secondary);
}
.btn-secondary--whiteText {
  color: var(--color-text-light);
}
.btn-secondary:hover {
  box-shadow: 0 0 0 3px var(--color-secondary);
}

.btn-tertiary {
  background: transparent;
  color: var(--color-primary);
  border: none;
  padding: 0;
  min-height: 25px;
  background-color: transparent;
  transition: box-shadow 0.3s ease, color 0.3s ease;
  border-radius: 0;
  box-shadow: 0 1.5px 0 0 var(--color-secondary);
}
.btn-tertiary--whiteText {
  color: #fff;
}
.btn-tertiary:hover {
  box-shadow: 0 3px 0 0 var(--color-secondary);
}

.download-link {
  position: relative;
  padding-left: 45px;
}
.download-link.btn-tertiary {
  padding-left: 25px;
}

.download-link::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 15px;
  top: 16px;
  transform: translateY(-50%);
  width: 20px;
  height: 24px;
  background-color: var(--color-primary);
  -webkit-mask-image: url(../images/icones/upload-file-down.svg);
  mask-image: url(../images/icones/upload-file-down.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 20px 24px;
  mask-size: 20px 24px;
  transition: none;
  pointer-events: none;
}

.download-link::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 17px;
  top: 20px;
  width: 16px;
  height: 16px;
  transform: translateY(-12px);
  background-color: var(--color-primary);
  -webkit-mask-image: url(../images/icones/download-file-up.svg);
  mask-image: url(../images/icones/download-file-up.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-link:hover::after {
  transform: translateY(-10px);
}

.btn-tertiary.download-link::before {
  left: 0px;
  top: 10px;
}

.btn-tertiary.download-link::after {
  left: 2px;
  top: 14px;
}

.external-link {
  position: relative;
  padding-right: 25px;
  align-self: flex-start;
}
.external-link.btn-primary {
  padding-right: 45px;
}

.external-link::after {
  content: "";
  display: inline-block;
  position: absolute;
  right: 0px;
  top: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
  -webkit-mask-image: url(../images/icones/externe-vert.svg);
  mask-image: url(../images/icones/externe-vert.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}

.filters-link {
  position: relative;
  /* padding removed to center naturally with inline-flex */
  background-color: var(--color-lightblue);
}
.filters-link.btn-tertiary {
  padding-left: 25px;
}

.filters-link::before {
  content: "";
  display: inline-block;
  margin-right: 8px; /* Espacement directement à côté du texte */
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
  -webkit-mask-image: url(../images/icones/filters.svg);
  mask-image: url(../images/icones/filters.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}

.btn-tertiary.filters-link::before {
  left: 0px;
}