
/* ==================================================
   AD INFORMATIQUE - PREMIUM V5.2
   ================================================== */

/* MENU : petit zoom premium, sans déplacement des liens */

.header .navlinks a {
    position: relative;
    transition:
        transform .25s cubic-bezier(.2,.8,.2,1),
        background .25s,
        box-shadow .25s,
        color .25s;
    transform-origin: center;
}

@media (hover: hover) {
    .header .navlinks a:hover {
        transform: translateY(-2px) scale(1.09);
        z-index: 3;
        color: #fff;
        background: linear-gradient(
            145deg,
            #8eb6e34d,
            #36577855
        );
        box-shadow:
            0 7px 16px #0003,
            inset 0 1px 1px #ffffff25;
    }
}

/* ACCUEIL : datacenter fondu, aucun carré */

body[data-ad-home="v51"] .hero {
    position: relative;
    overflow: hidden;
    background: #0a1422;
    isolation: isolate;
}

body[data-ad-home="v51"] .hero .hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 72%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: none;
    border-radius: 0;
    opacity: 1;
    filter: brightness(.97) saturate(.95);
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0,0,0,.2) 12%,
        rgba(0,0,0,.8) 32%,
        #000 49%
    );
}

body[data-ad-home="v51"] .hero::after {
    background:
        linear-gradient(
            90deg,
            #0a1422 0%,
            #0a1422 28%,
            #0a1422ed 36%,
            #0a14228c 49%,
            #0a142218 70%,
            transparent 100%
        ),
        linear-gradient(
            0deg,
            #0a1422 0%,
            transparent 23%,
            transparent 86%,
            #0a14224d 100%
        );
    pointer-events: none;
}

body[data-ad-home="v51"] .hero .wrap {
    position: relative;
    z-index: 2;
}

/* ASSISTANCE : téléphone et ticket vers le technicien */

.v52-support {
    display: block;
    padding: 10px 0;
    width: 100%;
    max-width: 650px;
    margin: auto;
}

.v52-support-options {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.v52-support-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
    min-width: 0;
}

.v52-support-option > strong {
    margin-top: 20px;
    font-size: 17px;
    color: #e7f1ff;
}

.v52-support-option > small {
    color: #a7bdd6;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 6px;
    max-width: 220px;
}

.v52-phone {
    position: relative;
    width: 112px;
    height: 195px;
    border: 2px solid #769cc4;
    border-radius: 23px;
    background: linear-gradient(145deg,#294969,#102035);
    box-shadow: 0 15px 35px #0004;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.v52-phone-camera {
    position: absolute;
    top: 8px;
    width: 37px;
    height: 5px;
    border-radius: 8px;
    background: #90b2d8;
    opacity: .7;
}

.v52-phone-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #82bfff1f;
    color: #c1e0ff;
}

.v52-phone-icon .ico {
    width: 28px;
    height: 28px;
}

.v52-phone > span {
    font-size: 8px;
    font-weight: bold;
    color: #d3e6fb;
}

.v52-call-button {
    width: 32px;
    height: 32px;
    background: #287c5b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: white;
}

.v52-call-button .ico {
    width: 17px;
    height: 17px;
}

.v52-ticket {
    width: 100%;
    max-width: 250px;
    min-height: 157px;
    margin-bottom: 19px;
    padding: 18px;
    text-align: left;
    background: linear-gradient(145deg,#29445f,#172c45);
    border: 1px solid #7197bd;
    border-radius: 15px;
    box-shadow: 0 15px 35px #0003;
}

.v52-ticket-head {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
    color: #e7f2ff;
    margin-bottom: 18px;
}

.v52-ticket-head .ico {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #99c9ff;
}

.v52-ticket-line {
    height: 5px;
    border-radius: 4px;
    background: #6386a9;
    opacity: .5;
    margin-bottom: 10px;
}

.v52-ticket-line.short {
    width: 70%;
}

.v52-ticket-status {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: 15px;
    font-size: 10px;
    color: #a7dfca;
}

.v52-ticket-status i {
    width: 6px;
    height: 6px;
    background: #79d4ac;
    border-radius: 50%;
}

.v52-support-connection {
    height: 45px;
    position: relative;
    margin: 14px 24% 0;
    border-top: 1px solid #5b86b2;
    border-left: 1px solid #5b86b2;
    border-right: 1px solid #5b86b2;
    border-radius: 7px 7px 0 0;
}

.v52-support-connection span {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(#5b86b2,#a8d4ff);
}

.v52-technician {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border-radius: 17px;
    background: linear-gradient(135deg,#29445e,#15263c);
    border: 1px solid #7299c34d;
    box-shadow: 0 12px 30px #0002;
}

.v52-technician-avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #87bbff18;
    color: #b8d9ff;
    flex-shrink: 0;
}

.v52-technician-avatar .ico {
    width: 34px;
    height: 34px;
}

.v52-technician strong {
    display: block;
    font-size: 19px;
    color: #f0f6ff;
}

.v52-technician small {
    display: block;
    margin-top: 6px;
    color: #afc5dd;
    font-size: 13px;
}

/* RANSOMWARE : schéma sur toute la largeur */

body[data-ad-home="v51"] #ransomware .split {
    grid-template-columns: minmax(0,1fr);
    gap: 35px;
}

body[data-ad-home="v51"] #ransomware .split > div:not(.recovery-visual) {
    grid-row: 1;
    max-width: 860px;
}

body[data-ad-home="v51"] #ransomware .recovery-visual {
    grid-row: 2;
    width: 100%;
    min-height: 420px;
    padding: 0;
    border-radius: 20px;
    border: 1px solid #587b9f;
    background: linear-gradient(145deg,#23415e,#0d1d30);
}

