:root {
  --primary-h: 202;
  --primary-s: 49%;
  --primary-l: 58%;
 
  --accent-h: 41;
  --accent-s: 96%;
  --accent-l: 48%;

  --text-h: 0;
  --text-s: 0%;
  --text-l: 24%;

  --title-color: hsla(0, 0%, 12%, 1);
  --brand700: hsla(205, 51%, 32%, 1);
  --secondary-text-color: hsla(0, 0%, 36%, 1);

  --background-h: 0;
  --background-s: 0%;
  --background-l: 100%;

  --primary-font: "Inter", sans-serif;
  --secondary-font: "Plus Jakarta Sans", sans-serif;

  --h1-font-size: 3.8125rem;
  --h2-font-size: 2.5rem;
  --h3-font-size: 1.75rem;
  --h4-font-size: 1.5rem;

  --link-color: var(--primary-color-60);

  --border-radius: 0;
  --button-border-radius: 0;
  --transition: 0.3s all ease-in-out;
}

/* ================================== GENERAL ================================== */

#blocHorsLigne {
  z-index: 9999 !important;
}

a[href="#"] {
  cursor: default;
}

main p a,
main p u {
  color: var(--accent-color);
}

p {
  margin: 1.5rem 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 span,
h1.h1-geoloc span,
[class*="title"] {
  font-family: var(--secondary-font);
  font-weight: 800;
  color: var(--title-color);
  line-height: 130%;
}

h1 span,
h1.h1-geoloc span {
  margin: 1.5rem 0;
}

.card-title {
  font-size: var(--h4-font-size);
}

a {
  transition: var(--transition);
}

.pos-relative {
  position: relative;
}

.paginationControl {
  text-align: center;
  margin: 60px auto 28px;
}

.sitemap-nav li {
  margin: 10px 0;
}

.nowrap {
  flex-wrap: nowrap;
}

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

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  [class*="title"] {
    margin: 0;
    line-height: 130%;
  }

  .title-1 {
    font-size: 3.6875rem;
  }

  h1 span,
  h1.h1-geoloc span {
    font-size: var(--h2-font-size);
  }
}

@media screen and (max-width: 992px) {
  h1 {
    margin: 1.875rem 0;
  }
}

/* ================================== SECTIONS ================================== */

@media screen and (min-width: 993px) {
  .index-page main .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media screen and (min-width: 1280px) {
  .index-page main .section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}

/* ================================== BOUTONS ================================== */

.btn {
  padding: 1rem 1.5rem;
  font-weight: 600;
}

a.btn svg,
a.btn .button__icon {
  margin-left: 0.5rem;
}
a.btn.accent {
  color: var(--title-color);
}
.header-content a.btn.accent {
  color: white;
}
.header-content a.btn.accent svg path {
 stroke: white;
}

a.btn.accent:hover {
  background: var(--accent-color);
}

a.btn.outlined {
  background-color: white;
  color: var(--brand700);
}

a.btn.outlined:hover {
  background-color: white;
  border: 1px solid white;
}

.politique-de-confidentialite main .btn-contact {
  margin-top: 1rem;
}

#boutons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

a.btn:has(.button__label) {
  display: inline-block;
  overflow: hidden;
  position: relative;
  text-align: center;
  transition: var(--transition);
  height: 51px;
  padding: 0;
}

a.btn.outlined:has(.button__label) {
  border: 1px solid var(--brand700);
}

a.btn .button__label {
  position: relative;
  bottom: 0%;
  transition: 0.5s;
  height: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.btn:has(.button__label):hover .button__label {
  bottom: 101%;
}

@media screen and (max-width: 992px) {

  .fold-top,
  .fold-interne {
    margin: 15px auto;
  }
}

@media screen and (max-width: 600px) {
  .fold .btn-devis {
    margin-top: 1rem;
  }
}

@media screen and (min-width: 601px) and (max-width: 992px) {
  .btn:not(.fluid) {
    width: auto;
  }
}

/* ================================== BRAND ================================== */

.brand a {
  display: inline-block;
  transition: opacity 0.3s;
}

.brand a:hover {
  opacity: 0.75;
}

header .brand img.footer-only,
footer .brand img.header-only,
.rappel_telephonique .brand img.footer-only {
  display: none;
}

/* ================================== CARDS ================================== */

.card {
  position: relative;
  display: block;
  transition: var(--transition);
}

.actualites-card-image a::before,.catalogue-card-image .catalogue-image::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: block;
  z-index: 4;
}

.card a {
  text-decoration: none;
  display: block;
}

.actualites-card-image,.catalogue-card-image {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.card-image img,
.card * {
  transition: var(--transition);
}

.catalogue-card:hover img,.actualites-card:hover img {
  transform: scale(1.1);
  transition: var(--transition);
}

/* ================================== DIVERS ================================== */

h1.h1-geoloc span::before,
.title-1.h1-geoloc span::before {
  display: none;
}

[class*="white-text"] {
  color: white;
}

@media screen and (max-width: 992px) {
  .blocs .bloc-image img,
  .page-interne .sc-content .ac-doubleColonne .ac-colonne img,
  .actualites-detail .detail-actu-image,.span-image {
    display: block;
    max-width: 450px;
    max-height: 400px;
    margin: 30px auto;
    object-fit: cover;
    width: 100%;
  }

  .header-content .nav ul li a.selected {
    background: transparent;
  }
}

/* ================================== HEADER ================================== */

.header-content #page-footer {
  display: none;
}

@media screen and (max-width: 992px) {
  .menu-mobile img {
    max-width: 80px;
}
  #menu-title {
    color: var(--accent-color);
  }

  .fold .phone {
    justify-content: center;
  }

  .menu-mobile {
    height: 90px;
  }

  .menu-mobile .btn-menu {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 100%;
  }

  .menu-mobile .brand {
    margin-left: -11px;
    max-width: 100px;
  }

  .topbar-brand.col,
  .phone span.material-icons {
    margin: 0;
  }

  .menu-mobile .row {
    width: 100%;
    margin: 0;
    flex-wrap: nowrap;
  }

  .menu-mobile .brand.col {
    padding: 0;
  }

  .header-content .nav .dropdown,
  .header-content .nav .ssdropdown {
    top: 90px;
  }

  .header-content #nav-container {
    margin-top: 90px;
  }

  .header-content .nav#topbar-nav li:not(.opened) a,
  .header-content .nav#main-nav li:not(.opened) a {
    padding: 0.75rem;
  }

  .header-content .nav>ul>.sous_menu.opened>a,
  .header-content .nav .dropdown>.sous_menu.opened>a {
    height: 90px;
  }

  .header-content .nav#topbar-nav li:not(.opened) a {
    border-bottom: solid 1px #ebebeb;
    font-size: 16px;
  }
}

