/* ============================================
   Theme GDM — Front CSS — Premium Edition
   Design : Plus Jakarta Sans, violet #7c3aed, cuivre #d4a574
   Style : Linear / Stripe / Vercel
   ============================================ */

:root {
    --gdm-primary: #7c3aed;
    --gdm-primary-light: #a855f7;
    --gdm-cuivre: #d4a574;
    --gdm-dark: #0f0d15;
    --gdm-footer-bg: #1a0a2e;
    --gdm-white-warm: #faf8f5;
    --gdm-text: #0f0d15;
    --gdm-text-muted: #6b7280;
    --gdm-border-subtle: rgba(255,255,255,.06);
    --gdm-radius: 14px;
    --gdm-radius-sm: 8px;
    --gdm-font-headings: 'Plus Jakarta Sans', sans-serif;
    --gdm-font-body: 'Plus Jakarta Sans', sans-serif;
    --gdm-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #d4a574 100%);
    --gdm-header-h: 88px;
    --gdm-header-h-mobile: 64px;
    --gdm-header-fg: #0a0a0a;
    --gdm-header-bg: #ffffff;
    --gdm-header-border: rgba(10,10,10,.06);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--gdm-font-body);
    color: var(--gdm-text);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.gdm-page { display: flex; flex-direction: column; min-height: 100vh; }
.gdm-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.gdm-main--page .gdm-article__content { max-width: 800px; margin: 0 auto; }

/* ════════════════════════════════════════════
   HEADER — Premium Sticky + Blur
   ════════════════════════════════════════════ */

.gdm-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--gdm-header-bg);
    border-bottom: 1px solid transparent;
    color: var(--gdm-header-fg);
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.gdm-header--scrolled {
    border-bottom-color: var(--gdm-header-border);
}

/* Gradient line retirée — minimalist */
.gdm-header__gradient-line { display: none; }

/* Inner layout */
.gdm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: var(--gdm-header-h);
    gap: 32px;
}

/* ── Logo ── */
.gdm-header__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: inherit;
    transition: color .2s ease, opacity .2s ease;
    padding: 4px 0;
}

.gdm-header__logo:hover { opacity: .75; }

.gdm-header__logo img { height: 40px; width: auto; }

.gdm-header__logo-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    height: 52px;
}

.gdm-header__logo-mark svg {
    height: 100%;
    width: auto;
    display: block;
}

/* Legacy — n'est plus rendu mais on garde la classe pour compatibilité */
.gdm-header__logo-word { display: none; }

/* Legacy fallback (au cas où) */
.gdm-header__site-name {
    font-family: var(--gdm-font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -.01em;
    color: currentColor;
}

/* ── Nav ── */
.gdm-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.gdm-header__menu {
    list-style: none;
    display: flex;
    gap: 2px;
    padding: 0;
    margin: 0;
}

.gdm-header__menu-item { position: relative; }

.gdm-header__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: -.005em;
    color: currentColor;
    border-radius: var(--gdm-radius-sm);
    transition: color .15s ease, background .15s ease;
}

.gdm-header__link:hover {
    color: var(--gdm-primary);
    background: rgba(124,58,237,.05);
}
.gdm-header__menu-item--dropdown:hover > .gdm-header__link {
    color: var(--gdm-primary);
    background: rgba(124,58,237,.05);
}

.gdm-header__chevron {
    transition: transform .2s ease;
}

.gdm-header__menu-item--dropdown:hover .gdm-header__chevron {
    transform: rotate(180deg);
}

/* ── Dropdown ── */
.gdm-header__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 200;
}

.gdm-header__menu-item--dropdown:hover .gdm-header__dropdown {
    opacity: 1;
    visibility: visible;
}

.gdm-header__dropdown-inner {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--gdm-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.04);
    padding: 8px;
    min-width: 220px;
    display: grid;
    gap: 2px;
}

