/* ==========================================================================
   TOILE DIGITALE - Page récit « Le Grand Jeu de l'ARRA » (projets/grand-jeu-arra.html)
   S'appuie sur home.css + projet.css (en-tête sombre, fiche, appel à l'action).
   ========================================================================== */

.article main img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    background: var(--nuit-2);
}

/* Grande photo sous le titre, sur fond de salle obscure */
.ar-cover {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.ar-cover img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center 40%;
}

/* ---------- Le parcours en deux temps ---------- */
.ar-parcours {
    padding-bottom: clamp(4rem, 8vw, 6.5rem);
}

.ar-step {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.ar-step.is-reverse .ar-step-media {
    order: 2;
}

/* Photo de l'accroche : entière, jamais rognée (l'énigme doit rester lisible) */
.ar-step-media img {
    height: auto;
}

.ar-step-num {
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--taupe);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--taupe);
}

.ar-step-text h3 {
    margin: 1rem 0 .9rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
    color: var(--nuit);
}

.ar-step-text p {
    max-width: 32rem;
    line-height: 1.7;
}

.ar-aside {
    margin-top: 1.25rem;
    padding-left: 1rem;
    border-left: 2px solid var(--taupe);
    font-style: italic;
    color: var(--liver);
}

/* ---------- Le bilan : bandeau sombre ---------- */
.ar-bilan {
    padding-block: clamp(4rem, 8vw, 6.5rem);
    background: var(--nuit);
    color: var(--alabaster);
}

.ar-bilan-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: end;
}

.ar-bilan-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    color: var(--alabaster);
}

.ar-big {
    margin-top: 1.75rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--vanilla);
}

.ar-big strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1;
    background: linear-gradient(90deg, var(--taupe), var(--vanilla));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ar-points {
    display: grid;
    gap: 1.25rem;
    list-style: none;
}

.ar-points li {
    padding-top: 1.25rem;
    border-top: 1px solid var(--line-dark);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--vanilla);
}

/* ---------- Le mot de la fin : deux photos encadrent la citation ---------- */
.ar-fin {
    padding-block: clamp(4rem, 8vw, 6.5rem);
}

.ar-fin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
}

.ar-fin-grid img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.ar-fin-text {
    text-align: center;
}

.ar-quote {
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    line-height: 1.2;
    color: var(--nuit);
}

.ar-fin-text p:last-child {
    color: var(--liver);
}

/* ---------- Écrans étroits ---------- */
@media (max-width: 860px) {
    .ar-step,
    .ar-bilan-grid {
        grid-template-columns: 1fr;
    }

    .ar-step.is-reverse .ar-step-media {
        order: 0;
    }

    .ar-fin-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ar-fin-text {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

.ar-nowrap {
    white-space: nowrap;
}