@media screen and (min-width: 993px) {
  .header-content a.tel {
    font-weight: 600;
  }

  #nav-container {
    margin: 0;
  }

  body {
    padding-top: 0 !important;
  }

  .header-content {
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(45px);
    color: white;
  }
  .main-header-content {
    color: var(--title-color);
  }

  .sticky-active .header-content {
    background: black;
  }

  .top-bar .container {
    padding-block: 1.5rem;
  }

  .main-header-content .container {
    padding: 0.5rem 0;
  }

  .main-header-content {
    background-color: var(--accent-color);
  }

  .header-content .devis {
    display: none;
  }

  .header-content #nav-container,
  .header-content .row {
    flex-wrap: nowrap;
  }

  .header-nav .col {
    padding: 0 0.25rem;
  }

  .header-content .nav ul li:hover>a,
  .header-content .nav ul li a.selected {
    color: inherit;
  }

  .header-content .nav ul.dropdown li a {
    color: var(--text-color);
    background-color: white;
  }

  .header-content .nav#main-nav ul {
    justify-content: center;
  }

  .header-content nav li:not(.sousLi) {
    margin: 0 8px;
  }

  .header-content .nav#main-nav>ul>li>a,
  .header-content .nav#topbar-nav>ul>li>a {
    position: relative;
    padding: 4px;
    text-align: center;
  }

  .header-content .nav ul li.sous_menu ul.dropdown>li a {
    position: relative;
    font-size: 14px;
  }

  .header-content .nav ul li.sous_menu ul.dropdown>li a::before,
  .header-content .nav#topbar-nav>ul>li>a::before,
  .header-content .nav#main-nav>ul>li>a::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    height: 2px;
    width: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
    z-index: 1;
  }

  .header-content .nav#main-nav>ul>li>a::before {
    background-color: var(--title-color);
  }

  .header-content .nav ul li.sous_menu ul.dropdown>li a::before {
    bottom: -2px;
  }

  .header-content .nav ul li.sous_menu ul.dropdown>li a.selected::before,
  .header-content .nav ul li.sous_menu ul.dropdown>li a:hover::before,
  .header-content .nav#main-nav>ul>li>a.selected::before,
  .header-content .nav#main-nav>ul>li>a:hover::before,
  .header-content .nav#topbar-nav>ul>li>a.selected::before,
  .header-content .nav#topbar-nav>ul>li>a:hover::before {
    width: 100%;
    left: 0;
    right: 0;
  }

  .row-header {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media screen and (min-width: 1440px) {
  .row-header {
    flex-direction: row;
  }

  .header-content nav a {
    font-size: 1rem;
  }

  .header-content a {
    min-width: max-content;
  }
}

/* ================================== SLIDER ================================== */

.slide-img {
  background: linear-gradient(hsla(0, 0%, 0%, 0.5), hsla(0, 0%, 0%, 0.5)),
    url("../assets/gifs/slider/slide-01.jpg");
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 10% 0;
}

.slide-content #boutons {
  margin-top: 1.5rem;
}

