/* ============================================================
   HARVEST Angré — feuille de style du site public
   ============================================================ */

/* Les variables ci-dessous sont les valeurs par défaut : elles sont écrasées
   au chargement par Theme.apply() à partir des couleurs choisies dans le
   back-office (rubrique « Apparence »). */
:root {
  --navy: #0b1f36;
  --navy-2: #102a49;
  --navy-3: #163560;
  --navy-deep: #081627;
  --gold: #e0a526;
  --gold-soft: #f5c95c;
  --gold-deep: #c98a12;
  --gold-ink: #8a6210;
  --cream: #fbf8f3;
  --ink: #12202f;
  --muted: #5d7186;

  --primary-rgb: 11, 31, 54;
  --accent-rgb: 224, 165, 38;
  --surface-rgb: 251, 248, 243;
  --on-accent: #0b1f36;
  --logo: url("../img/logo-harvest.png");
  --line: rgba(var(--primary-rgb), 0.1);
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -22px rgba(var(--primary-rgb), 0.45);
  --shadow-lg: 0 34px 80px -30px rgba(var(--primary-rgb), 0.55);
  --max: 1200px;
  --font-title: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Anneau de focus visible au clavier (invisible à la souris). */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible, .section--dark :focus-visible, .page-hero :focus-visible {
  outline-color: var(--gold-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--navy);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.wrap { width: min(100% - 3rem, var(--max)); margin-inline: auto; }

/* ---------- Utilitaires ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--dark { background: var(--navy); color: #d8e3ef; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(216, 227, 239, 0.75); }
.section--alt { background: var(--white); }

.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  background: var(--gold);
  color: var(--on-accent);
  box-shadow: 0 12px 30px -12px rgba(var(--accent-rgb), 0.85);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(var(--accent-rgb), 0.95); }
.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  box-shadow: none;
  opacity: 0.9;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.btn--dark { background: var(--navy); color: #fff; box-shadow: 0 12px 30px -14px rgba(var(--primary-rgb), 0.9); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.85rem; }

/* Bouton « culte en direct » : rouge, lueur pulsée, pour attirer l'œil. */
.btn--live {
  background: linear-gradient(135deg, #ff3b3b, #c1121f);
  color: #fff; font-weight: 800; letter-spacing: 0.04em;
  border: 0; box-shadow: 0 10px 28px -12px rgba(193, 18, 31, 0.9);
  animation: livePulse 1.8s ease-out infinite;
}
.btn--live:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 34px -10px rgba(193, 18, 31, 0.9);
}
.btn--live__dot {
  width: 10px; height: 10px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
  animation: liveBlink 1.2s steps(1, end) infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.55), 0 10px 28px -12px rgba(193, 18, 31, 0.8); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 59, 59, 0), 0 10px 28px -12px rgba(193, 18, 31, 0.8); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0), 0 10px 28px -12px rgba(193, 18, 31, 0.8); }
}
@keyframes liveBlink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}

/* Badge « EN DIRECT » posé sur la miniature d'une prédication live. */
.live-tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem; border-radius: 100px;
  background: linear-gradient(135deg, #ff3b3b, #c1121f); color: #fff;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em;
  box-shadow: 0 6px 16px -6px rgba(193, 18, 31, 0.9);
}
.live-tag__dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: liveBlink 1.2s steps(1, end) infinite;
}
.sermon--live { border-color: rgba(255, 59, 59, 0.5); }
.live-tag--inline { position: static; }

/* ---------- En-tête ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s, backdrop-filter 0.35s;
  padding: 0.9rem 0;
}
.header.scrolled {
  background: rgba(var(--surface-rgb), 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -26px rgba(var(--primary-rgb), 0.6);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.header.scrolled .brand { color: var(--navy); }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold-deep));
  color: var(--on-accent);
  display: grid; place-items: center;
  font-family: var(--font-title);
  font-weight: 700; font-size: 1.4rem;
  box-shadow: 0 10px 24px -12px rgba(var(--accent-rgb), 0.9);
  flex: 0 0 auto;
}
/* Logo officiel : détouré en masque pour suivre la couleur d'accent du thème. */
.brand__mark--logo {
  width: 52px; height: 52px;
  background: var(--gold);
  border-radius: 0; box-shadow: none;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
/* Logo importé conservant ses couleurs d'origine. */
.brand__mark--img {
  width: 52px; height: 52px;
  background: none; border-radius: 0; box-shadow: none;
  overflow: hidden;
}
.brand__mark--img img { width: 100%; height: 100%; object-fit: contain; }
.brand__name { display: block; font-family: var(--font-title); font-weight: 600; font-size: 1.12rem; line-height: 1.15; }
.brand__sub {
  display: block; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7;
  max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-size: 0.9rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  position: relative; padding: 0.25rem 0;
  transition: color 0.2s;
}
.header.scrolled .nav a { color: var(--navy); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 0.75rem; }
/* Bouton « don » du menu : présent uniquement dans le tiroir mobile. */
.nav__cta { display: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  align-items: center; justify-content: center;
}
.header.scrolled .burger { color: var(--navy); border-color: var(--line); background: rgba(var(--primary-rgb), 0.04); }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
  transition: transform 0.3s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: #fff;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }

/* Diaporama : les images se fondent l'une dans l'autre. */
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s var(--ease), transform 7s linear;
  transform: scale(1.04);
}
.hero__slide.active { opacity: 1; transform: scale(1.1); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: none; }

