/* ============================================================
   FESTIVAL HAÏTI EN FOLIE — Design System CSS
   Version: 3.0 · Light Premium · Responsive & Mobile-First
   ============================================================ */

@layer reset, tokens, base, layout, components, sections, utilities, animations;

/* ============================================================
   LAYER: TOKENS
   ============================================================ */
@layer tokens {
  :root {
    /* Palette */
    --hef-rouge:       #E8001E;
    --hef-rouge-dark:  #B80018;
    --hef-rouge-light: #FFE0E4;
    --hef-bleu:        #E8001E;
    --hef-bleu-dark:   #B80018;
    --hef-bleu-light:  #FFF6E0;
    --hef-or:          #F5A800;
    --hef-or-dark:     #C98900;
    --hef-or-light:    #FFF6E0;
    --hef-noir:        #1A0800;
    --hef-creme:       #FAF6F0;

    /* Surfaces */
    --surface-primary:   #FFFFFF;
    --surface-secondary: #FAF6F0;
    --surface-card:      #FFFFFF;
    --surface-dark:      #1A0800;
    --surface-dark-2:    #2D1000;
    --border-subtle:     #E5E7EB;
    --border-medium:     #D1D5DB;

    /* Text */
    --text-primary:   #1A0800;
    --text-secondary: #4B5563;
    --text-muted:     #6B7280;
    --text-faint:     #9CA3AF;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
    --fs-hero:      clamp(2.75rem, 2rem + 5vw, 5rem);
    --fs-h2:        clamp(1.875rem, 1.25rem + 3vw, 2.75rem);
    --fs-h3:        clamp(1.25rem, 1.1rem + 1vw, 1.625rem);
    --fs-body:      1.125rem;
    --fs-small:     0.9375rem;
    --fs-label:     0.8125rem;
    --fs-micro:     0.6875rem;
    --lh-tight:     1.15;
    --lh-snug:      1.4;
    --lh-normal:    1.6;

    /* Spacing (8px grid) */
    --sp-2xs: 0.25rem;
    --sp-xs:  0.5rem;
    --sp-sm:  0.75rem;
    --sp-md:  1.25rem;
    --sp-lg:  2rem;
    --sp-xl:  3rem;
    --sp-2xl: 4rem;
    --sp-3xl: 6rem;
    --sp-section: clamp(4rem, 5vw + 3rem, 8rem);

    /* Layout */
    --max-width:       1200px;
    --content-padding: clamp(1.25rem, 4vw, 4rem);

    /* Radii */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm:         0 1px 3px rgba(26,8,0,0.05);
    --shadow-md:         0 4px 12px rgba(26,8,0,0.08);
    --shadow-lg:         0 12px 32px rgba(26,8,0,0.12);
    --shadow-glow-rouge: 0 4px 20px rgba(200,16,46,0.25);
    --shadow-glow-or:    0 4px 20px rgba(245,168,0,0.25);

    /* Transitions */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast:    150ms;
    --dur-normal:  300ms;
    --dur-slow:    500ms;

    /* Z-index */
    --z-base:    1;
    --z-above:   10;
    --z-nav:     100;
    --z-overlay: 200;
    --z-modal:   300;
  }
}

/* ============================================================
   LAYER: RESET
   ============================================================ */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100vh; text-rendering: optimizeSpeed; -webkit-font-smoothing: antialiased; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; }
  p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
  a { color: inherit; }
  ul, ol { list-style: none; }
}

/* ============================================================
   LAYER: BASE
   ============================================================ */
@layer base {
  body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    color: var(--text-primary);
    background: var(--surface-primary);
  }

  h1, h2, h3 {
    font-family: var(--font-display);
    line-height: var(--lh-tight);
    color: var(--hef-noir);
  }
  h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: var(--lh-snug);
  }

  h1 { font-size: var(--fs-hero); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); }

  em { font-style: italic; color: var(--hef-rouge); }
  strong { font-weight: 700; }

  a {
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
  }
  a:hover { color: var(--hef-rouge); }
  a:focus-visible {
    outline: 2px solid var(--hef-rouge);
    outline-offset: 3px;
    border-radius: 3px;
  }

  .skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--hef-rouge);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    z-index: var(--z-modal);
    transition: top var(--dur-fast);
  }
  .skip-link:focus { top: 1rem; }

  /* WordPress alignment */
  .alignleft  { float: left; margin-right: var(--sp-md); }
  .alignright { float: right; margin-left: var(--sp-md); }
  .aligncenter { margin-inline: auto; display: block; }

  /* WordPress captions */
  .wp-caption { max-width: 100%; }
  .wp-caption-text { font-size: var(--fs-small); color: var(--text-muted); margin-top: var(--sp-xs); }
}

/* ============================================================
   LAYER: LAYOUT
   ============================================================ */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--content-padding);
  }

  .section {
    padding-block: var(--sp-section);
  }

  .section--sm { padding-block: clamp(2.5rem, 3vw + 2rem, 5rem); }
  .section--lg { padding-block: clamp(5rem, 6vw + 4rem, 10rem); }

  .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-lg); align-items: center; }
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
  .grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-md); }

  @media (max-width: 900px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .grid-4 { grid-template-columns: 1fr; }
  }
}

/* ============================================================
   LAYER: COMPONENTS
   ============================================================ */
