/* ???????????????????????????????????????????????????????????
   CATH�DRALE SAINT-AUGUSTIN - Syst�me de design complet
   ??????????????????????????????????????????????????????????? */

/* ??? 1. TOKENS ???????????????????????????????????????????? */
:root {
  /* Palette marron - ch�tain chaud (pas trop sombre) */
  --br-950: #1E0A00;
  --br-900: #3A1A05;
  --br-800: #562A0C;
  --br-700: #7A3E15;
  --br-600: #9A5220;
  --br-500: #B46830;
  --br-400: #C87E48;
  --br-300: #D99B68;
  --br-200: #E8BB90;
  --br-100: #F0D4B4;
  --br-50:  #F8EDE0;

  /* Or */
  --gold:     #C8921A;
  --gold-l:   #E8C060;
  --gold-d:   #8B6410;
  --gold-bg:  #FBF3DC;

  /* Neutres chauds */
  --cream:    #FDF6EC;
  --warm-100: #F5EAD8;
  --warm-200: #EADAC4;
  --white:    #FFFFFF;

  /* Texte */
  --text:       #1C0800;
  --text-mid:   #5A2E10;
  --text-muted: #8B5A30;
  --text-inv:   #FDF6EC;

  /* Typographie */
  --font-h: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Espacement */
  --s1:  0.5rem;
  --s2:  1rem;
  --s3:  1.5rem;
  --s4:  2rem;
  --s6:  3rem;
  --s8:  4rem;
  --s12: 6rem;
  --s16: 8rem;

  /* Rayon */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Ombres */
  --shadow-sm: 0 1px 4px rgba(30,10,0,.07);
  --shadow-md: 0 4px 16px rgba(30,10,0,.10);
  --shadow-lg: 0 8px 32px rgba(30,10,0,.16);
  --shadow-xl: 0 16px 48px rgba(30,10,0,.22);

  /* Transitions */
  --t-fast: 0.15s ease;
  --t:      0.3s ease;
  --t-slow: 0.5s ease;

  /* Navbar height */
  --nav-h: 72px;
  --nav-main-h: 72px;
}

/* ??? 2. RESET & BASE ?????????????????????????????????????? */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

ul { list-style: none; }

button { cursor: pointer; font-family: var(--font-b); border: none; background: none; }

input, select, textarea {
  font-family: var(--font-b);
  font-size: 1rem;
}

/* ??? 3. TYPOGRAPHIE ??????????????????????????????????????? */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; font-family: var(--font-b); font-weight: 600; }

p { margin-bottom: var(--s2); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ??? 4. LAYOUT ???????????????????????????????????????????? */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(var(--s4), env(safe-area-inset-left, 0px));
  padding-right: max(var(--s4), env(safe-area-inset-right, 0px));
}

.container--sm  { max-width: 820px; }
.container--md  { max-width: 1000px; }
.container--lg  { max-width: 1400px; }

.section {
  padding-block: var(--s12);
}
.section--sm { padding-block: var(--s8); }
.section--lg { padding-block: var(--s16); }

.section--cream  { background: var(--cream); }
.section--white  { background: var(--white); }
.section--warm   { background: var(--warm-100); }
.section--brown  { background: var(--br-800); color: var(--text-inv); }
.section--dark   { background: var(--br-950); color: var(--text-inv); }

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: var(--s8);
}
.eyebrow,
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s2);
}
.section-header h2 { margin-bottom: var(--s2); }
.section-header .subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}
.section--brown .section-header .subtitle,
.section--dark  .section-header .subtitle {
  color: var(--br-200);
}
.section--brown .section-header h2,
.section--dark  .section-header h2 {
  color: var(--text-inv);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  border-radius: var(--r-full);
  margin: var(--s3) auto 0;
}

/* Grid */
.grid { display: grid; gap: var(--s4); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--auto-sm { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--s2); }
.gap-3 { gap: var(--s3); }
.gap-4 { gap: var(--s4); }

/* ??? 5. NAVBAR ???????????????????????????????????????????? */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 10, 0, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 146, 26, 0.25);
  transition: box-shadow var(--t);
}
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(14,4,0,.5);
}

