/* ==========================================================================
   Église Chemin de la Vie — feuille de style du site public
   ========================================================================== */

:root {
    --ink: #0f1b2d;
    --ink-2: #1b2a42;
    --ink-soft: #46546b;
    --paper: #fbf8f3;
    --sand: #f3ece1;
    --line: #e4dccf;
    --white: #ffffff;
    --accent: #f0a43a;
    --accent-strong: #e48d16;
    --accent-text: #9a5a05;
    --success: #1f7a4d;
    --danger: #b3261e;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px rgba(15, 27, 45, .08);
    --shadow-lg: 0 24px 60px rgba(15, 27, 45, .16);
    --container: 1200px;
    --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
/* Les éléments de grille ne doivent jamais forcer la page à s'élargir */
.split > *, .featured-sermon > *, .events-split > *, .visit-grid > *, .form-layout > *,
.event-detail > *, .pastor-block > *, .times-card > *, .event-row > *, .cta-panel > * { min-width: 0; }
p, li, dd, h1, h2, h3, a, span { overflow-wrap: break-word; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--accent); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
    font: 600 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 20px rgba(240, 164, 58, .3); }
.btn-primary:hover { background: var(--accent-strong); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-arrow i { transition: transform .2s; font-size: .85em; }
.link-arrow:hover i { transform: translateX(4px); }
.link-light { color: var(--white); }
.link-light:hover { color: var(--accent); }
.back-link { margin-top: 2rem; }
.back-link:hover i { transform: translateX(-4px); }

/* --- En-tête --------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 50; height: var(--header-h);
    background: rgba(251, 248, 243, .94); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: background .3s, border-color .3s, box-shadow .3s;
}
.has-hero .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; border-color: transparent; }
.has-hero .site-header.is-scrolled,
.has-hero .site-header.menu-open { background: rgba(15, 27, 45, .96); box-shadow: 0 8px 30px rgba(0, 0, 0, .2); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; opacity: .75; font-weight: 600; }
.brand-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.has-hero .site-header .brand, .brand-light { color: var(--white); }

.main-nav { display: flex; align-items: center; gap: 1.75rem; }
.nav-links { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav-link {
    display: block; padding: .5rem .7rem; border-radius: 8px;
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.has-hero .site-header .nav-link { color: rgba(255, 255, 255, .92); }
.nav-actions { display: flex; gap: .6rem; }
body:not(.has-hero) .nav-actions .btn-ghost { border-color: var(--ink); color: var(--ink); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; border-radius: 10px; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle { color: var(--ink); }
.has-hero .nav-toggle { color: var(--white); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.25rem 1.25rem 2rem;
        background: var(--ink); transform: translateY(-110%); visibility: hidden; transition: transform .35s ease, visibility .35s;
    }
    .main-nav.is-open { transform: none; visibility: visible; }
    .nav-links { flex-direction: column; }
    .nav-link, .has-hero .site-header .nav-link { color: var(--white); font-size: 1.1rem; padding: .8rem .5rem; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
    .nav-link::after { display: none; }
    .nav-link.is-active { color: var(--accent); }
    .nav-actions { flex-direction: column; }
    body:not(.has-hero) .nav-actions .btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
    body:not(.has-hero) .site-header.menu-open { background: var(--ink); }
    body:not(.has-hero) .site-header.menu-open .brand, body:not(.has-hero) .site-header.menu-open .nav-toggle { color: var(--white); }
}

/* --- Bannière d'accueil -------------------------------------------------- */
.hero {
    position: relative; min-height: min(100vh, 900px); display: flex; align-items: center;
    padding: calc(var(--header-h) + 3rem) 0 9rem; color: var(--white); isolation: isolate;
    background: var(--ink) var(--hero-image) center / cover no-repeat;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(240, 164, 58, .18), transparent 55%),
        linear-gradient(180deg, rgba(15, 27, 45, .55) 0%, rgba(15, 27, 45, .45) 45%, rgba(15, 27, 45, .92) 100%);
}
.hero-inner { max-width: 860px; }
.hero-title {
    font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em;
    font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: 1.02; margin-bottom: 1.25rem;
    animation: rise .9s ease both .1s;
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 620px; color: rgba(255, 255, 255, .88); animation: rise .9s ease both .25s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; animation: rise .9s ease both .4s; }
.hero-scroll {
    position: absolute; left: 50%; bottom: 6.5rem; transform: translateX(-50%);
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .4); color: var(--white); animation: bob 2.4s ease-in-out infinite;
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