@layer components {

  /* --- Buttons --- */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-xs);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--dur-normal) var(--ease-out);
    white-space: nowrap;
    text-decoration: none;
  }
  .btn--primary {
    background: var(--hef-rouge);
    color: #fff;
    border-color: var(--hef-rouge);
    box-shadow: var(--shadow-glow-rouge);
  }
  .btn--primary:hover {
    background: var(--hef-rouge-dark);
    border-color: var(--hef-rouge-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(200,16,46,0.35);
  }
  .btn--secondary {
    background: var(--hef-bleu);
    color: #fff;
    border-color: var(--hef-bleu);
  }
  .btn--secondary:hover {
    background: var(--hef-bleu-dark);
    border-color: var(--hef-bleu-dark);
    color: #fff;
    transform: translateY(-2px);
  }
  .btn--outline {
    background: transparent;
    color: var(--hef-noir);
    border-color: var(--border-medium);
  }
  .btn--outline:hover {
    border-color: var(--hef-rouge);
    color: var(--hef-rouge);
  }
  .btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
  }
  .btn--outline-white:hover {
    border-color: var(--hef-or);
    color: var(--hef-or);
  }
  .btn--or {
    background: var(--hef-or);
    color: var(--hef-noir);
    border-color: var(--hef-or);
  }
  .btn--or:hover {
    background: var(--hef-or-dark);
    border-color: var(--hef-or-dark);
    color: var(--hef-noir);
    transform: translateY(-2px);
  }
  .btn--sm { padding: 0.5rem 1.25rem; font-size: var(--fs-micro); }
  .btn--lg { padding: 1rem 2.25rem; font-size: var(--fs-small); }
  .btn--full { width: 100%; justify-content: center; }

  /* --- Badges & Tags --- */
  .badge {
    display: inline-block;
    padding: 0.3rem 0.875rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .badge--or     { background: var(--hef-or-light); color: var(--hef-or-dark); border: 1px solid rgba(245,168,0,0.3); }
  .badge--rouge  { background: var(--hef-rouge-light); color: var(--hef-rouge); border: 1px solid rgba(200,16,46,0.2); }
  .badge--bleu   { background: var(--hef-bleu-light); color: var(--hef-bleu); border: 1px solid rgba(200,16,46,0.2); }

  .tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .tag--musique   { background: var(--hef-rouge-light); color: var(--hef-rouge); }
  .tag--arts      { background: var(--hef-or-light); color: var(--hef-or-dark); }
  .tag--spectacle { background: var(--hef-bleu-light); color: var(--hef-bleu); }
  .tag--gastronomie { background: #ECFDF5; color: #059669; }
  .tag--decouverte  { background: #F3E8FF; color: #7C3AED; }
  .tag--cinema      { background: #FFF7ED; color: #EA580C; }

  /* --- Eyebrow label --- */
  .eyebrow {
    display: inline-block;
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hef-rouge);
    margin-bottom: var(--sp-xs);
  }

  /* --- Section titles --- */
  .section-title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: 900;
    line-height: var(--lh-tight);
    color: var(--hef-noir);
    margin-bottom: var(--sp-xs);
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
  }
  .section-title em { color: var(--hef-rouge); font-style: normal; }

  .section-subtitle {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: var(--lh-normal);
    max-width: 560px;
    margin-bottom: var(--sp-lg);
  }
  .section-subtitle p {
    margin: 0 0 1em;
  }
  .section-subtitle p:last-child {
    margin-bottom: 0;
  }

  /* --- Link arrow --- */
  .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-xs);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hef-rouge);
    text-decoration: none;
    transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast);
  }
  .link-arrow:hover { gap: var(--sp-sm); color: var(--hef-rouge-dark); }

  /* --- Cards --- */
  .card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: box-shadow var(--dur-normal) var(--ease-out), transform var(--dur-normal) var(--ease-out);
  }
  .card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
  }
  .card__image-wrapper { overflow: hidden; aspect-ratio: 16/10; }
  .card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) var(--ease-out);
  }
  .card:hover .card__image { transform: scale(1.05); }
  .card__body { padding: var(--sp-md); }
  .card__title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--hef-noir);
    margin-block: var(--sp-xs);
    line-height: var(--lh-snug);
  }
  .card__meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-top: var(--sp-2xs);
  }
  .card__meta .ti { font-size: 0.875rem; flex-shrink: 0; }

  /* Event card placeholder image */
  .card__placeholder {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(26,8,0,0.1);
  }
  .card__placeholder--rouge { background: linear-gradient(135deg, var(--hef-rouge-light), #fff0); }
  .card__placeholder--or    { background: linear-gradient(135deg, var(--hef-or-light), #fff0); }
  .card__placeholder--bleu  { background: linear-gradient(135deg, var(--hef-or-light), #fff0); }

  /* --- Programme Slot --- */
  .slot {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--hef-rouge);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.125rem;
    transition: box-shadow var(--dur-normal) var(--ease-out), transform var(--dur-fast);
  }
  .slot:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
  .slot--or   { border-left-color: var(--hef-or); }
  .slot--bleu { border-left-color: var(--hef-bleu); }
  .slot--vert { border-left-color: #059669; }

  .slot__time {
    font-size: var(--fs-label);
    font-weight: 800;
    color: var(--hef-or-dark);
    min-width: 52px;
    letter-spacing: 0.04em;
    font-variant-numeric: tabular-nums;
  }
  .slot__info { flex: 1; min-width: 0; }
  .slot__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--hef-noir);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .slot__place {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--fs-micro);
    color: var(--text-muted);
    margin-top: 0.2rem;
  }

  /* --- Filter buttons --- */
  .filter-btn {
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid var(--border-medium);
    color: var(--text-muted);
    background: transparent;
    transition: all var(--dur-fast) var(--ease-out);
    white-space: nowrap;
  }
  .filter-btn:hover {
    border-color: var(--hef-rouge);
    color: var(--hef-rouge);
    background: var(--hef-rouge-light);
  }
  .filter-btn--active {
    background: var(--hef-rouge);
    color: #fff;
    border-color: var(--hef-rouge);
  }

  /* --- Stats item --- */
  .stats__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2vw + 1.5rem, 2.5rem);
    font-weight: 900;
    color: var(--hef-noir);
    line-height: 1;
  }
  .stats__number em { color: var(--hef-rouge); font-style: normal; }
  .stats__label {
    display: block;
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.4rem;
  }

  /* --- Countdown --- */
  .countdown {
    display: flex;
    gap: var(--sp-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--sp-xl);
  }
  .countdown__block {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 72px;
  }
  .countdown__number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--hef-or);
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .countdown__label {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 0.3rem;
  }

  /* --- Form inputs --- */
  .form-input {
    width: 100%;
    padding: 0.75rem 1.125rem;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: var(--fs-small);
    color: var(--text-primary);
    background: var(--surface-card);
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
    outline: none;
  }
  .form-input:focus {
    border-color: var(--hef-rouge);
    box-shadow: 0 0 0 3px rgba(200,16,46,0.1);
  }
  .form-input::placeholder { color: var(--text-faint); }

  /* --- Entry content (blog posts) --- */
  .entry-content {
    max-width: 72ch;
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    color: var(--text-secondary);
  }
  .entry-content h2,
  .entry-content h3 { margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
  .entry-content p  { margin-bottom: var(--sp-md); }
  .entry-content ul,
  .entry-content ol { padding-left: var(--sp-lg); margin-bottom: var(--sp-md); }
  .entry-content li { list-style: disc; margin-bottom: var(--sp-xs); }
  .entry-content blockquote {
    border-left: 3px solid var(--hef-rouge);
    padding-left: var(--sp-md);
    color: var(--text-muted);
    font-style: italic;
    margin-block: var(--sp-lg);
  }
  .entry-content img { border-radius: var(--radius-md); margin-block: var(--sp-md); }
  .entry-content a { color: var(--hef-rouge); text-decoration: underline; }
}

/* ============================================================
   LAYER: SECTIONS
   ============================================================ */
@layer sections {

  /* --- Navigation --- */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-nav);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: box-shadow var(--dur-normal), background var(--dur-normal);
  }
  /* Compensation hauteur nav fixe */
  body { padding-top: 72px; }
  /* Quand l'admin bar WordPress est visible (32px) */
  body.admin-bar .nav { top: 32px; }
  body.admin-bar { padding-top: calc(72px + 32px); }
  .nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--content-padding);
    height: 72px;
    gap: var(--sp-lg);
  }

  /* Logo */
  .nav__logo {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    flex-shrink: 0;
    text-decoration: none;
  }
  .nav__logo img,
  .nav__logo .custom-logo {
    height: 80px !important;
    width: 80px !important;
    max-width: 100% !important;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
  }
  .nav__logo .custom-logo-link { display: flex; align-items: center; flex-shrink: 0; }
  .nav__logo-text {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--hef-noir);
    line-height: 1.2;
    white-space: nowrap;
  }
  .nav__logo-text span { color: var(--hef-rouge); }

  /* ---- Desktop menu (structure WordPress ul > li > a) ---- */
  .nav__links {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    gap: 0;
  }

  /* Reset liste WordPress */
  .nav__links ul,
  .nav__links ul.menu,
  .nav__links ul.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  /* Items de premier niveau */
  .nav__links > ul > li,
  .nav__links > a {
    position: relative;
  }

  /* Liens de premier niveau */
  .nav__links > ul > li > a,
  .nav__links > a {
    display: flex;
    align-items: center;
    gap: 0.3em;
    padding: 0.5rem 0.875rem;
    font-size: var(--fs-label);
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: color var(--dur-fast), background var(--dur-fast);
    position: relative;
  }

  /* Underline animé */
  .nav__links > ul > li > a::after,
  .nav__links > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: var(--hef-rouge);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-fast) var(--ease-out);
  }

  .nav__links > ul > li > a:hover,
  .nav__links > a:hover {
    color: var(--hef-rouge);
    background: var(--hef-rouge-light);
  }
  .nav__links > ul > li > a:hover::after,
  .nav__links > a:hover::after { transform: scaleX(1); }

  /* Item actif WordPress */
  .nav__links > ul > li.current-menu-item > a,
  .nav__links > ul > li.current-page-ancestor > a {
    color: var(--hef-rouge);
    font-weight: 700;
  }
  .nav__links > ul > li.current-menu-item > a::after,
  .nav__links > ul > li.current-page-ancestor > a::after { transform: scaleX(1); }

  /* ---- Sous-menu (dropdown) ---- */
  .nav__links > ul > li.menu-item-has-children > a,
  .nav__dropdown-toggle {
    cursor: pointer;
    padding-right: 0.75rem;
  }

  /* Chevron automatique sur les items avec sous-menu */
  .nav__links > ul > li.menu-item-has-children > a::before {
    content: '\ea5f'; /* ti-chevron-down en unicode Tabler */
    font-family: 'tabler-icons';
    font-size: 0.75rem;
    order: 1;
    margin-left: 0.2em;
    opacity: 0.6;
    transition: transform var(--dur-fast) var(--ease-out);
  }
  .nav__links > ul > li.menu-item-has-children:hover > a::before,
  .nav__links > ul > li.menu-item-has-children:focus-within > a::before {
    transform: rotate(180deg);
  }

  /* Le sous-menu WordPress (.sub-menu) */
  .nav__links ul.sub-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 0.375rem;
    min-width: 210px;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--dur-fast) var(--ease-out) 300ms,
      transform var(--dur-fast) var(--ease-out) 300ms,
      visibility 0ms linear calc(var(--dur-fast) + 300ms);
    z-index: 10;
  }

  /* Pont invisible qui bouche le gap entre le lien et le sous-menu */
  .nav__links > ul > li.menu-item-has-children::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }

  /* Flèche décorative vers le haut */
  .nav__links ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid var(--border-subtle);
    border-top: 1px solid var(--border-subtle);
    border-radius: 2px 0 0 0;
  }

  .nav__links > ul > li:hover > ul.sub-menu,
  .nav__links > ul > li:focus-within > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition:
      opacity var(--dur-fast) var(--ease-out),
      transform var(--dur-fast) var(--ease-out),
      visibility 0ms;
  }

  /* Liens dans le sous-menu */
  .nav__links ul.sub-menu li { position: static; }
  .nav__links ul.sub-menu li a {
    display: block;
    padding: 0.55rem 0.875rem;
    font-size: var(--fs-label);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    text-decoration: none;
    transition: background var(--dur-fast), color var(--dur-fast);
  }
  .nav__links ul.sub-menu li a:hover {
    background: var(--hef-rouge-light);
    color: var(--hef-rouge);
  }
  .nav__links ul.sub-menu li a::after { display: none !important; }
  .nav__links ul.sub-menu li a::before { display: none !important; }

  /* Séparateur optionnel */
  .nav__links ul.sub-menu li + li {
    border-top: 1px solid var(--border-subtle);
    margin-top: 2px;
    padding-top: 2px;
  }

  /* CTA */
  .nav__cta { flex-shrink: 0; }

  /* Social icons — desktop nav */
  .nav__social {
    display: flex;
    align-items: center;
    gap: var(--sp-2xs);
    flex-shrink: 0;
  }
  .nav__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    text-decoration: none;
    transition: color var(--dur-fast), background var(--dur-fast);
  }
  .nav__social a::after { display: none; }
  .nav__social a:hover { color: var(--hef-rouge); background: rgba(0,0,0,0.06); }

  /* Social icons — mobile drawer */
  .nav__drawer-social {
    display: flex;
    gap: var(--sp-sm);
    justify-content: center;
    padding: var(--sp-md) 0 var(--sp-xs);
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: var(--sp-sm);
  }
  .nav__drawer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    text-decoration: none;
    transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast);
  }
  .nav__drawer-social a::after { display: none; }
  .nav__drawer-social a:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.1); }

  /* ---- Hamburger ---- */
  .nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 8px;
    transition: border-color var(--dur-fast), background var(--dur-fast);
  }
  .nav__burger:hover {
    border-color: var(--hef-rouge);
    background: var(--hef-rouge-light);
  }
  .nav__burger span {
    display: block;
    height: 2px;
    background: var(--hef-noir);
    border-radius: 2px;
    transition: transform var(--dur-normal) var(--ease-out), opacity var(--dur-fast);
  }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---- Mobile drawer ---- */
  .nav__drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26,8,0,0.45);
    backdrop-filter: blur(2px);
    z-index: calc(var(--z-nav) - 1);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-normal), visibility var(--dur-normal);
  }
  .nav__drawer-overlay[data-open="true"] { opacity: 1; visibility: visible; }

  .nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    z-index: var(--z-nav);
    padding: 5rem var(--sp-lg) var(--sp-lg);
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
    transform: translateX(100%);
    transition: transform var(--dur-normal) var(--ease-out);
    overflow-y: auto;
  }
  .nav__drawer[data-open="true"] { transform: translateX(0); }

  /* Liens directs dans le drawer (fallback sans menu WordPress) */
  /* Le bouton CTA dans le drawer garde ses couleurs propres */
  .nav__drawer .btn { color: #fff; justify-content: center; }
  .nav__drawer .btn:hover { color: #fff; padding-left: unset; }

  .nav__drawer-close {
    position: absolute;
    top: var(--sp-md);
    right: var(--sp-md);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--surface-secondary);
    color: var(--text-muted);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s;
  }
  .nav__drawer-close:hover {
    background: var(--hef-rouge-light);
    color: var(--hef-rouge);
  }

  .nav__drawer > a {
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    display: block;
  }
  .nav__drawer > a:hover { color: var(--hef-rouge); }
  .nav__drawer-sub {
    padding-left: var(--sp-md) !important;
    font-size: var(--fs-small) !important;
    color: var(--text-muted) !important;
    border-bottom: none !important;
  }

  /* Menu WordPress dans le drawer (ul > li > a) */
  .nav__drawer ul,
  .nav__drawer ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav__drawer ul li a {
    display: block;
    font-size: var(--fs-body);
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    transition: color var(--dur-fast), padding-left var(--dur-fast);
  }
  .nav__drawer ul li a:hover { color: var(--hef-rouge); padding-left: var(--sp-xs); }

  /* Accordéon mobile — parent avec sous-menu */
  .nav__drawer ul li.menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav__drawer ul li.menu-item-has-children > a .drawer-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-secondary);
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: transform .2s, background .2s;
    pointer-events: none;
  }
  .nav__drawer ul li.menu-item-has-children.is-open > a .drawer-chevron {
    transform: rotate(180deg);
    background: var(--hef-rouge-light);
    color: var(--hef-rouge);
  }

  /* Sous-items dans le drawer — accordéon via max-height */
  .nav__drawer ul ul.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease-out);
    padding-left: 0;
    margin: 0;
    border-left: none;
  }
  .nav__drawer ul li.menu-item-has-children.is-open > ul.sub-menu {
    max-height: 600px; /* valeur haute, jamais atteinte */
  }
  .nav__drawer ul ul.sub-menu li {
    border-left: 2px solid var(--hef-rouge-light);
    margin-left: var(--sp-xs);
  }
  .nav__drawer ul ul.sub-menu li a {
    font-size: var(--fs-small);
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.45rem var(--sp-md);
    border-bottom: none;
  }
  .nav__drawer ul ul.sub-menu li a:hover { color: var(--hef-rouge); }

  /* Item actif */
  .nav__drawer ul li.current-menu-item > a,
  .nav__drawer ul li.current-page-ancestor > a {
    color: var(--hef-rouge);
    font-weight: 700;
  }

  /* ═══════════════════════════════════════════════
     HERO — Banner Slider
     ═══════════════════════════════════════════════ */
  .hero {
    position: relative;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: var(--sp-md);
  }

  /* Première section après le hero : pas de padding-top */
  .hero__infobar + .section,
  .hero__infobar + * + .section,
  .hero + .section {
    padding-top: 0;
  }

  .hero__slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1400 / 336; /* ratio des images du slider */
    overflow: hidden;
  }

  .hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease-in-out;
    overflow: hidden;
    pointer-events: none;
  }
  .hero__slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
  }

  /* Image couvre toute la slide */
  .hero__slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero__slide-fallback,
  .hero__slide-color-bg {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 6;
    background: linear-gradient(135deg, var(--hef-noir) 0%, #8B1A1A 50%, var(--hef-noir) 100%);
  }

  /* video */
  /* YouTube iframe — remplit toute la slide */
  .hero__slide-yt-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .hero__slide-yt-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.5) 100%);
    pointer-events: none;
    z-index: 1;
  }
  /* object-fit: cover pour iframe YouTube
     Le slider ratio 1400:336 est très large. L'iframe 16:9 sera plus haute que le conteneur.
     top:0 = la tête de la personne reste visible. overflow:hidden sur le wrap coupe le bas. */
  .hero__slide-yt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    transform: none;
    border: 0;
    pointer-events: none;
  }

  .hero__slide-video {
    display: block;
    width: 100%;
    height: auto;
  }
  /* poster behind video */
  .hero__slide-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ── Brush infobar ── */
  .hero__infobar {
    position: relative;
    width: 100%;
    margin-top: -18px; /* brush mord sur le slider */
    padding: 0.4rem var(--content-padding) 0.4rem;
    background: var(--hef-or);
    /* Brush stroke — bord supérieur irrégulier façon pinceau */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,18 C30,8 55,24 90,14 C125,4 150,22 185,10 C220,-2 255,18 295,8 C335,-2 365,20 405,10 C445,0 475,18 515,8 C555,-2 585,16 625,6 C665,-4 700,16 740,8 C780,0 815,18 855,10 C895,2 925,20 965,10 C1005,0 1035,18 1075,8 C1115,-2 1145,16 1185,6 C1225,-4 1260,14 1300,6 C1340,-2 1375,16 1410,8 C1430,4 1440,10 1440,10 L1440,56 L0,56 Z' fill='%23000'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,18 C30,8 55,24 90,14 C125,4 150,22 185,10 C220,-2 255,18 295,8 C335,-2 365,20 405,10 C445,0 475,18 515,8 C555,-2 585,16 625,6 C665,-4 700,16 740,8 C780,0 815,18 855,10 C895,2 925,20 965,10 C1005,0 1035,18 1075,8 C1115,-2 1145,16 1185,6 C1225,-4 1260,14 1300,6 C1340,-2 1375,16 1410,8 C1430,4 1440,10 1440,10 L1440,56 L0,56 Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    padding-top: 0.9rem; /* compense la courbe du brush */
  }

  .hero__infobar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--sp-xs) var(--sp-md);
    max-width: var(--max-width);
    margin-inline: auto;
  }

  .hero__infotag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
  }
  .hero__infotag .ti { font-size: 0.85rem; opacity: 0.85; }
  .hero__infotag + .hero__infotag::before {
    content: '|';
    color: rgba(255,255,255,0.4);
    margin-right: var(--sp-xs);
    font-weight: 300;
  }
  .hero__infotag--highlight {
    color: var(--hef-noir);
    background: #fff;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-pill);
  }

  /* caption badge (optional) */
  .hero__slide-caption {
    position: absolute;
    bottom: var(--sp-sm);
    right: var(--sp-sm);
    z-index: 2;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: var(--fs-micro);
    font-weight: 600;
    letter-spacing: .08em;
    padding: .25rem .625rem;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .4s ease .3s;
  }
  .hero__slide.is-active .hero__slide-caption { opacity: 1; }

  /* Play button overlay on slide */
  .hero__slide-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 3;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200,16,46,0.85);
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    text-decoration: none;
    opacity: 0;
    transition: opacity .4s ease .2s, transform .3s ease, background var(--dur-fast);
    backdrop-filter: blur(4px);
  }
  .hero__slide-play::after { display: none; }
  .hero__slide.is-active .hero__slide-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .hero__slide-play:hover { background: var(--hef-rouge); transform: translate(-50%, -50%) scale(1.08); }

  /* slider nav — dots + arrows centered at bottom */
  .hero__nav {
    position: absolute;
    bottom: var(--sp-sm);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
  }
  .hero__dots {
    display: flex;
    gap: .3rem;
    align-items: center;
  }
  .hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.3);
    padding: 0;
    cursor: pointer;
    transition: all .25s ease;
  }
  .hero__dot.is-active {
    background: var(--hef-or);
    border-color: var(--hef-or);
    width: 22px;
    border-radius: 4px;
  }
  .hero__arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(0,0,0,.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .hero__arrow:hover { background: rgba(0,0,0,.6); }
  .hero__arrow .ti { font-size: .8rem; }

  /* --- Stats bar --- */
  .stats {
    background: var(--surface-secondary);
    border-bottom: 1px solid var(--border-subtle);
  }
  .stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: var(--content-padding);
  }
  .stats__item {
    text-align: center;
    padding: var(--sp-lg) var(--sp-md);
    border-right: 1px solid var(--border-subtle);
  }
  .stats__item:last-child { border-right: none; }

  /* --- About section --- */
  .about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3xl);
    align-items: center;
  }
  .about__image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .about__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .about__placeholder {
    aspect-ratio: 4/3;
    background: var(--hef-rouge-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    font-size: 3rem;
    color: rgba(200,16,46,0.3);
    border-radius: var(--radius-xl);
    text-align: center;
    padding: var(--sp-lg);
  }
  .about__placeholder span { font-size: var(--fs-small); color: var(--text-muted); }

  /* ── About gallery slider ── */
  .about__gallery {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  .about__gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease-in-out;
  }
  .about__gallery-slide.is-active { opacity: 1; z-index: 1; }
  .about__gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .about__gallery-nav {
    position: absolute;
    bottom: var(--sp-sm);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: .35rem;
    align-items: center;
  }
  .about__gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all .25s ease;
  }
  .about__gallery-dot.is-active {
    background: var(--hef-or);
    width: 20px;
    border-radius: 4px;
  }

  /* --- Events section --- */
  .events { background: var(--surface-secondary); }
  .events__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--sp-xl);
    gap: var(--sp-md);
    flex-wrap: wrap;
  }
  .events__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-md);
  }

  /* --- Programmation section --- */
  .prog { background: var(--surface-primary); }
  .prog__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--sp-lg);
    gap: var(--sp-md);
    flex-wrap: wrap;
  }
  .prog__date {
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
  }
  .prog__filters {
    display: flex;
    gap: var(--sp-xs);
    flex-wrap: wrap;
    margin-bottom: var(--sp-xl);
  }
  /* legacy .slots — kept for archive pages */
  .slots {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xs);
  }

  /* ── Step Timeline ─────────────────────────────────────── */
  .prog-timeline {
    position: relative;
    padding-left: 2.5rem;        /* space for the left rail */
  }
  /* vertical rail */
  .prog-timeline::before {
    content: '';
    position: absolute;
    left: 0.6875rem;             /* centre of the dot */
    top: 0.75rem;
    bottom: 1.5rem;
    width: 2px;
    background: linear-gradient(
      to bottom,
      var(--hef-rouge) 0%,
      var(--hef-or)   50%,
      var(--hef-bleu) 100%
    );
    opacity: .25;
    border-radius: 2px;
  }

  /* ── Step (one day) ──────────────────────────────────── */
  .prog-step {
    margin-bottom: var(--sp-xl);
  }
  .prog-step:last-child { margin-bottom: 0; }

  .prog-step__head {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    margin-bottom: var(--sp-md);
    position: relative;
  }

  /* dot on the rail */
  .prog-step__dot {
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: var(--surface-primary);
    border: 3px solid var(--hef-rouge);
    box-shadow: 0 0 0 4px var(--hef-rouge-light);
    flex-shrink: 0;
    transition: border-color var(--dur-fast);
  }
  .prog-step:nth-child(2) .prog-step__dot { border-color: var(--hef-or);  box-shadow: 0 0 0 4px var(--hef-or-light); }
  .prog-step:nth-child(3) .prog-step__dot { border-color: var(--hef-bleu);box-shadow: 0 0 0 4px var(--hef-bleu-light); }
  .prog-step:nth-child(4) .prog-step__dot { border-color: var(--hef-rouge);box-shadow: 0 0 0 4px var(--hef-rouge-light); }
  .prog-step:nth-child(5) .prog-step__dot { border-color: var(--hef-or);  box-shadow: 0 0 0 4px var(--hef-or-light); }

  /* day number — big accent */
  .prog-step__daynum {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--hef-rouge);
    letter-spacing: -0.02em;
    flex-shrink: 0;
  }
  .prog-step:nth-child(2) .prog-step__daynum { color: var(--hef-or-dark); }
  .prog-step:nth-child(3) .prog-step__daynum { color: var(--hef-bleu); }
  .prog-step:nth-child(4) .prog-step__daynum { color: var(--hef-rouge); }
  .prog-step:nth-child(5) .prog-step__daynum { color: var(--hef-or-dark); }

  .prog-step__datemeta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
  }
  .prog-step__dayname {
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .prog-step__month {
    font-size: var(--fs-label);
    color: var(--text-muted);
    letter-spacing: 0.04em;
  }
  .prog-step__count {
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--surface-secondary);
    border: 1px solid var(--border-subtle);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ── Prog item (one event) ───────────────────────────── */
  .prog-step__events {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .prog-item {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.875rem 1.125rem;
    cursor: default;
    transition:
      box-shadow var(--dur-normal) var(--ease-out),
      border-color var(--dur-fast),
      transform var(--dur-fast);
    text-decoration: none;
    color: inherit;
  }
  .prog-item:is(a):hover,
  .prog-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
    transform: translateX(4px);
  }

  /* image en forme hexagonale dans chaque item */
  .prog-item__thumb {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 3px solid var(--hef-or);
    background: var(--hef-rouge-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .prog-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .prog-item__thumb--empty {
    color: var(--hef-rouge);
    font-size: 1.25rem;
    opacity: .6;
  }

  .prog-item__time {
    font-size: var(--fs-label);
    font-weight: 800;
    color: var(--hef-rouge);
    min-width: 3.5rem;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.03em;
  }
  /* time colour per step */
  .prog-step:nth-child(2) .prog-item__time { color: var(--hef-or-dark); }
  .prog-step:nth-child(3) .prog-item__time { color: var(--hef-bleu); }
  .prog-step:nth-child(4) .prog-item__time { color: var(--hef-rouge); }
  .prog-step:nth-child(5) .prog-item__time { color: var(--hef-or-dark); }

  .prog-item__body {
    flex: 1;
    min-width: 0;
  }
  .prog-item__title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    margin: 0;
  }
  .prog-item__meta {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: 0.25rem;
    font-size: var(--fs-micro);
    color: var(--text-muted);
  }
  .prog-item__venue {
    display: flex;
    align-items: center;
    gap: 0.2rem;
  }
  .prog-item__venue .ti { font-size: 0.75rem; }

  /* hidden when filtered out */
  .prog-item[hidden]      { display: none !important; }
  .prog-step[data-empty]  { display: none !important; }

  /* --- Categories section --- */
  .categories { background: var(--surface-secondary); }
  .categories__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-sm);
  }
  .cat-block {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg) var(--sp-sm);
    text-align: center;
    cursor: pointer;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast) var(--ease-out);
  }
  .cat-block:hover {
    border-color: var(--hef-rouge);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
  .cat-block__icon {
    font-size: 1.75rem;
    margin-bottom: var(--sp-sm);
    display: block;
  }
  .cat-block__name {
    font-size: var(--fs-label);
    font-weight: 700;
    color: var(--hef-noir);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
  }
  .cat-block__desc {
    font-size: var(--fs-micro);
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
    display: block;
  }

  /* --- Involve / CTA section --- */
  .involve {
    background-color: var(--hef-rouge);
    background-image: var(--involve-bg, none);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
  }
  .involve::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(160, 13, 36, 0.92) 0%,
      rgba(200, 16, 46, 0.80) 50%,
      rgba(26, 8, 0, 0.88) 100%
    );
    z-index: 0;
  }
  .involve__content { position: relative; z-index: 1; }
  .involve__head {
    text-align: center;
    margin-bottom: var(--sp-xl);
  }
  .involve__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2vw + 1.5rem, 2.75rem);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: var(--lh-tight);
  }
  .involve__title em { color: var(--hef-or); font-style: normal; }
  .involve__sub {
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.7);
    margin-top: var(--sp-xs);
  }
  .involve__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }
  .involve-card {
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    text-align: center;
    transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-out);
  }
  .involve-card:hover {
    background: rgba(0,0,0,0.25);
    transform: translateY(-4px);
  }
  .involve-card__icon {
    font-size: 1.75rem;
    color: var(--hef-or);
    margin-bottom: var(--sp-sm);
    display: block;
  }
  .involve-card__title {
    font-size: var(--fs-label);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--sp-2xs);
  }
  .involve-card__desc {
    font-size: var(--fs-small);
    color: rgba(255,255,255,0.6);
    line-height: var(--lh-normal);
    margin-bottom: var(--sp-md);
  }

  /* --- Sponsors --- */
  .sponsors {
    border-top: 1px solid var(--border-subtle);
    text-align: center;
  }
  .sponsors__label {
    font-size: var(--fs-micro);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: var(--sp-md);
    display: block;
  }
  .sponsors__row {
    display: flex;
    gap: var(--sp-sm);
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
  }
  .sponsors__badge {
    background: var(--surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: var(--sp-xs) var(--sp-md);
    font-size: var(--fs-label);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    transition: filter var(--dur-fast);
  }
  .sponsors__badge:hover { filter: brightness(0.8); }
  .sponsors__badge img { height: 32px; width: auto; object-fit: contain; }

  /* --- Newsletter --- */
  .newsletter {
    background: var(--surface-secondary);
    text-align: center;
    border-top: 1px solid var(--border-subtle);
  }
  .newsletter__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
    font-weight: 900;
    color: var(--hef-noir);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--sp-2xs);
  }
  .newsletter__title em { color: var(--hef-rouge); font-style: normal; }
  .newsletter__sub {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: var(--sp-lg);
  }
  .newsletter__form {
    display: flex;
    gap: var(--sp-xs);
    max-width: 420px;
    margin-inline: auto;
  }
  .newsletter__submit {
    background: var(--hef-bleu);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: var(--fs-label);
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background var(--dur-fast);
  }
  .newsletter__submit:hover { background: var(--hef-rouge); }

  /* --- Footer --- */
  .site-footer {
    background: var(--hef-rouge);
    color: rgba(255,255,255,0.8);
  }
  .footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--sp-xl);
    padding-block: var(--sp-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }
  .footer__brand-col { display: flex; flex-direction: column; gap: var(--sp-md); }
  .footer__logo-link { display: inline-block; }
  .footer__logo-link img.custom-logo {
    max-height: 80px;
    width: auto;
    display: block;
    filter: none;
  }
  .footer__brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .footer__brand em { color: var(--hef-rouge); font-style: normal; }
  .footer__desc {
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    color: rgba(255,255,255,0.65);
  }
  .footer__don-btn { align-self: flex-start; margin-top: var(--sp-xs); }

  .footer__col-title {
    font-size: var(--fs-label);
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--sp-md);
    display: block;
  }
  .footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
  }
  .footer__links a {
    font-size: var(--fs-body);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--dur-fast);
  }
  .footer__links a:hover { color: var(--hef-or); }
  .footer__links a::after { display: none; }

  .footer__bottom {
    padding-block: var(--sp-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--sp-sm);
  }
  .footer__copy {
    font-size: var(--fs-label);
    color: rgba(255,255,255,0.5);
  }
  .footer__social {
    display: flex;
    gap: var(--sp-xs);
  }
  .footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 1.1rem;
    text-decoration: none;
    transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
  }
  .footer__social a:hover {
    border-color: var(--hef-rouge);
    color: var(--hef-rouge);
    background: rgba(200,16,46,0.1);
  }
  .footer__social a::after { display: none; }

  /* --- Page Hero (inner pages) --- */
  .page-hero {
    background: linear-gradient(135deg, var(--hef-noir) 0%, var(--hef-bleu-dark) 100%);
    padding: var(--sp-2xl) var(--content-padding);
    text-align: center;
  }
  .page-hero .eyebrow { color: var(--hef-or); }
  .page-hero h1 { color: #fff; font-size: var(--fs-h2); }
  .page-hero p { color: rgba(255,255,255,0.6); max-width: 600px; margin-inline: auto; margin-top: var(--sp-sm); }

  /* --- Single Event --- */
  .event-detail__header {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--sp-2xl);
    align-items: start;
  }
  .event-detail__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
  }
  .event-detail__meta-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    background: var(--surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
  }
  .event-detail__meta-item {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    font-size: var(--fs-small);
    color: var(--text-secondary);
  }
  .event-detail__meta-item .ti { color: var(--hef-rouge); font-size: 1.125rem; }

  /* --- Artistes section --- */
  .event-artist__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
    align-items: start;
  }
  .event-artist__row--with-video {
    grid-template-columns: 1fr 1fr;
  }

  /* --- 404 --- */
  .error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .error-404__number {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    color: var(--hef-rouge);
    line-height: 1;
    opacity: 0.15;
    display: block;
  }

  /* --- Loading skeleton --- */
  .skeleton {
    background: linear-gradient(90deg, var(--surface-secondary) 25%, var(--border-subtle) 50%, var(--surface-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
  }
  @keyframes skeleton-loading {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
}

/* ============================================================
   LAYER: UTILITIES
   ============================================================ */
@layer utilities {
  .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; }
  .hidden  { display: none !important; }
  .text-center { text-align: center; }
  .text-muted  { color: var(--text-muted); }
  .mt-sm  { margin-top: var(--sp-sm); }
  .mt-md  { margin-top: var(--sp-md); }
  .mt-lg  { margin-top: var(--sp-lg); }
  .mb-md  { margin-bottom: var(--sp-md); }
  .mb-lg  { margin-bottom: var(--sp-lg); }
  .surface-dark  { background: var(--surface-dark); color: #fff; }
  .surface-rouge { background: var(--hef-rouge); color: #fff; }
  .surface-creme { background: var(--hef-creme); }
}

/* ============================================================
   LAYER: ANIMATIONS
   ============================================================ */
@layer animations {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-stagger .reveal:nth-child(1) { transition-delay: 0ms; }
  .reveal-stagger .reveal:nth-child(2) { transition-delay: 80ms; }
  .reveal-stagger .reveal:nth-child(3) { transition-delay: 160ms; }
  .reveal-stagger .reveal:nth-child(4) { transition-delay: 240ms; }

  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav__links { gap: var(--sp-md); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid { gap: var(--sp-xl); }
  .event-detail__header { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta, .nav__social { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { gap: var(--sp-sm); padding-inline: var(--sp-sm); height: 60px; }
  .nav__logo img, .nav__logo .custom-logo { height: 28px !important; width: 28px !important; }
  body { padding-top: 60px; }
  body.admin-bar .nav { top: 46px; }
  body.admin-bar { padding-top: calc(60px + 46px); }

  /* Hero mobile — ratio identique, s'adapte à la largeur */
  .hero__slider { aspect-ratio: 1400 / 336; }

  /* Brush infobar mobile : masque SVG souvent mal rendu, on simplifie */
  .hero__infobar {
    -webkit-mask-image: none;
    mask-image: none;
    margin-top: 0;
    padding-top: 0.7rem;
    border-radius: 0;
  }
  .hero__infobar-inner { flex-direction: column; gap: var(--sp-2xs); align-items: center; text-align: center; }
  .hero__infotag + .hero__infotag::before { display: none; }
  .hero__infotag { font-size: 0.65rem; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(1),
  .stats__item:nth-child(2) { border-bottom: 1px solid var(--border-subtle); }

  .about__grid { grid-template-columns: 1fr; }
  .about__image-wrapper { order: -1; }

  .categories__grid { grid-template-columns: repeat(2, 1fr); }

  .involve__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }

  .footer__top { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer__brand-col { grid-column: auto; }

  .newsletter__form { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__slide-caption { font-size: .55rem; }
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .events__grid { grid-template-columns: 1fr; }
  .prog__filters { gap: var(--sp-2xs); }
  .slot { flex-wrap: wrap; }
  .slot__time { min-width: auto; }

  /* step timeline — compact mobile */
  .prog-timeline { padding-left: 2rem; }
  .prog-timeline::before { left: 0.5rem; }
  .prog-step__dot { left: -2rem; width: 1.125rem; height: 1.125rem; }
  .prog-step__daynum { font-size: 1.875rem; }
  .prog-step__count { display: none; }
  .prog-item { gap: var(--sp-sm); flex-wrap: wrap; }
  .prog-item .tag { align-self: flex-start; margin-top: var(--sp-2xs); }
}

/* ── Archive Programmation ─────────────────────────────────── */
/* ── Archive Programmation — Hero ── */
.archive-hero {
  background: var(--surface-dark);
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.archive-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(200,16,46,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.archive-hero__year {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.12);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}
.archive-hero__inner {
  position: relative;
  z-index: 1;
}
.archive-hero .eyebrow {
  display: inline-block;
  background: var(--hef-rouge);
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-sm);
}
.archive-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  margin-bottom: var(--sp-xs);
}
.archive-hero h1 em { color: var(--hef-or); font-style: normal; }
.archive-hero__meta {
  color: rgba(255,255,255,.55);
  font-size: var(--fs-small);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-sm);
}
.archive-hero__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: var(--fs-label);
  text-decoration: none;
  margin-top: var(--sp-lg);
  transition: color .2s;
}
.archive-hero__back:hover { color: var(--hef-or); }

/* ── Archive — Filters ── */
.archive-prog { padding-block: var(--sp-2xl) var(--sp-3xl); }
.archive-prog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid var(--border-subtle);
}
.archive-prog__filters .filter-btn {
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-medium);
  background: transparent;
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s;
}
.archive-prog__filters .filter-btn:hover,
.archive-prog__filters .filter-btn.active {
  background: var(--hef-rouge);
  border-color: var(--hef-rouge);
  color: #fff;
}

/* ── Archive — Day groups ── */
.archive-prog__day { margin-bottom: var(--sp-2xl); }
.archive-prog__day-title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--hef-noir);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-xs);
  border-bottom: 3px solid var(--hef-rouge);
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
}
.archive-prog__day-title span {
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Archive — Cards grid ── */
.archive-prog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-md);
}
.archive-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.archive-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-dark-2);
  position: relative;
}
.archive-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}
.archive-card:hover .archive-card__img img { transform: scale(1.05); }
.archive-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-dark) 0%, var(--surface-dark-2) 100%);
  color: rgba(255,255,255,.2);
  font-size: 2.5rem;
}
.archive-card__tag {
  position: absolute;
  top: .625rem;
  left: .625rem;
}
.archive-card__body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 1;
}
.archive-card__time {
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--hef-rouge);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.archive-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}
.archive-card__sub {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}
.archive-card__venue {
  font-size: var(--fs-label);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
  padding-top: .5rem;
}