.navbar__inner {
  height: var(--nav-main-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-left: max(var(--s4), env(safe-area-inset-left, 0px));
  padding-right: max(var(--s4), env(safe-area-inset-right, 0px));
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-shrink: 0;
  text-decoration: none;
}
.navbar__logo {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 2px solid rgba(200, 146, 26, 0.4);
}
.navbar__title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.navbar__title strong {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
}
.navbar__title span {
  font-size: 0.7rem;
  color: var(--gold-l);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Nav links */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

/* Direct link (tab without dropdown) */
.nav-tab__link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--br-100);
  padding: 0.38rem 0.7rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  display: block;
}
.nav-tab__link:hover,
.nav-tab__link.active {
  color: var(--gold-l);
  background: rgba(200, 146, 26, 0.12);
}

/* Tab with dropdown */
.nav-tab {
  position: relative;
}
.nav-tab__btn {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--br-100);
  padding: 0.38rem 0.7rem;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  height: 100%;
  font-family: var(--font-b);
}
.nav-tab__btn i {
  font-size: 0.58rem;
  transition: transform var(--t-fast);
  opacity: 0.7;
}
.nav-tab:hover .nav-tab__btn,
.nav-tab__btn.active {
  color: var(--gold-l);
  background: rgba(200, 146, 26, 0.12);
}
.nav-tab:hover .nav-tab__btn i { transform: rotate(180deg); }

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--br-950);
  border: 1px solid rgba(200,146,26,.22);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--r-md) var(--r-md);
  min-width: 220px;
  padding: 0.4rem 0;
  box-shadow: 0 12px 40px rgba(14,4,0,.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 200;
}
.nav-tab:hover .nav-dropdown,
.nav-tab:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  color: var(--br-100);
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 2px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.nav-dropdown a i {
  color: var(--gold);
  width: 14px;
  text-align: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: rgba(200,146,26,.1);
  color: var(--gold-l);
  border-left-color: var(--gold);
}

/* Quick-access bar */
.navbar__quickbar {
  background: rgba(14,4,0,.75);
  border-top: 1px solid rgba(200,146,26,.18);
  height: 40px;
}
.navbar__quickbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 max(var(--s4), env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  height: 100%;
}
.navbar__quickbar a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  color: rgba(253,246,236,.65);
  font-size: 0.72rem;
  font-weight: 500;
  height: 100%;
  border-right: 1px solid rgba(200,146,26,.12);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.navbar__quickbar a:last-child { border-right: none; margin-left: auto; }
.navbar__quickbar a:hover { color: var(--gold-l); background: rgba(200,146,26,.09); }
.navbar__quickbar a i { color: var(--gold); font-size: 0.68rem; }

/* Mobile drawer panels / sections */
.navbar__drawer-section {
  padding: var(--s2) var(--s4) 0;
}
.navbar__drawer-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 var(--s2) var(--s1);
  border-bottom: 1px solid rgba(200,146,26,.2);
  margin-bottom: 0.3rem;
}

/* Social */
.navbar__social {
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.navbar__social a {
  width: 34px; height: 34px;
  border-radius: var(--r-full);
  background: rgba(200, 146, 26, 0.15);
  color: var(--gold-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: background var(--t-fast), transform var(--t-fast);
}
.navbar__social a:hover {
  background: var(--gold);
  color: var(--br-900);
  transform: translateY(-2px);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: rgba(200, 146, 26, 0.15);
  transition: background var(--t-fast);
}
.navbar__toggle:hover { background: rgba(200, 146, 26, 0.25); }
.navbar__toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gold-l);
  border-radius: var(--r-full);
  transition: transform var(--t), opacity var(--t);
}

/* Mobile menu overlay */
.navbar__drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}
.navbar__drawer.open {
  pointer-events: all;
}
.navbar__drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 4, 0, 0.7);
  opacity: 0;
  transition: opacity var(--t);
}
.navbar__drawer.open .navbar__drawer-overlay { opacity: 1; }

.navbar__drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 90vw);
  background: var(--br-900);
  transform: translateX(100%);
  transition: transform var(--t);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: var(--nav-main-h) 0 var(--s8);
}
.navbar__drawer.open .navbar__drawer-panel { transform: translateX(0); }

