/* Personnalisation des styles */
.wrap--wide {
    max-width: calc(100% - 8rem);
}
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    color: var(--clr-bg);
    z-index: 999;
    background-color: var(--clr-text);
    transition: all 0.3s;
}
.header--home {
    background-color: transparent;
}
.header--scrolled {
    background-color: var(--clr-text);
    padding: 1rem 3rem;
}
.header__logo {
    width: 6rem;
    margin-right: auto;
}
.menu-button {
    display: none;
}

.nav--social,
.nav--primary {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    font-family: var(--ff-alt);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s;
}
.nav__link:hover {
    color: var(--clr-accent);
}

.nav__social-link {
    display: grid;
    place-items: center;
    width: 2.25rem;
    aspect-ratio: 1;
    border-radius: 50%;
    color: var(--clr-bg);
    border: 3px solid currentColor;
    transition: all 0.3s;
}

footer .nav__social-link {
    color: var(--clr-text);
}

.nav__social-link svg {
    max-width: 55%;
}

.nav__social-link:hover {
    color: var(--clr-accent);
}

.bouton {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.825rem 1.5rem;
    color: var(--clr-bg);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--ff-alt);
    font-size: 1rem;
    text-transform: uppercase;
    border: 2px solid var(--clr-bg);
    white-space: nowrap;
    transition: all 0.3s;
}
.bouton:hover {
    background-color: var(--clr-bg);
    color: var(--clr-text);
}
.bouton.bouton--accent {
    border-color: var(--clr-accent);
    background-color: var(--clr-accent);
    color: var(--clr-bg);
}
.bouton.bouton--accent.bouton--alt:hover {
    background-color: transparent;
    border-color: var(--clr-bg);
    color: var(--clr-bg);
}
.bouton.bouton--accent:hover {
    background-color: var(--clr-text);
    border-color: var(--clr-text);
    color: var(--clr-bg);
}

.bouton__icon {
    max-width: 2rem;
    max-height: 2rem;
}

.hero {
    background-color: var(--clr-text);
    color: var(--clr-bg);
    position: relative;
}
.heromedia {
    opacity: 0.6;
}
.heroinner {
    padding-top: 0;
    position: absolute;
    top: 240px;
    left: 50%;
    translate: -50% -50%;
    z-index: 2;
}
.heroinner.heroinner2 {
    top: initial;
	bottom:40px;
    left: 50%;
}

.titre.titre--hero + p {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--ff-alt);
}

