
/* =========================================================
   DAWINI — MATÉRIEL DE DIAGNOSTIC
   PAGE SEO + DESIGN ISOLÉ
========================================================= */

.diagnostic-page {

    --diag-blue: #10366d;
    --diag-blue-dark: #092d5c;

    --diag-turquoise: #13aaa9;
    --diag-turquoise-dark: #079594;

    --diag-bg: #f8fbfd;
    --diag-light: #eaf8fa;

    --diag-text: #173b70;
    --diag-text-light: #607794;

    --diag-border: #e1edf3;

    width: 100%;
    overflow: hidden;

    color: var(--diag-text);

    background: #fff;

    font-family: "Inter", sans-serif;

    line-height: 1.6;
}

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

.diagnostic-page a {
    text-decoration: none;
}

.diagnostic-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.diagnostic-container {

    width: min(1380px, calc(100% - 80px));

    margin: 0 auto;
}


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

.diagnostic-page .diagnostic-hero {

    position: relative;

    min-height: 520px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(31,174,190,.17),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #effaff 0%,
            #f9fcfd 53%,
            #e8f6fa 100%
        );
}

.diagnostic-page .diagnostic-hero::after {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    right: -180px;
    top: -160px;

    background: rgba(28,174,185,.06);

    pointer-events: none;
}

.diagnostic-page .hero-grid {

    min-height: 520px;

    display: grid;

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

    align-items: center;

    gap: 50px;

    position: relative;

    z-index: 2;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.diagnostic-page .breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 20px;

    font-size: 12px;

    color: #6e86a3;
}

.diagnostic-page .breadcrumb a {

    color: #6e86a3;

    transition: .2s ease;
}

.diagnostic-page .breadcrumb a:hover {

    color: var(--diag-turquoise);
}

.diagnostic-page .breadcrumb span {

    color: var(--diag-turquoise);
}


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

.diagnostic-page .diagnostic-hero h1 {

    margin: 0;

    max-width: 690px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(40px, 4.2vw, 63px);

    line-height: 1.08;

    letter-spacing: -2px;

    font-weight: 800;

    color: var(--diag-blue);
}

.diagnostic-page .diagnostic-hero h1 span {

    color: var(--diag-turquoise);
}

.diagnostic-page .hero-text {

    max-width: 620px;

    margin: 22px 0 0;

    color: #5d7391;

    font-size: 15px;

    line-height: 1.8;
}


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

.diagnostic-page .hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin-top: 30px;
}

.diagnostic-page .btn-primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 24px;

    border-radius: 28px;

    background: #12aaa9;

    color: white;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(16,171,169,.20);

    transition: .25s ease;
}

.diagnostic-page .btn-primary:hover {

    transform: translateY(-2px);

    background: #079594;
}


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

.diagnostic-page .hero-visual {

    height: 420px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* =========================================================
   DIAGNOSTIC DEVICE VISUAL
========================================================= */

.diagnostic-page .diagnostic-device {

    width: 285px;

    height: 360px;

    border-radius: 35px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #eaf8fa
        );

    border: 1px solid #d5eaf0;

    box-shadow:
        0 25px 70px rgba(19,78,110,.16);

    position: relative;

    transform: rotate(-4deg);
}

.diagnostic-page .device-screen {

    position: absolute;

    left: 38px;
    right: 38px;

    top: 45px;

    height: 145px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #0d456c,
            #0b7881
        );

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}

.diagnostic-page .device-screen::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 90px;

    border-bottom: 2px solid rgba(103,224,218,.9);

    border-radius: 50%;

    transform: rotate(-10deg);

    top: 35px;
}

.diagnostic-page .screen-icon {

    position: relative;

    z-index: 2;

    width: 64px;
    height: 64px;

    border-radius: 50%;

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

    color: #73e3de;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 27px;
}

.diagnostic-page .device-buttons {

    position: absolute;

    bottom: 45px;

    left: 38px;
    right: 38px;

    display: flex;

    justify-content: center;

    gap: 12px;
}

