@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&family=Inter:wght@300;400;500&display=swap');

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #2f2d2e;   /* Graphite — fond principal */
  --deep:         #272526;   /* variante sombre (sections alternées) */
  --surface:      #383537;   /* cartes */
  --surface2:     #423f41;
  --border:       rgba(255,255,255,0.10);
  --accent:       #c33c54;   /* Rosewood — accent */
  --accent-light: #d9657a;
  --steel:        #8a95a5;   /* Cool Steel */
  --white:        #f5f3ef;
  --muted:        #8a95a5;   /* Cool Steel — texte secondaire */
  --serif:      'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
  --radius:     4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.15; }
h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

em { font-style: italic; color: var(--accent-light); }

.section-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* =============================================
   LAYOUT UTILS
   ============================================= */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section {
  padding: 7rem 0;
}

.section-header {
  margin-bottom: 2.45rem;
}

.section-footer {
  margin-top: 3rem;
  text-align: center;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--accent-light);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.7rem; }

/* =============================================
   NAVIGATION — sidebar fixe (desktop) + burger (mobile)
   ============================================= */
:root { --sidebar-w: 240px; }

body { padding-left: var(--sidebar-w); }

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 2.2rem 1.6rem;
  background: var(--deep);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  transition: transform 0.35s ease;
}

.sidebar__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.sidebar__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid var(--border);
  filter: grayscale(15%);
  transition: border-color var(--transition), filter var(--transition);
}
.sidebar__brand:hover .sidebar__avatar { border-color: var(--accent); filter: grayscale(0%); }
.sidebar__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--white);
  position: relative;
}
/* Page d'accueil active → barre rouge à gauche du nom (même repère que la nav) */
.sidebar__brand.is-active .sidebar__name::before {
  content: '';
  position: absolute;
  left: -0.7rem; top: 50%;
  width: 3px; height: 14px;
  background: var(--accent);
  transform: translateY(-50%);
}

.sidebar__nav { flex: 1 1 auto; }
.sidebar__nav ul { display: flex; flex-direction: column; gap: 1.1rem; }
.sidebar__nav a {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
  /* hauteur de ligne constante : le texte (déplié) et l'icône 21px (rail) occupent
     la même boîte → aucun saut vertical au repli/dépli */
  display: flex;
  align-items: center;
  min-height: 21px;
}
.sidebar__nav a:hover,
.sidebar__nav a.is-active { color: var(--white); }
.sidebar__nav a.is-active::before {
  content: '';
  position: absolute;
  left: -1.6rem; top: 50%;
  width: 3px; height: 14px;
  background: var(--accent);
  transform: translateY(-50%);
}

.sidebar__footer { margin-top: 2rem; }

/* ---- Sidebar repliable en RAIL d'icônes (desktop) ---- */
body { transition: padding-left 0.3s ease; }
.sidebar { transition: width 0.3s ease, transform 0.35s ease; }

/* Icônes de nav : SVG monochromes (mask + currentColor) → suivent le thème
   clair/sombre. Sur ::after (le ::before reste réservé à la barre rouge « active »).
   Masquées en mode déplié, affichées uniquement dans le rail. Immunisées contre i18n. */