.kicker {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem;
    text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--accent-text);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.kicker-light, .hero .kicker, .page-hero .kicker { color: var(--accent); }

/* --- En-tête des pages intérieures --------------------------------------- */
.page-hero {
    position: relative; isolation: isolate; color: var(--white);
    padding: calc(var(--header-h) + 5rem) 0 5rem;
    background: var(--ink) var(--hero-image) center / cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 27, 45, .72), rgba(15, 27, 45, .88)); }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.015em; max-width: 900px; }
.page-hero .lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 720px; margin: 0; }

/* --- Sections -------------------------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-tight { padding: 2rem 0 clamp(4rem, 8vw, 6rem); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .kicker::after { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.section-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.015em; }
.section-dark .section-title { color: var(--white); }
.prose { color: var(--ink-soft); font-size: 1.05rem; }
.prose-lg { font-size: 1.12rem; line-height: 1.8; }
.prose-center { max-width: 680px; margin-inline: auto; }
.empty { padding: 2rem; text-align: center; color: var(--ink-soft); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

/* --- Horaires -------------------------------------------------------------- */
.times-band { position: relative; z-index: 2; margin-top: -5.5rem; }
.times-card {
    display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: 2rem; align-items: center;
    background: var(--white); border-radius: var(--radius-lg); padding: 2rem 2.25rem; box-shadow: var(--shadow-lg);
}
.times-head h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; margin-bottom: .4rem; }
.times-head p { color: var(--ink-soft); margin-bottom: .5rem; font-size: .95rem; }
.times-head i { color: var(--accent-strong); }
.times-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.times-list li { display: flex; flex-direction: column; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--paper); border-left: 3px solid var(--accent); }
.times-day { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--accent-text); }
.times-hour { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.times-name { color: var(--ink-soft); font-size: .92rem; }

/* --- Bloc deux colonnes ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media > img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.split-quote {
    position: absolute; right: -1.5rem; bottom: 2rem; max-width: 300px;
    background: var(--ink); color: var(--white); padding: 1.4rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.split-quote p { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.45; margin-bottom: .5rem; }
.split-quote span { color: var(--accent); font-weight: 600; font-size: .85rem; }

.pastor-note { display: flex; gap: 1rem; align-items: flex-start; margin: 1.5rem 0 2rem; padding: 1.25rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.pastor-note img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pastor-note blockquote { margin: 0 0 .5rem; font-family: var(--font-display); font-style: italic; font-size: 1.02rem; }
.pastor-note strong { display: block; }
.pastor-note span { color: var(--ink-soft); font-size: .88rem; }

/* --- Prédication à la une ------------------------------------------------- */
.featured-sermon { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.featured-media { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.featured-media:hover img { transform: scale(1.04); }
.featured-body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.featured-body p { color: rgba(255, 255, 255, .78); }
.featured-sub { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .92rem; }
.featured-sub i { color: var(--accent); margin-right: .3rem; }
.section-dark .card-meta { color: var(--accent); }

.play-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: var(--accent); color: var(--ink); font-size: 1.1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    transition: transform .3s;
}
.play-badge i { margin-left: 3px; }
.play-badge-lg { width: 78px; height: 78px; font-size: 1.4rem; }
a:hover > .play-badge { transform: translate(-50%, -50%) scale(1.08); }

.mini-sermons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.mini-sermon { display: flex; gap: .9rem; align-items: center; color: var(--white); text-decoration: none; padding: .6rem; border-radius: var(--radius); transition: background .2s; }
.mini-sermon:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
.mini-sermon img { width: 96px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.mini-sermon small { display: block; color: var(--accent); font-size: .78rem; }
.mini-sermon strong { font-weight: 600; line-height: 1.3; }

/* --- Cartes « Comment nous rejoindre » ----------------------------------- */
.ways-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.way-card {
    display: flex; flex-direction: column; padding: 2rem 1.6rem; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.way-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.way-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin-top: 1.2rem; }
.way-card p { color: var(--ink-soft); flex: 1; }
.way-icon {
    width: 52px; height: 52px; border-radius: 14px; display: inline-grid; place-items: center; flex-shrink: 0;
    background: rgba(240, 164, 58, .16); color: var(--accent-text); font-size: 1.25rem;
}

/* --- Ministères ------------------------------------------------------------ */
.ministry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ministry-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; color: var(--white); text-decoration: none; isolation: isolate; }
.ministry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s ease; }
.ministry-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(15, 27, 45, .9)); }
.ministry-card:hover img { transform: scale(1.06); }
.ministry-overlay { position: absolute; inset: auto 0 0 0; padding: 1.6rem; display: flex; flex-direction: column; gap: .2rem; }
.ministry-tagline { color: var(--accent); font-size: .85rem; font-weight: 600; }
.ministry-name { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; }
.ministry-more { font-size: .9rem; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; margin-top: .3rem; }
.ministry-card:hover .ministry-more, .ministry-card:focus-visible .ministry-more { opacity: 1; transform: none; }
.ministry-card:hover { color: var(--white); }