.slick-slider {
  margin-bottom: 0;
}

@media screen and (min-width: 993px) {
  .slide-content #boutons {
    justify-content: center;
  }

  .slide-content {
    padding: 42% 0 7%;
  }
}

@media screen and (min-width: 1440px) {
  .slide-content {
    padding: 26% 0 13%;
  }
}

@media screen and (max-width: 992px) {
  .slide-content #boutons {
    display: none;
  }

  .slide-img [class*="title"] {
    margin: 0;
  }
}

/* ================================== BLOC 01 ================================== */

#boutons,
#bloc-points-fort .row {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  row-gap: 1rem;
}

#boutons,
#bloc-points-fort {
  margin-top: 42px;
}

#bloc-points-fort {
  position: relative;
  z-index: 2;
  padding: 1.5rem 50.5px;
}

#bloc-points-fort span {
  margin-top: 8px;
}

.span-image {
  display: block;
  position: relative;
  height: 100%;
}
.span-image img {
  height: 100%;
}

.span-image::before {
  position: absolute;
  content: '';
  inset: 0;
  z-index: 1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
}
@media screen and (max-width:600px) {
  div#boutons > div {
    width: 100%;
}
}
@media screen and (min-width: 601px) {
  #boutons {
    flex-direction: row;
    gap: 0.75rem;
  }
}

@media screen and (min-width: 993px) {
  #boutons,
  #bloc-points-fort .row {
    flex-direction: row;
    row-gap: 0;
    gap: 70px;
  }
  #boutons {
    gap: 0.75rem;
  }

  #bloc-points-fort {
    min-width: max-content;
  }
}
@media screen and (min-width:1440px) {
#bloc-01 .span-image,#bloc-01 img {
  max-height: 690px;
}
}
@media screen and (max-width:992px) {
  #bloc-points-fort [class*="title"] {
    margin: 0;
  }
}
/* ================================== ENCART POINTS FORT ================================== */

.points-fort {
  display: flex;
  flex-direction: column;
  row-gap: 1.5rem;
  margin-top: 62px;
}
.card-image-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
}
.card-point-fort .card-text {
  color: var(--title-color);
  margin-top: 1.25rem;
}

@media screen and (min-width:993px) {
  #encart-points-fort::before {
    position: absolute;
    content: '';
    width: 100%;
    left: 0;
    right: 0;
    bottom: -2px;
    background-color: var(--primary-color);
    z-index: -1;
    transition: height 1.2s ease;
  }
  
  #encart-points-fort.background-visible::before {
    height: 75%;
  }
  #encart-points-fort .bloc-image img {
    position: absolute;
    width: 72%;
    left: 55%;
    top: 0;
    bottom: 0;
  }
}
@media screen and (min-width:1600px) {
  #encart-points-fort.background-visible::before {
    height: 65%;
  }
  .pt-fort-1 .card-text {
    min-width: 606px;
}
}

/* ================================== ENCART PRESTATIONS ================================== */

.bloc-top .bloc-text {
  margin: 1.25rem auto 4rem;
  color: var(--title-color);
}
#encart-prestations .card {
  position: relative;
  height: 100%;
}
#encart-prestations a {
  position: relative;
  display: block;
  padding: 1.5rem .5rem;
  overflow: hidden;
  color: var(--secondary-text-color);
  height: 100%;
}
#encart-prestations a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background-color: var(--accent-color);
  opacity: 0;
  transition: height 0.8s ease, opacity 0.8s ease;
}

#encart-prestations a:hover::after {
  height: 5px; 
  opacity: 1;
}
.prestations-card-title {
margin: 1.25rem auto .5rem;
transition: var(--transition);
}
#encart-prestations a:hover .prestations-card-title {
  color: var(--accent-color);
}
.prestations-card-text {
  color: var(--secondary-text-color);
  min-height: 105px;
}
.link {
  color: var(--title-color);
  font-weight: 600;
  margin-top: 1.25rem;
  transition: var(--transition);
}
@media screen and (max-width:992px) {
  .prestations-card-image img, .img-partenaire img {
    display: block;
    margin: auto;
}
.prestations-card a {
  min-height: 375px;
}
}

