/* =====================================================================
   ZikStage – habillage sombre aligné sur ziklink.fr
   ===================================================================== */

/* =====================================================================
   Polices hébergées sur le serveur (aucun appel à Google Fonts)
   ===================================================================== */
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-700.woff2') format('woff2'); }
@font-face { font-family: 'Abhaya Libre'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/abhaya-libre-400.woff2') format('woff2'); }
@font-face { font-family: 'Abhaya Libre'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/abhaya-libre-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/open-sans-400.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/open-sans-600.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/open-sans-700.woff2') format('woff2'); }

:root {
  --fond: #131417;
  --surface: #1b1c21;
  --surface-2: #23252c;
  --filet: #2c2e36;
  --texte: #ededf0;
  --texte-2: #9a9ba6;
  --accent: #f06018;
  --accent-vif: #fc812f;
  --succes: #3dbe7a;
  --erreur: #ff6b6b;

  --police-titre: 'Cormorant', Georgia, 'Times New Roman', serif;
  --police-accroche: 'Abhaya Libre', Georgia, 'Times New Roman', serif;
  --police-texte: 'Open Sans', Arial, sans-serif;

  --rayon: 10px;
  --largeur: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; }

a { color: var(--accent-vif); text-underline-offset: 3px; }
a:hover { color: var(--texte); }

:focus-visible { outline: 2px solid var(--accent-vif); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--police-titre);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

.enveloppe { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 600px; padding-top: 56px; padding-bottom: 72px; }
.texte { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.bloc { padding-top: 72px; padding-bottom: 72px; }

.intro { color: var(--texte-2); font-size: 1.05rem; }

.saut { position: absolute; left: -9999px; }
.saut:focus { left: 16px; top: 16px; z-index: 10; background: var(--fond); padding: 8px 14px; }

/* ---------- En-tête ---------- */

.entete { border-bottom: 1px solid var(--filet); background: var(--fond); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 76px; }

.marque { display: flex; align-items: center; gap: 10px; color: var(--texte); text-decoration: none; }
.marque img { display: block; height: 60px; width: auto; max-width: 260px; object-fit: contain; }
.marque strong { font-family: var(--police-titre); font-size: 1.6rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }
.marque:hover { color: var(--texte); }

.menu { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: .95rem; }
.menu a:not(.bouton), .lien-bouton { color: rgba(255, 255, 255, .6); text-decoration: none; }
.menu a:not(.bouton):hover, .lien-bouton:hover, .menu a[aria-current="page"] { color: var(--accent-vif); }
.menu form { margin: 0; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ---------- Boutons (pilule à contour, comme ziklink.fr) ---------- */

.bouton {
  display: inline-block;
  padding: .9em 2em;
  border: 2px solid var(--accent);
  border-radius: 50px;
  background: transparent;
  color: var(--accent);
  font-family: var(--police-texte);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.bouton:hover { background: var(--accent); color: var(--fond); }
.bouton-plein { background: var(--accent); color: var(--fond); }
.bouton-plein:hover { background: var(--accent-vif); border-color: var(--accent-vif); color: var(--fond); }
.bouton-petit { padding: .7em 1.4em; font-size: .75rem; }

/* ---------- Messages ---------- */

.messages { padding-top: 20px; }
.avis { margin: 0 0 12px; padding: 14px 18px; border-radius: var(--rayon); border-left: 4px solid var(--texte-2); background: var(--surface); }
.avis-succes { border-left-color: var(--succes); }
.avis-erreur { border-left-color: var(--erreur); }
.avis-info { border-left-color: var(--accent); }

/* ---------- Formulaires ---------- */

.formulaire { margin: 28px 0 8px; }
.champ { margin-bottom: 20px; }
.champ label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.aide { font-weight: 400; color: var(--texte-2); font-size: .85rem; margin-left: 6px; }

input[type="text"], input[type="email"], input[type="password"], input:not([type]), select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--filet);
  border-radius: 8px;
  background: var(--surface);
  color: var(--texte);
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 96, 24, .25); }
input[aria-invalid="true"] { border-color: var(--erreur); }

.erreur { display: block; margin-top: 6px; color: var(--erreur); font-size: .9rem; }

.case { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; }
.case input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sous-formulaire { color: var(--texte-2); font-size: .95rem; }

.etroit h2 { margin-top: 48px; font-size: 1.6rem; }

/* ---------- Accueil ---------- */

/* Bandeau d'ouverture : photo fixe (effet parallaxe), comme ziklink.fr */
.scene {
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .45) 100%),
              url('../img/scene.png') center top / cover no-repeat fixed, var(--fond);
  padding: 10vw 0 110px;
}
.scene-cadre {
  background: rgba(19, 20, 23, .53);
  border-radius: var(--rayon);
  padding: 40px 30px 60px;
}
.scene h1 {
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--texte);
  margin-bottom: .4em;
}
.accroche { font-family: var(--police-accroche); font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: #fff; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }

/* Les téléphones et tablettes ne gèrent pas bien l'image fixe */
@media (hover: none), (max-width: 980px) {
  .scene { background-attachment: scroll, scroll; }
}

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--filet); }
.espace { padding: 28px 28px 8px 0; }
.espace + .espace { padding-left: 28px; border-left: 1px solid var(--filet); }
.espace h3 { color: var(--accent); }
.espace p { color: var(--texte-2); }