/* --- Événements ------------------------------------------------------------ */
.events-split { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.events-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.events-list { display: flex; flex-direction: column; gap: 1rem; }
.event-row {
    display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
    padding: 1.3rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    transition: box-shadow .3s, transform .3s;
}
.event-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.date-badge { width: 74px; height: 80px; border-radius: 14px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.date-day { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.date-month { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--accent); font-weight: 700; margin-top: .25rem; }
.event-info h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: .3rem; }
.event-info h3 a { color: var(--ink); text-decoration: none; }
.event-info h3 a:hover { color: var(--accent-text); }
.event-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; font-size: .9rem; color: var(--ink-soft); margin-bottom: .35rem; }
.event-meta i { color: var(--accent-strong); margin-right: .25rem; }
.event-summary { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.event-link { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s; }
.event-link:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.events-past .date-badge { background: var(--ink-soft); }

/* --- Verset ---------------------------------------------------------------- */
.verse-band {
    position: relative; isolation: isolate; padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; color: var(--white);
    background: var(--ink) var(--hero-image) center / cover no-repeat fixed;
}
.verse-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(15, 27, 45, .82); }
.verse-band blockquote { margin: 0 auto; max-width: 900px; }
.verse-band p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.3; }
.verse-band cite { font-style: normal; color: var(--accent); font-weight: 600; letter-spacing: .15em; text-transform: uppercase; font-size: .85rem; }
@media (hover: none) { .verse-band { background-attachment: scroll; } }

/* --- Cartes ---------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); font-weight: 700; margin-bottom: .5rem; }
.card-title { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.25; margin-bottom: .6rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--accent-text); }
.card-text { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.card-sub { display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--ink-soft); font-size: .88rem; margin: auto 0 0; }
.card-sub i { color: var(--accent-strong); margin-right: .25rem; }

/* --- Appel à l'action ---------------------------------------------------- */
.cta-panel {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); color: var(--white);
    background:
        radial-gradient(circle at 90% 10%, rgba(240, 164, 58, .35), transparent 45%),
        linear-gradient(135deg, var(--ink), var(--ink-2));
}
.cta-panel h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: .4rem; }
.cta-panel p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* --- À propos -------------------------------------------------------------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vm-card { background: var(--white); padding: 2.4rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.vm-card h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; margin-top: 1.2rem; }
.vm-card p { color: var(--ink-soft); font-size: 1.08rem; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.value-card { padding: 1.8rem 1.5rem; border-top: 3px solid var(--accent); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); }
.value-number { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent-strong); line-height: 1; }
.value-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: .6rem 0 .4rem; }
.value-card p { color: var(--ink-soft); margin: 0; }

