/*
Theme Name: Fidal Notaires
Theme URI: https://fidal.com
Author: CCD Agency
Author URI: https://ccdagency.com
Description: Thème pour le site Fidal Notaires
Version: 1.0
*/


@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

@import url("https://p.typekit.net/p.css?s=1&k=qmq7aiz&ht=tk&f=39504.39506&a=86652193&app=typekit&e=css");

@font-face {
font-family:"neue-haas-grotesk-text";
src:url("https://use.typekit.net/af/0230dd/00000000000000007735bb33/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/0230dd/00000000000000007735bb33/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/0230dd/00000000000000007735bb33/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
font-family:"neue-haas-grotesk-text";
src:url("https://use.typekit.net/af/160664/00000000000000007735bb32/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3") format("woff2"),url("https://use.typekit.net/af/160664/00000000000000007735bb32/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3") format("woff"),url("https://use.typekit.net/af/160664/00000000000000007735bb32/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n5&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:500;font-stretch:normal;
}

:root{
    --primary-background-color: rgba(16,34,56,1);
    --secondary-background-color: rgba(255,255,255,1);
    --primary-color: rgba(16,34,56,1);
    --secondary-color: rgba(255,255,255,1);
    --highlight-color: rgba(227, 204, 122, 1);
    --light-color: rgba(207, 221, 234, 1);
    --serif-font-family: "Source Serif 4", serif;
    --sans-serif-font-family: "neue-haas-grotesk-text",sans-serif;
    --border-radius: 4px;
    --border-color: rgba(75, 96, 119, 1);
    --white-blue: #F4F8FC;
    --blue-3: #657D96;
    --blue-6: #CFDDEA;
}

*, ::after, ::before{
    margin: 0;
    padding: 0;
}

html{
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-feature-settings: normal;
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
    background-color: var(--primary-background-color);
    color: var(--primary-color);
    font-family: var(--sans-serif-font-family);
    font-size: 16px;
    font-weight: 400;
}

strong{
    font-weight: 400;
}

.fst-italic{
    font-family: var(--serif-font-family);
}

.clip{
    overflow-x: clip;
}

/* .dropdown:hover .dropdown-menu {
   display: block;
   margin-top: 0;
   position: absolute;
   top: 100%;
} */

.dropdown:hover{
    z-index: 30;
}

/* LIENS, BOUTONS, ELEMENTS */

a{
    text-decoration: none;
}

a:hover{
    color: var(--primary-color);
}

.chevron-btn{
    font-size: 30px;
    background-color: transparent;
    border: none;
    color: var(--secondary-color);
    transition: 400ms ease;
    position: relative;
}

.chevron-btn::after{
    position: absolute;
    width: 50px;
    height: 50px;
    content: "";
    background-color: rgb(101, 125, 150);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 600ms ease-out;
}

.chevron-btn:hover, .carousel-btn:hover .chevron-btn{
    color: var(--highlight-color);
}

.chevron-btn.prev-btn:hover, .carousel-btn:hover .chevron-btn.prev-btn{
    transform: translateX(-10px);
}

.chevron-btn.next-btn:hover, .carousel-btn:hover .chevron-btn.next-btn{
    transform: translateX(10px);
}

.chevron-btn:hover::after, .carousel-btn:hover .chevron-btn::after{
    opacity: 0.15;
}

.cta-line{
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    transition: transform 300ms ease;
    position: relative;
    z-index: 30;
}

.cta-line span{
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--primary-background-color);
    transition: all 400ms ease;
}

div:has(>.cta-line):hover .cta-line{
    transform: translateX(10px);
}

div:has(>.cta-line):hover .cta-line span{
    background-color: var(--highlight-color);
    transform: scaleX(1.1);
    transform-origin: left;
}

.more-btn{
    font-family: var(--sans-serif-font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--blue-3);
    transition: color 400ms ease ;
}

.more-btn:hover{
    color: var(--primary-color);
}

.more-btn .arrow svg{
    fill: var(--blue-3);
    max-width: 32px;
    transition: fill 400ms ease;
    transition: all 300ms ease-out;
}

.more-btn:hover .arrow svg{
    fill: var(--primary-color);
    max-width: 32px;
    transform: translateX(5px) scaleX(1.1);
}

.carousel-control-next-icon, .carousel-control-prev-icon{
    background: none;
}

.carousel-control-next, .carousel-control-prev {
    z-index: 1000;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 0;
    color: #fff;
    text-align: center;
    background: 0 0;
    border: 0;
    opacity: .5;
    transition: opacity .15s ease;
}

/* titre */

h1, h2, h3{
    letter-spacing: -1px;
}

h1{
    font-family: var(--serif-font-family);
    font-size: 92px;
    font-weight: 400;
}

h1 span{
    font-style: italic;
}

h2{
    font-size: 64px;
    font-weight: 500;
}

.header-about h2{
    font-weight: 400;
}

h2 span{
    font-family: var(--serif-font-family);
    font-style: italic;
    font-size: 74px;
    font-weight: 400;
}

.fw-bold{
    font-weight: 500 !important;
}

#expertises h3{
    font-weight: 400;
}

/* text */

p{
    line-height: 28px;
}

/* NAVBAR */

.sticky-top{
    z-index: 300;
}

#navbar-fidal{
    position: sticky;
    background-color: var(--primary-background-color);
}

.home #navbar-fidal{
    background-color: rgba(16, 34, 56, .6); 
    transition: background-color 1000ms ease;
}

#navbar-fidal.onScroll{
    background-color: var(--primary-background-color);
}

#navbar-fidal a{
    color: white;
}

#navbar-fidal .nav-link.active{
    color: var(--highlight-color);
    font-weight: 500;
    font-size: 17px;
}

#navbar-fidal .nav-link.active svg{
    fill: var(--highlight-color);
}

.search-form button{
    color: var(--secondary-color);
}

.search-form button svg {
    fill: var(--secondary-color);
    width: 16px;
    transition: 300ms ease;
}

.search-form button:hover svg{
    fill: var(--highlight-color);
}

.fidal-link{
    font-style: italic;
    font-family: var(--serif-font-family);
    transition: 300ms ease;
}

.fidal-link svg{
    width: 16px;
    fill: var(--secondary-color);
    transition: 300ms ease;
}

#navbar-fidal .nav-item:hover .fidal-link{
    color: var(--highlight-color);
}

#navbar-fidal .nav-item:hover .fidal-link svg{
    fill: var(--highlight-color);
}

#navbar-fidal .nav-principal .nav-item{
    display: flex;
    align-items: center;
    transform: translateX(-10px);
    transition: transform 400ms ease 200ms;
}

#navbar-fidal .nav-principal .nav-item:hover{
    transform: translateX(0);
}

#navbar-fidal .nav-principal .nav-item::before{
    content: url(assets/images/barre-nav.svg);
    transform: scaleX(0);
    opacity: 0;
    transition: all 400ms ease;
}

#navbar-fidal .nav-principal .nav-item:hover::before{
    content: url(assets/images/barre-nav.svg);
    transform: scaleX(1);
    opacity: 1;
}

