/* ===================== Nos Vœux de Noël ===================== */
:root {
  --sapin-950: #071a10;
  --sapin-900: #0c281b;
  --sapin-850: #0f2f20;
  --sapin-800: #133826;
  --sapin-700: #19452f;
  --sapin-600: #215a3d;
  --or: #d9b56a;
  --or-clair: #efd59c;
  --or-fonce: #a98234;
  --creme: #f8f1e2;
  --creme-doux: #d9cfb9;
  --creme-pale: #a9b6a6;
  --rouge: #b3262e;
  --rouge-clair: #e06a6f;
  --vert-ok: #7fcf9b;
  --ombre: 0 18px 40px -18px rgba(0,0,0,.65);
  --rayon: 16px;
  --titre: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --texte: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--sapin-900);
  color: var(--creme);
  font-family: var(--texte);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--or-clair); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--or-clair); outline-offset: 3px; border-radius: 8px; }

/* ---------- Ambiance ---------- */
.ciel {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(217,181,106,.16), transparent 60%),
    radial-gradient(900px 700px at 100% 110%, rgba(179,38,46,.10), transparent 60%),
    radial-gradient(800px 600px at -10% 80%, rgba(47,122,79,.25), transparent 60%),
    linear-gradient(180deg, var(--sapin-900), var(--sapin-950));
}
.ciel::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, rgba(248,241,226,.6), transparent 60%),
    radial-gradient(1px 1px at 90px 120px, rgba(248,241,226,.5), transparent 60%),
    radial-gradient(1.4px 1.4px at 160px 60px, rgba(239,213,156,.6), transparent 60%),
    radial-gradient(1px 1px at 210px 170px, rgba(248,241,226,.45), transparent 60%);
  background-size: 240px 200px;
}
#flocons { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.flocon {
  position: absolute; top: -20px; color: rgba(248,241,226,.55);
  animation: tomber linear infinite; user-select: none;
}
@keyframes tomber {
  0% { transform: translate3d(0,-20px,0) rotate(0); }
  100% { transform: translate3d(40px,110vh,0) rotate(220deg); }
}
@media (prefers-reduced-motion: reduce) { .flocon { display: none; } }

/* ---------- En-tête ---------- */
.entete {
  position: relative;
  padding: 18px 16px 0;
  border-bottom: 1px solid rgba(217,181,106,.22);
  background: linear-gradient(180deg, rgba(7,26,16,.65), rgba(7,26,16,.2));
  overflow: hidden;
}
.branche { position: absolute; top: -8px; width: 230px; height: 125px; pointer-events: none; opacity: .9; }
.branche-g { left: -40px; }
.branche-d { right: -40px; transform: scaleX(-1); }
.entete-int {
  position: relative; max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.marque {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--titre); font-weight: 700; font-size: clamp(30px, 5vw, 44px);
  color: var(--or); letter-spacing: .01em; line-height: 1.05;
  text-shadow: 0 2px 18px rgba(217,181,106,.25);
}
.marque-etoile { width: 34px; height: 34px; color: var(--or); filter: drop-shadow(0 0 10px rgba(239,213,156,.55)); flex: none; }
.entete-moi { display: flex; align-items: center; gap: 12px; }
.bonjour { color: var(--creme-doux); font-size: 17px; }
.bonjour strong { color: var(--creme); }

.nav {
  position: relative; max-width: 1120px; margin: 16px auto 0;
  display: flex; gap: 6px;
}
.nav a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px 14px; text-decoration: none;
  color: var(--creme-doux); font-weight: 600; font-size: 17px;
  border-radius: 12px 12px 0 0; border: 1px solid transparent; border-bottom: none;
}
.nav a svg { width: 22px; height: 22px; flex: none; }
.nav a:hover { color: var(--creme); background: rgba(217,181,106,.07); }
.nav a.actif {
  color: var(--or-clair);
  background: linear-gradient(180deg, rgba(217,181,106,.15), rgba(217,181,106,.04));
  border-color: rgba(217,181,106,.35);
  box-shadow: inset 0 2px 0 var(--or);
}

