/* Personnalisation des styles */
.bouton {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    border-radius: 0.325rem;
    background-color: var(--clr-text);
    color: var(--clr-bg);
    font-family: var(--ff-alt);
    display: flex;
    width: max-content;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    font-size: 1.1rem;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    transition: all 0.3s;
}
.bouton--ff {
    font-family: var(--ff);
    font-size: 1rem;
    font-weight: 500;
}
.bouton--accent {
    background-color: var(--clr-accent);
    color: var(--clr-text);
}

.bouton:hover {
    background-color: var(--clr-700);
}
.bouton.bouton--accent:hover {
    background-color: var(--clr-400);
}

.bouton svg {
    max-width: 2rem;
    max-height: 2rem;
}

.bouton.bouton-share {
    background-color: transparent;
    color: var(--clr-text);
    border-color: var(--clr-text);
}

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

.titre {
    font-family: var(--ff-alt);
    font-size: 2.125rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 0.9;
}
.titre.titre--hero {
    font-size: 2.75rem;
    padding-top: 2rem;
    margin-bottom: 1.5rem;
}
.titre.titre--hero span {
    color: var(--clr-500);
}
.titre.titre--small {
    font-size: 1.125rem;
    font-family: var(--ff);
    text-transform: uppercase;
    font-weight: 500;
}

.header--default {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 0.5rem 3rem;
    background-color: var(--clr-bg);
    box-shadow: 0px 0px 1rem rgba(var(--clr-text-rgb), 0.125);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logo {
    width: 5.75rem;
}
.menu-button {
    display: none;
}
.nav--primary {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1.5rem;
}
.nav__link {
    font-family: var(--ff-alt);
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    padding: 0 0.25rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}
.nav__link:hover,
.nav__link.nav__link--current {
    border-bottom: 2px solid var(--clr-text);
}
.nav--primary hr {
    border: 0;
    width: 1px;
    height: 1.75rem;
    background-color: var(--clr-text);
}
footer {
    padding: 5rem 0rem 1.5rem;
    position: relative;
}
footer::after,
.hero::after {
    content: '';
    background-image: url(../images/plant_bg.jpg);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.25;
}
footer .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: start;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}
footer .copy {
    width: 100%;
    margin-top: 5rem;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.agence_footer {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5rem;
}
.agence_footer img {
    display: block;
    width: 21rem;
}
.agence_footer p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.itin_a {
    display: inline-flex;
    gap: 0.25rem;
    font-size: 1.1rem;
    text-decoration: none;
    align-items: center;
}
.itin_a svg {
    width: 1.75rem;
}
.nav--footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 5rem;
}
footer .nav__link {
    border-bottom: 0 !important;
}
footer .nav__link:hover {
    text-decoration: underline;
}
.boutons_footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.boutons_footer .bouton {
    min-width: 12rem;
    text-align: center;
    justify-content: center;
}
.nav--social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: end;
}
.nav__social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 3.5px solid var(--clr-text);
    display: grid;
    place-items: center;
    transition: all 0.3s;
}
.nav__social-link:hover {
    background-color: var(--clr-text);
    color: var(--clr-bg);
}
.nav__social-link svg {
    max-width: 1.325rem;
    max-height: 1.325rem;
}
.heromedia {
    display: block;
    width: 100%;
}
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 7rem 0rem 6rem;
}
.hero > * {
    position: relative;
    z-index: 2;
}
.heroinner {
    display: flex;
    gap: 2.5rem;
    align-items: start;
    justify-content: center;
}

.heroinner img {
    width: 13rem;
    display: block;
}

.sectiontriplecol .wrap {
    display: grid;
    grid-template-columns: 1.325fr 2.325fr 2.325fr;
    gap: 1rem;
}
.sectiontriplecol .wrap > div:nth-child(2) {
    padding-right: 3rem;
}
.sectiontriplecol.sectiontriplecol2 .wrap > div:nth-child(2) {
    padding-right: 5rem;
}
.sectiontriplecol.sectiontriplecol2 .wrap > div:nth-child(3) {
    padding-right: 5rem;
    align-self: end;
}

.sectiontriplecol.sectiontriplecol2 .wrap > div:nth-child(3) img {
    margin-top: 3rem;
}
.sectionpadding:has(+ .sectionproprietes) {
    padding-bottom: 8rem;
}
.proprieteshomewrapper > .proprieteshome {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.proprieteshomewrapper > .proprieteshome > *:not(:nth-child(-n + 3)) {
    display: none;
}
.proprieteshome {
    font-family: var(--ff);
    .propriete__cta {
        display: none;
    }

    .propriete__tag {
        font-family: var(--ff-alt);
        background-color: var(--clr-text);
        color: var(--clr-bg);
        padding: 0.25rem 0.5rem;
        border-radius: 0.5rem;
    }
    .propriete__infos {
        padding: 1.5rem 1rem 0.1rem;
    }
    .propriete__prix {
        font-weight: 700;
        font-size: 1.625rem;
        margin-bottom: 0;
    }
    .propriete__adresse,
    .propriete__ville {
        margin-bottom: 1rem !important;
        font-size: 1rem;
    }
    .propriete__details {
        text-transform: none;
        font-weight: 500;
    }
    .propriete__img {
        aspect-ratio: 4/3;
    }
}
.progressline {
    position: relative;
    height: 0.325rem;
    margin: 1rem 0;
}
.progressline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    translate: 0 -50%;
    background-color: var(--clr-400);
    height: 1px;
    width: 100%;
}
.progressline > div {
    display: block;
    position: absolute;
    width: 0%;
    top: 0;
    left: 0;
    height: 100%;
    background-color: var(--clr-400);
}
.sectionproprieteshome {
    padding-bottom: 5rem;
}
.controls__wrapper,
.sectionproprietes .boutonscontrols {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 0.75rem;
    width: auto;
}
.controls__wrapper {
    gap: 2.5rem;
    width: 100%;
    margin-top: 2rem;
}
.sectiontemoignageshome .controls__wrapper {
    justify-content: start;
}
.boutonscontrols .bouton--control,
.boutonscontrols .bouton--control:hover {
    background-color: var(--clr-text);
    color: var(--clr-bg);
    width: 3rem;
}
.sectionreverse .boutonscontrols .bouton--control,
.sectionreverse .boutonscontrols .bouton--control:hover {
    color: var(--clr-text);
    background-color: var(--clr-bg);
}
.boutonscontrols .bouton--control svg {
    width: 0.5rem;
    color: var(--clr-bg);
}
.sectionreverse .boutonscontrols .bouton--control svg {
    color: var(--clr-text);
}

