/* ============================================================
   LE CARNET DE BAL — design system
   Velours, or et rose poudré. Élégance, douceur, discrétion.
   ============================================================ */

:root {
  --ink:        #0b0710;
  --velvet:     #140c18;
  --velvet-2:   #1c1121;
  --plum:       #2a1530;
  --plum-2:     #3a1d42;
  --gold:       #d9b45a;
  --gold-light: #f3dc9a;
  --gold-deep:  #a8801f;
  --rose:       #eab0c0;
  --rose-deep:  #c4567c;
  --cream:      #f6ede2;
  --text:       #ece2d6;
  --muted:      #a9999f;
  --dim:        #6f6070;
  --line:       rgba(217, 180, 90, 0.18);
  --line-soft:  rgba(255, 255, 255, 0.06);
  --ok:         #7fd1a8;
  --warn:       #f0c674;
  --danger:     #e57c8f;

  --grad-gold: linear-gradient(135deg, #f8e7b0 0%, #d9b45a 40%, #a8801f 70%, #f3dc9a 100%);
  --grad-rose: linear-gradient(135deg, #f3c4d1 0%, #c4567c 100%);
  --grad-night: radial-gradient(ellipse at top, #2a1530 0%, #140c18 45%, #0b0710 100%);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  --radius:    18px;
  --radius-sm: 10px;
  --shadow:    0 20px 50px -20px rgba(0, 0, 0, 0.8);
  --glow:      0 0 0 1px rgba(217, 180, 90, 0.35), 0 10px 40px -10px rgba(217, 180, 90, 0.35);
  --ease:      cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ink);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 86, 124, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(217, 180, 90, 0.08), transparent 60%),
    var(--grad-night);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain de velours */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose); }
img { max-width: 100%; display: block; }
strong { font-weight: 500; color: var(--cream); }
::selection { background: var(--rose-deep); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--cream);
  letter-spacing: .01em;
}
h1 { font-size: clamp(40px, 7vw, 84px); }
h2 { font-size: clamp(30px, 4.5vw, 48px); }
h3 { font-size: clamp(22px, 3vw, 28px); }
em, .italic { font-style: italic; }

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: shimmer 8s ease-in-out infinite;
}
.rose-text { color: var(--rose); }
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow.left::after { display: none; }