/* ================================ ENCART AVIS ================================== */

.encart-avis{
  color: var(--title-color);
}
.slick-avis {
  margin-top: 4rem;
}
.slick-avis .card-content .row {
  flex-wrap: nowrap;
}
.avis-card {
  padding: 1rem;
  background-color: white;
}
.avis-card .avis-card-text {
  padding-left: 4.75rem;
  height: 6.5rem;
  margin-top: 0.5rem;
}
.avis-name {
  font-weight: 600;
}
.encart-avis .avis-card.js-more .avis-card-text::after {
  display: none;
}
.avis-date {
  margin-left: -1rem;
  font-size: .625rem;
  color: hsla(0, 0%, 27%, 1);
}
.encart-avis .row.s-middle.s-start {
  padding-top: 0.25rem;
}
.encart-avis::before {
  position: absolute;
  content: '';
  width: 100%;
  left: 0;
  right: 0;
  top: -2px;
  background-color: var(--primary-color);
  z-index: -1;
  transition: height 1.2s ease;
}

.encart-avis.background-visible::before {
  height: 65%;
}

@media screen and (min-width:993px) {
  .index-page .encart-avis.section {
    padding: 5rem 0;
  }
}

/* ================================== ENCART CATALOGUE ================================== */

.bloc-catalogue p {
  margin: 1.25rem 0 0;
}
.slick-catalogue {
  margin-top: 4rem;
}
.catalogue-card-content {
  padding: 1.5rem;
}
.catalogue-card-title a {
  color: var(--title-color);
}
.catalogue-card-text {
  margin-top: .5rem;
  color: var(--secondary-text-color);
}
.btn-realisation {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  margin: auto;
  opacity: 0;
  display: flex;
  justify-content: center;
  transition: var(--transition);
}
.catalogue-card:hover .btn-realisation {
  opacity: 1;
}
.catalogue-card-image a.catalogue-image::after {
  position: absolute;
  content: '';
  background: hsla(0, 0%, 0%, 0.3);
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}
.catalogue-card a:hover::after {
opacity: 1;
}
.catalogue-card-image,.catalogue-card-image a,.catalogue-card-image img {
  width: 100%;
}
.catalogue-card-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width:993px) {
 .catalogue-encart-btn {
    z-index: 10;
    position: relative;
}
  #encart-catalogue::before {
    position: absolute;
    content: '';
    height: calc(100% - 78px);
    top: 0;
    right: 0;
    width: 324px;
    pointer-events: none;
    z-index: 9;
    background: linear-gradient(270deg, #FFFFFF 24.91%, rgba(255, 255, 255, 0.687242) 63.54%, rgba(255, 255, 255, 0) 100%, rgba(255, 255, 255, 0.0906522) 100%);
  }
 .slick-prev .slick-prev-icon:before,
 .slick-prev .slick-next-icon:before,
 .slick-next .slick-prev-icon:before,
 .slick-next .slick-next-icon:before {
  opacity: 1;
}
  #encart-catalogue .slick-next,#encart-catalogue .slick-prev {
    top: -12rem;
    transform: none;
    z-index: 10;
  }
  #encart-catalogue .slick-next {
    right: 28vw;
  }
  #encart-catalogue .slick-prev {
    right: 34vw;
  left: auto;
  }
  #encart-catalogue  .slick-next .slick-next-icon:before {
    content: url("../assets/gifs/slick-next.svg");
  }
  #encart-catalogue .slick-prev .slick-prev-icon:before {
    content: url("../assets/gifs/slick-prev.svg");
  }
  .slick-catalogue {
    width: 130%;
    position: relative;
  }

}
@media screen and (min-width:1500px) {
  #encart-catalogue .slick-prev {
    right: 30vw;
  }
  #encart-catalogue .slick-next {
    right: 26vw;
  }
}
@media screen and (min-width:1920px) {
  #encart-catalogue .slick-prev {
    right: 24.5vw;
  }
  #encart-catalogue .slick-next {
    right: 20.5vw;
  }
}
@media screen and (max-width:992px) {
  .catalogue-encart-btn {
    margin: 1.25rem 0;
  }
}
/* ================================== BLOC 02/03/05/06 ================================== */

