/* ═══════════════════════════════════════════════════════
   PALLOTTINS DU CAMEROUN — Province Très-Sainte-Trinité
   Design System · v2
═══════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --deep:       #07345f;
  --navy:       #0b4b84;
  --sky:        #1266a6;
  --sky-lt:     #e8f2fb;
  --gold:       #d4a537;
  --gold-dk:    #b98b22;
  --gold-lt:    #fdf4e0;
  --ink:        #1a2535;
  --muted:      #4e6070;
  --subtle:     #8a9bac;
  --surface:    #f4f7fb;
  --border:     #dbe5f0;
  --white:      #ffffff;

  --sh-sm:  0 2px 8px rgba(7,52,95,.08);
  --sh:     0 8px 32px rgba(7,52,95,.12);
  --sh-lg:  0 24px 64px rgba(7,52,95,.16);

  --r-sm:  6px;
  --r:     12px;
  --r-lg:  20px;

  --ease: cubic-bezier(.22,.68,0,1.2);
  --ease-plain: cubic-bezier(.4,0,.2,1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { display: block; max-width: 100%; }
a  { color: inherit; }
p  { margin: 0 0 1rem; }
address { font-style: normal; }

.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;
}

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  line-height: 1.15;
  color: var(--deep);
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 600; }
h4 { font-size: 0.95rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ── Utility ───────────────────────────────────────── */
.section-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dk);
  background: var(--gold-lt);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.section-sub {
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-sub--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 11px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease-plain), background .15s;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--sh); }
.btn:active { transform: translateY(0); }

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

.btn-gold {
  color: var(--deep);
  background: var(--gold);
  border-color: var(--gold);
}
.btn-gold:hover { background: #e8b93a; border-color: #e8b93a; }

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

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

.btn-facebook {
  color: var(--white);
  background: #1877f2;
  border-color: #1877f2;
  font-size: 0.88rem;
}
.btn-facebook:hover { background: #0d6ae0; }

.btn-youtube {
  color: var(--white);
  background: #ff0000;
  border-color: #ff0000;
  font-size: 0.88rem;
}
.btn-youtube:hover { background: #d90000; }

.btn-full { width: 100%; }
.btn--mt  { margin-top: 1.5rem; }

/* ── Section Layout ────────────────────────────────── */
.section {
  padding: clamp(72px, 9vw, 112px) clamp(16px, 5vw, 72px);
}
.section-alt {
  background: var(--surface);
}
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(16px, 5vw, 72px);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(219,229,240,.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-emblem {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
}

.brand-emblem img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(7,52,95,.18));
  transition: transform .2s var(--ease);
}

.brand:hover .brand-emblem img {
  transform: scale(1.06);
}

.brand-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep);
  font-family: 'Playfair Display', serif;
}
.brand-text small {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
}
.main-nav a:hover {
  background: var(--sky-lt);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--deep);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(4, 20, 40, 0.92) 0%,
    rgba(7, 52, 95, 0.82) 55%,
    rgba(7, 52, 95, 0.70) 100%
  );
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(212,165,55,.14) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 90%, rgba(18,102,166,.12) 0%, transparent 55%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 clamp(16px, 5vw, 48px);
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255,255,255,.4);
  border-bottom: 2px solid rgba(255,255,255,.4);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: .6; }
  50%       { transform: rotate(45deg) translateY(5px); opacity: 1; }
}

/* ── Page Hero (inner pages) ───────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--deep), var(--navy));
  color: var(--white);
  padding: 3rem clamp(16px, 5vw, 72px) 2.5rem;
}
.page-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: .75rem;
}
.page-hero .hero-lead { margin: 0 auto 0 0; text-align: left; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gold); }

/* ── CTA band (shared) ─────────────────────────────── */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  background: var(--deep);
  border-radius: var(--r-lg);
  padding: 2.5rem 3rem;
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: .5rem; font-size: 1.8rem; }
.cta-band p  { color: rgba(255,255,255,.75); margin: 0; max-width: 500px; }

/* ── Quicklink cards (home teasers, reuse .oeuvre look) ── */
a.oeuvre { text-decoration: none; }

