:root {
    --primary-h: 40;
    /* hue */
    --primary-s: 7%;
    /* saturation */
    --primary-l: 83%;
    /* lightness */
    --accent-h: 205;
    /* hue */
    --accent-s: 68%;
    /* saturation */
    --accent-l: 32%;
    /* lightness */
    --text-h: 0;
    /* hue */
    --text-s: 0%;
    /* saturation */
    --text-l: 12%;
    /* lightness */
    --background-h: 0;
    /* hue */
    --background-s: 0%;
    /* saturation */
    --background-l: 100%;
    /* lightness */
    --primary-font: "alexandria", sans-serif;
    --secondary-font: "Neulis Sans ", sans-serif;
    --h1-font-size: 45px;
    --h2-font-size: 40px;
    --h3-font-size: 1.5rem;
    --headings-line-height: 1.333333;
    --link-color: var(--primary-700);
    --border-radius: .125rem;
    --button-border-radius: .125rem;
    --transition: 0.3s all ease-in-out;
    --primary-300: hsla(49, 8%, 72%, 1);
    --primary-500: hsla(39, 7%, 53%, 1);
    --primary-700: hsla(30, 7%, 40%, 1);
}

h1,
h2,
h3,
h4,
h5,
h6,
[class*="title"] {
    font-family: var(--secondary-font);
}

.relative {
    position: relative;
}

.card {
    position: relative;
    display: block;
}

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

.card-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card:hover img {
    transform: scale(1.15);
    transition: var(--transition);
}

.nowrap {
    flex-wrap: nowrap;
}

.erreur .erreur,
.divGenerateurErreur .erreur {
    font-size: 14px;
}

.row-gap-24 {
    row-gap: 24px;
}

.mt-32 {
    margin-top: 32px;
}

p {
    line-height: 26px;
}

@media screen and (min-width: 993px) {
    .fold .view-contact {
        display: none;
    }
    .index-page .section {
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
    }
}

@media screen and (max-width: 992px) {
    .fold .view-contact {
        padding-block: 8px;
    }
}

a.lien-maps {
    display: flex;
    flex-direction: column;
}


/*           HEADER                 */


/* =============================== */

.header-contact a.tel {
    font-size: 16px;
    font-weight: 600;
    color: rgba(30, 30, 30, 1);
}

.header-contact-1 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 15px;
}

.header-contact-1 a {
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    .fold-tel {
        justify-content: center;
        margin-bottom: 12px;
    }
    .index-contact .tel {
        text-align: center;
        display: block;
        margin: auto;
    }
    .fold .btn-rdv,
    .fold .btn-contact,
    .fold .btn-devis {
        margin-top: 10px;
    }
}

@media screen and (max-width: 992px) {
    .header-content .nav#main-nav li:not(.opened) a {
        color: black;
    }
    header a.tel {
        font-size: 20px;
    }
    .menu-mobile .btn-menu {
        color: #000000;
    }
    .header-content nav a {
        font-weight: var(--font-weight-bolder);
        font-size: var(--textlg);
    }
    .fold {
        margin-block: 20px;
    }
    .header-content .nav>ul>.sous_menu.opened>a,
    .header-content .nav .dropdown>.sous_menu.opened>a {
        color: var(--accent-color);
        font-size: var(--textmd);
    }
    .index-contact {
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    .sticky-active .menu-mobile {
        box-shadow: 0px 4px 4px 0px hsla(0, 0%, 0%, 0.15);
    }
    .span-menu-burger {
        background: var(--accent-color);
        color: var(--background-color);
        padding: 12px;
    }
    .header-content .nav>ul>.sous_menu.opened>a,
    .header-content .nav .dropdown>.sous_menu.opened>a {
        width: calc(100% - 12rem);
        left: 22px;
    }
    .sous_menu.selected.opened a {
        background-color: transparent !important;
    }
    .fold-tel {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .fold-tel .tel {
        font-size: 20px;
        font-weight: 400;
        line-height: 31px;
        color: var(--text-color);
    }
}

@media screen and (min-width: 993px) {
    .header-content .nav ul li.sous_menu>a::after {
        text-decoration: none;
    }
    .header-content .nav#main-nav>ul {
        gap: 24px;
    }
    .header-content .nav ul li a.selected,
    .header-content .nav ul li:hover>a,
    .header-content .nav ul.dropdown li a.selected,
    .header-content .nav ul.dropdown li:hover>a,
    footer ul.dropdown li a.selected,
    footer ul.dropdown li:hover>a,
    .header-content .nav ul li.sous_menu ul.ssdropdown li a.selected {
        color: black;
    }
    .header-content .nav#topbar-nav>ul>li>a,
    .header-content .nav#main-nav>ul>li>a,
    .nav-footer a {
        font-size: 15px;
        padding: 8px 0;
        font-weight: 400;
        line-height: 24px;
        position: relative;
    }
    .header-content .nav>ul>li>a:before,
    .nav-footer a:before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0px;
        translate: -50% 50%;
        height: 2px;
        width: 0%;
        background: var(--primary-color);
        transition: var(--transition) ease-in-out;
    }
    .nav-footer ul.dropdown a:before {
        display: none;
    }
    .header-content .nav>ul>li>a:hover:before,
    .header-content .nav>ul>li>a.selected:before,
    .nav-footer a:hover:before,
    .nav-footer a.selected:before {
        width: 80%;
    }
    .main-header-content nav a {
        font-size: var(--textmd);
        line-height: 11px;
        font-weight: 500;
    }
    .main-header-content nav ul.dropdown a,
    footer ul.dropdown a {
        font-size: var(--textsm);
    }
    .main-header-content {
        padding: 10px 0;
    }
    li.firstLi.no-menu-desk {
        display: none;
    }
    .header-contact-1 {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}


