/* =========================================================
   WELGAR — CRÉATION
   Direction : de la page blanche au site terminé.
   Dépend de assets/css/style.css pour le header/footer commun.
   Desktop 1920×1080 prioritaire.
   ========================================================= */

.page-creation {
    --c-ink: #171817;
    --c-dark: #101212;
    --c-ivory: #ede8dc;
    --c-paper: #f7f3ea;
    --c-muted: #686b67;
    --c-orange: #e89a64;
    --c-green: #6b7a72;
    --c-rule: rgba(23, 24, 23, .17);
    --c-rule-soft: rgba(23, 24, 23, .08);
    --c-max: 1460px;
    margin: 0;
    color: var(--c-ink);
    background: var(--c-ivory);
}

.page-creation *,
.page-creation *::before,
.page-creation *::after { box-sizing: border-box; }

.creation-skip {
    position: fixed;
    z-index: 10000;
    top: 12px;
    left: 12px;
    transform: translateY(-160%);
    padding: 10px 14px;
    color: var(--c-dark);
    background: var(--c-paper);
    text-decoration: none;
}
.creation-skip:focus { transform: none; }

.creation-container {
    width: min(calc(100% - 11vw), var(--c-max));
    margin-inline: auto;
}

.creation-kicker {
    margin: 0 0 18px;
    color: var(--c-orange);
    font-size: .75rem;
    font-weight: 650;
    letter-spacing: .22em;
}

.creation-link {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    color: var(--c-ink);
    font-weight: 550;
    text-decoration: none;
}
.creation-link span { color: var(--c-orange); transition: transform .25s ease; }
.creation-link:hover span,
.creation-link:focus-visible span { transform: translateY(5px); }

/* =========================================================
   HERO — presque rien : une feuille et un premier repère.
   ========================================================= */

.creation-hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: clamp(120px, 12vh, 160px) 0 72px;
    background: var(--c-ivory);
}

.creation-hero__inner {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: clamp(70px, 10vw, 180px);
    align-items: center;
}

.creation-hero__copy { max-width: 650px; }

.creation-hero h1 {
    max-width: 9ch;
    margin: 0;
    font-size: clamp(4rem, 6.1vw, 7.2rem);
    font-weight: 420;
    line-height: .92;
    letter-spacing: -.06em;
}

.creation-hero__lead {
    margin: 32px 0 38px;
    color: var(--c-muted);
    font-size: clamp(1.25rem, 1.55vw, 1.55rem);
    line-height: 1.45;
}

.creation-blank-page {
    position: relative;
    justify-self: end;
    width: min(100%, 660px);
    aspect-ratio: 1.18 / 1;
    background: var(--c-paper);
    box-shadow: 0 36px 90px rgba(23,24,23,.08);
}

.creation-blank-page::before {
    content: "";
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(23,24,23,.045);
}

.creation-blank-page::after {
    content: "PAGE 01";
    position: absolute;
    right: 5%;
    bottom: 4%;
    color: rgba(23,24,23,.25);
    font-size: .58rem;
    letter-spacing: .18em;
}

.creation-blank-page__corner {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: rgba(23,24,23,.35);
}
.creation-blank-page__corner--tl { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.creation-blank-page__corner--tr { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; }
.creation-blank-page__corner--bl { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; }
.creation-blank-page__corner--br { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }

.creation-blank-page__mark {
    position: absolute;
    top: 18%;
    left: 15%;
    width: 8px;
    height: 8px;
    background: var(--c-orange);
    transform: rotate(45deg);
}
.creation-blank-page__mark::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 18px;
    width: 72px;
    height: 1px;
    background: rgba(232,154,100,.45);
}

/* =========================================================
   MATIÈRE — les premières informations entrent dans la page.
   ========================================================= */

.creation-matter {
    position: relative;
    overflow: hidden;
    padding: clamp(110px, 10vw, 170px) 0;
    background: var(--c-paper);
}

.creation-matter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: var(--c-rule-soft);
}

.creation-matter__inner {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: clamp(80px, 10vw, 170px);
    align-items: center;
}

.creation-matter__intro { max-width: 520px; }
.creation-matter h2,
.creation-directions h2,
.creation-structure h2,
.creation-interface h2,
.creation-underneath h2,
.creation-review h2,
.creation-final h2 {
    margin: 0;
    font-size: clamp(3.1rem, 4.7vw, 5.5rem);
    font-weight: 420;
    line-height: .98;
    letter-spacing: -.052em;
}

.creation-matter__intro > p:last-child,
.creation-directions__heading > p:last-child,
.creation-structure__copy > p:last-child,
.creation-interface__copy > p:last-child,
.creation-underneath__heading > p:last-child,
.creation-review__copy > p:not(.creation-kicker),
.creation-final__copy > p:not(.creation-kicker) {
    color: var(--c-muted);
    line-height: 1.65;
}
.creation-matter__intro > p:last-child { margin: 28px 0 0; font-size: 1.12rem; }

