/* ════════════════════════════════════════════════════════
   CHRISTIANISME — L'Encyclopédie Vivante
   Direction artistique : Noir · Or · Parchemin · Byzantin
   Typographie : Cinzel Decorative + EB Garamond
   ════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --bg:        #0d0a06;
  --bg2:       #12100a;
  --bg3:       #1a1610;
  --gold:      #c9a227;
  --gold2:     #e8c85a;
  --gold3:     #f5e0a0;
  --crimson:   #8b1a1a;
  --byzantine: #1a3a6b;
  --parchment: #f5e6c8;
  --text:      #e8d5b0;
  --muted:     #9a8a6a;
  --border:    rgba(201,162,39,0.2);
  --card-bg:   rgba(255,255,255,0.03);
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 8px 40px rgba(0,0,0,0.6);
  --font-title:'Cinzel Decorative', serif;
  --font-head: 'Cinzel', serif;
  --font-body: 'EB Garamond', serif;
}

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* Focus visible accessible — outline doré pour navigation clavier */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; cursor: pointer; }
a:hover { color: var(--gold2); }

button { cursor: pointer; font-family: var(--font-body); }

img { max-width: 100%; }

.hidden { display: none !important; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }

.gold { color: var(--gold); }
.gold2 { color: var(--gold2); }
.byzantine { color: #6a9fd8; }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--gold2);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}
.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto 0;
}

/* ══════════════════════════════════════════════════
   LANDING PAGE
══════════════════════════════════════════════════ */
.landing {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #1a1208 0%, #080604 100%);
  overflow: hidden;
}

