/* ==========================================================================
   Demande de rendez-vous (page-rendez-vous.php, page-demande-envoyee.php) — feuille partielle, servie par functions.php
   après lotus.css. Classes lsl-rdv__* seulement ; les composants partagés (lts-section, lts-wrap, lts-form, lts-card,
   lts-cards, lts-check, lts-lien, lsl-hero, lsl-adresse…) et l'habillage de .wpcf7 viennent des autres feuilles et
   ne sont pas redéfinis ici. Aucune couleur posée sur une règle générique de titres. Pas de dégradé, pas d'ombre.
   ========================================================================== */

/* ---------- Grille : formulaire à gauche, encadrés à droite ; une colonne sous 960 px ---------- */

body.lts .lsl-rdv__grille{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
body.lts .lsl-rdv__principal{min-width:0}
body.lts .lsl-rdv__cote{display:grid;gap:16px;min-width:0}
@media (min-width:960px){
  body.lts .lsl-rdv__grille{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:clamp(24px,3vw,40px)}
  body.lts .lsl-rdv__cote{position:sticky;top:calc(var(--tete,72px) + 16px)}
}

/* ---------- Bloc du formulaire ---------- */

body.lts .lsl-rdv__titre{margin:0 0 18px;font-family:var(--titre,"Gloock",Georgia,serif);font-weight:400;font-size:24px;line-height:1.2}
body.lts .lsl-rdv__facultatif{font-weight:400;color:var(--brume)}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__champ{margin:0 0 18px}

/* durée de la prestation choisie (rempli par rdv.js) */
body.lts .lsl-rdv .wpcf7 .lsl-rdv__recap{margin:-6px 0 18px;padding:10px 14px;border-left:4px solid var(--ciel-d);border-radius:var(--r,8px);background:var(--ciel-p);font-size:15px;font-weight:600;line-height:1.45;color:var(--encre)}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__recap[hidden]{display:none}

/* créneaux : un cadre, deux rangées de cases */
body.lts .lsl-rdv .wpcf7 .lsl-rdv__groupe{min-width:0;margin:0 0 22px;padding:14px 16px 0;border:1px solid var(--trait);border-radius:var(--r,8px)}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__groupe legend{max-width:100%;padding:0 6px;font:700 15px/1.4 var(--corps,"Mulish",system-ui,sans-serif);color:var(--encre)}
@media (max-width:599px){
  body.lts .lsl-rdv .wpcf7 .lsl-rdv__groupe{padding:12px 12px 0}
  body.lts .lsl-rdv .wpcf7 .lsl-rdv__groupe legend{padding:0 4px}
}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__aide{margin:0 0 14px;font-size:14px;line-height:1.5;color:var(--brume)}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__choix{margin:0 0 16px}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__choix-titre{margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.4;color:var(--encre)}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__cases{margin:0}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__cases .wpcf7-form-control-wrap{display:block}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:8px}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox .wpcf7-list-item{display:block;margin:0}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox .wpcf7-list-item label{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:8px 14px 8px 12px;border:1px solid var(--trait);border-radius:var(--r,8px);background:var(--blanc);font-size:15px;font-weight:600;line-height:1.3;color:var(--encre);cursor:pointer;transition:border-color .2s ease,background-color .2s ease}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox .wpcf7-list-item label:hover{border-color:var(--lotus-d)}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox .wpcf7-list-item label:focus-within{border-color:var(--lotus-d);outline:2px solid var(--lotus-d);outline-offset:1px}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox .wpcf7-list-item label:has(input:checked){border-color:var(--lotus-d);background:var(--lotus-p)}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox input[type="checkbox"]{flex:0 0 auto;margin:0 8px 0 0;vertical-align:0}
body.lts .lsl-rdv .wpcf7 .wpcf7-checkbox input[type="checkbox"]:focus{outline:0}

