/* Fond du document raccordé au bleu nuit de la page, y compris hors du contenu. */
html.home-document {
    background: #101720;
}
/* Accueil — maquette Écosystème 3D EvoProjet connecté. */
.home-workshop {
    --paper: #101720;
    --ink: #edf3f9;
    --muted: #b2c1d4;
    --line: #344255;
    --accent: #0d6efd;
    --bright: #8bb9ff;
    background: radial-gradient(ellipse at 50% 20%, #19222f 0, #101720 60%, #0d141c 100%);
}
.home-workshop .ecosystem-container {
    width: min(calc(100% - 64px), 1780px);
    margin-inline: auto;
}
.home-workshop .site-header {
    border: 0;
}
.home-workshop .header-inner {
    min-height: 88px;
    border-bottom: 1px solid #8e9aab;
    gap: 35px;
}
.home-workshop .logo {
    width: 245px;
}
/* Sept éléments indépendants : mêmes pixels, cadres et tailles autonomes. */
.home-workshop .ecosystem-stage {
    padding-block: 25px 10px;
}
.home-workshop .ecosystem-scene {
    display: grid;
    position: relative;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr) minmax(0, 1fr);
    gap: 16px 26px;
    align-items: center;
}
.home-workshop .ecosystem-center {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 100%;
    max-width: 900px;
    min-width: 0;
    justify-self: center;
}
.home-workshop .ecosystem-slice {
    display: block;
    position: relative;
    width: 100%;
    overflow: clip;
}
.home-workshop .ecosystem-slice > img {
    position: absolute;
    width: var(--slice-width);
    max-width: none;
    height: auto;
    left: var(--slice-left);
    top: var(--slice-top);
    mix-blend-mode: lighten;
}
.home-workshop .slice-center {
    --slice-width: 200.239521%;
    --slice-left: -49.101796%;
    --slice-top: -21.428571%;
    aspect-ratio: 835 / 700;
}
.home-workshop .slice-web {
    --slice-width: 458.082192%;
    --slice-left: -10.958904%;
    --slice-top: -31.481481%;
    aspect-ratio: 365 / 270;
}
.home-workshop .slice-host {
    --slice-width: 440.000000%;
    --slice-left: -328.947368%;
    --slice-top: -29.090909%;
    aspect-ratio: 380 / 275;
}
.home-workshop .slice-auto {
    --slice-width: 458.082192%;
    --slice-left: -8.219178%;
    --slice-top: -142.000000%;
    aspect-ratio: 365 / 250;
}
.home-workshop .slice-maintenance {
    --slice-width: 434.285714%;
    --slice-left: -324.675325%;
    --slice-top: -139.215686%;
    aspect-ratio: 385 / 255;
}
.home-workshop .slice-integration {
    --slice-width: 451.891892%;
    --slice-left: -8.108108%;
    --slice-top: -244.000000%;
    aspect-ratio: 370 / 250;
}
.home-workshop .slice-evohosting {
    --slice-width: 434.285714%;
    --slice-left: -324.675325%;
    --slice-top: -239.215686%;
    aspect-ratio: 385 / 255;
}
.home-workshop .ecosystem-node {
    position: relative;
    display: grid;
    align-content: start;
    width: min(100%, 280px);
    min-width: 0;
    justify-self: center;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}