#navbar-fidal .dropdown-toggle::after{
    border: none;
}

#navbar-fidal .dropdown-toggle svg{
    fill: var(--secondary-color);
    max-width: 13px;
}

#navbar-fidal .btn:hover{
    color: var(--highlight-color);
}

#navbar-fidal .dropdown-item{
    color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {

    box-shadow: 0 0 0 .25rem rgba(255, 255, 255, 0.5);
}

/* INDEX */

/* Header */

header{
    color: var(--secondary-color);
}

.fa-bounce {
    animation-name: fa-bounce;
    animation-delay: var(--fa-animation-delay, 0s);
    animation-direction: var(--fa-animation-direction, normal);
    animation-duration: var(--fa-animation-duration, 5s);
    animation-iteration-count: var(--fa-animation-iteration-count, infinite);
    animation-timing-function: linear;
}

@keyframes fa-bounce{
    0% {
        transform: scale(1) translateY(0);
    }
    15% {
        transform: scale(0.95, 1.05) translateY(12px);
    }
    20% {
        transform: scale(0.95, 1.05) translateY(12px);
    }
    50% {
        transform: scale(1) translateY(0);
    }

    75% {
        transform: scale(1) translateY(10px);
    }
    80% {
        transform: scale(1) translateY(10px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

.header-about{
    overflow:inherit;
}

/* titre parallalax */

.parallax-title{
    position: absolute;
    top: -40%;
    right: -24%;
    font-size: 300px;
    opacity: .05;
    font-family: var(--serif-font-family);
    font-style: italic;
    font-weight: 400;
    z-index: 0;
    transition: transform ease;
}

.parallax-title.expert{
    top: -10%;
    right: -30%;
}

.parallax-title.immo{
    top: -10%;
    right: -50%;
}

.parallax-title.actu{
    top: -10%;
    right: -10%;
}

.header-about_content{
    color: var(--light-color);
}

.subtitle{
    font-size: 18px;
    font-weight: 500;
}

.subtitle:not(.header-subtitle .subtitle){
    text-transform: uppercase;
}

.subtitle span{
    color: var(--highlight-color);
}

/* video */

video{
    object-fit: cover;
    min-width: 100%;
    max-height: 130%;
    z-index: -1;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wrapper{
    overflow-x: hidden;
    position: relative;
    width: 100vw;
}

.wrapper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(16, 34, 56, .6) 0%, rgba(16, 34, 56, 0.9) 40%, #102238 100%);
    z-index: 0;
    /* min-height: 250vh; */
}

.header-title{
    min-height: calc(100vh - 51px);
}

.header-title .col-1{
    height: 100%;
}

.header-title .img{
    object-fit: cover;
}

/* mot des notaires */

.header-carousel{
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
    padding-bottom: 3rem;
}

.header-carousel_picture{
    width: 370px;
    overflow: hidden;
    border-radius: var(--border-radius);
    transform: translateY(42px);
    z-index: 3000;
    background-color: var(--blue-3);
    aspect-ratio: 16 / 9;
}

.header-carousel_picture img{
    /* width: 100%; */
    height: 100%;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    object-fit: cover;
}

.header-carousel_content{
    background-color: rgba(25, 53, 85, 1);
    box-shadow: -139px 0 rgba(25, 53, 85, 1);
    max-width: 71%;
    min-height: 451px;
    border-radius: var(--border-radius);
    padding: 50px 70px 50px 50px;
    color: var(--secondary-color);
    font-size: 18px;
}

.header-carousel_content blockquote, .header-about_content .signature{
    letter-spacing: 0.5px;
}

.header-carousel_content p{
    font-size: 18px;
}

.fst-italic{
    font-size: 22px;
}

.subtitle-slash{
    height: 43px;
}

.chevron-down{
    bottom: 30%;
    color: white;
    font-size: 38px;
}

/* MAIN */

main{
    background-color: white;
}

section .slash{
    max-height: 64px;
}

/* EXPERTISES */

#expertises{
    position: relative;
    z-index: 10;
    background-color: var(--secondary-background-color);
}

#expertises .chevron-btn{
    color: var(--primary-color);
}

#expertises .chevron-btn:hover .chevron-btn.prev-btn, #expertises .chevron-btn:hover .chevron-btn.next-btn{
    color: var(--highlight-color);
}

#expertises .chevron-btn:has(.prev-btn):hover{
    transform: translateX(-10px);
}

#expertises .chevron-btn:has(.next-btn):hover{
    transform: translateX(10px);
}

.marquee{
    max-width: 100%;
    mask: linear-gradient(90deg, transparent, white 10%);
}

.marquee-inner{
    width: max-content;
    gap: 48px;
    transform: translateX(167px);
}

.cards-slider{
    display: flex;
    flex-wrap: nowrap;
}

.expert-card{
    display: block;
    max-width: 286px;
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    font-family: var(--serif-font-family);
    font-size: 26px;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: 0px 0px 10px 0px rgba(101,125,150,0.3);
}

.card-picture{
    height: 286px;
    width: 286px;
    transition: height 600ms ease-in-out;
}

.card-picture img{
    object-fit: cover;
    height: 286px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: height 800ms ease-in-out;
}

