/*
  Impact Centre Chrétien — Guyane
  Design system du prototype homepage.
  Palette dérivée du site réel (impactcentrechretien.com, accent #56195b)
  et de la charte visuelle Canva de l'église (dégradé magenta -> orange -> or,
  logo "Famille d'Impact", campagnes tropicales Guyane).
*/

/* Polices chargées dynamiquement depuis Google Fonts par inc/customizer.php
   (icc_enqueue_google_fonts), selon le choix fait dans Personnaliser >
   Réglages de marque > Typographie. Poppins/Inter par défaut. */

:root {
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-display-weight: 800;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body-weight: 400;

  /* Couleurs de marque (issues du site + du Canva ICC Guyane) */
  --magenta-dark: #3a0f3f;
  --magenta: #56195b;
  --purple: #7d2fa3;
  --violet: #9b51e0;
  --orange: #ff6900;
  --gold: #fcb900;

  --gradient-brand: linear-gradient(125deg, var(--magenta-dark) 0%, var(--magenta) 28%, var(--purple) 52%, var(--orange) 82%, var(--gold) 100%);
  --gradient-brand-soft: linear-gradient(160deg, hsla(291, 55%, 22%, 0.92) 0%, hsla(281, 60%, 33%, 0.9) 45%, hsla(30, 100%, 55%, 0.85) 100%);

  /* Neutres chauds (pas de gris froid) */
  --cream: #fdf8f3;
  --cream-deep: #f7ede1;
  --ink: #211018;
  --ink-soft: #5b4a53;
  --ink-muted: #8c7b83;
  --white: #ffffff;

  --border: hsla(291, 30%, 20%, 0.12);
  --border-strong: hsla(291, 30%, 20%, 0.2);

  --success: #2f7d4f;
  --error: #c1443a;

  --shadow-sm: 0 2px 10px -4px hsla(291, 50%, 15%, 0.18);
  --shadow-md: 0 14px 30px -12px hsla(291, 50%, 15%, 0.28);
  --shadow-lg: 0 24px 50px -18px hsla(291, 50%, 15%, 0.38);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: var(--font-body-weight);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; font-size: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--font-display-weight); line-height: 1.15; letter-spacing: -0.01em; }
*:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: 1.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange);
}
.text-gradient {
  background: linear-gradient(120deg, var(--magenta) 10%, var(--purple) 50%, var(--orange) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.subtitle { color: var(--ink-soft); font-size: 1.1rem; max-width: 600px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--orange), var(--gold));
  color: var(--magenta-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.6); color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }
.btn-ghost {
  border: 2px solid var(--border-strong); color: var(--magenta);
}
.btn-ghost:hover { background: var(--cream-deep); transform: translateY(-3px); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition), top var(--transition);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* La barre d'administration WordPress (#wpadminbar) est fixe avec un z-index
   très élevé (99999) : sans ce décalage, elle recouvre le header sticky
   (visible pour les utilisateurs connectés uniquement). */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .mobile-nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .mobile-nav { top: 46px; }
}
.site-header.is-scrolled {
  background: hsla(35, 45%, 98%, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 0.7rem 0;
}
.logo { display: flex; align-items: center; }
.logo-img {
  height: 52px; width: auto; display: block;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.3));
  transition: filter var(--transition);
}
.site-header.is-scrolled .logo-img { filter: none; }
.site-header .logo:focus-visible {
  outline: none; border-radius: var(--radius-sm);
  box-shadow: 0 0 0 3px hsla(0, 0%, 100%, 0.5);
}
.site-header.is-scrolled .logo:focus-visible { box-shadow: 0 0 0 3px hsla(291, 45%, 20%, 0.35); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.75rem; }
.main-nav a {
  font-weight: 600; font-size: 0.92rem; color: var(--white); opacity: 0.9;
  position: relative; padding-bottom: 2px;
}
.site-header.is-scrolled .main-nav a { color: var(--ink-soft); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--orange); transition: right var(--transition);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { right: 0; }