.hero__dots {
  position: absolute; z-index: 2; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.hero__dot {
  width: 46px; height: 4px; border-radius: 4px; border: 0; padding: 0;
  background: rgba(255, 255, 255, 0.32);
  /* La pilule active s'allonge via scaleX (aucun reflow) plutôt que width. */
  transform: scaleX(0.62); transform-origin: center;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.6); }
.hero__dot.active { background: var(--gold); transform: scaleX(1); }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(var(--primary-rgb), 0.94) 8%, rgba(var(--primary-rgb), 0.72) 48%, rgba(var(--primary-rgb), 0.4) 100%),
    linear-gradient(to top, rgba(var(--primary-rgb), 0.9), transparent 45%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 1.6rem;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.25);
}
.hero h1 { color: #fff; max-width: 15ch; white-space: pre-line; margin-bottom: 1.2rem; }
.hero p.lead { color: rgba(255, 255, 255, 0.82); font-size: 1.15rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.75rem;
  margin-top: 3.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__stat b {
  display: block;
  font-family: var(--font-title); font-size: 2rem; font-weight: 600; color: var(--gold-soft);
}
.hero__stat span { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }

/* Chiffres clés — page « L'église » (fond clair). */
.stats-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.stats-band__item { text-align: center; }
.stats-band__item b {
  display: block; font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; color: var(--gold-ink);
  line-height: 1.1;
}
.stats-band__item span {
  display: block; margin-top: 0.35rem;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}

.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 1; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.65; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Bandeau de titre des pages intérieures ---------- */

.page-hero {
  position: relative;
  padding: clamp(9rem, 15vw, 12rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  color: #fff; overflow: hidden;
  background: var(--navy);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(var(--primary-rgb), 0.96) 10%, rgba(var(--primary-rgb), 0.78) 55%, rgba(var(--primary-rgb), 0.55)),
    linear-gradient(to top, rgba(var(--primary-rgb), 0.85), transparent 60%);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 20ch; margin-bottom: 0.6rem; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 60ch; margin: 0; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6); margin-bottom: 1.2rem;
}
.crumbs a { color: var(--gold-soft); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs b { color: #fff; font-weight: 600; }

.center-cta { text-align: center; margin-top: 3rem; }
.empty-page { text-align: center; padding: 3rem 0; }
.empty-page .lead { margin-inline: auto; }

/* Texte long (présentations, articles) */
.prose { white-space: pre-line; color: var(--muted); font-size: 1.02rem; line-height: 1.85; }
.prose + .btn { margin-top: 1.5rem; }

/* ---------- Bandeau horaires ---------- */

.schedule-bar {
  position: relative; z-index: 3;
  margin-top: -70px;
}
.schedule-bar__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.schedule-card {
  padding: 2rem 1.9rem;
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}
.schedule-card:last-child { border-right: 0; }
.schedule-card:hover { background: rgba(var(--accent-rgb), 0.05); }
.schedule-card__icon { font-size: 1.6rem; margin-bottom: 0.75rem; }
.schedule-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.schedule-card .when { color: var(--gold-ink); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; }
.schedule-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* ---------- À propos ---------- */

.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; }
.about-media__badge {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--navy); color: #fff;
  padding: 1.4rem 1.6rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-width: 230px;
}
.about-media__badge b { display: block; font-family: var(--font-title); color: var(--gold); font-size: 1.6rem; }
.about-media__badge span { font-size: 0.8rem; opacity: 0.8; }
.about-text p { white-space: pre-line; }

.mv-grid { display: grid; gap: 1rem; margin: 1.8rem 0; }
.mv-card {
  padding: 1.25rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--line);
}
.mv-card b { display: block; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.25rem; }
.mv-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.value-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .ico { font-size: 1.8rem; margin-bottom: 0.8rem; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Ministères ---------- */

.ministries { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.ministry {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 320px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
  transition: transform 0.4s var(--ease);
}
.ministry:hover { transform: translateY(-8px); }
.ministry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.ministry:hover img { transform: scale(1.08); }
.ministry::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.95) 12%, rgba(var(--primary-rgb), 0.45) 55%, rgba(var(--primary-rgb), 0.15));
}
.ministry__body { padding: 1.8rem; }
.ministry__ico { font-size: 1.5rem; margin-bottom: 0.5rem; }
.ministry h3 { color: #fff; font-size: 1.25rem; margin-bottom: 0.3rem; }
.ministry .leader { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.ministry p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); margin: 0.6rem 0 0; }

