/* =========================================
   HERO
   ========================================= */

.mesa-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 100px;
    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(37, 99, 235, .30),
            transparent 30%
        ),
        radial-gradient(
            circle at 65% 95%,
            rgba(26, 101, 190, .13),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #041322 0%,
            #071a2c 56%,
            #0a2540 100%
        );
}

.mesa-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    opacity: .14;

    background-image:
        linear-gradient(
            rgba(255,255,255,.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.06) 1px,
            transparent 1px
        );

    background-size: 48px 48px;
}

.mesa-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(360px, .88fr);

    align-items: center;
    gap: 70px;
}

.mesa-hero .mesa-eyebrow {
    color: #7eaaff;
}

.mesa-hero h1 {
    max-width: 760px;
    margin: 0;

    color: #ffffff;

    font-size: clamp(44px, 6vw, 67px);
    font-weight: 750;
    line-height: .99;
    letter-spacing: -.052em;
}

.mesa-hero h1 span {
    display: block;
    margin-top: 10px;
    color: #9fc0ff;
}

.mesa-hero-lead {
    max-width: 680px;

    margin: 26px 0 0;

    color: #c3d1de;

    font-size: 18px;
    line-height: 1.65;
}

.mesa-hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 11px;

    margin-top: 32px;
}

.mesa-hero-trust {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 27px;

    color: #a7bacb;

    font-size: 12px;
}

.mesa-hero-trust span::before {
    content: "✓";

    margin-right: 7px;

    color: #6fa0ff;

    font-weight: 900;
}


/* =========================================
   CARTE TECHNIQUE HERO
   ========================================= */

.mesa-tech-card {
    position: relative;

    padding: 31px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.095),
            rgba(255,255,255,.045)
        );

    border:
        1px solid rgba(255,255,255,.14);

    border-radius: 21px;

    box-shadow:
        0 25px 65px rgba(0,0,0,.25);

    backdrop-filter: blur(13px);
}

.mesa-tech-card::before {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -65px;
    top: -65px;

    border-radius: 50%;

    background: rgba(37,99,235,.20);
}

.mesa-tech-label {
    color: #79a6ff;

    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
}

