/* =====================
   VARIABLES ET RÉINITIALISATION
   ===================== */

:root {
    --accent-color: #0066ff;
    --accent-blue: #0052cc;
    --black: #000000;
    --white: #ffffff;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #f0f0f0;
    --off-white: #f8f8f8;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--black);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

p {
    font-weight: 500;
}

/* =====================
   CONTENEUR
   ===================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =====================
   NAVIGATION (HEADER STICKY)
   ===================== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 102, 255, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 102, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

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

.btn-cta {
    padding: 0.8rem 1.8rem;
    background: var(--accent-color);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.btn-cta:hover {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background-color: var(--white);
    transition: var(--transition);
}

/* =====================
   SECTION HÉROS
   ===================== */

.hero {
    position: relative;
    height: calc(100vh - 70px);
    min-height: 560px;
    display: block;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    text-align: center;
    padding-bottom: clamp(1.2rem, 4vw, 2.8rem);
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 0.8rem;
    color: var(--white);
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--light-gray);
    margin-bottom: 1.1rem;
    letter-spacing: 0.8px;
    line-height: 1.55;
    min-height: 2.9em;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-title.is-visible,
.hero-subtitle.is-visible,
.hero-buttons.is-visible {
    opacity: 1;
    transform: none;
}

/* =====================
   BOUTONS
   ===================== */

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-primary {
    background: rgba(0, 102, 255, 0.15);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.2);
    border: 2px solid rgba(0, 102, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 102, 255, 0.8);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    transform: translateY(-3px);
}

/* =====================
   SECTIONS GÉNÉRALES
   ===================== */

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
    color: var(--white);
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* =====================
   SECTION À PROPOS
   ===================== */

.about {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
}

.about-title {
    font-size: 3.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.5px;
    color: var(--white);
    line-height: 1.2;
}

.about-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    margin-bottom: 3rem;
}

.carousel-wrapper {
    position: relative;
    width: min(100%, 520px);
    margin: 0 auto;
    aspect-ratio: 4 / 5;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
    isolation: isolate;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-only-slide {
    display: none;
}

.about-carousel .carousel-slide.desktop-only-slide {
    display: none;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.carousel-static-text {
    position: absolute;
    left: 50%;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: min(calc(100% - 2rem), 540px);
    transform: translateX(-50%);
    z-index: 3;
    display: grid;
    gap: 0.8rem;
    align-content: center;
    max-height: calc(100% - 2rem);
    overflow-y: auto;
    background: rgba(0, 198, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(6px);
    padding: 1rem;
}

.about-paragraph {
    display: block;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 10px;
    padding: 1rem;
    line-height: 1.75;
    letter-spacing: 0.25px;
    margin: 0;
}

.mobile-paragraph {
    display: none;
}

.about-paragraph.active {
    animation: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.carousel-controls {
    display: none;
}

.indicator {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    padding: 0;
}

.indicator.active {
    background: var(--accent-color);
    border-color: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(0, 102, 255, 0.8);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.about-img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--accent-color);
    object-fit: cover;
    height: 500px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
    transition: var(--transition-slow);
}

.about-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(212, 175, 55, 0.25);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    letter-spacing: 0.3px;
}

.about-paragraph {
    font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat-badge {
    background: var(--medium-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.stat-badge:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--light-gray);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-weight: 500;
}

/* =====================
   SECTION MINISTÈRES
   ===================== */

.ministries {
    background: var(--black);
}

.ministry-hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-gray);
}

.ministry-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ministry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.ministry-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
    max-width: 900px;
    color: var(--white);
}

.ministry-content h2 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ministry-item {
    background: rgba(0, 102, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
    transition: var(--transition-slow);
}

.ministry-item:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

.ministry-item h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--accent-color);
    letter-spacing: -0.5px;
}