.sectiontemoignages.sectiontemoignageshome {
    background-image: url(../images/tem_bg.jpg);
    background-size: cover;
    position: relative;
}
.sectiontemoignages.sectiontemoignageshome .wrap {
    position: relative;
    z-index: 2;
}
.sectiontemoignages.sectiontemoignageshome::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.625;
    z-index: 0;
}
.sectiontemoignages.sectiontemoignageshome .wrap {
    display: grid;
    grid-template-columns: 3fr 4fr;
    gap: 1.5rem;
}
.sectiontemoignageshome .temoignages-container > .temoignages__slider {
    grid-template-columns: 1fr;
    gap: 0;
}
.sectiontemoignageshome .temoignages-container {
    margin-top: 0;
}
.temoignage-element-home p:not(.author) {
    font-family: var(--ff-alt);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

/*1400*/
@media screen and (max-width: 87.5rem) {
}
/*1300*/
@media screen and (max-width: 81.25rem) {
    .sectiontriplecol.sectiontriplecol2 .wrap > div:nth-child(2) {
        padding-right: 3rem;
    }
    .temoignage-element-home p:not(.author) {
        font-size: 1.5rem;
    }
    .nav--footer {
        display: flex;
        width: 100%;
        justify-content: space-evenly;
        gap: 1rem;
    }
}
/*1024*/
@media screen and (max-width: 64rem) {
    .menu-button {
        -webkit-appearance: none;
        appearance: none;
        display: block;
        border: 0;
        background-color: transparent;
        width: 2rem;
        cursor: pointer;
    }
    .nav--primary {
        position: absolute;
        background-color: var(--clr-100);
        border: 1px solid var(--clr-300);
        bottom: 0;
        right: 0;
        translate: 0 100%;
        padding: 2rem;
        display: none;
    }
    .nav--primary a {
        margin: 0.25rem 0;
        border-bottom: 0 !important;
    }
    .nav--primary .bouton {
        margin: 0.5rem 0;
    }
    .nav--primary hr {
        display: none;
    }
    .titre.titre--hero {
        font-size: 2.5rem;
    }
    .heroinner img {
        width: 11.5rem;
    }
    .titre {
        font-size: 1.75rem;
    }
    .sectiontriplecol.sectiontriplecol2 .wrap > div:nth-child(3) {
        padding-right: 2rem;
    }
    .proprieteshome {
        .propriete__adresse,
        .propriete__ville {
            font-size: 0.825rem;
        }
    }
    .agence_footer img {
        width: 16rem;
    }
    .agence_footer,
    footer .wrap {
        gap: 3.5rem;
    }
}
/*856*/
@media screen and (max-width: 53.5rem) {
    .titre.titre--hero {
        font-size: 2rem;
    }
    .header--default {
        padding: 0.5rem 1rem;
    }
    .sectiontriplecol .wrap {
        grid-template-columns: 1.5fr 2fr 2.5fr;
    }
    .sectiontriplecol .wrap > div:nth-child(2),
    .sectiontriplecol.sectiontriplecol2 .wrap > div:nth-child(2) {
        padding-right: 1rem;
    }
    .proprieteshome {
        .propriete__prix {
            font-size: 1.325rem;
        }
    }
    .temoignage-element-home p:not(.author) {
        font-size: 1.25rem;
    }
    .agence_footer img {
        width: 14rem;
    }
}
/*750*/
@media screen and (max-width: 46.875rem) {
    .nav--footer {
        display: none;
    }
    .sectiontriplecol .wrap {
        grid-template-columns: 1fr;
    }
    .agence_footer {
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }
    .boutons_footer {
        margin-left: auto;
        margin-right: auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav--social {
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    footer .copy {
        text-align: center;
    }
    .hero-logo {
        display: none;
    }
    .heroinner {
        padding: 0.75rem;
        text-align: center;
    }
    .hero {
        padding: 4rem 0rem 3rem;
    }
    .titre.titre--hero {
        font-size: 1.325rem;
        padding-top: 0;
    }
    .hero .boutons {
        justify-content: center;
    }
    .proprieteshomewrapper > .proprieteshome,
    .sectiontemoignages.sectiontemoignageshome .wrap {
        display: grid;
        grid-template-columns: 1fr;
    }
}