.mesa-tech-card h2 {
    position: relative;

    margin: 11px 0 23px;

    color: #ffffff;

    font-size: 27px;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.mesa-tech-services {
    display: grid;
    gap: 8px;
}

.mesa-tech-services div {
    position: relative;

    padding: 11px 13px 11px 34px;

    color: #d4e0eb;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid rgba(255,255,255,.075);

    border-radius: 10px;

    font-size: 13px;
}

.mesa-tech-services div::before {
    content: "";

    position: absolute;

    left: 14px;
    top: 50%;

    width: 7px;
    height: 7px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: #4e8cff;

    box-shadow:
        0 0 0 4px rgba(78,140,255,.12);
}


/* =========================================
   COMMENT POUVONS-NOUS VOUS AIDER
   ========================================= */

.mesa-needs {
    background: #ffffff;
}

.mesa-needs-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.mesa-need-card {
    min-height: 245px;

    padding: 24px;

    background: #ffffff;

    border:
        1px solid var(--mesa-line);

    border-radius:
        var(--mesa-radius);

    box-shadow:
        0 8px 25px rgba(15,42,67,.045);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.mesa-need-card:hover {
    transform: translateY(-3px);

    border-color: #a8c2e1;

    box-shadow:
        0 15px 35px rgba(15,42,67,.08);
}

.mesa-card-number {
    color: var(--mesa-blue);

    font-size: 11px;
    font-weight: 850;
}

.mesa-need-card h3 {
    margin: 38px 0 10px;

    color: var(--mesa-navy-2);

    font-size: 19px;
    line-height: 1.25;
}

.mesa-need-card p {
    margin: 0 0 18px;

    color: var(--mesa-muted);

    font-size: 13px;
}

.mesa-need-card strong {
    color: var(--mesa-blue);

    font-size: 12px;
}


/* =========================================
   RESPONSIVE PARTIE 1
   ========================================= */

@media (max-width: 960px) {

    .mesa-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .mesa-needs-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .mesa-hero {
        padding: 55px 0 60px;
    }

    .mesa-hero-grid {
        gap: 34px;
    }

    .mesa-hero h1 {
        font-size: 39px;
    }

    .mesa-hero-lead {
        margin-top: 19px;

        font-size: 15px;
    }

    .mesa-hero-actions {
        flex-direction: column;
    }

    .mesa-hero-actions .mesa-btn {
        width: 100%;
    }

    .mesa-tech-card {
        padding: 22px;
    }

    .mesa-tech-card h2 {
        font-size: 23px;
    }

    .mesa-needs-grid {
        grid-template-columns: 1fr;
    }

    .mesa-need-card {
        min-height: 0;
    }

    .mesa-need-card h3 {
        margin-top: 25px;
    }
}


/* =========================================
   NOS EXPERTISES
   ========================================= */

.mesa-services {
    background: var(--mesa-soft);
}

.mesa-services-grid {
    display: grid;
    grid-template-columns:
        repeat(6, minmax(0, 1fr));
    gap: 15px;
}

.mesa-service-card {
    grid-column: span 2;
    min-height: 225px;
    padding: 25px;

    background: #ffffff;

    border: 1px solid #dae4ee;
    border-radius: var(--mesa-radius);

    box-shadow:
        0 8px 22px rgba(15,42,67,.035);
}

.mesa-service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.mesa-service-card span {
    color: #9bb3cb;

    font-size: 11px;
    font-weight: 850;
}

.mesa-service-card h3 {
    margin: 43px 0 10px;

    color: var(--mesa-navy-2);

    font-size: 19px;
    line-height: 1.3;
}

.mesa-service-card p {
    margin: 0;

    color: var(--mesa-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================
   NOTRE APPROCHE
   ========================================= */

.mesa-process {
    background: #ffffff;
}

.mesa-process-layout {
    display: grid;

    grid-template-columns:
        .85fr 1.15fr;

    gap: 90px;

    align-items: start;
}

.mesa-process-steps {
    display: grid;
    gap: 12px;
}

.mesa-process-steps article {
    display: grid;

    grid-template-columns:
        48px 1fr;

    gap: 18px;

    padding: 21px 22px;

    background: var(--mesa-soft);

    border:
        1px solid #e0e8ef;

    border-radius: 13px;
}

.mesa-process-steps article > span {
    color: var(--mesa-blue);

    font-size: 12px;
    font-weight: 850;
}

.mesa-process-steps h3 {
    margin: 0 0 5px;

    color: var(--mesa-navy-2);

    font-size: 16px;
}

.mesa-process-steps p {
    margin: 0;

    color: var(--mesa-muted);

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================
   RESPONSIVE PARTIE 2
   ========================================= */

@media (max-width: 960px) {

    .mesa-services-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mesa-service-card,
    .mesa-service-card:nth-child(4) {
        grid-column: auto;
    }

    .mesa-process-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {

    .mesa-services-grid {
        grid-template-columns: 1fr;
    }

    .mesa-service-card {
        min-height: 0;
    }

    .mesa-service-card h3 {
        margin-top: 25px;
    }

    .mesa-process-steps article {
        grid-template-columns:
            38px 1fr;

        gap: 12px;

        padding: 17px;
    }
}


/* =========================================
   POURQUOI MESA
   ========================================= */

.mesa-why {
    background: #081c2e;
}

.mesa-why .mesa-section-heading h2 {
    color: #ffffff;
}

.mesa-why .mesa-eyebrow {
    color: #6fa0ff;
}

.mesa-why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.mesa-why-grid article {
    padding: 22px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.11);

    border-radius: 13px;
}

.mesa-why-grid strong {
    color: #ffffff;

    font-size: 15px;
}

.mesa-why-grid p {
    margin: 9px 0 0;

    color: #9fb2c4;

    font-size: 12px;
    line-height: 1.55;
}


/* =========================================
   MESA BUREAUTIQUE
   ========================================= */

.mesa-bureautique {
    padding: 60px 0;

    background: #f4f7fa;
}

.mesa-bureautique-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 42px;

    color: #ffffff;

    background:
        linear-gradient(
            130deg,
            #0f2a43,
            #164778
        );

    border-radius: 19px;

    box-shadow:
        0 15px 40px rgba(15,42,67,.13);
}

.mesa-bureautique-box .mesa-eyebrow {
    color: #93b9ff;
}

.mesa-bureautique-box h2 {
    margin: 0 0 8px;

    font-size: 29px;
}

.mesa-bureautique-box p {
    max-width: 650px;

    margin: 0;

    color: #c3d4e4;

    font-size: 14px;
}


/* =========================================
   CTA FINAL
   ========================================= */

.mesa-final-cta {
    padding: 75px 0;
}

.mesa-final-cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.mesa-final-cta h2 {
    margin: 0 0 7px;

    color: var(--mesa-navy-2);

    font-size: 34px;
    line-height: 1.15;
}

.mesa-final-cta p {
    margin: 0;

    color: var(--mesa-muted);
}


/* =========================================
   RESPONSIVE PARTIE 3
   ========================================= */

@media (max-width: 960px) {

    .mesa-why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .mesa-why-grid {
        grid-template-columns: 1fr;
    }

    .mesa-bureautique-box,
    .mesa-final-cta-box {
        align-items: stretch;
        flex-direction: column;
    }

    .mesa-bureautique-box {
        padding: 27px;
    }

    .mesa-bureautique-box .mesa-btn {
        width: 100%;
    }

    .mesa-final-cta h2 {
        font-size: 29px;
    }
}


/* =========================================
   TUILES MESA — VERSION 2
   ========================================= */

.mesa-need-card,
.mesa-service-card {
    position: relative;
    overflow: hidden;

    border: 1px solid #d9e5f0;
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(37,99,235,.08),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fbfdff 100%
        );

    box-shadow:
        0 10px 30px rgba(10,40,70,.055);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}


/* Ligne bleue supérieure */

.mesa-need-card::before,
.mesa-service-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 24px;

    width: 42px;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--mesa-blue),
            #69a0ff
        );

    border-radius: 0 0 4px 4px;

    transition: width .22s ease;
}