.home-workshop .node-web {
    grid-column: 3;
    grid-row: 1;
}
.home-workshop .node-host {
    grid-column: 1;
    grid-row: 1;
}
.home-workshop .node-auto {
    grid-column: 3;
    grid-row: 2;
}
.home-workshop .node-maintenance {
    grid-column: 1;
    grid-row: 2;
}
.home-workshop .node-integration {
    grid-column: 3;
    grid-row: 3;
}
.home-workshop .node-evohosting {
    grid-column: 1;
    grid-row: 3;
}
.home-workshop .node-copy {
    position: relative;
    display: grid;
    padding: 9px 3px 10px;
    min-height: 58px;
    align-content: start;
}
.home-workshop .node-copy strong {
    font-size: clamp(0.76rem, 1.05vw, 1.15rem);
    font-weight: 700;
    color: #7eaaff;
    letter-spacing: 0.075em;
    text-transform: uppercase;
    line-height: 1.4;
}
.home-workshop .node-copy > span {
    display: block;
    color: #e0e8f4;
    margin-top: 5px;
    font-size: clamp(0.72rem, 0.94vw, 1.05rem);
    line-height: 1.4;
    letter-spacing: 0.035em;
}
.home-workshop .node-copy > i {
    display: none;
    font-style: normal;
}
.home-workshop .ecosystem-node:hover strong,
.home-workshop .ecosystem-node:focus-visible strong,
.home-workshop .ecosystem-node.is-active strong {
    color: #f5c967;
}
.home-workshop .art-circuits {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.home-workshop .circuit-route {
    stroke: #4945ff;
    stroke-width: 1.8;
    stroke-linecap: square;
    stroke-linejoin: miter;
}
.home-workshop .circuit-trail {
    stroke: #f5c967;
    stroke-width: 2.7;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    opacity: 0;
    filter: drop-shadow(0 0 4px #ffbd43);
}
.home-workshop .circuit-star {
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 7px #ffbd43);
}
.home-workshop .circuit-star circle {
    fill: #f5c967;
    opacity: 0.2;
}
.home-workshop .circuit-star path {
    fill: #fff0bd;
    stroke: #eeb847;
    stroke-width: 2;
}
.home-workshop .art-circuit.is-active .circuit-trail,
.home-workshop .art-circuit.is-active .circuit-star {
    opacity: 1;
}
.home-workshop .ecosystem-caption {
    grid-column: 1 / -1;
    padding-block: 14px;
    text-align: center;
    color: #9eafc6;
    font: 0.59rem Consolas, monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.home-workshop .ecosystem-caption > span {
    color: #8bb9ff;
    margin-left: 12px;
}

/* Message entreprise et accès aux contenus. */
.home-workshop .ecosystem-intro {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 85px;
    align-items: center;
    padding-block: 55px 65px;
    border-top: 1px solid #344255;
    border-bottom: 1px solid #344255;
}
.home-workshop .ecosystem-eyebrow {
    margin-bottom: 22px;
    color: #8fa9ce;
    font: 0.63rem Consolas, monospace;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.home-workshop .ecosystem-intro h1 {
    font-size: clamp(2rem, 3.4vw, 3.8rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.045em;
}
.home-workshop .ecosystem-intro h1 > span {
    color: #8bb9ff;
}
.home-workshop .ecosystem-intro-copy {
    max-width: 600px;
}
.home-workshop .ecosystem-intro-copy > p {
    color: #becce0;
    font-size: 0.98rem;
}
.home-workshop .ecosystem-cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 25px;
    padding: 15px 20px;
    border: 1px solid #327aff;
    background: #0d6efd;
    color: white;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    transition: background 180ms;
}
.home-workshop .ecosystem-cta:hover {
    background: #0b5ed7;
}
.home-workshop .ecosystem-directory {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    padding-block: 80px;
}
.home-workshop .directory-heading h2 {
    font-size: clamp(2.2rem, 3.6vw, 3.7rem);
    line-height: 1.07;
}
.home-workshop .directory-heading > p:last-child {
    font-size: 0.95rem;
    max-width: 390px;
    margin-top: 25px;
}
.home-workshop .expertise-details {
    min-width: 0;
}
.home-workshop .expertise-detail {
    padding: 0;
    border-bottom: 1px solid #40516a;
    scroll-margin-top: 30px;
}
.home-workshop .expertise-detail:first-child {
    border-top: 1px solid #40516a;
}
.home-workshop .expertise-detail > summary {
    display: grid;
    grid-template-columns: 30px 1fr 20px;
    align-items: center;
    gap: 20px;
    padding-block: 23px;
    list-style: none;
    font-size: 1.15rem;
    letter-spacing: -0.015em;
}
.home-workshop .expertise-detail > summary::-webkit-details-marker {
    display: none;
}
.home-workshop .detail-number {
    color: #8bb9ff;
    font: 0.67rem Consolas, monospace;
}
.home-workshop .expertise-detail summary > b {
    color: #8bb9ff;
    font: 1.4rem Consolas, monospace;
    transition: transform 180ms;
}
.home-workshop .expertise-detail[open] summary > b {
    transform: rotate(45deg);
}
.home-workshop .expertise-detail[open] summary {
    color: #9ec4ff;
}
.home-workshop .detail-content {
    padding: 5px 30px 30px 50px;
}
.home-workshop .detail-content h3 {
    font-size: 1.4rem;
    line-height: 1.25;
    letter-spacing: -0.035em;
}
.home-workshop .detail-content > p {
    margin-top: 18px;
    font-size: 0.92rem;
    color: #bac9de;
}
.home-workshop .detail-content > a {
    display: inline-flex;
    align-items: baseline;
    gap: 20px;
    border-bottom: 1px solid #5a83bc;
    padding-block: 8px;
    margin-top: 18px;
    color: #a9cdff;
    font-size: 0.82rem;
}
.home-workshop .detail-content > a:hover {
    color: white;
}
.home-workshop .ecosystem-approach {
    padding-block: 70px 75px;
    border-top: 1px solid #344255;
    border-bottom: 1px solid #344255;
}
.home-workshop .approach-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}
.home-workshop .approach-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3.7rem);
    line-height: 1.1;
}
.home-workshop .approach-heading h2 > span {
    color: #8bb9ff;
}
.home-workshop .approach-heading > a {
    border-bottom: 1px solid #5a83bc;
    padding-block: 8px;
    color: #a9cdff;
    font-size: 0.82rem;
}
.home-workshop .approach-heading > a > span {
    margin-left: 15px;
}
.home-workshop .approach-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 50px;
    margin: 50px 0 0;
    padding: 0;
}
.home-workshop .approach-steps li {
    min-width: 0;
    border-top: 1px solid #40516a;
    padding-top: 20px;
}
.home-workshop .approach-steps li > span {
    display: block;
    color: #8bb9ff;
    margin-bottom: 18px;
    font: 0.7rem Consolas, monospace;
}
.home-workshop .approach-steps h3 {
    font-size: 1.5rem;
    letter-spacing: -0.035em;
}
.home-workshop .approach-steps p {
    font-size: 0.9rem;
    max-width: 380px;
    margin-top: 18px;
}
.home-workshop .ecosystem-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-block: 30px;
}
.home-workshop .ecosystem-footer .logo {
    width: 160px;
}
.home-workshop .ecosystem-footer p {
    color: #9eafc6;
    font: 0.62rem Consolas, monospace;
}
.home-workshop .ecosystem-footer > a:last-child {
    color: #dce9f9;
    font-size: 0.85rem;
}