/* ── Stats Bar ─────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--deep);
  color: var(--white);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,.65);
  font-weight: 400;
}

/* ── Intro Section ─────────────────────────────────── */
.intro-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,.72fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 2rem;
}

.intro-main h2 {
  margin-bottom: 1.5rem;
}

.intro-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

/* ── Message Panel ─────────────────────────────────── */
.message-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--r);
  box-shadow: var(--sh);
  padding: 2rem;
  position: sticky;
  top: 96px;
}

.msg-cross {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: .75rem;
  display: block;
}

.msg-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dk);
  margin-bottom: .5rem;
}

.message-panel h3 {
  font-size: 1.4rem;
  color: var(--deep);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.message-panel blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}
.message-panel blockquote p {
  color: var(--muted);
  font-style: italic;
  font-size: 0.96rem;
  margin: 0;
}

.msg-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.msg-footer strong {
  font-size: 0.9rem;
  color: var(--deep);
}
.msg-footer span {
  font-size: 0.8rem;
  color: var(--subtle);
}

/* ── Comprimé Spirituel (vidéo du jour) ─────────────── */
.comprime-du-jour {
  background: linear-gradient(135deg, var(--deep), var(--navy));
  padding: clamp(28px, 4vw, 48px) clamp(16px, 5vw, 72px);
}
.comprime-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.comprime-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(0,0,0,.25);
  box-shadow: var(--sh-lg);
}
.comprime-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.comprime-video-loading,
.comprime-video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
}
.comprime-video-empty a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}
.comprime-video-empty a:hover { color: var(--white); }

.comprime-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: .9rem;
}
.comprime-date {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
  margin: 0 0 .4rem;
  text-transform: capitalize;
}
.comprime-du-jour h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--white);
  margin-bottom: .9rem;
  line-height: 1.25;
}
.comprime-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  margin-bottom: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.comprime-footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}
.comprime-footer strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
}
.comprime-footer span {
  font-size: 0.78rem;
  color: rgba(255,255,255,.6);
}
.comprime-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}
.comprime-link:hover { color: var(--white); }

@media (max-width: 900px) {
  .comprime-inner { grid-template-columns: 1fr; }
}

/* ── Cards 3-col ───────────────────────────────────── */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease-plain);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.card-featured {
  border-top: 4px solid var(--gold);
  background: linear-gradient(160deg, #fff 60%, var(--gold-lt));
}

.card-icon-top .card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--sky-lt);
  color: var(--navy);
  border-radius: var(--r-sm);
  margin-bottom: 1.25rem;
}
.card-featured .card-icon-wrap {
  background: var(--gold-lt);
  color: var(--gold-dk);
}
.card-icon-wrap.card-icon-img {
  overflow: hidden;
  padding: 0;
}
.card-icon-wrap.card-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 { margin-bottom: .75rem; }
.card p  { color: var(--muted); font-size: .94rem; margin: 0; }

.card-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: gap .15s;
}
.card-more:hover { text-decoration: underline; }

/* ── Timeline ──────────────────────────────────────── */
.history-layout {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 2rem;
}

.history-text p {
  color: var(--muted);
  font-size: 0.96rem;
}
.history-text strong { color: var(--deep); }

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--border));
  border-radius: 2px;
}

.tl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px 24px;
  padding: 0 0 2rem 1.75rem;
  position: relative;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-highlight::before {
  background: var(--deep);
  box-shadow: 0 0 0 2px var(--deep);
}
.tl-item:last-child { padding-bottom: 0; }

.tl-date time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dk);
  letter-spacing: .02em;
  display: block;
  padding-top: 4px;
}

.tl-body h3 {
  font-size: 1rem;
  margin-bottom: .4rem;
  color: var(--deep);
}
.tl-highlight .tl-body h3 { color: var(--navy); }
.tl-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Province Grid ─────────────────────────────────── */
.province-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  margin-top: 2rem;
}

.province-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.province-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

.province-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: .75rem;
}

.province-card h3 {
  font-size: 1.05rem;
  margin-bottom: .75rem;
}
.province-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
.province-card strong { color: var(--deep); }

