/* ============================================================
   LIBOTA - legal.css
   Mise en page des pages de contenu légal :
   mentions, confidentialité, cookies, conditions.
   ============================================================ */

.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(140px, 18vh, 200px) clamp(20px, 5vw, 40px) clamp(72px, 10vw, 120px);
}

.legal-maj {
    margin-bottom: 14px;
    color: var(--gris-doux);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.legal h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--encre-titre);
}

.legal-chapeau {
    margin-top: 18px;
    color: var(--gris-texte);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Bloc de section numérotée */
.legal-section {
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(23, 61, 45, 0.12);
}

.legal-section h2 {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--encre-titre);
}

.legal-section h2 .num {
    color: var(--ambre);
    font-size: 1.1rem;
}

.legal-section h3 {
    margin-top: 22px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--encre-titre);
}

.legal-section p {
    margin-top: 14px;
    color: var(--gris-texte);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-top: 14px;
    padding-left: 0;
    list-style: none;
}

.legal-section li {
    position: relative;
    padding: 7px 0 7px 22px;
    color: var(--gris-texte);
    font-size: 1rem;
    line-height: 1.7;
}

.legal-section li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--ambre);
}

.legal-section a {
    color: var(--vert-profond);
    font-weight: 600;
}

/* Tableau simple (cookies) */
.legal-table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(23, 61, 45, 0.12);
    vertical-align: top;
}

.legal-table th {
    color: var(--encre-titre);
    font-weight: 600;
    background: var(--ivoire-carte);
}

.legal-table td {
    color: var(--gris-texte);
    line-height: 1.6;
}

/* Encart de mise en avant */
.legal-encart {
    margin-top: 24px;
    padding: 22px 24px;
    background: var(--vert-profond);
    color: var(--ivoire);
    border-radius: 8px;
}

.legal-encart strong {
    color: var(--ambre-clair);
}

.legal-encart p {
    color: rgba(244, 241, 233, 0.85);
    font-size: 0.98rem;
    line-height: 1.7;
}