.main-nav a.nav-countdown {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem; border-radius: var(--radius-full);
  background: linear-gradient(120deg, var(--orange), var(--gold)); color: var(--white);
  opacity: 1; font-weight: 700; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition);
}
.main-nav a.nav-countdown::after { content: none; }
.main-nav a.nav-countdown::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--white); flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6); animation: pulse 2s infinite;
}
.main-nav a.nav-countdown:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nav-countdown-label { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.66rem; opacity: 0.85; }
.nav-countdown-time { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 0.85rem; display: inline-block; min-width: 6.5ch; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle { color: var(--white); }
.site-header.is-scrolled .nav-toggle { color: var(--ink); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: var(--gradient-brand); color: var(--white);
  padding-top: 6rem;
}
.hero-photo {
  position: absolute; top: 0; bottom: 0; left: -20%; right: -20%;
  pointer-events: none; will-change: transform;
}
.hero-photo-layer {
  position: absolute; inset: 0;
  background-image: url('../img/boissy-hero.jpg');
  background-size: cover; background-position: center 32%;
}
.hero-photo-layer--blur {
  filter: blur(16px) brightness(0.6) saturate(1.05);
  transform: scale(1.1);
}
.hero-photo-layer--sharp {
  filter: brightness(0.78) contrast(1.03);
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, transparent 14%, rgba(0,0,0,0.85) 27%,
    #000 34%, #000 70%, rgba(0,0,0,0.85) 76%, transparent 88%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, transparent 14%, rgba(0,0,0,0.85) 27%,
    #000 34%, #000 70%, rgba(0,0,0,0.85) 76%, transparent 88%, transparent 100%);
}

.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  object-fit: cover; object-position: center 32%;
  filter: brightness(0.78) contrast(1.03);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, hsla(291, 55%, 10%, 0.85) 0%, hsla(291, 50%, 14%, 0.45) 40%, hsla(281, 45%, 16%, 0.2) 62%, hsla(291, 55%, 10%, 0.55) 100%),
    linear-gradient(to top, hsla(291, 60%, 8%, 0.65) 0%, transparent 42%);
}

.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: 0.05; pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 3px 3px;
}

.hero-cast {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none; will-change: transform;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero-cast img {
  display: block; height: 40%; width: auto;
  filter: drop-shadow(-22px 18px 32px rgba(20,8,20,0.5));
}
@media (max-width: 960px) {
  .hero-cast { display: none; }
}

.hero-content { position: relative; z-index: 2; }
.hero-content .eyebrow { color: var(--gold); }
.hero-title { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin: 1rem 0 1.5rem; max-width: 16ch; }
.text-gradient-cta {
  background: linear-gradient(120deg, var(--orange), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lede { font-size: 1.2rem; color: hsla(0,0%,100%,0.88); max-width: 44ch; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: hsla(0,0%,100%,0.75);
  z-index: 2;
}
.scroll-cue::after {
  content: ''; width: 1px; height: 34px; background: linear-gradient(hsla(0,0%,100%,0.9), transparent);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); transform-origin: top; opacity: 1; } 60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }

/* En-tête des pages standards (hors accueil) — voir template-parts/page-hero.php */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--magenta-dark);
  background-size: cover; background-position: center 38%;
  color: var(--white);
  padding: 9rem 0 3.5rem;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, hsla(291, 55%, 8%, 0.55) 0%, hsla(291, 60%, 6%, 0.82) 100%),
    linear-gradient(100deg, hsla(291, 55%, 10%, 0.35) 0%, transparent 55%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  max-width: 20ch; margin-inline: auto;
  color: var(--white);
}
@media (max-width: 640px) {
  .page-hero { min-height: 32vh; padding: 7.5rem 0 2.5rem; }
}

/* Contenu éditorial des pages standards (Gutenberg) — hiérarchie et rythme
   cohérents avec le reste du site, sans rien à faire côté éditeur. */