.container { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.section { padding: 80px 0; position: relative; z-index: 1; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 13px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Ornement Art déco */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--gold); opacity: .8; margin: 18px auto;
}
.ornament::before, .ornament::after {
  content: ''; height: 1px; width: min(120px, 25vw);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { transform: scaleX(-1); }

/* ─── BOUTONS ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-gold {
  background: var(--grad-gold); background-size: 160% 160%;
  color: #1a1006;
  box-shadow: 0 10px 30px -10px rgba(217, 180, 90, .6), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-gold:hover { color: #1a1006; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(217, 180, 90, .8); }
.btn-rose { background: var(--grad-rose); color: #fff; box-shadow: 0 10px 30px -12px rgba(196, 86, 124, .8); }
.btn-rose:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line); color: var(--cream); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-soft { background: rgba(234, 176, 192, .08); border-color: rgba(234, 176, 192, .25); color: var(--rose); }
.btn-soft:hover { background: rgba(234, 176, 192, .16); color: #fff; }
.btn-danger { background: transparent; border-color: rgba(229, 124, 143, .4); color: var(--danger); }
.btn-danger:hover { background: rgba(229, 124, 143, .1); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-lg { padding: 18px 36px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn .spark { font-size: 14px; letter-spacing: 0; }

.link-quiet { color: var(--muted); font-size: 13px; border-bottom: 1px dotted var(--dim); }
.link-quiet:hover { color: var(--rose); }

/* ─── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(11, 7, 16, .72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand:hover { color: var(--cream); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 25px; font-style: italic; line-height: 1; }
.brand-name b { font-weight: 500; font-style: normal; }
.brand-sub { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: 4px; font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%);
}
.nav-links .btn { color: #1a1006; padding: 10px 20px; }
.nav-links .btn-ghost { color: var(--cream); }
.dot-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 999px; background: var(--rose-deep); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 0;
  vertical-align: 2px;
}

/* Barre d'onglets mobile */
.tabbar { display: none; }
@media (max-width: 860px) {
  .nav-inner { height: 62px; }
  .nav-links .hide-m { display: none; }
  .brand-name { font-size: 21px; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: rgba(11, 7, 16, .92);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .tabbar a {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 0; color: var(--dim); font-size: 10px; letter-spacing: .06em;
  }
  .tabbar a .ti { font-size: 20px; line-height: 1; }
  .tabbar a.active { color: var(--gold-light); }
  .tabbar .dot-badge { position: absolute; top: 0; right: 22%; }
  body.has-tabbar { padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px; font-size: 11px; letter-spacing: .08em; }
  .nav-links .btn { padding: 9px 14px; }
  .hide-xs { display: none; }
  .hero { padding: 56px 16px 80px; }
  .ev-hero-meta { font-size: 14px; gap: 4px 14px; }
  .card { padding: 22px 18px; }
}

/* ─── FLASH / TOAST ───────────────────────────────────────── */
.flash {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 20px;
  font-size: 14px; border: 1px solid;
}
.flash-success { background: rgba(127, 209, 168, .08); border-color: rgba(127, 209, 168, .3); color: #c7f0dc; }
.flash-error   { background: rgba(229, 124, 143, .08); border-color: rgba(229, 124, 143, .35); color: #ffd2da; }
.flash-info    { background: rgba(217, 180, 90, .07); border-color: var(--line); color: var(--gold-light); }

.toast-stack { position: fixed; z-index: 1000; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; width: min(92vw, 420px); pointer-events: none; }
.toast {
  pointer-events: auto;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(28, 17, 33, .96); border: 1px solid var(--line);
  box-shadow: var(--shadow); color: var(--cream); font-size: 14px; text-align: center;
  animation: toastIn .4s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.96); } }

/* ─── CARTES ──────────────────────────────────────────────── */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(42, 21, 48, .55), rgba(20, 12, 24, .75));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-title { font-size: 26px; margin-bottom: 6px; }
.card-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.card + .card { margin-top: 20px; }
.card.deco::before, .card.deco::after {
  content: ''; position: absolute; width: 22px; height: 22px; border: 1px solid var(--gold); opacity: .5;
}
.card.deco::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.card.deco::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

/* ─── HÉRO ACCUEIL ────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  min-height: min(88vh, 820px);
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px 100px;
}
.hero-glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 50% 40%, rgba(196, 86, 124, .28), transparent 70%),
    radial-gradient(30% 30% at 30% 60%, rgba(217, 180, 90, .14), transparent 70%),
    radial-gradient(35% 30% at 72% 62%, rgba(120, 60, 160, .2), transparent 70%);
  filter: blur(10px);
  animation: breathe 12s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.08) rotate(2deg); } }
.hero-mask {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(900px, 130vw); opacity: .13; pointer-events: none;
  animation: floaty 14s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translate(-50%, -53%) rotate(-1.5deg); } }
.sparkles span {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-light); box-shadow: 0 0 10px 2px rgba(243, 220, 154, .7);
  opacity: 0; animation: twinkle 6s infinite;
}
@keyframes twinkle { 0%,100% { opacity: 0; transform: translateY(0) scale(.6); } 40% { opacity: .9; } 70% { opacity: .2; transform: translateY(-40px) scale(1); } }
.hero-content { position: relative; max-width: 860px; }
.hero h1 { margin: 22px 0 10px; font-weight: 300; }
.hero h1 em { font-weight: 400; }
.hero-tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 3vw, 28px); color: var(--rose); margin-bottom: 18px; }
.hero-text { color: var(--muted); max-width: 620px; margin: 0 auto 36px; font-size: 17px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 44px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hero-trust span::before { content: '✦ '; color: var(--gold); }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--gold); opacity: .6; font-size: 22px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* Héros compact (pages intérieures) */
.page-head { position: relative; z-index: 1; padding: 64px 0 36px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 300; margin: 14px 0 10px; }
.page-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ─── AGENDA ──────────────────────────────────────────────── */
.period-tabs {
  display: flex; gap: 6px; padding: 6px; margin: 0 auto 22px;
  width: fit-content; max-width: 100%; overflow-x: auto;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 999px;
  scrollbar-width: none;
}
.period-tabs::-webkit-scrollbar { display: none; }
.period-tabs a {
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  transition: all .25s var(--ease);
}
.period-tabs a:hover { color: var(--cream); }
.period-tabs a.active { background: var(--grad-gold); color: #1a1006; font-weight: 500; box-shadow: 0 6px 20px -8px rgba(217,180,90,.7); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-soft);
  color: var(--muted); font-size: 13px; cursor: pointer;
  transition: all .2s;
}
.chip:hover { border-color: var(--line); color: var(--cream); }
.chip.active { border-color: var(--rose); color: var(--rose); background: rgba(234,176,192,.08); }
select.chip { width: auto; max-width: 100%; border-radius: 999px; font-size: 13px; font-weight: 300; padding: 8px 32px 8px 16px; background-color: rgba(255,255,255,.03); border: 1px solid var(--line-soft); color: var(--muted); }
select.chip.active { border-color: var(--rose); color: var(--rose); }
select.chip { appearance: none; -webkit-appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%; background-size: 5px 5px; background-repeat: no-repeat; font-family: inherit; }
select.chip option { background: var(--velvet); color: var(--text); }

.month-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 28px; }
.month-nav .month { font-family: var(--font-display); font-size: 32px; font-style: italic; min-width: 220px; text-align: center; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold); font-size: 18px;
  transition: all .2s;
}
.round-btn:hover { background: var(--gold); color: var(--ink); }

.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
@media (max-width: 400px) { .event-grid { grid-template-columns: 1fr; } }

.event-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--velvet-2);
  border: 1px solid var(--line-soft);
  color: var(--text);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.event-card:hover { color: var(--text); transform: translateY(-6px); border-color: var(--line); box-shadow: var(--glow); }
.event-card-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--plum); }
.event-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); filter: saturate(.9) contrast(1.05); }
.event-card:hover .event-card-cover img { transform: scale(1.06); }
.event-card-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(20,12,24,.95)); }
.cover-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, var(--plum-2), var(--velvet)); }
.cover-fallback svg { width: 46%; opacity: .55; }
.date-medal {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  width: 62px; padding: 8px 0 6px; text-align: center;
  border-radius: 14px; background: rgba(11,7,16,.78); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}
