/*
 * Styles pour le site AD Logos inspiré par Impact Centre Chrétien
 *
 * Style premium ✨ — Header propre, logo professionnel, sections harmonisées.
 */

/* ===========================
   VARIABLES & BASE
   =========================== */
:root {
    --bg-dark: #0e1525;
    --bg-light: #f8fafc;
    --bg-medium: #eef2ff;
    --primary: #f4af55;
    --primary-alt: #c68a36;
    --text-dark: #0f172a;
    --text-muted: #6b7280;
    --text-light: #f8fafc;
    --card-radius: 16px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

/* Réinitialisation minimale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===========================
   NAVIGATION — HEADER CLEAN
   =========================== */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    backdrop-filter: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    /* hauteur fixe du header */
    padding: 0;
    /* on enlève le padding vertical */
    position: relative;
}

.nav-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* lien autour du logo */
.nav-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 0;
    /* pas d'espace à côté du logo */
}

/* image du logo */
.nav-logo-img {
    height: 55px;
    /*  taille visible du logo */
    width: auto;
    object-fit: contain;
}

/* on masque totalement l'ancien texte */
.nav-title,
.nav-title-main,
.nav-title-sub {
    display: none !important;
}



/* LIENS DU MENU */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-links a {
    position: relative;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    padding-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-alt);
}

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

/* BURGER (icône menu) */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger div {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* BURGER NOS EGLISES */
/* ===== Sous-menu "Nos Églises" ===== */

/* ===== Sous-menu "Nos Églises" ===== */

.nav-item-has-children {
    position: relative;
}

/* sous-menu caché par défaut */
.nav-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    padding: 0.6rem 1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 210px;
    z-index: 1000;

    /* animation */
    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* liens du sous-menu */
.nav-submenu a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.15rem 0;
}

.nav-submenu a:hover {
    color: var(--primary-alt);
}

/* lorsqu'on ouvre le sous-menu via la classe .open (JS) */
.nav-item-has-children.open .nav-submenu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

/* version mobile : sous-menu intégré dans la colonne */
/* version mobile : sous-menu intégré dans la colonne */
/* version mobile : sous-menu intégré dans la colonne + animation */
@media (max-width: 900px) {
    .nav-item-has-children {
        width: 100%;
    }

    .nav-submenu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0.25rem 0 0.25rem 0.75rem;
        border-radius: 0;
        min-width: auto;

        display: flex;
        flex-direction: column;
        max-height: 0;
        /* pas de place à l’état fermé */
        overflow: hidden;
        opacity: 0;
        transform: translateY(-4px);
        visibility: hidden;
        pointer-events: none;
        transition:
            max-height 0.22s ease,
            opacity 0.18s ease,
            transform 0.18s ease;
    }

    .nav-item-has-children.open .nav-submenu {
        max-height: 120px;
        /* hauteur suffisante pour 2 liens */
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }
}



/* liens du sous-menu */
.nav-submenu a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.15rem 0;
}

.nav-submenu a:hover {
    color: var(--primary-alt);
}

/* lorsqu'on ouvre le sous-menu via la classe .open (JS) */
.nav-item-has-children.open .nav-submenu {
    display: flex;
}

/* version mobile : sous-menu intégré dans la colonne */
@media (max-width: 900px) {
    .nav-submenu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding: 0.25rem 0 0.25rem 0.75rem;
        border-radius: 0;
    }
}


/* MENU MOBILE : dropdown + burger */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem;
        border-radius: 0 0 0 16px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .nav-links.show {
        max-height: 600px;
        opacity: 1;
    }

    .burger {
        display: flex;
    }
}


/* ===========================
   HERO SLIDER
   =========================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    color: var(--text-light);
    background: #000;
    /* sécurité si une image ne charge pas */
}

/* conteneur de tous les slides */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}

/* un slide */
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* slide visible */
.hero-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* fond photo + overlay */
.hero-background {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(14, 21, 37, 0.7),
            rgba(14, 21, 37, 0.9));
    z-index: 1;
}

/* HERO – layout texte à gauche façon ADVE */

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;

    /* 👉 au lieu de centrer, on colle à gauche avec une marge souple */
    margin-left: clamp(1.5rem, 7vw, 5rem);
    margin-right: auto;

    padding: 2rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-text-block {
    max-width: 520px;
    /* largeur de la zone texte */
    text-align: left;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5.2vw, 3.6rem);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    margin-bottom: 1.8rem;
    color: #d1d5db;
}

.hero-buttons {
    justify-content: flex-start;
}

/* RESPONSIVE – sur mobile on recentre comme avant */