.navbar__drawer-nav {
  display: flex;
  flex-direction: column;
  padding: var(--s3) var(--s4);
  gap: var(--s1);
}
.navbar__drawer-nav a {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.75rem var(--s2);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--br-100);
  transition: background var(--t-fast), color var(--t-fast);
  border-bottom: 1px solid rgba(200,146,26,.08);
}
.navbar__drawer-nav a:hover,
.navbar__drawer-nav a.active {
  background: rgba(200, 146, 26, 0.12);
  color: var(--gold-l);
}
.navbar__drawer-social {
  padding: var(--s3) var(--s4) 0;
  display: flex;
  gap: var(--s2);
}

/* Body offset for fixed navbar */
body { padding-top: var(--nav-h); }

/* ??? 6. HERO CAROUSEL ????????????????????????????????????? */
.hero {
  position: relative;
  height: min(90vh, 720px);
  overflow: hidden;
  background: var(--br-950);
}

.carousel { position: relative; width: 100%; height: 100%; }

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ?? Ken Burns - 5 variantes cin�matiques ???????????????? */
.kb-img { will-change: transform; transform-origin: center; }
@keyframes kb-center { from { transform: scale(1)    translate(0, 0);       } to { transform: scale(1.22) translate(0, 0);       } }
@keyframes kb-left   { from { transform: scale(1.02) translate(0, 0);       } to { transform: scale(1.22) translate(-6%, 3%);    } }
@keyframes kb-right  { from { transform: scale(1.02) translate(0, 0);       } to { transform: scale(1.22) translate(6%, -2%);    } }
@keyframes kb-pan-l  { from { transform: scale(1.18) translate(5%, 1%);     } to { transform: scale(1.18) translate(-5%, -1%);   } }
@keyframes kb-pan-r  { from { transform: scale(1.18) translate(-5%, -1%);   } to { transform: scale(1.18) translate(5%, 1%);     } }

/* Gradient overlay */
.carousel__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 4, 0, 0.72) 0%,
    rgba(50, 18, 0, 0.55) 50%,
    rgba(14, 4, 0, 0.40) 100%
  );
}

.carousel__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-left: max(var(--s8), env(safe-area-inset-left, 0px));
  padding-right: max(var(--s8), env(safe-area-inset-right, 0px));
}

.carousel__text {
  max-width: 680px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.carousel__slide.active .carousel__text {
  opacity: 1;
  transform: translateY(0);
}

.carousel__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: var(--s2);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(232, 192, 96, 0.4);
  border-radius: var(--r-full);
}

.carousel__title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--s3);
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.carousel__desc {
  font-size: 1.1rem;
  color: rgba(253, 246, 236, 0.88);
  line-height: 1.7;
  margin-bottom: var(--s6);
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

/* Carousel controls */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px; height: 50px;
  border-radius: var(--r-full);
  background: rgba(253, 246, 236, 0.15);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(253, 246, 236, 0.25);
  transition: background var(--t-fast), transform var(--t-fast);
}
.carousel__btn:hover { background: rgba(200, 146, 26, 0.7); transform: translateY(-50%) scale(1.05); }
.carousel__btn--prev { left: var(--s4); }
.carousel__btn--next { right: var(--s4); }

/* Dots */
.carousel__dots {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--s2);
  z-index: 3;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: var(--r-full);
  background: rgba(253, 246, 236, 0.4);
  cursor: pointer;
  transition: background var(--t-fast), width var(--t-fast);
  border: none;
}
.carousel__dot.active {
  background: var(--gold-l);
  width: 28px;
}

/* ??? 7. BOUTONS ??????????????????????????????????????????? */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  border: 2px solid transparent;
}
.btn:active { transform: scale(0.98); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold), #E0A830);
  color: var(--br-900);
  box-shadow: 0 4px 16px rgba(200, 146, 26, 0.35);
}
.btn--gold:hover {
  background: linear-gradient(135deg, #E0A830, var(--gold));
  box-shadow: 0 6px 24px rgba(200, 146, 26, 0.5);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(253, 246, 236, 0.6);
}
.btn--outline:hover {
  background: rgba(253, 246, 236, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--brown {
  background: var(--br-600);
  color: var(--cream);
}
.btn--brown:hover {
  background: var(--br-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }
.btn--lg { padding: 0.9rem 2.2rem; font-size: 1rem; }

/* ??? 8. CARDS ????????????????????????????????????????????? */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--warm-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: var(--s4);
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-d);
  background: var(--gold-bg);
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s2);
}

.card__title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--s2);
  color: var(--text);
}