.creation-matter__field {
    position: relative;
    min-height: 590px;
}
.creation-matter__field::before,
.creation-matter__field::after {
    content: "";
    position: absolute;
    background: var(--c-rule);
}
.creation-matter__field::before { left: 50%; top: 4%; bottom: 4%; width: 1px; }
.creation-matter__field::after { top: 50%; left: 4%; right: 4%; height: 1px; }

.creation-matter__item {
    position: absolute;
    width: 43%;
    min-height: 210px;
    padding: 28px 30px;
    border: 1px solid var(--c-rule);
    background: rgba(247,243,234,.92);
}
.creation-matter__item::before {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--c-orange);
    transform: rotate(45deg);
}
.creation-matter__item--activity { top: 0; left: 0; }
.creation-matter__item--visitors { top: 11%; right: 0; }
.creation-matter__item--goal { bottom: 7%; left: 7%; }
.creation-matter__item--identity { right: 5%; bottom: 0; }
.creation-matter__item--activity::before,
.creation-matter__item--goal::before { right: -5px; top: 50%; }
.creation-matter__item--visitors::before,
.creation-matter__item--identity::before { left: -5px; top: 50%; }

.creation-matter__item > span {
    color: var(--c-orange);
    font-size: .68rem;
    letter-spacing: .18em;
}
.creation-matter__item h3 { margin: 36px 0 12px; font-size: 1.45rem; font-weight: 500; }
.creation-matter__item p { margin: 0; color: var(--c-muted); line-height: 1.55; }

/* =========================================================
   EXPLORATION — plusieurs compositions coexistent.
   ========================================================= */

.creation-directions {
    position: relative;
    overflow: hidden;
    padding: clamp(105px, 9vw, 155px) 0;
    background: var(--c-ivory);
}

.creation-directions__heading {
    display: grid;
    grid-template-columns: .95fr .8fr;
    column-gap: clamp(80px, 11vw, 180px);
    align-items: end;
}
.creation-directions__heading .creation-kicker { grid-column: 1 / -1; }
.creation-directions__heading > p:last-child { max-width: 540px; margin: 0 0 8px; font-size: 1.08rem; }

.creation-directions__board {
    position: relative;
    height: 520px;
    margin-top: 70px;
    border-top: 1px solid var(--c-rule);
    border-bottom: 1px solid var(--c-rule);
}

.creation-concept {
    position: absolute;
    width: 31%;
    height: 310px;
    padding: 26px;
    border: 1px solid var(--c-rule);
    background: var(--c-paper);
    box-shadow: 0 20px 50px rgba(23,24,23,.04);
}
.creation-concept > span { font-size: .64rem; letter-spacing: .18em; color: var(--c-muted); }
.creation-concept i { position: absolute; display: block; }
.creation-concept--a { left: 0; top: 55px; transform: rotate(-2.2deg); }
.creation-concept--b { left: 34.5%; top: 90px; border-color: rgba(232,154,100,.75); transform: translateY(-12px); }
.creation-concept--c { right: 0; top: 48px; transform: rotate(1.8deg); }

.creation-concept--a i:nth-of-type(1) { left: 9%; top: 24%; width: 55%; height: 18%; border: 1px solid var(--c-ink); }
.creation-concept--a i:nth-of-type(2) { left: 9%; top: 51%; width: 82%; height: 1px; background: var(--c-rule); }
.creation-concept--a i:nth-of-type(3) { left: 9%; top: 61%; width: 43%; height: 24%; background: rgba(107,122,114,.15); }
.creation-concept--b i:nth-of-type(1) { left: 9%; top: 24%; width: 82%; height: 34%; background: rgba(232,154,100,.15); border: 1px solid var(--c-orange); }
.creation-concept--b i:nth-of-type(2) { left: 9%; bottom: 20%; width: 48%; height: 8%; background: var(--c-ink); }
.creation-concept--b i:nth-of-type(3) { right: 9%; bottom: 14%; width: 24%; height: 20%; border: 1px solid var(--c-ink); }
.creation-concept--c i:nth-of-type(1) { right: 9%; top: 24%; width: 42%; height: 55%; border: 1px solid var(--c-green); }
.creation-concept--c i:nth-of-type(2) { left: 9%; top: 29%; width: 34%; height: 4px; background: var(--c-ink); }
.creation-concept--c i:nth-of-type(3) { left: 9%; top: 43%; width: 29%; height: 28%; border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); }