/* Hover */

.mesa-need-card:hover,
.mesa-service-card:hover {
    transform: translateY(-6px);

    border-color: #b9d0e7;

    box-shadow:
        0 20px 45px rgba(15,42,67,.11);
}

.mesa-need-card:hover::before,
.mesa-service-card:hover::before {
    width: 82px;
}


/* Numéros */

.mesa-card-number,
.mesa-service-card > span {
    display: inline-flex;

    width: 34px;
    height: 34px;

    align-items: center;
    justify-content: center;

    color: var(--mesa-blue);

    background: #edf4ff;

    border: 1px solid #d7e6ff;
    border-radius: 10px;

    font-size: 10px;
    font-weight: 850;
}


/* Tuiles besoins */

.mesa-need-card {
    min-height: 270px;
    padding: 27px;
}

.mesa-need-card h3 {
    margin: 35px 0 11px;

    color: var(--mesa-navy-2);

    font-size: 19px;
    line-height: 1.25;
}

.mesa-need-card p {
    margin-bottom: 25px;

    color: #687d90;

    font-size: 13px;
    line-height: 1.6;
}

.mesa-need-card strong {
    position: absolute;

    left: 27px;
    right: 27px;
    bottom: 23px;

    color: var(--mesa-blue);

    font-size: 12px;
    font-weight: 750;
}

.mesa-need-card strong::after {
    content: "→";

    position: absolute;
    right: 0;

    font-size: 17px;

    transition: transform .2s ease;
}

.mesa-need-card:hover strong::after {
    transform: translateX(4px);
}


/* Tuiles expertises */

.mesa-service-card {
    min-height: 245px;
    padding: 27px;
}

.mesa-service-card h3 {
    margin: 35px 0 11px;

    color: var(--mesa-navy-2);

    font-size: 19px;
    line-height: 1.25;
}

.mesa-service-card p {
    color: #687d90;

    font-size: 13px;
    line-height: 1.65;
}


/* Petit halo décoratif */

.mesa-need-card::after,
.mesa-service-card::after {
    content: "";

    position: absolute;

    width: 105px;
    height: 105px;

    right: -55px;
    bottom: -55px;

    border-radius: 50%;

    background:
        rgba(37,99,235,.045);

    pointer-events: none;
}


/* Mobile */

@media (max-width: 640px) {

    .mesa-need-card,
    .mesa-service-card {
        min-height: 0;
        padding: 23px;
    }

    .mesa-need-card {
        padding-bottom: 65px;
    }

    .mesa-need-card strong {
        left: 23px;
        right: 23px;
        bottom: 20px;
    }
}


/* =========================================
   ICONES EXPERTISES
   ========================================= */

.mesa-service-icon {
    display: inline-flex;

    width: 52px;
    height: 52px;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #eef5ff,
            #e6f0ff
        );

    border: 1px solid #d4e4fb;
    border-radius: 14px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.8);
}

.mesa-service-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: var(--mesa-blue);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mesa-service-card h3 {
    margin-top: 30px;
}

.mesa-service-card:hover .mesa-service-icon {
    background:
        linear-gradient(
            145deg,
            #e5efff,
            #dceaff
        );

    border-color: #bad2f4;
}

.mesa-service-card:hover .mesa-service-icon svg {
    transform: scale(1.06);
}

.mesa-service-icon svg {
    transition: transform .2s ease;
}


/* Suppression de l'ancien style des numéros */

.mesa-service-card > span {
    display: none;
}


@media (max-width: 640px) {

    .mesa-service-icon {
        width: 48px;
        height: 48px;
    }

    .mesa-service-icon svg {
        width: 25px;
        height: 25px;
    }

    .mesa-service-card h3 {
        margin-top: 24px;
    }
}


/* =========================================
   EXPERTISES — FINITION PREMIUM
   ========================================= */

.mesa-service-card {
    min-height: 225px;
    padding: 30px;

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 105% 110%,
            rgba(37,99,235,.09),
            transparent 42%
        ),
        #ffffff;
}

.mesa-service-icon {
    width: 58px;
    height: 58px;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            #edf4ff,
            #f7faff
        );

    box-shadow:
        0 7px 18px rgba(37,99,235,.08);
}

.mesa-service-icon svg {
    width: 30px;
    height: 30px;
    stroke-width: 1.65;
}

