/* ==========================================================================
   INTERNATIONAL PROPHETIC CITY (IPC) — SYSTÈME DE DESIGN OFFICIEL
   Design d'excellence : Royal Navy & Gold, typographie majestueuse, responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&display=swap');

:root {
    --navy-950: #050811;
    --navy-900: #0a0f1d;
    --navy-850: #0f172a;
    --navy-800: #151e36;
    --navy-700: #1e2947;
    --navy-card: rgba(15, 23, 42, 0.85);
    
    --gold: #d4af37;
    --gold-bright: #f59e0b;
    --gold-light: #fbe58a;
    --gold-dark: #a47e1b;
    --gold-glow: rgba(212, 175, 55, 0.28);
    --gold-soft: rgba(212, 175, 55, 0.12);
    
    --light: #f8fafc;
    --white: #ffffff;
    --text-primary: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    --border-subtle: rgba(212, 175, 55, 0.18);
    --border-card: rgba(255, 255, 255, 0.08);

    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --max-w: 1240px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-gold: 0 12px 35px rgba(212, 175, 55, 0.25);
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --top-bar-height: 38px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--top-bar-height, 38px) + 85px);
}

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--navy-950);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ===== Barre d'annonce supérieure défilante (Ticker Horizontal) ===== */
.top-bar {
    background: linear-gradient(90deg, #050811 0%, #0c1224 50%, #050811 100%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    font-size: 0.8rem;
    color: var(--gold-light);
    padding: 0.38rem 0;
    position: sticky;
    top: 0;
    z-index: 1005;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    isolation: isolate;
}

/* Image de fond : Ciel étoilé à faible opacité */
.top-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/ciel-etoile.jpg');
    background-size: cover;
    background-position: center 32%;
    background-repeat: no-repeat;
    opacity: 0.32; /* Faible opacité pour préserver la netteté et le contraste des textes */
    pointer-events: none;
    z-index: -1;
    filter: saturate(1.25);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    padding: 0 1.25rem;
    margin: 0 auto;
}

/* Badge fixe Flash Info */
.top-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.22rem 0.75rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.top-bar-badge-text {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: nowrap;
}

/* Zone de défilement horizontal infini */
.ticker-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    cursor: default;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    animation: ticker-slide 54s linear infinite;
}

.ticker-wrapper:hover .ticker-track,
.ticker-wrapper:focus .ticker-track,
.ticker-wrapper:active .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 1.5rem;
    padding-right: 1.5rem;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.81rem;
    font-weight: 500;
}

.ticker-item strong {
    color: #ffffff;
    font-weight: 600;
}

.ticker-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.5rem;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker-tag-gold {
    background: rgba(212, 175, 55, 0.18);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.ticker-tag-royal {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.28) 0%, rgba(212, 175, 55, 0.22) 100%);
    color: #f3e8ff;
    border: 1px solid rgba(192, 132, 252, 0.5);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

.ticker-tag-subtle {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.ticker-dresscode {
    color: #f3e8ff !important;
    background: rgba(147, 51, 234, 0.28);
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    border: 1px solid rgba(192, 132, 252, 0.4);
    font-weight: 700 !important;
}

.ticker-sep {
    color: var(--gold);
    font-size: 0.65rem;
    opacity: 0.75;
    user-select: none;
}

.next-cult-date {
    color: var(--gold);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-shrink: 0;
}

.top-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}

.top-bar-link .ico,
.top-bar-link svg {
    color: var(--gold);
    stroke: var(--gold);
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease, stroke 0.25s ease;
}

.top-bar-link:hover {
    color: var(--gold-light);
    text-shadow: 0 0 10px var(--gold-glow);
}

.top-bar-link:hover .ico,
.top-bar-link:hover svg {
    transform: scale(1.15);
    stroke: var(--gold-light);
}

