/* ==========================================================
   TROGL'EAU FERTILE — Pages légales (mentions, CGV, cookies,
   rétractation)
   ========================================================== */

.legal{
    background:#fff;
    border-radius:var(--rayon,14px);
    box-shadow:var(--ombre,0 8px 22px rgba(0,0,0,.12));
    padding:38px 42px;
    margin:40px auto;
    max-width:900px;
    line-height:1.7;
    color:var(--texte,#374151);
}

.legal h2{
    font-family:'Cormorant Garamond',serif;
    font-size:1.6rem;
    color:#2f3b2f;
    margin:34px 0 12px;
    padding-bottom:8px;
    border-bottom:1px solid #e7ece6;
}

.legal h2:first-child{ margin-top:0; }

.legal h3{
    font-size:1.05rem;
    font-weight:600;
    color:var(--vert,#46c942);
    margin:22px 0 8px;
}

.legal p{ margin:0 0 12px; }

.legal ul,
.legal ol{ margin:0 0 14px; padding-left:22px; }

.legal li{ margin-bottom:6px; }

.legal a{ color:var(--bleu,#2d7fd3); text-decoration:underline; }

.legal table{
    width:100%;
    border-collapse:collapse;
    margin:14px 0 18px;
    font-size:.9rem;
}

.legal th,
.legal td{
    border:1px solid #e2e8e1;
    padding:9px 12px;
    text-align:left;
    vertical-align:top;
}

.legal th{ background:#f4f8f2; font-weight:600; }

.legal__intro{
    font-size:1.02rem;
    opacity:.9;
}

.legal__note{
    background:#fff9e8;
    border-left:4px solid #e8b93c;
    padding:14px 18px;
    border-radius:8px;
    margin:20px 0;
    font-size:.92rem;
}

.legal__note strong{ color:#8a6a00; }

.legal__a-completer{
    background:#fff3cd;
    border-bottom:2px dotted #d9a800;
    padding:0 2px;
    font-weight:600;
}

.legal__toc{
    background:#f7f6f1;
    border-radius:10px;
    padding:16px 20px;
    margin:0 0 26px;
    font-size:.92rem;
}

.legal__toc ol{ margin:6px 0 0; }

/* Formulaire de rétractation */
.legal-form{
    margin:24px 0 0;
}

.legal-form label{
    display:block;
    font-weight:600;
    margin:14px 0 5px;
    font-size:.92rem;
}

.legal-form input[type="text"],
.legal-form input[type="email"],
.legal-form input[type="date"],
.legal-form select,
.legal-form textarea{
    width:100%;
    padding:10px 12px;
    border:1px solid #cfd8cd;
    border-radius:8px;
    font-family:inherit;
    font-size:.95rem;
    color:var(--texte,#374151);
    background:#fff;
}

.legal-form textarea{ min-height:110px; resize:vertical; }

.legal-form .champ-row{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.legal-form .champ-row > div{
    flex:1 1 220px;
    min-width:0;
}

.legal-form .legal-form__check{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:18px 0;
    font-weight:400;
}

.legal-form .legal-form__check input{
    width:18px;
    height:18px;
    margin-top:3px;
    accent-color:var(--vert,#46c942);
    flex:0 0 auto;
}

.legal-form button[type="submit"]{
    background:var(--vert,#46c942);
    color:#fff;
    border:0;
    border-radius:999px;
    padding:13px 28px;
    font-family:inherit;
    font-size:.95rem;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.legal-form button[type="submit"]:hover{ filter:brightness(.94); }

.legal .message{
    padding:14px 18px;
    border-radius:8px;
    margin:0 0 20px;
    font-size:.93rem;
}

.legal .message--ok{
    background:#e8f7e5;
    border-left:4px solid var(--vert,#46c942);
}

.legal .message--ko{
    background:#fdeceb;
    border-left:4px solid #d44;
}

.legal .honeypot{
    position:absolute;
    left:-9999px;
    width:1px;
    height:1px;
    overflow:hidden;
}

@media(max-width:700px){
    .legal{ padding:24px 20px; margin:24px 12px; }
    .legal h2{ font-size:1.35rem; }
}