.mesa-service-card h3 {
    margin: 25px 0 9px;

    font-size: 18px;
    line-height: 1.25;
}

.mesa-service-card p {
    margin: 0;

    font-size: 13px;
    line-height: 1.6;
}

.mesa-service-card::before {
    left: 30px;
    width: 0;
}

.mesa-service-card:hover::before {
    width: 55px;
}

.mesa-service-card:hover .mesa-service-icon {
    transform: translateY(-2px);

    border-color: #a9c9f2;

    box-shadow:
        0 12px 24px rgba(37,99,235,.13);
}

.mesa-service-icon {
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}


@media (max-width: 640px) {

    .mesa-service-card {
        padding: 24px;
    }

    .mesa-service-icon {
        width: 54px;
        height: 54px;
    }
}


/* =========================================
   ICONES TUILES BESOINS
   ========================================= */

.mesa-need-icon {
    display: inline-flex;

    width: 52px;
    height: 52px;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #eef5ff,
            #f7faff
        );

    border: 1px solid #d4e4fb;
    border-radius: 14px;

    box-shadow:
        0 7px 18px rgba(37,99,235,.08);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.mesa-need-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: var(--mesa-blue);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    transition: transform .2s ease;
}

.mesa-need-card h3 {
    margin-top: 30px;
}

.mesa-need-card:hover .mesa-need-icon {
    transform: translateY(-2px);

    border-color: #a9c9f2;

    box-shadow:
        0 12px 24px rgba(37,99,235,.13);
}

.mesa-need-card:hover .mesa-need-icon svg {
    transform: scale(1.06);
}

/* Ancien style chiffres désormais inutile */

.mesa-card-number {
    display: none;
}


@media (max-width: 640px) {

    .mesa-need-icon {
        width: 48px;
        height: 48px;
    }

    .mesa-need-icon svg {
        width: 25px;
        height: 25px;
    }

    .mesa-need-card h3 {
        margin-top: 24px;
    }
}


/* =========================================
   POURQUOI MESA — ICONES
   ========================================= */

.mesa-why-grid article {
    min-height: 175px;
    padding: 24px;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.mesa-why-grid article:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.065);
    border-color: rgba(111,160,255,.30);
}

.mesa-why-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.mesa-why-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: #78a7ff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mesa-why-grid strong {
    display: block;
    font-size: 15px;
}

.mesa-why-grid p {
    margin-top: 8px;
    line-height: 1.6;
}

@media (max-width: 640px) {

    .mesa-why-grid article {
        min-height: 0;
    }
}


/* =========================================
   NOTRE APPROCHE — VERSION ICONES
   ========================================= */

.mesa-process-steps {
    display: grid;
    gap: 14px;
}

.mesa-process-steps article {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;

    align-items: center;

    padding: 22px 24px;

    background:
        linear-gradient(
            145deg,
            #f8fbff,
            #f2f7fc
        );

    border: 1px solid #dce7f1;
    border-radius: 16px;

    box-shadow:
        0 8px 22px rgba(15,42,67,.045);

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.mesa-process-steps article:hover {
    transform: translateX(4px);

    border-color: #bfd3e7;

    box-shadow:
        0 13px 28px rgba(15,42,67,.075);
}

.mesa-process-icon {
    display: flex;

    width: 52px;
    height: 52px;

    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #d7e5f2;
    border-radius: 14px;

    box-shadow:
        0 6px 16px rgba(37,99,235,.07);
}

.mesa-process-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: var(--mesa-blue);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mesa-process-steps h3 {
    margin: 0 0 5px;

    font-size: 16px;
}

.mesa-process-steps p {
    margin: 0;

    font-size: 13px;
    line-height: 1.55;
}


/* Ancienne numérotation */

.mesa-process-steps article > span {
    display: none;
}


@media (max-width: 640px) {

    .mesa-process-steps article {
        grid-template-columns: 50px 1fr;

        padding: 18px;
    }

    .mesa-process-icon {
        width: 46px;
        height: 46px;
    }

    .mesa-process-icon svg {
        width: 24px;
        height: 24px;
    }
}


/* =========================================
   LOGO MESA BUREAUTIQUE
   ========================================= */

.mesa-bureautique-logo {
    display: block;

    width: 245px;
    max-width: 100%;
    height: auto;

    margin: 0 0 22px;

    padding: 10px 14px;

    background: #ffffff;

    border: 1px solid rgba(255,255,255,.75);
    border-radius: 12px;

    box-shadow:
        0 8px 24px rgba(0,0,0,.12);
}

@media (max-width: 640px) {

    .mesa-bureautique-logo {
        width: 210px;

        margin-bottom: 18px;

        padding: 9px 12px;
    }
}


/* =========================================
   MESA BUREAUTIQUE — VERSION 2
   ========================================= */

.mesa-bureautique {
    padding: 72px 0;
    background:
        linear-gradient(
            135deg,
            #f4f8fc 0%,
            #edf4fb 100%
        );
}

.mesa-bureautique-box {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 55px;

    padding: 48px 55px;

    color: var(--mesa-text);

    background: #ffffff;

    border: 1px solid #dce7f1;
    border-radius: 22px;

    box-shadow:
        0 18px 45px rgba(15,42,67,.07);
}

.mesa-bureautique-box::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -120px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(37,99,235,.07);
}

