/* ═══════════════════════════════════════════════════════════
   LANDING PAGE — Le Tidiane  (inspiré de Quran Pro)
   landing.css
═══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─── */
:root {
  --lp-green:       #8EB69B;
  --lp-green-dark:  #074c2a;
  --lp-green-mid:   #163832;
  --lp-gold:        #c9a84c;
  --lp-text:        rgba(240, 237, 232, .92);
  --lp-text-muted:  rgba(240, 237, 232, .38);
  --lp-border:      rgba(142, 182, 155, .1);
  --lp-surface:     rgba(255, 255, 255, .03);
  --lp-radius:      16px;
  --lp-transition:  .2s ease;
}
body.light-mode {
  --lp-text:       rgba(15, 35, 22, .92);
  --lp-text-muted: rgba(15, 35, 22, .4);
  --lp-border:     rgba(22, 66, 40, .1);
  --lp-surface:    rgba(0, 0, 0, .02);
}

/* ─── WRAP ─── */
.lp-wrap {
  width: 100%; max-width: 100%;
  box-sizing: border-box; overflow-x: hidden;
  display: flex; flex-direction: column;
  gap: 0;
}


/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.lp-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 60px 48px 60px 48px;
  overflow: hidden;
  background: linear-gradient(135deg, #041f12 0%, #0a2e1c 50%, #163832 100%);
  border-bottom: 1px solid var(--lp-border);
}

/* Grille décorative en fond */
.lp-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(142,182,155,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,182,155,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Contenu gauche */
.lp-hero-content {
  position: relative; z-index: 2;
  max-width: 520px;
  display: flex; flex-direction: column; gap: 20px;
}

.lp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--lp-green); opacity: .75;
}
.lp-hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lp-green);
  box-shadow: 0 0 8px var(--lp-green);
  animation: lp-pulse 2.4s ease-in-out infinite;
}
@keyframes lp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

.lp-hero-title {
  font-family: 'Cormorant Garamond', 'Cormorant', serif;
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 300;
  color: #e8f2ec;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
}
.lp-hero-title em {
  font-style: italic;
  color: var(--lp-green);
}

.lp-launch-text {
  max-width: 420px;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(232,242,236,.76);
}

.lp-hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 400;
  color: rgba(232, 242, 236, .5);
  line-height: 1.7;
  margin: 0;
}

/* .lp-hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center;
} */

/* Stats */
.lp-hero-stats {
  display: flex; align-items: center; gap: 20px;
  padding-top: 8px;
  border-top: 1px solid rgba(142,182,155,.1);
}
.lp-stat { display: flex; flex-direction: column; gap: 2px; }
.lp-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px; font-weight: 700;
  color: #e8f2ec;
}
.lp-stat-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; font-weight: 400;
  color: rgba(232,242,236,.38);
  letter-spacing: .03em;
}
.lp-stat-sep {
  width: 1px; height: 32px;
  background: rgba(142,182,155,.15);
}

/* Visuel droit — emblème animé */
.lp-hero-visual {
  position: relative; z-index: 1;
  width: 280px; height: 280px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.lp-hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(142,182,155,.12);
  animation: lp-spin linear infinite;
}
.lp-hero-ring--1 { width: 200px; height: 200px; animation-duration: 30s; }
.lp-hero-ring--2 { width: 260px; height: 260px; animation-duration: 50s; animation-direction: reverse; border-style: dashed; opacity: .5; }
.lp-hero-ring--3 { width: 140px; height: 140px; animation-duration: 20s; border-color: rgba(201,168,76,.15); }
@keyframes lp-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.lp-hero-emblem {
  font-family: 'Cormorant Garamond', serif;
  font-size: 100px; font-weight: 300;
  color: rgba(142,182,155,.18);
  line-height: 1;
  user-select: none;
  text-shadow: 0 0 60px rgba(142,182,155,.12);
}

/* Dégradé de sortie vers le bas */
.lp-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px; z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--body-bg, #0d1f14));
  pointer-events: none;
}