.diagnostic-page .device-buttons span {

    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: white;

    border: 1px solid #dcecf0;

    box-shadow:
        0 7px 15px rgba(20,70,100,.07);
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.diagnostic-page .floating-card {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 15px 18px;

    border-radius: 16px;

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

    border: 1px solid rgba(207,229,237,.9);

    box-shadow:
        0 15px 35px rgba(21,75,110,.13);

    color: var(--diag-blue);

    font-size: 12px;

    font-weight: 700;

    z-index: 3;
}

.diagnostic-page .floating-card i {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e1f7f8;

    color: #079c9e;

    font-size: 17px;
}

.diagnostic-page .card-one {

    left: 10px;

    top: 70px;
}

.diagnostic-page .card-two {

    right: -5px;

    top: 180px;
}

.diagnostic-page .card-three {

    left: 45px;

    bottom: 55px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.diagnostic-page .section {

    padding: 90px 0;
}

.diagnostic-page .section-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 15px;

    color: #0ca3a6;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.diagnostic-page .section-label::before {

    content: "";

    width: 27px;
    height: 2px;

    background: #13aaa9;
}

.diagnostic-page .section-title {

    margin: 0;

    font-family: "Manrope", sans-serif;

    color: var(--diag-blue);

    font-size: clamp(31px, 3vw, 45px);

    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -1px;
}

.diagnostic-page .section-title span {

    color: var(--diag-turquoise);
}

.diagnostic-page .section-text {

    margin-top: 18px;

    color: var(--diag-text-light);

    font-size: 14px;

    line-height: 1.85;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.diagnostic-page .intro-grid {

    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    gap: 75px;

    align-items: center;
}

.diagnostic-page .intro-box {

    padding: 35px;

    border-radius: 25px;

    border: 1px solid #dceff4;

    background:
        linear-gradient(
            135deg,
            #eefafd,
            #f8fcfd
        );
}

.diagnostic-page .intro-box h3 {

    margin: 0 0 18px;

    font-family: "Manrope", sans-serif;

    color: var(--diag-blue);

    font-size: 23px;
}

.diagnostic-page .intro-box p {

    margin: 0;

    color: #5c7594;

    font-size: 14px;

    line-height: 1.85;
}

.diagnostic-page .intro-list {

    display: grid;

    gap: 12px;

    margin-top: 22px;
}

.diagnostic-page .intro-list div {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    color: #31577e;

    font-size: 13px;
}

.diagnostic-page .intro-list i {

    margin-top: 4px;

    color: #0ca6a7;
}


/* =========================================================
   CATEGORIES
========================================================= */

.diagnostic-page .diagnostic-categories {

    background: #f5fafc;
}

.diagnostic-page .center-heading {

    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}

.diagnostic-page .center-heading .section-label {

    justify-content: center;
}

.diagnostic-page .center-heading .section-label::before {

    display: none;
}

.diagnostic-page .center-heading p {

    margin: 15px 0 0;

    color: #617795;

    font-size: 14px;
}

.diagnostic-page .category-grid {

    display: grid;

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

    gap: 22px;
}

.diagnostic-page .category-card {

    padding: 30px;

    background: white;

    border: 1px solid #e1edf2;

    border-radius: 20px;

    transition: .3s ease;
}

.diagnostic-page .category-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(20,74,104,.08);
}

.diagnostic-page .category-icon {

    width: 58px;
    height: 58px;

    margin-bottom: 20px;

    border-radius: 17px;

    background: #e1f7f8;

    color: #0b9fa3;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;
}

.diagnostic-page .category-card h3 {

    margin: 0 0 10px;

    font-family: "Manrope", sans-serif;

    color: var(--diag-blue);

    font-size: 18px;
}

.diagnostic-page .category-card p {

    margin: 0;

    color: #627894;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   SOLUTIONS
========================================================= */

.diagnostic-page .solutions-grid {

    display: grid;

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

    gap: 20px;

    margin-top: 45px;
}

.diagnostic-page .solution-card {

    padding: 28px;

    border: 1px solid #e2edf3;

    border-radius: 20px;

    background: white;
}

.diagnostic-page .solution-card h3 {

    margin: 0 0 10px;

    color: var(--diag-blue);

    font-family: "Manrope", sans-serif;

    font-size: 17px;
}

.diagnostic-page .solution-card p {

    margin: 0;

    color: #637993;

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   PROCESS
========================================================= */

.diagnostic-page .process {

    background: #f5fafc;
}

.diagnostic-page .process-grid {

    display: grid;

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

    gap: 20px;

    margin-top: 45px;
}

.diagnostic-page .process-card {

    position: relative;

    padding: 30px 25px;

    background: white;

    border: 1px solid #e2edf3;

    border-radius: 20px;
}

.diagnostic-page .process-number {

    position: absolute;

    right: 20px;
    top: 17px;

    color: #9bb2c8;

    font-size: 12px;

    font-weight: 800;
}

.diagnostic-page .process-icon {

    width: 53px;
    height: 53px;

    margin-bottom: 22px;

    border-radius: 15px;

    background: #e8f8fa;

    color: #079ea3;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 20px;
}

.diagnostic-page .process-card h3 {

    margin: 0 0 10px;

    color: var(--diag-blue);

    font-family: "Manrope", sans-serif;

    font-size: 16px;
}

.diagnostic-page .process-card p {

    margin: 0;

    color: #637993;

    font-size: 12px;

    line-height: 1.75;
}


/* =========================================================
   SEO TEXT
========================================================= */

.diagnostic-page .seo-section {

    background: white;
}

.diagnostic-page .seo-content {

    max-width: 900px;

    margin: 0 auto;
}

.diagnostic-page .seo-content h2 {

    margin: 0 0 18px;

    color: var(--diag-blue);

    font-family: "Manrope", sans-serif;

    font-size: 32px;
}

.diagnostic-page .seo-content h3 {

    margin: 30px 0 10px;

    color: var(--diag-blue);

    font-family: "Manrope", sans-serif;

    font-size: 21px;
}

.diagnostic-page .seo-content p {

    margin: 0 0 15px;

    color: #607794;

    font-size: 14px;

    line-height: 1.9;
}


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

.diagnostic-page .cta {

    padding: 20px 0 90px;
}

.diagnostic-page .cta-box {

    padding: 48px 55px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    position: relative;

    overflow: hidden;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            #0d9fa1,
            #16b3af
        );
}

.diagnostic-page .cta-content h2 {

    margin: 0 0 9px;

    color: white;

    font-family: "Manrope", sans-serif;

    font-size: 29px;
}

.diagnostic-page .cta-content p {

    margin: 0;

    color: rgba(255,255,255,.78);

    font-size: 13px;
}

.diagnostic-page .cta-button {

    position: relative;

    z-index: 2;

    padding: 14px 23px;

    white-space: nowrap;

    border-radius: 25px;

    background: white;

    color: #087f88;

    font-size: 12px;

    font-weight: 800;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1100px) {

    .diagnostic-container {

        width: calc(100% - 40px);
    }

    .diagnostic-page .process-grid {

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


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

@media (max-width:768px) {

    .diagnostic-container {

        width: calc(100% - 30px);
    }

    .diagnostic-page .hero-grid {

        grid-template-columns: 1fr;

        gap: 10px;

        padding: 55px 0 20px;
    }

    .diagnostic-page .diagnostic-hero {

        min-height: auto;
    }

    .diagnostic-page .diagnostic-hero h1 {

        font-size: 39px;

        letter-spacing: -1.5px;
    }

    .diagnostic-page .hero-text {

        font-size: 14px;
    }

    .diagnostic-page .hero-buttons {

        margin-top: 25px;
    }

    .diagnostic-page .btn-primary {

        width: 100%;
    }

    .diagnostic-page .hero-visual {

        height: 350px;

        transform: scale(.85);

        transform-origin: center;
    }

    .diagnostic-page .intro-grid {

        grid-template-columns: 1fr;

        gap: 35px;
    }

    .diagnostic-page .category-grid {

        grid-template-columns: 1fr;
    }

    .diagnostic-page .solutions-grid {

        grid-template-columns: 1fr;
    }

    .diagnostic-page .process-grid {

        grid-template-columns: 1fr;
    }

    .diagnostic-page .section {

        padding: 65px 0;
    }

    .diagnostic-page .section-title {

        font-size: 30px;
    }

    .diagnostic-page .cta-box {

        padding: 35px 25px;

        flex-direction: column;

        align-items: flex-start;
    }

    .diagnostic-page .cta-button {

        width: 100%;

        text-align: center;
    }
}


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

@media (max-width:400px) {

    .diagnostic-container {

        width: calc(100% - 24px);
    }

    .diagnostic-page .diagnostic-hero h1 {

        font-size: 34px;
    }

    .diagnostic-page .hero-visual {

        transform: scale(.72);

        margin-top: -20px;
    }

    .diagnostic-page .section {

        padding: 55px 0;
    }

    .diagnostic-page .section-title {

        font-size: 27px;
    }
}