.card-content{
    position: relative;
    height: 170px;
    background-color: rgba(108, 213, 220, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: height 600ms ease-in-out;
    z-index: 100;
}

.card:hover .card-picture{
    height: 228px;
}

.card:hover .card-picture img{
    height: 300px;
}

.card:hover .card-content{
    height: 228px;
    color: initial;
}

.expert-card .more-btn{
    transform: scaleY(0);
    transition: transform 800ms ease, opacity 1000ms ease 100ms;
    opacity: 0;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.expert-card:hover .more-btn{
    transform: scaleY(1);
    opacity: 1;
    color: var(--primary-color);
}

.expert-card .expertise-27 .more-btn, .expert-card .expertise-35 .more-btn{
    color: var(--secondary-color);
}

.expert-card:hover .expertise-27 .more-btn, .expert-card:hover .expertise-35 .more-btn{

    color: var(--secondary-color);
}

.expert-card .more-btn svg{
    fill: var(--primary-color);
    transition: all 300ms ease-out 400ms;
}

.expert-card .expertise-27 .more-btn svg, .expert-card .expertise-35 .more-btn svg{
    fill: var(--secondary-color);
}

.expert-card:hover .more-btn svg{
    fill: var(--primary-color);
    transform: translateX(5px) scaleX(1.1);
}

.expert-card:hover .expertise-27 .more-btn svg, .expert-card:hover .expertise-35 .more-btn svg{
    fill: var(--secondary-color);
}

.card-content.expertise-17{
    background-color: var(--highlight-color);
}

.card-content.expertise-22, .card-content.expertise-815{
    background-color: #FF982D;
}

.card-content.expertise-44{
    background-color: #FFE76E;
}

.card-content.expertise-39{
    background-color: #6DD5DC;
}

.card-content.expertise-35, .expert-card:hover .card-content.expertise-35{
    background-color: #33838B;
    color: var(--secondary-color);
}

.card-content.expertise-27, .expert-card:hover .card-content.expertise-27{
    background-color: var(--blue-3);
    color: var(--secondary-color);
}

.card-content.expertise-31{
    background-color: #82AA98;
}

/* .white-link{
    color: var(--secondary-color);
} */

.expert-card:hover .card-content{
    color: var(--primary-color);
}

/* .expert-card:hover .card-content.white-link{
    color: var(--secondary-color);
} */

/* ETUDES */

#map{
    background-color: var(--primary-background-color);
    position: relative;
    color: var(--secondary-color);
    z-index: 100;
}

.map-card{
    font-size: 22px;
    font-family: var(--serif-font-family);
    font-style: italic;
    border: 1px var(--border-color) solid;
    border-radius: var(--border-radius);
    padding: 15px 20px;
    transition: 600ms ease-out;
    position: relative;
    color: var(--secondary-color);
}

.map-card:hover{
    cursor: pointer;
}

.map-card span{
    font-style: normal;
    display: flex;
    gap: .5rem;
    transition: transform 400ms ease-out;
}

.map-card_img{
    transition: transform 400ms ease-out;
}

.map-card img{
    max-height: 20px;
}

.map{
    position: absolute;
    max-width: 60%;
    bottom: 3rem;
    right: 3rem;
    max-height: calc(90vh - 51px);
}

.map-card_content{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

g{
    outline: none;
}

.cls-1 {
    fill: #193555;
    fill-rule: evenodd;
    isolation: isolate;
    opacity: .6;
}

.cls-2 {
    fill: #657d96;
    transition: 300ms ease-out;
}

.cls-2.soon {
    fill: #657d9650;
}

.cls-2:hover{
    fill: #E3CC7A;
    cursor: pointer;
}

.map-part:has(.paris:hover) .paris{
    background-color: var(--highlight-color);
    fill: var(--highlight-color);
}

.map-part:has(.lille:hover) .lille{
    background-color: var(--highlight-color);
    fill: var(--highlight-color);
}

.map-part:has(.caen:hover) .caen{
    background-color: var(--highlight-color);
    fill: var(--highlight-color);
}

.map-part:has(.lyon:hover) .lyon{
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    transition: all 400ms ease-out;
    fill: var(--highlight-color);
}

.map-part:has(.marseille:hover) .marseille{
    background-color: var(--highlight-color);
    fill: var(--highlight-color);
}

.map-part:has(.nantes:hover) .nantes{
    background-color: var(--highlight-color);
    fill: var(--highlight-color);
}

.map-part:has(.rennes:hover) .rennes{
    background-color: var(--highlight-color);
    fill: var(--highlight-color);
}

.map-part:has(.reims:hover) .reims{
    background-color: var(--highlight-color);
    fill: var(--highlight-color);
}

.map-part .map-card .map-card_arrow{
    transform: translateX(-100px);
    transition: 400ms ease;
    opacity: 0;
}

.map-card.soon{
    color: rgba(255,255,255, 0.5);
    background-color: #657d9650;
    border-color: rgba(75, 96, 119, 0.5);
}

.map-card.soon:hover{
    cursor:default;
}

.map-part .map-card.soon::after{
    display: none;
}

.map-part .map-card.soon .map-card_content span::before{
    content: 'bientôt à';
    opacity: 1;
    transition: opacity 400ms ease-out 400ms;
}

.map-part:has(.lyon:hover) .lyon .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .lyon .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.lyon:hover) .lyon .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

.map-part:has(.marseille:hover) .marseille .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .marseille .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.marseille:hover) .marseille .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

.map-part:has(.nantes:hover) .nantes .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .nantes .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.nantes:hover) .nantes .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

.map-part:has(.rennes:hover) .rennes .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .rennes .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.rennes:hover) .rennes .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

.map-part:has(.reims:hover) .reims .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .reims .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.reims:hover) .reims .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

.map-part:has(.paris:hover) .paris .map-card_arrow{
    transform: translateX(0) ;
    opacity: 1;
}

.map-part:has(.paris:hover) .paris .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .paris .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.paris:hover) .paris .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

.map-part:has(.lille:hover) .lille .map-card_arrow{
    transform: translateX(0);
    opacity: 1;
}
.map-part:has(.lille:hover) .lille .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .lille .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.lille:hover) .lille .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

.map-part:has(.caen:hover) .caen .map-card_arrow{
    transform: translateX(0);
    opacity: 1;
}

.map-part:has(.caen:hover) .caen .map-card_img{
    transform: scale(0);
    transform-origin: left;
}

.map-part .caen .map-card_content{
    transition: all 400ms ease-out;
}

.map-part:has(.caen:hover) .caen .map-card_content{
    transform: translateX(-20px);
    color: var(--primary-color);
}

/* NOTAIRES */

.slash-bg{
    background: url(assets/images/slash-back.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: var(--primary-background-color);
}

.notaires-part {
    color: var(--secondary-color);
}

/* flip effect */

.scene{
    height: 532px;
    max-width: 377px;
    perspective: 3000px;
}

.flip{
    transform-style: preserve-3d;
    width: 377px;
}

.flip,
.flip > div{
    width: 100%;
    height: inherit;
    transition: transform 1s ease-in-out;
    border-radius: var(--border-radius);
}

.flip > div{
    position: absolute;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    overflow: hidden;
}

.flip > div img:not(.flip-front_content img){
    object-fit: cover;
    height: 95%;
}

.avant{
    background-color: #657D96;
    display: flex;
    flex-direction: column;
    justify-content: end;
    cursor: pointer;
}

.avant::before{
    background: linear-gradient(180deg, rgba(16,34,56,0) 50%, rgba(16,34,56,1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
}

.arriere{
    background-color: var(--primary-background-color);
    transform: rotateY(180deg);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,.3);
}

.arriere .white-part{
    background-color: var(--secondary-background-color);
    color: var(--primary-color);
    height: 30%;
    padding: 33px 28px;
}

.arriere .white-part .name{
    font-family: var(--serif-font-family);
    font-size: 22px;
    font-weight: 500;
}

.arriere .white-part img{
    height: 49px;
}

.arriere .blue-part{
    height: 70%;
    padding: 33px 28px;
}

.arriere .blue-part .fa-location-dot{
    font-size: 19px;
}

.arriere .blue-part address{
    height: 80%;
}

.arriere .blue-part .notaire-contact{
    height: 20%;
}

.arriere .blue-part a{
    color: var(--white-blue);
}

.arriere .blue-part i{
    margin-right: 20px;
}

.arriere .blue-part i{
    color: var(--blue-3);
}

.arriere .blue-part .linkedin a i{
    color: var(--highlight-color);
    font-size: 50px;
    transition: 300ms ease-out;
}

.arriere .blue-part .linkedin:hover a i{
    transform: scale(1.1);
}

.arriere .blue-part .cta-line span{
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-background-color);
    transition: all 400ms ease;
}

.scene:hover .flip{
    transform: rotateY(-180deg);
}

.flip-front_content{
    position: absolute;
    padding: 33px 28px;
    width: inherit;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    width: 100%;
}

.flip-front_content img{
    height: 50px;
}

.flip-front_content .name{
    font-family: var(--serif-font-family);
    font-size: 22px;
    font-weight: 500;
    text-transform: capitalize;
}

#carouselNotaires .carousel-item{
    transition: 1000ms ease-in;
}