#landing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.landing-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ── Landing keyframes ───────────────────────────── */
@keyframes crossGrowV {
  from { transform: translateX(-50%) scaleY(0); opacity: 0; }
  to   { transform: translateX(-50%) scaleY(1); opacity: 1; }
}
@keyframes crossGrowH {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
@keyframes glowReveal {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes crossPulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%       { transform: scale(1.5); opacity: 1;   }
}
@keyframes landingFadeDown {
  from { opacity: 0; transform: translateY(-24px); letter-spacing: 0.8em; }
  to   { opacity: 1; transform: translateY(0);     letter-spacing: 0.5em; }
}
@keyframes landingH1 {
  from { opacity: 0; transform: translateY(40px) scale(0.88); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0);   }
}
@keyframes landingFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes btnReveal {
  from { opacity: 0; transform: translateY(48px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Cross animation */
.landing-cross {
  position: relative;
  width: 80px;
  height: 100px;
}
.cross-v {
  position: absolute;
  left: 50%;
  top: 0;
  transform-origin: center bottom;
  width: 8px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 40%, var(--gold2) 50%, var(--gold) 60%, transparent 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(201,162,39,0.6);
  animation: crossGrowV 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.cross-h {
  position: absolute;
  left: 0;
  top: 30%;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 40%, var(--gold2) 50%, var(--gold) 60%, transparent 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(201,162,39,0.6);
  animation: crossGrowH 0.9s cubic-bezier(0.22, 1, 0.36, 1) 1.0s both;
}
.cross-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(232,200,90,0.35) 0%, rgba(201,162,39,0.15) 40%, transparent 70%);
  animation: glowReveal 1.2s ease-out 1.6s both, crossPulse 4s ease-in-out 2.8s infinite;
  pointer-events: none;
}

.landing-title {}
.landing-pre {
  display: block;
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: landingFadeDown 0.9s ease-out 1.8s both;
}
.landing-title h1 {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: var(--gold);
  letter-spacing: 0.06em;
  text-shadow: 0 0 60px rgba(201,162,39,0.6), 0 0 120px rgba(201,162,39,0.25);
  animation: landingH1 1.4s cubic-bezier(0.34, 1.2, 0.64, 1) 2.1s both;
}
.landing-sub {
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
  animation: landingFadeUp 0.9s ease-out 2.7s both;
}

.landing-choices {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.choice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  min-width: 160px;
  animation: btnReveal 0.7s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.landing-choices .choice-btn:nth-child(1) { animation-delay: 3.0s; }
.landing-choices .choice-btn:nth-child(2) { animation-delay: 3.15s; }
.landing-choices .choice-btn:nth-child(3) { animation-delay: 3.3s; }
.landing-choices .choice-btn:nth-child(4) { animation-delay: 3.45s; }
.choice-btn:hover {
  background: rgba(201,162,39,0.1);
  border-color: var(--gold);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 48px rgba(201,162,39,0.25);
}
.choice-featured {
  border-color: rgba(201,162,39,0.5);
  background: rgba(201,162,39,0.06);
}
.choice-icon { font-size: 2.2rem; filter: drop-shadow(0 0 8px rgba(201,162,39,0.5)); }
.choice-label { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold2); }
.choice-desc { font-size: 0.85rem; color: var(--muted); font-style: italic; }

/* ══════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,10,6,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold);
  white-space: nowrap;
  font-weight: 700;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links li a {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--gold2); }

.nav-search-btn {
  background: none;
  border: none;
  color: var(--muted);
  padding: 8px;
  display: flex;
}
.nav-search-btn svg { width: 20px; height: 20px; }
.nav-search-btn:hover { color: var(--gold); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Search overlay ─────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13,10,6,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-inline: 24px;
}
.search-box {
  width: 100%;
  max-width: 700px;
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 12px;
}
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--text);
}
.search-box input::placeholder { color: var(--muted); }
.search-box button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
}
.search-results {
  width: 100%;
  max-width: 700px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 60vh;
  overflow-y: auto;
}
.search-result-item {
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}
.search-result-item:hover { border-color: var(--gold); }
.search-result-item h4 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 4px; }
.search-result-item p { font-size: 0.9rem; color: var(--muted); }

/* ══════════════════════════════════════════════════
   MAIN SITE
══════════════════════════════════════════════════ */
.site { min-height: 100vh; }
.section-page { padding-top: 64px; min-height: 100vh; }

/* ── HOME ───────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(201,162,39,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 30%, rgba(26,58,107,0.2) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 10 L30 50 M10 25 L50 25' stroke='%23c9a22720' stroke-width='0.5'/%3E%3C/svg%3E");
}
.home-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 24px;
}
.home-title {
  font-family: var(--font-title);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1.0;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(201,162,39,0.3);
}
.home-hero-content > p {
  font-style: italic;
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 48px;
}
.home-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}
.stat span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-grid { padding: 80px 24px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ── Card ───────────────────────────────────────── */
.enc-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease, box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.enc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.enc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.enc-card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,0.5); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.enc-card:hover::before { opacity: 1; }
.enc-card:hover::after { opacity: 1; }
.enc-card-icon { font-size: 2.4rem; margin-bottom: 16px; filter: drop-shadow(0 0 8px rgba(201,162,39,0.3)); }
.enc-card-title { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold2); margin-bottom: 8px; }
.enc-card-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ── Meditation banner ──────────────────────────── */
.meditation-banner {
  padding: 60px 24px;
}
.meditation-inner {
  background: linear-gradient(135deg, rgba(201,162,39,0.06), rgba(26,58,107,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
}
.meditation-label {
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.meditation-inner blockquote {
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 16px;
}
.meditation-inner cite {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════
   PAGE HEROES
══════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,10,6,0.3), rgba(13,10,6,0.9));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 40px;
}
.page-breadcrumb {
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 6vw, 4.5rem);
  color: var(--gold2);
  text-shadow: 0 0 30px rgba(201,162,39,0.4);
  margin-bottom: 12px;
}
.page-hero p {
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Hero backgrounds */
.jesus-hero      { background: linear-gradient(135deg, #1a0a0a 0%, #2d1515 50%, #0d0a06 100%); }
.bible-hero      { background: linear-gradient(135deg, #0a1a0a 0%, #1a2d15 50%, #0d0a06 100%); }
.confessions-hero{ background: linear-gradient(135deg, #0a0a1a 0%, #151528 50%, #0d0a06 100%); }
.histoire-hero   { background: linear-gradient(135deg, #1a1000 0%, #2a1c00 50%, #0d0a06 100%); }
.theologie-hero  { background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0d0a06 100%); }
.saints-hero     { background: linear-gradient(135deg, #0d0a1a 0%, #1a1530 50%, #0d0a06 100%); }
.art-hero        { background: linear-gradient(135deg, #1a0010 0%, #2d0020 50%, #0d0a06 100%); }
.monde-hero      { background: linear-gradient(135deg, #001a10 0%, #003322 40%, #1a1000 80%, #0d0a06 100%); }
.vie-hero        { background: linear-gradient(135deg, #1a1000 0%, #2a2000 50%, #0d0a06 100%); }
.questions-hero  { background: linear-gradient(135deg, #0a0a0a 0%, #151515 50%, #0d0a06 100%); }

.page-content { padding: 60px 24px 100px; }

/* ── Sub-tabs ───────────────────────────────────── */
.sub-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.tab {
  background: none;
  border: none;
  padding: 12px 20px;
  min-height: 44px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: all 0.3s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab:hover { color: var(--gold2); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ══════════════════════════════════════════════════
   JÉSUS — TIMELINE
══════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }
.timeline-dot {
  position: absolute;
  left: -35px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(201,162,39,0.6);
}
.timeline-date {
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gold2);
  margin-bottom: 8px;
}
.timeline-text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Passion scroll ─────────────────────────────── */
.passion-section {
  background: linear-gradient(180deg, transparent, rgba(139,26,26,0.08), transparent);
  border-left: 3px solid var(--crimson);
  padding: 40px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 40px 0;
}
.passion-section h3 { font-family: var(--font-head); color: #c0604a; margin-bottom: 16px; font-size: 1.3rem; }

/* ── Miracles / Parables grid ───────────────────── */
.miracles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.miracle-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.miracle-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.miracle-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}
.miracle-card h4 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 8px; }
.miracle-card p { font-size: 0.9rem; color: var(--muted); }
.miracle-ref { font-size: 0.8rem; color: var(--crimson); margin-top: 8px; font-style: italic; }

/* ══════════════════════════════════════════════════
   BIBLE
══════════════════════════════════════════════════ */
.testament-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
@media (max-width: 700px) { .testament-intro { grid-template-columns: 1fr; } }

.testament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
}
.testament-card h3 { font-family: var(--font-title); font-size: 1.4rem; color: var(--gold); margin-bottom: 12px; }
.testament-card .t-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.testament-card p { color: var(--muted); font-size: 0.95rem; }
.testament-card .t-books { font-family: var(--font-head); color: var(--gold2); font-size: 1.1rem; margin-top: 12px; }

.bible-category { margin-bottom: 48px; }
.bible-cat-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.bible-books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.bible-book {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s;
}
.bible-book:hover { border-color: var(--gold); background: rgba(201,162,39,0.05); }
.book-name { font-family: var(--font-head); color: var(--gold2); font-size: 0.95rem; margin-bottom: 4px; }
.book-desc { font-size: 0.8rem; color: var(--muted); }
.book-chapters { font-size: 0.75rem; color: var(--gold); margin-top: 6px; }

/* ══════════════════════════════════════════════════
   CONFESSIONS — Tableau comparatif
══════════════════════════════════════════════════ */
.confessions-table-wrap { overflow-x: auto; margin-bottom: 60px; }
.confessions-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.confessions-table th, .confessions-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.confessions-table th {
  font-family: var(--font-head);
  color: var(--gold);
  background: rgba(201,162,39,0.05);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.confessions-table tr:hover td { background: rgba(255,255,255,0.02); }
.conf-name { font-family: var(--font-head); color: var(--gold2); }

.conf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.conf-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}
.conf-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.conf-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.conf-icon { font-size: 2rem; }
.conf-name-big { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold2); }
.conf-count { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.conf-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.conf-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: var(--gold);
  margin: 4px 4px 0 0;
}

/* ══════════════════════════════════════════════════
   HISTOIRE — Frise
══════════════════════════════════════════════════ */
.frise-container { position: relative; padding: 40px 0; }
.frise-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold) 5%, var(--gold) 95%, transparent);
  transform: translateX(-50%);
}
.frise-event {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}
.frise-event:nth-child(odd) { flex-direction: row-reverse; }
.frise-event-content {
  flex: 1;
  max-width: calc(50% - 60px);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  opacity: 0;
  transition: all 0.6s ease;
}
.frise-event.visible .frise-event-content { opacity: 1; transform: none !important; }
.frise-event:nth-child(odd) .frise-event-content { transform: translateX(30px); }
.frise-event:nth-child(even) .frise-event-content { transform: translateX(-30px); }
.frise-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(201,162,39,0.7);
  z-index: 1;
  top: 20px;
}
.frise-year {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.frise-title { font-family: var(--font-head); color: var(--gold2); margin-bottom: 8px; font-size: 1rem; }
.frise-text { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.frise-era {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201,162,39,0.1);
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: var(--font-head);
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

/* ── Apôtres ────────────────────────────────────── */
.apotres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.apotre-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}
.apotre-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.apotre-icon { font-size: 2.5rem; margin-bottom: 12px; }
.apotre-name { font-family: var(--font-head); color: var(--gold2); margin-bottom: 6px; }
.apotre-role { font-size: 0.8rem; color: var(--gold); margin-bottom: 8px; }
.apotre-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.apotre-martyrdom { font-size: 0.8rem; color: var(--crimson); margin-top: 8px; font-style: italic; }

/* ══════════════════════════════════════════════════
   THÉOLOGIE
══════════════════════════════════════════════════ */
.theology-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.theology-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.theology-card::after {
  content: attr(data-glyph);
  position: absolute;
  right: 16px;
  bottom: 8px;
  font-size: 5rem;
  opacity: 0.05;
  font-family: var(--font-title);
  pointer-events: none;
}
.theology-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.theology-icon { font-size: 2rem; margin-bottom: 16px; }
.theology-card h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 12px; }
.theology-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.theology-quote {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-top: 16px;
  font-style: italic;
  color: var(--text);
  font-size: 0.9rem;
}
.theology-source { font-size: 0.8rem; color: var(--gold); margin-top: 8px; }

/* Trinité */
.trinity-diagram {
  text-align: center;
  margin: 48px 0;
  padding: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.trinity-diagram h3 { font-family: var(--font-title); color: var(--gold); font-size: 1.6rem; margin-bottom: 32px; }
.trinity-nodes {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.trinity-node {
  text-align: center;
  padding: 20px;
}
.trinity-node-icon { font-size: 2.5rem; margin-bottom: 10px; }
.trinity-node-name { font-family: var(--font-head); color: var(--gold2); font-size: 1.1rem; margin-bottom: 6px; }
.trinity-node-role { font-size: 0.85rem; color: var(--muted); }

/* ══════════════════════════════════════════════════
   SAINTS
══════════════════════════════════════════════════ */
.saints-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 18px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: all 0.3s;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,162,39,0.08);
}
.filter-btn.active {
  border-color: var(--gold);
  color: #0a0a0f;
  background: var(--gold);
  font-weight: 600;
}

.saints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.saint-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.4s;
  cursor: pointer;
  position: relative;
}
.saint-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.saint-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 16px;
  background: rgba(201,162,39,0.1);
  border: 2px solid var(--border);
}
.saint-name { font-family: var(--font-head); color: var(--gold2); font-size: 1rem; margin-bottom: 4px; }
.saint-dates { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; }
.saint-role { font-size: 0.8rem; color: var(--gold); margin-bottom: 10px; }
.saint-quote { font-style: italic; font-size: 0.85rem; color: var(--text); border-left: 2px solid var(--border); padding-left: 12px; }
.saint-feast { font-size: 0.75rem; color: var(--muted); margin-top: 10px; }
.saint-cat {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  background: rgba(201,162,39,0.1);
  border-radius: 20px;
  font-size: 0.65rem;
  font-family: var(--font-head);
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ══════════════════════════════════════════════════
   ART & CULTURE
══════════════════════════════════════════════════ */
.art-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.art-cat {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.art-cat:hover { transform: translateY(-6px); border-color: var(--gold); }
.art-cat-header {
  padding: 28px;
  background: linear-gradient(135deg, rgba(201,162,39,0.08), rgba(26,58,107,0.08));
  text-align: center;
}
.art-cat-icon { font-size: 2.5rem; margin-bottom: 12px; }
.art-cat h3 { font-family: var(--font-head); color: var(--gold2); font-size: 1.1rem; }
.art-cat-items { padding: 20px 24px; }
.art-item { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--muted); }
.art-item:last-child { border-bottom: none; }
.art-item strong { color: var(--text); font-style: normal; }

/* Symboles */
.symbols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.symbol-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.symbol-card:hover { border-color: var(--gold); }
.symbol-glyph { font-size: 2.5rem; margin-bottom: 10px; }
.symbol-name { font-family: var(--font-head); color: var(--gold2); font-size: 0.85rem; margin-bottom: 6px; }
.symbol-desc { font-size: 0.8rem; color: var(--muted); }

/* ══════════════════════════════════════════════════
   MONDE — Globe
══════════════════════════════════════════════════ */
/* ── Monde — reset container ─────────────────── */
#monde-content { text-align: left; }
#monde-stats   { display: block; }

/* ── KPI Banner ─────────────────────────────── */
.monde-kpi-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.kpi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.kpi-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.kpi-num {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.kpi-label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Monde — Globe + Confession row ─────────── */
.monde-globe-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 56px;
}
.monde-globe-col {
  flex: 0 0 auto;
  width: 340px;
}
.monde-denom-col {
  flex: 1;
  min-width: 0;
}
@media (max-width: 768px) {
  .monde-globe-row { flex-direction: column; }
  .monde-globe-col { width: 100%; }
}

/* ── Globe canvas ────────────────────────────── */
#globe-canvas {
  display: block;
  width: 100%;
  border-radius: 50%;
  border: 1px solid var(--border);
}
#globe-info {
  margin: 16px 0 0;
  padding: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 60px;
  transition: opacity 0.3s;
  opacity: 0;
}
#globe-info.visible { opacity: 1; }
#globe-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--gold2);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
#globe-play-btn:hover {
  background: var(--gold2);
  color: #000;
  transform: scale(1.08);
}
.globe-popup { display: flex; align-items: center; gap: 12px; }
.globe-flag { font-size: 2rem; }
.globe-popup strong { font-family: var(--font-head); color: var(--gold2); }
.globe-popup span { font-size: 0.85rem; color: var(--muted); }

/* ── Section h2 ──────────────────────────────── */
.monde-h2 {
  font-family: var(--font-title);
  color: var(--gold2);
  font-size: 1.4rem;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ── Denomination bars ───────────────────────── */
.denom-item { margin-bottom: 24px; }
.denom-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.denom-icon { font-size: 1.2rem; }
.denom-name {
  font-family: var(--font-head);
  color: var(--text);
  font-size: 0.95rem;
  flex: 1;
}
.denom-nb {
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 0.85rem;
}
.denom-bar-wrap {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.denom-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease;
}
.denom-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ── Continent tabs ──────────────────────────── */
.monde-pays-section { margin-bottom: 56px; }
.continent-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.continent-tab {
  padding: 8px 18px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-head);
}
.continent-tab:hover { border-color: var(--gold); color: var(--gold); }
.continent-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0f;
  font-weight: 600;
}

/* ── Pays nb ──────────────────────────────────── */
.pays-nb { font-size: 0.72rem; color: var(--gold); margin-top: 2px; }

/* ── Growth section ──────────────────────────── */
.monde-growth-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 48px;
}
.monde-growth-intro {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 720px;
}
.growth-bars { display: flex; flex-direction: column; gap: 20px; }
.growth-bar-item {}
.growth-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text);
}
.growth-rate {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
}
.growth-rate.up   { color: #4caf82; }
.growth-rate.down { color: #e07a5f; }
.growth-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}
.growth-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s ease;
}
.growth-bar-fill.up   { background: linear-gradient(90deg, #2d7a4a, #4caf82); }
.growth-bar-fill.down { background: linear-gradient(90deg, #7a2d2d, #e07a5f); }
.growth-note { font-size: 0.75rem; color: var(--muted); }

/* ══════════════════════════════════════════════════
   VIE CHRÉTIENNE
══════════════════════════════════════════════════ */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.cal-period {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.cal-period:hover { border-color: var(--gold); transform: translateY(-4px); }
.cal-period-header {
  padding: 20px;
  text-align: center;
}
.cal-period-icon { font-size: 2rem; margin-bottom: 8px; }
.cal-period-name { font-family: var(--font-head); color: var(--gold2); font-size: 1rem; }
.cal-period-dates { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.cal-period-desc { padding: 16px 20px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--border); }

.prayers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.prayer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s;
}
.prayer-card:hover { border-color: var(--gold); }
.prayer-title { font-family: var(--font-head); color: var(--gold2); margin-bottom: 16px; font-size: 1.1rem; }
.prayer-text {
  font-style: italic;
  line-height: 1.9;
  color: var(--text);
  font-size: 1rem;
  white-space: pre-line;
}

/* Sacrements */
.sacrements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.sacrement-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.sacrement-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.sacrement-icon { font-size: 2.5rem; margin-bottom: 12px; }
.sacrement-name { font-family: var(--font-head); color: var(--gold2); margin-bottom: 8px; }
.sacrement-desc { font-size: 0.85rem; color: var(--muted); }

/* ══════════════════════════════════════════════════
   QUESTIONS
══════════════════════════════════════════════════ */
.questions-list { display: flex; flex-direction: column; gap: 16px; }
.question-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.question-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1rem;
  text-align: left;
  transition: color 0.2s;
}
.question-toggle:hover { color: var(--gold2); }
.question-toggle .q-icon { font-size: 1.2rem; margin-right: 12px; }
.question-toggle .q-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--gold);
  flex-shrink: 0;
}
.question-item.open .q-arrow { transform: rotate(45deg); }
.question-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.question-item.open .question-answer { max-height: 4000px; }
.question-answer-inner {
  padding: 0 24px 28px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.question-answer-inner blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  font-style: italic;
  color: var(--text);
  margin: 16px 0;
}

/* ══════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(13,10,6,0.9);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.meditation-box { background: linear-gradient(135deg, #0d0a06, #12100a); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
}
.modal-close:hover { color: var(--gold); }

/* Quiz */
.quiz-title { font-family: var(--font-title); color: var(--gold); font-size: 1.4rem; margin-bottom: 8px; }
.quiz-category { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.quiz-question { font-size: 1.2rem; color: var(--text); margin-bottom: 24px; line-height: 1.5; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  padding: 14px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-align: left;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.quiz-opt:hover:not(:disabled) { border-color: var(--gold); background: rgba(201,162,39,0.08); }
.quiz-opt.correct { border-color: #4a9a4a; background: rgba(74,154,74,0.1); color: #7dc87d; }
.quiz-opt.wrong { border-color: var(--crimson); background: rgba(139,26,26,0.1); color: #c07070; }
.quiz-explanation {
  margin-top: 20px;
  padding: 16px;
  background: rgba(201,162,39,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.quiz-next {
  margin-top: 16px;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
  border: 1px solid var(--gold);
  border-radius: 30px;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.quiz-next:hover { background: rgba(201,162,39,0.2); }
.quiz-score {
  text-align: center;
  padding: 24px;
}
.quiz-score .score-num { font-family: var(--font-title); font-size: 3rem; color: var(--gold); }
.quiz-score p { color: var(--muted); margin-top: 8px; }

/* Meditation modal */
.meditation-cross { font-size: 3rem; text-align: center; margin-bottom: 24px; color: var(--gold); }
.meditation-modal-quote {
  font-style: italic;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.meditation-modal-ref { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.meditation-reflection {
  padding: 20px;
  background: rgba(201,162,39,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   FLOATING BAR
══════════════════════════════════════════════════ */
.floating-bar {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13,10,6,0.9);
  border: 1px solid var(--border);
  font-size: 1.3rem;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-btn:hover, .float-btn.active { border-color: var(--gold); box-shadow: 0 0 16px rgba(201,162,39,0.3); transform: scale(1.1); }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
  margin-top: 80px;
}
.footer-cross {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(201,162,39,0.5);
}
.footer-title { font-family: var(--font-head); color: var(--gold2); font-size: 1rem; letter-spacing: 0.1em; }
.footer-sub { color: var(--muted); font-size: 0.85rem; margin-top: 8px; font-style: italic; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════ */
.info-box {
  background: rgba(26,58,107,0.15);
  border: 1px solid rgba(106,159,216,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.info-box strong { color: var(--text); }

.big-quote {
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--text);
  border-left: 4px solid var(--gold);
  padding-left: 28px;
  margin: 40px 0;
}
.big-quote cite { display: block; font-size: 0.85rem; color: var(--gold); margin-top: 12px; font-style: normal; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 48px 0;
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201,162,39,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .frise-line { display: none; }
  .frise-event, .frise-event:nth-child(odd) { flex-direction: column; }
  .frise-event-content { max-width: 100%; }
  .frise-dot { position: static; transform: none; margin-bottom: 12px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(13,10,6,0.98);
    padding: 24px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
    backdrop-filter: blur(20px);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-burger { display: flex; }
  body { font-size: 16px; }

  /* ── Landing : croix visible + boutons horizontaux ── */
  .landing {
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .landing-content {
    gap: 20px;
    padding: 24px 16px 28px;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
  .landing-cross { width: 56px; height: 70px; }
  .cross-v { width: 6px; }
  .cross-h { height: 6px; }
  .cross-glow { inset: -20px; }
  .landing-title h1 { font-size: clamp(1.8rem, 9vw, 3rem); }
  .landing-pre { font-size: 0.75rem; letter-spacing: 0.4em; margin-bottom: 10px; }
  .landing-sub { font-size: 0.88rem; margin-top: 8px; }
  .landing-choices {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
  }
  .choice-btn {
    min-width: 0;
    flex: 1;
    max-width: 120px;
    padding: 14px 8px;
    gap: 6px;
  }
  .choice-icon { font-size: 1.5rem; }
  .choice-label { font-size: 0.82rem; }
  .choice-desc { font-size: 0.7rem; }

  /* ── Home ── */
  .home-stats { gap: 20px; flex-wrap: wrap; }
  .stat-num { font-size: 1.5rem; }
  .home-grid { padding: 48px 16px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
  .home-hero-content > p { font-size: 1rem; margin-bottom: 28px; }

  /* ── Pages ── */
  .page-hero { min-height: 30vh; padding-bottom: 32px; }
  .page-hero-content { padding: 0 20px; }
  .page-content { padding: 32px 16px 80px; }

  /* ── Modals ── */
  .modal-box { max-width: 95vw; padding: 24px 16px; }

  /* ── Misc ── */
  .testament-intro { grid-template-columns: 1fr; }
  .floating-bar { right: 12px; bottom: 12px; gap: 6px; }
  .float-btn { width: 42px; height: 42px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
  /* ── Landing très petits écrans ── */
  .landing-content { gap: 18px; padding: 16px 10px 24px; }
  .landing-cross { width: 44px; height: 54px; }
  .landing-pre { font-size: 0.65rem; letter-spacing: 0.25em; }
  .landing-title h1 { font-size: clamp(1.6rem, 8vw, 2.5rem); }
  .landing-choices { gap: 8px; }
  .choice-btn { padding: 12px 8px; max-width: 110px; }
  .choice-icon { font-size: 1.3rem; }
  .choice-label { font-size: 0.78rem; }
  .choice-desc { font-size: 0.65rem; }

  /* ── Pages ── */
  .page-hero h1 { font-size: 1.8rem; }
  .page-hero p { font-size: 0.9rem; }
  .sub-tabs { gap: 4px; }
  .tab { padding: 10px 12px; font-size: 0.7rem; min-height: 44px; }

  /* ── Home stats ── */
  .home-stats { gap: 12px; }
  .stat { min-width: 70px; }
  .stat-num { font-size: 1.2rem; }
  .home-grid { padding: 32px 12px; }

  /* ── Cards ── */
  .card-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* ── Modal ── */
  .modal-box { padding: 20px 12px; }

  .floating-bar { right: 8px; bottom: 8px; }
}

/* ── Tablette (paysage / iPad) ────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {
  .landing-content { gap: 36px; }
  .landing-choices { flex-direction: row; flex-wrap: nowrap; gap: 14px; }
  .choice-btn { min-width: 140px; max-width: none; flex: 0 0 auto; padding: 20px 24px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .home-grid { padding: 60px 20px; }
  .page-content { padding: 48px 20px 80px; }
}

/* ══════════════════════════════════════════════════
   ADDITIONS — Classes générées par app.js
══════════════════════════════════════════════════ */

/* ── Nav état ───────────────────────────────────── */
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav.nav-hidden { transform: translateY(-100%); transition: transform 0.3s ease; }
.nav { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.nav-links a.active { color: var(--gold) !important; }

/* ── Section intro ──────────────────────────────── */
.section-intro {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  font-style: italic;
  line-height: 1.7;
}

/* ── Home section cards (générées par app.js) ────── */
.section-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.section-card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,0.5); box-shadow: 0 16px 48px rgba(0,0,0,0.4); }
.section-card:hover::before { opacity: 1; }
.card-icon { font-size: 2.2rem; }
.section-card h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold2); }
.section-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; flex: 1; }
.card-arrow { font-size: 1.2rem; color: var(--gold); align-self: flex-end; transition: transform 0.3s; }
.section-card:hover .card-arrow { transform: translateX(6px); }

/* ── Timeline body/ref ──────────────────────────── */
.timeline-body { }
.timeline-item h3 { font-family: var(--font-head); color: var(--gold2); font-size: 1.2rem; margin-bottom: 8px; }
.timeline-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.timeline-ref { font-size: 0.8rem; color: var(--crimson); margin-top: 8px; display: block; font-style: italic; }

/* ── Miracles ───────────────────────────────────── */
.miracles-intro { margin-bottom: 32px; }
.miracle-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.miracle-header h4 { font-family: var(--font-head); color: var(--gold2); font-size: 0.95rem; }
.miracle-lieu { font-size: 0.75rem; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.miracle-card cite { display: block; font-size: 0.8rem; color: var(--crimson); margin-top: 8px; font-style: italic; }

/* ── Paroles ────────────────────────────────────── */
.paroles-intro { margin-bottom: 32px; }
.paroles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.parole-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  text-align: center;
  transition: all 0.3s;
}
.parole-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.parole-cross { font-size: 2rem; color: var(--gold); margin-bottom: 16px; text-shadow: 0 0 16px rgba(201,162,39,0.5); }
.parole-card p { font-style: italic; font-size: 1.1rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.parole-card cite { font-size: 0.85rem; color: var(--muted); }

/* ── Paraboles ──────────────────────────────────── */
.parables-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.parable-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
  position: relative;
  padding-top: 36px;
}
.parable-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.parable-tag {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 10px;
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.65rem;
  font-family: var(--font-head);
  color: var(--gold);
  letter-spacing: 0.08em;
}
.parable-card h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 8px; }
.parable-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.parable-card cite { font-size: 0.8rem; color: var(--crimson); font-style: italic; }

/* ── Passion ────────────────────────────────────── */
.passion-timeline { display: flex; flex-direction: column; gap: 24px; }
.passion-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}
.passion-step:hover { border-color: var(--crimson); }
.passion-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(139,26,26,0.3);
  border: 1px solid var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  color: #c07070;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.passion-body { flex: 1; }
.passion-date { font-family: var(--font-head); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 6px; }
.passion-body h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 8px; }
.passion-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.passion-body cite { font-size: 0.8rem; color: var(--crimson); font-style: italic; }

/* ── Preuves historiques ────────────────────────── */
.preuves-intro { margin-bottom: 32px; }
.preuves-list { display: flex; flex-direction: column; gap: 20px; }
.preuve-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}
.preuve-item:hover { border-color: var(--gold); }
.preuve-item h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 8px; }
.preuve-item p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }
.preuve-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.preuve-historique { background: rgba(201,162,39,0.1); color: var(--gold); border: 1px solid rgba(201,162,39,0.3); }
.preuve-archéologique { background: rgba(74,154,74,0.1); color: #7dc87d; border: 1px solid rgba(74,154,74,0.3); }
.preuve-textuel { background: rgba(26,58,107,0.2); color: #6a9fd8; border: 1px solid rgba(26,58,107,0.4); }

/* ── Bible — Testaments (nouvelle version) ──────── */
.testaments-container { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start; }
@media (max-width: 700px) { .testaments-container { grid-template-columns: 1fr; } }
.testament-block {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}
.testament-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.testament-block h2 { font-family: var(--font-head); color: var(--gold2); font-size: 1.4rem; margin-bottom: 16px; }
.testament-block p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.testament-stats { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.testament-stats div { text-align: center; }
.testament-stats strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); }
.testament-stats span { font-size: 0.75rem; color: var(--muted); }
.testament-genres { display: flex; flex-wrap: wrap; gap: 8px; }
.genre-tag {
  padding: 4px 12px;
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: var(--font-head);
  color: var(--muted);
}
.testament-divider { display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 2rem; color: var(--gold); opacity: 0.4; }

/* ── Bible — Livres ─────────────────────────────── */
.books-group { margin-bottom: 60px; }
.books-group-title { font-family: var(--font-head); color: var(--gold); font-size: 1.1rem; letter-spacing: 0.08em; border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 24px; }
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.book-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  transition: all 0.2s;
  font-size: 0.8rem;
}
.book-card:hover { border-color: var(--gold); background: rgba(201,162,39,0.05); }
.book-abbr { font-family: var(--font-head); color: var(--gold); font-size: 1rem; margin-bottom: 4px; }
.book-name { color: var(--text); font-size: 0.75rem; margin-bottom: 4px; }
.book-ch { color: var(--muted); font-size: 0.65rem; }

/* ── Bible — Personnages ────────────────────────── */
.personnages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.personnage-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
}
.personnage-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.personnage-initial {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(201,162,39,0.1);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.personnage-card h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 4px; }
.personnage-periode { font-size: 0.75rem; color: var(--gold); margin-bottom: 10px; }
.personnage-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.personnage-card cite { font-size: 0.8rem; color: var(--crimson); font-style: italic; }

/* ── Bible — Prophéties ─────────────────────────── */
.propheties-list { display: flex; flex-direction: column; gap: 20px; }
.prophetie-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.3s;
}
.prophetie-item:hover { border-color: var(--gold); }
.prophetie-item h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 10px; }
.prophetie-refs { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ref-at { font-family: var(--font-head); font-size: 0.75rem; color: var(--muted); background: rgba(139,26,26,0.1); padding: 3px 10px; border-radius: 20px; }
.ref-arrow { color: var(--gold); }
.ref-nt { font-family: var(--font-head); font-size: 0.75rem; color: var(--muted); background: rgba(26,58,107,0.15); padding: 3px 10px; border-radius: 20px; }
.prophetie-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Bible — Passages célèbres ──────────────────── */
.passages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.passage-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  padding-top: 36px;
  transition: all 0.3s;
}
.passage-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.passage-theme {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 10px;
  background: rgba(201,162,39,0.1);
  border-radius: 20px;
  font-size: 0.65rem;
  font-family: var(--font-head);
  color: var(--gold);
  letter-spacing: 0.08em;
}
.passage-card h3 { font-family: var(--font-head); color: var(--gold2); font-size: 1rem; margin-bottom: 12px; }
.passage-card blockquote { font-style: italic; color: var(--text); line-height: 1.7; font-size: 1rem; }

/* ── Confessions (nouvelle version) ────────────── */
.confessions-intro { margin-bottom: 48px; }
.confessions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 60px; }
.confession-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.confession-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.confession-header {
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.confession-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.confession-header h2 { font-family: var(--font-head); color: var(--gold2); font-size: 1.2rem; margin-bottom: 6px; }
.confession-fideles { font-size: 0.8rem; color: var(--muted); }
.confession-body { padding: 24px; }
.confession-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.confession-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(201,162,39,0.1); font-size: 0.85rem; }
.confession-row strong { color: var(--text); font-family: var(--font-head); font-size: 0.75rem; }
.confession-row span { color: var(--muted); text-align: right; }
.confession-beliefs { margin-top: 16px; }
.confession-beliefs strong { font-family: var(--font-head); font-size: 0.75rem; color: var(--gold); display: block; margin-bottom: 8px; }
.confession-beliefs ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.confession-beliefs li { font-size: 0.8rem; color: var(--muted); padding-left: 12px; position: relative; }
.confession-beliefs li::before { content: '✦'; color: var(--gold); position: absolute; left: 0; font-size: 0.6rem; top: 3px; }

/* ── Tableau comparatif confessions ─────────────── */
.confessions-comparison { margin-top: 60px; }
.confessions-comparison h2 { font-family: var(--font-head); color: var(--gold2); font-size: 1.4rem; margin-bottom: 24px; }
.comparison-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.comparison-table th { padding: 14px 16px; background: rgba(201,162,39,0.08); font-family: var(--font-head); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.06em; border-bottom: 1px solid var(--border); text-align: left; }
.comparison-table td { padding: 12px 16px; font-size: 0.85rem; color: var(--muted); border-bottom: 1px solid rgba(201,162,39,0.08); }
.comparison-table .row-header { font-family: var(--font-head); color: var(--text); font-size: 0.8rem; background: rgba(255,255,255,0.02); }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Histoire — Frise simple ────────────────────── */
.frise { position: relative; padding-left: 48px; }
.frise::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--gold) 5%, var(--gold) 95%, transparent); }
.frise-event { position: relative; margin-bottom: 40px; }
.frise-event::before { content: ''; position: absolute; left: -38px; top: 10px; width: 14px; height: 14px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px rgba(201,162,39,0.5); }
.frise-year { font-family: var(--font-head); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 4px; }
.frise-content h3 { font-family: var(--font-head); color: var(--gold2); font-size: 1rem; margin-bottom: 6px; }
.frise-content p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Histoire — Apôtres (app.js version) ───────── */
.apotre-card h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 4px; }
.apotre-num { display: block; font-family: var(--font-head); font-size: 0.65rem; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 10px; }
.apotre-origin { font-size: 0.75rem; color: var(--muted); margin-bottom: 8px; }
.apotre-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.apotre-fete { font-size: 0.75rem; color: var(--byzantine); margin-top: 4px; }

/* ── Martyrs ────────────────────────────────────── */
.martyrs-list { display: flex; flex-direction: column; gap: 20px; }
.martyr-item { display: flex; gap: 24px; align-items: flex-start; }
.martyr-year { font-family: var(--font-head); color: var(--gold); font-size: 0.85rem; white-space: nowrap; width: 120px; flex-shrink: 0; padding-top: 4px; }
.martyr-body { flex: 1; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.martyr-body h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 8px; }
.martyr-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.martyr-body cite { font-size: 0.8rem; color: var(--crimson); font-style: italic; }

/* ── Réforme ────────────────────────────────────── */
.reforme-timeline { display: flex; flex-direction: column; gap: 20px; }
.reforme-item { display: flex; gap: 24px; align-items: flex-start; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; transition: all 0.3s; }
.reforme-item:hover { border-color: var(--gold); }
.reforme-year { font-family: var(--font-title); font-size: 1.2rem; color: var(--gold); white-space: nowrap; width: 80px; flex-shrink: 0; }
.reforme-body h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 6px; }
.reforme-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Trinité (app.js version) ───────────────────── */
.trinity-section { margin: 48px 0; }
.trinity-section h2 { font-family: var(--font-head); color: var(--gold2); font-size: 1.5rem; margin-bottom: 32px; text-align: center; }
.trinity-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  padding: 48px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  text-align: center;
  align-items: center;
  justify-items: center;
}
.trinity-node {
  background: rgba(201,162,39,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold2);
  min-width: 120px;
}
.trinity-node small { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 4px; font-family: var(--font-body); font-style: italic; }
.trinity-center {
  grid-column: 2;
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(201,162,39,0.5);
}
.trinity-center small { display: block; font-size: 0.7rem; color: var(--muted); font-family: var(--font-body); margin-top: 6px; }
.trinity-line { display: none; }
.trinity-desc { font-style: italic; color: var(--muted); font-size: 0.95rem; text-align: center; max-width: 700px; margin: 0 auto; }

/* ── Théologie grid ─────────────────────────────── */
.theology-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ── Filter count badge ─────────────────────────── */
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,162,39,0.15);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 6px;
  margin-left: 4px;
}
.filter-btn.active .filter-count {
  background: rgba(0,0,0,0.2);
  color: inherit;
}