.sidebar__nav a::after {
  content: '';
  display: none;
  width: 16px; height: 16px;
  background-color: currentColor;
  -webkit-mask: center / 16px 16px no-repeat;
  mask: center / 16px 16px no-repeat;
}
.sidebar__nav a[href="/music"]::after      { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/chorales"]::after    { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/biography"]::after   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/events"]::after      { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/blog"]::after        { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/partitions"]::after  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpolyline points='13 2 13 9 20 9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpolyline points='13 2 13 9 20 9'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/newsletter"]::after  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/ask"]::after         { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z'/%3E%3C/svg%3E"); }
.sidebar__nav a[href="/contact"]::after     { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94'/%3E%3C/svg%3E"); }

.sidebar-toggle {
  position: absolute; top: 0.9rem; right: 0.8rem; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px;
  color: var(--muted); background: transparent; border: 0; cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.sidebar-toggle:hover { color: var(--white); background: rgba(255,255,255,0.06); }

@media (min-width: 881px) {
  body.sidebar-collapsed { padding-left: 60px; }

  /* RAIL au repos : étroit. Au SURVOL, le menu se redéploie temporairement en
     overlay (le contenu ne bouge pas) ; à la sortie de la souris il se replie. */
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) { width: 60px; padding: 0.8rem 0; overflow: visible; }
  body.sidebar-collapsed .sidebar.sidebar--peek { width: var(--sidebar-w); box-shadow: 4px 0 24px rgba(0,0,0,0.35); }

  /* États « rail » : appliqués uniquement quand la sidebar n'est PAS survolée */
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .sidebar__name { display: none; }
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .sidebar__nav a {
    display: flex; justify-content: center; align-items: center;
    padding-left: 0; padding-right: 0; font-size: 0; letter-spacing: 0;
  }
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .sidebar__nav a::after { display: block; }
  /* Le CTA n'apparaît QUE quand le menu est pleinement déplié (état normal) :
     masqué en rail ET pendant le survol/transition, pour qu'il ne surgisse pas en cours de route. */
  body.sidebar-collapsed .sidebar-cta { display: none; }
  /* éléments larges masqués — MAIS on garde les 4 plateformes d'écoute ET le sélecteur de langue */
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .listen-bar__label,
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .theme-toggle__label { display: none; }
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .listen-bar__links { flex-wrap: wrap; justify-content: center; gap: 0.6rem; padding: 0 0.5rem; }
  /* Toggle « déplier » STATIONNAIRE : ancré à gauche de la sidebar (le bord gauche
     ne bouge pas quand le peek élargit vers la droite) → toujours cliquable au même
     endroit, en rail comme au survol. */
  body.sidebar-collapsed .sidebar-toggle { position: absolute; top: 0.9rem; left: 16px; right: auto; margin: 0; }
  /* on décale la photo vers le bas pour laisser la ligne du haut au toggle */
  body.sidebar-collapsed .sidebar__brand { margin-top: 2.6rem; }
  /* photo + contrôles, centrés dans le rail (colonne → align-items pour l'axe horizontal) */
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .sidebar__brand { margin-bottom: 1.1rem; align-items: center; }
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .sidebar__avatar { width: 34px; height: 34px; }
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .sidebar__controls { flex-direction: column; gap: 0.5rem; align-items: center; }
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .lang-current { padding: 0.3rem; border: 0; letter-spacing: 0; }
  body.sidebar-collapsed .sidebar:not(.sidebar--peek) .lang-current::after { display: none; }
}
@media (max-width: 880px) {
  .sidebar-toggle { display: none !important; }
}

/* ---- Calendrier des concerts (home + /events) ---- */
.cal-layout { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .cal-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.cal { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.cal__month { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 1rem; text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.3rem; }
.cal__dow { text-align: center; font-size: 0.65rem; letter-spacing: 0.05em; color: var(--muted); padding-bottom: 0.4rem; }
.cal__day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; color: var(--white); border-radius: 6px; opacity: 0.5; }
.cal__blank { aspect-ratio: 1; }
.cal__day.is-event { background: var(--accent); color: #fff; font-weight: 600; opacity: 1; }

/* Barre d'écoute (plateformes) — présente dans la sidebar de chaque page */
.listen-bar { margin-bottom: 1.6rem; }
.listen-bar__label {
  display: block;
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.7rem;
}
.listen-bar__links { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; }
.listen-bar__link { color: var(--muted); transition: color var(--transition); line-height: 0; }
.listen-bar__link:hover { color: var(--accent); }
.listen-bar__link svg { width: 18px; height: 18px; }

/* CTA mis en évidence en bas de la sidebar (toutes pages) */
.sidebar-cta {
  display: block;
  text-align: center;
  margin-bottom: 1.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius);
  background: var(--accent);
  transition: background var(--transition), transform var(--transition);
}
.sidebar-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}
.sidebar-cta__title {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}
.sidebar-cta__sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.66rem;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--black);
  opacity: 0.82;
}

/* Projet « préparer la messe » : réservé à l'interface FR.
   setLang() (i18n.js) pose <html lang="xx"> → on masque dès que ce n'est pas le français. */
html:not([lang="fr"]) [data-fr-only] { display: none !important; }

/* Sélecteur de langue (dans la sidebar, ouverture vers le haut) */
.lang-switcher { position: relative; }
.lang-current {
  font-size: 0.72rem; letter-spacing: 0.12em; font-weight: 500;
  color: var(--muted); padding: 0.3rem 0;
  transition: color var(--transition);
}
.lang-current:hover { color: var(--accent); }
.lang-dropdown {
  position: absolute;
  bottom: calc(100% + 0.5rem); left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 150px;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
}
.lang-switcher.open .lang-dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.lang-dropdown li button {
  width: 100%; text-align: left;
  padding: 0.55rem 1rem; font-size: 0.78rem; letter-spacing: 0.05em;
  color: var(--muted);
  transition: color var(--transition), background var(--transition);
}
.lang-dropdown li button:hover,
.lang-dropdown li button.is-active { color: var(--accent); background: var(--surface2); }

/* Burger — visible uniquement en mobile */
.nav-toggle {
  display: none;
  position: fixed; top: 1.1rem; right: 1.1rem;
  z-index: 120;
  flex-direction: column; gap: 5px;
  padding: 9px;
  background: rgba(47,45,46,0.85);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sidebar-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  z-index: 90;
}
.sidebar-backdrop.open { opacity: 1; pointer-events: all; }