@media (max-width: 768px) {
    .hero-content {
        min-height: 85vh;
        padding-inline: 1rem;
        align-items: center;
        justify-content: center;
    }

    .hero-text-block {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }

    .service-times {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Images différentes par slide (à adapter si tu veux) */
.hero-slide--eglise .hero-background {
    background-image: url('../img/menbre.jpeg');
}

.hero-slide--school .hero-background {
    background-image: url('../img/background_logos.jpg');
}

.hero-slide--don .hero-background {
    background-image: url('../img/IMG_0085.jpeg');
    /* change si tu veux une autre image */
}

/* Flèches du slider */

/* Flèches du slider */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    /* au lieu de 42px */
    height: 32px;
    /* au lieu de 42px */
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.7);
    background: rgba(15, 23, 42, 0.65);
    color: #f9fafb;
    font-size: 1.1rem;
    /* au lieu de 1.5rem */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-arrow--prev {
    left: 1.2rem;
    /* léger ajustement */
}

.hero-arrow--next {
    right: 1.2rem;
}

.hero-arrow:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.6);
}

/* Version mobile : encore un peu plus petites si tu veux */
@media (max-width: 768px) {
    .hero-arrow {
        width: 26px;
        height: 26px;
        font-size: 0.95rem;
    }

    .hero-arrow--prev {
        left: 0.75rem;
    }

    .hero-arrow--next {
        right: 0.75rem;
    }
}

/* Points de navigation */
.hero-dots {
    position: absolute;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(248, 250, 252, 0.7);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hero-dot.active {
    width: 22px;
    background: var(--primary);
    border-color: var(--primary);
}

/* ===== Horaires des cultes dans le hero ===== */
.service-times {
    margin-top: 1.8rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.6rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.6);
}

.service-times-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--primary);
}

.service-times-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: center;
}

.service-slot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.85rem;
}

.service-day {
    font-weight: 600;
    color: #e5e7eb;
}

.service-time {
    color: #cbd5e1;
}

/* Responsive horaires */
@media (max-width: 480px) {
    .service-times {
        width: 100%;
        padding-inline: 1rem;
    }

    .service-slot {
        align-items: center;
        text-align: center;
    }
}

/* ===========================
   HERO RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .hero-section {
        min-height: 85vh;
        padding-inline: 0.75rem;
    }

    .hero-background {
        background-position: center;
        background-size: cover;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .hero-arrow--prev {
        left: 0.75rem;
    }

    .hero-arrow--next {
        right: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .btn {
        width: 80%;
        text-align: center;
        padding: 12px 0;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-section {
        min-height: 80vh;
    }
}

/* ===========================
   BOUTONS GÉNÉRIQUES
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-alt));
    color: var(--text-dark);
    box-shadow: 0 10px 24px rgba(244, 175, 85, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(244, 175, 85, 0.55);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(248, 250, 252, 0.8);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-alt);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.btn-link:hover {
    color: var(--primary);
}

/* ===========================
   SECTIONS GÉNÉRIQUES
   =========================== */
.section {
    padding: 5rem 0;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: center;
}

.section-description {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

/* ===========================
   PILIERS
   =========================== */
.pillars-section {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--card-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

.pillar-icon img {
    width: 56px;
    height: 56px;
    filter: none;
}

.pillar-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    color: var(--text-light);
}

.pillar-card p {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.pillar-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.2rem;
}

.pillar-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
}

.pillar-link:hover::after {
    width: 100%;
}

/* ===========================
   À PROPOS
   =========================== */
.about-section {
    background: var(--bg-light);
    text-align: center;
    padding: 5rem 0;
}

.about-container {
    max-width: 850px;
}

.about-section h2 {
    color: var(--text-dark);
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-btn {
    margin-top: 1.5rem;
}

/* ===========================
   TÉMOIGNAGES
   =========================== */
.testimonies-section {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0;
}

.testimonies-section h2 {
    color: var(--text-light);
}

.testimonies-section .section-description {
    color: #cbd5e1;
}

.testimonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimony-card {
    background: #1e293b;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.testimony-media img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.testimony-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.testimony-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary);
}

.testimony-content p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

/* ===========================
   FORMATIONS
   =========================== */
.formations-section {
    background: var(--bg-light);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.formation-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.formation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* on masque les anciennes icônes */
.formation-icon {
    display: none;
}

.formation-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    color: var(--primary-alt);
}

.formation-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ===========================
   MINISTÈRES
   =========================== */
.ministeres-section {
    background: var(--bg-medium);
}

.ministeres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.minister-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.minister-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.minister-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary);
}

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

/* ===========================
   DONATION
   =========================== */
.donation-section {
    background: var(--bg-dark);
    color: var(--text-light);
}

.donation-container h2 {
    color: var(--text-light);
}

.donation-container .section-description {
    color: #cbd5e1;
}