/* ── Saints (app.js version) ────────────────────── */
.saint-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.saint-emoji {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(201,162,39,0.3));
}
.saint-hero-text { flex: 1; min-width: 0; }
.saint-hero-text h3 {
  font-family: var(--font-head);
  color: var(--gold2);
  margin-bottom: 2px;
  font-size: 1rem;
  line-height: 1.3;
}
.saint-role {
  font-size: 0.72rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 2px;
}
.saint-dates { font-size: 0.72rem; color: var(--muted); }
.saint-quote {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.6;
  border-left: 3px solid var(--gold);
  padding: 8px 14px;
  margin: 0 0 14px;
  background: rgba(201,162,39,0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.saint-desc { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.saint-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.saint-cat { font-family: var(--font-head); font-size: 0.65rem; color: var(--gold); background: rgba(201,162,39,0.1); padding: 3px 10px; border-radius: 20px; }
.saint-fete { font-size: 0.75rem; color: var(--muted); }

/* ── Art (app.js version) ───────────────────────── */
.art-category {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.art-category:hover { border-color: var(--gold); transform: translateY(-4px); }
.art-cat-header { display: flex; align-items: center; gap: 16px; padding: 24px; background: linear-gradient(135deg, rgba(201,162,39,0.06), rgba(26,58,107,0.06)); }
.art-cat-icon { font-size: 2.5rem; flex-shrink: 0; }
.art-cat-header h2 { font-family: var(--font-head); color: var(--gold2); font-size: 1.1rem; }
.art-cat-desc { padding: 16px 24px; font-size: 0.9rem; color: var(--muted); border-bottom: 1px solid var(--border); }
.art-works { padding: 16px 24px; }
.art-work { padding: 10px 0; border-bottom: 1px solid rgba(201,162,39,0.08); }
.art-work:last-child { border-bottom: none; }
.art-work-title { font-family: var(--font-head); color: var(--gold2); font-size: 0.9rem; }
.art-work-author { font-size: 0.8rem; color: var(--muted); }
.art-work-year { font-size: 0.75rem; color: var(--gold); }
.art-work-desc { font-size: 0.8rem; color: var(--muted); margin-top: 4px; font-style: italic; }

/* ── Symboles ───────────────────────────────────── */
.symboles-section { margin-top: 60px; border-top: 1px solid var(--border); padding-top: 60px; }
.symboles-section h2 { font-family: var(--font-head); color: var(--gold2); font-size: 1.4rem; margin-bottom: 32px; text-align: center; }
.symboles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.symbole-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.symbole-item:hover { border-color: var(--gold); transform: translateY(-4px); }
.symbole-icon { font-size: 2.5rem; margin-bottom: 10px; }
.symbole-item h3 { font-family: var(--font-head); color: var(--gold2); font-size: 0.85rem; margin-bottom: 6px; }
.symbole-item p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* ── Monde — Pays ───────────────────────────────── */
.monde-pays-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 48px; }
.pays-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all 0.3s;
}
.pays-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.pays-flag { font-size: 2.5rem; flex-shrink: 0; }
.pays-info { flex: 1; }
.pays-name { font-family: var(--font-head); color: var(--text); font-size: 0.95rem; margin-bottom: 4px; }
.pays-pct { font-family: var(--font-head); color: var(--gold); font-size: 0.85rem; margin-bottom: 6px; }
.pays-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-bottom: 6px; overflow: hidden; }
.pays-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 2px; transition: width 1s ease; }
.pays-tradition { font-size: 0.75rem; color: var(--muted); }