.gdm-header__dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: .88rem;
    font-weight: 500;
    color: #1f2937;
    border-radius: var(--gdm-radius-sm);
    transition: background .15s, color .15s;
}

.gdm-header__dropdown-link:hover {
    background: rgba(124, 58, 237, .06);
    color: var(--gdm-primary);
}

.gdm-header__dropdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.gdm-header__dropdown-link:hover .gdm-header__dropdown-dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 3px rgba(124,58,237,.08);
}

.gdm-header__dropdown-footer {
    border-top: 1px solid rgba(0,0,0,.06);
    margin-top: 4px;
    padding-top: 4px;
}

.gdm-header__dropdown-all {
    display: block;
    padding: 10px 16px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--gdm-primary);
    border-radius: var(--gdm-radius-sm);
    transition: background .15s;
}

.gdm-header__dropdown-all:hover {
    background: rgba(124, 58, 237, .06);
}

/* ── Mega-menu (Planifier) ── */
.gdm-header__mega-menu {
    left: 50%;
    transform: translateX(-50%);
}

.gdm-header__mega-menu .gdm-header__dropdown-inner {
    min-width: auto;
    padding: 0;
}

.gdm-header__mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 10px;
    min-width: 460px;
}

.gdm-header__mega-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background .15s ease;
    text-decoration: none;
}

.gdm-header__mega-item:hover {
    background: rgba(124, 58, 237, .05);
}

.gdm-header__mega-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(124, 58, 237, .08);
    color: var(--gdm-primary);
    flex-shrink: 0;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}

.gdm-header__mega-icon svg {
    display: block;
}

.gdm-header__mega-item:hover .gdm-header__mega-icon {
    background: var(--gdm-primary);
    color: #fff;
    transform: scale(1.04);
}

.gdm-header__mega-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.gdm-header__mega-item strong {
    font-size: .88rem;
    font-weight: 700;
    color: var(--gdm-text);
    letter-spacing: -.005em;
    line-height: 1.25;
}

.gdm-header__mega-item span {
    font-size: .76rem;
    color: var(--gdm-text-muted);
    line-height: 1.3;
    font-weight: 500;
}

.gdm-header__mega-item:hover strong {
    color: var(--gdm-primary);
}

.gdm-header__mega-menu .gdm-header__dropdown-footer {
    margin: 0;
    padding: 0 8px 8px;
    border-top: 1px solid rgba(0,0,0,.06);
    margin-top: 4px;
    padding-top: 4px;
}

/* ── Léa nav button ── */
.gdm-header__lea-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: .85rem;
    font-weight: 700;
    font-family: var(--gdm-font-body);
    color: var(--gdm-primary);
    background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(168,85,247,.1));
    border-radius: 99px;
    border: 1px solid rgba(124,58,237,.12);
    transition: all .2s ease;
    cursor: pointer;
}

.gdm-header__lea-nav:hover {
    background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(168,85,247,.16));
    border-color: rgba(124,58,237,.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, .12);
}

.gdm-header__lea-nav svg {
    color: var(--gdm-primary);
    animation: gdmSparkle 3s ease-in-out infinite;
}

/* ── CTA text link ── */
.gdm-header__cta--text {
    background: none;
    border: none;
    color: var(--gdm-text-muted);
    font-weight: 600;
    padding: 8px 12px;
}

.gdm-header__cta--text:hover {
    color: var(--gdm-primary);
}

/* ── CTA soft (connected state) ── */
.gdm-header__cta--soft {
    background: rgba(124, 58, 237, .08);
    color: var(--gdm-primary);
    border: 1px solid rgba(124,58,237,.12);
}

.gdm-header__cta--soft:hover {
    background: rgba(124, 58, 237, .14);
    border-color: rgba(124,58,237,.25);
    transform: translateY(-1px);
}

/* ── Actions droite ── */
.gdm-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Icon buttons */
.gdm-header__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--gdm-radius-sm);
    color: var(--gdm-text);
    transition: background .15s, color .15s;
    position: relative;
}

