/* ================================================================
   AU-DELÀ DES POINTS — custom.css
   Template : Helix Ultimate (JoomShaper)
   Fichier  : templates/VOTRE_TEMPLATE/css/custom.css
   
   SOMMAIRE
   ─────────────────────────────────────────────────────────────
   0.  POLICES LOCALES (@font-face)
   1.  DESIGN TOKENS (variables CSS)
   2.  MODULE CONNEXION HELIX
   3.  COMPOSANTS — Boutons (adp-btn)
   4.  COMPOSANTS — Tags / Pills (adp-tag)
   5.  COMPOSANTS — En-têtes de blocs (adp-header)
   6.  COMPOSANTS — Boîtes encadrées (adp-box)
   7.  COMPOSANTS — Badges statut (adp-badge)
   8.  COMPOSANTS — Cards (adp-card)
   9.  COMPOSANTS — Tableaux (adp-table)
   10. COMPOSANTS — Numéros colorés (adp-num)
   11. COMPOSANTS — Bandeaux (adp-band)
   12. COMPOSANTS — Grilles utilitaires (adp-grid)
   13. HELIX — Cards articles page catégorie (.article-list .article)
   14. HUB — Modules articles par catégorie (mod-articlescategory)
   15. HELIX/JOOMLA — Badges article (related-article-title, category-name)
   16. PAGES CATÉGORIES — Heroes
   17. CARDS ARTICLES — Arrondi des images intro
   ─────────────────────────────────────────────────────────────
   Convention de nommage : préfixe adp- (Au-Delà des Points)
   pour éviter tout conflit avec Joomla, Helix et SP Page Builder.
   ================================================================ */


/* ================================================================
   0. POLICES LOCALES (@font-face)
   ================================================================ */

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans-v44-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */

:root {
  --adp-navy:          #05407C;
  --adp-navy-light:    #0a5fa0;
  --adp-navy-soft:     #F0F6FF;
  --adp-orange:        #E8721A;
  --adp-orange-dark:   #c45e10;
  --adp-orange-soft:   #FFF5EE;
  --adp-green:         #16A34A;
  --adp-green-soft:    rgba(22,163,74,0.08);
  --adp-green-border:  rgba(22,163,74,0.25);
  --adp-red:           #B43232;
  --adp-red-soft:      rgba(180,50,50,0.08);
  --adp-red-border:    rgba(180,50,50,0.2);
  --adp-bg:            #F5F6F8;
  --adp-white:         #ffffff;
  --adp-border:        #E5E7EB;
  --adp-border-soft:   #F3F4F6;
  --adp-text:          #333333;
  --adp-text-light:    #555555;
  --adp-text-muted:    #888888;
  --adp-text-disabled: #BBBBBB;
  --adp-radius-sm:     8px;
  --adp-radius-md:     12px;
  --adp-radius-lg:     16px;
  --adp-radius-pill:   20px;
  --adp-radius-full:   50%;
  --adp-shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --adp-shadow-md:     0 4px 16px rgba(5,64,124,0.08);
  --adp-shadow-lg:     0 8px 24px rgba(5,64,124,0.12);
  --adp-shadow-orange: 0 6px 20px rgba(232,114,26,0.15);
  --adp-font-title:    'Plus Jakarta Sans', system-ui, sans-serif;
  --adp-font-body:     'Open Sans', system-ui, sans-serif;
  --adp-transition:    0.25s ease;
  --adp-transition-fast: 0.15s ease;
}


/* ================================================================
   1b. APPLICATION GLOBALE DES POLICES
   ================================================================ */

body,
p, li, td, th, label, input, select, textarea, button,
.adp-box, .adp-table, .adp-badge, .adp-tag, .adp-card__text,
.mod-articlescategory, .sppb-addon-content {
    font-family: var(--adp-font-body);
}