.hero .titre.titre--big {
    max-width: 63%;
    font-size: 1.65rem;
    font-weight: normal;
}
.hero p {
    font-size: 1.65rem;
    max-width: 60%;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.titre {
    text-transform: uppercase;
    font-weight: 600;
    font-family: var(--ff-alt);
    font-size: 2.25rem;
    margin-bottom: 1rem;
}
.titre span {
    font-weight: 300;
}
.titre.titre--big {
    font-size: 3rem;
}
.titre.titre--big span {
    display: block;
    font-size: 110%;
    font-weight: 600;
}

.titre.titre--hero {
    font-size: 1.75rem;
    margin-bottom: 0;
}
.titre.titre--small {
    font-size: 1.5rem;
    text-transform: none;
}

footer {
    background-image: url(../images/brique_pattern.jpg);
    background-size: cover;
    margin-top: 4rem;
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 1rem;
}

.cta--footer {
    width: 100%;
    background-color: var(--clr-text);
    color: var(--clr-bg);
    border-radius: 0.45rem;
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 1rem;
}
.cta--footer::before {
    content: '';
    width: calc(50dvw - 50%);
    height: 50%;
    background-color: var(--clr-bg);
    position: absolute;
    top: 0;
    left: 0;
    translate: -100% 0;
}
.cta--footer::after {
    content: '';
    width: calc(50dvw - 50%);
    height: 50%;
    background-color: var(--clr-bg);
    position: absolute;
    top: 0;
    right: 0;
    translate: 100% 0;
}

.cta--footer > div:first-child {
    max-width: 50%;
}

.footer-logo {
    width: 20rem;
}
.contact-infos h3 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 1rem;
}
.contact-infos p {
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.contact-infos a {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    align-items: center;
}
.contact-infos a svg {
    width: 1.5rem;
}
.nav--footer {
    margin-left: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-self: center;
}
footer .nav--social {
    width: 100%;
    justify-content: end;
}
.innerfooter {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
}
.sectionproprieteshome .wrap > p {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}
.proprieteshomewrapper {
    text-align: left;
    margin-top: 4rem;
    padding-bottom: 3rem;
    position: relative;
}
.proprieteshomewrapper .controls__wrapper {
    position: absolute;
    top: 50%;
    left: -4rem;
    width: calc(100% + 8rem);
    max-width: 100dvw;
    translate: 0% -50%;
}
.proprieteshomewrapper > .proprieteshome {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
}
.proprieteshome .propriete-item {
    background-color: var(--clr-bg);
    padding-bottom: 3.5rem;
    filter: drop-shadow(0px 0px 0.5rem rgba(0, 0, 0, 0.25));
}
.proprieteshomewrapper > .proprieteshome > .propriete-item:nth-child(n + 4) {
    display: none;
}
.proprieteshome .propriete__infos {
    padding: 0;
}
.proprieteshome .propriete__inner {
    padding: 1.5rem;
}
.proprieteshome .propriete__prix {
    font-weight: 500;
    margin-bottom: 0;
}
.proprieteshome .propriete__adresse,
.proprieteshome .propriete__ville {
    font-size: 1rem;
    margin-bottom: 1rem !important;
}
.proprieteshome .propriete__details {
    text-transform: none;
    font-size: 0.7rem;
    margin-bottom: 1rem !important;
}
.proprieteshome .propriete__cta {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
}
.proprieteshomewrapper .bx-viewport {
    padding: 1.325rem 1rem;
    width: calc(100% + 2rem) !important;
    translate: -1rem 0;
}
.proprieteshomewrapper .bx-pager-link,
.temoignages-container .bx-pager-link {
    font-size: 0;
    width: 1rem;
    height: 1rem;
    background-color: var(--clr-500);
    opacity: 0.25;
    border-radius: 50%;
    display: block;
    transition: all 0.3s;
}
.proprieteshomewrapper .bx-pager-link.active,
.proprieteshomewrapper .bx-pager-link:hover,
.temoignages-container .bx-pager-link.active,
.temoignages-container .bx-pager-link:hover {
    opacity: 1;
    background-color: var(--clr-accent);
}
.proprieteshomewrapper .bx-pager-link.active,
.temoignages-container .bx-pager-link.active {
    width: 1.25rem;
    height: 1.25rem;
    translate: 0 -0.125rem;
}
.proprieteshomewrapper .bx-pager,
.temoignages-container .bx-pager {
    display: flex;
    justify-content: center;
    gap: 0.325rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

.tripcols:has(.card) {
    gap: 1.5rem;
    margin-top: 3rem;
}
.card {
    background-color: var(--clr-bg);
    padding: 2.5rem 1.5rem 2.5rem;
    text-align: center;
    position: relative;
    filter: drop-shadow(0px 0px 0.5rem rgba(0, 0, 0, 0.25));
}
.card:has(.bouton) {
    padding-bottom: 6rem;
}
.card .lst {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}
.card .img {
    width: 11rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.card .bouton {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    translate: -50% 0;
    width: max-content;
}

.sectionmultidev {
    background-image: url(../images/multidev_bg.jpg);
    background-size: cover;
    padding: 8rem 0;
    text-align: center;
}

.multilogo {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 10rem;
    margin-bottom: 1.25rem;
}

.sectionmultidev .boutons {
    justify-content: center;
    margin-top: 2rem;
}

.temoignages-container {
    position: relative;
    padding-bottom: 4rem;
}

.temoignages-container .bx-viewport {
    filter: drop-shadow(0px 0px 0.5rem rgba(0, 0, 0, 0.25));
}

.temoignages__slider--home .temoignage-element {
    background-color: var(--clr-bg);
    border-bottom: 3px solid var(--clr-accent);
}

.temoignages__slider--home .temoignage-element > img {
    width: 2.5rem;
    margin-bottom: 1rem;
}
.temoignages__slider--home .temoignage__header {
    margin-top: 1rem;
    align-items: center;
    margin-bottom: 0;
}

.temoignages-container {
    margin: 0;
}
.sectiontemoignages:not(.sectionreverse) {
    padding-bottom: 1rem;
}

.readmore {
    text-decoration: underline;
    color: var(--clr-accent);
    display: block;
    width: max-content;
    margin-bottom: 2rem;
}
.readmore:hover {
    text-decoration: none;
}
div:has(+ .readmore) {
    display: none;
}

/*1400*/
@media screen and (max-width: 87.5rem) {
}
/*1300*/
@media screen and (max-width: 81.25rem) {
    .cta--footer > div:first-child {
        max-width: none;
    }
    .nav--footer {
        margin-left: 0;
        margin-right: auto;
    }
    .header {
        padding: 1.5rem 1rem;
    }
    .header--scrolled {
        padding: 1rem;
    }
    .nav__link {
        font-size: 0.85rem;
    }
    .nav__social-link {
        width: 2rem;
    }
    .bouton {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    .hero .titre.titre--big,
    .hero p {
        max-width: 75%;
    }
    .titre.titre--hero {
        font-size: 1.625rem;
    }
    .titre.titre--big {
        font-size: 2.85rem;
    }
    .proprieteshomewrapper > .proprieteshome {
        gap: 1.5rem;
    }
    .proprieteshome .propriete-item {
        filter: drop-shadow(0px 0px 0.325rem rgba(0, 0, 0, 0.25));
    }
}
/*1024*/
@media screen and (max-width: 64rem) {
    .nav--primary {
        display: none;
        position: absolute;
        bottom: 0;
        right: 0;
        translate: 0 100%;
        background-color: var(--clr-text);
        padding: 1.5rem 1rem;
        min-width: 30%;
    }
    .nav--primary .nav__link {
        display: block;
        padding: 0.25rem;
    }
    .menu-button {
        display: block;
        -webkit-appearance: none;
        appearance: none;
        border: 0;
        background-color: transparent;
        color: var(--clr-bg);
        width: 2.5rem;
        cursor: pointer;
    }

    .heromedia {
        min-height: 39rem;
        object-fit: cover;
    }
    .hero .titre.titre--big,
    .hero p {
        max-width: 80%;
    }
    .titre.titre--big {
        font-size: 2.5rem;
    }
    .titre.titre--hero + p {
        font-size: 0.9rem;
    }

    .proprieteshome .propriete__inner {
        padding: 1rem;
    }
    .proprieteshome .propriete__cta {
        position: absolute;
        bottom: 1rem;
        left: 1rem;
    }
    .proprieteshome .propriete__cta .bouton {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
    .proprieteshomewrapper > .proprieteshome {
        gap: 1rem;
    }
    .cta--footer {
        padding: 3rem 2rem;
    }
    .tripcols:has(.card) {
        gap: 1rem;
        grid-template-columns: 1fr;
    }
    .card {
        padding-left: 14rem;
        position: relative;
        text-align: left;
    }
    .card .img,
    .card .lst {
        position: absolute;
        top: 50%;
        translate: 0 -50%;
        left: 1.5rem;
    }
    .card .lst {
        font-size: 4.25rem;
        left: 2.5rem;
        top: 2rem;
        translate: 0;
    }
    .card .bouton {
        position: relative;
        left: 0;
        bottom: 0;
        translate: 0;
    }
    .card:has(.bouton) {
        padding-bottom: 2.5rem;
    }
    .wrap--wide {
        max-width: calc(100% - 3rem);
    }
    .proprieteshomewrapper .controls__wrapper {
        top: auto;
        bottom: 0;
        translate: 0;
        left: 0;
        width: 100%;
    }
}
/*856*/
@media screen and (max-width: 53.5rem) {
    .proprieteshomewrapper > .proprieteshome {
        grid-template-columns: 1fr 1fr;
    }
    .proprieteshomewrapper > .proprieteshome > .propriete-item:nth-child(n + 3) {
        display: none;
    }
}
/*750*/
@media screen and (max-width: 46.875rem) {
    .titre {
        font-size: 2rem;
    }
    .card {
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .card .img,
    .card .lst {
        position: relative;
        top: 0%;
        translate: 0 0%;
        left: 0;
    }
    .proprieteshomewrapper > .proprieteshome {
        grid-template-columns: 1fr;
    }
    .proprieteshomewrapper > .proprieteshome > .propriete-item:nth-child(n + 2) {
        display: none;
    }
    .cta--footer {
        flex-wrap: wrap;
    }
    .bouton {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    .nav--social,
    .nav--primary,
    .header {
        gap: 0.625rem;
    }
    .menu-button {
        width: 2rem;
    }

    .hero .titre.titre--big,
    .hero p {
        max-width: 100%;
    }
    .titre.titre--big {
        font-size: 1.6rem;
    }
    .hero p {
        font-size: 1.5rem;
    }
    .heromedia {
        min-height: 100dvh;
    }
    .header {
        padding: 1rem 0.625rem;
    }
}