#ransomware .recovery-visual .stage-top {
    background: #0c192b;
    border-bottom: 1px solid #42658a;
    padding: 21px 30px;
    color: #bed6f1;
    font-size: 13px;
}

body[data-ad-home="v51"] #ransomware .restore-grid {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 35px;
    grid-template-columns: 1fr .65fr 1fr;
    gap: 20px;
}

body[data-ad-home="v51"] #ransomware .restore-node .iconbox {
    width: 190px;
    height: 165px;
    border-radius: 24px;
    background: linear-gradient(135deg,#3b6088,#1b3554);
    border: 1px solid #a2c6ed88;
    box-shadow: 0 15px 35px #0004;
}

body[data-ad-home="v51"] #ransomware .restore-node .ico {
    width: 85px;
    height: 85px;
}

body[data-ad-home="v51"] #ransomware .restore-node strong {
    font-size: 20px;
}

#ransomware .restore-node small {
    font-size: 14px;
    color: #c1d5eb;
}

#ransomware .progressline {
    height: 4px;
    border-radius: 4px;
    background: #365b84;
}

#ransomware .restore-footer {
    padding: 22px 30px;
    background: #142a40;
    border-top: 1px solid #6f9bc15c;
    font-size: 14px;
    color: #d0e3f7;
}

/* DATACENTERS : deux photographies indépendantes */

.v52-datacenters {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
}

.v52-dc-card {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #1a2e45;
    border: 1px solid #7595bc4a;
}

.v52-dc-card > img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.2;
    object-fit: cover;
    object-position: center;
    display: block;
}

.v52-dc-card figcaption {
    padding: 18px 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.v52-dc-card figcaption > .ico {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    color: #96bff0;
}

.v52-dc-card strong {
    display: block;
    font-size: 18px;
    color: #f2f7ff;
}

.v52-dc-card small {
    display: block;
    margin-top: 5px;
    color: #aec4df;
    font-size: 11px;
}

.v52-dc-card .v52-photo-credit {
    font-size: 10px;
    color: #9fb6cf;
    margin-top: 9px;
}

.v52-photo-credit a {
    color: inherit;
    text-decoration: underline;
}

/* CYBERSECURITE ET PHOTOCOPIEUR : image entière */

#services .service:nth-child(3) .service-visual,
#services .service:nth-child(6) .service-visual {
    background: radial-gradient(
        ellipse at center,
        #203d59,
        #0d1e30 85%
    );
}

#services .service:nth-child(3) .service-visual::before,
#services .service:nth-child(6) .service-visual::before {
    content: none !important;
}

#services .service:nth-child(3) .service-visual img,
#services .service:nth-child(6) .service-visual img {
    position: absolute;
    inset: 7px;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    object-fit: contain !important;
    object-position: center center;
    transform: none !important;
    filter: none;
}

/* LOGOS CLIENTS : centrage et dimensions fixes */

.refs .logos-window {
    padding: 10px 0;
}

.refs .logos-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: max-content;
}

.refs .logos-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.refs .logo-card {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 190px;
    width: 190px;
    height: 114px;
    padding: 12px;
    margin: 0;
    overflow: hidden;
    background: white;
}

.refs .logo-card img {
    display: block;
    flex-shrink: 1;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Suppression du bouton général */

.v51-pause {
    display: none !important;
}

.v52-image-note {
    text-align: center;
    font-size: 10px;
    color: #99aec7;
    padding: 10px 15px;
}

/* TABLETTES ET MOBILES */

@media (max-width: 950px) {

    body[data-ad-home="v51"] .hero .hero-photo {
        width: 100%;
        mask-image: none;
    }

    body[data-ad-home="v51"] .hero::after {
        background:
            linear-gradient(
                90deg,#0a1422f5,#0a1422a8,#0a142233
            ),
            linear-gradient(
                0deg,#0a1422,transparent 35%
            );
    }
}

@media (max-width: 560px) {

    .v52-support-options {
        gap: 10px;
    }

    .v52-support-option > small {
        font-size: 11px;
    }

    .v52-ticket {
        padding: 12px;
    }

    .v52-ticket-head {
        font-size: 11px;
    }

    .v52-technician {
        padding: 15px;
    }

    body[data-ad-home="v51"] #ransomware .recovery-visual {
        min-height: 0;
    }

    body[data-ad-home="v51"] #ransomware .restore-grid {
        padding: 0 12px;
        gap: 7px;
        margin: 24px 0;
        grid-template-columns: 1fr .2fr 1fr;
    }

    body[data-ad-home="v51"] #ransomware .restore-node .iconbox {
        width: 98px;
        height: 95px;
    }

    body[data-ad-home="v51"] #ransomware .restore-node .ico {
        width: 48px;
        height: 48px;
    }

    body[data-ad-home="v51"] #ransomware .restore-node strong {
        font-size: 13px;
    }

    #ransomware .restore-node small {
        font-size: 11px;
    }

    #ransomware .restore-footer,
    #ransomware .recovery-visual .stage-top {
        padding: 15px;
        font-size: 11px;
    }

    .v52-datacenters {
        grid-template-columns: 1fr;
    }

    .v52-dc-card > img {
        aspect-ratio: 1.6;
    }

    .refs .logos-group[aria-hidden="true"] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header .navlinks a {
        transition: none;
    }

    .header .navlinks a:hover {
        transform: none;
    }

    .refs .logos-group[aria-hidden="true"] {
        display: none !important;
    }
}

