/* ─── HERO HOME PAGE ─── */
/* Chargé uniquement sur la page d'accueil via functions.php */

[data-scroll-parallax] {
    transform: none !important;
}

/* ═══════════════════════════════════════════════════════
   Palette des couleurs CTA — overrides spécifiques au hero home
   (sur la homepage, outline-white a un comportement bordeaux différent)
   ═══════════════════════════════════════════════════════ */

/* TRANSPARENT → hover bordeaux (override homepage uniquement) */
.c-hero-home .c-hero-btn--outline-white {
    background: transparent;
    color: #612341;
    border: 1px solid #612341;
}
.c-hero-home .c-hero-btn--outline-white:hover {
    background: #612341;
    border-color: #612341;
    color: #fff;
}
.c-hero-home .c-hero-btn--outline-white .c-hero-btn__hover { color: #fff; }


/* ═══════════════════════════════════════════════════════
   HERO LAYOUT
   ═══════════════════════════════════════════════════════ */

.c-hero-home {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height, 80px);
}

.c-header_nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-left: auto;
}

.c-burger {
    color: #60223f;
}

.c-header_inner {
    height: 5rem !important;
}

.c-hero-home .o-container {
    padding: 0 5rem;
    max-width: 1920px;
    width: 100%;
    overflow: visible;
}

/* Fond image */
.c-hero-home__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

/* Fond vidéo */
.c-hero-home__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay sombre */
.c-hero-home__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
}

/* Contenu */
.c-hero-home__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
}

/* ─── Wrapper texte ─── */
.c-hero-home__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    /*margin-top: -64px;*/
    margin-top: clamp(-64px, -3.5vw, -64px);
}

.c-hero-home__title {
    color: #fff;
    text-align: center;
    font-family: Chivo, sans-serif;
    /*font-size: 50px;*/
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
    /*
    margin-bottom: 3rem;
    max-width: 800px;
    */

    font-size: clamp(30px, 2.6vw, 50px);
    margin-bottom: clamp(1rem, 3vw, 3rem);
    max-width: clamp(500px, 45vw, 800px);
}

h2.c-hero-home__subtitle {
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
    font-family: Chivo, sans-serif;
    /*font-size: 30px;*/
    font-weight: 100;
    line-height: 1.5;
    /*
    max-width: 750px;
    margin: 0 auto 8rem;
    */
    opacity: 0.95;

    font-size: clamp(15px, 1.6vw, 30px);
    max-width: clamp(400px, 40vw, 750px);
    margin: 0 auto clamp(4rem, 7vw, 8rem);
}

/* ─── CTAs hero ─── */
.c-hero-home__ctas {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}

/* ─── Override font-weight du bouton dans le hero (600 vs 400 global) ─── */
.c-hero-home .c-hero-btn {
    font-weight: 500;
    height: 48px;
}


.c-hero-home__scroll-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    color: #fff;
    opacity: 0.9;
    cursor: pointer;
    z-index: 10;
    animation: bounce 2s infinite;
}

.c-hero-home__scroll-arrow svg {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Laptop (≤ 1280px)
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1280px) {


    .c-hero-home__text {
        margin-top: clamp(-64px, -3.5vw, -50px) !important;
    }


    .c-hero-home__title {
        font-size: 33px !important;
        margin-bottom: 1rem;
    }
    h2.c-hero-home__subtitle {
        font-size: 20px !important;
        margin: 0 auto 6rem !important;
    }
    .c-hero-home .c-hero-btn {
        font-size: 0.75rem !important;
        height: 48px !important;
        padding: 0px 14px !important;
        margin-top: 20px !important;
    }
    .c-media-text_image {
        width: 100%;
        margin-left: auto;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .c-header_logo, .c-media-text:not(.-reversed) .c-media-text_media {
        margin-right: 4rem !important;
    }

    .c-media-text {
        gap: 0 !important;
    }
    .c-header_nav .menu-item a {
        height: 100% !important;
        padding: 0 2rem !important;
        letter-spacing: 0.05em !important;
    }

}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 767px)
   Bloc unique fusionné — plus de duplication
   ═══════════════════════════════════════════════════════ */

@media (max-width: 767px) {

    /* Hero layout */
    .c-hero-home {
        height: 100svh;
        min-height: 100svh;
    }
    .c-hero-home .o-container {
        padding: 0 1.5rem;
    }

    /* Header */
    .c-header_logo, .c-media-text:not(.-reversed) .c-media-text_media {
        margin-right: 2rem !important;
    }
    .c-header_nav .menu-item a {
        padding: 0 1.25rem !important;
        font-size: 0.75rem !important;
        height: 5rem !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }


    .c-carousel_cell, .c-header_inner, .o-layout.-gutter-x-lg>.o-layout_item {
        padding-left: 1.5rem !important;
    }

    /* Image hero */
    .c-hero-home__image {
        object-position: 65% center;
    }

    /* Texte hero */
    .c-hero-home__text {
        margin-top: -22px !important;
    }
    .c-hero-home__title {
        font-size: 30px !important;
        margin-bottom: 1.5rem;
        gap: 1rem !important;
    }
    h2.c-hero-home__subtitle {
        font-size: 15px !important;
        margin: 0 auto 3rem !important;
        max-width: 100%;
    }

    /* CTAs empilés en colonne */
    .c-hero-home__ctas {
        flex-direction: column;
        align-items: center;
        gap: 1rem !important;
    }
    .c-hero-home .c-hero-btn {
        font-size: 0.75rem !important;
    }

    /* Media-text sur mobile */
    .c-media-text:not(.-reversed) .c-media-text_media {
        margin-left: calc(1.5rem - ((100vw - 100%) / 2)) !important;
        width: calc(75% + 4rem + ((100vw - 100%) / 2)) !important;
        margin-right: calc(1rem - ((100vw - 100%) / 2)) !important;
    }

    .o-section {
        padding-top: 2rem !important;
        padding-bottom: 3rem !important;
    }
    .c-media-text_content .c-media-text_btn {
        align-items: self-start !important;
    }
    .c-media-text:not(.-reversed) .c-media-text_content {
        margin-left: 0px !important;
        margin-top: 2rem !important;
    }

    /* Galerie photos en carousel sur mobile */
    .c-gallery.o-carousel {
        overflow: visible !important;
    }

    .c-gallery_cell {
        width: 85% !important;
        padding: 0 0.5rem !important;
        margin: 0 -34px !important;
    }

    .c-gallery_media {
        width: 100% !important;
        height: 300px !important;
        overflow: hidden !important;
    }

    .c-gallery_image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* Flèches carousel */
    .c-gallery.o-carousel .flickity-prev-next-button {
        position: absolute !important;
        top: -2rem !important;
        transform: none !important;
        width: 28px !important;
        height: 28px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .c-gallery.o-carousel .flickity-prev-next-button.next {
        right: 1rem !important;
        left: auto !important;
    }

    .c-gallery.o-carousel .flickity-prev-next-button.previous {
        right: 3.5rem !important;
        left: auto !important;
    }

    .c-showcase_accordions {
        width: 90% !important;
        margin-right: 0rem !important;
    }

    .c-media-text.-reversed .c-media-text_media {
        margin-right: calc(0.5rem - ((100vw - 100%) / 2)) !important;
        margin-left: calc(1rem - ((100vw - 100%) / 2)) !important;
        width: calc(78% + 4rem + ((100vw - 100%) / 2)) !important;
    }

}