.pastor-block { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pastor-photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.pastor-quote { margin: 0 0 1.5rem; font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.45; font-style: italic; }
.pastor-quote p { margin-bottom: .8em; }
.pastor-sign strong { display: block; font-size: 1.1rem; }
.pastor-sign span { color: var(--accent); }

.beliefs { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.belief { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.belief summary {
    list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-family: var(--font-display); font-size: 1.25rem; font-weight: 500;
}
.belief summary::-webkit-details-marker { display: none; }
.belief summary i { font-size: .9rem; color: var(--accent-strong); transition: transform .3s; }
.belief[open] summary i { transform: rotate(45deg); }
.belief p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--ink-soft); }

/* --- Visite et contact ----------------------------------------------------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.times-stack { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.times-stack li { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.times-stack .times-hour { font-size: 1.1rem; }
.address-line i { color: var(--accent-strong); margin-right: .4rem; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--sand); }
.map-frame iframe, .map-wide iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-wide { height: 420px; background: var(--sand); }

.form-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.form-side-img { border-radius: var(--radius-lg); margin-top: 1.5rem; aspect-ratio: 16 / 11; object-fit: cover; }
.form-card { background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .choice-group legend { font-weight: 600; font-size: .92rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="search"], input[type="url"], input[type="password"], textarea, select {
    width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
    font: inherit; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(240, 164, 58, .2); background: var(--white); }
textarea { resize: vertical; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 500; }

.choice-group { border: 0; padding: 0; margin: 0 0 1.2rem; }
.choice-group legend { margin-bottom: .6rem; }
.choice { display: inline-block; margin: 0 .4rem .4rem 0; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-size: .92rem; font-weight: 500; transition: all .2s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.alert { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.4rem; display: flex; gap: .7rem; align-items: flex-start; }
.alert-success { background: #e7f5ed; color: var(--success); border: 1px solid #b9e2cb; }

.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: center; }
.info-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.info-list a { color: var(--ink); font-weight: 500; }

/* --- Pages de détail ------------------------------------------------------- */
.filter-bar { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; padding: 1rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.filter-search { position: relative; flex: 1 1 260px; }
.filter-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.filter-search input { padding-left: 2.6rem; }
.filter-bar select { flex: 0 1 240px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 3rem; color: var(--ink-soft); }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; margin-bottom: 1.5rem; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audio-player { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 1.5rem; }
.audio-player i { color: var(--accent-strong); font-size: 1.3rem; }
.audio-player audio { width: 100%; }
.article-cover { border-radius: var(--radius-lg); margin-bottom: 2rem; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.meta-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--ink-soft); font-size: .95rem; }
.meta-list i { color: var(--accent-strong); margin-right: .35rem; }
.share { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-weight: 500; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); text-decoration: none; transition: background .2s; }
.share a:hover { background: var(--accent); }

.event-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.event-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--white); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-lg); }
.event-aside h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; }
.event-aside .info-list { margin-bottom: 1.5rem; }
.ministry-grid-sm .ministry-card { aspect-ratio: 4 / 3; }

/* --- Dons ------------------------------------------------------------------ */
.give-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.give-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.7rem; border: 1px solid var(--line); }
.give-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin: 1.1rem 0 .5rem; }
.give-number { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin-bottom: .4rem; }
.copy-btn { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; width: 34px; height: 34px; cursor: pointer; color: var(--ink); }
.copy-btn:hover { background: var(--accent); border-color: var(--accent); }
.copy-btn.is-done { background: var(--success); color: var(--white); border-color: var(--success); }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 4.5rem 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { margin: 1rem 0 1.2rem; max-width: 280px; }
.footer-title { color: var(--white); font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; margin-bottom: 1rem; }
.footer-links, .footer-times, .footer-contact, .socials { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-times li { margin-bottom: .8rem; line-height: 1.45; }
.footer-times strong { color: var(--white); font-weight: 600; }
.footer-times span { font-size: .88rem; opacity: .75; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .8rem; align-items: baseline; }
.footer-contact i { color: var(--accent); width: 16px; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

.whatsapp-float {
    position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; color: var(--white); font-size: 1.8rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--white); }

/* --- Apparition au défilement --------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --- Adaptations écrans moyens et petits ---------------------------------- */
@media (max-width: 1024px) {
    .ways-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid, .ministry-grid { grid-template-columns: repeat(2, 1fr); }
    .times-card { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mini-sermons { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .split, .featured-sermon, .events-split, .visit-grid, .form-layout, .event-detail, .pastor-block, .vm-grid { grid-template-columns: 1fr; }
    .split-quote { right: 1rem; left: 1rem; max-width: none; bottom: 1rem; }
    .events-intro, .event-aside { position: static; }
    .pastor-photo { max-width: 340px; }
}

@media (max-width: 640px) {
    :root { --header-h: 68px; }
    .container { width: min(100% - 2rem, var(--container)); }
    .ways-grid, .values-grid, .card-grid, .ministry-grid { grid-template-columns: 1fr; }
    .ministry-card { aspect-ratio: 16 / 11; }
    .ministry-more { opacity: 1; transform: none; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding-bottom: 8rem; min-height: 100svh; background-image: var(--hero-image-sm, var(--hero-image)); }
    .hero-actions .btn { width: 100%; }
    .hero-scroll { display: none; }
    .times-card { padding: 1.5rem; }
    .event-row { grid-template-columns: auto 1fr; padding: 1rem; gap: 1rem; }
    .event-link { display: none; }
    .date-badge { width: 62px; height: 70px; }
    .times-stack li { grid-template-columns: 1fr auto; }
    .times-stack .times-name { grid-column: 1 / -1; grid-row: 2; }
    .brand-text strong { font-size: 1.1rem; }
    .cta-actions, .cta-actions .btn { width: 100%; }
}