/* Adaptation : les six accès restent lisibles et utilisables au toucher. */
@media (min-width: 1800px) {
    .home-workshop .ecosystem-stage {
        max-width: 1740px;
    }
}
@media (max-width: 1100px) {
    .home-workshop .logo {
        width: 210px;
    }
    .home-workshop .ecosystem-caption {
        font-size: 0.5rem;
        bottom: 5px;
    }
    .home-workshop .ecosystem-intro,
    .home-workshop .ecosystem-directory {
        gap: 40px;
    }
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .ecosystem-container {
        width: calc(100% - 40px);
    }
    .home-workshop .ecosystem-caption {
        position: static;
        transform: none;
        text-align: right;
        padding-bottom: 20px;
        font-size: 0.56rem;
    }
    .home-workshop .ecosystem-intro,
    .home-workshop .ecosystem-directory {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .home-workshop .ecosystem-intro h1 {
        font-size: clamp(2rem, 5.8vw, 3rem);
    }
    .home-workshop .ecosystem-intro-copy {
        max-width: 640px;
    }
    .home-workshop .ecosystem-directory {
        padding-block: 60px;
    }
    .home-workshop .directory-heading > p:last-child {
        max-width: 520px;
    }
    .home-workshop .approach-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    .home-workshop .approach-steps {
        gap: 25px;
    }
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .header-inner {
        min-height: 78px;
        padding-block: 17px;
        gap: 15px;
    }
    .home-workshop .logo {
        width: 185px;
    }
    .home-workshop .menu-toggle {
        border-color: #738296;
        color: #edf4ff;
    }
    .home-workshop .ecosystem-stage {
        padding-top: 15px;
    }
    .home-workshop .ecosystem-intro {
        padding-block: 40px 45px;
    }
    .home-workshop .ecosystem-eyebrow {
        font-size: 0.58rem;
        line-height: 1.6;
    }
    .home-workshop .ecosystem-intro-copy > p {
        font-size: 0.92rem;
    }
    .home-workshop .directory-heading h2 {
        font-size: 2.4rem;
    }
    .home-workshop .expertise-detail summary {
        grid-template-columns: 24px 1fr 18px;
        gap: 13px;
        font-size: 1rem;
    }
    .home-workshop .detail-content {
        padding: 3px 8px 28px 37px;
    }
    .home-workshop .detail-content h3 {
        font-size: 1.25rem;
    }
    .home-workshop .detail-content > p {
        font-size: 0.88rem;
    }
    .home-workshop .ecosystem-approach {
        padding-block: 50px;
    }
    .home-workshop .approach-heading h2 {
        font-size: 2.25rem;
    }
    .home-workshop .approach-steps {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 35px;
    }
    .home-workshop .approach-steps p {
        max-width: 520px;
    }
    .home-workshop .ecosystem-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
}
@media (max-width: 380px) {
    .home-workshop .ecosystem-container {
        width: calc(100% - 32px);
    }
    .home-workshop .header-inner {
        gap: 10px;
    }
    .home-workshop .logo {
        width: 165px;
    }
}

/* Les éléments se réorganisent réellement, indépendamment de l'image source. */
@media (max-width: 1100px) {
    .home-workshop .ecosystem-scene {
        grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr);
        gap: 18px 22px;
    }
    .home-workshop .node-copy strong {
        font-size: 0.74rem;
        letter-spacing: 0.035em;
    }
    .home-workshop .node-copy > span {
        font-size: 0.71rem;
        letter-spacing: 0;
    }
}
@media (max-width: 900px) {
    .home-workshop .ecosystem-scene {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 28px;
    }
    .home-workshop .ecosystem-center {
        grid-column: 1 / -1;
        grid-row: 1;
        width: min(80%, 560px);
        margin-bottom: 10px;
    }
    .home-workshop .ecosystem-node {
        grid-column: auto;
        grid-row: auto;
        width: min(100%, 215px);
    }
    .home-workshop .node-copy {
        padding-inline: 5px;
        min-height: 62px;
    }
    .home-workshop .node-copy strong {
        font-size: 0.76rem;
    }
    .home-workshop .node-copy > span {
        font-size: 0.72rem;
    }
    .home-workshop .ecosystem-caption {
        margin-top: 0;
        padding-block: 0 10px;
    }
}
@media (max-width: 600px) {
    .home-workshop .ecosystem-scene {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 26px;
    }
    .home-workshop .ecosystem-center {
        width: min(100%, 420px);
    }
    .home-workshop .ecosystem-node {
        width: min(100%, 200px);
    }
    .home-workshop .node-copy {
        min-height: 68px;
    }
    .home-workshop .node-copy strong {
        font-size: 0.76rem;
    }
    .home-workshop .node-copy > span {
        font-size: 0.71rem;
    }
}
@media (max-width: 380px) {
    .home-workshop .ecosystem-scene {
        column-gap: 22px;
    }
    .home-workshop .node-copy strong {
        font-size: 0.75rem;
        letter-spacing: 0.01em;
        overflow-wrap: anywhere;
    }
    .home-workshop .node-copy > span {
        font-size: 0.75rem;
    }
}

