/* ==========================================================================
   Header VITA Explorers — templates/themes/vita/inc/header.html.twig
   Maquette Claude Design « Menu responsive VITA — propositions »
     ≥ 1360 px     : menu sur une ligne (1)
     1200–1359 px  : même ligne, espacements resserrés
     768–1199 px   : tiroir latéral (3)
     < 768 px      : tiroir plein écran (4)
   Méga-menu : proposition B (onglets)
   Toutes les règles sont préfixées .vx- pour ne pas hériter du thème
   (#header, .navbar…) ni le modifier.
   ========================================================================== */

.vx-header {
    --vx-navy: #1F2F86;
    --vx-accent: #2F52C4;
    --vx-ink-muted: #4A5375;
    --vx-line: #E3E7F2;
    --vx-soft: #F5F7FC;
    --vx-soft-2: #EEF1FA;
    --vx-font: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --vx-font-text: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;

    position: relative;
    z-index: 1000;
    min-width: 320px;
    font-family: var(--vx-font);
    color: var(--vx-navy);
    -webkit-font-smoothing: antialiased;
}

.vx-header *,
.vx-header *::before,
.vx-header *::after { box-sizing: border-box; }

.vx-header a,
.vx-header a:hover,
.vx-header a:focus { text-decoration: none; }

.vx-header ul { list-style: none; margin: 0; padding: 0; }
.vx-header p { margin: 0; }

.vx-header button {
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    margin: 0;
    cursor: pointer;
}

.vx-header :focus-visible {
    outline: 2px solid var(--vx-accent);
    outline-offset: 2px;
}

.vx-icon { flex-shrink: 0; display: block; }

.vx-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Tuiles d'icônes (version « B+ » de la maquette)
   -------------------------------------------------------------------------- */
