/* =========================================================
   ÉGLISE GRÂCE & VIE — style.css
   Système de design
   Couleurs   : Blanc #FFFFFF · Or #C9A227 · Bleu profond #0B1F3A · Beige #F5F0E6
   Typographie: Display "Cormorant Garamond" / Corps & UI "Jost"
   Signature  : encadrements dorés en coin (motif inspiré des vitraux)
   ========================================================= */

:root {
  /* Couleurs */
  --color-white:      #FFFFFF;
  --color-gold:        #C9A227;
  --color-gold-light:  #E4CE85;
  --color-navy:        #0B1F3A;
  --color-navy-soft:   #12294D;
  --color-beige:       #F5F0E6;
  --color-beige-dark:  #EAE1CC;
  --color-text:        #23262B;
  --color-text-muted:  #5B6270;

  /* Typographie */
  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-black: "Archivo Black", "Archivo", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --font-accent: "Comfortaa", "Segoe UI", sans-serif;
  --font-read: "Jost", "Segoe UI", sans-serif;

  /* Espacements */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Radius / ombres */
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 16px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 31, 58, 0.12);
  --shadow-gold: 0 8px 24px rgba(201, 162, 39, 0.25);

  --container-w: 1180px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; margin: 0; color: var(--color-navy); }
h3, h4 { font-family: var(--font-read); font-weight: 600; letter-spacing: normal; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

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

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-accent);
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn i { width: 18px; height: 18px; }

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--color-gold-light); box-shadow: 0 12px 28px rgba(201, 162, 39, 0.35); }

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--color-white); }

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: var(--color-white); }

/* ---------- Signature : encadrement doré en coin ---------- */
.corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 2px solid var(--color-gold);
  opacity: 0.9;
}
.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-accent);
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.9rem;
}


.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.15; }
.section-sub { font-family: var(--font-read); margin-top: 0.9rem; color: var(--color-text-muted); font-size: 1.05rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  background: rgba(11, 31, 58, 0.0);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding-block: 1.4rem;
}
.site-header.scrolled {
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  padding-block: 0.8rem;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-read); font-size: 1.28rem; color: var(--color-white); font-weight: 500; letter-spacing: -0.005em; }
.brand-text em { font-family: var(--font-accent); font-style: normal; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-gold-light); }

.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav ul { display: flex; gap: 1.9rem; }
.main-nav a {
  color: var(--color-white);
  font-family: var(--font-accent);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--transition);
}
.main-nav ul a:hover::after { width: 100%; }
.main-nav ul a.active-link { color: var(--color-gold-light); }
.main-nav ul a.active-link::after { width: 100%; }
.nav-cta { padding: 0.65rem 1.4rem; font-size: 0.85rem; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  z-index: 600;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.78) 0%, rgba(11,31,58,0.55) 45%, rgba(11,31,58,0.88) 100%);
}