h1, h2, h3, h4, h5, h6,
.adp-band__title, .adp-card__title, .adp-header h2, .adp-header h3,
.adp-btn, .adp-card__link, .sp-megamenu-parent, .navbar,
a.mod-articles-category-title {
    font-family: var(--adp-font-title);
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span,
.sp-megamenu-parent .sp-dropdown a,
#sp-header .navbar a,
#sp-header .sp-megamenu-parent a,
.offcanvas-menu a {
    font-family: var(--adp-font-title) !important;
}


/* ================================================================
   2. MODULE CONNEXION HELIX
   ================================================================ */

.sp-sign-in {
    background-color: var(--adp-orange) !important;
    color: var(--adp-white) !important;
    border-radius: var(--adp-radius-pill) !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    transition: background-color var(--adp-transition) !important;
}
.sp-sign-in:hover {
    background-color: var(--adp-orange-dark) !important;
    color: var(--adp-white) !important;
}
.sp-sign-in i { color: var(--adp-white) !important; }

a.btn-orange,
button.btn-orange {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 10px 20px !important;
    background-color: var(--adp-orange) !important;
    color: var(--adp-white) !important;
    border-radius: var(--adp-radius-pill) !important;
    border: none !important;
    outline: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    transition: background-color var(--adp-transition), transform var(--adp-transition-fast) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    line-height: 1 !important;
}
a.btn-orange:hover,
button.btn-orange:hover {
    background-color: var(--adp-orange-dark) !important;
    color: var(--adp-white) !important;
    transform: translateY(-1px) !important;
}
a.btn-orange i,
button.btn-orange i {
    color: var(--adp-white) !important;
    font-size: 15px !important;
}

.helix-login-module--user {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}
.helix-user-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: var(--adp-radius-full) !important;
    background-color: var(--adp-orange) !important;
    color: var(--adp-white) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.helix-user-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 !important;
}
.helix-user-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #1a1a1a !important;
}
.helix-user-group {
    font-size: 11px !important;
    color: var(--adp-text-muted) !important;
    line-height: 1 !important;
}
.offcanvas-menu .offcanvas-inner .helix-login-module--user {
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
}
.offcanvas-menu .offcanvas-inner .helix-user-info { flex: 1 !important; }
.offcanvas-menu .offcanvas-inner .helix-user-name {
    font-size: 14px !important;
    color: #1a1a1a !important;
}
.offcanvas-menu .offcanvas-inner .helix-user-group { font-size: 12px !important; }
.offcanvas-menu .offcanvas-inner a.btn-orange,
.offcanvas-menu .offcanvas-inner button.btn-orange {
    width: 100% !important;
    margin-top: 4px !important;
}


/* ================================================================
   3. COMPOSANTS — Boutons (adp-btn)
   ================================================================ */

.adp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    background-color: var(--adp-orange);
    color: var(--adp-white);
    border-radius: var(--adp-radius-pill);
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color var(--adp-transition), transform var(--adp-transition-fast);
    line-height: 1;
}
.adp-btn:hover {
    background-color: var(--adp-orange-dark);
    color: var(--adp-white);
    transform: translateY(-2px);
}
.adp-btn svg {
    width: 15px;
    height: 15px;
    stroke: var(--adp-white);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--adp-transition-fast);
}
.adp-btn:hover svg { transform: translateX(3px); }
.adp-btn--navy { background-color: var(--adp-navy); }
.adp-btn--navy:hover { background-color: var(--adp-navy-light); color: var(--adp-white); }
.adp-btn--outline {
    background-color: transparent;
    border: 1.5px solid var(--adp-orange);
    color: var(--adp-orange);
}
.adp-btn--outline:hover { background-color: var(--adp-orange); color: var(--adp-white); }
.adp-btn--outline svg { stroke: var(--adp-orange); }
.adp-btn--outline:hover svg { stroke: var(--adp-white); }
.adp-btn--white { background-color: var(--adp-white); color: var(--adp-orange); }
.adp-btn--white:hover { background-color: rgba(255,255,255,0.88); color: var(--adp-orange); }
.adp-btn--white svg { stroke: var(--adp-orange); }
.adp-btn--full { width: 100%; }
.adp-btn--sm { padding: 7px 16px; font-size: 12px; }


/* ================================================================
   4. COMPOSANTS — Tags / Pills (adp-tag)
   ================================================================ */

.adp-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: rgba(232,114,26,0.1);
    color: var(--adp-orange);
    border-radius: var(--adp-radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
}
.adp-tag svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}
.adp-tag--navy { background: rgba(5,64,124,0.08); color: var(--adp-navy); }
.adp-tag--white { background: rgba(255,255,255,0.15); color: var(--adp-white); }
.adp-tag--green { background: var(--adp-green-soft); color: var(--adp-green); }


/* ================================================================
   5. COMPOSANTS — En-têtes de blocs (adp-header)
   ================================================================ */

.adp-header {
    background: var(--adp-navy);
    padding: 16px 24px;
    border-radius: var(--adp-radius-lg) var(--adp-radius-lg) 0 0;
}
.adp-header h2,
.adp-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--adp-white);
    margin: 0 0 4px;
    line-height: 1.2;
}
.adp-header p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.5;
}
.adp-header--gradient {
    background: linear-gradient(135deg, var(--adp-navy) 0%, var(--adp-navy-light) 100%);
}
.adp-header--orange { background: var(--adp-orange); }