/* ── Hero light mode ── */
body.light-mode .lp-hero {
  background: linear-gradient(135deg, #e8f5ee 0%, #d4ead9 50%, #c5e0cf 100%);
}
body.light-mode .lp-hero::after {
  background: linear-gradient(to bottom, transparent, #f4f7f5);
}
body.light-mode .lp-hero-title { color: #0d2b17; }
body.light-mode .lp-hero-title em { color: #1b5e3b; }
body.light-mode .lp-hero-desc { color: rgba(13,43,23,.5); }
body.light-mode .lp-hero-emblem { color: rgba(27,94,59,.1); }
body.light-mode .lp-stat-num { color: #0d2b17; }
body.light-mode .lp-hero-ring { border-color: rgba(27,94,59,.1); }
body.light-mode .lp-launch-text { color: rgba(13,43,23,.68); }


/* ══════════════════════════════════════════════════════
   BOUTONS GLOBAUX
══════════════════════════════════════════════════════ */
.lp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  border-radius: 40px; padding: 11px 24px;
  border: none; cursor: pointer; text-decoration: none;
  transition: all var(--lp-transition);
  white-space: nowrap;
}
.lp-btn--primary {
  background: var(--lp-green);
  color: #052a16;
  box-shadow: 0 2px 16px rgba(142,182,155,.25);
}
.lp-btn--primary:hover {
  background: #a8ccb5;
  color: #052a16;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(142,182,155,.3);
}
.lp-btn--ghost {
  background: rgba(142,182,155,.08);
  color: rgba(232,242,236,.75);
  border: 1px solid rgba(142,182,155,.2);
}
.lp-btn--ghost:hover {
  background: rgba(142,182,155,.14);
  color: #e8f2ec;
  border-color: rgba(142,182,155,.35);
}
body.light-mode .lp-btn--ghost {
  color: rgba(13,43,23,.7);
  background: rgba(27,94,59,.06);
  border-color: rgba(27,94,59,.2);
}
body.light-mode .lp-btn--ghost:hover {
  color: #0d2b17;
  background: rgba(27,94,59,.1);
}


/* ══════════════════════════════════════════════════════
   SECTIONS COMMUNES
══════════════════════════════════════════════════════ */
.lp-section {
  padding: 28px 32px;
  border-bottom: 1px solid var(--lp-border);
}
.lp-section-header {
  display: flex; align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.lp-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 700;
  color: var(--lp-text);
  letter-spacing: -.01em;
}
.lp-section-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 500;
  color: var(--lp-green); opacity: .6;
  text-decoration: none; transition: opacity var(--lp-transition);
}
.lp-section-link:hover { opacity: 1; }

/* Section reprendre */
.lp-section--resume { padding: 20px 32px; }


/* ══════════════════════════════════════════════════════
   REPRENDRE
══════════════════════════════════════════════════════ */
.lp-resume {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(142,182,155,.08) 0%, var(--lp-surface) 100%);
  border: 1px solid rgba(142,182,155,.2);
  border-radius: var(--lp-radius);
  cursor: pointer; transition: all var(--lp-transition);
  position: relative;
}
.lp-resume:hover {
  border-color: rgba(142,182,155,.35);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.lp-resume-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--lp-green); color: #052a16;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-resume-body { flex: 1; min-width: 0; }
.lp-resume-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px; text-transform: uppercase;
  letter-spacing: .14em; font-weight: 700;
  color: var(--lp-green); opacity: .7;
  margin-bottom: 3px;
}
.lp-resume-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--lp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-resume-bar {
  width: 100%; height: 2px;
  background: rgba(142,182,155,.12);
  border-radius: 2px; margin-top: 10px;
}
.lp-resume-fill {
  height: 100%; background: var(--lp-green);
  border-radius: 2px; transition: width .4s ease;
}
.lp-resume-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px; flex-shrink: 0;
}
.lp-resume-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--lp-text-muted);
}
.lp-resume-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--lp-green); color: #052a16;
  border-radius: 30px; padding: 7px 16px;
  font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700;
}
.lp-resume:hover .lp-resume-btn { background: #a8ccb5; }
.lp-resume-close {
  position: absolute; top: 10px; right: 10px;
  width: 24px; height: 24px; border-radius: 50%;
  background: transparent; border: none; cursor: pointer;
  color: var(--lp-text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all .14s;
}
.lp-resume-close:hover {
  background: rgba(200,80,80,.12); color: #e05c5c;
}


/* ══════════════════════════════════════════════════════
   GRILLE COLLECTIONS
══════════════════════════════════════════════════════ */
.lp-grid {
  display: flex; gap: 14px;
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.lp-grid::-webkit-scrollbar { display: none; }
.lp-grid > .lp-card { flex: 0 0 200px; width: 200px; scroll-snap-align: start; }

.lp-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column;
  transition: all var(--lp-transition);
}
.lp-card:hover {
  border-color: rgba(142,182,155,.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.lp-card-cover {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.lp-card-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.lp-card:hover .lp-card-img { transform: scale(1.04); }
.lp-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(5,18,10,.65) 100%);
}
.lp-card-cover-empty {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #041f12, #0d2b17);
  display: flex; align-items: center; justify-content: center;
  color: rgba(142,182,155,.22);
}
.lp-card-badge {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 20px;
  backdrop-filter: blur(6px);
}
.lp-card-badge--audio {
  background: rgba(142,182,155,.22); color: #8EB69B;
  border: 1px solid rgba(142,182,155,.3);
}
.lp-card-badge--pdf {
  background: rgba(201,168,76,.18); color: #c9a84c;
  border: 1px solid rgba(201,168,76,.28);
}
.lp-card-body { padding: 12px 14px 15px; }
.lp-card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--lp-text); line-height: 1.35;
  margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lp-card-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: var(--lp-text-muted);
}

/* Card "Voir tout" */
.lp-card--more {
  border-style: dashed;
  justify-content: center; align-items: center;
  min-height: 130px;
}
.lp-card-more-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  color: var(--lp-green); opacity: .45;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.lp-card--more:hover .lp-card-more-inner { opacity: .85; }
.lp-card--more:hover { transform: translateY(-2px); }

body.light-mode .lp-card { background: #fff; border-color: rgba(22,66,40,.1); }
body.light-mode .lp-card:hover { box-shadow: 0 10px 30px rgba(7,76,42,.1); }
body.light-mode .lp-card-cover-empty { background: linear-gradient(145deg, rgba(7,76,42,.08), rgba(22,56,50,.05)); color: rgba(7,76,42,.22); }


/* ══════════════════════════════════════════════════════
   RÉCEMMENT MIS À JOUR — scroll horizontal
══════════════════════════════════════════════════════ */
.lp-recent-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.lp-recent-scroll::-webkit-scrollbar { display: none; }

.lp-recent-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  text-decoration: none;
  transition: all var(--lp-transition);
}
.lp-recent-card:hover {
  border-color: rgba(142,182,155,.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.lp-recent-cover {
  height: 100px;
  background: linear-gradient(145deg, var(--lp-green-dark), var(--lp-green-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.lp-recent-cover img {
  width: 100%; height: 100%; object-fit: cover;
}

.lp-recent-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 8px; font-weight: 700;
  letter-spacing: .1em;
  padding: 2px 8px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
}
.lp-recent-badge--audio {
  background: rgba(142,182,155,.25); color: var(--lp-green);
}
.lp-recent-badge--pdf {
  background: rgba(220,150,50,.25); color: #dc9632;
}

.lp-recent-body {
  padding: 10px 12px 14px;
}
.lp-recent-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-recent-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  color: var(--lp-text-muted);
}

body.light-mode .lp-recent-card {
  background: #fff; border-color: rgba(22,66,40,.1);
}
body.light-mode .lp-recent-card:hover {
  box-shadow: 0 6px 20px rgba(7,76,42,.1);
}
body.light-mode .lp-recent-cover {
  background: linear-gradient(145deg, rgba(7,76,42,.08), rgba(22,56,50,.05));
}


/* ══════════════════════════════════════════════════════
   TOP POPULAIRES — liste verticale style Quran Pro
══════════════════════════════════════════════════════ */
.lp-top-list {
  display: flex; flex-direction: column; gap: 4px;
}
.lp-top-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--lp-surface);
  border: 1px solid transparent;
  text-decoration: none;
  transition: all var(--lp-transition);
  cursor: pointer;
}
.lp-top-item:hover {
  background: rgba(142,182,155,.05);
  border-color: var(--lp-border);
  transform: translateX(3px);
}
.lp-top-rank {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.lp-top-rank--1 { background: #eab308; color: #5a3a00; }
.lp-top-rank--2 { background: rgba(180,180,185,.85); color: #fff; }
.lp-top-rank--3 { background: rgba(180,83,9,.85); color: #fff; }
.lp-top-rank--4,.lp-top-rank--5,.lp-top-rank--6,
.lp-top-rank--7,.lp-top-rank--8 {
  background: rgba(142,182,155,.1); color: var(--lp-text-muted);
}
.lp-top-thumb {
  width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(135deg, #041f12, #0d2b17);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-top-img { width: 100%; height: 100%; object-fit: cover; }
.lp-top-thumb-empty { color: rgba(142,182,155,.3); }
.lp-top-body { flex: 1; min-width: 0; }
.lp-top-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; font-weight: 600;
  color: var(--lp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.lp-top-plays {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: var(--lp-text-muted);
}
.lp-top-type {
  font-size: 9px; font-weight: 700;
  letter-spacing: .12em; color: var(--lp-green); opacity: .7;
}
.lp-top-arrow { color: var(--lp-text-muted); opacity: .4; flex-shrink: 0; }
.lp-top-item:hover .lp-top-arrow { opacity: .8; }

body.light-mode .lp-top-item:hover { background: rgba(27,94,59,.03); }
body.light-mode .lp-top-thumb { background: rgba(7,76,42,.08); }


/* ══════════════════════════════════════════════════════
   CONTINUER DANS
══════════════════════════════════════════════════════ */
.lp-cont-list { display: flex; flex-direction: column; gap: 8px; }
.lp-cont-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; border-radius: 14px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  text-decoration: none; cursor: pointer;
  transition: all var(--lp-transition);
  position: relative; overflow: hidden;
}
.lp-cont-item:hover {
  border-color: rgba(142,182,155,.25);
  background: rgba(142,182,155,.04);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
.lp-cont-accent {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--lp-green); border-radius: 0 2px 2px 0;
}
.lp-cont-accent--pdf { background: var(--lp-gold); }
.lp-cont-thumb {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(142,182,155,.08);
  border: 1px solid rgba(142,182,155,.12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.lp-cont-body { flex: 1; min-width: 0; }
.lp-cont-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--lp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-cont-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: var(--lp-text-muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-cont-bar {
  width: 100%; height: 2px;
  background: rgba(142,182,155,.1); border-radius: 2px; margin-top: 8px;
}
.lp-cont-fill {
  height: 100%; background: var(--lp-green);
  border-radius: 2px; min-width: 4px; transition: width .4s ease;
}
.lp-cont-fill--pdf { background: var(--lp-gold); }
.lp-cont-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; font-weight: 600;
  color: rgba(142,182,155,.7);
  border: 1px solid rgba(142,182,155,.2);
  border-radius: 20px; padding: 5px 12px; flex-shrink: 0;
  white-space: nowrap; transition: all .14s;
}
.lp-cont-item:hover .lp-cont-btn {
  background: rgba(142,182,155,.1); color: var(--lp-green);
  border-color: rgba(142,182,155,.3);
}


/* ══════════════════════════════════════════════════════
   VUS RÉCEMMENT
══════════════════════════════════════════════════════ */
.lp-list { display: flex; flex-direction: column; gap: 6px; }
.lp-list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 16px; border-radius: 12px;
  background: var(--lp-surface);
  border: 1px solid transparent;
  text-decoration: none; transition: all var(--lp-transition);
}
.lp-list-item:hover {
  background: rgba(142,182,155,.04);
  border-color: var(--lp-border);
}
.lp-list-ico {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.lp-list-ico--audio    { background: rgba(142,182,155,.1); border: 1px solid rgba(142,182,155,.14); color: var(--lp-green); }
.lp-list-ico--document { background: rgba(201,168,76,.1);  border: 1px solid rgba(201,168,76,.14); color: var(--lp-gold); }
.lp-list-body { flex: 1; min-width: 0; }
.lp-list-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 500; color: var(--lp-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lp-list-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; color: var(--lp-text-muted); margin-top: 2px;
}
.lp-list-right {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
  color: var(--lp-text-muted); opacity: .4;
}
.lp-list-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 8px; opacity: 1;
}
.lp-list-tag--audio    { background: rgba(142,182,155,.1); color: var(--lp-green); }
.lp-list-tag--document { background: rgba(201,168,76,.1); color: var(--lp-gold); }

body.light-mode .lp-list-item:hover { background: rgba(27,94,59,.02); border-color: rgba(22,66,40,.1); }


/* ══════════════════════════════════════════════════════
   CTA INSCRIPTION
══════════════════════════════════════════════════════ */
.lp-section--cta { border-bottom: none; padding: 40px 32px 48px; }
.lp-cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #041f12 0%, #0c2c1c 60%, #163832 100%);
  border: 1px solid rgba(142,182,155,.15);
  border-radius: 24px;
  padding: 48px 40px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 16px;
}
.lp-cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(142,182,155,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142,182,155,.03) 1px, transparent 1px);
  background-size: 30px 30px;
}
.lp-cta-emblem {
  position: relative; z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 300;
  color: rgba(142,182,155,.25); line-height: 1;
}
.lp-cta-title {
  position: relative; z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 32px); font-weight: 500;
  color: #e8f2ec; letter-spacing: -.01em; margin: 0;
}
.lp-cta-desc {
  position: relative; z-index: 1;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; color: rgba(232,242,236,.5);
  line-height: 1.7; max-width: 440px; margin: 0;
}
.lp-cta-actions {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 8px;
}
body.light-mode .lp-cta-box { background: linear-gradient(135deg, #e4f2e9, #d0e8d8); border-color: rgba(27,94,59,.15); }
body.light-mode .lp-cta-title { color: #0d2b17; }
body.light-mode .lp-cta-desc { color: rgba(13,43,23,.5); }
body.light-mode .lp-cta-emblem { color: rgba(27,94,59,.15); }


/* ══════════════════════════════════════════════════════
   ÉTAT VIDE
══════════════════════════════════════════════════════ */
.lp-empty {
  display: flex; align-items: center; gap: 12px;
  padding: 28px 20px;
  border: 1px dashed rgba(142,182,155,.12);
  border-radius: 14px;
  color: var(--lp-text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-style: italic;
}
.lp-empty svg { flex-shrink: 0; opacity: .4; }


/* ══════════════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .lp-hero { padding: 40px 24px 56px; flex-direction: column; gap: 32px; min-height: auto; }
  .lp-hero-visual { width: 160px; height: 160px; align-self: center; }
  .lp-hero-emblem { font-size: 60px; }
  .lp-hero-ring--1 { width: 120px; height: 120px; }
  .lp-hero-ring--2 { width: 155px; height: 155px; }
  .lp-hero-ring--3 { width: 85px; height: 85px; }
}
@media (max-width: 600px) {
  .lp-section { padding: 20px 16px; }
  .lp-section--resume { padding: 14px 16px; }
  .lp-hero { padding: 32px 16px 44px; }
  .lp-hero-stats { gap: 14px; }
  .lp-hero-visual { display: none; }
  .lp-hero-title { font-size: clamp(38px, 10vw, 52px); }
  .lp-launch-text { font-size: 15px; }
  .lp-hero-cta { flex-direction: column; align-items: flex-start; }
  .lp-recent-card { flex: 0 0 150px; }
  .lp-recent-cover { height: 80px; }
  .lp-resume-right { display: none; }
  .lp-cont-btn { display: none; }
  .lp-list-sub { display: none; }
  .lp-section--cta { padding: 24px 16px 32px; }
  .lp-cta-box { padding: 32px 20px; }
}

@media (max-width: 375px) {
  .lp-hero-cta { flex-direction: column; align-items: flex-start; }
}

.espaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 16px;
}

.espaces-grid .sr-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: rgba(232,220,200,0.35);
  font-size: 14px;
}

.espace-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 20px 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  /* border: 1px solid rgba(142,182,155,.06); */
  transition: all .2s;
  cursor: pointer;
}
.espace-card:hover {
  background: rgba(142,182,155,.06);
  border-color: rgba(142,182,155,.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.espace-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(145deg, #0f3d24, #1a4a35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.espace-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.espace-avatar-placeholder {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: rgba(142,182,155,.3);
}
.espace-avatar .type-dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  border: 2px solid #0a1f14;
}

.espace-name {
  font-size: 12px; font-weight: 600;
  color: rgba(240,237,232,.85);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 4px;
}

.espace-meta {
  font-size: 10px;
  color: rgba(142,182,155,.4);
  text-align: center;
}

.section {
  padding: 28px 28px 0;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: rgba(240,237,232,.9);
}
.section-link {
  font-size: 12px;
  color: rgba(142,182,155,.45);
  text-decoration: none;
  transition: color .15s;
}
.section-link:hover { color: #8EB69B; }

.recent-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.recent-scroll::-webkit-scrollbar { display: none; }
.recent-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(142,182,155,.08);
  text-decoration: none;
  transition: all .18s;
}
.recent-card:hover {
  border-color: rgba(142,182,155,.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.recent-cover {
  height: 100px;
  background: linear-gradient(145deg, #074c2a, #163832);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.recent-cover img {
  width: 100%; height: 100%; object-fit: cover;
}

.recent-name {
  font-size: 12px; font-weight: 600;
  color: rgba(240,237,232,.88);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 8px; font-weight: 700;
  letter-spacing: .1em;
  padding: 2px 8px;
  border-radius: 8px;
}
.recent-badge.audio { background: rgba(142,182,155,.25); color: #8EB69B; }
.recent-badge.pdf { background: rgba(220,150,50,.25); color: #dc9632; }

.recent-body {
  padding: 10px 12px 14px;
}

.recent-cover {
  height: 100px;
  background: linear-gradient(145deg, #074c2a, #163832);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.recent-cover img {
  width: 100%; height: 100%; object-fit: cover;
}

.recent-meta {
  font-size: 10px;
  color: rgba(142,182,155,.4);
}
@media (max-width: 768px) {
  /* .sidebar { display: none; }
  .welcome { margin: 8px 14px 0; padding: 24px 20px; }
  .welcome h1 { font-size: 22px; }
  .welcome p { font-size: 13px; } */
  .section { padding: 20px 14px 0; }
  .espaces-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
  .espace-avatar { width: 60px; height: 60px; } 
  .espace-card { padding: 14px 8px 12px; }
}

/* Reprendre — dans le hero */
.lp-hero-content #lp-resume-section {
  width: 100%;
  margin-top: 4px;
}

.lp-hero-content .lp-resume {
  background: rgba(4, 31, 18, 0.65);
  backdrop-filter: blur(10px);
  border-color: rgba(142,182,155,.22);
}

.lp-hero-content .lp-resume:hover {
  background: rgba(4, 31, 18, 0.85);
  border-color: rgba(142,182,155,.38);
}

.espace-card--quran .espace-avatar {
  background: linear-gradient(145deg, #3d2a00, #5a3f00);
}

.espace-card--quran .lp-card-cover-empty {
  background: linear-gradient(145deg, #3d2a00, #5a3f00);
}
