﻿/* ============================================================
   LEGAL / PRIVACY POLICY — STYLES
   Le Mas de Louise
============================================================ */

/* ── LAYOUT GÉNÉRAL ── */
.legal-main {
    padding-top: 0;
}

/* ── BANNIÈRE ── */
.legal-banner {
    position: relative;
    min-height: 52vh;
    background-color: #1B2744;
    display: flex;
    align-items: flex-end;
    padding-bottom: 72px;
    overflow: hidden;
}

.legal-banner::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background:
        linear-gradient(135deg, #0f1a30 0%, #1B2744 50%, #243060 100%);
    opacity: 0.95;
}

/* Motif décoratif discret */
.legal-banner::after {
    content: "Mas de Louise";
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-family: "Playfair Display", serif;
    font-size: clamp(80px, 12vw, 160px);
    color: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.legal-banner-inner {
    position: relative;
    z-index: 1;
    padding: 0 clamp(24px, 8vw, 120px);
    max-width: 900px;
}

.legal-banner-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 400;
    color: #ffffff;
    margin: 12px 0 16px;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.legal-banner-date {
    font-family: "Jost", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    margin: 0;
}

/* ── INTRO ── */
.legal-intro {
    padding: 64px clamp(24px, 8vw, 120px) 0;
    max-width: 820px;
}

.legal-intro p {
    font-family: "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.9;
    color: #6B7A8D;
    margin: 0;
}

/* ── CONTENU PRINCIPAL ── */
.legal-content {
    padding: 0 clamp(24px, 8vw, 120px) 100px;
}

/* ── ARTICLES ── */
.legal-article {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 32px;
    padding: 56px 0;
    border-bottom: 1px solid rgba(27, 39, 68, 0.09);
    max-width: 860px;
}

.legal-article:last-of-type {
    border-bottom: none;
}

.legal-article-num {
    font-family: "Jost", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: #C5B49A;
    padding-top: 8px;
    text-align: right;
}

.legal-article-body h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    font-weight: 400;
    color: #1B2744;
    margin: 0 0 24px;
    letter-spacing: 0.01em;
}

.legal-article-body h3 {
    font-family: "Jost", sans-serif;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #1B2744;
    margin: 32px 0 12px;
}

.legal-article-body p {
    font-family: "Inter", sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.85;
    color: #6B7A8D;
    margin: 0 0 16px;
}

.legal-article-body ul {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.legal-article-body li {
    font-family: "Inter", sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.85;
    color: #6B7A8D;
    margin-bottom: 6px;
}

.legal-article-body a {
    color: #1B2744;
    text-decoration: underline;
    text-decoration-color: rgba(27, 39, 68, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.legal-article-body a:hover {
    text-decoration-color: #1B2744;
}

.legal-article-body address {
    font-style: normal;
    font-family: "Inter", sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 2;
    color: #6B7A8D;
    border-left: 2px solid #C5B49A;
    padding-left: 20px;
    margin: 20px 0;
}

/* ── TABLEAU ── */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.legal-table th {
    font-family: "Jost", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: #1B2744;
    text-align: left;
    padding: 12px 16px;
    background: rgba(27, 39, 68, 0.04);
    border-bottom: 1px solid rgba(27, 39, 68, 0.12);
}

.legal-table td {
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 300;
    color: #6B7A8D;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(27, 39, 68, 0.06);
    line-height: 1.6;
}

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

/* ── NOTE BAS DE PAGE ── */
.legal-footer-note {
    max-width: 860px;
    padding: 48px 0 0;
    margin-top: 8px;
    border-top: 1px solid rgba(27, 39, 68, 0.09);
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.legal-footer-note p {
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: #8A94A6;
    margin: 0;
}

.legal-footer-note a {
    color: #8A94A6;
    text-decoration: underline;
    text-decoration-color: rgba(138, 148, 166, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.legal-footer-note a:hover {
    color: #1B2744;
    text-decoration-color: rgba(27, 39, 68, 0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .legal-article {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 40px 0;
    }

    .legal-article-num {
        text-align: left;
        padding-top: 0;
    }

    .legal-banner {
        min-height: 44vh;
        padding-bottom: 48px;
    }

    .legal-table th,
    .legal-table td {
        padding: 10px;
        font-size: 0.82rem;
    }

    .legal-footer-note {
        flex-direction: column;
    }
}