/* ===== En-tête Navigation ===== */
.site-header {
    position: sticky;
    top: var(--top-bar-height, 38px);
    z-index: 1000;
    background: rgba(10, 15, 29, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.3s ease, box-shadow 0.3s ease, top 0.2s ease;
}

.site-header .container {
    max-width: 1440px; /* Conteneur élargi pour offrir un espace aéré entre la marque et le menu */
}

.site-header.scrolled {
    background: rgba(7, 11, 22, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem; /* Espace équilibré sans risque de dépassement */
    min-height: 82px;
    padding: 0.6rem 0;
    transition: min-height 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled .header-inner {
    min-height: 70px;
    padding: 0.4rem 0;
}

/* Logo IPC */
.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
    margin-right: 0.5rem; /* Marge optimisée pour laisser respirer le menu */
}

.brand-logo {
    height: 56px;
    width: auto;
    aspect-ratio: 606 / 1024;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
    contain: layout paint;
}

.site-header.scrolled .brand-logo {
    height: 48px;
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

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

.site-footer .brand-logo {
    height: 52px;
    width: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}


.brand-emblem {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-950);
    box-shadow: 0 4px 15px var(--gold-glow);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.brand-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: var(--white);
    line-height: 1.2;
    white-space: nowrap;
}

.brand-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    font-weight: 600;
    line-height: 1.25;
    margin-top: 0.15rem;
    white-space: nowrap;
}

/* Nav Links */
.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* Pousse le menu complètement vers la droite */
}

.nav a {
    color: #e2e8f0;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.5rem 0.2rem;
    position: relative;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active {
    color: var(--gold);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: var(--navy-950) !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: var(--radius-full);
    font-weight: 700 !important;
    box-shadow: 0 4px 20px var(--gold-glow);
    border: 1px solid var(--gold-light);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
    color: var(--navy-950) !important;
}

/* ===== Conteneur d'Actions En-tête (Menu Mobile) ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

/* Bascule de Langue Haut de Gamme FR / EN */
.lang-switch {
    display: inline-flex;
    align-items: center;
    position: relative;
    background: rgba(10, 16, 32, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: var(--radius-full);
    padding: 2px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
}

.lang-switch:hover {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.55rem;
    min-width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    color: #94a3b8;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    position: relative;
    user-select: none;
}

.lang-btn .lang-code {
    font-weight: 800;
}

.lang-btn:hover:not(.active) {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
}

.lang-btn.active {
    background: linear-gradient(135deg, #fcd34d 0%, var(--gold-bright) 50%, var(--gold) 100%);
    color: var(--navy-950);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
    font-weight: 900;
}

/* Version dans le tiroir mobile */
.nav-lang-switch {
    display: none;
    margin: 0.5rem 0 1.25rem;
}

/* Notification Flottante (Toast) de Changement de Langue */
.ipc-lang-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: rgba(10, 16, 32, 0.96);
    color: var(--gold-bright);
    border: 1px solid rgba(212, 175, 55, 0.65);
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.35);
    opacity: 0;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ipc-lang-toast.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Menu Hamburger Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    z-index: 1005;
    position: relative;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--gold);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 2px;
    display: block;
    transform-origin: center;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== Boutons & Actions ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.9rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}

.btn-gold,
.btn-primary {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    color: var(--navy-950);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #fcd34d, var(--gold-bright));
    color: var(--navy-950);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy-950);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-outline-white {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--navy-950);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.05rem 2.4rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* Badges & Accents */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-gold {
    background: var(--gold-soft);
    color: var(--gold);
    border: 1px solid var(--border-subtle);
}

.badge-live {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.kw {
    color: var(--gold);
    font-style: italic;
    font-weight: 700;
}

/* ===== Sections Générales ===== */
.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-dark {
    background: var(--navy-900);
}

.section-deep {
    background: var(--navy-950);
}

.section-alt {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-850) 100%);
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.section-light {
    background: #f8fafc;
    color: var(--text-dark);
}

.section-light p {
    color: #475569;
}

.section-light .section-title {
    color: var(--navy-950);
}

.section-light .rule {
    background: var(--gold-dark);
}

.section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.eyebrow {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--white);
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.section-title.gold {
    color: var(--gold);
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.12rem;
    margin-top: 1rem;
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.rule {
    display: block;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-bright), var(--gold-dark));
    margin: 1.25rem auto 1.75rem;
    border-radius: 2px;
}

