.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    background-image: url("../images/montagne.png");
    background-size: cover;
    background-position: center;
}

.hero-text {
    position: relative;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 32px;
    background: linear-gradient(90deg, #f7f1e5f2, #f7f1e5bf 60%, #f7f1e55c);
}

.hero-text .home-motto {
    margin-top: 32px;
}

.hero-text .discover {
    margin-top: 28px;
}

.hero-text .bg-credit {
    margin: 28px 0 0;
    font-size: 11px;
    color: #59665f;
}

.hero-right {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    min-width: 0;
}

.hero .home-quotation {
    padding: 24px 32px;
}

.hero .home-quotation .quote-credit {
    margin-top: 16px;
}

.hero .personal-picture-figure {
    margin: 0;
    min-height: 0;
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.hero .personal-picture {
    position: relative;
    padding: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 0;
    background: var(--paper);
}

.personal-picture img {
    display: block;
    width: 100%;
}


@media screen {
    main .hero {
        height: max(620px, calc(100svh - 64px));
        min-height: 0;
    }

    .hero .hero-right {
        grid-template-rows: auto minmax(0, 1fr);
    }

    .hero .personal-picture img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }
}
