/* ============================================================
   Charline — base commune (typographie, or, reset)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Parisienne&family=Pinyon+Script&family=Jost:wght@300;400;500&display=swap');

:root {
  /* Or — dégradé métallique de luxe */
  --gold-deep:   #a9772a;
  --gold:        #c9a227;
  --gold-soft:   #d9bd6a;
  --gold-light:  #f2e3b3;
  --gold-grad:   linear-gradient(120deg, #bf953f 0%, #fcf6ba 28%, #b88a44 52%, #fbf5b7 74%, #aa771c 100%);
  /* or doré PLEIN (sans reflet), plus vif et brillant */
  --gold-solid: #f2c531;

  /* Blancs & neutres */
  --ivory:   #fbf9f5;
  --cream:   #f6f1e7;
  --paper:   #ffffff;
  --ink:     #2c2a26;
  --ink-soft:#6c655a;
  --line:    rgba(169,119,42,0.35);

  /* Typo */
  --f-script:  'Parisienne', cursive;
  --f-script2: 'Pinyon Script', cursive;
  --f-display: 'Playfair Display', serif;
  --f-serif:   'Cormorant Garamond', serif;
  --f-sans:    'Jost', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--f-serif);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Texte doré métallique réutilisable */
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

/* Filet doré fin */
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
}

/* Petit ornement central */
.ornament {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--gold); font-size: 13px; letter-spacing: .3em;
  text-transform: uppercase;
}
.ornament::before, .ornament::after {
  content: ""; width: 56px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* Barre de navigation entre les maquettes */
.version-bar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 999; display: flex; gap: 6px; align-items: center;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 10px; box-shadow: 0 10px 30px rgba(120,90,30,.18);
  font-family: var(--f-sans); font-size: 12px;
}
.version-bar a {
  text-decoration: none; color: var(--ink-soft);
  padding: 5px 12px; border-radius: 100px; transition: .25s;
  letter-spacing: .04em;
}
.version-bar a:hover { color: var(--gold-deep); }
.version-bar a.active {
  background: var(--gold-grad); color: #5b4413; font-weight: 500;
}
.version-bar .vb-label { color: var(--gold-deep); padding: 0 6px 0 4px; font-style: italic; font-family: var(--f-serif); }

/* ---- Responsive global ---- */
@media (max-width: 600px) {
  .version-bar {
    bottom: 10px; width: calc(100% - 20px); justify-content: center;
    flex-wrap: wrap; padding: 6px; gap: 4px; font-size: 11px;
  }
  .version-bar a { padding: 5px 9px; }
  .version-bar .vb-label { width: 100%; text-align: center; padding: 2px 0; }
  .ornament::before, .ornament::after { width: 34px; }
}
@media (hover: none) {
  /* évite le survol persistant sur tactile */
  .version-bar a:hover { color: var(--ink-soft); }
}

/* ============================================================
   Cloche de notification (bandeau bas)
   ============================================================ */
/* Barre volante unique : une pilule contenant deux icônes (💡 idées | 🔔 notifs) */
.notif-dock {
  position: fixed; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  z-index: 999; display: inline-flex; align-items: center; gap: 2px;
  background: rgba(32,16,26,.68); -webkit-backdrop-filter: blur(11px); backdrop-filter: blur(11px);
  border: 1px solid rgba(226,194,108,.55); border-radius: 100px;
  padding: 5px; box-shadow: 0 12px 30px rgba(120,40,70,.3);
}
/* chaque icône = bouton rond, texte masqué */
.dock-idea, .notif-bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; text-decoration: none;
  color: var(--gold-solid, #f2c531); transition: background .2s, transform .2s;
}
.dock-idea:hover, .notif-bell:hover { background: rgba(255,240,200,.14); transform: translateY(-1px); }
.dock-idea .lbl, .notif-bell .lbl { display: none; }         /* icônes seules */
.dock-idea .ico { font-size: 21px; line-height: 1; }
.notif-bell .ico { font-size: 21px; line-height: 1; animation: bell-sway 4s ease-in-out infinite; transform-origin: top center; }
@keyframes bell-sway { 0%,92%,100%{ transform: rotate(0); } 94%{ transform: rotate(12deg);} 96%{ transform: rotate(-10deg);} 98%{ transform: rotate(6deg);} }
/* séparateur entre les deux icônes */
.dock-sep { width: 1px; height: 24px; background: rgba(226,194,108,.4); margin: 0 2px; }
/* badge (pastille) sur la cloche */
.notif-bell .badge {
  position: absolute; top: 5px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 100px;
  background: #e23b78; color: #fff; font-size: 10px; letter-spacing: 0;
  display: none; align-items: center; justify-content: center; font-weight: 700;
  border: 1.5px solid rgba(32,16,26,.9);
}
.notif-bell.has-unseen .badge { display: inline-flex; }

.notif-panel {
  position: fixed; bottom: 74px; left: 50%; transform: translateX(-50%) translateY(10px);
  z-index: 999; width: min(380px, calc(100vw - 28px));
  background: rgba(255,250,252,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(120,40,70,.28);
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.notif-panel.open { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.notif-panel h4 {
  font-family: var(--f-display); font-weight: 500; font-size: 18px; color: var(--ink);
  margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.notif-panel .empty { font-family: var(--f-serif); font-style: italic; color: var(--ink-soft); font-size: 16px; padding: 10px 4px 6px; }
.notif-item { display: block; text-decoration: none; color: inherit; padding: 11px 12px; border-radius: 10px; transition: background .2s; }
.notif-item + .notif-item { border-top: 1px solid var(--line); }
.notif-item:hover { background: rgba(233,184,56,.12); }
.notif-item .nt { font-family: var(--f-display); font-weight: 500; font-size: 16px; color: var(--ink); }
.notif-item .nd { font-family: var(--f-sans); font-size: 11px; letter-spacing: .06em; color: var(--gold-deep); text-transform: uppercase; margin-top: 2px; }
.notif-item .np { font-family: var(--f-serif); font-size: 15px; color: var(--ink-soft); margin-top: 3px; }