.page-content { max-width: 760px; margin-inline: auto; }
.page-content > * + * { margin-top: 1.25rem; }
.page-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 3rem; color: var(--ink); }
.page-content h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-top: 2.25rem; color: var(--ink); }
.page-content > h2:first-child, .page-content > h3:first-child { margin-top: 0; }
.page-content p { color: var(--ink-soft); line-height: 1.7; font-size: 1.05rem; }
.page-content strong { color: var(--ink); font-weight: 700; }
.page-content ul, .page-content ol { padding-left: 1.3rem; color: var(--ink-soft); line-height: 1.7; }
.page-content li + li { margin-top: 0.5rem; }
.page-content li::marker { color: var(--purple); }
.page-content a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--orange); }
.page-content blockquote { border-left: 4px solid var(--purple); padding-left: 1.25rem; font-style: italic; color: var(--ink-soft); }
.page-content img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.page-content hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* Photo placeholder (à remplacer par de vraies photos) */
.photo-placeholder {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: hsla(0,0%,100%,0.85); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  padding: 1.5rem; min-height: 220px; background: var(--gradient-brand-soft);
  box-shadow: var(--shadow-md);
}
.photo-placeholder span { opacity: 0.8; max-width: 20ch; }
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lecteur vidéo ICC Online (façade YouTube) */
.video-embed { padding: 0; }
.video-embed-trigger {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none; padding: 0; margin: 0;
  cursor: pointer; background: none; display: block; font: inherit;
}
.video-embed-trigger img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.72); transition: filter var(--transition); }
.video-embed-trigger:hover img, .video-embed-trigger:focus-visible img { filter: brightness(0.58); }
.video-embed-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(120deg, var(--orange), var(--gold));
  color: var(--magenta-dark); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; padding-left: 4px; box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.video-embed-trigger:hover .video-embed-play, .video-embed-trigger:focus-visible .video-embed-play { transform: translate(-50%, -50%) scale(1.08); }
.video-embed-caption {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem;
  color: var(--white); font-weight: 700; font-size: 0.85rem; text-align: left;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Section générique */
section { position: relative; }
.section-pad { padding: 6rem 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
#eglises .section-head { width: 100%; max-width: none; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); margin: 0.75rem 0 1rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Bandeau chiffres */
.stats-strip {
  background: var(--ink); color: var(--white); padding: 2.5rem 0;
}
.stats-strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); background: linear-gradient(120deg, var(--gold), var(--orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.8rem; color: hsla(0,0%,100%,0.65); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.35rem; }

/* Mission */
.mission-section { padding: 5rem 0; }
.mission-block { max-width: 680px; margin-inline: auto; text-align: center; }
.mission-block .eyebrow { justify-content: center; }
.mission-quote {
  margin: 1rem 0 1.5rem; padding: 0; border: none;
  font-family: var(--font-display); font-weight: 800; font-style: normal;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem); line-height: 1.35; letter-spacing: -0.01em;
  color: var(--ink);
}
.mission-quote-mark {
  font-family: var(--font-display); font-size: 1.4em; font-weight: 800;
  line-height: 0; vertical-align: -0.28em; margin-right: 0.1em; display: inline-block;
}
.mission-text { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.65; }

/* Grid utilitaires */
.grid { display: grid; gap: 1.75rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Cartes églises */
#eglises .grid-3 { grid-template-columns: repeat(3, 1fr); }
.church-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.church-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.church-card-body { padding: 1.75rem; display: flex; flex-direction: column; }
.church-card-media { overflow: hidden; }
.church-card-media img {
  width: 100%; height: auto; display: block;
  filter: grayscale(1); transition: filter 0.5s ease;
}
.church-card:hover .church-card-media img { filter: grayscale(0); }
.church-card .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-sm); margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--magenta), var(--purple)); color: var(--white); font-size: 1.1rem;
}
.church-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.church-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.9rem; }
.church-card a { display: inline-block; margin-top: auto; font-weight: 700; font-size: 0.85rem; color: var(--purple); }
.church-card a:hover { color: var(--orange); }

/* Localisateur d'église interactif */
.church-finder {
  display: grid; grid-template-columns: 1.3fr 1fr;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 3rem;
}
.church-finder-map-wrap { position: relative; min-height: 420px; background: var(--ink); isolation: isolate; }
.church-finder-map { position: absolute; inset: 0; }
.church-finder-geo {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1rem; border-radius: var(--radius-full);
  background: var(--white); color: var(--ink); font-weight: 700; font-size: 0.82rem;
  box-shadow: var(--shadow-md); border: none; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.church-finder-geo:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.church-finder-geo.is-loading { opacity: 0.7; pointer-events: none; }

.church-finder-panel { padding: 2rem; display: flex; flex-direction: column; justify-content: center; background: var(--cream); }
.church-finder-intro p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
.church-finder-intro strong { color: var(--ink); }

.church-finder-error {
  background: hsla(4, 80%, 55%, 0.08); border: 1px solid hsla(4, 80%, 55%, 0.3);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; font-size: 0.82rem;
  color: hsl(4, 70%, 38%); line-height: 1.5; margin-bottom: 1rem;
}

.church-finder-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--purple); background: hsla(281, 45%, 45%, 0.1); padding: 0.3rem 0.7rem; border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.church-finder-card h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.church-finder-address { font-size: 0.88rem; color: var(--ink-soft); white-space: pre-line; margin-bottom: 0.3rem; }
.church-finder-distance { font-size: 0.8rem; font-weight: 700; color: var(--purple); margin-bottom: 1rem; }