.mesa-bureautique-logo {
    display: block;

    width: 310px;
    max-width: 100%;

    margin: 0 0 26px;
    padding: 0;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}

.mesa-bureautique-box h2 {
    margin: 0 0 10px;

    color: var(--mesa-navy-2);

    font-size: 31px;
}

.mesa-bureautique-box p {
    max-width: 670px;

    margin: 0;

    color: var(--mesa-muted);

    font-size: 14px;
}

.mesa-bureautique-box .mesa-btn {
    position: relative;
    z-index: 2;

    color: #ffffff;
    background: var(--mesa-blue);

    box-shadow:
        0 9px 22px rgba(37,99,235,.20);
}

@media (max-width: 640px) {

    .mesa-bureautique {
        padding: 48px 0;
    }

    .mesa-bureautique-box {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 27px;

        padding: 28px 24px;
    }

    .mesa-bureautique-logo {
        width: 260px;

        margin-bottom: 22px;
    }

    .mesa-bureautique-box h2 {
        font-size: 27px;
    }
}


/* =========================================
   MESA BUREAUTIQUE — CORRECTION CONTRASTE
   ========================================= */

.mesa-bureautique {
    padding: 72px 0;

    background:
        linear-gradient(
            135deg,
            #f4f8fc,
            #edf4fb
        );
}

.mesa-bureautique-box {
    color: #ffffff;

    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(45,110,220,.22),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #071d31 0%,
            #103d69 100%
        );

    border: 1px solid rgba(255,255,255,.09);

    box-shadow:
        0 20px 45px rgba(7,29,49,.16);
}

.mesa-bureautique-logo {
    width: 310px;

    margin-bottom: 27px;

    background: transparent;
    border: 0;
    box-shadow: none;
}

.mesa-bureautique-box h2 {
    color: #ffffff;
}

.mesa-bureautique-box p {
    color: #c3d5e6;
}

.mesa-bureautique-box .mesa-btn {
    color: var(--mesa-navy-2);
    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(0,0,0,.15);
}

.mesa-bureautique-box .mesa-btn:hover {
    background: #f2f6fa;
}


@media (max-width: 640px) {

    .mesa-bureautique-logo {
        width: 250px;
    }
}


/* =========================================
   POURQUOI MESA — VERSION AEREE
   ========================================= */

.mesa-why {
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(37,99,235,.16),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #061827,
            #0a263e
        );
}

.mesa-why .mesa-section-heading {
    margin-bottom: 60px;
}

.mesa-why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 0;
}

.mesa-why-grid article {
    position: relative;

    min-height: 0;

    padding: 4px 38px 8px;

    background: transparent;

    border: 0;
    border-radius: 0;

    box-shadow: none;
}

.mesa-why-grid article:first-child {
    padding-left: 0;
}

.mesa-why-grid article:last-child {
    padding-right: 0;
}

.mesa-why-grid article + article {
    border-left:
        1px solid rgba(255,255,255,.12);
}

.mesa-why-grid article:hover {
    transform: none;
    background: transparent;
    border-color: rgba(255,255,255,.12);
}

.mesa-why-icon {
    width: 58px;
    height: 58px;

    margin: 0 0 26px;

    align-items: center;
    justify-content: flex-start;
}

.mesa-why-icon svg {
    width: 42px;
    height: 42px;

    stroke: #70a2ff;
    stroke-width: 1.45;
}

.mesa-why-grid strong {
    display: block;

    margin-bottom: 11px;

    color: #ffffff;

    font-size: 17px;
    line-height: 1.3;
}

.mesa-why-grid p {
    max-width: 235px;

    margin: 0;

    color: #a9bdcf;

    font-size: 13px;
    line-height: 1.7;
}


@media (max-width: 960px) {

    .mesa-why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 38px 0;
    }

    .mesa-why-grid article {
        padding: 0 28px;
    }

    .mesa-why-grid article:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }
}


@media (max-width: 640px) {

    .mesa-why {
        padding: 62px 0;
    }

    .mesa-why .mesa-section-heading {
        margin-bottom: 38px;
    }

    .mesa-why-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .mesa-why-grid article,
    .mesa-why-grid article:first-child,
    .mesa-why-grid article:last-child {
        padding: 25px 0;
        border-left: 0;
    }

    .mesa-why-grid article + article {
        border-top:
            1px solid rgba(255,255,255,.12);
    }

    .mesa-why-grid article:first-child {
        padding-top: 0;
    }

    .mesa-why-icon {
        margin-bottom: 17px;
    }

    .mesa-why-grid p {
        max-width: none;
    }
}


