:root {
    --background: #211724;
    --lilac: #e6c7fa;
    --white: #ffffff;
    --font: "Poppins", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--white);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--lilac);
    outline-offset: 6px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 18px;
    background: var(--lilac);
    color: var(--background);
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* LOGO ET NAVIGATION */

.site-header {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(100%, 1600px);
    min-height: 100px;
    padding: 18px 48px;
    transform: translateX(-50%);
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: 165px;
    height: 70px;
    object-fit: contain;
    object-position: left center;
}

.navigation {
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.7vw, 30px);
}

.navigation a {
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    white-space: nowrap;
    transition: color 200ms ease;
}

.navigation a:hover,
.navigation a[aria-current="page"] {
    color: var(--lilac);
}

.navigation .nav-donate {
    padding: 15px 24px;
    border-radius: 999px;
    background: var(--lilac);
    color: var(--background);
    font-weight: 400;
    transition:
        background 200ms ease,
        transform 200ms ease;
}

.navigation .nav-donate:hover {
    background: #f0ddff;
    color: var(--background);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
}

/* SECTION D’ACCUEIL */

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 760px;
    min-height: max(760px, 100svh);
    padding: 180px 28px 160px;
    overflow: hidden;
    background: var(--background);
}

/* Photo nette ; le voile et les halos créent l’atmosphère. */

.hero-photo {
    position: absolute;
    inset: 0;
    z-index: -4;
    background:
        url("../images/accueil.jpg") center 40% / cover no-repeat;
    opacity: 0.55;
    animation: photo-arrival 1800ms ease-out both;
}

/* Voile prune, plus lumineux au centre. */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(
            ellipse at 50% 42%,
            rgba(94, 58, 136, 0.30) 0%,
            rgba(43, 28, 54, 0.45) 52%,
            rgba(33, 23, 36, 0.90) 100%
        ),
        linear-gradient(
            to bottom,
            rgba(33, 23, 36, 0.30),
            rgba(33, 23, 36, 0.25) 45%,
            var(--background) 100%
        );
    pointer-events: none;
}

/* Fondu continu vers la prochaine section. */

.hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 220px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--background)
    );
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 14%;
    left: 23%;
    z-index: -2;
    width: 54%;
    height: 65%;
    border-radius: 50%;
    background: rgba(119, 73, 172, 0.22);
    filter: blur(85px);
    pointer-events: none;
    animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero-content {
    width: min(100%, 1200px);
    text-align: center;
    transform: translateY(50px);
}

.hero-eyebrow {
    margin: 0 0 32px;
    font-size: clamp(12px, 1.65vw, 25px);
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0.26em;
    line-height: 1.7;
    text-transform: uppercase;
    animation: content-arrival 1000ms ease-out both;
}

.hero h1 {
    margin: 0;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    animation: content-arrival 1100ms 150ms ease-out both;
}

.hero-title-first {
    display: block;
    font-size: clamp(34px, 6.1vw, 112px);
    line-height: 1.1;
}

.hero-title-second {
    display: block;
    margin-top: 2px;
    color: var(--lilac);
    font-size: clamp(76px, 12vw, 210px);
    line-height: 0.98;
}

/* INDICATEUR DE DÉFILEMENT */

.scroll-indicator {
    position: absolute;
    bottom: 42px;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 8px;
    transform: translateX(-50%);
    color: var(--white);
}

.scroll-mouse {
    display: flex;
    justify-content: center;
    width: 39px;
    height: 55px;
    padding-top: 9px;
    border: 3px solid currentColor;
    border-radius: 24px;
}

.scroll-wheel {
    width: 3px;
    height: 13px;
    border-radius: 3px;
    background: currentColor;
    animation: scroll-wheel 1800ms ease-in-out infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 19px;
}

/* ANIMATIONS */

