/* ============================================================
   GLORIEUSE FLORA — Ma voix pour Jésus
   Structure reprise de stephane-jambu.com, palette or/violet.
   ============================================================ */

:root {
  --bg: #0b0713;
  --bg-card: #150e22;
  --bg-card-hover: #1d1430;
  --accent: #f5b731;          /* or */
  --accent-2: #a855f7;        /* violet */
  --cta: #39ff14;             /* CTA vert fluo */
  --cta-hover: #5cff45;
  --up: #39ff14;
  --down: #ff6b6b;
  /* famille de verts pour les graphes et les cumuls */
  --g1: #39ff14;              /* fluo */
  --g2: #4caf50;              /* vert feuille */
  --g3: #00d97e;              /* menthe */
  --g4: #a8e063;              /* tilleul */
  --g5: #2ecc71;              /* émeraude */
  --g6: #7ed957;              /* pousse */
  --text: #ece7f5;
  --muted: #8b81a3;
  --border: rgba(255,255,255,0.08);
  --radius: 14px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
section:nth-of-type(even) { background: rgba(255,255,255,0.015); }

/* ── NAV ────────────────────────────────────────────────────── */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(11,7,19,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px; height: 64px; display: flex; align-items: center;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
  text-decoration: none; text-transform: uppercase;
}
.nav-logo span { color: var(--cta); text-shadow: 0 0 18px rgba(57,255,20,.55); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.875rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ── CTA (noir sur jaune vif + glow) ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 600;
  font-size: .95rem; text-decoration: none; transition: all .2s;
  cursor: pointer; border: none; font-family: var(--font);
}
.cta {
  background: var(--cta); color: #05130a; font-weight: 700;
  box-shadow: 0 0 0 rgba(57,255,20,.5), 0 6px 28px rgba(57,255,20,.35);
}
.cta:hover { background: var(--cta-hover); box-shadow: 0 0 40px rgba(57,255,20,.6); transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: rgba(245,183,49,.5); background: rgba(245,183,49,.08); color: var(--accent); }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 64px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../hero.jpg') center/cover no-repeat;
  opacity: .30; filter: saturate(1.1);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--bg) 18%, rgba(11,7,19,.72) 55%, rgba(11,7,19,.35) 100%);
}
#hero .container { position: relative; z-index: 1; }
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,183,49,.12); border: 1px solid rgba(245,183,49,.3);
  color: var(--accent); padding: 6px 14px; border-radius: 100px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 26px;
}
.hero-label::before { content: '●'; font-size: .6rem; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 22px;
}
h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.15rem; color: var(--muted); max-width: 600px;
  margin-bottom: 36px; line-height: 1.7;
}
.hero-sub strong { color: var(--text); }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap;
}
.stat-num {
  font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  color: var(--accent);
}
.stat-num span { color: var(--muted); font-size: 1.3rem; }
.stat-label { font-size: .8rem; color: var(--muted); margin-top: 6px; }

/* ── TITRES DE SECTION ──────────────────────────────────────── */
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px;
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 16px;
}
.section-intro { color: var(--muted); max-width: 620px; margin-bottom: 44px; }

/* ── PARCOURS ───────────────────────────────────────────────── */
.bio-grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.bio-photo { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.bio-facts { list-style: none; margin: 24px 0 0; font-size: .9rem; }
.bio-facts li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); color: var(--muted); }
.bio-facts b { color: var(--text); font-weight: 600; min-width: 92px; }
.bio-text p { color: var(--muted); margin-bottom: 18px; }
.bio-text p strong { color: var(--text); }

.timeline { list-style: none; margin-top: 32px; border-left: 2px solid rgba(245,183,49,.25); padding-left: 22px; }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before {
  content: ''; position: absolute; left: -28px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}
.timeline .tl-date { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .04em; }
.timeline .tl-title { font-weight: 600; margin-top: 2px; }
.timeline .tl-desc { font-size: .9rem; color: var(--muted); }