/* ---------- Événements ---------- */

.event-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy-2); color: #fff; box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}
.event-featured__media { position: relative; min-height: 340px; }
.event-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-featured__body { padding: clamp(2rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.event-featured__body h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.event-featured__body p { color: rgba(255, 255, 255, 0.78); }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  align-self: flex-start;
  background: var(--gold); color: var(--navy);
  padding: 0.35rem 0.85rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.event-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1.2rem 0 1.6rem; font-size: 0.9rem; }
.event-meta span { display: flex; align-items: center; gap: 0.45rem; opacity: 0.9; }

.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.event {
  display: flex; gap: 1.2rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.event:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.event__date {
  flex: 0 0 auto; width: 66px; text-align: center;
  background: var(--navy); color: #fff; border-radius: var(--radius-sm);
  padding: 0.7rem 0.4rem;
}
.event__date b { display: block; font-family: var(--font-title); font-size: 1.55rem; line-height: 1; color: var(--gold); }
.event__date span { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.event h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.event p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.event .where { font-size: 0.8rem; color: var(--gold-ink); font-weight: 600; margin-top: 0.4rem; }

/* ---------- Prédications ---------- */

.sermons { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.sermon {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.sermon:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), 0.5); }
.sermon__media { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.sermon__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.sermon:hover .sermon__media img { transform: scale(1.07); }
.sermon__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(var(--primary-rgb), 0.35);
}
.sermon__play i {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-style: normal; font-size: 1.1rem;
  box-shadow: 0 10px 30px -8px rgba(var(--accent-rgb), 0.9);
  transition: transform 0.3s var(--ease);
}
.sermon__media:hover .sermon__play { background: rgba(var(--primary-rgb), 0.15); }
.sermon:hover .sermon__play i { transform: scale(1.12); }
.sermon__media:hover .sermon__play i { transform: scale(1.2); }

.sermon__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.sermon .series { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.sermon h3 { color: #fff; font-size: 1.15rem; margin: 0.4rem 0 0.5rem; }
.sermon h3 a:hover { color: var(--gold-soft); }
.sermon__ref {
  display: inline-block; margin-bottom: 0.6rem;
  font-size: 0.78rem; font-weight: 600; color: var(--gold-soft);
}
/* Aperçu limité à trois lignes : les cartes gardent toutes la même hauteur. */
.sermon__excerpt {
  font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); margin: 0 0 0.9rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.sermon .by {
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.55);
  display: flex; gap: 0.5rem; margin-top: auto;
}
.sermon__more {
  display: inline-block; margin-top: 1rem;
  font-size: 0.85rem; font-weight: 700; color: var(--gold-soft);
  align-self: flex-start;
}
.sermon__more:hover { color: #fff; transform: translateX(3px); }
.sermon__more { transition: color 0.2s, transform 0.25s var(--ease); }

/* ---------- Page d'un message ---------- */

.sermon-page { max-width: 820px; margin-inline: auto; }
.sermon-page__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding-bottom: 1.5rem; margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted);
}
.pill--soft {
  background: rgba(var(--accent-rgb), 0.16); color: var(--navy);
  margin-bottom: 0;
}
.sermon-page__title {
  font-size: 1.35rem; margin-bottom: 1rem;
}
.video-block { margin-top: 3rem; }
.video-frame {
  position: relative; aspect-ratio: 16/9; margin-bottom: 1.4rem;
  border-radius: var(--radius); overflow: hidden;
  background: var(--navy); box-shadow: var(--shadow-lg);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.btn--play { gap: 0.8rem; padding-left: 0.6rem; }
.btn__play {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-size: 0.85rem;
}
.sermon-page > .btn--ghost { margin-top: 3rem; }

.ministry__more {
  display: inline-block; margin-top: 0.9rem;
  font-size: 0.82rem; font-weight: 700; color: var(--gold-soft);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.ministry:hover .ministry__more { opacity: 1; transform: none; }

/* ---------- Fiche détaillée (ministère) ---------- */

.detail-grid {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.verse-lead {
  margin: 0 0 1.8rem; padding-left: 1.3rem;
  border-left: 3px solid var(--gold);
  font-family: var(--font-title); font-size: 1.2rem; font-style: italic;
  color: var(--navy);
}
.detail-side { position: sticky; top: 110px; display: grid; gap: 1rem; }
.side-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
}
.side-card__ico { font-size: 1.8rem; margin-bottom: 0.5rem; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.side-card dl { margin: 0; display: grid; gap: 0.9rem; }
.side-card dt {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-ink); font-weight: 800;
}
.side-card dd { margin: 0.15rem 0 0; font-size: 0.93rem; color: var(--muted); }
.side-card dd a:hover { color: var(--gold); }
.side-card--muted { background: var(--navy); color: rgba(255, 255, 255, 0.78); border-color: transparent; }
.side-card--muted h3 { color: #fff; }
.side-card--muted p { font-size: 0.92rem; }

/* ---------- Équipe pastorale ---------- */

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.team-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.6rem; text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card__photo {
  width: 104px; height: 104px; margin: 0 auto 1.2rem;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-3), var(--navy));
  display: grid; place-items: center;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__initials { color: var(--gold); font-family: var(--font-title); font-size: 2rem; font-weight: 600; }
.team-card h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.team-card .role {
  display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-ink); font-weight: 700; margin-bottom: 0.8rem;
}
.team-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Lien « Lire la suite » commun aux cartes d'aperçu. */
.card__more {
  display: inline-block; margin-top: auto; padding-top: 0.9rem;
  font-size: 0.84rem; font-weight: 700; color: var(--gold-ink);
  align-self: flex-start;
  transition: transform 0.25s var(--ease);
}
.card__more:hover { transform: translateX(3px); }

/* Aperçus tronqués : toutes les cartes d'une rangée gardent la même hauteur. */
.team-card__bio, .testimony__text {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Pages « Équipe » et « Témoignages » ---------- */

.profiles { display: grid; gap: 2.5rem; max-width: 900px; margin-inline: auto; }
.profile {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}
.profile__photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden;
  background: linear-gradient(140deg, var(--navy-3), var(--navy));
  display: grid; place-items: center;
}
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.8rem; }
.profile__body .eyebrow { margin-bottom: 0.5rem; }

.stories { display: grid; gap: 1.6rem; max-width: 820px; margin-inline: auto; }
.story {
  margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow); position: relative;
  scroll-margin-top: 110px;
}
.story::before {
  content: '“'; position: absolute; top: 0.6rem; right: 1.6rem;
  font-family: var(--font-title); font-size: 5rem; line-height: 1;
  color: rgba(var(--accent-rgb), 0.2);
}
.story__who { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.2rem; }
.story__who b { display: block; font-size: 1rem; }
.story__who span { font-size: 0.82rem; color: var(--muted); }
.story__text { font-style: italic; }

/* Élément visé par une ancre : léger halo pour le repérer. */
.profile:target, .story:target {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14), var(--shadow);
}

