﻿/* ===========================
   Design tokens
   =========================== */
:root {
    --brand: #0099FF;
    --brand-dark: #0077CC;
    --bg: #ffffff;
    --card: #F7F9FC;
    --text: #0b1224;
    --muted: #5b6b7f;
    --accent: #28D17C;
    --danger: #FF5A5F;
    --maxw: 1200px;
    --border: rgba(0,0,0,.08);
}

/* ===========================
   Base / layout
   =========================== */
* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
    line-height: 1.5
}

a {
    color: var(--brand);
    text-decoration: none
}

    a:hover {
        text-decoration: underline
    }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 56px 0
}

.banner {
    border-radius: 15px;
    width: 100%;
}

.nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(1.5) blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 999
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #0b1224;
    padding: 0 24px;
}

.logo-img {
    width: 10%;
}

.logo-badge {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg,var(--brand),var(--brand-dark));
    color: white;
    font-weight: 800
}

.menu {
    display: flex;
    gap: 16px;
    align-items: center;
    white-space: nowrap;
}

    .menu a {
        padding: 8px 10px;
        border-radius: 6px;
        color: #0b1224
    }

        .menu a.active, .menu a:hover {
            background: rgba(0,0,0,.04);
            text-decoration: none
        }

.cta {
    background: var(--brand);
    color: white !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700
}

    .cta:hover {
        background: var(--brand-dark);
        color: white
    }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0
}

    .burger span {
        width: 22px;
        height: 2px;
        background: #0b1224
    }

.hero {
    padding: 20px 0;
    background: radial-gradient(80% 60% at 70% -10%,rgba(0,153,255,.08),transparent 60%), radial-gradient(60% 50% at 20% -20%,rgba(40,209,124,.06),transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center
}

.h1 {
    font-size: 42px;
    line-height: 1.1;
    margin: 0 0 12px
}

.sub {
    color: var(--muted);
    font-size: 18px;
    margin: 0 0 24px
}

.btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 10px 0
}

.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid var(--border)
}

    .btn.primary {
        background: var(--brand);
        color: white;
        border-color: transparent
    }

    .btn.ghost {
        background: transparent;
        color: #0b1224
    }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px
}

.ContactField {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: white;
    color: #0b1224 !important;
}

.dxeTextBox_AtemisCloud td.dxic {
    padding: 10px 2px 10px 10px !important;
}

.dxeTextBox_AtemisCloud, .dxeEditArea_AtemisCloud {
    background-color: #FFF !important;
    -webkit-box-shadow: none !important;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.h2 {
    font-size: 28px;
    margin: 0 0 12px
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px
}

.kpi {
    padding: 18px;
    text-align: center;
    border-radius: 12px;
    background: white;
    border: 1px solid var(--border)
}

    .kpi b {
        display: block;
        font-size: 28px
    }

.badge {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    background: white
}

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px
}

.list {
    display: grid;
    gap: 12px
}

    .list .item {
        display: flex;
        gap: 10px;
        align-items: flex-start
    }

    .list .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--accent);
        margin-top: 8px
    }

.hero-visual {
    aspect-ratio: 16/11;
    border-radius: 16px;
    border: 1px dashed var(--border);
    display: grid;
    place-items: center;
    color: var(--muted);
    background: white
}

.tag {
    font-size: 12px;
    border: 1px solid var(--border);
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--muted);
    background: white
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid var(--border)
}

    .table th, .table td {
        border-bottom: 1px solid var(--border);
        padding: 10px 8px;
        text-align: left
    }

.form {
    display: grid;
    gap: 12px
}

.input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    margin: 10px 0;
    border: 1px solid var(--border);
    background: white;
    color: #0b1224
}

input[type=checkbox] {
    transform: translateY(1px)
}

.note {
    font-size: 12px;
    color: var(--muted)
}

.anchor-offset {
    scroll-margin-top: 80px
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #34c759;
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9999;
    font-weight: 600;
}

    .toast.show {
        opacity: 1;
        transform: translateY(0)
    }

.hidden {
    display: none
}

/* Info tooltip “Annexe 3” */
.annexe3 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
}

    .annexe3 .popup {
        display: none;
        position: absolute;
        top: 130%;
        left: 0;
        background: #fff;
        border: 1px solid var(--brand);
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,.15);
        padding: 10px 14px;
        width: 320px;
        z-index: 1000;
        color: #333;
        font-weight: 400;
    }

    .annexe3:hover .popup {
        display: block
    }

/* ===========================
   Responsive
   =========================== */
@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .kpis {
        grid-template-columns: repeat(2,1fr)
    }

    .menu {
        display: none;
        position: absolute;
        right: 24px;
        top: 58px;
        background: #fff;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 12px;
        flex-direction: column;
        min-width: 220px
    }

        .menu.open {
            display: flex
        }

    .burger {
        display: flex
    }
}

/* ===========================
   BLOG: DevExpress CardView → responsive cards
   Works for classic (.dxcv*) and bootstrap (.dxbs-*) themes
   =========================== */

/* 1) Make the CardView body a flex container and flatten TRs */
.blog-cards-wrapper .dxcvMainTable > tbody,
.blog-cards-wrapper .dxbs-cardview > tbody {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px;
}

    .blog-cards-wrapper .dxcvMainTable > tbody > tr,
    .blog-cards-wrapper .dxbs-cardview > tbody > tr {
        display: contents !important;
    }

/* 2) Cards behave as flex items; remove fixed widths/heights */
.blog-cards-wrapper .dxcvCard,
.blog-cards-wrapper td.dxcvCard,
.blog-cards-wrapper .dxbs-cardview-card {
    display: block !important;
    box-sizing: border-box !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    flex: 1 1 calc(33.333% - 18px) !important; /* desktop: 3 per row */
}

/* 3) Breakpoints: 2 per row (tablet), 1 per row (mobile) */
@media (max-width:1024px) {
    .blog-cards-wrapper .dxcvCard,
    .blog-cards-wrapper td.dxcvCard,
    .blog-cards-wrapper .dxbs-cardview-card {
        flex: 1 1 calc(50% - 18px) !important;
    }
}

@media (max-width:640px) {
    .blog-cards-wrapper .dxcvCard,
    .blog-cards-wrapper td.dxcvCard,
    .blog-cards-wrapper .dxbs-cardview-card {
        flex: 1 1 100% !important;
    }
}

/* 4) Inner visual of your blog cards */
.blog-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .blog-card h3 {
        margin: 0 0 8px;
        font-size: 18px;
        line-height: 1.3
    }

    .blog-card p {
        flex-grow: 1;
        color: #475569;
        margin: 0 0 12px;
        overflow: visible
    }

    .blog-card .meta {
        font-size: 13px;
        color: #64748b
    }

    .blog-card .actions {
        margin-top: 10px
    }

    .blog-card img {
        max-width: 100% !important;
        height: auto !important;
        display: block
    }

.btn-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600
}

    .btn-link:hover {
        text-decoration: underline
    }

.dxcvTable_AtemisCloud,
.dxcvCard_AtemisCloud, .dxcvBreakpointsCard_AtemisCloud, .dxcvFlowCard_AtemisCloud, .dxcvEmptyCard_AtemisCloud 
 { border:none !important; }

.dxcvBreakpointsCard_AtemisCloud {
    width: auto;
    display: initial !important;
}

.dxbplc {
    vertical-align: top !important;
    margin: 10px;
    width: 30% !important;
   }