:root {
  --primary-h: 25; /* hue */
  --primary-s: 25%; /* saturation */
  --primary-l: 25%; /* lightness */

  --accent-h: 74; /* hue */
  --accent-s: 32%; /* saturation */
  --accent-l: 76%; /* lightness */

  --text-h: 25; /* hue */
  --text-s: 25%; /* saturation */
  --text-l: 25%; /* lightness */

  --background-h: 43; /* hue */
  --background-s: 79%; /* saturation */
  --background-l: 92%; /* lightness */

  --primary-font: "Jost", sans-serif;
  --secondary-font: "benton-modern-display";

  --h1-font-size: 4.125rem;
  --h2-font-size: 3.375rem;
  --h3-font-size: 2.375rem;
  --headings-line-height: 1.333333;

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

  --border-radius: 8px;
  --button-border-radius: 30px;
  --transition: 0.3s all ease-in-out;
  --gray950: rgba(25, 25, 25, 1);
}

[class*="btn"] a.btn {
  padding: 1rem 1.5rem;
  font-weight: 500;
  letter-spacing: 0px;
}

[class*="btn"] .accent.btn {
  color: var(--text-color);
}

[class*="btn"] a.btn svg {
  margin-left: 0.5rem;
}

[class*="btn"] a.btn:not(.accent),
[id*="formulaire"] .btn.primary {
  color: var(--text-color);
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 10px;
}

[class*="btn"] a.btn:not(.accent):hover,
[id*="formulaire"] .btn.primary:hover {
  background-color: #8d8169;
  color: #fff;
}

.btn-contact a:hover .content:last-child {
  position: relative;
  transition: 0.5s;
  left: 0;
  height: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
a.btn:has(.content) {
  display: inline-block;
  overflow: hidden;
  position: relative;
  text-align: center;
  transition: 0.3s;
  height: 46px;
  border: none;
  padding: 0;
}

a.btn .content {
  position: relative;
  transition: 0.5s;
  left: 0;
  height: 100%;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reseaux-sociaux svg path {
  fill: black;
}
@media screen and (min-width: 993px) {
  a.btn .content:last-of-type {
    left: 100%;
    bottom: 100%;
  }
  a.btn:hover .content:first-of-type {
    left: -100%;
  }
  a.btn:hover .content:last-of-type {
    left: 0%;
  }
}

@media screen and (max-width: 992px) {
  .slick-prestations {
    margin-top: 20px;
  }
  [id*="bloc"] img {
    display: block;
    width: auto;
    margin: 2rem auto;
    min-height: 200px;
    object-fit: cover;
  }
  .page-interne #container .ac-doubleColonne .ac-colonne img {
    width: auto;
    margin: 1rem auto;
  }
  a.btn .content:last-of-type {
    display: none;
  }
}

@media screen and (min-width: 601px) {
  a.btn {
    width: auto;
  }
}

[id*="bloc"] img,
.card-image {
  border-radius: var(--border-radius);
  overflow: hidden;
}
p {
  font-size: 18px;
  line-height: 26px;
  margin: 24px 0;
}

/* 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;
}
h1,
h2,
h3,
h4,
h5,
h6,
[class*="title"] {
  font-weight: 700;
}

.paginationControl {
  text-align: center;
  font-size: 18px;
  margin-top: 3rem;
}

.paginationControl a {
  text-decoration: none;
}

.paginationControl .selected {
  font-weight: bold;
}

.plan-site .sitemap-nav ul li a {
  margin-bottom: 0.5rem;
  display: inline-block;
}

.fil-ariane,
#fil_ariane {
  margin-bottom: 2rem;
  font-size: 14px;
}

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

.card {
  position: relative;
}

.card-title a::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

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

.slider-slick {
  width: 100%;
  height: 500px;
  background-color: var(--background-color);
  position: relative;
  z-index: 0;
}
.slider-slick .slick {
  height: 100%;
}
.slide-img {
  min-height: 500px;
  background-size: cover;
  background-position: center;
}
.slide-img.slide-01 {
  background-image: url("../assets/gifs/slider/slide-01.jpg");
}
.slide-img.slide-02 {
  background-image: url("../assets/gifs/slider/slide-02.jpg");
}
.slide-img.slide-03 {
  background-image: url("../assets/gifs/slider/slide-03.jpg");
}
.slide-img .container {
  min-height: 500px;
}
.slide-img .container .bloc {
  height: 500px;
}
@media screen and (max-width: 600px) {
  .row-btn {
    flex-wrap: wrap;
  }
  .row-btn div {
    width: 100%;
  }
  .slider-slick {
    display: none;
  }
}
h1,
h2,
h3,
h4,
h5,
h6,
h1 span,
h1.h1-geoloc span,
[class*="title"] {
  font-family: var(--secondary-font);
  font-weight: 600;
  color: var(--gray950);
}
h2,
h3,
h4,
h5,
h6 {
  color: var(--gray950);
}

.section.bg-footer .container {
  padding-top: 35px;
  border-top: 1px solid #00000047;
}

/* ********************************************HEADER****************************************** */

@media screen and (min-width: 993px) {
  li.contact-link {
    display: none;
  }
  .header-contact {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .fold .index-contact {
    display: none;
  }
  .header-content .main-header-content .col-menu {
    padding: 0;
  }
  .header-content .devis-link {
    display: none;
  }
  .top-bar {
    padding: 20px 0;
    position: relative;
  }
  .header-content .nav ul li.sous_menu > a::after {
    content: url(../assets/gifs/after-nav.svg);
  }

  .header-content .nav ul li a.selected,
  .header-content .nav ul li a:hover,
  .header-content .nav ul li:hover > a {
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-color: var(--link-color);
  }
  .header-content .nav#main-nav .dropdown li a {
    font-size: 12px;
  }
  .header-content .nav ul li.sous_menu > a::after {
    text-decoration: none;
  }
}

@media screen and (min-width: 993px) and (max-width: 1230px) {
  .header-content .nav#main-nav > ul > li > a {
    font-size: 13px;
  }
  .header-content .nav#main-nav > ul > li > a {
    padding: 1rem 0.5rem;
  }
}

