/* D205 — la prise de rendez-vous de Gestion Lab (/rendez-vous). Noir et or,
   mobile d'abord : rien ne défile sur le côté à 375 px. Deux colonnes à
   partir de 900 px (le type à gauche, le calendrier à droite). */

:root {
    --rv-noir: #000000;
    --rv-fond: #0b0b0c;
    --rv-carte: #141416;
    --rv-trait: #2a2a2c;
    --rv-or: #EEB738;
    --rv-or-pale: #FAD688;
    --rv-texte: #ffffff;
    --rv-doux: #c9c9cf;
    --rv-mal: #ff8a80;
    --rv-bien: #7ee2a8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.rv {
    margin: 0; min-height: 100vh; background: var(--rv-fond); color: var(--rv-texte);
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif; font-size: 16px; line-height: 1.5;
    overflow-wrap: anywhere;
}
.rv a { color: var(--rv-or-pale); }
.rv a:focus-visible, .rv button:focus-visible, .rv input:focus-visible, .rv textarea:focus-visible, .rv summary:focus-visible {
    outline: 3px solid var(--rv-or); outline-offset: 2px;
}

.rv-saut { position: absolute; left: -9999px; top: 8px; background: var(--rv-or); color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.rv-saut:focus { left: 8px; }
.rv-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rv-entete { padding: 14px 16px; border-bottom: 1px solid var(--rv-trait); background: var(--rv-noir); }
.rv-marque { display: inline-flex; align-items: center; gap: 10px; color: var(--rv-texte) !important; text-decoration: none; font-weight: 700; font-size: 18px; }
.rv-marque img { border-radius: 50%; }

.rv-page { max-width: 1060px; margin: 0 auto; padding: 20px 16px 40px; }
.rv-pied { text-align: center; color: var(--rv-doux); font-size: 13px; padding: 0 16px 28px; }

.rv-avis { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; border-left: 4px solid var(--rv-or); background: var(--rv-carte); }
.rv-avis.mal { border-left-color: var(--rv-mal); }
.rv-avis.ok { border-left-color: var(--rv-bien); }
.rv-avis ul { margin: 6px 0 0; padding-left: 20px; }

/* L'accueil : « Bonjour et bienvenue chez Gestion Lab! » et la grille des types. */
.rv-accueil { text-align: center; padding: 8px 0 22px; }
.rv-logo { border-radius: 50%; display: inline-block; }
.rv-accueil h1 { margin: 10px 0 4px; font-size: 28px; color: var(--rv-or); }
.rv-message { margin: 0 auto; max-width: 560px; color: var(--rv-texte); font-size: 18px; white-space: pre-line; }

.rv-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rv-carte {
    display: grid; gap: 6px; height: 100%; padding: 16px 18px; border-radius: 14px; background: var(--rv-carte);
    border: 1px solid var(--rv-trait); color: var(--rv-texte) !important; text-decoration: none; min-width: 0;
}
.rv-carte:hover { border-color: var(--rv-or); }
.rv-carte-tete { display: flex; align-items: flex-start; gap: 10px; }
.rv-carte-nom { font-weight: 700; font-size: 17px; }
.rv-carte-duree { color: var(--rv-or-pale); font-size: 14px; }
.rv-carte-apercu { color: var(--rv-doux); font-size: 14px; }
.rv-pastille { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; margin-top: 4px; vertical-align: -2px; border: 1px solid rgba(255, 255, 255, .25); }

.rv-vide { padding: 18px; border: 1px dashed var(--rv-trait); border-radius: 12px; color: var(--rv-doux); margin: 12px 0; }
.rv-vide b { display: block; color: var(--rv-texte); margin-bottom: 4px; }

/* La page d'un type. */
.rv-retour { display: inline-block; margin-bottom: 12px; font-size: 14px; text-decoration: none; }
.rv-retour:hover { text-decoration: underline; }
.rv-type { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rv-panneau { background: var(--rv-carte); border: 1px solid var(--rv-trait); border-radius: 16px; padding: 18px; min-width: 0; }
.rv-surtitre { margin: 0; color: var(--rv-doux); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.rv-infos h1 { margin: 4px 0 10px; font-size: 22px; line-height: 1.3; }
.rv-faits { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; color: var(--rv-or-pale); }
.rv-description { white-space: pre-line; color: var(--rv-doux); font-size: 15px; border-top: 1px solid var(--rv-trait); padding-top: 12px; }

.rv-choix h2 { margin: 0 0 10px; font-size: 18px; }
.rv-mois { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.rv-mois h3 { margin: 0; font-size: 17px; }
.rv-fleche {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
    font-size: 26px; text-decoration: none; background: rgba(238, 183, 56, .12); color: var(--rv-or) !important;
}
.rv-fleche.off { opacity: .25; }

.rv-calendrier { width: 100%; border-collapse: collapse; table-layout: fixed; }
.rv-calendrier th { font-size: 12px; color: var(--rv-doux); font-weight: 600; padding: 4px 0; }
.rv-calendrier abbr { text-decoration: none; }
.rv-calendrier td { text-align: center; padding: 2px; }
.rv-jour {
    display: inline-flex; align-items: center; justify-content: center; width: 100%; max-width: 46px; aspect-ratio: 1;
    min-height: 40px; border-radius: 50%; color: #6d6d73; font-size: 15px;
}
.rv-jour.hors { visibility: hidden; }
.rv-jour.dispo { color: var(--rv-or) !important; background: rgba(238, 183, 56, .14); font-weight: 700; text-decoration: none; }
.rv-jour.dispo:hover { background: rgba(238, 183, 56, .3); }
.rv-jour.choisi { background: var(--rv-or); color: #000 !important; }

.rv-fuseau { font-size: 13px; color: var(--rv-doux); margin: 10px 0 0; }
.rv-fuseau-local { display: block; color: var(--rv-or-pale); }

.rv-creneaux { margin-top: 18px; border-top: 1px solid var(--rv-trait); padding-top: 14px; }
.rv-heures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; }
.rv-heure {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 6px;
    border: 1px solid var(--rv-or); border-radius: 10px; color: var(--rv-or) !important; text-decoration: none; font-weight: 700;
}
.rv-heure:hover { background: rgba(238, 183, 56, .14); }
.rv-heure.choisie { background: var(--rv-or); color: #000 !important; }
.rv-local { display: block; font-size: 12px; font-weight: 400; color: var(--rv-doux); }
.rv-heure.choisie .rv-local { color: #222; }

/* Le formulaire. */
.rv-formulaire { margin-top: 18px; border-top: 1px solid var(--rv-trait); padding-top: 14px; display: grid; gap: 14px; }
.rv-choisi { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: rgba(238, 183, 56, .1); border: 1px solid rgba(238, 183, 56, .4); }
.rv-choisi span { font-size: 13px; color: var(--rv-doux); }
.rv-champ { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.rv-champ legend { padding: 0; margin-bottom: 6px; font-weight: 600; }
.rv-champ label { font-weight: 600; }
.rv-champ small { color: var(--rv-doux); font-size: 13px; }
.rv-champ input, .rv-champ textarea {
    width: 100%; max-width: 100%; font: inherit; color: var(--rv-texte); background: var(--rv-noir);
    border: 1px solid #4a4a50; border-radius: 10px; padding: 11px 12px; min-height: 46px;
}
.rv-champ textarea { resize: vertical; }
.rv-requis { color: var(--rv-or); font-weight: 400; font-size: 13px; }
.rv-option { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #4a4a50; border-radius: 10px; margin-bottom: 8px; cursor: pointer; }
.rv-option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rv-or); flex: 0 0 auto; }
.rv-option small { display: block; color: var(--rv-doux); }
.rv-invites summary { cursor: pointer; color: var(--rv-or-pale); min-height: 44px; display: flex; align-items: center; }
.rv-miel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rv-consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--rv-doux); }
.rv-consentement input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rv-or); flex: 0 0 auto; }

.rv-bouton {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 50px;
    border: 1px solid var(--rv-or); background: var(--rv-or); color: #070708 !important; font: inherit; font-weight: 800;
    letter-spacing: .04em; text-decoration: none; cursor: pointer; text-align: center;
}
.rv-bouton.fantome { background: transparent; color: var(--rv-or) !important; }
.rv-bouton.danger { background: transparent; color: var(--rv-mal) !important; border-color: var(--rv-mal); }

/* Confirmation et « gérer mon rendez-vous ». */
.rv-confirme { max-width: 640px; margin: 0 auto; text-align: left; }
.rv-confirme h1 { margin: 0 0 8px; color: var(--rv-or); font-size: 24px; }
.rv-crochet {
    margin: 0 0 6px; width: 52px; height: 52px; border-radius: 50%; background: var(--rv-or); color: #000;
    display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800;
}
.rv-resume { margin: 14px 0; display: grid; gap: 10px; }
.rv-resume div { display: grid; gap: 2px; }
.rv-resume dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rv-or); }
.rv-resume dd { margin: 0; }
.rv-note { color: var(--rv-doux); font-size: 14px; }
.rv-gestes { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.rv-annuler { margin-top: 18px; border-top: 1px solid var(--rv-trait); padding-top: 14px; display: grid; gap: 12px; }
.rv-annuler h2 { margin: 0; font-size: 17px; }

@media (min-width: 640px) {
    .rv-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .rv-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rv-type { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
    .rv-infos { position: sticky; top: 16px; }
}
@media (max-width: 420px) {
    .rv-gestes .rv-bouton { flex: 1 1 100%; }
    .rv-panneau { padding: 14px; }
}

/* D209 — les services de Gestion Lab, en boutons, sur la page de la consultation. */
.rv-services { border-top: 1px solid var(--rv-trait); padding-top: 12px; }
.rv-services-titre { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rv-or); font-weight: 700; }
.rv-services ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rv-services a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
    border: 1px solid var(--rv-trait); background: var(--rv-carte); color: var(--rv-texte); text-decoration: none; font-size: 14px;
}
.rv-services a:hover, .rv-services a:focus-visible { border-color: var(--rv-or); color: var(--rv-or); }