/* Mobile : retour à la présentation compacte validée précédemment. */
.home-workshop .ecosystem-mobile-art {
    display: none;
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .ecosystem-scene {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .home-workshop .ecosystem-center,
    .home-workshop .ecosystem-node > .ecosystem-slice {
        display: none;
    }
    .home-workshop .ecosystem-mobile-art {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        margin-bottom: 10px;
        min-width: 0;
    }
    .home-workshop .ecosystem-mobile-art > img {
        width: 100%;
        height: auto;
        mix-blend-mode: lighten;
    }
    .home-workshop .ecosystem-node {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        min-height: 76px;
        border: 1px solid #384d6b;
        background: #142033;
        align-content: center;
        text-align: left;
    }
    .home-workshop .node-copy {
        padding: 13px 28px 13px 13px;
        min-height: 0;
    }
    .home-workshop .node-copy strong {
        font-size: 0.77rem;
        letter-spacing: 0.025em;
    }
    .home-workshop .node-copy > span {
        font-size: 0.72rem;
        letter-spacing: 0;
    }
    .home-workshop .node-copy > i {
        display: block;
        position: absolute;
        top: 12px;
        right: 10px;
        color: #8bb9ff;
        font-size: 0.9rem;
    }

    .home-workshop .ecosystem-caption {
        padding-block: 15px;
        text-align: right;
    }
}
@media (max-width: 380px) {
    .home-workshop .ecosystem-scene {
        gap: 8px;
    }
    .home-workshop .node-copy {
        padding: 12px 24px 12px 10px;
    }
    .home-workshop .node-copy strong {
        font-size: 0.71rem;
    }
    .home-workshop .node-copy > span {
        font-size: 0.69rem;
    }
}

/* L'en-tête et la scène tiennent ensemble dans la fenêtre, dès le haut de page. */
@media (min-width: 801px) {
    .home-workshop .ecosystem-stage {
        --ecosystem-available-height: calc(100dvh - var(--ecosystem-header-height, 88px));
        height: calc(100vh - var(--ecosystem-header-height, 88px));
        height: var(--ecosystem-available-height);
        padding-block: 18px 12px;
    }
    .home-workshop .ecosystem-scene {
        --expertise-visual-height: clamp(24px, calc((var(--ecosystem-available-height) - 320px) / 3), 205px);
        height: 100%;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr) minmax(0, 1fr);
        grid-template-rows: repeat(3, minmax(0, 1fr)) auto;
        gap: 12px 26px;
    }
    .home-workshop .ecosystem-center {
        grid-column: 2;
        grid-row: 1 / span 3;
        width: min(100%, 900px, calc((var(--ecosystem-available-height) - 90px) * 1.192857));
        margin: 0;
    }
    .home-workshop .ecosystem-node {
        width: min(100%, 280px);
        min-height: 0;
    }
    .home-workshop .ecosystem-node > .ecosystem-slice {
        width: min(100%, calc(var(--expertise-visual-height) * 1.35));
        justify-self: center;
    }
    .home-workshop .node-web {
        grid-column: 3;
        grid-row: 1;
    }
    .home-workshop .node-host {
        grid-column: 1;
        grid-row: 1;
    }
    .home-workshop .node-auto {
        grid-column: 3;
        grid-row: 2;
    }
    .home-workshop .node-maintenance {
        grid-column: 1;
        grid-row: 2;
    }
    .home-workshop .node-integration {
        grid-column: 3;
        grid-row: 3;
    }
    .home-workshop .node-evohosting {
        grid-column: 1;
        grid-row: 3;
    }
    .home-workshop .ecosystem-caption {
        padding-block: 6px;
        margin: 0;
    }
}
@media (min-width: 801px) and (max-height: 650px) {
    .home-workshop .ecosystem-scene {
        column-gap: 20px;
    }
    .home-workshop .node-copy {
        min-height: 45px;
        padding-block: 5px;
    }
    .home-workshop .node-copy strong {
        font-size: 0.73rem;
        letter-spacing: 0.025em;
    }
    .home-workshop .node-copy > span {
        font-size: 0.7rem;
        letter-spacing: 0;
        margin-top: 3px;
    }
}
/* À l'arrivée, seules les teintes bleues de l'icône passent au doré. */
.home-workshop .ecosystem-filters {
    position: absolute;
    pointer-events: none;
}
.home-workshop .ecosystem-node.is-arrived .ecosystem-slice > img,
.home-workshop .mobile-icon-overlay .ecosystem-slice > img {
    filter: url("#expertise-gold");
}
.home-workshop .ecosystem-mobile-art {
    position: relative;
}
.home-workshop .mobile-icon-overlay {
    display: none;
    position: absolute;
    pointer-events: none;
    opacity: 0;
}
.home-workshop .mobile-icon-overlay.is-arrived {
    opacity: 1;
}
.home-workshop .mobile-icon-overlay > .ecosystem-slice {
    width: 100%;
    height: 100%;
}
.home-workshop .mobile-icon-web {
    left: 2.392344%;
    top: 9.042553%;
    width: 21.830144%;
    height: 28.723404%;
}
.home-workshop .mobile-icon-host {
    left: 74.760766%;
    top: 8.510638%;
    width: 22.727273%;
    height: 29.255319%;
}
.home-workshop .mobile-icon-auto {
    left: 1.794258%;
    top: 37.765957%;
    width: 21.830144%;
    height: 26.595745%;
}
.home-workshop .mobile-icon-maintenance {
    left: 74.760766%;
    top: 37.765957%;
    width: 23.026316%;
    height: 27.127660%;
}
.home-workshop .mobile-icon-integration {
    left: 1.794258%;
    top: 64.893617%;
    width: 22.129187%;
    height: 26.595745%;
}
.home-workshop .mobile-icon-evohosting {
    left: 74.760766%;
    top: 64.893617%;
    width: 23.026316%;
    height: 27.127660%;
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .mobile-icon-overlay {
        display: block;
    }
}

