/* ---- PAGE DIFFICULTÉS SOIGNÉES ---- */
.page-header {
    padding: clamp(8rem, 14vw, 11rem) 0 clamp(3rem, 6vw, 5rem);
}
.page-header h1 { font-weight: 300; margin-bottom: 0.3rem; }
.page-header .subtitle {
    font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic; font-weight: 300; color: var(--sauge);
}

.diff-intro {
    padding: 0 0 var(--section-y);
}

.diff-intro-text {
    max-width: 650px;
}

.diff-intro-text p {
    font-size: 1.05rem;
    line-height: 2;
}

.diff-intro-text p:first-of-type {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--encre);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* Groupes thématiques */
.theme-group {
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: 1px solid var(--sable);
}

.theme-group:first-of-type { border-top: none; }

.theme-header {
    display: grid;
    grid-template-columns: 0.3fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.theme-label {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--encre);
    line-height: 1.3;
    position: sticky;
    top: 120px;
}

.theme-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.diff-card {
    padding: 2rem;
    background: var(--blanc);
    border: 1px solid rgba(234, 207, 180, 0.4);
    border-radius: var(--radius);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.diff-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    transition: width 0.5s var(--ease-out);
}

.diff-card:hover::before { width: 100%; }

.theme-group:nth-child(odd) .diff-card::before { background: var(--sauge-clair); }
.theme-group:nth-child(even) .diff-card::before { background: var(--terracotta-doux); }

.diff-card:hover {
    box-shadow: 0 6px 30px var(--ombre-douce);
    transform: translateY(-2px);
}

.diff-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.diff-card p {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.diff-card .diff-detail {
    font-size: 0.8rem;
    color: var(--terracotta);
    font-style: italic;
    margin-bottom: 0.7rem;
    display: block;
}

.diff-card--wide {
    grid-column: 1 / -1;
}

/* Note bas de page */
.diff-note {
    padding: clamp(3rem, 6vw, 5rem) 0;
    text-align: center;
    border-top: 1px solid var(--sable);
}

.diff-note p {
    max-width: 520px;
    margin: 0 auto;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-style: italic;
    font-weight: 300;
    color: var(--encre);
    line-height: 1.7;
}

.diff-note .btn { margin-top: 2rem; }

@media (max-width: 900px) {
    .theme-header {
        grid-template-columns: 1fr;
    }

    .theme-label { position: static; margin-bottom: 0; }

    .theme-items {
        grid-template-columns: 1fr;
    }

    .diff-card--wide {
        grid-column: auto;
    }
}