.hero-content { position: relative; z-index: 2; padding-top: 6rem; max-width: 760px; }
.hero-content .eyebrow { color: var(--color-gold-light); }
.hero-content .eyebrow::before { background: var(--color-gold-light); }
.hero h1 {
  font-family: var(--font-black);
  color: var(--color-white);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.hero-lead {
  font-family: var(--font-read);
  color: rgba(255,255,255,0.88);
  font-size: 1.2rem;
  max-width: 560px;
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-frame {
  position: absolute;
  top: calc(var(--banner-h) + 96px);
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  pointer-events: none;
}
.hero-frame .corner { width: 46px; height: 46px; border-width: 1.5px; }
@media (max-width: 640px) {
  .hero-frame { top: calc(var(--banner-h) + 84px); }
}

/* =========================================================
   VERSET DU JOUR
   ========================================================= */
.verse-band { background: var(--color-beige); padding-block: var(--space-xl); }
.verse-card {
  position: relative;
  max-width: 780px;
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--color-beige-dark);
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.verse-label {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.verse-card blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--color-navy);
  line-height: 1.55;
}
.verse-card cite { font-family: var(--font-accent); font-style: normal; font-weight: 600; color: var(--color-text-muted); font-size: 0.85rem; letter-spacing: 0.04em; }

/* =========================================================
   INTRO + HORAIRES
   ========================================================= */
.intro { padding-block: var(--space-2xl); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.intro-text h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.intro-text p { color: var(--color-text-muted); font-size: 1.05rem; margin-bottom: 1.6rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-accent); font-weight: 700; font-size: 0.92rem; color: var(--color-navy); border-bottom: 1px solid var(--color-gold); padding-bottom: 3px; transition: gap var(--transition); }
.link-arrow i { width: 16px; height: 16px; color: var(--color-gold); }
.link-arrow:hover { gap: 0.8rem; }

.schedule-card {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-md);
}
.schedule-card h3 {
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.schedule-card h3 i { width: 18px; height: 18px; color: var(--color-gold); }
.schedule-card ul { display: flex; flex-direction: column; gap: 1.2rem; }
.schedule-card li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.schedule-day { font-weight: 400; color: rgba(255,255,255,0.85); }
.schedule-time { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-gold-light); font-weight: 600; white-space: nowrap; }

/* =========================================================
   À PROPOS
   ========================================================= */
.about { padding-block: var(--space-2xl); background: var(--color-beige); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-bottom: var(--space-xl);
}
.about-grid-2col { grid-template-columns: repeat(2, 1fr); }
.about-block {
  background: var(--color-white);
  padding: 2.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.about-block i { width: 30px; height: 30px; color: var(--color-gold); margin-bottom: 1rem; }
.about-block h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.about-block p { color: var(--color-text-muted); font-size: 0.98rem; }

.values { text-align: center; margin-bottom: var(--space-xl); }
.values-title { font-size: 1.6rem; margin-bottom: 2rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.value-item {
  background: var(--color-white);
  border: 1px solid var(--color-beige-dark);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: border-color var(--transition), transform var(--transition);
}
.value-item:hover { border-color: var(--color-gold); transform: translateY(-4px); }
.value-item i { width: 28px; height: 28px; color: var(--color-navy); }
.value-item span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--color-navy); }

.pastor {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}
.pastor-photo { position: relative; }
.pastor-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; }
.pastor-text h3 { font-size: 1.8rem; margin: 0.4rem 0 1rem; }
.pastor-text p { color: var(--color-text-muted); }

/* =========================================================
   PROGRAMMES
   ========================================================= */
.programs { padding-block: var(--space-2xl); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.program-card {
  background: var(--color-white);
  border: 1px solid var(--color-beige-dark);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}
.program-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: background var(--transition);
}
.program-card:hover .program-icon { background: var(--color-gold); }
.program-icon i { width: 24px; height: 24px; color: var(--color-gold); transition: color var(--transition); }
.program-card:hover .program-icon i { color: var(--color-navy); }
.program-card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.program-card p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1.4rem; min-height: 66px; }
.program-time {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-accent); font-style: normal;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; color: var(--color-navy);
  border-top: 1px solid var(--color-beige-dark); padding-top: 1rem; width: 100%;
}
.program-time i { width: 15px; height: 15px; color: var(--color-gold); }

/* =========================================================
   GALERIE
   ========================================================= */
.gallery { padding-block: var(--space-2xl); background: var(--color-navy); }
.gallery .section-head .eyebrow { color: var(--color-gold-light); }
.gallery .section-head .eyebrow::before { background: var(--color-gold-light); }
.gallery .section-head h2 { color: var(--color-white); }
.gallery .section-sub { color: rgba(255,255,255,0.65); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0) 40%, rgba(11,31,58,0.85) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item figcaption {
  position: absolute;
  left: 1.2rem; bottom: 1rem;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* =========================================================
   SERMONS
   ========================================================= */
.sermons { padding-block: var(--space-2xl); background: var(--color-beige); }

.sermon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}
.sermon-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.sermon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.sermon-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.sermon-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sermon-card:hover .sermon-thumb img { transform: scale(1.06); }