/* ── Archive — empty / loading / no-result ── */
.archive-prog__loading { display:flex; justify-content:center; padding: var(--sp-3xl); }
.spinner { width:2rem; height:2rem; border:3px solid var(--border-subtle); border-top-color:var(--hef-rouge); border-radius:50%; animation:spin .7s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.archive-prog__empty {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-md); padding: var(--sp-3xl);
  border-radius: var(--radius-lg); text-align: center; color: var(--text-muted);
}
.archive-prog__empty .ti { font-size: 3rem; color: var(--hef-rouge-light); }
.archive-prog__no-result { color: var(--text-muted); text-align:center; padding: var(--sp-xl); }

@media (max-width: 600px) {
  .archive-prog__grid { grid-template-columns: 1fr; }
}

/* Prose — contenu riche */
.prose { max-width: 72ch; }
.prose h2, .prose h3 { color: var(--text-primary); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.prose p { margin-bottom: var(--sp-md); line-height: 1.75; }
.prose ul, .prose ol { padding-left: var(--sp-lg); margin-bottom: var(--sp-md); }
.prose li { margin-bottom: var(--sp-xs); }
.prose img { max-width: 100%; border-radius: var(--radius-md); margin-block: var(--sp-md); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-lg); font-size: var(--fs-sm); }
.prose th, .prose td { padding: 0.6rem 0.875rem; border: 1px solid var(--border-subtle); text-align: left; }
.prose th { background: var(--surface-subtle); font-weight: 600; }

/* ── Nav padding — hors layer, toujours prioritaire ── */
body { padding-top: 72px; }
body.admin-bar .nav { top: 32px; }
body.admin-bar { padding-top: calc(72px + 32px); }
@media (max-width: 768px) {
  body { padding-top: 60px; }
  body.admin-bar .nav { top: 46px; }
  body.admin-bar { padding-top: calc(60px + 46px); }
  .event-artist__row--with-video { grid-template-columns: 1fr !important; }
}