/* Responsive : la sidebar devient un panneau coulissant */
@media (max-width: 900px) {
  body { padding-left: 0; }
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    box-shadow: 0 0 40px rgba(0,0,0,0.45);
  }
  .sidebar.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(30%) brightness(0.55);
  transform: scale(1.04);
  transition: transform 8s ease;
}
/* Fallback gradient when portrait hasn't loaded yet */
.hero-bg {
  background: linear-gradient(160deg, #3a3739 0%, #2f2d2e 45%, #211f20 100%);
}
.hero-portrait.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(47,45,46,0.98) 0%, rgba(47,45,46,0.5) 35%, rgba(47,45,46,0.1) 65%, rgba(47,45,46,0.4) 100%),
    linear-gradient(to right, rgba(47,45,46,0.7) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5% 6rem;
  max-width: 800px;
  animation: heroFadeUp 1.2s ease both;
  animation-delay: 0.3s;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.name-first {
  font-size: clamp(2.8rem, 7vw, 6rem);
  color: var(--muted);
}
.name-last {
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: var(--white);
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 5%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  animation: heroFadeUp 1.2s ease both;
  animation-delay: 1s;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* =============================================
   WORKS GRID
   ============================================= */
.section-works { background: var(--deep); }

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.work-card {
  background: var(--surface);
  overflow: hidden;
  transition: background var(--transition);
}
.work-card:hover { background: var(--surface2); }

.work-card--featured {
  grid-row: span 2;
}

.work-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface2);
}
.work-card--featured .work-card__img-wrap { aspect-ratio: 3/4; }

.work-card__img {
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(40%) brightness(0.7);
}
.work-card:hover .work-card__img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(0.85);
}

/* Placeholder when no image */
.work-card__img-wrap:not(:has(img[src*="work"])) {
  background: linear-gradient(135deg, var(--surface2), var(--surface));
}

.work-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.work-card__play svg { width: 48px; height: 48px; color: var(--accent); }
.work-card:hover .work-card__play { opacity: 1; }

.work-card__body {
  padding: 1.5rem 1.75rem 2rem;
}

.work-card__year {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.work-card__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}

.work-card__cat {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.work-card__desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================
   QUOTE
   ============================================= */
.section-quote {
  padding: 5rem 0;
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.section-quote blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 300;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.4;
}

.section-quote cite {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* =============================================
   BIO
   ============================================= */
.section-bio { background: var(--deep); }

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.bio-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 3px solid var(--accent);
}

.bio-img {
  filter: grayscale(20%) brightness(0.85);
  transition: filter 0.6s ease;
}
.bio-img-wrap:hover .bio-img { filter: grayscale(0%) brightness(0.95); }

.bio-text h2 { margin-bottom: 1.5rem; }
.bio-text p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.bio-text .btn { margin-top: 0.5rem; }

/* =============================================
   LISTEN / MEDIA
   ============================================= */
.section-listen { background: var(--black); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.media-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.media-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface2);
  overflow: hidden;
}
.media-thumb img {
  transition: transform 0.6s ease;
  filter: brightness(0.6);
}
.media-card:hover .media-thumb img {
  transform: scale(1.04);
  filter: brightness(0.75);
}

.media-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.media-play-btn svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  filter: drop-shadow(0 0 12px rgba(195,60,84,0.5));
}