.vx-tone--orange { --vx-tone-bg: #FDEBDD; --vx-tone-fg: #A84A12; }
.vx-tone--yellow { --vx-tone-bg: #FFF1C7; --vx-tone-fg: #805A00; }
.vx-tone--green  { --vx-tone-bg: #DFF3E7; --vx-tone-fg: #1D6E42; }
.vx-tone--blue   { --vx-tone-bg: #E4EBFF; --vx-tone-fg: #2F52C4; }
.vx-tone--teal   { --vx-tone-bg: #DCF3F5; --vx-tone-fg: #0F6E77; }
.vx-tone--pink   { --vx-tone-bg: #FBE4EC; --vx-tone-fg: #A62C57; }
.vx-tone--violet { --vx-tone-bg: #ECE6FB; --vx-tone-fg: #5B3FB0; }

.vx-tile {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vx-tone-bg, var(--vx-soft-2));
    color: var(--vx-tone-fg, var(--vx-accent));
}
.vx-tile .vx-icon { stroke-width: 1.9; }
.vx-tile--xs { width: 28px; height: 28px; border-radius: 8px; }
.vx-tile--xs .vx-icon { width: 14px; height: 14px; stroke-width: 2; }
.vx-tile--sm { width: 30px; height: 30px; border-radius: 9px; }
.vx-tile--sm .vx-icon { width: 16px; height: 16px; }
.vx-tile--md { width: 36px; height: 36px; border-radius: 10px; }
.vx-tile--md .vx-icon { width: 18px; height: 18px; }
.vx-tile--lg { width: 56px; height: 56px; border-radius: 16px; }
.vx-tile--lg .vx-icon { width: 26px; height: 26px; stroke-width: 1.8; }

/* --------------------------------------------------------------------------
   Bandeau supérieur
   -------------------------------------------------------------------------- */
.vx-top {
    position: relative;
    z-index: 3;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    padding: 0 40px;
    background: var(--vx-navy);
    font-family: var(--vx-font-text);
    font-size: 14px;
}

.vx-header .vx-top__link,
.vx-header .vx-top__link:hover,
.vx-header .vx-top__link:focus {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    white-space: nowrap;
}
.vx-header .vx-top__link:hover { opacity: .85; }

.vx-top__link--pill {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Ligne principale
   -------------------------------------------------------------------------- */
.vx-main {
    position: relative;
    z-index: 3;
    height: 88px;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 40px;
    background: #ffffff;
    border-bottom: 1px solid var(--vx-line);
}

.vx-logo { display: block; flex-shrink: 0; }
.vx-logo img {
    display: block;
    width: 172px;
    height: 60px;
    object-fit: contain;
}

.vx-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }

.vx-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vx-nav__item { position: static; }

.vx-header .vx-nav__toggle,
.vx-header .vx-nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 12px;
    color: var(--vx-navy);
    border-radius: 999px;
    transition: background-color .15s, color .15s;
}
.vx-nav__toggle .vx-icon--chevron { width: 12px; height: 12px; transition: transform .2s; }

.vx-header .vx-nav__link:hover,
.vx-header .vx-nav__toggle:hover { color: var(--vx-accent); }

.vx-header .vx-nav__toggle[aria-expanded="true"] {
    color: var(--vx-accent);
    background: var(--vx-soft-2);
    padding: 12px 14px;
}
.vx-nav__toggle[aria-expanded="true"] .vx-icon--chevron { transform: rotate(180deg); }

/* Entrée « lien + chevron » : le libellé mène à la page catégorie,
   le chevron (ou le survol) ouvre le méga-menu */
.vx-nav__item--split {
    display: flex;
    align-items: center;
    border-radius: 999px;
    transition: background-color .15s;
}
.vx-header .vx-nav__parent {
    display: flex;
    align-items: center;
    padding: 12px 2px 12px 12px;
    color: var(--vx-navy);
}
.vx-header .vx-nav__parent:hover { color: var(--vx-accent); }
.vx-header .vx-nav__toggle--icon,
.vx-header .vx-nav__toggle--icon[aria-expanded="true"] {
    min-width: 28px;
    justify-content: center;
    padding: 12px 10px 12px 4px;
    background: transparent;
}
.vx-nav__item--split.is-open { background: var(--vx-soft-2); }
.vx-header .vx-nav__item--split.is-open .vx-nav__parent,
.vx-header .vx-nav__item--split.is-open .vx-nav__toggle { color: var(--vx-accent); }

.vx-header .vx-cta,
.vx-header .vx-cta:hover,
.vx-header .vx-cta:focus {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    background: var(--vx-accent);
    color: #ffffff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.vx-header .vx-cta:hover { background: var(--vx-navy); }

.vx-burger { display: none; }

/* --------------------------------------------------------------------------
   Méga-menu — proposition B (onglets)
   -------------------------------------------------------------------------- */
.vx-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(15, 22, 60, .55);
}

.vx-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 300px;
    min-height: 420px;
    max-height: calc(100vh - 128px);
    background: #ffffff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 24px 48px rgba(15, 22, 60, .22);
    overflow: hidden;
    white-space: normal;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}
.vx-mega[hidden] { display: none; }

/* Rail d'onglets */
.vx-mega__rail {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 16px 24px 24px;
    background: var(--vx-soft);
    border-right: 1px solid var(--vx-line);
    overflow-y: auto;
}

.vx-mega__eyebrow {
    margin: 0 0 8px 12px !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--vx-ink-muted);
}
.vx-mega__eyebrow--sep {
    margin-top: 14px !important;
    padding-top: 14px;
    border-top: 1px solid #DCE2F3;
}

.vx-header .vx-mega__tab {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    color: var(--vx-navy);
    border-radius: 12px;
}
.vx-header .vx-mega__tab:hover { background: rgba(255, 255, 255, .6); }
.vx-header .vx-mega__tab[aria-selected="true"] {
    font-weight: 700;
    color: var(--vx-accent);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(31, 47, 134, .10);
}

.vx-mega__tabmeta { display: flex; align-items: center; gap: 8px; }
.vx-mega__tabmeta .vx-icon { width: 14px; height: 14px; transform: rotate(-90deg); }

.vx-badge {
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--vx-line);
    color: var(--vx-ink-muted);
}
.vx-mega__tab[aria-selected="true"] .vx-badge { background: var(--vx-soft-2); color: var(--vx-accent); }

/* Panneau central */
.vx-mega__pane {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    padding: 28px 36px;
    overflow-y: auto;
}
.vx-mega__pane[hidden] { display: none; }

.vx-mega__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}
.vx-mega__title { font-size: 24px; font-weight: 700; color: var(--vx-navy); line-height: 1.25; }
.vx-mega__sub { margin-top: 4px !important; font-family: var(--vx-font-text); font-size: 14px; color: var(--vx-ink-muted); }

.vx-header .vx-mega__all {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--vx-accent);
}
.vx-mega__all .vx-icon { width: 14px; height: 14px; }