.card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--s3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card__meta i { color: var(--gold); }

.card__footer {
  padding: var(--s3) var(--s4);
  border-top: 1px solid var(--warm-100);
  display: flex;
  justify-content: flex-end;
}

/* Service card */
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s6) var(--s4);
  border-radius: var(--r-lg);
  background: rgba(253, 246, 236, 0.06);
  border: 1px solid rgba(200, 146, 26, 0.2);
  transition: background var(--t), transform var(--t), border-color var(--t);
  text-decoration: none;
  color: var(--text-inv);
}
.service-card:hover {
  background: rgba(200, 146, 26, 0.15);
  border-color: var(--gold);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 68px; height: 68px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--gold), #E0A830);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--br-900);
  margin-bottom: var(--s3);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(200, 146, 26, 0.35);
}

.service-card__title {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: var(--s1);
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--br-200);
  line-height: 1.6;
}

/* Stat card */
.stat-card {
  text-align: center;
  padding: var(--s6) var(--s4);
}
.stat-card__num {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--s1);
}
.stat-card__label {
  font-size: 0.9rem;
  color: var(--br-200);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

/* ??? 9. FORMULAIRES ??????????????????????????????????????? */
.form-group {
  margin-bottom: var(--s3);
}

.form-label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.form-label.required::after {
  content: ' *';
  color: #C0392B;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--warm-200);
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 146, 26, 0.15);
}
.form-control::placeholder { color: var(--br-200); }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* Radio / Checkbox */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s2);
  cursor: pointer;
}
.form-check input[type="radio"],
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check label { cursor: pointer; font-size: 0.95rem; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Alerts */
.alert {
  padding: var(--s3) var(--s4);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  margin-bottom: var(--s3);
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
}
.alert--success { background: #EBF7F2; color: #1F6B4E; border-left: 4px solid #1F6B4E; }
.alert--error   { background: #FDF0EE; color: #C0392B; border-left: 4px solid #C0392B; }
.alert--warning { background: #FEFBE8; color: #9A7D0A; border-left: 4px solid #9A7D0A; }
.alert--info    { background: #EBF0FB; color: #1E4A8B; border-left: 4px solid #1E4A8B; }

/* File upload */
.file-upload-wrapper {
  border: 2px dashed var(--warm-200);
  border-radius: var(--r-md);
  padding: var(--s4);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.file-upload-wrapper:hover {
  border-color: var(--gold);
  background: var(--gold-bg);
}
.file-upload-wrapper input[type="file"] { display: none; }
.file-upload-wrapper .file-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: var(--s2);
}
.file-upload-wrapper p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ??? 10. FAQ / ACCORDION ?????????????????????????????????? */
.accordion { border-radius: var(--r-md); overflow: hidden; }

.accordion__item {
  border-bottom: 1px solid var(--warm-200);
}
.accordion__item:last-child { border-bottom: none; }

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) var(--s4);
  background: var(--white);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast), color var(--t-fast);
  gap: var(--s3);
}
.accordion__btn:hover { background: var(--warm-100); }
.accordion__btn.active { color: var(--br-600); background: var(--warm-100); }

.accordion__icon {
  width: 28px; height: 28px;
  border-radius: var(--r-full);
  background: var(--warm-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold-d);
  font-size: 0.8rem;
  transition: transform var(--t), background var(--t);
}
.accordion__btn.active .accordion__icon {
  transform: rotate(45deg);
  background: var(--gold-bg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion__body.open {
  max-height: 500px;
}
.accordion__body-inner {
  padding: 0 var(--s4) var(--s4);
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ??? 11. MASS SCHEDULE ???????????????????????????????????? */
.mass-grid { display: grid; gap: var(--s3); }

.mass-card {
  background: var(--white);
  border: 1px solid var(--warm-200);
  border-radius: var(--r-md);
  padding: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.mass-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.mass-card__day {
  min-width: 80px;
  text-align: center;
  padding: var(--s2);
  background: linear-gradient(135deg, var(--br-700), var(--br-800));
  color: var(--cream);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.mass-card__day strong {
  display: block;
  font-family: var(--font-h);
  font-size: 1.1rem;
  color: var(--gold-l);
}
.mass-card__day small { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; }

.mass-card__info { flex: 1; min-width: 0; }
.mass-card__time {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--br-600);
  font-family: var(--font-h);
}
.mass-card__label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mass-card__type {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
  background: var(--warm-100);
  color: var(--br-600);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ??? 12. CLERGY CARDS ????????????????????????????????????? */
.clergy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 290px));
  gap: var(--s4);
  justify-content: center;
}

.clergy-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--warm-200);
  border-top: 3px solid var(--gold);
  text-align: center;
  transition: box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}
.clergy-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.clergy-card__img-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--warm-100);
  flex-shrink: 0;
}