@keyframes content-arrival {
    from {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

@keyframes photo-arrival {
    from {
        opacity: 0;
        transform: scale(1.06);
    }

    to {
        opacity: 0.55;
        transform: scale(1);
    }
}

@keyframes glow-drift {
    from {
        transform: translate(-4%, -3%);
    }

    to {
        transform: translate(4%, 5%);
    }
}

@keyframes scroll-wheel {
    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(8px);
    }
}

/* TABLETTE ET MENU MOBILE */

@media (max-width: 1100px) {
    .site-header {
        flex-wrap: wrap;
        padding: 16px 24px;
    }

    .brand img {
        width: 145px;
        height: 60px;
    }

    .navigation {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 18px;
    }

    .menu-toggle:not([hidden]) {
        display: grid;
        place-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 10px;
        border: 1px solid rgba(230, 199, 250, 0.35);
        border-radius: 12px;
        background: rgba(33, 23, 36, 0.6);
        color: var(--white);
        cursor: pointer;
    }

    .menu-toggle span {
        width: 22px;
        height: 2px;
        background: currentColor;
    }

    .navigation.is-enhanced {
        position: absolute;
        top: 90px;
        right: 24px;
        left: 24px;
        display: none;
        width: auto;
        max-height: calc(100svh - 110px);
        overflow-y: auto;
        padding: 24px;
        border: 1px solid rgba(230, 199, 250, 0.15);
        border-radius: 22px;
        background: rgba(33, 23, 36, 0.96);
        backdrop-filter: blur(20px);
    }

    .navigation.is-enhanced.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .navigation.is-enhanced a {
        padding: 10px;
    }

    .navigation.is-enhanced .nav-donate {
        padding: 15px 24px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: max(620px, 100svh);
        padding: 170px 20px 140px;
    }

    .hero-content {
        transform: translateY(15px);
    }

    .hero-eyebrow {
        margin-bottom: 25px;
        font-size: 11px;
        letter-spacing: 0.19em;
    }

    .hero-title-first {
        font-size: clamp(27px, 7.5vw, 45px);
    }

    .hero-title-second {
        margin-top: 10px;
        font-size: clamp(66px, 17vw, 102px);
    }

    .hero-glow {
        left: 10%;
        width: 80%;
        filter: blur(55px);
    }

    .scroll-indicator {
        bottom: 32px;
    }
}

/* ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* FLOU PROGRESSIF SUR LES CÔTÉS DE LA PHOTO */

.hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Flou visible aux extrémités, absent au centre. */
    -webkit-mask-image: linear-gradient(
        to right,
        black 0%,
        rgba(0, 0, 0, 0.8) 10%,
        transparent 32%,
        transparent 68%,
        rgba(0, 0, 0, 0.8) 90%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        black 0%,
        rgba(0, 0, 0, 0.8) 10%,
        transparent 32%,
        transparent 68%,
        rgba(0, 0, 0, 0.8) 90%,
        black 100%
    );

    pointer-events: none;
}

/* Les bords se fondent dans la couleur du site. */

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        #211724 0%,
        rgba(33, 23, 36, 0.65) 12%,
        transparent 35%,
        transparent 65%,
        rgba(33, 23, 36, 0.65) 88%,
        #211724 100%
    );

    pointer-events: none;
}

@media (max-width: 600px) {
    .hero-photo::before {
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
    }
}

/* À PROPOS DE NOUS */

.about-section {
    position: relative;
    isolation: isolate;
    padding: clamp(70px, 9vw, 150px) 0;
    background: var(--background);
    scroll-margin-top: 30px;
}

/* Lumière diffuse entre la photo et le texte. */

.about-section::before {
    content: "";
    position: absolute;
    top: 15%;
    left: 25%;
    z-index: -1;
    width: 45%;
    height: 65%;
    border-radius: 50%;
    background: rgba(118, 66, 157, 0.13);
    filter: blur(80px);
    pointer-events: none;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: clamp(35px, 5vw, 85px);
    width: min(100% - 80px, 1440px);
    margin-inline: auto;
}

/* Une seule photo, sans cadre ni bordure. */

.about-visual {
    position: relative;
    min-width: 0;
    aspect-ratio: 6 / 5;

    -webkit-mask-image: radial-gradient(
        ellipse closest-side,
        black 55%,
        rgba(0, 0, 0, 0.85) 75%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse closest-side,
        black 55%,
        rgba(0, 0, 0, 0.85) 75%,
        transparent 100%
    );
}