/* =========================================
   HERO — RESEAU INFORMATIQUE
   ========================================= */

.mesa-tech-network {
    position: relative;

    width: 100%;
    min-height: 430px;
}


/* Coeur central */

.mesa-tech-core {
    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 5;

    width: 205px;
    height: 205px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    text-align: center;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 35% 25%,
            rgba(91,146,255,.34),
            transparent 45%
        ),
        linear-gradient(
            145deg,
            #133f6d,
            #09243e
        );

    border: 1px solid rgba(126,170,255,.28);
    border-radius: 50%;

    box-shadow:
        0 0 0 18px rgba(37,99,235,.045),
        0 25px 60px rgba(0,0,0,.28);
}

.mesa-tech-core::after {
    content: "";

    position: absolute;
    inset: 13px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 50%;
}

.mesa-tech-core span {
    color: #7eaaff;

    font-size: 12px;
    font-weight: 850;
    letter-spacing: .16em;
}

.mesa-tech-core strong {
    max-width: 150px;

    margin-top: 8px;

    font-size: 20px;
    line-height: 1.1;
}

.mesa-tech-core small {
    margin-top: 8px;

    color: #aabfd2;

    font-size: 11px;
}


/* Services autour */

.mesa-tech-node {
    position: absolute;

    z-index: 4;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 10px 14px;

    color: #d9e5f0;

    background:
        rgba(11,38,64,.78);

    border:
        1px solid rgba(126,170,255,.17);

    border-radius: 10px;

    backdrop-filter: blur(9px);

    box-shadow:
        0 8px 24px rgba(0,0,0,.13);

    font-size: 12px;
    font-weight: 600;
}

.mesa-node-dot {
    width: 7px;
    height: 7px;

    flex: 0 0 auto;

    background: #4f8cff;

    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(79,140,255,.10);
}

.node-support {
    top: 35px;
    left: 5px;
}

.node-maintenance {
    top: 105px;
    right: 0;
}

.node-network {
    left: 0;
    bottom: 115px;
}

.node-security {
    right: 8px;
    bottom: 55px;
}

.node-advice {
    left: 50%;
    bottom: 5px;

    transform: translateX(-50%);
}


/* Lignes de connexion */

.mesa-tech-line {
    position: absolute;

    z-index: 1;

    height: 1px;

    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            rgba(79,140,255,.15),
            rgba(79,140,255,.65),
            rgba(79,140,255,.15)
        );
}

.line-1 {
    width: 150px;
    left: 118px;
    top: 90px;
    transform: rotate(28deg);
}

.line-2 {
    width: 145px;
    right: 110px;
    top: 145px;
    transform: rotate(153deg);
}

.line-3 {
    width: 150px;
    left: 125px;
    bottom: 150px;
    transform: rotate(-25deg);
}

.line-4 {
    width: 155px;
    right: 110px;
    bottom: 110px;
    transform: rotate(205deg);
}

.line-5 {
    width: 110px;
    left: 50%;
    bottom: 74px;
    transform: rotate(-90deg);
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 640px) {

    .mesa-tech-network {
        min-height: 390px;
    }

    .mesa-tech-core {
        width: 165px;
        height: 165px;
    }

    .mesa-tech-core strong {
        font-size: 17px;
    }

    .mesa-tech-node {
        padding: 8px 10px;

        font-size: 10px;
    }

    .node-support {
        top: 12px;
        left: 0;
    }

    .node-maintenance {
        top: 68px;
        right: 0;
    }

    .node-network {
        left: 0;
        bottom: 82px;
    }

    .node-security {
        right: 0;
        bottom: 30px;
    }

    .node-advice {
        bottom: -10px;
    }

    .mesa-tech-line {
        opacity: .55;
    }
}


/* =========================================
   HERO — CONNEXIONS RESEAU SVG
   ========================================= */

.mesa-tech-links {
    position: absolute;

    inset: 0;

    z-index: 1;

    width: 100%;
    height: 100%;

    overflow: visible;
    pointer-events: none;
}

.mesa-tech-links path {
    fill: none;

    stroke:
        rgba(82,145,255,.34);

    stroke-width: 1.25;

    vector-effect: non-scaling-stroke;
}

.mesa-tech-links circle {
    fill: #4f8cff;

    filter:
        drop-shadow(
            0 0 5px rgba(79,140,255,.7)
        );
}

.mesa-tech-core {
    z-index: 5;
}

.mesa-tech-node {
    z-index: 4;
}


/* Halo discret autour du hub */

.mesa-tech-network::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 0;

    width: 330px;
    height: 330px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37,99,235,.10) 0%,
            rgba(37,99,235,.045) 42%,
            transparent 70%
        );
}

.mesa-tech-network::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    z-index: 0;

    width: 285px;
    height: 285px;

    transform:
        translate(-50%, -50%);

    border:
        1px dashed rgba(110,160,255,.12);

    border-radius: 50%;
}


