/**
 * Le Tour de Moi - Page: Mentions Légales
 */

.legal-page {
    padding: 6rem 0 10rem;
    background-color: #FAFAFA;
}

/* --- INTRODUCTION --- */
.legal-intro {
    max-width: 900px;
    margin-bottom: 5rem;
}

.legal-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--clr-primary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.legal-title {
    font-size: clamp(2.5rem, 4.2vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.legal-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(20, 20, 20, 0.65);
    max-width: 700px;
}

/* --- SOMMAIRE --- */
.legal-summary {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--clr-border);
    margin-bottom: 5rem;
    max-width: 900px;
}

.legal-summary-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--clr-text-main);
}

.legal-summary ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
}

.legal-summary a {
    font-size: 0.95rem;
    color: var(--clr-text-main);
    text-decoration: none;
    transition: color var(--transition-base);
}

.legal-summary a:hover {
    color: var(--clr-primary);
}

/* --- CONTENU --- */
.legal-content {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 4rem;
    scroll-margin-top: 120px;
}

.legal-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--clr-text-main);
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--clr-text-main);
    opacity: 0.8;
    margin-bottom: 1.25rem;
}

.legal-section ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.legal-section li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--clr-text-main);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.legal-definition-list {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-definition-list dt {
    font-weight: 700;
    color: var(--clr-text-main);
    font-size: 0.95rem;
}

.legal-definition-list dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--clr-text-main);
    opacity: 0.8;
}

/* --- TABLEAUX --- */
.legal-table-wrap {
    overflow-x: auto;
    margin-bottom: 2rem;
    border: 1px solid var(--clr-border);
    border-radius: 8px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
    min-width: 600px;
}

.legal-table th,
.legal-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--clr-border);
}

.legal-table th {
    background-color: rgba(0, 0, 0, 0.02);
    font-weight: 700;
    color: var(--clr-text-main);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

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

.legal-table td {
    color: var(--clr-text-main);
    opacity: 0.8;
    line-height: 1.5;
}

.legal-section a {
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 600;
}

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

.legal-update {
    margin-top: 6rem;
    font-size: 0.9rem;
    color: var(--clr-text-main);
    opacity: 0.5;
    font-style: italic;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .legal-page {
        padding: 4rem 0;
    }

    .legal-intro {
        margin-bottom: 3rem;
    }

    .legal-summary {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .legal-summary ul {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .legal-definition-list {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        margin-bottom: 1.5rem;
    }

    .legal-definition-list dt {
        margin-top: 0.75rem;
    }
}