.about-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.75) brightness(0.8);
}

/* Voile violet léger sur la photo. */

.about-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(84, 43, 119, 0.08),
        rgba(33, 23, 36, 0.35)
    );
    pointer-events: none;
}

.about-content {
    padding-block: 20px;
}

.about-eyebrow {
    margin: 0 0 20px;
    color: var(--lilac);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.8;
    text-transform: uppercase;
}

.about-content h2 {
    margin: 0 0 30px;
    font-size: clamp(38px, 4.6vw, 70px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.about-content h2 span {
    color: var(--lilac);
}

.about-intro {
    max-width: 480px;
    margin: 0 0 22px;
    color: var(--white);
    font-size: clamp(18px, 1.6vw, 23px);
    font-weight: 500;
    line-height: 1.6;
}

.about-description {
    max-width: 510px;
    margin: 0 0 18px;
    color: #cfc3d6;
    font-size: 15px;
    line-height: 1.9;
}

.about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 54px;
    margin-top: 18px;
    padding: 15px 25px;
    border-radius: 999px;
    background: var(--lilac);
    color: var(--background);
    font-size: 14px;
    font-weight: 500;
    transition:
        transform 250ms ease,
        background 250ms ease;
}

.about-link:hover {
    background: #f0ddff;
    transform: translateY(-3px);
}

.about-link span {
    transition: transform 250ms ease;
}

.about-link:hover span {
    transform: translate(3px, -3px);
}

/* Apparition au défilement, activée par JavaScript. */

.about-visual.reveal-ready,
.about-content.reveal-ready {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 900ms ease,
        transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.about-content.reveal-ready {
    transition-delay: 150ms;
}

.about-visual.is-visible,
.about-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TABLETTE ET TÉLÉPHONE */

@media (max-width: 800px) {
    .about-section {
        padding: 55px 0 80px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 15px;
        width: min(100% - 40px, 600px);
    }

    .about-visual {
        aspect-ratio: 6 / 5;
    }

    .about-content {
        padding: 0 8px;
    }

    .about-content h2 {
        font-size: clamp(38px, 8vw, 58px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-visual.reveal-ready,
    .about-content.reveal-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.about-arrow {
    display: block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    transition: transform 250ms ease;
}

.about-link:hover .about-arrow {
    transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {
    .about-arrow {
        transition: none;
    }
}

/* PROGRAMMES DE CULTES */

.programmes-section {
    position: relative;
    isolation: isolate;
    padding: clamp(70px, 8vw, 130px) 24px;
    background: var(--background);
}

.programmes-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            ellipse at 15% 35%,
            rgba(146, 87, 196, 0.18),
            transparent 50%
        ),
        radial-gradient(
            ellipse at 90% 75%,
            rgba(114, 70, 169, 0.15),
            transparent 45%
        );
    pointer-events: none;
}

.programmes-container {
    width: min(100%, 1200px);
    margin-inline: auto;
}

.programmes-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.programmes-eyebrow {
    margin: 0 0 18px;
    color: var(--lilac);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.23em;
    line-height: 1.8;
    text-transform: uppercase;
}

.programmes-heading h2 {
    margin: 0;
    font-size: clamp(36px, 5.5vw, 72px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.programmes-heading h2 span {
    color: var(--lilac);
}

.programmes-intro {
    max-width: 550px;
    margin: 24px auto 0;
    color: #cfc3d6;
    font-size: 15px;
    line-height: 1.9;
}

/* Deux grandes cartes, puis trois plus petites. */

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.programme-card {
    grid-column: span 2;
    min-width: 0;
    overflow: hidden;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 22px;

    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.09),
        rgba(255, 255, 255, 0.025)
    );

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 35px rgba(0, 0, 0, 0.16);

    transition:
        transform 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease;
}

.programme-card-large {
    grid-column: span 3;
}

@media (hover: hover) {
    .programme-card:hover {
        transform: translateY(-7px);
        border-color: rgba(230, 199, 250, 0.5);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 20px 45px rgba(0, 0, 0, 0.25);
    }

    .programme-card:hover .programme-photo img {
        transform: scale(1.045);
    }
}

/* PHOTOS */

.programme-photo {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 13px;
    background: #39264f;
}

.programme-card-large .programme-photo {
    aspect-ratio: 16 / 9;
}

.programme-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.programme-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 45%,
        rgba(33, 23, 36, 0.55)
    );
    pointer-events: none;
}

.programme-day {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    background: rgba(33, 23, 36, 0.65);
    color: var(--white);
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* TEXTES ET HORAIRES */

.programme-body {
    padding: 22px 12px 14px;
}

.programme-body h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: clamp(19px, 2vw, 25px);
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.programme-body p {
    margin: 0;
    color: #cfc3d6;
    font-size: 13px;
    line-height: 1.8;
}

.programme-times {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.programme-times li {
    padding: 8px 11px;
    border: 1px solid rgba(230, 199, 250, 0.18);
    border-radius: 9px;
    background: rgba(230, 199, 250, 0.08);
    color: var(--lilac);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.programmes-note {
    margin: 28px 0 0;
    color: #b9a9c3;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

/* APPARITION AU DÉFILEMENT */

.programme-card.programme-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.programme-card.programme-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 700ms ease,
        transform 700ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease;
}

/* TABLETTE */

@media (max-width: 900px) {
    .programmes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .programme-card,
    .programme-card-large {
        grid-column: span 1;
    }

    .programme-card:last-child {
        grid-column: 1 / -1;
        width: calc((100% - 22px) / 2);
        justify-self: center;
    }

    .programme-card-large .programme-photo {
        aspect-ratio: 16 / 10;
    }
}

/* TÉLÉPHONE */

@media (max-width: 600px) {
    .programmes-section {
        padding: 65px 20px;
    }

    .programmes-heading {
        margin-bottom: 35px;
    }

    .programmes-heading h2 {
        font-size: clamp(32px, 8vw, 46px);
    }

    .programmes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .programme-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .programme-body {
        padding: 20px 10px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .programme-card.programme-reveal {
        opacity: 1;
        transform: none;
    }

    .programme-card,
    .programme-card.programme-visible,
    .programme-photo img {
        transition: none;
    }
}

/* NOS PASTEURS */

.pastors-section {
    position: relative;
    isolation: isolate;
    padding: clamp(75px, 9vw, 140px) 24px;
    background: var(--background);
}

.pastors-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            ellipse at 20% 30%,
            rgba(151, 89, 202, 0.2),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 85% 70%,
            rgba(114, 65, 163, 0.17),
            transparent 45%
        );
    pointer-events: none;
}

.pastors-container {
    width: min(100%, 1100px);
    margin-inline: auto;
}

.pastors-heading {
    margin-bottom: 45px;
    text-align: center;
}

.pastors-eyebrow {
    margin: 0 0 18px;
    color: var(--lilac);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.8;
    text-transform: uppercase;
}

.pastors-heading h2 {
    margin: 0;
    font-size: clamp(36px, 5.5vw, 72px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.pastors-heading h2 span {
    color: var(--lilac);
}

/* PLAQUES DE VERRE */

.pastor-glass {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(230, 199, 250, 0.25);
    border-radius: 28px;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(230, 199, 250, 0.035) 55%,
        rgba(255, 255, 255, 0.06)
    );

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(230, 199, 250, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.2);

    transition:
        transform 350ms ease,
        border-color 350ms ease,
        box-shadow 350ms ease;
}

/* Reflet lumineux qui traverse la plaque au survol. */

.pastor-glass::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 48%,
        transparent 65%
    );
    transform: translateX(-150%);
    transition: transform 900ms ease;
    pointer-events: none;
}

@media (hover: hover) {
    .pastor-glass:hover {
        transform: translateY(-6px);
        border-color: rgba(230, 199, 250, 0.6);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 25px 65px rgba(0, 0, 0, 0.28),
            0 0 35px rgba(172, 109, 221, 0.1);
    }

    .pastor-glass:hover::after {
        transform: translateX(150%);
    }
}

/* PASTEUR TITULAIRE */

.pastor-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(25px, 5vw, 65px);
    padding: 18px;
}

.pastor-featured-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #39264f;
}

.pastor-featured-photo img,
.pastor-assistant-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 800ms ease;
}

