/* Carte CGU */
article {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px var(--card-shadow);
}

/* Titre principal */
article h1 {
    font-size: 1.6rem; /* mobile-friendly */
    text-align: left;
    margin-bottom: 1rem;
    color: var(--color-primary);
    line-height: 1.3;
}

/* Date de mise à jour */
.cgu-date {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 1.8rem;
}

/* Titres de sections */
article h2 {
    margin-top: 1.8rem;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 0.5rem;
    line-height: 1.3;
}

/* Paragraphes */
article p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Liens */
article a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}
article a:hover {
    text-decoration: underline;
    opacity: .8;
}

/* Footer */
.cgu-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-primary-light);
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-muted);
}

/* ---------------------------------------------- */
/* ----------- TABLETTE (medium size) ----------- */
/* ---------------------------------------------- */

@media (min-width: 600px) {
    article {
        padding: 2rem;
        border-radius: var(--radius-lg);
    }

    article h1 {
        font-size: 1.9rem;
        text-align: center;
    }

    .cgu-date {
        text-align: center;
    }

    article h2 {
        font-size: 1.4rem;
    }

    article p {
        font-size: 1.05rem;
    }
}

/* ---------------------------------------------- */
/* -------------- DESKTOP LARGE ----------------- */
/* ---------------------------------------------- */

@media (min-width: 900px) {
    .cgu-wrapper {
        padding-block: 2rem;
        display: flex;
        justify-content: center;
    }

    article {
        max-width: 900px;
        padding: 2.5rem 3rem;
        box-shadow: 0 8px 24px var(--card-shadow);
    }

    article h1 {
        font-size: 2.2rem;
    }

    article h2 {
        font-size: 1.55rem;
    }

    article p {
        font-size: 1.1rem;
        line-height: 1.85;
    }
}