.adp-block {
    border-radius: var(--adp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--adp-border);
}
.adp-block__body {
    padding: 20px 24px;
    background: var(--adp-white);
}


/* ================================================================
   6. COMPOSANTS — Boîtes encadrées (adp-box)
   ================================================================ */

.adp-box {
    background: var(--adp-navy-soft);
    border-left: 4px solid var(--adp-navy);
    border-radius: 0 var(--adp-radius-sm) var(--adp-radius-sm) 0;
    padding: 14px 18px;
    font-size: 13px;
    color: var(--adp-text);
    line-height: 1.65;
    margin: 16px 0;
}
.adp-box strong { color: var(--adp-navy); }
.adp-box--warning { background: var(--adp-orange-soft); border-left-color: var(--adp-orange); }
.adp-box--warning strong { color: var(--adp-orange-dark); }
.adp-box--tip { background: var(--adp-bg); border-left-color: var(--adp-text-muted); }
.adp-box--tip strong { color: var(--adp-text); }
.adp-box--success { background: var(--adp-green-soft); border-left-color: var(--adp-green); }
.adp-box--success strong { color: var(--adp-green); }
.adp-box a,
.adp-box--warning a,
.adp-box--tip a,
.adp-box--success a { color: var(--adp-orange); font-weight: 500; text-decoration: none; }
.adp-box a:hover { text-decoration: underline; }


/* ================================================================
   7. COMPOSANTS — Badges statut (adp-badge)
   ================================================================ */

.adp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--adp-radius-pill);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.adp-badge svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.adp-badge--oui { background: var(--adp-green-soft); color: var(--adp-green); border: 1px solid var(--adp-green-border); }
.adp-badge--non { background: var(--adp-red-soft); color: var(--adp-red); border: 1px solid var(--adp-red-border); }
.adp-badge--info { background: rgba(5,64,124,0.08); color: var(--adp-navy); border: 1px solid rgba(5,64,124,0.2); }
.adp-badge--neutral { background: var(--adp-bg); color: var(--adp-text-muted); border: 1px solid var(--adp-border); }
.adp-badge--avantage { background: rgba(232,114,26,0.08); color: var(--adp-orange); border: 1px solid rgba(232,114,26,0.25); font-size: 11px; }


/* ================================================================
   8. COMPOSANTS — Cards (adp-card)
   ================================================================ */

.adp-card {
    background: var(--adp-white);
    border: 1px solid var(--adp-border);
    border-radius: var(--adp-radius-md);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow var(--adp-transition), transform var(--adp-transition);
}
.adp-card:hover {
    box-shadow: var(--adp-shadow-orange);
    transform: translateY(-3px);
}
.adp-card--orange {
    background: var(--adp-orange-soft);
    border: 1px solid rgba(232,114,26,0.2);
    border-left: 4px solid var(--adp-orange);
    border-radius: 0 var(--adp-radius-md) var(--adp-radius-md) 0;
}
.adp-card--orange:hover { box-shadow: var(--adp-shadow-orange); }
.adp-card--grey { background: var(--adp-bg); }
.adp-card__icon {
    width: 44px;
    height: 44px;
    background: rgba(232,114,26,0.1);
    border-radius: var(--adp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.adp-card__icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--adp-orange);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.adp-card__icon--navy { background: rgba(5,64,124,0.08); }
.adp-card__icon--navy svg { stroke: var(--adp-navy); }
.adp-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--adp-navy);
    margin: 0;
    line-height: 1.25;
}
.adp-card__text {
    font-size: 14px;
    color: var(--adp-text-light);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}