.gdm-header__icon-btn:hover {
    background: rgba(124, 58, 237, .06);
    color: var(--gdm-primary);
}

/* Message badge */
.gdm-header__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: gdmPulse 2s ease-in-out infinite;
}

@keyframes gdmPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: .7; }
}

/* Léa button */
.gdm-header__lea-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--gdm-primary);
    background: rgba(124, 58, 237, .08);
    border-radius: 99px;
    transition: background .2s, transform .15s, box-shadow .2s;
}

.gdm-header__lea-btn:hover {
    background: rgba(124, 58, 237, .14);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, .15);
}

.gdm-header__lea-btn svg {
    animation: gdmSparkle 3s ease-in-out infinite;
}

@keyframes gdmSparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(5deg); }
    75% { transform: scale(.95) rotate(-3deg); }
}

/* CTAs */
.gdm-header__cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 99px;
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s ease;
}

.gdm-header__cta--primary {
    background: var(--gdm-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, .25);
}

.gdm-header__cta--primary:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, .35);
}

.gdm-header__cta--ghost {
    color: var(--gdm-primary);
    border: 1.5px solid rgba(124, 58, 237, .25);
    background: transparent;
}

.gdm-header__cta--ghost:hover {
    border-color: var(--gdm-primary);
    background: rgba(124, 58, 237, .04);
}

/* ── Avatar ── */
.gdm-header__avatar-wrap { position: relative; }

.gdm-header__avatar-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color .2s;
    padding: 0;
}

.gdm-header__avatar-btn:hover,
.gdm-header__avatar-btn[aria-expanded="true"] {
    border-color: var(--gdm-primary);
}

.gdm-header__avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.gdm-header__avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--gdm-primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    border-radius: 50%;
}

/* Account dropdown */
.gdm-header__account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--gdm-radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    overflow: hidden;
    animation: gdmDropIn .2s ease;
}

@keyframes gdmDropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.gdm-header__account-header {
    padding: 16px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.gdm-header__account-header strong {
    display: block;
    font-size: .9rem;
}

.gdm-header__account-role {
    font-size: .75rem;
    color: var(--gdm-primary);
    font-weight: 600;
}

.gdm-header__account-links {
    padding: 8px;
}

.gdm-header__account-links a {
    display: block;
    padding: 8px 12px;
    font-size: .85rem;
    font-weight: 500;
    border-radius: var(--gdm-radius-sm);
    transition: background .15s, color .15s;
}

.gdm-header__account-links a:hover {
    background: rgba(124, 58, 237, .06);
    color: var(--gdm-primary);
}

.gdm-header__account-footer {
    padding: 8px;
    border-top: 1px solid rgba(0,0,0,.06);
}

.gdm-header__logout {
    display: block;
    padding: 8px 12px;
    font-size: .82rem;
    font-weight: 500;
    color: #ef4444;
    border-radius: var(--gdm-radius-sm);
    transition: background .15s;
}

.gdm-header__logout:hover {
    background: rgba(239, 68, 68, .06);
}

/* ── Search bar expandable ── */
.gdm-header__search-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--gdm-header-h);
    background: rgba(250, 248, 245, .98);
    backdrop-filter: blur(20px);
    z-index: 10;
    animation: gdmSlideDown .2s ease;
}

.gdm-header__search-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
}

.gdm-header__search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: var(--gdm-font-body);
    color: var(--gdm-text);
    outline: none;
}

.gdm-header__search-input::placeholder {
    color: var(--gdm-text-muted);
}

.gdm-header__search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--gdm-radius-sm);
    color: var(--gdm-text-muted);
    transition: background .15s, color .15s;
}

.gdm-header__search-close:hover {
    background: rgba(0,0,0,.04);
    color: var(--gdm-text);
}

/* ── Hamburger ── */
.gdm-header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: var(--gdm-radius-sm);
    transition: background .15s;
}