.pastor-featured-content {
    padding: 30px 25px 30px 0;
}

.pastor-role {
    margin: 0 0 18px;
    color: var(--lilac);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1.8;
    text-transform: uppercase;
}

.pastor-featured-content h3 {
    margin: 0;
    font-size: clamp(32px, 4.2vw, 58px);
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.pastor-featured-content h3 span {
    color: var(--lilac);
}

.pastor-church {
    margin: 25px 0 0;
    color: #cfc3d6;
    font-size: 14px;
    line-height: 1.8;
}

/* PASTEURS ASSISTANTS */

.pastors-assistants-heading {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 55px 0 25px;
}

.pastors-assistants-heading h3 {
    margin: 0;
    font-size: clamp(21px, 2.8vw, 30px);
    font-style: italic;
    font-weight: 700;
    line-height: 1.4;
}

.pastors-assistants-heading > span {
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(230, 199, 250, 0.35),
        transparent
    );
}

.pastors-assistants {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.pastor-assistant {
    padding: 12px;
}

.pastor-assistant-photo {
    aspect-ratio: 4 / 4.5;
    overflow: hidden;
    border-radius: 18px;
    background: #39264f;
}

.pastor-assistant-content {
    padding: 25px 15px 20px;
}

.pastor-assistant-content .pastor-role {
    margin-bottom: 8px;
}

.pastor-assistant-content h4 {
    margin: 0;
    font-size: clamp(23px, 3vw, 35px);
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.25;
}

@media (hover: hover) {
    .pastor-glass:hover img {
        transform: scale(1.035);
    }
}

/* TÉLÉPHONE */

@media (max-width: 700px) {
    .pastors-section {
        padding: 70px 20px;
    }

    .pastor-featured {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 12px;
    }

    .pastor-featured-content {
        padding: 30px 16px;
    }

    .pastor-featured-content h3 {
        font-size: clamp(34px, 8vw, 48px);
    }

    .pastors-assistants {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pastors-assistants-heading {
        margin-top: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pastor-glass,
    .pastor-glass::after,
    .pastor-featured-photo img,
    .pastor-assistant-photo img {
        transition: none;
    }

    .pastor-glass::after {
        display: none;
    }
}

/* NOS PRÉDICATIONS */

.messages-section {
    position: relative;
    isolation: isolate;
    padding: clamp(70px, 8vw, 130px) 24px;
    background: var(--background);
}

.messages-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(146, 87, 196, 0.16),
        transparent 65%
    );
    pointer-events: none;
}

.messages-container {
    width: min(100%, 1400px);
    margin-inline: auto;
}

.messages-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 25px;
}

