/* =====================================================================
   STARTER CSS du site (fondamentaux). Volontairement sobre et neutre.
   ---------------------------------------------------------------------
   INTEGRATEUR : ce fichier pose des bases propres (typo, en-tete, menu,
   conteneur, pied de page, boutons, formulaires) pour ne pas partir d'une
   page nue. Vous le remplacez/complétez par le CSS de la maquette du client.
   Re-theming rapide : surchargez les variables --c-* ci-dessous.
   ===================================================================== */

/* Police de marque auto-hebergee (RGPD : aucun appel a un CDN de polices, tout
   est servi depuis le site). Inter variable, sous-ensemble latin. Si le fichier
   manque, le repli system-ui ci-dessous prend le relais sans casse. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --c-text: #304148;
  --c-muted: #5b6472;
  --c-bg: #FFFFFFFF;
  --c-surface: #f4f6fa;
  --c-border: #30414833;
  --c-accent: #1b6ec2;
  --c-accent-ink: #ffffff;
  --container: 1300px;
  --radius: 12px;
  /* Police globale : une seule variable. Inter d'abord, repli systeme ensuite. */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 28, 55, .04), 0 12px 30px -18px rgba(20, 28, 55, .2);
}

/* --------------------------------------------------- Base / reset léger */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
} */

h1,
h2,
h3,
h4 {
  margin: 0;
}

/* h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-top: 1.6em;
} */

h3 {
  font-size: 1.2rem;
  margin-top: 1.2em;
}

p {
  margin: 0 0 1rem;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.3em;
}

/* li {
  margin: .3em 0;
} */

blockquote {
  margin: 1.4rem 0;
  padding: .7rem 1.2rem;
  border-left: 4px solid var(--c-accent);
  background: var(--c-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--c-muted);
}

hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: 2rem 0;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* --------------------------------------------------- En-tete + menu */

.section-navigateur {
  position: relative;
  width: 100%;
  padding: 38px 0;
  z-index: 10;
  background: transparent;

}

.site-main {
  overflow: hidden;
}

.section-navigateur .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* fixed */
.nav-wrapper {
  position: relative;
}


.section-navigateur.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
  background: #FFFFFF;
  border-bottom: 1px solid #B7C9D1;
  transition: all 0.3s ease;
  height: auto;
  padding: 8px 0;
}


.site-header {
  /* position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 24px;
  background: var(--c-bg);
  box-shadow: 0 1px 0 var(--c-border); */
}

.site-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--c-text);
}

.site-logo:hover {
  text-decoration: none;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.header-collapse nav {
  width: 100%;
}

.site-header nav li a {
  display: block;

}

.site-header nav>ul>li>button,
.site-header nav>ul>li>a {
  color: var(--c-text);
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  transition: background .15s ease;
  padding: 10px 14px;
  background: transparent;

  padding: 27px 0;
}

.site-header nav button:hover,
.site-header nav a:hover {
  color: #3A7F2C;
}

/* --------------------------------------------------- Fil d'Ariane */
.breadcrumb {
  max-width: var(--container);
  margin: 16px auto 0;
  padding: 0 24px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: .85rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
}

.breadcrumb li:last-child a {
  color: var(--c-text);
  font-weight: 600;
}

/* --------------------------------------------------- Contenu principal */
/* main {
  max-width: var(--container);
  margin-inline: auto;
  padding: 36px 24px 72px;
} */

main>article>.lead,
.lead {
  font-size: 1.2rem;
  color: var(--c-muted);
  margin: 0 0 1.4rem;
}

/* Sections fournies par le moteur (zones d'intervention, FAQ, maillage) */
.zones,
.faq,
.related {
  margin-top: 48px;
}

.zones ul,
.related ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
}

.zones a,
.related a {
  display: inline-block;
  padding: 8px 15px;
  background: var(--c-surface);
  border-radius: 999px;
  color: var(--c-text);
  font-size: .9rem;
}

.zones a:hover,
.related a:hover {
  text-decoration: none;
  background: var(--c-border);
}

.faq h3 {
  margin-top: 1.4em;
}

/* Bouton générique réutilisable */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: filter .15s ease;
}

.btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
}