.bloc-2 img {
  max-height: 657px;
}
.bloc-5 img {
  max-height: 705px;
}
.bloc-6 img {
  max-height: 540px;
}
.bloc-3 img {
  max-height: 520px;
}
.blocs p em {
  display: block;
  font-style: normal;
  padding: 1.5rem 1rem;
  background-color: var(--primary-color);
}
@media screen and (min-width:993px) {
  .bloc-2 img, .bloc-5 img {
   margin-top: 2rem;
  }
  .bloc-3 img, .bloc-6 img {
    margin-bottom: 2rem;
  }
}
@media screen and (min-width:993px) and (max-width:1200px) {
 .blocs .bloc-image img,.span-image img {
   height: 100%;
 }
 [class*="bloc-"] .span-image img {
   max-height: none !important;
 }
  #bloc-02 img, #bloc-05 img {
    height: 500px;
  }
}
@media screen and (max-width:992px) {
  #bloc-02 .row, #bloc-05 .row {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* ================================== ENCART PARTENAIRES ================================== */

#encart-partenaires .bloc-top .bloc-text {
  color: var(--secondary-text-color);
}
/* ================================== BLOC 04/07 ================================== */

#bloc-04 .btn-devis {
  margin-top: 2rem;
}
@media screen and (min-width:993px) {
  #bloc-04 h2:nth-of-type(2), #bloc-07 h2:nth-of-type(2){
    margin: 3rem 0 0;
  }

#bloc-07 img {
  max-height: 734px;
}
}
@media screen and (min-width:1440px) {
  #bloc-04 .span-image,  #bloc-04 img {
    max-height: 675px;
}
}
/* ================================== ENCART CONTACT ================================== */

#encart-contact {
  width: 100vw;
  background-color: var(--accent-color);
  left: 50%;
  transform: translateX(-50%);
}

#encart-contact .btn-devis {
  margin-top: 1.5rem;
}
#encart-contact .btn-devis a.btn.accent {
  border: 2px solid black;
}
.bloc-coordonnees {
  display: flex;
  flex-direction: column;
  row-gap: 1.875rem;
  padding: 1.5rem;
}

#encart-contact .bloc-coordonnees {
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bloc-coordonnees address {
  margin: 0;
}

.titre {
  margin-bottom: 0.75rem;
  color: var(--title-color);
  font-weight: 600;
}

/* ================================== ENCART EQUIPES ================================== */

.slick-equipes {
  margin-top: 60px;
  row-gap: 3rem;
}   
.slick-equipes .card-title {
  margin: 1.25rem 0 .25rem;
}
.equipe {
  position: relative;
  height: 100%;
  transition: var(--transition);
}
.equipe .card-image {
  overflow: hidden;
}
.equipe .card-image::before {
  position: absolute;
  content: '';
  inset: 0;
  background-color: hsla(0, 0%, 0%, 0.3);
  z-index: 1;
  transition: var(--transition);
  opacity: 0;
}
.equipe:hover img {
  transform: scale(1.1);
}
.equipe:hover .card-image::before{
opacity: 1;
}
.card-equipe {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: var(--title-color);
}
.btn-equipe a.btn.outlined {
  width: 100%;
  text-align: center;
  background-color: white;
  color: var(--title-color);
  border: 1px solid var(--accent-color);
}
@media screen and (min-width:993px) {
  .row-text p:nth-of-type(1) {
    margin: 0 0 1.5rem;
  }
  .row-text p:nth-of-type(2) {
    margin: 0;
  }
}
@media screen and (max-width:992px) {
  #encart-equipes .desktop-only {
    display: none !important;
  }
}

/* ================================== ENCART ACTUALITES  ================================== */

.actualites-card {
  transition: var(--transition);
  overflow: hidden;
}
.actualites-card:hover {
  background-color: var(--primary-color);
}
.actualites-card-content {
  margin-top: 1.25rem;
  padding: 1.5rem 1rem;
}
.actualites-card-title a, .actualites-card-content .link a {
  color: var(--title-color);
}
.actualites-card-text {
  margin: .5rem 0;
}
.actualites-card .link a {
  font-weight: 400;
  text-decoration: none;
}
.actualites-card .card-image a::after {
  position: absolute;
  content: '';
  inset: 0;
  background:hsla(0, 0%, 0%, 0.3);
  opacity: 0;
}
.actualites-card:hover .actualites-card .card-image a::after {
  opacity: 1;
}
.slick-actualites, #encart-actualites .encart-btn {
  margin-top: 3.75rem;
}
.recherche_actu #recherche_actu_submit {
  width: auto;
  display: inline-block;
  padding: 0 1rem;
  height: 40px;
}
@media screen and (max-width:600px) {
  .recherche_actu #recherche_actu_submit {
    width: 100%;
  }
}

/* ================================== ACTUALITES DETAIL  ================================== */