.church-finder-hint { font-size: 0.78rem; color: var(--ink-muted); font-style: italic; margin-bottom: 0.5rem; }
.church-finder-times { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; }
.church-finder-time-pill {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-full);
  background: var(--white); border: 1.5px solid var(--border-strong);
  font-size: 0.82rem; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: all var(--transition);
}
.church-finder-time-pill:hover { border-color: var(--purple); }
.church-finder-time-pill.is-selected {
  background: linear-gradient(120deg, var(--orange), var(--gold)); color: var(--magenta-dark);
  border-color: transparent; box-shadow: var(--shadow-sm);
}
.church-finder-time-pill.is-locked { cursor: default; }

.church-finder-field { margin-bottom: 1.25rem; }
.church-finder-field label {
  display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 0.4rem;
}
.church-finder-field label span { text-transform: none; font-weight: 500; letter-spacing: 0; opacity: 0.7; }
.church-finder-field input {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); font-family: inherit; font-size: 0.92rem;
  background: var(--white); color: var(--ink); transition: border-color var(--transition);
}
.church-finder-field input:focus { outline: none; border-color: var(--purple); }

.church-finder-cta { width: 100%; opacity: 0.45; }
.church-finder-cta:not(:disabled) { opacity: 1; }
.church-finder-cta:disabled { cursor: not-allowed; }

/* Leaflet — habillage aux couleurs de la marque */
/* Fond des tuiles pas encore chargées (#ddd par défaut chez Leaflet) — sombre
   pour se fondre dans le thème le temps que les tuiles CartoDB arrivent,
   plutôt que de faire des zones grises visibles sur fond sombre. */
.church-finder-map.leaflet-container { background: var(--ink); }

.church-finder-map .leaflet-popup-content-wrapper { background: var(--ink); color: var(--white); border-radius: var(--radius-sm); }
.church-finder-map .leaflet-popup-tip { background: var(--ink); }
.church-finder-map .leaflet-popup-content { font-family: var(--font-body); font-size: 0.85rem; margin: 0.6rem 0.8rem; }
.church-finder-map .leaflet-popup-close-button { color: var(--white) !important; }
.icc-pin {
  background: var(--purple); border: 3px solid var(--white); border-radius: 50% 50% 50% 0;
  width: 30px; height: 30px; transform: rotate(-45deg); box-shadow: var(--shadow-sm);
  transition: transform 0.2s, background 0.2s;
}
.icc-pin.is-active { background: var(--orange); transform: rotate(-45deg) scale(1.25); }
.icc-pin-dot { position: absolute; inset: 5px; background: var(--white); border-radius: 50%; }
.icc-pin.is-active .icc-pin-dot { background: var(--magenta-dark); }
.icc-user-dot {
  width: 16px; height: 16px; background: #3b82f6; border: 3px solid var(--white); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(59,130,246,0.3); animation: cfPulse 2s infinite;
}
@keyframes cfPulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}
@media (max-width: 900px) {
  .church-finder { grid-template-columns: 1fr; }
  .church-finder-map-wrap { min-height: 300px; }
}