.vx-mega__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 12px;
    font-family: var(--vx-font-text);
    font-size: 15px;
}
.vx-header .vx-mega__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid var(--vx-soft-2);
    border-radius: 10px;
    color: var(--vx-navy);
    line-height: 1.3;
}
.vx-header .vx-mega__links a::after {
    content: "";
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid #9AA6CC;
    border-right: 2px solid #9AA6CC;
    transform: rotate(45deg);
}
.vx-header .vx-mega__links a:hover {
    color: var(--vx-accent);
    border-color: #C9D2EC;
    background: var(--vx-soft);
}

/* Carte rendez-vous */
.vx-mega__card {
    grid-column: 3;
    grid-row: 1;
    margin: 24px 24px 24px 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 16px;
    background: var(--vx-navy);
    color: #ffffff;
}
.vx-mega__cardtitle { font-size: 20px; font-weight: 700; line-height: 1.3; }
.vx-mega__cardtext { flex: 1; font-family: var(--vx-font-text); font-size: 15px; line-height: 1.5; color: #D5DCF3; }

.vx-header .vx-mega__btn,
.vx-header .vx-mega__btn:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--vx-navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.vx-header .vx-mega__tel,
.vx-header .vx-mega__tel:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    color: #ffffff;
    font-family: var(--vx-font-text);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   1200–1359 px : la même ligne, resserrée
   -------------------------------------------------------------------------- */
@media (max-width: 1359px) {
    .vx-main { gap: 20px; padding: 0 24px; }
    .vx-top { padding: 0 24px; gap: 20px; }
    .vx-logo img { width: 140px; height: 50px; }
    .vx-nav__list { gap: 0; font-size: 12px; letter-spacing: .02em; }
    .vx-header .vx-nav__toggle,
    .vx-header .vx-nav__link { padding: 10px 8px; }
    .vx-header .vx-nav__toggle[aria-expanded="true"] { padding: 10px 10px; }
    .vx-header .vx-nav__parent { padding: 10px 2px 10px 8px; }
    .vx-header .vx-nav__toggle--icon,
    .vx-header .vx-nav__toggle--icon[aria-expanded="true"] { padding: 10px 8px 10px 2px; }
    .vx-header .vx-cta { padding: 0 18px; }
    .vx-mega { grid-template-columns: 260px minmax(0, 1fr) 260px; }
}

/* --------------------------------------------------------------------------
   Tiroir (< 1200 px)
   -------------------------------------------------------------------------- */
.vx-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    width: 400px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: -12px 0 32px rgba(15, 22, 60, .25);
}
.vx-drawer[hidden] { display: none; }

.vx-drawer__head {
    flex-shrink: 0;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 24px;
    border-bottom: 1px solid var(--vx-line);
}
.vx-drawer__logo { display: none; }
.vx-drawer__logo img { display: block; width: 112px; height: 40px; object-fit: contain; }
.vx-drawer__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #5A6383;
}
.vx-header .vx-drawer__close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vx-navy);
}
.vx-drawer__close .vx-icon { width: 22px; height: 22px; }

.vx-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 0; -webkit-overflow-scrolling: touch; }