#listing-autres-actus-categorie ul {
  text-align: center;
  padding-inline-start: 0;
}
#listing-autres-actus-categorie span.title-4 {
  margin: 20px auto;
  display: block;
  text-align: center;
  color: white;
}
.actualites-detail .detail-actu-image {
  max-width: 50%;
}
#listing-autres-actus-categorie li {
  margin-top: 0.5rem;
}
body.actualites-detail .listing-autres-actus-categorie {
  height: max-content;
  padding: 24px;
}
#listing-autres-actus-categorie ul li ul li {
  list-style: none !important;
}
#listing-autres-actus-categorie ul li a {
  text-decoration: none;
}
#listing-autres-actus-categorie ul li a:hover {
  text-decoration: underline;
}
.actualites-detail .detail-actu-reseaux-sociaux {
  align-items: flex-start;
}
.detail-actu-reseaux-sociaux > div {
  display: flex;
}
.detail-actu-contenu p {
  margin: 0;
}



/* ================================== BLOC FORMULAIRE ================================== */

.horaire-table {
  display: flex;
}
.extra-info {
  color: var(--title-color);
}
.col-2 {
  border-left: 1px solid #000000;
}
.col.col-1 {
  padding-left: 0;
}
.extra-info p {
  margin: 0;
}
#bloc-formulaire {
  position: relative;
  width: 100vw;
  background-color: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
}
span.erreur {
  font-size: 13px;
  text-align: center;
}

#bloc-formulaire label {
  font-weight: 600;
}

#bloc-formulaire input:not(#bloc-formulaire p.submit .btn),
#bloc-formulaire textarea {
  box-shadow: 0px 1px 2px 0px hsla(220, 43%, 11%, 0.05);
  border: 1px solidhsla(0, 0%, 82%, 1);
  border-radius: 0.5rem;
}

#bloc-formulaire textarea {
  min-height: 5.375rem;
}

#bloc-formulaire .divGenerateur {
  margin: 0;
}

#bloc-formulaire .info {
  font-size: 1rem;
}

.col.bloc-formulaire {
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0px 4px 24px 0px hsla(0, 0%, 0%, 0.1);
  border-radius: 12px;
  background-color: white;
}

#bloc-formulaire label.noFloatingLabel {
  font-weight: 400;
}

#bloc-formulaire input#field_3 {
  width: 100%;
  border: 1px solid var(--accent-color);
}

.col.bloc-info .bloc-coordonnees {
  margin-top: 5rem;
  row-gap: 1.5rem;
  padding: 0;
}

.col.bloc-info {
  padding: 3rem 4rem;
}

.bloc-info .reseaux-sociaux {
  margin-top: 1.5rem;
}
form#formulaire_5 {
  margin-top: 48px;
}

@media screen and (min-width:1500px) {
  #bloc-formulaire .mercredi {
    flex-wrap: nowrap;
  }
}

@media screen and (max-width: 992px) {
  .col-2 {
    border-left: none;
  }
  .col.bloc-info {
    padding: 1.5rem;
  }

  .col.bloc-formulaire {
    padding: 1.5625rem;
    margin-top: 20px;
  }
}
@media screen and (max-width:992px) {
.horaire-table {
    flex-direction: column;
        row-gap: 20px;
  }
  footer .horaire-table {
    align-items: center;
    max-width: 400px;
    margin: auto;
  }
 footer .horaire-table > .col {
    width: max-content !important;
}
}

/* ================================== FOOTER ================================== */

footer p {
  margin-top: 12px;
}

footer .section {
  color: var(--title-color);
}

#footer-nav a {
  position: relative;
}

#footer-nav a::before {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 50%;
  height: 2px;
  width: 0;
  background-color: var(--accent-color);
  transition: var(--transition);
}

#footer-nav a:hover::before,
#footer-nav a.selected::before {
  width: 100%;
  left: 0;
  right: 0;
}

#footer-nav ul.dropdown a:hover::before,
#footer-nav ul.dropdown a.selected::before {
  bottom: 0;
}

.label-footer {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#footer-nav .nav ul li.no-menu,
#footer-nav .nav ul li.contact {
  display: none;
}

footer .section {
  padding-top: 3rem;
}

a.lien-maps:hover {
  opacity: 0.7;
}

#footer-nav .nav ul li.sous_menu ul.dropdown {
  position: absolute;
  left: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  font-weight: normal;
  z-index: 1;
  background-color: #fff;
  border: 2px solid var(--accent-color);
}

footer ul.ssdropdown {
  position: absolute;
  top: -1px;
  left: 100%;
  display: none;
  width: max-content;
  max-width: 20rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  list-style-type: none;
  background-color: var(--background-color);
  border: solid 1px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
}