.adp-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--adp-orange);
    text-decoration: none;
}
.adp-card__link svg {
    width: 13px;
    height: 13px;
    stroke: var(--adp-orange);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.adp-card__link:hover { text-decoration: underline; }


/* ================================================================
   9. COMPOSANTS — Tableaux (adp-table)
   ================================================================ */

.adp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--adp-radius-md);
    border: 1px solid var(--adp-border);
}
.adp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--adp-text);
    background: var(--adp-white);
}
.adp-table th {
    font-size: 11px;
    font-weight: 600;
    color: var(--adp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 14px;
    text-align: left;
    background: var(--adp-bg);
    border-bottom: 1px solid var(--adp-border);
}
.adp-table td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--adp-border-soft);
    vertical-align: top;
    line-height: 1.6;
}
.adp-table tr:last-child td { border-bottom: none; }
.adp-table tr:hover td { background: #FAFAFA; }
.adp-table-header {
    padding: 12px 16px;
    border-radius: var(--adp-radius-md) var(--adp-radius-md) 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--adp-navy);
}
.adp-table-header--orange { background: var(--adp-orange); }
.adp-table-header--green  { background: #16803A; }
.adp-table-header--red    { background: #9B2020; }
.adp-table-header__badge {
    font-size: 26px;
    font-weight: 700;
    color: var(--adp-white);
    min-width: 36px;
    line-height: 1;
}
.adp-table-header__label { font-size: 14px; color: rgba(255,255,255,0.85); }
.adp-table-header__label strong {
    display: block;
    font-size: 15px;
    color: var(--adp-white);
    font-weight: 600;
}
.adp-amende {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: var(--adp-radius-pill);
    font-weight: 500;
    white-space: nowrap;
}
.adp-amende--af { background: rgba(5,64,124,0.08); color: var(--adp-navy); }
.adp-amende--am { background: var(--adp-green-soft); color: var(--adp-green); }
.adp-legi {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: var(--adp-orange);
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(232,114,26,0.3);
    white-space: nowrap;
    transition: background var(--adp-transition-fast);
}
.adp-legi:hover { background: rgba(232,114,26,0.08); }


/* ================================================================
   10. COMPOSANTS — Numéros colorés (adp-num)
   ================================================================ */

.adp-num {
    width: 28px;
    height: 28px;
    border-radius: var(--adp-radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--adp-white);
    flex-shrink: 0;
}
.adp-num--1 { background: var(--adp-navy); }
.adp-num--2 { background: var(--adp-orange); }
.adp-num--3 { background: var(--adp-green); }
.adp-num--4 { background: #7C3AED; }
.adp-num-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--adp-radius-sm);
    font-size: 13px;
    color: var(--adp-text);
    line-height: 1.6;
}
.adp-num-item--1 { background: rgba(5,64,124,0.05);   border: 1px solid rgba(5,64,124,0.15); }
.adp-num-item--2 { background: rgba(232,114,26,0.05); border: 1px solid rgba(232,114,26,0.15); }
.adp-num-item--3 { background: rgba(22,163,74,0.05);  border: 1px solid rgba(22,163,74,0.15); }
.adp-num-item--4 { background: rgba(124,58,237,0.05); border: 1px solid rgba(124,58,237,0.15); }


/* ================================================================
   11. COMPOSANTS — Bandeaux (adp-band)
   ================================================================ */

.adp-band {
    background: var(--adp-navy);
    border-radius: var(--adp-radius-lg);
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
}
.adp-band::before {
    content: '';
    position: absolute;
    top: -50px; right: 200px;
    width: 160px; height: 160px;
    border-radius: var(--adp-radius-full);
    background: rgba(232,114,26,0.07);
    pointer-events: none;
}
.adp-band::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: var(--adp-radius-full);
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}
.adp-band--orange { background: var(--adp-orange); }
.adp-band--orange::before { background: rgba(255,255,255,0.08); }
.adp-band--soft { background: var(--adp-orange-soft); border: 1px solid rgba(232,114,26,0.2); }
.adp-band--soft::before,
.adp-band--soft::after { display: none; }
.adp-band__content { position: relative; z-index: 1; }
.adp-band__title {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    color: var(--adp-white);
    margin: 0 0 8px;
    line-height: 1.3;
}
.adp-band--orange .adp-band__title { color: var(--adp-white); }
.adp-band--soft .adp-band__title   { color: var(--adp-navy); }
.adp-band__text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0;
}
.adp-band--soft .adp-band__text { color: var(--adp-text-light); }


/* ================================================================
   12. COMPOSANTS — Grilles utilitaires (adp-grid)
   ================================================================ */

.adp-grid { display: grid; gap: 20px; }
.adp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.adp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.adp-grid--4 { grid-template-columns: repeat(4, 1fr); }
.adp-grid--2-1 { grid-template-columns: 2fr 1fr; }
.adp-grid--1-2 { grid-template-columns: 1fr 2fr; }

@media (max-width: 1024px) {
    .adp-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .adp-grid--2,
    .adp-grid--3,
    .adp-grid--4,
    .adp-grid--2-1,
    .adp-grid--1-2 { grid-template-columns: 1fr; }
    .adp-band { padding: 24px; }
    .adp-btn--full-mobile { width: 100%; justify-content: center; }
}