.date-medal .d { font-family: var(--font-display); font-size: 28px; line-height: 1; color: var(--gold-light); }
.date-medal .m, .date-medal .w { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.card-flags { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.event-card-body { padding: 4px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.event-card-place { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.event-card-title { font-size: 28px; margin-bottom: 8px; }
.event-card-desc { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 16px; }
.event-card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.event-card-foot .signed { color: var(--rose); }
.mini-meteo { display: flex; height: 4px; border-radius: 4px; overflow: hidden; width: 90px; background: rgba(255,255,255,.06); }
.mini-meteo i { display: block; height: 100%; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--gold-light); background: rgba(11,7,16,.7);
  backdrop-filter: blur(6px);
}
.badge-rose { border-color: rgba(234,176,192,.4); color: var(--rose); }
.badge-green { border-color: rgba(127,209,168,.35); color: var(--ok); }
.badge-plain { background: rgba(255,255,255,.04); color: var(--muted); border-color: var(--line-soft); }
.badge-solid { background: var(--grad-gold); color: #1a1006; border: 0; }

.empty {
  text-align: center; padding: 70px 20px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.empty .big { font-size: 46px; margin-bottom: 10px; }
.empty h3 { margin-bottom: 8px; }

/* ─── SECTIONS ACCUEIL ────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 40px 28px; }
.step::after { counter-increment: step; content: counter(step, upper-roman); position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-style: italic; color: var(--gold); opacity: .5; font-size: 20px; }
.step-icon {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px;
  background: radial-gradient(circle, rgba(217,180,90,.18), transparent 70%);
  border: 1px solid var(--line); color: var(--gold-light);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.value { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); transition: border-color .3s, transform .3s var(--ease); }
.value:hover { border-color: var(--line); transform: translateY(-3px); }
.value .vi { font-size: 22px; color: var(--rose); margin-bottom: 10px; }
.value h4 { font-size: 22px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 14px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(26px, 4vw, 40px); line-height: 1.3; color: var(--cream);
  text-align: center; max-width: 820px; margin: 0 auto;
}
.quote::before { content: '«\00a0'; color: var(--gold); }
.quote::after  { content: '\00a0»'; color: var(--gold); }

.band {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(196,86,124,.08), rgba(217,180,90,.06), rgba(196,86,124,.08));
}

/* ─── FICHE SOIRÉE ────────────────────────────────────────── */
.ev-hero { position: relative; z-index: 1; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; }
.ev-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); filter: saturate(.85); }
.ev-hero-bg.fallback { background: radial-gradient(60% 80% at 50% 20%, var(--plum-2), var(--ink)); }
.ev-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,7,16,.2) 0%, rgba(11,7,16,.6) 50%, var(--ink) 100%); }
.ev-hero .container { position: relative; z-index: 2; padding-bottom: 40px; }
.ev-hero h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 300; margin: 16px 0 12px; }
.ev-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 15px; }
.ev-hero-meta span::before { content: '✦ '; color: var(--gold); font-size: 11px; }

.ev-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 32px 0 80px; }
@media (max-width: 960px) { .ev-layout { grid-template-columns: 1fr; } .ev-aside { order: -1; } }
.ev-aside .sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 26px; }
.fact { padding: 18px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid var(--line-soft); }
.fact-label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.fact-value { font-family: var(--font-display); font-size: 21px; color: var(--cream); }

.prose { color: var(--muted); font-size: 16px; }
.prose p + p { margin-top: 12px; }