.donation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.donation-text h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.donation-text p {
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.donation-list li {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.donation-actions {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 2rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.donation-actions h3 {
    margin-bottom: 0.4rem;
    color: var(--primary);
}

.donation-actions p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.donation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.donation-info {
    font-size: 0.85rem;
    color: #cbd5e1;
}

/* ===========================
   CONTACT
   =========================== */
.contact-section {
    background: var(--bg-medium);
}

.contact-container h2 {
    color: var(--text-dark);
}

.contact-container .section-description {
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-form,
.contact-info {
    background: #ffffff;
    border-radius: var(--card-radius);
    padding: 2rem 1.6rem;
    box-shadow: var(--shadow);
}

.contact-form h3,
.contact-info h3 {
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
    color: var(--primary-alt);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.9rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(244, 175, 85, 0.25);
    background-color: #f9fafb;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-info p {
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.social-list li {
    margin-bottom: 0.4rem;
}

.social-list a {
    color: var(--primary-alt);
    font-weight: 600;
    font-size: 0.95rem;
}

.social-list a:hover {
    color: var(--primary);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    text-align: center;
    padding: 1.4rem 0;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

/* ===========================
   BREAKPOINTS GLOBAUX
   =========================== */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .pillars-grid,
    .testimonies-grid,
    .formations-grid,
    .ministeres-grid,
    .donation-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Effet fade-in pour les sections (animé via IntersectionObserver dans le JS) */
.hero-section,
.pillars-section,
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-section.visible,
.pillars-section.visible,
.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   SECTION PASTEUR
   =========================== */
.pastor-section {
    background: radial-gradient(circle at 0 0, #ffffff 0, #f3f4f6 45%, #e5e7eb 100%);
}

.pastor-inner {
    width: 100%;
}

.pastor-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 4rem 0;
}

.pastor-text {
    max-width: 540px;
}

.pastor-kicker {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: var(--primary-alt);
    margin-bottom: 0.75rem;
}

.pastor-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.pastor-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.pastor-quote {
    position: relative;
    font-style: italic;
    font-size: 0.95rem;
    color: #4b5563;
    border-left: 3px solid var(--primary);
    padding-left: 0.9rem;
    margin-bottom: 1.9rem;
}

.pastor-quote span {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-alt);
}

.pastor-btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    box-shadow: none;
}

.pastor-btn-outline:hover {
    background: var(--text-dark);
    color: #ffffff;
}

.pastor-photo {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
}

.pastor-photo::before {
    content: '';
    position: absolute;
    right: 5%;
    bottom: -16px;
    width: 280px;
    height: 280px;
    background:
        radial-gradient(circle at 20% 0%, rgba(244, 175, 85, 0.55), transparent 60%),
        radial-gradient(circle at 80% 100%, rgba(14, 21, 37, 0.35), transparent 65%);
    filter: blur(6px);
    opacity: 0.8;
    border-radius: 50%;
    z-index: -1;
}

.pastor-photo img {
    height: 380px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 40px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.32);
}

.pastor-names {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    opacity: 0.95;
}

.pastor-names strong {
    font-weight: 700;
    color: var(--primary-alt);
    letter-spacing: 0.2px;
}

/* Responsive - section pastorale */
@media (max-width: 992px) {
    .pastor-layout {
        gap: 2.5rem;
        padding: 3.2rem 0;
    }

    .pastor-text h2 {
        font-size: 2.1rem;
    }

    .pastor-photo img {
        height: 340px;
        border-radius: 32px;
    }
}

@media (max-width: 768px) {
    .pastor-layout {
        flex-direction: column-reverse;
        text-align: center;
        padding: 2.8rem 0 3.2rem;
    }

    .pastor-text {
        max-width: 560px;
        margin: 0 auto;
    }

    .pastor-text h2 {
        font-size: 2rem;
    }

    .pastor-text p {
        font-size: 0.98rem;
    }

    .pastor-photo {
        justify-content: center;
    }

    .pastor-photo::before {
        right: 50%;
        transform: translateX(50%);
        bottom: -12px;
        width: 240px;
        height: 240px;
    }

    .pastor-photo img {
        height: auto;
        max-width: 320px;
    }

    .pastor-btn-outline {
        width: auto;
        padding-inline: 1.8rem;
    }
}

@media (max-width: 480px) {
    .pastor-layout {
        padding: 2.4rem 0 2.8rem;
    }

    .pastor-text h2 {
        font-size: 1.8rem;
    }

    .pastor-photo img {
        max-width: 260px;
        border-radius: 28px;
    }
}

.plateformes-section {
    background: var(--bg-medium);
}

.plateformes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.plateforme-card {
    background: #ffffff;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.plateforme-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.plateforme-card h3 {
    margin: 1rem 0 0.4rem;
    font-size: 1.15rem;
    color: var(--primary);
}

.plateforme-card p {
    padding: 0 1rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
    /* permet aux textes de remplir la carte */
}

/* 2e ligne : même grille mais colonnes un peu plus larges */
.plateformes-grid.secondaires {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ===========================
   LOCALISATION (GOOGLE MAPS)
   =========================== */
.location-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.location-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.location-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.map-container {
    width: 100%;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: inherit;
}

/* Responsive map */
@media (max-width: 768px) {
    .map-container {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 260px;
    }
}

/* Animation de clic douce sur boutons / liens / burger */
.btn,
.pillar-link,
.nav-links a,
.burger {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.clicked {
    transform: scale(0.96);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

/* pour le burger uniquement, on atténue un peu */
.burger.clicked {
    box-shadow: none;
}

.hero-section,
.section,
.pillars-section {
    scroll-margin-top: 90px;
    /* à ajuster si ton header change de taille */
}

.ministeres-section {

    background: var(__bg-medium);
}

/* ===== Section Batismo (remplace les anciens "ministères") ===== */

.ministeres-section {
    background: var(--bg-medium);
}

.baptism-container {
    text-align: center;
}

.baptism-subtitle {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.baptism-date {
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.baptism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.baptism-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.baptism-cta {
    display: flex;
    justify-content: center;
}


/* FORMULAIRE ECOLE DE MUSIQUE */

/* SECTION INSCRIPTIONS */
.inscription-section {
    padding: 80px 0;
}

.inscription-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.inscription-form .form-group {
    margin-bottom: 20px;
}

.inscription-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.inscription-form input,
.inscription-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
}

.inscription-form input:focus,
.inscription-form select:focus {
    border-color: var(--primary);
    outline: none;
}

.inscription-form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}



/* ===========================

PAGE LE MANS===========================*/
.lemans-section {
    background: #f8fafc;
    padding-bottom: 5rem;
}

/* Bande image de fond */

.lemans-hero {
    position: relative;
    height: 320px;
    background-image: url("img/lemans-fond.jpg");
    /* <= mets ton image ici */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.lemans-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.35),
            rgba(15, 23, 42, 0.55));
}

.lemans-hero-content {
    position: relative;
    z-index: 1;
    padding: 3rem 0 2.5rem;
    color: #fff;
}

.lemans-hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 3vw, 2.8rem);
    margin-bottom: 0.6rem;
}

.lemans-hero-text {
    max-width: 600px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contenu sous l'image */

.lemans-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    padding: 0 1.5rem;
    margin-top: -90px;
    /* fait remonter la carte comme ICC */
}

/* ===== Carte responsable(s) – style ICC ===== */

.lemans-resp-card {
    max-width: 360px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 28px;
    padding: 2.2rem 2rem 1.8rem;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lemans-resp-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    background: #fefce8;
    /* léger fond si pas de photo */
}

.lemans-resp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lemans-resp-label {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 0.3rem;
}

.lemans-resp-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111827;
    text-align: center;
}

.lemans-resp-separator {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    margin: 1.2rem 0 1rem;
}

.lemans-resp-address {
    font-size: 0.95rem;
    color: #1f2933;
    line-height: 1.5;
}

/* ===== Carte Infos pratiques ===== */

.lemans-info-card {
    flex: 1;
    background: #fff;
    border-radius: 18px;
    padding: 2rem 2.4rem;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    text-align: left;
    border-left: 4px solid var(--primary);
    align-self: flex-end;
    margin-bottom: 2rem;
}

.lemans-info-card h3 {
    font-size: 1.4rem;
    margin-bottom: .6rem;
    font-family: 'Playfair Display', serif;
    color: #0f172a;
}

.lemans-info-card .lemans-info-intro {
    color: #475569;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}

.lemans-info-card p {
    margin-bottom: 0.6rem;
    color: #1e293b;
}

.lemans-info-card p strong {
    font-weight: 600;
}

/* Bouton contact */

.lemans-info-card .btn-main {
    margin-top: 0.8rem;
    display: inline-block;
    background: #f4af55;
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.lemans-info-card .btn-main:hover {
    background: #d89236;
    transform: translateY(-1px);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .lemans-hero {
        height: 260px;
    }

    .lemans-hero-content {
        padding: 2.5rem 0 2rem;
    }

    .lemans-content {
        flex-direction: column;
        margin-top: -70px;
        gap: 1.5rem;
    }

    .lemans-resp-card {
        max-width: 100%;
        padding: 2rem 1.6rem;
    }

    .lemans-info-card {
        padding: 1.7rem;
        margin-bottom: 1rem;
    }
}