.adp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ================================================================
   13. HELIX — Cards articles page catégorie (.article-list .article)
   ================================================================ */

.article-list .article {
  border-radius: var(--adp-radius-md);
  border: 1px solid #D8DEE8;
  box-shadow: var(--adp-shadow-sm);
  transition: box-shadow var(--adp-transition), transform var(--adp-transition), border-color var(--adp-transition);
}
.article-list .article:hover {
  border-color: rgba(5,64,124,0.25);
  box-shadow: var(--adp-shadow-lg);
  transform: translateY(-3px);
}


/* ================================================================
   14. HUB — Modules articles par catégorie (mod-articlescategory)
   ================================================================ */

ul.mod-articlescategory {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
ul.mod-articlescategory li {
  background: var(--adp-white);
  border: 1px solid #D8DEE8;
  border-radius: var(--adp-radius-md);
  padding: 14px 16px;
  transition: box-shadow var(--adp-transition), transform var(--adp-transition), border-color var(--adp-transition);
}
ul.mod-articlescategory li:hover {
  border-color: rgba(5,64,124,0.25);
  box-shadow: var(--adp-shadow-lg);
  transform: translateY(-2px);
}
a.mod-articles-category-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--adp-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
a.mod-articles-category-title::after {
  content: '';
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8721A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}
a.mod-articles-category-title:hover { color: var(--adp-navy-light); }


/* ================================================================
   15. HELIX/JOOMLA — Badges article
   ================================================================ */

.related-article-title {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(232,114,26,0.1);
  color: var(--adp-orange) !important;
  font-family: var(--adp-font-title) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px 14px !important;
  border-radius: var(--adp-radius-pill);
  margin: 32px 0 16px !important;
  width: fit-content;
  box-sizing: border-box;
}

.category-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,64,124,0.08);
  font-family: var(--adp-font-title);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--adp-radius-pill);
  margin: 8px 0 0;
  box-sizing: border-box;
}
.category-name a { color: var(--adp-navy); text-decoration: none; }
.category-name a:hover { color: var(--adp-navy-light); }


/* ================================================================
   16. PAGES CATÉGORIES — Heroes
   ================================================================ */

.hero-cat {
  position: relative;
  border-radius: var(--adp-radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero-cat__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-cat__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,15,35,0.78) 0%, rgba(5,15,35,0.45) 55%, rgba(5,15,35,0.15) 100%);
  z-index: 1;
}
.hero-cat__content {
  position: relative;
  z-index: 2;
  padding: 48px 40px;
  max-width: 640px;
}
.hero-cat__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--adp-radius-pill);
  margin-bottom: 16px;
}
.hero-cat__tag svg {
  width: 11px;
  height: 11px;
  stroke: rgba(255,255,255,0.9);
  fill: none;
  stroke-width: 2.5;
}
.hero-cat__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.hero-cat__sub {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin: 0 0 20px;
}
.hero-cat__eeat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--adp-radius-pill);
  padding: 5px 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
.hero-cat__eeat svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.hero-cat--image .hero-cat__overlay {
  background: linear-gradient(90deg, rgba(5,15,35,0.78) 0%, rgba(5,15,35,0.45) 55%, rgba(5,15,35,0.15) 100%);
}
@media (max-width: 768px) {
  .hero-cat { min-height: 240px; }
  .hero-cat__content { padding: 32px 24px; }
  .hero-cat--image .hero-cat__overlay {
    background: linear-gradient(180deg, rgba(5,15,35,0.55) 0%, rgba(5,15,35,0.82) 100%);
  }
}
/* Hero catégorie "Comprendre les comportements au volant" — overlay violet 
#662AC9 */
.hero-cat--comportements .hero-cat__overlay {
  background: linear-gradient(90deg, rgba(102,42,201,0.80) 0%, rgba(102,42,201,0.48) 55%, rgba(5,15,35,0.20) 100%);
}
@media (max-width: 768px) {
  .hero-cat--comportements .hero-cat__overlay {
    background: linear-gradient(180deg, rgba(102,42,201,0.55) 0%, rgba(102,42,201,0.85) 100%);
  }
}

/* ================================================================
   17. CARDS ARTICLES — Arrondi des images intro
   ================================================================ */

.article-list .article { overflow: hidden; }

.article-list .article img,
.article-list .article .article-image img,
.article-list .article .article-intro-image img {
  border-radius: var(--adp-radius-md) var(--adp-radius-md) 0 0;
  display: block;
  width: 100%;
}