.ministry-item p {
    font-size: 0.95rem;
    color: var(--light-gray);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* =====================
   SECTION CONTACT
   ===================== */

.contact {
    background: var(--black);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-form {
    animation: slideInLeft 0.8s ease-out;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    background: var(--dark-gray);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

.contact-info {
    animation: slideInRight 0.8s ease-out;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.info-block {
    background: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.info-block:hover {
    border-color: var(--accent-color);
    background: rgba(212, 175, 55, 0.05);
}

.info-block h3 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    letter-spacing: -0.3px;
    font-weight: 500;
}

.info-block p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.info-block a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.info-block a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--medium-gray);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--accent-color);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--black);
}

/* =====================
   FOOTER
   ===================== */

.footer {
    background: var(--dark-gray);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--medium-gray);
    margin: 0;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--accent-color);
    letter-spacing: -0.3px;
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.8;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.footer-section ul {
    list-style: none;
    display: inline-block;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 20px;
    border-top: 1px solid var(--medium-gray);
    background: #000;
    color: var(--light-gray);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    line-height: 1.8;
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw);
}

.footer-bottom p {
    margin: 0;
}

@media (min-width: 1024px) {
    .hero-image {
        object-position: center 20%;
    }

    .contact-wrapper {
        display: flex;
        justify-content: center;
    }

    .contact-info {
        width: min(100%, 900px);
        margin: 0 auto;
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        justify-content: center;
        align-items: start;
        gap: 1.5rem;
    }

    .info-block {
        margin: 0;
    }

    .carousel-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
        align-items: start;
    }

    .carousel-wrapper {
        display: grid;
        width: 100%;
        margin: 0;
        aspect-ratio: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        height: auto;
        padding: 1rem;
    }

    .carousel-slide {
        position: relative;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        aspect-ratio: 4 / 5;
        min-height: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .about-carousel .mobile-only-slide {
        display: none;
    }

    .about-carousel .carousel-slide.desktop-only-slide {
        display: block;
    }

    .carousel-static-text {
        position: static;
        display: grid;
        gap: 1rem;
        align-content: start;
        width: auto;
        left: auto;
        transform: none;
        max-height: none;
        overflow: visible;
        background: none;
        border: none;
        backdrop-filter: none;
        padding: 0;
    }


    .about-carousel .mobile-paragraph {
        display: none;
    }

    .about-paragraph {
        display: block;
        margin: 0;
        background: transparent;
        border: 1px solid rgba(0, 102, 255, 0.35);
        box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
    }

    .carousel-indicators {
        display: none;
    }
}

/* =====================
   ANIMATIONS
   ===================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =====================
   SCROLL REVEAL ANIMATIONS
   ===================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.fade-in-up.animate {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left.animate {
    animation: slideInLeft 0.8s ease-out forwards;
}

.fade-in-right.animate {
    animation: slideInRight 0.8s ease-out forwards;
}

.lazy-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

.lazy-reveal.is-visible {
    opacity: 1;
    transform: none;
}

img.lazy-media {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

img.lazy-media.is-loaded {
    opacity: 1;
}

/* =====================
   RESPONSIVE DESIGN
   ===================== */

