﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Courier+Prime:ital@0;1&family=Great+Vibes&display=swap');
:root {
    --bg-deep: #0d0b08;
    --bg-mid: #13110d;
    --bg-card: #1a1610;
    --bg-card-hover: #201c14;
    --border: #3a3020;
    --border-bright: #5a4a2a;
    --gold: #c9a84c;
    --gold-light: #e8c87a;
    --gold-dim: #7a6030;
    --ivory: #f0e8d0;
    --ivory-dim: #a09070;
    --ivory-muted: #6a5a40;
    --red-accent: #c33d2c; /* #8b2020; */
    --red-bright: #c43030;
    --green-ink: #2a4a2a;
    --green-bright: #4a7a4a;
    --font-special: 'Great Vibes', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'EB Garamond', Georgia, serif;
    --font-mono: 'Courier Prime', 'Courier New', monospace;
    --font-size-legend: 0.85rem;
    --focus-ring: 3px solid var(--gold);
    --focus-offset: 3px;

  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; font-size: 18px; }

  body {
    background-color: var(--bg-deep);
    color: var(--ivory);
    font-family: var(--font-body);
    line-height: 1.75;
    min-height: 100vh;
    background-image:
      radial-gradient(ellipse at 20% 10%, rgba(60,40,10,0.35) 0%, transparent 55%),
      radial-gradient(ellipse at 80% 90%, rgba(50,20,10,0.3) 0%, transparent 50%),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  }

  @font-face {
    font-family: 'FontTitle';
    src: url('../fontes/Scratched Letters.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  /* Skip link */
  .skip-link {
    position: absolute;
    top: -999px;
    left: 8px;
    background: var(--gold);
    color: var(--bg-deep);
    padding: 10px 18px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 9999;
    text-decoration: none;
  }
  .skip-link:focus { top: 8px; }

  /* Screen reader only */
  .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;
  }

  /* Focus styles */
  :focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
    border-radius: 2px;
  }

  a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
  a:hover { color: var(--ivory); }

  /* ── HEADER ── */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,11,8,0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
  }
  .header-inner {
    max-width: 90%; /* 1200px; */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    height: 70px;
  }
  .site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
  }
  .logo-emblem {
    width: 38px; height: 38px;
    border: 1px solid var(--gold-dim);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .logo-emblem svg { width: 20px; height: 20px; }
  .logo-text { font-family: var(--font-special); font-size: 2.2rem; color: var(--gold); line-height: 1.2; }      /*1.9rem*/
  .logo-sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ivory-muted); letter-spacing: 0.2em; text-transform: uppercase; }

  /* Nav */
  .main-nav ul { list-style: none; display: flex; gap: 0.25rem; align-items: center; }
  .main-nav a {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ivory-dim);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: color 0.2s, border-color 0.2s;
  }
  .main-nav a:hover, .main-nav a[aria-current="page"] {
    color: var(--gold);
    border-color: var(--border);
  }

  /* Accessibility widget */
  .a11y-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    border-left: 1px solid var(--border);
    padding-left: 1rem;
    margin-left: 0.5rem;
  }
  .a11y-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--ivory-dim);
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    transition: all 0.2s;
    white-space: nowrap;
  }
  .a11y-btn:hover { border-color: var(--gold-dim); color: var(--gold); }
  .a11y-btn[aria-pressed="true"] { background: var(--gold-dim); color: var(--ivory); border-color: var(--gold-dim); }

  /* ── HERO ── */
  .hero {
    max-width: 90%; /* 1200px; */
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 4rem;
    align-items: start;
  }
  .hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--gold-dim);
  }
  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--ivory);
    margin-top: 0;
    margin-bottom: 1.5rem;
  }
  .hero-title em { color: var(--gold); font-style: italic; }
  .hero-desc {
    font-size: 1rem;                 /*1.1*/
    color: var(--ivory-dim);
    max-width: 600px;                /*560*/
    margin-bottom: 2.5rem;
    line-height: 1.8;
  }
  .hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--gold);
    color: var(--bg-deep);
    margin: 1em 1em 0 0;
    padding: 0.75rem 1.75rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--gold-light); color: var(--bg-deep); transform: translateY(-1px); }

  .btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: none;
    color: var(--ivory-dim);
    margin: 1em 1em 0 0;
    padding: 0.75rem 1.75rem;
    border-radius: 3px;
    border: 1px solid var(--border-bright);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
  }
  .btn-secondary:hover { border-color: var(--gold-dim); color: var(--gold); }

  /* Hero illustration */
  .hero-illustration {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin-top: 0;
  }
  .hero-media-container {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .hero-aspect-ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--border-bright);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    background: var(--bg-card);
  }
  .hero-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-img-caption {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gold-light);
    margin-top: 0.65rem;
    text-align: center;
    line-height: 1.4;
  }
  .hero-frame {
    width: 340px; height: 420px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }
  .hero-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg, transparent, transparent 28px,
      rgba(201,168,76,0.03) 28px, rgba(201,168,76,0.03) 29px
    );
  }
  .hero-corner {
    position: absolute;
    width: 18px; height: 18px;
    border-color: var(--gold-dim);
    border-style: solid;
  }
  .hero-corner.tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
  .hero-corner.tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
  .hero-corner.bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
  .hero-corner.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }
  .hero-central-icon {
    width: 80px; height: 80px;
    border: 1px solid var(--gold-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-deep);
  }
  .hero-central-icon svg { width: 40px; height: 40px; }
  .hero-frame-text {
    text-align: center;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold-dim);
    font-size: 0.95rem;
    padding: 0 2rem;
  }
  .hero-stat-row {
    display: flex;
    gap: 2rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--ivory-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .hero-stat span { display: block; color: var(--gold); font-size: 1.1rem; font-family: var(--font-display); margin-bottom: 2px; }

  /* ── ORNAMENT ── */
  .ornament {
    text-align: center;
    color: var(--gold-dim);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    margin: 0.5rem 0;
    user-select: none;
    aria-hidden: true;
  }
  .section-divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    border: none;
    border-top: 1px solid var(--border);
  }

  /* ── SECTIONS ── */
  section { padding: 4rem 2rem; }
  .section-inner { max-width: 1200px; margin: 0 auto; }

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .section-label {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 0.5rem;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--ivory);
    line-height: 1.2;
  }

  /* ── FEATURED PLAYER ── */
  .featured-player {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .player-visual {
    background: var(--bg-deep);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    border-right: 1px solid var(--border);
    min-height: 360px;
  }
  .player-thumbnail {
    width: 160px; height: 160px;
    border-radius: 4px;
    border: 1px solid var(--border-bright);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .player-thumb-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      45deg, var(--bg-card), var(--bg-card) 10px,
      rgba(201,168,76,0.04) 10px, rgba(201,168,76,0.04) 11px
    );
  }
  .player-thumb-icon {
    position: relative;
    z-index: 1;
    color: var(--gold-dim);
  }
  .player-type-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--red-accent);
    color: var(--ivory);
    padding: 4px 10px;
    border-radius: 2px;
  }
  .player-controls {
    display: flex; align-items: center; gap: 1rem;
  }
  .ctrl-btn {
    background: none;
    border: 1px solid var(--border-bright);
    color: var(--ivory-dim);
    border-radius: 50%;
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
  }
  .ctrl-btn:hover { border-color: var(--gold-dim); color: var(--gold); }
  .ctrl-btn.primary {
    width: 52px; height: 52px;
    background: var(--gold);
    color: var(--bg-deep);
    border-color: var(--gold);
    font-size: 1.2rem;
  }
  .ctrl-btn.primary:hover { background: var(--gold-light); }

  .player-progress {
    width: 100%;
    max-width: 280px;
  }
  .progress-bar-wrap {
    position: relative;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    margin-bottom: 6px;
    cursor: pointer;
  }
  .progress-bar-fill {
    height: 100%;
    width: 38%;
    background: var(--gold);
    border-radius: 2px;
  }
  .progress-times {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--ivory-muted);
  }

  .player-info {
    padding: 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .player-series {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 0.75rem;
  }
  .player-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--ivory);
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  .player-desc {
    color: var(--ivory-dim);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
  }
  .player-meta {
    display: flex;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: var(--font-size-legend); /* 1rem;*/
    color: var(--ivory-muted);
    letter-spacing: 0.08em;
    flex-wrap: wrap;
    padding-top: 0.95rem;
    border-top: 1px solid var(--border);
  }
  .player-meta-item { display: flex; align-items: center; gap: 5px; }

  /* ── CARD GRIDS ── */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }
  #audio-bar { display: none; }
  #audio-bar.is-open { display: flex; }
  /* Icône de base */ 
  .play-circle::after {
    content: '';
  }
  .media-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
  }
  .media-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
  }
  .media-card:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
  }
  /* Quand la carte joue */
  .media-card.is-playing .play-circle::after {
    content: '';
  }
  .card-thumb {
    height: 150px;
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  .card-thumb-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.6;
  }
  .card-thumb-icon {
    position: relative;
    z-index: 1;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border-bright);
  }
  .card-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(13,11,8,0.5);
    transition: opacity 0.2s;
  }
  .media-card:hover .card-thumb-play { opacity: 1; }
  .media-card:focus-visible .card-thumb-play { opacity: 1; }
  .play-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-deep);
    font-size: 1.3rem;
  }
  .card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
  }
  .badge-video { background: var(--red-accent); color: var(--ivory); }
  .badge-audio { background: var(--green-ink); color: #a0d0a0; }
  .badge-music { background: #2a2a5a; color: #a0a0e8; }
  .card-body {
    padding: 0 1.1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .card-series {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 0.35rem;
  }
  .card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--ivory);
    line-height: 1.3;
    margin-bottom: 0.4rem;
  }
  .card-desc {
    font-size: 1rem;
    color: var(--ivory-muted);
    line-height: 1.65;
    flex: 1;
  }
  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ivory-muted);
    letter-spacing: 0.06em;
  }

  /* ── CATEGORIES ── */
  .categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .category-card:hover {
    border-color: var(--border-bright);
    background: var(--bg-card-hover);
  }
  .cat-icon {
    width: 44px; height: 44px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
  }
  .cat-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ivory);
  }
  .cat-count {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--ivory-muted);
    letter-spacing: 0.08em;
  }
  .cat-desc {
    font-size: 0.85rem;
    color: var(--ivory-muted);
    line-height: 1.6;
  }

  /* ── QUOTE BANNER ── */
  .quote-banner {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 4px solid var(--border);   /*2 px*/
    /*padding: 1rem 2rem;*/
    text-align: center;
  }
  .quote-text {
    font-family: var(--font-special); /*  var(--font-display); */
    font-style: italic;
    font-size: clamp(1rem, 10vw, 3rem); /* clamp(1.3rem, 2.5vw, 1.9rem); */
    color: var(--ivory-dim);
    max-width: 700px;
    margin: 0 auto 0;
    line-height: 120%;
  }
  .quote-text em { color: var(--gold); }
  .quote-author {
    font-family: var(--font-display); /* var(--font-mono); */
    font-size: 1.2rem;
    font-style: italic;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ivory-muted);
  }

  /* ── MUSIC PLAYER ── */
  .music-section { background: var(--bg-mid); }
  .music-list { display: flex; flex-direction: column; gap: 0; }
  .music-row {
    display: grid;
    grid-template-columns: 36px 60px 1fr 1fr auto auto 80px;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border: 1px solid transparent;
    border-bottom-color: var(--border);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    color: inherit;
  }
  .music-row:hover, .music-row:focus-visible {
    background: var(--bg-card);
    border-color: var(--border);
  }
  .music-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--ivory-muted);
    text-align: center;
  }
  .music-art {
    /*width: 44px; height: 44px;*/
    width: 65px; height: 65px;
    border-radius: 4px;
    background: var(--bg-deep);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gold-dim);
    flex-shrink: 0;
  }
  .music-title-wrap { min-width: 0; }
  .music-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--ivory);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .music-composer {
    font-size: 0.90rem;
    color: var(--ivory-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .music-era {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--ivory-muted);
    letter-spacing: 0.05em;
  }
  .music-tag {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: 2px;
    border: 1px solid var(--border);
    color: var(--ivory-muted);
    white-space: nowrap;
  }
  .music-duration {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ivory-muted);
    text-align: right;
  }

  /* ── A11Y PANEL ── */
  .a11y-panel {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: 6px;
    padding: 1.25rem;
    z-index: 200;
    min-width: 260px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .a11y-panel.open { display: block; }
  .a11y-panel-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 1rem;
  }
  .a11y-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    gap: 1rem;
  }
  .a11y-option label {
    font-size: 0.85rem;
    color: var(--ivory-dim);
    cursor: pointer;
  }
  .toggle-switch {
    position: relative;
    width: 40px; height: 22px;
    flex-shrink: 0;
  }
  .toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
  .toggle-track {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 11px;
    cursor: pointer;
    transition: background 0.2s;
  }
  .toggle-thumb {
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: var(--ivory-muted);
    border-radius: 50%;
    transition: transform 0.2s, background 0.2s;
  }
  .toggle-switch input:checked + .toggle-track { background: var(--gold-dim); }
  .toggle-switch input:checked + .toggle-track .toggle-thumb { transform: translateX(18px); background: var(--gold); }
  .toggle-switch input:focus-visible + .toggle-track { outline: var(--focus-ring); outline-offset: 2px; border-radius: 11px; }

  /* ── FOOTER ── */
  footer {
    background: var(--bg-mid);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem 2rem;
  }
  .footer-inner {
    max-width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }
  .footer-brand { }
  .footer-logo {
    font-family: var(--font-special);
    font-size: 1.7rem;
    color: var(--gold);
    margin-bottom: 0.50rem; /* 0.75rem; */
  }
  .footer-about {
    font-size: 0.90rem;
    color: var(--ivory-muted);
    line-height: 1.7;
    margin-bottom: 0.50rem; /*1rem;*/
  }
  .footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-dim);
    margin-bottom: 0.50rem; /*1rem;*/
  }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 0.5rem; }
  .footer-links a {
    font-size: 0.90rem;
    color: var(--ivory-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-bottom {
    max-width: 90%;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-copy {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ivory-muted);
    letter-spacing: 0.06em;
  }
  .cc-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 3px;
    color: var(--ivory-muted);
    letter-spacing: 0.06em;
    margin-bottom: 1rem; /*moi*/
  }
  /* ── HIGH CONTRAST MODE ── */
  body.high-contrast {
    --bg-deep: #000000;
    --bg-mid: #0a0a0a;
    --bg-card: #111111;
    --border: #555555;
    --border-bright: #888888;
    --gold: #ffd700;
    --gold-light: #ffed4a;
    --gold-dim: #b8960a;
    --ivory: #ffffff;
    --ivory-dim: #dddddd;
    --ivory-muted: #aaaaaa;
  }
  /* ── LARGE TEXT MODE ── */
  body.large-text { font-size: 24px; }
  html:has(body.large-text) { font-size: 24px; }
  body.large-text .logo-text { font-size: 2.2rem; }        /*1.6rem*/
  body.large-text .main-nav a { font-size: 0.85rem; }

  /* ── REDUCE MOTION ── */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
  body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
    transition: none !important;
    animation: none !important;
  }

  /* ── KEYBOARD NAV HIGHLIGHT ── */
  body.keyboard-nav :focus, body.keyboard-nav :focus-visible, body.keyboard-nav a:focus {
    outline: 4px solid #ffd700 !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8) !important;
  }

  /* ── MOBILE ── */
  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
    .hero-illustration { display: none; }
    .categories-grid { grid-template-columns: 1fr; }
    .featured-player { grid-template-columns: 1fr; }
    .player-visual { border-right: none; border-bottom: 1px solid var(--border); min-height: 260px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .music-row { grid-template-columns: 36px 1fr auto auto; }
    .music-art, .music-era, .music-num { display: none; }
    .header-inner { padding: 0; }
    section { padding: 3rem 1.5rem; }
  }

  @media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .main-nav { display: none; }
    .a11y-bar { border-left: none; padding-left: 0; }
  }

  /* Animation */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero-title, .hero-desc, .hero-ctas {
    animation: fadeUp 1s ease both;          /*0.6*/
  }
  .hero-desc { animation-delay: 0.1s; }
  .hero-ctas { animation-delay: 0.2s; }

  /* ── ICONES SVG INTEGRATION ── */
  .icon-inline {
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
    vertical-align: -0.15em;
  }
  .icon-inline:not([fill="none"]) {
    fill: currentColor;
  }
  .music-icon-btn svg,
  .podcast-icon-btn svg {
    width: 18px;
    height: 18px;
    display: block;
  }
  .article-link {
    color: var(--gold-light);
    text-decoration: underline;
    transition: color 0.2s;
  }
  .article-link:hover {
    color: var(--gold);
  }
  .article-figure {
    margin: 2rem 0;
    text-align: center;
  }
  .article-figure img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-bright);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  .article-figure figcaption {
    font-size: 0.85rem;
    color: var(--ivory-dim);
    margin-top: 0.5rem;
    font-style: italic;
  }