/* ---------- Bandeau « rejoindre une équipe » ---------- */

.join-band {
  display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; justify-content: space-between;
}
.join-band h2 { color: #fff; margin-bottom: 0.4rem; }
.join-band .lead { margin: 0; }

/* ---------- Article ---------- */

.article { max-width: 760px; margin-inline: auto; }
.article .lead { margin-bottom: 1.5rem; }
.article .btn { margin-top: 2.5rem; }
.btn--dark-outline { color: var(--navy); }

/* ---------- Témoignages ---------- */

.testimonies { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.testimony {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem; position: relative;
}
.testimony::before {
  content: '“'; position: absolute; top: 0.4rem; right: 1.4rem;
  font-family: var(--font-title); font-size: 5rem; color: rgba(var(--accent-rgb), 0.22); line-height: 1;
}
.testimony p { font-size: 0.98rem; font-style: italic; color: var(--ink); }
.testimony__who { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.2rem; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  background: linear-gradient(140deg, var(--navy-3), var(--navy));
  color: #fff; display: grid; place-items: center; font-weight: 700; flex: 0 0 auto;
}
.testimony__who b { display: block; font-size: 0.92rem; }
.testimony__who span { font-size: 0.78rem; color: var(--muted); }

/* ---------- Galerie ---------- */

/* Blocs de la page « Prédications » (un par catégorie). */
.sermon-block + .sermon-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.sermon-block .section-head { margin-bottom: 1.6rem; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.chip {
  padding: 0.5rem 1.1rem; border-radius: 100px;
  border: 1px solid var(--line); background: transparent;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  transition: all 0.25s;
}
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Galerie : albums ---------- */

.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.album-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.album-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.album-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.album-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.album-card:hover .album-card__media img { transform: scale(1.06); }
.album-card__count {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  background: rgba(var(--primary-rgb), 0.82); color: #fff;
  padding: 0.25rem 0.7rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; backdrop-filter: blur(4px);
}
.album-card__body { padding: 1.3rem 1.5rem 1.6rem; }
.album-card__cat {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-ink); font-weight: 700;
}
.album-card h3 { font-size: 1.2rem; margin: 0.35rem 0 0.4rem; }
.album-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Grille des blocs de messages : vignettes plus compactes que les albums. */
.blocks { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.blocks .album-card__media { aspect-ratio: 16/10; display: grid; place-items: center; }
.blocks .album-card__media img,
.blocks .album-card__media > div { grid-area: 1 / 1; }
/* Initiale affichée tant qu'aucune image n'est choisie (l'image la recouvre). */
.block-card__ghost {
  grid-area: 1 / 1; z-index: 0;
  font-family: var(--font-title); font-size: 2.6rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.32); letter-spacing: 0.04em;
}
.blocks .album-card__media img { position: relative; z-index: 1; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.9rem; }
.gallery figure {
  margin: 0; position: relative; border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 1; cursor: zoom-in;
}
.gallery figure:nth-child(6n+1) { grid-column: span 2; aspect-ratio: 2/1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(var(--primary-rgb), 0.9), transparent);
  color: #fff; font-size: 0.85rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: all 0.3s var(--ease);
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }

/* ---------- Actualités ---------- */

.news { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.8rem; }
.post {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__media { aspect-ratio: 16/10; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { padding: 1.5rem 1.6rem 1.8rem; }
.post .date { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
.post h3 { font-size: 1.2rem; margin: 0.5rem 0; }
.post p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.post .more { display: inline-flex; gap: 0.4rem; margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--navy); }
/* Aperçus tronqués : les cartes d'une même rangée gardent la même hauteur. */
.post p, .ministry p, .event p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Dons ---------- */

.give-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.give-methods { display: grid; gap: 1rem; }
.give-method {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm); padding: 1.3rem 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}
.give-method:hover { border-color: rgba(var(--accent-rgb), 0.55); background: rgba(255, 255, 255, 0.09); }
.give-method .ico { font-size: 1.4rem; }
.give-method b { display: block; color: #fff; margin-bottom: 0.2rem; }
.give-method span { font-size: 0.88rem; color: rgba(216, 227, 239, 0.72); }
.verse-box {
  border-left: 3px solid var(--gold); padding-left: 1.2rem;
  font-family: var(--font-title); font-size: 1.15rem; font-style: italic;
  color: rgba(255, 255, 255, 0.9); margin-top: 2rem;
}

/* ---------- Visite / Formulaires ---------- */

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.96rem; }
.check-list li::before {
  content: '✓'; flex: 0 0 auto;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.15); color: var(--gold);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
}

.card-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.8rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.4rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfaf8; font: inherit; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }
.form-intro { font-size: 0.92rem; color: var(--muted); }
.check-inline { display: flex; align-items: center; gap: 0.6rem; }
.check-inline input { width: auto; }
.check-inline label { margin: 0; font-weight: 500; }