.creation-direction-picked {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    color: var(--c-orange);
    font-size: .66rem;
    letter-spacing: .2em;
}
.creation-direction-picked::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: 1px;
    height: 58px;
    background: var(--c-orange);
}

/* =========================================================
   STRUCTURE — le site existe maintenant comme squelette.
   ========================================================= */

.creation-structure {
    padding: clamp(110px, 10vw, 165px) 0;
    background: var(--c-paper);
}
.creation-structure__inner {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(70px, 9vw, 150px);
    align-items: center;
}
.creation-structure__copy { max-width: 530px; }
.creation-structure__copy > p:last-child { margin: 28px 0 0; font-size: 1.08rem; }

.creation-wireframe {
    position: relative;
    min-height: 560px;
    border: 2px solid var(--c-ink);
    background:
        linear-gradient(90deg, var(--c-rule-soft) 1px, transparent 1px),
        linear-gradient(var(--c-rule-soft) 1px, transparent 1px),
        var(--c-ivory);
    background-size: 44px 44px;
    box-shadow: 26px 26px 0 rgba(23,24,23,.035);
}
.creation-wireframe > span { position: absolute; display: block; }
.creation-wireframe__nav { inset: 0 0 auto; height: 11%; border-bottom: 1px solid var(--c-rule); background: rgba(247,243,234,.65); }
.creation-wireframe__title { left: 7%; top: 20%; width: 40%; height: 9%; border: 1px solid var(--c-ink); }
.creation-wireframe__lead { left: 7%; top: 34%; width: 31%; height: 12%; border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); }
.creation-wireframe__button { left: 7%; top: 51%; width: 18%; height: 7%; border: 1px solid var(--c-orange); }
.creation-wireframe__visual { right: 7%; top: 20%; width: 43%; height: 38%; border: 1px solid var(--c-ink); background: rgba(107,122,114,.055); }
.creation-wireframe__section-a { left: 7%; bottom: 9%; width: 40%; height: 23%; border: 1px solid var(--c-rule); }
.creation-wireframe__section-b { right: 7%; bottom: 9%; width: 43%; height: 23%; border: 1px solid var(--c-rule); }
.creation-wireframe__measure { color: var(--c-orange); font-size: .58rem; letter-spacing: .2em; }
.creation-wireframe__measure--x { left: 7%; top: -28px; }
.creation-wireframe__measure--y { right: -54px; top: 48%; transform: rotate(90deg); }

/* =========================================================
   INTERFACE — le squelette reçoit sa peau.
   ========================================================= */

.creation-interface {
    overflow: hidden;
    padding: clamp(110px, 10vw, 170px) 0;
    background: var(--c-ivory);
}
.creation-interface__inner {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: clamp(75px, 10vw, 160px);
    align-items: center;
}
.creation-interface__copy { max-width: 530px; }
.creation-interface__copy > p:last-child { margin: 28px 0 0; font-size: 1.08rem; }

.creation-interface__stage {
    position: relative;
    min-height: 570px;
    border: 1px solid var(--c-rule);
    background: var(--c-paper);
    box-shadow: 0 35px 80px rgba(23,24,23,.07);
    overflow: hidden;
}
.creation-interface__wire,
.creation-interface__finished { position: absolute; inset: 0; }
.creation-interface__wire { clip-path: polygon(0 0, 49% 0, 49% 100%, 0 100%); background: var(--c-ivory); }
.creation-interface__wire span { position: absolute; border: 1px solid var(--c-rule); }
.creation-interface__wire span:nth-child(1) { left: 7%; top: 10%; width: 36%; height: 8%; }
.creation-interface__wire span:nth-child(2) { left: 7%; top: 26%; width: 31%; height: 18%; }
.creation-interface__wire span:nth-child(3) { left: 7%; top: 51%; width: 22%; height: 7%; border-color: var(--c-orange); }
.creation-interface__wire span:nth-child(4) { left: 7%; bottom: 10%; width: 36%; height: 23%; }
.creation-interface__wire span:nth-child(5) { left: 32%; bottom: 10%; width: 11%; height: 23%; }

.creation-interface__finished {
    clip-path: polygon(49% 0, 100% 0, 100% 100%, 49% 100%);
    background: var(--c-dark);
}
.creation-interface__finished > span { position: absolute; display: block; }
.creation-interface__nav { top: 0; left: 49%; right: 0; height: 12%; border-bottom: 1px solid rgba(247,243,234,.15); }
.creation-interface__headline { left: 55%; top: 23%; width: 29%; height: 12%; border-top: 8px solid var(--c-paper); border-bottom: 8px solid var(--c-paper); }
.creation-interface__text { left: 55%; top: 42%; width: 24%; height: 10%; border-top: 1px solid rgba(247,243,234,.5); border-bottom: 1px solid rgba(247,243,234,.3); }
.creation-interface__cta { left: 55%; top: 59%; width: 16%; height: 8%; background: var(--c-orange); }
.creation-interface__image { right: 6%; bottom: 8%; width: 30%; height: 33%; background: var(--c-green); opacity: .82; }
.creation-interface__transition { position: absolute; z-index: 5; top: 0; bottom: 0; left: 49%; width: 2px; background: var(--c-orange); }
.creation-interface__transition::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; background: var(--c-orange); transform: translate(-50%,-50%) rotate(45deg); }

