/* =========================================================================
   Allopass — Legal pages stylesheet
   Used by cgv.html, mentions-legales.html, politique-de-cookies.html
   Harmonized with the site's existing design tokens (style.css).
   ========================================================================= */

/* HERO --------------------------------------------------------------------- */
.legal-hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: var(--bg-light, #f8fafc);
    border-bottom: 1px solid var(--border-light, #f1f5f9);
    overflow: hidden;
}
.legal-hero .section-header { position: relative; z-index: 2; }
.legal-hero .section-title  { margin-top: 0.5rem; }
.legal-updated {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted, #94a3b8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* CONTENT ------------------------------------------------------------------ */
.legal-content-section {
    padding: 4rem 0 6rem;
    background: var(--bg-white, #fff);
}
.legal-article {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-body, #475569);
    font-size: 1.0625rem;
    line-height: 1.75;
}
.legal-article h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark, #0f172a);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary, #2563eb);
    display: inline-block;
}
.legal-article h2:first-child { margin-top: 0; }
.legal-article h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark, #1d4ed8);
    font-size: 1.125rem;
    font-weight: 600;
}
.legal-article p {
    margin: 0 0 1rem;
}
.legal-article a {
    color: var(--primary, #2563eb);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease;
}
.legal-article a:hover { border-bottom-color: var(--primary, #2563eb); }
.legal-article strong { color: var(--text-dark, #0f172a); font-weight: 600; }

/* LISTS -------------------------------------------------------------------- */
.legal-article .legal-list {
    margin: 0.5rem 0 1.5rem;
    padding-left: 0;
    list-style: none;
}
.legal-article .legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}
.legal-article .legal-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.65rem;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold, #d4af37);
}

/* MAIN WRAPPER ------------------------------------------------------------- */
.legal-page-main {
    background: var(--bg-white, #fff);
}

/* RESPONSIVE --------------------------------------------------------------- */
@media (max-width: 768px) {
    .legal-hero { padding: 6rem 0 3rem; }
    .legal-content-section { padding: 2.5rem 0 4rem; }
    .legal-article { font-size: 1rem; line-height: 1.7; }
    .legal-article h2 { font-size: 1.25rem; margin-top: 2.25rem; }
}