.visit-schedule { margin-top: 2rem; display: grid; gap: 0.6rem; }
.visit-schedule__row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.8rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--line);
  font-size: 0.92rem;
}
.visit-schedule__row span { color: var(--gold-ink); font-weight: 700; }

.events--mt { margin-top: 2rem; }
.btn--self { align-self: flex-start; }
.schedule-bar__grid--flat { box-shadow: none; border: 1px solid var(--line); }
.form-ok {
  background: rgba(34, 160, 100, 0.1); border: 1px solid rgba(34, 160, 100, 0.35);
  color: #1c7a4d; border-radius: var(--radius-sm); padding: 0.9rem 1.1rem;
  font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem;
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-list { display: grid; gap: 1.4rem; margin: 2rem 0; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ico {
  width: 44px; height: 44px; border-radius: 13px; flex: 0 0 auto;
  background: rgba(var(--accent-rgb), 0.15); color: var(--gold);
  display: grid; place-items: center; font-size: 1.1rem;
}
.contact-item b { display: block; font-size: 0.95rem; }
.contact-item span, .contact-item a { font-size: 0.92rem; color: var(--muted); }
.contact-item a:hover { color: var(--gold); }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 280px; margin-top: 2rem; }
.map iframe { width: 100%; height: 100%; border: 0; }

.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 0.95rem; transition: all 0.25s;
}
.socials a:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-3px); }