.vx-acc { font-size: 15px; font-weight: 600; }
.vx-acc__item { border-bottom: 1px solid var(--vx-soft-2); }
.vx-acc__item:last-child { border-bottom: 0; }

.vx-header .vx-acc__toggle,
.vx-header .vx-acc__link {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    text-align: left;
    color: var(--vx-navy);
}
.vx-header .vx-acc__toggle[aria-expanded="true"] { color: var(--vx-accent); }
.vx-acc__toggle > .vx-icon--chevron { width: 16px; height: 16px; transition: transform .2s; }
.vx-acc__toggle[aria-expanded="true"] > .vx-icon--chevron { transform: rotate(180deg); }

.vx-acc__panel { padding: 0 24px 16px; display: flex; flex-direction: column; gap: 6px; }
.vx-acc__panel[hidden] { display: none; }

.vx-group { border-radius: 8px; background: var(--vx-soft); }
.vx-group__summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vx-navy);
    cursor: pointer;
    list-style: none;
}
.vx-group__summary::-webkit-details-marker { display: none; }
.vx-group__summary > .vx-icon--chevron { margin-left: auto; width: 14px; height: 14px; transition: transform .2s; }
.vx-group[open] > .vx-group__summary > .vx-icon--chevron { transform: rotate(180deg); }
.vx-group .vx-count { font-family: var(--vx-font-text); font-size: 12px; font-weight: 500; color: var(--vx-ink-muted); }

.vx-header .vx-group__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    padding: 0 12px 12px;
    font-family: var(--vx-font-text);
    font-size: 14px;
    font-weight: 400;
}
.vx-header .vx-group__links a {
    display: flex;
    align-items: center;
    min-height: 40px;
    color: var(--vx-navy);
    line-height: 1.3;
}
.vx-header .vx-group__links a:hover { color: var(--vx-accent); }

.vx-header .vx-acc__all {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--vx-accent);
}
.vx-acc__all .vx-icon { width: 14px; height: 14px; }

.vx-drawer__foot {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--vx-line);
    background: var(--vx-soft);
}
.vx-header .vx-drawer__cta,
.vx-header .vx-drawer__cta:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    background: var(--vx-accent);
    color: #ffffff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.vx-drawer__pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    font-family: var(--vx-font-text);
    font-size: 14px;
}
.vx-header .vx-drawer__pill,
.vx-header .vx-drawer__pill:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    border: 1px solid #C9D2EC;
    border-radius: 999px;
    background: #ffffff;
    color: var(--vx-navy);
}

html.vx-locked,
html.vx-locked body { overflow: hidden; }

/* --------------------------------------------------------------------------
   Tablette 768–1199 px
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .vx-top__link--wide { display: none; }
    .vx-main { height: 76px; gap: 16px; padding: 0 24px; }
    .vx-nav { display: none; }
    .vx-header .vx-cta { margin-left: auto; padding: 0 20px; }

    .vx-header .vx-burger {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        height: 44px;
        padding: 0 16px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--vx-navy);
        background: var(--vx-soft-2);
        border-radius: 999px;
    }
    .vx-burger .vx-icon { width: 20px; height: 20px; }
}

/* Le méga-menu n'existe qu'en desktop, le tiroir qu'en dessous */
@media (min-width: 1200px) {
    .vx-drawer { display: none !important; }
}
@media (max-width: 1199px) {
    .vx-mega { display: none !important; }
}