/* Carte « signer le carnet » */
.sign-card { text-align: center; padding: 30px 26px; }
.sign-card .count { font-family: var(--font-display); font-size: 54px; line-height: 1; }
.sign-card .count-label { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.sign-card .btn { width: 100%; }
.sign-card .sub-actions { display: flex; justify-content: center; gap: 18px; margin-top: 16px; }

/* Météo de la soirée */
.meteo-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.05); margin: 14px 0 12px; }
.meteo-bar i { display: block; height: 100%; transition: width 1s var(--ease); }
.c-couple { background: linear-gradient(90deg, #d9b45a, #f3dc9a); }
.c-femme  { background: linear-gradient(90deg, #c4567c, #eab0c0); }
.c-homme  { background: linear-gradient(90deg, #4f6fb0, #8fb0e8); }
.c-autre  { background: linear-gradient(90deg, #7a4fa8, #c49af0); }
.meteo-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.meteo-legend span { display: flex; align-items: center; gap: 8px; }
.meteo-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.meteo-mood { margin-top: 12px; font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--rose); }
.meteo-fog { text-align: center; padding: 12px 0 4px; color: var(--muted); font-size: 14px; }
.meteo-fog .fog { font-size: 36px; opacity: .7; }

/* Participants (masqués) */
.guests { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.guest {
  position: relative; text-align: center; padding: 20px 12px 16px;
  border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid var(--line-soft);
  transition: border-color .3s, transform .3s var(--ease);
}
.guest:hover { border-color: var(--line); transform: translateY(-3px); }
.guest .mask-svg, .guest .avatar-photo { margin: 0 auto 10px; border-radius: 50%; }
.avatar-photo { object-fit: cover; border: 1px solid var(--line); }
.guest-name { font-family: var(--font-display); font-size: 19px; color: var(--cream); }
.guest-meta { font-size: 11px; color: var(--dim); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.guest .flags { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; min-height: 20px; }
.guest .btn { width: 100%; }
.seal { position: absolute; top: 10px; right: 10px; font-size: 14px; color: var(--gold); }

/* Salon éphémère & messagerie */
.salon { overflow: hidden; padding: 0; }
.salon-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.salon-head h3 { font-size: 24px; }
.salon-ttl { font-size: 11px; color: var(--rose); letter-spacing: .14em; text-transform: uppercase; }
.messages { height: 380px; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 82%; animation: toastIn .3s var(--ease); }
.msg .mask-svg, .msg .avatar-photo { flex: none; width: 32px; height: 32px; border-radius: 50%; }
.msg-bubble { padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: rgba(255,255,255,.05); border: 1px solid var(--line-soft); font-size: 15px; word-wrap: break-word; overflow-wrap: anywhere; }
.msg-meta { font-size: 11px; color: var(--dim); margin-bottom: 2px; }
.msg.own { align-self: flex-end; flex-direction: row-reverse; }
.msg.own .msg-bubble { border-radius: 18px 18px 4px 18px; background: linear-gradient(135deg, rgba(196,86,124,.35), rgba(122,79,168,.3)); border-color: rgba(234,176,192,.2); }
.msg-system { align-self: center; max-width: 90%; text-align: center; font-family: var(--font-display); font-style: italic; color: var(--gold-light); font-size: 16px; padding: 4px 0; }
.composer { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line-soft); background: rgba(11,7,16,.4); }
.composer textarea { flex: 1; resize: none; height: 48px; max-height: 140px; }
.gentle-hint {
  display: none; margin: 0 14px 14px; padding: 14px 16px; border-radius: 14px;
  background: rgba(240, 198, 116, .08); border: 1px solid rgba(240, 198, 116, .3); color: #f6e2b6; font-size: 14px;
}
.gentle-hint.show { display: block; animation: toastIn .3s var(--ease); }
.gentle-hint .actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

/* Messagerie (page) */
.inbox { display: grid; grid-template-columns: 320px 1fr; gap: 0; min-height: 70vh; padding: 0; overflow: hidden; }
@media (max-width: 860px) { .inbox { grid-template-columns: 1fr; } .inbox.has-conv .inbox-list { display: none; } .inbox:not(.has-conv) .inbox-conv { display: none; } }
.inbox-list { border-right: 1px solid var(--line-soft); overflow-y: auto; }
.inbox-item { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-soft); color: var(--text); }
.inbox-item:hover, .inbox-item.active { background: rgba(217,180,90,.06); color: var(--text); }
.inbox-item .who { font-family: var(--font-display); font-size: 19px; }
.inbox-item .last { font-size: 13px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.inbox-conv { display: flex; flex-direction: column; }
.inbox-conv .messages { flex: 1; height: auto; min-height: 360px; max-height: 60vh; }

/* ─── FORMULAIRES ─────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.form-hint { margin-top: 6px; font-size: 12px; color: var(--dim); }
.form-control, textarea, input[type=text], input[type=email], input[type=password], input[type=date], input[type=time], input[type=number], select {
  width: 100%;
  padding: 14px 18px;
  font: inherit; font-size: 15px; font-weight: 300;
  color: var(--cream);
  background: rgba(11, 7, 16, .6);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-control:focus, textarea:focus, input:focus, select:focus {
  outline: none; border-color: var(--gold); background: rgba(11, 7, 16, .85);
  box-shadow: 0 0 0 4px rgba(217, 180, 90, .12);
}
input[type=date]::-webkit-calendar-picker-indicator, input[type=time]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) hue-rotate(5deg); }
select option { background: var(--velvet); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 10px; border-radius: 14px; cursor: pointer; text-align: center;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); color: var(--muted); font-size: 14px;
  transition: all .2s var(--ease);
}
.choice span .ci { font-size: 22px; }
.choice:hover span { border-color: var(--line); color: var(--cream); }
.choice input:checked + span { border-color: var(--gold); color: var(--gold-light); background: rgba(217,180,90,.08); box-shadow: 0 0 0 3px rgba(217,180,90,.1); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }

.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.toggle-row:last-child { border-bottom: 0; }
.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid var(--line-soft); cursor: pointer; transition: .3s; }
.switch i::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: var(--muted); transition: .3s var(--ease); }
.switch input:checked + i { background: rgba(217,180,90,.25); border-color: var(--gold); }
.switch input:checked + i::before { transform: translateX(22px); background: var(--gold-light); }

/* Auth */
.auth-wrap { position: relative; z-index: 1; min-height: calc(100vh - 72px); display: grid; place-items: center; padding: 48px 20px 80px; }
.auth-card { width: 100%; max-width: 480px; }
.auth-card .card { padding: 40px 34px; }
@media (max-width: 500px) { .auth-card .card { padding: 30px 22px; } }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head h1 { font-size: 44px; font-weight: 300; margin: 12px 0 6px; }
.auth-head p { color: var(--muted); }
.auth-alt { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* Charte (inscription en étapes) */
.stepper { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.stepper i { width: 34px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); transition: background .4s; }
.stepper i.on { background: var(--grad-gold); }
.wizard-on .wizard-step { display: none; animation: toastIn .45s var(--ease); }
.wizard-on .wizard-step.active { display: block; }
.wizard-step + .wizard-step { margin-top: 32px; }
.wizard-on .wizard-step + .wizard-step { margin-top: 0; }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; }
.wizard-nav .btn { flex: 1; }
.principle {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; border-radius: 16px; margin-bottom: 12px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,.02);
  transition: border-color .3s, background .3s; cursor: pointer;
}
.principle .pi { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); font-size: 18px; transition: all .3s; }
.principle h4 { font-size: 21px; margin-bottom: 4px; }
.principle p { font-size: 14px; color: var(--muted); }
.principle .agree { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.principle.ok { border-color: rgba(217,180,90,.45); background: rgba(217,180,90,.05); }
.principle.ok .pi { background: var(--grad-gold); color: #1a1006; border-color: transparent; }
.principle.ok .agree { color: var(--gold); }

/* Profil */
.profile-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.profile-hero .mask-svg, .profile-hero .avatar-photo { width: 120px; height: 120px; border-radius: 50%; box-shadow: var(--glow); }
.profile-hero h1 { font-size: clamp(38px, 6vw, 56px); font-weight: 300; }
.profile-tagline { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--rose); }
.badges-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.mask-picker { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
@media (max-width: 500px) { .mask-picker { grid-template-columns: repeat(3, 1fr); } }
.mask-picker .choice span { padding: 10px 4px; font-size: 12px; }
.mask-picker .mask-svg { width: 52px; height: 52px; }
.color-picker { display: flex; gap: 10px; flex-wrap: wrap; }
.color-dot input { position: absolute; opacity: 0; }
.color-dot span { display: block; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; box-shadow: inset 0 0 0 3px var(--ink); transition: transform .2s; }
.color-dot input:checked + span { border-color: var(--cream); transform: scale(1.1); }

.photo-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-slot { position: relative; aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; border: 1px dashed var(--line); display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.02); color: var(--dim); transition: border-color .2s; }
.photo-slot:hover { border-color: var(--gold); color: var(--gold); }
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-slot input { display: none; }
.photo-del { position: absolute; z-index: 2; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(11,7,16,.8); color: var(--cream); cursor: pointer; }

.photos-veiled { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photos-veiled .veil { aspect-ratio: 3/4; border-radius: 16px; background: linear-gradient(135deg, var(--plum), var(--velvet)); border: 1px solid var(--line-soft); display: grid; place-items: center; color: var(--gold); font-size: 26px; }
.photos-open { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photos-open img { aspect-ratio: 3/4; object-fit: cover; border-radius: 16px; width: 100%; }

/* Carnet (tableau de bord) */
.list-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.list-row:last-child { border-bottom: 0; }
.list-row .grow { flex: 1; min-width: 0; }
.list-row .title { font-family: var(--font-display); font-size: 20px; color: var(--cream); }
.list-row .meta { font-size: 13px; color: var(--dim); }
.list-row .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.list-row .mask-svg, .list-row .avatar-photo { width: 48px; height: 48px; flex: none; border-radius: 50%; }
@media (max-width: 600px) { .list-row { flex-wrap: wrap; } .list-row .actions { width: 100%; justify-content: flex-start; } }
.notif { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.notif.unread { color: var(--cream); }
.notif.unread::before { content: ''; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--rose); flex: none; }
.notif time { margin-left: auto; font-size: 12px; color: var(--dim); white-space: nowrap; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.kpi { padding: 20px; border-radius: 16px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); }
.kpi .v { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--gold-light); }
.kpi .l { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }

/* Recommandations */
.quality-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.quality-picker .choice span { flex-direction: row; padding: 8px 14px; border-radius: 999px; font-size: 13px; }

/* Guide */
.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.guide-section { margin-bottom: 56px; scroll-margin-top: 100px; }
.guide-section h2 { margin-bottom: 18px; }
.guide-section h2 small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.tip { padding: 22px; border-radius: 16px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); }
.tip h4 { font-size: 20px; margin-bottom: 6px; color: var(--gold-light); }
.tip p { font-size: 14px; color: var(--muted); }
.signal-list { list-style: none; display: grid; gap: 10px; }
.signal-list li { padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.02); border-left: 2px solid var(--gold); color: var(--muted); }
.signal-list li strong { color: var(--cream); }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 21px; color: var(--cream); display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: '+'; color: var(--gold); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); }

/* QR */
.qr-box { display: inline-block; padding: 18px; background: #fff; border-radius: 18px; box-shadow: var(--glow); }

/* Modale */
.modal { position: fixed; inset: 0; z-index: 900; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 3, 8, .75); backdrop-filter: blur(6px); }
.modal.open { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal .card { width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; animation: toastIn .35s var(--ease); }
.modal-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }

/* Tableaux (organisateur) */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table-wrap { overflow-x: auto; }

/* ─── PORTE D'ENTRÉE 18+ ──────────────────────────────────── */
.age-gate { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; background: var(--grad-night); }
.age-gate.show { display: flex; }
.age-gate .card { max-width: 460px; text-align: center; padding: 48px 36px; }
.age-gate h2 { font-size: 40px; font-weight: 300; margin: 12px 0; }
.age-gate .actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

/* ─── PIED DE PAGE ────────────────────────────────────────── */
.footer { position: relative; z-index: 1; padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 40px; text-align: center; background: linear-gradient(180deg, transparent, rgba(11,7,16,.9)); }
.footer-brand { font-family: var(--font-display); font-style: italic; font-size: 30px; color: var(--cream); }
.footer-tag { color: var(--rose); font-family: var(--font-display); font-style: italic; font-size: 18px; margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; margin-bottom: 24px; }
.footer-links a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--gold-light); }
.footer-legal { font-size: 12px; color: var(--dim); max-width: 620px; margin: 0 auto; }
.pill-18 { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; color: var(--muted); margin-bottom: 18px; }
.pill-18 b { color: var(--gold); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─── COMPTEUR FONDATEURS ─────────────────────────────────── */
.founders {
  max-width: 560px; margin: 0 auto; padding: 18px 20px; border-radius: 16px; text-align: left;
  background: linear-gradient(135deg, rgba(217,180,90,.08), rgba(196,86,124,.06));
  border: 1px solid var(--line);
}
.founders-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.founders-left { font-size: 14px; color: var(--muted); }
.founders-left b { font-family: var(--font-display); font-size: 32px; font-weight: 500; margin-right: 4px; }
.founders-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; margin-bottom: 10px; }
.founders-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad-gold); box-shadow: 0 0 12px rgba(217,180,90,.6); transition: width 1.2s var(--ease); }
.founders p { font-size: 13px; color: var(--muted); margin: 0; }
.founders.urgent { border-color: rgba(234,176,192,.5); animation: pulseGlow 2.6s ease-in-out infinite; }
.founders.urgent .founders-bar i { background: var(--grad-rose); }
@keyframes pulseGlow { 50% { box-shadow: 0 0 0 4px rgba(196,86,124,.12); } }
.founders.compact { max-width: none; padding: 14px 16px; }
.founders.compact .founders-left b { font-size: 26px; }
.hero .founders { margin-top: 34px; }