.messages-eyebrow {
    margin: 0 0 16px;
    color: var(--lilac);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    line-height: 1.8;
    text-transform: uppercase;
}

.messages-heading h2 {
    margin: 0;
    font-size: clamp(30px, 4.5vw, 62px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.messages-heading h2 span {
    color: var(--lilac);
}

.messages-all {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(230, 199, 250, 0.4);
    color: var(--lilac);
    font-size: 13px;
}

.messages-help {
    max-width: 650px;
    margin: 0 0 28px;
    color: #cfc3d6;
    font-size: 13px;
    line-height: 1.8;
}

/* Défilement horizontal à la souris, au clavier et au toucher. */

.messages-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(380px, 85vw);
    gap: 24px;
    overflow-x: auto;
    padding: 8px 3px 24px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 3px;
    scrollbar-width: thin;
    scrollbar-color: var(--lilac) rgba(255, 255, 255, 0.05);
}

.message-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(230, 199, 250, 0.22);
    border-radius: 22px;
    background: linear-gradient(
        140deg,
        rgba(255, 255, 255, 0.1),
        rgba(230, 199, 250, 0.035)
    );
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    scroll-snap-align: start;
    transition: border-color 250ms ease, box-shadow 250ms ease;
}

.message-card:hover,
.message-card:focus-within {
    border-color: rgba(230, 199, 250, 0.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.message-player {
    aspect-ratio: 16 / 9;
    background: #160f1b;
}

.message-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.message-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.message-body h3 {
    margin: 0;
    font-size: 22px;
    font-style: italic;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.message-pastor {
    margin: 14px 0 0;
    color: #cfc3d6;
    font-size: 13px;
    line-height: 1.8;
}

.message-youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: auto;
    position: relative;
    top: 0;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--lilac);
    color: var(--background);
    font-size: 12px;
    font-weight: 600;
    transition: background 200ms ease;
}

.message-body h3,
.message-pastor {
    margin-bottom: 22px;
}

.message-youtube:hover {
    background: #f0ddff;
}

.message-youtube span {
    font-size: 23px;
    line-height: 1;
}

.messages-empty {
    padding: 30px;
    border: 1px solid rgba(230, 199, 250, 0.2);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    color: #cfc3d6;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .messages-section {
        padding: 65px 20px;
    }

    .messages-track {
        grid-auto-columns: 88%;
        gap: 16px;
    }

    .message-body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .message-card,
    .message-youtube {
        transition: none;
    }
}