/* =========================================================
   SOUS LA SURFACE — plus dense, plus technique, mais lisible.
   ========================================================= */

.creation-underneath {
    position: relative;
    overflow: hidden;
    padding: clamp(115px, 10vw, 170px) 0;
    color: var(--c-paper);
    background:
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        var(--c-dark);
    background-size: 64px 64px;
}
.creation-underneath::after {
    content: "";
    position: absolute;
    right: -12vw;
    top: -20vw;
    width: 48vw;
    aspect-ratio: 1;
    border: 1px solid rgba(232,154,100,.28);
    border-radius: 50%;
}
.creation-underneath .creation-container { position: relative; z-index: 2; }
.creation-underneath h2 { color: var(--c-paper); max-width: 14ch; }
.creation-underneath__heading > p:last-child { max-width: 700px; margin: 28px 0 0; color: rgba(247,243,234,.62); font-size: 1.08rem; }

.creation-underneath__system {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
    border-top: 1px solid rgba(247,243,234,.16);
    border-bottom: 1px solid rgba(247,243,234,.16);
}
.creation-underneath__system article { min-height: 310px; padding: 34px 28px 32px; border-right: 1px solid rgba(247,243,234,.14); }
.creation-underneath__system article:first-child { border-left: 1px solid rgba(247,243,234,.14); }
.creation-underneath__system article > span { display: block; min-height: 34px; color: var(--c-orange); font-size: .62rem; letter-spacing: .16em; line-height: 1.45; }
.creation-underneath__system h3 { margin: 48px 0 16px; color: var(--c-paper); font-size: 1.42rem; font-weight: 500; line-height: 1.15; }
.creation-underneath__system p { margin: 0; color: rgba(247,243,234,.58); line-height: 1.58; }
.creation-underneath__system strong { color: rgba(247,243,234,.9); font-weight: 550; }

.creation-underneath__content {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(70px, 10vw, 160px);
    align-items: end;
    margin-top: 78px;
}
.creation-underneath__content-copy { max-width: 720px; }
.creation-underneath__content-copy h3 { max-width: 16ch; margin: 0 0 24px; color: var(--c-paper); font-size: clamp(2rem, 2.8vw, 3.25rem); font-weight: 430; line-height: 1.03; letter-spacing: -.04em; }
.creation-underneath__content-copy > p:not(.creation-kicker) { margin: 0 0 14px; color: rgba(247,243,234,.6); line-height: 1.62; }
.creation-underneath__content-copy strong { color: var(--c-paper); font-weight: 550; }
.creation-underneath__cms { position: relative; margin: 0; padding: 36px 38px; border: 1px solid rgba(232,154,100,.52); background: rgba(232,154,100,.055); }
.creation-underneath__cms::before { content: ""; position: absolute; width: 10px; height: 10px; right: -5px; top: -5px; background: var(--c-orange); transform: rotate(45deg); }
.creation-underneath__cms-label { display: block; margin-bottom: 34px; color: var(--c-orange); font-size: .65rem; letter-spacing: .18em; }
.creation-underneath__cms p { margin: 0; color: rgba(247,243,234,.67); line-height: 1.62; }
.creation-underneath__cms strong { color: var(--c-paper); }

/* =========================================================
   AJUSTEMENTS — annotations autour du rendu.
   ========================================================= */

.creation-review {
    padding: clamp(110px, 10vw, 165px) 0;
    background: var(--c-paper);
}
.creation-review__inner {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(75px, 10vw, 160px);
    align-items: center;
}
.creation-review__copy { max-width: 530px; }
.creation-review__copy > p:not(.creation-kicker) { margin: 22px 0 0; font-size: 1.05rem; }

