/* ============================================================
   ACCUEIL : compteurs, mod à la une, liste compacte, badges
   ============================================================ */

/* ---------- Compteurs animés ---------- */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 44px;
    margin-top: 34px;
    animation: fondu 1s 1.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-nombre {
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--couleur-doux);
}

/* ---------- Mod à la une ---------- */
.une-zone {
    padding: 0 24px;
}

.une-zone:empty {
    display: none;
}

.une {
    position: relative;
    display: flex;
    align-items: flex-end;
    max-width: 1200px;
    min-height: 420px;
    margin: 0 auto 40px;
    border-radius: var(--rayon);
    overflow: hidden;
    background: #222;
    color: #fff;
    animation: fondu .9s .2s both;
}

.une>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}

.une:hover>img {
    transform: scale(1.04);
}

.une-voile {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .35) 45%, transparent 75%);
}

.une-texte {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 40px;
}

.une-texte h2 {
    font-family: var(--police-titre);
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 12px;
}

.une-texte p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
}

.une .tag {
    color: rgba(255, 255, 255, .7);
}

.badge-une {
    padding: 3px 10px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.btn-blanc {
    background: #fff;
    color: #111;
}

/* ---------- Badge « Ancienne version » ---------- */
.badge-ancien {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 176, 32, .16);
    border: 1px solid rgba(217, 138, 0, .5);
    color: #d98a00;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------- Affichage en liste compacte ---------- */
.liste.compacte .showcase {
    grid-template-columns: 190px 1fr;
    min-height: 0;
    margin-bottom: 14px;
}

.liste.compacte .showcase-image {
    min-height: 128px;
}

.liste.compacte .showcase-texte {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 18px 24px;
}

.liste.compacte .showcase-texte>div:first-child {
    flex: 0 0 210px;
}

.liste.compacte .showcase-texte>div:last-child {
    flex: 1;
}

.liste.compacte .showcase-texte h2 {
    font-size: 20px;
}

.liste.compacte .showcase-texte p {
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.liste.compacte .coeur {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
}

.liste.compacte .coeur svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 800px) {
    .liste.compacte .showcase {
        grid-template-columns: 110px 1fr;
    }

    .liste.compacte .showcase-texte {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }

    .liste.compacte .showcase-texte>div:first-child {
        flex: none;
    }

    .une {
        min-height: 340px;
    }

    .une-texte {
        padding: 26px;
    }
}