@media screen and (max-width: 992px) {
  .header-content .nav > ul > .sous_menu.opened > a,
  .header-content .nav .dropdown > .sous_menu.opened > a {
    width: calc(100% - 12rem);
  }
  .header-content .nav > ul > .sous_menu.opened > a,
  .header-content .nav .dropdown > .sous_menu.opened > a {
    left: 22px;
  }
  .index-contact {
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
  .menu-mobile {
    height: 5.625rem;
    background-color: #fff;
  }
  .menu_opened .menu-mobile {
    height: 3.5rem;
    background-color: var(--primary-color-30);
  }
  .span-menu-burger {
    color: var(--primary-color);
    padding: 12px;
    background-color: var(--primary-color-90);
    border-radius: 100%;
  }
  .menu-mobile .menu-title {
    text-transform: capitalize;
    font-family: var(--secondary-font);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
  }
  .fold-tel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .header-content .nav > ul > .sous_menu.opened > a,
  .header-content .nav .dropdown > .sous_menu.opened > a {
    background-color: transparent;
  }
  .header-content #nav-container .nav#main-nav ul li a,
  .header-content #nav-container .nav#topbar-nav ul li a {
    font-size: 18px;
    font-weight: 700;
    padding: 1.5rem 5%;
  }
}

@media screen and (max-width: 600px) {
  .fold-tel {
    justify-content: center;
    margin-bottom: 12px;
  }
}

.row-btn,
.row-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ******************************************** bloc 01 ****************************************** */
@media screen and (min-width: 993px) {
  h1.h1-geoloc {
    line-height: 79px;
  }
  .index-page main .section {
    padding: 112px 0;
  }
  .title-1 {
    font-size: 63px;
    line-height: 77px;
    margin: 0;
  }
  #bloc-01 p,
  #bloc-01 h1 {
    margin: 0;
  }
  .bloc3-top img {
    margin-top: 190px;
  }
  .bloc-3-right img {
    margin-bottom: 55px;
  }
}

/* ******************************************** Prestation ****************************************** */
.title-2 {
  margin: 0 0 32px 0;
}
.prestations-card {
  border-bottom: 1px solid rgba(209, 209, 209, 1);
  padding: 24px 15px;
  border-radius: var(--border-radius);
  display: flex;
  gap: 15px;
  transition: var(--transition);
}
.prestations-card:hover {
  background: var(--gray950);
  color: #fff;
  padding: 24px 24px 24px 48px;
}
.prestations-card:hover svg path {
  stroke: #fff;
}
.prestations-card a {
  text-decoration: none;
}
.prestations-card-content {
  display: flex;
  align-items: center;
}
.prestations-card:hover .card-title a,
#encart-contact .title-2 {
  color: #fff;
}
.card-title a {
  color: var(--gray950);
  font-size: 30px;
  margin-bottom: 16px;
}

@media screen and (min-width: 993px) {
  .card-title a {
    font-size: 38px;
  }
  .prestations-card {
    padding: 24px;
    gap: 40px;
  }
}

/* ************************************************ENCART CONTACT **********************************************/
#encart-contact {
  padding: 80px 0;
}
.index-page #encart-contact {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../assets/gifs/bg-contact.jpg);
  background-size: cover;
}

.page-interne #encart-contact {
  position: relative;
  padding: 80px 50px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../assets/gifs/bg-contact.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* .page-interne #encart-contact::before {
  position: absolute;
  content: "";
  width: 100%; */