.clergy-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.clergy-card:hover .clergy-card__img { transform: scale(1.03); }

.clergy-card__initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  background: linear-gradient(160deg, var(--warm-100) 0%, var(--warm-200) 100%);
  letter-spacing: 0.06em;
}

.clergy-card__body {
  padding: var(--s3) var(--s3) var(--s4);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.clergy-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s1);
}

.clergy-card__name {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s2);
  line-height: 1.3;
}

.clergy-card__divider {
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto var(--s2);
  border-radius: var(--r-full);
}

.clergy-card__bio {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* ??? 12b. MOT DU CUR� ????????????????????????????????????? */
.cure-section {
  background: var(--white);
  padding: var(--s10) 0;
  border-top: 1px solid var(--warm-200);
  border-bottom: 1px solid var(--warm-200);
}
.cure-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s8);
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
}
.cure-photo-wrap { position: relative; }
.cure-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.cure-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--warm-100);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cure-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 8px -8px -8px 8px;
  border: 2px solid var(--gold);
  border-radius: var(--r-lg);
  z-index: -1;
  opacity: 0.4;
}
.cure-content__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-d);
  margin-bottom: var(--s2);
}
.cure-content__name {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--text);
  margin-bottom: var(--s3);
}
.cure-content__quote {
  color: var(--text-mid);
  line-height: 1.8;
  font-size: 0.96rem;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: var(--s3);
  margin-bottom: var(--s4);
}
@media (max-width: 700px) {
  .cure-card { grid-template-columns: 1fr; gap: var(--s4); }
  .cure-photo-wrap::after { display: none; }
  .cure-photo { aspect-ratio: 1/1; max-width: 200px; }
}

/* ??? 13. PAGE HERO (banner statique) ?????????????????????? */
.page-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--br-800);
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.page-hero__content {
  position: relative;
  z-index: 1;
  padding-left: max(var(--s8), env(safe-area-inset-left, 0px));
}
.page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: var(--s2);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

/* ??? 13b. HERO PHOTO-SPLIT (style demande.php) ??????????? */
.ph {
  position: relative;
  height: clamp(280px, 45vw, 400px);
  overflow: hidden;
  background: #E8D9C4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph__right {
  position: absolute;
  right: 0; top: 0;
  height: 100%; width: 70%;
  object-fit: cover;
  object-position: center 30%;
  mask-image: linear-gradient(to left, rgba(0,0,0,.85) 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.85) 30%, transparent 100%);
}
.ph__left {
  position: absolute;
  left: 0; bottom: 0;
  height: 115%; width: auto;
  max-width: 52%;
  object-fit: contain;
  object-position: bottom left;
  mask-image: linear-gradient(to right, rgba(0,0,0,.95) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.95) 50%, transparent 100%);
  z-index: 1;
}
/* Warm centre overlay */
.ph::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 100% at 52% 50%,
    rgba(232,217,196,.6) 0%,
    rgba(232,217,196,.15) 65%,
    transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.ph__content {
  position: relative; z-index: 3;
  text-align: center;
  padding: 0 max(1.5rem, env(safe-area-inset-left, 0px));
}
.ph__eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #C8921A; margin-bottom: .4rem;
}
.ph__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700; color: #2D1200; line-height: 1;
  margin: 0 0 .7rem;
  text-shadow: 0 2px 20px rgba(232,217,196,.6);
}
.ph__rule {
  width: 48px; height: 3px;
  background: #C8921A; border-radius: 2px;
  margin: 0 auto .8rem;
}
.ph__tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(.88rem, 1.8vw, 1.05rem);
  color: #4A2800; line-height: 1.55; margin: 0;
  text-shadow: 0 1px 8px rgba(232,217,196,.8);
}
@media (max-width: 540px) {
  .ph { height: clamp(240px, 60vw, 320px); }
  .ph__left { max-width: 60%; }
  .ph__right { width: 75%; }
}