.play-btn {
  position: absolute; inset: 0;
  margin: auto;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(11,31,58,0.75);
  border: 2px solid var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold);
  transition: transform var(--transition), background var(--transition);
}
.play-btn i { width: 24px; height: 24px; margin-left: 3px; }
.play-btn:hover { background: var(--color-gold); color: var(--color-navy); transform: scale(1.08); }

.sermon-body { padding: 1.8rem; display: flex; flex-direction: column; flex-grow: 1; }
.sermon-date { font-family: var(--font-accent); font-style: normal; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-gold); font-weight: 700; }
.sermon-body h3 { font-size: 1.5rem; margin: 0.5rem 0 0.3rem; }
.sermon-topic { font-weight: 500; color: var(--color-navy); margin-bottom: 0.8rem; font-size: 0.98rem; }
.sermon-desc { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.sermon-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.6rem; }
.sermon-meta li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--color-text-muted); }
.sermon-meta i { width: 15px; height: 15px; color: var(--color-gold); }
.sermon-watch { margin-top: auto; align-self: flex-start; }

/* ---------- Modal vidéo ---------- */
.video-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(11,31,58,0.92);
  padding: 1.5rem;
}
.video-modal.active { display: flex; }
.video-modal-inner { width: 100%; max-width: 920px; position: relative; }
.video-modal-frame { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -50px; right: 0;
  background: transparent; border: 1px solid rgba(255,255,255,0.4);
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.video-modal-close:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-navy); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-block: var(--space-2xl); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-xl);
}

.contact-info ul { display: flex; flex-direction: column; gap: 1.6rem; margin-bottom: 2rem; }
.contact-info li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info li i { width: 22px; height: 22px; color: var(--color-gold); margin-top: 3px; flex-shrink: 0; }
.contact-info li strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--color-navy); }
.contact-info li span { color: var(--color-text-muted); font-size: 0.95rem; }

.socials { display: flex; gap: 0.8rem; margin-bottom: 2rem; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.socials a i { width: 18px; height: 18px; }
.socials a:hover { background: var(--color-gold); color: var(--color-navy); transform: translateY(-3px); }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16/10; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.05); }

.contact-form {
  background: var(--color-beige);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--color-navy); letter-spacing: 0.02em; }
.form-row input, .form-row textarea {
  border: 1px solid var(--color-beige-dark);
  background: var(--color-white);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}