#carouselNotaires .carousel-item.active{
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin: 0 auto;
}

#carouselNotaires .carousel-item .notaire-1, body.etude-page .notaire-1{
    opacity: 0;
}

#carouselNotaires .carousel-item .notaire-2{
    opacity: 0;
}

#carouselNotaires .carousel-item .notaire-3{
    opacity: 0;
}

#carouselNotaires .carousel-item.active .notaire-1, body.etude-page .notaire-1{
    animation: notairesOpacity 2000ms ease alternate 1 both;
}

#carouselNotaires .carousel-item.active .notaire-2{
    animation: notairesOpacity 4000ms ease 1000ms normal 1 both;
}

#carouselNotaires .carousel-item.active .notaire-3{
    animation: notairesOpacity 3000ms ease 500ms normal 1 both;
}

@keyframes notairesOpacity {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

#carouselNotaires .carousel-item-start, #carouselNotaires .carousel-item-end{
    display: none;
}

#carouselNotaires .carousel-inner{
    overflow: visible;
}

.carousel-control-next, .carousel-control-prev{
    position: relative;
    width: inherit;
}

/* ANNONCES */

#annonces{
    background-color: rgba(244, 248, 252, 1);
    z-index: 20;
}

#annonces .chevron-btn{
    color: var(--primary-color);
    transition: 400ms ease;
    z-index: 300;
}

#annonces .carousel-control-next, #annonces .carousel-control-prev {
    opacity: 1;
}

#annonces .carousel-control-next:hover .chevron-btn, #annonces .carousel-control-prev:hover .chevron-btn{
    color: var(--highlight-color);
}

#annonces .card{
    max-width: 377px;
    transition: transform 600ms ease;
    overflow: hidden;
    border: none;
    box-shadow: 0px 0px 11px 0px rgba(101,125,150,0.3);
    transition: 600ms ease ;
}

#annonces .carousel-item.carousel-item-start .card, #annonces .carousel-item.carousel-item-start .card{
    box-shadow: 0px 0px 0px 0px rgba(101,125,150,0);
}

#annonces .card .card-img-top{
    height: 305px;
    object-fit: cover;
    transition: transform 5000ms ease, filter 400ms ease;
}

.annonces-tag{
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 5px 10px;
    background-color: var(--secondary-background-color);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--border-radius);
    font-family: var(--sans-serif-font-family);
    z-index: 10000;
}

#annonces .card .card-title{
    font-size: 14px;
    font-family: var(--sans-serif-font-family);
    font-weight: 500;
}

#annonces .card .card-title span{
    color: var(--highlight-color);
}

#annonces .card-border{
    background-color: var(--highlight-color);
    height: 5px;
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 600ms ease, transform 600ms ease;
}

#annonces .card-body a.card-text{
    font-size: 25px;
    font-weight: 500;
    transition: color 300ms ease;
    color: var(--primary-color);
    font-family: var(--serif-font-family);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 75px;
}

#annonces .card:hover{
    transform: scale(1.05);
}

#annonces .card:hover a.more-btn{
    color: var(--primary-color);
}

#annonces .card:hover a.more-btn svg{
    fill: var(--primary-color);
}

#annonces .card:has(img:hover) a.more-btn svg, #annonces .card:has(.card-text:hover) a.more-btn svg{
    transform: translateX(5px) scaleX(1.1);
}

#annonces .card:hover .card-border{
    transform: scaleY(1);
    opacity: 1;
}

#annonces .card .annonces-details{
    min-height: 96px;
}

#annonces .card .annonces-details img{
    width: 18px;
}

.annonces-details div{
    font-size: 16px;
    color: var(--blue-3);
}

#annonces .price{
    font-size: 25px;
    font-weight: 500;
    font-family: var(--serif-font-family)
}

#annonces .more{
    font-family: var(--sans-serif-font-family);
    font-size: 16px;
    font-weight: 500;
}

#annonces .card:hover .card-img-top{
    transform: scale(1.05);
}

#annonces .card:hover + * .card-img-top,
#annonces .card:hover + * + * .card-img-top,
#annonces .card:hover + * + * + * .card-img-top,
#annonces .card:hover + * + * + * + * .card-img-top,
#annonces .card:hover + * + * + * + * + * .card-img-top,
#annonces .card:hover + * + * + * + * + * + * .card-img-top,
#annonces .card:hover + * + * + * + * + * + * + * .card-img-top,
#annonces .card:hover + * + * + * + * + * + * + * + * .card-img-top{
    filter: grayscale(100%);
}

#annonces .card:has(+ *:hover) .card-img-top,
#annonces .card:has(+ * + *:hover) .card-img-top,
#annonces .card:has(+ * + * + *:hover) .card-img-top,
#annonces .card:has(+ * + * + * + *:hover) .card-img-top,
#annonces .card:has(+ * + * + * + * + *:hover) .card-img-top,
#annonces .card:has(+ * + * + * + * + * + *:hover) .card-img-top,
#annonces .card:has(+ * + * + * + * + * + * + *:hover) .card-img-top,
#annonces .card:has(+ * + * + * + * + * + * + * + *:hover) .card-img-top
{
    filter: grayscale(100%);
}

.img-container{
    overflow: hidden;
}

#annonces .carousel-control-next, #annonces .carousel-control-prev{
    position: relative;
    width: inherit;
}

#annonces .card{
    animation: notairesOpacity 3000ms ease 1 300ms normal both;
}

#annonces .card.annonce-1{
    animation-delay: 300ms;
}

#annonces .card.annonce-2{
    animation-delay: 1100ms;
}

#annonces .card.annonce-3{
    animation-delay: 500ms;
}

#annonces .card.annonce-4{
    animation-delay: 900ms;
}

#annonces .card.annonce-5{
    animation-delay: 2100ms;
}

#annonces .card.annonce-6{
    animation-delay: 900ms;
}

#annonces .card.annonce-7{
    animation-delay: 1300ms;
}

#annonces .card.annonce-8{
    animation-delay: 1700ms;
}

#annonces .card.annonce-8{
    animation-delay: 1500ms;
}

/* NEWS */

#news{
    background-color: var(--secondary-background-color);
    z-index: 30;
}

.news-card{
    background-color: var(--secondary-background-color);
    border-radius: var(--border-radius);
    position: relative;
    z-index: 30;
    filter: drop-shadow(0 4px 10px #657D9625);
    overflow: hidden;
    max-width: 100%;
    /* max-height: 370px; */
    margin: 3rem auto;
    transition: border-top 400ms ease-in-out, transform 600ms ease-in-out, border-radius 800ms ease-in-out;
    transform: scale(0.97);
    border-top: 0px solid transparent;
}

#news .subtitle p{
    color: var(--primary-color);
    text-transform: capitalize;
    font-weight: 500;
}