/* ===== Hero Église Principal (index.html) ===== */
.church-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 0 3rem;
    background-image: url('assets/church-worship.jpg');
    background-size: cover;
    background-position: center 30%;
    overflow: hidden;
    width: 100%;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(5, 8, 17, 0.82) 0%, 
        rgba(10, 15, 29, 0.90) 60%, 
        var(--navy-950) 100%);
}

.church-hero .container {
    width: 100%;
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 0.9rem auto;
    text-align: center;
}

.hero-logo-img {
    height: 118px;
    width: auto;
    aspect-ratio: 606 / 1024;
    object-fit: contain;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease;
    display: block;
}

.hero-logo-img:hover {
    transform: scale(1.05);
}

.hero-pill {
    margin-bottom: 0.95rem;
}



.church-hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6.5vw, 4.6rem);
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.church-hero-title .gold-accent {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.church-hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #e2e8f0;
    max-width: 760px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Hero Stats Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    max-width: 980px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* ===== Subpage Banner (eglise, prophete, etc.) ===== */
.subpage-hero {
    position: relative;
    padding: 6rem 0 4.5rem;
    background: radial-gradient(circle at 50% 20%, #151e36 0%, var(--navy-950) 80%);
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
}

.subpage-hero .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.breadcrumb a {
    color: var(--gold);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.subpage-lead {
    font-size: 1.18rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* ===== Carousel Actualités / Évènements (Layout Événements Showcase) ===== */
.carousel-section {
    position: relative;
    width: 100%;
    background: radial-gradient(circle at 50% 30%, #0d152a 0%, #050811 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2.5rem 0 3.5rem;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 4.25rem;
    box-sizing: border-box;
}

/* Fenêtre de cadrage stricte : isole rigoureusement une seule diapositive à la fois */
.carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-xl);
    padding: 0.5rem 0;
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: transparent;
}

.carousel-slide-inner {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.75rem;
    align-items: center;
    background: rgba(10, 16, 32, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.08);
    width: 100%;
    box-sizing: border-box;
}

/* Colonne Affiche : Pleinement visible et jamais masquée */
.carousel-poster-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000000;
}

.carousel-poster-img {
    width: 100%;
    max-width: 380px;
    max-height: 480px;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s ease;
}

.carousel-slide:hover .carousel-poster-img {
    transform: scale(1.02);
}

/* Colonne Informations : Séparée de l'image, lisibilité parfaite */
.carousel-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.carousel-event-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 2.8vw, 2.3rem);
    color: var(--white);
    line-height: 1.18;
    margin: 0;
}

.carousel-event-theme {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--gold-light);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

.carousel-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.carousel-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.45;
}

.carousel-meta-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.carousel-meta-row strong {
    color: var(--gold);
    font-weight: 600;
}

.carousel-event-action {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

/* Flèches de navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(10, 15, 29, 0.85);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.4);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.carousel-btn:hover {
    background: var(--gold);
    color: var(--navy-950);
    box-shadow: 0 0 20px var(--gold-glow);
}

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

/* Indicateurs / Puces */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1.75rem;
    position: relative;
    z-index: 5;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
    transform: scale(1.25);
    box-shadow: 0 0 12px var(--gold-glow);
}

@media (max-width: 900px) {
    .carousel-container {
        padding: 0 0.75rem;
    }
    .carousel-viewport {
        padding: 0.25rem 0;
    }
    .carousel-slide {
        padding: 0.25rem;
    }
    .carousel-slide-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1.25rem;
        text-align: center;
    }
    .carousel-poster-wrap {
        max-width: 320px;
        margin: 0 auto;
    }
    .carousel-poster-img {
        max-height: 360px;
    }
    .carousel-info-panel {
        text-align: center;
        align-items: center;
    }
    .carousel-event-meta {
        text-align: left;
        width: 100%;
    }
    .carousel-event-action {
        justify-content: center;
    }
    .carousel-btn {
        display: none;
    }
}