.form-row.has-error input, .form-row.has-error textarea { border-color: #C0392B; }
.form-error { font-size: 0.8rem; color: #C0392B; min-height: 1em; }

.form-submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #1E7B4D;
  background: #E6F4EC;
  border: 1px solid #BFE3CC;
  padding: 0.8rem 1rem;
  border-radius: 8px;
}
.form-success.visible { display: flex; }
.form-success i { width: 18px; height: 18px; flex-shrink: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,0.75); padding-block: var(--space-lg) 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.6rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.4rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand strong { display: block; color: var(--color-white); font-family: var(--font-display); font-size: 1.15rem; }
.footer-brand p { font-size: 0.82rem; color: var(--color-gold-light); letter-spacing: 0.08em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { font-family: var(--font-accent); font-style: normal; font-weight: 600; font-size: 0.88rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--color-gold); }
.footer-copy { grid-column: 1 / -1; font-size: 0.8rem; text-align: center; }

/* =========================================================
   BOUTON FLOTTANT
   ========================================================= */
.back-to-top {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 400;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top i { width: 20px; height: 20px; }

/* =========================================================
   ANIMATIONS D'APPARITION AU SCROLL
   ========================================================= */
/* Par défaut, tout le contenu est visible (fonctionne même sans JS).
   C'est le script qui ajoute .reveal-armed juste avant d'observer un
   élément, puis .visible quand il doit apparaître. Si le JS ne se
   charge pas, rien n'est jamais caché. */
.reveal.reveal-armed {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.reveal-armed.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sermon-grid { grid-template-columns: 1fr; }
  .pastor { grid-template-columns: 1fr; }
  .pastor-photo img { max-width: 260px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    height: 100vh;
    background: var(--color-navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6.5rem 2rem 2rem;
    gap: 2.4rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 550;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 1.6rem; }
  .main-nav ul a { font-size: 1.15rem; }
  .nav-cta { align-self: flex-start; }
  .hamburger { display: flex; }

  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --space-2xl: 5rem; --space-xl: 3.2rem; }
  .program-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-nav { justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .back-to-top { right: 1.1rem; bottom: 1.1rem; width: 42px; height: 42px; }

  /* Horaires des cultes : disposition dédiée pour petits appareils */
  .schedule-card { padding: 1.8rem 1.4rem; }
  .schedule-card ul { gap: 0.9rem; }
  .schedule-card li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.07);
    border-left: 3px solid var(--color-gold);
    border-radius: 8px;
  }
  .schedule-day {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
  }
  .schedule-time { font-size: 1.55rem; }
}

/* ---------- Très petits écrans : suppression des derniers débordements ---------- */
@media (max-width: 420px) {
  .container { padding-inline: 1.1rem; }

  .hero-content { padding-top: 5rem; }
  .hero-frame { inset: 10px; }
  .hero-frame .corner { width: 30px; height: 30px; }

  .verse-card { padding: 2rem 1.3rem; }
  .verse-card blockquote { font-size: 1.15rem; }

  .schedule-card { padding: 1.6rem; }
  .schedule-card li { flex-wrap: wrap; gap: 0.3rem; }

  .about-block { padding: 1.6rem; }
  .pastor { padding: 1.6rem; }
  .pastor-photo img { max-width: 200px; }

  .values-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .value-item { padding: 1.4rem 0.6rem; }

  .program-card { padding: 1.6rem 1.3rem; }
  .program-card p { min-height: 0; }

  .sermon-body { padding: 1.4rem; }
  .sermon-meta { gap: 0.8rem; }

  .contact-form { padding: 1.6rem; }
  .contact-info li { align-items: center; }

  .btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }

  .schedule-time, .sermon-body h3, .about-block h3 { word-break: break-word; }
}

/* =========================================================
   BANNIÈRE DE PAGE (sous-pages)
   ========================================================= */
.page-banner {
  position: relative;
  padding-block: 9rem 4rem;
  background: var(--color-navy);
  overflow: hidden;
  color: var(--color-white);
}
.page-banner-media { position: absolute; inset: 0; z-index: 0; }
.page-banner-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-banner-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,0.55) 0%, rgba(11,31,58,0.94) 100%);
}
.page-banner-content { position: relative; z-index: 1; max-width: 680px; }
.page-banner .eyebrow { color: var(--color-gold-light); }
.page-banner h1 {
  font-family: var(--font-black);
  font-weight: 400;
  color: var(--color-white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.page-banner p { font-family: var(--font-read); color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 560px; }

.page-banner-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 64px;
  z-index: 2;
  display: block;
  line-height: 0;
}
@media (max-width: 640px) {
  .page-banner-wave { height: 34px; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.6rem;
}
.breadcrumb a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--color-gold-light); }
.breadcrumb i { width: 14px; height: 14px; }

/* =========================================================
   BANDEAU CTA
   ========================================================= */
.cta-banner {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.28) 0%, transparent 70%);
}
.cta-banner h2 { color: var(--color-white); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 0.6rem; }
.cta-banner p { color: rgba(255,255,255,0.72); max-width: 480px; }
.cta-banner-text { position: relative; z-index: 1; }
.cta-banner .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* Section "voir plus" en fin de bloc de prévisualisation */
.section-more { display: flex; justify-content: center; margin-top: var(--space-lg); }

/* =========================================================
   CARROUSEL "CA FAIT LE BUZZ"
   ========================================================= */