/* FOND CONTINU ENTRE LES SECTIONS */

body,
main {
    background: var(--background);
}

.about-section,
.programmes-section,
.pastors-section,
.messages-section,
.offrandes-section {
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Les lumières s’effacent avant les limites des sections. */

.programmes-section::before,
.pastors-section::before,
.messages-section::before {
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent,
        black 25%,
        black 75%,
        transparent
    );

    mask-image: linear-gradient(
        to bottom,
        transparent,
        black 25%,
        black 75%,
        transparent
    );
}

/* OFFRANDES */

.offrandes-section {
    position: relative;
    isolation: isolate;
    padding: clamp(90px, 11vw, 170px) 24px;
    text-align: center;
}

/* Halo sans bord net, fondu dans le fond commun. */

.offrandes-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        ellipse at center,
        rgba(148, 88, 194, 0.22) 0%,
        rgba(110, 62, 151, 0.09) 35%,
        transparent 68%
    );
    pointer-events: none;
}

.offrandes-content {
    width: min(100%, 950px);
    margin-inline: auto;
}

.offrandes-eyebrow {
    margin: 0 0 22px;
    color: var(--lilac);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    line-height: 1.8;
    text-transform: uppercase;
}

.offrandes-content h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 68px);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

.offrandes-content h2 span {
    color: var(--lilac);
}

.offrandes-description {
    max-width: 560px;
    margin: 28px auto 35px;
    color: #cfc3d6;
    font-size: 15px;
    line-height: 1.9;
}

.offrandes-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 58px;
    padding: 16px 28px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: var(--lilac);
    color: var(--background);
    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 8px 35px rgba(185, 127, 228, 0.15);

    transition:
        transform 250ms ease,
        background 250ms ease,
        box-shadow 250ms ease;
}

.offrandes-button svg {
    display: block;
    flex-shrink: 0;
    transition: transform 250ms ease;
}

@media (hover: hover) {
    .offrandes-button:hover {
        transform: translateY(-3px);
        background: #f0ddff;
        box-shadow: 0 12px 45px rgba(185, 127, 228, 0.25);
    }

    .offrandes-button:hover svg {
        transform: translateX(4px);
    }
}

