/* ============================================================
   THÈME ARTDIVE (thème nuit)
   Sources : design system ArtDive (logo, polices, pins, couleurs de base)
   et canvas « ArtDive, direction artistique » (mise en page, couleurs des
   boutons et des types), qui prévaut en cas de désaccord (décision du 19/11).
   Chargé après style.css : il surcharge les variables et les composants.
   ============================================================ */

/* ---------- Polices servies par l'app (licence SIL Open Font) ---------- */
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Italic-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Variable.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Fonds et textes (design system : night, cream) */
  --nuit: #14100D;           /* fond des pages */
  --nuit-2: #0D0A08;         /* barres (navigation, pied fixe) */
  --panneau: #221B16;        /* cartes et champs sur fond nuit */
  --line: #3A322B;           /* filets */
  --bord: #8F8576;           /* contours des boutons secondaires et des champs */
  --texte: #EFE7D9;
  --velin: #EFE7D9;          /* crème */
  --muted: #B9AE9C;          /* texte secondaire */
  --muted-dim: #B9AE9C;
  --muted-dark: #5C5246;     /* texte secondaire sur fond crème */
  --fee: #E6C88A;            /* ocre clair : étiquettes et petits accents */
  --gaz: #C08A2E;            /* ocre : bouton principal */
  --ocre: #C08A2E;
  --lien: #FF6A4D;           /* liens « Voir », « Tout voir » */
  --succes: #27733A;         /* date confirmée, bouton « Réserver » d'une visite */
  --terracotta: #C42E18;

  /* Une couleur par type d'expérience (canvas E1.1) : badges, titres, prix, bouton */
  --type-visite: #FFB73D;
  --type-atelier: #8ED673;
  --type-escape: #B171E9;
  --type-soiree: #E8466D;

  /* Teintes de page par type (canvas v2, 24/11) : fond, barre, panneaux et champs, filets,
     fond secondaire, contours des contrôles. Visite = chocolat, atelier = vert. */
  --fond-visite: #140E09;   --barre-visite: #0D0906;   --panneau-visite: #1F1610;   --filet-visite: #3D2D1E;   --second-visite: #2B2016;   --controle-visite: #8F8576;
  --fond-atelier: #10241C;  --barre-atelier: #0B1A14;  --panneau-atelier: #17342A;  --filet-atelier: #254134;  --second-atelier: #1D4034;  --controle-atelier: #667A6F;
  --fond-soiree: #1E1013;   --barre-soiree: #140A0D;   --panneau-soiree: #2B161B;   --filet-soiree: #5A2A38;   --second-soiree: #3A1D24;   --controle-soiree: #8F8576;
  --fond-escape: #1B1420;   --barre-escape: #130D17;   --panneau-escape: #261C2E;   --filet-escape: #3A2C44;   --second-escape: #33263D;   --controle-escape: #8F8576;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

html, body { background: var(--nuit); color: var(--texte); }
a { color: var(--lien); }
:focus-visible { outline: 3px solid #9AABF0; outline-offset: 2px; }

/* ---------- En-tête : logo ArtDive et sous-titre en capitales mono ---------- */
.brand { display: flex; flex-direction: column; gap: 7px; min-width: 0; flex: 1; }
.brand-logo { height: 32px; width: auto; align-self: flex-start; }
.screen-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fee); line-height: 1.3;
}
/* En-tête v2 (E1.1) : « Mon compte » rond crème, menu ☰ en contour. */
.header-compte, .header-menu { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; cursor: pointer; }
.header-compte { background: var(--velin); color: var(--nuit); border: 0; }
.header-menu { background: transparent; border: 1px solid var(--bord); color: var(--velin); }
.header-compte svg, .header-menu svg { width: 20px; height: 20px; }

/* ---------- Titres ---------- */
.bandeau-hero-tourisme .title,
.back-title { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }
.back-title { font-size: 22px; line-height: 1.15; }
.back-sub {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fee);
}
.mini-label, .fiche-host-label {
  font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fee);
}
.bandeau-hero-tourisme .title { font-size: 30px; line-height: 1.08; }
.bandeau-hero-tourisme .scrim { background: linear-gradient(0deg, rgba(20,16,13,.92), rgba(20,16,13,.45) 60%, rgba(20,16,13,.15)); }

/* ---------- Boutons : pilule ; principal ocre, secondaire à contour crème ---------- */
.cta { border-radius: 999px; background: var(--velin); color: var(--nuit); font-weight: 600; font-size: 15px; min-height: 50px; padding: 14px 0; }
.cta.fee, .cta.gaz { background: var(--ocre); color: var(--nuit); border: 0; }
.cta.ghost, .cta.ghost-velin { background: transparent; border: 1px solid var(--velin); color: var(--velin); }
.cta:disabled { opacity: .45; }
.icon-btn { border-radius: 999px; }
.back-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--velin); color: var(--nuit); border: 0; }

/* ---------- Puces et onglets ---------- */
.chip { border-radius: 999px; border: 1px solid var(--bord); color: var(--velin); background: transparent; }
.chip.active { background: var(--velin); color: var(--nuit); border-color: var(--velin); font-weight: 600; }

/* ---------- Barre de navigation : onglet actif en or ---------- */
.bottom-nav, nav.bottom-nav { background: var(--nuit-2); border-top: 1px solid var(--line); }
.nav-item { color: var(--muted); }
.nav-item.active { color: var(--velin); font-weight: 600; }
.nav-item.active svg { color: var(--ocre); }

/* ---------- Encarts ---------- */
.cartouche { border-radius: 10px; }
.info-row { border-bottom-color: var(--line); }
.input-field { background: var(--panneau); border: 1px solid var(--bord); border-radius: 10px; color: var(--velin); min-height: 48px; }
.input-field::placeholder { color: var(--muted); }
.member-note { color: var(--muted); }