.bandeau { background: var(--surface); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.bandeau-ligne { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.bandeau-ligne h2 { margin: 0; }
.bandeau-ligne p { margin: 0; font-family: var(--police-accroche); font-size: 1.25rem; color: var(--texte); }

.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.formule { padding: 32px; border: 1px solid var(--filet); border-radius: var(--rayon); }
.formule-pro { border-color: var(--accent); }
.prix { font-family: var(--police-titre); font-size: 2.4rem; font-weight: 700; line-height: 1.1; }
.prix span { display: block; font-family: var(--police-texte); font-size: .95rem; font-weight: 400; color: var(--texte-2); }
.formule ul { margin: 20px 0 0; padding-left: 1.2em; color: var(--texte-2); }
.formule li { margin-bottom: 8px; }
.note { margin-top: 18px; color: var(--accent-vif); font-weight: 600; }

/* ---------- Mon espace ---------- */

.tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.tuile { display: block; padding: 26px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); color: var(--texte); text-decoration: none; }
a.tuile:hover { border-color: var(--accent); color: var(--texte); }
.tuile h2 { font-size: 1.6rem; }
.tuile p { color: var(--texte-2); margin-bottom: .6em; }
.tuile .etat { font-size: .85rem; color: var(--accent-vif); margin: 0; }

/* ---------- Pages de texte ---------- */

.texte h2 { margin-top: 1.6em; font-size: 1.6rem; }
.texte p, .texte li { color: var(--texte); }

/* ---------- Pied de page ---------- */

.pied { border-top: 1px solid var(--filet); color: var(--texte-2); font-size: .9rem; }
.pied-ligne { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.pied p { margin: 0; }
.pied nav { display: flex; gap: 20px; flex-wrap: wrap; }
.pied a { color: var(--texte-2); }
.pied a:hover { color: var(--accent-vif); }

/* ---------- Petits écrans ---------- */

@media (max-width: 820px) {
  .trio, .formules, .bandeau-ligne { grid-template-columns: 1fr; }
  .espace, .espace + .espace { padding: 24px 0 4px; border-left: 0; border-bottom: 1px solid var(--filet); }
  .bandeau-ligne { gap: 16px; }
  .scene { padding: 48px 0 56px; }
  .scene-cadre { padding: 24px 20px 32px; }
}

@media (max-width: 560px) {
  .deux-colonnes { grid-template-columns: 1fr; }
  .entete-ligne { padding-top: 12px; padding-bottom: 12px; }
  .menu { gap: 16px; }
  .marque img { height: 46px; }
  .bloc { padding-top: 52px; padding-bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =====================================================================
   Carnet du musicien
   ===================================================================== */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.onglets { display: flex; gap: 4px; margin: 28px 0 0; border-bottom: 1px solid var(--filet); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.onglets a { padding: 12px 18px; margin-bottom: -1px; border-bottom: 3px solid transparent; color: var(--texte-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.onglets a:hover { color: var(--texte); }
.onglets a[aria-current="page"] { color: var(--accent-vif); border-bottom-color: var(--accent); }
.nb { display: inline-block; min-width: 1.7em; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: var(--surface-2); color: var(--texte-2); font-size: .8em; text-align: center; }

.rubrique-entete { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin: 32px 0 24px; }
.rubrique-entete h2 { margin: 0; font-size: 1.9rem; }
.rubrique-entete .bouton { margin-left: auto; }
.quota { color: var(--texte-2); font-size: .9rem; }
.quota-atteint { margin-left: auto; color: var(--accent-vif); font-weight: 600; font-size: .9rem; }

.vide { max-width: 40em; color: var(--texte-2); }

.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.carte { overflow: hidden; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); }
.carte img { display: block; width: 100%; height: 180px; object-fit: cover; }
.carte-corps { padding: 18px 20px; }
.carte h3 { font-size: 1.45rem; margin-bottom: .4em; }

.details { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 12px; font-size: .92rem; }
.details dt { color: var(--texte-2); }
.details dd { margin: 0; }

.parametres { margin: 0 0 12px; padding: 10px 14px; list-style: none; background: var(--fond); border-radius: 8px; font-size: .9rem; }
.parametres li + li { margin-top: 2px; }

.badge { display: inline-block; vertical-align: middle; padding: 2px 9px; border-radius: 10px; background: var(--surface-2); color: var(--texte-2); font-family: var(--police-texte); font-size: .7rem; font-weight: 600; text-transform: none; letter-spacing: 0; }
.badge-public { background: rgba(61, 190, 122, .15); color: var(--succes); }

.fiche-actions { display: flex; align-items: center; gap: 16px; font-size: .9rem; }
.fiche-actions form { margin: 0; }
.lien-danger { color: var(--texte-2); }
.lien-danger:hover { color: var(--erreur); }

.liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.liste li { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.liste-titre { font-weight: 600; font-size: 1.05rem; }
.liste-info { margin-left: 12px; color: var(--texte-2); font-size: .9rem; }

.filtre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.filtre label { font-weight: 600; }
.filtre select { width: auto; min-width: 220px; }

.tableau-defile { overflow-x: auto; }
.tableau { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tableau th, .tableau td { padding: 10px 12px; border-bottom: 1px solid var(--filet); text-align: left; vertical-align: middle; }
.tableau th { color: var(--texte-2); font-weight: 600; white-space: nowrap; }
.tableau .fiche-actions { white-space: nowrap; }
.etoiles { color: var(--accent-vif); letter-spacing: 1px; white-space: nowrap; }
.statut { white-space: nowrap; }
.statut-maitrise { color: var(--succes); }
.statut-en_cours { color: var(--accent-vif); }

.choix-titre { margin-top: 1.4em; font-size: 1.5rem; }
.choix { display: flex; flex-wrap: wrap; gap: 10px; }
.choix a { padding: 9px 16px; border: 1px solid var(--filet); border-radius: 50px; color: var(--texte); text-decoration: none; }
.choix a:hover { border-color: var(--accent); color: var(--accent-vif); }

.aide-bloc { display: block; margin-top: 6px; color: var(--texte-2); font-size: .85rem; }
.cases { border: 0; padding: 0; margin: 0 0 20px; }
.cases legend { margin-bottom: 8px; font-weight: 600; font-size: .95rem; padding: 0; }
.cases label { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; font-weight: 400; }
.cases input { width: 17px; height: 17px; accent-color: var(--accent); }
.case-forte { padding: 16px; background: var(--surface); border-radius: var(--rayon); }
.trois-colonnes { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 0 18px; }
.boutons { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.photo-actuelle img { max-width: 220px; border-radius: 8px; display: block; }
input[type="date"], input[type="url"] { width: 100%; padding: 12px 14px; border: 1px solid var(--filet); border-radius: 8px; background: var(--surface); color: var(--texte); font: inherit; color-scheme: dark; }
input[type="file"] { font: inherit; color: var(--texte-2); }
select { color-scheme: dark; }

@media (max-width: 560px) {
  .trois-colonnes { grid-template-columns: 1fr; }
  .rubrique-entete .bouton, .quota-atteint { margin-left: 0; }
}

/* =====================================================================
   Presets partagés
   ===================================================================== */

.recherche { display: grid; grid-template-columns: 1fr 1fr 0.8fr auto; gap: 0 16px; align-items: end; margin: 32px 0 12px; padding: 22px 22px 2px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); }
.recherche-bouton { margin-bottom: 20px; }
.resultat-nb { color: var(--texte-2); margin: 16px 0 20px; }
.carte-titre { font-size: 1.45rem; margin-bottom: .4em; }
.carte-titre a { color: var(--texte); text-decoration: none; }
.carte-titre a:hover { color: var(--accent-vif); }
.auteur { margin: 0; color: var(--texte-2); font-size: .88rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 36px; color: var(--texte-2); }
.appel { margin-top: 56px; padding: 28px; border: 1px solid var(--accent); border-radius: var(--rayon); display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.appel p { margin: 0; font-family: var(--police-accroche); font-size: 1.2rem; }
.bandeau-action { margin-top: 20px !important; }
.fil { margin-bottom: 8px; font-size: .9rem; }
.details-grand { font-size: 1rem; gap: 8px 22px; margin: 24px 0 8px; }
.parametres-grand { font-size: 1rem; padding: 16px 22px; }

@media (max-width: 820px) {
  .recherche { grid-template-columns: 1fr; }
}

/* =====================================================================
   Espaces : groupes et organisations
   ===================================================================== */

.en-ligne { display: inline; margin: 0; }
.encart { margin-top: 32px; padding: 24px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); }
.encart h2 { font-size: 1.6rem; }
.encart-danger { border-color: rgba(255, 107, 107, .5); }
aside.encart { margin-top: 0; align-self: start; }
.espace-accueil { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin-top: 8px; }
.sous-titre { margin-top: 40px; font-size: 1.7rem; }
.petit-titre { margin-top: 24px; font-size: 1.15rem; }
.texte-libre { color: var(--texte); }
.petit { font-size: .85rem; }

.ev { align-items: center; }
.ev-pastille { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; flex-shrink: 0; vertical-align: middle; }
.ev-corps { flex: 1; min-width: 220px; }
.ev-corps .liste-info { display: block; margin: 2px 0 0; }
.ev-rep { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.rep { display: inline-block; padding: 1px 9px; border-radius: 10px; background: var(--surface-2); color: var(--texte-2); font-size: .78rem; margin-left: 6px; }
.rep-oui { background: rgba(61, 190, 122, .15); color: var(--succes); }
.rep-non { background: rgba(255, 107, 107, .12); color: var(--erreur); }

.membres-mini { list-style: none; margin: 0 0 16px; padding: 0; }
.membres-mini li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--filet); }

.legende { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--texte-2); font-size: .9rem; }
.nature { color: var(--texte-2); margin-bottom: 6px; }
.presence-boutons { display: flex; flex-wrap: wrap; gap: 10px; }

.formulaire-ligne { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.formulaire-ligne input, .formulaire-ligne select { flex: 1; min-width: 220px; width: auto; }
.etroit-form { max-width: 720px; }

.setlist { margin: 0 0 8px; padding-left: 1.6em; }
.setlist li { padding: 10px 0; border-bottom: 1px solid var(--filet); }
.setlist li::marker { color: var(--accent-vif); font-weight: 700; }
.setlist li > * { vertical-align: middle; }
.setlist-titre { display: inline-flex; flex-direction: column; min-width: 60%; }
.setlist .fiche-actions { float: right; }
.fleche { font-size: 1.1rem; padding: 0 4px !important; }

/* Calendrier FullCalendar aux couleurs du site */
.calendrier { margin: 20px 0 8px; --fc-border-color: var(--filet); --fc-page-bg-color: var(--fond); --fc-neutral-bg-color: var(--surface);
  --fc-list-event-hover-bg-color: var(--surface-2); --fc-today-bg-color: rgba(240, 96, 24, .10);
  --fc-button-bg-color: var(--surface); --fc-button-border-color: var(--filet); --fc-button-text-color: var(--texte);
  --fc-button-hover-bg-color: var(--surface-2); --fc-button-hover-border-color: var(--accent);
  --fc-button-active-bg-color: var(--accent); --fc-button-active-border-color: var(--accent); }
.calendrier .fc-toolbar-title { font-family: var(--police-titre); text-transform: uppercase; font-size: 1.6rem; }
.calendrier a { color: var(--texte); text-decoration: none; }
.calendrier .fc-daygrid-day { cursor: pointer; }
.calendrier .fc-list-day-cushion { background: var(--surface); }

@media (max-width: 900px) {
  .espace-accueil { grid-template-columns: 1fr; }
  .setlist .fiche-actions { float: none; margin-top: 6px; }
}

/* ---------- Documents, tâches, contacts ---------- */

.jauge { height: 8px; margin: -8px 0 24px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.jauge span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.filtres a { padding: 6px 14px; border: 1px solid var(--filet); border-radius: 50px; color: var(--texte-2); text-decoration: none; font-size: .9rem; }
.filtres a:hover { color: var(--texte); border-color: var(--texte-2); }
.filtres a[aria-current="page"] { color: var(--fond); background: var(--accent); border-color: var(--accent); }
.document audio { display: block; width: 100%; max-width: 420px; margin-top: 8px; height: 36px; }
.ev-corps .liste-info + .liste-info { margin-top: 2px; }
.filtre input[type="search"] { width: auto; min-width: 220px; flex: 1; padding: 9px 14px; border: 1px solid var(--filet); border-radius: 8px; background: var(--surface); color: var(--texte); font: inherit; }

.taches li { flex-wrap: nowrap; align-items: flex-start; }
.tache-case { padding-top: 2px; }
.case-tache { width: 24px; height: 24px; padding: 0; border: 2px solid var(--texte-2); border-radius: 6px; background: transparent; cursor: pointer;
  overflow: hidden; text-indent: 100px; white-space: nowrap; position: relative; }
.case-tache:hover { border-color: var(--accent); }
.case-cochee { background: var(--succes); border-color: var(--succes); }
.case-cochee::after { content: '✓'; position: absolute; inset: 0; text-indent: 0; color: var(--fond); font-weight: 700; line-height: 20px; text-align: center; }
.taches .faite .liste-titre { text-decoration: line-through; color: var(--texte-2); }

@media (max-width: 560px) {
  .taches li { flex-wrap: wrap; }
}

/* ---------- Planning, programmation, budget ---------- */

.planning .heure { display: inline-block; min-width: 58px; color: var(--accent-vif); }
.champ-court { width: 110px !important; min-width: 0 !important; flex: 0 0 auto !important; padding: 8px 10px; border: 1px solid var(--filet); border-radius: 8px; background: var(--surface); color: var(--texte); font: inherit; color-scheme: dark; }
.champ-moyen { width: 200px !important; min-width: 0 !important; flex: 0 0 auto !important; }
.tableau select { width: auto; padding: 6px 8px; }
.statut-pastille { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.lien-accent { color: var(--accent-vif); }
.lien-accent:hover { color: var(--texte); }
.nombre { text-align: right !important; white-space: nowrap; }
.budget-total { max-width: 460px; margin: 20px 0 8px auto; }
.solde td { font-weight: 700; border-top: 2px solid var(--filet); }
.positif { color: var(--succes); }
.negatif { color: var(--erreur); }

.calendrier .fc-prev-button, .calendrier .fc-next-button { font-size: 1.5rem; line-height: 1; padding: .2em .7em .35em; }

/* ---------- Connexion avec Google ---------- */
.google-zone { margin: 24px 0 0; }
.bouton-google { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px 20px;
  background: #fff; color: #1f1f1f; border: 1px solid #dadce0; border-radius: 50px; font-family: Roboto, var(--police-texte); font-weight: 600; font-size: .95rem; text-decoration: none; }
.bouton-google:hover { background: #f2f2f2; color: #1f1f1f; }
.separateur { display: flex; align-items: center; gap: 14px; margin: 20px 0 0; color: var(--texte-2); font-size: .9rem; }
.separateur::before, .separateur::after { content: ''; flex: 1; height: 1px; background: var(--filet); }

/* ---------- Pages de texte (légales) ---------- */
.texte ul { padding-left: 1.3em; }
.texte li { margin-bottom: .6em; }
.texte h2 { font-size: 1.5rem; }

/* ---------- Administration ---------- */
.chiffres { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-top: 28px; }
.chiffre { padding: 18px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); }
.chiffre strong { display: block; font-family: var(--police-titre); font-size: 2.2rem; line-height: 1; color: var(--accent-vif); }
.chiffre span { color: var(--texte-2); font-size: .88rem; }
.journal { white-space: pre-wrap; padding: 14px; background: var(--surface); border-radius: 8px; color: var(--texte-2); font-size: .85rem; }
.admin-actions { flex-wrap: wrap; justify-content: flex-end; }
.mini-form { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mini-form input { width: auto; padding: 6px 10px; }
.mini-form input[type="date"] { width: 150px; padding: 6px 10px; }

/* =====================================================================
   Plan de scène
   ===================================================================== */
.scene-reglages { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-end; margin: 8px 0 16px; }
.scene-reglages .champ { margin-bottom: 12px; }
.scene-reglages #nom { min-width: 240px; }
.scene-editeur { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: start; }
.scene-palette { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); padding: 12px; max-height: 80vh; overflow-y: auto; }
.scene-palette details { border-top: 1px solid var(--filet); padding: 8px 0; }
.scene-palette summary { cursor: pointer; font-weight: 600; font-size: .92rem; padding: 4px 0; }
.scene-boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.scene-ajout { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; background: var(--fond); border: 1px solid var(--filet); border-radius: 8px; color: var(--texte); cursor: pointer; font: inherit; font-size: .72rem; line-height: 1.2; text-align: center; }
.scene-ajout:hover { border-color: var(--accent); color: var(--accent-vif); }
.scene-ajout svg { width: 44px; height: 32px; }
.scene-centre { min-width: 0; }
.scene-svg { display: block; width: 100%; height: auto; max-height: 75vh; background: var(--fond); border: 1px solid var(--filet); border-radius: var(--rayon); touch-action: none; user-select: none; -webkit-user-select: none; }
.scene-svg .plancher, .plan-apercu .plancher { fill: var(--surface); stroke: var(--texte-2); stroke-width: 3; }
.scene-svg .grille, .plan-apercu .grille { stroke: var(--filet); stroke-width: 1.5; }
.scene-svg .repere, .plan-apercu .repere { fill: var(--texte-2); font: 600 17px var(--police-texte); letter-spacing: 2px; }
.scene-svg .etiquette, .plan-apercu .etiquette { fill: var(--texte); font: 600 15px var(--police-texte); pointer-events: none; }
.scene-el { color: var(--texte); cursor: grab; outline: none; }
.scene-el:active { cursor: grabbing; }
.scene-el .zone { fill: transparent; stroke: none; pointer-events: all; }
.scene-el.choisi { color: var(--accent-vif); }
.scene-el.choisi .zone { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 8 6; }
.ic { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ic .plein { fill: currentColor; }
.ic .leger { opacity: .35; }
.ic .ic-texte { fill: currentColor; stroke: none; font: 700 9px var(--police-texte); }
.scene-panneau { margin-top: 14px; padding: 16px 18px 6px; background: var(--surface); border: 1px solid var(--accent); border-radius: var(--rayon); }
.scene-outils { display: flex; flex-wrap: wrap; gap: 8px; }
.lien-danger-bouton { border-color: var(--erreur); color: var(--erreur); }
.lien-danger-bouton:hover { background: var(--erreur); color: var(--fond); }
.apercu-plan { display: block; background: var(--fond); border-bottom: 1px solid var(--filet); }
.plan-apercu { display: block; width: 100%; height: 170px; color: var(--texte); }
.carte-lien { color: var(--texte); text-decoration: none; }
.tableau-saisie input { width: 100%; min-width: 120px; padding: 7px 9px; }
@media (max-width: 900px) {
  .scene-editeur { grid-template-columns: 1fr; }
  .scene-palette { max-height: none; order: 2; }
  .scene-boutons { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
}

/* =====================================================================
   Dossier de presse public
   ===================================================================== */
.etroit-large { max-width: 860px; }
.prefixe { display: block; color: var(--texte-2); font-size: .82rem; margin-bottom: 4px; word-break: break-all; }
.colonnes-1-2 { grid-template-columns: 1fr 2fr; }
.encart-leger { margin-top: 12px; padding: 16px 18px 4px; }
.grille-photos .carte img { height: 160px; }

.epk-apercu { margin: 0; padding: 10px 20px; background: var(--accent); color: var(--fond); font-weight: 700; text-align: center; }
.epk-tete { position: relative; overflow: hidden; background: var(--surface); }
.epk-tete.avec-photo { min-height: min(78vh, 680px); display: flex; align-items: flex-end; }
.epk-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.epk-tete.avec-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(19,20,23,.92) 100%); }
.epk-tete-contenu { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 56px; }
.epk-tete h1 { font-size: clamp(2.8rem, 9vw, 6.5rem); line-height: .95; letter-spacing: -0.02em; margin: .1em 0 .2em; color: #fff; }
.epk-tete .accroche { color: #fff; max-width: 36em; }
.epk-surtitre { margin: 0; color: var(--accent-vif); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; }
.epk-corps { padding-top: 24px; padding-bottom: 40px; }
.epk-bloc { padding: 48px 0; border-bottom: 1px solid var(--filet); }
.epk-bloc:last-child { border-bottom: 0; }
.epk-chapeau { font-family: var(--police-accroche); font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.55; max-width: 38em; }
.epk-suite summary { cursor: pointer; color: var(--accent-vif); font-weight: 600; margin: 8px 0 16px; }
.epk-suite .texte-libre { max-width: 42em; }

.epk-medias { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.epk-lecteur, .epk-lien-media { border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--surface); overflow: hidden; }
.epk-lecteur.video { aspect-ratio: 16 / 9; }
.epk-lecteur iframe { display: block; width: 100%; height: 100%; min-height: 150px; border: 0; }
.epk-lancer, .epk-lien-media { display: flex; align-items: center; gap: 16px; width: 100%; height: 100%; min-height: 96px; padding: 18px; background: none; border: 0; color: var(--texte); font: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.epk-lancer:hover, .epk-lien-media:hover { background: var(--surface-2); color: var(--texte); }
.epk-lancer small, .epk-lien-media small { display: block; color: var(--texte-2); font-size: .82rem; margin-top: 2px; }
.epk-play { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--fond); font-size: 1.3rem; }

.epk-dates { list-style: none; margin: 0; padding: 0; }
.epk-dates li { display: flex; align-items: center; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.epk-jour { min-width: 76px; text-align: center; color: var(--texte-2); text-transform: uppercase; font-size: .8rem; line-height: 1.1; }
.epk-jour strong { display: block; font-family: var(--police-titre); font-size: 2.2rem; color: var(--accent-vif); }
.epk-lieu { flex: 1; }
.epk-lieu small { display: block; color: var(--texte-2); }

.epk-photos { columns: 3 260px; column-gap: 16px; }
.epk-photos figure { margin: 0 0 16px; break-inside: avoid; }
.epk-photos img { display: block; width: 100%; height: auto; border-radius: 8px; }
.epk-photos figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 6px; color: var(--texte-2); font-size: .82rem; }

.epk-presse { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.epk-presse blockquote { margin: 0; padding: 22px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--rayon) var(--rayon) 0; }
.epk-presse p { font-family: var(--police-accroche); font-size: 1.2rem; margin: 0 0 10px; }
.epk-presse footer { color: var(--texte-2); font-size: .88rem; }
.epk-repertoire { columns: 3 220px; margin: 0; padding-left: 1.2em; }
.epk-repertoire li { margin-bottom: 4px; break-inside: avoid; }
.epk-repertoire small { color: var(--texte-2); }
.epk-contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.epk-reseaux { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.epk-reseaux a { display: inline-block; padding: 8px 16px; border: 1px solid var(--filet); border-radius: 50px; color: var(--texte); text-decoration: none; }
.epk-reseaux a:hover { border-color: var(--accent); color: var(--accent-vif); }

/* Variante « Studio » : fond clair, façon magazine */
.epk-studio { --fond: #f4f1ea; --surface: #fffdf8; --surface-2: #ece6da; --filet: #ddd5c6; --texte: #1d1c1a; --texte-2: #6b665d; --accent: #c4501a; --accent-vif: #b4481a; }
.epk-studio .epk-tete h1, .epk-studio .epk-tete .accroche { color: #fff; }
.epk-studio .epk-tete:not(.avec-photo) h1, .epk-studio .epk-tete:not(.avec-photo) .accroche { color: var(--texte); }
.epk-studio .bouton-plein, .epk-studio .epk-play { color: #fff; }

/* Variante « Minimal » (Pro) : fond blanc, épuré, accent bleu */
.epk-minimal { --fond: #ffffff; --surface: #f5f7fa; --surface-2: #e9edf3; --filet: #dde2ea; --texte: #14181f; --texte-2: #5a6372; --accent: #1f4fd8; --accent-vif: #1a42b4; }
.epk-minimal .epk-tete h1, .epk-minimal .epk-tete .accroche { color: #fff; }
.epk-minimal .epk-tete:not(.avec-photo) h1, .epk-minimal .epk-tete:not(.avec-photo) .accroche { color: var(--texte); }
.epk-minimal .bouton-plein, .epk-minimal .epk-play { color: #fff; }

/* Variante « Velours » (Pro) : fond bordeaux sombre, accent doré */
.epk-velours { --fond: #1c1013; --surface: #271619; --surface-2: #33201f; --filet: #4a2f33; --texte: #f4ebe6; --texte-2: #bda69d; --accent: #d4a24c; --accent-vif: #e8bb66; }
.epk-velours .bouton-plein, .epk-velours .epk-play { color: #1c1013; }

@media (max-width: 700px) {
  .epk-contact-grille, .colonnes-1-2 { grid-template-columns: 1fr; }
  .epk-dates li { flex-wrap: wrap; gap: 10px 16px; }
}

/* ---------- Comment ça marche ---------- */
.aide-sommaire { margin: 28px 0 8px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); }
.aide-sommaire ol { columns: 2 220px; margin: 0; padding-left: 1.3em; }
.aide-sommaire li { margin-bottom: 6px; break-inside: avoid; }
.aide h2 { margin-top: 2.2em; scroll-margin-top: 20px; }
.aide-astuce { padding: 14px 18px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--rayon) var(--rayon) 0; }
.aide ol:not(.aide-sommaire ol) li { margin-bottom: .6em; }

/* Comment ça marche : colonne centrée dans la page, en-tête centré */
.aide { margin-left: auto; margin-right: auto; }
.aide > h1, .aide > .epk-chapeau { text-align: center; margin-left: auto; margin-right: auto; }
.aide-sommaire { max-width: 620px; margin-left: auto; margin-right: auto; }
.aide .appel { justify-content: center; text-align: center; }

/* ---------- Dossier de presse : impression / PDF ---------- */
.epk-impression { display: none; }
@media print {
  body.epk { --fond: #fff; --surface: #fff; --surface-2: #eee; --filet: #cfcfcf; --texte: #111; --texte-2: #555; --accent: #c4501a; --accent-vif: #c4501a;
             background: #fff !important; color: #111 !important; }
  body.epk .epk-apercu, body.epk .actions, body.epk .epk-formulaire, body.epk .epk-fond, body.epk .pied nav, body.epk .epk-lancer small { display: none !important; }
  body.epk .epk-tete, body.epk .epk-tete h1, body.epk .epk-tete .accroche, body.epk .epk-surtitre { background: none !important; color: #111 !important; }
  body.epk .epk-impression { display: block !important; }
  body.epk .epk-bloc { break-inside: avoid; }
  body.epk .epk-photos figure { break-inside: avoid; }
  body.epk .epk-suite > :not(summary) { display: block !important; }
  body.epk a { color: #111; text-decoration: none; }
}

/* ---------- Dossier de presse : en-tête allégé sur téléphone ---------- */
@media (max-width: 700px) {
  .epk-tete.avec-photo { min-height: min(62vh, 520px); }
  .epk-tete-contenu { padding-top: 48px; padding-bottom: 40px; }
  .epk-tete .actions [data-imprimer] { display: none; }
}

/* Assistant d'aide (bulle de chat) */
.assistant-bouton { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; border: 0; border-radius: 999px; background: var(--accent); color: #131417; font: 600 .95rem var(--police-texte); cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.45); }
.assistant-bouton:hover { background: var(--accent-vif); }
.assistant-bouton-icone { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #131417; color: var(--accent-vif); font-weight: 700; }
.assistant-panneau { position: fixed; right: 20px; bottom: 76px; z-index: 60; display: flex; flex-direction: column; width: 370px; max-width: calc(100vw - 32px); height: min(560px, calc(100vh - 110px)); background: var(--surface); border: 1px solid var(--filet); border-radius: var(--rayon); box-shadow: 0 10px 34px rgba(0,0,0,.55); overflow: hidden; }
.assistant-panneau[hidden] { display: none; }
.assistant-entete { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--filet); font-family: var(--police-titre); font-size: 1.25rem; text-transform: uppercase; }
.assistant-fermer { border: 0; background: none; color: var(--texte-2); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.assistant-fermer:hover { color: var(--texte); }
.assistant-fil { position: relative; flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.assistant-msg { max-width: 92%; padding: 9px 12px; border-radius: 12px; font-size: .93rem; line-height: 1.5; overflow-wrap: anywhere; }
.assistant-msg p { margin: 0 0 .5em; }
.assistant-msg p:last-child { margin-bottom: 0; }
.assistant-bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--filet); }
.assistant-moi { align-self: flex-end; background: var(--accent); color: #131417; }
.assistant-titre-rep { display: block; margin-bottom: .35em; color: var(--accent-vif); }
.assistant-liens { margin: .6em 0 0; padding-left: 1.1em; }
.assistant-voir { margin: .8em 0 .3em; color: var(--texte-2); font-size: .85rem; }
.assistant-puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: .5em; }
.assistant-puce { padding: 5px 10px; border: 1px solid var(--accent); border-radius: 999px; background: transparent; color: var(--texte); font: .85rem var(--police-texte); cursor: pointer; text-align: left; }
.assistant-puce:hover { background: var(--accent); color: #131417; }
.assistant-saisie { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--filet); background: var(--surface-2); }
.assistant-saisie input { flex: 1; min-width: 0; padding: 9px 11px; border: 1px solid var(--filet); border-radius: 8px; background: var(--fond); color: var(--texte); font: .95rem var(--police-texte); }
.assistant-envoyer { padding: 0 14px; border: 0; border-radius: 8px; background: var(--accent); color: #131417; font: 600 .9rem var(--police-texte); cursor: pointer; }
@media (max-width: 520px) { .assistant-bouton { right: 12px; bottom: 12px; } .assistant-panneau { right: 12px; left: 12px; bottom: 68px; width: auto; max-width: none; } }
@media print { .assistant-bouton, .assistant-panneau { display: none; } }

/* Admin › Utilisation */
.chiffres-serres { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.chiffres-serres .chiffre { padding: 14px; }
.chiffres-serres .chiffre strong { font-size: 1.7rem; }
.tableau-usage { font-size: .88rem; }
.tableau-usage th { white-space: normal; vertical-align: bottom; }
.tableau-usage th a { color: inherit; text-decoration: none; }
.tableau-usage th a:hover, .tableau-usage th[aria-sort] a { color: var(--accent-vif); }
.tableau-usage .num { text-align: right; font-variant-numeric: tabular-nums; }
.tableau-usage .nowrap { white-space: nowrap; }
.tableau-usage .zero { color: var(--texte-2); opacity: .5; }
.tableau-usage tbody tr:hover { background: var(--surface); }.tableau-usage td:first-child { min-width: 220px; }
.tableau-usage td:first-child .badge { margin-left: 4px; }
/* Vitrine des groupes et appel au mini-site */
.vitrine-carte { display: flex; flex-direction: column; color: var(--texte); text-decoration: none; transition: border-color .15s; }
.vitrine-carte:hover { border-color: var(--accent); }
.vitrine-carte img { height: 200px; }
.vitrine-vide { display: flex; align-items: center; justify-content: center; height: 200px; font-size: 3rem; color: var(--accent-vif); background: var(--fond, #111); }
.vitrine-carte .carte-titre { font-size: 1.35rem; }
.vitrine-lien { margin: .6em 0 0; color: var(--accent-vif); font-weight: 600; }
.minisite-appel { margin: 24px 0 8px; }
.minisite-appel p:last-child { margin-bottom: 0; }

/* Accueil : icônes et vignettes des pastilles (19/11/2026) */
.espace-icone { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent-vif); background: rgba(240, 96, 24, .08); }
.espace-icone svg { width: 27px; height: 27px; }
.vignette { display: block; margin: 0 0 18px; border: 1px solid var(--filet); border-radius: var(--rayon); overflow: hidden; background: var(--surface); transition: border-color .2s, transform .2s; }
.vignette:hover { border-color: var(--accent); transform: translateY(-2px); }
.vignette svg { display: block; width: 100%; height: auto; font-family: var(--police-texte); }
.vignette .v-s { fill: var(--surface-2); }
.vignette .v-fd { fill: var(--surface); stroke: var(--filet); stroke-width: 1.5; }
.vignette .v-f { fill: none; stroke: var(--texte-2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.vignette .v-sa { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.vignette .v-a { fill: var(--accent); }
.vignette .v-l { fill: var(--texte-2); }
.vignette .v-t { fill: var(--texte); }
.vignette .v-ph { fill: var(--filet); }
@media (max-width: 820px) { .vignette { max-width: 440px; } }
@media (prefers-reduced-motion: reduce) { .vignette, .vignette:hover { transition: none; transform: none; } }

/* Adresse e-mail du groupe (19/11/2026) */
.champ-adresse { display: flex; align-items: center; gap: 8px; }
.champ-adresse input { flex: 1; min-width: 0; }
.champ-adresse span { color: var(--texte-2); white-space: nowrap; }
.aide-champ { display: block; margin-top: 6px; font-size: .88rem; color: var(--texte-2); }

/* Argument « moins d’1 € par musicien » (29/11/2026) */
.prix-musicien { margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: rgba(255,255,255,.04); border-radius: 4px; color: var(--texte-2); font-size: .95rem; }
.prix-musicien strong { color: var(--accent); }

/* =====================================================================
   Check-list du matériel et vote du public (29/11/2026)
   ===================================================================== */
.matos-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.matos-membres { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 14px 0; }
.matos-membre { padding: 14px 16px; border: 1px solid var(--filet); border-radius: var(--rayon); }
.matos-membre.matos-complet { border-color: var(--accent); }
.matos-membre .petit-titre { display: flex; justify-content: space-between; gap: 8px; margin-top: 0; }
.matos-liste { list-style: none; margin: 8px 0 0; padding: 0; }
.matos-liste li { display: flex; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--filet); }
.matos-liste li:last-child { border-bottom: 0; }
.matos-liste .matos-nom { flex: 1 1 auto; min-width: 0; }
.matos-liste li.matos-pret .matos-nom { opacity: .6; text-decoration: line-through; }
.matos-case, button.matos-case { background: none; border: 0; padding: 0 2px; font-size: 1.35rem; line-height: 1; color: var(--accent); cursor: pointer; }
span.matos-case { cursor: default; opacity: .7; }
.lien-discret { font-size: .8rem; opacity: .65; }
.matos-tout { margin: 8px 0 0; font-size: .9rem; }
.matos-ajout, .vote-ajout { margin: 12px 0 24px; }
.matos-ajout summary, .vote-ajout summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.matos-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 16px; border: 1px solid var(--filet); border-radius: var(--rayon); padding: 10px 14px; }
.matos-choix legend { padding: 0 6px; }

.vote-carte { margin: 12px 0; }
.vote-entete { display: flex; justify-content: space-between; gap: 12px; margin-top: 0; }
.vote-barres { list-style: none; margin: 10px 0; padding: 0; }
.vote-barres li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr) auto; align-items: center; gap: 12px; padding: 6px 0; }
.vote-jauge { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.vote-jauge span { display: block; height: 100%; background: var(--accent); border-radius: 6px; transition: width .6s ease; }
.vote-chiffre { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Page publique */
.vote-public { max-width: 640px; text-align: center; }
.vote-public h1 { margin: .2em 0 .4em; }
.vote-public .surtitre { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--texte-2); }
.vote-choix { list-style: none; margin: 20px 0 8px; padding: 0; display: grid; gap: 12px; }
.vote-bouton { position: relative; width: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "titre chiffre" "jauge jauge"; gap: 8px 12px; align-items: center;
  padding: 18px 20px; border: 2px solid var(--filet); border-radius: var(--rayon); background: rgba(255, 255, 255, .03); color: inherit; font: inherit; font-size: 1.15rem; text-align: left; cursor: pointer; }
.vote-bouton:hover:not(:disabled), .vote-bouton:focus-visible { border-color: var(--accent); }
.vote-bouton:disabled { cursor: default; }
.vote-bouton .vote-libelle { grid-area: titre; font-weight: 600; }
.vote-bouton .vote-chiffre { grid-area: chiffre; }
.vote-bouton .vote-jauge { grid-area: jauge; }
.vote-bouton.vote-mon-choix { border-color: var(--accent); background: rgba(255, 255, 255, .07); }
.vote-bouton.vote-mon-choix .vote-libelle::after { content: "  ✓ votre choix"; font-weight: 400; font-size: .85rem; color: var(--accent); }
.vote-bouton.vote-envoi { opacity: .6; }
.vote-public:not(.vote-a-vote):not(.vote-ferme) .vote-bouton .vote-jauge,
.vote-public:not(.vote-a-vote):not(.vote-ferme) .vote-bouton .vote-chiffre { display: none; }
.vote-total { color: var(--texte-2); }
.vote-promo { margin-top: 28px; text-align: left; }
.vote-promo p:last-child { margin-bottom: 0; }

/* Écran du groupe */
.vote-ecran { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr); gap: 40px; align-items: center; margin: 20px 0; padding: 28px; border: 1px solid var(--filet); border-radius: var(--rayon); }
.vote-ecran:fullscreen { background: #111; padding: 4vw; border: 0; }
.vote-qr { text-align: center; }
.vote-qr-image svg { width: 100%; max-width: 360px; height: auto; border-radius: 8px; }
.vote-appel { font-family: var(--police-titre); font-size: 1.8rem; font-weight: 700; margin: 0 0 12px; }
.vote-lien { font-size: 1.1rem; letter-spacing: .02em; margin: 10px 0 4px; word-break: break-all; }
.vote-marque { font-size: .85rem; color: var(--texte-2); margin: 0; }
.vote-barres-grandes li { font-size: 1.3rem; padding: 12px 0; }
.vote-barres-grandes .vote-jauge { height: 22px; border-radius: 11px; }
@media (max-width: 800px) { .vote-ecran { grid-template-columns: 1fr; } }
@media print {
  .entete, .pied, .vote-pas-imprime, .zl-assistant, .assistant { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .vote-ecran { grid-template-columns: 1fr; border: 0; }
  .vote-direct { display: none; }
  .vote-qr-image svg { max-width: 12cm; }
}

/* =====================================================================
   Tutoriels vidéo hébergés sur ZikStage (30/11/2026) : lecteur du navigateur, sans service extérieur
   ===================================================================== */
.videos-bloc { margin: 8px 0 24px; }
.video-tuto { margin: 0 0 20px; max-width: 720px; }
.video-cadre { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--filet); border-radius: var(--rayon); background: #000; overflow: hidden; }
.video-cadre video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-tuto figcaption { margin-top: 8px; }
.video-tuto figcaption strong { display: block; }
.video-tuto figcaption .video-desc { display: block; margin-top: 4px; color: var(--texte-2); }
.admin-video-mini { width: 96px; height: 54px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: 10px; }

.video-lien { margin: 6px 0 16px; font-size: .95rem; }
.video-lien a { font-weight: 600; }
.sommaire-video { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--fond); font-size: .72rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }

.video-lancer { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; color: #fff; font: inherit; cursor: pointer; }
.video-lancer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-lancer:hover img, .video-lancer:focus-visible img { opacity: 1; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--fond); font-size: 1.7rem; box-shadow: 0 4px 18px rgba(0, 0, 0, .45); transition: transform .2s; }
.video-lancer:hover .video-play, .video-lancer:focus-visible .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-titre-sur { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); text-align: left; font-weight: 600; }
.video-cadre iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-tuto figcaption small { display: block; margin-top: 4px; color: var(--texte-2); font-size: .82rem; }
.video-options { margin: 18px 0; padding: 12px 16px; border: 1px solid var(--filet); border-radius: var(--rayon); }
.video-options summary { cursor: pointer; font-weight: 600; }