.buzz {
  padding-block: var(--space-xl);
  background: var(--color-beige);
}
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/8;
  min-height: 340px;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: flex-end;
}
.carousel-slide.active { opacity: 1; visibility: visible; z-index: 1; }
.carousel-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,31,58,0.92) 0%, rgba(11,31,58,0.35) 55%, rgba(11,31,58,0.15) 100%);
}
.carousel-slide-content {
  position: relative;
  z-index: 1;
  padding: 2.4rem 2.6rem;
  max-width: 620px;
}
.carousel-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: var(--color-gold);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.carousel-slide-content h3 {
  color: var(--color-white);
  font-family: var(--font-black);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.6rem;
}
.carousel-slide-content p { color: rgba(255,255,255,0.82); margin-bottom: 1.4rem; max-width: 480px; }

.carousel-controls {
  position: absolute;
  z-index: 2;
  bottom: 1.6rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.carousel-arrows { display: flex; gap: 0.6rem; }
.carousel-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.carousel-arrow:hover { background: var(--color-gold); color: var(--color-navy); border-color: var(--color-gold); }
.carousel-arrow i { width: 18px; height: 18px; }

.carousel-dots {
  position: absolute;
  z-index: 3;
  bottom: 1.6rem;
  left: 2rem;
  display: flex;
  gap: 0.5rem;
}
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active { background: var(--color-gold); transform: scale(1.3); }

/* =========================================================
   TIMELINE (histoire de l'église)
   ========================================================= */
.timeline { position: relative; margin: var(--space-lg) 0; padding-left: 2rem; border-left: 2px solid var(--color-beige-dark); }
.timeline-item { position: relative; padding-bottom: 2.2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2.42rem;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-gold);
}
.timeline-year {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  display: block;
}
.timeline-item h4 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.timeline-item p { color: var(--color-text-muted); font-size: 0.95rem; }

/* =========================================================
   ÉQUIPE / LEADERSHIP
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: var(--space-lg);
}
.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; }
.team-card-body { padding: 1.4rem 1.5rem 1.7rem; }
.team-card-body h4 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.team-role { font-family: var(--font-accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-gold); display: block; margin-bottom: 0.7rem; }
.team-card-body p { color: var(--color-text-muted); font-size: 0.9rem; }

/* =========================================================
   FILTRES DE GALERIE
   ========================================================= */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: var(--space-lg);
}
.filter-btn {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.75);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover { border-color: var(--color-gold); color: var(--color-white); }
.filter-btn.active { background: var(--color-gold); color: var(--color-navy); border-color: var(--color-gold); }
.gallery-item.hidden-item { display: none; }

/* =========================================================
   PRÉVISUALISATION DE SECTION (page d'accueil)
   ========================================================= */
.preview-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

/* Nav active (multi-page) */
.main-nav ul a.active-link { color: var(--color-gold-light); }
.main-nav ul a.active-link::after { width: 100%; }

/* =========================================================
   RESPONSIVE — nouveaux composants
   ========================================================= */
@media (max-width: 1020px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cta-banner { flex-direction: column; text-align: center; }
  .cta-banner-text { margin: 0 auto; }
  .carousel-slide-content { padding: 1.8rem; max-width: 100%; }
  .carousel-controls { right: 1.2rem; bottom: 1.2rem; }

  /* Points du carrousel : déplacés en haut-centre de l'image sur mobile et téléphone */
  .carousel-dots {
    top: 1rem;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: rgba(11, 31, 58, 0.55);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    backdrop-filter: blur(3px);
  }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .carousel { aspect-ratio: 4/5.2; min-height: 0; }
  .page-banner { padding-block: 7rem 3rem; }
  .timeline { padding-left: 1.4rem; }
  .timeline-item::before { left: -1.82rem; }
}