/* ── Monde — Stats globales ─────────────────────── */
.monde-stats-global { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-top: 40px; padding: 32px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.global-stat { text-align: center; min-width: 120px; }
.gs-num { font-family: var(--font-title); font-size: 1.8rem; color: var(--gold); display: block; }
.global-stat div:last-child { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ── Globe popup ────────────────────────────────── */
#globe-info { transition: opacity 0.3s; opacity: 0; min-height: 60px; display: flex; align-items: center; justify-content: center; }
#globe-info.visible { opacity: 1; }
.globe-popup { display: flex; align-items: center; gap: 12px; }
.globe-flag { font-size: 2rem; }
.globe-popup strong { font-family: var(--font-head); color: var(--gold2); }
.globe-popup span { font-size: 0.85rem; color: var(--muted); margin-left: 8px; }

/* ── Calendrier liturgique ──────────────────────── */
.calendrier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.calendrier-item {
  display: flex;
  gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.calendrier-item:hover { border-color: var(--gold); transform: translateY(-4px); }
.cal-color-bar { width: 5px; flex-shrink: 0; }
.cal-body { padding: 20px; }
.cal-body h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 4px; }
.cal-periode { font-size: 0.75rem; color: var(--gold); margin-bottom: 8px; }
.cal-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.cal-couleur { font-size: 0.75rem; color: var(--muted); }
.cal-couleur strong { color: var(--text); }

/* ── Prières ────────────────────────────────────── */
.prieres-list { display: flex; flex-direction: column; gap: 32px; }
.priere-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.priere-card:hover { border-color: var(--gold); }
.priere-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(201,162,39,0.04), rgba(26,58,107,0.04));
}
.priere-header h2 { font-family: var(--font-title); color: var(--gold2); font-size: 1.2rem; }
.priere-tradition { font-size: 0.75rem; color: var(--muted); background: rgba(201,162,39,0.1); padding: 3px 10px; border-radius: 20px; font-family: var(--font-head); }
.priere-text { padding: 28px; font-size: 1.1rem; line-height: 2; color: var(--text); font-style: italic; }
.priere-ref { display: block; padding: 0 28px 20px; font-size: 0.8rem; color: var(--crimson); font-style: normal; }