.home-workshop .mobile-icon-overlay .ecosystem-slice > img {
    filter: url("#expertise-gold-overlay");
    mix-blend-mode: normal;
}

/* Les expertises se présentent comme des panneaux de l'écosystème. */
.home-workshop.has-expertise-modal {
    overflow: hidden;
}
.home-workshop .expertise-modal {
    box-sizing: border-box;
    width: min(1040px, calc(100% - 48px));
    max-width: none;
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 1px solid #5263a0;
    border-radius: 6px;
    color: #f1f5f9;
    background: radial-gradient(ellipse at 15% 45%, #272357 0, transparent 55%), #101723;
    box-shadow: 0 28px 100px #0009, 0 0 55px #4945ff22;
    font: inherit;
}
.home-workshop .expertise-modal::backdrop {
    background: #050914cf;
    backdrop-filter: blur(9px);
}
.home-workshop .expertise-modal-top,
.home-workshop .expertise-modal-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 26px;
}
.home-workshop .expertise-modal-top {
    border-bottom: 1px solid #ffffff18;
}
.home-workshop .expertise-modal-label,
.home-workshop .expertise-modal-position,
.home-workshop .expertise-modal-signal {
    font: 0.65rem/1.6 Consolas, monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a9b9db;
}
.home-workshop .expertise-modal button {
    cursor: pointer;
    font: inherit;
}
.home-workshop .expertise-modal-close {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid #6976a0;
    border-radius: 50%;
    color: #f1f5f9;
    background: #ffffff08;
}
.home-workshop .expertise-modal-close:hover {
    color: #f5c967;
    border-color: #f5c967;
}
.home-workshop .expertise-modal-layout {
    display: grid;
    grid-template-columns: 34% 1fr;
    min-height: 460px;
}
.home-workshop .expertise-modal-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    background-image: linear-gradient(#6576cd0d 1px, transparent 1px), linear-gradient(90deg, #6576cd0d 1px, transparent 1px);
    background-size: 32px 32px;
}
.home-workshop .expertise-modal-orbit {
    position: absolute;
    width: 270px;
    aspect-ratio: 1;
    border: 1px solid #8f9fff30;
    border-radius: 50%;
    box-shadow: 0 0 0 32px #8f9fff08, 0 0 0 64px #8f9fff05;
}
.home-workshop .expertise-modal-art {
    position: relative;
    width: 95%;
}
.home-workshop .expertise-modal-art .ecosystem-slice {
    display: block;
    width: 100%;
}
.home-workshop .expertise-modal-number {
    position: absolute;
    top: 20px;
    left: 24px;
    font: 4rem/1 Consolas, monospace;
    color: #8a92df25;
}
.home-workshop .expertise-modal-signal {
    position: absolute;
    right: 18px;
    bottom: 24px;
    left: 18px;
    text-align: center;
    font-size: 0.55rem;
}
.home-workshop .expertise-modal-copy {
    position: relative;
    min-width: 0;
    padding: 38px 40px 40px;
    border-left: 1px solid #ffffff12;
}
.home-workshop .expertise-modal-copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 64px;
    height: 2px;
    background: #f5c967;
    box-shadow: 0 0 12px #f5c96760;
}
.home-workshop .expertise-modal-copy h2 {
    margin: 12px 0 24px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}
.home-workshop .expertise-modal-description h3 {
    margin: 0 0 12px;
    font-size: 1.12rem;
    color: #a9c9ff;
}
.home-workshop .expertise-modal-description p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: #bfcbde;
}
.home-workshop .expertise-modal-points {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 24px 0 28px;
    padding: 0;
}
.home-workshop .expertise-modal-points li {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #d9e2f2;
}
.home-workshop .expertise-modal-points li::before {
    content: '✦';
    flex-shrink: 0;
    color: #f5c967;
}
.home-workshop .expertise-modal-action a {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #f5c967;
    color: #f5c967;
    font-size: 0.88rem;
}
.home-workshop .expertise-modal-bottom {
    border-top: 1px solid #ffffff18;
    background: #080e1960;
}
.home-workshop .expertise-modal-bottom button {
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #c6d6f2;
    font-size: 0.8rem;
}
.home-workshop .expertise-modal-bottom button:hover {
    color: #f5c967;
}
.home-workshop .expertise-modal button:focus-visible,
.home-workshop .expertise-modal a:focus-visible {
    outline: 2px solid #f5c967;
    outline-offset: 5px;
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .expertise-modal {
        width: calc(100% - 24px);
        max-height: calc(100dvh - 24px);
    }
    .home-workshop .expertise-modal-top,
    .home-workshop .expertise-modal-bottom {
        padding: 12px 18px;
    }
    .home-workshop .expertise-modal-label {
        font-size: 0.55rem;
        letter-spacing: 0.04em;
    }
    .home-workshop .expertise-modal-layout {
        grid-template-columns: 1fr;
    }
    .home-workshop .expertise-modal-visual {
        height: 155px;
    }
    .home-workshop .expertise-modal-art {
        width: 220px;
    }
    .home-workshop .expertise-modal-number {
        top: 18px;
        left: 18px;
        font-size: 3rem;
    }
    .home-workshop .expertise-modal-signal {
        display: none;
    }
    .home-workshop .expertise-modal-copy {
        padding: 24px;
        border-left: 0;
        border-top: 1px solid #ffffff12;
    }
    .home-workshop .expertise-modal-copy::before {
        left: 24px;
    }
}