/* nom et téléphone côte à côte à partir de 600 px */
body.lts .lsl-rdv .wpcf7 .lsl-rdv__duo{display:grid;grid-template-columns:minmax(0,1fr);gap:0 16px}
@media (min-width:600px){
  body.lts .lsl-rdv .wpcf7 .lsl-rdv__duo{grid-template-columns:repeat(2,minmax(0,1fr))}
}
body.lts .lsl-rdv .wpcf7 textarea{min-height:120px}

/* champ piège : hors de l'écran, hors du parcours au clavier (tabindex -1 dans le formulaire) */
body.lts .lsl-rdv .wpcf7 .lsl-rdv__miel{position:absolute;left:-9999px;top:auto;width:1px;height:1px;margin:0;overflow:hidden}

/* case d'accord et bouton */
body.lts .lsl-rdv .wpcf7 .lsl-rdv__accord{margin:4px 0 18px;line-height:1.55}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__accord .wpcf7-form-control-wrap{display:block}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__accord label{cursor:pointer}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__accord a{color:var(--lotus-d);font-weight:600;text-decoration:underline;text-underline-offset:3px}
body.lts .lsl-rdv .wpcf7 .lsl-rdv__envoi{margin:0}
@media (max-width:599px){
  body.lts .lsl-rdv .wpcf7 .lsl-rdv__envoi input[type="submit"]{width:100%}
  body.lts .lsl-rdv .wpcf7 .lsl-rdv__envoi .wpcf7-spinner{display:block;margin:10px auto 0}
}

/* zone de réponse de Contact Form 7 : rien à l'écran tant qu'elle est vide */
body.lts .lsl-rdv .wpcf7 form .wpcf7-response-output:empty{display:none}

/* mention RGPD sous le formulaire, message de repli */
body.lts .lsl-rdv__rgpd{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--trait);font-size:14px;line-height:1.6;color:var(--brume)}
body.lts .lsl-rdv__rgpd a{color:var(--lotus-d);font-weight:600;text-decoration:underline;text-underline-offset:3px}
body.lts .lsl-rdv__panne{margin:0;font-size:16px;line-height:1.6}

/* ---------- Encadrés à côté ---------- */

body.lts .lsl-rdv__carte-titre{margin:0 0 12px;font-family:var(--titre,"Gloock",Georgia,serif);font-weight:400;font-size:20px;line-height:1.25}
body.lts .lsl-rdv__carte p{margin:0 0 10px;font-size:15px;line-height:1.6}
body.lts .lsl-rdv__carte > :last-child{margin-bottom:0}
body.lts .lsl-rdv__carte address{margin:0 0 10px;font-style:normal;font-size:15px;line-height:1.6}
body.lts .lsl-rdv__carte address span{display:block}
body.lts ol.lsl-rdv__etapes{display:grid;gap:12px;margin:0 0 14px;padding:0;list-style:none;counter-reset:lsl-rdv-etape}
body.lts ol.lsl-rdv__etapes > li{position:relative;min-height:28px;margin:0;padding:2px 0 0 40px;font-size:15px;line-height:1.55;counter-increment:lsl-rdv-etape}
body.lts ol.lsl-rdv__etapes > li::before{content:counter(lsl-rdv-etape);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--lotus-d);color:var(--blanc);font-family:var(--titre,"Gloock",Georgia,serif);font-weight:400;font-size:14px;line-height:1}
body.lts .lsl-rdv__carte .lsl-rdv__note{padding-top:12px;border-top:1px solid var(--trait);font-size:14px;color:var(--brume)}
body.lts .lsl-rdv__horaires{font-weight:600}
body.lts .lsl-rdv__liens{display:flex;flex-wrap:wrap;gap:8px 24px}
body.lts .lsl-rdv__carte .lsl-rdv__liens{margin-top:14px}

/* ---------- Page de confirmation ---------- */

body.lts ul.lsl-rdv__suite{margin-bottom:0}
body.lts ul.lsl-rdv__suite > li{font-size:17px;line-height:1.6}
body.lts ul.lsl-rdv__suite a{color:var(--lotus-d);font-weight:600;text-decoration:underline;text-underline-offset:3px}
body.lts .lsl-rdv__liens--suite{margin:24px 0 0}