/* --------------------------------------------------- Menu déroulant (sous-menu) */
.site-header nav .has-sub {
  position: relative;
}

.menu-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
}


.menu-caret {
  width: 15px;
  height: 15px;
  transition: transform .2s ease;
}

.submenu {
  list-style: none;
  margin: 0;

  border: 1px solid #B7C9D1;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #B7C9D1;
  background: #FFFFFF;

}

.site-header nav ul.submenu {
  padding: 8px 0;
}

.submenu a {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  color: var(--c-text);

  padding: 10px 24px;

}

/* Desktop UNIQUEMENT : sous-menu déroulant au survol (scopé pour ne pas fuir sur mobile) */
@media (min-width: 1200px) {
  .submenu {
    padding: 8px;
    position: absolute;
    width: max-content;
    top: calc(100% - 5px);
    left: 0;
    min-width: 220px;
    background: var(--c-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 200;
  }

  .has-sub:hover .submenu,
  .has-sub:focus-within .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .has-sub:hover .menu-caret,
  .has-sub:focus-within .menu-caret {
    transform: rotate(180deg);
  }



  .submenu a:hover {
    background: transparent;
    text-decoration: none;
    color: #3A7F2C;
  }
}

/* --------------------------------------------------- Actions d'en-tete (tel + devis) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}

.header-cta {
  padding: 10px 18px;
  font-size: .95rem;
}

/* --------------------------------------------------- Selecteur de langue (multilingue)
   Aucun de ces elements n'existe tant que l'option multilingue n'est pas activee dans
   l'admin : ces regles ne s'appliquent alors a rien. */
.lang-switch {
  position: relative;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 0;
  border-radius: 9px;
  background: var(--c-surface);
  color: var(--c-text);
  font: 700 .82rem/1 inherit;
  cursor: pointer;
  transition: background .16s ease;
}

.lang-current:hover {
  background: var(--c-border);
}

.lang-caret {
  width: 13px;
  height: 13px;
  opacity: .6;
  transition: transform .18s ease;
}

.lang-switch.is-open .lang-caret {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 96px;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 11px;
  box-shadow: 0 12px 28px rgba(20, 28, 45, .14);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--c-text);
  font-size: .84rem;
  font-weight: 600;
}

.lang-menu a:hover {
  background: var(--c-surface);
}

.lang-menu a.is-current {
  color: var(--c-accent);
}

.lang-flag {
  width: 20px;
  height: 13px;
  border-radius: 3px;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16);
}

@media (prefers-reduced-motion: reduce) {
  .lang-caret {
    transition: none;
  }
}


/* Desktop : le hamburger et le voile sont masques, le wrapper du menu est transparent
   (display:contents -> nav + actions redeviennent enfants directs du header). */
.nav-toggle {
  display: none;
}

.header-collapse {
  display: contents;
}



.nav-scrim {
  display: none;
}

/* --------------------------------------------------- Liens rapides avant le footer */
.quick-access {
  max-width: var(--container);
  margin: 48px auto 0;
  padding: 0 24px;
}

.quick-access ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.quick-access a {
  font-weight: 600;
}

/* --------------------------------------------------- Pied de page (colonnes) */
.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-col h3 {
  font-size: 1rem;
  margin: 0 0 .8em;
  color: #fff;
}