/* ── Sacrements (app.js version) ────────────────── */
.sacrement-card { position: relative; }
.sacrement-num {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  color: var(--gold);
  background: rgba(201,162,39,0.1);
  padding: 2px 8px;
  border-radius: 10px;
}
.sacrement-symbole { font-size: 0.75rem; color: var(--muted); margin-top: 8px; font-style: italic; }

/* ── Messe ──────────────────────────────────────── */
.messe-structure { display: flex; flex-direction: column; gap: 16px; }
.messe-part {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.3s;
}
.messe-part:hover { border-color: var(--gold); }
.messe-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201,162,39,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.messe-body h3 { font-family: var(--font-head); color: var(--gold2); margin-bottom: 6px; }
.messe-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Questions (app.js version) ─────────────────── */
.questions-accordion { display: flex; flex-direction: column; gap: 12px; }
/* .question-btn legacy kept but unused */
.question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  transition: color 0.2s;
}
.question-btn:hover { color: var(--gold2); }
.question-text { font-family: var(--font-head); font-size: 1rem; flex: 1; padding-right: 16px; }
.question-arrow { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform 0.3s; }
.question-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; }
.question-answer.open { max-height: 2000px; }
.question-answer-inner { padding: 20px 24px; border-top: 1px solid var(--border); font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.question-answer-inner p { margin-bottom: 12px; }
.question-answer-inner strong { color: var(--text); }
.question-answer-inner blockquote { border-left: 3px solid var(--gold); padding-left: 16px; font-style: italic; color: var(--text); margin: 16px 0; }
.q-text { font-family: var(--font-head); font-size: 1rem; flex: 1; padding-right: 16px; line-height: 1.4; }
.q-arrow { font-size: 1rem; color: var(--gold); flex-shrink: 0; transition: transform 0.35s cubic-bezier(.4,0,.2,1); }
.question-item.open .q-arrow { transform: rotate(180deg); }
.q-list { padding-left: 1.4em; margin: 0 0 12px; }
.q-list li { margin-bottom: 8px; color: var(--muted); }
.q-para { margin-bottom: 12px; }
.question-answer-inner .q-list strong { color: var(--gold2); }

/* ── Quiz (app.js version) ──────────────────────── */
.quiz-progress { margin-bottom: 20px; }
.quiz-prog-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.quiz-prog-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); transition: width 0.4s ease; }
.quiz-progress span { font-size: 0.75rem; color: var(--muted); font-family: var(--font-head); }
.quiz-q-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 24px; }
.quiz-result-icon { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.quiz-next-btn {
  display: block;
  margin: 16px auto 0;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(201,162,39,0.15), rgba(201,162,39,0.05));
  border: 1px solid var(--gold);
  border-radius: 30px;
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.quiz-next-btn:hover { background: rgba(201,162,39,0.25); }
.quiz-result { text-align: center; padding: 20px 0; }
.quiz-result-cross { font-size: 3rem; color: var(--gold); text-shadow: 0 0 20px rgba(201,162,39,0.5); margin-bottom: 16px; }
.quiz-result h2 { font-family: var(--font-head); color: var(--gold2); font-size: 1.4rem; margin-bottom: 24px; }
.quiz-score-circle {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(201,162,39,0.08);
  border: 2px solid var(--gold);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  flex-direction: column;
}
.quiz-score-num { font-family: var(--font-title); font-size: 2.5rem; color: var(--gold); line-height: 1; }
.quiz-score-total { font-size: 0.85rem; color: var(--muted); }
.quiz-mention { font-family: var(--font-head); font-size: 1.2rem; color: var(--gold2); margin-bottom: 12px; }
.quiz-result p { color: var(--muted); margin-bottom: 20px; }
.quiz-replay-btn {
  padding: 12px 32px;
  background: var(--gold);
  border: none;
  border-radius: 30px;
  color: #0d0a06;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.3s;
}
.quiz-replay-btn:hover { background: var(--gold2); transform: scale(1.05); }

/* ── Méditation modale ──────────────────────────── */
.meditation-modal-content { text-align: center; }
.meditation-modal-content .meditation-cross { font-size: 3rem; color: var(--gold); text-shadow: 0 0 20px rgba(201,162,39,0.4); margin-bottom: 16px; }
.meditation-modal-content h2 { font-family: var(--font-title); color: var(--gold2); font-size: 1.4rem; margin-bottom: 8px; }
.meditation-date { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; font-style: italic; }
.meditation-verse { font-style: italic; font-size: 1.3rem; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.meditation-verse-ref { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.meditation-reflection { padding: 20px 24px; background: rgba(201,162,39,0.04); border: 1px solid var(--border); border-radius: var(--radius); text-align: left; }
.meditation-reflection h3 { font-family: var(--font-head); color: var(--gold2); font-size: 0.9rem; margin-bottom: 10px; }
.meditation-reflection p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ── Saint du Jour ──────────────────────────────── */
.saint-day-modal { text-align: center; padding: 8px 0; }
.saint-day-badge { display: inline-block; font-family: var(--font-head); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; background: rgba(201,162,39,0.1); padding: 4px 14px; border-radius: 20px; margin-bottom: 8px; }
.saint-day-date { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; font-style: italic; }
.saint-day-initial {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,162,39,0.1);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--gold);
  margin: 0 auto 20px;
}
.saint-day-modal h2 { font-family: var(--font-title); color: var(--gold2); font-size: 1.6rem; margin-bottom: 4px; }
.saint-day-dates { font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }
.saint-day-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; padding: 16px; background: var(--card-bg); border-radius: var(--radius); text-align: left; }
.saint-day-fete { font-size: 0.85rem; color: var(--text); margin-bottom: 8px; }
.saint-day-cat { font-family: var(--font-head); font-size: 0.7rem; color: var(--gold); background: rgba(201,162,39,0.1); padding: 3px 12px; border-radius: 20px; display: inline-block; }