.gdm-header__hamburger:hover { background: rgba(0,0,0,.04); }

.gdm-header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.gdm-header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gdm-header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.gdm-header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HEADER — Mode "over hero" (landings pleines)
   Activé via classe body.gdm-has-hero
   Au top : transparent + texte blanc. Au scroll : bascule blanc solide.
   ══════════════════════════════════════════ */

/* Hero pleine-page : wrapper neutralisé pour laisser l'accueil-7 et les landings
   prendre toute la largeur. Le header reste SOLIDE au-dessus (pas de mode transparent). */
body.gdm-has-hero .gdm-main,
body.gdm-has-hero #gdm-main {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: none !important;
}

body.gdm-has-hero .gdm-main .gdm-article,
body.gdm-has-hero .gdm-main .gdm-article__content,
body.gdm-has-hero .gdm-main .gdm-article__content > p {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.gdm-has-hero .gdm-main .gdm-article__content > p:empty,
body.gdm-has-hero .gdm-main .gdm-article__content > br {
    display: none !important;
}

/* ══════════════════════════════════════════
   MOBILE MENU — Premium full-screen overlay
   ══════════════════════════════════════════ */
.gdm-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.gdm-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 13, 21, .5);
    animation: gdmFadeIn .25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@keyframes gdmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gdm-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: 440px;
    background:
        radial-gradient(ellipse 80% 40% at 100% 0%, rgba(168,85,247,.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(124,58,237,.25) 0%, transparent 60%),
        linear-gradient(180deg, #1a0a2e 0%, #0f0620 100%);
    color: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: gdmSlideInRight .35s cubic-bezier(.22,1,.36,1);
    box-shadow: -20px 0 60px rgba(0,0,0,.3);
    display: flex;
    flex-direction: column;
}

@keyframes gdmSlideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.gdm-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 8px;
    flex-shrink: 0;
}

.gdm-mobile-menu__header-logo {
    color: #fff;
    display: inline-flex;
    align-items: center;
    height: 36px;
    opacity: .9;
}
.gdm-mobile-menu__header-logo svg { height: 100%; width: auto; }

.gdm-mobile-menu__close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    transition: background .2s ease, transform .2s ease;
}
.gdm-mobile-menu__close:hover,
.gdm-mobile-menu__close:active {
    background: rgba(255,255,255,.16);
    transform: rotate(90deg);
}

/* Body scroll area */
.gdm-mobile-menu__body {
    flex: 1;
    padding: 24px 24px 120px;
    overflow-y: auto;
}

/* CTA wrap (sticky bas) */
.gdm-mobile-menu__cta-wrap {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(15,6,32,0) 0%, rgba(15,6,32,.95) 40%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-shrink: 0;
}
.gdm-mobile-menu__cta-wrap .gdm-btn--primary,
.gdm-mobile-menu__cta-wrap > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    background: #fff;
    color: var(--gdm-dark);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    transition: transform .2s ease;
}
.gdm-mobile-menu__cta-wrap > a:active {
    transform: scale(.98);
}

/* Section header (label) */
.gdm-mobile-menu__section-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.4);
    margin: 28px 4px 10px;
}
.gdm-mobile-menu__section-label:first-child { margin-top: 0; }

/* Nav principal — gros liens */
.gdm-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gdm-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    border-radius: 12px;
    transition: background .15s ease;
    letter-spacing: -.01em;
}
.gdm-mobile-menu__link:hover,
.gdm-mobile-menu__link:active {
    background: rgba(255,255,255,.08);
}

.gdm-mobile-menu__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.9);
    flex-shrink: 0;
    transition: background .2s ease;
}
.gdm-mobile-menu__link:hover .gdm-mobile-menu__link-icon {
    background: rgba(255,255,255,.16);
}