.news-card a:has(h3){
    color: var(--primary-color);
    transition: 400ms ease;
}

.news-card:hover{
    transform: scale(1);
    border-top: 5px solid var(--highlight-color);
    border-radius: 10px 10px 4px 4px;
}

.news-card_img{
    max-width: 370px;
}

.news-card img:not(.more-btn img){
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    width: 110%;
    height: 100%;
}

.news-card_content{
    padding: 25px;
}

.news-card_content p{
    color: var(--blue-3);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.news-card_bottom{
    border-bottom: 1px solid var(--blue-3);
}

.news-card_bottom .date, .single .date, .card-body_bottom .date{
    font-family: var(--serif-font-family);
    color: var(--blue-3);
    font-size: 14px;
}

/* FOOTER */

footer{
    background-color: var(--primary-background-color);
    color: var(--secondary-color);
    z-index: 1000;
    position: relative;
}

footer .logo{
    height: 89px;
}

footer .slash{
    height: 100%;
    max-height: 71px;
    object-fit: contain;
}

footer .footer-nav{
    border-top: 1px rgba(75, 96, 119, 1) solid;
}

footer .footer-nav .nav-link{
    color: var(--blue-3);
    transition: 400ms ease;
}

footer .footer-nav .nav-link:hover{
    color: var(--secondary-color);
}

footer .question{
    font-size: 32px;
    font-family: var(--serif-font-family);
}

.footer-links a{
    color: var(--highlight-color);
    font-size: 18px;
    transition: 400ms ease;
}

.footer-links a:hover{
    color: var(--secondary-color);
}

.footer-links a.linkedin i{
    font-size: 28px;
}

footer .contact a{
    font-size: 30px;
    /*font-size: 50px;*/
    font-weight: 600;
    color: var(--secondary-color);
    transition: 400ms ease;
    /*background: rgb(227,204,122);*/
    background: linear-gradient(100deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%, rgba(227,204,122,1) 50%, rgba(227,204,122,1) 100%);
    background-size: 400%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 0;
}

footer .contact a:hover{
    animation: backgroundSlash 3000ms ease 1 normal both;
}

@keyframes backgroundSlash {
    to{
        background-position: -200%;
    }
}

footer .contact:hover a{
    color: var(--highlight-color);
}

footer .contact svg{
    fill: var(--secondary-color);
    width: 52px;
    transition: 400ms ease;
}

footer .contact:hover svg{
    fill: var(--highlight-color);
    transform: translateX(20px);
}

footer .copyright a{
    color: var(--blue-3);
    font-size: 14px;
    transition: 400ms ease;
}

footer .copyright a:hover{
    color: var(--secondary-color);

}

/* ETUDE PAGE */

/* notaires */

body.etude-page h2, .detail-page h2, body.expertise-page h2{
    font-family: var(--serif-font-family);
    font-weight: 400
}

body.etude-page .flip{
    box-shadow: 0px 0px 10px 0px rgba(101,125,150,0.3);
    color: var(--secondary-color);
}

body.etude-page .flip .arriere{
    box-shadow: none;
}

/* annonces */

.breadcrumb a{
    color: var(--secondary-color);
    transition: 400ms ease;
}

.breadcrumb a:hover{
    color: var(--highlight-color);
}

.breadcrumb-item.active, .breadcrumb-item+.breadcrumb-item::before{
    color: var(--blue-3);
}

.header-picture::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

.header-picture .groupe-image{
    position: relative;
    z-index: 10;
    max-height: 60vh;
    overflow: hidden;
}

.etude-page .header-picture .groupe-image{
    max-height: 80vh;
}

.header-picture .groupe-image img{
    width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.line{
    width: 100px;
    height: 5px;
    background-color: var(--highlight-color);
    padding-left: 0.75rem;
}

.about-text{
    margin-inline: 3rem;
}

.about-text p, .about-text li{
    font-size: 17px;
    line-height: 32px;
}

.about-text a:not(.cta-line){
    color: var(--primary-color);
    font-size: 16px;
}

.about-text a.cta-line{

    font-size: 18px;
}

.about-text .infos{
    font-size: 18px;
    font-family: var(--serif-font-family);
}

.infos a{
    font-family: var(--sans-serif-font-family);
}

.about-details{
    background-color: var(--white-blue);
}

.about-details svg{
    stroke: var(--blue-3);
    stroke-width: 2px;
    fill: none;
    height: 32px;
}

body.etude-page #annonces, .detail-page #annonces{
    background-color: var(--primary-background-color);
}

body.etude-page #annonces h2, .detail-page #annonces h2{
    color: var(--secondary-color);
}

body.etude-page #annonces h2 span{
    color: var(--highlight-color);
}

body.etude-page #annonces .cta-line, .detail-page #annonces .cta-line, .about-cta-link .cta-line{
    color: var(--secondary-color);
}

body.etude-page #annonces .cta-line span, .detail-page #annonces .cta-line span, .about-cta-link .cta-line span{
    background-color: var(--secondary-color);
}

body.etude-page #annonces div:has(>.cta-line):hover .cta-line, .detail-page #annonces div:has(>.cta-line):hover .cta-line{
    color: var(--highlight-color);
}

body.etude-page #annonces div:has(>.cta-line):hover .cta-line span, .detail-page #annonces div:has(>.cta-line):hover .cta-line span{
    background-color: var(--highlight-color);
}

body.etude-page #annonces .chevron-btn, .detail-page #annonces .chevron-btn{
    color: var(--secondary-color);
}

body.etude-page #annonces .chevron-btn, .detail-page #annonces .chevron-btn{
    color: var(--highlight-color);
}

.estimation-btn.more-btn{
    font-family: var(--sans-serif-font-family);
    font-size: 16px;
    font-weight: 500;

    
    transition: 400ms ease;
    background: linear-gradient(100deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(227, 204, 122, 1) 50%, rgba(227, 204, 122, 1) 100%);
    background-size: 400%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-position: 0;
}

.estimation-btn.more-btn:hover{
    color: var(--highlight-color);

    animation: backgroundSlash 3000ms ease 1 normal both;
}

.estimation-btn.more-btn .arrow svg{
    fill: var(--secondary-color);
    max-width: 32px;
    transition: fill 400ms ease;
    transition: all 300ms ease-out;
}

.estimation-btn.more-btn:hover .arrow svg{
    fill: var(--highlight-color);
    max-width: 32px;
    transform: translateX(5px) scaleX(1.1);
}

/* annonces page */

body.annonces-page .header-picture::before, body.archive .header-picture::before{
    background: linear-gradient(180deg, rgba(244, 248, 252, 0) 0%, rgba(244, 248, 252, 0) 50%, rgba(244, 248, 252, 1) 50%, rgba(244, 248, 252, 1) 100%);
}

.header-picture .groupe-filters{
    position: relative;
    z-index: 10;
    background-color: var(--secondary-background-color);
    box-shadow: 0px 4px 11px 0px rgba(101,125,150,0.5);
    color: var(--primary-color);
    padding: 22px;
}

body.annonces-page #annonces{
    background-color: var(--white-blue);
    z-index: 0;
}

