.irm-dcc451f8-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #111;
    border-radius: 0;
}

.irm-dcc451f8-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.irm-dcc451f8-container.has-hover .irm-dcc451f8-video {
    opacity: 0.1 !important;
}

.irm-dcc451f8-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
    transition:
        opacity 0.5s ease,
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.irm-dcc451f8-bg-layer.active {
    opacity: 0.45;
    transform: scale(1);
}

/*
 * Contenu principal.
 */
.irm-dcc451f8-content-wrapper {
    position: relative;
    z-index: 2;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.irm-dcc451f8-nav {
    max-width: 500px;
}

.irm-dcc451f8-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.irm-dcc451f8-item {
    margin: 0;
}

.irm-dcc451f8-link {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    font-size: 3rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.irm-dcc451f8-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.irm-dcc451f8-link:hover,
.irm-dcc451f8-link:focus-visible {
    transform: translateX(10px);
}

.irm-dcc451f8-link:hover::after,
.irm-dcc451f8-link:focus-visible::after {
    width: 100%;
}

/*
 * Infobox centrale.
 */
.irm-dcc451f8-infobox {
    position: absolute;
    top: 50%;
    left: 50%;
    width: fit-content;
    height: fit-content;
    max-width: calc(100% - 120px);
    padding: 25px 35px;
    overflow: visible;
    box-sizing: border-box;
    text-align: center;
    pointer-events: none;
    opacity: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translate(-50%, calc(-50% + 20px));
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.irm-dcc451f8-infobox.active {
    pointer-events: auto;
    opacity: 1;
    transform: translate(-50%, -50%);
}

/*
 * Élément réellement animé par le halo.
 */
.irm-dcc451f8-infobox-inner {
    position: relative;
    z-index: 0;
    display: inline-block;
    isolation: isolate;
    width: auto;
    max-width: 100%;
    overflow: visible !important;
}

/*
 * Le texte reste au-dessus du halo.
 */
.irm-dcc451f8-infobox-inner > * {
    position: relative;
    z-index: 2;
}

/*
 * État initial avant l'animation.
 */
.irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-ready {
    opacity: 0;
}

/*
 * Animation du bloc texte.
 */
.irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-start {
    animation:
        irm-dcc451f8-halo-text-reveal
        1.7s
        ease-out
        forwards !important;
    will-change: opacity, transform, text-shadow;
    transform: translateZ(0);
}

/*
 * Aura lumineuse située derrière le texte.
 */
.irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-start::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: 220%;
    height: 300%;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.68) 20%,
        rgba(255, 255, 255, 0.38) 42%,
        rgba(255, 255, 255, 0.14) 62%,
        rgba(255, 255, 255, 0) 78%
    );
    filter: blur(24px);
    mix-blend-mode: screen;
    transform: translate(-50%, -50%) scale(0.45);
    animation:
        irm-dcc451f8-halo-aura
        1.7s
        ease-out
        forwards !important;
    will-change: opacity, transform;
}

/*
 * Révélation du texte.
 */
@keyframes irm-dcc451f8-halo-text-reveal {
    0% {
        opacity: 0;
        transform: translateY(0.16em) scale(0.985);
        text-shadow:
            0 0 16px rgba(255, 255, 255, 0.95),
            0 0 38px rgba(255, 255, 255, 0.8),
            0 0 80px rgba(255, 255, 255, 0.55);
    }

    22% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow:
            0 0 20px rgba(255, 255, 255, 0.95),
            0 0 58px rgba(255, 255, 255, 0.7),
            0 0 115px rgba(255, 255, 255, 0.45);
    }

    52% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow:
            0 0 12px rgba(255, 255, 255, 0.58),
            0 0 34px rgba(255, 255, 255, 0.35);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        text-shadow: none;
    }
}

/*
 * Expansion et disparition de l'aura.
 */
@keyframes irm-dcc451f8-halo-aura {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.45);
    }

    18% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.92);
    }

    42% {
        opacity: 0.75;
        transform: translate(-50%, -50%) scale(1.08);
    }

    72% {
        opacity: 0.28;
        transform: translate(-50%, -50%) scale(1.22);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.32);
    }
}

.irm-dcc451f8-infosubtitle {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.irm-dcc451f8-infotitle {
    margin: 0 0 15px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.irm-dcc451f8-infodesc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

/*
 * Version desktop légèrement plus courte.
 */
@media (min-width: 1025px) {
    .irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-start {
        animation-duration: 1.45s !important;
    }

    .irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-start::after {
        width: 180%;
        height: 240%;
        filter: blur(18px);
        animation-duration: 1.45s !important;
    }
}

/*
 * Ajustements pour les écrans plus petits.
 */
@media (max-width: 767px) {
    .irm-dcc451f8-container {
        min-height: 100svh;
        padding: 30px 20px;
    }

    .irm-dcc451f8-link {
        font-size: 2rem;
    }

    .irm-dcc451f8-infobox {
        max-width: calc(100% - 40px);
        padding: 20px;
    }

    .irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-start::after {
        width: 170%;
        height: 230%;
        filter: blur(18px);
    }
}

/*
 * Accessibilité : l'effet est supprimé lorsque
 * l'utilisateur demande une réduction des animations.
 */
@media (prefers-reduced-motion: reduce) {
    .irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-ready,
    .irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-start {
        opacity: 1;
        transform: none;
        text-shadow: none;
        animation: none !important;
    }

    .irm-dcc451f8-infobox-inner.irm-dcc451f8-halo-start::after {
        display: none;
        animation: none !important;
    }
}

/*
 * Optimisation des animations GSAP.
 */
.irm-dcc451f8-item,
.irm-dcc451f8-video,
.irm-dcc451f8-bg-layer {
    will-change: transform, opacity;
}