@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════
   ASSAY B2B — Design System
   Refonte visuelle premium · corporate · B2B
   Chargé APRÈS style.css → overrides de la palette et composants.
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────── TOKENS ─────────────────────────── */
:root{
    --dark:            #000000;
    --dark-2:          #141414;
    --dark-3:          #222222;

    --primary:         #E85002;
    --primary-hover:   #C84302;
    --primary-2:       #F1630A;
    --primary-soft:    #FBEAE0;
    --primary-light:   #FBEAE0;

    --bg:              #F9F9F9;
    --bg-card:         #FFFFFF;

    --secondary:       #646464;
    --gray:            #646464;
    --gray-light:      #A7A7A7;
    --dark-gray:       #333333;
    --text:            #111111;
    --text-secondary:  #646464;
    --text-muted:      #A7A7A7;

    --border:          #D5D5D5;
    --border-light:    #E7E7E7;

    --success:         #16A34A;
    --success-soft:    #EAF6EE;
    --danger:          #DC2626;
    --danger-soft:     #FCEBEB;
    --warning:         #D97706;
    --warning-soft:    #FBF3DF;
    --info:            #2563EB;
    --info-soft:       #EAF0FC;

    --radius:          8px;
    --radius-md:       10px;
    --radius-lg:       12px;
    --radius-xl:       16px;
    --radius-pill:     999px;

    --font:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-head:       'Manrope', 'Inter', -apple-system, 'Segoe UI', sans-serif;

    --shadow:          0 1px 2px rgb(17 17 17 / 0.04);
    --shadow-lg:       0 8px 24px -14px rgb(17 17 17 / 0.14);
    --shadow-xl:       0 18px 48px -16px rgb(17 17 17 / 0.22);
    --ring:            rgba(232,80,2, 0.18);
}

/* ────────────────────────── BASE / TYPO ─────────────────────── */
body{
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: 15px;
}
h1,h2,h3,h4,h5,h6{
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text);
}
h1{ font-size: clamp(1.7rem, 3vw, 2.25rem); }
h2{ font-size: 1.5rem; }
h3{ font-size: 1.15rem; }
.section-title{
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.25rem !important;
    color: var(--dark) !important;
}
.section-title i{ color: var(--primary) !important; }
.muted{ color: var(--text-secondary); }

::selection{ background: rgba(232,80,2,.22); }

/* ─────────────── MOTIF LIGNES GÉOMÉTRIQUES ASSAY ────────────── */
.assay-lines::after{
    content:"";
    position:absolute; inset:0;
    pointer-events:none;
    background:
        radial-gradient(circle at 82% -10%, rgba(232,80,2,.16), transparent 42%),
        repeating-linear-gradient(45deg,  rgba(255,255,255,.025) 0 1px, transparent 1px 16px),
        repeating-linear-gradient(-45deg, rgba(232,80,2,.06) 0 1px, transparent 1px 26px);
}