/* ── Search results (app.js version) ────────────── */
.search-result {
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.search-result:hover { border-color: var(--gold); background: rgba(201,162,39,0.05); }
.search-result-type { font-family: var(--font-head); font-size: 0.65rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 4px; }
.search-result-title { font-family: var(--font-head); color: var(--text); font-size: 0.95rem; margin-bottom: 4px; }
.search-result-desc { font-size: 0.8rem; color: var(--muted); }
.search-noresult { color: var(--muted); font-style: italic; text-align: center; padding: 24px; }
.search-result mark {
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(201,162,39,0.4);
}

/* ── SW enregistrement ──────────────────────────── */
/* (sw.js est enregistré via app.js — pas de CSS nécessaire) */

/* ════════════════════════════════════════════════════════════════
   VERSION 2.0 — Nouveaux composants
   ════════════════════════════════════════════════════════════════ */

/* ── Barre de progression de lecture ──────────────────────────── */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9999;
  background: rgba(0,0,0,0.3);
}
#reading-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold2), var(--gold3));
  transition: width 0.1s ease;
  box-shadow: 0 0 8px var(--gold);
}

/* ── Toast Notifications ───────────────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  max-width: 340px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: all;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.toast.toast-show {
  opacity: 1;
  transform: translateX(0);
}
.toast-success { border-color: rgba(80,200,120,0.4); }
.toast-info    { border-color: var(--border); }
.toast-verse   { border-color: var(--gold); background: rgba(201,162,39,0.08); color: var(--parchment); }

/* ── Théologiens ──────────────────────────────────────────────── */
.theologiens-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-style: italic;
  font-size: 1.1rem;
}
.theologiens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.theologien-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.theologien-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.theologien-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.theologien-card:hover::before { opacity: 1; }
.theologien-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.theologien-header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.theologien-header h3 {
  font-family: var(--font-head);
  color: var(--gold2);
  font-size: 1.15rem;
}
.theologien-dates {
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.theologien-tradition {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(201,162,39,0.12);
  color: var(--gold);
  border: 1px solid rgba(201,162,39,0.25);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
.theologien-role {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.theologien-quote {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  color: var(--parchment);
  font-style: italic;
  font-size: 0.95rem;
  margin: 14px 0;
  line-height: 1.6;
}
.theologien-desc {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.theologien-works {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.work-tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  background: rgba(26,58,107,0.3);
  border: 1px solid rgba(106,159,216,0.3);
  border-radius: 20px;
  color: #6a9fd8;
  font-family: var(--font-head);
}

/* ── Conciles ─────────────────────────────────────────────────── */
.conciles-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}
.conciles-timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto 60px;
  padding: 20px 0;
}
.conciles-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}
.concile-item {
  display: flex;
  width: 50%;
  margin-bottom: 40px;
  position: relative;
}
.concile-item.left {
  left: 0;
  padding-right: 50px;
  flex-direction: row;
  justify-content: flex-end;
}
.concile-item.right {
  left: 50%;
  padding-left: 50px;
  flex-direction: row;
}
.concile-item::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.concile-item.right::after {
  right: auto;
  left: -8px;
}
.concile-year {
  position: absolute;
  top: 14px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--gold2);
  white-space: nowrap;
}
.concile-item.left .concile-year { right: 20px; }
.concile-item.right .concile-year { left: 20px; }
.concile-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 380px;
  transition: border-color 0.3s, transform 0.3s;
}
.concile-card:hover {
  border-color: rgba(201,162,39,0.4);
  transform: scale(1.02);
}
.concile-name {
  font-family: var(--font-head);
  color: var(--gold2);
  font-size: 1rem;
  margin-bottom: 10px;
}
.concile-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.concile-importance {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}
.concile-sujet { font-size: 0.88rem; color: var(--text); margin-bottom: 8px; }
.concile-decision { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }

