/* ===== LEGAL PAGES (Mentions / Privacy / CGU) ===== */

.legal-page {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.7;
    color: #2c2c2c;
    font-size: 16px;
}

.legal-page h1 {
    font-size: 32px;
    margin-bottom: 25px;
    font-weight: 700;
    color: #111;
}

.legal-page h2 {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #1a1a1a;
    border-left: 4px solid #2a7fff;
    padding-left: 12px;
}

.legal-page h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.legal-page p {
    margin-bottom: 15px;
}

.legal-page ul {
    margin: 15px 0 20px 20px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page a {
    color: #2a7fff;
    text-decoration: none;
    font-weight: 500;
}

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

.legal-note {
    background: #f5f8ff;
    border-left: 4px solid #2a7fff;
    padding: 15px;
    margin-top: 20px;
    font-size: 13px;
    text-align: center;
    color: #666;
}

.legal-warning {
    background: #fff4f4;
    border-left: 4px solid #ff4d4d;
    padding: 15px;
    margin-top: 30px;
    font-size: 14px;
}

.legal-page input,
.legal-page textarea,
.legal-page select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.legal-page input:focus,
.legal-page textarea:focus,
.legal-page select:focus {
    outline: none;
    border-color: #2a7fff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42, 127, 255, 0.15);
}

.legal-page button[type="submit"] {
    background: #2a7fff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.legal-page button[type="submit"]:hover {
    background: #1f66cc;
}

#responseMessage {
    margin-top: 10px;
    font-size: 14px;
    color: #2a7fff;
}

.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.footer-link-btn:hover {
    text-decoration: underline;
}

.hero-remboursement {
    text-align: left;
    margin: 3rem 0 2rem;
}

.hero-badges {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #2a7fff;
}

@media (max-width: 768px) {
    .legal-page {
        margin: 40px auto;
        font-size: 15px;
    }

    .legal-page h1 {
        font-size: 26px;
    }

    .legal-page h2 {
        font-size: 20px;
    }

}