/* BRAND */

.brand {
    padding: 12px 0;
}

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

.brand a:hover {
    opacity: .75;
}

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

@media (min-width: 993px) and (max-width: 1425px) {
    .row.s-center.m-middle.m-between.nowrap.col-menu {
        display: flex;
        flex-direction: column;
    }
    .header-content .nav#topbar-nav>ul>li>a,
    .header-content .nav#main-nav>ul>li>a {
        font-size: 12px;
    }
}

@media(min-width: 993px) and (max-width: 1025px) {
    .header-content .nav#topbar-nav>ul>li>a,
    .header-content .nav#main-nav>ul>li>a {
        font-size: 10px;
    }
}


/* ******************************************** BOUTON ****************************************** */

.btn-rdv .btn {
    display: inline-block;
    overflow: hidden;
    position: relative;
    height: 40px;
    width: 207px;
    text-align: center;
    text-decoration: none;
    padding: 14px 24px;
    box-sizing: border-box;
}

.btn-rdv.btn .content img {
    margin: 0;
}

.btn-rdv .btn .content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: transform 0.4s ease;
}

.btn-rdv .btn .content:last-child {
    transform: translateX(-100%);
}

.btn-rdv .btn:hover .content:first-child {
    transform: translateX(100%);
}

.btn-rdv .btn:hover .content:last-child {
    transform: translateX(0);
}

.btn.outlined {
    border: 2px solid;
    color: var(--accent-color);
    border-color: hsla(34, 7%, 48%, 1);
    font-weight: 500;
}

.btn.outlined:hover,
.btn.outlined:focus {
    background: var(--primary-700);
    border-color: hsla(34, 7%, 48%, 1);
    color: white;
}

@media screen and (max-width: 600px) {
    .btn-rdv {
        margin-block: 20px;
    }
    .btn-contact .btn,
    .btn-rdv .btn {
        width: 90vw;
    }
}


/* ********************************************bloc top****************************************** */

.contenu-bloc-top {
    margin-bottom: 36px;
    background-color: rgba(246, 246, 246, 1);
    padding: 20px;
    margin-right: 116px;
}

.bloc-top {
    position: relative;
    padding: 60px 0 117px 0;
    align-items: center;
}

@media screen and (min-width: 993px) {
    #bloc-top {
        padding-block: 145px;
    }
    div#bloc-top .btn-rdv {
        margin-bottom: 35px;
    }
    div#bloc-top .title-3 {
        font-size: 19px;
    }
    .col-img {
        position: relative;
    }
    #bloc-top img {
        position: absolute;
        height: calc(100% + 200px);
        width: 141%;
        width: 972px;
        left: 12px;
        max-width: none;
        top: -145px;
    }
}


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

.h1-geoloc {
    margin: 0;
}

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

h1.h1-geoloc span,
.title-1.h1-geoloc span {
    font-size: 40px;
}

div#bloc-02 p em {
    font-style: normal;
    margin-block: 48px;
    display: block;
    width: 648px;
    padding: 20px;
    background-color: hsla(0, 0%, 96%, 1);
}


/* ******************************************* ENCART PRESTATION ******************************************** */

.slick-prestations {
    position: relative;
    margin-top: 4rem;
}

#encart-prestations .title-2 {
    margin-top: 24px;
    margin-bottom: 20px;
}

.prestations-card img {
    height: 391px;
}

.prestations-card-title {
    width: auto;
    margin: 0 auto;
}

.prestations-card-title a {
    font-size: 20px;
    line-height: 49px;
    text-decoration: none;
    color: black;
}

