.mw {
    color: #fff;
    background: #000;
}

.mw-wrap {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.mw-section {
    padding: 4.5rem 0;
}

.mw h1,
.mw h2,
.mw h3,
.mw p,
.mw-section h2,
.mw-section h3,
.mw-section p,
.mw-section li,
.mw-cta h2,
.mw-hero h1,
.mw-hero p {
    color: #fff;
}

.mw h1,
.mw-hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mw h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.mw h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.mw p,
.mw li {
    font-size: 1rem;
    line-height: 1.55;
}

.mw-lead {
    font-size: 1.15rem;
    max-width: 40rem;
    margin-top: 1rem;
}

.mw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.mw-hero {
    position: relative;
    min-height: 78vh;
    background: #111;
    overflow: hidden;
}

.mw-hero .splide__slide {
    min-height: 78vh;
    position: relative;
}

.mw-hero-media,
.mw-hero-media.mw-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 78vh;
}

.mw-hero-media img,
.mw-hero-media video,
.mw-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mw-hero-content {
    position: relative;
    z-index: 2;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6rem 0 4rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.72) 100%);
}

.mw-hero .splide__arrow {
    background: #fff;
    opacity: 1;
    width: 2.6rem;
    height: 2.6rem;
}

.mw-hero .splide__pagination {
    bottom: 1.2rem;
}

.mw-hero .splide__pagination__page {
    background: #fff;
    opacity: 0.45;
}

.mw-hero .splide__pagination__page.is-active {
    opacity: 1;
    background: #ff3434;
    transform: scale(1.2);
}

.mw-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    background: #2a2a2a;
    color: #c8c8c8;
    text-align: center;
    padding: 1rem;
    border: 1px dashed #666;
}

.mw-ph span {
    font-size: 0.9rem;
}

.mw-grid-3,
.mw-grid-4,
.mw-grid-6 {
    display: grid;
    gap: 1rem;
}

.mw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mw-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mw-grid-6 { grid-template-columns: repeat(3, 1fr); }

.mw-card,
.mw-point,
.mw-stat,
.mw-panel {
    background: #141414;
    border: 1px solid #2c2c2c;
    padding: 1.25rem;
    height: 100%;
}

.mw-card a {
    color: #ff3434;
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
}

