.landing-home {
    display: block;
    min-height: calc(100vh - 68px);
    padding: 72px 0 92px;
}


.landing-copy {
    min-width: 0;
}


h1 {
    margin: 0;
    font-size: clamp(3.6rem, 9vw, 7.5rem);
    line-height: .9;
    letter-spacing: -.065em;
}


.home-tagline {
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    letter-spacing: .01em;
}


.access-panel {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(21, 34, 51, .9), rgba(16, 26, 39, .96));
    box-shadow: var(--shadow);
}


.access-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(105, 169, 255, .58), transparent);
}


.access-kicker {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}


.access-panel > strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1.08rem;
}


.access-panel > span {
    color: var(--muted);
    font-size: .82rem;
}


.access-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.5;
}


.access-note.is-error {
    color: #ff9fa5;
}


.flash-message {
    position: absolute;
    top: 90px;
    left: 50%;
    width: min(620px, calc(100% - 32px));
    transform: translateX(-50%);
    padding: 12px 15px;
    border: 1px solid rgba(105, 169, 255, .25);
    border-radius: 12px;
    background: rgba(16, 26, 39, .96);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
    color: #dce7f2;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
}


@media (max-width: 800px) {

    .landing-home {
        align-content: center;
        gap: 42px;
        min-height: calc(100vh - 68px);
        padding: 64px 0;
    }


    .landing-copy {
        text-align: center;
    }


    .access-panel {
        width: min(100%, 430px);
        margin: 0 auto;
    }

}

@media (max-width: 560px) {

    .landing-home {
        gap: 34px;
        padding: 44px 0 56px;
    }


    h1 {
        font-size: clamp(3.1rem, 17vw, 4.8rem);
    }


    .access-panel {
        padding: 23px;
    }


    .flash-message {
        top: 80px;
    }

}


/* Compteurs sobres de l'accueil, visibles uniquement en session. */
.home-hand-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
}


.home-hand-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
    padding: 10px 12px;
    border: 1px solid rgba(137, 163, 193, .16);
    border-radius: 10px;
    background: rgba(7, 15, 24, .45);
}


.home-hand-stat strong {
    color: #e3edf8;
    font-size: 1.12rem;
    font-variant-numeric: tabular-nums;
}


.home-hand-stat span {
    margin-top: 3px;
    color: var(--muted);
    font-size: .67rem;
    font-weight: 750;
}

@media (max-width: 650px) {

    .home-hand-stats {
        grid-template-columns: 1fr;
    }

}