/* ??? 13c. MOT DU CUR� (accueil + clerg�) ????????????????? */
.mc-section {
  background: var(--white);
  padding: 5rem 0;
  border-top: 1px solid var(--warm-200);
}
.mc-inner {
  max-width: 900px; margin: 0 auto;
  padding: 0 max(var(--s4), env(safe-area-inset-left, 0px));
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--s8);
  align-items: center;
}
.mc-photo-wrap { position: relative; }
.mc-photo {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: top center;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.mc-photo-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: var(--warm-100); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
}
.mc-photo-wrap::after {
  content: '';
  position: absolute; inset: 10px -10px -10px 10px;
  border: 2px solid var(--gold); border-radius: var(--r-lg);
  z-index: -1; opacity: .45;
}
.mc-eyebrow {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-d); margin-bottom: var(--s2);
}
.mc-name {
  font-family: var(--font-h);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text); margin-bottom: var(--s3);
}
.mc-divider {
  width: 44px; height: 3px;
  background: var(--gold); border-radius: 2px;
  margin-bottom: var(--s4);
}
.mc-quote {
  font-family: var(--font-h);
  font-style: italic;
  font-size: .96rem; color: var(--text-mid);
  line-height: 1.85;
  border-left: 3px solid var(--gold);
  padding-left: var(--s4);
  margin: 0 0 var(--s4);
}
.mc-depuis {
  font-size: .82rem; color: var(--text-muted);
}
@media (max-width: 680px) {
  .mc-inner { grid-template-columns: 1fr; gap: var(--s6); }
  .mc-photo-wrap { max-width: 180px; margin: 0 auto; }
  .mc-photo-wrap::after { display: none; }
  .mc-quote { font-size: .9rem; }
}

/* ??? 14. TIMELINE ????????????????????????????????????????? */
.timeline { position: relative; padding-left: var(--s8); }
.timeline::before {
  content: '';
  position: absolute;
  left: var(--s3);
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--br-300));
  border-radius: var(--r-full);
}

.timeline__item {
  position: relative;
  margin-bottom: var(--s8);
}
.timeline__item:last-child { margin-bottom: 0; }

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--s8) + var(--s3) - 6px);
  top: 6px;
  width: 12px; height: 12px;
  border-radius: var(--r-full);
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px rgba(200, 146, 26, 0.3);
  flex-shrink: 0;
}

.timeline__year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-d);
  background: var(--gold-bg);
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s2);
}

.timeline__title {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--s2);
}

.timeline__content {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ??? 15. ANNONCES ????????????????????????????????????????? */
.announce-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--s4);
  border: 1px solid var(--warm-200);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.announce-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.announce-card__date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-d);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--s1);
}

.announce-card__title {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--s2);
}

.announce-card__body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ??? 16. TRAVAUX ?????????????????????????????????????????? */
.work-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--warm-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.work-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.work-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.work-card__body { padding: var(--s4); }

