[hidden] { display: none !important; } /* l'attribut hidden gagne toujours sur les display: flex/grid */
/* Round 8 (Atipo) — déposer le fichier dans fonts/ ; Bebas Neue sert de secours en attendant */
@font-face {
  font-family: 'Round 8';
  src: url('fonts/round8.woff2') format('woff2'), url('fonts/round8.otf') format('opentype'), url('fonts/round8.ttf') format('truetype');
  font-display: swap;
}
:root {
  --display: 'Round 8', 'Bebas Neue', sans-serif;
  --bg: #000;
  --panel: #0d0a12;
  --line: #2a1f38;
  --text: #f3eefa;
  --muted: #a89bb8;
  --mauve: #a855f7;
  --mauve-soft: #c084fc;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 19px/1.5 var(--display); letter-spacing: .03em; min-height: 100vh; }
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Fond Light Tunnel (port WebGL de reactbits.dev) */
#tunnel { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#tunnel canvas { width: 100%; height: 100%; display: block; }
.veil { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.5) 100%); transition: background .4s; }
body:not([data-tab="accueil"]) .veil { background: rgba(0,0,0,.72); }

header { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px clamp(16px, 4vw, 48px); }
/* Pas de barre : un fondu noir + flou qui s'efface vers le bas, visible seulement une fois qu'on a défilé */
header::before { content: ''; position: absolute; inset: 0 0 -48px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background: linear-gradient(rgba(0,0,0,.85), rgba(0,0,0,.55) 55%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
header.scrolled::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
/* Shape Blur : canvas d'anneaux autour du logo, logo centré au-dessus */
.shape-blur { position: relative; display: grid; place-items: center; flex: none; }
/* Le canvas déborde de 25 % autour du logo pour que le flou ne soit jamais coupé en carré,
   et s'efface en cercle sur ses bords */
.shape-blur__canvas { position: absolute; inset: -25%; width: 150%; height: 150%; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); mask-image: radial-gradient(closest-side, #000 82%, transparent 100%); }
.shape-blur > img { position: relative; z-index: 1; }
.brand .shape-blur { width: 76px; height: 76px; margin: -14px -8px -14px -14px; }
.hero-blur { width: clamp(280px, 46vw, 440px); aspect-ratio: 1; margin-bottom: 8px; }

nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; grid-column: 2; }
.brand { justify-self: start; white-space: nowrap; }

/* Compte (auth.js) : petite icône en haut à droite + fenêtre de connexion Google */
.account-btn { grid-column: 3; justify-self: end; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(192,132,252,.45); background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.account-btn:hover { border-color: var(--mauve-soft); box-shadow: 0 0 18px rgba(168,85,247,.45); }
.account-btn:focus-visible { outline: 2px solid var(--mauve-soft); outline-offset: 3px; }
.account-btn img { width: 100%; height: 100%; object-fit: cover; }
.account-btn.is-in svg { display: none; }
#account-pop { position: fixed; inset: auto; top: 72px; right: clamp(16px, 4vw, 48px); margin: 0; width: 280px; padding: 20px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(13,10,18,.96); color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.6); font-family: var(--display); }
#account-pop h3 { font-weight: 400; font-size: 24px; line-height: 1; color: var(--mauve-soft); margin-bottom: 12px; }
.account-info { display: grid; gap: 4px; }
.account-info span, .account-note { color: var(--muted); font-size: 15px; }
.account-out { margin-top: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--text); font: 17px/1 var(--display); letter-spacing: .04em; cursor: pointer; }
.account-out:hover { border-color: var(--mauve-soft); }
nav a { text-decoration: none; padding: 10px 16px; border-radius: 6px; font: 20px/1 var(--display); letter-spacing: .05em; color: var(--muted); transition: color .2s, background .2s, transform .2s; }
nav a:hover { color: var(--text); }
nav a[aria-current="page"] { color: #fff; }

main { position: relative; z-index: 1; }
/* Une seule page : toutes les sections à la suite, le menu suit la section visible */
section { padding: clamp(40px, 8vw, 96px) clamp(16px, 4vw, 48px); max-width: 1200px; margin: 0 auto; scroll-margin-top: 72px; }

h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .03em; line-height: 1; }
h2 { font-size: clamp(44px, 7vw, 72px); margin-bottom: 8px; }
h2 + p { color: var(--muted); margin-bottom: 40px; }
.accent { color: var(--mauve-soft); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 6px; font: 22px/1 var(--display); letter-spacing: .05em; text-decoration: none; color: #fff; transition: transform .2s, background .2s; }
.btn:hover, nav a:hover { transform: translateY(-2px); }

/* Specular Button (reactbits) — liseré de lumière qui suit la souris, posé par specular.js */
.specular-button { position: relative; isolation: isolate; background: rgba(255,255,255,.04); box-shadow: 0 10px 24px -14px rgba(0,0,0,.45); -webkit-tap-highlight-color: transparent; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s; }
.specular-button:active { transform: scale(.97); }
.specular-button:focus-visible { outline: 2px solid rgba(192,132,252,.7); outline-offset: 3px; }
.specular-button__light { position: absolute; inset: -24px; z-index: 1; display: block; width: calc(100% + 48px); height: calc(100% + 48px); pointer-events: none; }
.specular-button__label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: inherit; }
/* Touche mauve : bouton principal + onglet actif teintés */
.btn.primary, nav a[aria-current="page"] { background: rgba(168,85,247,.32); }

/* Accueil */
#accueil { min-height: calc(100vh - 73px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-logo { width: 64%; border-radius: 50%; box-shadow: 0 0 60px rgba(168,85,247,.45); }
#accueil h1 { font-size: clamp(56px, 11vw, 128px); }
/* Rising Ink (risingink.js) : lettres qui se soulèvent près du curseur */
.ri-word { display: inline-block; white-space: nowrap; }
.ri-l { display: inline-block; will-change: transform; }
/* Smoke Type (smoketype.js) : textes qui se condensent depuis une fumée à l'arrivée à l'écran */
.st-w { display: inline-block; white-space: nowrap; }
.st-u { display: inline-block; }
.st-wait { opacity: 0; }
.tagline { font-size: clamp(16px, 2vw, 20px); color: var(--muted); margin: 12px 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-cta { margin: 28px 0 4px; align-items: center; }
.btn.icon { width: 52px; height: 52px; padding: 0; justify-content: center; }
.btn.icon svg { display: block; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; width: 100%; max-width: 820px; }
.perk { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(13,10,18,.7); }
.perk b { display: block; font: 30px/1 var(--display); color: var(--mauve-soft); margin-bottom: 4px; }
.perk span { color: var(--muted); font-size: 14px; }

/* Actus & services : texte à gauche, affiches en Flip Card à droite */
.news { display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(28px, 5vw, 56px); align-items: start; width: 100%; margin-top: clamp(72px, 10vw, 120px); text-align: left; }
.news-text { position: sticky; top: 110px; }
.news-text p { color: var(--muted); margin: 12px 0 24px; }
.news-text ul { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.news-text li { padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13,10,18,.75); }
.news-text li b { display: block; color: var(--mauve-soft); font-weight: 400; font-size: 22px; line-height: 1.1; }
.news-text li span { color: var(--muted); font-size: 15px; }
.flip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Flip Card (reactbits) — logique dans flipcard.js */
.flip-card { --fc-radius: 18px; --fc-glare: .22; position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; border-radius: var(--fc-radius); outline: none; cursor: grab; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
.flip-card[data-dragging] { cursor: grabbing; }
.flip-card:focus-visible { outline: 2px solid var(--mauve-soft); outline-offset: 4px; }
.flip-card__shadow { position: absolute; inset: 12% 9% -5%; border-radius: var(--fc-radius); background: rgba(0,0,0,.55); filter: blur(22px); pointer-events: none; }
.flip-card__rotor { position: absolute; inset: 0; transform-style: preserve-3d; }
.flip-card__face { position: absolute; inset: 0; overflow: hidden; border-radius: var(--fc-radius); background: #120c1a; color: var(--text); backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 1px solid var(--line); }
.flip-card__face--back { transform: rotateY(180deg); }
.flip-card .front { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.flip-card .back { height: 100%; overflow: auto; scrollbar-width: none; padding: clamp(12px, 1.6vw, 22px); display: flex; flex-direction: column; justify-content: safe center; gap: 10px; background: radial-gradient(circle at 30% 0%, rgba(168,85,247,.35), transparent 60%); }
.flip-card .back h3 { font: clamp(18px, 1.8vw, 26px)/1 var(--display); color: var(--mauve-soft); }
.flip-card .back p { font-size: clamp(13px, 1.15vw, 16px); line-height: 1.35; color: var(--muted); }
.flip-card__glare { position: absolute; inset: 0; pointer-events: none; opacity: var(--fc-sheen, 0);
  background: radial-gradient(circle farthest-side at var(--fc-gx, 50%) var(--fc-gy, 50%), rgba(255,255,255,var(--fc-glare)) 0%, rgba(255,255,255,calc(var(--fc-glare) * .5)) 26%, rgba(255,255,255,calc(var(--fc-glare) * .12)) 60%, rgba(255,255,255,0) 100%); }

/* Galerie : Album Rail (albumrail.js) */
.album-rail { position: relative; height: clamp(480px, 72vh, 760px); display: grid; grid-template-rows: 1fr auto auto; gap: 18px; outline: none; user-select: none; -webkit-user-select: none; }
.album-rail:focus-visible { outline: 2px solid var(--mauve-soft); outline-offset: 8px; border-radius: 12px; }
.album-rail__stage { position: relative; perspective: 1400px; transform-style: preserve-3d; overflow: hidden; touch-action: pan-y; cursor: grab; }
.album-rail__stage:active { cursor: grabbing; }
.album-rail__cover { position: absolute; left: 50%; top: 50%; margin: 0; border-radius: 14px; overflow: hidden; background: #120c1a; will-change: transform;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.album-rail__cover img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.album-rail__cover::after { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); transition: opacity .25s; pointer-events: none; }
.album-rail__cover:hover::after { opacity: 0; }
.album-rail__cover.is-focus { box-shadow: 0 30px 70px -18px rgba(0,0,0,.85), 0 0 0 1px rgba(192,132,252,.5), 0 0 40px rgba(168,85,247,.25); cursor: zoom-in; }
.album-rail__caption { text-align: center; min-height: 52px; }
.album-rail__caption b { display: block; font-weight: 400; font-size: 28px; line-height: 1.1; color: var(--text); }
.album-rail__caption span { color: var(--muted); font-size: 15px; }
.album-rail__caption.is-in { animation: cap .45s cubic-bezier(.2,.8,.2,1); }
@keyframes cap { from { opacity: 0; transform: translateY(8px); } }
.album-rail__ruler { display: flex; align-items: center; justify-content: center; gap: 14px; }
.album-rail__arrow { width: 36px; height: 36px; border: 0; background: none; color: var(--muted); font: 30px/1 var(--display); cursor: pointer; transition: color .2s; }
.album-rail__arrow:hover { color: var(--text); }
.album-rail__track { position: relative; width: min(320px, 60vw); height: 44px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent); }
.album-rail__ticks { position: absolute; left: 50%; top: 0; height: 100%; display: flex; align-items: center; }
.album-rail__tick { width: 14px; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.album-rail__tick::before { content: ''; position: absolute; left: 50%; top: 50%; width: 1px; height: 12px; transform: translate(-50%, -50%); background: rgba(255,255,255,.35); }
.album-rail__play { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: rgba(168,85,247,.85); box-shadow: 0 0 20px rgba(168,85,247,.5); cursor: pointer; }
.album-rail__play::before, .album-rail__play::after { content: ''; position: absolute; top: 13px; width: 4px; height: 14px; background: #fff; border-radius: 1px; }
.album-rail__play::before { left: 14px; } .album-rail__play::after { left: 22px; }
.album-rail__play.is-paused::after { display: none; }
.album-rail__play.is-paused::before { left: 16px; top: 12px; width: 0; height: 0; background: none; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-radius: 0; }
dialog { margin: auto; border: none; background: transparent; max-width: 92vw; max-height: 92vh; }
dialog::backdrop { background: rgba(0,0,0,.9); }
dialog img { max-height: 90vh; width: auto; border-radius: 12px; }

/* Infos */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(13,10,18,.85); }
.card h3 { font: 28px/1 var(--display); letter-spacing: .04em; color: var(--mauve-soft); margin-bottom: 16px; }
.card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.card dt { color: var(--muted); }
.card a { color: var(--mauve-soft); }
.map { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.map iframe { width: 100%; height: 360px; border: 0; display: block; filter: invert(.92) hue-rotate(200deg) saturate(.6); }

/* Réservation */
.soon { text-align: center; max-width: 640px; margin: 0 auto; padding: 56px 28px; }
.soon p { color: var(--muted); margin: 12px 0 28px; }

footer { position: relative; z-index: 1; text-align: center; padding: 24px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); background: rgba(0,0,0,.7); }

@media (max-width: 1000px) { .flip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { header { display: flex; flex-direction: column; } .brand { justify-self: auto; } section { scroll-margin-top: 130px; } .account-btn { position: absolute; top: 14px; right: 16px; } }
@media (max-width: 720px) {
  header { display: flex; flex-direction: column; }
  nav a { padding: 6px 11px; font-size: 18px; }
  .perks, .info-grid, .news { grid-template-columns: 1fr; }
  .news-text { position: static; }
  .flip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* Intro / loader cinématique */
body.intro-on { overflow: hidden; }
#intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, #1c0b33 0%, #07030c 55%, #000 100%); }
#intro .bar { position: absolute; left: 0; right: 0; height: 50%; background: #000; z-index: 2; }
#intro .bar.top { top: 0; box-shadow: 0 1px 0 rgba(192,132,252,.25); }
#intro .bar.bot { bottom: 0; box-shadow: 0 -1px 0 rgba(192,132,252,.25); }
#intro .slit { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; z-index: 3; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, #a855f7 20%, #fff 50%, #a855f7 80%, transparent); box-shadow: 0 0 28px 6px rgba(168,85,247,.75); }
#intro .title { position: relative; z-index: 1; text-align: center; font-family: var(--display); line-height: .9; user-select: none; }
#intro .t1 { display: block; font-size: clamp(56px, 13vw, 180px); color: #fff; letter-spacing: .02em; white-space: nowrap; }
#intro .t2 { display: block; font-size: clamp(26px, 5.5vw, 76px); color: var(--mauve-soft); letter-spacing: .6em; margin-right: -.6em; margin-top: .25em; }
#intro .il { display: inline-block; opacity: 0; }
#intro .shine { position: absolute; inset: -20% -10%; z-index: 2; pointer-events: none; mix-blend-mode: screen; transform: translateX(-130%);
  background: linear-gradient(105deg, transparent 38%, rgba(192,132,252,.35) 47%, rgba(255,255,255,.75) 50%, rgba(192,132,252,.35) 53%, transparent 62%); }
#intro .skip { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 4; color: rgba(255,255,255,.35); font: 15px/1 var(--display); letter-spacing: .2em; }

/* Liens du menu compte */
.account-link { display: block; margin-top: 10px; color: var(--mauve-soft); font-size: 17px; letter-spacing: .04em; text-decoration: none; }
.account-link:hover { text-decoration: underline; }

/* Pages Réserver / Tableau de bord */
.page { min-height: calc(100vh - 73px); }
.notice { padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13,10,18,.85); margin-bottom: 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.notice p { color: var(--muted); margin: 0; flex: 1 1 260px; }
.msg { min-height: 24px; margin: 12px 0; font-size: 17px; }
.msg.ok { color: #86efac; } .msg.err { color: #fca5a5; }

.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.day { flex: none; width: 92px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px; background: rgba(13,10,18,.8); color: var(--text); text-align: center; cursor: pointer; font: inherit; transition: border-color .2s, background .2s; }
.day b { display: block; font-weight: 400; font-size: 26px; line-height: 1; }
.day span { display: block; color: var(--muted); font-size: 14px; }
.day:hover:not(:disabled) { border-color: var(--mauve-soft); }
.day[aria-pressed="true"] { border-color: var(--mauve); background: rgba(168,85,247,.28); }
.day:disabled { opacity: .35; cursor: not-allowed; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin: 18px 0 8px; }
.slot { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(13,10,18,.85); cursor: pointer; font-size: 20px; letter-spacing: .04em; transition: border-color .2s, background .2s; }
.slot input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--mauve-soft); border-radius: 4px; display: grid; place-items: center; cursor: inherit; }
.slot input:checked { background: var(--mauve); border-color: var(--mauve); }
.slot input:checked::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.slot input:focus-visible { outline: 2px solid var(--mauve-soft); outline-offset: 2px; }
.slot:hover:not(.is-taken) { border-color: var(--mauve-soft); }
.slot:has(input:checked) { border-color: var(--mauve); background: rgba(168,85,247,.22); }
.slot.is-taken { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.slot.is-taken input { border-color: var(--muted); }
.slots-empty { color: var(--muted); margin: 18px 0; }

.summary { position: sticky; bottom: 16px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,6,12,.92); backdrop-filter: blur(10px); }
.summary p { margin: 0; color: var(--muted); }
.summary p b { color: var(--text); font-weight: 400; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.mine { margin-top: 40px; }
.mine ul, .admin-day ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(13,10,18,.85); }
.row .when { font-size: 22px; min-width: 70px; color: var(--mauve-soft); }
.row .who { flex: 1 1 200px; }
.row .who a { color: var(--muted); font-size: 15px; }
.row .who small { display: block; color: var(--muted); font-size: 13px; }
.cancel { padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--text); font: 16px/1 var(--display); letter-spacing: .04em; cursor: pointer; }
.cancel:hover { border-color: #f87171; color: #fca5a5; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.stats div { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(13,10,18,.85); }
.stats b { display: block; font-weight: 400; font-size: 40px; line-height: 1; color: var(--mauve-soft); }
.stats span { color: var(--muted); font-size: 15px; }
.admin-day { margin-bottom: 26px; }
.admin-day h3 { font-weight: 400; font-size: 26px; text-transform: capitalize; }
.admin-day.past { opacity: .55; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* Consentement cookies (consent.js) : petite barre + détail dépliable */
#consent { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: max-content; max-width: calc(100vw - 32px); animation: consent-in .5s cubic-bezier(.2,.7,.2,1); }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
.consent-bar { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid rgba(192,132,252,.35); border-radius: 10px; background: rgba(10,7,15,.96); box-shadow: 0 16px 40px rgba(0,0,0,.6), 0 0 24px rgba(168,85,247,.15); }
.consent-icon { flex: none; filter: drop-shadow(0 0 6px rgba(168,85,247,.6)); }
.consent-accept, .consent-read, .consent-refuse { border-radius: 6px; font: 18px/1 var(--display); letter-spacing: .05em; cursor: pointer; padding: 10px 14px; }
.consent-accept { border: 1px solid var(--mauve); background: rgba(168,85,247,.45); color: #fff; }
.consent-accept:hover { background: rgba(168,85,247,.65); }
.consent-read { border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 10px 4px; }
.consent-read:hover { color: var(--text); }
.consent-panel { width: min(380px, calc(100vw - 32px)); margin-bottom: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(10,7,15,.97); max-height: 50vh; overflow: auto; box-shadow: 0 16px 40px rgba(0,0,0,.6); }
.consent-panel ul { list-style: none; display: grid; gap: 8px; }
.consent-panel li { color: var(--muted); font-size: 15px; line-height: 1.4; }
.consent-panel li b { color: var(--mauve-soft); font-weight: 400; }
.consent-panel-actions { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.consent-refuse { border: 1px solid var(--line); background: none; color: var(--text); }
.consent-refuse:hover { border-color: var(--mauve-soft); }
.consent-panel-actions a { color: var(--mauve-soft); font-size: 15px; }
.consent-placeholder { height: 360px; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; color: var(--muted); }
footer a { color: inherit; }

/* Messages du salon au client (auth.js) */
#notifs { position: fixed; z-index: 95; top: 76px; right: 16px; width: min(380px, calc(100vw - 32px)); display: grid; gap: 10px; }
.notif { padding: 16px 18px; border: 1px solid rgba(248,113,113,.5); border-radius: 12px; background: rgba(20,8,14,.97); box-shadow: 0 16px 40px rgba(0,0,0,.6); animation: consent-in .5s cubic-bezier(.2,.7,.2,1); }
.notif p { margin: 0 0 12px; color: var(--text); font-size: 17px; line-height: 1.4; }
.notif-ok { padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--text); font: 17px/1 var(--display); letter-spacing: .04em; cursor: pointer; }
.notif-ok:hover { border-color: var(--mauve-soft); }

/* Champ téléphone (page Réserver) */
.phone-field { display: grid; gap: 6px; max-width: 420px; margin-top: 24px; }
.phone-field span { font-size: 20px; letter-spacing: .04em; }
.phone-field input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(13,10,18,.9); color: var(--text); font: 20px/1.2 var(--display); letter-spacing: .06em; }
.phone-field input:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 3px rgba(168,85,247,.25); }
.phone-field small { color: var(--muted); font-size: 14px; }

/* Dashboard : calendrier de la semaine (admin.js) */
.cal-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-head h3 { font-weight: 400; font-size: 26px; min-width: 220px; text-align: center; }
.cal-head .btn { margin-left: auto; padding: 10px 18px; font-size: 18px; }
.cal-nav { min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(13,10,18,.85); color: var(--text); font: 24px/1 var(--display); cursor: pointer; }
.cal-nav:hover { border-color: var(--mauve-soft); }
.cal-today { font-size: 17px; letter-spacing: .04em; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-nav.has-more { border-color: var(--mauve); color: var(--mauve-soft); font-size: 20px; }
.cal-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,6,12,.85); }
.cal { display: grid; grid-template-columns: 64px repeat(7, minmax(110px, 1fr)); min-width: 840px; }
.cal > * { border-right: 1px solid rgba(42,31,56,.7); border-bottom: 1px solid rgba(42,31,56,.7); }
.cal .ch { position: sticky; top: 0; padding: 10px 6px; text-align: center; background: rgba(13,10,18,.98); font-size: 17px; line-height: 1.1; }
.cal .ch small { display: block; color: var(--muted); font-size: 13px; }
.cal .ch.is-today { color: var(--mauve-soft); box-shadow: inset 0 -2px 0 var(--mauve); }
.cal .ct { padding: 6px 8px; color: var(--muted); font-size: 15px; text-align: right; }
.cal .cc { min-height: 40px; padding: 3px; }
.cal .cc.closed { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.03) 6px 12px); }
.cal .cc.past { opacity: .45; }
.cal .cc button { width: 100%; height: 100%; min-height: 34px; padding: 4px 8px; border: 1px solid var(--mauve); border-radius: 6px; background: rgba(168,85,247,.32); color: #fff; font: 15px/1.15 var(--display); letter-spacing: .03em; text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal .cc button:hover, .cal .cc button[aria-pressed="true"] { background: rgba(168,85,247,.6); box-shadow: 0 0 14px rgba(168,85,247,.45); }
.cal-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 2px 16px; color: var(--muted); font-size: 15px; }
.cal-legend .lg { width: 16px; height: 12px; border-radius: 3px; border: 1px solid var(--line); margin-left: 8px; }
.cal-legend .lg.taken { background: rgba(168,85,247,.5); border-color: var(--mauve); }
.cal-legend .lg.closed { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(255,255,255,.12) 3px 6px); }
.cal-detail { margin-bottom: 8px; }