/* ── Œuvres Grid ───────────────────────────────────── */
.oeuvres-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 2rem;
}

.oeuvre {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.oeuvre:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh);
}

.oeuvre-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sky-lt);
  color: var(--navy);
  border-radius: var(--r-sm);
}

.oeuvre-text h3 {
  font-size: 0.98rem;
  margin-bottom: .4rem;
}
.oeuvre-text p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Actualités / News ─────────────────────────────── */
.news-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.news-header h2 { margin-bottom: .25rem; }
.news-header p  { color: var(--muted); margin: 0; font-size: .94rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}

.filter {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter:hover { background: var(--sky-lt); color: var(--navy); border-color: var(--sky); }
.filter.is-active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }

.post-card-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.post-card-cat {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-dk);
  background: var(--gold-lt);
  border-radius: 999px;
}
.post-card-date {
  font-size: 0.78rem;
  color: var(--subtle);
}

.post-card h3 {
  font-size: 1.05rem;
  margin-bottom: .6rem;
  line-height: 1.3;
  flex: 0 0 auto;
}
.post-card p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
  line-height: 1.6;
}
.post-card a {
  margin-top: 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.post-card a:hover { text-decoration: underline; }

.post-empty {
  grid-column: 1 / -1;
  padding: 2.5rem;
  text-align: center;
  color: var(--subtle);
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--r);
  font-size: 0.94rem;
}

/* ── Vocations ─────────────────────────────────────── */
.vocations-section {
  background: var(--deep);
  color: var(--white);
}
.vocations-section .section-tag {
  color: var(--gold);
  background: rgba(212,165,55,.15);
  border-left-color: var(--gold);
}
.vocations-section h2 { color: var(--white); }
.vocations-section .section-sub--left { color: rgba(255,255,255,.7); }
.vocations-section p  { color: rgba(255,255,255,.75); }

.vocations-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 2rem;
}

.steps-title {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255,255,255,.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 12px;
  transition: background .2s;
}
.step:hover { background: rgba(255,255,255,.1); }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.2ch;
}

.step-body strong {
  display: block;
  font-size: 0.96rem;
  color: var(--white);
  margin-bottom: .4rem;
}
.step-body p {
  font-size: 0.86rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.6;
}

/* ── Missions Grid ─────────────────────────────────── */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
  margin-top: 2rem;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.mission-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }

.mission-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .75rem;
}
.mission-card h3 { margin-bottom: .75rem; font-size: 1.1rem; }
.mission-card p  { color: var(--muted); font-size: 0.88rem; margin: 0; line-height: 1.65; }

/* ── Gallery ───────────────────────────────────────── */
.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  grid-template-rows: 240px 240px;
  gap: 14px;
}

.gallery-item { margin: 0; }
.gi-large { grid-column: span 2; }
.gi-tall  { grid-row: span 2; }

.gallery-media {
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--deep);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s var(--ease-plain);
}

.gallery-media:hover img {
  transform: scale(1.06);
}

/* Bulletin newsletter — keep aspect natural with padding */
.gi-bulletin {
  background: #f0f4f8;
}
.gi-bulletin img {
  object-fit: contain;
  padding: .5rem;
}

/* Logo item — centered on soft background */
.gi-logo-bg {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-logo-img {
  width: 70% !important;
  height: auto !important;
  object-fit: contain !important;
  padding: 1rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.3));
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(4,20,40,.72) 0%, transparent 52%);
  opacity: 0;
  transition: opacity .25s var(--ease-plain);
}
.gallery-media:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .04em;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.gallery-item figcaption {
  margin-top: .6rem;
  font-size: 0.82rem;
  color: var(--subtle);
  padding: 0 4px;
  line-height: 1.4;
}

