@charset "UTF-8";

/**
 * 15-legal.css
 * ------------------------------------------------------------------
 * Styles spécifiques à la page "Mentions légales" :
 *   - Tabs ancres
 *   - LegalCard (aside)
 *   - Sections de contenu (h2 + p + ul + table)
 * ------------------------------------------------------------------
 */

/* ============================================================
   Tabs (ancres scroll)
   ============================================================ */
.ttl-legal-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0;
}

.ttl-legal-tabs .nav-link {
    padding: 10px 18px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    font-family: inherit;
}

.ttl-legal-tabs .nav-link.is-active,
.ttl-legal-tabs .nav-link:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--bg);
}

/* ============================================================
   LegalCard (aside)
   ============================================================ */
.ttl-legal-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    padding: 28px;
    margin-bottom: 24px;
}

.ttl-legal-card-title {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--marine-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 14px;
}

.ttl-legal-card-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
}

.ttl-legal-card-body p {
    margin: 0 0 12px;
}

.ttl-legal-card-body p:last-child {
    margin-bottom: 0;
}

.ttl-legal-card-body a {
    color: var(--accent-magenta);
}

/* ============================================================
   Section principale (h2 + paragraphes)
   ============================================================ */
.ttl-legal-section {
    padding-top: 40px;
    padding-bottom: 80px;
    border-top: 1px solid var(--line);
    scroll-margin-top: 100px;
}

.ttl-legal-section:first-of-type {
    border-top: none;
    padding-top: 24px;
}

.ttl-legal-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.ttl-legal-content {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 70ch;
}

.ttl-legal-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 36px);
    color: var(--ink);
    line-height: 1.1;
    margin: 56px 0 20px;
    font-weight: 400;
}

.ttl-legal-content h2:first-child {
    margin-top: 0;
}

.ttl-legal-content p {
    margin: 0 0 16px;
}

.ttl-legal-content ul,
.ttl-legal-content ol {
    padding-left: 20px;
    margin: 12px 0 20px;
}

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

.ttl-legal-content a {
    color: var(--accent-magenta);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ttl-legal-content strong {
    color: var(--ink);
}

.ttl-legal-content em {
    color: var(--ink-soft);
}

/* ============================================================
   Table (cookies)
   ============================================================ */
.ttl-legal-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 16px 0 20px;
}

.ttl-legal-content thead tr {
    border-bottom: 1px solid var(--ink);
    text-align: left;
}

.ttl-legal-content th {
    padding: 10px 12px;
    font-weight: 500;
    color: var(--marine-soft);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ttl-legal-content tbody tr {
    border-bottom: 1px solid var(--line);
}

.ttl-legal-content td {
    padding: 16px 12px;
    vertical-align: top;
    color: var(--ink);
}

.ttl-legal-content td:first-child {
    font-weight: 500;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .ttl-legal-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 720px) {
    .ttl-legal-section {
        padding-bottom: 56px;
    }

    .ttl-legal-content h2 {
        margin-top: 40px;
    }
}