#footer-nav .nav ul li.sous_menu>a::after {
  position: absolute;
  right: 0.625rem;
  display: block;
  font-family: var(--icon-font);
  line-height: 0;
  content: "\e5cf";
  position: static;
  display: inline-block;
  vertical-align: middle;
  margin: -0.125em 0 0 0.25em;
  text-decoration: none;
}

footer ul.ssdropdown a {
  font-size: 11px;
}

footer .ssdropdown {
  border: none;
}

#footer-nav ul li.sous_menu ul.dropdown>li.sous_menu>a::after {
  content: "\e5cc";
  position: absolute;
  margin-top: 10px;
  pointer-events: none;
}

#footer-nav ul li.sous_menu ul.dropdown>li.sous_menu:hover ul.ssdropdown {
  display: block;
}

#footer-nav .nav>ul>li {
  margin-bottom: 8px;
}

#footer-nav .nav ul li.sous_menu ul.dropdown>li:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

#footer-nav .nav ul li.sous_menu {
  position: relative;
}

#footer-nav .nav ul li.sous_menu:hover ul.dropdown {
  display: flex;
}

#footer-nav .nav ul li.sous_menu ul.dropdown>li a {
  padding: 0.5rem;
  margin: 0;
  font-size: 13px;
  display: block;
  color: var(--text-color);
}

#footer-nav a:hover {
  color: inherit;
}

#footer-nav {
  padding-top: 1.5rem;
}

#footer-nav .nav>ul {
  padding-bottom: 3px;
}

.footer-2 {
  margin-top: 30px;
  font-weight: 600;
  color: var(--title-color);
}

.footer-2 a:hover {
  text-decoration: underline;
  color: inherit;
}

.footer-section-1 {
  margin-bottom: 90px;
}
.footer-2 ul {
  padding-top: 1.5rem;
  border-top: 1px solid var(--title-color);
  width: max-content;
  margin: auto;
}
@media screen and (min-width: 993px) {
  #footer-nav a {
    font-size: 14px;
  }
  div#footer-nav .row {
    flex-direction: column;
  }

  .footer-reseaux {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  footer .row {
    flex-wrap: nowrap;
  }

  footer .col-adresses {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
  }

  #footer-nav .nav>ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-block-end: 0;
  }

  footer #footer-nav .nav ul li.sous_menu ul.dropdown {
    bottom: 100%;
  }
}
@media screen and (min-width:1440px) {
  #footer-nav a {
    font-size: 1rem;
  }
}

@media screen and (max-width: 992px) {
  .footer-contact {
    margin: 15px auto;
  }

  .footer-brand {
    margin: 1rem auto;
  }

  #footer-nav .nav>ul>li {
    margin-bottom: 30px;
  }

  .footer-2 li {
    margin-block: 10px;
  }

  footer .section {
    text-align: center;
  }

  footer .reseaux-sociaux .row {
    justify-content: center;
  }

  #footer-nav nav ul {
    flex-direction: column;
  }

  span.lien-maps {
    align-items: center;
  }
}

/* ******************************************** PAGE INTERNE ****************************************** */

.sc-content .ac-doubleColonne.hero-bg,
.hero-interne {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  position: relative;
  margin-bottom: 4rem;
  padding: 4% 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(hsla(0, 0%, 0%, 0.5), hsla(0, 0%, 0%, 0.5)),
    url("../assets/gifs/slider/slide-01.jpg");
  background-position: top;
  color: white;
  background-size: cover;
}


.contact-page .section-interne {
  margin: 2.5rem 0 0;
}

nav#fil_ariane, #fil_ariane,.fil-ariane {
  margin: 0 0 3em;
}

[class*="actualites-"] main>.section,
.politique-de-confidentialite main>.section,
.plan-site main>.section {
  padding-top: 0;
}

.page-interne #container {
  padding-block: 0;
}

.page-interne .ac-doubleColonne .white {
  padding: 1.25rem;
  border: 2px solid var(--accent-color);
}