/* Images des expertises autonomes : leur fichier ne contient plus le symbole. */
.home-workshop .ecosystem-slice.expertise-asset > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: normal;
}

/* Agrandissement des six icônes sans déplacer leurs cadres ni les légendes. */
.home-workshop .ecosystem-node > .expertise-asset {
    overflow: visible;
}
.home-workshop .ecosystem-node > .expertise-asset > img {
    transform: scale(1.25);
    transform-origin: center;
}

/* Chaque carré décoratif possède sa propre zone de survol. */
.home-workshop .central-pixels-gold {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.home-workshop .central-pixel-hit {
    fill: transparent;
    pointer-events: all;
}
.home-workshop .central-pixel-light {
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
}
@media (hover: hover) {
    .home-workshop .central-pixel:hover .central-pixel-light {
        opacity: 1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-workshop .central-pixel-light {
        transition: none;
    }
}

/* Textes et images de l'accueil se révèlent au même instant, sans écran de chargement. */
.home-images-pending .home-workshop > * {
    visibility: hidden;
}

/* Sur mobile, les cartes reprennent les colonnes des expertises sur ordinateur. */
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .node-host {
        grid-column: 1;
        grid-row: 2;
    }
    .home-workshop .node-web {
        grid-column: 2;
        grid-row: 2;
    }
    .home-workshop .node-maintenance {
        grid-column: 1;
        grid-row: 3;
    }
    .home-workshop .node-auto {
        grid-column: 2;
        grid-row: 3;
    }
    .home-workshop .node-evohosting {
        grid-column: 1;
        grid-row: 4;
    }
    .home-workshop .node-integration {
        grid-column: 2;
        grid-row: 4;
    }
}

/* Bouton mobile : hamburger fermé, croix lorsque la navigation est ouverte. */
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .js .home-workshop .menu-toggle {
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px;
        gap: 0;
    }
    .home-workshop .menu-hamburger {
        display: block;
        position: relative;
        width: 22px;
        height: 16px;
    }
    .home-workshop .menu-hamburger > span {
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
        transition: transform 160ms ease, opacity 160ms ease;
    }
    .home-workshop .menu-hamburger > span:nth-child(1) {
        top: 0;
    }
    .home-workshop .menu-hamburger > span:nth-child(2) {
        top: 7px;
    }
    .home-workshop .menu-hamburger > span:nth-child(3) {
        top: 14px;
    }
    .home-workshop .menu-toggle[aria-expanded="true"] .menu-hamburger > span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .home-workshop .menu-toggle[aria-expanded="true"] .menu-hamburger > span:nth-child(2) {
        opacity: 0;
    }
    .home-workshop .menu-toggle[aria-expanded="true"] .menu-hamburger > span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-workshop .menu-hamburger > span {
        transition: none;
    }
}

/* Mobile : symbole intact et six illustrations autonomes, puis les cartes. */
.home-workshop .mobile-expertise-icon {
    display: none;
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .ecosystem-scene {
        grid-template-columns: repeat(2, minmax(0, 1fr)) repeat(2, minmax(0, 2fr)) repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, clamp(52px, 16vw, 100px)) repeat(3, auto) auto;
        column-gap: 5px;
        row-gap: 10px;
    }
    .home-workshop .ecosystem-center {
        display: block;
        grid-column: 3 / span 2;
        grid-row: 1 / span 3;
        align-self: center;
        width: 100%;
        margin: 0;
    }
    .home-workshop .mobile-expertise-icon {
        display: block;
        align-self: center;
        min-width: 0;
        text-decoration: none;
    }
    .home-workshop .mobile-expertise-host {
        grid-column: 1 / span 2;
        grid-row: 1;
    }
    .home-workshop .mobile-expertise-web {
        grid-column: 5 / span 2;
        grid-row: 1;
    }
    .home-workshop .mobile-expertise-maintenance {
        grid-column: 1 / span 2;
        grid-row: 2;
    }
    .home-workshop .mobile-expertise-auto {
        grid-column: 5 / span 2;
        grid-row: 2;
    }
    .home-workshop .mobile-expertise-evohosting {
        grid-column: 1 / span 2;
        grid-row: 3;
    }
    .home-workshop .mobile-expertise-integration {
        grid-column: 5 / span 2;
        grid-row: 3;
    }
    .home-workshop .mobile-expertise-icon.is-arrived .expertise-asset > img {
        filter: url("#expertise-gold");
    }
    .home-workshop .node-host {
        grid-column: 1 / span 3;
        grid-row: 4;
    }
    .home-workshop .node-web {
        grid-column: 4 / span 3;
        grid-row: 4;
    }
    .home-workshop .node-maintenance {
        grid-column: 1 / span 3;
        grid-row: 5;
    }
    .home-workshop .node-auto {
        grid-column: 4 / span 3;
        grid-row: 5;
    }
    .home-workshop .node-evohosting {
        grid-column: 1 / span 3;
        grid-row: 6;
    }
    .home-workshop .node-integration {
        grid-column: 4 / span 3;
        grid-row: 6;
    }
    .home-workshop .ecosystem-caption {
        grid-column: 1 / -1;
        grid-row: 7;
    }
}