/* Audio thumb */
.media-thumb--audio {
  background: linear-gradient(135deg, var(--deep), var(--surface2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-wave {
  display: flex;
  align-items: center;
  gap: 3px;
}
.audio-wave span {
  display: block;
  width: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.2s ease infinite;
}
.audio-wave span:nth-child(1) { height: 16px; animation-delay: 0s; }
.audio-wave span:nth-child(2) { height: 28px; animation-delay: 0.1s; }
.audio-wave span:nth-child(3) { height: 40px; animation-delay: 0.2s; }
.audio-wave span:nth-child(4) { height: 24px; animation-delay: 0.3s; }
.audio-wave span:nth-child(5) { height: 36px; animation-delay: 0.4s; }
.audio-wave span:nth-child(6) { height: 20px; animation-delay: 0.5s; }
.audio-wave span:nth-child(7) { height: 30px; animation-delay: 0.3s; }
.audio-wave span:nth-child(8) { height: 18px; animation-delay: 0.15s; }
.audio-wave span:nth-child(9) { height: 12px; animation-delay: 0.25s; }

.media-card__title {
  padding: 1rem 1.25rem 0.3rem;
  font-size: 0.9rem;
  font-family: var(--serif);
  font-weight: 300;
}

.media-card__meta {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* =============================================
   EVENTS
   ============================================= */
.section-calendar { background: var(--deep); }

.event-list { display: flex; flex-direction: column; }

.event-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.event-item:first-child { border-top: 1px solid var(--border); }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
}
.event-day {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--white);
}
.event-mon {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-top: 2px;
}
.event-year {
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 1px;
}

.event-info { flex: 1; }
.event-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}
.event-venue {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.event-location {
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* =============================================
   CONTACT
   ============================================= */
.section-contact { background: var(--black); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-text h2 { margin-bottom: 1.2rem; }
.contact-text p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-email {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.contact-email:hover { color: var(--accent-light); }

.social-links { display: flex; gap: 1.25rem; }
.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all var(--transition);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Newsletter form */
.newsletter-form,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.newsletter-form h3,
.contact-form h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.newsletter-form p,
.contact-form p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-text--center { text-align: center; margin-top: 2.75rem; }
.contact-text--center .social-links { justify-content: center; }

textarea.form-input { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-row--area label { top: 1rem; transform: none; }
.form-row--area .form-input:focus ~ label,
.form-row--area .form-input:not(:placeholder-shown) ~ label { top: 0.5rem; }

.form-row {
  position: relative;
  margin-bottom: 1.25rem;
}

.form-input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.4rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
}
.form-input:focus { border-color: var(--accent); }

.form-row label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.2s ease;
}
.form-input:focus ~ label,
.form-input:not(:placeholder-shown) ~ label {
  top: 0.5rem;
  font-size: 0.6rem;
  color: var(--accent);
  transform: none;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

/* Pages légales (mentions légales, confidentialité) */
.legal-prose { max-width: 760px; }
.legal-prose h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin: 2rem 0 0.6rem;
}
.legal-prose p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-prose a { color: var(--accent); }

/* =============================================
   MUSIQUE — œuvre sélectionnée + discographie
   ============================================= */
.featured-track { max-width: 720px; margin: 0 auto; }

.album { margin-bottom: 2.5rem; }
.album__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.album__emblem {
  font-size: 1.4rem;
  color: var(--accent);
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex: none;
}
.album__head > div:not(.album__emblem) { flex: 1 1 auto; }
.album__title { font-family: var(--serif); font-size: 1.4rem; }
.album__meta { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; }

.tracklist { list-style: none; }
.tracklist__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
}
.tracklist__title { font-size: 0.95rem; }
.tracklist__dur { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.4); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
  .work-card--featured { grid-column: span 2; grid-row: span 1; }
  .work-card--featured .work-card__img-wrap { aspect-ratio: 16/6; }

  .bio-grid { grid-template-columns: 1fr; max-width: 640px; }
  .bio-img-wrap { aspect-ratio: 4/3; }

  .contact-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-card--featured { grid-column: auto; }
  .work-card--featured .work-card__img-wrap { aspect-ratio: 4/3; }

  .media-grid { grid-template-columns: 1fr; }

  .event-item { gap: 1.5rem; }
  .event-item .btn { display: none; }

  .footer-inner { flex-direction: column; text-align: center; }

  .hero-content { padding-bottom: 4rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; }
  .newsletter-form, .contact-form { padding: 1.75rem; }
}

/* =============================================
   PAGE HERO (interior pages)
   ============================================= */
.page-hero {
  position: relative;
  padding: 7rem 0 5rem;
  background: linear-gradient(160deg, #3a3739 0%, var(--deep) 45%, var(--black) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -40%;
  width: 50%;
  height: 180%;
  background: radial-gradient(closest-side, rgba(195,60,84,0.10), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-top: 0.5rem;
  text-wrap: balance;
}
@media (min-width: 900px) {
  .page-hero h1 { white-space: nowrap; }
}
.page-hero .page-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--muted);
  margin-top: 0.7rem;
  line-height: 1.6;
}
.breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.breadcrumb a { color: var(--accent); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent-light); }

/* =============================================
   CATALOGUE — filters + list
   ============================================= */
/* Catalogue — format « music catalog » : filtres à gauche + grille de titres */
.catalog {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 3rem;
  align-items: start;
}
.catalog-side {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.catalog-filters {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.filter-btn {
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0.25rem;
  transition: color var(--transition), padding var(--transition);
}
.filter-btn:hover { color: var(--white); padding-left: 0.6rem; }
.filter-btn.is-active { color: var(--accent); }
.catalog-search {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
}
.catalog-search:focus { outline: none; border-color: var(--accent); }
.catalog-search::placeholder { color: var(--muted); }

.catalog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
  align-content: start;
}
.catalog-row {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
}
.catalog-row:hover { border-color: var(--accent); background: var(--surface); }
.catalog-row__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.25;
}
.catalog-row__title small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}
/* format catalogue : seul le titre s'affiche dans la cellule (façon Eric) */
.catalog-row__year,
.catalog-row__force,
.catalog-row__dur { display: none; }
.catalog-row.is-hidden { display: none; }
.catalog-empty { grid-column: 1 / -1; }
.catalog-empty {
  padding: 3rem 0;
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
}

/* =============================================
   BIOGRAPHY page
   ============================================= */