.work-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-full);
  margin-bottom: var(--s2);
}
.work-card__status--ongoing { background: #FEF3EC; color: #C05621; }
.work-card__status--done    { background: #EBF7F2; color: #1F6B4E; }
.work-card__status--planned { background: #EBF0FB; color: #1E4A8B; }

.work-card__status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.progress-bar {
  height: 6px;
  background: var(--warm-200);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-top: var(--s2);
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  border-radius: var(--r-full);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ??? 17. WHATSAPP FLOAT ??????????????????????????????????? */
.whatsapp-float {
  position: fixed;
  bottom: max(var(--s6), env(safe-area-inset-bottom, 0px));
  right: max(var(--s4), env(safe-area-inset-right, 0px));
  z-index: 500;
  width: 56px; height: 56px;
  border-radius: var(--r-full);
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}

/* ??? 18. FOOTER ??????????????????????????????????????????? */
.footer {
  background: linear-gradient(160deg, var(--br-950) 0%, var(--br-900) 100%);
  color: var(--br-100);
  padding-top: var(--s12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s8);
  padding-left: max(var(--s4), env(safe-area-inset-left, 0px));
  padding-right: max(var(--s4), env(safe-area-inset-right, 0px));
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: var(--s8);
  border-bottom: 1px solid rgba(200, 146, 26, 0.15);
}

.footer__brand { display: flex; flex-direction: column; gap: var(--s3); }

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
}
.footer__logo img {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 2px solid rgba(200, 146, 26, 0.4);
}
.footer__logo strong {
  font-family: var(--font-h);
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.2;
}
.footer__logo span {
  font-size: 0.65rem;
  color: var(--gold-l);
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--br-200);
  line-height: 1.65;
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: var(--s2);
  margin-top: var(--s1);
}
.footer__social a {
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  background: rgba(200, 146, 26, 0.12);
  color: var(--gold-l);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  border: 1px solid rgba(200, 146, 26, 0.2);
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer__social a:hover {
  background: var(--gold);
  color: var(--br-900);
  transform: translateY(-3px);
}

.footer__col h4 {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: var(--s3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid rgba(200, 146, 26, 0.2);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.footer__links a {
  font-size: 0.88rem;
  color: var(--br-200);
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__links a:hover { color: var(--gold-l); padding-left: 4px; }
.footer__links a i { font-size: 0.7rem; color: var(--gold); flex-shrink: 0; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  margin-bottom: var(--s2);
}
.footer__contact-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer__contact-item p {
  font-size: 0.88rem;
  color: var(--br-200);
  margin: 0;
  line-height: 1.5;
}
.footer__contact-item a { color: var(--gold-l); transition: color var(--t-fast); }
.footer__contact-item a:hover { color: var(--white); }

.footer__schedule-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(200,146,26,.1);
  font-size: 0.85rem;
}
.footer__schedule-item:last-child { border-bottom: none; }
.footer__schedule-item span:first-child { color: var(--br-200); }
.footer__schedule-item span:last-child  { color: var(--gold-l); font-weight: 600; }

.footer__bottom {
  padding: var(--s4) max(var(--s4), env(safe-area-inset-left, 0px));
  text-align: center;
  font-size: 0.82rem;
  color: var(--br-300);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
}

/* ??? 19. BREADCRUMB ??????????????????????????????????????? */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-block: var(--s3);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold-d); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--br-600); }
.breadcrumb .sep { color: var(--br-200); }
.breadcrumb .current { color: var(--text-mid); font-weight: 500; }

/* ??? 20. PAGINATION ??????????????????????????????????????? */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--s1);
  margin-top: var(--s8);
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1.5px solid var(--warm-200);
  color: var(--text-mid);
  background: var(--white);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.pagination a:hover, .pagination .active {
  background: var(--br-600);
  border-color: var(--br-600);
  color: var(--white);
}

/* ??? 21. UTILITIES ???????????????????????????????????????? */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-gold   { color: var(--gold); }
.text-brown  { color: var(--br-600); }
.text-muted  { color: var(--text-muted); }
.text-white  { color: var(--white); }
.text-cream  { color: var(--cream); }

.bg-brown    { background: var(--br-800); }
.bg-cream    { background: var(--cream); }
.bg-white    { background: var(--white); }

.mt-1 { margin-top: var(--s1); }
.mt-2 { margin-top: var(--s2); }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }

.mb-2 { margin-bottom: var(--s2); }
.mb-3 { margin-bottom: var(--s3); }
.mb-4 { margin-bottom: var(--s4); }
.mb-6 { margin-bottom: var(--s6); }
.mb-8 { margin-bottom: var(--s8); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }

.divider {
  border: none;
  border-top: 1px solid var(--warm-200);
  margin: var(--s6) 0;
}

/* Gold separator */
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  border-radius: var(--r-full);
  margin: var(--s2) auto;
}