.page-interne .ac-doubleColonne .white,
.page-interne .ac-doubleColonne .white section {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.page-interne .ac-doubleColonne .white p {
  margin: 0;
}

.ac-1v1 .ac-colonne {
  border: 2px solid var(--accent-color);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.hero-bg .title-1,
.hero-interne h1,
.hero-interne .title-1 {
  max-width: 80%;
  margin: 2rem auto;
  color: white;
  text-align: center;
}

.contact-page .hero-interne h1,.devis-page .hero-interne h1 {
  max-width: none;
  color: white;
}
.page-interne #boutons {
  width: max-content;
  margin: 1.5rem auto 0;
}
.sc-content p em {
  display: block;
  margin-top: 2rem;
  font-style: normal;
  background-color: var(--primary-color);
  padding: 1.5rem 1rem;
}

@media screen and (min-width: 993px) {
  .page-interne .ac-doubleColonne img {
    max-height: 600px;
    object-position: top;
  }
  .page-interne #encart-contact .bloc-text {
    padding-block: 7.5rem;
  }
  .page-interne .sc-content h1 {
    font-size: 45px;
}
.page-interne .sc-content h2 {
  font-size: 35px;
}
.page-interne .sc-content h3 {
  font-size: 33px;
}
.page-interne .sc-content h1 span {
    font-size: 25px;
}
  .contact-page .hero-interne, .devis-page .hero-interne {
    padding: 35% 0 5%;
  }

  .sc-content .ac-doubleColonne.section-interne-1,
  .sc-content .ac-doubleColonne.section-interne-2 {
    align-items: center;
  }

  .sc-content .ac-doubleColonne.hero-bg,
  .hero-interne {
    padding: 43% 0 12%;
  }

  .page-interne #bloc-formulaire {
    padding-block: 7.5rem;
  }
 

  .page-interne #bloc-formulaire .container {
    width: 100%;
  }

  .page-interne .ac-doubleColonne img {
    height: 100%;
    object-fit: cover;
  }

  .page-interne .sc-content .ac-doubleColonne.section-interne-1 .ac-colonne_1 {
    padding-right: 100px;
  }

  .page-interne .sc-content .ac-doubleColonne.section-interne-2 .ac-colonne_2 {
    padding-left: 100px;
  }

  .hero-bg .title-1,
  .hero-interne .title-1 {
    max-width: 55%;
    font-size: 42px;
  }

  .page-interne .sc-content .clear_both {
    margin-bottom: 7.5rem;
  }

  .page-interne section:not(section.ac-doubleColonne,
    section.ac-doubleColonne section,
    #relance,
    .ac-include) p,
  section.ac-doubleColonne:not(section.ac-doubleColonne.ac-timeline) p:nth-last-of-type(1) {
    margin-bottom: 0;
  }

  #fil_ariane,
  nav#fil_ariane,
  .fil-ariane {
    font-size: 14px;
  }
}

@media screen and (min-width: 1440px) {
  .contact-page .hero-interne,  .devis-page .hero-interne {
    padding: 17% 0 4%;
  }

  .sc-content .ac-doubleColonne.hero-bg,
  .hero-interne {
    padding: 20% 0 7%;
  }
}


@media screen and (max-width: 992px) {
  .ac-doubleColonne.hero-bg .ac-colonne_1 {
    width: 90%;
  }

  .sc-content .ac-doubleColonne.hero-bg #boutons,
  .hero-interne #boutons {
    display: none;
  }

  .page-interne .ac-doubleColonne .white {
    margin-block: 1.25rem;
  }

  section.ac-doubleColonne.ac-1v1 .ac-colonne {
    margin-top: 2rem;
  }
}

/* ******************************************** PAGE CONTACT/PAGE DEVIS ****************************************** */

fieldset {
  padding: 1.25rem;
  border-radius: var(--border-radius);
  min-inline-size: auto;
  margin-top: 1rem;
}

.divGenerateurRequired {
  margin-top: 2rem;
}

.contact-page iframe,
.devis-page iframe {
  max-height: 400px;
}

.devis-page .divGenerateur .optional {
  display: none;
}
.contact-page h1,
  .devis-page h1 {
    text-align: left;
    max-width: none;
  }
  .hero-interne .extra-info {
    color: white;
  }

  .hero-interne .horaire-table>.col {
padding: 0;
width: auto;
  }
   .hero-interne .col.col-2 {
    border-left: 1px solid white;
    padding: 0 0 0 .75rem;
  }
@media screen and (min-width: 993px) {
  fieldset {
    height: 100%;
  }
  .contact-page table.horaires,  .devis-page table.horaires {
    min-width: 200px;
}

  .contact-page h1,
  .devis-page h1 {
    font-size: var(--h3-font-size);
  }

  fieldset {
    padding: 1.5rem;
  }
}
@media screen and (min-width:1200px) {
  .col.col-1 {
    min-width: 230px;
  }
}

@media screen and (max-width: 992px) {
  .page-interne #relance ul li {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 600px) {
  .actualites-listing .masonry-item.listing-masonry-item.actualites-listing-masonry-item {
    margin-bottom: 3rem;
  }
}