/* Accordéon */
.gdm-mobile-menu__accordion {
    border-radius: 12px;
    overflow: hidden;
    margin: 2px 0;
}
.gdm-mobile-menu__accordion.is-open {
    background: rgba(255,255,255,.04);
}

.gdm-mobile-menu__accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 12px;
    font-size: 1.15rem;
    font-weight: 600;
    font-family: var(--gdm-font-body);
    color: #fff;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
    letter-spacing: -.01em;
    border-radius: 12px;
}
.gdm-mobile-menu__accordion-btn:hover,
.gdm-mobile-menu__accordion-btn:active {
    background: rgba(255,255,255,.08);
}

.gdm-mobile-menu__accordion-btn > span:first-child {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gdm-mobile-menu__chevron {
    transition: transform .25s ease;
    flex-shrink: 0;
    color: rgba(255,255,255,.5);
}
.gdm-mobile-menu__accordion.is-open .gdm-mobile-menu__chevron {
    transform: rotate(180deg);
    color: rgba(255,255,255,.9);
}

.gdm-mobile-menu__accordion-body {
    padding: 4px 12px 12px 66px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: gdmAccBody .25s ease;
}
.gdm-mobile-menu__accordion-body[hidden] { display: none; }
@keyframes gdmAccBody {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.gdm-mobile-menu__accordion-body a {
    display: block;
    padding: 10px 12px;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.gdm-mobile-menu__accordion-body a:hover,
.gdm-mobile-menu__accordion-body a:active {
    background: rgba(255,255,255,.06);
    color: #fff;
}

.gdm-mobile-menu__see-all {
    font-weight: 700 !important;
    color: #fff !important;
    margin-top: 4px;
}

/* Secondary links (bas) */
.gdm-mobile-menu__secondary {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gdm-mobile-menu__secondary a {
    padding: 10px 12px;
    font-size: .9rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    transition: color .15s;
    border-radius: 8px;
}
.gdm-mobile-menu__secondary a:hover,
.gdm-mobile-menu__secondary a:active {
    color: #fff;
    background: rgba(255,255,255,.06);
}

/* ════════════════════════════════════════════
   FOOTER — Premium Dark Violet
   ════════════════════════════════════════════ */

.gdm-footer {
    background: var(--gdm-footer-bg);
    color: #e0d8ef;
    padding: 0;
    position: relative;
}

/* Gradient line top */
.gdm-footer__gradient-line {
    height: 3px;
    background: var(--gdm-gradient);
}

.gdm-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 32px 0;
}

.gdm-footer__top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

/* Column 1 — Brand */
.gdm-footer__brand-col {}

.gdm-footer__brand-logo { margin-bottom: 16px; }
.gdm-footer__brand-logo img { height: 40px; filter: brightness(2); }
.gdm-footer__brand-name {
    font-family: var(--gdm-font-headings);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.gdm-footer__tagline {
    font-size: .9rem;
    line-height: 1.5;
    opacity: .7;
    margin-bottom: 20px;
}

.gdm-footer__social {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.gdm-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: #e0d8ef;
    border: 1px solid rgba(255,255,255,.06);
    transition: all .2s ease;
}

.gdm-footer__social-link:hover {
    background: var(--gdm-primary);
    border-color: var(--gdm-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Léa mini-widget */
.gdm-footer__lea {
    padding: 14px 16px;
    background: rgba(124, 58, 237, .1);
    border: 1px solid rgba(124, 58, 237, .15);
    border-radius: var(--gdm-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background .2s, border-color .2s;
    cursor: pointer;
}

.gdm-footer__lea:hover {
    background: rgba(124, 58, 237, .18);
    border-color: rgba(124, 58, 237, .3);
}

.gdm-footer__lea-icon {
    font-size: 1.2rem;
}

.gdm-footer__lea-text {
    font-size: .82rem;
    font-weight: 600;
    color: #c4b5fd;
}

/* Columns */
.gdm-footer__col {}

.gdm-footer__col-title {
    font-family: var(--gdm-font-headings);
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.4);
    margin-bottom: 18px;
}

.gdm-footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gdm-footer__menu li { margin-bottom: 10px; }

.gdm-footer__menu a {
    font-size: .875rem;
    color: #c4b5fd;
    transition: color .15s;
}

.gdm-footer__menu a:hover {
    color: var(--gdm-cuivre);
}

/* Trust bar */
.gdm-footer__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.gdm-footer__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.4);
}

.gdm-footer__trust-icon { font-size: 1rem; }

/* CTA banner */
.gdm-footer__cta-banner {
    max-width: 600px;
    margin: 32px auto;
    padding: 24px 32px;
    background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(212,165,116,.08));
    border: 1px solid rgba(124, 58, 237, .15);
    border-radius: var(--gdm-radius);
    text-align: center;
}

.gdm-footer__cta-text {
    font-size: .9rem;
    color: #c4b5fd;
    margin-bottom: 14px;
}

.gdm-footer__cta-text strong {
    color: #fff;
    font-weight: 700;
}

.gdm-footer__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    background: var(--gdm-primary);
    color: #fff;
    border-radius: 99px;
    font-weight: 700;
    font-size: .875rem;
    transition: all .2s ease;
    border: none;
}

.gdm-footer__cta-btn:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124, 58, 237, .35);
}