.creation-review__screen {
    position: relative;
    min-height: 550px;
    padding: 7% 9%;
    background:
        linear-gradient(90deg, var(--c-rule-soft) 1px, transparent 1px),
        linear-gradient(var(--c-rule-soft) 1px, transparent 1px);
    background-size: 46px 46px;
}
.creation-review__page { position: relative; width: 78%; height: 86%; margin: auto; border: 2px solid var(--c-ink); background: var(--c-ivory); box-shadow: 24px 24px 0 rgba(23,24,23,.04); }
.creation-review__page i { position: absolute; display: block; }
.creation-review__page i:nth-child(1) { left: 7%; top: 10%; width: 86%; height: 10%; border-bottom: 1px solid var(--c-rule); }
.creation-review__page i:nth-child(2) { left: 7%; top: 29%; width: 48%; height: 28%; background: rgba(232,154,100,.14); border: 1px solid var(--c-orange); }
.creation-review__page i:nth-child(3) { right: 7%; top: 29%; width: 31%; height: 28%; background: rgba(107,122,114,.16); }
.creation-review__page i:nth-child(4) { left: 7%; bottom: 12%; width: 86%; height: 18%; border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); }
.creation-review__note { position: absolute; padding: 8px 11px; border: 1px solid var(--c-orange); color: var(--c-orange); background: var(--c-paper); font-size: .6rem; letter-spacing: .15em; }
.creation-review__note::after { content: ""; position: absolute; height: 1px; background: var(--c-orange); }
.creation-review__note--a { left: 1%; top: 24%; }
.creation-review__note--a::after { left: 100%; top: 50%; width: 65px; }
.creation-review__note--b { right: 0; top: 53%; color: var(--c-green); border-color: var(--c-green); }
.creation-review__note--b::after { right: 100%; top: 50%; width: 70px; background: var(--c-green); }
.creation-review__note--c { left: 8%; bottom: 4%; }
.creation-review__note--c::after { left: 50%; bottom: 100%; width: 1px; height: 50px; }

/* =========================================================
   FINAL — la page est maintenant pleine et assumée.
   ========================================================= */

.creation-final {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 9vw, 145px) 0 clamp(115px, 10vw, 165px);
    color: var(--c-paper);
    background: var(--c-dark);
}
.creation-final::before {
    content: "";
    position: absolute;
    left: -10vw;
    bottom: -25vw;
    width: 55vw;
    aspect-ratio: 1;
    border: 1px solid rgba(232,154,100,.35);
    transform: rotate(45deg);
}
.creation-final__inner { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(75px, 9vw, 150px); align-items: center; }
.creation-final h2 { max-width: 12ch; color: var(--c-paper); }
.creation-final__copy > p:not(.creation-kicker) { max-width: 580px; margin: 28px 0 36px; color: rgba(247,243,234,.62); font-size: 1.08rem; }

.creation-btn {
    display: inline-flex;
    gap: 32px;
    align-items: center;
    min-height: 58px;
    padding: 15px 24px;
    border: 1px solid var(--c-orange);
    color: var(--c-dark);
    background: var(--c-orange);
    font-weight: 600;
    text-decoration: none;
}
.creation-btn span { transition: transform .25s ease; }
.creation-btn:hover span,
.creation-btn:focus-visible span { transform: translateX(6px); }

.creation-final__device { position: relative; min-height: 570px; }
.creation-final__device::before { content: "SITE TERMINÉ"; position: absolute; right: 0; top: 0; color: rgba(247,243,234,.34); font-size: .62rem; letter-spacing: .2em; }
.creation-final__screen { position: absolute; inset: 8% 3% 2% 5%; overflow: hidden; border: 1px solid rgba(247,243,234,.32); background: var(--c-paper); box-shadow: 32px 36px 0 rgba(232,154,100,.08); }
.creation-final__screen > span { position: absolute; display: block; }
.creation-final__nav { inset: 0 0 auto; height: 11%; background: var(--c-dark); }
.creation-final__hero { left: 0; top: 11%; width: 100%; height: 48%; background: var(--c-green); }
.creation-final__title { left: 7%; top: 22%; width: 45%; height: 13%; border-top: 9px solid var(--c-paper); border-bottom: 9px solid var(--c-paper); }
.creation-final__copyline { left: 7%; height: 1px; background: rgba(247,243,234,.72); }
.creation-final__copyline--a { top: 41%; width: 34%; }
.creation-final__copyline--b { top: 45%; width: 26%; }
.creation-final__button { left: 7%; top: 50%; width: 18%; height: 6%; background: var(--c-orange); }
.creation-final__media { right: 6%; top: 19%; width: 34%; height: 33%; border: 1px solid rgba(247,243,234,.65); background: rgba(16,18,18,.16); }
.creation-final__screen::after { content: ""; position: absolute; left: 7%; right: 7%; bottom: 10%; height: 21%; border-top: 1px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); background: linear-gradient(90deg, rgba(232,154,100,.14) 0 31%, transparent 31% 35%, rgba(107,122,114,.15) 35% 66%, transparent 66% 70%, rgba(23,24,23,.055) 70%); }