@media (max-width: 600px) {
    .offrandes-section {
        padding: 85px 20px;
    }

    .offrandes-content h2 {
        font-size: clamp(27px, 7.2vw, 43px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .offrandes-button,
    .offrandes-button svg {
        transition: none;
    }
}

/* FOOTER — CONTINUITÉ DU FOND PRUNE */

.site-footer {
    position: relative;
    isolation: isolate;
    padding: 80px 24px 28px;
    background: transparent;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        ellipse at 50% 65%,
        rgba(129, 74, 173, 0.12),
        transparent 70%
    );
    pointer-events: none;
}

.footer-container {
    width: min(100%, 1200px);
    margin-inline: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 60px;
}

.footer-logo {
    display: block;
    width: 180px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

.footer-identity p,
.footer-connect p {
    max-width: 310px;
    margin: 20px 0 0;
    color: #cfc3d6;
    font-size: 13px;
    line-height: 1.9;
}

.site-footer h2 {
    margin: 0 0 20px;
    color: var(--white);
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.5;
}

.footer-navigation ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-navigation a,
.footer-contact {
    color: #cfc3d6;
    font-size: 13px;
    line-height: 1.7;
    transition: color 200ms ease;
}

.footer-navigation a:hover,
.footer-contact:hover {
    color: var(--lilac);
}

.footer-contact {
    display: block;
    width: fit-content;
    margin-top: 16px;
}

.footer-offering {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 22px;
    padding: 12px 21px;
    border: 1px solid rgba(230, 199, 250, 0.3);
    border-radius: 999px;
    background: rgba(230, 199, 250, 0.08);
    color: var(--lilac);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 200ms ease;
}

.footer-offering:hover {
    background: rgba(230, 199, 250, 0.16);
}

/* MOYENS DE PAIEMENT */

.footer-payments {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 65px;
}

.footer-payments-heading h2 {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-payments-heading p {
    margin: 0;
    color: #b9a9c3;
    font-size: 12px;
    line-height: 1.7;
}

.footer-payment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-payment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 58px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 11px;
    background: #faf7fc;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
}

.footer-payment img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: #211724;
    font-size: 11px;
}

/* BAS DU FOOTER */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 45px;
}

.footer-bottom p {
    margin: 0;
    color: #b9a9c3;
    font-size: 11px;
    line-height: 1.8;
}

.footer-back {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--lilac);
    font-size: 12px;
}

.footer-back svg {
    flex-shrink: 0;
}

/* TÉLÉPHONE ET TABLETTE */

@media (max-width: 800px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-identity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 500px) {
    .site-footer {
        padding: 60px 20px 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-identity {
        grid-column: auto;
    }

    .footer-payments {
        margin-top: 45px;
    }

    .footer-payment {
        width: 92px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-navigation a,
    .footer-contact,
    .footer-offering {
        transition: none;
    }
}

.footer-credit {
    color: var(--lilac);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer-credit:hover {
    color: var(--white);
}

.footer-payments {
    justify-content: flex-start;
    gap: 16px;
    margin-top: 35px;
}

.footer-payment-list {
    gap: 7px;
}

.footer-payment {
    width: 58px;
    height: 35px;
    padding: 5px;
    border-radius: 6px;
    box-shadow: none;
}

.footer-payment img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 500px) {
    .footer-payments {
        gap: 12px;
    }

    .footer-payment {
        width: 52px;
        height: 32px;
        padding: 4px;
    }
}

/* ALIGNEMENT DE LA SECTION PRÉDICATIONS */

.messages-section {
    width: 100%;
    padding: 70px 0;
}

.messages-container {
    width: min(calc(100% - 48px), 1200px);
    min-width: 0;
    margin-inline: auto;
}

.messages-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.messages-heading > div {
    min-width: 0;
}

.messages-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
}

.messages-all {
    flex-shrink: 0;
    font-size: 13px;
}

.messages-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px 0 20px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0;
}

.message-card {
    min-width: 0;
    scroll-snap-align: start;
}

.message-player {
    aspect-ratio: 16 / 9;
}

.message-player iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.message-body {
    padding: 22px;
}

.message-body h3 {
    font-size: 20px;
    overflow-wrap: anywhere;
}

@media (max-width: 900px) {
    .messages-track {
        grid-auto-columns: calc((100% - 20px) / 2);
    }
}

@media (max-width: 600px) {
    .messages-section {
        padding: 55px 0;
    }

    .messages-container {
        width: calc(100% - 40px);
    }

    .messages-track {
        grid-auto-columns: 90%;
        gap: 15px;
    }

    .message-body {
        padding: 18px;
    }
}