/* ═══════════════════════════════════════════════════════════
   GROSSESSE APP — CSS PREMIUM v4
   ═══════════════════════════════════════════════════════════ */

:root {
  --pink: #e91e8c;
  --pink-light: #f472b6;
  --pink-pale: #fdf2f8;
  --purple: #7c3aed;
  --purple-light: #a78bfa;
  --purple-pale: #f5f3ff;
  --gold: #f59e0b;
  --green: #10b981;
  --blue: #3b82f6;
  --bg: #faf5ff;
  --white: #ffffff;
  --text: #1e1b4b;
  --text-md: #4c4577;
  --text-sm: #7c6fa0;
  --text-xs: #b0a3cc;
  --border: rgba(124,58,237,0.1);
  --border-md: rgba(124,58,237,0.18);
  --shadow-sm: 0 2px 16px rgba(124,58,237,0.07);
  --shadow: 0 4px 28px rgba(124,58,237,0.11);
  --shadow-lg: 0 8px 44px rgba(124,58,237,0.16);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --nav-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Nunito', sans-serif; background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: inherit; outline: none; }
::selection { background: rgba(124,58,237,0.18); }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.app-body {
  background: linear-gradient(160deg, #faf5ff 0%, #fff0fa 50%, #f0f4ff 100%);
  min-height: 100vh;
}
.page-scroll {
  overflow-y: auto;
  height: 100vh;
  padding-bottom: calc(var(--nav-h) + 24px + var(--safe-b));
  scroll-behavior: smooth;
}
.content-wrap { max-width: 480px; margin: 0 auto; padding: 16px 16px 0; }

/* ─── BOTTOM NAV ─────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  display: flex; align-items: flex-start; justify-content: space-around;
  padding-top: 8px;
  border-top: 1px solid var(--border-md);
  z-index: 1000;
  box-shadow: 0 -4px 24px rgba(124,58,237,0.07);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 12px; border-radius: 16px; color: var(--text-xs);
  font-size: 10px; font-weight: 800; letter-spacing: 0.3px;
  transition: all .2s; min-width: 52px; background: none;
}
.nav-item i { font-size: 20px; transition: all .25s; }
.nav-item.active { color: var(--purple); background: var(--purple-pale); }
.nav-item.active i { color: var(--purple); transform: scale(1.15); }
.nav-item:active { transform: scale(0.9); }

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  transition: box-shadow .2s;
}
.card-header-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; gap: 10px;
}
.card-header-row.mb-0 { margin-bottom: 0; }
.card-icon-title { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.ch-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ch-icon i { font-size: 19px; color: var(--purple); }
.card-icon-title h3 {
  font-family: 'Playfair Display', serif;
  font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 1px;
}
.card-sub { font-size: 11.5px; color: var(--text-xs); }
.card-hint { font-size: 12.5px; color: var(--text-sm); line-height: 1.6; margin-bottom: 14px; }
.card-link-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--purple);
  background: var(--purple-pale); padding: 8px 14px; border-radius: 10px;
  transition: all .2s; margin-top: 4px;
}
.card-link-btn:active { background: var(--purple); color: white; }

/* ─── HERO GRADIENT ─────────────────────────────────────── */
.hero-gradient {
  position: relative; overflow: hidden;
  padding: 60px 24px 44px;
  background: linear-gradient(160deg, #e9d5ff 0%, #fce7f3 45%, #dbeafe 100%);
  text-align: center;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none;
}
.hero-orb-1 { width: 240px; height: 240px; background: rgba(192,132,252,0.32); top: -70px; right: -70px; animation: orbFloat 8s ease-in-out infinite; }
.hero-orb-2 { width: 180px; height: 180px; background: rgba(244,114,182,0.28); bottom: -50px; left: -50px; animation: orbFloat 8s ease-in-out infinite; animation-delay: -3s; }
.hero-orb-3 { width: 130px; height: 130px; background: rgba(147,197,253,0.28); top: 40px; left: 32%; animation: orbFloat 8s ease-in-out infinite; animation-delay: -6s; }
@keyframes orbFloat { 0%,100%{transform:translate(0,0)} 33%{transform:translate(10px,-15px)} 66%{transform:translate(-10px,8px)} }

.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.85);
  color: var(--purple); font-size: 11.5px; font-weight: 800;
  padding: 5px 16px; border-radius: 100px; margin-bottom: 22px;
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse { 0%,100%{box-shadow:0 0 0 0 rgba(124,58,237,0)} 50%{box-shadow:0 0 0 6px rgba(124,58,237,0.08)} }
.hero-icon-wrap { position: relative; display: inline-block; margin-bottom: 18px; }
.hero-ripple {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(233,30,140,0.18);
  animation: rippleOut 2.5s infinite ease-out;
}
.r1 { inset: -8px; animation-delay: 0s; }
.r2 { inset: -20px; animation-delay: .6s; }
.r3 { inset: -32px; animation-delay: 1.2s; }
@keyframes rippleOut { 0%{transform:scale(1);opacity:.7} 100%{transform:scale(1.45);opacity:0} }
.hero-icon { font-size: 64px; display: block; animation: floatY 4s ease-in-out infinite; }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.hero-date { color: var(--text-sm); font-size: 13px; margin-bottom: 14px; }
.hero-sa-pill {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: white; font-size: 13px; font-weight: 800;
  padding: 7px 20px; border-radius: 100px;
  box-shadow: 0 4px 18px rgba(124,58,237,0.35);
}

/* ─── PAGE HERO (pages intérieures) ─────────────────────── */
.page-hero {
  padding: 48px 24px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.ph-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ph-title i { margin-right: 10px; }
.ph-sub { font-size: 13px; color: var(--text-sm); }

/* ─── PROGRESS CARD ─────────────────────────────────────── */
.card-progress { background: linear-gradient(145deg,rgba(245,243,255,.92),rgba(253,242,248,.92)) !important; }
.prog-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.prog-left { flex: 1; }
.label-xs { font-size: 9.5px; font-weight: 800; color: var(--text-xs); text-transform: uppercase; letter-spacing: 0.9px; margin-bottom: 4px; }
.prog-sa-big { font-family: 'Playfair Display', serif; font-size: 68px; font-weight: 700; color: var(--purple); line-height: 1; }
.prog-ring-wrap { position: relative; width: 104px; height: 104px; }
.prog-ring-svg { width: 104px; height: 104px; }
.prog-ring-pct { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 15px; font-weight: 800; color: var(--purple); }
.prog-bar-track { height: 12px; background: rgba(192,132,252,0.18); border-radius: 8px; position: relative; margin-bottom: 12px; overflow: hidden; }
.prog-bar-fill { height: 100%; background: linear-gradient(90deg,var(--purple-light),var(--pink-light)); border-radius: 8px; transition: width 1.4s cubic-bezier(.4,0,.2,1); width: 0; }
.prog-bar-markers { position: absolute; inset: 0; pointer-events: none; }
.pbm { position: absolute; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,0.6); border-radius: 1px; }
.prog-trimesters { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.prog-tri {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; border-radius: 10px;
  background: rgba(192,132,252,0.1); transition: all .2s;
}
.prog-tri.active { background: linear-gradient(135deg,var(--purple),var(--pink)); }
.ptri-label { font-size: 10.5px; font-weight: 700; color: var(--text-sm); text-align: center; }
.ptri-weeks { font-size: 9.5px; color: var(--text-xs); }
.prog-tri.active .ptri-label { color: white; }
.prog-tri.active .ptri-weeks { color: rgba(255,255,255,.7); }

/* ─── GRIDS ─────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.mb-4 { margin-bottom: 4px; }

/* ─── STAT CARDS ────────────────────────────────────────── */
.card-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 16px 8px; }
.stat-icon { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 2px; }
.stat-val { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--text); }
.stat-lbl { font-size: 9.5px; color: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; }

/* ─── HCG CARD ──────────────────────────────────────────── */
.card-hcg { background: linear-gradient(145deg,rgba(237,233,254,.9),rgba(245,243,255,.9)) !important; }
.hcg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.hcg-cell.hcg-main { background: rgba(124,58,237,0.07); border-radius: var(--radius-sm); padding: 16px; border: 1px solid rgba(124,58,237,0.14); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hcg-num { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; color: var(--purple); line-height: 1; }
.hcg-unit { font-size: 11px; color: var(--text-sm); font-weight: 600; margin-bottom: 8px; }
.hcg-ok { font-size: 11px; color: var(--green); font-weight: 700; background: rgba(16,185,129,.1); padding: 3px 10px; border-radius: 100px; }
.hcg-details { display: flex; flex-direction: column; gap: 9px; background: rgba(124,58,237,0.05); border-radius: var(--radius-sm); padding: 12px; border: 1px solid rgba(124,58,237,0.1); }
.hcg-row { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--text-sm); }
.hcg-norm { font-weight: 800; color: var(--purple); }
.hcg-good { font-weight: 800; color: var(--green); }
.hcg-note { background: rgba(16,185,129,0.07); border: 1px solid rgba(16,185,129,0.18); border-radius: var(--radius-sm); padding: 11px 13px; font-size: 11.5px; color: #059669; display: flex; gap: 8px; line-height: 1.55; }
.hcg-note i { flex-shrink: 0; margin-top: 2px; }

/* ─── BABY WEEK ─────────────────────────────────────────── */
.bw-emoji-big { font-size: 48px; flex-shrink: 0; }
.bw-measures { display: flex; gap: 16px; margin: 14px 0; flex-wrap: wrap; }
.bwm { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 13.5px; font-weight: 700; }
.bwm i { font-size: 14px; color: var(--pink); }
.bwm b { font-size: 14px; color: var(--text); }
.bwm small { font-size: 9.5px; font-weight: 500; color: var(--text-xs); }
.bw-desc { font-size: 13px; color: var(--text-sm); line-height: 1.65; margin-bottom: 12px; }
.bw-mama { display: flex; gap: 10px; align-items: flex-start; background: var(--pink-pale); border-radius: 12px; padding: 10px 13px; margin-bottom: 14px; }
.bw-mama i { color: var(--pink); margin-top: 2px; flex-shrink: 0; }
.bw-mama p { font-size: 12px; color: var(--text-sm); line-height: 1.55; }

/* ─── QUICK LINKS ───────────────────────────────────────── */
.card-link {
  display: flex; align-items: center; gap: 12px; padding: 16px;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(255,255,255,0.85); transition: all .15s;
  box-shadow: var(--shadow-sm);
}
.card-link span { font-size: 28px; }
.card-link strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); }
.card-link small { font-size: 11px; color: var(--text-xs); }
.card-link:active { transform: scale(0.97); box-shadow: var(--shadow); }
.card-link-astro { background: linear-gradient(135deg,rgba(30,27,75,.05),rgba(76,29,149,.08)) !important; border-color: rgba(76,29,149,0.15) !important; }
.card-link-annonce { background: linear-gradient(135deg,rgba(253,242,248,.9),rgba(252,231,243,.9)) !important; border-color: rgba(233,30,140,0.15) !important; }
.card-link-liste { background: linear-gradient(135deg,rgba(209,250,229,.9),rgba(167,243,208,.4)) !important; border-color: rgba(16,185,129,0.15) !important; }
.card-link-journal { background: linear-gradient(135deg,rgba(237,233,254,.9),rgba(221,214,254,.4)) !important; border-color: rgba(124,58,237,0.15) !important; }