/* ─── L'INVITATION (offre) ────────────────────────────────── */
.hero-ribbon {
  display: inline-block; margin-bottom: 22px; padding: 9px 20px; border-radius: 999px;
  background: rgba(217,180,90,.1); border: 1px solid rgba(217,180,90,.45);
  color: var(--gold-light); font-size: 13px; letter-spacing: .04em;
  box-shadow: 0 0 30px -8px rgba(217,180,90,.5);
  animation: ribbonGlow 3.5s ease-in-out infinite;
}
.hero-ribbon:hover { color: #fff; border-color: var(--gold); }
@keyframes ribbonGlow { 50% { box-shadow: 0 0 40px -4px rgba(217,180,90,.65); } }
.invitation { position: relative; z-index: 1; padding: 90px 0 70px; background: linear-gradient(180deg, transparent, rgba(42,21,48,.45) 30%, rgba(42,21,48,.45) 70%, transparent); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.offer {
  position: relative; display: flex; flex-direction: column; text-align: center;
  padding: 36px 28px 30px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(42,21,48,.6), rgba(20,12,24,.85));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.offer-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: var(--gold-light); border: 1px solid var(--line); background: radial-gradient(circle, rgba(217,180,90,.16), transparent 70%); }
.offer h3 { font-size: 28px; margin-bottom: 6px; }
.offer-price { font-family: var(--font-display); font-size: 46px; line-height: 1.05; font-weight: 500; }
.offer-sub { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }
.offer ul { list-style: none; text-align: left; margin: 0 auto 6px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.offer li { padding-left: 22px; position: relative; }
.offer li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 3px; }
.offer-star { border-color: rgba(217,180,90,.6); box-shadow: 0 0 0 1px rgba(217,180,90,.25), 0 30px 70px -20px rgba(217,180,90,.35); background: linear-gradient(180deg, rgba(74,40,60,.75), rgba(26,15,30,.92)); }
@media (min-width: 901px) { .offer-star { transform: translateY(-12px); } }
.offer-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--grad-rose); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(196,86,124,.7); }
.offer-counter { margin: 18px 0 18px; text-align: left; }
.offer-count { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.offer-count b { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--gold-light); margin-right: 4px; }
.offer .btn-block { margin-top: auto; }