.results{
    font-size: 18px;
    font-family: var(--serif-font-family);
    font-weight: 500;
    color: var(--blue-3);
}

.order-select, .order-select select{
    color: var(--blue-3);
}

.filter-tags span{
    background-color: #CFDDEA;
    border-radius: var(--border-radius);
    padding: 0.25rem 0.75rem;
    display: flex;
    gap: 3rem;
    font-size: 14px;
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--highlight-color);
}

.page-link {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    /*text-decoration: none;*/
    background-color: transparent;
    border: 3px solid transparent;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    border-radius: 50%;
    width: 44px;
    height: 44px;
}

.page-link:hover, .page-link:focus{
    color: var(--highlight-color);
}

.pagination-sm .page-item:first-child .page-link, .pagination-sm .page-item:last-child .page-link {
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.page-item.disabled .page-link {
    background-color: transparent;
    border: none;
}

.page-item.disabled .page-link .chevron-btn{
    color: var(--blue-6);
}

.page-item .page-link .chevron-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: var(--primary-color);
}

body.annonces-page .chevron-btn.next-btn:hover, body.annonces-page .chevron-btn.prev-btn:hover {
    transform: translateX(0);
    color: var(--highlight-color);
}

body.annonces-page .chevron-btn.next-btn:hover::after, body.annonces-page .chevron-btn.prev-btn:hover::after{
    opacity: 0;
}

.pagination-sm .page-link {
    padding: 1rem;
    font-size: 18px;
}

.estimation-icon{
    width: 20%;
    transform: rotate(20deg);
}

.estimation-content h3{
    font-family: var(--serif-font-family);
}

.estimation-card{
    background-color: var(--blue-3);
    color: var(--secondary-color);
    min-height: 585px;
}

.estimation-link:hover{
    cursor: pointer;
}

.estimation-link .more-btn{
    color: var(--secondary-color);
}

.estimation-link .more-btn .arrow svg{
    fill: var(--secondary-color);
}

.groupe-filters filter{
    width: 22%;
    height: max-content;
}

#annonces-page label{
    font-weight: 500;
}

.filter-btn{
    border: none;
    background-color: var(--primary-background-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 300ms ease-out;
}

.filter-btn svg{
    fill: var(--secondary-color);
}

.filter-btn:hover{
    color: var(--highlight-color);
}

.filter-btn:hover svg{
    fill: var(--highlight-color);
}

.annonces-input{
    background-color: var(--white-blue);
    padding: 0.5rem;
    border-radius: 3px;
    border: 1px solid var(--blue-3);
    width: 230px;
    max-height: 40px;
    cursor: pointer;
}

.annonces-input:has(.annonces-input:focus){
    border-color: #657d96;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(101, 125, 150, .25);
}

.annonces-input:has(option:disabled:checked){
    background-color: transparent;
}

.form-select{
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.annonces-input select{
    border: none;
    background-color: transparent;
    color: var(--blue-3);
    border-radius: 0;
    border-top: 1px solid var(--blue-3);
    border-bottom: 1px solid var(--blue-3);
}

label svg{
    fill: var(--primary-color);
    stroke: var(--primary-color);
}

.locator{
    fill: none;
    stroke-width: 2px;
}

.euro{
    stroke: none;
}

@media screen and (-webkit-min-device-pixel-ratio:0){
    select, select::picker(select){
        appearance: base-select;
    }

    select::picker(select) {
        border: 1px solid var(--blue-3);
        padding: .5rem 1rem;
        background-color: var(--blue-3);
        border-radius: 3px;
        color: white;
        box-shadow: 0px 0px 3px 0px var(--blue-3);
    }

    select button {
        display: flex;
        justify-content: space-between;
        gap: .5rem;
        align-items: center;
        width: 100%;
    }

    select button selectedcontent{
        font-size: 16px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
    }

    select:has(option:disabled:checked) button selectedcontent{
        color: var(--blue-3);
    }

    select:has(option:checked) button selectedcontent{
        color: var(--primary-color);
    }

    select::picker-icon{
        display:none;
    }

    option::checkmark{
        content: "/";
        color: var(--highlight-color);
    }

    .annonces-input select{
        border-top: 1px solid var(--blue-3);
        border-bottom: 1px solid var(--blue-3);
    }
}

@-moz-document url-prefix(){
    .annonces-input select, .page-id-309 select{
        border-top: none;
        border-bottom: none;
    }
}

.filter-submit, .filter-reset{
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-submit.disabled, .filter-reset.disabled{
    opacity: 0.3;
}

.filter-submit input, .filter-reset input{
    color: var(--primary-color);
    width: 50%;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 300ms ease-out;
    font-size: 16px;
}

.filter-submit input{
    border: 1px solid var(--highlight-color);
    background-color: var(--highlight-color);

}

.filter-reset input{
    border: 1px solid var(--primary-color);
    background-color: var(--secondary-background-color);
}

.filter-submit:hover input{
    box-shadow: 0px 0px 3px 1px rgba(227, 204, 122, 0.8);
}

.filter-reset:hover input{
    box-shadow: 0px 0px 3px 1px rgba(16,34,56,0.2);
}

.annonces-input.order-filter{
    width: 100%;
}

.tags.disabled{
    display: none;
}

.tags{
    display: flex;
}

/* DETAIL */

.detail-page .share-link{
    color: var(--highlight-color);
    position: relative;
    z-index: 30;
}

.detail-page #carouselDetailIndicators .carousel-inner{
    min-height: 800px;
}

.detail-page #carouselDetailIndicators .carousel-inner img{
    max-height: 800px;
}

.detail-page #carouselDetailIndicators .carousel-item{
    justify-content: center;
    align-items: center;
    width: 100%;
}

.detail-page #carouselDetailIndicators .carousel-item.active, .detail-page #carouselDetailIndicators .carousel-item-start, .detail-page #carouselDetailIndicators .carousel-item-end {
    display: flex;
}

.detail-page #carouselDetailIndicators .carousel-control-prev {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1000;
    transform: translateY(-50%);
    height: 100%;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-page #carouselDetailIndicators .carousel-control-next {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1000;
    transform: translateY(-50%);
    height: 100%;
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-page #carouselDetailIndicators .chevron-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.detail-page #carouselDetailIndicators .chevron-btn::after{
    background-color: var(--secondary-color);
    opacity: 1;
    z-index: -1;
}

.detail-page .carousel-indicators .indicator-img img{
    object-fit: cover;
    height: 110px;
    width: 100%;
}

.detail-page .carousel-indicators [data-bs-target] {
    flex-basis: 15%;
    height: 110px;
    overflow: hidden;
    box-sizing: border-box;
    margin-right: 0;
    margin-left: 0;
    text-indent: 0;
    position: relative;
    opacity: 1;
    transition: filter .6s ease;
    filter: grayscale(1);
}

.detail-page .carousel-indicators [data-bs-target].active {
    filter: grayscale(0);
}

.detail-page .carousel-indicators [data-bs-target]::after {
    border: 6px transparent solid;
    content: "";
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: 400ms ease;
    transition: border 600ms ease;
}