/* ??? 22. MODAL ???????????????????????????????????????????? */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(14, 4, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t);
  box-shadow: var(--shadow-xl);
}
.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal__header {
  padding: var(--s4) var(--s6);
  border-bottom: 1px solid var(--warm-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}
.modal__header h3 { font-size: 1.25rem; }

.modal__close {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--warm-100);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal__close:hover { background: var(--br-100); color: var(--br-700); }

.modal__body { padding: var(--s4) var(--s6); }
.modal__footer {
  padding: var(--s3) var(--s6) var(--s4);
  display: flex;
  justify-content: flex-end;
  gap: var(--s2);
  border-top: 1px solid var(--warm-200);
}

/* ??? 23. INSCRIPTIONS (multi-step) ???????????????????????? */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--s8);
  overflow-x: auto;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s1);
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--warm-200);
  z-index: 0;
}
.step.done::after { background: var(--gold); }

.step__num {
  width: 36px; height: 36px;
  border-radius: var(--r-full);
  background: var(--warm-200);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1;
  transition: background var(--t), color var(--t);
  min-width: 36px;
}
.step.active .step__num {
  background: var(--br-600);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(107, 42, 12, 0.35);
}
.step.done .step__num {
  background: var(--gold);
  color: var(--br-900);
}

.step__label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.step.active .step__label { color: var(--br-600); }
.step.done .step__label   { color: var(--gold-d); }

.form-step { display: none; }
.form-step.active { display: block; }

/* ??? 24. ANIMATIONS ??????????????????????????????????????? */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 146, 26, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(200, 146, 26, 0); }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease both; }
.animate-fade-in    { animation: fadeIn 0.5s ease both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ??? 25. RESPONSIVE ??????????????????????????????????????? */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  :root { --nav-h: 72px; }
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex; }
  .navbar__drawer { display: block; }
  .navbar__quickbar { display: none; }
}

@media (max-width: 860px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero    { height: min(70vh, 580px); }
  .section { padding-block: var(--s8); }
  .section--lg { padding-block: var(--s12); }
  .carousel__content { padding-left: var(--s4); padding-right: var(--s4); }
  .carousel__btn { width: 40px; height: 40px; font-size: 0.9rem; }
  .carousel__btn--prev { left: var(--s2); }
  .carousel__btn--next { right: var(--s2); }
}

@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .grid--4,
  .grid--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero { height: min(65vh, 480px); }
  .carousel__title { font-size: 1.8rem; }
  .carousel__desc  { display: none; }
  .page-hero { height: 220px; }
  .page-hero h1 { font-size: 1.8rem; }
  .step__label { display: none; }
  .modal { border-radius: var(--r-lg); }
  .modal__body, .modal__header, .modal__footer {
    padding-left: var(--s4);
    padding-right: var(--s4);
  }
}


/* ??? 14. PROGRAMME DES MESSES - Poster Vierge Marie ???????? */

.pm-poster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(520px, 60vw, 720px);
  overflow: hidden;
}
.pm-poster__mary {
  position: relative;
  background: linear-gradient(160deg, #E8D9C4 0%, #F2E9DC 40%, #EFE4D3 70%, #E8D9C4 100%);
  overflow: hidden;
}
.pm-poster__mary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.pm-poster__info {
  background: #2D1200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  color: #fff;
}
.pm-poster__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.pm-poster__parish {
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C8A88A;
  line-height: 1.7;
  margin: 0;
}
.pm-poster__parish strong {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
}
.pm-poster__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.pm-poster__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pm-poster__title em {
  font-style: normal;
  color: #C8921A;
}
.pm-poster__divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.75rem;
}
.pm-poster__divider::before,
.pm-poster__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(200,146,26,.5);
}
.pm-poster__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C8921A;
  flex-shrink: 0;
}
.pm-schedule {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pm-schedule__row {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .7rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pm-schedule__row:last-child { border-bottom: none; }
.pm-schedule__day {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
}
.pm-schedule__times {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #C8921A;
  line-height: 1.3;
}
.pm-schedule__sub {
  display: block;
  font-size: .85em;
  margin-top: .1rem;
}

@media (max-width: 680px) {
  .pm-poster { grid-template-columns: 1fr; min-height: auto; }
  .pm-poster__mary { height: 50vw; min-height: 240px; }
  .pm-poster__info { padding: 2rem max(1.25rem, env(safe-area-inset-left, 0px)); }
  .pm-poster__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .pm-schedule__times { font-size: 1.1rem; }
}