/* Photos : statut de modération */
.slot-badge { position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(240,198,116,.92); color: #1a1006; font-size: 11px; font-weight: 500; }
.slot-rejected { text-align: center; font-size: 12px; color: var(--danger); padding: 10px; line-height: 1.5; }
.slot-rejected small { color: var(--muted); }

/* Une seule photo de profil */
.photo-slots.single { grid-template-columns: minmax(0, 220px); justify-content: center; }
.photos-veiled:has(> :only-child), .photos-open:has(> :only-child) { grid-template-columns: minmax(0, 260px); justify-content: center; }

/* Fiche soirée : club mis en avant, lieu et carte */
.ev-hero-club { margin-top: 18px; font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 28px); color: var(--muted); font-style: italic; }
.ev-hero-club strong { font-style: normal; font-weight: 500; color: var(--gold-light); letter-spacing: .02em; }
.ev-hero-city { font-style: normal; color: var(--rose); margin-left: 4px; }
.ev-hero h1 { margin-top: 4px; }
.lieu-city { color: var(--cream); font-size: 14px; margin-top: 4px; }
.lieu-map { margin-top: 14px; }
.map-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
             background: radial-gradient(circle at 50% 45%, rgba(217,180,90,.14), transparent 60%), repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 10px, transparent 10px 20px), var(--velvet); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map-reveal { position: absolute; inset: 0; width: 100%; background: none; border: 0; color: var(--gold-light); font: inherit; font-size: 14px; letter-spacing: .08em; cursor: pointer; }