.detail-page .carousel-indicators [data-bs-target].active::after {
    border: 6px var(--highlight-color) solid;
}

.detail-page .carousel-indicators {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: start;
    padding: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    list-style: none;
    flex-wrap: wrap;
}

.detail-page .visite{
    position: relative;
    z-index: 1000;
    padding: 10px 15px;
    border: 0px var(--primary-color) solid;
    background-color: var(--highlight-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    transition: box-shadow 100ms ease-out;
}

.detail-page .visite:hover, .detail-page .visite:focus{
    box-shadow: 0px 0px 3px 1px rgba(101,125,150,0.2);
}

.detail-page .contact-img{
    max-width: 290px;
    max-height: 307px;
    overflow: hidden;
    width: 290px;
    background-color: var(--blue-3);
    transform: translate(30px, -20px);
}

.detail-page .contact-img img{
    object-fit: cover;
    background-color: var(--blue-3);
    max-height: 307px;
}

.detail-page #contact .row{
    background-color: var(--white-blue);
}

.detail-page .contact-infos > div:first-child{
    border-right : 1px solid var(--blue-6)
}

.detail-page .contact-infos h3{
    font-family: var(--serif-font-family);
    font-size: 35px;
    font-weight: 400;
}

.detail-page .name{
    font-size: 21px;
    font-weight: 500;
    font-family: var(--serif-font-family);
}

.detail-page .role{
    font-size: 14px;
    font-weight: 500;
}

.detail-page .phone, .detail-page .email, .detail-page .address{
    font-size: 16px;
    font-weight: 500;
    font-family: var(--serif-font-family);
}

.detail-page .phone a, .detail-page .email a, .detail-page .address a{
    font-family: var(--sans-serif-font-family);
    color: var(--primary-color);
    font-weight: 500;
    transition: 400ms ease;
}

.detail-page #contact a:hover{
    color: var(--highlight-color);
}

.detail-page #contact .address a:hover svg{
    fill: var(--highlight-color);
}

.detail-page .address.fidal-link{
    font-style: normal;
}

.detail-page .address.fidal-link svg{
    fill: var(--primary-color);
}

.detail-page p span{
    color: var(--highlight-color);
    font-family: var(--sans-serif-font-family);
    font-weight: 500;
}

.detail-page .detail-icon_title{
    font-family: var(--serif-font-family);
    font-size: 14px;
    color: var(--blue-3);
}

.detail-page .top-title{
    font-family: var(--serif-font-family);
    font-size: 32px;
}

.detail-page .top-title span{
    font-style: italic;
}

.detail-page .top-title span.barre{
    font-style: normal;
    color: var(--highlight-color);
}

.detail-page .detail-icon{
    max-width: 50px;
}

.detail-page .about-price{
    font-size: 32px;
    color: var(--blue-3);
}

/* carte contact */

.contact-2{
    background-color: var(--white-blue);
    position: sticky;
    top: 100px;
}

.contact-2 .scene{
    width: 90%;
    color: white;
    height: 430px;
}

.detail-page .contact-2 h3{
    font-family: var(--serif-font-family);
    font-weight: 400;
}

/* toast */

#copyToast{
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

/*PAGE CONTENU EXPERTISES*/

.expertise-page.page-id-17 .slash-bg{
    background: url(assets/expertises/slash-back-immo-particulier.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: var(--highlight-color);
    color: var(--primary-color);
}

.expertise-page.page-id-17 .line{
    background-color: var(--highlight-color);
}

.expertise-page.page-id-22 .slash-bg, .expertise-page.page-id-815 .slash-bg{
    background: url(assets/expertises/slash-back-immo-pro.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #FF982D;
    color: var(--primary-color);
}

.expertise-page.page-id-22 .line{
    background-color: #FF982D;
}

.expertise-page.page-id-27 .slash-bg{
    background: url(assets/expertises/slash-back-affaires.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #657D96;
    color: var(--secondary-color);
}

.expertise-page.page-id-27 .line{
    background-color: #657D96;
}

.expertise-page.page-id-31 .slash-bg{
    background: url(assets/expertises/slash-back-international.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #82AA98;
    color: var(--primary-color);
}

.expertise-page.page-id-31 .line{
    background-color: #82AA98;
}

.expertise-page.page-id-35 .slash-bg{
    background: url(assets/expertises/slash-back-patrimoine.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #33838B;
    color: var(--secondary-color);
}

.expertise-page.page-id-35 .line{
    background-color: #33838B;
}

.expertise-page.page-id-39 .slash-bg{
    background: url(assets/expertises/slash-back-asso.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #6DD5DC;
    color: var(--primary-color);
}

.expertise-page.page-id-39 .line{
    background-color: #6DD5DC;
}

.expertise-page.page-id-44 .slash-bg{
    background: url(assets/expertises/slash-back-negociation.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #FFE76E;
    color: var(--primary-color);
}

.expertise-page.page-id-44 .line{
    background-color: #FFE76E;
}

.parent-pageid-15 .breadcrumb-item.active, .parent-pageid-15 .breadcrumb-item:before{
    color: var(--primary-color);
}

.parent-pageid-15 .breadcrumb a:hover{
    color: var(--primary-color);
}

/* PAGE ACTUALITES */

.archive #annonces .card img{
    height: 370px;
}

.archive #annonces .card p{
    margin-bottom: 0;
}

.archive #annonces .card .card-body{
    padding: 0.5rem 1rem 1rem 1rem;
}

.archive #annonces .card .date{
    font-family: var(--serif-font-family);
    color: var(--blue-3);
    font-size: 14px;
}

/* PAGE ACTU SINGLE */

h3.wp-block-heading{
    font-family: var(--serif-font-family);
    font-size: 56px;
    margin-bottom: 1.5rem;
}

.detail-page p{
    margin-bottom: 1.5rem;
}

.detail-page h1.long-title{
    font-size: 48px;
}

/* PAGE NOTAIRE */

.parent-pageid-48 h1 span{
    font-family: var(--sans-serif-font-family);
    font-style: normal;
}

.parent-pageid-48 .name {
    font-family: var(--serif-font-family);
    font-size: 22px;
    font-weight: 500;
}

.parent-pageid-48 .linkedin a i {
    color: var(--highlight-color);
    font-size: 50px;
    transition: 300ms ease-out;
}

.parent-pageid-48 .cta-line {
    color: var(--secondary-color);
}

.parent-pageid-48 .cta-line span{
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-background-color);
    transition: all 400ms ease;
}

.parent-pageid-48 div:has(>.cta-line):hover .cta-line span {
    background-color: var(--highlight-color);
    transform: scaleX(1.1);
    transform-origin: left;
}

.notaire-picture{
    margin-bottom: 3rem;
    background-color: var(--blue-3);
    padding: 0;
    border-radius: var(--border-radius);
    padding-top: 3rem;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .3);
}

.notaire-picture::before {
    background: linear-gradient(180deg, rgba(16, 34, 56, 0) 50%, rgba(16, 34, 56, 1) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: "";
    z-index: 30;
}

.notaire-picture img{
    border-radius: var(--border-radius);
}

.parent-pageid-48 .informations i {
    color: var(--blue-3);
    margin-right: 20px;
    font-size: 20px;
}

.parent-pageid-48 .header-picture .groupe-image {
    position: relative;
    z-index: 10;
    max-height: 100vh;
    overflow: hidden;
}

/* CONTACT */

.page-id-309 .contact-form{
    max-width: 800px;
}

.page-id-309 .contact-form input:not([type=checkbox]), .page-id-309 .contact-form #role{
    font-size: 17px;
    padding: 11px 24px;
    background-color: var(--white-blue);
    border: none;
    max-width: 380px;
    color: var(--primary-color);
    
}

.page-id-309 .contact-form #goal, .page-id-309 .contact-form textarea{
    font-size: 17px;
    padding: 11px 24px;
    background-color: var(--white-blue);
    border: none;
    color: var(--primary-color);
}