/* ---------- Très petits écrans : nouveaux composants (bannières, carrousel, équipe, filtres) ---------- */
@media (max-width: 420px) {
  /* En-tête / logo : évite tout débordement horizontal du header */
  .header-inner { gap: 0.5rem; }
  .brand { gap: 0.5rem; min-width: 0; }
  .brand-mark svg { width: 28px; height: 28px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text em { font-size: 0.52rem; letter-spacing: 0.14em; }
  .nav-cta { padding: 0.55rem 1.1rem; font-size: 0.78rem; }

  /* Bannières de page */
  .page-banner { padding-block: 6rem 2.4rem; }
  .page-banner h1 { font-size: 1.9rem; }
  .page-banner p { font-size: 0.95rem; }
  .breadcrumb { flex-wrap: wrap; font-size: 0.75rem; }

  /* Bandeau CTA */
  .cta-banner { padding: 2rem 1.4rem; }
  .cta-banner h2 { font-size: 1.4rem; }

  /* Carrousel */
  .carousel { aspect-ratio: 4/6; border-radius: var(--radius); }
  .carousel-slide-content { padding: 1.4rem; }
  .carousel-slide-content h3 { font-size: 1.25rem; }
  .carousel-slide-content p { font-size: 0.88rem; margin-bottom: 1rem; }
  .carousel-tag { font-size: 0.66rem; padding: 0.35rem 0.7rem; }
  .carousel-controls { right: 0.9rem; bottom: 0.9rem; gap: 0.6rem; }
  .carousel-arrow { width: 34px; height: 34px; }

  /* Équipe pastorale */
  .team-card-body { padding: 1.2rem 1.3rem 1.4rem; }

  /* Filtres de galerie */
  .gallery-filters { gap: 0.5rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.76rem; }

  /* Timeline */
  .timeline-item h4 { font-size: 1.05rem; }

  /* Sermons */
  .sermon-desc { font-size: 0.9rem; }
}

/* =========================================================
   SYSTÈME DÉMO — AUXILIAIRE WEB AGENCY
   Bandeau, popup, sélecteur de contact, section commerciale, badge
   ========================================================= */
:root {
  --banner-h: 38px;
}
@media (max-width: 640px) {
  :root { --banner-h: 32px; }
}

/* ---------- Bandeau défilant ---------- */
.demo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--banner-h);
  z-index: 1000;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(201,162,39,0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.demo-banner-track {
  display: flex;
  width: max-content;
  animation: demo-marquee 55s linear infinite;
  will-change: transform;
}
.demo-banner-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-gold-light);
  padding-right: 3rem;
}
.demo-banner-item[aria-hidden="true"] { color: var(--color-gold-light); }
@keyframes demo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .demo-banner-track { animation: none; }
  .demo-banner { overflow-x: auto; }
}
@media (max-width: 640px) {
  .demo-banner-item { font-size: 0.68rem; padding-right: 2rem; }
}

/* Décale le header et le contenu du bandeau */
.site-header { top: var(--banner-h); }
.hero-content { padding-top: calc(6rem + var(--banner-h)); }
.page-banner { padding-block: calc(9rem + var(--banner-h)) 4rem; }
@media (max-width: 640px) {
  .page-banner { padding-block: calc(7rem + var(--banner-h)) 3rem; }
}
@media (max-width: 420px) {
  .page-banner { padding-block: calc(6rem + var(--banner-h)) 2.4rem; }
}

/* ---------- Overlays communs (popup démo + sélecteur de contact) ---------- */
.demo-popup-overlay,
.contact-choice-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 58, 0.6);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.contact-choice-overlay { z-index: 2100; }
.demo-popup-overlay.active,
.contact-choice-overlay.active {
  display: flex;
  opacity: 1;
}

