/* Personnalisation des styles */
.zoomLoad {
    scale: 0.9;
    transition: scale 2s 0.15s;
}
.zoomLoad.seen {
    scale: 1;
}
.br {
    border-radius: 0.625rem;
    overflow: hidden;
}
.menu-button {
    display: none;
}
.wrap.wrap--wider {
    max-width: calc(100% - 3rem);
    width: 100%;
}

.header--default {
    --gap: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--clr-bg);
    padding: 0.5rem 0;
    font-family: var(--ff-alt);
    z-index: 999;
    width: 100%;
    color: var(--clr-text);
}

.header--default .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.header__logo {
    width: 12.5rem;
}

.nav__social {
    display: flex;
    gap: 0.5rem;
}

.nav__social-link {
    width: 2.5rem;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 3px solid currentColor;
    display: grid;
    place-items: center;
    padding: 0.5rem;
    transition: all 0.6s;
}
.nav__social-link:hover {
    background-color: currentColor;
}
.nav__social-link svg {
    transition: all 0.6s;
}
.nav__social-link:hover svg {
    color: var(--clr-bg);
}

.nav--primary {
    display: flex;
    gap: var(--gap);
    align-items: center;
}

.nav__link {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.6s;
}

.nav--primary:has(.nav__link:hover) .nav__link:not(:hover),
.nav--primary:has(.bouton:hover) .nav__link:not(:hover) {
    color: var(--clr-500);
    opacity: 0.85;
}
.nav--primary:has(.nav__link:hover) .bouton:not(:hover) {
    opacity: 0.7;
}

.nav__link.nav__link--current {
    text-decoration: underline;
}
.nav__link.nav__link--footer {
    font-family: var(--ff-alt);
    display: block;
    margin-bottom: 0.75rem;
}
.nav__link.nav__link--footer:hover {
    text-decoration: underline;
}

.nav__sep {
    width: 1px;
    height: 1.825rem;
    background-color: currentColor;
    border: 0;
}

.nav__subwrap {
    position: relative;
    padding: 0.75rem 0;
}

.nav__sub {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    background-color: var(--clr-100);
    border-radius: 0.625rem;
    box-shadow: 0px 0px 1rem 0px rgba(0, 0, 0, 0.25);
    padding: 0.5rem 1.5rem;
    bottom: 0;
    left: 50%;
    translate: -50% 100%;
    opacity: 0;
    transition: all 0.5s;
}
.nav__sub a {
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
}
.nav__sub a:hover {
    text-decoration: underline;
}
.nav__subwrap:hover .nav__sub,
.nav__subwrap .nav__sub:hover {
    visibility: visible;
    pointer-events: all;
    opacity: 1;
}

.bouton {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: max-content;
    background-color: var(--clr-accent);
    color: var(--clr-text);
    font-family: var(--ff-alt);
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.625rem;
    text-decoration: none;
    font-weight: 500;
    transition:
        all 0.6s,
        transform 0s;
}
.bouton > svg,
.bouton > img {
    max-width: 2rem;
    max-height: 2rem;
}
.bouton.bouton--tdu {
    font-family: var(--ff);
    text-decoration: underline;
}

.bouton.bouton--prev {
    padding: 0.625rem 0.85rem;
    font-size: 0.85rem;
    gap: 0.5rem;
}
.bouton.bouton--prev svg,
.bouton.bouton--prev img {
    scale: -1 1;
    max-width: 1.325rem;
}
.bouton:hover {
    background-color: var(--clr-300);
}

.bouton.bouton--alt {
    background-color: var(--clr-text);
    color: var(--clr-bg);
    font-weight: normal;
}
.bouton.bouton--alt:hover {
    background-color: var(--clr-500);
}

.nav--primary .bouton.bouton--alt:hover {
    background-color: var(--clr-text);
}

section:has(.decorlines) {
    position: relative;
}
section:has(.decorlines) .wrap {
    position: relative;
    z-index: 2;
}

