/* =========================================================
   DPEITECH — PAGE D'ACCUEIL
   ========================================================= */

:root {
    --blue: #0a6dff;
    --blue-dark: #0754c9;
    --blue-light: #eaf3ff;

    --ink: #162033;
    --text: #334155;
    --muted: #6b778d;

    --line: #e5eaf1;
    --surface: #f6f8fc;
    --white: #ffffff;

    --shadow-sm: 0 8px 24px rgba(22, 32, 51, 0.06);
    --shadow-md: 0 18px 45px rgba(22, 32, 51, 0.09);
    --shadow-lg: 0 30px 70px rgba(22, 32, 51, 0.12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #f7f9fc;
    color: var(--ink);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 42px;

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(229, 234, 241, 0.9);

    backdrop-filter: blur(16px);
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: linear-gradient(
        145deg,
        #1478ff,
        #0754c9
    );

    color: #fff;

    font-size: 15px;
    font-weight: 800;

    box-shadow: 0 8px 18px rgba(10, 109, 255, 0.22);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    color: var(--ink);

    font-size: 16px;
    line-height: 1;

    letter-spacing: -0.4px;
}

.logo-text span {
    margin-top: 4px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.6px;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    position: relative;

    padding: 28px 0;

    color: #526078;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
}

.main-nav a.active::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    background: var(--blue);

    content: "";
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-header-secondary,
.btn-header-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 17px;

    border-radius: 9px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn-header-secondary {
    border: 1px solid #dce3ed;

    background: #fff;

    color: #334155;
}

.btn-header-secondary:hover {
    border-color: #b8c8df;

    transform: translateY(-1px);
}

.btn-header-primary {
    background: var(--blue);

    color: #fff;

    box-shadow: 0 8px 18px rgba(10, 109, 255, 0.18);
}

.btn-header-primary:hover {
    background: var(--blue-dark);

    transform: translateY(-1px);

    box-shadow: 0 12px 24px rgba(10, 109, 255, 0.24);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    max-width: 1440px;
    min-height: 620px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;

    padding: 80px 42px 75px;
}

.hero::before {
    position: absolute;

    width: 460px;
    height: 460px;

    top: 20px;
    right: -180px;

    border-radius: 50%;

    background: rgba(10, 109, 255, 0.06);

    filter: blur(2px);

    content: "";

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;

    max-width: 690px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 13px;

    border: 1px solid #d6e6ff;
    border-radius: 999px;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.hero h1 {
    max-width: 680px;

    margin-top: 23px;
    margin-bottom: 23px;

    color: var(--ink);

    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;

    letter-spacing: -2.8px;
}

.hero h1 span {
    display: block;

    color: var(--blue);
}

.hero-content > p {
    max-width: 610px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 15px;

    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;

    padding: 0 20px;

    border-radius: 10px;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.btn-primary {
    background: var(--blue);

    color: #fff;

    box-shadow: 0 12px 25px rgba(10, 109, 255, 0.20);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow: 0 17px 32px rgba(10, 109, 255, 0.26);
}

.btn-secondary {
    border: 1px solid #dce3ed;

    background: #fff;

    color: #334155;
}

.btn-secondary:hover {
    border-color: #9dbce9;

    transform: translateY(-2px);
}


/* HERO TRUST */

.hero-trust {
    display: flex;
    align-items: center;

    gap: 32px;

    margin-top: 42px;
}

.hero-trust > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-trust strong {
    color: var(--ink);

    font-size: 14px;
}

.hero-trust span {
    color: #8a96a9;

    font-size: 12px;
}


/* HERO VISUAL */

.hero-visual {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
}

.hero-card {
    width: min(100%, 510px);

    overflow: hidden;

    border: 1px solid #e0e6ef;
    border-radius: 24px;

    background: #fff;

    box-shadow: var(--shadow-lg);

    transform: rotate(1deg);

    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px 20px;

    border-bottom: 1px solid #edf1f5;
}

.hero-card-header > span:first-child {
    color: #64748b;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.hero-status {
    padding: 5px 9px;

    border-radius: 999px;

    background: #e9f8ef;

    color: #219653;

    font-size: 9px;
    font-weight: 700;
}

.hero-product {
    height: 340px;

    overflow: hidden;

    background: #eef3f9;
}

.hero-product img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.hero-card:hover .hero-product img {
    transform: scale(1.03);
}

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 17px 20px;
}

.hero-card-footer div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-card-footer small {
    color: #8b97aa;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;
}

.hero-card-footer strong {
    color: var(--ink);

    font-size: 13px;
}

.hero-card-footer > span {
    color: var(--blue);

    font-size: 20px;
}


/* =========================================================
   SECTION COMMON
   ========================================================= */

section {
    scroll-margin-top: 95px;
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 42px;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--blue);

    font-size: 18px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.section-heading h2 {
    margin-bottom: 12px;

    color: var(--ink);

    font-size: clamp(27px, 3vw, 36px);

    line-height: 1.15;

    letter-spacing: -1px;
}

.section-heading p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   SOLUTIONS
   ========================================================= */

.solutions {
    padding: 85px 42px;

    background: #fff;
}

.solutions-grid {
    max-width: 1350px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.solution-card {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: #fff;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-5px);

    border-color: #c9dcf8;

    box-shadow: var(--shadow-md);
}

.solution-image {
    height: 205px;

    overflow: hidden;

    background: #eef3f9;
}

.solution-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.solution-card:hover .solution-image img {
    transform: scale(1.04);
}

.solution-content {
    padding: 20px;
}

.solution-category {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.solution-content h3 {
    margin-top: 8px;
    margin-bottom: 8px;

    color: var(--ink);

    font-size: 17px;

    letter-spacing: -0.3px;
}

.solution-content p {
    min-height: 50px;

    margin-bottom: 17px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.55;
}

.solution-content a {
    color: var(--blue);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;
}

.solution-content a:hover {
    text-decoration: underline;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process {
    padding: 90px 42px;

    background: var(--surface);
}

.process-grid {
    max-width: 1200px;

    margin: 60px auto 0;

    display: flex;
    align-items: flex-start;

    gap: 18px;
}

.process-step {
    flex: 1;

    text-align: center;
}

.process-number {
    width: 56px;
    height: 56px;

    margin: 0 auto 16px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background: var(--blue);

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    box-shadow: 0 10px 20px rgba(10, 109, 255, 0.18);
}

.process-step h3 {
    margin-bottom: 12px;

    color: var(--ink);

    font-size: 15px;
}

.process-step p {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.55;
}

.process-line {
    flex: 0 0 65px;

    height: 1px;

    margin-top: 24px;

    background: #cfdcf0;
}


/* =========================================================
   ADVANTAGES
   ========================================================= */

.advantages {
    padding: 90px 42px;

    background: #fff;
}

.advantages-grid {
    max-width: 1200px;

    margin: 50px auto 0;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.advantage {
    padding: 26px 20px;

    border: 1px solid var(--line);
    border-radius: 17px;

    background: #fff;

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.advantage:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-sm);
}

.advantage-icon {
    width: 40px;
    height: 40px;

    margin: 0 auto 15px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 16px;
    font-weight: 800;
}

.advantage h3 {
    margin-bottom: 8px;

    color: var(--ink);

    font-size: 15px;
}

.advantage p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
    max-width: 1350px;

    margin: 70px auto;

    padding: 42px 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    border-radius: 22px;

    background:
        linear-gradient(
            120deg,
            #062c6a,
            #0754c9 65%,
            #0874e7
        );

    color: #fff;

    box-shadow: 0 20px 45px rgba(7, 84, 201, 0.20);
}

.final-cta .section-label {
    color: #b9d8ff;
}

.final-cta h2 {
    max-width: 650px;

    margin-bottom: 12px;

    font-size: 26px;

    letter-spacing: -0.7px;
}

.final-cta p {
    max-width: 620px;

    color: #d3e6ff;

    font-size: 15px;

    line-height: 1.6;
}

.final-cta-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.final-cta .btn-primary {
    background: #fff;

    color: var(--blue);

    box-shadow: none;
}

.final-cta .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.final-cta .btn-secondary {
    border-color: rgba(255, 255, 255, 0.35);

    background: transparent;

    color: #fff;
}

.final-cta .btn-secondary:hover {
    border-color: #fff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    margin-top: 0;

    background: #111827;

    color: #fff;
}

.footer-container {
    max-width: 1350px;

    margin: 0 auto;

    padding: 65px 42px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 0.8fr;

    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    color: #fff;

    font-size: 20px;

    letter-spacing: -0.5px;
}

.footer-brand span {
    margin-top: 5px;

    color: #5da0ff;

    font-size: 15px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.footer-brand p {
    max-width: 380px;

    margin-top: 18px;

    color: #9ca8b9;

    font-size: 15px;

    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    margin-bottom: 17px;

    font-size: 15px;
}

.footer-column a,
.footer-column span {
    margin-bottom: 10px;

    color: #9ca8b9;

    font-size: 15px;

    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);

    padding: 20px 42px;

    text-align: center;
}

.footer-bottom p {
    color: #748096;

    font-size: 15px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1050px) {

    .navbar {
        padding: 0 24px;
    }

    .main-nav {
        gap: 20px;
    }

    .hero {
        grid-template-columns: 1fr;

        gap: 50px;

        padding-top: 60px;
    }

    .hero-content {
        max-width: 800px;
        margin: 0 auto;

        text-align: center;
    }

    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 650px;

        margin: 0 auto;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .final-cta {
        margin-left: 24px;
        margin-right: 24px;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .navbar {
        height: auto;

        padding: 14px 18px;

        flex-wrap: wrap;

        gap: 14px;
    }

    .main-nav {
        order: 3;

        width: 100%;

        justify-content: center;

        gap: 18px;

        overflow-x: auto;
    }

    .main-nav a {
        padding: 8px 0;

        white-space: nowrap;

        font-size: 11px;
    }

    .main-nav a.active::after {
        bottom: 0;
    }

    .header-actions {
        margin-left: auto;
    }

    .btn-header-secondary {
        display: none;
    }

    .btn-header-primary {
        min-height: 38px;

        padding: 0 12px;

        font-size: 10px;
    }

    .hero {
        min-height: auto;

        padding: 55px 20px 60px;

        gap: 40px;
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -1.8px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .hero-trust {
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero-product {
        height: 270px;
    }

    .solutions,
    .process,
    .advantages {
        padding-left: 20px;
        padding-right: 20px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        flex-direction: column;

        align-items: center;

        gap: 25px;

        margin-top: 40px;
    }

    .process-step {
        max-width: 280px;
    }

    .process-line {
        width: 1px;
        height: 35px;

        flex: none;

        margin: 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .final-cta {
        margin: 35px 20px;

        padding: 32px 24px;

        flex-direction: column;

        align-items: flex-start;
    }

    .final-cta-actions {
        width: 100%;

        flex-direction: column;
    }

    .final-cta-actions a {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;

        padding: 50px 24px;

        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .logo-text span {
        font-size: 7px;
    }

    .logo-text strong {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-trust {
        justify-content: space-between;
    }

    .hero-trust > div {
        min-width: 85px;
    }

    .hero-card {
        transform: none;
    }

    .hero-card:hover {
        transform: translateY(-3px);
    }

    .hero-product {
        height: 230px;
    }

    .section-heading h2 {
        font-size: 27px;
    }
}
/* =====================================================
   SÉLECTEUR DE LANGUE
===================================================== */

.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}
.language-button {
    font-family:
        "Segoe UI Emoji",
        "Apple Color Emoji",
        "Noto Color Emoji",
        sans-serif;
}
.language-button {
    height: 40px;
    padding: 0 14px;

    border: 1px solid #d8e0eb;
    border-radius: 8px;

    background: #ffffff;
    color: #162033;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.language-button:hover {
    background: #f8fafc;
    border-color: #b8c4d6;
}
.language-menu button {
    font-family:
        "Segoe UI Emoji",
        "Apple Color Emoji",
        "Noto Color Emoji",
        sans-serif;
}
.language-menu {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;

    width: 170px;

    padding: 6px;

    background: #ffffff;

    border: 1px solid #d8e0eb;
    border-radius: 10px;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.12);

    z-index: 10000;
}

.language-menu[hidden] {
    display: none;
}

.language-menu button {
    display: flex;

    width: 100%;

    padding: 10px 12px;

    border: none;
    border-radius: 7px;

    background: transparent;
    color: #162033;

    font-family: inherit;
    font-size: 13px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;
}

.language-menu button:hover {
    background: #f1f5f9;
}
.language-button {
    display: flex;
    align-items: center;
    gap: 7px;
}

.language-flag {
    width: 20px;
    height: 15px;

    object-fit: cover;

    flex-shrink: 0;

    border-radius: 2px;
}

.language-arrow {
    font-size: 10px;
    margin-left: 2px;
}
#languageButton {
    height: 32px;
    padding: 0 9px;
    font-size: 11px;
    border-radius: 7px;
    line-height: 1;
}