.map-reveal:hover { color: #fff; background: rgba(217,180,90,.06); }
.map-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }

/* ─── Fenêtre de confirmation (remplace confirm/alert du navigateur) ─── */
.sl-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px;
            background: rgba(5, 3, 8, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s; }
.sl-modal.open { opacity: 1; }
.sl-modal-box { width: 100%; max-width: 420px; padding: 30px 28px 24px; border-radius: var(--radius); text-align: center;
                background: linear-gradient(180deg, rgba(42, 21, 48, .97), rgba(20, 12, 24, .98)); border: 1px solid var(--line);
                box-shadow: var(--shadow), 0 0 40px -12px rgba(217, 180, 90, .35); transform: translateY(10px) scale(.97); transition: transform .25s var(--ease); }
.sl-modal.open .sl-modal-box { transform: none; }
.sl-modal-title { font-family: var(--font-display); font-size: 24px; color: var(--cream); margin-bottom: 8px; }
.sl-modal-text { color: var(--text); font-size: 16px; line-height: 1.55; margin: 0 0 22px; }
.sl-modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.sl-btn { flex: 1; min-width: 120px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-family: var(--font-body);
          font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.sl-btn:active { transform: scale(.97); }
.sl-btn-gold { background: var(--grad-gold); color: #1a1006; box-shadow: 0 8px 24px -10px rgba(217, 180, 90, .7); }
.sl-btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line); color: var(--cream); }
.sl-btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.sl-btn-danger { background: transparent; border-color: rgba(229, 124, 143, .55); color: #ffd2da; }
.sl-btn-danger:hover { background: rgba(229, 124, 143, .14); color: #fff; }
.sl-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* ─── Listes déroulantes dans le design du site (assets/js/fancy-select.js) ─── */
.fsel { position: relative; display: inline-block; vertical-align: middle; }
.fsel-field { display: block; }
.fsel-field.fsel-inline { display: inline-block; }
.fsel-native { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.fsel-btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; text-align: left; cursor: pointer; }
.fsel-btn:disabled { opacity: .5; cursor: default; }
.fsel-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fsel-chip .fsel-btn { padding: 8px 14px 8px 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }
.fsel-chip .fsel-btn:hover, .fsel-chip.open .fsel-btn { border-color: var(--line); color: var(--cream); }
.fsel-chip .fsel-btn.active { border-color: var(--rose); color: var(--rose); background: rgba(234,176,192,.08); }
.fsel-input { width: 100%; justify-content: space-between; padding: 14px 18px; border-radius: 14px; background: rgba(11,7,16,.6); border: 1px solid var(--line-soft); color: var(--cream); font-size: 15px; font-weight: 300; }
.fsel-input:hover, .fsel-field.open .fsel-input { border-color: var(--gold); }
.fsel-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(217,180,90,.25); border-color: var(--gold); }
.fsel-caret { width: 8px; height: 8px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); flex: none; }
.fsel.open .fsel-caret { transform: translateY(2px) rotate(-135deg); }
.fsel-list { position: fixed; z-index: 10050; max-width: min(360px, calc(100vw - 16px)); overflow-y: auto; overscroll-behavior: contain;
             margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: linear-gradient(180deg, #2a1530, #1a0f1f);
             border: 1px solid var(--line); box-shadow: 0 24px 50px -16px rgba(0,0,0,.85), 0 0 30px -14px rgba(217,180,90,.4);
             opacity: 0; transform: translateY(-6px); transition: opacity .16s, transform .2s var(--ease); outline: none; }
.fsel-list.up { transform: translateY(6px); }
.fsel-list.show { opacity: 1; transform: none; }
.fsel-list li { padding: 10px 14px; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 300; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.fsel-list li.is-active { background: rgba(217,180,90,.12); color: var(--gold-light); }
.fsel-list li[aria-selected="true"] { color: var(--gold-light); font-weight: 500; }
.fsel-list li[aria-selected="true"]::before { content: '✦ '; font-size: 10px; color: var(--gold); }
.fsel-list li[aria-disabled="true"] { opacity: .4; cursor: default; }
.fsel-list::-webkit-scrollbar { width: 6px; } .fsel-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }

/* ─── Toutes les cases à cocher deviennent des interrupteurs ───
   (sauf celles déjà habillées : .switch, pastilles .choice, cartes .sr-only) */
input[type=checkbox]:not(.sr-only):not(.switch input):not(.choice input) {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; vertical-align: middle;
  width: 38px; height: 22px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-soft); transition: background .3s, border-color .3s, box-shadow .2s;
}
input[type=checkbox]:not(.sr-only):not(.switch input):not(.choice input)::before {
  content: ''; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; border-radius: 50%; background: var(--muted); transition: transform .3s var(--ease), background .3s;
}
input[type=checkbox]:not(.sr-only):not(.switch input):not(.choice input):checked { background: rgba(217,180,90,.25); border-color: var(--gold); }
input[type=checkbox]:not(.sr-only):not(.switch input):not(.choice input):checked::before { transform: translateX(16px); background: var(--gold-light); }
input[type=checkbox]:not(.sr-only):not(.switch input):not(.choice input):focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(217,180,90,.25); }
input[type=checkbox]:not(.sr-only):not(.switch input):not(.choice input):disabled { opacity: .45; cursor: default; }
.check input[type=checkbox] { margin-top: 0; }
.switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(217,180,90,.25); }
.switch input:disabled + i { opacity: .45; cursor: default; }