/* Sur mobile, la fenêtre est ancrée sous le visuel et recouvre le contenu. */
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .expertise-modal.is-inline {
        position: absolute;
        inset: var(--mobile-popup-top, 0px) auto auto 0;
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        width: 100%;
        max-width: 100%;
        max-height: none;
        margin: 0;
        overflow: visible;
        z-index: 20;
    }
}

/* La sélection mobile reste dorée jusqu'au choix d'une autre expertise. */
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .mobile-expertise-icon.is-selected-expertise .expertise-asset > img {
        filter: url("#expertise-gold");
    }
}

@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .art-circuit.is-selected-expertise:not(.is-travelling) .circuit-route {
        stroke: #f5c967;
        filter: drop-shadow(0 0 4px #ffbd43);
    }
}

/* Chevrons SVG symétriques, indépendants de la police et de sa ligne de base. */
.home-workshop .expertise-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 20px;
    margin-inline: 4px;
    vertical-align: middle;
}
.home-workshop .expertise-nav-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .expertise-modal.is-inline .expertise-modal-bottom {
        position: static;
        justify-content: center;
    }
    .home-workshop .expertise-modal.is-inline .expertise-modal-previous,
    .home-workshop .expertise-modal.is-inline .expertise-modal-next {
        position: absolute;
        top: 50%;
        bottom: auto;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 48px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #f5c967;
        transform: translateY(-50%);
        box-shadow: none;
        filter: drop-shadow(0 0 5px #f5c96755);
    }
    .home-workshop .expertise-modal.is-inline .expertise-modal-previous {
        left: -12px;
    }
    .home-workshop .expertise-modal.is-inline .expertise-modal-next {
        right: -12px;
    }
    .home-workshop .expertise-modal.is-inline .expertise-nav-label {
        display: none;
    }
    .home-workshop .expertise-modal.is-inline .expertise-nav-icon {
        width: 24px;
        height: 36px;
        margin: 0;
        transition: transform 140ms ease;
    }
    .home-workshop .expertise-modal.is-inline .expertise-modal-copy {
        padding-inline: 36px;
    }
    .home-workshop .expertise-modal.is-inline .expertise-modal-previous:active,
    .home-workshop .expertise-modal.is-inline .expertise-modal-next:active {
        color: #fff1c2;
    }
}
@media (max-width: 800px) and (hover: hover) {
    .home-workshop .expertise-modal.is-inline .expertise-modal-previous:hover .expertise-nav-icon {
        transform: translateX(-2px);
    }
    .home-workshop .expertise-modal.is-inline .expertise-modal-next:hover .expertise-nav-icon {
        transform: translateX(2px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-workshop .expertise-modal.is-inline .expertise-nav-icon {
        transition: none;
    }
}

/* Maquette mobile du 27 octobre : symbole, liste illustrée et fil vertical. */
.mobile-expertises-title,
.mobile-expertises-contact {
    display: none;
}
@media (max-width: 800px), (max-width: 1100px) and (max-height: 600px) {
    .home-workshop .ecosystem-stage {
        --mobile-center-height: clamp(155px, 48vw, 250px);
        height: auto;
        padding-block: 10px 20px;
    }
    .home-workshop .ecosystem-scene {
        display: grid;
        height: auto;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 0;
    }
    .home-workshop .ecosystem-center {
        display: flex;
        align-items: center;
        justify-content: center;
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: var(--mobile-center-height);
        max-width: none;
        margin: 0;
    }
    .home-workshop .ecosystem-center .slice-center {
        width: min(100%, calc(var(--mobile-center-height) * 1.192857));
    }
    .home-workshop .mobile-expertises-title {
        display: block;
        grid-column: 1;
        grid-row: 2;
        margin: 12px 0 16px;
        font-size: clamp(1.55rem, 6vw, 2.1rem);
        line-height: 1.15;
        font-weight: 700;
        letter-spacing: -0.035em;
    }
    .home-workshop .ecosystem-node {
        display: grid;
        position: relative;
        grid-template-columns: clamp(92px, 29vw, 150px) minmax(0, 1fr);
        grid-column: 1;
        align-items: center;
        align-content: center;
        gap: 10px;
        width: 100%;
        max-width: none;
        min-height: 94px;
        padding: 8px 0 8px 24px;
        border: 0;
        border-bottom: 1px solid #344255;
        border-radius: 0;
        background: transparent;
        text-align: left;
    }
    .home-workshop .node-web { grid-row: 3; }
    .home-workshop .node-host { grid-row: 4; }
    .home-workshop .node-auto { grid-row: 5; }
    .home-workshop .node-maintenance { grid-row: 6; }
    .home-workshop .node-integration { grid-row: 7; }
    .home-workshop .node-evohosting { grid-row: 8; }
    .home-workshop .ecosystem-node::before {
        content: '';
        position: absolute;
        left: 8px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #4945ff;
    }
    .home-workshop .ecosystem-node::after {
        content: '';
        position: absolute;
        z-index: 5;
        left: 3px;
        top: 50%;
        width: 12px;
        height: 12px;
        border: 2px solid #8d94ff;
        border-radius: 1px;
        background: #101720;
        transform: translateY(-50%);
    }
    .home-workshop .ecosystem-node.is-selected-expertise::after,
    .home-workshop .ecosystem-node.is-arrived::after {
        border-color: #f5c967;
        background: #f5c967;
        box-shadow: 0 0 12px #f5c96788;
    }
    .home-workshop .ecosystem-node > .ecosystem-slice {
        display: block;
        grid-column: 1;
        width: 100%;
        justify-self: center;
    }
    .home-workshop .ecosystem-node > .expertise-asset > img {
        transform: none;
    }
    .home-workshop .node-copy {
        display: grid;
        grid-column: 2;
        grid-template-columns: minmax(0, 1fr) 18px;
        gap: 5px 8px;
        min-height: 0;
        padding: 0;
    }
    .home-workshop .node-copy strong {
        grid-column: 1;
        grid-row: 1;
        font-size: clamp(1.05rem, 4.5vw, 1.6rem);
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -0.025em;
        text-transform: none;
        color: #edf3f9;
        overflow-wrap: normal;
    }
    .home-workshop .node-copy > span {
        grid-column: 1;
        grid-row: 2;
        margin: 0;
        font-size: clamp(0.76rem, 2.8vw, 1rem);
        line-height: 1.35;
        letter-spacing: 0;
        color: #b2c1d4;
    }
    .home-workshop .node-copy > i {
        position: static;
        display: flex;
        align-items: center;
        grid-column: 2;
        grid-row: 1 / span 2;
        color: #7571ff;
    }
    .home-workshop .node-copy > i svg {
        width: 18px;
        height: 28px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .home-workshop .ecosystem-node.is-selected-expertise strong,
    .home-workshop .ecosystem-node.is-selected-expertise .node-copy > i {
        color: #f5c967;
    }
    .home-workshop .ecosystem-node.is-selected-expertise .expertise-asset > img {
        filter: url("#expertise-gold");
    }
    .home-workshop .mobile-expertises-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        grid-column: 1;
        grid-row: 9;
        min-height: 50px;
        margin-top: 18px;
        padding: 12px 18px;
        border: 1px solid #7374ff;
        border-radius: 8px;
        background: linear-gradient(125deg, #3530ff, #0d45ed);
        color: #fff;
        font-size: clamp(0.95rem, 3.7vw, 1.2rem);
        font-weight: 600;
        box-shadow: inset 0 1px 0 #ffffff26;
    }
    .home-workshop .mobile-expertises-contact span {
        font-size: 1.4em;
    }
    .home-workshop .ecosystem-caption {
        display: none;
    }
    .home-workshop .expertise-modal.is-inline {
        grid-column: 1;
        grid-row: 1 / -1;
    }
    .home-workshop .header-inner {
        flex-wrap: wrap;
        min-height: 78px;
        padding-block: 17px;
        gap: 15px;
    }
    .home-workshop .logo {
        width: clamp(165px, 48vw, 210px);
    }
    .home-workshop .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 12px;
        font-size: 1rem;
    }
    .home-workshop .site-nav a {
        display: flex;
        align-items: baseline;
        gap: 18px;
        padding-block: 14px;
        border-top: 1px solid var(--line);
    }
    .js .home-workshop .site-nav {
        display: none;
    }
    .js .home-workshop .site-nav.is-open {
        display: flex;
    }
    .js .home-workshop .menu-toggle {
        display: flex;
        appearance: none;
        border: 1px solid #738296;
        border-radius: 0;
        background: transparent;
        color: #edf4ff;
    }
}
@media (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
    .home-workshop .ecosystem-stage {
        --mobile-center-height: 170px;
    }
    .home-workshop .ecosystem-scene {
        width: min(100%, 720px);
        margin-inline: auto;
    }
    .home-workshop .ecosystem-node {
        min-height: 92px;
        grid-template-columns: 132px minmax(0, 1fr);
    }
}

/* Maquette paysage : symbole à gauche, liste et fil lumineux à droite. */
@media (max-width: 1100px) and (max-height: 600px) and (orientation: landscape) {
    .home-workshop .ecosystem-stage {
        padding-top: 16px;
    }
    .home-workshop .ecosystem-scene {
        width: 100%;
        margin: 0;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.9fr);
        grid-template-rows: auto;
        column-gap: clamp(16px, 3vw, 30px);
        align-items: start;
    }
    .home-workshop .ecosystem-center {
        position: sticky;
        mix-blend-mode: lighten;
        top: 12px;
        grid-column: 1;
        grid-row: 1 / span 8;
        align-self: start;
        height: clamp(145px, calc(100svh - 110px), 340px);
        padding-top: 10px;
    }
    .home-workshop .ecosystem-center .slice-center {
        width: 100%;
    }
    .home-workshop .mobile-expertises-title {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 12px;
        font-size: clamp(1.4rem, 3.5vw, 2rem);
    }
    .home-workshop .ecosystem-node {
        grid-column: 2;
        grid-template-columns: clamp(80px, 14vw, 132px) minmax(0, 1fr);
        min-height: 94px;
    }
    .home-workshop .node-web { grid-row: 2; }
    .home-workshop .node-host { grid-row: 3; }
    .home-workshop .node-auto { grid-row: 4; }
    .home-workshop .node-maintenance { grid-row: 5; }
    .home-workshop .node-integration { grid-row: 6; }
    .home-workshop .node-evohosting { grid-row: 7; }
    .home-workshop .node-copy strong {
        font-size: clamp(1rem, 2.7vw, 1.45rem);
    }
    .home-workshop .node-copy > span {
        font-size: clamp(0.76rem, 1.8vw, 1rem);
    }
    .home-workshop .mobile-expertises-contact {
        grid-column: 2;
        grid-row: 8;
    }
    .home-workshop .expertise-modal.is-inline {
        grid-column: 2;
        grid-row: 1 / -1;
    }
}