/* width: 500%; */
/* height: 100%; */
/* left: -200%; */
/* left: 0; */
/* top: 0; */
/* z-index: -1; */
/* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../assets/gifs/bg-contact.jpg);
  background-size: cover;
} */

#encart-contact .btn.primary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
#encart-contact .btn.accent {
  color: var(--gray950);
}
/* ******************************************** bloc 02****************************************** */

h2 {
  margin: 0 0 24px 0;
}
.index-page p em {
  background: var(--gray950);
  color: #fff;
  border-radius: var(--border-radius);
  padding: 24px;
  font-style: normal;
  display: block;
}
.index-page p {
  line-height: 29px;
}
@media screen and (min-width: 993px) {
  #bloc-02 p:last-of-type {
    margin-bottom: 0;
  }

  h2 {
    line-height: 65px;
  }
  .col-img img {
    margin-left: 40px;
    max-width: 608px;
  }
  .actualites-card-title {
    height: auto;
  }
}

/* ******************************************** BDD ****************************************** */
.row-btn.align-center {
  justify-content: center;
  margin-top: 65px;
}
#encart-catalogue .accent.btn {
  background: var(--gray950);
  color: #fff;
}
.card-image img, .card-image a {
    display: block;
    object-fit: cover;
    transition: 0.6s;
    margin: auto;
}
.card-image a::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    transition: 0.6s;
}

@media screen and (min-width: 993px) {
  .slick-catalogue {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 32px;
    grid-template-rows: 418px;
  }
  /*.slick-catalogue .col:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
  .slick-catalogue .col:nth-child(2){ grid-area: 3 / 1 / 5 / 2; }
  .slick-catalogue .col:nth-child(3) { grid-area: 1 / 2 / 2 / 3; }
  .slick-catalogue .col:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
  .slick-catalogue .col:nth-child(5) { grid-area: 1 / 3 / 3 / 4; }
  .slick-catalogue .col:nth-child(6) { grid-area: 3 / 3 / 5 / 4; }
  .slick-catalogue .col:nth-child(7) { grid-area: 3 / 2 / 5 / 3; }
  .catalogue-card, .catalogue-card-image {height: 100%;}*/
}

/********************* A vis *******************/
.encart-avis .avis-card.js-more .avis-card-text::after {
  display: none;
}
.slick-avis {
  margin-top: 80px;
}
.slick-next .slick-next-icon:before {
  content: "";
  background: url(../assets/gifs/next.png);
  width: 48px;
  height: 49px;
  display: block;
  opacity: 1;
}
.slick-prev .slick-prev-icon:before {
  content: "";
  background: url(../assets/gifs/prev.png);
  width: 48px;
  height: 49px;
  display: block;
  opacity: 1;
}
@media screen and (min-width: 993px) {
  .slick-avis .slick-next {
    right: -3rem;
    top: calc(100% + 80px);
  }
  .slick-avis .slick-prev {
    left: auto;
    right: 13px;
    top: calc(100% + 80px);
  }
  .slick-avis .slick-dots {
    bottom: -6rem;
  }
}
/********************/

@media screen and (min-width: 993px) {
  .bloc03 {
    position: sticky;
    top: 0;
  }
  .content-b06 {
    position: relative;
    max-width: 608px;
  }
  #bloc-06 .bg-notes {
    position: absolute;
    bottom: 0;
    background: rgba(25, 25, 25, 1);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 24px;
  }
}

/*****************************/
div#bloc-ptFort {
  padding: 60px 0;
}
.list-pt p {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 16px;
}
.col-img {
  position: relative;
}

@media screen and (min-width: 993px) {
  #bloc-07 .desktop-only img {
    position: absolute;
    width: 244px;
    height: 245px;
    top: 126px;
    right: -145px;
  }
  .main-ptfort > p {
    margin-top: 0;
  }
  .list-pt p:last-of-type {
    margin-bottom: 0;
  }
  #bloc-07 img {
    max-width: 592px;
  }
}
.sc-content .ac-doubleColonne .ac-colonne img {
  border-radius: var(--border-radius);
}
.contact-page .intro {
  margin-bottom: 0;
}
.page-interne .sc-content img {
  height: 100%;
  object-fit: cover;
}
.page-interne .sc-content .ac-stat.ac-doubleColonne img {
  height: auto;
  width: auto;
  margin: auto;
}
.page-interne .sc-content .ac-doubleColonne.bloc-h2 {
  align-items: center;
}
.page-interne .sc-content .clear_both {
  margin-bottom: 6.35rem;
}
.page-interne .sc-content .clear_both,
#container .sc-content #relance {
  margin-bottom: 6.35rem;
}