/* ─────────────────────────── HEADER ─────────────────────────── */
.atlassian-header{
    position: sticky; top:0; z-index:100;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.atlassian-header::before{
    content:""; display:block; height:3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-2) 45%, transparent 100%);
}
.atlassian-nav{ height: 64px; gap: 20px; }
.atlassian-nav a{ transition: color .18s ease, background-color .18s ease; }
.atlassian-nav .nav-center{ gap: 22px; }
.atlassian-nav .nav-center a{
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.atlassian-nav .nav-center a:hover{ color: #fff; border-bottom-color: var(--primary); }
.atlassian-nav .nav-center a[aria-current="page"],
.atlassian-nav .nav-center a[aria-current="page"] i{ color: #fff; border-bottom-color: var(--primary); }
.atlassian-header .brand a strong{ text-transform: uppercase; }
.atlassian-header .brand a{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.atlassian-header .brand a::before{
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgb(232 80 2 / .14);
    flex-shrink: 0;
}
.atlassian-header .brand a:has(img)::before{ display: none; }
.atlassian-header .brand a strong{
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: .03em;
    font-size: 1.14rem;
}
.atlassian-header .brand a:hover strong{ color: var(--primary-2); }
.atlassian-header .nav-center a{
    color: rgba(255,255,255,.74);
    border-radius: var(--radius-pill);
    padding: 7px 14px;
    font-weight: 500;
}
.atlassian-header .nav-center a:hover,
.atlassian-header .nav-center a.active,
.atlassian-header .nav-center a[aria-current="page"]{
    background: rgba(232,80,2,.14);
    color: var(--primary-2);
}
.atlassian-header .nav-center a.active .fa-cart-shopping{ color: var(--primary-2); }

/* Boutons du header (ghost sur fond sombre) */
.atlassian-header .nav-right .btn{
    background: transparent;
    border: none;
    color: rgba(255,255,255,.85);
    border-radius: var(--radius-pill);
    padding: 7px 14px;
}
.atlassian-header .nav-right .btn:hover{
    color: #fff;
    background: rgba(255,255,255,.08);
}
.atlassian-header .nav-right .btn-primary{
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.atlassian-header .nav-right .btn-primary:hover{
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 6px 18px rgba(232,80,2,.35);
}
.atlassian-header .hamburger{ color: #fff; }

/* Hamburger mobile : toujours au bord (droite en LTR, gauche en RTL) — pas au centre */
@media (max-width: 768px){
    .atlassian-nav .hamburger{
        margin-left: auto;
        margin-right: 0;
        order: 9;
        flex-shrink: 0;
    }
    [dir="rtl"] .atlassian-nav .hamburger{
        margin-left: 0;
        margin-right: auto;
    }
}

/* Pastille utilisateur connecté (nom société / utilisateur) à côté de Tableau de bord */
.user-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.92);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.user-chip i{ color: var(--primary-2); flex-shrink: 0; }
.user-chip:hover, .user-chip:focus{
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.32);
    color: #fff;
    text-decoration: none;
}
.user-chip-name{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip-mobile i{ color: var(--primary-2); margin-inline-end: 8px; }

/* Pastille notifications over dark */
.atlassian-header .notif-badge{ background: var(--primary) !important; }
.atlassian-header .notif-menu{
    margin-top: 8px;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-xl) !important;
}

/* ─────────────────────────── MARQUEE ────────────────────────── */
.site-marquee{
    background: var(--dark-2);
    color: rgba(255,255,255,.85);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

/* ─────────────────────── MENU MOBILE SOMBRE ─────────────────── */
@media (max-width: 884px){
    .atlassian-header .nav-center{
        background: rgba(17,17,17,.985);
        backdrop-filter: blur(8px);
        top: 66px;
        padding: 18px 20px;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .atlassian-header .nav-center a{
        color: rgba(255,255,255,.85);
        font-size: 1rem;
        padding: 12px 14px;
        border-radius: var(--radius);
    }
    .atlassian-header .nav-center a.active,
    .atlassian-header .nav-center a[aria-current="page"]{
        background: rgba(232,80,2,.16);
        color: var(--primary-2);
    }
    .atlassian-header .nav-right{ display: none; }
}

/* ─────────────────────────── BOUTONS ────────────────────────── */
.btn{
    border-radius: var(--radius);
    font-weight: 600;
    padding: 9px 18px;
    transition: all .18s ease;
    box-shadow: none;
}
.btn:focus-visible{ box-shadow: 0 0 0 4px var(--ring); }
.btn-primary{
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover{
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 8px 22px -6px rgba(232,80,2,.5);
    transform: translateY(-1px);
}
.btn-primary:active{ transform: translateY(0); box-shadow: none; }

.btn-secondary{
    background: #646464;
    color: #fff;
    border-color: #646464;
}
.btn-secondary:hover{
    background: #4A4A4A;
    border-color: #4A4A4A;
    color: #fff;
}

.btn-success{ background: var(--success); border-color: var(--success); color:#fff; }
.btn-success:hover{ background:#128A3F; color:#fff; }
.btn-warning{ background: var(--warning); border-color: var(--warning); color:#fff; }
.btn-warning:hover{ background:#B45309; color:#fff; }
.btn-danger{ background: var(--danger); border-color: var(--danger); }
.btn-danger:hover{ background:#B91C1C; border-color: #B91C1C; }

.btn-sm{ padding: 5px 12px; font-size: .82rem; border-radius: 8px; }
.icon-btn{ border-radius: 10px; transition: all .18s ease; }

/* ─────────────────────────── INPUTS ─────────────────────────── */
input, select, textarea{
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 11px 13px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 15px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
input:hover, select:hover, textarea:hover{ border-color: #CFCFCF; }
input:focus, select:focus, textarea:focus{
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--ring);
}
label{ color: var(--text-secondary); font-weight: 600; }
.checkbox-line{ font-weight: 500; }

/* ─────────────────────── CARDS / PANELS ─────────────────────── */
.panel, .card{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card-hover:hover, .panel-hover:hover, a.card-listing:hover, a.product-card:hover{
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(232,80,2,.4);
}
.card{ border-radius: var(--radius-lg); }

/* ─────────────────────── TAGS / BADGES ──────────────────────── */
.tag{
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-weight: 600;
    letter-spacing: .01em;
}
.tag-primary{ background: var(--primary-soft); color: #C25500; }
.tag-secondary{ background: var(--border-light); color: var(--text-secondary); }
.tag-success{ background: var(--success-soft); color: #0D7A32; }
.tag-warning{ background: var(--warning-soft); color: #A15C06; }
.tag-danger{ background: var(--danger-soft); color: #B91C1C; }
.tag-info{ background: var(--info-soft); color: #1D4ED8; }

.badge-status{
    border-radius: var(--radius-pill);
    font-weight: 600;
}
.status-active, .status-confirmed, .status-delivered{ background: var(--success-soft); color:#0D7A32; }
.status-pending, .status-processing, .status-shipped, .status-payment_verification{
    background: var(--warning-soft); color:#A15C06;
}
.status-inactive, .status-cancelled, .status-rejected{ background: var(--danger-soft); color:#B91C1C; }
.status-info, .status-accepted{ background: var(--info-soft); color:#1D4ED8; }

/* ────────────────────────── TABLEAUX ────────────────────────── */
.table-wrap{ border-radius: var(--radius-lg); }
th{
    font-family: var(--font-head);
    font-weight: 700;
    color: #fff;
    background: #333333;
    border-color: #646464;
}
th a, th a:hover{ color:#fff; }
tr:hover td{ background: #F4F4F4; }
td{ color: var(--text); }
.table tbody tr:nth-child(even) td{ background: #FAFAFA; }

/* ───────────────────── ALERTS / NOTICES ─────────────────────── */
.alert{ border-radius: var(--radius); font-size: .92rem; }
.alert-success{ background: var(--success-soft); color:#0D7A32; border-color:#BFE3CB; }
.alert-danger{ background: var(--danger-soft); color:#B91C1C; border-color:#F5C6C6; }
.alert-info{ background: var(--info-soft); color:#1D4ED8; border-color:#C3D6FA; }
.alert-warning{ background: var(--warning-soft); color:#A15C06; border-color:#F3D9A9; }
.notice{ border-radius: var(--radius); border-style: solid; }

/* ─────────────────────── TITRES SECTIONS ────────────────────── */
.section{ padding: 40px 0; }

/* ─────────────────────────── HERO ───────────────────────────── */
.hero-section{
    position: relative;
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 88px 0 76px;
    overflow: hidden;
}
.hero-section.assay-lines::after{ border-radius: 0; }
.hero-section > .container{ position: relative; z-index: 1; max-width: 100%; }
.hero-section h1{
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.hero-section h1 em{ color: var(--primary-2); font-style: normal; }
.hero-section p{
    color: rgba(255,255,255,.72);
    font-size: 1.06rem;
    line-height: 1.65;
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero-search{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #fff;
    padding: 8px;
    border-radius: var(--radius-pill);
    box-shadow: 0 24px 60px -12px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-search input{
    flex: 1;
    border: none !important;
    box-shadow: none !important;
    padding: 16px 22px;
    min-height: 56px;
    font-size: 1.05rem;
    background: transparent;
    color: var(--text);
}
.hero-search button{
    border-radius: var(--radius-pill);
    padding: 16px 30px;
    font-weight: 700;
    min-height: 56px;
}
.hero-ctas{
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}
.hero-ctas .btn{ padding: 12px 26px; font-weight: 700; border-radius: var(--radius-pill); }
.hero-ctas .btn-ghost-light{
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}
.hero-ctas .btn-ghost-light:hover{ border-color: var(--primary); color: #fff; background: rgba(232,80,2,.14); }

/* ─────────────────────── HOMEPAGE SECTIONS ──────────────────── */
.secteur-card{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .2s ease;
}
.secteur-grid{ grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
@media (max-width: 640px){
    .secteur-grid{ grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 420px){
    .secteur-grid{ grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.secteur-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(232,80,2,.45); }
.secteur-icon{ background: var(--primary-soft) !important; color: var(--primary-hover) !important; }

.h-scroll-card{
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all .2s ease;
}
.h-scroll-card:hover{ border-color: rgba(232,80,2,.45); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.price{ color: var(--dark); font-weight: 800; }
.tag-primary ~ .tag-primary{ margin-inline-start: 4px; }
.btn-outline{
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    box-shadow: none;
}
.btn-outline:hover{
    border-color: var(--primary);
    color: var(--primary-hover);
    background: var(--primary-soft);
}

/* ─────────────────────── COMPANY / PRODUCT CARDS ────────────── */
.card-listing{ border-radius: var(--radius-lg); }
.card-listing:hover{ box-shadow: var(--shadow-lg); transform: translateY(-2px); }
a.card-listing .card-title{ color: var(--dark); }
a.card-listing:hover .card-title{ color: var(--primary-hover); }
.card-listing .btn{ border-radius: 9px; }
.card-listing-footer{ background: #FAFAF8; border-top-color: var(--border-light); }

/* ─────────────────────── PAGE COMPANIE ──────────────────────── */
.company-line .logo-wrap{ border-radius: var(--radius); }
#main-content .company-line h1{ font-size: 1.7rem; }
.map-wrap iframe{ border: none; }

/* ─────────────────────────── FOOTER ─────────────────────────── */
.atlassian-footer{
    background: #333333;
    color: #E7E7E7;
    border-top: 3px solid var(--primary);
    padding: 56px 0 0;
    margin-top: 56px;
}
.atlassian-footer .footer-col h4{
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-size: .82rem;
}
.atlassian-footer .footer-col p,
.atlassian-footer .footer-col a{
    color: #C4C4C4;
}
.atlassian-footer .footer-col a:hover{ color: var(--primary-2); }
.atlassian-footer .footer-bottom{
    border-top: 1px solid #4A4A4A;
    color: #A7A7A7;
    margin-top: 40px;
    padding: 20px 0;
}

/* ─────────────────────── AUTHENTIFICATION ───────────────────── */
.auth-section.has-bg{
    background-image:
        linear-gradient(180deg, rgba(17,17,17,.88), rgba(23,23,23,.8)),
        var(--auth-bg-img, radial-gradient(circle at 70% 0%, rgba(232,80,2,.25), transparent 55%)) !important;
    background-size: cover !important;
    background-position: center !important;
}
.auth-section .panel, .auth-section form.panel{
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}
.auth-section h1, .auth-section h2{ color: var(--dark); }

/* ─────────────────────────── DASHBOARD ──────────────────────── */
.dashboard-grid{ gap: 26px; margin-top: 28px; }
.dashboard-grid .sidebar{
    background: #000000;
    border: 1px solid #2A2A2A;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 38px rgb(0 0 0 / .30);
    padding: 14px 10px;
    top: 92px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dash-group-label{
    font-family: var(--font-head);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #A7A7A7;
    padding: 16px 12px 6px;
}
.sidebar .dash-group-label:first-child{ padding-top: 2px; }
.dashboard-grid .sidebar a{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    background: #1E1E1E;
    border: 1px solid #333333;
    color: #E85002;
    font-weight: 500;
    transition: all .16s ease;
}
.dashboard-grid .sidebar a i{
    width: 18px;
    text-align: center;
    color: #F1630A;
    font-size: .95rem;
}
.dashboard-grid .sidebar a:hover{ background: var(--primary); border-color: var(--primary); color: #fff; }
.dashboard-grid .sidebar a:hover i{ color: #fff; }
.dashboard-grid .sidebar a.active{
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 20px rgb(232 80 2 / .35);
}
.dashboard-grid .sidebar a.active i{ color: #fff; }
.dashboard-grid .sidebar .badge-count{
    margin-inline-start: auto;
    background: rgb(255 255 255 / .18);
    color: #fff;
    border-radius: var(--radius-pill);
    min-width: 20px;
    text-align: center;
    font-size: .7rem;
    padding: 1px 6px;
}
.dashboard-grid .sidebar a:not(.active) .badge-count{
    background: rgb(232 80 2 / .22);
    color: #F1630A;
}
.dashboard-grid .sidebar a .badge-count.v3-alert-badge{ background: #fee2e2; color: #dc2626; }

/* Titre de page */
.dashboard-grid .section-title{ align-items: flex-end; margin-bottom: 22px; }
.dashboard-grid .section-title h1{ font-size: 1.55rem; margin: 0 0 6px; position: relative; padding-bottom: 12px; }
.dashboard-grid .section-title h1::after{
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 38px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    border-radius: 2px;
}
.dashboard-grid .section-title p{ margin: 0; }
/* Dashboard < 1024px : sidebar en colonne, non sticky => ne recouvre plus le contenu au scroll (mobile) */
@media (max-width: 1024px){
    .dashboard-grid .sidebar{ position: static; }
}

/* KPI — grille: toutes les cartes même largeur ET même hauteur */
.adm-kpis{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
    grid-auto-rows: 1fr;
    gap: 14px;
    margin-bottom: 28px;
}
.adm-kpi{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 18px;
    gap: 14px;
    align-items: center;
    min-width: 0;
    height: 100%;
    container-type: inline-size;
}
.adm-kpi > div:last-child{ min-width: auto; }
.adm-kpi .ic,
.adm-kpi .ic-blue, .adm-kpi .ic-green, .adm-kpi .ic-amber, .adm-kpi .ic-purple,
.adm-kpi .ic-red, .adm-kpi .ic-teal, .adm-kpi .ic-orange, .adm-kpi .ic-slate, .adm-kpi .ic-indigo{
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #646464;
    color: #fff;
    font-size: 1.05rem;
}
.adm-kpi .v{
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 800;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}
/* Valeurs monétaires (CA commandes / CA abonnements) : la taille suit la largeur de la card (cqi),
   donc le montant long reste lisible en entier sans jamais déborder de la carte. */
.adm-kpi .v.is-money{
    color: var(--dark);
    font-size: clamp(.7rem, 7.2cqi, 1.05rem);
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}
.adm-kpi .v.is-money .num-ltr{ white-space: normal; }
.adm-kpi .l{
    color: var(--text-secondary);
    font-size: clamp(.68rem, 4.6cqi, .78rem);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
}

/* Charts */
.adm-charts{ gap: 18px; align-items: stretch; margin-bottom: 24px; }
.adm-chart{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 18px;
    display: flex;
    flex-direction: column;
}
.adm-chart h3{
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.adm-chart h3 i{ color: var(--primary) !important; }
.adm-chart .chart-box, .adm-chart .chart-wrap{ flex: 1; min-height: 240px; height: 240px; }
.adm-split{ gap: 18px; }
.adm-alert-item{ border-bottom-color: var(--border-light); }

/* KPI / statistiques */
.stats-grid .card{
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.kpi{ color: var(--dark); }

/* ────────────────────────── PAGINATION ──────────────────────── */
.page-link{
    border-radius: var(--radius);
    border: 1px solid var(--border);
    color: var(--text);
    transition: all .16s ease;
}
.page-item.active .page-link, .page-link:hover{
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ─────────────────────────── MODALES ────────────────────────── */
.modal-overlay{ background: rgba(17,17,17,.6); backdrop-filter: blur(3px); }
.modal-box, .modal-content{
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-xl);
}
.modal-box-header, .modal-header{
    border-bottom: 1px solid var(--border-light);
    font-family: var(--font-head);
}

/* ─────────────────────── EMPTY STATES ───────────────────────── */
.empty-state{ border-radius: var(--radius-lg); }

/* ─────────────────────────── CHAT ───────────────────────────── */
.chat-panel{ border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-xl); }
.chat-btn{ box-shadow: 0 8px 24px -6px rgba(232,80,2,.55); }

/* ─────────────────── MICRO-INTERACTIONS / A11Y ──────────────── */
a, button, input, select, textarea, .btn, .icon-btn{ outline: none; }
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible{
    outline: none;
    border-radius: var(--radius);
    box-shadow: 0 0 0 3px var(--ring);
}
.loading-overlay{ background: rgba(247,247,245,.8); backdrop-filter: blur(3px); }
.spinner-primary{ border-top-color: var(--primary) !important; }

/* ───────────────────────── RESPONSIVE ───────────────────────── */
@media (max-width: 1024px){
    .atlassian-footer .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px){
    .hero-section{ padding: 64px 0 52px; }
    .hero-search{ flex-direction: row; border-radius: var(--radius-lg); }
}
@media (max-width: 600px){
    .atlassian-nav{ height: 60px; }
    .atlassian-header .nav-center{ top: 60px; }
    .hero-ctas .btn{ width: 100%; }
    .hero-search button span{ display: none; }
    .hero-search button i{ margin: 0; }
}
@media (max-width: 480px){
    .section{ padding: 28px 0; }
    .hero-section h1{ font-size: 1.65rem; }
    .footer-grid{ grid-template-columns: 1fr !important; gap: 24px; }
}

/* ───────────────────────── RTL REFINEMENTS ───────────────────── */
[dir="rtl"] .hero-ctas .fa-arrow-right{ transform: scaleX(-1); }
[dir="rtl"] .atlassian-header::before{
    background: linear-gradient(270deg, var(--primary) 0%, var(--primary-2) 45%, transparent 100%);
}
[dir="rtl"] .btn i{ margin-inline-end: 0; margin-inline-start: 6px; }

/* ─────────────── ARABE : police système confortable ─────────── */
html[dir="rtl"] body{ font-family: 'Inter', 'Segoe UI', Tahoma, 'Noto Kufi Arabic', sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6{
    font-family: 'Manrope', 'Segoe UI', Tahoma, 'Noto Kufi Arabic', sans-serif;
    letter-spacing: 0;
}

/* ═══════════════════════════════════════════════════════════════
   LAUNCH-READY · LAYOUT LARGE & PAGES PREMIUM (ASSAY B2B)
   ═══════════════════════════════════════════════════════════════ */

/* 1 — Conteneur large responsif */
.container{
    max-width: 1440px;
    width: calc(100% - 48px);
    padding-inline: 0;
}
.container-fluid{ padding-inline: clamp(16px, 3vw, 36px); }

/* Titres de catalogue / page */
.page-head{ margin-bottom: 20px; }
.page-head h1{
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    color: var(--dark);
    margin: 0 0 6px;
}
.page-head p{ color: var(--text-secondary); margin: 0; max-width: 720px; }

/* 2 — Grille sociétés (home + annuaire) */
.co-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
}
a.co-card, a.service-card{ text-decoration: none; color: inherit; }
.co-card{
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.co-card:hover{ border-color: rgba(232,80,2,.5); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.co-card-top{ display: flex; align-items: center; gap: 14px; min-width: 0; }
.co-logo{
    width: 56px; height: 56px; flex-shrink: 0;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--border-light);
    color: var(--primary-hover);
    font-size: 1.3rem;
    overflow: hidden;
}
.co-logo img{ width: 100%; height: 100%; object-fit: cover; }
.co-head{ flex: 1; min-width: 0; }
.co-name{ margin: 0; font-size: 1.02rem; font-weight: 800; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-name a{ color: inherit; }
.co-name a:hover{ color: var(--primary-hover); }
.co-tags{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.co-tags .tag{ margin: 0; }
.co-desc{
    color: var(--text-secondary);
    font-size: .86rem;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.co-foot{
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
}
.co-count{ font-size: .78rem; color: var(--text-muted); }

/* 3 — Grilles produits / services / réalisations */
.products-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 16px; }
.services-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 16px; }
.pf-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 16px; }
.pf-card{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pf-card .pf-media{
    height: 150px;
    background: #f2f2f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.pf-card .pf-media img{ width: 100%; height: 100%; object-fit: cover; }
.pf-card .pf-media .pf-count{
    position: absolute; top: 10px; right: 10px;
    background: rgba(17,17,17,.72); color: #fff;
    font-size: .72rem; font-weight: 600;
    padding: 3px 8px; border-radius: 999px;
}
.pf-card .pf-media .pf-empty{ color: var(--text-muted); font-size: .8rem; }
.pf-card .pf-body{ padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pf-card .pf-title{ margin: 0; font-size: .98rem; font-weight: 800; color: var(--dark); }
.pf-card .pf-meta{ font-size: .78rem; color: var(--text-muted); }
.pf-card .pf-desc{ margin: 0; font-size: .84rem; color: var(--text-secondary); line-height: 1.55; }
.service-card{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all .18s ease;
}
.service-card:hover{ border-color: rgba(232,80,2,.5); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-card .service-ic{
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    display: grid; place-items: center;
    font-size: 1.05rem;
}
.service-card h3{ margin: 0; font-size: 1rem; font-weight: 700; color: var(--dark); }
.service-card .service-co{ margin: 0; font-size: .8rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.service-card .service-meta{
    margin-top: auto;
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: var(--text-secondary);
}
.service-card .service-foot{ margin-top: 6px; }
.why-card{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    transition: all .18s ease;
}
.why-card:hover{ border-color: rgba(232,80,2,.5); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.why-card i{ font-size: 1.5rem; color: var(--primary); margin-bottom: 12px; display: block; }
.why-card h3{ font-weight: 700; font-size: 1rem; margin: 0 0 6px; color: var(--dark); }
.why-card p{ color: var(--text-secondary); font-size: .84rem; margin: 0; line-height: 1.55; }

/* Produits : image + ampleur */
.product-card .product-media{ height: 150px; }
.grid-4{ gap: 16px; }

/* 4 — Bandes sombres (Pourquoi ASSAY / Gros B2B) */
.assay-band{
    position: relative;
    background: var(--dark);
    color: #fff;
    padding: 64px 0;
    overflow: hidden;
}
.section.alt{ background: var(--bg-card); border-block: 1px solid var(--border-light); }
.assay-band .band-title{
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    letter-spacing: -.02em;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin: 0 0 10px;
    text-align: center;
}
.assay-band .band-sub{
    color: rgba(255,255,255,.7);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 1.02rem;
    line-height: 1.6;
}
.assay-band .band-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}
.assay-band .band-item{
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
}
.assay-band .band-item i{ font-size: 1.5rem; color: var(--primary-2); margin-bottom: 12px; display: block; }
.assay-band .band-item h4{ color: #fff; font-weight: 700; margin: 0 0 6px; font-size: .98rem; }
.assay-band .band-item p{ color: rgba(255,255,255,.62); font-size: .84rem; line-height: 1.55; margin: 0; }
.assay-band .band-cta{ text-align: center; margin-top: 34px; }
.assay-band .band-cta .btn{ padding: 13px 30px; font-weight: 700; border-radius: var(--radius-pill); }
.assay-band .band-cta .btn-ghost-light{
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}
.assay-band .band-cta .btn-ghost-light:hover{ border-color: var(--primary); background: rgba(232,80,2,.14); color:#fff; }

/* 5 — CTA final */
.final-cta{
    position: relative;
    background: var(--dark);
    border-radius: 16px;
    padding: 56px 32px;
    text-align: center;
    overflow: hidden;
}
.final-cta h2{
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    margin: 0 0 10px;
}
.final-cta p{ color: rgba(255,255,255,.72); margin: 0 auto 26px; max-width: 540px; }
.final-cta .btn{ padding: 14px 32px; border-radius: var(--radius-pill); font-weight: 700; }
.final-cta .btn-ghost-light{
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}
.final-cta .btn-ghost-light:hover{ border-color: var(--primary); background: rgba(232,80,2,.14); color:#fff; }

/* 6 — Empty state lancement */
.home-empty{
    text-align: center;
    padding: 52px 24px;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 14px;
}
.home-empty .home-empty-icon{
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary-hover);
    display: grid; place-items: center;
    font-size: 1.5rem;
}
.home-empty h3{ color: var(--dark); font-weight: 800; margin: 0 0 6px; }
.home-empty p{ color: var(--text-secondary); max-width: 460px; margin: 0 auto 18px; font-size: .92rem; }

/* 7 — Barre d'outils catalogue (annuaire / recherche) */
.catalog-toolbar{
    display: grid;
    grid-template-columns: 1.6fr repeat(3, minmax(150px, 1fr)) auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    margin-bottom: 8px;
}
.catalog-toolbar input, .catalog-toolbar select{ height: 46px; border-radius: 10px; }
.catalog-toolbar input[type="search"]{ font-size: 1rem; }
.catalog-toolbar .btn{ height: 46px; padding-inline: 22px; border-radius: 10px; }
.catalog-toolbar.ct-6{ grid-template-columns: 1.6fr repeat(4, minmax(130px, 1fr)) auto; }
.catalog-meta{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0 20px;
    color: var(--text-secondary);
    font-size: .9rem;
}
.catalog-meta .clear-filter{
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: .8rem;
    display: inline-flex; align-items: center; gap: 6px;
}
.catalog-meta .clear-filter:hover{ border-color: var(--primary); color: var(--primary-hover); }

/* 8 — Profil entreprise premium */
.profile-hero{
    position: relative;
    background: var(--dark);
    color: #fff;
    padding: 44px 0 40px;
    border-radius: 16px;
    overflow: hidden;
}
.profile-hero-inner{
    position: relative; z-index: 1;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.profile-logo-wrap{
    width: 92px; height: 92px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 16px;
    display: grid; place-items: center;
    box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
    color: var(--primary-hover);
    font-size: 2rem;
    overflow: hidden;
}
.profile-logo-wrap img{ width: 100%; height: 100%; object-fit: cover; }
.profile-id{ flex: 1; min-width: 240px; }
.profile-id h1{
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    letter-spacing: -.02em;
    margin: 0 0 10px;
}
.profile-tags{ display: flex; flex-wrap: wrap; gap: 8px; }
.profile-tags .tag{ background: rgba(255,255,255,.12); color: #fff; border: none; margin: 0; }
.profile-tags .tag.tag-primary{ background: var(--primary); color: #fff; }
.profile-actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.profile-actions .btn{
    border-radius: var(--radius-pill);
    padding: 11px 22px;
    font-weight: 700;
}
.profile-actions .btn-ghost-light{
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}
.profile-actions .btn-ghost-light:hover{ border-color: var(--primary); background: rgba(232,80,2,.14); color:#fff; }
.profile-grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}
.profile-section{
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 18px;
}
.profile-section > h2{
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-head);
}
.profile-section > h2 i{ color: var(--primary); }
.profile-section > p{ margin: 0; color: var(--text-secondary); line-height: 1.7; }
.profile-side{ display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.profile-card{ background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.profile-card > h3{
    margin: 0 0 12px;
    font-size: .95rem;
    font-weight: 800;
    color: var(--dark);
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-head);
}
.profile-card > h3 i{ color: var(--primary); }
.pay-list p{ margin: 7px 0; font-size: .88rem; color: var(--text-secondary); }
.pay-list strong{ color: var(--dark); }
.co-contact-item{ display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; font-size: .9rem; }
.co-contact-item i{ color: var(--primary); width: 18px; text-align: center; margin-top: 2px; }
.co-contact-item a{ color: var(--text-secondary); word-break: break-word; }
.co-contact-item a:hover{ color: var(--primary-hover); }

/* 9 — Contact 2 colonnes */
.contact-grid{ display: grid; grid-template-columns: 400px minmax(0,1fr); gap: 24px; align-items: stretch; }
.contact-brand{
    position: relative;
    background: var(--dark);
    color: rgba(255,255,255,.8);
    border-radius: 16px;
    padding: 38px 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.contact-brand .brand-mark{
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--primary);
    display: grid; place-items: center;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: var(--font-head);
    margin-bottom: 20px;
}
.contact-brand h2{ color:#fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin: 0 0 8px; }
.contact-brand > p{ margin: 0 0 26px; color: rgba(255,255,255,.72); }
.contact-brand .ci-item{ display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; font-size: .92rem; }
.contact-brand .ci-item i{ color: var(--primary-2); margin-top: 3px; width: 18px; text-align: center; }
.contact-brand .assay-lines::after{ border-radius: 0; }
.contact-form{ background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }

/* 10 — B2B / Gros : bandeau d'intro */
.b2b-hero{
    position: relative;
    background: var(--dark);
    color: #fff;
    padding: 52px 0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 22px;
}
.b2b-hero .container{ position: relative; z-index: 1; }
.b2b-hero h1{
    color: #fff;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    letter-spacing: -.02em;
    margin: 0 0 8px;
}
.b2b-hero p{ color: rgba(255,255,255,.72); font-size: 1.02rem; max-width: 680px; margin: 0; }
.b2b-hero .b2b-strip{ display:flex; flex-wrap:wrap; gap: 10px; margin-top: 18px; }
.b2b-hero .b2b-strip .chip{
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.85);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    font-size: .82rem;
    display: inline-flex; align-items: center; gap: 8px;
}
.b2b-hero .b2b-strip .chip i{ color: var(--primary-2); }

/* 11 — Responsive additions */
@media (max-width: 1180px){
    .catalog-toolbar{ grid-template-columns: 1fr 1fr; }
    .catalog-toolbar.ct-6{ grid-template-columns: 1fr 1fr; }
    .catalog-toolbar .stretch{ grid-column: 1 / -1; }
}
@media (max-width: 1024px){
    .profile-grid{ grid-template-columns: 1fr; }
    .profile-side{ position: static; }
    .profile-hero{ padding: 34px 0 30px; }
    .contact-grid{ grid-template-columns: 1fr; }
    .contact-brand{ order: 2; }
}
@media (max-width: 620px){
    .container{ width: calc(100% - 28px); }
    .catalog-toolbar{ grid-template-columns: 1fr; }
    .co-grid{ grid-template-columns: 1fr; }
    .products-grid, .services-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .profile-logo-wrap{ width: 72px; height: 72px; }
    .profile-actions{ width: 100%; }
    .profile-actions .btn{ flex: 1; }
    .assay-band{ padding: 48px 0; }
    .final-cta, .profile-hero, .b2b-hero{ border-radius: 12px; }
}

/* 13 — Accueil compact (page d'accueil only) */
main.home-main .section{ padding-block: 30px; }
main.home-main .section-title{
    font-size: 1.08rem !important;
    margin: 0 0 18px !important;
}
main.home-main .co-grid{ grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 12px; }
main.home-main .co-card{ padding: 14px; gap: 10px; }
main.home-main .co-logo{ width: 42px; height: 42px; border-radius: 10px; font-size: .95rem; }
main.home-main .co-name{ font-size: .9rem; }
main.home-main .co-tags{ margin-top: 5px; }
main.home-main .co-tags .tag{ font-size: .68rem; padding: 2px 7px; }
main.home-main .co-foot{ padding-top: 9px; }
main.home-main .co-count{ font-size: .74rem; }
main.home-main .products-grid{ grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; }
main.home-main .product-card .product-media{ height: 118px; }
main.home-main .product-card-body{ padding: 8px 10px 10px; }
main.home-main .product-card-body h3{ font-size: .78rem; }
main.home-main .services-grid{ grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; }
main.home-main .service-card{ padding: 14px; gap: 8px; }
main.home-main .service-ic{ width: 38px; height: 38px; border-radius: 9px; font-size: .9rem; }
main.home-main .service-card h3{ font-size: .92rem; }
main.home-main .service-card .service-co{ font-size: .76rem; }
main.home-main .service-card .service-meta{ font-size: .78rem; }
main.home-main .home-empty{ padding: 34px 20px; }
main.home-main .home-empty .home-empty-icon{ width: 52px; height: 52px; font-size: 1.25rem; margin-bottom: 12px; }
main.home-main .home-empty p{ margin-bottom: 14px; }
main.home-main .assay-band .band-sub{ margin-bottom: 26px; }
main.home-main .band-grid{ gap: 14px; }
main.home-main .band-item, main.home-main .why-card{ padding: 18px 14px; }
main.home-main .band-item i, main.home-main .why-card i{ font-size: 1.3rem; margin-bottom: 9px; }
main.home-main .why-card p{ font-size: .8rem; }
main.home-main .final-cta{ padding: 42px 24px; }
@media (max-width: 620px){
    main.home-main .products-grid, main.home-main .services-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    main.home-main .co-grid{ grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   14 — MOBILE RESPONSIVE & WIDE LAYOUT — PASS FINAL (frontend only)
   ═══════════════════════════════════════════════════════════════ */

/* 14.1 — Garde-fous globaux : box-sizing + anti-débordement horizontal */
*, *::before, *::after{ box-sizing: border-box; }
html, body{ overflow-x: clip; }
img, video, iframe{ max-width: 100%; }

/* 14.2 — Navigation mobile réelle : bouton menu jusqu'à 884px */
@media (max-width: 884px){
    .atlassian-nav .hamburger{
        display: flex;
        align-items: center;
        justify-content: center;
        margin-inline-start: auto;
        flex-shrink: 0;
    }
    .atlassian-header .nav-center{ display: none; }
    .atlassian-header .nav-center.open{ display: flex; }
}
@media (min-width: 885px){
    .atlassian-header .nav-center{ display: flex; }
}

/* 14.3 — Menu déroulant mobile (panneau sombre sous le header) */
@media (max-width: 884px){
    .atlassian-header .nav-center{
        position: fixed;
        left: 0;
        right: 0;
        top: 67px;
        bottom: auto;
        height: auto;
        max-height: calc(100dvh - 67px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(17,17,17,.985);
        backdrop-filter: blur(8px);
        border-top: 1px solid rgba(255,255,255,.08);
        border-radius: 0 0 14px 14px;
        box-shadow: var(--shadow-xl);
        align-items: stretch;
    }
    .atlassian-header .nav-center a{
        width: 100%;
        font-size: 1rem;
        padding: 13px 14px;
        border-radius: 8px;
        white-space: normal;
    }
    .atlassian-header .nav-center a.btn{ justify-content: center; }
}
@media (max-width: 600px){
    .atlassian-header .nav-center{ top: 63px; max-height: calc(100dvh - 63px); }
}

/* 14.4 — Héro mobile : composition verticale complète, search pleine largeur */
.hero-search input{ min-width: 0; }
@media (max-width: 620px){
    .hero-section{ padding: 36px 0 32px; }
    .hero-section h1{ font-size: clamp(1.6rem, 7.5vw, 1.95rem); line-height: 1.22; margin-bottom: 12px; }
    .hero-section p{ font-size: .98rem; line-height: 1.6; margin: 0 auto 20px; max-width: 100%; }
    .hero-search{
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 8px;
        border-radius: 16px;
    }
    .hero-search input{
        width: 100%;
        min-width: 0;
        font-size: 1rem;
        padding: 16px 15px;
        min-height: 54px;
        border-radius: 12px !important;
    }
    .hero-search button{
        width: 100%;
        padding: 16px 18px;
        min-height: 54px;
        border-radius: 12px !important;
    }
    .hero-search button span{ display: inline !important; }
    .hero-ctas{ flex-direction: column; width: 100%; gap: 10px; margin-top: 18px; }
    .hero-ctas .btn{ width: 100%; }
}
@media (max-width: 420px){
    .hero-search input{ font-size: .9rem; padding-inline: 12px; }
    .hero-search button{ font-size: .9rem; }
}

/* 14.5 — Grilles d'accueil : colonnes contrôlées pour bien remplir le large écran */
@media (min-width: 1200px){
    main.home-main .co-grid{ grid-template-columns: repeat(4, 1fr); }
    main.home-main .products-grid{ grid-template-columns: repeat(4, 1fr); }
    main.home-main .services-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) and (max-width: 1199px){
    main.home-main .co-grid{ grid-template-columns: repeat(3, 1fr); }
    main.home-main .products-grid{ grid-template-columns: repeat(3, 1fr); }
    main.home-main .services-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 621px) and (max-width: 899px){
    main.home-main .co-grid{ grid-template-columns: repeat(3, 1fr); }
    main.home-main .products-grid{ grid-template-columns: repeat(2, 1fr); }
    main.home-main .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
    main.home-main .co-grid{ grid-template-columns: 1fr 1fr; }
    main.home-main .products-grid{ grid-template-columns: 1fr 1fr; }
    main.home-main .services-grid{ grid-template-columns: 1fr; }
}

/* 14.6 — Bandes « Pourquoi ASSAY » : grille 4/2/1 pleine largeur */
.band-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (min-width: 621px) and (max-width: 1024px){ .band-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .band-grid{ grid-template-columns: 1fr; } }
.assay-band .band-grid{
    max-width: none;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* 14.7 — Footer mobile vertical */
@media (max-width: 1024px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){
    .footer-grid{ grid-template-columns: 1fr; gap: 22px; }
    .footer-inner{ padding: 0 16px; }
    .footer-bottom{ flex-direction: column; align-items: center; text-align: center; gap: 6px; }
}

/* 14.8 — Chat : position sûre sur mobile, panneau pleine largeur */
@media (max-width: 480px){
    .chat-float{ right: 10px; bottom: 12px; }
    .chat-panel.open,
    [dir="rtl"] .chat-panel.open{
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
    .chat-robot{ width: 52px; height: 52px; }
    .chat-btn{ width: 52px; height: 52px; }
}

/* 14.9 — Espacement vertical homogène des sections */
@media (max-width: 768px){
    .section{ padding-block: 26px; }
}

/* 14.10 — Résultats étendus de recherche (entreprises / services / secteurs) */
.search-extras{ margin-top: 4px; }
.search-extras-title{
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin: 28px 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-extras .search-extras-title:first-child{ margin-top: 0; }
.search-extras .co-grid,
.search-extras .services-grid,
.search-extras .secteur-grid{ margin-top: 0; }

/* 14.11 — Champs & formulaires : aucune césure/overflow mobile */
.catalog-toolbar input, .catalog-toolbar select{ min-width: 0; }
@media (max-width: 560px){
    .stats-bar{ grid-template-columns: repeat(2, 1fr); }
    .stats-bar .stat-item{ padding: 16px 10px; }
    .profile-id{ min-width: 0; }
    .search-extras .co-grid{ grid-template-columns: 1fr 1fr; }
    .search-extras .services-grid{ grid-template-columns: 1fr; }
}

/* 15 — Bouton menu « hamburger » 100% CSS : discret, compact, sans FontAwesome */
.atlassian-header .hamburger{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid rgba(255,255,255,.42);
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
    transition: background .15s ease, border-color .15s ease;
}
.atlassian-header .hamburger:hover,
.atlassian-header .hamburger.open{
    background: rgba(255,255,255,.2);
    border-color: var(--primary-2);
}
.atlassian-header .hamburger .bar{
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 3px;
    background: #fff;
    margin: 2.5px 0;
    transition: transform .22s ease, opacity .22s ease;
}
.atlassian-header .hamburger.open .bar:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.atlassian-header .hamburger.open .bar:nth-child(2){ opacity: 0; }
.atlassian-header .hamburger.open .bar:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 884px){
    .atlassian-header .hamburger{ display: flex; }
}

/* 16 — Pass UI/UX mobile : Top fournisseurs lisible en 2 colonnes, boutons compacts */
@media (max-width: 620px){
    main.home-main .co-grid{ grid-template-columns: 1fr 1fr; gap: 10px; }
    main.home-main .co-card{ text-align: center; padding: 14px 12px; gap: 10px; }
    main.home-main .co-card-top{ flex-direction: column; align-items: center; gap: 10px; }
    main.home-main .co-head{ display: flex; flex-direction: column; align-items: center; min-width: 0; }
    main.home-main .co-logo{ width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; }
    main.home-main .co-name{ font-size: .9rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    main.home-main .co-tags{ justify-content: center; }
    main.home-main .co-tags .tag{ font-size: .66rem; padding: 3px 8px; }
    main.home-main .co-card .co-foot{ border-top: none; padding-top: 0; display: flex; }
    main.home-main .co-count{ display: none; }
    main.home-main .co-card .co-foot .btn{ width: 100%; padding: 8px 10px; font-size: .78rem; justify-content: center; }
}
@media (max-width: 560px){
    .btn{ padding: 7px 12px; font-size: .8rem; }
    .btn-sm{ padding: 3px 8px; font-size: .7rem; }
    .hero-ctas .btn,
    .final-cta .btn,
    .assay-band .band-cta .btn{ padding: 10px 14px; font-size: .88rem; border-radius: var(--radius-pill); }
    .catalog-toolbar .btn{ height: 40px; padding-inline: 14px; }
    .section-title{ font-size: 1.14rem; }
    .section-title i{ font-size: .96rem; }
}
/* 16.1 — KPI dashboard : grille responsive, même taille, valeur monétaire complète */
@media (max-width: 1200px){
    .adm-kpis{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px){
    .adm-kpis{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
    .adm-kpis{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 20px;
    }
    .adm-kpi{ padding: 12px 10px; gap: 9px; border-radius: 9px; }
    .adm-kpi .ic,
    .adm-kpi .ic-blue, .adm-kpi .ic-green, .adm-kpi .ic-amber, .adm-kpi .ic-purple,
    .adm-kpi .ic-red, .adm-kpi .ic-teal, .adm-kpi .ic-orange, .adm-kpi .ic-slate, .adm-kpi .ic-indigo{
        width: 34px; height: 34px; border-radius: 8px; font-size: .9rem;
    }
    .adm-kpi .v{ font-size: 1.12rem; }
    .adm-kpi .v.is-money{ font-size: clamp(.74rem, 7cqi, .95rem); }
    .adm-kpi .l{ font-size: clamp(.64rem, 4.4cqi, .72rem); }
}
@media (max-width: 380px){
    .adm-kpis{ grid-template-columns: 1fr; }
}
/* 16.2 — Profil entreprise 100% mobile (hero vertical + cartes + side ordonnés) */
.map-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}
.map-actions .btn{
    flex: 1 1 auto;
    justify-content: center;
    text-decoration: none;
}
@media (max-width: 560px){
    .map-actions{ padding: 12px; gap: 10px; }
    .map-actions .btn{
        flex: 1 1 100%;
        width: 100%;
        padding: 13px 16px;
        font-size: .95rem;
        border-radius: var(--radius-pill);
    }
}
.profile-side .profile-card{ min-width: 0; }
.profile-card .pay-list p,
.co-contact-item span, .co-contact-item a{ overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 640px){
    .profile-hero-inner{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }
    .profile-tags{ justify-content: center; }
}
@media (max-width: 520px){
    .profile-main .products-grid,
    .profile-main .services-grid{ grid-template-columns: 1fr; }
    .profile-actions{ width: 100%; }
    .profile-actions .btn{ width: 100%; flex: none; justify-content: center; }
    .profile-main .price{ white-space: normal; word-break: break-word; }
    .profile-card .co-contact-item{ padding-block: 7px; }
}