.mw-stat strong {
    display: block;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.mw-card .mw-ph,
.mw-seq .mw-ph,
.mw-colors .mw-ph {
    min-height: 180px;
    margin-bottom: 1rem;
}

.mw-seq {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mw-seq figcaption,
.mw-colors figcaption {
    margin-top: 0.6rem;
    font-size: 0.95rem;
}

.mw-colors {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.mw-fiche {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.mw-note {
    margin-top: 1rem;
    color: #ffb4b4;
}

.mw-timeline {
    display: grid;
    gap: 0;
    border-left: 2px solid #ff3434;
    margin-left: 0.4rem;
}

.mw-timeline li {
    list-style: none;
    padding: 0 0 1.4rem 1.2rem;
    position: relative;
}

.mw-timeline li:before {
    content: "";
    width: 0.7rem;
    height: 0.7rem;
    background: #ff3434;
    border-radius: 50%;
    position: absolute;
    left: -0.42rem;
    top: 0.35rem;
}

.mw-cta {
    text-align: center;
    padding: 5rem 0;
    background: #0c0c0c;
}

.mw-cta .mw-actions {
    justify-content: center;
}

.mw-partners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .mw-grid-3,
    .mw-grid-4,
    .mw-seq,
    .mw-fiche,
    .mw-partners,
    .mw-colors {
        grid-template-columns: 1fr 1fr;
    }
    .mw-grid-6 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .mw-section {
        padding: 3rem 0;
    }
    .mw-hero,
    .mw-hero .splide__slide,
    .mw-hero-content,
    .mw-hero-media,
    .mw-hero-media.mw-ph {
        min-height: 70vh;
    }
    .mw-grid-3,
    .mw-grid-4,
    .mw-grid-6,
    .mw-seq,
    .mw-fiche,
    .mw-partners,
    .mw-colors {
        grid-template-columns: 1fr;
    }
}

.mw-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: #ffd02a;
    color: #151713;
    padding: 0.6rem 1rem;
}
.mw-skip:focus {
    top: 0.5rem;
}

.home header {
    height: 88px;
    opacity: 1;
    animation: none;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 180ms linear, border-color 180ms linear;
}
.home header.is-scrolled {
    background-color: rgba(16, 19, 19, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
.home header.headroom--unpinned,
.home header.headroom--pinned,
.home header.headroom--not-top {
    transform: none;
    background-color: transparent;
}
.home header.is-scrolled.headroom--not-top,
.home header.is-scrolled.headroom--unpinned {
    background-color: rgba(16, 19, 19, 0.96);
}
.home .header-order .header-nav__item {
    background: #ffd02a;
    color: #151713;
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    text-transform: none;
    font-weight: 700;
}
.home .header-order .header-nav__item::before,
.home .header-order .header-nav__item::after {
    display: none;
}
@media (max-width: 1100px) {
    .home .hamburger { display: inline-block; }
    .home .header-order { display: none; }
    .home .header-nav {
        position: fixed;
        right: -100%;
        top: 72px;
        background: #101313;
        flex-direction: column;
        align-items: flex-start;
        width: 100vw;
        height: calc(100vh - 72px);
        gap: 1.5rem;
        padding: 2rem 1.25rem;
        z-index: 999;
    }
    .home .header-nav.active { right: 0; }
    .home .header-nav .header-nav__item:last-child { display: block; }
}
@media (max-width: 640px) {
    .home header { height: 72px; }
}

.mw-home {
    background: #101313;
    color: #fafaf7;
}
.mw-home [hidden] { display: none !important; }
/* Même grille que .header-container / .header-content du thème */
.pj-wrap,
.pj-hero-copy,
.pj-proofs {
    width: 100%;
    max-width: calc(77.5rem + (3.75rem * 2));
    margin-left: auto;
    margin-right: auto;
    padding-left: 3.75rem;
    padding-right: 3.75rem;
    box-sizing: border-box;
}
.pj-section { padding: 110px 0; }
.pj-dark { background: #101313; }
.pj-light { background: #f3f2ee; color: #151713; }
.pj-light h2,
.pj-light h3,
.pj-light p,
.pj-light li,
.pj-light figcaption,
.pj-light .pj-lead { color: #151713; }
#remplacement h2 { max-width: 18ch; color: #151713; }
.mw-home h1 {
    font-size: clamp(2.6rem, 5.4vw, 5rem);
    line-height: 0.96;
    letter-spacing: -0.035em;
    max-width: 11ch;
    color: #fafaf7;
    margin: 0 0 1rem;
}
.mw-home h2 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #fafaf7;
    max-width: 16ch;
    margin: 0 0 1.25rem;
}
.pj-light h2 { color: #151713; }
.pj-kicker {
    color: #ffd02a;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 0.9rem;
}
.pj-kicker--dark { color: #8a5a00; }
.pj-lead, .mw-home p { font-size: 1.08rem; line-height: 1.55; color: #c7ccca; max-width: 38rem; }
.pj-light .pj-lead, .pj-light p { color: #2c3331; }
.pj-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.75rem; }
.pj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}
.pj-btn--yellow { background: #ffd02a; color: #151713; }
.pj-btn--ghost { background: transparent; color: #fafaf7; border-color: rgba(255,255,255,0.75); }
.pj-light .pj-btn--ghost { color: #151713; border-color: #151713; }
.pj-btn:focus-visible,
.pj-choice:focus-visible,
.pj-config-options button:focus-visible,
.pj-job:focus-visible {
    outline: 3px solid #ffd02a;
    outline-offset: 3px;
}

.pj-hero {
    position: relative;
    min-height: min(920px, 100svh);
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: end;
    overflow: hidden;
}
.pj-hero-media, .pj-hero-media.mw-ph, .pj-hero-shade {
    position: absolute;
    inset: 0;
}
.pj-hero-img, .pj-hero-media img, .pj-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 45%;
}
.pj-hero-shade {
    background:
        linear-gradient(90deg, rgba(16,19,19,0.92) 0%, rgba(16,19,19,0.72) 34%, rgba(16,19,19,0.18) 62%, rgba(16,19,19,0.35) 100%),
        linear-gradient(180deg, rgba(16,19,19,0.45) 0%, transparent 28%, transparent 62%, rgba(16,19,19,0.88) 100%);
}
.pj-hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 140px;
    padding-bottom: 2.5rem;
}
.pj-hero-copy .pj-lead { max-width: 34rem; color: #e8ebe9; }
.pj-proofs {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
    list-style: none;
    padding-top: 1.25rem;
    padding-bottom: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
}
.pj-proofs li { display: flex; flex-direction: column; gap: 0.25rem; }
.pj-proofs strong { color: #fafaf7; font-size: 0.98rem; }
.pj-proofs span { color: #c7ccca; font-size: 0.86rem; line-height: 1.35; }

.pj-jobs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin-top: 2rem;
}
.pj-job {
    position: relative;
    aspect-ratio: 3 / 4;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fafaf7;
    text-decoration: none;
    background: #1a1e1e;
}
.pj-job .mw-media, .pj-job .mw-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.pj-job-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.6rem 1.4rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.88) 100%);
    width: 100%;
    min-height: 46%;
    justify-content: flex-end;
}
.pj-job-title { font-size: 1.55rem; font-weight: 700; letter-spacing: 0.02em; }
.pj-job-desc { color: #e8ebe9; font-size: 0.98rem; line-height: 1.4; max-width: 22ch; }
.pj-job-more { color: #ffd02a; font-weight: 700; margin-top: 0.35rem; }
@media (hover: hover) and (pointer: fine) {
    .pj-job .mw-media { transition: transform 320ms cubic-bezier(.22,1,.36,1); }
    .pj-job:hover .mw-media, .pj-job:focus-visible .mw-media { transform: scale(1.04); }
}

.pj-choices, .pj-config-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.5rem 0 2rem;
}
.pj-choice, .pj-config-options button {
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid #cfcabe;
    background: #fff;
    color: #151713;
    padding: 0.6rem 1.15rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.pj-config-options button {
    color: #fafaf7;
    border-color: rgba(255,255,255,0.35);
    background: transparent;
}
.pj-choice[aria-current="true"] {
    background: #151713;
    color: #fafaf7;
    border-color: #151713;
}
.pj-config-options button[aria-pressed="true"] {
    background: #ffd02a;
    color: #151713;
    border-color: #ffd02a;
}
.pj-compare-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.pj-compare {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    scroll-margin-top: 110px;
}
.pj-compare-visuals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: end;
}
.pj-compare figure, .pj-config-stage figure { margin: 0; }
.pj-compare figure {
    background: #fff;
    border-radius: 4px;
    padding: 1rem 1rem 0.75rem;
    box-shadow: 0 12px 40px rgba(16,19,19,0.08);
}
.pj-compare figcaption {
    margin-top: 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #151713;
}
.pj-compare .mw-ph,
.pj-config-stage .mw-ph { aspect-ratio: 4/3; display: grid; place-items: center; background: #e8e6df; color: #5a605e; }
.pj-compare img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    background: #fff;
}
.pj-compare-copy h3 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    margin: 0 0 0.85rem;
}
.pj-config {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}
.pj-config-stage {
    position: relative;
    min-height: 460px;
}
.pj-config-stage figure {
    width: 100%;
    background: #f3f2ee;
    padding: 1.75rem 1.75rem 1.25rem;
}
.pj-config-stage img {
    width: 100%;
    height: auto;
    max-height: 380px;
    aspect-ratio: 16/10;
    object-fit: contain;
    background: #f3f2ee;
}
.pj-config-stage .mw-ph {
    background: #e4e1d8;
    color: #5a605e;
}
.pj-config-stage figcaption {
    margin-top: 1rem;
    color: #2c3331;
    font-size: 0.95rem;
    line-height: 1.45;
}
.pj-config-stage figcaption strong {
    display: block;
    color: #151713;
    margin-bottom: 0.25rem;
}
.pj-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}
.pj-stats div { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; }
.pj-stats dt { font-size: clamp(1.55rem, 2.2vw, 2.15rem); font-weight: 700; color: #fafaf7; }
.pj-stats dd { margin: 0.4rem 0 0; color: #c7ccca; font-size: 0.9rem; line-height: 1.4; }

.pj-tech-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}
.pj-tech-media {
    overflow: hidden;
    background: #0b0d0d;
    min-height: 420px;
}
.pj-tech-media img, .pj-tech-media .mw-ph {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pj-tech-copy h2 { max-width: 12ch; }
.pj-tech-copy p { color: #d5dad8; }
.pj-tech-copy .pj-btn { margin-top: 1.5rem; }

.pj-fab {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
    background: #f3f2ee;
}
.pj-fab-media { position: relative; min-height: 420px; overflow: hidden; background: #1a1e1e; }
.pj-fab-media img, .pj-fab-media .mw-ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pj-fab-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4.5rem);
    color: #151713;
}
.pj-fab-copy h2 {
    color: #151713;
    max-width: 10ch;
    margin-bottom: 1.5rem;
}
.pj-fab-copy p { color: #2c3331; }
.pj-places { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.pj-places li { margin-bottom: 1rem; color: #2c3331; line-height: 1.4; }
.pj-places strong { display: block; color: #151713; margin-bottom: 0.15rem; }
.pj-note { color: #8a5a00; margin-top: 1rem; }
.pj-dark .pj-note { color: #ffd02a; }

.pj-cta {
    position: relative;
    min-height: min(560px, 70svh);
    display: flex;
    align-items: center;
    overflow: hidden;
}
.pj-cta-media, .pj-cta-shade { position: absolute; inset: 0; }
.pj-cta-media img, .pj-cta-media.mw-ph {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}
.pj-cta-shade {
    background: linear-gradient(90deg, rgba(16,19,19,0.9) 0%, rgba(16,19,19,0.55) 48%, rgba(16,19,19,0.2) 100%);
}
.pj-cta-copy { position: relative; z-index: 1; padding: 5rem 0; }
.pj-cta h2 { max-width: 14ch; color: #fafaf7; }
.pj-cta p { color: #e8ebe9; max-width: 32rem; }
#metiers, #configurations, #remplacement { scroll-margin-top: 96px; }

@media (max-width: 1100px) {
    .pj-wrap, .pj-hero-copy, .pj-proofs {
        max-width: 960px;
        padding-left: calc(3.75rem / 2);
        padding-right: calc(3.75rem / 2);
    }
    .pj-section { padding: 80px 0; }
    .pj-jobs { grid-template-columns: 1fr; }
    .pj-job { aspect-ratio: 16/10; min-height: 280px; }
    .pj-compare, .pj-config, .pj-fab, .pj-tech-grid { grid-template-columns: 1fr; }
    .pj-stats { grid-template-columns: repeat(3, 1fr); }
    .pj-proofs { grid-template-columns: 1fr 1fr; }
    .pj-config-options { display: grid; grid-template-columns: 1fr 1fr; }
    .pj-tech-media, .pj-tech-media img { min-height: 280px; }
    .pj-fab-media { min-height: 320px; }
    .pj-hero-img, .pj-hero-media img { object-position: 65% center; }
}
@media (max-width: 640px) {
    .pj-wrap, .pj-hero-copy, .pj-proofs {
        padding-left: 1.875rem;
        padding-right: 1.875rem;
    }
    .pj-section { padding: 64px 0; }
    .pj-hero { min-height: 0; display: block; }
    .pj-hero-media { position: relative; height: 58vw; min-height: 240px; }
    .pj-hero-shade {
        background: linear-gradient(#101313, rgba(16,19,19,0.15) 18%, rgba(16,19,19,0.2) 65%, #101313);
    }
    .pj-hero-copy { margin-bottom: 0; padding-top: 1.4rem; padding-bottom: 1rem; }
    .pj-proofs { border-top: 0; padding-top: 0; margin-bottom: 1.5rem; gap: 1rem; }
    .pj-stats { grid-template-columns: 1fr 1fr; }
    .pj-compare-visuals { grid-template-columns: 1fr; }
    .mw-home h1 { max-width: none; }
    .pj-config-stage { min-height: 280px; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pj-job .mw-media, .home header { transition: none; }
}