.bio-lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 4rem;
  text-align: center;
}
.bio-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.bio-body .bio-portrait {
  position: sticky;
  top: 7rem;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--border);
}
.bio-body .bio-portrait img { filter: grayscale(25%) brightness(0.85); }
.bio-prose p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.4rem;
}
.bio-prose h3 {
  font-family: var(--serif);
  color: var(--white);
  margin: 2.5rem 0 1rem;
}
.bio-prose p strong, .bio-prose p em { color: var(--accent-light); }

/* Timeline */
.timeline {
  margin-top: 4rem;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-2rem - 4px);
  top: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.timeline-text { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }
.timeline-text strong { color: var(--white); font-weight: 400; }

/* Awards / distinctions */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.award-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.award-card .award-year {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.award-card .award-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 0.3rem;
}
.award-card .award-org { font-size: 0.8rem; color: var(--muted); }

/* =============================================
   EVENTS page — tabs + past
   ============================================= */
.events-tabs {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.events-tab {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 1rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.events-tab:hover { color: var(--white); }
.events-tab.is-active { color: var(--accent); border-color: var(--accent); }
.events-panel { display: none; }
.events-panel.is-active { display: block; }
.event-item.is-past { opacity: 0.6; }
.event-item.is-past .event-day { color: var(--muted); }

/* =============================================
   BLOG
   ============================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.post-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.post-card__thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--deep), var(--surface2));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-card__thumb .post-emblem { font-size: 2.5rem; color: var(--accent); opacity: 0.45; }
.post-card__thumb img { filter: grayscale(25%) brightness(0.7); }
.post-card__body { padding: 1.5rem 1.6rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.post-card__meta {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.post-card__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.post-card__excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.post-card__more {
  margin-top: 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
}
.post-card:hover .post-card__more { color: var(--accent); }

/* Article */
.article {
  max-width: 1100px;
  margin: 0 auto;
}
/* Texte courant un peu plus large mais reste lisible */
.article__body { max-width: 920px; }
.article__meta {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.article__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.55;
  margin: 0 0 2.5rem;
}
.article__body p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.article__body h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin: 2.75rem 0 1rem;
}
.article__body h3 {
  font-family: var(--serif);
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.article__body ul { margin: 0 0 1.5rem 1.25rem; }
.article__body li { color: var(--muted); line-height: 1.8; list-style: disc; margin-bottom: 0.5rem; }
.article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article__body a:hover { color: var(--accent-light); }
.article__note {
  border-left: 2px solid var(--accent);
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.article__back {
  display: inline-block;
  margin-top: 3rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 900px) {
  .bio-body { grid-template-columns: 1fr; gap: 3rem; }
  .bio-body .bio-portrait { position: relative; top: 0; max-width: 420px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 9rem 0 3.5rem; }
  .catalog { grid-template-columns: 1fr; gap: 1.5rem; }
  .catalog-side { position: static; }
  .catalog-filters { flex-direction: row; flex-wrap: wrap; gap: 0.6rem; border-top: 0; }
  .filter-btn { border: 1px solid var(--border); border-radius: 2px; padding: 0.5rem 0.9rem; }
  .filter-btn:hover { padding-left: 0.9rem; }
  .catalog-list { grid-template-columns: 1fr; }
}

/* =============================================
   FINITIONS — accessibilité, fondu, sélection
   ============================================= */

/* Fondu d'entrée de page */
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFadeIn 0.6s ease both; }

/* Sélection de texte aux couleurs du site */
::selection { background: var(--accent); color: var(--black); }

/* Navigation clavier : focus visible et lisible */
a:focus-visible,
button:focus-visible,
.filter-btn:focus-visible,
.events-tab:focus-visible,
.form-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
/* On masque l'outline uniquement au clic souris (focus non-clavier) */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* Barre de défilement discrète (navigateurs WebKit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-portrait { transform: none !important; }
}

/* =============================================
   LOGO — nom en majuscules + pastille photo au scroll
   (effet façon ericwhitacre.com, déclenché par .scrolled)
   ============================================= */
.logo { display: flex; align-items: center; text-transform: uppercase; letter-spacing: 0.12em; }
.logo .logo-name { text-transform: uppercase; letter-spacing: 0.12em; }
.logo img { display: none; }           /* on n'utilise pas l'<img> inline, la photo passe par ::before */
.logo--photo { gap: 0; }
.logo::before {
  content: '';
  flex: 0 0 auto;
  width: 0;
  height: 34px;
  border-radius: 50%;
  background: url("portrait.jpg") center 18% / cover no-repeat;
  opacity: 0;
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease, margin 0.45s ease;
}
.site-header.scrolled .logo::before { width: 34px; opacity: 1; margin-right: 0.7rem; }

/* =============================================
   PAGE-HERO — fil d'ariane sur UNE ligne
   (Accueil / Section / Sous-titre, séparés par /)
   ============================================= */
.page-hero .breadcrumb { display: inline; }
.page-hero .breadcrumb + .section-label { display: inline; margin-left: 0.45em; }
.page-hero .breadcrumb + .section-label::before { content: "/ "; color: var(--muted); }

/* Pochettes d'album */
.album__cover { width: 68px; height: 68px; border-radius: 6px; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--border); }

/* =============================================
   MODALE "Où écouter ?"
   ============================================= */
.listen-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; }
.listen-modal.is-open { display: flex; }
.listen-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.listen-modal__box { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 2.25rem 2rem; width: 90%; max-width: 340px; text-align: center; }
.listen-modal__close { position: absolute; top: 0.4rem; right: 0.75rem; font-size: 1.6rem; line-height: 1; color: var(--muted); }
.listen-modal__close:hover { color: var(--white); }
.listen-modal__title { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 1.5rem; }
.listen-modal__links { display: flex; flex-direction: column; gap: 0.75rem; }
.listen-modal__links .btn { width: 100%; }

