/* ============================================================
   AKTIVA NUMÉRIQUE — STYLES PAGES LÉGALES
   (mentions-legales, cgv, confidentialite)
   ============================================================ */

.legal-hero {
    background: var(--sable-tres-clair);
    padding: 4rem 2rem 3rem;
    border-bottom: 1px solid rgba(27, 58, 92, 0.08);
}
.legal-hero-inner {
    max-width: 820px;
    margin: 0 auto;
}
.legal-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.legal-title {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: clamp(2rem, 3.8vw, 2.85rem);
    line-height: 1.15;
    color: var(--bleu-profond);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}
.legal-title em { font-style: italic; font-weight: 300; }
.legal-meta {
    font-size: 0.88rem;
    color: var(--gris-doux);
    padding-top: 1.25rem;
    border-top: 1px solid rgba(27, 58, 92, 0.12);
    margin-top: 1.5rem;
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    font-family: var(--font-lecture);
}
.legal-content h2 {
    font-family: var(--font-titre);
    font-weight: 400;
    font-size: 1.65rem;
    color: var(--bleu-profond);
    margin-top: 2.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h2 em { font-style: italic; font-weight: 300; }
.legal-content h3 {
    font-family: var(--font-titre);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--bleu-profond);
    margin-top: 1.75rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}
.legal-content p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--gris-texte);
    margin-bottom: 1.2rem;
}
.legal-content p strong { font-weight: 500; color: var(--bleu-profond); }
.legal-content ul {
    margin-bottom: 1.4rem;
    padding-left: 1.5rem;
}
.legal-content ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gris-texte);
    margin-bottom: 0.35rem;
}
.legal-content ul li::marker { color: var(--terracotta); }
.legal-content a {
    color: var(--bleu-profond);
    text-decoration: underline;
    text-decoration-color: var(--terracotta);
    text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--terracotta); }

/* Bloc d'information / encart */
.legal-info-block {
    background: var(--sable-tres-clair);
    border-left: 3px solid var(--terracotta);
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    border-radius: 0 3px 3px 0;
}
.legal-info-block p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}
.legal-info-block p:last-child { margin-bottom: 0; }
.legal-info-block strong { color: var(--bleu-profond); }

/* Liste d'identification (clé : valeur) */
.legal-id-list {
    background: var(--blanc);
    border: 1px solid var(--sable);
    border-radius: 4px;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0 2rem;
    list-style: none !important;
    padding-left: 2rem !important;
}
.legal-id-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--sable);
    font-size: 0.98rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0 !important;
}
.legal-id-list li::marker { content: none !important; }
.legal-id-list li:last-child { border-bottom: none; }
.legal-id-list strong {
    display: inline-block;
    min-width: 180px;
    color: var(--bleu-profond);
}

/* Tableau RGPD pour la politique de confidentialité */
.rgpd-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    background: var(--blanc);
    border: 1px solid var(--sable);
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.95rem;
}
.rgpd-table th,
.rgpd-table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--sable);
    vertical-align: top;
}
.rgpd-table th {
    background: var(--bleu-profond);
    color: var(--blanc);
    font-family: var(--font-titre);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.rgpd-table tr:last-child td { border-bottom: none; }
.rgpd-table tr:nth-child(even) td { background: var(--sable-tres-clair); }

@media (max-width: 640px) {
    .legal-id-list strong { display: block; min-width: 0; margin-bottom: 0.25rem; }
    .rgpd-table { font-size: 0.85rem; }
    .rgpd-table th, .rgpd-table td { padding: 0.6rem 0.8rem; }
}