@media screen and (min-width: 993px) {
    #encart-prestations p {
        margin-block: 12px 0;
    }
    .prestations-card-content {
        display: flex;
        flex-direction: column;
    }
}

.icon-prestation {
    position: absolute;
    bottom: 4%;
    left: 89%;
    opacity: 0;
}

.prestations-card:hover .icon-prestation,
.actualites-card:hover .icon-actualite {
    opacity: 1;
}


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

.encart-avis {
    background-color: rgba(246, 246, 246, 1);
}

.section-avis {
    padding: 80px 0;
}

.slick-avis {
    margin-top: 64px;
}

.avis-card .avis-card-text {
    margin-left: 80px;
    margin-top: 0.5rem;
}

.avis-encart-card .row {
    flex-wrap: nowrap;
}

.avis-encart-card-date {
    font-size: 11px;
    line-height: 13.2px;
}

.avis-encart-card {
    padding: 1rem;
}

.avis-name {
    line-height: 24px;
    margin-top: 0.5rem;
}

.encart-avis .card .show-more {
    display: none;
}

.encart-avis .avis-card.js-more .avis-card-text::after {
    display: none;
}

@media screen and (min-width: 993px) {
    .section-avis {
        padding: 80px 0;
    }
    .slick-avis {
        margin-bottom: 0;
    }
}


/* ******************************************* ENCART POINT FORTS ******************************************** */

#point_fort {
    padding-block: 80px;
    background-color: hsla(0, 0%, 91%, 1);
}

#point_fort .title-3 {
    font-weight: 450;
    font-size: 21px;
}

@media screen and (min-width: 993px) {
    .point-content,
    .cabinet-01:not(:first-child) {
        position: relative;
        padding-inline: 48px;
    }
    #point_fort .row>div:not(:first-child) .point-content::before,
    .contenu-01>.cabinet-01:not(:first-child)::before {
        content: "";
        position: absolute;
        top: 20%;
        bottom: 20%;
        left: 0;
        width: 1px;
        background-color: hsl(0, 0%, 60%);
    }
}

@media screen and (max-width: 600px) {
    .contenu-01 {
        display: block !important;
        padding-bottom: 10px;
    }
    .contenu-bloc-top {
        margin-right: 0px;
    }
    .title-1.h1-geoloc span {
        font-size: 17px;
    }
}

.slick-ponit-forts .slick-slide:last-child .point-content::after {
    display: none;
}


/* ******************************************** ENCART CONTACT ****************************************** */

.contact-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 16px;
}

#encart-contact .title-2 {
    font-size: 35px;
}

#encart-contact .btn-contact {
    margin-top: 24px;
}

#encart-contact .reseaux-sociaux {
    width: max-content;
    margin: 0;
}

#encart-contact .lien-maps span {
    display: block;
}

.contact-card {
    margin-bottom: 30px;
}

#encart-contact {
    background: linear-gradient(180deg, rgba(89, 89, 89, 0.6), rgba(89, 89, 89, 1)), url('../assets/gifs/slider/slider-01.png');
    background-size: cover;
}

.row-btn,
.contenu-01 {
    display: flex;
    align-items: center;
    gap: 30px;
}


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

.slick-actualites {
    margin-top: 3.75rem;
    margin-bottom: 60px;
}

.actualites-card-title a {
    text-decoration: none;
    font-weight: 600;
    color: black;
    font-size: 20px;
}

.icon-actualite {
    margin-left: 310px;
    opacity: 0;
}

.actualites-card-title,
.link-actu,
.actualites-card-text {
    text-align: left;
}

.actualites-card {
    background-color: white;
    padding: 1.5rem;
}

.actualites-card-text {
    margin: .5rem 0;
}

.link-actu {
    color: var(--title-color);
}

.map-container,
.googlemapssearch {
    width: 100%;
    height: 642px;
    position: relative;
}

.googlemapssearch iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-page .map-container,
.contact-page .map-container iframe {
    margin-block: 50px;
    width: 779px !important;
    height: 350px !important;
}

.actualites-card:hover .actualites-card-image a::after {
    opacity: 1;
}

.actualites-card-content {
    margin-top: 1.25rem;
}

.actualites-encart-btn a.btn.outlined {
    background: #fff;
    border: 1px solid black;
    color: var(--title-color);
}

.actualites-encart-btn a.btn.outlined:hover {
    background-color: var(--accent-color);
    color: white;
}

@media screen and (max-width:992px) {
    #encart-actualites .encart-btn {
        margin-top: 1.25rem;
    }
}


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

div#listing-autres-actus-categorie ul {
    text-align: center;
    padding-inline-start: 0;
}