/* Footer : continuité avec le dernier écran. */
.page-creation { background-color: var(--c-dark); }
.page-creation .site-footer { background-color: var(--c-dark); background-image: none !important; color: #fff; }
.page-creation .site-footer__inner,
.page-creation .site-footer__brand,
.page-creation .site-footer__links a,
.page-creation .site-footer__links a::before { color: #fff; }
.page-creation .site-footer__links a:focus-visible { outline-color: #fff; }

/* La section finale conserve son fond derrière le footer transparent. */
.page-creation .creation-final {
    padding-bottom: calc(clamp(115px, 10vw, 165px) + var(--footer-svg-h));
}
.page-creation .site-footer { background: transparent !important; }
@media (max-width: 600px) {
    .page-creation .creation-final {
        padding-bottom: calc(88px + var(--footer-svg-h));
    }
}


/* =========================================================
   CADRAGE DESKTOP — 1920 × 1080
   Les étapes centrales sont de vrais tableaux plein écran.
   ========================================================= */

@media (min-width: 1200px) and (min-height: 850px) {
    .creation-matter,
    .creation-directions,
    .creation-structure,
    .creation-interface,
    .creation-review {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-block: clamp(58px, 6vh, 74px);
    }

    .creation-underneath { padding-block: clamp(72px, 7vh, 90px); }
    .creation-underneath__system { margin-top: clamp(42px, 5vh, 58px); }
    .creation-underneath__system article { min-height: 260px; padding-top: 28px; }
    .creation-underneath__system h3 { margin-top: 34px; }
    .creation-underneath__content { margin-top: clamp(44px, 5vh, 62px); }

    .creation-final { min-height: 90vh; display: flex; align-items: center; padding-block: 70px; }
}

/* =========================================================
   RESPONSIVE DE SÉCURITÉ — le vrai travail mobile viendra
   après validation du rendu desktop.
   ========================================================= */

@media (max-width: 1199px) {
    .creation-container { width: min(calc(100% - 72px), var(--c-max)); }
    .creation-hero__inner,
    .creation-matter__inner,
    .creation-structure__inner,
    .creation-interface__inner,
    .creation-review__inner,
    .creation-final__inner { gap: 60px; }
    .creation-underneath__system { grid-template-columns: repeat(2, 1fr); }
    .creation-underneath__system article:nth-child(2) { border-right: 1px solid rgba(247,243,234,.14); }
    .creation-underneath__system article:nth-child(3) { border-left: 1px solid rgba(247,243,234,.14); border-top: 1px solid rgba(247,243,234,.14); }
    .creation-underneath__system article:nth-child(4) { border-top: 1px solid rgba(247,243,234,.14); }
}

@media (max-width: 900px) {
    .page-creation { overflow-x: hidden; }
    .creation-container { width: min(calc(100% - 48px), var(--c-max)); }
    .creation-hero { min-height: auto; padding: 120px 0 82px; }
    .creation-hero__inner,
    .creation-matter__inner,
    .creation-structure__inner,
    .creation-interface__inner,
    .creation-review__inner,
    .creation-final__inner,
    .creation-underneath__content { grid-template-columns: 1fr; }
    .creation-hero__copy,
    .creation-matter__intro,
    .creation-structure__copy,
    .creation-interface__copy,
    .creation-review__copy { max-width: 720px; }
    .creation-blank-page { justify-self: center; width: min(100%, 650px); }
    .creation-matter,
    .creation-directions,
    .creation-structure,
    .creation-interface,
    .creation-underneath,
    .creation-review,
    .creation-final { padding: 88px 0; }
    .creation-matter::before { display: none; }
    .creation-matter__field { min-height: 650px; }
    .creation-directions__heading { grid-template-columns: 1fr; gap: 24px; }
    .creation-directions__heading .creation-kicker { grid-column: auto; }
    .creation-directions__board { height: 470px; }
    .creation-concept { width: 32%; }
    .creation-interface__stage { order: 2; }
    .creation-underneath__content { gap: 48px; }
    .creation-final__device { min-height: 520px; }
}

@media (max-width: 600px) {
    .creation-container { width: calc(100% - 36px); }
    .creation-kicker { margin-bottom: 14px; font-size: .67rem; letter-spacing: .18em; }
    .creation-hero h1 { font-size: clamp(3.1rem, 15vw, 4.7rem); }
    .creation-matter h2,
    .creation-directions h2,
    .creation-structure h2,
    .creation-interface h2,
    .creation-underneath h2,
    .creation-review h2,
    .creation-final h2 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
    .creation-blank-page { aspect-ratio: .9 / 1; }
    .creation-matter__field { display: grid; gap: 14px; min-height: 0; }
    .creation-matter__field::before,
    .creation-matter__field::after { display: none; }
    .creation-matter__item { position: relative; inset: auto !important; width: 100%; min-height: 0; }
    .creation-matter__item::before { display: none; }
    .creation-matter__item h3 { margin-top: 22px; }
    .creation-directions__board { display: grid; gap: 14px; height: auto; padding: 28px 0 68px; }
    .creation-concept { position: relative; inset: auto !important; width: 100%; height: 230px; transform: none; }
    .creation-direction-picked { bottom: 18px; }
    .creation-direction-picked::before { height: 28px; }
    .creation-wireframe,
    .creation-interface__stage,
    .creation-review__screen,
    .creation-final__device { min-height: 390px; }
    .creation-wireframe__measure--y { display: none; }
    .creation-underneath__system { grid-template-columns: 1fr; }
    .creation-underneath__system article,
    .creation-underneath__system article:first-child,
    .creation-underneath__system article:nth-child(2),
    .creation-underneath__system article:nth-child(3),
    .creation-underneath__system article:nth-child(4) { min-height: 0; border: 0; border-top: 1px solid rgba(247,243,234,.14); }
    .creation-underneath__system article:last-child { border-bottom: 1px solid rgba(247,243,234,.14); }
    .creation-review__page { width: 86%; }
    .creation-review__note { font-size: .52rem; }
    .creation-review__note--a { left: -4%; }
    .creation-review__note--b { right: -3%; }
    .creation-final__screen { inset: 8% 0 2%; }
}

@media (prefers-reduced-motion: reduce) {
    .page-creation *,
    .page-creation *::before,
    .page-creation *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (min-width: 1200px) {
    /* EXPLORATION — les pistes restent présentes mais ne deviennent plus
       un écran de démonstration plus important que l'explication. */
    .creation-directions__heading {
        grid-template-columns: 1.15fr .85fr;
        column-gap: clamp(70px, 8vw, 130px);
    }

    .creation-directions__heading > p:last-child {
        max-width: 610px;
        font-size: 1.12rem;
        line-height: 1.62;
    }

    .creation-directions__board {
        height: 360px;
        margin-top: 46px;
    }

    .creation-concept {
        height: 220px;
        padding: 21px;
    }

    .creation-concept--a { top: 42px; }
    .creation-concept--b { top: 57px; }
    .creation-concept--c { top: 38px; }

    .creation-direction-picked::before { height: 34px; }

    /* STRUCTURE — le texte et le wireframe retrouvent un poids comparable. */
    .creation-structure__inner {
        grid-template-columns: 1.08fr .92fr;
        gap: clamp(70px, 8vw, 125px);
    }

    .creation-structure__copy {
        max-width: 650px;
    }

    .creation-structure__copy > p:last-child {
        max-width: 610px;
        font-size: 1.12rem;
        line-height: 1.65;
    }

    .creation-wireframe {
        min-height: 410px;
        width: min(100%, 650px);
        justify-self: end;
    }

    /* AJUSTEMENTS — l'écran devient une illustration des échanges,
       pas le contenu principal de la section. */
    .creation-review__inner {
        grid-template-columns: 1.08fr .92fr;
        gap: clamp(70px, 8vw, 125px);
    }

    .creation-review__copy {
        max-width: 650px;
    }

    .creation-review__copy > p:not(.creation-kicker) {
        max-width: 610px;
        font-size: 1.1rem;
        line-height: 1.65;
    }

    .creation-review__screen {
        width: min(100%, 650px);
        min-height: 410px;
        justify-self: end;
        padding: 6% 8%;
    }
}

/* =========================================================
   V3 — RYTHME RESSERRÉ + SECTIONS CLAIRES PLUS AFFIRMÉES
   Base : creation-v2.css
   ========================================================= */

.page-creation {
    --c-ivory: #e7e0d2;
    --c-paper: #f0eadf;
    --c-rule: rgba(23,24,23,.22);
    --c-rule-soft: rgba(23,24,23,.105);
}

/* Les ruptures sombres restent inchangées. */
.creation-underneath,
.creation-final {
    --c-ivory: #ede8dc;
    --c-paper: #f7f3ea;
}

@media (min-width: 1200px) {
    /* Rythme desktop retenu : 88 px de respiration verticale. */
    .creation-matter,
    .creation-directions,
    .creation-structure,
    .creation-interface,
    .creation-review {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    /* On resserre aussi l'espace interne après les introductions. */
    .creation-matter__inner,
    .creation-structure__inner,
    .creation-interface__inner,
    .creation-review__inner {
        gap: clamp(52px, 5.5vw, 88px);
    }

    .creation-directions__board {
        margin-top: 34px;
    }

    /* Matière : un fond construit mais très discret. */
    .creation-matter {
        background:
            linear-gradient(90deg, rgba(23,24,23,.035) 1px, transparent 1px),
            linear-gradient(rgba(23,24,23,.025) 1px, transparent 1px),
            var(--c-paper);
        background-size: 92px 92px, 92px 92px, auto;
    }

    /* Exploration : contraste un peu plus éditorial, sans rajouter de contenu. */
    .creation-directions {
        background:
            linear-gradient(118deg, transparent 0 72%, rgba(232,154,100,.075) 72.1% 82%, transparent 82.1%),
            var(--c-ivory);
    }

    .creation-directions::before {
        content: "";
        position: absolute;
        left: 5.5vw;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(transparent, rgba(23,24,23,.13) 18%, rgba(23,24,23,.13) 82%, transparent);
        pointer-events: none;
    }

    /* Structure : la trame devient une vraie matière de fond. */
    .creation-structure {
        background:
            linear-gradient(135deg, transparent 0 77%, rgba(107,122,114,.07) 77.1% 88%, transparent 88.1%),
            var(--c-paper);
    }

    /* Interface : légère variation pour distinguer l'étape sans nouveau bloc. */
    .creation-interface {
        background:
            linear-gradient(90deg, transparent 0 49.95%, rgba(23,24,23,.055) 50%, transparent 50.05%),
            var(--c-ivory);
    }

    /* Ajustements : fond plus tangible et annotations mieux intégrées. */
    .creation-review {
        background:
            radial-gradient(circle at 88% 18%, rgba(232,154,100,.10), transparent 25%),
            var(--c-paper);
    }
}

/* =========================================================
   V5 — CORRECTION 1920 × 1080
   Les sections claires ne sont plus forcées à 100vh :
   leur hauteur suit leur contenu + 88 px de respiration.
   ========================================================= */
@media (min-width: 1200px) and (min-height: 850px) {
    .creation-matter,
    .creation-directions,
    .creation-structure,
    .creation-interface,
    .creation-review {
        min-height: 0;
        height: auto;
        display: block;
        padding-top: 88px;
        padding-bottom: 88px;
    }
}

/* =========================================================
   V6 — RESPIRATION DES SECTIONS CLAIRES
   Desktop : 176px haut / bas, sans hauteur 100vh forcée.
   ========================================================= */
@media (min-width: 1200px) and (min-height: 850px) {
    .creation-step:not(.creation-step--dark),
    .creation-exploration,
    .creation-structure,
    .creation-adjustments {
        padding-top: 176px;
        padding-bottom: 176px;
        height: auto;
        min-height: 0;
        max-height: none;
    }
}

@media (min-width: 1200px) {
    .creation-underneath h2 {
        max-width: none;
        white-space: nowrap;
    }
}

/* Mobile : décors allégés, page blanche derrière le texte du hero. */
@media (max-width: 900px) {
    .creation-hero__inner { position: relative; isolation: isolate; gap: 0; }
    .creation-hero__copy { position: relative; z-index: 1; }
    .creation-hero .creation-blank-page {
        position: absolute;
        inset: -20px 0;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        pointer-events: none;
        z-index: 0;
    }
    .creation-concept--a,
    .creation-concept--c,
    .creation-structure .creation-wireframe,
    .creation-review__screen { display: none; }
    .creation-directions__board {
        display: grid;
        height: auto;
        margin-top: 32px;
        padding: 28px 0 68px;
    }
    .creation-directions__board .creation-concept--b {
        position: relative;
        inset: auto;
        width: 100%;
        height: 230px;
        transform: none;
    }
    .creation-direction-picked { white-space: nowrap; }
    .creation-direction-picked::before { height: 28px; }
    .creation-structure__inner,
    .creation-review__inner { gap: 0; }
}

/* Mobile : section Le site sans visuel ni espace réservé. */
@media (max-width: 900px) {
    .creation-final__device { display: none; }
    .creation-final__inner { gap: 0; }
}

/* Mobile : repère cuivre décalé sur le côté droit de la page blanche. */
@media (max-width: 900px) {
    .creation-hero .creation-blank-page__mark {
        left: auto;
        right: 76px;
    }
}

/* Mobile : texte du hero décalé d'une largeur de H majuscule. */
@media (max-width: 900px) {
    .creation-hero { --creation-hero-title-size: clamp(4rem, 6.1vw, 7.2rem); }
    .creation-hero__copy {
        min-width: 0;
        padding-left: calc(var(--creation-hero-title-size) * .72);
    }
}
@media (max-width: 600px) {
    .creation-hero { --creation-hero-title-size: clamp(3.1rem, 15vw, 4.7rem); }
}

/* Mobile : une ligne de moins entre l'introduction et le lien du hero. */
@media (max-width: 900px) {
    .creation-hero__lead { margin-bottom: calc(38px - 1.45em); }
}