.decorlines {
    --deco-right: calc((100dvw - var(--wrap)) / 2 + var(--wrap) * 0.25);
    --deco-left: calc((100dvw - var(--wrap)) / 2 + var(--wrap) * 0.5);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.decorline {
    position: absolute;
    top: 0;
    right: var(--deco-right);
    height: 100%;
    width: 1px;
    background-color: var(--clr-300);
}
.decorline:first-child {
    right: var(--deco-left);
}

.sectionprofilhome .decorline:last-child {
    height: calc(100% - 6rem);
}

.sectionborderbottom {
    border-bottom: 1px solid var(--clr-300);
}

.hero {
    position: relative;
    padding-top: 0rem;
    padding-bottom: 3rem;
}

.hero .wrap--wider {
    padding-left: calc(50dvw - var(--wrap) / 2 - 1.5rem);
}

.hero p {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero__header {
    translate: 0 5rem;
}

.hero__footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.hero__media {
    border-radius: 0.625rem;
    overflow: hidden;
    width: 60%;
    position: relative;
    z-index: 100;
}

.hero__logo {
    width: 19rem;
    margin-bottom: 1rem;
    display: block;
}

.hero__logo + .bouton {
    margin-left: auto;
    margin-right: auto;
}

.titre {
    font-family: var(--ff-alt);
    font-size: 2rem;
}

.titre.titrehero {
    font-size: 3.325rem;
    width: calc((100% - (50dvw - var(--wrap) / 2 - 1.5rem)) / 2);
    margin-bottom: 2rem;
}

.titre.titre--smaller {
    font-size: 1.5rem;
}
.titre.titre--short {
    width: 20ch;
    max-width: 100%;
}
.halfcols.nogap {
    gap: 0;
}

.halfcol--half {
    padding: 0px 1rem;
}

.profilhome__img {
    border-radius: 0.625rem;
    overflow: hidden;
    translate: 50% 0;
    margin-top: 2.5rem;
}

.card--quartier img {
    width: 100%;
    aspect-ratio: 1.25;
    object-fit: cover;
    object-position: center;
    margin-bottom: 2.5rem;
    border-radius: 0.625rem;
}

.mb4 {
    margin-bottom: 4rem !important;
}

.proprieteshomewrapper > .proprieteshome {
    gap: 6rem;
}
.proprieteshomewrapper > .proprieteshome > .propriete-item:not(:nth-child(-n + 3)) {
    display: none;
}

.propriete__tag {
    background-color: var(--clr-text);
    color: var(--clr-bg);
    border-radius: 0.5rem;
    font-family: var(--ff-alt);
}

.propriete__img {
    border-radius: 0.625rem;
    overflow: hidden;
}

.propriete__prix {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.propriete__ville {
    margin-bottom: 2.5rem !important;
}

.propriete__details {
    opacity: 1;
    text-transform: none;
}

.slider__timeline {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.slider__timeline::before {
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    background-color: var(--clr-bg);
    opacity: 0.75;
}
.slider__timeline::after {
    content: '';
    width: 0;
    height: 0.325rem;
    position: absolute;
    top: 50%;
    left: 0;
    translate: 0 -50%;
    background-color: var(--clr-bg);
    transition: width 0s;
}
.slider__timeline.filling::after {
    animation: timeline 6s;
}
.slider__timeline.loaded:not(.filling)::after {
    animation: timeline2 6s;
}
@keyframes timeline {
    0% {
        width: 0;
    }
    99.9% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}
@keyframes timeline2 {
    0% {
        width: 0;
    }
    99.9% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

.sectionctahome .halfcols {
    align-items: end;
}
.sectionctahome .wrap > div:first-child {
    position: relative;
    padding-top: 20rem;
    padding-bottom: 7rem;
}
.sectionctahome .wrap > div:first-child img {
    width: 60%;
    position: absolute;
    top: 0;
    left: 0;
    margin-top: 0;
    transform-origin: top left;
}

.sectionctahome img {
    border-radius: 0.625rem;
    margin-top: 2.5rem;
}

.sectionctahome .halfcols .halfcols > div:first-child img {
    translate: 0 -3rem;
}

.sectiontemhome {
    display: grid;
    grid-template-columns: 55fr 45fr;
}

.temhome__header {
    position: relative;
}

.temhome__header img {
    min-height: 100%;
    object-fit: cover;
}

.temhome__header div {
    position: absolute;
    padding: 3rem 2.5rem;
    bottom: 0;
    right: 0;
}

.temhome__header div .titre {
    width: 15ch;
    margin-bottom: 1.5rem;
    text-shadow: 0px 0px 8px rgba(var(--clr-text-rgb), 0.7);
}

.temoignage-element {
    border-radius: 0.625rem;
}

.sectiontemhome .boutonscontrols {
    justify-content: center;
    margin-top: 3rem;
}

.temhome__container {
    display: grid;
    place-items: center;
    padding: 4rem 2rem;
}
.wrapper_container_review {
	width: 100%;
    max-width: 520px;
}
.temhomeslider__container > .temoignages__slider {
    gap: 1rem;
}
/*.temhomeslider__container {
    max-width: 60%;
}*/
.temhome_container_review {
    display: flex;
    place-items: center;
    padding: 4rem 2rem;
	justify-content: center;
}
.temoignages_list_reviews  + .bouton {
    margin-left: auto;
    margin-right: auto;
}
footer {
    --gap: 2rem;
    background-color: var(--clr-300);
    padding: 6rem 0 3rem;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: var(--gap);
}

footer .wrap + .wrap {
    margin-top: 10rem;
}

.agence__logo {
    width: 21rem;
}

.footer__note {
    font-weight: bold;
    max-width: 30ch;
}

.footer__boutons .bouton {
    min-width: 8rem;
    text-align: center;
    margin-bottom: 1rem;
}

.footer__nav {
    display: flex;
    justify-content: space-between;
    gap: var(--gap);
    align-items: start;
}

p.copy {
    font-size: 0.8rem;
    align-self: center;
}

.sectiongal .img {
    border-radius: 0.625rem;
    overflow: hidden;
}

/* BLOGUE */
.blog-pages .blogmorep {
    color: #1C1C1C;
}
.blog-pages  a.btnback2blog {
	color: #1C1C1C !important;
}
.blog-pages .article-single article a.bouton-share, 
.blog-pages  a.bouton-share {
    background-color: #1C1C1C;
}
.blog-pages .article-single ul {
  list-style: none; /* Hide default markers */
  padding-left: 20px;
}

.blog-pages .article-single ul li {
  position: relative;
  padding-left: 1.2em; /* Space for the chevron */
	margin-bottom: 10px;
}

.blog-pages .article-single ul li::before {
	content: "";
    position: absolute;
    left: 0;
    top: 8px;
    display: inline-block;
    border-right: 2px solid #5f88ae;
    border-bottom: 2px solid #5f88ae;
    width: 5px;
    height: 5px;
    text-indent: -1236548px;
    transform: rotate(-45deg);
}
.blog .article-single p.date + img {
	display: block;
    width: auto;
    max-width: 100%;
    margin: 45px auto;
}
.blog .article-single  img.img.fr-dii{
	display: inline-block;
    float: none;
    vertical-align: bottom;
    margin-left: 5px;
    margin-right: 5px;
	height: auto !important;
}
.blog .article-single  img.fr-dii.fr-fir {
	float: right;
    margin: 15px 0 25px 25px;
    max-width: calc(100% - 5px);
}
.blog .article-single  img.fr-dii.fr-fir:after {
    content: '';
    display: block;
    clear: both;
}

.blog .article-single  img.fr-dib.fr-fir {
	margin-right: 0;
}
/*1400*/
@media screen and (max-width: 87.5rem) {
    .temhomeslider__container {
        max-width: 75%;
    }
    .proprieteshomewrapper > .proprieteshome {
        gap: 3rem;
    }
}
/*1300*/
@media screen and (max-width: 81.25rem) {
    .header__logo {
        width: 11rem;
    }

    .nav__link,
    .bouton {
        font-size: 0.9rem;
    }
    .nav__social {
        gap: 0.25rem;
    }
    .titre.titrehero {
        font-size: 3rem;
        width: 60%;
    }
    .hero__logo {
        width: 16rem;
    }
    .footer__note {
        font-size: 0.9rem;
        max-width: 25ch;
    }
    footer .wrap + .wrap {
        margin-top: 5rem;
    }
}
/*1024*/
@media screen and (max-width: 64rem) {
    .nav__sep {
        display: none;
    }
    .nav__sub,
    .nav__subwrap:hover .nav__sub,
    .nav__subwrap .nav__sub:hover {
        visibility: visible;
        pointer-events: all;
        border-radius: 0;
        padding-top: 0;
        padding-bottom: 0;
        padding-right: 0;
        position: relative;
        box-shadow: none;
        left: 0;
        translate: 0;
        opacity: 1;
    }
    .nav__subwrap {
        padding: 0;
    }
    .nav--primary {
        position: absolute;
        bottom: 0;
        right: 0;
        translate: 0 100%;
        background-color: var(--clr-100);
        display: none;
        padding: 1rem 2rem 2.5rem;
    }
    .nav__link {
        display: block;
        margin: 0.75rem 0;
        font-size: 0.95rem;
    }
    .js-toggle-menu {
        display: block;
        width: 2.25rem;
        border: 0;
        color: var(--clr-text);
        cursor: pointer;
    }
    .header--default {
        padding: 1rem 0;
    }

    .sectionprofilhome .halfcols.nogap .halfcols.nogap {
        grid-template-columns: 1fr;
    }
    .sectionprofilhome .decorline:last-child,
    .sectionctahome .decorline:last-child {
        display: none;
    }
    .profilhome__img {
        translate: 0;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    .proprieteshomewrapper > .proprieteshome {
        gap: 1.5rem;
    }

    .sectionctahome .halfcols.nogap .halfcols.nogap {
        display: block;
    }

    .sectionctahome .halfcol--half {
        max-width: 60%;
    }
    .sectionctahome .halfcol--half + .halfcol--half {
        margin-left: auto;
        max-width: 75%;
    }
    .sectionctahome .wrap > div:first-child img {
        width: 80%;
    }
    .sectiontemhome {
        grid-template-columns: 1fr 1fr;
    }
    .temhomeslider__container {
        max-width: 85%;
    }
    .temhome__container {
        padding: 2rem;
    }
    footer .wrap {
        flex-wrap: wrap;
    }
    .footer__nav {
        display: none;
    }
}
/*856*/
@media screen and (max-width: 53.5rem) {
    .titre.titrehero {
        font-size: 2rem;
        width: 60%;
    }
    .hero p {
        font-size: 1.25rem;
    }
    .hero__header {
        translate: 0 2rem;
    }
    .hero__logo {
        width: 13rem;
    }
    .header__logo {
        width: 8rem;
    }
    .titre.titre--short {
        width: 100%;
    }

    .sectionprofilhome .halfcols {
        grid-template-columns: 1fr;
    }
    .sectionprofilhome .wrap {
        width: 100%;
        max-width: 100%;
    }
    .sectionprofilhome .wrap > * {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .sectionprofilhome .decorlines {
        display: none;
    }
    .sectionprofilhome .halfcols.nogap .halfcols.nogap {
        border-top: 1px solid var(--clr-bg);
        margin-top: 2.5rem;
        padding-top: 2.5rem;
    }
    .halfcol--half {
        padding: 0;
    }
    .sectionctahome .halfcol--half {
        padding-left: 1rem;
    }
    .sectionctahome .halfcol--half + .halfcol--half {
        max-width: 100%;
    }
    .sectionctahome .halfcol--half + .halfcol--half img {
        max-width: 75%;
    }
    .temhomeslider__container {
        max-width: 100%;
    }

    .wrap.wrap--wider {
        max-width: calc(100% - 1.5rem);
    }
}
/*750*/
@media screen and (max-width: 46.875rem) {
    :root {
        --wrap: calc(100% - 1.5rem) !important;
    }
    .contact-infos-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    footer .nav--social {
        justify-content: center;
    }
    .nav__social-link {
        width: 1.75rem;
        padding: 0.25rem;
    }
    .nav.nav--social {
        gap: 0.25rem;
    }
    .header--default .wrap {
        gap: 0.5rem;
        max-width: calc(100% - 0.75rem);
    }
    .bouton.bouton--smaller {
        font-size: 0.8rem;
        padding: 0.3rem 0.55rem;
    }
    .nav--primary {
        right: 0;
    }
    .header__logo {
        width: 9rem;
    }
    .js-toggle-menu {
        width: 2rem;
    }
    .proprieteshome {
        grid-template-columns: 1fr;
        border-bottom: 1px solid var(--clr-bg);
    }

    .sectionproprietes .wrap {
        display: flex;
        flex-flow: column;
    }
    .sectionproprietes .bouton--float {
        order: 9;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3rem;
    }
    .titre br {
        display: none;
    }

    .titre.titrehero {
        padding-right: 0;
        padding-left: 0;
        width: 100%;
        translate: 0 !important;
        transform: translateX(0px) !important;
    }
    .hero p,
    .hero .boutons,
    .hero__header,
    .js-scrollYanim {
        translate: 0 !important;
        transform: translateX(0px) translateY(0px) !important;
    }
    .hero__header {
        padding: 2rem 0;
    }
    .decorlines {
        display: none;
    }
    .hero__media {
        width: 100%;
        translate: 0 !important;
        transform: translateY(0px) !important;
        order: -1;
    }
    .hero__footer {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero__logo {
        margin-top: 2rem;
    }
    .zoomLoad {
        scale: 1;
    }

    .sectionctahome .wrap > div:first-child img {
        width: 100%;
        position: relative;
        margin-bottom: 2rem;
    }
    .sectionctahome .wrap > div:first-child {
        padding-top: 0;
        padding-bottom: 2.5rem;
        margin-bottom: 2.5rem;
        border-bottom: 1px solid var(--clr-300);
    }
    .sectionctahome .halfcol--half {
        padding-left: 0;
    }

    .sectiontemhome {
        grid-template-columns: 1fr;
    }
    .temhome__header div {
        padding: 5.5rem 1rem 1.5rem;
        bottom: 0;
        left: 0;
        right: 0;
    }
    .sectiontemhome {
        overflow: hidden;
    }
    .agence__logo {
        margin-bottom: 1.5rem;
    }
    .footer__note {
        width: 100%;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    p.copy {
        width: 100%;
        order: 20;
        margin-top: 1.5rem;
    }
    footer .wrap + .wrap {
        margin-top: 3rem;
    }
}
