/* ============================================================
   CGU — Feuille de style modernisée
   Charte : rose #e971ab, radius 10px, ombres douces, Open Sans
   ============================================================ */

body {
    padding: 0;
    margin: 0;
    background: #f1efeb;
    font-family: Poppins, Arial, sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* ---------- Titres ---------- */

h1 {
    font-size: 1.6em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin: 0 0 10px;
    padding-bottom: 15px;
    position: relative;
}

/* Petit soulignement rose sous le H1 */
h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #e971ab;
    border-radius: 2px;
    margin: 12px auto 0;
}

h2 {
    font-size: 1.2em;
    font-weight: 600;
    color: #e971ab;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #e971ab;
}

h3 {
    font-size: 0.95em;
    font-weight: 600;
    color: #666;
    margin: 20px 0;
}

/* ---------- Conteneurs ---------- */

.content {
    text-align: justify;
    padding: 30px 40px;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

.cadre {
    background: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 15px #aaa;
    padding: 30px 40px;
    margin-bottom: 25px;
    line-height: 1.7;
    transition: box-shadow 0.25s ease;
}

.cadre:hover {
    box-shadow: 0 0 20px #999;
}

.texte {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px #aaa;
    padding: 25px 40px;
    line-height: 1.7;
}

/* ---------- Confort de lecture ---------- */

.content p {
    margin: 0 0 14px;
}

.content a {
    color: #e971ab;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.content a:hover {
    border-bottom-color: #e971ab;
}

.content ul,
.content ol {
    padding-left: 25px;
    line-height: 1.7;
}

.content li {
    margin-bottom: 6px;
}

/* ---------- Tablette (768px – 979px) ---------- */
@media screen and (min-width: 768px) and (max-width: 979px) {

    .content {
        width: 90%;
        padding: 25px 20px;
    }

    .cadre,
    .texte {
        padding: 25px 30px;
    }
}

/* ---------- Mobile (≤ 767px) ---------- */
@media screen and (max-width: 767px) {

    .content {
        width: 95%;
        padding: 20px 0;
    }

    .cadre,
    .texte {
        padding: 20px 15px;
        border-radius: 10px;
    }

    h1 {
        font-size: 1.3em;
    }

    h2 {
        font-size: 1.1em;
    }

    h3 {
        font-size: 0.9em;
    }
}

/* ---------- Grand écran (≥ 1600px) ---------- */
@media screen and (min-width: 1600px) {

    .content {
        max-width: 1100px;
    }
}