/* Interrupteur dans une pastille de filtre */
.chip-switch { gap: 10px; user-select: none; }
.chip-switch .switch { width: 36px; height: 20px; }
.chip-switch .switch i::before { width: 14px; height: 14px; left: 2px; top: 2px; }
.chip-switch .switch input:checked + i { background: rgba(234,176,192,.3); border-color: var(--rose); }
.chip-switch .switch input:checked + i::before { transform: translateX(16px); background: var(--rose); }
.chip-switch .switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(234,176,192,.25); }

input[type=radio] { accent-color: var(--gold); }

/* ─── Garder la danse (messages.php) ─── */
.keep-dance { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 0 18px 12px; padding: 16px 18px;
              border: 1px solid rgba(217,180,90,.45); border-radius: 18px; background: linear-gradient(135deg, rgba(217,180,90,.1), rgba(234,176,192,.06)); }
.keep-dance.soft { border-color: var(--line-soft); background: rgba(255,255,255,.02); }
.keep-dance-txt { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.keep-dance-txt strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--gold-light); }
.keep-dance-txt span { font-size: 13px; color: var(--muted); }
.keep-dance-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dance-state { font-size: 12px; color: var(--muted); }
.dance-state.ds-ask { color: var(--rose); }
.dance-state.ds-kept { color: var(--gold); }

/* ─── Emojis dans les chats (assets/js/emoji-picker.js) ─── */
.emoji-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03);
             color: var(--gold); font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s, transform .2s; }
.emoji-btn:hover, .emoji-btn[aria-expanded="true"] { border-color: var(--gold); background: rgba(217,180,90,.1); transform: rotate(-8deg); }
.emoji-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(217,180,90,.25); }
.emoji-wrap { position: relative; }
.emoji-wrap textarea { padding-right: 56px; }
.emoji-btn.in-field { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; font-size: 20px; }
.emoji-panel { position: fixed; z-index: 10060; width: min(330px, calc(100vw - 16px)); padding: 10px; border-radius: 20px;
               background: linear-gradient(180deg, #2a1530, #1a0f1f); border: 1px solid var(--line);
               box-shadow: 0 24px 50px -16px rgba(0,0,0,.85), 0 0 30px -14px rgba(217,180,90,.4);
               opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98); transition: opacity .16s, transform .2s var(--ease), visibility .16s; }
.emoji-panel.show { opacity: 1; visibility: visible; transform: none; }
.emoji-tabs { display: flex; gap: 4px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.emoji-tabs button { flex: 1; height: 36px; border: 0; border-radius: 12px; background: none; font-size: 18px; cursor: pointer; color: var(--gold); opacity: .55; transition: .2s; }
.emoji-tabs button:hover { opacity: 1; background: rgba(255,255,255,.04); }
.emoji-tabs button[aria-selected="true"] { opacity: 1; background: rgba(217,180,90,.14); }
.emoji-title { font-family: var(--font-display); font-style: italic; color: var(--gold-light); font-size: 15px; padding: 8px 4px 4px; }
.emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; max-height: 196px; overflow-y: auto; overscroll-behavior: contain; }
.emoji-grid button { aspect-ratio: 1; border: 0; border-radius: 10px; background: none; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .15s, background .15s; }
.emoji-grid button:hover, .emoji-grid button:focus-visible { background: rgba(217,180,90,.14); transform: scale(1.2); outline: none; }
.emoji-grid::-webkit-scrollbar { width: 6px; } .emoji-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.msg-bubble.msg-emoji { background: none !important; border: 0 !important; box-shadow: none !important; font-size: 40px; line-height: 1.15; padding: 2px 4px; }
@media (max-width: 500px) { .emoji-btn { width: 44px; height: 44px; font-size: 22px; } .emoji-grid button { font-size: 24px; } }

/* Barres de défilement dans le design du site */
.messages, textarea, .inbox-list, .modal .card { scrollbar-width: thin; scrollbar-color: rgba(217,180,90,.35) transparent; }
.messages::-webkit-scrollbar, textarea::-webkit-scrollbar, .inbox-list::-webkit-scrollbar { width: 6px; }
.messages::-webkit-scrollbar-thumb, textarea::-webkit-scrollbar-thumb, .inbox-list::-webkit-scrollbar-thumb { background: rgba(217,180,90,.35); border-radius: 3px; }
.messages::-webkit-scrollbar-track, textarea::-webkit-scrollbar-track, .inbox-list::-webkit-scrollbar-track { background: transparent; }