/* Section Famille d'Impact */
.impact-section {
  background: var(--cream-deep);
  overflow: hidden;
  position: relative;
}
.impact-section::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-color: var(--cream-deep);
  background-image: url('../img/famille-impact.jpeg');
  background-size: cover; background-position: center 30%;
  background-blend-mode: overlay;
  filter: grayscale(1);
  opacity: 1;
}
.impact-section > .container { position: relative; z-index: 1; }
.impact-section .grid-2 { align-items: center; gap: 3rem; }
.impact-card {
  border-radius: var(--radius-lg); padding: 2.5rem;
  position: relative; z-index: 1;
}
.impact-card .eyebrow { color: var(--magenta); }
.impact-card h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 0.75rem 0 1rem; }
.impact-schedule {
  display: flex; align-items: center; gap: 0.75rem; margin: 1.5rem 0;
  padding: 0.85rem 1.1rem; background: var(--cream-deep); border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.9rem; color: var(--magenta);
}
.impact-visual { border-radius: var(--radius-lg); min-height: 380px; padding: 0; }

/* Pasteurs */
#presentation.section-pad { padding-bottom: 0; }
.pastor-visual {
  position: relative; min-height: 420px; align-self: stretch;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.pastor-visual img {
  display: block;
  filter: drop-shadow(0 18px 26px rgba(33,16,24,0.35));
}
.pastor-visual.reveal { transform: translateX(-70px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.pastor-visual.reveal.active { transform: translateX(0); }
.pastor-card {
  display: flex; gap: 1.5rem; align-items: center;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.pastor-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.pastor-card .role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.35rem; display: block; }
.pastor-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* Témoignages */
.temoignages-carousel { position: relative; display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.temoignages-viewport { overflow: hidden; flex: 1; }
.temoignages-track { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
@media (prefers-reduced-motion: reduce) {
  .temoignages-track { transition: none; }
}

.temoignage-card {
  flex: 0 0 100%;
  max-width: 620px; margin-inline: auto;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 2.75rem 2.5rem 2rem; text-align: center; position: relative;
}
.temoignage-quote-mark {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  line-height: 1; display: block; margin-bottom: 0.25rem;
}
.temoignage-text { font-size: 1.05rem; line-height: 1.7; color: var(--ink); margin-bottom: 1.25rem; }
.temoignage-audio { width: 100%; max-width: 420px; margin: 0 auto 1.25rem; display: block; }
.temoignage-stars { color: var(--orange); letter-spacing: 0.15em; font-size: 1.05rem; margin-bottom: 0.6rem; }
.temoignage-author { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

.temoignages-nav {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-size: 1.5rem; line-height: 1; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.temoignages-nav:hover { background: var(--cream-deep); transform: translateY(-2px); }

.temoignages-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
.temoignages-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: background var(--transition), transform var(--transition); }
.temoignages-dot.is-active { background: var(--orange); transform: scale(1.35); }

.temoignages-cta { text-align: center; margin-top: 3rem; }
.temoignage-form-message { font-weight: 600; margin-bottom: 1.25rem; }
.temoignage-form-message--ok { color: var(--success); }
.temoignage-form-message--erreur { color: var(--error); }

.temoignage-form { display: none; flex-direction: column; gap: 1.1rem; max-width: 560px; margin: 1.75rem auto 0; text-align: left; }
.temoignage-form:not([hidden]) { display: flex; }
.temoignage-form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.temoignage-form label, .temoignage-form legend { font-weight: 600; font-size: 0.88rem; padding: 0; }
.temoignage-form input[type="text"], .temoignage-form textarea, .temoignage-form input[type="file"] {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 0.75rem 1rem; background: var(--white);
}
.temoignage-form textarea { resize: vertical; }
.icc-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.temoignage-rating { border: none; padding: 0; margin: 0; }
.temoignage-rating-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.15rem; width: fit-content; }
.temoignage-rating-stars input { position: absolute; opacity: 0; pointer-events: none; }
.temoignage-rating-stars label { cursor: pointer; font-size: 1.6rem; line-height: 1; color: var(--border-strong); transition: color var(--transition); }
.temoignage-rating-stars input:checked ~ label,
.temoignage-rating-stars label:hover,
.temoignage-rating-stars label:hover ~ label { color: var(--orange); }

@media (max-width: 640px) {
  .temoignage-card { padding: 2.25rem 1.5rem 1.75rem; }
  .temoignages-nav { width: 38px; height: 38px; font-size: 1.3rem; }
}

/* Programmes / événements */
.programs-section { background: var(--ink); color: var(--white); overflow: hidden; }
.programs-section .section-head p { color: hsla(0,0%,100%,0.7); }
.program-card {
  border-radius: var(--radius-md); overflow: hidden; position: relative;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.75rem; box-shadow: var(--shadow-md); isolation: isolate;
}
.program-card::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
}
.program-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.35) 45%, transparent 85%);
}
.program-card--evangelisation::before {
  background-image: url('../img/khayil-2026.jpg');
  background-size: cover; background-position: center 20%;
}
.program-card--camp::before {
  background-image: url('../img/summer-camp.jpg');
  background-size: cover; background-position: center 30%;
}
.program-card--solidaire::before {
  background-image: url('../img/nuit-exaucement.jpg');
  background-size: cover; background-position: center 30%;
}
.program-tag {
  align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: hsla(0,0%,100%,0.18); padding: 0.35rem 0.75rem; border-radius: var(--radius-full); margin-bottom: auto;
}
.program-card h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.program-card p { font-size: 0.88rem; color: hsla(0,0%,100%,0.85); }

/* Plateformes / servir */
.platform-card {
  text-align: center; padding: 2rem 1.25rem; border-radius: var(--radius-md);
  background: var(--white); border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.platform-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--cream-deep), var(--white)); border: 1px solid var(--border);
}
.platform-icon img { width: 100%; height: 100%; object-fit: cover; }
.platform-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.platform-card p { font-size: 0.85rem; color: var(--ink-soft); }