.form-check{
    display: flex;
    align-items: end;
}

input[type=checkbox] {
    cursor: pointer;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    outline: none;
    border: 1px solid #0F2238;
    position: relative;
}

.page-id-309 .contact-form .filter-submit{
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-id-309 .contact-form .filter-submit input{
    color: var(--primary-color);
    width: 50%;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    width: 100%;
    /* max-width: 230px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 300ms ease-out;
    font-size: 16px;
}

.page-id-309 .contact-form .filter-submit input{
    border: 1px solid var(--highlight-color);
    background-color: var(--highlight-color);
   
}

.page-id-309 .contact-form .filter-submit:hover input{
    box-shadow: 0px 0px 3px 1px rgba(227, 204, 122, 0.8);
}

.form-policy, #required, .form-check{
    font-size: 14px;
}

.page-id-309 select{
    border: none;
    background-color: var(--white-blue);
    color: var(--primary-color);
    
    font-size: 17px;
    padding: 11px 24px;
    
}

.page-id-309 select:not([name="freason"]){
    max-width: 380px;
}

.wpcf7-list-item{
    margin: 0;
}

label:has(input[name="facceptance"]){
    display: flex;
    align-items: center;
    gap: 1rem;
}


@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .page-id-309 select::picker(select) {
        
        color: var(--blue-3);
        
    }
}

/*BREAKPOINTS*/

@media screen and (min-width : 1200px) {
    #annonces .card{
        width: 30%;
    }

    .detail-page .contact-img{
        max-width: 290px !important;
        transform: translate(30px, -20px) !important;
    }

    .home h1{
        font-size: 120px;
        line-height: 120px;
    }

    .header-carousel_picture{
        height: 260px;
    }

    .detail-page h1.long-title{
        font-size: 64px;
    }
}

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

    .map{
        position: relative;
        max-width: 100%;
        top: 0;
        bottom: 0;
        transform: translateX(-50%);
        left: 50%;
        margin-bottom: 3rem;
    }

    .notaire-page .cta-line {
        color: var(--primary-color);
    }

    .notaire-page .cta-line span{
        display: block;
        width: 60px;
        height: 2px;
        background-color: var(--primary-background-color);
        transition: all 400ms ease;
    }

    .news-card_content p{
        color: var(--blue-3);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .header-carousel_picture{
        height: 245px;
    }

}

@media screen and (min-width: 992px){
    span.wpcf7-form-control-wrap:has(select[name="ffonction"]){
        display: flex;
        justify-content: end;
    }

    .row:has(> .row.news-card){
        max-height: 520px;
    }

    
}

@media screen and (max-width: 991px){
    .news-card{
        max-height: 100%;
    }

    .news-card_img {
        max-width: 100%;
    }

    .header-carousel_content {
        max-width: 100%;
        border-radius: 0;
    }

    h1{
        font-size: 67px;
    }

    .header-title img{
        max-height: 134px;
    }

    #carouselDetailIndicators .carousel-item img{
        max-width: 100%;
    }

    .row:has(> .row.news-card){
        max-height: 875px;
    }

    .detail-page #carouselDetailIndicators .carousel-inner{
        min-height: 470px;
    }

    .detail-page #carouselDetailIndicators .carousel-inner img{
        max-height: 470px;
    }

    .navbar-nav .dropdown-menu{
        position: absolute;
    }

    .dropdown-menu[data-bs-popper]{
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (min-width : 768px) {
    .scene{
        width: 45%;
    }

    .detail-page .contact-img{
        max-width: 224px;
        transform: translate(-30px, -20px);
    }
}

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

    body { scroll-snap-type: y mandatory; }

    #map-cards_group {
        scroll-snap-align: start;
        scroll-margin-top: var(--header-height, 64px);
    }

    h2{
        font-size: 48px;
    }

    h2 span{
        font-size: 57px;
    }

    section .slash{
        max-height: 57px;
    }

    .slash-bg {

        background-size: cover;

    }

    h1{
        font-size: 47px;
    }

    .header-title img{
        max-height: 94px;
    }

    .breadcrumb{
        font-size: 12px;
    }

    /*detail-page*/

    .detail-page .carousel-indicators [data-bs-target] {
        flex-basis: 29%;
    }

    .detail-page .carousel-indicators {
        justify-content: space-evenly;
    }

    .detail-page .contact-infos > div:first-child {
        border-right: none;
    }

    .detail-page .contact-img{
        position: relative;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 30px);
    }

    .detail-page .phone, .detail-page .email, .detail-page .address {
        font-size: 14px;
    }

    .detail-page #carouselDetailIndicators .carousel-inner{
        min-height: 390px;
    }

    .detail-page #carouselDetailIndicators .carousel-inner img{
        max-height: 390px;
    }

    .notaire-page .groupe-image {
        color: var(--primary-color);
    }

    footer .nav{
        gap: .5rem !important;
        text-align: center;
    }

    .about-text{
        margin-inline: 0;
    }

    .about-details{
        margin: 0 auto;
        gap: 1rem;
    }

    .about-details .col-9{
        margin: 0 auto;
    }

    .about-details svg{
        width: 40px;
    }

    h3.wp-block-heading{
        font-size: 30px;
    }

    html{ 
        scroll-behavior: smooth; 
    }
  
    body { 
        scroll-snap-type: y mandatory; 
    }

    #map { 
        scroll-snap-align: start; 
        scroll-margin-top: 64px; 
    }
}

@media screen and (max-width : 575px) {
    h2{
        font-size: 32px;
    }

    h2 span{
        font-size: 37px;
    }

    section .slash{
        max-height: 48px;
    }

    h1{
        font-size: 32px;
    }

    .header-title img{
        max-height: 64px;
    }

    .detail-page #carouselDetailIndicators .carousel-inner{
        min-height: 300px;
    }

    .detail-page #carouselDetailIndicators .carousel-inner img{
        max-height: 300px;
    }

    footer .logo{
    height: 79px;
}
}

@media screen and (max-width : 524px){
    .filter-submit, .filter-reset{
        width: 300px;
    }
}

@media screen and (min-width : 1400px){
    /* .header-carousel_picture{
        height: 260px;
    } */

    .detail-page h1.long-title{
        font-size: 70px;
    }
}