body.page-home {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

body.page-home > main {
    flex: 1;
}

.page-home {
    position: relative;
    isolation: isolate;
    background-color: #f5f5f5;
    background-image: radial-gradient(ellipse at 54% 14%, rgba(255, 207, 125, .8), transparent 53%),
        linear-gradient(130deg, #bc281b 0%, #ea662b 20%, #ef9235 46%, #f2b74c 73%, #f0973a 89%, #eb8231 100%);
    background-attachment: fixed;
}

.home-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.home-decoration .motif {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: clamp(17px, 2vw, 29px);
    height: auto;
    opacity: .25;
    transform: translate(-50%, -50%) rotate(var(--angle));
}

.home-decoration .ile {
    color: #354e63;
    opacity: .20;
}

.home-decoration .toque {
    color: #201b19;
}

.home-decoration .diplome {
    color: #b83626;
}

.page-home .intro-accueil {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.page-home .turn {
    border-color: #201b19;
    background: #fffcf6;
    color: #201b19;
}

.page-home .turn:hover {
    background: #fcb200;
}

.page-home .slide:last-child[data-slot="left"] .card-face {
    filter: grayscale(1);
    opacity: .78;
}

.page-home .guide-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem 1.25rem;
    margin-top: 1.1rem;
}

.page-home .guide-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

footer {
    width: 100%;
    padding-inline: max(4%, calc((100% - 1120px) / 2));
    background: #fff;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    color: #b83626;
    text-decoration: underline;
}

@media (max-width: 760px) {
    .page-home .deck-shell {
        padding-inline: 0;
    }

    .page-home .deck {
        display: grid;
        width: 143%;
        min-height: 300px;
        margin-inline-start: -21.5%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
    }

    .page-home .slide:not([data-slot="center"]) {
        display: block;
    }
}
