body {
    background: #1E1E1E;
    color: #F1F1F1;
    font: 500 normal 22px/1.3 "RMNeue-Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif, sans-serif;
}

.mwg_effect031 {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.mwg_effect031 .scroll {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mwg_effect031 .slide {
    height: 100vh;
    box-shadow: 3px 3px 30px rgba(0, 0, 0, 0.14);
    position: relative;
}

.mwg_effect031 .content-wrapper {
    width: 100%;
    height: 100%;
    perspective: 250vw;
}

/* On laisse glisser l'image directement via background-position-x : on profite
   de l’excédent horizontal naturel du « cover » (les images font 1743×835, ratio
   ≈ 2.09, donc sur tout viewport 16:9 le cover génère ~167px de marge cachée
   à gauche et à droite). Les décalages utilisés (27–41 px) restent largement
   sous cette marge → aucun fond exposé.
   --bg-shift-x est exprimé en vw avec base 1920px pour que l’alignement scale
   avec le viewport (responsive). */
.mwg_effect031 .content {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform-origin: 50% 10%;
    padding: 75px 9.6em 30px 9.6em;
    display: flex;
    flex-direction: column;
    background-color: #E8E8E8;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: calc(50% + var(--bg-shift-x, 0px)) center;
}

/* TOP - EXPLORATION + SVG */
.mwg_effect031 .top {
    flex-shrink: 0;
}

.mwg_effect031 .top svg {
    width: 5.7vw;
    height: auto;
    display: block;
}

/* SLIDE CATEGORY - Titre orange de la colonne droite */
.mwg_effect031 .slide-category {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    color: #EB6A26 !important;
    font-size: clamp(1.35rem, 2.1vw, 2.35rem);
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

/* BOTTOM - Une ligne commune pour le guillemet et le titre */
.mwg_effect031 .bottom {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 9fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    justify-content: space-between;
    align-items: start;
    column-gap: clamp(3rem, 8vw, 8rem);
    width: 90%;
    max-width: 70rem;
    align-self: center;
    flex: 1;
    margin: clamp(3.5rem, 3.5vw, 4.25rem) auto 0;
}

/* Colonne gauche - Citation alignée avec le titre de droite */
.mwg_effect031 .left-col {
    grid-column: 1;
    grid-row: 2 / 4;
    width: 100%;
    max-width: none;
    display: block;
}

/* Colonne droite - Valeurs rapprochées du titre */
.mwg_effect031 .right-col {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 1rem;
}

.mwg_effect031 .citation-wrap {
    width: 100%;
}


.mwg_effect031 .citation-wrap--compact {
    width: 100%;
    max-width: 100%;
}

.mwg_effect031 .citation-credit {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    color: #EB6A26;
    font-family: 'RMMono', monospace;
    font-size: clamp(0.75rem, 0.8vw, 0.9rem);
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.mwg_effect031 .citation-credit--below {
    position: relative;
    z-index: 1;
    max-width: calc(100% - 4rem);
    color: #000000;
    margin: clamp(-5rem, -4vw, 0rem) 0 0;
}

.mwg_effect031 .citation-wrap--compact .quote-mark-end {
    margin-top: 0.5rem;
}

.mwg_effect031 .citation-credit--below::before {
    content: "— ";
}

/* CITATION - Plus grande, centrée verticalement */
.mwg_effect031 .citation {
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.4;
    color: inherit;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Guillemets « » style - meme caractere que screenshot */
.mwg_effect031 .quote-mark-start,
.mwg_effect031 .quote-mark-end {
    color: #EB6A26;
    font-size: 5.9em;
    font-weight: 400;
    line-height: 0.8;
    display: block;
    position: relative;
    font-family: "Georgia", "Times New Roman", serif;
}

.mwg_effect031 .quote-mark-start {
    text-align: left;
    margin-bottom: -4.6rem;
    margin-left: -5px;
}

.mwg_effect031 .quote-mark-end {
    text-align: right;
    margin-top: 1.25rem;
    margin-right: -5px;
}

/* PROFILS BOX - Plus gros */
.mwg_effect031 .profils-box {
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.mwg_effect031 .profils-title {
    font-weight: normal;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    font-family: 'RMMono', monospace;
    font-size: 1rem;
}

.mwg_effect031 .valeurs-box p {
    font-size: clamp(0.95rem, 1vw, 1.05rem);
}

.mwg_effect031 .profils-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mwg_effect031 .profils-box li {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.mwg_effect031 .profils-box li::before {
    content: "• ";
    color: inherit;
}

/* VALEURS BOX - Plus gros */
.mwg_effect031 .valeurs-box {
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.mwg_effect031 .valeurs-title {
    font-weight: normal;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    font-family: 'RMMono', monospace;
}

.mwg_effect031 .valeurs-box p {
    margin: 0 0 12px 0;
}

.mwg_effect031 .valeurs-box .valeurs-intro {
    margin-bottom: 1rem;
}

.mwg_effect031 .valeurs-list {
    margin: 0 0 12px;
    padding-left: 1.15em;
    list-style: disc;
    font-size: clamp(0.95rem, 1vw, 1.05rem);
}

.mwg_effect031 .valeurs-list li {
    margin: 0;
    padding: 0;
}

/* BACKGROUNDS avec images astronautes — décalage en vw (base 1920px) pour rester
   responsive. Le signe est inversé par rapport à tes valeurs sur le H2 : tu bougeais
   le texte, ici on bouge l’image. Si tu déplaçais le H2 de -27px (vers la gauche),
   il faut bouger l’image de +27px (vers la droite) pour que l’astronaute vienne
   sous le « O » centré. */
.mwg_effect031 .slide:nth-child(1) .content {
    color: #121212;
    --bg-shift-x: 1vw;  /* ≈ +41px à 1920 */
    background-image: url('/wp-content/uploads/services/import-fond_principe-page-EXPLORATEUR-01bis.jpg');
}

.mwg_effect031 .slide:nth-child(2) .content {
    color: #121212;
    --bg-shift-x: 0vw;
    background-image: url('/wp-content/uploads/services/import-fond_principe-page-EXPLORATEUR-02bis.jpg');
}

.mwg_effect031 .slide:nth-child(3) .content {
    color: #121212;
    --bg-shift-x: -1vw;  /* ≈ -71px à 1920 */
    background-image: url('/wp-content/uploads/services/import-fond_principe-page-EXPLORATEUR-03bis.jpg');
}

.mwg_effect031 .slide:nth-child(4) .content {
    color: #121212;
    --bg-shift-x: -2.14vw; /* ≈ -41px à 1920 */
    background-image: url('/wp-content/uploads/services/import-fond_principe-page-EXPLORATEUR-04bis.jpg');
}

/* EXPLORATION - O en orange (5ème caractère) */
.mwg_effect031 .new-hero-title .char:nth-child(5) {
    color: #EB6A26 !important;
}

.mwg_effect031 .new-hero-title {
    text-align: center;
}

/* Anciens styles masqués */
.mwg_effect031 .text {
    display: none;
}

.mwg_effect031 .num {
    display: none;
}

.mwg_effect031 .bottom > div > img {
    display: none;
}

@media (min-width: 769px) and (max-width: 1440px) {
    .mwg_effect031 .citation {
        font-size: clamp(1.15rem, 2.2vw, 1.8rem);
    }
}

/* =============================================
   RESPONSIVE — MOBILE (≤768px)
   On garde le pin / scroll / 3D effect, on adapte les espaces et tailles.
   ============================================= */
@media (max-width: 768px) {
    .mwg_effect031 .content {
        padding: 60px 1.25em 24px 1.25em;
    }

    .mwg_effect031 .top svg {
        width: 14vw;
    }

    .mwg_effect031 .top {
        margin-top: 50px;
    }

    .mwg_effect031 .bottom {
        display: flex;
        flex-direction: column;
        gap: 0;
        flex: 0;
        width: 100%;
        min-width: 0;
        margin-top: 1.5em;
    }

    .mwg_effect031 .slide-category {
        order: 1;
        align-self: stretch;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 1.25rem;
        font-size: clamp(1.35rem, 2.1vw, 2.35rem);
        text-align: left;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .mwg_effect031 .citation-credit {
        order: 2;
        align-self: stretch;
        width: 100%;
        min-width: 0;
        margin: 0 0 0.5rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .mwg_effect031 .citation-credit--below {
        max-width: 100%;
        margin: -0.25rem 0 0;
    }


    .mwg_effect031 .left-col {
        order: 3;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        display: block;
        margin: 0;
    }

    .mwg_effect031 .right-col {
        order: 4;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        display: block;
        margin-top: 1rem;
    }

    .mwg_effect031 .citation-wrap,
    .mwg_effect031 .citation,
    .mwg_effect031 .valeurs-box,
    .mwg_effect031 .valeurs-box p,
    .mwg_effect031 .valeurs-list,
    .mwg_effect031 .valeurs-list li {
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .mwg_effect031 .citation {
        font-size: clamp(1.2rem, 2.5vw, 2rem);
        line-height: 1.45;
    }

    .mwg_effect031 .quote-mark-start,
    .mwg_effect031 .quote-mark-end {
        font-size: 4em;
    }

    .mwg_effect031 .quote-mark-start {
        margin-bottom: -1.5rem;
    }

    .mwg_effect031 .quote-mark-end {
        margin-top: 0rem;
    }

    .mwg_effect031 .profils-box,
    .mwg_effect031 .valeurs-box {
        font-size: 0.95rem;
    }

    /* Titre EXPLORATION — clamp explicite */
    .mwg_effect031 .new-hero-title {
        font-size: clamp(1.6rem, 8vw, 2.6rem);
    }

    .mwg_effect031 .new-hero-title .line {
        white-space: nowrap;
    }
}