@media (max-width: 1023px) {
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .ministries-grid {
        grid-template-columns: 1fr;
    }

    .ministry-hero {
        height: auto;
        min-height: 0;
        align-items: flex-start;
        overflow: visible;
        padding: 2rem 0;
    }

    .ministry-content {
        width: min(100%, 900px);
        padding: 2rem 1.2rem;
    }

    .ministry-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    .carousel-wrapper {
        width: min(100%, 540px);
        aspect-ratio: 4 / 5;
        height: auto;
    }

    .carousel-content {
        padding: 2rem;
    }

    .carousel-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 70px;
        height: calc(100vh - 70px);
        min-height: 520px;
        padding: 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        min-height: 3.2em;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-content {
        gap: 1rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 280px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        padding: 2rem;
        gap: 1rem;
        border-right: 2px solid rgba(0, 102, 255, 0.4);
        border-bottom: 1px solid rgba(0, 102, 255, 0.2);
        animation: slideInLeft 0.3s ease-out;
        max-height: 100vh;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .btn-cta {
        display: none;
    }

    .about-img {
        height: 300px;
    }

    .carousel-wrapper {
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
    }

    .carousel-content {
        padding: 1.5rem;
    }

    .carousel-content p {
        font-size: 0.9rem;
    }

    .ministry-image img {
        height: 300px;
    }

    section {
        padding: 60px 0;
    }
}

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

    .section-title {
        font-size: 1.6rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .about-text h2,
    .ministry-item h3 {
        font-size: 1.5rem;
    }

    .ministry-card,
    .contact-wrapper {
        padding: 1.5rem;
    }

    .stat-badge {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .ministries-grid {
        grid-template-columns: 1fr;
    }

    .ministry-content h2 {
        font-size: 1.8rem;
    }

    .ministry-hero {
        height: auto;
        min-height: 500px;
    }

    .carousel-wrapper {
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
    }

    .carousel-content {
        padding: 1rem;
    }

    .carousel-content p {
        font-size: 0.85rem;
    }

    .carousel-indicators {
        gap: 0.5rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 14px;
        height: 14px;
    }
}

/* =====================
   ACCESSIBILITÉ
   ===================== */

@media (max-width: 1023px) {
    .about-carousel {
        position: relative;
        margin-bottom: 3rem;
        overflow: hidden;
    }

    .about-carousel .carousel-wrapper {
        position: relative;
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        aspect-ratio: 4 / 5;
        height: auto;
        overflow: hidden;
        border-radius: 12px;
    }

    .about-carousel .carousel-slide {
        position: absolute;
        inset: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    }

    .about-carousel .carousel-slide.active,
    .about-carousel .carousel-slide.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .about-carousel .carousel-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: none;
    }

    .about-carousel .carousel-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.45) 100%);
    }

    .about-carousel .carousel-static-text {
        position: absolute;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        top: auto;
        width: auto;
        transform: none;
        z-index: 6;
        max-height: 38%;
        overflow: hidden;
        background: rgba(0, 198, 255, 0.1);
        border: 1px solid rgba(0, 102, 255, 0.4);
        border-radius: 10px;
        backdrop-filter: blur(4px);
        padding: 0.85rem 1rem 2.8rem;
    }

    .about-carousel .desktop-paragraph {
        display: none;
    }

    .about-carousel .about-paragraph {
        display: none;
        background: none;
        border: none;
        padding: 0;
        margin: 0;
        color: var(--white);
        line-height: 1.45;
        letter-spacing: 0.2px;
    }

    .about-carousel .about-paragraph.active,
    .about-carousel .about-paragraph.is-active {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        overflow: hidden;
    }

    .about-carousel .carousel-controls {
        display: flex;
        position: absolute;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        z-index: 7;
        justify-content: space-between;
        pointer-events: none;
    }

    .about-carousel .carousel-prev,
    .about-carousel .carousel-next {
        pointer-events: auto;
        min-width: 44px;
        min-height: 44px;
        border-radius: 999px;
        border: 1px solid rgba(0, 102, 255, 0.6);
        background: rgba(0, 0, 0, 0.45);
        color: var(--white);
        font-size: 1.2rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }

    .about-carousel .carousel-prev:hover,
    .about-carousel .carousel-next:hover {
        background: rgba(0, 102, 255, 0.45);
    }

    .about-carousel .carousel-indicators {
        position: absolute;
        left: 50%;
        bottom: 1.15rem;
        transform: translateX(-50%);
        margin: 0;
        z-index: 7;
        gap: 0.55rem;
    }

    .about-carousel .indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.7);
        background: rgba(255, 255, 255, 0.35);
    }

    .about-carousel .indicator.active,
    .about-carousel .indicator.is-active {
        background: var(--accent-color);
        border-color: var(--white);
        transform: scale(1.15);
    }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
    .about-carousel .carousel-slide {
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        opacity: 1 !important;
        transform: none !important;
    }

    .lazy-reveal,
    .lazy-reveal.is-visible,
    img.lazy-media,
    img.lazy-media.is-loaded {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