/* ---------- Accueil (canvas E1.1) ---------- */
.hero-texte { padding: 6px 2px 4px; }
.hero-loc { font-family: var(--mono); font-size: 11px; color: var(--fee); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-h1 {
  margin: 8px 0 0; font-family: var(--display); font-weight: 400;
  font-size: 42px; line-height: 1.02; letter-spacing: -0.015em; color: var(--velin);
}
.hero-h1 em { font-style: italic; }
.hero-loc { display: none; }   /* le canvas n'affiche que le sous-titre de l'en-tête */
.hero-sous { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.offre-chips { margin: 22px 0 14px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.offre-chips::-webkit-scrollbar { display: none; }
.offre-chips { gap: 6px; flex-wrap: nowrap; }
.offre-chips .chip { flex: 1 0 auto; min-height: 36px; padding: 0 10px; font-size: 12px; }

.act-card {
  --c: var(--type-visite);
  position: relative; display: block; width: 100%; text-align: start; overflow: hidden;
  background: var(--panneau); color: var(--velin); border: 1px solid var(--line); border-radius: 10px;
  padding: 0; margin-bottom: 12px;
}
.act-card[data-type="atelier"] { --c: var(--type-atelier); }
.act-card[data-type="escape"]  { --c: var(--type-escape); }
.act-card[data-type="diner"]   { --c: var(--type-soiree); }
.act-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: sepia(.3); }
.act-voile {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,13,.92) 0%, rgba(20,16,13,.7) 45%, rgba(20,16,13,.45) 70%, rgba(20,16,13,.92) 100%);
}
.act-card .type-badge { position: absolute; top: 12px; inset-inline-end: 12px; margin: 0; z-index: 1; }
.act-corps { position: relative; display: flex; flex-direction: column; padding: 14px 16px; }
.act-name {
  font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.08; color: #E6C88A;
  min-height: 52px; padding-inline-end: 112px;
}
.act-desc {
  font-size: 13px; line-height: 1.35; color: #D8CEBC; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.act-by { font-size: 12px; margin-top: 6px; color: var(--velin); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-meta { font-size: 11px; margin-top: 5px; color: #D8CEBC; }
.act-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.act-next { font-size: 12px; color: var(--velin); }
.act-price { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--c); }
.act-empty { padding: 28px 0; text-align: center; color: var(--muted); font-size: 14px; }

/* Bandeaux secondaires de l'accueil */
.bandeau { border-radius: 10px; border-color: var(--line); }
.bandeau .media-photo { filter: sepia(.25) brightness(.7); }
.bandeau-eco .e-name, .bandeau-member .m-title { font-family: var(--display); font-weight: 600; }
.bandeau-eco .e-arrow {
  padding: 9px 16px; border-radius: 999px; background: var(--ocre); color: var(--nuit); font-size: 13px; font-weight: 600;
}
.bandeau-member { background: var(--panneau); border: 1px solid var(--line); }
.bandeau-member svg { stroke: var(--fee); }
.bandeau-member .m-arrow { color: var(--lien); }
.bandeau-tour .t-name { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.1; }
.bandeau-tour .t-price { font-family: var(--mono); font-weight: 500; font-size: 13px; background: var(--velin); color: var(--nuit); }
.bandeau .media-bg {
  background:
    repeating-linear-gradient(45deg, rgba(239,231,217,0.05) 0 12px, rgba(239,231,217,0) 12px 24px),
    var(--panneau);
}

/* ---------- Badge du type : pastille nuit, contour et texte dans la couleur du type ---------- */
.type-badge {
  --c: var(--type-visite);
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; margin-bottom: 6px; border-radius: 999px;
  background: var(--nuit); box-shadow: inset 0 0 0 1px var(--c);
  color: var(--c); font-size: 11px; letter-spacing: 0.04em; font-weight: 600; line-height: 1.4;
}
.type-badge.t-atelier { --c: var(--type-atelier); }
.type-badge.t-diner   { --c: var(--type-soiree); }
.type-badge.t-escape  { --c: var(--type-escape); }

/* ---------- Pages d'une expérience : teinte de page et couleur du type ----------
   Fiche, réservation, confirmation, parcours autoguidé et ses étapes. Par défaut visite (chocolat) ;
   data-offre="atelier" (vert), "diner" (soirée), "escape". Boutons principaux et date choisie :
   couleur du type, texte nuit. */
#screen-visite, #screen-reserver, #screen-reservation, #screen-parcours {
  --page-bg: var(--fond-visite); --page-bar: var(--barre-visite); --page-panel: var(--panneau-visite);
  --page-border: var(--filet-visite); --page-second: var(--second-visite); --page-control: var(--controle-visite);
  --type-color: var(--type-visite);
}
[data-offre="atelier"]:is(#screen-visite, #screen-reserver, #screen-reservation) {
  --page-bg: var(--fond-atelier); --page-bar: var(--barre-atelier); --page-panel: var(--panneau-atelier);
  --page-border: var(--filet-atelier); --page-second: var(--second-atelier); --page-control: var(--controle-atelier);
  --type-color: var(--type-atelier);
}
[data-offre="diner"]:is(#screen-visite, #screen-reserver, #screen-reservation) {
  --page-bg: var(--fond-soiree); --page-bar: var(--barre-soiree); --page-panel: var(--panneau-soiree);
  --page-border: var(--filet-soiree); --page-second: var(--second-soiree); --page-control: var(--controle-soiree);
  --type-color: var(--type-soiree);
}
[data-offre="escape"]:is(#screen-visite, #screen-reserver, #screen-reservation) {
  --page-bg: var(--fond-escape); --page-bar: var(--barre-escape); --page-panel: var(--panneau-escape);
  --page-border: var(--filet-escape); --page-second: var(--second-escape); --page-control: var(--controle-escape);
  --type-color: var(--type-escape);
}
#screen-visite, #screen-reserver, #screen-reservation, #screen-parcours {
  --panneau: var(--page-panel); --line: var(--page-border); --bord: var(--page-control);
  --fond: var(--page-bg); --pan: var(--page-panel); --filet: var(--page-border); --barre: var(--page-bar);
  background: var(--page-bg);
}
:is(#screen-visite, #screen-reserver, #screen-reservation, #screen-parcours) .back-header { background: var(--page-bg); }
#btn-reserver, #resa-payer { background: var(--type-color); color: var(--nuit); }
#screen-reservation .cta.fee { background: var(--type-color); color: var(--nuit); }

#screen-visite .back-header > div:not(.back-btn) { display: none; } /* le titre est dans la fiche */
.fiche-hero { position: relative; height: 220px; margin-top: 4px; border-radius: 10px; overflow: hidden; background: var(--pan, var(--panneau)); }
.fiche-hero .media-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fiche-hero .media-bg {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(239,231,217,0.05) 0 12px, rgba(239,231,217,0) 12px 24px), var(--pan, var(--panneau));
}
.fiche-head { padding: 20px 0 4px; }
.fiche-title {
  margin: 10px 0 0; font-family: var(--display); font-weight: 400; font-size: 36px;
  line-height: 1.06; letter-spacing: -0.015em; color: var(--velin);
}
.fiche-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.55; color: var(--velin); }
.fiche-host {
  display: flex; align-items: center; gap: 12px; margin: 20px 0 8px; padding: 12px;
  background: var(--pan, var(--panneau)); border: 1px solid var(--filet, var(--line)); border-radius: 10px;
}
.fiche-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--filet, var(--line)); color: var(--fee);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 20px;
}
.fiche-host-name { font-family: var(--display); font-size: 20px; font-weight: 600; margin-top: 3px; }
#screen-visite .info-row, #screen-reserver .info-row, #screen-reservation .info-row { border-bottom-color: var(--filet); }