/* Anciennes lignes CSS inutiles */

.mesa-tech-line {
    display: none;
}


@media (max-width: 640px) {

    .mesa-tech-network::before {
        width: 255px;
        height: 255px;
    }

    .mesa-tech-network::after {
        width: 225px;
        height: 225px;
    }

    .mesa-tech-links {
        opacity: .65;
    }
}


/* =========================================
   HERO — ICONES AUTOUR DU HUB
   ========================================= */

.mesa-node-icon {
    display: inline-flex;

    width: 30px;
    height: 30px;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    background:
        rgba(79,140,255,.10);

    border:
        1px solid rgba(111,160,255,.18);

    border-radius: 9px;
}

.mesa-node-icon svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: #72a3ff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mesa-tech-node {
    gap: 10px;

    padding: 8px 12px 8px 9px;

    background:
        linear-gradient(
            145deg,
            rgba(13,45,75,.88),
            rgba(8,31,52,.82)
        );

    border:
        1px solid rgba(122,167,255,.20);

    box-shadow:
        0 10px 28px rgba(0,0,0,.16);

    font-size: 12px;
}

.mesa-tech-node:hover {
    border-color:
        rgba(122,167,255,.40);

    background:
        linear-gradient(
            145deg,
            rgba(20,61,99,.94),
            rgba(10,38,64,.90)
        );
}


/* =========================================
   HERO — COEUR CENTRAL VERSION 2
   ========================================= */

.mesa-tech-core {
    width: 215px;
    height: 215px;

    background:
        radial-gradient(
            circle at 34% 26%,
            rgba(103,158,255,.38),
            transparent 40%
        ),
        radial-gradient(
            circle at 70% 80%,
            rgba(37,99,235,.16),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #164b80,
            #08233c 72%
        );

    border:
        1px solid rgba(126,170,255,.38);

    box-shadow:
        0 0 0 14px rgba(37,99,235,.045),
        0 0 0 28px rgba(37,99,235,.022),
        0 25px 65px rgba(0,0,0,.30);
}

.mesa-tech-core::before {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    top: 21px;
    right: 43px;

    border-radius: 50%;

    background: #68a0ff;

    box-shadow:
        0 0 0 6px rgba(104,160,255,.08),
        0 0 14px rgba(104,160,255,.65);
}

.mesa-tech-core span {
    position: relative;
    z-index: 2;

    color: #8bb2ff;

    font-size: 11px;
}

.mesa-tech-core strong {
    position: relative;
    z-index: 2;

    max-width: 165px;

    margin-top: 10px;

    font-size: 22px;
    line-height: 1.08;
}

.mesa-tech-core small {
    position: relative;
    z-index: 2;

    max-width: 155px;

    margin-top: 11px;

    color: #b4c7d9;

    font-size: 10px;
    line-height: 1.45;
}


/* Ancien point bleu */

.mesa-node-dot {
    display: none;
}


@media (max-width: 640px) {

    .mesa-node-icon {
        width: 26px;
        height: 26px;

        border-radius: 8px;
    }

    .mesa-node-icon svg {
        width: 15px;
        height: 15px;
    }

    .mesa-tech-core {
        width: 170px;
        height: 170px;
    }

    .mesa-tech-core strong {
        max-width: 125px;
        font-size: 17px;
    }

    .mesa-tech-core small {
        max-width: 120px;
        font-size: 9px;
    }
}


/* =========================================
   HERO HUB — AJUSTEMENT POSITIONS PC
   ========================================= */

@media (min-width: 961px) {

    .mesa-tech-network {
        min-height: 450px;
    }

    .node-support {
        top: 38px;
        left: -8px;
    }

    .node-maintenance {
        top: 108px;
        right: -18px;
    }

    .node-network {
        left: -18px;
        bottom: 105px;
    }

    .node-security {
        right: -10px;
        bottom: 62px;
    }

    .node-advice {
        bottom: -2px;
    }

    .mesa-tech-node {
        white-space: nowrap;
    }
}


/* =========================================
   HERO HUB — ORBITE PLUS LARGE
   ========================================= */

@media (min-width: 961px) {

    .mesa-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(500px, 1fr);

        gap: 48px;
    }

    .mesa-tech-network {
        width: 112%;
        min-height: 480px;

        margin-left: -6%;
    }

    .node-support {
        top: 18px;
        left: -45px;
    }

    .node-maintenance {
        top: 92px;
        right: -58px;
    }

    .node-network {
        left: -58px;
        bottom: 102px;
    }

    .node-security {
        right: -55px;
        bottom: 68px;
    }

    .node-advice {
        bottom: -14px;
    }

    .mesa-tech-network::before {
        width: 380px;
        height: 380px;
    }

    .mesa-tech-network::after {
        width: 330px;
        height: 330px;
    }
}


