/* =====================================================================
   OPTITECH v8 — rendez-vous, espace membre, contact (novembre 2026)
   ===================================================================== */
:root{
    --v8-bleu: var(--blue, #0249AE);
    --v8-nuit: var(--darkblue, #00173D);
    --v8-jaune: var(--yellow, #FDBD56);
    --v8-fond: #f4f7fc;
    --v8-bord: #d5deee;
    --v8-doux: #4a5568;
    --v8-vert: #1b7f4b;
}

/* ---------- Rendez-vous : page de réservation ---------- */
.r8{ max-width: 1180px; margin: 0 auto; padding: 24px 16px 56px; color: var(--v8-nuit); }
.r8_tete{ background: var(--v8-nuit); color: #fff; border-radius: 24px; padding: 28px 24px; margin-bottom: 18px; }
.r8_tete h1{ margin: 6px 0; font-size: clamp(24px, 3.4vw, 36px); color: #fff; }
.r8_tete p{ margin: 0; color: #c9d6ef; }
.r8_sur{ margin: 0; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--v8-jaune); }
.r8_grille{ display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.r8_etapes{ flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.r8_carte{ background: #fff; border: 1px solid #e3eaf6; border-radius: 20px; padding: 18px; margin: 0; min-width: 0; box-shadow: 0 6px 20px rgba(0,23,61,.04); }
.r8_carte legend{ display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 16px; padding: 0 6px; }
.r8_carte legend span{ width: 28px; height: 28px; border-radius: 50%; background: var(--v8-bleu); color: #fff; display: inline-grid; place-items: center; font-size: 14px; }
.r8_label{ display: block; font-size: 14px; font-weight: 700; margin: 10px 0 6px; }
.r8_champ{ width: 100%; box-sizing: border-box; min-height: 48px; border-radius: 12px; border: 1px solid var(--v8-bord); padding: 10px 12px; font: inherit; font-size: 16px; color: var(--v8-nuit); background: #fff; }
.r8_champ:focus{ outline: 3px solid rgba(2,73,174,.25); border-color: var(--v8-bleu); }
textarea.r8_champ{ resize: vertical; }
.r8_deux{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.r8_aide{ font-size: 13px; color: var(--v8-doux); margin: 10px 0 0; }
.r8_centre{ text-align: center; }

.r8_modes{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.r8_mode{ position: relative; cursor: pointer; }
.r8_mode input{ position: absolute; opacity: 0; pointer-events: none; }
.r8_mode_corps{ min-height: 104px; height: 100%; box-sizing: border-box; border: 1px solid var(--v8-bord); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; transition: border-color .15s, background .15s; }
.r8_mode_corps i{ font-size: 26px; color: var(--v8-bleu); }
.r8_mode_corps strong{ font-size: 15px; }
.r8_mode_corps small{ font-size: 12px; color: var(--v8-doux); }
.r8_mode input:checked + .r8_mode_corps{ border: 2px solid var(--v8-bleu); background: #eaf1fc; }
.r8_mode input:focus-visible + .r8_mode_corps{ outline: 3px solid rgba(2,73,174,.35); }

.r8_jours{ display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.r8_jour{ flex: none; width: 66px; min-height: 78px; border-radius: 14px; border: 1px solid var(--v8-bord); background: #fff; color: var(--v8-nuit); font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; scroll-snap-align: start; }
.r8_jour span, .r8_jour small{ font-size: 12px; color: var(--v8-doux); }
.r8_jour strong{ font-size: 22px; }
.r8_jour.actif{ background: var(--v8-bleu); border-color: var(--v8-bleu); color: #fff; }
.r8_jour.actif span, .r8_jour.actif small{ color: #dbe7fb; }
.r8_jour_titre{ margin: 4px 0 10px; font-weight: 700; }
.r8_heures{ display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.r8_heure{ min-height: 46px; border-radius: 12px; border: 1px solid var(--v8-bord); background: #fff; color: var(--v8-nuit); font: inherit; font-weight: 700; cursor: pointer; }
.r8_heure:hover{ border-color: var(--v8-bleu); }
.r8_heure.actif{ background: var(--v8-jaune); border-color: var(--v8-jaune); font-weight: 900; }
.r8_heure:disabled{ background: #f2f4f8; border-style: dashed; color: #8a94a8; text-decoration: line-through; cursor: not-allowed; }
.r8_vide{ grid-column: 1 / -1; margin: 0; padding: 14px; border-radius: 12px; background: #fff8e8; color: #6b4a07; }
.r8_connecte{ margin: 6px 0 0; padding: 12px 14px; border-radius: 12px; background: #e8f8ee; color: #14532d; }

.r8_resume{ flex: 1 1 300px; position: sticky; top: 140px; background: #fff; border: 2px solid var(--v8-bleu); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.r8_resume_titre{ margin: 0; font-weight: 900; font-size: 18px; }
.r8_resume ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.r8_resume li{ display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.r8_resume li i{ color: var(--v8-bleu); font-size: 20px; }
.r8_btn{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: none; background: var(--v8-jaune); color: var(--v8-nuit) !important; font: inherit; font-weight: 900; font-size: 16px; text-decoration: none; cursor: pointer; }
.r8_btn:disabled, .r8_btn.attente{ background: #e5e8ee; color: #6b7690 !important; cursor: not-allowed; }
.r8_btn2{ display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--v8-bord); background: #fff; color: var(--v8-nuit) !important; font-weight: 700; text-decoration: none; }
.r8_btn2.wa{ border-color: #1fa855; color: var(--v8-vert) !important; }
.r8_msg{ margin: 0; font-size: 14px; }
.r8_msg.alerte{ padding: 10px 12px; border-radius: 10px; background: #fff3d9; color: #6b4a07; }
.r8_msg.ok{ padding: 10px 12px; border-radius: 10px; background: #e8f8ee; color: #14532d; }

/* ---------- Rendez-vous : page de confirmation / salle ---------- */
.r8_conf{ max-width: 980px; }
.r8_conf_tete{ text-align: center; background: #fff; border-radius: 24px; padding: 26px 18px; margin-bottom: 16px; border: 1px solid #e3eaf6; }
.r8_conf_tete h1{ margin: 10px 0 4px; font-size: clamp(22px, 3vw, 30px); }
.r8_conf_tete p{ margin: 0; color: #33405c; }
.r8_pastille{ width: 68px; height: 68px; border-radius: 50%; display: inline-grid; place-items: center; background: #1fa855; color: #fff; font-size: 38px; }
.r8_etat_annule .r8_pastille{ background: #b42318; }
.r8_etat_termine .r8_pastille{ background: var(--v8-bleu); }
.r8_conf_grille{ display: flex; flex-wrap: wrap; gap: 16px; }
.r8_details{ flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.r8_details > div{ display: flex; justify-content: space-between; gap: 12px; font-size: 15px; border-bottom: 1px solid #eef2f9; padding-bottom: 10px; }
.r8_details span{ color: var(--v8-doux); }
.r8_details strong{ text-align: right; }
.r8_motif{ margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--v8-fond); }
.r8_acces{ flex: 1 1 320px; background: var(--v8-nuit); color: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.r8_acces_txt{ margin: 0; color: #dbe5f6; }
.r8_acces_txt strong{ color: #fff; }
.r8_lien{ margin: 0; font-size: 13px; color: #c9d6ef; word-break: break-all; }
.r8_salle{ border-radius: 16px; background: #0a2a5c; padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.r8_salle i{ font-size: 44px; color: var(--v8-jaune); }
.r8_salle p{ margin: 0; font-weight: 700; }
.r8_conf_actions{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }

@media (max-width: 760px){
    .r8_modes{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .r8_deux{ grid-template-columns: 1fr; }
    .r8_resume{ position: static; }
    .r8_tete{ border-radius: 18px; padding: 22px 18px; }
}
.r8_pastille i{ font-size: 40px; }

/* ---------- Espace membre ---------- */
.esp{ max-width: 1240px; margin: 0 auto; padding: 22px 16px 56px; display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; color: var(--v8-nuit); }
.esp_menu{ flex: 1 1 230px; position: sticky; top: 140px; background: var(--v8-nuit); border-radius: 20px; padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.esp_menu a{ display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
.esp_menu a i{ font-size: 20px; }
.esp_menu a.actif, .esp_menu a:hover{ background: rgba(253,189,86,.16); color: var(--v8-jaune); }
.esp_menu .esp_sortie{ margin-top: 10px; color: #c9d6ef; font-weight: 400; }
.esp_corps{ flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.esp_tete{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.esp_tete p{ margin: 0; color: var(--v8-doux); }
.esp_tete h1{ margin: 2px 0 0; font-size: clamp(24px, 3vw, 32px); }
.esp_haut{ display: flex; flex-wrap: wrap; gap: 16px; }
.esp_carte{ flex: 1 1 320px; max-width: 420px; min-height: 210px; box-sizing: border-box; border-radius: 22px; padding: 22px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: linear-gradient(135deg, #0249AE 0%, #00173D 100%); box-shadow: 0 16px 34px rgba(2,73,174,.25); }
.esp_carte_l1, .esp_carte_l3{ display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.esp_carte_l1 img{ height: 34px; width: auto; background: #fff; border-radius: 999px; padding: 4px 10px; }
.esp_carte_l1 span{ font-weight: 900; letter-spacing: .14em; color: var(--v8-jaune); }
.esp_carte_nom{ margin: 0; font-size: 22px; font-weight: 900; }
.esp_carte_num{ margin: 4px 0 0; color: #c9d6ef; font-size: 14px; }
.esp_carte_invite, .esp_carte_attente{ background: #fff; color: var(--v8-nuit); border: 2px dashed var(--v8-jaune); box-shadow: none; }
.esp_carte_invite .esp_carte_num, .esp_carte_attente .esp_carte_num{ color: #33405c; }
.esp_carte_cta{ font-weight: 900; color: var(--v8-bleu); display: inline-flex; align-items: center; gap: 4px; }
.esp_tuiles{ flex: 999 1 380px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.esp_tuile{ background: #fff; border: 1px solid #e3eaf6; border-radius: 16px; padding: 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 4px; }
.esp_tuile span{ font-size: 13px; color: var(--v8-doux); }
.esp_tuile strong{ font-size: 17px; }
.esp_tuile small{ font-size: 13px; color: #33405c; }
.esp_bloc{ background: #fff; border: 1px solid #e3eaf6; border-radius: 20px; padding: 18px; scroll-margin-top: 150px; }
.esp_bloc_tete{ display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.esp_bloc_tete h2{ margin: 0; font-size: 19px; }
.esp_bloc_tete a{ color: var(--v8-bleu); font-weight: 700; font-size: 14px; }
.esp_vide{ margin: 0; color: var(--v8-doux); }
.esp_liste{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.esp_liste li{ display: grid; grid-template-columns: 190px minmax(0, 1fr) 110px 130px 70px; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid #eef2f9; font-size: 14px; }
.esp_date{ font-weight: 700; }
.esp_ref{ color: var(--v8-doux); font-size: 13px; }
.esp_st{ justify-self: start; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; background: #fde68a; color: #6b4a07; }
.esp_st.ok{ background: #bbf7d0; color: #14532d; }
.esp_st.off{ background: #e5e7eb; color: #374151; }
.esp_st.fini{ background: #dbeafe; color: #1e3a8a; }
.esp_voir{ color: var(--v8-bleu); font-weight: 700; }
.esp_form{ display: flex; flex-direction: column; gap: 4px; }
.esp_form .r8_btn{ align-self: flex-start; margin-top: 8px; }
@media (max-width: 860px){
    .esp_menu{ position: static; flex-direction: row; overflow-x: auto; padding: 8px; border-radius: 16px; }
    .esp_menu a{ flex: none; padding: 10px 12px; font-size: 14px; }
    .esp_menu .esp_sortie{ margin-top: 0; }
    .esp_carte{ max-width: none; }
    .esp_liste li{ grid-template-columns: 1fr auto; gap: 4px 10px; }
    .esp_liste .esp_quoi{ grid-column: 1 / -1; }
}

/* ---------- Connexion ---------- */
.cx{ max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; color: var(--v8-nuit); }
.cx_intro{ flex: 1 1 360px; background: var(--v8-nuit); color: #fff; border-radius: 24px; padding: 28px; }
.cx_intro h1{ color: #fff; margin: 6px 0 16px; font-size: clamp(24px, 3vw, 32px); }
.cx_intro ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cx_intro li{ display: flex; gap: 10px; align-items: center; color: #dbe5f6; }
.cx_intro li i{ font-size: 22px; color: var(--v8-jaune); }
.cx_note{ margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 14px; }
.cx_boite{ flex: 1 1 360px; background: #fff; border: 1px solid #e3eaf6; border-radius: 24px; padding: 24px; box-shadow: 0 16px 40px rgba(0,23,61,.08); }
.cx_onglets{ display: grid; grid-template-columns: 1fr 1fr; background: #f2f4f8; border-radius: 999px; padding: 4px; margin-bottom: 8px; }
.cx_onglets button{ min-height: 42px; border: none; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; color: var(--v8-nuit); cursor: pointer; }
.cx_onglets button.actif{ background: var(--v8-bleu); color: #fff; }
.cx_form{ display: flex; flex-direction: column; gap: 4px; }
.cx_form .r8_btn{ margin-top: 8px; }
.cx_oubli{ margin: 6px 0 0; text-align: right; }
.cx_lien_btn{ border: none; background: none; color: var(--v8-bleu); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; padding: 0; }
.cx_bas{ margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef2f9; font-size: 14px; color: var(--v8-doux); }
.cx_bas p{ margin: 4px 0; }
.cx_bas a{ color: var(--v8-bleu); font-weight: 700; }

/* ---------- Devenir membre (compléments v8) ---------- */
.mb_etapes{ list-style: none; margin: 0 auto 18px; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mb_etapes li{ display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #e3eaf6; border-radius: 16px; padding: 14px; }
.mb_etapes span{ flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--v8-jaune); color: var(--v8-nuit); display: grid; place-items: center; font-weight: 900; }
.mb_etapes small{ display: block; color: var(--v8-doux); }
.mb_deja{ max-width: 1180px; margin: 0 auto 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; background: #e8f8ee; border-radius: 16px; padding: 16px; color: #14532d; }
.mb_deja i{ font-size: 34px; }
.mb_deja div{ flex: 1 1 260px; }
.mb_connexion{ max-width: 1180px; margin: 0 auto 18px; padding: 12px 16px; border-radius: 12px; background: var(--v8-fond); color: #33405c; }
.mb_connexion a{ color: var(--v8-bleu); font-weight: 700; }
@media (max-width: 760px){ .mb_etapes{ grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.ct{ max-width: 1220px; margin: 0 auto; padding: 28px 16px 60px; color: var(--v8-nuit); }
.ct_tete{ text-align: center; margin-bottom: 22px; }
.ct_sur{ color: var(--v8-bleu); }
.ct_tete h1{ margin: 6px 0; font-size: clamp(26px, 3.6vw, 38px); }
.ct_tete p{ margin: 0; color: #33405c; font-size: 16px; }
.ct_canaux{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.ct_canal{ border-radius: 20px; padding: 18px; text-decoration: none; color: var(--v8-nuit); display: flex; flex-direction: column; gap: 4px; transition: transform .15s ease, box-shadow .15s ease; }
.ct_canal:hover{ transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,23,61,.10); }
.ct_canal i{ font-size: 28px; margin-bottom: 4px; }
.ct_canal strong{ font-size: 18px; }
.ct_canal span{ font-size: 14px; }
.ct_canal em{ font-style: normal; font-weight: 700; font-size: 14px; margin-top: auto; padding-top: 6px; }
.ct_canal.wa{ background: #e8f8ee; } .ct_canal.wa i{ color: #1b7f4b; } .ct_canal.wa span{ color: #1b5e38; }
.ct_canal.tel{ background: #eaf1fc; } .ct_canal.tel i{ color: var(--v8-bleu); } .ct_canal.tel span{ color: #33405c; }
.ct_canal.rdv{ background: #fff6e3; } .ct_canal.rdv i{ color: #b1790b; } .ct_canal.rdv span{ color: #6b4a07; }
.ct_canal.devis{ background: var(--v8-nuit); color: #fff; } .ct_canal.devis i, .ct_canal.devis em{ color: var(--v8-jaune); } .ct_canal.devis span{ color: #c9d6ef; }
.ct_corps{ display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.ct_form{ flex: 1.2 1 420px; background: var(--v8-fond); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ct_form h2{ margin: 0 0 6px; font-size: 21px; }
.ct_sujets{ border: none; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.ct_sujets legend{ margin-bottom: 6px; }
.ct_sujets label{ position: relative; cursor: pointer; }
.ct_sujets input{ position: absolute; opacity: 0; pointer-events: none; }
.ct_sujets span{ display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #d5deee; background: #fff; font-size: 14px; }
.ct_sujets input:checked + span{ background: var(--v8-bleu); border-color: var(--v8-bleu); color: #fff; font-weight: 700; }
.ct_sujets input:focus-visible + span{ outline: 3px solid rgba(2,73,174,.3); }
.ct_bas{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.ct_bas .r8_aide{ margin: 0; }
.ct_infos{ flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ct_carte{ flex: 1; min-height: 240px; border-radius: 22px; overflow: hidden; background: #dfe7f3; }
.ct_carte iframe{ width: 100%; height: 100%; min-height: 240px; border: 0; display: block; }
.ct_horaires{ background: #fff; border: 1px solid #e3eaf6; border-radius: 20px; padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: 14px; align-items: start; }
.ct_horaires strong{ display: block; }
.ct_horaires span{ color: #33405c; }
.ct_horaires a{ color: var(--v8-bleu); word-break: break-all; }
.ct_horaires .r8_btn2{ grid-column: 1 / -1; justify-self: start; }
.ct_faq{ margin-top: 26px; background: #fff; border: 1px solid #e3eaf6; border-radius: 22px; padding: 20px; }
.ct_faq h2{ margin: 0 0 10px; font-size: 20px; }
.ct_faq details{ border-top: 1px solid #eef2f9; padding: 12px 2px; }
.ct_faq summary{ cursor: pointer; font-weight: 700; }
.ct_faq details p{ margin: 8px 0 0; color: #33405c; }
@media (max-width: 960px){ .ct_canaux{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px){ .ct_canaux{ grid-template-columns: 1fr; } .ct_horaires{ grid-template-columns: 1fr; } }
.ct_canal.devis strong{ color: #fff; }

/* ===== v10 : carte de membre avec QR code ===== */
.mc_bloc{ flex: 1 1 360px; max-width: 480px; display: flex; flex-direction: column; gap: 12px; }
.mc_carte{ position: relative; overflow: hidden; aspect-ratio: 85.6 / 54; border-radius: 20px; padding: 18px 20px; box-sizing: border-box; color: #fff;
    background: radial-gradient(circle at 88% 8%, rgba(253,189,86,.28), transparent 34%), linear-gradient(135deg, #0249AE 0%, #012A6B 55%, #00173D 100%);
    box-shadow: 0 18px 38px rgba(2,73,174,.28); display: grid; grid-template-columns: 1fr 26%; grid-template-rows: auto 1fr auto; column-gap: 14px; }
.mc_carte::after{ content: ""; position: absolute; right: -60px; bottom: -80px; width: 230px; height: 230px; border: 26px solid rgba(255,255,255,.05); border-radius: 50%; pointer-events: none; }
.mc_carte p{ color: inherit; }
.mc_haut{ grid-column: 1 / 3; display: flex; justify-content: space-between; align-items: center; }
.mc_logo{ background: #fff; border-radius: 999px; padding: 4px 11px; display: inline-flex; }
.mc_logo img{ height: 24px; width: auto; }
.mc_badge{ font-size: 11px; font-weight: 900; letter-spacing: .18em; color: var(--v8-nuit); background: var(--v8-jaune); padding: 5px 10px; border-radius: 999px; }
.mc_id{ align-self: center; min-width: 0; }
.mc_nom{ margin: 0; font-size: clamp(17px, 4.6vw, 23px); font-weight: 900; line-height: 1.15; color: #fff !important; overflow-wrap: anywhere; }
.mc_profil{ margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--v8-jaune) !important; }
.mc_infos{ display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 10.5px; color: #c9d6ef; }
.mc_infos b{ display: block; margin-top: 2px; font-size: 13px; color: #fff; letter-spacing: .03em; }
.mc_qr{ align-self: center; aspect-ratio: 1; background: #fff; border-radius: 12px; padding: 7px; box-sizing: border-box; }
.mc_qr svg{ display: block; width: 100%; height: 100%; }
.mc_bas{ grid-column: 1 / 3; border-top: 1px solid rgba(255,255,255,.18); padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 11px; }
.mc_dom{ font-weight: 900; color: #fff; }
.mc_slogan{ color: var(--v8-jaune); font-style: italic; text-align: right; }
.mc_avantage{ margin: 0; font-size: 14px; color: var(--v8-nuit); background: #fff7e6; border-left: 4px solid var(--v8-jaune); border-radius: 10px; padding: 10px 12px; }
.mc_avantage i{ color: #c98a12; }
.mc_actions{ display: flex; flex-wrap: wrap; gap: 8px; }
.mc_btn{ flex: 1 1 auto; border: 2px solid transparent; border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 700; font-size: 14px; display: inline-flex; justify-content: center; align-items: center; gap: 6px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.mc_btn:hover{ transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,23,61,.14); }
.mc_btn:disabled{ opacity: .6; cursor: wait; }
.mc_b1{ background: var(--v8-bleu); color: #fff; }
.mc_b2{ background: #fff; color: var(--v8-bleu); border-color: var(--v8-bleu); }
.mc_b3{ background: var(--v8-jaune); color: var(--v8-nuit); }
@media (max-width: 420px){ .mc_carte{ padding: 14px; border-radius: 16px; aspect-ratio: auto; min-height: 200px; } .mc_bas{ flex-direction: column; align-items: flex-start; gap: 2px; } .mc_slogan{ text-align: left; font-size: 10px; } }

/* Page de vérification (QR code scanné) */
.vc{ padding: 32px 16px 56px; display: flex; justify-content: center; background: #eef2f9; }
.vc_boite{ width: 100%; max-width: 460px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(0,23,61,.1); color: var(--v8-nuit); }
.vc_haut{ background: var(--v8-nuit); color: #fff; padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.vc_haut img{ height: 30px; width: auto; background: #fff; border-radius: 999px; padding: 4px 12px; }
.vc_etat{ margin: 16px 16px 0; border-radius: 12px; padding: 12px 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.vc_etat.ok{ background: #e7f7ee; color: #11733d; }
.vc_etat.off{ background: #fdecec; color: #a42a2a; }
.vc_etat i{ font-size: 22px; }
.vc_corps{ padding: 16px 18px 4px; }
.vc_corps h1{ margin: 0; font-size: 22px; color: var(--v8-nuit); }
.vc_corps h2{ font-size: 15px; margin: 16px 0 6px; color: var(--v8-nuit); }
.vc_meta{ margin: 4px 0 0; color: #4a5875; font-size: 14px; }
.vc_rabais{ margin: 14px 0 0; display: flex; align-items: center; gap: 12px; background: #fff7e6; border-radius: 14px; padding: 12px 14px; }
.vc_rabais strong{ font-size: 30px; color: var(--v8-bleu); white-space: nowrap; }
.vc_rabais span{ font-size: 14px; color: var(--v8-nuit); }
.vc_liste{ list-style: none; margin: 0; padding: 0; }
.vc_liste li{ display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid #eef2f9; font-size: 14px; }
.vc_liste i{ color: var(--v8-jaune); margin-top: 2px; }
.vc_actions{ padding: 16px 18px; display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.vc_lien{ color: var(--v8-bleu); font-weight: 700; }
.vc_pied{ margin: 0; padding: 12px 18px 16px; text-align: center; font-size: 12px; color: #4a5875; border-top: 1px solid #eef2f9; }
.vc_haut span{ color: #fff !important; font-weight: 700; letter-spacing: .02em; }
.vc_etat i, .vc_etat{ color: inherit; }
.vc_etat.ok i{ color: #11733d !important; }
.vc_etat.off i{ color: #a42a2a !important; }
.vc_pied em{ font-size: inherit; font-family: inherit; }
.mc_bas{ font-size: 10.5px; }
.mc_infos span, .mc_dom{ color: #c9d6ef; }
.mc_dom{ color: #fff !important; }
.mc_slogan{ color: var(--v8-jaune) !important; }
.mc_apercu{ width: 100%; max-width: 460px; margin-bottom: 8px; }
.mc_qr_apercu{ display: flex; align-items: center; justify-content: center; }
.mc_qr_apercu i{ font-size: 64px; color: var(--v8-nuit); }