/* ICC Online */
.online-section {
  background: linear-gradient(160deg, var(--magenta-dark), var(--magenta) 60%, var(--purple));
  color: var(--white);
}
.online-section .grid-2 { align-items: center; gap: 3rem; }
.online-section .eyebrow { color: var(--gold); }
.online-section h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0.75rem 0 1rem; }
.online-section p { color: hsla(0,0%,100%,0.85); }
.live-dot {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; color: var(--gold);
}
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,105,0,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,105,0,0.55); } 70% { box-shadow: 0 0 0 12px rgba(255,105,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,105,0,0); } }

/* Dons CTA */
.donate-section {
  background: linear-gradient(120deg, var(--orange), var(--gold));
  color: var(--magenta-dark); text-align: center;
}
.donate-section h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
.donate-section p { color: hsla(291, 50%, 15%, 0.75); max-width: 560px; margin: 0 auto 2rem; }
.donate-section .btn-primary { background: var(--ink); color: var(--white); }

/* CSA - signalement (sobre, accessible, non sensationnaliste) */
.csa-bar {
  background: var(--cream-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.csa-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.csa-bar p { font-size: 0.92rem; color: var(--ink-soft); max-width: 52ch; }
.csa-bar strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: hsla(0,0%,100%,0.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid ul li { margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-widget { font-size: 0.9rem; }
.footer-widget + .footer-widget { margin-top: 1.25rem; }
.footer-widget h5 { color: var(--white); font-size: 0.8rem; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.footer-widget p { margin-bottom: 0.6rem; }
.footer-brand .logo-img--footer { height: 62px; filter: drop-shadow(0 0 6px rgba(255,255,255,0.18)); }
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; max-width: 32ch; color: hsla(0,0%,100%,0.6); }
.social-row { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: hsla(0,0%,100%,0.08); border: 1px solid hsla(0,0%,100%,0.15);
  transition: background var(--transition), border-color var(--transition);
}
.social-row a:hover { background: var(--gradient-brand); border-color: transparent; }
.social-row svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.footer-bottom {
  border-top: 1px solid hsla(0,0%,100%,0.1); padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem;
}
.footer-bottom ul { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--gold); }

/* Responsive */
@media (max-width: 960px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  #eglises .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .impact-section .grid-2 { gap: 2rem; }
  .section-pad { padding: 4.5rem 0; }
  #presentation.section-pad { padding-bottom: 4.5rem; }
  .pastor-visual { min-height: 0; justify-content: center; }
  .pastor-visual img { height: auto; width: 72%; max-width: 320px; }
  #eglises .grid-3 { grid-template-columns: 1fr; }
  .nav-countdown-label { display: none; }
  .main-nav a.nav-countdown { padding: 0.5rem 0.75rem; }
}

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 190; background: var(--gradient-brand);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--white); }
.mobile-nav .btn { margin-top: 1rem; }