/* ---------- Bandeau CTA ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff; border-radius: var(--radius); padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35), transparent 65%);
  top: -180px; right: -100px;
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 55ch; margin-inline: auto; position: relative; }
.cta-band .btn { margin-top: 1.5rem; position: relative; }

/* ---------- Pied de page ---------- */

.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 4.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer a:hover { color: var(--gold); }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer p { font-size: 0.9rem; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem;
}
/* Accès back-office discret : se fond dans la ligne de copyright. */
.footer__key { color: inherit; cursor: default; }
.footer__key:hover { color: var(--gold-soft); }

.newsletter { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter input {
  flex: 1; padding: 0.75rem 1rem; border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06);
  color: #fff; font: inherit; font-size: 0.88rem;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter input:focus { outline: none; border-color: var(--gold); }

/* ---------- Lightbox / Modale ---------- */

.modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(var(--primary-rgb), 0.86); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.modal.open { display: flex; animation: fade 0.25s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__box {
  background: var(--cream); border-radius: var(--radius);
  max-width: 760px; width: 100%; max-height: 86vh; overflow: auto;
  position: relative; animation: pop 0.35s var(--ease);
}
@keyframes pop { from { transform: translateY(20px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__box img { width: 100%; max-height: 420px; object-fit: cover; }
.modal__body { padding: 2rem 2.2rem 2.5rem; }
.modal__body p { white-space: pre-line; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(var(--primary-rgb), 0.75); color: #fff; font-size: 1.2rem;
}
.modal--image .modal__box { background: transparent; max-width: 1000px; }
.modal--image .modal__box img { border-radius: var(--radius); max-height: 82vh; }

/* ---------- Animations d'apparition ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* ---------- Bouton WhatsApp flottant ---------- */

.fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  font-size: 1.5rem; box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.9);
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: scale(1.08) translateY(-2px); }

.toast {
  position: fixed; left: 50%; bottom: 2rem;
  transform: translate(-50%, 24px);
  background: var(--navy); color: #fff; padding: 0.9rem 1.5rem;
  border-radius: 100px; box-shadow: var(--shadow-lg); z-index: 300;
  font-size: 0.9rem; font-weight: 600;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0.45s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .about-grid, .give-grid, .visit-grid, .contact-grid, .event-featured,
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .profile { grid-template-columns: 1fr; }
  .profile__aside { max-width: 180px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-media__badge { right: 1rem; bottom: -14px; }
  .schedule-bar { margin-top: -40px; }
  .event-featured__media { min-height: 240px; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 2rem, var(--max)); }
  .burger { display: flex; }
  .header__don { display: none; }
  /* Sans backdrop-filter : sinon l'en-tête devient le bloc conteneur du
     tiroir mobile (position:fixed) et le tronque à sa propre hauteur. */
  .header, .header.scrolled { backdrop-filter: none; }
  .header.scrolled { background: rgba(var(--surface-rgb), 0.97); }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    background: var(--navy); flex-direction: column; align-items: flex-start;
    justify-content: flex-start; gap: 1.3rem; padding: 6rem 2.4rem 2.5rem;
    overflow-y: auto;
    transform: translateX(100%); transition: transform 0.45s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.6);
  }
  body.menu-open .nav { transform: none; }
  .header.scrolled .nav a, .nav a { color: #fff; font-size: 1.05rem; }
  .nav__cta { display: inline-flex; margin-top: 0.6rem; }
  .hero { min-height: 92svh; }
  .hero__stats { gap: 1.75rem; }
  .schedule-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .gallery figure:nth-child(6n+1) { grid-column: span 1; aspect-ratio: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Image Firestore en cours de résolution : léger fond le temps du chargement. */
.media-loading { background: linear-gradient(140deg, var(--navy-3), var(--navy)); min-height: 40px; }
