/* ══════════════════════════════════════════════
   legal.css — Pages légales (privacy, cookies, CGU)
   ══════════════════════════════════════════════ */

/* ── Hero rouge ── */
.legal-hero {
    background: #c40018;
    padding: 52px 0 40px;
    text-align: center;
}
.legal-hero-title {
    color: #fff !important;
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: none !important;
    margin: 0 0 10px;
    letter-spacing: .03em;
}
.legal-hero-sub {
    color: rgba(255,255,255,.75);
    font-size: 1.3rem;
    margin: 0;
}

/* ── Contenu principal ── */
.legal-main {
    background: #f9f9f9;
    padding: 50px 0 70px;
}

/* ── Bloc de section ── */
.legal-block {
    background: #fff;
    border-radius: 8px;
    border-left: 4px solid #c40018;
    padding: 28px 30px 22px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.legal-block h2 {
    color: #c40018 !important;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 16px;
    text-shadow: none !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.legal-block h3 {
    color: #333 !important;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 0 10px;
    text-shadow: none !important;
}
.legal-block p {
    color: #444;
    font-size: 1.35rem;
    line-height: 1.7;
    margin-bottom: 12px;
}
.legal-block address {
    color: #444;
    font-size: 1.35rem;
    line-height: 1.8;
    font-style: normal;
    margin-bottom: 12px;
    padding: 14px 18px;
    background: #f5f5f5;
    border-radius: 6px;
}
.legal-block a {
    color: #c40018;
    text-decoration: underline;
}
.legal-block a:hover {
    color: #900010;
}
.legal-block code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 1.2rem;
    color: #333;
}

/* ── Liste légale ── */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
}
.legal-list li {
    color: #444;
    font-size: 1.35rem;
    line-height: 1.7;
    padding: 6px 0 6px 22px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}
.legal-list li:last-child {
    border-bottom: none;
}
.legal-list li::before {
    content: '›';
    color: #c40018;
    font-size: 1.6rem;
    font-weight: 700;
    position: absolute;
    left: 4px;
    top: 4px;
    line-height: 1.5;
}
.legal-list li a {
    color: #c40018;
    text-decoration: underline;
}

/* ── Tableau légal ── */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 8px;
    font-size: 1.25rem;
}
.legal-table thead tr {
    background: #c40018;
    color: #fff;
}
.legal-table thead th {
    padding: 10px 14px;
    font-weight: 600;
    text-align: left;
    border: none;
}
.legal-table tbody tr:nth-child(odd) {
    background: #fafafa;
}
.legal-table tbody tr:nth-child(even) {
    background: #fff;
}
.legal-table tbody td {
    padding: 9px 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
}

/* ── Navigation entre documents légaux ── */
.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px solid #f0f0f0;
    justify-content: center;
}
.btn-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 2px solid #c40018;
    color: #c40018 !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s, color .2s;
}
.btn-legal-link:hover {
    background: #c40018;
    color: #fff !important;
    text-decoration: none !important;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .legal-hero-title { font-size: 2.4rem; }
    .legal-main { padding: 30px 0 50px; }
    .legal-block { padding: 20px 18px 16px; }
    .legal-table { font-size: 1.1rem; }
    .legal-table thead th,
    .legal-table tbody td { padding: 8px 10px; }
    .btn-legal-link { font-size: 1.15rem; padding: 9px 16px; }
}

/* ── Bandeau notice langue ── */
.legal-lang-notice {
    background: #fff8e1;
    border-left: 4px solid #f59e0b;
    padding: 12px 20px;
    font-size: 1.35rem;
    color: #7a5c00;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.legal-lang-notice a {
    color: #c40018;
    font-weight: 600;
}