.sc-content .ac-doubleColonne .ac-colonne img {
  border-radius: var(--border-radius);
}
#bloc-Top img {
  border-radius: 0;
}
.actualites-card {
  margin-bottom: 24px;
}
.card-categorie {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* ****************************************PAGES INTERNES******************************** */

.contact-page .s-middle,
.devis-page .s-middle {
  flex-wrap: nowrap;
  height: 100%;
}

.contact-page .s-stretch,
.devis-page .s-stretch {
  flex-wrap: nowrap;
}

.contact-page h1,
.contact-hero .title-2,
.devis-page h1 {
  margin: 0;
  line-height: normal;
  color: var(--background-color);
}

.contact-hero p.intro {
  color: var(--background-color);
}

.page-interne .sc-content #relance {
  margin-top: 0;
}

.page-interne .ac-doubleColonne h2 {
  margin: 0 0 12px;
}

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

.page-interne .hero-bg,
.hero-interne {
  padding: 88px 0;
  position: relative;
}

.actualites-detail .hero-interne {
  padding: 88px 0 56px;
}
.hero-bg .title-1,
.hero-interne .title-1,
.contact-page .title-1 {
  color: #fff;
}
.contact-hero {
  background: url("../assets/gifs/slider/slide-01.jpg"),
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-size: cover;
}

.plan-site h1,
.hero-interne {
  margin-bottom: 2rem;
}

.page-interne .hero-bg::before,
.hero-interne::before {
  position: absolute;
  content: "";
  background: url("../assets/gifs/slider/slide-01.jpg"),
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-size: cover;
  width: 160%;
  left: -23%;
  max-width: 1920px;
  top: 0;
  height: 100%;
  z-index: -1;
}

.page-interne .ac-include .container {
  width: 100%;
}

.page-interne p.bg-notes {
  display: block;
  font-style: normal;
  padding: 14px;
  border: 1px solid var(--primary-color);
}

.page-interne .sc-content .ac-doubleColonne .clear_both {
  margin-bottom: 2.35rem;
}

.ac-1v1 .ac-colonne {
  padding: 20px;
  border: 2px solid var(--primary-color);
}
body[class*="listing"] main > .section,
.catalogue-detail main > .section,
.actualites-detail main > .section,
.politique-de-confidentialite main > .section,
.plan-site main > .section {
  padding-top: 0;
}
.cards .ac-colonne {
  border-radius: var(--border-radius);
  background: rgba(25, 25, 25, 1);
  color: #fff;
  padding: 24px;
  margin: 10px 0;
}

@media screen and (min-width: 601px) {
  .menu-footer.row {
    gap: 50px;
    grid-template-columns: 1fr 1fr;
    display: grid;
    min-width: 400px;
  }
}
@media screen and (min-width: 993px) {
  #encart-actualites .container {
    position: relative;
  }
  .encart-btn.actualites-encart-btn {
    position: absolute;
    top: 180px;
    right: 0;
  }
  .actualites-detail h1 {
    line-height: 63.2px;
    font-size: 40px;
  }
  .actualites-detail .hero-interne {
    margin-top: -2rem;
  }
  .page-interne h1 {
    font-size: 60px;
  }
  .page-interne h1 span {
    margin: 0;
    font-weight: 400;
    font-size: 35px;
    line-height: 43.2px;
    letter-spacing: 0px;
  }

  .page-interne .ac-include > .section,
  .page-interne .bloc-bg {
    padding: 100px 0;
  }
  .ac-doubleColonne p:last-of-type,
  .contact-page .intro {
    margin-bottom: 0;
  }
  .page-interne .sc-content img {
    height: 100%;
    object-fit: cover;
  }
  .page-interne .sc-content .ac-stat.ac-doubleColonne img {
    height: auto;
    width: auto;
    margin: auto;
  }
  .page-interne .sc-content .ac-doubleColonne.bloc-h2 {
    align-items: center;
  }
  .page-interne .sc-content .clear_both {
    margin-bottom: 6.35rem;
  }
  .page-interne .sc-content .clear_both,
  #container .sc-content #relance {
    margin-bottom: 6.35rem;
  }
}
.actualites-card-image {
  margin-bottom: 24px;
}
.actualites-card-title a {
  font-size: 24px;
  font-weight: 600;
  font-family: var(--secondary-font);
  text-decoration: none;
}
.menu-footer ul {
  list-style-type: none;
  padding-inline-start: 0px;
}
.menu-footer ul a {
  text-decoration: none;
  font-weight: 600;
  color: var(--gray950);
  font-size: 14px;
  line-height: 22px;
}
.menu-footer ul li {
  margin: 8px 0;
}
footer a:hover {
  opacity: 0.7;
}
.btn-rdv a.accent {
  background-color: var(--accent-color-50);
}
.btn-rdv a.accent:hover {
  background-color: var(--accent-color-70);
}