/* ============================================================
   Add-to-calendar dropdown (events.html)
   ============================================================ */
.event-item { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.event-info { flex: 1; min-width: 220px; }
.add-to-cal { position: relative; margin-left: auto; }
.add-to-cal summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  white-space: nowrap;
}
.add-to-cal summary::-webkit-details-marker { display: none; }
.add-to-cal[open] > summary { background: var(--accent); color: var(--black); border-color: var(--accent); }
.add-to-cal__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  padding: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  list-style: none;
  min-width: 220px;
  z-index: 20;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.add-to-cal__menu li { padding: 0; }
.add-to-cal__menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: background 0.2s;
}
.add-to-cal__menu a:hover { background: var(--surface2); color: var(--accent-light); }
@media (max-width: 720px) {
  .event-item { gap: 0.75rem; }
  .add-to-cal { margin-left: 0; }
  .add-to-cal__menu { right: auto; left: 0; }
}

/* ============================================================
   Light theme (override variables when data-theme="light")
   ============================================================ */
:root[data-theme="light"] {
  --black:        #f5f3ef;   /* fond clair principal */
  --deep:         #ebe8e2;   /* sections alternées */
  --surface:      #ffffff;   /* cartes */
  --surface2:     #f9f7f3;
  --border:       rgba(0,0,0,0.12);
  --white:        #2f2d2e;   /* texte principal (devient sombre) */
  --muted:        #6b7280;
  /* accent inchangé : #c33c54 reste lisible sur les deux fonds */
}
:root[data-theme="light"] body {
  background: var(--black);
  color: var(--white);
}
:root[data-theme="light"] .hero-overlay,
:root[data-theme="light"] .hero-bg::after {
  background: linear-gradient(180deg, rgba(245,243,239,0.4) 0%, rgba(245,243,239,0.95) 100%);
}
:root[data-theme="light"] .sidebar { background: rgba(255,255,255,0.95); border-right: 1px solid var(--border); }
:root[data-theme="light"] .sidebar__name,
:root[data-theme="light"] .sidebar__nav a { color: var(--white); }
:root[data-theme="light"] .listen-bar__link svg { color: var(--white); }
:root[data-theme="light"] .listen-modal__box { background: var(--surface); color: var(--white); }
:root[data-theme="light"] .work-card,
:root[data-theme="light"] .media-card,
:root[data-theme="light"] .event-item { background: var(--surface); }
:root[data-theme="light"] .add-to-cal__menu { box-shadow: 0 12px 32px rgba(0,0,0,0.15); }

/* ============================================================
   Theme toggle button (sidebar footer)
   ============================================================ */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle__icon {
  width: 14px; height: 14px;
  display: inline-block;
}
:root[data-theme="light"] .theme-toggle__icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle__icon--moon,
:root:not([data-theme]) .theme-toggle__icon--moon { display: none; }

/* Étoile "coup de cœur" sur les chants vedettes du catalogue */
.catalog-row__star {
  color: var(--accent);
  font-size: 0.8em;
  margin-left: 0.35em;
  opacity: 0.9;
  display: inline-block;
  transform: translateY(-1px);
}

/* =============================================================
   Page hero — variante compacte (blog, articles)
   Réduit le padding pour faire remonter le contenu.
   ============================================================= */
.page-hero--compact {
  padding: 5rem 0 1.5rem;
}
.page-hero--compact h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0;
}
.page-hero--compact .breadcrumb {
  margin-bottom: 0.4rem;
}
.page-hero--compact .page-lead {
  margin-top: 0.6rem;
  font-size: 1.25rem;
  max-width: 720px;
}

/* La section qui suit le hero compact a moins de padding-top */
.page-hero--compact + .section {
  padding-top: 2.5rem;
}

/* =============================================================
   Sticky footer — le footer reste toujours en bas si peu de contenu
   ============================================================= */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > .site-footer { margin-top: auto; }