/* --------------------------------------------------------------------------
   Mobile < 768 px
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .vx-top { height: 36px; justify-content: space-between; padding: 0 16px; font-size: 13px; }
    .vx-top__link .vx-icon { width: 14px; height: 14px; }
    .vx-top__link--pill { padding: 0; border: 0; }

    .vx-main { height: 64px; padding: 0 8px 0 16px; }
    .vx-logo img { width: 112px; height: 40px; }
    .vx-header .vx-cta { display: none; }

    .vx-header .vx-burger {
        margin-left: auto;
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
        background: transparent;
    }
    .vx-burger .vx-icon { width: 26px; height: 26px; }
    .vx-burger__label { display: none; }

    .vx-drawer { width: 100%; box-shadow: none; }
    .vx-drawer__head { height: 64px; padding: 0 8px 0 16px; }
    .vx-drawer__logo { display: block; }
    .vx-drawer__title { display: none; }
    .vx-acc { font-size: 16px; }
    .vx-header .vx-acc__toggle,
    .vx-header .vx-acc__link { padding: 0 20px; }
    .vx-acc__panel { padding: 0 20px 16px; }
    .vx-drawer__foot { padding: 16px 20px 24px; background: #ffffff; }
}

@media (prefers-reduced-motion: reduce) {
    .vx-header * { transition: none !important; }
}

/* ==========================================================================
   Version avec icônes (« B+ ») — compléments
   ========================================================================== */

/* Menu principal : volontairement sans icône (épuré) ; seul « Kontakt » en porte une */
.vx-header .vx-cta { gap: 8px; }

/* Rail d'onglets */
.vx-header .vx-mega__tab { min-height: 52px; padding: 0 10px 0 8px; border-radius: 14px; }
.vx-mega__tabname { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vx-mega__tab .vx-tile--sm { width: 36px; height: 36px; border-radius: 10px; }
.vx-mega__tab .vx-tile--sm .vx-icon { width: 18px; height: 18px; }

/* En-tête du panneau */
.vx-mega__head { align-items: center; }
.vx-mega__headtext { display: flex; align-items: center; gap: 16px; min-width: 0; }
.vx-header .vx-mega__all {
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--vx-soft-2);
}
.vx-header .vx-mega__all:hover { background: #E4EBFF; }

/* Puces : tuile + libellé + flèche */
.vx-mega__links { gap: 8px 12px; }
.vx-header .vx-mega__links a {
    gap: 10px;
    min-height: 44px;
    padding: 6px 12px 6px 8px;
    border-radius: 12px;
    transition: background-color .15s, border-color .15s, transform .15s;
}
.vx-header .vx-mega__links a::after { opacity: .45; transition: opacity .15s, transform .15s; border-color: var(--vx-accent); }
.vx-header .vx-mega__links a:hover { transform: translateY(-1px); }
.vx-header .vx-mega__links a:hover::after { opacity: 1; transform: translateX(2px) rotate(45deg); }
.vx-link__label { flex: 1; min-width: 0; }

/* Carte rendez-vous */
.vx-mega__card { position: relative; overflow: hidden; border-radius: 18px; }
.vx-mega__card > * { position: relative; }
.vx-header .vx-mega__card > .vx-mega__globe {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    color: #ffffff;
    opacity: .12;
    pointer-events: none;
}
.vx-mega__cardicon {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vx-mega__cardicon .vx-icon { width: 28px; height: 28px; stroke-width: 1.8; }
.vx-header .vx-mega__btn { gap: 10px; }

/* Tiroir : tuiles devant les sections, les groupes et les liens */
.vx-header .vx-acc__toggle,
.vx-header .vx-acc__link { gap: 14px; padding-left: 16px; }
.vx-acc__label { flex: 1; }
.vx-acc__plain {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--vx-ink-muted);
}
.vx-acc__plain .vx-icon { width: 18px; height: 18px; stroke-width: 1.9; }

.vx-group { border-radius: 12px; }
.vx-group__summary { gap: 10px; min-height: 52px; padding: 0 12px 0 10px; }
.vx-group__name { flex: 1; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.vx-header .vx-group__links { padding-left: 50px; }

.vx-header .vx-drawer__cta { gap: 10px; }
.vx-drawer__cta .vx-icon { width: 18px; height: 18px; }

@media (max-width: 767px) {
    .vx-header .vx-acc__toggle,
    .vx-header .vx-acc__link { padding-left: 16px; }
    .vx-header .vx-group__links { padding-left: 12px; }
}