/* ── Hérésies ─────────────────────────────────────────────────── */
.heresies-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--muted);
  font-style: italic;
}
.heresies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.heresie-card {
  background: var(--card-bg);
  border: 1px solid rgba(139,26,26,0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.heresie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139,26,26,0.15);
  border-color: rgba(139,26,26,0.5);
}
.heresie-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.heresie-header h3 {
  font-family: var(--font-head);
  color: #e8a0a0;
  font-size: 1.1rem;
}
.heresie-epoque {
  font-size: 0.8rem;
  color: var(--muted);
}
.heresie-auteur {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.heresie-these {
  background: rgba(139,26,26,0.1);
  border: 1px solid rgba(139,26,26,0.2);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}
.heresie-these strong { color: #e88080; font-size: 0.85rem; }
.heresie-these p { color: var(--text); font-size: 0.88rem; margin-top: 6px; line-height: 1.5; }
.heresie-reponse {
  background: rgba(30,100,60,0.1);
  border: 1px solid rgba(30,180,80,0.2);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}
.heresie-reponse strong { color: #80e0a0; font-size: 0.85rem; }
.heresie-reponse p { color: var(--text); font-size: 0.88rem; margin-top: 6px; line-height: 1.5; }
.heresie-impact {
  background: rgba(201,162,39,0.06);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: 8px;
  padding: 14px;
}
.heresie-impact strong { color: var(--gold); font-size: 0.85rem; }
.heresie-impact p { color: var(--muted); font-size: 0.85rem; margin-top: 6px; line-height: 1.5; }

/* ── Cathédrales & Églises ────────────────────────────────────── */
.eglises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.eglise-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.eglise-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,0.5);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.eglise-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  display: block;
}
.eglise-card h3 {
  font-family: var(--font-head);
  color: var(--gold2);
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.eglise-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.eglise-architecte {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 12px;
}
.eglise-desc {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.eglise-capacite {
  font-size: 0.8rem;
  color: var(--gold);
  padding: 6px 12px;
  background: rgba(201,162,39,0.08);
  border-radius: 20px;
  display: inline-block;
}

/* ── Lieux Saints ─────────────────────────────────────────────── */
.lieux-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.lieu-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.3s, border-color 0.3s;
}
.lieu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
}
.lieu-importance {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.lieu-card h3 {
  font-family: var(--font-head);
  color: var(--gold2);
  margin-bottom: 4px;
}
.lieu-pays {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: normal;
}
.lieu-card p {
  font-size: 0.88rem;
  color: var(--text);
  margin: 12px 0;
  line-height: 1.5;
}
.lieu-confessions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.conf-badge {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(26,58,107,0.25);
  border: 1px solid rgba(106,159,216,0.2);
  color: #6a9fd8;
}

/* ── Personnages Bibliques ────────────────────────────────────── */
.personnages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.personnage-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.3s, border-color 0.3s;
}
.personnage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
}
.personnage-header {
  margin-bottom: 12px;
}
.personnage-header h3 {
  font-family: var(--font-head);
  color: var(--gold2);
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.personnage-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge-testament {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
.badge-testament.at {
  background: rgba(139,26,26,0.2);
  border: 1px solid rgba(139,26,26,0.4);
  color: #e8a0a0;
}
.badge-testament.nt {
  background: rgba(26,58,107,0.2);
  border: 1px solid rgba(26,58,107,0.4);
  color: #6a9fd8;
}
.badge-role {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--gold);
  font-family: var(--font-head);
}
.personnage-ref {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}
.personnage-desc {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.personnage-quote {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  color: var(--parchment);
  font-style: italic;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ── Prières enrichies ────────────────────────────────────────── */
.prieres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}
.priere-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.priere-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
}
.priere-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.priere-header h3 {
  font-family: var(--font-head);
  color: var(--gold2);
  font-size: 1.05rem;
}
.priere-tradition {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  color: var(--gold);
  font-family: var(--font-head);
  white-space: nowrap;
}
.priere-ref {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
  font-style: italic;
}
.priere-text {
  color: var(--parchment);
  font-size: 0.92rem;
  line-height: 1.8;
  font-style: italic;
  white-space: pre-wrap;
}

/* ── Audio Player flottant ────────────────────────────────────── */
#audio-player-floating {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 800;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  transform: translateY(120%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 280px;
}
#audio-player-floating.visible { transform: translateY(0); }
.audio-note {
  font-size: 1.4rem;
  animation: audioFloat 2s ease-in-out infinite;
}
@keyframes audioFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.audio-info { flex: 1; }
.audio-title {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--gold);
  display: block;
}
.audio-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
}
.audio-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}
.audio-bar {
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: audioBar 0.8s ease-in-out infinite;
}
.audio-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-bar:nth-child(4) { animation-delay: 0.15s; }
.audio-bar:nth-child(5) { animation-delay: 0.05s; }
@keyframes audioBar {
  0%, 100% { height: 4px; }
  50% { height: 18px; }
}