/* ── DISCOGRAPHIE ───────────────────────────────────────────── */
.disco { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.track {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; transition: all .2s; display: block;
}
.track:hover { background: var(--bg-card-hover); border-color: rgba(245,183,49,.4); transform: translateY(-3px); }
.track-cover { aspect-ratio: 1; background: linear-gradient(135deg, #241735, #12091f); position: relative; }
.track-cover img { width: 100%; height: 100%; object-fit: cover; }
/* rang du titre au classement des vues, coin haut gauche de la pochette */
.track-rangs { position: absolute; top: 8px; left: 8px; display: flex; gap: 6px; }
.track-rangs span {
  display: inline-flex; align-items: baseline; gap: 3px;
  font-size: .92rem; font-weight: 800; line-height: 1;
  padding: 5px 8px; border-radius: 8px;
  background: rgba(0,0,0,.66); backdrop-filter: blur(4px);
}
.track-rangs i { font-style: normal; font-size: .56rem; font-weight: 700; letter-spacing: .06em; opacity: .85; }
.track-rangs .r-yt { color: #fff; }
.track-rangs .r-tt { color: var(--cta); }
.track-cover .no-cover {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2.4rem; color: rgba(245,183,49,.35);
}
.track-body { padding: 14px 16px 16px; }
.track-title { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.track-meta { font-size: .78rem; color: var(--muted); margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.track-vues { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; font-size: .74rem; font-weight: 600; }
.track-vues span { padding: 3px 9px; border-radius: 100px; white-space: nowrap; }
.v-yt { background: rgba(255,255,255,.07); color: var(--text); }
.v-tt { background: rgba(57,255,20,.13); color: var(--cta); }
.v-none { background: rgba(255,255,255,.04); color: var(--muted); }

/* ── STATS / GRAPHES ────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 44px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card .k { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card .v { font-size: 2rem; font-weight: 800; color: var(--accent); margin-top: 8px; letter-spacing: -.02em; }
.card .s { font-size: .8rem; color: var(--muted); margin-top: 4px; }

.chart-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; overflow-x: auto;
}
.chart-wrap h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.chart-wrap .chart-sub { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.chart { display: flex; align-items: flex-end; gap: 26px; min-height: 220px; min-width: 420px; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bar {
  width: 100%; max-width: 78px; border-radius: 8px 8px 0 0;
  min-height: 4px; transition: height .6s ease;
  background: linear-gradient(180deg, var(--g2) 0%, #1c5c2e 100%);
}
/* une nuance de vert différente par barre */
.bar.g1 { background: linear-gradient(180deg, #39ff14 0%, #1f8f0c 100%); }
.bar.g2 { background: linear-gradient(180deg, #4caf50 0%, #1c5c2e 100%); }
.bar.g3 { background: linear-gradient(180deg, #00d97e 0%, #04703f 100%); }
.bar.g4 { background: linear-gradient(180deg, #a8e063 0%, #4d7d1c 100%); }
.bar.g5 { background: linear-gradient(180deg, #2ecc71 0%, #12603a 100%); }
.bar.g6 { background: linear-gradient(180deg, #7ed957 0%, #33701f 100%); }
.bar.en-cours { opacity: .55; }
.bar-val { font-size: .82rem; font-weight: 700; color: #fff; }
.bar-lab { font-size: .74rem; color: var(--muted); text-align: center; }

table.stats { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .88rem; }
table.stats th, table.stats td { padding: 11px 12px; text-align: right; border-bottom: 1px solid var(--border); }
table.stats th:first-child, table.stats td:first-child { text-align: left; }
table.stats th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
table.stats td b { color: var(--g2); }
table.stats td b.cumul { color: var(--g4); }
table.stats tr.now td { background: rgba(57,255,20,.05); }
.table-scroll { overflow-x: auto; }

.pct { font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pct.up { color: var(--up); }
.pct.down { color: var(--down); }
.pct.flat { color: var(--muted); font-weight: 500; }
.tag {
  display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 2px 7px; border-radius: 100px;
  background: rgba(57,255,20,.14); color: var(--cta); margin-left: 8px;
}

.note { font-size: .8rem; color: var(--muted); margin-top: 18px; line-height: 1.6; }

/* ── VOIES D'ENTRÉE ─────────────────────────────────────────── */
.voies { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.voie {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column;
}
.voie-neuve { border-color: rgba(57,255,20,.3); background: linear-gradient(160deg, rgba(57,255,20,.05), var(--bg-card) 60%); }
.voie-num {
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cta); margin-bottom: 10px;
}
.voie h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.voie p { color: var(--muted); font-size: .93rem; margin-bottom: 18px; }
.voie-liste { list-style: none; margin: 0 0 24px; font-size: .88rem; color: var(--muted); }
.voie-liste li { padding: 7px 0 7px 22px; position: relative; border-top: 1px solid var(--border); }
.voie-liste li::before { content: '→'; position: absolute; left: 0; color: var(--cta); font-weight: 700; }
.voie .btn { margin-top: auto; align-self: flex-start; }

/* ── RÉSEAUX ────────────────────────────────────────────────── */
.socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.social {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-decoration: none; transition: all .2s; display: block;
}
.social:hover { background: var(--bg-card-hover); border-color: rgba(245,183,49,.4); transform: translateY(-3px); }
.social .net { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-2); font-weight: 700; }
.social .handle { font-size: 1.2rem; font-weight: 700; margin: 8px 0 4px; }
.social .num { font-size: .88rem; color: var(--muted); }
.social-open { border-style: dashed; border-color: rgba(57,255,20,.35); }
.social-open:hover { border-color: var(--cta); background: rgba(57,255,20,.05); }
.social-open .net { color: var(--cta); }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 40px 0;
  font-size: .84rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-logo { font-size: .82rem; white-space: nowrap; }
  nav .btn { padding: 9px 14px; font-size: .8rem; white-space: nowrap; }
  .bio-grid { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo { max-width: 260px; }
  .hero-stats { gap: 28px; }
  .stat-num { font-size: 1.7rem; }
  section { padding: 64px 0; }
  .chart { gap: 14px; }
}
