/* Explain: Layout styles for page structure and sections, including sticky header behavior. */
.container-page {
    width: 100%;
    max-width: 74rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.container-narrow {
    width: 100%;
    max-width: 50rem;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

@media (min-width: 768px) {
    .container-page,
    .container-narrow {
        padding-inline: 2rem;
    }
}

.section-block {
    padding-block: 4.25rem;
}

@media (min-width: 768px) {
    .section-block {
        padding-block: 6rem;
    }
}

.section-alt {
    background: var(--surface-color);
}

.section-warm {
    background: var(--surface-alt);
}

/* Ancres : les sections atteintes depuis le menu passent sous l'en-tête collant */
#coordonnees,
#formulaire,
#acces,
#pratique,
#horaires-priere {
    scroll-margin-top: 5.5rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(224, 199, 156, 0.35);
    transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 14px 34px -26px rgba(43, 38, 34, 0.6);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-block: 0.85rem;
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 74vh;
    overflow: hidden;
    background: #1b2836;
}

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 34, 0.55) 0%, rgba(15, 23, 34, 0.22) 52%, rgba(15, 23, 34, 0.02) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-block: 5.5rem;
    color: #fdf9f3;
}