/* STYLES POUR LES PAGES LÉGALES */

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f9f9f9;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-container {
    flex: 1;
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    padding: 40px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.legal-container h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid #000;
    padding-bottom: 20px;
}

.legal-container h2 {
    font-size: 1.3rem;
    color: #444;
    margin-top: 35px;
    margin-bottom: 15px;
    border-left: 4px solid #000;
    padding-left: 15px;
}

.legal-container p {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
}

.legal-container ul {
    margin: 20px 0;
    padding-left: 40px;
}

.legal-container ul li {
    margin: 10px 0;
    color: #555;
    line-height: 1.6;
}

.legal-container strong {
    color: #333;
    font-weight: 600;
}

.update-date {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

/* FOOTER AVEC LIENS */
.footer-wood {
    position: relative;
    margin-top: auto;
    color: #000;
    text-align: center;
    font-family: "Arial", sans-serif;
    overflow: hidden;
}

.footer-wave {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.footer-wave img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    clip-path: polygon(
        0% 15%, 
        2% 14%, 4% 13%, 6% 12%, 8% 12%, 10% 13%, 12% 14%, 14% 15%,
        15% 16%, 16% 17%, 17% 19%, 18% 21%, 19% 23%, 20% 24%, 21% 23%, 22% 21%, 23% 19%, 24% 17%, 25% 16%,
        27% 15%, 29% 16%, 31% 18%, 33% 21%, 35% 23%, 37% 24%, 39% 23%, 41% 21%, 43% 18%, 45% 16%, 47% 15%,
        49% 16%, 51% 18%, 53% 21%, 55% 23%, 57% 24%, 59% 23%, 61% 21%, 63% 18%, 65% 16%, 67% 15%,
        69% 16%, 71% 18%, 73% 21%, 75% 23%, 77% 24%, 79% 23%, 81% 21%, 83% 18%, 85% 16%, 87% 15%,
        89% 16%, 91% 18%, 93% 21%, 95% 23%, 97% 24%, 99% 23%,
        100% 20%, 100% 100%, 0% 100%
    );
}

.footer-content-wrapper {
    background: linear-gradient(to bottom, rgba(200, 150, 100, 0.3), rgba(139, 90, 43, 0.5));
    padding: 40px 20px 30px;
    position: relative;
    z-index: 1;
}

.footer-content-wrapper h3 {
    font-size: 1.3rem;
    margin: 15px 0;
    color: #333;
}

.footer-content-wrapper p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #444;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    padding-bottom: 2px;
}

.footer-links a:hover {
    border-bottom: 2px solid #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .legal-container {
        margin: 20px auto;
        padding: 25px;
    }

    .legal-container h1 {
        font-size: 1.5rem;
    }

    .legal-container h2 {
        font-size: 1.1rem;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .legal-container {
        margin: 15px auto;
        padding: 20px;
        border-radius: 4px;
    }

    .legal-container h1 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }

    .legal-container h2 {
        font-size: 1rem;
        margin-top: 25px;
    }

    .legal-container p {
        font-size: 0.95rem;
    }

    .legal-container ul {
        padding-left: 25px;
    }

    .footer-links {
        gap: 10px;
        flex-direction: column;
    }

    .footer-links a {
        display: block;
        font-size: 0.8rem;
    }
}