/* Dates : jour en capitales mono ; date choisie dans la couleur du type (texte nuit) ; barre du minimum en or */
.seance { border-color: var(--page-control, #667A6F); }
.seance-jour { font-family: var(--mono); font-size: 10.5px; }
.seance-jour b { font-family: var(--display); font-weight: 600; font-size: 30px; }
.seance.choisie { background: var(--type-color, var(--type-visite)); color: var(--nuit); border-color: var(--type-color, var(--type-visite)); }
.seance-barre { background: var(--filet, var(--line)); }
.seance-barre span { background: var(--ocre); }
.seance.choisie .seance-barre { background: rgba(20,16,13,.2); }
.seance.choisie .seance-barre span { background: var(--nuit); }
.resa-stepper { border-color: var(--page-control, #667A6F); }
.resa-stepper-btns button:last-child { background: var(--velin); color: var(--nuit); }
.resa-gros { font-family: var(--display); font-weight: 600; }
.resa-accent { color: var(--fee); }
.resa-resume { background: var(--velin); color: var(--nuit); border-radius: 10px; }
.resa-carte { background: var(--velin); color: var(--nuit); border-radius: 10px; }
.resa-carte .info-row { border-bottom-color: #C9BFA8 !important; }
.resa-carte .info-row .k, .resa-carte .member-note { color: var(--muted-dark); }
.resa-ok span { background: var(--type-color, var(--ocre)); color: var(--nuit); }
.resa-ok h1, .resa-titre { font-family: var(--display); font-weight: 400; }
.resa-case input { accent-color: var(--fee); }

/* ---------- Espace intervenants (canvas E11) ---------- */
.espace-titre { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1.08; overflow-wrap: anywhere; }
.espace-texte a { color: var(--lien); }

/* ---------- Administration (canvas E12) ---------- */
.adm-sous { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fee); margin: -2px 0 16px; }
.adm-onglets { margin: 8px 0 16px; }
.adm-onglets .chip { min-height: 36px; padding: 0 14px; font-size: 12px; }
.adm-liste { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; }
.adm-ligne {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; text-align: start;
  background: var(--panneau); border: 1px solid var(--line); border-radius: 10px; color: var(--velin); min-height: 64px;
}
.adm-vignette { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--line); display: block; }
.adm-vignette.rond { border-radius: 50%; }
.adm-initiales { display: flex; align-items: center; justify-content: center; font-family: var(--display); color: var(--fee); font-size: 18px; }
.adm-ligne-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.adm-ligne-titre { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.15; }
.adm-ligne-meta { font-size: 12px; color: var(--muted); }
.adm-etat { flex-shrink: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--bord); color: var(--muted); }
.adm-etat-enligne { border-color: #6DBE74; color: #6DBE74; }
.adm-etat-avalider { border-color: var(--type-visite); color: var(--type-visite); }
.adm-etat-suspendue { border-color: var(--lien); color: var(--lien); }
.adm-encart { margin: 14px 0 0; padding: 14px 16px; border-radius: 10px; border: 1px dashed var(--bord); }
.adm-encart .cta { margin-top: 10px; }
.adm-form { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
.adm-titre { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 4px 0 0; }
.adm-sous-titre { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fee); margin: 12px 0 0; }
.adm-champ { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.adm-champ > span { color: var(--muted); }
.adm-texte { min-height: 110px; padding: 12px 14px; line-height: 1.45; resize: vertical; font: inherit; color: var(--velin); }
select.input-field { appearance: auto; padding: 0 12px; }
.adm-trad { margin-top: -6px; }
.adm-trad summary { cursor: pointer; list-style: none; align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px;
  padding: 0 12px; border: 1px solid var(--bord); border-radius: 999px; font-size: 12px; color: var(--velin); background: rgba(239,231,217,0.06); }
.adm-trad summary::-webkit-details-marker { display: none; }
.adm-trad { display: flex; flex-direction: column; }
.adm-trad[open] { display: flex; flex-direction: column; gap: 10px; }
.adm-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-puce { min-width: 52px; min-height: 44px; justify-content: center; display: inline-flex; align-items: center; cursor: pointer; }
.adm-photo { width: 100%; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--panneau); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; }
.adm-photo img { width: 100%; height: 100%; object-fit: cover; }
.adm-photo-vide { font-size: 13px; color: var(--muted); }
.adm-photo-btn { display: flex; align-items: center; justify-content: center; cursor: pointer; margin-top: 4px; }
.adm-carte { height: 220px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.adm-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.adm-jour { display: flex; flex-direction: column; align-items: center; min-width: 48px; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; color: var(--muted); }
.adm-jour b { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1; color: var(--velin); }
.adm-inscrits .adm-ligne, .adm-demande { align-items: flex-start; }
.adm-message { font-size: 13px; line-height: 1.45; color: var(--velin); white-space: pre-line; margin-top: 4px; }
.adm-actions { font-size: 13px; margin: 6px 0; overflow-wrap: anywhere; }
.adm-demande select { margin-top: 4px; }
details.adm-encart summary { cursor: pointer; min-height: 32px; }
details.adm-encart[open] { display: flex; flex-direction: column; gap: 10px; }
.adm-invitation { border-top: 1px solid var(--line); padding-top: 6px; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Formulaires publics (canvas E7, E14) ---------- */
/* Accueil (E1.1) : ligne compacte « Une réservation privée ? » */
.prive-ligne { display: flex; align-items: center; gap: 12px; inline-size: 100%; margin: 4px 0 22px; padding: 14px 16px; text-align: start;
  background: var(--panneau); color: var(--velin); border: 1px solid var(--line); border-radius: 12px; font: inherit; cursor: pointer; }
.prive-ligne-corps { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.prive-ligne-t { font-family: var(--display); font-size: 17px; line-height: 1.2; }
.prive-ligne-s { font-size: 13px; color: #D8CEBC; }
.prive-ligne-a { color: var(--lien); font-size: 13px; font-weight: 600; white-space: nowrap; }
.adh-panneau-accueil { margin-block: 6px 12px; }
/* Page d'un intervenant : encadré « Une visite / un atelier rien que pour vous » */
.prive-encart { background: var(--panneau); border: 1px solid var(--bord); border-style: solid; margin: 4px 0 22px; }
.prive-titre { font-family: var(--display); font-size: 24px; line-height: 1.15; }
#screen-demande .adm-puces .chip { min-height: 44px; padding: 0 16px; font-size: 13px; }
#screen-demande .espace-titre em { font-style: italic; }

/* ---------- Page d'un intervenant et vidéo (canvas E6.1, E6.1.1) ---------- */
.fiche-host-lien { width: 100%; text-align: start; color: var(--velin); cursor: pointer; }
.fiche-host-corps { flex: 1; display: flex; flex-direction: column; }
.fiche-host-voir { color: var(--lien); font-size: 13px; font-weight: 500; }
.trad-auto { font-size: 12px; color: var(--muted); font-style: italic; margin: 6px 0 0; }
.hote-tete { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 20px; }
.hote-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.hote-initiales { display: flex; align-items: center; justify-content: center; background: var(--panneau); color: var(--fee); font-family: var(--display); font-size: 34px; }
.hote-tete .espace-titre { margin: 8px 0 0; }
.hote-tete .espace-titre em { font-style: italic; }
.hote-metier { margin: 0; font-size: 15px; color: var(--muted); }
.hote-video { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; padding: 0; border: 0; background: #000; cursor: pointer; }
.hote-video video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hote-play { position: absolute; inset-inline-start: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%;
  background: #C42E18; color: #EFE7D9; box-shadow: 0 0 0 3px #EFE7D9; display: flex; align-items: center; justify-content: center; }
:root[dir="rtl"] .hote-play { transform: translate(50%, -50%); }
.hote-bio { white-space: pre-line; }
.video-plein { position: fixed; inset: 0; z-index: 200; background: #000; display: flex; align-items: center; justify-content: center; }
.video-plein video { width: 100%; height: 100%; object-fit: contain; }
.video-fermer { position: absolute; top: calc(12px + env(safe-area-inset-top)); inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20,16,13,.75); color: #EFE7D9; font-size: 18px; border: 1px solid #EFE7D9; }
.adm-video { width: 100%; max-height: 360px; border-radius: 10px; background: #000; }

/* ---------- Parcours autoguidés (canvas E2.1, E2.1.2, E2.1.3, E8.5, E9.5) ---------- */
.parc-prix { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 0 8px; }
.parc-chip { min-height: 48px; border-radius: 10px; border: 1px solid var(--page-control, #667A6F); background: transparent; color: var(--velin);
  font-family: var(--mono); font-size: 16px; }
.parc-chip:last-child { font-family: var(--body); font-size: 14px; color: var(--muted); }
.parc-chip.active { background: var(--velin); color: var(--nuit); border-color: var(--velin); font-weight: 500; }
.parc-option { display: flex; align-items: center; gap: 14px; padding: 16px; margin: 12px 0; border-radius: 10px;
  border: 1px solid var(--fee); background: var(--page-panel, var(--panneau-visite)); cursor: pointer; }
.parc-option input { width: 22px; height: 22px; accent-color: var(--fee); flex-shrink: 0; }
.parc-option-corps { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.parc-option-corps b { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--velin); }
.parc-option-prix { font-family: var(--mono); color: var(--fee); white-space: nowrap; }
.parc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 16px; font-size: 13px; color: var(--muted); }
.parc-total b { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--velin); }
.parc-num { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--bord); font-family: var(--display); font-weight: 600; color: var(--muted); }
.parc-num.ouverte { background: #C08A2E; border-color: #C08A2E; color: #14100D; }
.parc-media { margin: 0 0 16px; }
.parc-media img { width: 100%; border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }
.parc-media figcaption { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 6px; }
.parc-texte { white-space: pre-line; font-size: 16px; color: var(--velin); }
.parc-audio { width: 100%; margin: 6px 0 16px; }
.parc-verrou { margin: 16px 0; padding: 16px; border-radius: 10px; border: 1px dashed var(--bord); }
.parc-verrou b { font-family: var(--display); font-size: 20px; }
.parc-verrou p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.parc-distance { font-family: var(--mono); color: var(--fee); }
.parc-code { display: flex; gap: 8px; }
.parc-code .input-field { flex: 1; text-transform: uppercase; }
.parc-code .cta { width: auto; padding: 0 18px; margin: 0; }
.parc-nav { display: flex; gap: 10px; margin-top: 16px; }
/* Lignes d'étapes sur une page d'expérience : fond secondaire de la page, texte crème */
#screen-visite .adm-ligne, #screen-parcours .adm-ligne { background: var(--page-second); border-color: var(--page-border); }
#screen-visite .adm-ligne .adm-ligne-meta, #screen-parcours .adm-ligne .adm-ligne-meta { color: var(--velin); }
#screen-visite .parc-num, #screen-parcours .parc-num { border-color: var(--velin); color: var(--velin); }
.parc-nav .cta { flex: 1; }

/* ---------- Menu des langues (canvas E1.2) ---------- */
.lang-popover {
  background: var(--panneau); border: 1px solid var(--line); border-radius: 18px;
  min-width: 230px; box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}
.lang-option {
  width: 100%; gap: 14px; padding: 15px 18px; font-size: 17px; text-align: start;
  color: var(--velin); border-bottom: 0; border-top: 1px solid var(--line);
}
.lang-option:first-child { border-top: 0; }
.lang-option.active { background: rgba(230,200,138,0.12); color: var(--fee); font-weight: 600; }
.lang-option .lang-globe { width: 18px; height: 18px; }

/* ---------- Pins de la carte (design system ArtDive) ---------- */
.map-pin { border: 2px solid #EFE7D9; box-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.map-pin.culture { background: #2B3E8F; }
.map-pin.sortir  { background: #C42E18; }
.map-pin.reperes { background: #C08A2E; }
.map-pin .pin-num { font-family: var(--display); font-weight: 900; font-size: 14px; color: #14100D; }
.map-pin.you { background: #9AABF0; border: 2.5px solid #EFE7D9; box-shadow: 0 0 0 8px rgba(154,171,240,0.25); }
.leaflet-marker-icon.pin-selected .map-pin { box-shadow: 0 0 0 5px rgba(239,231,217,0.3), 0 2px 10px rgba(0,0,0,0.5); }

/* ---------- Panneau du bas (détail d'un lieu sur la carte) ----------
   Fermé, il est complètement caché : sur téléphone, quand la barre d'adresse
   se replie au défilement, un panneau seulement poussé hors de l'écran
   dépassait en bandeau crème. */
.point-sheet { visibility: hidden; transform: translateY(120%); transition: transform .25s ease, visibility 0s linear .25s; }
.point-sheet.open { visibility: visible; transform: translateY(0); transition: transform .25s ease, visibility 0s; }

/* ---------- Écran d'ouverture : monogramme ArtDive ---------- */
.splash img.splash-mm { width: 170px; height: 170px; }

/* ---------- Langues : polices et sens de lecture ---------- */
/* Fraunces et DM Sans n'ont ni chinois, ni arabe, ni cyrillique : polices de repli chargées à la demande (i18n.js). */
:root[lang="zh"] { --display: 'Fraunces', 'Noto Serif SC', Georgia, serif; --body: 'DM Sans', 'Noto Sans SC', system-ui, sans-serif; }
:root[lang="ar"] { --display: 'Noto Naskh Arabic', 'Fraunces', Georgia, serif; --body: 'Noto Sans Arabic', 'DM Sans', system-ui, sans-serif; }
:root[lang="ru"] { --display: 'Fraunces', 'Noto Serif', Georgia, serif; --body: 'DM Sans', 'Noto Sans', system-ui, sans-serif; }
/* Arabe : jamais d'espacement entre les lettres (il casse la liaison), pas d'italique ni de capitales */
:root[dir="rtl"] * { letter-spacing: normal !important; text-transform: none !important; }
:root[dir="rtl"] em { font-style: normal; }
/* Retour et flèches inversés de droite à gauche ; la carte reste dans son sens */
:root[dir="rtl"] .back-btn svg,
:root[dir="rtl"] .m-arrow { transform: scaleX(-1); }
.map-wrap, .map-wrap .leaflet-container { direction: ltr; }
/* Contenu venant des Sheets : chaque texte résout son propre sens (un nom français dans une page arabe reste lisible) */
.act-name, .act-desc, .act-by, .act-meta, .fiche-title, .fiche-desc, .fiche-host-name, .info-row .v { unicode-bidi: plaintext; }

@media (prefers-reduced-motion: reduce) { .act-card, .cta { transition: none; } }
.lien-bouton { background: none; border: 0; padding: 0; color: var(--lien); font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* Retours du 19/11 : filtres de la carte sur une ligne (défilement latéral), carte sombre sans quadrillage, partenaires en colonnes. */
#eco-filters { flex-wrap: nowrap; overflow-x: auto; gap: 6px; scrollbar-width: none; padding-block-end: 2px; }
#eco-filters::-webkit-scrollbar { display: none; }
#eco-filters .chip { flex-shrink: 0; font-size: 11px; padding: 6px 10px; }
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.9) contrast(0.85) saturate(0.4); }
.leaflet-container img.leaflet-tile { width: 256.5px !important; height: 256.5px !important; }
/* Partenaires : logos transparents, sans filtre */
.partenaires-list { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding-block: 6px 18px; }
.partenaire { display: block; }
.partenaire img { display: block; block-size: 40px; inline-size: auto; max-inline-size: 140px; object-fit: contain; }
.adm-accepter { margin-top: 8px; }

/* ---------- Infos (E13) ---------- */
.infos-header { gap: 12px; }
.infos-logo { height: 24px; width: auto; }
.infos-compte { margin-inline-start: auto; min-height: 44px; padding-inline: 12px 16px; border-radius: 22px; border: 1px solid var(--bord);
  background: transparent; color: var(--velin); display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--body); flex-shrink: 0; }
.infos-compte svg { width: 18px; height: 18px; }
#infos-body { display: flex; flex-direction: column; gap: 14px; }
.infos-hero h1 { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1.1; margin: 0; }
.infos-hero p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 10px 0 12px; }
.infos-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.infos-label-or { color: var(--fee); }
.infos-carte { border-radius: 20px; background: var(--panneau); padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.infos-carte.infos-asso { background: #2B2115; }
.infos-carte h2 { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.15; margin: 0; }
.infos-carte p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.infos-asso p { color: #D9CFBF; }
.infos-asso-menu { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; font-size: 14px; color: var(--velin); }
.infos-menu-btn { flex-shrink: 0; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--velin); background: transparent; color: var(--velin); font: inherit; font-weight: 600; cursor: pointer; }
.cta.ocre { background: var(--ocre); color: var(--nuit); border: 0; }
.infos-don, .mb-don { color: var(--fee); align-self: center; }
.infos-pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.infos-pastille { display: inline-flex; align-items: center; min-height: 28px; padding-inline: 12px; border-radius: 14px; background: var(--nuit);
  color: var(--p); box-shadow: inset 0 0 0 1px var(--p); font: 500 12px var(--body); }
.infos-intervenant { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border: 0; border-top: 1px solid var(--line);
  padding: 14px 0 0; background: none; color: var(--velin); font: inherit; cursor: pointer; text-align: start; }
.infos-intervenant span { font-size: 13px; color: var(--muted); }
.infos-intervenant b { font-size: 14px; font-weight: 600; }
.infos-liste { display: flex; flex-direction: column; margin-top: -6px; }
.infos-ligne { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 0; border: 0;
  border-bottom: 1px solid var(--line); background: none; color: var(--velin); font: inherit; text-align: start; text-decoration: none; cursor: pointer; width: 100%; }
.infos-ligne > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.infos-ligne-t { font-size: 15px; }
.infos-ligne-s { font-size: 12px; color: var(--muted); line-height: 1.45; }
.infos-fleche { color: var(--muted); font-size: 18px; flex-shrink: 0; }
.infos-deplie { display: block; }
.infos-deplie summary { display: flex; align-items: center; justify-content: space-between; min-height: 40px; list-style: none; cursor: pointer; }
.infos-deplie summary::-webkit-details-marker { display: none; }
.infos-deplie[open] .infos-fleche { transform: rotate(90deg); }
.infos-ligne-corps { font-size: 13px; line-height: 1.6; color: var(--muted); padding-block-end: 8px; }
.infos-reseaux { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.infos-reseaux .icon-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--panneau); color: var(--velin); display: flex; align-items: center; justify-content: center; border: 0; }
.infos-reseaux svg { width: 20px; height: 20px; }
.infos-pied { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; line-height: 1.6; margin-bottom: 24px; }

/* ---------- Carte de membre (E15, E15.1) ---------- */
#screen-membre .screen-inner { display: flex; flex-direction: column; gap: 22px; }
#membre-form { display: flex; flex-direction: column; gap: 12px; }
#membre-form[hidden], #membre-pas-encore[hidden] { display: none; }
.mb-titre { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0; }
.mb-titre-petit { font-size: 22px; }
.mb-label { font-size: 12.5px; color: var(--muted); margin-bottom: -6px; }
.mb-separateur { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mb-separateur::before, .mb-separateur::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.mb-encart { margin-top: 22px; border-radius: 20px; background: #2B2115; padding: 22px 20px; display: flex; flex-direction: column; gap: 16px; }
.mb-avantages { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mb-avantages li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.mb-avantages li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; background: var(--fee);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
#membre-result { display: flex; flex-direction: column; gap: 16px; }
#membre-result:empty { display: none; }
.mb-etat { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: -6px; }
.mb-carte { border-radius: 22px; background: var(--ocre); color: var(--nuit); padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 14px 30px rgba(0,0,0,.35); }
.mb-carte.expired { filter: grayscale(.7); opacity: .85; }
.mb-carte-haut, .mb-carte-bas { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mb-carte-bas { align-items: flex-end; }
.mb-eyebrow, .mb-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.mb-k { opacity: .75; font-size: 10px; }
.mb-k-num { margin-top: 14px; }
.mb-carte-titre { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.1; margin-top: 6px; }
.mb-carte-titre i { font-weight: 400; }
.mb-annee { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--nuit); color: var(--fee); }
.mb-carte-id { min-width: 0; }
.mb-nom { font-family: var(--display); font-size: 21px; line-height: 1.2; margin-top: 4px; overflow-wrap: anywhere; }
.mb-v { font-size: 12px; margin-top: 6px; }
.mb-num { font-family: var(--mono); font-size: 13px; margin-top: 3px; }
.mb-qr { background: var(--velin); border-radius: 12px; padding: 10px; flex-shrink: 0; }
.mb-qr svg { display: block; width: 100px; height: 100px; }
.mb-logo { width: 64px; height: 64px; flex-shrink: 0; opacity: .9; }
.mb-autre { color: var(--muted); align-self: center; }

/* ---------- Adhérent (réservation E8.1.1 / E8.2.1, inscrits E11.3), demandes non traitées ---------- */
.badge-adherent { display: inline-flex; align-items: center; min-height: 22px; padding-inline: 9px; border-radius: 11px; background: var(--ocre); color: var(--nuit);
  font: 600 11px var(--body); letter-spacing: .02em; vertical-align: middle; }
.resa-adherent { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--fee); border-radius: 10px; padding: 12px 14px; }
.resa-adherent .badge-adherent { align-self: flex-start; }
.resa-indice b { color: var(--fee); font-weight: 600; }
.resa-prix-form .resa-filet { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.resa-mono { font-family: var(--mono); }
.resa-prix-form s { opacity: .65; }
.resa-min { display: flex; flex-direction: column; gap: 4px; border-radius: 10px; padding: 12px 14px; background: var(--panneau); font-size: 13px; }
.resa-min span { color: var(--muted); }
.adm-absent { color: var(--fee); }
.adm-absent-aide { margin-top: 10px; }
.adm-onglet-alerte { border-color: var(--lien); color: var(--lien); }
.adm-a-traiter { display: block; width: 100%; text-align: start; cursor: pointer; font: inherit; }
.logo-accueil { display: inline-flex; align-items: center; min-height: 44px; }
.resa-adherent, .resa-indice { margin-top: 14px; }

/* ---------- Lot du 21/11 : adhésion (E8.0, E15), réservation adhérent (E8.1, E8.2), code, intervenants ---------- */
.adh-prix { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.adh-prix b { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1; }
.adh-prix span { color: var(--muted); font-size: 14px; }
.adh-phrase { font-size: 15px; line-height: 1.5; margin: 0; }
.resa-code { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--fee); border-radius: 12px; padding: 14px; margin-top: 14px; }
.resa-code[hidden], #membre-code-zone[hidden], #adh-e15[hidden], #resa-code-saisie[hidden] { display: none; }
#membre-code-zone, #adh-e15 { display: flex; flex-direction: column; gap: 10px; }
.mb-code { font-family: var(--mono); font-size: 22px; letter-spacing: .3em; text-align: center; }
.resa-carte-adh { display: flex; flex-direction: column; gap: 2px; border-radius: 10px; padding: 12px 14px; background: rgba(0,0,0,.18); font-size: 13px; }
.resa-carte-adh span { color: var(--muted); }
.resa-adherent { margin-top: 14px; }
.resa-adh-titre { font-weight: 600; }
.resa-bon { margin: 0; padding-inline-start: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.mb-prix-texte { font-size: 13px; line-height: 1.5; color: #D9CFBF; margin: 0; }
.adm-actions-inscrit { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.adm-actions-inscrit .chip { text-decoration: none; }
.adm-prix-net { margin-top: 4px; }

/* ============================================================
   LOT DU 22/11 : Mon compte (E15.2, E15.3), connexion par code,
   espace intervenants (E11.1, E11.2, E11.6), validations (E12)
   ============================================================ */

/* Un élément masqué reste masqué, même si sa classe lui donne un display (code, motif, répétition). */
[hidden] { display: none !important; }

/* Pilules de filtres : toujours sur une seule ligne, sur toutes les pages (défilement si besoin). */
.filter-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chips .chip { flex-shrink: 0; white-space: nowrap; }
.infos-pastilles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.infos-pastille { flex-shrink: 0; white-space: nowrap; }

/* Connexion par code */
.cx-form { display: flex; flex-direction: column; gap: 12px; margin-block-start: 16px; }
.cx-code { display: flex; flex-direction: column; gap: 12px; }
.cx-code-champ { font-family: var(--mono); font-size: 24px; letter-spacing: .3em; text-align: center; }
.cx-aide { margin-block-start: 8px; }
.cpt-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fee); margin-block-start: 16px; }
.espace-titre i { font-style: italic; }
.cpt-mono { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.cpt-liens { margin-block-start: 20px; }

/* Mon compte : bandeau d'adhésion */
.cpt-adh { display: flex; align-items: center; gap: 12px; inline-size: 100%; padding: 14px 16px; margin: 8px 0 22px; border-radius: 12px;
  background: var(--panneau); border: 1px solid var(--line); color: var(--velin); text-align: start; cursor: pointer; font: inherit; }
.cpt-adh-icone { display: grid; place-items: center; inline-size: 30px; block-size: 30px; border-radius: 50%; background: var(--ocre); color: var(--nuit); flex-shrink: 0; font-weight: 700; }
.cpt-adh-icone svg { inline-size: 18px; block-size: 18px; }
.cpt-adh.expiree .cpt-adh-icone { background: var(--lien); }
.cpt-adh-corps { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.cpt-adh-carte { color: var(--fee); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cpt-titre-liste, .adm-titre-liste { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.cpt-titre-liste h2, .adm-titre-liste h2, .cpt-vide h2 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0; }
.cpt-titre-liste i, .adm-titre-liste i, .cpt-vide i { font-style: italic; }
.cpt-liste { display: flex; flex-direction: column; gap: 12px; margin-block-end: 16px; }
.cpt-resa { padding: 14px 16px; border-radius: 12px; background: var(--panneau); border: 1px solid var(--line); }
.cpt-resa-haut { display: flex; gap: 14px; align-items: flex-start; }
.cpt-resa-corps { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cpt-badge { align-self: flex-start; font-size: 11px; padding: 2px 9px; border-radius: 10px; border: 1px solid var(--p); color: var(--p); }
.cpt-resa-titre { font-family: var(--display); font-size: 18px; line-height: 1.2; color: var(--velin); }
.cpt-resa-meta { font-size: 12.5px; color: var(--muted); }
.cpt-resa-bas { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 12px; padding-block-start: 10px;
  border-block-start: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.cpt-voir { background: none; border: 0; color: var(--velin); font: inherit; font-weight: 600; white-space: nowrap; cursor: pointer; min-height: 40px; }
.cpt-vide { padding: 18px 16px; border-radius: 12px; border: 1px dashed var(--bord); display: flex; flex-direction: column; gap: 12px; margin-block-end: 16px; }
.cpt-vide p { margin: 0; color: var(--muted); }
.cpt-gerer, .cpt-deco { display: block; margin: 18px auto 0; text-align: center; }
.cpt-deco { color: var(--muted); }
#screen-compte .infos-label { margin-block: 22px 8px; }
/* Mon compte : pastilles de statut Adhérent / Intervenant (E15.2 à E15.4) */
.cpt-statuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 12px 4px; }
.cpt-statut { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); }
.cpt-statut b { font-size: 14px; color: var(--velin); }
.cpt-statut span { font-family: var(--mono); font-size: 11px; }
.cpt-statut.actif { border-color: var(--ocre); }
.cpt-statut.actif b::before { content: ""; display: inline-block; inline-size: 7px; block-size: 7px; border-radius: 50%; background: var(--ocre); margin-inline-end: 6px; vertical-align: middle; }
.cpt-sous-titre { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0 0 6px; }
#cpt-nouvelle-seance { margin-block: 4px 12px; }
/* Confirmation : « Cette expérience vous a plu ? Soutenir l'association » */
/* Confirmation d'un nouvel adhérent (E9.1b, E9.2b) : bloc « Adhésion active » */
.resa-adh-nouvelle { display: flex; flex-direction: column; gap: 6px; margin-block: 16px; padding: 16px; border-radius: 12px;
  border: 1px solid #C08A2E; background: #2B2115; }
[data-offre="atelier"] .resa-adh-nouvelle { background: #17342A; }
.resa-adh-nouvelle h2 { font-family: var(--display); font-weight: 600; font-size: 22px; margin: 0; }
.resa-adh-nouvelle p { margin: 0; font-size: 14px; line-height: 1.45; }
.resa-adh-nouvelle p.member-note { font-size: 13px; }
.resa-adh-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #E6C88A; }
.resa-adh-carte { align-self: flex-start; color: #FF6A4D; font-weight: 600; padding: 0; }
.resa-k-sous { display: block; font-size: 12px; color: var(--muted-dark); }
/* Infos : « Rejoindre le réseau » et « Faire un don » */
.infos-asso-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 4px; }
.infos-asso-lien { color: var(--fee); font-weight: 600; text-decoration: none; }
.resa-don { text-align: center; font-size: 14px; color: var(--muted); margin-block: 18px 8px; }

/* Espace intervenants : tableau de bord (E11.1) */
.adm-bandeau { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; margin: 12px 0 0; border-radius: 10px;
  border: 1px solid var(--fee); font-size: 13.5px; line-height: 1.45; }
.adm-bandeau .chip { margin-inline-start: auto; flex-shrink: 0; }
.adm-bandeau-refus { border-color: var(--lien); }
.adm-bandeau-info { border-style: dashed; border-color: var(--bord); }
.adm-point { inline-size: 8px; block-size: 8px; margin-block-start: 6px; border-radius: 50%; background: var(--fee); flex-shrink: 0; }
.adm-seance .adm-ligne-corps { gap: 4px; }
.adm-etat-confirmee { border-color: #6DBE74; background: #27733A; color: var(--velin); align-self: flex-start; }
.adm-etat-attente { border-color: var(--bord); color: var(--velin); align-self: flex-start; }
.adm-seance .adm-etat-brouillon { align-self: flex-start; }
.adm-jauge { display: block; block-size: 3px; border-radius: 2px; background: var(--line); margin-block-start: 6px; overflow: hidden; }
.adm-jauge span { display: block; block-size: 100%; background: var(--ocre); }
.adm-jauge.ok span { background: #6DBE74; }
.adm-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 20px; }
.adm-chiffres div { padding: 14px; border-radius: 12px; background: var(--panneau); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.adm-chiffres b { font-family: var(--display); font-weight: 400; font-size: 26px; }
.adm-chiffres span { font-size: 12px; color: var(--muted); }

/* Formulaires E11.2, E11.6 : compteurs, choix, prix */
.adm-stepper { display: flex; align-items: center; gap: 14px; }
.adm-stepper-btn { inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--bord); background: transparent; color: var(--velin);
  font-size: 20px; line-height: 1; cursor: pointer; }
.adm-stepper-val { font-family: var(--mono); font-size: 20px; min-inline-size: 84px; text-align: center; font-weight: 500; white-space: nowrap; }
.adm-stepper-apres { font-size: 12.5px; color: var(--muted); }
.adm-choix { flex-wrap: wrap; }
.adm-choix .chip { min-height: 40px; padding: 0 14px; font-size: 13px; }
.adm-choix .chip:disabled { opacity: .5; }
.adm-euros { position: relative; display: block; }
.adm-euros input { padding-inline-end: 34px; }
.adm-euros span { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.adm-compteur { float: inline-end; font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.adm-centre { text-align: center; }
.adm-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.adm-boutons .cta { flex: 1 1 160px; }
.adm-danger { border-color: var(--lien); color: var(--lien); }
.adm-repeter { display: flex; flex-direction: column; gap: 10px; }

/* Validations (E12) */
.adm-petit { min-height: 40px; padding: 0 16px; font-size: 13px; inline-size: auto; }
.adm-decision { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 10px; align-items: center; }
.adm-motif { display: flex; flex-direction: column; gap: 8px; inline-size: 100%; }
.adm-quand { font-family: var(--mono); font-size: 10.5px; color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.adm-couverture { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; margin-block-end: 8px; }
.adm-notifs { border-color: var(--lien); border-style: solid; }
.adm-notif { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-block-start: 1px solid var(--line); font-size: 12.5px; }
.adm-notif .chip { flex-shrink: 0; }

/* Sur ordinateur (22/11) : une seule largeur pour TOUTES les pages (accueil, fiches, Infos, Mon compte,
   espace, formulaires), pour que titres, onglets, listes et boutons soient alignés et de même taille.
   Rien ne change sur téléphone. */
@media (min-width: 900px) {
  :root { --colonne: 820px; }
  .screen-inner, .app-header, .back-header, .point-sheet { max-width: var(--colonne); }
  .screen-inner { padding-inline: 24px; }
  .app-header, .back-header { padding-inline: 24px; }
  #screen-espace .adm-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  #screen-espace .adm-liste.adm-inscrits { grid-template-columns: 1fr; }
  #screen-compte .cpt-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
}

/* Retours du 22/11 : bouton « Espace intervenants », recadrage des photos */
.infos-espace-btn { margin-block-start: 6px; font-weight: 700; }
.infos-intervenant { border-top: 1px solid var(--line); padding-block-start: 10px; min-height: 0; }
.cpt-espace-note { text-align: center; margin-block: 4px 8px; }
#screen-compte .infos-espace-btn { margin-block: 4px 10px; }
.adm-recadrage { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, .78); display: flex; align-items: center; justify-content: center; padding: 16px; }
.adm-recadrage-boite { inline-size: 100%; max-inline-size: 640px; max-block-size: 100%; overflow-y: auto; background: var(--nuit); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.adm-recadrage-toile { inline-size: 100%; block-size: auto; border-radius: 8px; touch-action: none; cursor: grab; outline: 2px solid var(--fee); }
.adm-recadrage-toile:active { cursor: grabbing; }
.adm-recadrage-zoom { inline-size: 100%; accent-color: var(--ocre); }
.adm-recadrage-petite { color: var(--fee); }

/* Onglet Validations : le bouton « Candidatures déjà traitées » ne chevauche plus la ligne du dessus ;
   la phrase du bas suit la colonne. */
#adm-zone > details.adm-trad { margin-top: 14px; }
#adm-zone > .adm-centre { text-align: start; }

/* Partage d'une expérience (22/11) */
.partage-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; margin-block-start: 10px; border-radius: 999px;
  border: 1px solid var(--bord); background: transparent; color: var(--velin); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.partage-btn svg { inline-size: 16px; block-size: 16px; }
.partage-note { display: block; margin-block-start: 6px; }
.adm-partage-lien { font-family: var(--mono); font-size: 13px; }

/* ---------- Menu (E1.3, E1.4, E1.5) et Langue (E1.2) ---------- */
#screen-menu { background: var(--nuit); }
.menu-tete { display: flex; align-items: center; justify-content: space-between; padding-block: 20px 14px; }
.menu-titre { font-family: var(--display); font-weight: 400; font-size: 32px; margin: 0; }
.menu-fermer { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--velin); color: var(--nuit); font-size: 18px; cursor: pointer; }
.menu-bloc { background: var(--panneau); border: 1px solid var(--line); border-radius: 14px; padding-inline: 16px; margin-block: 12px; }
.menu-bloc .menu-ligne:last-child { border-bottom: 0; }
.menu-ligne { inline-size: 100%; text-decoration: none; color: var(--velin); }
.menu-pied { margin-block: 24px 32px; }
.adh-panneau { margin-block: 12px; padding: 18px 16px; border-radius: 14px; background: #2B2016; border: 1px solid #4A3A24; display: flex; flex-direction: column; gap: 10px; }
.adh-panneau p { margin: 0; color: var(--velin); font-size: 14px; line-height: 1.5; }
.adh-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fee); }
.adh-titre { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 0; }
.adh-titre i { font-style: italic; }
.adh-deja { text-align: center; font-size: 13px; color: var(--muted) !important; }
.adh-deja .lien-bouton { color: var(--fee); font-weight: 600; }
.langue-liste { margin-block-start: 8px; }
.langue-ligne { inline-size: 100%; }
.langue-ligne.active .infos-ligne-t { color: var(--fee); }
.langue-coche { inline-size: 24px; block-size: 24px; border-radius: 50%; border: 1px solid var(--bord); display: grid; place-items: center; }
.langue-ligne.active .langue-coche { background: var(--ocre); border-color: var(--ocre); color: var(--nuit); }
.langue-coche svg { inline-size: 14px; block-size: 14px; }