/* ===== Spotlight Fondateur (Sur Accueil) ===== */
.founder-spotlight {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.founder-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.founder-frame::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--gold), transparent, var(--gold-bright));
    border-radius: inherit;
    z-index: -1;
}

.founder-frame img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.6s ease;
}

.founder-frame:hover img {
    transform: scale(1.03);
}

.founder-info h3 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.founder-role {
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.founder-info p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.founder-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
}

.fh-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    padding: 1.2rem;
    border-radius: var(--radius-md);
}

.fh-title {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.fh-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Cartes Campus & Cultes ===== */
.campus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem;
    max-width: 1020px;
    margin: 0 auto;
}

.campus-card {
    background: var(--navy-800);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.campus-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.campus-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.campus-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--gold-soft);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.campus-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.campus-loc {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.campus-schedule {
    list-style: none;
    margin: 1.25rem 0 2rem;
    border-top: 1px solid var(--border-card);
    padding-top: 1.25rem;
    flex-grow: 1;
}

.campus-schedule li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.campus-schedule .day {
    color: var(--text-muted);
}

.campus-schedule .hour {
    color: var(--white);
    font-weight: 700;
}

/* ===== Horaires de Cultes Hebdomadaires — 3 Cartes Séparées ===== */
.schedule-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.schedule-cards-grid,
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.schedule-card,
.schedule-col {
    background: var(--navy-850);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border-card); /* reset table divider */
}

.schedule-card:hover,
.schedule-col:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: var(--shadow-gold);
    background: var(--navy-800);
}

.schedule-card.featured,
.schedule-col.featured {
    background: linear-gradient(180deg, rgba(20, 27, 45, 0.98) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 2px solid var(--gold);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.18);
}

.schedule-card.featured::before,
.schedule-col.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-dark));
}

.schedule-card-header {
    margin-bottom: 1rem;
}

.schedule-card h3,
.schedule-col h3 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.schedule-subtitle {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.schedule-card.featured .schedule-subtitle,
.schedule-col.featured .schedule-subtitle {
    color: var(--gold-light);
}

.schedule-time {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gold);
    margin: 1.15rem 0 1.25rem;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

.schedule-desc {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.schedule-card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.badge-subtle {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Grille de Départements ===== */
.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dept-card {
    background: var(--navy-850);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dept-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-subtle);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.dept-card:hover::before {
    opacity: 1;
}

.dept-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: var(--gold-soft);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.dept-card:hover .dept-icon {
    background: var(--gold);
    color: var(--navy-950);
    transform: scale(1.1) rotate(4deg);
}

.dept-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.dept-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.dept-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 0.85rem;
}

.dept-roles-list {
    list-style: none;
    padding: 0;
    margin: 0.85rem 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.dept-roles-list li {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
    position: relative;
    padding-left: 1.25rem;
}

.dept-roles-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.95rem;
}

/* ===== Progression & Évolution de l'Église (Origine & Genèse) ===== */
.evolution-comparison {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.evolution-card {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.evolution-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: var(--shadow-gold);
}

.evolution-img-wrap {
    position: relative;
    overflow: hidden;
    background: #000;
}

.evolution-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.evolution-card:hover .evolution-img-wrap img {
    transform: scale(1.02);
}

.evolution-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45);
}

.evolution-badge.badge-past {
    background: rgba(15, 23, 42, 0.88);
    color: var(--gold-light);
    border: 1px solid var(--gold);
}

.evolution-badge.badge-present {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.96), rgba(164, 126, 27, 0.96));
    color: #050811;
    border: 1px solid #fff;
    font-weight: 800;
}

.evolution-caption {
    padding: 0.85rem 1.15rem;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.55;
    background: rgba(15, 23, 42, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.evolution-caption strong {
    color: var(--gold);
}

/* Bannière Familles d'Ouvriers (Élite & Prééminence) */
.workers-families-banner {
    background: linear-gradient(135deg, rgba(20, 27, 45, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.workers-families-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.families-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.family-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.family-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-4px);
}

.family-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.family-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold);
    font-weight: 700;
}

.principles-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.principle-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.5;
}

