/* ════════════════════════════════════════════════
   mentions.css — Mentions légales
   ════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────── */
.ml-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 72px 0 56px;
    text-align: center;
}

.ml-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 999px;
    padding: 5px 16px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ml-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 14px;
    color: #fff;
}

.ml-hero p {
    font-size: 1.05rem;
    opacity: .88;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Layout ────────────────────────────────────── */
.ml-main {
    padding: 60px 0 80px;
    background: #f8f9fc;
}

.ml-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
}

/* ── Sommaire (TOC) ─────────────────────────────── */
.ml-toc {
    position: sticky;
    top: 140px;
}

.ml-toc-inner {
    background: #fff;
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    border: 1px solid #eaedf3;
}

.ml-toc-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ml-toc nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ml-toc nav a {
    font-size: .82rem;
    color: #555;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 7px;
    line-height: 1.35;
    transition: background .15s, color .15s;
}

.ml-toc nav a:hover,
.ml-toc nav a.ml-toc-active {
    background: #f0fbfc;
    color: var(--primary);
}

.ml-toc nav a.ml-toc-active {
    font-weight: 600;
    background: linear-gradient(90deg, #e0f6f8 0%, #f0fbfc 100%);
    border-left: 3px solid var(--primary);
    padding-left: 7px;
}

/* ── Content ────────────────────────────────────── */
.ml-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Section ────────────────────────────────────── */
.ml-section {
    background: #fff;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid #eaedf3;
    scroll-margin-top: 140px;
}

.ml-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f4f8;
}

.ml-section-num {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
	background: rgba(0,174,188,.10);
	color: var(--primary);
	border-radius: 10px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
	
	
}

.ml-section-header h2 {
    font-size: 16px; ;
	font-family: MontserratBold;
    color: #1a2a3a;
    margin: 0;
}

.ml-section p {
    color: #555;
    line-height: 1.7;
    margin: 0 0 14px;
    font-size: .95rem;
}

.ml-section p:last-child {
    margin-bottom: 0;
}

.ml-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 22px 0 10px;
}

/* ── Card (info table) ──────────────────────────── */
.ml-card {
    border: 1px solid #e8ecf4;
    border-radius: 12px;
    overflow: hidden;
    margin: 18px 0;
}

.ml-card-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 12px;
    padding: 13px 18px;
    font-size: .9rem;
    align-items: start;
    border-bottom: 1px solid #f0f4f8;
}

.ml-card-row:last-child {
    border-bottom: none;
}

.ml-card-row:nth-child(even) {
    background: #f9fafc;
}

.ml-card-label {
    font-weight: 600;
    color: #444;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ml-card-label i {
    color: var(--primary);
    width: 14px;
    text-align: center;
}

.ml-card-row span:last-child {
    color: #555;
    line-height: 1.5;
}

.ml-card-row a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.ml-card-row a:hover {
    text-decoration: underline;
}

/* ── RGPD rights grid ───────────────────────────── */
.ml-rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0;
}

.ml-right-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: #f8f9fc;
    border: 1px solid #eaedf3;
    border-radius: 12px;
    padding: 16px 18px;
}

.ml-right-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.ml-right-item strong {
    font-size: .9rem;
    color: var(--text-dark);
    font-weight: 700;
}

.ml-right-item span {
    font-size: .8rem;
    color: #666;
    line-height: 1.4;
}

/* ── Cookie table ───────────────────────────────── */
.ml-table-wrap {
    overflow-x: auto;
    margin: 18px 0;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
}

.ml-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.ml-table thead tr {
    background: #f0f4f8;
}

.ml-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #555;
    border-bottom: 2px solid #e0e6ef;
}

.ml-table td {
    padding: 12px 16px;
    color: #555;
    border-bottom: 1px solid #f0f4f8;
    vertical-align: middle;
    line-height: 1.5;
}

.ml-table tbody tr:last-child td {
    border-bottom: none;
}

.ml-table tbody tr:nth-child(even) td {
    background: #f9fafc;
}

.ml-table code {
    background: #f0f4f8;
    border: 1px solid #dde3ee;
    border-radius: 5px;
    padding: 2px 7px;
    font-family: 'Courier New', monospace;
    font-size: .83rem;
    color: var(--primary-dark);
}

/* ── Badges ─────────────────────────────────────── */
.ml-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.ml-badge-green {
    background: #e6f7ed;
    color: #1a8a52;
}

.ml-badge-blue {
    background: #e8f0fb;
    color: #2c5fb3;
}

/* ── Lists ──────────────────────────────────────── */
.ml-list {
    list-style: none;
    padding: 0;
    margin: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ml-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .92rem;
    color: #555;
    line-height: 1.55;
}

.ml-list li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

/* ── Notices ─────────────────────────────────────── */
.ml-notice {
    /*display: flex;*/
    /*align-items: flex-start;*/
    /*gap: 12px;*/
    background: #f0fbfc;
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    font-size: .88rem;
    color: #444;
    line-height: 1.6;
    margin-top: 18px;
}

.ml-notice i {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 1rem;
}

.ml-notice-warning {
    background: #fff8f0;
    border-left-color: #e07c2a;
}

.ml-notice-warning i {
    color: #e07c2a;
}

/* ── Update date ─────────────────────────────────── */
.ml-update {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f4f8;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: .82rem;
    color: #666;
    margin-top: 20px;
}

.ml-update i {
    color: var(--primary);
}

/* ── Section links ──────────────────────────────── */
.ml-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.ml-section a:hover {
    text-decoration: underline;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
    .ml-layout {
        grid-template-columns: 1fr;
    }

    .ml-toc {
        position: static;
    }

    .ml-toc-inner {
        padding: 16px 18px;
    }

    .ml-toc nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }

    .ml-toc nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 700px) {
    .ml-hero {
        padding: 52px 0 40px;
    }

    .ml-section {
        padding: 24px 20px;
    }

    .ml-card-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .ml-card-label {
        white-space: normal;
    }

    .ml-rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ml-rights-grid {
        grid-template-columns: 1fr;
    }

    .ml-section-num {
        width: 36px;
        height: 36px;
        font-size: .72rem;
    }
}