/* Bottom bar */
.gdm-footer__bottom {
    padding: 20px 32px;
    text-align: center;
    font-size: .75rem;
    color: rgba(255,255,255,.25);
    max-width: 1200px;
    margin: 0 auto;
}

.gdm-footer__bottom a { color: rgba(255,255,255,.35); transition: color .15s; }
.gdm-footer__bottom a:hover { color: var(--gdm-cuivre); }

.gdm-footer__signature {
    margin-bottom: 4px;
    color: rgba(255,255,255,.35);
}

.gdm-footer__reunion {
    color: var(--gdm-cuivre);
    font-weight: 600;
}

/* ════════════════════════════════════════════
   BLOG
   ════════════════════════════════════════════ */

.gdm-archive-header { margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.gdm-archive-header__title { font-family: var(--gdm-font-headings); font-size: 2rem; font-weight: 800; }

.gdm-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }

.gdm-post-card {
    background: #fff;
    border-radius: var(--gdm-radius);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.04);
    transition: box-shadow .25s, transform .25s;
}

.gdm-post-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transform: translateY(-3px);
}

.gdm-post-card__thumb img { width: 100%; height: 200px; object-fit: cover; }
.gdm-post-card__body { padding: 20px; }
.gdm-post-card__title { font-family: var(--gdm-font-headings); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.gdm-post-card__title a:hover { color: var(--gdm-primary); }
.gdm-post-card__date { font-size: .78rem; color: var(--gdm-text-muted); display: block; margin-bottom: 8px; }
.gdm-post-card__excerpt { font-size: .85rem; color: #555; line-height: 1.5; }

/* Single */
.gdm-article--single { max-width: 760px; margin: 0 auto; }
.gdm-article__header { margin-bottom: 32px; }
.gdm-article__title { font-family: var(--gdm-font-headings); font-size: 2.2rem; font-weight: 800; line-height: 1.2; }
.gdm-article__meta { margin-top: 12px; font-size: .85rem; color: var(--gdm-text-muted); display: flex; gap: 16px; }
.gdm-article__thumbnail { margin-bottom: 32px; border-radius: var(--gdm-radius); overflow: hidden; }
.gdm-article__content { font-size: 1.05rem; line-height: 1.8; }
.gdm-article__content h2 { font-family: var(--gdm-font-headings); font-size: 1.5rem; font-weight: 700; margin: 2em 0 .5em; }
.gdm-article__content h3 { font-family: var(--gdm-font-headings); font-size: 1.25rem; font-weight: 700; margin: 1.5em 0 .5em; }
.gdm-article__content p { margin-bottom: 1em; }
.gdm-article__content a { color: var(--gdm-primary); text-decoration: underline; }
.gdm-article__content img { border-radius: var(--gdm-radius); margin: 1.5em 0; }
.gdm-article__content blockquote { border-left: 3px solid var(--gdm-primary); padding: 12px 20px; margin: 1.5em 0; background: #faf8ff; border-radius: 0 var(--gdm-radius) var(--gdm-radius) 0; }

.gdm-post-nav { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid #eee; }
.gdm-post-nav a { color: var(--gdm-primary); font-weight: 600; }

.gdm-pagination { margin-top: 40px; text-align: center; }
.gdm-pagination .nav-links { display: flex; gap: 6px; justify-content: center; }
.gdm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: var(--gdm-radius-sm); font-size: .85rem; font-weight: 600; background: rgba(0,0,0,.03); transition: all .15s; }
.gdm-pagination .page-numbers.current, .gdm-pagination .page-numbers:hover { background: var(--gdm-primary); color: #fff; }

/* ── 404 ── */
.gdm-404 { text-align: center; padding: 80px 20px; }
.gdm-404__icon { font-family: var(--gdm-font-headings); font-size: 6rem; font-weight: 800; background: var(--gdm-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px; }
.gdm-404__title { font-family: var(--gdm-font-headings); font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.gdm-404__text { color: #666; margin-bottom: 28px; }
.gdm-404__btn { display: inline-flex; padding: 14px 28px; background: var(--gdm-primary); color: #fff; border-radius: 99px; font-weight: 700; transition: transform .15s, box-shadow .15s; }
.gdm-404__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124, 58, 237, .3); }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .gdm-header__nav { display: none; }
    .gdm-header__hamburger { display: flex; }
    .gdm-header__cta--ghost { display: none; }
    .gdm-header__cta--text { display: none; }
    .gdm-header__cta--soft { display: none; }
    .gdm-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    /* Header mobile : hauteur réduite, logo plus compact, search masqué */
    .gdm-header__inner {
        padding: 0 16px;
        height: var(--gdm-header-h-mobile);
        gap: 12px;
    }
    .gdm-header__logo-mark { height: 40px; color: #5f00d4; }
    .gdm-header__search-toggle { display: none; }
    .gdm-header__icon-btn:not(.gdm-header__search-toggle) {
        width: 40px;
        height: 40px;
    }

    .gdm-header__cta--primary { padding: 8px 14px; font-size: .75rem; }

    /* Footer mobile — accordéons */
    .gdm-footer__top { grid-template-columns: 1fr; gap: 0; }

    .gdm-footer__brand-col {
        padding-bottom: 20px;
        margin-bottom: 4px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .gdm-footer__lea { display: none; }

    .gdm-footer__col { border-bottom: 1px solid rgba(255,255,255,.06); }

    .gdm-footer__col-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        padding: 16px 0;
        margin-bottom: 0;
    }

    .gdm-footer__col-title::after {
        content: '+';
        font-size: 1.2rem;
        color: rgba(255,255,255,.3);
        transition: transform .2s;
    }

    .gdm-footer__col.is-open .gdm-footer__col-title::after { transform: rotate(45deg); }

    .gdm-footer__menu { display: none; padding-bottom: 12px; }
    .gdm-footer__col.is-open .gdm-footer__menu { display: block; }

    .gdm-footer__cta-banner { display: none; }
    .gdm-footer__trust { flex-wrap: wrap; gap: 16px; font-size: .72rem; }
    .gdm-footer__bottom { text-align: center; }
    .gdm-footer__social { justify-content: center; }

    .gdm-posts-grid { grid-template-columns: 1fr; }
    .gdm-article__title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .gdm-header__cta { display: none; }
    .gdm-footer__inner { padding: 40px 20px 0; }
}

/* WP Admin bar offset */
.admin-bar .gdm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gdm-header { top: 46px; } }