@media screen and (min-width: 993px) {
    .recherche_actu #recherche_actu_submit {
        width: 2rem !important;
    }
}

div#listing-autres-actus-categorie span.title-4 {
    margin: 20px auto;
    display: block;
    text-align: center;
}

.actualites-detail .detail-actu-image {
    max-width: 50%;
}

div#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;
}

.listing-autres-actus-categorie.col.s12.l3.offset-l1.accent.radius.align-center {
    background-color: #eaeaea;
}

@media screen and (min-width: 601px) {
    .recherche_actu #recherche_actu_submit {
        margin-left: .5rem;
        width: 3rem;
        padding: 7px;
    }
}

section.ac-doubleColonne.bg-hero.white-text h1 {
    text-align: center;
}


/* ================================== footer ================================== */

footer {
    background-color: rgba(61, 61, 61, 1);
}

footer .section,
.index-page footer .section {
    padding-block: 39px;
}

.footer-contact p {
    margin: 0 0 12px;
    font-weight: 600;
}

footer .reseaux-sociaux a svg {
    fill: white;
}

footer address {
    margin: 0;
}

.footer-2 {
    font-weight: 600;
}

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

#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: 1px solid var(--primary-color);
}

#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: "\e5c5";
    position: static;
    display: inline-block;
    margin: -0.125em 0 0 0.25em;
    text-decoration: none;
}

#footer-nav nav a {
    font-weight: 400;
    line-height: 24px;
}

footer nav a:hover {
    color: var(--accent-color);
}

#footer-nav .nav ul li a.selected,
#footer-nav .nav ul li:hover>a {
    text-decoration: underline;
}

#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(--accent-color)
}

footer .reseaux-sociaux svg {
    fill: hsla(0, 0%, 0%, 1);
    ;
}

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

.footer-contact p svg {
    margin-right: 10px;
}

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

.btn.primary:hover {
    background-color: black;
}

@media screen and (min-width: 993px) {
    #footer-nav .nav>ul {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    footer #footer-nav .nav ul li.sous_menu ul.dropdown {
        bottom: 100%;
    }
}

@media screen and (max-width: 992px) {
    footer .brand,
    footer p {
        text-align: center;
    }
    .footer-contact {
        display: flex;
        flex-direction: column;
        row-gap: 0;
        text-align: center;
        margin-bottom: 30px;
    }
    #footer-nav .nav>ul {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 1.5rem 0;
        flex-direction: column;
    }
    footer #footer-nav .nav ul li.sous_menu ul.dropdown {
        display: none;
    }
    #footer-nav .nav ul li.sous_menu>a::after {
        display: none;
    }
    footer .reseaux-sociaux ul {
        display: flex;
        justify-content: center;
    }
}


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

.bg-hero::before,
.hero-interne::before,
.hero-interne::after,
.bg-hero::after {
    position: absolute;
    content: "";
    background: url('../assets/gifs/cabinet.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    height: 100%;
    z-index: -1;
    background-position: center;
    margin: 0 auto;
}

.page-interne h2 {
    font-size: 35px;
}

.page-interne .bg-hero::after,
.hero-interne::after {
    background: linear-gradient(180deg, hsla(191, 21%, 15%, 0.6), hsla(191, 21%, 15%, 0.6));
}

.sc-content .ac-doubleColonne.bg-hero,
.hero-interne {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 421px;
    margin-bottom: 48px;
    margin-top: -1.4rem;
}

nav#fil_ariane,
#fil_ariane {
    margin-bottom: 48px;
}

.contact-page .hero-interne {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 447px;
    margin-bottom: 48px;
    margin-top: 0;
}

.hero-interne h1,
.bg-hero .title-1,
.hero-interne .title-1 {
    text-align: left;
    color: white;
}

.page-interne #encart-contact,
.page-interne #encart-formulaire {
    width: 100vw;
    left: 50%;
    transform: translate(-50%);
    top: 0;
    height: 100%;
    position: relative;
}

.page-interne .ac-stat .ac-colonne {
    border: 1px dotted var(--primary-color);
    padding: 15px;
    background: var(--background-color);
}

.block-txt .ac-colonne {
    border: 1px solid hsla(219, 32%, 60%, 1);
    padding: 20px;
    border-radius: var(--border-radius);
}

@media screen and (max-width: 992px) {
    .contact-page .hero-interne {
        margin-top: 0;
    }
    .block-txt .ac-colonne {
        border: 1px solid hsla(219, 32%, 60%, 1);
        padding: 20px;
        margin-bottom: 48px;
    }
    .page-interne .ac-stat .ac-colonne {
        margin-bottom: 32px;
    }
}

body.contact-page .section-hero .row {
    flex-wrap: nowrap;
}