/* ---------- Mise en page ---------- */
main { max-width: 1120px; margin: 0 auto; padding: 28px 16px 60px; outline: none; }
.pied {
  max-width: 1120px; margin: 0 auto; padding: 10px 16px 40px;
  color: var(--creme-pale); font-size: 15px; text-align: center;
  display: flex; gap: 8px; align-items: center; justify-content: center;
}
.pied svg { width: 18px; height: 18px; color: var(--or); }

h1, h2, h3 { font-family: var(--titre); color: var(--or); font-weight: 700; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 48px); }
h2 { font-size: clamp(26px, 3.6vw, 32px); }
h3 { font-size: 24px; }
.titre-page { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.sous-titre { color: var(--creme-doux); margin: 6px 0 24px; max-width: 62ch; }
.ornement { display: flex; align-items: center; gap: 12px; color: var(--or); margin: 6px 0 18px; }
.ornement::before, .ornement::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(217,181,106,.6), transparent); }
.ornement svg { width: 16px; height: 16px; }
.muted { color: var(--creme-pale); }
.petit { font-size: 15px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: 14px;
  font-weight: 700; font-size: 18px; line-height: 1.15; text-decoration: none; text-align: center;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .12s ease, background-color .15s, box-shadow .15s, border-color .15s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-or {
  background: linear-gradient(180deg, var(--or-clair), var(--or));
  color: var(--sapin-950);
  box-shadow: 0 8px 20px -10px rgba(217,181,106,.8), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-or:hover { background: linear-gradient(180deg, #f6e2b3, #e0bf7a); }
.btn-contour { background: rgba(217,181,106,.06); color: var(--or-clair); border-color: rgba(217,181,106,.55); }
.btn-contour:hover { background: rgba(217,181,106,.14); border-color: var(--or); }
.btn-fantome { background: transparent; color: var(--creme-doux); border-color: rgba(248,241,226,.18); }
.btn-fantome:hover { color: var(--creme); border-color: rgba(248,241,226,.4); }
.btn-rouge { background: rgba(179,38,46,.14); color: #ffb9bc; border-color: rgba(224,106,111,.55); }
.btn-rouge:hover { background: rgba(179,38,46,.28); }
.btn-vert { background: rgba(127,207,155,.12); color: var(--vert-ok); border-color: rgba(127,207,155,.5); }
.btn-petit { min-height: 44px; padding: 8px 14px; font-size: 16px; border-radius: 12px; }
.btn-petit svg { width: 19px; height: 19px; }
.btn-large { width: 100%; }
.btn-lien { background: none; border: none; color: var(--or-clair); text-decoration: underline; cursor: pointer; padding: 6px 2px; font-size: 16px; font-weight: 600; }
.rangee-btn { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Accueil ---------- */
.accueil-intro { text-align: center; margin: 12px auto 30px; max-width: 760px; }
.accueil-intro h1 { font-size: clamp(36px, 6vw, 56px); }
.accueil-intro p { color: var(--creme-doux); font-size: 19px; margin: 10px 0 0; }
.espaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.espace {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 22px 26px; text-decoration: none; color: var(--creme);
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(217,181,106,.13), transparent 70%),
    linear-gradient(180deg, var(--sapin-700), var(--sapin-800));
  border: 1px solid rgba(217,181,106,.35); border-radius: 22px; box-shadow: var(--ombre);
  transition: transform .18s ease, border-color .18s, box-shadow .18s;
}
.espace::before {
  content: ""; position: absolute; inset: 7px; border-radius: 16px;
  border: 1px solid rgba(217,181,106,.16); pointer-events: none;
}
.espace:hover { transform: translateY(-4px); border-color: var(--or); box-shadow: 0 26px 50px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(217,181,106,.3); }
.espace-icone {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 16px;
  color: var(--or-clair); background: radial-gradient(circle at 35% 30%, rgba(239,213,156,.25), rgba(217,181,106,.06));
  border: 1.5px solid rgba(217,181,106,.55);
}
.espace-icone svg { width: 44px; height: 44px; }
.espace h2 { font-size: 30px; margin-bottom: 8px; }
.espace p { margin: 0 0 18px; color: var(--creme-doux); }
.espace .compteur { margin-top: auto; font-weight: 700; color: var(--or-clair); font-size: 16px; letter-spacing: .02em; }
.espace-admin { margin-top: 22px; text-align: center; }

/* ---------- Bandeaux ---------- */
.bandeau {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 18px; border-radius: 14px; margin: 0 0 22px;
  background: rgba(217,181,106,.08); border: 1px solid rgba(217,181,106,.3); color: var(--creme-doux);
}
.bandeau svg { width: 24px; height: 24px; flex: none; color: var(--or); margin-top: 2px; }
.bandeau strong { color: var(--creme); }
.bandeau-rouge { background: rgba(179,38,46,.12); border-color: rgba(224,106,111,.45); }
.bandeau-rouge svg { color: var(--rouge-clair); }

/* ---------- Cartes cadeaux ---------- */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.carte {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--sapin-700), var(--sapin-800));
  border: 1px solid rgba(217,181,106,.28); border-radius: var(--rayon);
  box-shadow: var(--ombre); overflow: hidden;
}
.carte.indispo { opacity: .78; }
.carte.indispo .carte-photo img { filter: grayscale(.55) brightness(.75); }
.carte-photo {
  position: relative; aspect-ratio: 4 / 3; background: var(--sapin-850);
  display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(217,181,106,.2);
}
.carte-photo img { width: 100%; height: 100%; object-fit: cover; }
.carte-photo .sans-photo { width: 84px; height: 84px; color: rgba(217,181,106,.45); }
.pastilles { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.pastille {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(7,26,16,.86); color: var(--or-clair); border: 1px solid rgba(217,181,106,.5);
  backdrop-filter: blur(4px);
}
.pastille-rouge { color: #ffd3d5; border-color: rgba(224,106,111,.7); background: rgba(90,14,20,.88); }
.pastille-verte { color: #c8f1d5; border-color: rgba(127,207,155,.7); background: rgba(10,50,30,.9); }
.carte-corps { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.carte h3 { font-size: 25px; color: var(--creme); }
.carte-meta { color: var(--creme-doux); font-size: 16px; }
.carte-desc { color: var(--creme-doux); font-size: 16px; white-space: pre-line; overflow-wrap: anywhere; }
.carte-prix { font-family: var(--titre); font-weight: 700; font-size: 26px; color: var(--or); }
.carte-prix small { font-family: var(--texte); font-size: 15px; color: var(--creme-pale); font-weight: 600; }
.envie { color: var(--or); font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.details { font-size: 15px; color: var(--creme-doux); }
.details summary { cursor: pointer; color: var(--or-clair); font-weight: 600; padding: 4px 0; }
.details dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; }
.details dt { color: var(--creme-pale); }
.details dd { margin: 0; overflow-wrap: anywhere; }
.carte-actions { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.carte-actions .rangee-btn > .btn { flex: 1 1 140px; }
.statut {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px;
  background: rgba(217,181,106,.1); border: 1px solid rgba(217,181,106,.4); color: var(--creme); font-weight: 600;
}
.statut svg { width: 22px; height: 22px; color: var(--or); flex: none; }
.statut-achete { background: rgba(127,207,155,.1); border-color: rgba(127,207,155,.45); }
.statut-achete svg { color: var(--vert-ok); }
.statut-pris { background: rgba(255,255,255,.04); border-color: rgba(248,241,226,.16); color: var(--creme-pale); }
.statut-pris svg { color: var(--creme-pale); }
.statut-alerte { background: rgba(179,38,46,.14); border-color: rgba(224,106,111,.5); }
.statut-alerte svg { color: var(--rouge-clair); }

/* Cadeau collectif */
.collecte { padding: 12px 14px; border-radius: 12px; background: rgba(7,26,16,.4); border: 1px solid rgba(217,181,106,.25); }
.collecte-titre { font-weight: 700; color: var(--or-clair); }
.jauge { height: 14px; border-radius: 99px; background: rgba(248,241,226,.1); overflow: hidden; margin: 10px 0 8px; border: 1px solid rgba(217,181,106,.25); }
.jauge > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--or-fonce), var(--or-clair)); transition: width .5s ease; }
.collecte-chiffres { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 16px; }
.collecte-chiffres b { color: var(--creme); }
.collecte-participants { font-size: 15px; color: var(--creme-pale); margin-top: 6px; }

/* ---------- Famille ---------- */
.membres { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.membre {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 14px 20px;
  text-decoration: none; color: var(--creme); text-align: center;
  background: linear-gradient(180deg, var(--sapin-700), var(--sapin-800));
  border: 1px solid rgba(217,181,106,.3); border-radius: 18px; box-shadow: var(--ombre);
  transition: transform .15s, border-color .15s;
}
.membre:hover { transform: translateY(-3px); border-color: var(--or); }
.monogramme {
  width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--titre); font-weight: 700; font-size: 38px; color: var(--sapin-950);
  background: radial-gradient(circle at 35% 30%, #f8e6bb, var(--or) 60%, var(--or-fonce));
  box-shadow: 0 0 0 4px rgba(217,181,106,.18);
}
.membre-nom { font-family: var(--titre); font-weight: 700; font-size: 26px; color: var(--creme); line-height: 1.1; overflow-wrap: anywhere; }
.membre-nb { color: var(--creme-pale); font-size: 15px; }
.membre.moi { border-style: dashed; }

/* ---------- Réservations ---------- */
.resume { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 0 0 26px; }
.resume div { padding: 14px 16px; border-radius: 14px; background: rgba(217,181,106,.07); border: 1px solid rgba(217,181,106,.28); }
.resume b { display: block; font-family: var(--titre); font-size: 32px; color: var(--or); line-height: 1.1; }
.resume span { color: var(--creme-doux); font-size: 15px; }
.groupe { margin-bottom: 34px; }
.groupe > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.groupe > h2 .monogramme { width: 46px; height: 46px; font-size: 24px; }

/* ---------- Formulaires ---------- */
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ > label, .champ > .etiquette { font-weight: 700; color: var(--creme); }
.champ .aide { font-size: 15px; color: var(--creme-pale); }
.saisie {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px;
  background: rgba(7,26,16,.55); border: 1.5px solid rgba(217,181,106,.35); color: var(--creme);
  font-size: 18px;
}
.saisie::placeholder { color: rgba(217,207,185,.5); }
.saisie:focus { outline: none; border-color: var(--or-clair); box-shadow: 0 0 0 3px rgba(217,181,106,.25); }
textarea.saisie { min-height: 96px; resize: vertical; }
.grille-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grille-form .plein { grid-column: 1 / -1; }
.section-form { border: 1px solid rgba(217,181,106,.22); border-radius: 14px; padding: 16px; margin: 0 0 16px; }
.section-form legend { padding: 0 8px; font-family: var(--titre); font-weight: 700; font-size: 22px; color: var(--or); }
.prefixe { position: relative; }
.prefixe .saisie { padding-right: 40px; }
.prefixe::after { content: "€"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--creme-pale); pointer-events: none; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 14px; min-height: 48px; border-radius: 12px;
  border: 1.5px solid rgba(217,181,106,.3); background: rgba(7,26,16,.4); font-weight: 600; font-size: 16px;
}
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix label:has(input:checked) { border-color: var(--or); background: rgba(217,181,106,.18); color: var(--or-clair); }
.choix label:has(input:focus-visible) { outline: 3px solid var(--or-clair); outline-offset: 2px; }
.interrupteur { display: flex; align-items: center; gap: 14px; cursor: pointer; font-weight: 700; }
.interrupteur input { width: 26px; height: 26px; accent-color: var(--or); flex: none; }
.photo-zone { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.photo-apercu {
  width: 130px; height: 100px; border-radius: 12px; overflow: hidden; flex: none;
  background: rgba(7,26,16,.55); border: 1.5px dashed rgba(217,181,106,.4); display: grid; place-items: center; color: var(--creme-pale); font-size: 14px; text-align: center;
}
.photo-apercu img { width: 100%; height: 100%; object-fit: cover; }
.erreur-form { color: #ffc2c4; font-weight: 600; margin: 0; }

/* ---------- Connexion ---------- */
.porte { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.porte-carte {
  position: relative; width: 100%; max-width: 480px; padding: 40px 30px 30px; text-align: center;
  background: radial-gradient(500px 240px at 50% 0, rgba(217,181,106,.14), transparent 70%), linear-gradient(180deg, var(--sapin-700), var(--sapin-800));
  border: 1px solid rgba(217,181,106,.45); border-radius: 26px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.85);
}
.porte-carte::before { content: ""; position: absolute; inset: 8px; border-radius: 20px; border: 1px solid rgba(217,181,106,.16); pointer-events: none; }
.porte-etoile { width: 58px; height: 58px; color: var(--or); margin: 0 auto 8px; filter: drop-shadow(0 0 14px rgba(239,213,156,.6)); }
.porte h1 { font-size: clamp(38px, 9vw, 50px); }
.porte .sous-titre { margin: 8px auto 24px; }
.porte form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.porte .branche { top: -14px; width: 200px; }
.porte .branche-g { left: -30px; } .porte .branche-d { right: -30px; }
.porte .aide-bas { font-size: 15px; color: var(--creme-pale); margin: 18px 0 0; }
.code-saisie { letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Fenêtres ---------- */
.voile {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-start; justify-content: center;
  padding: 4vh 12px; overflow-y: auto; background: rgba(3,12,7,.72); backdrop-filter: blur(3px);
  animation: apparait .16s ease;
}
.fenetre {
  position: relative; width: 100%; max-width: 680px; margin: auto 0;
  background: linear-gradient(180deg, var(--sapin-700), var(--sapin-800));
  border: 1px solid rgba(217,181,106,.45); border-radius: 22px; box-shadow: 0 30px 80px -20px #000;
  padding: 26px 24px 22px; animation: monte .2s ease;
}
.fenetre.etroite { max-width: 480px; }
.fenetre h2 { margin: 0 34px 14px 0; }
.fermer {
  position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(7,26,16,.5); border: 1px solid rgba(217,181,106,.35); color: var(--creme); font-size: 26px; line-height: 1; cursor: pointer;
}
.fenetre-pied { display: flex; flex-wrap: wrap-reverse; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.fenetre-pied .btn { flex: 1 1 160px; }
@keyframes apparait { from { opacity: 0; } }
@keyframes monte { from { transform: translateY(14px); opacity: 0; } }
body.fige { overflow: hidden; }

.code-grand {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 34px; font-weight: 700; letter-spacing: .08em;
  color: var(--or-clair); text-align: center; padding: 16px; margin: 8px 0 14px; border-radius: 14px;
  background: rgba(7,26,16,.55); border: 1.5px dashed var(--or); user-select: all;
}
.message-wa { white-space: pre-line; font-size: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(7,26,16,.4); color: var(--creme-doux); border: 1px solid rgba(217,181,106,.2); margin: 0 0 14px; }
.btn-wa { background: #1f9e57; color: #fff; border-color: #1f9e57; }
.btn-wa:hover { background: #22b062; }

/* ---------- Administration ---------- */
.onglets { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; }
.onglets a { padding: 10px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--creme-doux); border: 1.5px solid rgba(217,181,106,.28); min-height: 46px; display: inline-flex; align-items: center; }
.onglets a.actif { background: rgba(217,181,106,.18); color: var(--or-clair); border-color: var(--or); }
.liste-admin { display: flex; flex-direction: column; gap: 12px; }
.ligne-admin {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 16px;
  background: linear-gradient(180deg, var(--sapin-700), var(--sapin-800));
  border: 1px solid rgba(217,181,106,.25); border-radius: 14px;
}
.ligne-admin .monogramme { width: 50px; height: 50px; font-size: 26px; }
.ligne-admin .infos { flex: 1 1 220px; min-width: 0; }
.ligne-admin .nom { font-weight: 700; font-size: 19px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ligne-admin .rangee-btn { flex: 1 1 100%; }
@media (min-width: 900px) { .ligne-admin .rangee-btn { flex: 0 1 auto; } }
.badge { font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 99px; border: 1px solid rgba(217,181,106,.55); color: var(--or-clair); }
.badge-off { border-color: rgba(224,106,111,.6); color: #ffc2c4; }
.reserv-ligne { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; }
.reserv-ligne .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.reserv-ligne select.saisie, .reserv-ligne input.saisie { min-height: 44px; width: auto; font-size: 16px; padding: 8px 10px; }
.reserv-ligne input.saisie { width: 110px; }
.aide-admin ol, .aide-admin ul { padding-left: 22px; color: var(--creme-doux); }
.aide-admin li { margin: 6px 0; }
.aide-admin h3 { margin: 18px 0 6px; }

/* ---------- Divers ---------- */
.vide { text-align: center; padding: 46px 20px; border: 1.5px dashed rgba(217,181,106,.35); border-radius: 20px; color: var(--creme-doux); }
.vide svg { width: 64px; height: 64px; color: var(--or); opacity: .8; margin: 0 auto 10px; display: block; }
.vide h2 { margin-bottom: 8px; }
.chargement { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 80px 0; color: var(--creme-doux); }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(217,181,106,.25); border-top-color: var(--or); animation: tourne 0.9s linear infinite; display: inline-block; }
@keyframes tourne { to { transform: rotate(360deg); } }
.retour { display: inline-flex; align-items: center; gap: 6px; color: var(--or-clair); text-decoration: none; font-weight: 700; margin: 0 0 14px; min-height: 44px; }
.retour svg { width: 20px; height: 20px; }
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; flex-direction: column; gap: 10px; width: min(92vw, 520px); pointer-events: none; }
.toast {
  padding: 14px 18px; border-radius: 14px; font-weight: 600; box-shadow: 0 14px 30px -10px #000;
  background: var(--creme); color: var(--sapin-950); animation: monte .2s ease; pointer-events: auto;
  border-left: 6px solid var(--or);
}
.toast.erreur { background: #fde6e7; color: #5c1015; border-left-color: var(--rouge); }
.toast.ok { border-left-color: #2f9a5d; }
.filtre { display: inline-flex; align-items: center; gap: 10px; color: var(--creme-doux); cursor: pointer; margin-bottom: 18px; font-size: 17px; }
.filtre input { width: 22px; height: 22px; accent-color: var(--or); }
.config-manquante { max-width: 640px; margin: 10vh auto; padding: 30px; }

/* ---------- Téléphone ---------- */
@media (max-width: 860px) {
  .espaces { grid-template-columns: 1fr; gap: 16px; }
  .espace { flex-direction: row; text-align: left; align-items: center; gap: 18px; padding: 20px; }
  .espace-icone { width: 64px; height: 64px; margin: 0; flex: none; }
  .espace-icone svg { width: 34px; height: 34px; }
  .espace h2 { font-size: 26px; margin-bottom: 2px; }
  .espace p { margin: 0 0 6px; font-size: 16px; }
}
@media (max-width: 760px) {
  body { font-size: 17px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .entete { padding: 14px 14px 12px; }
  .branche { width: 170px; height: 92px; opacity: .55; }
  .marque { font-size: 31px; }
  .marque-etoile { width: 26px; height: 26px; }
  .bonjour { display: none; }
  #lien-compte span { display: none; }
  #lien-compte { padding: 8px 11px; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 4px;
    background: rgba(7,26,16,.96); border-top: 1px solid rgba(217,181,106,.35);
    backdrop-filter: blur(8px);
  }
  .nav a { flex: 1; flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 13.5px; border-radius: 12px; border: 1px solid transparent; min-height: 60px; justify-content: center; }
  .nav a.actif { box-shadow: none; border-color: rgba(217,181,106,.4); }
  .nav a svg { width: 26px; height: 26px; }
  .nav-long { display: none; }
  main { padding-top: 22px; }
  .grille-form { grid-template-columns: 1fr; }
  .fenetre { padding: 22px 16px 18px; border-radius: 18px; }
  .voile { padding: 10px 8px; }
  .reserv-ligne { grid-template-columns: 1fr; }
  .reserv-ligne .actions { justify-content: flex-start; }
  .toasts { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .grille { grid-template-columns: 1fr; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========== Touches rouges et étoiles dorées (repères pour cliquer) =========== */
:root { --rouge-noel: #6e1a28; --rouge-noel-clair: #94283a; }

/* Menu : icônes dans une pastille rouge, étoile dorée après chaque libellé */
.nav a { gap: 10px; }
.nav a svg {
  width: 34px; height: 34px; padding: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--rouge-noel-clair), var(--rouge-noel));
  color: var(--creme); box-shadow: 0 0 0 2px rgba(217,181,106,.55);
}
.nav a > span:not(.nav-long)::after { content: " ★"; color: var(--or); font-size: .9em; }
.nav a:hover { background: rgba(122,31,48,.28); color: var(--creme); }
.nav a.actif {
  color: var(--creme);
  background: linear-gradient(180deg, var(--rouge-noel-clair), var(--rouge-noel));
  border-color: var(--or);
  box-shadow: inset 0 -3px 0 var(--or);
}
.nav a.actif svg { background: var(--creme); color: var(--rouge-noel); }
.nav a.actif > span::after { color: var(--or-clair); }
#lien-compte { border-color: rgba(148,40,58,.9); color: var(--creme); background: rgba(110,26,40,.45); }
#lien-compte:hover { background: rgba(110,26,40,.7); }

/* Grandes cartes cliquables : pastille rouge + étoile dorée dans le coin */
.espace-icone {
  background: radial-gradient(circle at 35% 30%, var(--rouge-noel-clair), var(--rouge-noel));
  border: 2px solid var(--or); color: var(--or-clair);
}
.membre::after {
  content: "★"; position: absolute; top: 12px; right: 16px;
  color: var(--or); font-size: 22px; line-height: 1; text-shadow: 0 0 10px rgba(239,213,156,.55);
}
/* Scintillements autour des pastilles de l'accueil */
.espace-icone { position: relative; }
.espace-icone::before, .espace-icone::after {
  content: "✦"; position: absolute; color: var(--or-clair); line-height: 1; pointer-events: none;
  text-shadow: 0 0 8px rgba(255,236,180,.9), 0 0 16px rgba(239,213,156,.6);
  animation: scintille 2.6s ease-in-out infinite;
}
.espace-icone::before { top: -6px; right: -12px; font-size: 18px; }
.espace-icone::after { bottom: 2px; left: -14px; font-size: 12px; animation-delay: 1.3s; }
.espace:nth-child(2) .espace-icone::before { animation-delay: .6s; }
.espace:nth-child(2) .espace-icone::after { animation-delay: 1.9s; }
.espace:nth-child(3) .espace-icone::before { animation-delay: 1.1s; }
.espace:nth-child(3) .espace-icone::after { animation-delay: .3s; }
@keyframes scintille {
  0%, 100% { opacity: .15; transform: scale(.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) { .espace-icone::before, .espace-icone::after { animation: none; opacity: .8; } }
.membre { position: relative; }

/* Boutons d'action principaux : petite étoile rouge pour les repérer */
.btn-or::after { content: "★"; color: var(--rouge-noel); font-size: .85em; margin-left: -2px; }
.btn-or[disabled]::after { content: none; }

@media (max-width: 760px) {
  .nav a svg { width: 34px; height: 34px; padding: 6px; }
  .nav a > span:not(.nav-long)::after { content: none; }
  .nav a::before { content: "★"; position: absolute; top: 4px; right: 10px; color: var(--or); font-size: 13px; }
  .nav a { position: relative; }
  .nav a.actif { box-shadow: none; }
}
