/* ---- cgu.css (Fichier dédié aux Conditions Générales d'Utilisation) ---- */

/* Variables pour la cohérence des couleurs avec la landing page */
:root {
    --color-cream: #FAF9F6; /* Fond crème */
    --color-forest-green: #1B5E20; /* Vert Forêt pour titres et accents */
    --color-text-dark: #333; /* Texte de lecture */
    --color-text-light: #555; /* Texte secondaire */
    --color-light-green: #388E3C; /* Vert Clair pour les accents */
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--color-cream);
    color: var(--color-text-dark);
    line-height: 1.6;
}

/* Conteneur principal et mise en page */
.content-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05); /* Légère ombre pour mettre en valeur */
    border-radius: 8px;
}

/* Introduction (utilisé dans les CGU) */
.introduction {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--color-text-light);
}

/* En-têtes */
h1 {
    font-size: 2.5em;
    color: var(--color-forest-green);
    text-align: center;
    border-bottom: 2px solid var(--color-forest-green);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.8em;
    color: var(--color-forest-green);
    margin-top: 40px;
    border-left: 5px solid var(--color-forest-green);
    padding-left: 10px;
}

h3 { /* Pour la cohérence avec les Mentions Légales si elles sont utilisées */
    font-size: 1.3em;
    color: var(--color-text-dark);
    margin-top: 25px;
}

/* Blocs d'information */
.info-block {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 3px solid var(--color-text-light);
}

.info-block p {
    margin: 8px 0;
}

/* Listes */
ul {
    padding-left: 20px;
    list-style-type: disc;
    color: var(--color-text-dark);
    margin-bottom: 15px;
}

li {
    margin-bottom: 5px;
}


/* Liens (hyperliens et retour) */
a {
    color: var(--color-forest-green);
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-light-green);
}

.header-back {
    padding: 20px;
    background-color: transparent;
    text-align: left;
}

.back-link {
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1em;
}

/* Pied de page (reprise du style transparent) */
.main-footer {
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
    background-color: transparent;
    color: var(--color-text-light);
}

/* Réactivité */
@media (max-width: 800px) {
    .content-container {
        margin: 20px;
        padding: 20px;
    }
    h1 {
        font-size: 2em;
    }
}