/* =============================================================
   Lang switcher — style "bouton" cohérent avec theme-toggle
   ============================================================= */
.sidebar__footer { display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar__controls {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
  margin-top: 0.5rem;
}
.lang-switcher .lang-current {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-switcher .lang-current::after {
  content: "▾"; font-size: 0.65rem; opacity: 0.6;
}
.lang-switcher .lang-current:hover { border-color: var(--accent); color: var(--accent); }

/* Aligne lang-switcher + theme-toggle sur la même ligne sans décalage */
.sidebar__controls { align-items: center; }
.sidebar__controls .theme-toggle { margin-top: 0; }

/* =============================================================
   Light theme — fix page-hero & autres éléments à fond sombre hardcodé
   ============================================================= */
:root[data-theme="light"] .page-hero {
  background: linear-gradient(160deg, #f5f3ef 0%, #ebe8e2 45%, #ffffff 100%);
}
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .page-hero .page-lead,
:root[data-theme="light"] .page-hero .breadcrumb,
:root[data-theme="light"] .page-hero .breadcrumb a {
  color: var(--white); /* --white est inversé en sombre en light mode */
}
:root[data-theme="light"] .featured-strip { background: var(--surface); }
:root[data-theme="light"] .post-row:hover { background: rgba(0,0,0,0.03); }
:root[data-theme="light"] .post-row__day { color: var(--white); }
:root[data-theme="light"] .mini-album { background: var(--surface); }
:root[data-theme="light"] .nav-toggle { background: rgba(245,243,239,0.9); }
:root[data-theme="light"] .nav-toggle span { background: var(--white); }

/* =============================================================
   LIGHT MODE — passe globale d'overrides pour assurer la lisibilité
   sur toutes les pages.
   ============================================================= */
:root[data-theme="light"] {
  color-scheme: light;
}

/* Texte principal toujours lisible */
:root[data-theme="light"] body { background: var(--black); color: var(--white); }

/* Sidebar — fond clair, texte sombre */
:root[data-theme="light"] .sidebar {
  background: #ebe8e2;
  border-right-color: rgba(0,0,0,0.1);
}
:root[data-theme="light"] .sidebar__name { color: #2f2d2e; }
:root[data-theme="light"] .sidebar__nav a { color: #6b7280; }
:root[data-theme="light"] .sidebar__nav a:hover,
:root[data-theme="light"] .sidebar__nav a.is-active { color: #2f2d2e; }
:root[data-theme="light"] .lang-current { color: #6b7280; }
:root[data-theme="light"] .listen-bar__link { color: #6b7280; }
:root[data-theme="light"] .listen-bar__label { color: #6b7280; }
:root[data-theme="light"] .lang-dropdown { background: #ffffff; border-color: rgba(0,0,0,0.12); }
:root[data-theme="light"] .lang-dropdown li button { color: #6b7280; }
:root[data-theme="light"] .lang-dropdown li button:hover { background: #f9f7f3; }

/* Theme-toggle visible en light */
:root[data-theme="light"] .theme-toggle { color: #2f2d2e; border-color: rgba(0,0,0,0.15); }
:root[data-theme="light"] .theme-toggle:hover { color: var(--accent); }

/* Page hero — déjà géré, mais override gradient en clair */
:root[data-theme="light"] .page-hero {
  background: linear-gradient(160deg, #ebe8e2 0%, #f5f3ef 45%, #ffffff 100%);
  border-bottom-color: rgba(0,0,0,0.1);
}
:root[data-theme="light"] .page-hero h1,
:root[data-theme="light"] .page-hero .page-lead,
:root[data-theme="light"] .breadcrumb,
:root[data-theme="light"] .breadcrumb a { color: #2f2d2e; }
:root[data-theme="light"] .breadcrumb a { color: var(--accent); }

/* Featured strip + mini-albums (music) */
:root[data-theme="light"] .featured-strip { background: #f9f7f3; border-color: rgba(0,0,0,0.08); }
:root[data-theme="light"] .featured-strip__title { color: #2f2d2e; }
:root[data-theme="light"] .mini-album { background: #ffffff; }
:root[data-theme="light"] .mini-album__title { color: #2f2d2e; }

/* Catalogue chants */
:root[data-theme="light"] .catalog-row { color: #2f2d2e; }
:root[data-theme="light"] .catalog-row:hover { background: rgba(0,0,0,0.03); }
:root[data-theme="light"] .filter-btn { color: #6b7280; }
:root[data-theme="light"] .filter-btn.is-active { color: var(--accent); }
:root[data-theme="light"] .catalog-search { background: #ffffff; color: #2f2d2e; border-color: rgba(0,0,0,0.1); }

/* Cards work (albums) */
:root[data-theme="light"] .work-card { background: #ffffff; }
:root[data-theme="light"] .work-card__title { color: #2f2d2e; }

/* Bio section (couverture albums) */
:root[data-theme="light"] .bio-text { color: #2f2d2e; }
:root[data-theme="light"] .bio-text h2 { color: #2f2d2e; }

/* Tracklist sur pages albums */
:root[data-theme="light"] .tracklist li { color: #2f2d2e; }

/* Sections albums (chant pages) */
:root[data-theme="light"] .lyrics-wrap { color: #2f2d2e; }
:root[data-theme="light"] .lyric-refrain { border-left-color: var(--accent); }
:root[data-theme="light"] .uses-list li { color: #2f2d2e; }
:root[data-theme="light"] .chant-meta { color: #6b7280; }

/* Blog list */
:root[data-theme="light"] .post-row { color: #2f2d2e; }
:root[data-theme="light"] .post-row__title { color: #2f2d2e; }
:root[data-theme="light"] .post-row__day { color: #2f2d2e; }
:root[data-theme="light"] .post-row__excerpt { color: #6b7280; }
:root[data-theme="light"] .blog-search input { background: #ffffff; color: #2f2d2e; border-color: rgba(0,0,0,0.1); }

/* Article blog body */
:root[data-theme="light"] .article__body { color: #2f2d2e; }
:root[data-theme="light"] .article__body h2,
:root[data-theme="light"] .article__body h3 { color: #2f2d2e; }
:root[data-theme="light"] .article__lead { color: #2f2d2e; }
:root[data-theme="light"] .article__note { background: rgba(0,0,0,0.04); color: #2f2d2e; }

/* FAQ items */
:root[data-theme="light"] .faq-item summary { color: #2f2d2e; }
:root[data-theme="light"] .faq-item__body { color: #2f2d2e; }

/* Mariage tabs */
:root[data-theme="light"] .tab-panel { color: #2f2d2e; }
:root[data-theme="light"] .tab-panel h2 { color: #2f2d2e; }
:root[data-theme="light"] .moment__chant { color: #2f2d2e; }
:root[data-theme="light"] .tabs-list { border-bottom-color: rgba(0,0,0,0.1); }
:root[data-theme="light"] .tabs-list button[role="tab"] { color: #6b7280; }
:root[data-theme="light"] .tabs-list button[role="tab"][aria-selected="true"] { color: var(--accent); }
:root[data-theme="light"] .tab-panel__downloads { background: #f9f7f3; border-color: rgba(0,0,0,0.1); }
:root[data-theme="light"] .secli-mention { background: rgba(195,60,84,0.06); color: #2f2d2e; }

/* AMA page */
:root[data-theme="light"] .ama-input { background: #ffffff; color: #2f2d2e; border-color: rgba(0,0,0,0.15); }
:root[data-theme="light"] .ama-response { background: #ffffff; border-color: rgba(0,0,0,0.1); }
:root[data-theme="light"] .ama-response__body { color: #2f2d2e; }
:root[data-theme="light"] .ama-meta { color: #2f2d2e; }

/* Events page */
:root[data-theme="light"] .event-item { background: #ffffff; }
:root[data-theme="light"] .event-title,
:root[data-theme="light"] .event-day { color: #2f2d2e; }
:root[data-theme="light"] .add-to-cal__menu { background: #ffffff; border-color: rgba(0,0,0,0.1); }
:root[data-theme="light"] .add-to-cal__menu a { color: #2f2d2e; }
:root[data-theme="light"] .add-to-cal__menu a:hover { background: #f9f7f3; color: var(--accent); }

/* Footer */
:root[data-theme="light"] .site-footer { background: #ebe8e2; border-top: 1px solid rgba(0,0,0,0.08); }
:root[data-theme="light"] .footer-name { color: #2f2d2e; }

/* Forms */
:root[data-theme="light"] .brevo-form input { background: #ffffff !important; color: #2f2d2e !important; border-color: rgba(0,0,0,0.15) !important; }

/* Choir hero — laisser le hero en sombre (image avec texte blanc) */
/* déjà géré par color:#fff fix sur .choir-hero__name */

/* Sections génériques en surface foncée */
:root[data-theme="light"] .section-bio { background: var(--surface); }

/* Add-to-cal menu en light : fond surface clair, texte sombre */
:root[data-theme="light"] .add-to-cal__menu {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
:root[data-theme="light"] .add-to-cal__menu a {
  color: #2f2d2e;
}
:root[data-theme="light"] .add-to-cal__menu a:hover {
  background: #f5f3ef;
  color: var(--accent);
}
:root[data-theme="light"] .add-to-cal[open] > summary {
  color: #ffffff;
}

/* Fix stacking : quand un dropdown .add-to-cal est ouvert, il doit passer
   par-dessus le bouton de l'event suivant (qui crée son propre stacking context). */
.event-item { position: relative; z-index: 1; }
.add-to-cal { position: relative; }
details.add-to-cal[open] { z-index: 50; }
details.add-to-cal[open] .add-to-cal__menu { z-index: 51; }