.footer-tagline {
  color: #aab0bd;
  font-size: .9rem;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-social {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 16px !important;
}

.footer-contact a,
.footer-nav a {
  color: #cfd4de;
}

.footer-bottom {
  padding: 40px 0 56px 0;
  border-top: 1px solid #506574;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: #aab0bd;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* --------------------------------------------------- Menu mobile : hamburger + panneau déroulant */
@media (max-width: 1199px) {


  .site-logo {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Bouton hamburger (anime en croix a l'ouverture) */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 12px;
    background: var(--c-surface);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 130;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Panneau : descend sous la barre, masque par defaut, anime a l'ouverture */
  .header-collapse {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-bg);
    box-shadow: var(--shadow);
    border: 1px solid var(--c-border);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    padding: 6px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 120;
  }

  .nav-open .header-collapse {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .site-header nav {
    width: 100%;
  }

  .site-header nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }


  .site-header nav a,
  .menu-top {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
  }

  /* Sous-menu en accordeon (le caret indique l'etat) */
  .menu-top {
    justify-content: space-between;
    cursor: pointer;
  }

  .menu-caret {
    display: inline-block;
    width: 18px;
    height: 18px;
    transition: transform .25s ease;
  }

  .has-sub.is-open .menu-caret {
    transform: rotate(180deg);
  }

  .submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height .28s ease;
    padding-left: 12px;
  }

  .has-sub.is-open .submenu {
    max-height: 70vh;
  }

  .submenu a {
    padding: 10px 4px;
    font-size: .95rem;
    font-weight: 500;
  }

  /* Actions (tel + devis) en bas du panneau */
  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
  }

  .header-cta {
    text-align: center;
  }

  .header-phone {
    padding: 8px 4px;
  }

  /* Panneau mobile : la liste des langues se pose dans le flux, pas en survol. */
  .lang-current {
    justify-content: center;
  }

  .lang-menu {
    position: static;
    margin-top: 6px;
    min-width: 0;
  }

  /* Voile derriere le panneau (ferme au clic) */
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(10, 14, 22, .42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s;
  }

  .nav-open .nav-scrim {
    opacity: 1;
    visibility: visible;
  }
}

/* --------------------------------------------------- Responsive (spacing) */
@media (max-width: 720px) {
  .breadcrumb {
    padding: 0 16px;
  }



  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .quick-access {
    padding: 0 16px;
  }
}

/* =====================================================================
   Formulaire de contact : style minimal fonctionnel (a remplacer par la maquette).
   ===================================================================== */
.contact-form {
  max-width: 620px;
  margin: 1.5rem 0;
  display: grid;
  gap: 1rem;
}

.contact-form .form-row {
  display: grid;
  gap: .35rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form .req {
  color: #c0392b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(27, 110, 194, .15);
}

.contact-form .form-consent label {
  font-weight: 400;
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

.contact-form .btn-contact {
  justify-self: start;
  padding: .8rem 1.6rem;
  font: inherit;
  font-weight: 700;
  color: var(--c-accent-ink);
  background: var(--c-accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.contact-form .btn-contact:hover {
  filter: brightness(1.08);
}

.form-error {
  color: #c0392b;
  font-size: .9rem;
}

.form-alert {
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: #fdecea;
  color: #8a1f17;
  max-width: 800px;
  margin: 15px auto;
}

.form-success {
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: #e8f5e9;
  color: #1b5e20;
  max-width: 800px;
  margin: 15px auto;
}

/* Logo du client (settings.logo_path) dans l en-tete */
.site-logo img {
  display: block;
  max-height: 93px;
  width: auto;
}

/* Banniere de page (pages.banner_media_id) */
.page-banner {
  margin: 0 0 1.6rem;
}

.page-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}



/* navigateur */
.section-navigateur {
  padding: 0;
}

.lien-nav-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.a-lien-nav span:first-child {
  font-family: var(--font);
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  color: #3A7F2C;

}

.a-lien-nav {
  font-family: var(--font);
  font-weight: 400;
  font-size: 12px;
  line-height: 100%;
  color: #506574;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
}

.section-navigateur.fixed .bloc-nav-contact {
  display: none !important;
}

.bloc-nav-contact {
  border-bottom: 1px solid #30414833;
}


/* slide */

.section-slide {
  background: #F6F8F7;
  padding: 0;
}

.item-slide {
  height: 700px;
  min-height: 550px;
  max-height: calc(100vh - 115px);
}

.titre-slide {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(13px, 2.78vw + 1rem, 56px);
  line-height: 118%;
  color: var(--c-text);
}

.text-slide {
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 160%;
  color: #506574;
}

.lien-slide {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: #3A7F2C;
}

.banner-slide {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.img-slide img {
  border-radius: 20px;
}

.bloc-titre-slide,
.bloc-titre-slide .container,
.bloc-titre-slide .row {
  height: 100%;
}

.btn-slide {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}


.Mypage.page .section-slide .container {
  display: flex;
  position: relative;
}

.Mypage.page .titre-slide {
  position: absolute;
  bottom: 72px;
  left: 0;
  color: white;
  text-align: center;
  padding: 0 15px;
  width: 100%;
  z-index: 8;
}

.Mypage.page .item-slide {
  height: unset;
  min-height: unset;
  max-height: unset;
  padding: clamp(50px, 10vh, 100px) 0;


}

.Mypage.page .img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Mypage.page .img-slide {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.Mypage.page .img-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 50%);
  z-index: 4;
}

/* presentation */

.bloc-pre {
  padding: 40px;
  background: #F6F8F7;
  border-radius: 20px;
}



.img-pre img {
  object-fit: cover;
  border-radius: 20px;
}

.mw-653 {
  max-width: 653px;
}

.lien-pre span {
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #3A7F2C;
  padding: 13px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.lien-pre span.active {
  background: #F6F8F7;

}

.lien-pre {
  display: flex;
  align-items: center;
  gap: 32px;
}

.Mypage.page .lien-pre {
  display: none;
}

.swiper.presentation {
  width: 100%;
}

.swiper.presentation .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper.presentation .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.custom-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn-slide-pre {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-slide-pre button {
  width: 40px;
  height: 40px;
  background: transparent;
  padding: 0;
}

#customDots-presentation {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}

#customDots-presentation .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #B7C9D1;
  border-radius: 50%;
}

#customDots-presentation .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  min-width: 12px;
  background: #489D36;

}

.presentation-fraction {
  display: flex;
  align-items: center;
  gap: 2px;

  font-family: var(--font);
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  color: var(--c-text);
  width: max-content;
}


/* valeur */

.section-valeur {
  background: #F6F8F7;
}

.les-valeur {
  display: flex;
  gap: 20px 33px;
  flex-wrap: wrap;
}

.les-valeur span {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  color: #506574;
  display: flex;
  gap: 8px;
  align-items: center;
}

.les-valeur span::before {
  content: '';
  position: relative;
  background: url('../images/valeur-icon.svg')no-repeat;
  width: 24px;
  height: 24px;
}

.img-valeur img {
  border-radius: 20px;
}

/* service */

.section-service {
  background: #F6F8F7;
}

.swiper.service {
  overflow: visible;
}

.item-service {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.item-service::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: #304148d0;
  background-blend-mode: screen;
  transition: all 0.4s ease;
}

.item-service:hover::before {
  height: 100%;
}

.img-service {
  width: 100%;
  height: 445px;
  overflow: hidden;
}

.img-service img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloc-slide {
  position: absolute;
  top: 25%;
  left: 0;

  padding: 16px;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s ease;
  opacity: 0;
}

.item-service:hover .bloc-slide {
  top: 0;
  opacity: 1;
}

.titre-service {
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  line-height: 118%;
  text-align: center;
  color: #FFFFFF;
}

.text-service {
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  text-align: center;
  color: #FFFFFF;
}


/* sg et faq */

.lien-sg {
  display: flex;
  justify-content: space-between;
  align-items: center;

  height: 72px;
  width: 100%;
  min-width: 195px;
  background: #FFFFFF;
  border: 1px solid #B7C9D1;
  border-radius: 12px;
  padding: 16px;
}

.lien-sg span {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  color: var(--c-text);
}

.lien-sg span:last-child {
  font-weight: 400;
  font-size: 13px;
  line-height: 100%;
  color: #3A7F2C;
}

.flex-sg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  justify-content: space-between;
  width: 100%;
}


/* faq */


.faq {
  width: 100%;
  font-family: var(--font);
  margin-top: 0;
}

.faq-item {
  border-bottom: 1px solid #888;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 25px 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;

  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 118%;
  color: var(--c-text);
}

.faq-question>span:first-child {
  flex: 1;
}

.faq-icon {
  position: relative;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
}

.faq-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translate(-65%, -65%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon::before {
  transform: translate(-50%, -75%) rotate(135deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-answer-content {
  overflow: hidden;
  min-height: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #506574;
}

.faq-answer-content p {
  margin: 0 0 20px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer-content {
  padding: 0 4px 20px;
}

.faq-item:last-child {
  border-bottom: 0;
}

@media (max-width: 576px) {
  .faq-question {
    gap: 16px;
    padding: 18px 4px;
    font-size: 15px;
  }

  .faq-answer-content {
    font-size: 14px;
  }
}


/* footer */


.site-footer {
  width: 100%;
  padding-top: 56px;
  background: #304148;
  color: #FFFFFF;
  font-family: var(--font);
}



/* Logo et bouton */

.footer-top {
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer-logo {
  display: inline-block;
  width: fit-content;
}



.footer-description {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0;
  color: #DCEBF0;
}

.footer-cta {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}



/* Colonnes */

.footer-columns {
  margin: 40px 0;
}

.footer-column {
  min-width: 0;
}

.footer-column h3 {
  margin: 0 0 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0;
  color: #FFFFFF;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li,
.footer-column li a {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0;
  color: #DCEBF0;
}

.footer-column li a {
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-column li a:hover {
  color: #FFFFFF;
}

/* Réseaux sociaux */

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #FFFFFF;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-links a:hover {
  color: #FFFFFF;
}

/* Copyright */

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(220, 235, 240, 0.2);
}

.footer-bottom p {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 12px;
  line-height: 160%;
  letter-spacing: 0;
  color: #DCEBF0;
}

.footer-credit-wrapper {
  display: flex;
  justify-content: flex-end;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-credit a {
  font-family: var(--font);
  font-weight: 700;
  color: #3A7F2C;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #65B94E;
}

/* Responsive */

@media (max-width: 991.98px) {
  .footer-columns {
    row-gap: 0px;
  }

  .footer-column h3 {
    font-size: 15px;
  }
}

@media (max-width: 767px) {


  .footer-top {
    row-gap: 16px;
  }

  .footer-cta {
    justify-content: center;
  }

  .footer-columns {
    row-gap: 16px;
  }

  .footer-bottom {
    row-gap: 12px;
  }

  .footer-credit-wrapper {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .footer-column h3 {
    font-size: 14px;
  }

  .footer-column li,
  .footer-column li a {
    font-size: 13px;
  }

  .footer-description {
    font-size: 14px;
  }
}

/* avis */

.section-avis {
  background: url('../images/avis.webp')no-repeat center / cover;
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .section-avis {
    background-image: url('../images/avis-768.webp');
  }
}

.section-avis::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-blend-mode: screen;
  background: #304148c0;
}


/* devis */
.section-devis {
  background: #F6F8F7;
}

.champ-contact select,
.champ-contact textarea,
.champ-contact input {
  position: relative;
  height: 56px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #B7C9D1;
}

.champ-contact select {
  appearance: none;
}

.before-contact {
  position: relative;
}

.before-contact::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  background: url('../images/select.svg')no-repeat;
  width: 14px;
  height: 8px;
  z-index: 5;
  pointer-events: none;
}

.champ-contact textarea:focus-visible,
.champ-contact select:focus-visible {
  outline: none;
}

.champ-contact textarea {
  height: 120px;
}

.champ-contact select,
.champ-contact select option,
.champ-contact textarea::placeholder,
.champ-contact input::placeholder,
.champ-contact textarea,
.champ-contact input {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  color: #506574;
}

.label-devis {
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  color: var(--c-text);
  margin-bottom: 8px;
}

.checkbox-label {
  font-family: var(--font);
  font-weight: 400;
  font-size: 14px;
  line-height: 160%;
  color: #506574;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #489D36;
  border-radius: 4px;
  cursor: pointer;
  background: #FFFFFF;
}

.checkbox-label input[type="checkbox"]:checked {
  background-color: #489D36;
  border-color: #FFFFFF;
}

.checkbox-label input[type="checkbox"]:checked::before {
  content: "✓";
  display: block;
  color: #FFFFFF;
  font-size: 18px;
  text-align: center;
  line-height: 22px;
}


.preloader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999999;
  background-color: #ffffff;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(../images/preloader.svg);
  background-size: 140px;
}

.img-none img,
.h3-none h3:first-of-type,
.h2-none h2:first-of-type {
  display: none;
}

.paragraphe h2 {
  margin: 15px 0;
}

.m-30-auto {
  width: 800px;
  margin: 30px auto;
}
.text-center{
  text-align: center;
}
.m-0-auto{
  margin: 0 auto;
}
.form-success{
  margin: 0 auto !important;
}