/* =========================================
   HERO HUB — EQUILIBRAGE FINAL
   ========================================= */

@media (min-width: 961px) {

    .mesa-tech-network {
        width: 106%;
        margin-left: -3%;
    }

    .node-support {
        top: 26px;
        left: -20px;
    }

    .node-maintenance {
        top: 100px;
        right: -30px;
    }

    .node-network {
        left: -30px;
        bottom: 106px;
    }

    .node-security {
        right: -28px;
        bottom: 72px;
    }

    .node-advice {
        bottom: 4px;
    }
}


/* Les lignes passent derrière les blocs.
   Suppression des points terminaux décalés. */

.mesa-tech-links circle {
    display: none;
}

.mesa-tech-links path {
    stroke: rgba(82,145,255,.38);
    stroke-width: 1.2;
}


/* =========================================
   HERO — CONNEXIONS DYNAMIQUES
   ========================================= */

.mesa-tech-links path,
.mesa-tech-links circle {
    display: none !important;
}

.mesa-tech-links .mesa-link-line {
    stroke: rgba(83, 145, 255, .42);

    stroke-width: 1.25;

    vector-effect:
        non-scaling-stroke;
}

.mesa-tech-core::before {
    display: none !important;
}


/* =========================================
   HERO HUB — VERSION MOBILE
   ========================================= */

@media (max-width: 640px) {

    .mesa-tech-network {
        position: relative;

        width: 100%;
        min-height: 0;

        margin: 0;

        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;

        padding-top: 8px;
    }


    /* Cercle principal */

    .mesa-tech-core {
        position: relative;

        left: auto;
        top: auto;

        grid-column: 1 / -1;

        justify-self: center;

        width: 175px;
        height: 175px;

        margin: 0 0 18px;

        transform: none;
    }

    .mesa-tech-core strong {
        max-width: 135px;

        font-size: 18px;
    }

    .mesa-tech-core small {
        max-width: 130px;

        font-size: 9px;
    }


    /* Plus de connexions sur petit écran */

    .mesa-tech-links {
        display: none;
    }

    .mesa-tech-network::before {
        width: 225px;
        height: 225px;

        top: 87px;
    }

    .mesa-tech-network::after {
        width: 205px;
        height: 205px;

        top: 87px;
    }


    /* Services */

    .mesa-tech-node,
    .node-support,
    .node-maintenance,
    .node-network,
    .node-security,
    .node-advice {
        position: relative;

        inset: auto;

        width: 100%;

        transform: none;

        display: flex;

        min-height: 48px;

        padding: 8px 9px;

        white-space: normal;

        font-size: 10px;
        line-height: 1.25;
    }

    .node-advice {
        grid-column: 1 / -1;

        width: calc(50% - 5px);

        justify-self: center;
    }


    /* Icones */

    .mesa-node-icon {
        width: 28px;
        height: 28px;

        flex: 0 0 28px;
    }

    .mesa-node-icon svg {
        width: 15px;
        height: 15px;
    }
}


/* =========================================
   HERO HUB MOBILE — FINITION
   ========================================= */

@media (max-width: 640px) {

    .mesa-tech-network {
        margin-top: 8px;
        gap: 11px;
    }

    .mesa-tech-core {
        width: 195px;
        height: 195px;

        margin-bottom: 22px;
    }

    .mesa-tech-core strong {
        max-width: 145px;

        font-size: 20px;
        line-height: 1.08;
    }

    .mesa-tech-core small {
        max-width: 140px;

        font-size: 9.5px;
    }

    .mesa-tech-network::before {
        width: 250px;
        height: 250px;

        top: 98px;
    }

    .mesa-tech-network::after {
        width: 225px;
        height: 225px;

        top: 98px;
    }

    .mesa-tech-node,
    .node-support,
    .node-maintenance,
    .node-network,
    .node-security,
    .node-advice {
        min-height: 52px;

        padding: 9px 10px;

        font-size: 10.5px;
        line-height: 1.3;
    }

    .mesa-node-icon {
        width: 30px;
        height: 30px;

        flex-basis: 30px;
    }

    .mesa-node-icon svg {
        width: 16px;
        height: 16px;
    }
}


/* =========================================
   POURQUOI MESA MOBILE — CORRECTION BORDURES
   ========================================= */

@media (max-width: 640px) {

    .mesa-why-grid article,
    .mesa-why-grid article + article,
    .mesa-why-grid article:nth-child(odd),
    .mesa-why-grid article:nth-child(even) {

        position: relative;

        border: 0 !important;
        border-radius: 0 !important;

        background: transparent !important;

        box-shadow: none !important;
    }


    /* Séparateur horizontal uniquement */

    .mesa-why-grid article + article::before {
        content: "";

        position: absolute;

        top: 0;
        left: 0;
        right: 0;

        height: 1px;

        background:
            rgba(255,255,255,.13);
    }
}