/* ─── MOOD ──────────────────────────────────────────────── */
.mood-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 14px; }
.mood-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; background: rgba(124,58,237,0.05); border-radius: 12px; padding: 10px 4px; border: 1px solid var(--border); transition: all .15s; }
.mood-em { font-size: 24px; }
.mood-lbl { font-size: 9px; font-weight: 700; color: var(--text-sm); text-align: center; }
.mood-btn.selected, .mood-btn:active { background: var(--purple-pale); border-color: var(--purple); transform: scale(0.95); }
.mood-saved-bar { margin-top: 12px; background: var(--purple-pale); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; color: var(--purple); font-weight: 700; text-align: center; }
.mood-row-sm { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.mood-sm-btn { width: 40px; height: 40px; border-radius: 12px; font-size: 22px; background: rgba(124,58,237,0.05); border: 2px solid transparent; transition: all .15s; }
.mood-sm-btn.selected { border-color: var(--purple); background: var(--purple-pale); transform: scale(1.1); }

/* ─── SYMPTÔMES ─────────────────────────────────────────── */
.symp-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.symp-tag { padding: 7px 13px; border-radius: 100px; font-size: 12px; font-weight: 700; background: rgba(124,58,237,0.05); border: 1.5px solid var(--border); color: var(--text-md); transition: all .15s; }
.symp-tag.active { background: linear-gradient(135deg,var(--purple),var(--pink)); color: white; border-color: transparent; box-shadow: 0 2px 12px rgba(124,58,237,0.3); }
.badge-pill { background: linear-gradient(135deg,var(--purple),var(--pink)); color: white; font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 100px; min-width: 28px; text-align: center; }
.btn-save-full { width: 100%; padding: 13px; border-radius: 14px; background: linear-gradient(135deg,var(--purple),var(--pink)); color: white; font-size: 14px; font-weight: 800; box-shadow: 0 4px 20px rgba(124,58,237,0.3); transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-save-full:active { transform: scale(0.98); }

/* ─── CHECKLIST ─────────────────────────────────────────── */
.check-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.check-item:last-child { border-bottom: none; }
.check-cb { width: 22px; height: 22px; border-radius: 8px; border: 2px solid var(--border-md); flex-shrink: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; background: white; }
.check-cb.done { background: var(--green); border-color: var(--green); color: white; }
.check-item-text { font-size: 13px; color: var(--text-md); flex: 1; }
.check-item-text.done { text-decoration: line-through; color: var(--text-xs); }
.checklist-progress-mini { font-size: 11px; font-weight: 800; color: var(--purple); background: var(--purple-pale); padding: 3px 9px; border-radius: 100px; }

/* ─── TIP CARD ──────────────────────────────────────────── */
.card-tip { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(145deg,rgba(254,249,195,.9),rgba(253,230,138,.3)) !important; border: 1px solid rgba(245,158,11,0.15) !important; }
.tip-deco { font-size: 30px; flex-shrink: 0; }
.tip-title { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tip-body { font-size: 12.5px; color: var(--text-sm); line-height: 1.6; }

/* ─── FORM ───────────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 11.5px; font-weight: 800; color: var(--text-sm); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border-md); background: rgba(255,255,255,0.8); font-size: 13.5px; color: var(--text); transition: border-color .15s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--purple); background: white; }
.form-group textarea { resize: vertical; line-height: 1.55; }
.form-row { display: flex; gap: 10px; }
.form-row .form-group { flex: 1; }
.form-hint { font-size: 11px; color: var(--text-xs); margin-top: 5px; line-height: 1.45; }
.save-msg { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: #059669; font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 10px; margin-bottom: 10px; }

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn-primary-full { width: 100%; padding: 14px; border-radius: 14px; background: linear-gradient(135deg,var(--purple),var(--pink)); color: white; font-size: 14px; font-weight: 800; box-shadow: 0 4px 20px rgba(124,58,237,0.3); transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-primary-full:active { transform: scale(0.98); box-shadow: 0 2px 12px rgba(124,58,237,0.2); }
.btn-ghost { padding: 12px 18px; border-radius: 12px; background: rgba(124,58,237,0.06); border: 1.5px solid var(--border-md); color: var(--text-md); font-size: 13px; font-weight: 700; transition: all .15s; }
.btn-ghost:active { background: var(--purple-pale); }
.btn-circle { width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; background: linear-gradient(135deg,var(--purple),var(--pink)); color: white; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(124,58,237,0.3); transition: all .15s; }
.btn-circle:active { transform: scale(0.92); }
.btn-row { display: flex; gap: 10px; margin-bottom: 14px; }
.btn-export { flex: 1; padding: 12px; border-radius: 12px; font-size: 12.5px; font-weight: 700; background: rgba(124,58,237,0.07); border: 1.5px solid var(--border-md); color: var(--text-md); display: flex; align-items: center; justify-content: center; gap: 7px; transition: all .15s; }
.btn-export:active { background: var(--purple-pale); }
.mb-16 { margin-bottom: 16px; }

/* ─── MODAL ──────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(30,27,75,0.45); backdrop-filter: blur(6px); z-index: 2000; display: flex; align-items: flex-end; }
.modal-overlay.hidden { display: none !important; }
.modal-sheet { background: white; border-radius: 30px 30px 0 0; padding: 24px 20px 40px; width: 100%; max-height: 92vh; overflow-y: auto; animation: slideUpSheet .3s cubic-bezier(.4,0,.2,1); }
@keyframes slideUpSheet { from{transform:translateY(100%)} to{transform:translateY(0)} }
.modal-handle { width: 40px; height: 4px; background: rgba(0,0,0,0.12); border-radius: 2px; margin: 0 auto 20px; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--text); }

/* ─── EMPTY / TOAST ─────────────────────────────────────── */
.empty-state-sm, .empty-sm { font-size: 13px; color: var(--text-xs); text-align: center; padding: 16px; }
.hidden { display: none !important; }
.toast-msg {
  position: fixed; bottom: calc(var(--nav-h) + 16px + var(--safe-b));
  left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: white; font-size: 13px; font-weight: 700;
  padding: 10px 22px; border-radius: 100px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 3000; opacity: 0; transition: all .3s;
  white-space: nowrap; pointer-events: none;
}
.toast-msg.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── NEXT RDV ──────────────────────────────────────────── */
.rdv-next-card { background: linear-gradient(135deg,rgba(209,250,229,.8),rgba(167,243,208,.4)); border-radius: var(--radius-sm); padding: 14px; border: 1px solid rgba(16,185,129,0.2); display: flex; gap: 14px; align-items: center; }
.rdv-date-badge { background: var(--green); color: white; border-radius: 12px; padding: 8px 12px; text-align: center; flex-shrink: 0; min-width: 52px; }
.rdb-day { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; line-height: 1; }
.rdb-mon { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; opacity: .85; }
.rdv-info-type { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.rdv-info-sub { font-size: 11.5px; color: var(--text-sm); }

/* ─── RDV LIST (journal) ────────────────────────────────── */
.rdv-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rdv-item:last-child { border-bottom: none; }
.rdv-item-ico { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg,#d1fae5,#a7f3d0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rdv-item-ico i { color: #059669; font-size: 17px; }
.rdv-item-info { flex: 1; min-width: 0; }
.rdv-item-type { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rdv-item-date { font-size: 11.5px; color: var(--text-xs); }
.rdv-item-notes { font-size: 11px; color: var(--text-xs); font-style: italic; margin-top: 2px; }
.rdv-del-btn { width: 30px; height: 30px; border-radius: 8px; background: rgba(239,68,68,0.08); color: #ef4444; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: all .15s; flex-shrink: 0; }
.rdv-del-btn:active { background: rgba(239,68,68,0.2); }

/* ─── JOURNAL ENTRY ─────────────────────────────────────── */
.j-entry { background: rgba(255,255,255,0.7); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; border: 1px solid var(--border); }
.j-entry-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.j-mood-ico { font-size: 26px; flex-shrink: 0; }
.j-entry-meta { flex: 1; min-width: 0; }
.j-entry-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-entry-badges { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.j-entry-date { font-size: 11px; color: var(--text-xs); }
.j-entry-sa { font-size: 11px; color: var(--purple); font-weight: 700; }
.j-type-badge { font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 100px; }
.j-del-btn { width: 28px; height: 28px; border-radius: 8px; background: rgba(239,68,68,0.06); color: #ef4444; font-size: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.j-del-btn:active { background: rgba(239,68,68,0.15); }
.j-entry-body { font-size: 12.5px; color: var(--text-sm); line-height: 1.6; }

/* ─── FILTER TABS ───────────────────────────────────────── */
.filter-tabs-row { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.filter-tabs-row::-webkit-scrollbar { display: none; }
.filter-tab-btn { padding: 6px 14px; border-radius: 100px; font-size: 11.5px; font-weight: 700; background: rgba(124,58,237,0.05); border: 1.5px solid var(--border); color: var(--text-sm); white-space: nowrap; transition: all .15s; }
.filter-tab-btn.active { background: var(--purple); color: white; border-color: transparent; box-shadow: 0 2px 12px rgba(124,58,237,0.3); }
.filter-tabs-scroll { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.filter-tabs-scroll::-webkit-scrollbar { display: none; }
.ftab { padding: 6px 14px; border-radius: 100px; font-size: 11.5px; font-weight: 700; background: rgba(124,58,237,0.05); border: 1.5px solid var(--border); color: var(--text-sm); white-space: nowrap; transition: all .15s; }
.ftab.active { background: var(--purple); color: white; border-color: transparent; box-shadow: 0 2px 12px rgba(124,58,237,0.3); }

/* ─── SHEETS INFO ───────────────────────────────────────── */
.sheets-info { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-sm); margin-top: 14px; padding: 10px 12px; background: rgba(66,133,244,0.06); border-radius: 10px; }
.sheets-info i { color: #4285f4; }
.sheets-info a { color: var(--purple); font-weight: 700; }

/* ─── SEMAINES ──────────────────────────────────────────── */
.wk-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wk-header h2 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text); }
.wk-emoji-big { font-size: 52px; }
.wk-fruit-comp { font-size: 12.5px; color: var(--text-sm); margin-bottom: 14px; background: rgba(233,30,140,0.06); border-radius: 10px; padding: 7px 11px; }
.wk-fruit-comp i { color: var(--pink); margin-right: 5px; }
.wk-tabs { display: flex; gap: 6px; margin: 16px 0 14px; }
.wk-tab { flex: 1; padding: 8px; border-radius: 10px; font-size: 12px; font-weight: 700; background: rgba(124,58,237,0.05); border: 1.5px solid var(--border); color: var(--text-sm); transition: all .15s; }
.wk-tab.active { background: var(--purple); color: white; border-color: transparent; }
.wk-panel p { font-size: 13px; color: var(--text-sm); line-height: 1.7; }
.wk-panel { animation: fadeInPanel .25s ease; }
@keyframes fadeInPanel { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }
.week-nav-tabs { display: flex; gap: 8px; margin: 14px 0 16px; }
.wtab { flex: 1; padding: 9px 6px; border-radius: 10px; font-size: 11.5px; font-weight: 700; background: rgba(124,58,237,0.05); border: 1.5px solid var(--border); color: var(--text-sm); transition: all .15s; }
.wtab.active { background: linear-gradient(135deg,var(--purple),var(--pink)); color: white; border-color: transparent; box-shadow: 0 3px 14px rgba(124,58,237,0.3); }
.week-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.week-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: rgba(124,58,237,0.04); border: 1.5px solid var(--border); transition: all .15s; cursor: pointer; }
.week-btn.current { background: var(--purple); border-color: transparent; box-shadow: 0 2px 10px rgba(124,58,237,0.3); }
.week-btn.past { opacity: 0.6; }
.week-btn.current .wb-sa { color: white; }
.week-btn.current .wb-date { color: rgba(255,255,255,0.7); }
.wb-sa { font-size: 13px; font-weight: 800; color: var(--purple); }
.wb-emoji { font-size: 20px; }
.wb-date { font-size: 9px; color: var(--text-xs); font-weight: 600; }

/* ─── ASTROLOGIE ────────────────────────────────────────── */
.card-astro-hero { background: linear-gradient(145deg,#1e1b4b,#312e81) !important; border-color: rgba(192,132,252,0.2) !important; }
.astro-hero-inner { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.astro-sign-big { font-size: 52px; flex-shrink: 0; }
.astro-sign-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: white; }
.card-astro-hero .card-sub { color: rgba(255,255,255,0.6); }
.astro-elem-badge { display: inline-block; background: rgba(192,132,252,0.2); border: 1px solid rgba(192,132,252,0.3); color: var(--purple-light); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 100px; }
.astro-signs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.astro-sign-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); background: rgba(124,58,237,0.05); border: 1.5px solid var(--border); }
.astro-sign-card.main { background: var(--purple-pale); border-color: var(--purple); }
.asc-emoji { font-size: 28px; }
.asc-name { font-size: 13px; font-weight: 700; color: var(--text); }
.asc-trait { font-size: 10.5px; color: var(--text-sm); }
.asc-pct { font-size: 10px; color: var(--purple); font-weight: 700; margin-top: 2px; }
.num-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.num-cell { background: rgba(245,158,11,0.07); border-radius: var(--radius-sm); padding: 14px; border: 1px solid rgba(245,158,11,0.15); text-align: center; }
.num-cell.num-main { background: linear-gradient(135deg,rgba(245,158,11,0.15),rgba(251,191,36,0.1)); }
.num-val { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--gold); }
.num-lbl { font-size: 10px; font-weight: 700; color: var(--text-sm); text-transform: uppercase; letter-spacing: 0.4px; margin-top: 4px; }
.num-desc { font-size: 12.5px; color: var(--text-sm); line-height: 1.6; padding: 12px; background: rgba(245,158,11,0.06); border-radius: 10px; }
.moon-display { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding: 14px; background: rgba(30,27,75,0.04); border-radius: var(--radius-sm); }
.moon-big { font-size: 52px; }
.moon-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.moon-desc { font-size: 12px; color: var(--text-sm); line-height: 1.5; }
.moon-phases-row { display: flex; justify-content: space-between; gap: 4px; }
.moon-phase-item { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; padding: 8px 2px; border-radius: 10px; background: rgba(124,58,237,0.04); border: 1px solid var(--border); }
.moon-phase-item.current { background: linear-gradient(135deg,#1e1b4b,#312e81); border-color: transparent; }
.mpi-ico { font-size: 20px; }
.mpi-lbl { font-size: 9px; font-weight: 700; color: var(--text-xs); }
.moon-phase-item.current .mpi-lbl { color: rgba(255,255,255,0.7); }
.compat-result { background: var(--purple-pale); border-radius: var(--radius-sm); padding: 14px; border: 1px solid rgba(124,58,237,0.15); font-size: 13px; color: var(--text-sm); line-height: 1.6; }
.compat-stars { font-size: 20px; margin-bottom: 6px; }
.compat-pct { font-weight: 800; color: var(--purple); margin-bottom: 6px; }
.compat-desc { font-size: 12px; color: var(--text-sm); }
.card-astral-msg { background: linear-gradient(145deg,#1e1b4b,#4c1d95) !important; border-color: rgba(192,132,252,0.2) !important; text-align: center; }
.astral-stars { font-size: 20px; letter-spacing: 8px; margin-bottom: 10px; }
.astral-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: white; margin-bottom: 10px; }
.astral-body { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.7; font-style: italic; }

/* ═══════════════════════════════════════════════════════════
   REVEAL PAGE
   ═══════════════════════════════════════════════════════════ */
.reveal-body { min-height: 100vh; background: linear-gradient(160deg,#fdf2f8 0%,#f5f3ff 50%,#fdf9ff 100%); font-family: 'Nunito', sans-serif; }
#reveal-page { position: relative; min-height: 100vh; }
.reveal-bg-anim { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.rv-orb { position: absolute; border-radius: 50%; filter: blur(60px); animation: rvOrbFloat 10s ease-in-out infinite; }
.rv-orb1 { width: 300px; height: 300px; background: rgba(244,114,182,0.2); top: -80px; right: -80px; }
.rv-orb2 { width: 250px; height: 250px; background: rgba(192,132,252,0.18); bottom: -60px; left: -60px; animation-delay: -4s; }
.rv-orb3 { width: 200px; height: 200px; background: rgba(167,243,208,0.12); top: 40%; right: 20%; animation-delay: -7s; }
@keyframes rvOrbFloat { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-25px)} }
.rv-particles { position: absolute; inset: 0; pointer-events: none; }
.rv-particle { position: absolute; animation: particleFloat linear infinite; opacity: 0.5; }
@keyframes particleFloat { 0%{transform:translateY(100vh) rotate(0deg);opacity:0} 10%{opacity:0.6} 90%{opacity:0.6} 100%{transform:translateY(-100px) rotate(360deg);opacity:0} }
.reveal-content { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; padding: 40px 20px 60px; min-height: 100vh; }

/* PRE-REVEAL */
.pre-reveal { text-align: center; padding-top: 40px; }
.pre-icon-wrap { position: relative; display: inline-block; margin-bottom: 28px; }
.pre-ripple { position: absolute; border-radius: 50%; border: 2px solid rgba(233,30,140,0.15); animation: preRipple 2.5s ease-out infinite; }
.pr1 { inset: -12px; animation-delay: 0s; }
.pr2 { inset: -26px; animation-delay: .7s; }
.pr3 { inset: -40px; animation-delay: 1.4s; }
@keyframes preRipple { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.5);opacity:0} }
.pre-icon { font-size: 80px; display: block; animation: floatY 4s ease-in-out infinite; }
.pre-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.pre-subtitle { font-size: 15px; color: var(--text-sm); margin-bottom: 36px; line-height: 1.55; }

/* COUNTDOWN */
.countdown-wrap { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.countdown-box { background: rgba(255,255,255,0.85); border: 1px solid var(--border-md); border-radius: 14px; padding: 14px 18px; text-align: center; box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); min-width: 70px; }
.cd-num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--purple); line-height: 1; }
.cd-lbl { font-size: 10px; font-weight: 800; color: var(--text-xs); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 4px; }

/* REVEAL BUTTON */
.reveal-btn { display: inline-block; position: relative; padding: 2px; border-radius: 100px; cursor: pointer; background: linear-gradient(135deg,var(--purple),var(--pink),var(--gold)); box-shadow: 0 8px 32px rgba(124,58,237,0.4); animation: revealBtnPulse 2s ease-in-out infinite; border: none; }
@keyframes revealBtnPulse { 0%,100%{box-shadow:0 8px 32px rgba(124,58,237,0.4)} 50%{box-shadow:0 12px 44px rgba(233,30,140,0.5)} }
.reveal-btn-inner { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg,#7c3aed,#e91e8c); color: white; font-size: 16px; font-weight: 800; padding: 16px 36px; border-radius: 100px; }
.reveal-btn-inner i { font-size: 18px; }
.pulse-glow { animation: revealBtnPulse 2s ease-in-out infinite; }

/* POST-REVEAL */
.post-reveal { text-align: center; animation: fadeInUp .6s cubic-bezier(.4,0,.2,1); }
@keyframes fadeInUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:none} }
.rv-badge-top { display: inline-block; background: rgba(255,255,255,0.8); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.9); color: var(--pink); font-size: 13px; font-weight: 800; padding: 7px 20px; border-radius: 100px; margin-bottom: 24px; box-shadow: 0 2px 16px rgba(233,30,140,0.15); }
.rv-photo-frame { width: 160px; height: 160px; margin: 0 auto 24px; border-radius: 50%; padding: 4px; background: linear-gradient(135deg,var(--purple),var(--pink),var(--gold)); box-shadow: 0 8px 40px rgba(124,58,237,0.35); animation: photoFloat 5s ease-in-out infinite; }
@keyframes photoFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-8px) rotate(2deg)} }
.rv-photo-inner { width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg,#fce7f3,#e9d5ff); display: flex; align-items: center; justify-content: center; }
.rv-main-emoji { font-size: 72px; }
.rv-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.rv-message { font-size: 15px; color: var(--text-sm); line-height: 1.65; margin-bottom: 28px; max-width: 340px; margin-left: auto; margin-right: auto; }

/* SEXE REVEAL */
.sex-reveal-zone { margin-bottom: 24px; perspective: 1000px; }
.sex-card { width: 200px; margin: 0 auto; cursor: pointer; transition: transform .2s; }
.sex-card:active { transform: scale(0.97); }
.sex-card-inner { position: relative; width: 100%; height: 120px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.4,0,.2,1); border-radius: 20px; }
.sex-card-inner.flipped { transform: rotateY(180deg); }
.sex-card-front, .sex-card-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: var(--shadow); }
.sex-card-front { background: linear-gradient(135deg,#ede9fe,#fce7f3); border: 2px solid var(--border-md); }
.sex-card-front .sex-q { font-size: 48px; font-weight: 900; color: var(--purple); }
.sex-card-front p { font-size: 12px; color: var(--text-sm); font-weight: 700; }
.sex-card-back { transform: rotateY(180deg); }
.bg-girl { background: linear-gradient(135deg,#fce7f3,#fbcfe8) !important; }
.bg-boy { background: linear-gradient(135deg,#dbeafe,#ede9fe) !important; }
.bg-surprise { background: linear-gradient(135deg,#fef9c3,#d1fae5) !important; }
.sex-revealed-emoji { font-size: 52px; }
.sex-card-back p { font-size: 14px; font-weight: 800; color: var(--text); }

/* NOM REVEAL */
.nom-reveal-zone { margin-bottom: 24px; }
.nom-reveal-card { background: rgba(255,255,255,0.85); border-radius: 20px; padding: 20px; border: 2px solid var(--border-md); box-shadow: var(--shadow); text-align: center; backdrop-filter: blur(12px); }
.nom-label { font-size: 13px; color: var(--text-sm); margin-bottom: 12px; font-weight: 700; }
.nom-value { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 700; background: linear-gradient(135deg,var(--purple),var(--pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 14px; animation: fadeInUp .5s ease; }
.nom-reveal-btn { padding: 10px 24px; border-radius: 100px; background: linear-gradient(135deg,var(--purple),var(--pink)); color: white; font-size: 13px; font-weight: 800; box-shadow: 0 4px 16px rgba(124,58,237,0.3); transition: all .2s; }
.nom-reveal-btn:active { transform: scale(0.96); }

/* DPA BADGE */
.rv-dpa-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.75); backdrop-filter: blur(10px); border: 1px solid var(--border-md); color: var(--purple); font-size: 13px; font-weight: 700; padding: 9px 20px; border-radius: 100px; margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.rv-dpa-badge i { color: var(--pink); }

/* SHARE */
.rv-share-row { display: flex; gap: 10px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.rv-share-btn { display: flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 100px; font-size: 13px; font-weight: 800; transition: all .15s; }
.rv-share-btn:active { transform: scale(0.95); }
.rv-share-wa { background: #25D366; color: white; box-shadow: 0 4px 16px rgba(37,211,102,0.35); }
.rv-share-copy { background: rgba(124,58,237,0.1); color: var(--purple); border: 1.5px solid var(--border-md); }
.rv-share-sms { background: rgba(59,130,246,0.1); color: var(--blue); border: 1.5px solid rgba(59,130,246,0.2); }

/* COMMENTAIRES */
.rv-comments-section { margin-top: 16px; }
.rv-comments-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 20px; text-align: center; }
.rv-comment-form { background: rgba(255,255,255,0.85); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); margin-bottom: 20px; box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.emoji-picker-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.emoji-pick { width: 38px; height: 38px; border-radius: 10px; font-size: 20px; background: rgba(124,58,237,0.05); border: 2px solid transparent; transition: all .15s; }
.emoji-pick.selected { border-color: var(--purple); background: var(--purple-pale); transform: scale(1.1); }
.chars-left { font-size: 11px; color: var(--text-xs); text-align: right; margin-top: 4px; margin-bottom: 12px; }
.com-list { display: flex; flex-direction: column; gap: 12px; }
.com-item { background: rgba(255,255,255,0.85); border-radius: var(--radius-sm); padding: 14px 16px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); animation: fadeInUp .3s ease; }
.com-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.com-emoji-ico { font-size: 28px; }
.com-auteur { font-size: 13.5px; font-weight: 800; color: var(--text); }
.com-date { font-size: 10.5px; color: var(--text-xs); margin-top: 1px; }
.com-message { font-size: 13px; color: var(--text-sm); line-height: 1.6; }

/* ADMIN PANEL */
#admin-panel { display: block; min-height: 100vh; }
.admin-toggle-btn { position: fixed; bottom: 20px; right: 16px; z-index: 1500; width: 44px; height: 44px; border-radius: 14px; background: rgba(124,58,237,0.12); color: var(--text-xs); font-size: 18px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); backdrop-filter: blur(8px); transition: all .2s; }
.admin-toggle-btn:active { background: var(--purple); color: white; }
.theme-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.theme-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border-radius: 14px; border: 2px solid var(--border); background: transparent; transition: all .15s; }
.theme-btn.active { border-color: var(--purple); background: var(--purple-pale); }
.theme-preview { width: 48px; height: 32px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.06); }
.theme-btn span { font-size: 11px; font-weight: 700; color: var(--text-sm); }
.sex-select-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sex-sel-btn { flex: 1; padding: 10px 6px; border-radius: 12px; font-size: 12px; font-weight: 700; background: rgba(124,58,237,0.04); border: 2px solid var(--border); color: var(--text-md); transition: all .15s; min-width: 70px; }
.sex-sel-btn.active { background: var(--purple); color: white; border-color: transparent; box-shadow: 0 3px 12px rgba(124,58,237,0.3); }

/* ═══════════════════════════════════════════════════════════
   LISTE DE NAISSANCE
   ═══════════════════════════════════════════════════════════ */
.ln-category-section { margin-bottom: 20px; }
.ln-cat-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.ln-cat-count { font-size: 11px; color: var(--text-xs); font-weight: 400; }
.ln-item { background: rgba(255,255,255,0.85); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: all .2s; }
.ln-item.reserved { opacity: 0.75; background: rgba(16,185,129,0.05) !important; border-color: rgba(16,185,129,0.2) !important; }
.ln-item-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.ln-prio-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.ln-item-info { flex: 1; }
.ln-item-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ln-item-name.reserved-name { text-decoration: line-through; color: var(--text-xs); }
.ln-item-desc { font-size: 12px; color: var(--text-sm); margin-bottom: 4px; }
.ln-item-prix { font-size: 12px; font-weight: 700; color: var(--purple); }
.ln-item-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ln-reserved-badge { display: inline-flex; align-items: center; gap: 5px; background: rgba(16,185,129,0.12); color: var(--green); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.btn-reserve { padding: 7px 16px; border-radius: 100px; font-size: 12px; font-weight: 700; background: linear-gradient(135deg,var(--green),#34d399); color: white; box-shadow: 0 2px 10px rgba(16,185,129,0.3); transition: all .15s; }
.btn-reserve:active { transform: scale(0.96); }
.btn-link-item { padding: 7px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; background: rgba(59,130,246,0.08); color: var(--blue); border: 1px solid rgba(59,130,246,0.2); transition: all .15s; display: inline-flex; align-items: center; gap: 5px; }
.btn-del-item { padding: 7px 10px; border-radius: 100px; font-size: 12px; background: rgba(239,68,68,0.08); color: #ef4444; transition: all .15s; }
.reserve-form-wrap { background: rgba(124,58,237,0.05); border-radius: 12px; padding: 14px; margin-top: 10px; border: 1px dashed var(--border-md); }

/* ─── CORRECTIONS ET COMPLÉMENTS ────────────────────────────── */

/* Admin panel class (complément du sélecteur #admin-panel) */
.admin-panel { display: block; min-height: 100vh; background: var(--bg); }

/* Bouton Import (variante du btn-export) */
.btn-import { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25); color: var(--green); }
.btn-import:active { background: rgba(16,185,129,0.15); }

/* Card baby week (alias de la card bébé home) */
.card-baby-week { background: linear-gradient(145deg,rgba(252,231,243,.92),rgba(237,233,254,.92)) !important; }

/* Card astro (signe pour la page home) */
.astro-sign-card { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: var(--radius-sm); background: rgba(124,58,237,0.05); border: 1.5px solid var(--border); }

/* Bouton "Aperçu" sur la page admin */
.btn-preview-full { width: 100%; padding: 13px; border-radius: 14px; background: rgba(124,58,237,0.08); color: var(--purple); font-size: 14px; font-weight: 800; border: 1.5px solid var(--border-md); display: flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s; }
.btn-preview-full:active { background: var(--purple-pale); }

/* RDV badge compact */
.rdv-info-notes { font-size: 11px; color: var(--text-xs); font-style: italic; }

/* Scroll zone pour nav astro (quand pas dans la barre principale) */
.page-hero .back-btn { position: absolute; top: 16px; left: 16px; width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 10; }

/* Badge section astro */
.astro-section-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(192,132,252,0.15); color: var(--purple-light); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }

/* Compatibilité astro */
.compat-result p { margin-bottom: 0; }

/* Corrections taille stat-val sur petits écrans */
@media (max-width: 380px) {
  .stat-val { font-size: 13px; }
  .prog-sa-big { font-size: 56px; }
  .hcg-num { font-size: 28px; }
  .grid-3 { gap: 7px; }
  .card { padding: 16px; }
}

/* ── SIGNATURE PARENTS (post-reveal) ─────────────────────────── */
.rv-parents-signature {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin: 4px 0 18px;
  text-align: center;
}
.rv-parents-signature.hidden { display: none; }

/* ── HINT INLINE dans label ──────────────────────────────────── */
.form-hint-inline {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-xs);
  margin-left: 6px;
  font-style: italic;
}

/* ── PRE-REVEAL : style mystérieux ───────────────────────────── */
.pre-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px 32px;
  text-align: center;
}
.pre-icon-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pre-ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  animation: rippleOut 3s ease-out infinite;
}
.pre-ripple.pr1 { width: 70px; height: 70px; animation-delay: 0s; }
.pre-ripple.pr2 { width: 95px; height: 95px; animation-delay: 0.8s; }
.pre-ripple.pr3 { width: 120px; height: 120px; animation-delay: 1.6s; }
@keyframes rippleOut {
  0%   { opacity: 0.7; transform: scale(0.85); }
  100% { opacity: 0;   transform: scale(1.25); }
}
.pre-icon { font-size: 52px; position: relative; z-index: 2; animation: floatIcon 3s ease-in-out infinite; }
@keyframes floatIcon {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
.pre-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.pre-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  max-width: 280px;
  line-height: 1.55;
}

/* ── BOUTON RÉVÉLER ─────────────────────────────────────────── */
.reveal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 100px;
  background: white;
  color: #7c3aed;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: all .2s;
  border: none;
  cursor: pointer;
}
.reveal-btn:active { transform: scale(0.97); }
.reveal-btn-inner { display: flex; align-items: center; gap: 10px; }
.pulse-glow {
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 0 0 rgba(255,255,255,0.4); }
  50%      { box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 18px rgba(255,255,255,0); }
}

/* ── COUNTDOWN WRAP ─────────────────────────────────────────── */
.countdown-wrap {
  display: flex;
  gap: 12px;
  margin: 16px 0 24px;
  justify-content: center;
}
.countdown-box {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 58px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.3);
}
.cd-num { font-size: 26px; font-weight: 900; color: white; line-height: 1; }
.cd-lbl { font-size: 10px; color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 4px; }

/* État vide stylisé pour ln-list */
.empty-sm-full { text-align: center; padding: 32px 16px; }
.empty-sm-full .empty-ico { font-size: 40px; margin-bottom: 10px; }
.empty-sm-full p { font-size: 13px; color: var(--text-xs); }

/* Fix overflow textes longs */
.rdv-item-type, .j-entry-title { max-width: 100%; }