.demo-popup,
.contact-choice {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.2rem;
  box-shadow: 0 30px 70px rgba(11,31,58,0.35);
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
}
.demo-popup-overlay.active .demo-popup,
.contact-choice-overlay.active .contact-choice {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.demo-popup-close {
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-beige);
  border: none;
  color: var(--color-navy);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.demo-popup-close:hover { background: var(--color-gold); color: var(--color-navy); }
.demo-popup-close i { width: 18px; height: 18px; }

.demo-popup-kicker {
  font-family: var(--font-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.7rem;
}
.demo-popup h3 { font-size: 1.4rem; margin-bottom: 1rem; padding-right: 1.5rem; }
.demo-popup-text { font-family: var(--font-read); color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.6; }
.demo-popup-actions { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.4rem; }
.demo-popup-actions .btn { width: 100%; justify-content: center; }
.demo-popup-dismiss {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  margin-top: 1rem;
  padding: 0.5rem;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-popup-dismiss:hover { color: var(--color-navy); }

/* ---------- Sélecteur de contact WhatsApp / Email ---------- */
.contact-choice h3 { font-size: 1.25rem; margin-bottom: 0.6rem; padding-right: 1.5rem; }
.contact-choice-text { font-family: var(--font-read); color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 1.5rem; }
.contact-choice-options { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-choice-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-beige-dark);
  background: var(--color-beige);
  text-align: left;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.contact-choice-btn:hover { border-color: var(--color-gold); transform: translateY(-2px); background: var(--color-white); }
.contact-choice-btn i { width: 26px; height: 26px; color: var(--color-navy); flex-shrink: 0; }
.contact-choice-btn .whatsapp-icon { flex-shrink: 0; }
.contact-choice-btn strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--color-navy); margin-bottom: 0.15rem; }
.contact-choice-btn small { display: block; font-family: var(--font-read); font-size: 0.8rem; color: var(--color-text-muted); }
.contact-choice-cancel {
  display: block;
  width: 100%;
  text-align: center;
  background: none;
  border: none;
  margin-top: 1.3rem;
  padding: 0.5rem;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.contact-choice-cancel:hover { color: var(--color-navy); }
.contact-choice-status {
  display: none;
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: #E6F4EC;
  border: 1px solid #BFE3CC;
  color: #1E7B4D;
  font-size: 0.85rem;
  line-height: 1.5;
}
.contact-choice-status.visible { display: block; }

@media (max-width: 420px) {
  .demo-popup, .contact-choice { padding: 1.8rem 1.5rem; }
  .demo-popup h3 { font-size: 1.2rem; }
}

/* ---------- Section commerciale avant le footer ---------- */
.agency-cta { background: var(--color-beige); padding-block: var(--space-2xl); text-align: center; }
.agency-cta-inner { max-width: 640px; margin-inline: auto; }
.agency-cta .eyebrow { justify-content: center; }
.agency-cta h2 { margin-bottom: 1rem; }
.agency-cta-inner > p { font-family: var(--font-read); color: var(--color-text-muted); margin-bottom: 2rem; font-size: 1.02rem; }
.agency-cta-actions { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-text {
  background: none;
  border: none;
  padding: 0.9rem 0.5rem;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.btn-text:hover { color: var(--color-gold); }

/* ---------- Footer : bloc commercial + mention agence ---------- */
.footer-agency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.8rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-agency-text strong { display: block; color: var(--color-white); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.3rem; }
.footer-agency-text p { color: rgba(255,255,255,0.68); font-family: var(--font-read); font-size: 0.9rem; max-width: 420px; }
.footer-powered {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
}
.footer-powered a { color: var(--color-gold-light); font-weight: 600; background: none; border: none; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-powered a:hover { color: var(--color-gold); }

@media (max-width: 640px) {
  .footer-agency { flex-direction: column; text-align: center; }
  .footer-agency-text p { max-width: none; }
}

/* ---------- Badge flottant "Démo" ---------- */
.demo-badge {
  position: fixed;
  left: 1.6rem;
  bottom: 1.6rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--color-navy);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), background var(--transition);
}
.demo-badge:hover { transform: translateY(-2px); background: var(--color-navy-soft); }
.demo-badge i { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .demo-badge { left: 1.1rem; bottom: 1.1rem; padding: 0.55rem 0.9rem; font-size: 0.72rem; }
}