.principle-item strong {
    color: var(--white);
    display: block;
    margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
    .families-grid, .principles-banner {
        grid-template-columns: 1fr;
    }
}

/* ===== Vision & Mission Piliers Officiels (eglise.html & index.html) ===== */
.vision-hero-card {
    background: linear-gradient(135deg, rgba(21, 30, 54, 0.95) 0%, rgba(10, 15, 29, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.vision-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vision-statement {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.3vw, 1.75rem);
    color: var(--gold-light);
    line-height: 1.6;
    margin: 1.25rem auto 1.5rem;
    max-width: 950px;
    font-weight: 700;
}

.vision-def {
    color: var(--text-body);
    font-size: 1.08rem;
    max-width: 820px;
    margin: 0 auto;
    line-height: 1.8;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission-card {
    background: var(--navy-800);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.mission-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.mission-num {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mission-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.mission-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}

.mission-subtitle {
    font-size: 0.88rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.mission-desc {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.mission-verse-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 600;
    width: fit-content;
}

.prophetic-quote-banner {
    background: linear-gradient(90deg, #10182b 0%, #1a2542 50%, #10182b 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    position: relative;
}

.prophetic-quote-banner blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.prophetic-quote-banner blockquote span.accent {
    color: var(--gold);
}

.prophetic-quote-author {
    color: var(--gold-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== Doctrine & Confession de foi (eglise.html) ===== */
.doctrine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.doctrine-item {
    background: var(--navy-800);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.doctrine-item:hover {
    border-color: var(--border-subtle);
    transform: translateY(-4px);
    background: var(--navy-700);
}

.doctrine-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    opacity: 0.6;
    line-height: 1;
    flex-shrink: 0;
}

.doctrine-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.doctrine-content p {
    font-size: 0.95rem;
    color: var(--text-body);
}

/* Valeurs fondamentales */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
}

.value-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ===== Biographie du Prophète (prophete.html) ===== */
.bio-hero-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.bio-portrait {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    border: 3px solid var(--gold);
}

.bio-portrait img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bio-blocks {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 3rem;
}

.bio-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bio-block.reverse .bio-photo {
    order: -1;
}

.bio-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--border-subtle);
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.bio-photo:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
}

.bio-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.bio-text h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.bio-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

/* ===== Espace Dons (dons.html) ===== */
.giving-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.giving-tab-btn {
    padding: 0.85rem 1.8rem;
    background: var(--navy-800);
    color: var(--text-muted);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.giving-tab-btn:hover,
.giving-tab-btn.active {
    background: var(--gold);
    color: var(--navy-950);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.giving-content-card {
    background: var(--navy-800);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.75rem;
}

.pm-card {
    background: linear-gradient(145deg, rgba(21, 30, 54, 0.78) 0%, rgba(10, 15, 29, 0.92) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 1.85rem;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.55;
    transition: opacity 0.35s ease;
}

.pm-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(212, 175, 55, 0.15);
}

.pm-card:hover::before {
    opacity: 1;
}

.pm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.pm-header-brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.pm-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.pm-subtitle {
    display: block;
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

.pm-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

/* Bloc Numéro ultra-stylé */
.pm-number {
    font-family: var(--font-sans);
    background: linear-gradient(180deg, rgba(5, 8, 17, 0.85) 0%, rgba(10, 15, 29, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 10px;
    padding: 0.72rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    flex-wrap: nowrap;
}

.pm-number:hover {
    border-color: rgba(212, 175, 55, 0.55);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 18px rgba(212, 175, 55, 0.15);
}

.pm-number-digits {
    font-family: var(--font-sans);
    font-size: clamp(0.88rem, 2.6vw, 1.05rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #fbe58a 45%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    white-space: nowrap !important; /* Aucun retour à la ligne sur les numéros */
    line-height: 1.25;
}

.pm-number-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
}

.pm-number-tag {
    font-size: 0.68rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Règle globale : interdiction formelle de retour à la ligne pour tous les numéros */
.phone-no-break,
a[href^="tel:"],
.top-bar-link,
.footer-contact-item a {
    white-space: nowrap !important;
}

@media (max-width: 520px) {
    .pm-number {
        padding: 0.65rem 0.75rem;
        gap: 0.45rem;
    }
    .pm-number-digits {
        font-size: clamp(0.82rem, 3.2vw, 0.95rem);
        letter-spacing: 0;
    }
    .copy-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.72rem;
        gap: 0.3rem;
    }
}

@media (max-width: 360px) {
    .pm-number {
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }
    .copy-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Bouton Copier chic */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    padding: 0.38rem 0.72rem;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.copy-btn svg {
    flex-shrink: 0;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #fbe58a 0%, #d4af37 100%);
    color: #050811;
    border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn.copied {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

/* Toast de notification */
.toast-notice {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold);
    color: var(--navy-950);
    padding: 1rem 1.6rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.35s ease;
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Médiathèque & Vidéos (medias.html) ===== */
.video-feature-wrap {
    max-width: 960px;
    margin: 0 auto 4rem;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    border: 1px solid var(--border-subtle);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Socials Grid */
.social-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.channel-card {
    background: var(--navy-800);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.channel-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.channel-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.channel-tag {
    font-size: 0.85rem;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

/* ===== Formulaire de Prière / Contact ===== */
.prayer-form-wrap {
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.84rem;
    color: #94a3b8;
    margin-bottom: 0.45rem;
    letter-spacing: 0.015em;
    line-height: 1.35;
}

.form-label .req {
    color: var(--gold);
    font-weight: 500;
    margin-left: 0.25rem;
    font-size: 0.85rem;
}

.form-label .optional {
    color: #64748b;
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.82rem 1.05rem;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f1f5f9;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.012em;
    transition: var(--transition);
}

.form-control::placeholder {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.form-control:focus {
    outline: none;
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--gold);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2), 0 6px 20px rgba(0, 0, 0, 0.35);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem 1rem;
    padding-right: 2.75rem;
    cursor: pointer;
}

select.form-control:invalid,
select.form-control option[value=""] {
    color: #64748b;
    font-weight: 400;
}

select.form-control option {
    background-color: #0b1329;
    color: #f1f5f9;
    padding: 0.65rem 1rem;
    font-size: 0.92rem;
    font-weight: 500;
}

select.form-control optgroup {
    background-color: #060b18;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* ===== Page Nous Rejoindre — Split Hero & Formulaire Visible Immédiatement ===== */
.rejoindre-hero {
    position: relative;
    padding: 1.75rem 0 3.5rem;
    background: radial-gradient(circle at 50% 15%, rgba(26, 42, 80, 0.82) 0%, rgba(6, 10, 20, 0.98) 75%), url('assets/ciel-etoile.jpg') center/cover no-repeat;
    overflow: hidden;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.rejoindre-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.25fr;
    gap: 2.75rem;
    align-items: start;
}

.rejoindre-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.rejoindre-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin: 0.35rem 0 0.5rem;
}

.rejoindre-title span {
    background: linear-gradient(135deg, #ffffff 20%, var(--gold-light) 60%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rejoindre-pillars {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.rejoindre-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.1rem;
    transition: var(--transition);
}

.rejoindre-pillar-item:hover {
    border-color: var(--gold);
    background: rgba(21, 30, 54, 0.85);
    transform: translateX(4px);
}

.rejoindre-pillar-icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.rejoindre-pillar-content h3 {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.rejoindre-pillar-content p {
    font-size: 0.83rem;
    color: var(--text-body);
    line-height: 1.45;
    margin: 0;
}

.rejoindre-infoline-card {
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.15rem;
    font-size: 0.85rem;
    color: var(--text-body);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Le formulaire compact & immédiatement visible dès l'atterrissage */
.rejoindre-form-card {
    background: rgba(10, 16, 32, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.08);
    padding: 1.85rem 2.2rem;
    backdrop-filter: blur(14px);
}

.rejoindre-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.95rem;
    margin-bottom: 1.35rem;
}

.rejoindre-form-header .form-header-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: -0.01em;
}

.rejoindre-form-header .form-header-title svg {
    color: var(--gold);
    flex-shrink: 0;
}

.rejoindre-badge-secure {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 500;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    padding: 0.24rem 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.28);
    letter-spacing: 0.02em;
}

.rejoindre-form-card .form-group {
    margin-bottom: 1.15rem;
}

.rejoindre-form-card .form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.83rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 0.42rem;
    letter-spacing: 0.015em;
    line-height: 1.3;
}

.rejoindre-form-card .form-label .req {
    color: var(--gold);
    font-weight: 500;
    margin-left: 0.2rem;
    font-size: 0.85rem;
}

.rejoindre-form-card .form-label .optional {
    color: #64748b;
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 0.3rem;
}

.rejoindre-form-card .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 500;
    color: #f1f5f9;
    letter-spacing: 0.012em;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    transition: var(--transition);
}

.rejoindre-form-card .form-control::placeholder {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.rejoindre-form-card .form-control:focus {
    outline: none;
    background: rgba(15, 23, 42, 0.95);
    border-color: var(--gold);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.rejoindre-form-card select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.95rem center;
    background-size: 0.88rem;
    padding-right: 2.3rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.rejoindre-form-card select.form-control option {
    background: #0b1120;
    color: #f1f5f9;
    padding: 0.65rem;
    font-size: 0.9rem;
}

.rejoindre-form-card textarea.form-control {
    min-height: 82px;
    height: 82px;
    line-height: 1.55;
    resize: vertical;
}

.rejoindre-form-card .btn-submit-join {
    width: 100%;
    padding: 0.9rem 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: #0b1120;
    background: linear-gradient(135deg, #fbe58a 0%, #d4af37 50%, #b8860b 100%);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.45rem;
}

.rejoindre-form-card .btn-submit-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #ffffff 0%, #fbe58a 40%, #d4af37 100%);
}

.rejoindre-form-card .form-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
}

.rejoindre-form-card .form-privacy-note svg {
    color: var(--gold);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .rejoindre-hero {
        padding: 1.25rem 0 2.5rem;
    }
    .rejoindre-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .rejoindre-side-header {
        order: 1;
    }
    .rejoindre-form-card {
        order: 2;
        padding: 1.25rem 1.15rem;
    }
    .rejoindre-side-extra {
        order: 3;
        margin-top: 1rem;
    }
    .rejoindre-title {
        font-size: 2rem;
    }
}


/* ===== Pied de page Officiel IPC ===== */
.site-footer {
    background: var(--navy-950);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 5rem 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-brand .brand {
    margin-bottom: 1.25rem;
}

.footer-about {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-body);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-body);
}

.footer-bottom {
    border-top: 1px solid var(--border-card);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

/* ===== Utilitaires ===== */
.ico {
    width: 1.2em;
    height: 1.2em;
    fill: currentColor;
    flex-shrink: 0;
    vertical-align: -0.15em;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ===== Interactive Map & Location Section ===== */
.map-card-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    margin-top: 2.5rem;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.map-card-wrapper:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
}

.map-frame-container {
    position: relative;
    min-height: 480px;
    width: 100%;
    background: #111827;
}

.map-frame-container iframe {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border: 0;
    display: block;
}

.map-frame-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(10, 15, 29, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: 9999px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 5;
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

.map-details-panel {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(20, 27, 45, 0.95), rgba(15, 23, 42, 0.98));
}

.map-details-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.map-landmark-box {
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    color: #f1f5f9;
}

.map-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.map-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.5;
}

.map-meta-item .ico {
    color: var(--gold);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.coord-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.6rem;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--gold-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.coord-chip:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
    color: var(--white);
}

.map-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.map-action-buttons .btn {
    flex: 1 1 calc(50% - 0.75rem);
    text-align: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
}

.btn-waze {
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

.btn-waze:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* Compact map preview for index.html */
.campus-map-preview {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 1.25rem;
    border: 1px solid var(--border-subtle);
    position: relative;
    height: 180px;
    background: #111827;
}

.campus-map-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1240px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .founder-spotlight, .bio-hero-block, .bio-block { grid-template-columns: 1fr; gap: 2.5rem; }
    .campus-grid, .dept-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .social-channels-grid { grid-template-columns: 1fr 1fr; }
    .schedule-cards-grid,
    .schedule-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .schedule-card,
    .schedule-col { border-right: 1px solid var(--border-card); }
    .map-card-wrapper { grid-template-columns: 1fr; }
    .map-frame-container, .map-frame-container iframe { min-height: 380px; }
    
    /* Menu Mobile Plein Écran Haut de Gamme */
    .menu-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: radial-gradient(circle at 50% 15%, rgba(18, 28, 54, 0.98) 0%, rgba(5, 8, 17, 0.99) 75%);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.15rem;
        padding: 5.5rem 1.5rem 2.5rem;
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(0.96) translateY(-10px);
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.3s ease;
        overflow-y: auto;
        border: none;
        box-shadow: none;
        margin: 0;
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1) translateY(0);
    }

    .nav a {
        width: 100%;
        max-width: 340px;
        text-align: center;
        padding: 0.7rem 1.25rem;
        font-family: var(--font-heading);
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        color: #f1f5f9;
        border-radius: 10px;
        transition: var(--transition);
        border: 1px solid transparent;
    }

    .nav a:hover,
    .nav a.active {
        color: var(--gold-light);
        background: rgba(212, 175, 55, 0.12);
        border-color: rgba(212, 175, 55, 0.3);
        transform: translateY(-2px);
    }

    .nav a::after {
        display: none !important;
    }

    .nav-lang-switch {
        display: inline-flex;
    }

    .nav .nav-cta {
        margin: 0.85rem auto 0;
        width: 100%;
        max-width: 280px;
        font-family: var(--font-sans);
        font-size: 1rem;
        font-weight: 700;
        padding: 0.85rem 2rem !important;
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
        border-radius: var(--radius-full);
    }
}

body.no-scroll {
    overflow: hidden !important;
    touch-action: none;
}

@media (max-width: 768px) {
    .grid-2, .mission-grid, .campus-grid, .dept-grid, .doctrine-grid, .values-grid, .payment-methods-grid { grid-template-columns: 1fr; }
    .vision-hero-card { padding: 2rem 1.25rem; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .social-channels-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr; }
    .map-details-panel { padding: 1.5rem; }
    .map-action-buttons .btn { flex: 1 1 100%; }
    .top-bar {
        padding: 0.3rem 0;
    }
    .top-bar-inner {
        padding: 0 0.75rem;
        gap: 0.6rem;
    }
    .top-bar-badge {
        padding: 0.18rem 0.55rem;
    }
    .top-bar-badge-text {
        font-size: 0.65rem;
    }
    .top-bar-contacts {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    .top-bar-contacts .top-bar-link {
        display: none;
    }
    .ticker-item {
        font-size: 0.76rem;
    }
    .brand-logo { height: 48px; width: auto; padding: 0; background: transparent; border: none; box-shadow: none; }
    .brand-name { font-size: 0.92rem; }
    .brand-sub { font-size: 0.58rem; }
    .church-hero { padding: 2.25rem 0 3rem; }
    .hero-logo-img { height: 92px; width: auto; padding: 0; background: transparent; border: none; box-shadow: none; }
    .hero-logo-center { margin-bottom: 0.85rem; }
}

@media (max-width: 480px) {
    .top-bar-text { font-size: 0.68rem; }
    .top-bar-sub { display: none; }
    .header-inner { min-height: 72px; }
    .header-actions { gap: 0.45rem; }
    .lang-btn { padding: 0.25rem 0.52rem; font-size: 0.7rem; }
    .brand-logo { height: 42px; width: auto; padding: 0; background: transparent; border: none; box-shadow: none; }
    .brand-name { font-size: 0.84rem; }
    .brand-sub { display: none; }
    .church-hero { padding: 1.75rem 0 2.5rem; }
    .hero-logo-img { height: 80px; width: auto; padding: 0; background: transparent; border: none; box-shadow: none; }
    .hero-logo-center { margin-bottom: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