/* ── Chapelet Interactif ──────────────────────────────────────── */
#chapelet-modal .modal-box {
  max-width: 500px;
}
.chapelet-container {
  text-align: center;
  padding: 24px;
}
.chapelet-mystery {
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.chapelet-subtitle {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 32px;
}
.chapelet-beads {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 340px;
  margin: 0 auto 28px;
}
.chapelet-bead {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(201,162,39,0.15);
  border: 2px solid rgba(201,162,39,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.chapelet-bead.done {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.chapelet-bead.current {
  border-color: var(--gold2);
  animation: beadPulse 1s ease-in-out infinite;
}
@keyframes beadPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(201,162,39,0.3); }
  50% { transform: scale(1.15); box-shadow: 0 0 16px rgba(201,162,39,0.7); }
}
.chapelet-prayer-name {
  font-family: var(--font-head);
  color: var(--gold2);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.chapelet-count {
  font-size: 3rem;
  font-family: var(--font-title);
  color: var(--gold);
  line-height: 1;
  margin: 12px 0;
}
.chapelet-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #1a1208;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 8px;
}
.chapelet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
}
.chapelet-btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ── Chemin de Croix ──────────────────────────────────────────── */
.chemin-croix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.station-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.station-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,162,39,0.4);
}
.station-number {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  color: #1a1208;
  font-weight: bold;
}
.station-card h3 {
  font-family: var(--font-head);
  color: var(--gold2);
  margin-bottom: 8px;
  margin-top: 6px;
  font-size: 0.95rem;
}
.station-card p {
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.55;
}

/* ── Bible Lecteur interactif ─────────────────────────────────── */
.bible-reader {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.bible-reader-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(201,162,39,0.05);
}
.bible-reader-nav select {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}
.bible-reader-content {
  padding: 32px 40px;
  max-height: 500px;
  overflow-y: auto;
}
.bible-verse {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  margin-bottom: 10px;
  align-items: start;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
  cursor: pointer;
}
.bible-verse:hover { background: rgba(201,162,39,0.05); }
.verse-num {
  font-size: 0.75rem;
  color: var(--gold);
  font-family: var(--font-head);
  padding-top: 4px;
  text-align: right;
}
.verse-text {
  color: var(--parchment);
  font-size: 1rem;
  line-height: 1.7;
  font-family: var(--font-body);
}

/* ── Quiz enrichi ─────────────────────────────────────────────── */
.quiz-difficulty {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}
.diff-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.3s;
}
.diff-btn.active, .diff-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1208;
}

/* ── Responsive conciles ──────────────────────────────────────── */
@media (max-width: 768px) {
  .conciles-timeline::before { left: 20px; }
  .concile-item, .concile-item.right {
    width: 100%;
    left: 0;
    padding-left: 50px;
    padding-right: 0;
    flex-direction: row;
  }
  .concile-item::after, .concile-item.right::after {
    left: 12px;
    right: auto;
    top: 18px;
  }
  .concile-year { left: 50px !important; right: auto !important; }
  .concile-card { max-width: 100%; }
  .theologiens-grid, .heresies-grid, .eglises-grid { grid-template-columns: 1fr; }
  .prieres-grid, .personnages-grid { grid-template-columns: 1fr; }
}

/* ── Animation Shimmer sur les titres ─────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-title {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold3) 40%, var(--gold) 60%, var(--gold2) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ── Section Spotlight hero amélioré ─────────────────────────── */
.page-hero {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.jesus-hero    { background: radial-gradient(ellipse at 60% 40%, #3a0a0a 0%, #0d0a06 70%); }
.bible-hero    { background: radial-gradient(ellipse at 40% 60%, #1a1a3a 0%, #0d0a06 70%); }
.histoire-hero { background: radial-gradient(ellipse at 50% 50%, #2a1a0a 0%, #0d0a06 70%); }
.theologie-hero{ background: radial-gradient(ellipse at 30% 70%, #0a1a2a 0%, #0d0a06 70%); }
.saints-hero   { background: radial-gradient(ellipse at 70% 30%, #1a2a0a 0%, #0d0a06 70%); }
.art-hero      { background: radial-gradient(ellipse at 50% 50%, #2a1a2a 0%, #0d0a06 70%); }
.confessions-hero { background: radial-gradient(ellipse at 50% 50%, #1a2a1a 0%, #0d0a06 70%); }
.monde-hero    { background: radial-gradient(ellipse at 50% 50%, #0a1a3a 0%, #0d0a06 70%); }
.vie-hero      { background: radial-gradient(ellipse at 50% 50%, #1a0a2a 0%, #0d0a06 70%); }
.questions-hero{ background: radial-gradient(ellipse at 50% 50%, #2a2a0a 0%, #0d0a06 70%); }

/* ── Floating bar amélioré ────────────────────────────────────── */
.floating-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.float-btn {
  font-size: 1.2rem;
  transition: transform 0.3s, filter 0.3s;
}
.float-btn:hover {
  transform: scale(1.2) rotate(5deg);
  filter: brightness(1.3);
}

/* ── Scrollbar artistique ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--crimson));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold2); }

/* ── Section highlight on hover (home cards) ──────────────────── */
.home-grid .card-grid > * {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}
.home-grid .card-grid > *:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(201,162,39,0.1);
}

/* ── Onglets enrichis ─────────────────────────────────────────── */
.sub-tabs {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.sub-tabs::-webkit-scrollbar { display: none; }
.tab {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Médaille de complétion ───────────────────────────────────── */
.badge-completed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(201,162,39,0.15);
  border: 1px solid var(--gold);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--gold);
  font-family: var(--font-head);
  animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badgePop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