/* ── Contact ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: 2rem;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-block h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--border);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--muted);
}
.contact-row a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.contact-row a:hover { text-decoration: underline; }

.contact-ico {
  flex-shrink: 0;
  color: var(--gold-dk);
}

.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--sky-lt);
  color: var(--navy);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, transform .2s var(--ease);
}
.social-link:hover { background: #c7ddf5; transform: translateX(4px); }

.contact-vocation {
  background: var(--deep);
  color: var(--white);
  border-radius: var(--r);
  padding: 2rem;
}
.contact-vocation h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: .75rem;
}
.contact-vocation p  {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2.5rem;
  box-shadow: var(--sh);
}
.contact-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--deep);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(18,102,166,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--subtle); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Message panel with photo ─────────────────────── */
.msg-photo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.msg-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Saint Vincent Pallotti card photo ────────────── */
.card-pallotti-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  margin-bottom: 1.25rem;
}
.card-pallotti-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── Conseil Provincial ───────────────────────────── */
.conseil-section { background: var(--surface); }

.conseil-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.conseil-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem 1rem;
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
  min-width: 0;
}
.conseil-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
}
.conseil-card-lead {
  border-top: 4px solid var(--gold);
}

.conseil-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.conseil-card-lead .conseil-photo {
  width: 110px;
  height: 110px;
  border-color: var(--gold);
}
.conseil-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.conseil-info {
  width: 100%;
}
.conseil-info h3 {
  font-size: .88rem;
  line-height: 1.3;
  margin-bottom: .4rem;
  color: var(--deep);
  overflow-wrap: break-word;
  word-break: break-word;
}
.conseil-role {
  display: inline-block;
  padding: 2px 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-dk);
  background: var(--gold-lt);
  border-radius: 999px;
}

/* ── Gallery header with 2 buttons ───────────────── */
.gallery-header-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,.65);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem clamp(16px, 5vw, 72px) 3rem;
}

.footer-logo {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.1);
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  color: rgba(255,255,255,.7);
}
.footer-brand strong { color: var(--white); }
.footer-motto {
  font-size: 0.84rem;
  color: rgba(255,255,255,.45) !important;
}
.footer-motto em { color: rgba(255,255,255,.6); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-family: 'Inter', sans-serif;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-col nav a {
  font-size: 0.86rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s, padding-left .15s;
}
.footer-col nav a:hover { color: var(--white); padding-left: 4px; }
.footer-col address p {
  font-size: 0.86rem;
  color: rgba(255,255,255,.6);
  margin: 0 0 .5rem;
  line-height: 1.5;
}
.footer-col address a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.5rem clamp(16px, 5vw, 72px);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer-bottom-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ── Scroll Animations ─────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease-plain), transform .6s var(--ease);
}
[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive: 1200px ────────────────────────────── */
@media (max-width: 1200px) {
  .province-grid { grid-template-columns: repeat(2, 1fr); }
  .missions-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .conseil-grid  { grid-template-columns: repeat(3, 1fr); }
}

/* ── Responsive: 1024px ────────────────────────────── */
@media (max-width: 1024px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }

  .history-layout { grid-template-columns: 1fr; }
  .gallery-grid   {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .gi-large, .gi-tall { grid-column: auto; grid-row: auto; }

  .contact-layout { grid-template-columns: 1fr; }
}

/* ── Responsive: 900px ─────────────────────────────── */
@media (max-width: 900px) {
  .intro-layout    { grid-template-columns: 1fr; }
  .message-panel   { position: static; }
  .vocations-layout{ grid-template-columns: 1fr; }
}

/* ── Responsive: 820px (mobile nav) ───────────────── */
@media (max-width: 820px) {
  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    box-shadow: var(--sh);
    z-index: 99;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 16px; font-size: 1rem; border-radius: var(--r-sm); }

  .cards-3     { grid-template-columns: 1fr; }
  .oeuvres-grid{ grid-template-columns: 1fr; }
  .post-grid   { grid-template-columns: 1fr; }
  .news-header { flex-direction: column; }
  .gallery-grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .conseil-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 2rem 1.5rem; flex-direction: column; }
}

/* ── Responsive: 640px ─────────────────────────────── */
@media (max-width: 640px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .province-grid { grid-template-columns: 1fr; }
  .missions-grid { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; align-items: center; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .contact-form { padding: 1.5rem; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .conseil-grid { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* ── Responsive: 480px ─────────────────────────────── */
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: none; }

  .brand-text small { display: none; }
  .filter { font-size: 0.8rem; padding: 6px 12px; }
}
