/**
 * @file theme.css
 * Les Sondiers — Thème personnalisé pour Mercury.
 *
 * Ce fichier remplace les variables Mercury par la charte Les Sondiers.
 * Placé à la racine web (à côté de index.php), Mercury le détecte automatiquement.
 *
 * Orange Les Sondiers : #e15500 → oklch(0.578 0.199 42.7)
 * Background dark :    #1b1e28 → oklch(0.185 0.016 265)
 * Surface :            #252938 → oklch(0.225 0.019 265)
 */

/* ── Prevent horizontal scroll on mobile ── */
html, body {
  overflow-x: hidden;
}

/* ── Border-box global — padding inclus dans max-width ── */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ── Badges toujours en majuscules ── */
[class*="__badge"],
[class*="__thema"],
.badge-primary,
.badge-secondary,
.tag-pill,
.tag-pill-sm {
  text-transform: uppercase;
}

/* ── Filigrane logo arrière-plan ── */
body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 50rem;
  max-height: 50rem;
  background: url('/themes/custom/lessondiers/logo/SondiersBlancSmall.png') center / contain no-repeat;
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}

:root {
  /* === DARK MODE PAR DÉFAUT (Les Sondiers = dark-first) === */
  --background: oklch(0.185 0.016 265);   /* #1b1e28 — était 0.153 */
  --foreground: oklch(0.93 0.005 260);
  --card: oklch(0.265 0.022 265);          /* plus clair — maquette surface */
  --card-foreground: oklch(0.93 0.005 260);
  --primary: #E15500;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.255 0.022 260);     /* était 0.223 */
  --secondary-foreground: oklch(0.85 0.01 260);
  --muted: oklch(0.255 0.022 260);         /* était 0.223 */
  --muted-foreground: oklch(0.60 0.02 260); /* était 0.55 — texte gris un peu plus lisible */
  --accent: #E15500;
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.637 0.208 25.3);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(1 0 0 / 0.10);           /* était 0.08 — bordures un poil plus visibles */
  --input: oklch(1 0 0 / 0.14);            /* était 0.12 */
  --font-sans: "Inter", "Helvetica Neue", Arial, Helvetica, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --radius: 0.75rem;
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: oklch(0 0 0);
  --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 12px 14px -1px hsl(0 0% 0% / 0.1);
  --tracking-normal: 0em;
  --spacing: 0.25rem;

  /* Navbar height (Mercury layout) */
  --navbar-height: calc(var(--spacing) * 15);

  @media (min-width: 768px) {
    --navbar-height: calc(var(--spacing) * 18);
  }
}

.dark {
  /* Mêmes valeurs — Les Sondiers est dark-first */
  --background: oklch(0.185 0.016 265);
  --foreground: oklch(0.93 0.005 260);
  --card: oklch(0.265 0.022 265);
  --card-foreground: oklch(0.93 0.005 260);
  --primary: #E15500;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.255 0.022 260);
  --secondary-foreground: oklch(0.85 0.01 260);
  --muted: oklch(0.255 0.022 260);
  --muted-foreground: oklch(0.60 0.02 260);
  --accent: #E15500;
  --accent-foreground: oklch(1 0 0);
  --destructive: oklch(0.637 0.208 25.3);
  --destructive-foreground: oklch(1 0 0);
  --border: oklch(1 0 0 / 0.10);
  --input: oklch(1 0 0 / 0.14);
  --font-sans: "Inter", "Helvetica Neue", Arial, Helvetica, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --radius: 0.75rem;
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: oklch(0 0 0);
  --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 12px 14px -1px hsl(0 0% 0% / 0.1);
}

/* ═══════════════════════════════════════════
   CUSTOM STYLES — Les Sondiers
   ═══════════════════════════════════════════ */

/* Conteneur principal pour les pages node */
.layout-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Émission full : largeur catalogue (2 colonnes + sidebar) */
.layout-content:has(.node--emission) {
  max-width: 80rem;
}


/* Cacher le "Submitted by Anonymous" du template par défaut */
article > footer:has(> div) {
  display: none;
}

/* line-clamp support */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Titres h2 orange global */
h2 { color: oklch(0.578 0.199 42.7); }

/* Prose styles pour le body des articles */
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.prose p { margin-bottom: 1rem; line-height: 1.75; margin-top: 0; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose a:hover { opacity: 0.8; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.25rem; }
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  font-style: italic;
  color: var(--muted-foreground);
  margin: 1.5rem 0;
}
/* Responsive video embeds inside prose / article body */
.prose iframe,
.article-video-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.article-video-embed {
  margin: 1.5rem 0;
}

/* Tables in editorial content */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  border-radius: var(--radius);
  overflow: hidden;
}
.prose thead th {
  background: rgba(225, 85, 0, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  text-align: left;
  padding: 0.625rem 0.875rem;
  border-bottom: 2px solid rgba(225, 85, 0, 0.3);
}
.prose table td,
.prose table th {
  font-size: 0.8125rem !important;
}
.prose tbody td {
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  vertical-align: top;
}
.prose tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}
.prose tbody td[colspan] {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.875rem;
}
.prose tbody td p {
  margin: 0;
}
.prose tbody td div,
.prose tbody td .detail {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.2rem;
}
/* Inline badges in tables */
.prose .tag {
  display: inline-block;
  padding: 0.1em 0.45em;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: middle;
  margin-left: 0.3em;
}
.prose .tag-win {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}
.prose .tag-lose {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}
.prose .tag-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-foreground);
}
@media (max-width: 640px) {
  .prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .prose thead th,
  .prose tbody td {
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
  }
}

/* Pages catalogue — container pleine largeur */
.view-lessondiers-videos .view-content,
.view-lessondiers-actu .view-content,
.view-lessondiers-articles .view-content,
.view-lessondiers-bonus .view-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ─── Liste vidéos : layout horizontal 2 sections ─── */

/* Liste verticale (vignette à gauche, texte à droite) */
.videos-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.videos-list .node--teaser > a {
  flex-direction: row !important;
  height: auto !important;
}
.videos-list .node--teaser > a .emission-vignette {
  width: 280px;
  min-width: 280px;
  flex-shrink: 0;
}
.videos-list .node--teaser > a .p-4 {
  flex: 1;
  min-width: 0;
}

/* Mobile : retour en colonne */
@media (max-width: 640px) {
  .videos-list .node--teaser > a {
    flex-direction: column !important;
  }
  .videos-list .node--teaser > a .emission-vignette {
    width: 100%;
    min-width: 0;
  }
}

/* ─── Section headers ─── */
.section-header {
  margin-bottom: 1.5rem;
}
.section-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}
.section-header__desc {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin: 0;
}

/* Émissions : barre accent orange à gauche + fond dégradé subtil */
.section-header--emissions {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  background: linear-gradient(90deg, oklch(0.578 0.199 42.7 / 0.06) 0%, transparent 60%);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* Vidéos : séparateur horizontal en haut */
.section-header--videos {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* ─── Hover cards : border accent ─── */
.videos-list .node--teaser > a {
  transition: border-color 0.2s;
}
.videos-list .node--teaser > a:hover {
  border-color: oklch(0.578 0.199 42.7 / 0.5);
}

/* ─── Bouton "Voir plus" ─── */
.voir-plus {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.voir-plus:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Pager : pleine largeur sous la grille */
.view-lessondiers-videos nav.pager {
  max-width: 80rem;
  margin: 2rem auto;
}

/* Exposed filters styling */
.views-exposed-form {
  max-width: 80rem;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}
.views-exposed-form .form-item {
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}
.views-exposed-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}
.views-exposed-form select,
.views-exposed-form input[type="text"] {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem 0.75rem;
  color: var(--foreground);
  font-size: 0.875rem;
}
.views-exposed-form .form-actions {
  display: inline-block;
  vertical-align: bottom;
}
.views-exposed-form .form-submit {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: calc(var(--radius) - 2px);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.views-exposed-form .form-submit:hover {
  opacity: 0.9;
}

/* Pager styling */
.pager {
  max-width: 80rem;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}
.pager__item a,
.pager__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  transition: all 0.15s;
}
.pager__item a {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
}
.pager__item a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pager__item.is-active span {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Mobile pager: wrap + hide intermediate pages */
@media (max-width: 640px) {
  .pager {
    flex-wrap: wrap;
    gap: 0.375rem;
  }
  .pager__item a,
  .pager__item span {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
  }
  /* Hide intermediate page numbers, keep first, last, active, prev, next, ellipsis */
  .pager__item--first,
  .pager__item--previous,
  .pager__item--next,
  .pager__item--last,
  .pager__item.is-active,
  .pager__item--ellipsis {
    display: flex;
  }
  /* Hide non-active page numbers by default on mobile */
  .pager__item:not(.pager__item--first):not(.pager__item--previous):not(.pager__item--next):not(.pager__item--last):not(.is-active):not(.pager__item--ellipsis) {
    display: none;
  }
  /* Show the items immediately adjacent to active (1 before, 1 after) */
  .pager__item.is-active + .pager__item {
    display: flex;
  }
}

/* ═══════════════════════════════════════════
   CARD GRID — Hauteurs uniformes
   ═══════════════════════════════════════════ */

.node--teaser {
  height: 100%;
}

/* ═══════════════════════════════════════════
   EMISSIONS PAGE — /emissions
   ═══════════════════════════════════════════ */

/* Page wrapper — same pattern as .actu-section */
.emissions-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

/* Reset region-content Mercury defaults — same pattern as other listing pages */
.path-emissions .site-main { padding-top: 0; }
.path-emissions .region-content,
.path-emissions .region-content > div,
.path-emissions .region-content > div > div {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* 2-column layout */
.emissions-page__layout {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 2.5rem;
  align-items: start;
}
.emissions-page__main {
  min-width: 0;
}

/* ── Mini Hero: top row = hero + search panel ── */
.emissions-top {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

/* Hero card */
.emissions-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 13rem;
}
.emissions-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(1.1);
}
.emissions-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 70%, transparent 100%);
}
.emissions-hero__content {
  position: relative;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.emissions-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.emissions-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(225, 85, 0, 0.2);
  color: #E15500;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.625rem;
  border-radius: 2rem;
  border: 1px solid rgba(225, 85, 0, 0.3);
}
.emissions-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: #E15500;
  border-radius: 50%;
  animation: heroDotPulse 2s infinite;
}
@keyframes heroDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.emissions-hero__date {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
.emissions-hero__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.375rem;
}
.emissions-hero__title a {
  color: #fff;
  text-decoration: none;
}
.emissions-hero__title a:hover {
  color: #E15500;
}
.emissions-hero__chapo {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0 0 0.5rem;
}
.emissions-hero__participants {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.emissions-hero__participants i {
  color: #E15500;
  font-size: 0.75rem;
}
.emissions-hero__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.emissions-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4375rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
}
.emissions-hero__btn:hover {
  transform: translateY(-1px);
}
.emissions-hero__btn--primary {
  background: #E15500;
  color: #fff;
}
.emissions-hero__btn--primary:hover {
  background: #ff6b1a;
  color: #fff;
}
.emissions-hero__btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.emissions-hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

/* Search panel — right column, aligned with sidebar */
.emissions-search-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.emissions-search-panel__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(225, 85, 0, 0.25);
}
.emissions-search-panel__title i {
  font-size: 0.8125rem;
}
.emissions-search-panel__form {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.emissions-search-panel__form .views-exposed-form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
  justify-content: space-between;
}
.emissions-search-panel__form label {
  display: none;
}
.emissions-search-panel__form .js-form-item {
  margin: 0;
}
.emissions-search-panel__form input[type="text"],
.emissions-search-panel__form input[type="search"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem 0.625rem 2.25rem;
  font-size: 0.875rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.625rem center;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.emissions-search-panel__form input:focus {
  border-color: #E15500;
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.1);
}
.emissions-search-panel__form .views-exposed-form .form-actions.form-wrapper {
  margin: 0;
  padding: 0;
  display: block;
  width: 100%;
}
.emissions-search-panel__form .views-exposed-form .form-actions .form-submit {
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  box-sizing: border-box;
  display: block;
}
.emissions-search-panel__form .form-submit:hover {
  background: #ff6b1a;
}
.emissions-search-panel__hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0.75rem 0 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .emissions-top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .emissions-hero__title {
    font-size: 1.125rem;
  }
  .emissions-hero__content {
    padding: 1.25rem;
  }
}

/* ── Header (fallback when no hero) ── */
.emissions-page__header {
  margin-bottom: 2rem;
}
.emissions-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.emissions-page__title i {
  color: #E15500;
  font-size: 1.25rem;
}
.emissions-page__subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1.5rem;
}

/* Search */
.emissions-page__search .views-exposed-form {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.emissions-page__search label {
  display: none;
}
.emissions-page__search input[type="text"],
.emissions-page__search input[type="search"] {
  flex: 1;
  max-width: 20rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.625rem 1rem 0.625rem 2.25rem;
  font-size: 0.875rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.625rem center;
  transition: border-color 0.2s;
}
.emissions-page__search input:focus {
  border-color: #E15500;
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.1);
}
.emissions-page__search .form-submit {
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.emissions-page__search .form-submit:hover {
  background: #ff6b1a;
}

/* ── Month groups ── */
.emissions-month {
  margin-bottom: 1.75rem;
}
.emissions-month__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.emissions-month__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E15500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.emissions-month__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 85, 0, 0.3), rgba(225, 85, 0, 0.05));
}
.emissions-month__count {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  font-weight: 600;
}

/* ── Emission row ── */
.emissions-month__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.emission-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.15s;
}
.emission-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.emission-row__thumb {
  width: 5.5rem;
  min-width: 5.5rem;
  aspect-ratio: 16 / 9;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #1e2230;
  flex-shrink: 0;
}
.emission-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.emission-row:hover .emission-row__thumb img {
  transform: scale(1.05);
}
.emission-row__numero {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  min-width: 2.5rem;
  text-align: right;
  flex-shrink: 0;
}
.emission-row__info {
  flex: 1;
  min-width: 0;
}
.emission-row__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground, #fff);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.emission-row:hover .emission-row__title {
  color: #E15500;
}
.emission-row__date {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
}
.emission-row__badge {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.5625rem;
}
.emission-row__badge--video {
  background: rgba(225, 85, 0, 0.15);
  color: #E15500;
}
.emission-row__badge--audio {
  background: rgba(139, 92, 246, 0.15);
  color: #8b5cf6;
}

/* ── Empty state ── */
.emissions-page__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Pager ── */
.emissions-page__main .pager {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}
.emissions-page__main .pager__item a,
.emissions-page__main .pager__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.emissions-page__main .pager__item a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.emissions-page__main .pager__item--active span,
.emissions-page__main .pager__item.is-active span {
  background: #E15500;
  color: #fff;
  font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 868px) {
  .emissions-page__layout {
    grid-template-columns: 1fr;
  }
  .emissions-page__sidebar {
    display: none;
  }
}
@media (max-width: 640px) {
  .emission-row__thumb {
    width: 4rem;
    min-width: 4rem;
  }
  .emission-row__numero {
    display: none;
  }
}

/* ── Sidebar ── */
.emissions-page__sidebar {
  position: sticky;
  top: 6rem;
}
.emissions-page__sidebar-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(225, 85, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.emissions-page__sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.emissions-page__trend {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.375rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}
.emissions-page__trend:hover {
  background: rgba(255, 255, 255, 0.04);
}
.emissions-page__trend-img {
  width: 4rem;
  min-width: 4rem;
  aspect-ratio: 16 / 9;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #1e2230;
}
.emissions-page__trend-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.emissions-page__trend-body {
  flex: 1;
  min-width: 0;
}
.emissions-page__trend-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground, #fff);
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.emissions-page__trend:hover .emissions-page__trend-title {
  color: #E15500;
}
.emissions-page__trend-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
}
.emissions-page__trend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E15500;
}


/* ═══════════════════════════════════════════
   EMISSION TEASER — Vignette avec overlay
   ═══════════════════════════════════════════ */
.emission-vignette {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--secondary);
  overflow: hidden;
}
/* Les images media doivent remplir la vignette.
   Drupal enveloppe l'img dans plusieurs <div> sans classes.
   On force toute la chaîne à remplir le conteneur. */
.emission-vignette > div:not([class*="emission-vignette__"]) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.emission-vignette > div:not([class*="emission-vignette__"]) div {
  width: 100%;
  height: 100%;
}
.emission-vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
a:hover .emission-vignette img {
  transform: scale(1.05);
}
.emission-vignette__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  pointer-events: none;
}
.emission-vignette__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 1;
}
.emission-vignette__play {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.emission-vignette__play svg {
  fill: #fff;
  margin-left: 2px;
}
.emission-vignette__badge {
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}
.emission-vignette__numero {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

/* ═══════════════════════════════════════════
   EMISSION FULL — YouTube embed zone
   ═══════════════════════════════════════════ */
.emission-youtube {
  aspect-ratio: 16 / 9;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}
.emission-youtube a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s;
}
.emission-youtube a:hover {
  opacity: 0.8;
}

/* ═══════════════════════════════════════════
   BOUTON ÉCOUTER — Bonus audio
   ═══════════════════════════════════════════ */
.btn-ecouter {
  background-color: var(--primary) !important;
  color: #fff !important;
  padding: 0.625rem 1.25rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: opacity 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-ecouter:hover {
  opacity: 0.85;
}

/* Liens plateformes podcast (Spotify, Apple, RSS) */
.podcast-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none !important;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.podcast-platform-link:hover {
  opacity: 1;
  color: var(--foreground);
}
.podcast-platform-link--player {
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

/* ═══════════════════════════════════════════
   BADGES & TAGS
   ═══════════════════════════════════════════ */

/* Badge primaire (numéro, format, catégorie) */
.badge-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.15s;
}
.badge-primary:hover {
  opacity: 0.85;
  color: #fff;
}

/* Badge secondaire (format, source) */
.badge-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: none;
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.15s;
}
.badge-secondary:hover {
  opacity: 0.85;
}

/* Reading time pill */
.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  line-height: 1.4;
}
.reading-time svg { opacity: 0.6; }

/* Tag thématique (pill) */
.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.1875rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Tags section */
.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

/* Tag pill cliquable */
a.tag-pill {
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
a.tag-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Tag muted (non cliquable, style discret) */
.tag-pill--muted {
  opacity: 0.6;
  font-size: 0.7rem;
}

/* Label méta (dt dans les cartes détails) */
.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

/* Tag petit (dans les teasers) */
.tag-pill-sm {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════
   SITE HEADER — Double barre
   ═══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ── Barre haute : logo + recherche + connexion ── */
.header-top {
  --_wrapper-start: max(1.5rem, calc((100% - 80rem) / 2 + 1.5rem));
  background:
    linear-gradient(90deg,
      #E15500 0%,
      #E15500 calc(var(--_wrapper-start) + 180px),
      rgba(225, 85, 0, 0.4) calc(var(--_wrapper-start) + 300px),
      rgba(225, 85, 0, 0.15) calc(var(--_wrapper-start) + 420px),
      rgba(22, 25, 33, 0.95) calc(var(--_wrapper-start) + 550px),
      rgba(22, 25, 33, 0.95) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-top__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.625rem 1.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-top__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-top__logo:hover { opacity: 0.85; }
.header-top__logo-img {
  height: 1.5rem;
  width: auto;
}
.header-top__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Search — icône intégrée à gauche */
.header-top__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(22, 25, 33, 0.7);
  padding: 0.375rem 0.75rem;
  transition: border-color 0.15s;
  height: 2rem;
  box-sizing: border-box;
}
.header-top__search:focus-within {
  border-color: #E15500;
}
.header-top__search-icon {
  flex-shrink: 0;
  color: #6b7280;
}
.header-top__search-input {
  width: 11rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.8125rem;
  outline: none;
}
.header-top__search-input:focus {
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.4);
  border-radius: 0.25rem;
}
.header-top__search-input::placeholder {
  color: #6b7280;
}

/* Connexion */
.header-top__login {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  transition: background 0.15s;
  height: 2rem;
  box-sizing: border-box;
}
.header-top__login:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ── User menu (logged in) ── */
.header-user-menu {
  position: relative;
}
.header-user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}
.header-user-menu__trigger:hover {
  color: #fff;
}
.header-user-menu__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.header-user-menu__avatar--default {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E15500, #ff6b1a);
  font-size: 0.9rem;
  line-height: 1;
}
.header-user-menu__name {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-user-menu__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 12rem;
  background: #1e2230;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.375rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
.header-user-menu[data-open] .header-user-menu__dropdown {
  display: block;
  animation: userMenuFadeIn 0.15s ease;
}
@keyframes userMenuFadeIn {
  from { opacity: 0; transform: translateY(-0.25rem); }
  to { opacity: 1; transform: translateY(0); }
}
.header-user-menu__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: background 0.15s, color 0.15s;
}
.header-user-menu__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.header-user-menu__item i {
  width: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.header-user-menu__item:hover i {
  color: #E15500;
}
.header-user-menu__item--logout:hover {
  color: #ef4444;
}
.header-user-menu__item--logout:hover i {
  color: #ef4444;
}
.header-user-menu__separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.25rem 0.5rem;
}

@media (max-width: 640px) {
  .header-user-menu__name { display: none; }
  .header-user-menu__trigger svg:last-child { display: none; }
  .header-user-menu__trigger { padding: 0.25rem; }
}

/* ── Barre basse : navigation ── */
.header-nav {
  background: var(--card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-nav__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-nav__links {
  display: flex;
  align-items: center;
  gap: 0;
}
.header-nav__link {
  position: relative;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
.header-nav__home {
  font-size: 0.875rem;
  padding-right: 1.25rem;
  margin-right: 0.25rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: #E15500;
}
.header-nav__home:hover {
  color: #ff6b1a;
}
.header-nav__link:hover {
  color: #fff;
}
.header-nav__link--active {
  color: #fff;
}
.header-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: #E15500;
  border-radius: 1px;
}
/* Seasonal : fond orange pétant, texte blanc */
.header-nav__link--seasonal {
  background: #10A1E5;
  color: #fff;
  font-weight: 700;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.header-nav__link--seasonal:hover {
  background: #3DB5EC;
  color: #fff;
}
.header-nav__link--seasonal.header-nav__link--active::after {
  background: #fff;
}

/* Burger — caché par défaut */
.header-nav__burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
}

/* ── Responsive ── */

/* Tablette : nav + badges compacts */
@media (max-width: 1024px) {
  .header-nav__link {
    padding: 0.5rem 0.625rem;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
  }
  .header-nav__link--active::after {
    left: 0.625rem;
    right: 0.625rem;
  }
}

/* Mobile : recherche compacte */
@media (max-width: 640px) {
  .header-top__inner { padding: 0.625rem 1rem; }
  .header-top__right { gap: 0.5rem; min-width: 0; }
  .header-top__search { min-width: 0; flex-shrink: 1; }
  .header-top__search-input { width: 5rem; min-width: 0; }
  .header-top__login span,
  .header-top__login { font-size: 0; gap: 0; padding: 0.375rem 0.5rem; }
  .header-top__login svg { width: 16px; height: 16px; }
}

/* Mobile : burger pour la nav */
@media (max-width: 640px) {
  .header-nav__burger {
    display: flex;
    align-items: center;
  }
  .header-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(22, 25, 33, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    gap: 0;
    z-index: 100;
  }
  .header-nav__links--open {
    display: flex;
  }
  .header-nav__link {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    text-transform: none;
    letter-spacing: 0;
  }
  .header-nav__inner {
    position: relative;
    padding: 0.375rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════
   SITE FOOTER — Maquette V1.2
   ═══════════════════════════════════════════ */
.site-footer {
  background: #0f1117;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
}
.site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.site-footer__brand {
  padding-right: 2rem;
}
.site-footer__brand-logo {
  height: 1.5rem;
  width: auto;
  margin-bottom: 1rem;
}
.site-footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6b7280; /* gray-500 */
}
.site-footer__col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af; /* gray-400 */
  margin-bottom: 1rem;
}
/* When a column has no title, align links with adjacent column's links */
.site-footer__col > .site-footer__col-links:first-child {
  padding-top: calc(0.75rem * 1.5 + 1rem); /* title line-height + margin-bottom */
}
.site-footer__col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.site-footer__col-links a {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__col-links a:hover {
  color: #fff;
}
.site-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #4b5563; /* gray-600 */
}
.site-footer__bottom p {
  margin: 0;
}
.site-footer__version {
  opacity: 0.5;
  margin-left: 0.25rem;
}
.site-footer__socials {
  display: flex;
  gap: 1.5rem;
}
.site-footer__socials a {
  color: #4b5563;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__socials a:hover {
  color: #fff;
}
.site-footer__rss .fa-rss {
  color: var(--ls-orange, #e15500);
}
.site-footer__rss:hover .fa-rss {
  color: #fff;
}

/* Footer mobile */
@media (max-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer__brand {
    padding-right: 0;
  }
  .site-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════
   MAIN CONTENT — Espacement header ↔ contenu
   ═══════════════════════════════════════════ */

/* Sticky footer — push footer to bottom on short pages */
.dialog-off-canvas-main-canvas {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dialog-off-canvas-main-canvas > .layout-container,
.dialog-off-canvas-main-canvas > div:not([class]) {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.site-main {
  flex: 1;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

/* Masquer le breadcrumb Mercury par défaut */
.region-header .breadcrumb {
  display: none;
}

/* Masquer la barre navigation Drupal admin sur le front */
.region-header {
  /* Laisse passer les blocks si besoin mais aucune marge en plus */
}

/* ═══════════════════════════════════════════
   HOMEPAGE — Page d'accueil Les Sondiers
   ═══════════════════════════════════════════ */

/* Front page: pas de padding-top sur le main (hero collé à la nav) */
.site-main--front {
  padding-top: 0;
}

/* Front page: layout-content pas de max-width restreint */
.layout-container--front .layout-content {
  max-width: none !important;
  padding: 0;
}

/* Checkout: unlock parent containers so .checkout-wrapper controls its own max-width */
.path-checkout .layout-content,
.layout-content:has(.checkout-wrapper) {
  max-width: none !important;
  padding: 0 !important;
}

.region:has(.checkout-wrapper),
main:has(.checkout-wrapper),
.block:has(.checkout-wrapper) {
  max-width: none !important;
}

/* ─── HERO CAROUSEL ─── */
.hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
}
/* Slide system — tous en absolute, le hero garde sa hauteur via min-height */
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
  z-index: 0;
}
.hero__slide--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    #161921 0%,
    rgba(22, 25, 33, 0.85) 25%,
    rgba(22, 25, 33, 0.4) 50%,
    transparent 70%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}
/* Navigation dots */
.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.hero__dot--active {
  background: #E15500;
  border-color: #E15500;
}
.hero__dot:hover {
  border-color: #fff;
}
/* Badge + date sur la même ligne */
.hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  background: #E15500;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.hero__badge--emission {
  background: #dc2626;
}
.hero__badge--tonight {
  background: #dc2626;
  animation: pulse-tonight 2s ease-in-out infinite;
}
@keyframes pulse-tonight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}
.hero__badge--video {
  background: rgba(225, 85, 0, 0.9);
}
.hero__badge--actu {
  background: #2563eb;
}
.hero__badge--article {
  background: #7c3aed;
}
.hero__badge--bonus {
  background: #059669;
}
.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero__date-pill {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
}
.hero__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 44rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero__title a {
  color: inherit;
  text-decoration: none;
}
.hero__title a:hover {
  color: #E15500;
}
@media (min-width: 768px) {
  .hero__title { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 3rem; } /* 48px au lieu de 60px */
}
.hero__chapo {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 1.25rem;
  max-width: 36rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero__cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.hero__btn:hover {
  transform: translateY(-1px);
}
.hero__btn--primary {
  background: #E15500;
  color: #fff;
}
.hero__btn--primary:hover {
  background: #ff6b1a;
  color: #fff;
  box-shadow: 0 0 20px rgba(225, 85, 0, 0.2);
}
.hero__btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ─── HOME SECTIONS ─── */
.home-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.home-section__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
/* text-3xl = 1.875rem, font-extrabold = 800 */
.home-section__title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
/* text-base = 1rem, text-gray-500 */
.home-section__desc {
  font-size: 1rem;
  color: #6b7280;
  margin: 0.25rem 0 0;
}
.home-section__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #E15500;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.home-section__link:hover {
  color: #f06a1a;
}

/* ─── FEATURED GRID (À la une) ─── */
.featured-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.featured-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
  min-height: 14rem;
}
.featured-card--large {
  grid-row: 1 / 3;
  min-height: 28rem;
}
.featured-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--card);
  transition: transform 0.3s;
}
.featured-card:hover .featured-card__img {
  transform: scale(1.03);
}
.featured-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.featured-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #E15500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}
.featured-card:hover .featured-card__play {
  opacity: 1;
}
.featured-card__info {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  width: 100%;
}
.featured-card__badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: #E15500;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.featured-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.featured-card--large .featured-card__title {
  font-size: 1.375rem;
}
.featured-card__duration {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.375rem;
  display: block;
}

/* ─── ACTU GRID ─── */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.actu-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.2s;
  overflow: hidden;
}
.actu-card:hover {
  border-color: rgba(225, 85, 0, 0.4);
}
.actu-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--muted);
  flex-shrink: 0;
}
.actu-card__thema {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}
.actu-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.actu-card:hover .actu-card__thumb img {
  transform: scale(1.05);
}
.actu-card__content {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
}
.actu-card__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.actu-card__badge {
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: rgba(225, 85, 0, 0.15);
  color: #E15500;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
}
.actu-card__source {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.actu-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.actu-card__chapo {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.actu-card__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: auto;
}

/* ═════════════════════════════════════════════════════════
   PAGE ACTU — Layout éditorial (maquette V3)
   ═════════════════════════════════════════════════════════ */

/* ─── Section conteneur ─── */
.actu-section,
.content-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

/* ─── Titre + sous-titre ─── */
.actu-section__header {
  margin-bottom: 1.75rem;
}
.actu-section__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.actu-section__subtitle {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ─── Filtres thématiques (pills) ─── */
.actu-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  padding-bottom: 1rem !important;
  margin-bottom: 1.75rem !important;
  border-bottom: 1px solid var(--border) !important;
}
.actu-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.actu-filter:hover {
  border-color: rgba(225, 85, 0, 0.4);
  color: var(--foreground);
  background: rgba(225, 85, 0, 0.05);
}
.actu-filter--active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.actu-filter--active:hover {
  background: var(--primary);
  color: #fff;
}
.actu-filter__count {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0 0.3125rem;
  min-width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-foreground);
  line-height: 1;
}
.actu-filter--active .actu-filter__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
/* "Plus" dropdown */
.actu-filter-more {
  position: relative;
}
.actu-filter--more {
  border-style: dashed;
}
.actu-filter-more__chevron {
  transition: transform 0.2s;
}
.actu-filter-more.is-open .actu-filter-more__chevron {
  transform: rotate(180deg);
}
.actu-filter-more__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 20;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.375rem;
  min-width: 12rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.actu-filter-more.is-open .actu-filter-more__dropdown {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.actu-filter-more__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.15s;
}
.actu-filter-more__item:hover {
  background: rgba(225, 85, 0, 0.08);
  color: var(--foreground);
}
.actu-filter-more__item--active {
  color: var(--primary);
  font-weight: 600;
}
.actu-filter-more__item .actu-filter__count {
  font-size: 0.625rem;
}

/* ─── Article vedette — pleine largeur, layout 55/45 ─── */
.actu-featured {
  display: flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
  margin-bottom: 2rem;
  text-decoration: none;
  color: inherit;
}
.actu-featured:hover {
  border-color: rgba(225, 85, 0, 0.35);
}
.actu-featured__img {
  position: relative;
  width: 55%;
  flex-shrink: 0;
  overflow: hidden;
}
.actu-featured__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.actu-featured:hover .actu-featured__img img {
  transform: scale(1.03);
}
.actu-featured__source-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.2rem 0.625rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.actu-featured__body {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
}
.actu-featured__label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.2rem 0.625rem;
  border-radius: 4px;
  background: rgba(225, 85, 0, 0.12);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  width: fit-content;
}
.actu-featured__title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.actu-featured:hover .actu-featured__title {
  color: var(--primary);
}
.actu-featured__chapo {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.actu-featured__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}
.actu-featured__tag {
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.actu-featured__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-left: auto;
}

/* ─── Badges source (partagés) ─── */
.badge-source--synthtopia   { background: rgba(59, 130, 246, 0.9); }
.badge-source--audiofanzine { background: rgba(22, 163, 74, 0.9); }
.badge-source--musicradar   { background: rgba(124, 58, 237, 0.9); }
.badge-source--gearnews     { background: rgba(234, 88, 12, 0.9); }
.badge-source--sonicstate   { background: rgba(14, 116, 144, 0.9); }
.badge-source--default        { background: rgba(225, 85, 0, 0.85); }
.badge-source--lessondiers    { background: rgba(225, 85, 0, 0.85); }
.badge-source--cdm            { background: rgba(220, 38, 38, 0.9); }
.badge-source--synth_anatomy  { background: rgba(168, 85, 247, 0.9); }

/* Pastilles source (dot) */
.dot-source--synthtopia   { background: #3b82f6; }
.dot-source--audiofanzine { background: #16a34a; }
.dot-source--musicradar   { background: #7c3aed; }
.dot-source--gearnews     { background: #ea580c; }
.dot-source--sonicstate   { background: #0e7490; }
.dot-source--default        { background: #E15500; }
.dot-source--lessondiers    { background: #E15500; }
.dot-source--cdm            { background: #dc2626; }
.dot-source--synth_anatomy  { background: #a855f7; }

/* Thematique colors are now managed via field_color on the taxonomy term
   and rendered as inline styles. No hardcoded CSS classes needed. */

/* ─── Layout : Liste + Sidebar ─── */
.actu-layout {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: 2.5rem;
  align-items: start;
  padding-top: 1.75rem !important;
}

/* ─── Liste éditoriale ─── */
.actu-list {
  display: flex;
  flex-direction: column;
}
.actu-item {
  display: flex;
  align-items: stretch;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.15s;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.actu-item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}
.actu-item:hover::before { opacity: 1; }
.actu-item:hover {
  background: rgba(255, 255, 255, 0.015);
  margin: 0 -1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border-color: transparent;
}
.actu-item:first-child { padding-top: 0; }
.actu-item:first-child:hover { padding-top: 0; }
.actu-item:last-child { border-bottom: none; }

/* Vignette */
.actu-item__thumb {
  width: 10rem;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  flex-shrink: 0;
  background: #1a1c24;
}
.actu-item__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.actu-item:hover .actu-item__thumb img {
  transform: scale(1.06);
}

/* Corps */
.actu-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  justify-content: space-between;
}
.actu-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.actu-item:hover .actu-item__title { color: var(--primary); }

.actu-item__chapo {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ligne du bas : marque · date ——— tags */
.actu-item__bottom {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
}
.actu-item__brand {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}
.actu-item__source-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.actu-item__source-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.actu-item__sep {
  color: var(--border);
  font-size: 0.625rem;
}
.actu-item__date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.actu-item__comments,
.actu-featured__comments {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.actu-item__tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.actu-item__tag {
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.15s;
}
.actu-item:hover .actu-item__tag {
  background: rgba(225, 85, 0, 0.08);
  color: rgba(225, 85, 0, 0.75);
}

/* ─── Sidebar "Tendances" ─── */
.actu-sidebar {
  position: sticky;
  top: 5.5rem;
}
.ad-sidebar-slot:empty {
  display: none;
}
.ad-sidebar-slot {
  margin-bottom: 1.5rem;
}
.actu-sidebar__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(225, 85, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.actu-sidebar__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.actu-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* ─── Articles populaires sidebar (2 cartes + liste compacte) ─── */
.actu-sidebar__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.actu-sidebar-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.actu-sidebar-card:hover {
  border-color: rgba(225, 85, 0, 0.35);
  transform: translateY(-1px);
}
.actu-sidebar-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1c24;
}
.actu-sidebar-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.actu-sidebar-card:hover .actu-sidebar-card__img img {
  transform: scale(1.04);
}
.actu-sidebar-card__badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.actu-sidebar-card__body {
  padding: 0.75rem 0.875rem;
}
.actu-sidebar-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.actu-sidebar-card:hover .actu-sidebar-card__title { color: var(--primary); }
.actu-sidebar-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

/* Liste compacte articles */
.actu-sidebar__compact {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.actu-sidebar-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--foreground);
  transition: all 0.15s;
}
.actu-sidebar-item:last-child { border-bottom: none; }
.actu-sidebar-item:hover { color: var(--primary); }
.actu-sidebar-item__img {
  width: 4.5rem;
  height: 3rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--muted);
  flex-shrink: 0;
}
.actu-sidebar-item__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.actu-sidebar-item:hover .actu-sidebar-item__img img { transform: scale(1.05); }
.actu-sidebar-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.actu-sidebar-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.actu-sidebar-item:hover .actu-sidebar-item__title { color: var(--primary); }
.actu-sidebar-item__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.actu-sidebar-item__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}
.actu-sidebar__all-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s;
}
.actu-sidebar__all-link:hover { opacity: 0.8; }

/* Tendance compacte (liste) — ancien style conservé */
.actu-trend-compact {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  padding: 0.375rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
  color: inherit;
}
.actu-trend-compact:hover {
  background: rgba(255, 255, 255, 0.04);
}
.actu-trend-compact__img {
  width: 4rem;
  min-width: 4rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #1e2230;
  flex-shrink: 0;
}
.actu-trend-compact__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.actu-trend-compact__body {
  flex: 1;
  min-width: 0;
}
.actu-trend-compact__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground, #fff);
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.actu-trend-compact:hover .actu-trend-compact__title {
  color: var(--primary);
}
.actu-trend-compact__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
}
.actu-trend-compact__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

/* Carte tendance */
.actu-trend {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.actu-trend:hover {
  border-color: rgba(225, 85, 0, 0.35);
  transform: translateY(-1px);
}
.actu-trend__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1c24;
}
.actu-trend__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.actu-trend:hover .actu-trend__img img {
  transform: scale(1.04);
}
.actu-trend__source-badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.actu-trend__body {
  padding: 0.75rem 0.875rem;
}
.actu-trend__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.actu-trend:hover .actu-trend__title { color: var(--primary); }
.actu-trend__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.actu-trend__meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Pager Actu ─── */
.actu-pager {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
}
.actu-pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.actu-pager__item:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.actu-pager__item--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ─── Responsive Actu ─── */
@media (max-width: 1024px) {
  .actu-layout {
    grid-template-columns: 1fr 18rem;
    gap: 1.5rem;
  }
  .actu-featured__img { width: 50%; }
  .actu-featured__body { padding: 1.5rem; }
  .actu-featured__title { font-size: 1.25rem; }
}

@media (max-width: 868px) {
  .actu-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .actu-sidebar {
    position: static;
    order: -1;
  }
  .actu-sidebar__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .actu-featured { flex-direction: column; }
  .actu-featured__img {
    width: 100%;
    aspect-ratio: 2.2 / 1;
  }
  .actu-featured__body { padding: 1.25rem 1.5rem; }
  .actu-featured__title { font-size: 1.25rem; }
}

@media (max-width: 640px) {
  .actu-section__title { font-size: 1.5rem; }
  .actu-section__subtitle { font-size: 0.8125rem; }
  .actu-featured__title { font-size: 1.125rem; }
  .actu-featured__chapo { font-size: 0.8125rem; -webkit-line-clamp: 3; }

  .actu-trend { flex-direction: row; }
  .actu-trend__img {
    width: 6rem;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
  }
  .actu-trend__body {
    padding: 0.625rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .actu-trend__title { font-size: 0.8125rem; -webkit-line-clamp: 2; }

  .actu-item { gap: 0.75rem; }
  .actu-item__thumb { width: 7rem; }
  .actu-item__chapo { display: none; }
  .actu-item__tags { display: none; }
  .actu-item__sep { display: none; }
  .actu-item__bottom { margin-top: 0.125rem; }
  .actu-item__title { font-size: 0.875rem; }
  .actu-item::before { display: none; }
  .actu-item:hover {
    margin: 0;
    padding: 1rem 0;
    border-radius: 0;
    background: transparent;
  }
  .actu-item:first-child:hover { padding-top: 0; }
}

/* ─── TAG CHIPS (filtres vidéo) ─── */
.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
.tag-chip:hover,
.tag-chip--active {
  background: #E15500;
  color: #fff;
  border-color: #E15500;
}

/* Tablette : tag-chips compacts */
@media (max-width: 1024px) {
  .tag-chip {
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
  }
}
/* Mobile : tag-chips encore plus compacts */
@media (max-width: 640px) {
  .tag-chip {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
  }
}

/* ─── VIDEO GRID (toutes les vidéos) ─── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.video-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.2s;
}
.video-card:hover {
  border-color: rgba(225, 85, 0, 0.4);
}
.video-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--secondary);
  overflow: hidden;
  transition: transform 0.5s;
}
.video-card:hover .video-card__img {
  transform: scale(1.05);
}
.video-card__duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #E15500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.video-card:hover .video-card__play {
  opacity: 1;
}
.video-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  background: rgba(225, 85, 0, 0.9);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}
.video-card__badge--test      { background: rgba(225, 85, 0, 0.9); }
.video-card__badge--emission  { background: rgba(220, 38, 38, 0.9); }
.video-card__badge--reportage { background: rgba(14, 116, 144, 0.9); }
.video-card__badge--vlog      { background: rgba(124, 58, 237, 0.9); }
.video-card__badge--tuto      { background: rgba(22, 163, 74, 0.9); }
.video-card__badge--avent     { background: rgba(192, 38, 38, 0.9); }
.video-card__badge--serie     { background: rgba(79, 70, 229, 0.9); }
.video-card__info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.video-card__format {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #E15500;
  letter-spacing: 0.03em;
}
.video-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ─── PODCAST + NEWSLETTER ─── */
.podcast-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
/* text-2xl = 1.5rem, font-extrabold */
.podcast-newsletter__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff;
}
.podcast-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.podcast-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.podcast-card__header .podcast-newsletter__title {
  margin-bottom: 0;
}
.podcast-card__desc {
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.podcast-card__links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.podcast-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.podcast-card__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Waveform animation */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 2rem;
}
.waveform__bar {
  width: 4px;
  border-radius: 2px;
  background: #E15500;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform__bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.waveform__bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.waveform__bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.waveform__bar:nth-child(4) { height: 100%; animation-delay: 0.3s; }
.waveform__bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.waveform__bar:nth-child(6) { height: 90%; animation-delay: 0.5s; }
.waveform__bar:nth-child(7) { height: 45%; animation-delay: 0.6s; }
.waveform__bar:nth-child(8) { height: 75%; animation-delay: 0.7s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Newsletter — fond orange pétant comme la maquette */
.newsletter-card {
  background: linear-gradient(135deg, #E15500, #c44900);
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.newsletter-card .podcast-newsletter__title {
  color: #fff;
}
.newsletter-card__desc {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.newsletter-card__form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin-top: auto;
}
.newsletter-card__input {
  flex: 1;
  padding: 0.75rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 0.875rem;
}
.newsletter-card__input::placeholder {
  color: rgba(255, 200, 150, 0.6);
}
.newsletter-card__btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: #fff;
  color: #E15500;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.newsletter-card__btn:hover {
  background: #fff5ee;
}

/* ─── SUPPORT GRID (Soutenez) ─── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.support-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  color: var(--foreground);
  transition: border-color 0.2s;
}
.support-card:hover {
  border-color: rgba(225, 85, 0, 0.4);
}
.support-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.support-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.support-card__icon--yt {
  background: rgba(220, 38, 38, 0.15);
}
.support-card__icon--patreon {
  background: rgba(249, 115, 22, 0.15);
}
.support-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.support-card__sub {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}
.support-card__desc {
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.support-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  margin-top: auto;
}
.support-card__btn--yt {
  background: #dc2626;
  color: #fff;
}
.support-card__btn--yt:hover {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}
.support-card__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.support-card__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ─── ARTICLES GRID ─── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.2s;
}
.article-card:hover {
  border-color: rgba(225, 85, 0, 0.4);
}
.article-card__img {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.5s;
}
.article-card:hover .article-card__img {
  transform: scale(1.05);
}
.article-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}
.article-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #E15500;
  letter-spacing: 0.03em;
}
.article-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__chapo {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ─── PATCH CLUB ─── */
.patchclub-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem 2rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.patchclub-card__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.05), transparent);
  pointer-events: none;
}
/* text-sm, tracking-[0.2em] */
.patchclub-card__badge {
  display: block;
  color: #E15500;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  position: relative;
}
/* text-4xl md:text-5xl = 2.25rem / 3rem, font-black */
.patchclub-card__title {
  font-size: 3rem;
  font-weight: 900;
  margin: 0 0 1.25rem;
  color: #fff;
  position: relative;
}
/* text-lg */
.patchclub-card__desc {
  font-size: 1.125rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.patchclub-card__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.patchclub-card__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}
/* w-14 h-14 rounded-xl bg-sondiers-orange/10 */
.patchclub-card__feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(225, 85, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.patchclub-card__feature-icon i {
  color: #E15500;
  font-size: 1.25rem;
}
.patchclub-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  background: #E15500;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  position: relative;
}
.patchclub-card__cta:hover {
  background: #ff6b1a;
  color: #fff;
  box-shadow: 0 0 20px rgba(225, 85, 0, 0.2);
}

/* ─── ABOUT GRID (Qui sont Les Sondiers) ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-grid__text p {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.about-grid__text strong {
  color: var(--foreground);
}
.about-grid__text a {
  color: #E15500;
  text-decoration: none;
}
.about-grid__text a:hover {
  text-decoration: underline;
}
.about-grid__links {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.about-grid__social {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
  display: flex;
}
.about-grid__social--yt:hover { color: #ef4444; }
.about-grid__social--twitch:hover { color: #a78bfa; }
.about-grid__social--ig:hover { color: #ec4899; }
.about-grid__social--discord:hover { color: #818cf8; }
.about-grid__social--fb:hover { color: #60a5fa; }
.about-grid__img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  aspect-ratio: 4 / 3;
}
.about-grid__img img {
  max-width: 60%;
  height: auto;
  opacity: 0.5;
}

/* ─── CARD GLOW (hover orange subtil) ─── */
.card-glow {
  position: relative;
}
.card-glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(225, 85, 0, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.card-glow:hover::after {
  opacity: 1;
}

/* ─── HOMEPAGE RESPONSIVE ─── */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-card--large {
    grid-row: auto;
    min-height: 18rem;
  }
  .featured-grid .featured-card:nth-child(n+3) {
    display: none;
  }
  .actu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 65vh;
  }
  .hero__title {
    font-size: 1.5rem;
    -webkit-line-clamp: 2;
  }
  .hero__chapo {
    display: none;
  }
  .hero__btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }
  .featured-card--large {
    min-height: 14rem;
  }

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

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

  .podcast-newsletter-grid {
    grid-template-columns: 1fr;
  }

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-grid__img {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .patchclub-card__title {
    font-size: 2rem;
  }

  .home-section {
    padding: 1.25rem 0.25rem;
  }
  .home-section__header {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Footer : pas de margin-top sur front (sections gèrent leur espacement) */
.layout-container--front .site-footer {
  margin-top: 0;
}

/* Footer logo plus grand (h-10 = 2.5rem) */
.site-footer__brand-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════
   PAGE /VIDEOS — Patchwork de tuiles
   ═══════════════════════════════════════════ */

.video-tiles-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.video-tiles-section__header {
  margin-bottom: 2rem;
}

.video-tiles-section__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.video-tiles-section__subtitle {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}
.video-tiles-section__subtitle strong {
  color: var(--primary);
  font-weight: 600;
}

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

/* ─── Tuile catégorie vidéo ─── */
.video-tile {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-align: left;
  color: var(--foreground);
  text-decoration: none;
  font-family: var(--font-sans);
  aspect-ratio: 2.2 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.video-tile:hover {
  border-color: #E15500;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(225, 85, 0, 0.1);
}
.video-tile--active {
  border: 2px solid #E15500;
  box-shadow: 0 0 30px rgba(225, 85, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Thumbnail MONOCHROME duotone — le traitement est 100% CSS */
.video-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.2) brightness(0.55);
  transition: filter 0.6s ease, transform 0.6s ease;
}
.video-tile:hover .video-tile__bg {
  filter: grayscale(0.5) contrast(1.1) brightness(0.65);
  transform: scale(1.06);
}
.video-tile--active .video-tile__bg {
  filter: grayscale(0.3) contrast(1.1) brightness(0.6);
}

/* Overlay gradient — du bas (opaque) vers le haut (semi-transparent) */
.video-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.185 0.016 265 / 0.92) 0%,
    oklch(0.185 0.016 265 / 0.65) 35%,
    oklch(0.578 0.199 42.7 / 0.07) 100%
  );
  transition: opacity 0.4s;
}

/* Teinte chaude orange subtile (pseudo-element) */
.video-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(225, 85, 0, 0.12) 0%,
    rgba(225, 85, 0, 0.03) 40%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.4s;
}
.video-tile:hover::before {
  opacity: 1;
}
.video-tile--active::before {
  background: linear-gradient(
    135deg,
    rgba(225, 85, 0, 0.2) 0%,
    rgba(225, 85, 0, 0.06) 50%,
    transparent 80%
  );
  opacity: 1;
}

/* Badge compteur */
.video-tile__count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  padding: 0.15rem 0.625rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Contenu aligné en bas */
.video-tile__content {
  position: relative;
  z-index: 2;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: 0.875rem;
}

/* Icône dans un carré glassmorphism */
.video-tile__icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.625rem;
  background: rgba(225, 85, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(225, 85, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.video-tile:hover .video-tile__icon-wrap {
  background: rgba(225, 85, 0, 0.3);
  border-color: rgba(225, 85, 0, 0.45);
  transform: scale(1.05);
}
.video-tile__icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: #E15500;
  fill: none;
  stroke-width: 1.5;
}

.video-tile__text {
  min-width: 0;
}

/* Titre avec text-shadow pour lisibilité sur thumbnail */
.video-tile__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.125rem;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* Description sur 1 ligne */
.video-tile__desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  margin: 0;
}

/* Grille filtrée */
.videos-filtered {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 2rem;
}

.videos-filtered__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.videos-filtered__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}
.videos-filtered__count {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-foreground);
  margin-left: 0.5rem;
}

/* Empty state */
.videos-filtered__empty {
  text-align: center;
  padding: 4rem 2rem;
}

.videos-filtered__empty-icon {
  margin-bottom: 1rem;
  opacity: 0.6;
}

.videos-filtered__empty-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.videos-filtered__empty-sub {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ─── Pagination vidéos ─── */
.videos-pager {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2rem;
}
.videos-pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.videos-pager__item:hover {
  border-color: #E15500;
  color: #E15500;
}
.videos-pager__item--active {
  background: #E15500;
  color: #fff;
  border-color: #E15500;
}
.videos-pager__item--ellipsis {
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  cursor: default;
  min-width: 1.5rem;
  padding: 0;
}
.videos-pager__item--nav {
  font-weight: 700;
}

@media (max-width: 640px) {
  .videos-pager {
    gap: 0.375rem;
  }
  .videos-pager__item {
    min-width: 2rem;
    height: 2rem;
    padding: 0 0.5rem;
    font-size: 0.75rem;
  }
}

/* ─── Séparateur section ─── */
.section-divider {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.section-divider__line {
  position: relative;
  height: 1px;
  background: var(--border);
}
/* Accent orange central */
.section-divider__line::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #E15500, transparent);
}
/* Glow subtil */
.section-divider__line::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(225, 85, 0, 0.08), transparent 70%);
  pointer-events: none;
}

/* ─── Recherche vidéos (exposed filter Views) ─── */
/* Hide View content/attachment/pager — only show exposed form */
.videos-filtered__search .view-content,
.videos-filtered__search .attachment,
.videos-filtered__search .pager,
.videos-filtered__search .view-header,
.videos-filtered__search .view-footer,
.videos-filtered__search .view-empty,
.videos-filtered__search .section-header,
.videos-filtered__search .videos-list,
.videos-filtered__search .emissions-grid-view {
  display: none !important;
}
.videos-filtered .views-exposed-form {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
/* Hide the label — placeholder is sufficient */
.videos-filtered .views-exposed-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.videos-filtered .views-exposed-form .form-item {
  position: relative;
  margin: 0;
  flex: 1;
}
/* Search icon (loupe) positioned relative to the input */
.videos-filtered .views-exposed-form .form-item::before {
  content: '';
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: var(--muted-foreground);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='currentColor' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='currentColor' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat center;
  pointer-events: none;
  z-index: 1;
}
.videos-filtered .views-exposed-form input[type="text"],
.videos-filtered .views-exposed-form input[type="search"] {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.videos-filtered .views-exposed-form input[type="text"]::placeholder,
.videos-filtered .views-exposed-form input[type="search"]::placeholder {
  color: var(--muted-foreground);
}
.videos-filtered .views-exposed-form input[type="text"]:focus,
.videos-filtered .views-exposed-form input[type="search"]:focus {
  border-color: rgba(225, 85, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.08);
}
/* Bouton Apply / Submit — aligné avec le champ */
.videos-filtered .views-exposed-form .form-actions {
  margin: 0;
  flex-shrink: 0;
}
.videos-filtered .views-exposed-form .form-submit {
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.videos-filtered .views-exposed-form .form-submit:hover {
  border-color: #E15500;
  color: #E15500;
}

/* ─── Recherche vidéos (formulaire Paragraphs) ─── */
.videos-search-form {
  margin-bottom: 1.25rem;
}
.videos-search-form__wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  position: relative;
}
.videos-search-form__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  pointer-events: none;
  z-index: 1;
}
.videos-search-form__input {
  flex: 1;
  padding: 0.625rem 1rem 0.625rem 2.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.videos-search-form__input::placeholder {
  color: var(--muted-foreground);
}
.videos-search-form__input:focus {
  border-color: rgba(225, 85, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.08);
}
.videos-search-form__btn {
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.videos-search-form__btn:hover {
  border-color: #E15500;
  color: #E15500;
}

/* Responsive tuiles */
@media (max-width: 1024px) {
  .video-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .videos-grid .video-card:nth-child(n+4) {
    display: none;
  }
}
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .video-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .video-tile {
    aspect-ratio: 1.8 / 1;
  }
  .video-tile__content {
    padding: 0.75rem;
    gap: 0.625rem;
  }
  .video-tile__icon-wrap {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
  }
  .video-tile__icon-wrap svg {
    width: 16px;
    height: 16px;
  }
  .video-tile__title {
    font-size: 0.875rem;
  }
  .video-tile__desc {
    display: none;
  }
  .video-tiles-section__title {
    font-size: 1.5rem;
  }
  .video-tiles-section__subtitle {
    font-size: 0.8125rem;
  }
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .section-divider {
    padding-top: 2rem;
  }
}

/* ================================================================
   COMMERCE — Boutique Les Sondiers
   ================================================================ */

/* --- Boutique grid --- */
.boutique-grid .view-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
}

.view-lessondiers-boutique .view-header {
  margin-bottom: 1rem;
}

.view-lessondiers-boutique .view-filters {
  margin-bottom: 2rem;
}

.view-lessondiers-boutique .view-filters form {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.view-lessondiers-boutique .view-filters select {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.view-lessondiers-boutique .view-filters input[type="submit"] {
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.view-lessondiers-boutique .view-filters input[type="submit"]:hover {
  background: #ff6b1a;
}

/* --- Product card (teaser) --- */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(225, 85, 0, 0.4);
  box-shadow: 0 8px 32px rgba(225, 85, 0, 0.08);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-card__img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--secondary);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.12);
  font-size: 3rem;
}

.product-card__placeholder--large {
  font-size: 5rem;
}

.product-card__badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 1;
}

.product-card__badge--sound_pack,
.product-card__badge--plugin {
  background: #E15500;
  color: #fff;
}

.product-card__badge--physical {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
}

.product-card__badge--video_product,
.product-card__badge--formation {
  background: #7c3aed;
  color: #fff;
}

.product-card__badge--subscription {
  background: #059669;
  color: #fff;
}

.product-card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.product-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
  margin: 0;
}

.product-card:hover .product-card__title {
  color: #E15500;
}

.product-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #E15500;
  margin-top: auto;
}

.product-card__price-period {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

/* --- Mercury override for product pages --- */
.path-product .site-main { padding-top: 0; padding-bottom: 0; }
.path-product .layout-content { max-width: none; padding: 0; margin: 0; }
.path-product .region-content,
.path-product .region-content > div,
.path-product .region-content > div > div { max-width: none; padding: 0; margin: 0; }

/* --- Product breadcrumb --- */
.product-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding: 0.75rem 1.25rem;
  margin: 0 0 1.5rem 0;
  font-size: 0.8125rem;
  background: oklch(0.2 0.015 250 / 0.8);
  border: 1px solid oklch(0.4 0.03 250 / 0.5);
  border-radius: 0.5rem;
}

.product-breadcrumb li {
  display: flex;
  align-items: center;
}

.product-breadcrumb li:not(:last-child)::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.4375rem;
  color: #E15500;
  margin: 0 0.75rem;
  opacity: 0.7;
}

.product-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s;
}

.product-breadcrumb a:hover {
  color: #ff8533;
}

.product-breadcrumb a .bc-icon {
  font-size: 0.75rem;
  color: #E15500;
  transition: transform 0.2s;
}

.product-breadcrumb a:hover .bc-icon {
  transform: scale(1.15);
}

.product-breadcrumb li:last-child span {
  color: var(--foreground);
  font-weight: 600;
}

/* --- Product page (full) --- */
.product-full {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.product-hero__image {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--secondary);
  aspect-ratio: 1 / 1;
  align-self: start;
}

.product-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-hero__image:hover img {
  transform: scale(1.04);
}

/* Click-to-zoom indicator on main product image */
.product-hero__image {
  cursor: pointer;
  position: relative; /* for hint overlay */
}

.product-hero__image-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: oklch(0.12 0 0 / 0.75);
  backdrop-filter: blur(6px);
  color: oklch(0.85 0 0);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  pointer-events: none;
  transition: background 0.2s, color 0.2s;
}

.product-hero__image-hint i {
  font-size: 0.625rem;
  color: #E15500;
}

.product-hero__image:hover .product-hero__image-hint {
  background: oklch(0.12 0.02 30 / 0.85);
  color: #fff;
}

.product-hero__image--video {
  aspect-ratio: 16 / 9;
}

.product-hero__info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hide "Variations" label/wrapper above add-to-cart.
   Commerce renders: <div><div>Variations</div><div><form>…</form></div></div> */
.product-full .field--name-variations > .field__label {
  display: none;
}
.product-hero__info > div > div:first-child:not(:has(form)) {
  display: none;
}

.product-hero__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.2;
  margin: 0;
}

.product-price {
  font-size: 2rem;
  font-weight: 700;
  color: #E15500;
}

.product-price__period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

.product-price__savings {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* Product badges */
.product-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: fit-content;
}

.product-badge--sound-pack,
.product-badge--plugin {
  background: #E15500;
  color: #fff;
}

.product-badge--video {
  background: #7c3aed;
  color: #fff;
}

.product-badge--formation {
  background: #7c3aed;
  color: #fff;
}

.product-badge--standard {
  background: #059669;
  color: #fff;
}

.product-badge--premium {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

/* Product meta info */
.product-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.product-meta i {
  color: #E15500;
}

/* Documentation link */
.product-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #E15500;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.product-doc-link:hover {
  color: #ff6b1a;
}

/* Product features list (subscriptions) */
.product-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.product-features li i {
  color: #059669;
  font-size: 0.75rem;
}

/* Patch Club badge */
.product-patch-club {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: #fbbf24;
}

.product-patch-club i {
  color: #f59e0b;
}

/* Product description */
/* Product chapo (short description) */
.product-chapo {
  padding: 0;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.product-hero__info .product-chapo {
  margin: 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.product-chapo p {
  margin: 0;
}

/* Product demos — full width, 2 columns */
.product-demos {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, oklch(0.22 0.01 250), oklch(0.18 0.015 30));
  border: 1px solid oklch(0.35 0.02 250 / 0.5);
  border-radius: 0.75rem;
}

.product-demos__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid oklch(0.35 0.02 250 / 0.4);
}

.product-demos__title i {
  color: #E15500;
  font-size: 0.875rem;
}

.product-demos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1.5rem;
}

@media (max-width: 640px) {
  .product-demos__grid {
    grid-template-columns: 1fr;
  }
}

/* Product similar */
.product-similar {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.product-similar__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 1.5rem 0;
}

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

.product-similar__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.product-similar__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.3);
  border-color: oklch(0.6 0.15 30 / 0.4);
}

.product-similar__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--secondary);
}

.product-similar__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-similar__card:hover .product-similar__image img {
  transform: scale(1.05);
}

.product-similar__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 2rem;
}

.product-similar__info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.product-similar__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.3;
}

.product-similar__price {
  font-weight: 700;
  font-size: 1rem;
  color: #E15500;
}

@media (max-width: 768px) {
  .product-similar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-similar__grid {
    grid-template-columns: 1fr;
  }
}

/* Product gallery — hidden, only used as data source for lightbox */
.product-gallery {
  display: none;
}

.product-gallery__item {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.product-gallery__item:hover {
  border-color: #E15500;
  transform: scale(1.05);
}

.product-gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

.product-description {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.7;
}

.product-description p {
  margin-bottom: 1rem;
}

.product-description p:last-child {
  margin-bottom: 0;
}

/* Product tabs (Description / Documentation) */
.product-tabs {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.product-tabs__tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.product-tabs__tab:hover {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.04);
}
.product-tabs__tab.is-active {
  color: #E15500;
  border-bottom-color: #E15500;
}
.product-tabs__tab i {
  font-size: 0.875rem;
}

.product-tabs__panel {
  display: none;
  padding: 2rem;
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.7;
}
.product-tabs__panel.is-active {
  display: block;
}
.product-tabs__panel p {
  margin-bottom: 1rem;
}
.product-tabs__panel p:last-child {
  margin-bottom: 0;
}
.product-tabs__panel h2,
.product-tabs__panel h3,
.product-tabs__panel h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}
.product-tabs__panel h2:first-child,
.product-tabs__panel h3:first-child {
  margin-top: 0;
}
.product-tabs__panel ul,
.product-tabs__panel ol {
  margin: 0.5rem 0 1rem 1.25rem;
}
.product-tabs__panel ul li,
.product-tabs__panel ol li {
  margin-bottom: 0.25rem;
}
.product-tabs__panel a {
  color: #E15500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.product-tabs__panel a:hover {
  color: #ff6a14;
}
.product-tabs__panel img,
.product-tabs__panel iframe {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 0.75rem 0;
}

.order-detail__shipping-status {
  margin-bottom: 1.5rem;
}
.order-detail__shipping-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.order-detail__shipping-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
}
.order-detail__shipping-label {
  min-width: 130px;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.order-detail__shipping-value {
  color: var(--foreground);
  font-weight: 500;
}
.order-detail__shipping-value code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.875rem;
  margin-right: 0.5rem;
}
.order-detail__shipping-value--shipped {
  color: #34d399;
}
.order-detail__tracking-link {
  color: #E15500;
  text-decoration: none;
  font-size: 0.875rem;
  margin-left: 0.5rem;
}
.order-detail__tracking-link:hover {
  text-decoration: underline;
}

.product-already-owned {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: color-mix(in oklch, #10b981, transparent 85%);
  border: 1px solid color-mix(in oklch, #10b981, transparent 60%);
  border-radius: 0.5rem;
  color: #a7f3d0;
  font-size: 0.9375rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.product-already-owned i {
  color: #34d399;
  margin-top: 2px;
}
.product-already-owned a {
  color: #E15500;
  text-decoration: underline;
}
.product-already-owned a:hover {
  color: #ff6a14;
}
.button--already-owned {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Video preview overlay */
.product-video-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-video-preview__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-video-preview__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.product-video-preview__overlay:hover {
  background: rgba(0, 0, 0, 0.3);
}

.product-video-preview__overlay span {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Parent formation link */
.product-parent-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.product-parent-link i {
  color: #7c3aed;
}

.product-parent-link a {
  color: #E15500;
  font-weight: 500;
  text-decoration: none;
}

.product-parent-link a:hover {
  color: #ff6b1a;
}

/* --- Formation chapters --- */
.formation-chapters {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.formation-chapters__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 1.25rem 0;
}

.formation-chapters__title i {
  color: #7c3aed;
}

.formation-chapters__count {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-foreground);
}

.formation-chapters__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.formation-chapter {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

.formation-chapter:last-child {
  border-bottom: none;
}

.formation-chapter__number {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.formation-chapter__info {
  flex: 1;
  min-width: 0;
}

.formation-chapter__title {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.formation-chapter__title:hover {
  color: #E15500;
}

.formation-chapter__price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #E15500;
  white-space: nowrap;
}

.formation-chapter__buy {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.formation-chapter__buy:hover {
  border-color: #E15500;
  color: #E15500;
}

/* --- Audio demos (player) --- */
.audio-demos {
  background: linear-gradient(135deg, oklch(0.22 0.01 250), oklch(0.18 0.015 30));
  border: 1px solid oklch(0.35 0.02 250 / 0.5);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.prose .audio-demos {
  margin-top: 1.5rem;
}

.audio-demos__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid oklch(0.35 0.02 250 / 0.4);
}

.audio-demos__title i {
  color: #E15500;
  font-size: 0.875rem;
}

.audio-demos__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.audio-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}

.audio-track:hover {
  background: oklch(0.25 0.01 250 / 0.5);
}

.audio-track--playing {
  background: oklch(0.25 0.015 30 / 0.6);
}

.audio-track__play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E15500;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px oklch(0.5 0.2 30 / 0.25);
}

.audio-track__play:hover {
  background: #ff6b1a;
  transform: scale(1.1);
  box-shadow: 0 3px 12px oklch(0.5 0.2 30 / 0.4);
}

.audio-track--playing .audio-track__play {
  background: #ff6b1a;
  box-shadow: 0 0 0 3px oklch(0.5 0.2 30 / 0.2), 0 2px 8px oklch(0.5 0.2 30 / 0.3);
}

.audio-track__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.audio-track__name {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-track--playing .audio-track__name {
  color: #ff8533;
}

.audio-track__progress {
  width: 100%;
  height: 3px;
  background: oklch(0.35 0.01 250 / 0.6);
  border-radius: 1.5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.audio-track__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #E15500, #ff8533);
  border-radius: 1.5px;
  width: 0;
  transition: width 0.1s linear;
}

.audio-track__duration {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
  white-space: nowrap;
  min-width: 4.5rem;
  text-align: right;
}

.audio-track--playing .audio-track__duration {
  color: oklch(0.75 0.05 30);
}

/* --- Commerce add-to-cart button overrides --- */
.product-hero__info .field--name-variations .form-submit,
.product-hero__info .button--add-to-cart,
.product-add-to-cart {
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  text-align: center;
}

.product-hero__info .field--name-variations .form-submit:hover,
.product-hero__info .button--add-to-cart:hover,
.product-add-to-cart:hover {
  background: #ff6b1a;
  color: #fff;
}

/* ─── User pages — full-width, override Mercury + system.admin.css ─── */
.path-user .layout-container { max-width: none; padding: 0; margin: 0; }
.path-user .site-main { padding-top: 0; padding-bottom: 0; }
.path-user .layout-content,
.path-user .region-content,
.path-user .region-content > div,
.path-user .region-content > div > div { max-width: none; padding: 0; margin: 0; background: transparent; border: none; box-shadow: none; border-radius: 0; }

.order-detail {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.order-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}

.order-detail__back:hover {
  color: #E15500;
}

.order-detail__back i {
  font-size: 0.6875rem;
}

.order-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.order-detail__header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: var(--foreground);
}

.order-detail__date {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.order-detail__status {
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-detail__status--completed {
  background: oklch(0.45 0.12 155 / 0.15);
  color: #34d399;
}

.order-detail__status--canceled {
  background: oklch(0.5 0.12 25 / 0.15);
  color: #f87171;
}

.order-detail__status--draft {
  background: oklch(0.5 0.1 250 / 0.15);
  color: oklch(0.7 0.05 250);
}

.order-detail__section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.75rem 0;
}

.order-detail__section-title i {
  color: #E15500;
}

.order-detail__items {
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.order-detail__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  margin-bottom: 0.625rem;
}

.order-detail__item-image {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--secondary);
}

.order-detail__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-detail__item-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 1.25rem;
}

.order-detail__item-info {
  flex: 1;
  min-width: 0;
}

.order-detail__item-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.15s;
}

.order-detail__item-title:hover {
  color: #E15500;
}

.order-detail__item-qty {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

.order-detail__item-price {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--foreground);
  white-space: nowrap;
}

.order-detail__totals {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.order-detail__total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--foreground);
}

.order-detail__total-row--light {
  color: var(--muted-foreground);
}

.order-detail__total-row--final {
  font-weight: 700;
  font-size: 1rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.order-detail__total-row--final span:last-child {
  color: #E15500;
  font-size: 1.125rem;
}

/* Order notes (customer-visible) */
.order-detail__notes {
  margin-bottom: 1.5rem;
}

.order-detail__note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.order-detail__note-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.order-detail__note-author {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.order-detail__note-date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.order-detail__note-text {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
  margin: 0;
}

.order-detail__note--mine {
  background: color-mix(in oklch, var(--primary), transparent 90%);
  border-color: color-mix(in oklch, var(--primary), transparent 70%);
}

.order-detail__comment-form textarea,
.order-detail__message-form textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-size: 0.9375rem;
  line-height: 1.5;
  resize: vertical;
  min-height: 6rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.order-detail__comment-form textarea:focus,
.order-detail__message-form textarea:focus {
  outline: none;
  border-color: #E15500;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.15);
}

.order-detail__message-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
}
.order-detail__message-form textarea {
  background: rgba(255, 255, 255, 0.04);
}
.order-detail__message-form .form-actions,
.order-detail__message-form details + .form-actions {
  margin: 0.75rem 0 0;
  display: flex;
  justify-content: flex-end;
}
.order-detail__message-form input[type="submit"],
.order-detail__message-form .button--primary {
  background: #E15500;
  color: #fff;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.order-detail__message-form input[type="submit"]:hover,
.order-detail__message-form .button--primary:hover {
  background: #c94b00;
}

.order-detail__billing {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 1.25rem 1.5rem;
}

.order-detail__email {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0 0 0.75rem 0;
}

.order-detail__address {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .order-detail {
    padding: 1.5rem 1rem;
  }
  .order-detail__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* "Already in cart" disabled button */
.button--in-cart,
.button--in-cart:hover,
.button--in-cart[disabled] {
  background: oklch(0.25 0.01 250) !important;
  color: oklch(0.55 0 0) !important;
  cursor: default !important;
  border: 1px solid oklch(0.35 0.02 250 / 0.5) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ═══════════════════════════════════════════════
   HEADER CART ICON (maquette style)
   ═══════════════════════════════════════════════ */
.header-top__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, color 0.2s;
}

.header-top__cart:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.header-top__cart .fa-cart-shopping {
  font-size: 1rem;
}

.header-top__cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  background: #E15500;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  border-radius: 9999px;
}

/* ═══════════════════════════════════════════════
   CART PAGE (/cart) — Dark theme refonte
   ═══════════════════════════════════════════════ */

/* Page wrapper — hide default page title (we have our own) */
.path-cart .layout-content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.path-cart .page-title {
  display: none;
}

.path-cart .layout-content,
.path-cart .layout-content form,
.path-cart .cart-form,
.path-cart .view-commerce-cart-form {
  background: transparent;
  color: var(--foreground);
}

/* --- Cart header --- */
.cart-header {
  margin-bottom: 1.5rem;
}

.cart-header__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-header__title i {
  color: #E15500;
}

.cart-header__subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
  margin: 0 0 0.75rem 0;
}

.cart-header__shipping-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.cart-header__shipping-note i {
  color: #E15500;
}

.cart-header__shipping-note a {
  color: #E15500;
  text-decoration: none;
}

.cart-header__shipping-note a:hover {
  color: #ff6b1a;
  text-decoration: underline;
}

/* --- Cart table --- */
.cart-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-wrapper thead th {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cart-th--remove { width: 3rem; }
.cart-th--product { }
.cart-th--price { width: 8rem; text-align: right !important; }
.cart-th--qty { width: 9rem; text-align: center !important; }
.cart-th--total { width: 8rem; text-align: right !important; }

.cart-wrapper tbody td {
  padding: 1rem;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-row:last-child td {
  border-bottom: none;
}

/* --- Remove button --- */
.cart-cell--remove {
  text-align: center;
  width: 3rem;
}

.cart-cell--remove .delete-order-item,
.cart-cell--remove .button--danger,
.cart-cell--remove input[type="submit"],
.cart-cell--remove button {
  background: transparent;
  border: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  width: 2rem;
  height: 2rem;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  /* SVG X icon — works on input, button, any element */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
  background-size: 0.875rem;
  background-position: center;
  background-repeat: no-repeat;
}

.cart-cell--remove .delete-order-item:hover,
.cart-cell--remove .button--danger:hover,
.cart-cell--remove input[type="submit"]:hover,
.cart-cell--remove button:hover {
  background-color: rgba(239, 68, 68, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}

/* --- Product cell (image + info + badge) --- */
.cart-cell--product {
  padding: 0.75rem 1rem !important;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product__image-link {
  flex-shrink: 0;
}

.cart-product__image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
}

.cart-product__image-placeholder {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cart-product__info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.cart-product__name {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.3;
  transition: color 0.2s;
}

.cart-product__name:hover {
  color: #E15500;
}

/* --- Type badges --- */
.cart-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: fit-content;
}

.cart-badge i {
  font-size: 0.5625rem;
}

.cart-badge--physical {
  background: rgba(225, 85, 0, 0.15);
  color: #ff6b1a;
}

.cart-badge--sound_pack {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}

.cart-badge--video_product {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
}

.cart-badge--formation {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.cart-badge--plugin {
  background: rgba(5, 150, 105, 0.15);
  color: #34d399;
}

.cart-badge--subscription {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.cart-badge--digital {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}
.cart-badge--shipping {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

/* --- Price cells --- */
.cart-cell--price,
.cart-cell--total {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.cart-cell--total {
  color: #E15500;
}

/* --- Quantity controls --- */
.cart-cell--qty {
  text-align: center;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.cart-qty--physical {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-qty__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.6875rem;
}

.cart-qty__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #E15500;
}

.cart-qty input[type="number"],
.cart-qty .form-number {
  width: 2.5rem !important;
  padding: 0.25rem !important;
  background: transparent !important;
  border: none !important;
  border-left: 1px solid var(--border) !important;
  border-right: 1px solid var(--border) !important;
  border-radius: 0 !important;
  color: var(--foreground) !important;
  font-size: 0.875rem;
  text-align: center;
  -moz-appearance: textfield;
  height: 2rem;
  box-shadow: none !important;
}

.cart-qty input[type="number"]::-webkit-outer-spin-button,
.cart-qty input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-qty input[type="number"]:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.3);
}

/* Digital quantity: just show "1" */
.cart-qty--digital {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 0.75rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-qty__value {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Hide the actual disabled input for digital items */
.cart-row--digital .quantity--digital {
  display: none;
}

/* --- Checkout info banner (promo + shipping) --- */
.cart-checkout-info {
  display: flex;
  gap: 0;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.08), rgba(225, 85, 0, 0.03));
  border: 1px solid rgba(225, 85, 0, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-checkout-info__item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
}

.cart-checkout-info__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 85, 0, 0.1);
  border-radius: 0.5rem;
  color: #E15500;
  font-size: 0.875rem;
}

.cart-checkout-info__text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.cart-checkout-info__text strong {
  display: block;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.cart-checkout-info__text a {
  color: #E15500;
  text-decoration: none;
}

.cart-checkout-info__text a:hover {
  color: #ff6b1a;
  text-decoration: underline;
}

.cart-checkout-info__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* --- Totals section --- */
.cart-totals {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.cart-totals__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-totals__title i {
  color: #E15500;
}

.cart-totals__table {
  width: 100%;
  border: none !important;
  background: transparent !important;
  border-collapse: collapse;
  border-radius: 0 !important;
}

.cart-totals__table th,
.cart-totals__table td {
  background: transparent !important;
  border: none !important;
  padding: 0.375rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  font-weight: 400;
}

.cart-totals__table th {
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
}

.cart-totals__table td {
  text-align: right;
  font-family: var(--font-mono);
}

.cart-totals__row--promo th,
.cart-totals__row--promo td {
  color: #34d399;
}

.cart-totals__row--promo th i {
  margin-right: 0.25rem;
}

.cart-totals__promo-amount {
  color: #34d399 !important;
}

.cart-totals__tax-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.cart-totals__row--total th,
.cart-totals__row--total td {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid var(--border) !important;
  color: var(--foreground) !important;
}

.cart-totals__row--total td {
  color: #E15500 !important;
}

/* --- Cart actions (update, checkout) --- */
.path-cart .form-actions,
.cart-form .form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.path-cart .form-actions .form-submit,
.cart-form .form-actions .form-submit {
  background: rgba(255, 255, 255, 0.06);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.path-cart .form-actions .form-submit:hover,
.cart-form .form-actions .form-submit:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Checkout button (primary) */
.path-cart .form-actions #edit-checkout,
.path-cart .checkout-button,
.path-cart .button--primary {
  background: #E15500 !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.path-cart .form-actions #edit-checkout:hover,
.path-cart .checkout-button:hover,
.path-cart .button--primary:hover {
  background: #ff6b1a !important;
  color: #fff !important;
}

/* --- Security note --- */
.cart-security-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.cart-security-note > i {
  color: #34d399;
  font-size: 1rem;
}

.cart-security-note .fa-lock {
  font-size: 0.625rem;
  margin-left: 0.125rem;
}

/* --- Empty cart --- */
.cart-empty {
  text-align: center;
  padding: 5rem 2rem;
}

.cart-empty__icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
}

.cart-empty__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem 0;
}

.cart-empty__text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  margin: 0 0 2rem 0;
}

.cart-empty__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #E15500;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}

.cart-empty__cta:hover {
  background: #ff6b1a;
  color: #fff;
}

/* ═══════════════════════════════════════════════
   CHECKOUT TIMELINE (panier + checkout)
   ═══════════════════════════════════════════════ */

.checkout-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}

.checkout-timeline__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.checkout-timeline__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

a.checkout-timeline__icon {
  cursor: pointer;
}

a.checkout-timeline__icon:hover {
  transform: scale(1.08);
}

.checkout-timeline__label {
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: color 0.3s;
}

.checkout-timeline__connector {
  flex: 1;
  height: 2px;
  min-width: 1.5rem;
  margin: 0 0.375rem;
  margin-top: 1.375rem; /* align with center of 2.75rem icon */
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.4s ease;
}

.checkout-timeline__connector--done {
  background: linear-gradient(90deg, #059669, #34d399);
}

/* Completed step */
.checkout-timeline__step--completed .checkout-timeline__icon {
  background: rgba(5, 150, 105, 0.12);
  color: #34d399;
  border: 2px solid rgba(5, 150, 105, 0.25);
}

.checkout-timeline__step--completed .checkout-timeline__label {
  color: rgba(255, 255, 255, 0.55);
}

/* Active step */
.checkout-timeline__step--active .checkout-timeline__icon {
  background: #E15500;
  color: #fff;
  border: 2px solid #E15500;
  box-shadow: 0 0 0 5px rgba(225, 85, 0, 0.12), 0 0 24px rgba(225, 85, 0, 0.08);
}

.checkout-timeline__step--active .checkout-timeline__label {
  color: #E15500;
  font-weight: 600;
}

/* Upcoming step */
.checkout-timeline__step--upcoming .checkout-timeline__icon {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.checkout-timeline__step--upcoming .checkout-timeline__label {
  color: rgba(255, 255, 255, 0.2);
}

/* Hide Commerce default progress bar (we use our own timeline) */
.checkout-progress {
  display: none;
}

/* ═══════════════════════════════════════════════
   CHECKOUT — Layout & wrapper
   ═══════════════════════════════════════════════ */

.checkout-wrapper {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  color: var(--foreground);
}

/* Hide default page title on checkout */
.path-checkout .page-title,
.path-checkout .block-page-title-block {
  display: none;
}

/* Single-column checkout: sidebar on top, form below — avoids narrow squeeze */
.layout-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.layout-region-checkout-secondary {
  order: -1;
}

/* Hide default Commerce page title on checkout */
.path-checkout .page-title,
.path-checkout .block-page-title-block,
.path-checkout h1.page-title {
  display: none !important;
}

.layout-checkout-form--single {
  display: block;
  max-width: 40rem;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   CHECKOUT — Main form region
   ═══════════════════════════════════════════════ */

/* Override Commerce float layout — we use CSS Grid instead */
.layout-region-checkout-main,
.layout-region-checkout-secondary,
.layout-region-checkout-footer {
  float: none !important;
  width: auto !important;
}

.layout-region-checkout-main,
.layout-region-checkout-footer {
  padding-right: 0 !important;
}

.layout-region-checkout-main {
  min-width: 0;
  display: grid;
  gap: 1.5rem;
}

.layout-region-checkout-main .checkout-pane {
  margin: 0;
  box-sizing: border-box;
}

/* Pane sections (fieldsets) */
.layout-region-checkout-main fieldset,
.commerce-checkout-flow .layout-region-checkout-main fieldset,
.checkout-wrapper .layout-region-checkout-main fieldset {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0;
}

.checkout-wrapper .fieldset-wrapper {
  padding-bottom: 0.5rem;
}

/* Checkout fieldsets have no <legend> — title is a regular div */

/* Checkout section titles — shared style for both columns */
.checkout-fieldset-title,
.checkout-sidebar__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  margin: 0 0 1.5rem 0;
  padding: 0 0 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.checkout-fieldset-title__icon {
  color: #E15500;
}

/* --- Sidebar title: same structure as fieldset title --- */

/* Form labels */
.commerce-checkout-flow .form-item label,
.checkout-wrapper .form-item label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
  display: block;
}

/* Form inputs */
.commerce-checkout-flow .form-text,
.commerce-checkout-flow .form-email,
.commerce-checkout-flow .form-tel,
.commerce-checkout-flow .form-select,
.commerce-checkout-flow .form-number,
.commerce-checkout-flow textarea,
.checkout-wrapper .form-text,
.checkout-wrapper .form-email,
.checkout-wrapper .form-tel,
.checkout-wrapper .form-select,
.checkout-wrapper .form-number,
.checkout-wrapper textarea {
  background: rgba(255, 255, 255, 0.04);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.commerce-checkout-flow .form-text:focus,
.commerce-checkout-flow .form-email:focus,
.commerce-checkout-flow .form-tel:focus,
.commerce-checkout-flow .form-select:focus,
.commerce-checkout-flow .form-number:focus,
.commerce-checkout-flow textarea:focus,
.checkout-wrapper .form-text:focus,
.checkout-wrapper .form-email:focus,
.checkout-wrapper .form-tel:focus,
.checkout-wrapper .form-select:focus,
.checkout-wrapper .form-number:focus,
.checkout-wrapper textarea:focus {
  outline: none;
  border-color: #E15500;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.15);
}

/* Select dropdown */
.commerce-checkout-flow .form-select,
.checkout-wrapper .form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

/* Checkbox / radio styling */
.commerce-checkout-flow .form-type-checkbox label,
.commerce-checkout-flow .form-type-radio label,
.checkout-wrapper .form-type-checkbox label,
.checkout-wrapper .form-type-radio label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9375rem;
}

/* Description text */
.commerce-checkout-flow .description,
.checkout-wrapper .description {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

/* Login pane */
.checkout-wrapper .form-type-radios .form-item {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  transition: border-color 0.2s;
}

.checkout-wrapper .form-type-radios .form-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Address form tweaks */
.commerce-checkout-flow .address-container .form-item {
  margin-bottom: 0.75rem;
}

/* Form items general spacing */
.commerce-checkout-flow .form-item,
.checkout-wrapper .form-item {
  margin-bottom: 0.75rem;
}

/* Details/summary elements (used by address forms) */
.commerce-checkout-flow details,
.checkout-wrapper details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.commerce-checkout-flow details summary,
.checkout-wrapper details summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--foreground);
}

/* Checkout selects (address dropdown, etc.) */
.commerce-checkout-flow select,
.checkout-wrapper select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.625rem 2.25rem 0.625rem 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.commerce-checkout-flow select:focus,
.checkout-wrapper select:focus {
  border-color: #E15500;
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.12);
}
.commerce-checkout-flow select option,
.checkout-wrapper select option {
  background: #1b1e28;
  color: #fff;
}
.commerce-checkout-flow select option:checked {
  background: #E15500;
  color: #fff;
}

/* Shipping pane — spacing */
.commerce-checkout-flow .field--name-shipping-rate {
  margin-top: 1.5rem;
}
/* Edit button after address — more breathing room */
.commerce-checkout-flow input[type="submit"][value="Modifier"],
.commerce-checkout-flow .address-book-edit-button,
.commerce-checkout-flow .button--small,
.commerce-checkout-flow [data-drupal-selector*="edit"][value="Modifier"] {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

/* Address display in checkout (plain text address) */
.commerce-checkout-flow .address,
.commerce-checkout-flow .field--name-address {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  line-height: 1.6;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Checkbox styling in checkout */
.commerce-checkout-flow input[type="checkbox"] {
  accent-color: #E15500;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Mondial Relay widget */
#mr-widget-container {
  margin-top: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  overflow: hidden;
  max-width: 100%;
}
/* Force vertical layout: map on top, list below */
.MRW-Results {
  display: flex !important;
  flex-direction: column-reverse !important;
  width: 100% !important;
}
.MRW-RList {
  width: 100% !important;
  max-height: 250px;
  overflow-y: auto;
  float: none !important;
}
.MRW-Map {
  width: 100% !important;
  height: 300px !important;
  float: none !important;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
}
.mr-widget__header {
  color: var(--foreground);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}
.mr-widget__header i {
  color: #E15500;
  margin-right: 0.25rem;
}
#Zone_Widget {
  min-height: 300px;
  border-radius: 0.5rem;
  overflow: hidden;
}
/* Force light mode on entire MR widget (third-party, expects white bg) */
#Zone_Widget,
#Zone_Widget *,
#mr-widget-container #Zone_Widget {
  color-scheme: light;
}
#Zone_Widget {
  background: #fff !important;
}
#Zone_Widget {
  color: #333 !important;
}
#Zone_Widget .MRW-Search,
#Zone_Widget .MRW-Search *,
#Zone_Widget .MRW-RList,
#Zone_Widget .MRW-RList * {
  color: #333 !important;
}
#Zone_Widget table,
#Zone_Widget table td,
#Zone_Widget table th,
#Zone_Widget .MRW-RList,
#Zone_Widget .MRW-RItem,
#Zone_Widget .MRW-RItemDetails,
#Zone_Widget .MRW-RName,
#Zone_Widget .MRW-RAddress,
#Zone_Widget .MRW-RHours,
#Zone_Widget .MRW-RHours td {
  background-color: #fff !important;
  color: #333 !important;
}
#Zone_Widget .MRW-RItem:nth-child(odd),
#Zone_Widget table tr:nth-child(odd) td,
#Zone_Widget table tr:nth-child(even) td {
  background-color: #f8f8f8 !important;
  color: #333 !important;
}
#Zone_Widget label,
#Zone_Widget .MRW-Label,
#Zone_Widget span {
  color: #555 !important;
}
/* Map pin numbers: force white on dark MR pins */
#Zone_Widget .leaflet-marker-pane,
#Zone_Widget .leaflet-marker-pane * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
#Zone_Widget .MRW-Results,
#Zone_Widget .MRW-Search {
  background: #f5f5f5 !important;
  color: #333 !important;
}
#Zone_Widget input[type="text"] {
  background: #fff !important;
  color: #333 !important;
  border: 1px solid #ccc !important;
}
#Zone_Widget .MRW-ButtonSearch,
#Zone_Widget .MRW-ButtonGeolocalize,
#Zone_Widget button,
#Zone_Widget input[type="button"],
#Zone_Widget input[type="submit"],
#Zone_Widget [class*="Button"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: none !important;
  border-radius: 4px;
  padding: 4px 10px;
  cursor: pointer;
}
.mr-widget__selected {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 0.375rem;
  color: #4ade80;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Pane titles */
.commerce-checkout-flow h2,
.checkout-wrapper h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Coupon redemption form — very compact in sidebar */
.layout-region-checkout-secondary .commerce-coupon-redemption-form,
.checkout-order-summary ~ .commerce-coupon-redemption-form,
.commerce-checkout-flow .layout-region-checkout-secondary .commerce-coupon-redemption-form {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* All sidebar headings except our custom title — compact */
.layout-region-checkout-secondary h2,
.layout-region-checkout-secondary h3:not(.checkout-sidebar__title),
.layout-region-checkout-secondary h4,
.layout-region-checkout-secondary legend {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.5rem 0 0.375rem 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.3 !important;
}

.layout-region-checkout-secondary fieldset {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.layout-region-checkout-secondary .commerce-coupon-redemption-form .form-item label,
.layout-region-checkout-secondary .form-item label {
  font-size: 0.6875rem !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-bottom: 0.25rem !important;
}

.layout-region-checkout-secondary .form-text,
.layout-region-checkout-secondary .form-email,
.layout-region-checkout-secondary input[type="text"] {
  font-size: 0.8125rem !important;
  padding: 0.375rem 0.625rem !important;
}

.layout-region-checkout-secondary .form-actions {
  margin-top: 0.375rem !important;
  gap: 0.5rem !important;
}

.layout-region-checkout-secondary .button,
.layout-region-checkout-secondary .form-submit {
  font-size: 0.6875rem !important;
  padding: 0.3125rem 0.625rem !important;
  border-radius: var(--radius) !important;
}

/* All sidebar text compact */
.layout-region-checkout-secondary,
.layout-region-checkout-secondary * {
  line-height: 1.4;
}

/* ── Coupon form — compact everywhere in checkout ── */
.checkout-wrapper .cart-coupon,
.commerce-checkout-flow .cart-coupon {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.checkout-wrapper .cart-coupon__title,
.commerce-checkout-flow .cart-coupon__title {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem 0 !important;
}

.checkout-wrapper .cart-coupon__title i,
.commerce-checkout-flow .cart-coupon__title i {
  font-size: 0.625rem;
}

.checkout-wrapper .cart-coupon__form,
.commerce-checkout-flow .cart-coupon__form {
  display: flex;
  gap: 0.375rem;
  align-items: flex-end;
}

.checkout-wrapper .cart-coupon__form .form-item,
.commerce-checkout-flow .cart-coupon__form .form-item {
  flex: 1;
  margin: 0 !important;
}

.checkout-wrapper .cart-coupon__form .form-item label,
.commerce-checkout-flow .cart-coupon__form .form-item label {
  display: none !important;
}

.checkout-wrapper .cart-coupon__form input[type="text"],
.checkout-wrapper .cart-coupon__form .form-text,
.commerce-checkout-flow .cart-coupon__form input[type="text"],
.commerce-checkout-flow .cart-coupon__form .form-text {
  font-size: 0.8125rem !important;
  padding: 0.375rem 0.5rem !important;
}

.checkout-wrapper .cart-coupon__form input[type="submit"],
.checkout-wrapper .cart-coupon__form .button,
.commerce-checkout-flow .cart-coupon__form input[type="submit"],
.commerce-checkout-flow .cart-coupon__form .button {
  font-size: 0.75rem !important;
  padding: 0.375rem 0.625rem !important;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  border: 1px solid var(--border) !important;
}

.checkout-wrapper .cart-coupon__form input[type="submit"]:hover,
.checkout-wrapper .cart-coupon__form .button:hover,
.commerce-checkout-flow .cart-coupon__form input[type="submit"]:hover,
.commerce-checkout-flow .cart-coupon__form .button:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--foreground) !important;
}

/* ── Pane titles rendered by Commerce ── */
.layout-region-checkout-secondary .commerce-checkout-pane__title,
.layout-region-checkout-secondary [class*="checkout-pane"] > h2,
.layout-region-checkout-secondary [class*="checkout-pane"] > h3,
.layout-region-checkout-secondary .checkout-pane > h2 {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.75rem 0 0.375rem 0 !important;
  padding: 0 0 0.375rem 0 !important;
  border-bottom: 1px solid var(--border) !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

/* ── Totals in sidebar ── */
.layout-region-checkout-secondary .cart-totals {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.layout-region-checkout-secondary .cart-totals__title {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.375rem 0 !important;
}

.layout-region-checkout-secondary .cart-totals__title i {
  font-size: 0.625rem;
}

/* Tables inside checkout forms */
.commerce-checkout-flow table {
  width: 100%;
  border: none;
  background: transparent;
  border-collapse: collapse;
}

.commerce-checkout-flow table th,
.commerce-checkout-flow table td {
  background: transparent;
  border: none;
  padding: 0.375rem 0.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
}

/* Messages / form errors */
.commerce-checkout-flow .messages {
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════
   CHECKOUT — Review step
   ═══════════════════════════════════════════════ */

/* Review pane fieldsets: card-style grid */
.commerce-checkout-flow [data-drupal-selector="edit-review"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.commerce-checkout-flow [data-drupal-selector="edit-review"] > fieldset {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0;
}

.commerce-checkout-flow [data-drupal-selector="edit-review"] > fieldset > legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  padding: 0;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.commerce-checkout-flow .checkout-review-edit-link {
  margin-left: auto;
}

.commerce-checkout-flow .checkout-review-edit-link a {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.commerce-checkout-flow .checkout-review-edit-link a:hover {
  text-decoration: underline;
}

/* Relay point card in review */
.checkout-review__relay-point {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(225, 85, 0, 0.06);
  border: 1px solid rgba(225, 85, 0, 0.2);
  border-radius: 0.5rem;
}

.checkout-review__relay-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #E15500;
  margin-bottom: 0.25rem;
}

.checkout-review__relay-label i {
  margin-right: 0.25rem;
}

.checkout-review__relay-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

.checkout-review__relay-address {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* Review pane content styling */
.commerce-checkout-flow [data-drupal-selector="edit-review"] .fieldset-wrapper {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  padding: 0;
}

/* Review pane summaries */
.commerce-checkout-flow [data-drupal-selector="edit-review"] .fieldset-wrapper {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════
   CHECKOUT — Sidebar (order summary)
   ═══════════════════════════════════════════════ */

.layout-region-checkout-secondary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.8125rem;
}

/* (checkout-sidebar__title is now styled by shared rule above) */

.checkout-sidebar__title i {
  color: #E15500;
}

/* Sidebar reassurance info items */
.checkout-sidebar__info {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkout-sidebar__info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.checkout-sidebar__info-item i {
  color: #059669;
  font-size: 0.6875rem;
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}

/* Order summary items */
.checkout-summary__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.checkout-summary__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkout-summary__thumb {
  position: relative;
  flex-shrink: 0;
}

.checkout-summary__img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: cover;
  border-radius: 0.25rem;
  border: 1px solid var(--border);
}

.checkout-summary__img-placeholder {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.875rem;
}

.checkout-summary__qty-badge {
  position: absolute;
  top: -0.375rem;
  right: -0.375rem;
  background: #E15500;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  width: 1.125rem;
  height: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.checkout-summary__info {
  flex: 1;
  min-width: 0;
}

.checkout-summary__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-summary__price {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Sidebar totals — reuse cart totals style, compact */
.checkout-summary__totals .cart-totals {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.checkout-summary__totals .cart-totals__title {
  display: none;
}

.checkout-summary__totals .cart-totals__table th,
.checkout-summary__totals .cart-totals__table td {
  font-size: 0.8125rem !important;
  padding: 0.25rem 0 !important;
}

.checkout-summary__totals .cart-totals__row--total th,
.checkout-summary__totals .cart-totals__row--total td {
  font-size: 0.9375rem !important;
  padding-top: 0.5rem !important;
}

/* Fallback: Commerce default totals in sidebar */
.layout-region-checkout-secondary .order-total-line {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.layout-region-checkout-secondary .order-total-line--total {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--foreground);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.layout-region-checkout-secondary .order-total-line--total .order-total-line-value {
  color: #E15500;
}

/* Fallback for default Commerce totals table in sidebar */
.checkout-order-summary table,
.layout-region-checkout-secondary table {
  width: 100%;
  border: none;
  background: transparent;
  border-collapse: collapse;
}

.checkout-order-summary td,
.checkout-order-summary th,
.layout-region-checkout-secondary table td,
.layout-region-checkout-secondary table th {
  padding: 0.25rem 0.25rem;
  color: var(--foreground);
  border: none;
  background: transparent;
  font-size: 0.8125rem;
}

/* Fallback table: right-align price column */
.checkout-summary__fallback td:last-child,
.checkout-order-summary table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   CHECKOUT — Buttons / Actions
   ═══════════════════════════════════════════════ */

.layout-region-checkout-footer {
  margin-top: 1.5rem;
}

.commerce-checkout-flow .form-actions,
.checkout-wrapper .form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

/* Primary (Continue / Pay) */
.commerce-checkout-flow .button--primary,
.checkout-wrapper .button--primary {
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.commerce-checkout-flow .button--primary:hover,
.checkout-wrapper .button--primary:hover {
  background: #ff6b1a;
  color: #fff;
  transform: translateY(-1px);
}

.commerce-checkout-flow .button--primary:active,
.checkout-wrapper .button--primary:active {
  transform: translateY(0);
  background: #b34400;
}

/* Processing state — set by JS on form submit */
.commerce-checkout-flow .button--primary.is-processing,
.checkout-wrapper .button--primary.is-processing {
  background: #b34400;
  pointer-events: none;
  opacity: 0.85;
  cursor: wait;
}

/* Secondary (Go back) */
.commerce-checkout-flow .button:not(.button--primary),
.checkout-wrapper .button:not(.button--primary) {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.commerce-checkout-flow .button:not(.button--primary):hover,
.checkout-wrapper .button:not(.button--primary):hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--foreground);
}

/* Security note */
.checkout-security-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

.checkout-security-note > i {
  color: #34d399;
  font-size: 1rem;
}

.checkout-security-note .fa-lock {
  font-size: 0.625rem;
  margin-left: 0.125rem;
}

/* ═══════════════════════════════════════════════
   CHECKOUT — Completion page
   ═══════════════════════════════════════════════ */

/* Hide sidebar on completion page */
.commerce-checkout-flow--complete .layout-region-checkout-secondary {
  display: none;
}

.commerce-checkout-flow--complete .layout-region-checkout-main {
  grid-column: 1 / -1;
}

.checkout-complete {
  text-align: center;
  padding: 3rem 2rem;
}

.checkout-complete__icon {
  font-size: 4rem;
  color: #34d399;
  margin-bottom: 1.5rem;
  animation: checkBounce 0.5s ease-out;
}

@keyframes checkBounce {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.checkout-complete__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem 0;
}

.checkout-complete__order-number {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
}

.checkout-complete__order-number strong {
  color: #E15500;
}

.checkout-complete__message {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.checkout-complete__payment-instructions {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem auto;
  max-width: 32rem;
  text-align: left;
}

.checkout-complete__payment-instructions h3 {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.checkout-complete__payment-instructions h3 i {
  color: #E15500;
}

.checkout-complete__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.checkout-complete__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #E15500;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}

.checkout-complete__cta:hover {
  background: #ff6b1a;
  color: #fff;
  transform: translateY(-1px);
}

.checkout-complete__link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.checkout-complete__link:hover {
  color: #E15500;
}

/* ═══════════════════════════════════════════════
   Checkout — Completion Registration Form
   ═══════════════════════════════════════════════ */
.commerce-checkout-completion-register {
  max-width: 32rem;
  margin: 2.5rem auto 0;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.commerce-checkout-completion-register__text h2 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem 0;
  font-family: var(--font-sans);
}

.commerce-checkout-completion-register__text h2 i {
  color: #E15500;
}

.commerce-checkout-completion-register__text p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
  font-family: var(--font-sans);
}

.commerce-checkout-completion-register__form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.375rem;
  font-family: var(--font-sans);
}

.commerce-checkout-completion-register__form input[type="text"],
.commerce-checkout-completion-register__form input[type="password"] {
  width: 100%;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.commerce-checkout-completion-register__form input[type="text"]:focus,
.commerce-checkout-completion-register__form input[type="password"]:focus {
  border-color: #E15500;
  outline: none;
}

.commerce-checkout-completion-register__form .form-item {
  margin-bottom: 1rem;
}

.commerce-checkout-completion-register__form .description,
.commerce-checkout-completion-register__form .form-item--error-message {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.375rem;
  line-height: 1.4;
  font-family: var(--font-sans);
}

/* Password strength indicator */
.commerce-checkout-completion-register__form .password-strength {
  margin-top: 0.5rem;
}

.commerce-checkout-completion-register__form .password-strength__meter {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.commerce-checkout-completion-register__form .password-strength__indicator {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s, background-color 0.3s;
}

.commerce-checkout-completion-register__form .password-strength__title {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.375rem;
  font-family: var(--font-sans);
}

.commerce-checkout-completion-register__form .password-confirm {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--font-sans);
}

.commerce-checkout-completion-register__form .password-suggestions {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--secondary);
  border-radius: 0.5rem;
  font-family: var(--font-sans);
}

.commerce-checkout-completion-register__form .password-suggestions ul {
  margin: 0.375rem 0 0;
  padding-left: 1.25rem;
}

/* Submit button */
.commerce-checkout-completion-register__form input[type="submit"],
.commerce-checkout-completion-register__form button[type="submit"] {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.875rem 2rem;
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.commerce-checkout-completion-register__form input[type="submit"]:hover,
.commerce-checkout-completion-register__form button[type="submit"]:hover {
  background: #ff6b1a;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════
   RESPONSIVE — Commerce
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .boutique-grid .view-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-full {
    padding: 1.5rem 1rem;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-hero__image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  /* Checkout: mobile refinements (layout already stacks at 960px) */
  .checkout-wrapper {
    padding: 1.5rem 1rem;
  }

  .checkout-timeline {
    margin-bottom: 2rem;
  }

  .checkout-timeline__icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.8125rem;
  }

  .checkout-timeline__connector {
    margin-top: 1.125rem;
    min-width: 1rem;
  }

  .checkout-timeline__label {
    font-size: 0.6875rem;
  }

  .commerce-checkout-flow .form-actions,
  .checkout-wrapper .form-actions {
    flex-direction: column-reverse;
  }

  .commerce-checkout-flow .button--primary,
  .checkout-wrapper .button--primary {
    width: 100%;
    justify-content: center;
  }

  .checkout-complete {
    padding: 2rem 1rem;
  }

  .checkout-complete__icon {
    font-size: 3rem;
  }

  .checkout-complete__title {
    font-size: 1.375rem;
  }

  .checkout-complete__actions {
    flex-direction: column;
  }

  .checkout-complete__cta {
    width: 100%;
    justify-content: center;
  }

  /* Cart table → stacked cards on mobile */
  .cart-wrapper table {
    display: block;
    border: none;
    background: transparent;
  }

  .cart-wrapper thead {
    display: none;
  }

  .cart-wrapper tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cart-wrapper tbody tr {
    display: block;
  }

  .cart-wrapper tbody td {
    display: block;
    border-bottom: none;
  }

  .cart-row {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    position: relative;
  }

  /* Remove button: top-right corner */
  .cart-cell--remove {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: auto;
    padding: 0 !important;
  }

  /* Product cell: full width, add right padding for remove button */
  .cart-cell--product {
    padding: 0 2.5rem 0.75rem 0 !important;
  }

  .cart-product__image {
    width: 48px;
    height: 48px;
  }

  .cart-product__image-placeholder {
    width: 48px;
    height: 48px;
  }

  /* Price / Qty / Total: horizontal strip at bottom */
  .cart-cell--price,
  .cart-cell--qty,
  .cart-cell--total {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0 !important;
    vertical-align: middle;
  }

  .cart-cell--price {
    float: left;
  }

  .cart-cell--qty {
    float: left;
    margin-left: 1rem;
  }

  .cart-cell--total {
    float: right;
    font-size: 1rem !important;
  }

  /* Clear float after total */
  .cart-row::after {
    content: '';
    display: table;
    clear: both;
  }

  /* Labels on mobile */
  .cart-cell--price::before {
    content: 'Prix : ';
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    font-weight: 400;
    margin-right: 0.25rem;
    font-family: inherit;
  }

  .cart-cell--total::before {
    content: 'Total : ';
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    font-weight: 400;
    margin-right: 0.25rem;
    font-family: inherit;
  }

  /* Info banners stacked */
  .cart-checkout-info {
    flex-direction: column;
  }

  .cart-checkout-info__divider {
    width: auto;
    height: 1px;
  }

  .cart-header__shipping-note {
    display: flex;
    font-size: 0.75rem;
  }

  .cart-header__title {
    font-size: 1.375rem;
  }

  .cart-header__subtitle {
    font-size: 0.8125rem;
  }
}

@media (max-width: 640px) {
  .boutique-grid .view-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-hero__title {
    font-size: 1.5rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .formation-chapter {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .formation-chapter__price {
    margin-left: auto;
  }

  .audio-track {
    flex-wrap: wrap;
  }

  .path-cart .layout-content {
    padding: 1rem;
  }

  .path-cart .form-actions,
  .cart-form .form-actions {
    flex-direction: column;
  }

  .path-cart .form-actions .form-submit,
  .path-cart .form-actions #edit-checkout,
  .path-cart .checkout-button,
  .path-cart .button--primary {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .cart-empty {
    padding: 3rem 1.5rem;
  }

  .cart-empty__icon {
    font-size: 3rem;
  }
}

/* ═══════════════════════════════════════════
   BOUTIQUE LANDING PAGE — Maquette V1
   ═══════════════════════════════════════════ */

/* ── Hero Boutique ── */
.hero-boutique {
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(225,85,0,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(100,50,200,0.04) 0%, transparent 60%),
    linear-gradient(180deg, #161921 0%, #1a1d2a 100%);
  padding: 3rem 0 2rem;
}
.hero-boutique__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hero-boutique__text {
  margin-bottom: 2rem;
}
.hero-boutique__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.75rem;
}
@media (min-width: 768px) {
  .hero-boutique__title { font-size: 3rem; }
}
.hero-boutique__subtitle {
  font-size: 1.125rem;
  color: #9ca3af;
  max-width: 42rem;
  margin: 0;
  line-height: 1.6;
}
.hero-boutique__chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.hero-boutique__chips::-webkit-scrollbar { display: none; }

/* ── Promo banner ── */
.promo-shimmer {
  background: linear-gradient(90deg, rgba(225,85,0,0.08) 0%, rgba(225,85,0,0.15) 50%, rgba(225,85,0,0.08) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(225,85,0,0.2);
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}
.promo-shimmer__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.promo-shimmer__badge {
  background: #E15500;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promo-shimmer__text {
  font-size: 0.875rem;
  color: #d1d5db;
}
.promo-shimmer__text strong {
  color: #fff;
}
.promo-shimmer__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #E15500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.promo-shimmer__link:hover {
  color: #ff6b1a;
}

/* ── Category chips ── */
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: #1e2230;
  border: 1px solid rgba(255,255,255,0.08);
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.cat-chip:hover,
.cat-chip--active {
  background: #E15500;
  color: #fff;
  border-color: #E15500;
}
.cat-chip i {
  font-size: 0.875rem;
}

/* ── Separator ── */
.b-separator {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2.5rem;
}

/* ── Section layout ── */
.b-section {
  padding: 2.5rem 0;
}
.b-section--no-pt {
  padding-top: 0;
}
.b-section__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.b-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.b-section__header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}
.b-section__label {
  display: block;
  color: #E15500;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.b-section__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0.25rem 0 0;
}
.b-section__title--lg {
  font-size: 1.875rem;
  margin-top: 0.5rem;
}
.b-section__desc {
  color: #9ca3af;
  max-width: 36rem;
  margin: 0.75rem auto 0;
}
.b-section__more {
  font-size: 0.875rem;
  font-weight: 600;
  color: #E15500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.b-section__more:hover {
  color: #ff6b1a;
}

/* ── Featured grid (3+2 columns) ── */
.b-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .b-featured-grid {
    grid-template-columns: 3fr 2fr;
  }
}
.b-featured-large {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #1e2230;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.b-featured-large__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.b-featured-large__img {
  position: relative;
  aspect-ratio: 16/9;
  background: #1e2230 center/cover no-repeat;
  overflow: hidden;
}
.b-featured-large__placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
}
.b-featured-large__placeholder-icon i {
  font-size: 5rem;
  color: #E15500;
}
.b-featured-large__badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}
.badge-promo {
  background: linear-gradient(135deg, #e15500, #ff6b1a);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  animation: pulse-subtle 2s ease-in-out infinite;
}
@keyframes pulse-subtle {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225,85,0,0.3); }
  50% { box-shadow: 0 0 12px 2px rgba(225,85,0,0.15); }
}
.b-featured-large__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, #1e2230, transparent);
}
.b-featured-large__overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  right: 1.5rem;
}
.b-label-orange {
  font-size: 0.75rem;
  font-weight: 700;
  color: #E15500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.b-featured-large__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0.25rem 0 0.5rem;
}
.b-featured-large__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* ── Prices (font-mono, white, like maquette) ── */
.b-price-mono {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 1.125rem;
}
.b-price-mono--lg {
  font-size: 1.25rem;
}
.b-price-mono--xl {
  font-size: 1.5rem;
  font-weight: 900;
}

/* ── Buttons ── */
.btn-add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: rgba(225,85,0,0.12);
  color: #E15500;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-add-cart:hover {
  background: #E15500;
  color: #fff;
}
.btn-add-cart--icon {
  padding: 0.5rem;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  background: #E15500;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-cta:hover {
  background: #ff6b1a;
  color: #fff;
}
.btn-cta--full {
  width: 100%;
  padding: 0.75rem;
}

/* ── Stock states — boutique cards buttons ── */
.btn-add-cart--out,
.btn-cta--out {
  background: rgba(200, 200, 200, 0.15);
  color: #888;
  cursor: default;
  pointer-events: none;
}
.btn-add-cart--out:hover,
.btn-cta--out:hover {
  background: rgba(200, 200, 200, 0.15);
  color: #888;
}
.btn-add-cart__emoji {
  font-size: 1.125rem;
  line-height: 1;
}

/* Add-to-cart form: bouton "Out of stock" sur fiche produit */
.button--out-of-stock {
  background: rgba(200, 200, 200, 0.2) !important;
  color: #888 !important;
  border-color: transparent !important;
  cursor: not-allowed;
  opacity: 1 !important;
}

/* ── Stock badge (fiche produit, sous le prix) ── */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0.75rem 0;
}
.stock-badge__emoji {
  font-size: 1.125rem;
  line-height: 1;
}
.stock-badge--in-stock {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.stock-badge--low-stock {
  background: rgba(225, 85, 0, 0.15);
  color: #E15500;
  animation: stock-pulse 2s ease-in-out infinite;
}
.stock-badge--out-of-stock {
  background: rgba(160, 160, 160, 0.15);
  color: #888;
}

/* Overlay variant — posé sur la vignette d'un produit (similar, grille…) */
.stock-badge--overlay {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  margin: 0;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  backdrop-filter: blur(6px);
}
.stock-badge--overlay.stock-badge--low-stock {
  background: rgba(225, 85, 0, 0.92);
  color: #fff;
}
.stock-badge--overlay.stock-badge--out-of-stock {
  background: rgba(40, 40, 40, 0.85);
  color: #ddd;
}
@keyframes stock-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ── Featured small cards ── */
.b-featured-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.b-featured-small {
  flex: 1;
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: #1e2230;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.b-featured-small:hover {
  border-color: rgba(225,85,0,0.15);
  box-shadow: 0 0 30px rgba(225,85,0,0.06);
}
.b-featured-small__inner {
  position: relative;
  height: 100%;
  min-height: 200px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #1e2230 center/cover no-repeat;
}
.b-featured-small__bg-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.1;
}
.b-featured-small__bg-icon i {
  font-size: 5rem;
  color: #9333ea;
}
.b-featured-small__badge-wrap {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.b-badge-type {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
.b-badge-type--formation {
  background: rgba(147,51,234,0.2);
  color: #c084fc;
}
.b-badge-type--sound_pack,
.b-badge-type--plugin {
  background: rgba(225,85,0,0.2);
  color: #E15500;
}
.b-badge-type--physical {
  background: rgba(255,255,255,0.1);
  color: #9ca3af;
}
.b-badge-type--subscription {
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(217,119,6,0.2));
  color: #fbbf24;
}
.b-badge-type--video_product {
  background: rgba(147,51,234,0.2);
  color: #c084fc;
}
.b-featured-small__content {
  position: relative;
}
.b-featured-small__title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.b-featured-small__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Product card grid ── */
.b-grid {
  display: grid;
  gap: 1.25rem;
}
.b-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .b-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Product card ── */
.b-product-card {
  display: block;
  background: #1e2230;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.b-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225,85,0,0.15);
  box-shadow: 0 0 30px rgba(225,85,0,0.06);
}
.b-product-card__visual {
  margin-bottom: 1.25rem;
}
.b-product-card__img-wrap {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  background: #252a3a center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.b-product-card__img-wrap--square {
  aspect-ratio: 1;
}
.b-product-card__icon {
  font-size: 2.5rem;
  color: #E15500;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.b-product-card:hover .b-product-card__icon {
  transform: scale(1.05);
}
.b-product-card__icon--merch {
  color: #6b7280;
  font-size: 3rem;
}
.b-product-card__icon-label {
  font-size: 0.625rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.1em;
}
.b-product-card__type {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
}
.b-product-card__title {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #e5e7eb;
  margin: 0.25rem 0 1rem;
}
.b-product-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Formation cards ── */
.b-formations {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.b-formation {
  display: flex;
  flex-direction: column;
  background: #1e2230;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
@media (min-width: 768px) {
  .b-formation {
    flex-direction: row;
  }
}
.b-formation:hover {
  border-color: rgba(225,85,0,0.15);
  box-shadow: 0 0 30px rgba(225,85,0,0.06);
}
.formation-accent {
  position: relative;
}
.formation-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #e15500 0%, #ff6b1a 100%);
  border-radius: 4px 0 0 4px;
  z-index: 1;
}
.b-formation__img {
  width: 100%;
  aspect-ratio: 16/9;
  background: #252a3a center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .b-formation__img {
    width: 20rem;
    aspect-ratio: auto;
  }
}
.b-formation__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.15;
}
.b-formation__img-placeholder i {
  font-size: 4.5rem;
  color: #9333ea;
}
.b-formation__play {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.b-formation__play i {
  font-size: 3rem;
  color: rgba(255,255,255,0.8);
}
.b-formation__play span {
  font-size: 0.75rem;
  color: #9ca3af;
}
.b-formation__body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.b-formation__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.b-formation__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}
.b-formation__details {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.b-formation__details i {
  margin-right: 0.25rem;
}
.b-formation__details .fa-signal {
  color: #E15500;
}
.b-formation__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ── Video scroll ── */
.b-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.b-scroll::-webkit-scrollbar { display: none; }
.b-scroll__spacer {
  min-width: 2.5rem;
  flex-shrink: 0;
}
.b-video-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: #1e2230;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.b-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225,85,0,0.15);
}
.b-video-card__img {
  aspect-ratio: 16/9;
  background: #252a3a center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.b-video-card__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b-video-card__play-btn i {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.875rem;
  padding-left: 2px;
}
.b-video-card__info {
  padding: 1.25rem;
}
.b-video-card__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #e5e7eb;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.b-video-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Subscription cards ── */
.b-subs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .b-subs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.b-sub-card {
  display: flex;
  flex-direction: column;
  background: #1e2230;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all 0.3s;
}
.b-sub-card:hover {
  border-color: rgba(225,85,0,0.15);
  box-shadow: 0 0 30px rgba(225,85,0,0.06);
}
.b-sub-card--featured {
  border-width: 2px;
  border-color: rgba(225,85,0,0.3);
  box-shadow: 0 0 40px rgba(225,85,0,0.08), inset 0 1px 0 rgba(225,85,0,0.1);
}
.b-sub-card__popular {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: #E15500;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.b-sub-card__head {
  margin-bottom: 1.5rem;
}
.b-sub-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}
.b-sub-card__pricing {
  margin-bottom: 1.5rem;
}
.b-sub-card__amount {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 900;
  color: #fff;
}
.b-sub-card__period {
  font-size: 0.875rem;
  color: #6b7280;
}
.b-sub-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
  color: #9ca3af;
}
.b-sub-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.b-sub-card__features .fa-check {
  color: #E15500;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.b-sub-card__features .fa-xmark {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
.b-sub-card__feature--disabled {
  opacity: 0.4;
}
.b-sub-card__subtitle {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0.25rem 0 0;
}
.b-sub-card__btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1d5db;
  transition: background 0.2s;
}
.b-sub-card:hover .b-sub-card__btn {
  background: rgba(255,255,255,0.05);
}

/* ── Stats ── */
.b-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .b-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.b-stat {
  text-align: center;
}
.b-stat__number {
  font-size: 1.875rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.25rem;
}
.b-stat__number--orange {
  color: #E15500;
}
.b-stat__star {
  font-size: 1rem;
  color: #facc15;
}
.b-stat__label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Testimonials ── */
.b-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .b-testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}
.b-testimonial {
  background: #1e2230;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem;
}
.b-testimonial__stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.b-testimonial__stars i {
  font-size: 0.75rem;
  color: #facc15;
}
.b-testimonial__text {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
  margin: 0 0 1rem;
  font-style: italic;
}
.b-testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.b-testimonial__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #252a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ca3af;
}
.b-testimonial__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e5e7eb;
}
.b-testimonial__role {
  font-size: 0.625rem;
  color: #6b7280;
}

/* ── Newsletter CTA ── */
.b-newsletter {
  background: linear-gradient(to bottom right, #E15500, #b84400);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.b-newsletter__bg-wave {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}
.b-newsletter__bg-wave svg {
  width: 100%;
  height: 100%;
}
.b-newsletter__content {
  position: relative;
}
.b-newsletter__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.75rem;
}
@media (min-width: 768px) {
  .b-newsletter__title { font-size: 1.875rem; }
}
.b-newsletter__desc {
  color: rgba(255,255,255,0.8);
  margin: 0 0 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.b-newsletter__form {
  display: flex;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}
.b-newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  outline: none;
  font-size: 0.875rem;
}
.b-newsletter__input::placeholder {
  color: rgba(255,255,255,0.5);
}
.b-newsletter__input:focus {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}
.b-newsletter__btn {
  background: #fff;
  color: #E15500;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.2s;
  white-space: nowrap;
}
.b-newsletter__btn:hover {
  background: rgba(255,255,255,0.9);
}

/* ── Placeholders ── */
.placeholder-digital {
  background: linear-gradient(135deg, #1e2230 0%, rgba(225,85,0,0.08) 50%, #252a3a 100%) !important;
}
.placeholder-merch {
  background: linear-gradient(135deg, #252a3a 0%, #2a3042 40%, #1e2230 100%) !important;
}
.placeholder-formation {
  background: linear-gradient(135deg, #1e2230 0%, rgba(100,50,200,0.08) 50%, #252a3a 100%) !important;
}

/* ── Responsive boutique ── */
@media (max-width: 768px) {
  .hero-boutique__title {
    font-size: 2rem;
  }
  .promo-shimmer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .b-formation__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .b-newsletter__form {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   BOUTIQUE — Section libre (Paragraphs)
   ═══════════════════════════════════════════════════════════════════════════════ */

.b-section-libre__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.b-section-libre__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
}

.b-section-libre__body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.b-section-libre__body p {
  margin-bottom: 1em;
}

/* Coming soon style */
.b-coming-soon {
  position: relative;
  overflow: hidden;
}

.b-coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.08), transparent 60%);
  border-radius: 1rem;
  pointer-events: none;
}

.b-coming-soon .b-section__inner {
  border: 1px dashed rgba(225, 85, 0, 0.3);
  border-radius: 1rem;
  padding: 2rem;
}

.b-coming-soon .b-section__label {
  color: #e15500;
}

/* Highlight style */
.b-highlight {
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.1), rgba(30, 34, 48, 0.8));
  border-radius: 1rem;
  margin-inline: auto;
  max-width: 80rem;
}

.b-highlight .b-section__inner {
  padding: 2.5rem;
}

.b-highlight .b-section__title {
  color: #e15500;
}

/* Boutique page: full-width rendering — remove all constraints from Drupal wrappers */
.page-node-type-boutique-page .site-main {
  padding-top: 0;
}

.page-node-type-boutique-page .region-content,
.page-node-type-boutique-page .region-content > div,
.page-node-type-boutique-page .region-content > div > div,
.page-node-type-boutique-page .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* ═════════════════════════════════════════════════════════
   PAGE BLOG — Layout éditorial "revue"
   ═════════════════════════════════════════════════════════ */

/* Home page: full-width rendering */
.page-node-type-home-page .site-main {
  padding-top: 0;
}
.page-node-type-home-page .region-content,
.page-node-type-home-page .region-content > div,
.page-node-type-home-page .region-content > div > div,
.page-node-type-home-page .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Blog page: full-width rendering */
.page-node-type-blog-page .site-main {
  padding-top: 0;
}
.page-node-type-blog-page .region-content,
.page-node-type-blog-page .region-content > div,
.page-node-type-blog-page .region-content > div > div,
.page-node-type-blog-page .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Videos page: full-width rendering */
.page-node-type-videos-page .site-main {
  padding-top: 0;
}
.page-node-type-videos-page .region-content,
.page-node-type-videos-page .region-content > div,
.page-node-type-videos-page .region-content > div > div,
.page-node-type-videos-page .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Actu page: full-width rendering */
.page-node-type-actu-page .site-main {
  padding-top: 0;
}
.page-node-type-actu-page .region-content,
.page-node-type-actu-page .region-content > div,
.page-node-type-actu-page .region-content > div > div,
.page-node-type-actu-page .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}


/* Articles page: full-width rendering */
.page-node-type-articles-page .site-main {
  padding-top: 0;
}
.page-node-type-articles-page .region-content,
.page-node-type-articles-page .region-content > div,
.page-node-type-articles-page .region-content > div > div,
.page-node-type-articles-page .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Billet page: full-width rendering */
.page-node-type-billet-page .site-main {
  padding-top: 0;
}
.page-node-type-billet-page .region-content,
.page-node-type-billet-page .region-content > div,
.page-node-type-billet-page .region-content > div > div,
.page-node-type-billet-page .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Newsletter page: remove extra padding */
.page-node-type-newsletter-page .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.page-node-type-newsletter-page .layout-content {
  max-width: none;
}
.path-contact .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.path-contact .layout-content {
  max-width: none;
}
.path-taxonomy .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.path-taxonomy .layout-content {
  max-width: none;
}
.page-node-type-page .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.page-node-type-page .layout-content {
  max-width: none;
}

/* Formation pages: full-width, no padding on main */
.page-node-type-formation .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.page-node-type-formation .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}
.page-node-type-formation .site-footer {
  margin-top: 0;
}

/* Formation player/quiz/student routes — LMS layout */
.layout-container--formation .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.layout-container--formation .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}
.layout-container--formation .site-footer {
  margin-top: 0;
}

/* ─── Section conteneur ─── */
.blog-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}
/* ─── Admin edit button (Paragraphs pages) ─── */
.blog-admin-edit {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(225, 85, 0, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.blog-admin-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(225, 85, 0, 0.4);
  color: #fff;
}

/* ─── Notifications — Les Sondiers ─── */
.ls-notify {
  position: fixed;
  top: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 22rem;
}

.ls-notify__item {
  display: flex;
  overflow: hidden;
  border-radius: 0.75rem;
  background: oklch(0.13 0.005 260);
  box-shadow:
    0 16px 48px oklch(0 0 0 / 0.5),
    0 0 0 1px oklch(0.25 0.01 260 / 0.6),
    inset 0 1px 0 oklch(0.25 0.01 260 / 0.4);
  animation: ls-notify-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.ls-notify__accent {
  width: 4px;
  flex-shrink: 0;
}

.ls-notify__item--status .ls-notify__accent {
  background: linear-gradient(180deg, #E15500, #ff8533);
}
.ls-notify__item--warning .ls-notify__accent {
  background: linear-gradient(180deg, #f59e0b, #fbbf24);
}
.ls-notify__item--error .ls-notify__accent {
  background: linear-gradient(180deg, #ef4444, #f87171);
}
.ls-notify__item--info .ls-notify__accent {
  background: linear-gradient(180deg, #3b82f6, #60a5fa);
}

.ls-notify__content {
  flex: 1;
  padding: 0.875rem 1rem;
  min-width: 0;
}

.ls-notify__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}

.ls-notify__header > i {
  width: 1.375rem;
  height: 1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.ls-notify__item--status .ls-notify__header > i {
  background: oklch(0.55 0.15 145 / 0.2);
  color: #34d399;
}
.ls-notify__item--warning .ls-notify__header > i {
  background: oklch(0.7 0.15 85 / 0.2);
  color: #fbbf24;
}
.ls-notify__item--error .ls-notify__header > i {
  background: oklch(0.55 0.15 25 / 0.2);
  color: #f87171;
}

.ls-notify__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: oklch(0.75 0 0);
  flex: 1;
}

.ls-notify__close {
  background: none;
  border: none;
  color: oklch(0.5 0 0);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: color 0.15s, background 0.15s;
}

.ls-notify__close:hover {
  color: var(--foreground);
  background: oklch(0.25 0.01 260);
}

.ls-notify__body {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: oklch(0.7 0 0);
}

.ls-notify__body p {
  margin: 0;
}

.ls-notify__body a {
  color: #E15500;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}

.ls-notify__body a:hover {
  color: #ff8533;
}

/* Progress timer bar at bottom */
.ls-notify__timer {
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 0;
  height: 2px;
  background: oklch(0.5 0.1 30 / 0.4);
  transform-origin: left;
  animation: ls-notify-timer 6s linear forwards;
}

@keyframes ls-notify-in {
  from {
    opacity: 0;
    transform: translateX(2rem) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes ls-notify-timer {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 640px) {
  .ls-notify {
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    top: 4.5rem;
    transform: none;
  }
}

.blog-section--hero {
  padding-bottom: 0;
}
.blog-section--listing {
  padding-top: 0;
}

/* ─── Titre + sous-titre ─── */
.blog-section__header {
  margin-bottom: 1.75rem;
}
.blog-section__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.blog-section__subtitle {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
  max-width: 40rem;
}

/* ─── Filtres catégorie (onglets soulignés) ─── */
.blog-filters {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.blog-filter {
  padding: 0.625rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.blog-filter:hover { color: var(--foreground); }
.blog-filter--active { color: var(--foreground); }
.blog-filter--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.5rem; right: 0.5rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* ─── Badges catégorie ─── */
.cat-badge--dossier   { background: rgba(124, 58, 237, 0.85); }
.cat-badge--guide     { background: rgba(14, 116, 144, 0.85); }
.cat-badge--test      { background: rgba(22, 163, 74, 0.85); }
.cat-badge--actu      { background: rgba(225, 85, 0, 0.85); }

/* ═════════════════════════════════════════════════════════
   ARTICLE VEDETTE — pleine largeur, layout horizontal
   ═════════════════════════════════════════════════════════ */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
  margin-bottom: 2.5rem;
  text-decoration: none;
  color: var(--foreground);
}
.blog-featured:hover {
  border-color: rgba(225, 85, 0, 0.35);
}
.blog-featured__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.blog-featured__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-featured:hover .blog-featured__img img {
  transform: scale(1.03);
}
.blog-featured__cat-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.blog-featured__body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured__meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.blog-featured__reading {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.blog-featured__date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.blog-featured__title {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.blog-featured:hover .blog-featured__title {
  color: var(--primary);
}
.blog-featured__chapo {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.blog-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
}
.blog-featured__tag {
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ═════════════════════════════════════════════════════════
   GRILLE D'ARTICLES — 2 colonnes, cartes horizontales
   ═════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 11rem 1fr;
  height: 9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--foreground);
}
.blog-card:hover {
  border-color: rgba(225, 85, 0, 0.3);
  box-shadow: 0 2px 20px rgba(225, 85, 0, 0.04);
}

.blog-card__img {
  position: relative;
  overflow: hidden;
  background: #1a1c24;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}
.blog-card__cat-badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.5rem;
  border-radius: 3px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.blog-card__body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.blog-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.blog-card:hover .blog-card__title { color: var(--primary); }

.blog-card__chapo {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.blog-card__date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.blog-card__reading {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.blog-card__reading svg { opacity: 0.6; }
.blog-card__tags {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.blog-card__tag {
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.5625rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.15s;
}
.blog-card:hover .blog-card__tag {
  background: rgba(225, 85, 0, 0.08);
  color: rgba(225, 85, 0, 0.75);
}

/* ─── Pagination blog ─── */
.blog-listing-layout {
  display: grid;
  grid-template-columns: 1fr 16rem;
  gap: 2.5rem;
  align-items: start;
}
.blog-listing-layout__main {
  min-width: 0;
}
.blog-listing-layout__sidebar {
  position: sticky;
  top: 6rem;
}
.blog-listing-empty {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  padding: 2rem 0;
}
.blog-archives__month-link--active {
  color: #e15500 !important;
  font-weight: 600;
}
@media (max-width: 768px) {
  .blog-listing-layout {
    grid-template-columns: 1fr;
  }
  .blog-listing-layout__sidebar {
    position: static;
  }
}

.blog-month-filter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(225, 85, 0, 0.08);
  border: 1px solid rgba(225, 85, 0, 0.2);
  border-radius: 0.5rem;
}
.blog-month-filter__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #e15500;
  font-size: 0.9375rem;
}
.blog-month-filter__clear {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.blog-month-filter__clear:hover {
  color: #e15500;
}

.blog-pager {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
}
.blog-pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.blog-pager__item:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.blog-pager__item--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ═══ RESPONSIVE BLOG ═══ */
@media (max-width: 1024px) {
  .blog-featured { grid-template-columns: 1fr 1fr; }
  .blog-featured__body { padding: 1.5rem 1.75rem; }
  .blog-featured__title { font-size: 1.375rem; }
  .blog-card { grid-template-columns: 9rem 1fr; height: 8rem; }
}

@media (max-width: 868px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img { aspect-ratio: 2.2 / 1; }
  .blog-featured__body { padding: 1.25rem 1.5rem; }
  .blog-featured__title { font-size: 1.25rem; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .blog-section__title { font-size: 1.5rem; }
  .blog-section__subtitle { font-size: 0.8125rem; }
  .blog-featured__title { font-size: 1.125rem; }
  .blog-featured__chapo { font-size: 0.8125rem; -webkit-line-clamp: 3; }
  .blog-featured__tags { display: none; }

  .blog-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .blog-filter {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
  }

  .blog-card { grid-template-columns: 6.5rem 1fr; height: 7rem; }
  .blog-card__chapo { display: none; }
  .blog-card__tags { display: none; }
  .blog-card__title { font-size: 0.875rem; }
}


/* ═════════════════════════════════════════════════════════
   ARTICLES LISTING (/articles) — editorial content
   Mirror of blog styles with .articles-* prefix
   ═════════════════════════════════════════════════════════ */

/* ─── Section conteneur ─── */
.articles-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}
.articles-section--hero { padding-bottom: 0; }
.articles-section--listing { padding-top: 0; }

/* ─── Titre + sous-titre ─── */
.articles-section__header { margin-bottom: 1.75rem; }
.articles-section__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.articles-section__subtitle {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
  max-width: 40rem;
}

/* ─── Filtres catégorie (onglets soulignés) ─── */
.articles-filters {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.articles-filter {
  padding: 0.625rem 1.25rem;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.articles-filter:hover { color: var(--foreground); }
.articles-filter--active { color: var(--foreground); }
.articles-filter--active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.5rem; right: 0.5rem;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* ─── Article vedette ─── */
.articles-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
  margin-bottom: 2.5rem;
  text-decoration: none;
  color: var(--foreground);
}
.articles-featured:hover { border-color: rgba(225, 85, 0, 0.35); }
.articles-featured__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.articles-featured__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.articles-featured:hover .articles-featured__img img { transform: scale(1.03); }
.articles-featured__cat-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.articles-featured__body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.articles-featured__meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.articles-featured__reading {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.articles-featured__date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.articles-featured__title {
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}
.articles-featured:hover .articles-featured__title { color: var(--primary); }
.articles-featured__chapo {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.articles-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
}
.articles-featured__tag {
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* ─── Grille d'articles (page /articles) ─── */
.articles-section .articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.articles-card {
  display: grid;
  grid-template-columns: 11rem 1fr;
  height: 9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--foreground);
}
.articles-card:hover {
  border-color: rgba(225, 85, 0, 0.3);
  box-shadow: 0 2px 20px rgba(225, 85, 0, 0.04);
}
.articles-card__img {
  position: relative;
  overflow: hidden;
  background: #1a1c24;
}
.articles-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.articles-card:hover .articles-card__img img { transform: scale(1.05); }
.articles-card__cat-badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.5rem;
  border-radius: 3px;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.articles-card__body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.articles-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.articles-card:hover .articles-card__title { color: var(--primary); }
.articles-card__chapo {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.articles-card__bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}
.articles-card__date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.articles-card__reading {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.articles-card__reading svg { opacity: 0.6; }
.articles-card__tags {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.articles-card__tag {
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.5625rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.15s;
}
.articles-card:hover .articles-card__tag {
  background: rgba(225, 85, 0, 0.08);
  color: rgba(225, 85, 0, 0.75);
}

/* ─── Pagination articles ─── */
.articles-pager {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
}
.articles-pager__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.articles-pager__item:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.articles-pager__item--active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ═══ RESPONSIVE ARTICLES ═══ */
@media (max-width: 1024px) {
  .articles-featured { grid-template-columns: 1fr 1fr; }
  .articles-featured__body { padding: 1.5rem 1.75rem; }
  .articles-featured__title { font-size: 1.375rem; }
  .articles-card { grid-template-columns: 9rem 1fr; height: 8rem; }
}

@media (max-width: 868px) {
  .articles-featured { grid-template-columns: 1fr; }
  .articles-featured__img { aspect-ratio: 2.2 / 1; }
  .articles-featured__body { padding: 1.25rem 1.5rem; }
  .articles-featured__title { font-size: 1.25rem; }
  .articles-section .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .articles-section__title { font-size: 1.5rem; }
  .articles-section__subtitle { font-size: 0.8125rem; }
  .articles-featured__title { font-size: 1.125rem; }
  .articles-featured__chapo { font-size: 0.8125rem; -webkit-line-clamp: 3; }
  .articles-featured__tags { display: none; }

  .articles-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .articles-filter {
    white-space: nowrap;
    font-size: 0.75rem;
    padding: 0.5rem 0.875rem;
  }

  .articles-card { grid-template-columns: 6.5rem 1fr; height: 7rem; }
  .articles-card__chapo { display: none; }
  .articles-card__tags { display: none; }
  .articles-card__title { font-size: 0.875rem; }
}


/* ═════════════════════════════════════════════════════════
   ARTICLE BODY — Images & légendes (figure/figcaption)
   Cible : <figure> manuels + <drupal-media> (rendu via
   media_embed → figure > div > div > picture > img)
   ═════════════════════════════════════════════════════════ */

/* --- Figure containers (drupal-media + legacy <figure><img>) --- */
.prose figure {
  position: relative;
  margin: 2rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  line-height: 0;
  /* Reset prose constraints on figure children */
  max-width: none !important;
}

/* Toutes les images dans le prose body : pleine largeur */
.prose figure img,
.prose figure picture {
  width: 100% !important;
  max-width: none !important;
  height: auto;
  display: block;
}

/* Masquer les wrappers Drupal superflus (field labels "Image") */
.prose figure .visually-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* Masquer le <br> parasite entre img et figcaption */
.prose figure br {
  display: none;
}

/* --- Figcaption overlay --- */
.prose figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 0.75rem 0.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: right;
}

/* --- Toutes les images inline dans le prose (drupal-media, srcset, ou brutes) --- */
.prose img:not(.ad-banner):not([width="1"]) {
  width: 100% !important;
  max-width: none !important;
  height: auto;
  display: block;
  border-radius: 0.75rem;
}

/* --- Wrapper drupal-media orphelin (éjecté d'un <h2> par le browser) --- */
/* media.html.twig rend <div> > <div> > .visually-hidden + <div> > <img> */
.prose .visually-hidden + div {
  margin: 2rem 0;
  border-radius: 0.75rem;
  overflow: hidden;
  line-height: 0;
}

/* --- Ancien format : <figure><img src="media.lessondiers.com/..."> direct --- */
article[class*="node--"] figure img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lien officiel */
.article-official-link {
  margin-top: 2rem;
}
.article-official-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #E15500;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s;
}
.article-official-link a:hover {
  opacity: 0.8;
}

/* ─── Actu byline (date + mini auteur sous le chapô) ─── */
.actu-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.actu-byline__date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.actu-byline__sep {
  color: var(--border);
  font-size: 0.75rem;
}
.actu-byline__author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  transition: color 0.15s;
}
.actu-byline__author:hover {
  color: var(--primary);
}
.actu-byline__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #E15500 0%, #ff6b1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.actu-byline__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.actu-byline__initials {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.actu-byline__name {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ─── Source link (fin d'article) ─── */
.actu-source-link {
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.25rem 1.5rem;
}
.actu-source-link a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s;
}
.actu-source-link a:hover {
  opacity: 0.8;
}
.actu-source-link__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin-bottom: 0.125rem;
}
.actu-source-link__url {
  display: block;
  font-weight: 500;
}

/* ═════════════════════════════════════════════════════════
   ACTU ARTICLE LAYOUT — 2 colonnes (article + sidebar)
   ═════════════════════════════════════════════════════════ */

.actu-article-layout {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 2.5rem;
  align-items: start;
}

.actu-article-layout__main {
  min-width: 0;
}

.actu-article-layout .actu-sidebar {
  position: sticky;
  top: 6rem;
}

@media (max-width: 1024px) {
  .actu-article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .actu-article-layout__main {
    order: 1;
  }
  .actu-article-layout .actu-sidebar {
    position: static;
    order: 2;
    margin-top: 2.5rem;
  }
}

/* ═════════════════════════════════════════════════════════
   VIDEO ARTICLE LAYOUT — 2 colonnes (article + sidebar)
   ═════════════════════════════════════════════════════════ */

.video-article-layout {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 2.5rem;
  align-items: start;
}
.video-article-layout__main {
  min-width: 0;
}

/* ─── Sidebar "À voir aussi" ─── */
.video-sidebar {
  position: sticky;
  top: 6rem;
}
.video-sidebar__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(225, 85, 0, 0.25);
}

/* Cartes vidéos (2 premières) */
.video-sidebar__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.video-sidebar-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.video-sidebar-card:hover {
  border-color: rgba(225, 85, 0, 0.35);
  transform: translateY(-1px);
}
.video-sidebar-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1c24;
}
.video-sidebar-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.video-sidebar-card:hover .video-sidebar-card__img img {
  transform: scale(1.04);
}
.video-sidebar-card__badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.video-sidebar-card__body {
  padding: 0.75rem 0.875rem;
}
.video-sidebar-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.video-sidebar-card:hover .video-sidebar-card__title { color: var(--primary); }
.video-sidebar-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

/* Liste compacte vidéos */
.video-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.video-sidebar-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  padding: 0.375rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
  transition: background 0.15s;
}
.video-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.video-sidebar-item__img {
  width: 4rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #1e2230;
  flex-shrink: 0;
}
.video-sidebar-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-sidebar-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.video-sidebar-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground, #fff);
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-sidebar-item:hover .video-sidebar-item__title {
  color: var(--primary);
}
.video-sidebar-item__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.35);
}
.video-sidebar-item__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 1024px) {
  .video-article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .video-article-layout__main {
    order: 1;
  }
  .video-sidebar {
    position: static;
    order: 2;
    margin-top: 2.5rem;
  }
}

/* ═════════════════════════════════════════════════════════
   BILLET ARTICLE LAYOUT — 2 colonnes (article + sidebar)
   ═════════════════════════════════════════════════════════ */

.billet-article-layout {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 2.5rem;
  align-items: start;
}

.billet-article-layout__main {
  min-width: 0;
}

/* ─── Sidebar "Derniers billets" ─── */
.billet-sidebar {
  position: sticky;
  top: 6rem;
}
.billet-sidebar__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(225, 85, 0, 0.25);
}

/* Cartes billets (2 premières) */
.billet-sidebar__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.billet-sidebar-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.billet-sidebar-card:hover {
  border-color: rgba(225, 85, 0, 0.35);
  transform: translateY(-1px);
}
.billet-sidebar-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1c24;
}
.billet-sidebar-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.billet-sidebar-card:hover .billet-sidebar-card__img img {
  transform: scale(1.04);
}
.billet-sidebar-card__badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.billet-sidebar-card__body {
  padding: 0.75rem 0.875rem;
}
.billet-sidebar-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.billet-sidebar-card:hover .billet-sidebar-card__title { color: var(--primary); }
.billet-sidebar-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.billet-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.billet-sidebar-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--foreground);
  transition: all 0.15s;
}
.billet-sidebar-item:last-child {
  border-bottom: none;
}
.billet-sidebar-item:hover {
  color: var(--primary);
}

.billet-sidebar-item__img {
  width: 4.5rem;
  height: 3rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--muted);
  flex-shrink: 0;
}
.billet-sidebar-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.billet-sidebar-item:hover .billet-sidebar-item__img img {
  transform: scale(1.05);
}

.billet-sidebar-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.billet-sidebar-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.billet-sidebar-item:hover .billet-sidebar-item__title {
  color: var(--primary);
}
.billet-sidebar-item__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.billet-sidebar-item__author {
  font-weight: 600;
  color: var(--primary);
  opacity: 0.8;
}

.billet-sidebar__all-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s;
}
.billet-sidebar__all-link:hover {
  opacity: 0.8;
}

/* Blog archives — year/month navigation */
.blog-archives {
  margin-top: 0;
}
.blog-archives__year {
  border-bottom: 1px solid var(--border);
}
.blog-archives__year:last-child {
  border-bottom: none;
}
.blog-archives__year-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  cursor: pointer;
  list-style: none;
}
.blog-archives__year-label::-webkit-details-marker {
  display: none;
}
.blog-archives__chevron {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}
.blog-archives__year[open] .blog-archives__chevron {
  transform: rotate(90deg);
}
.blog-archives__months {
  list-style: none;
  margin: 0 0 0.375rem;
  padding: 0 0 0 1.25rem;
}
.blog-archives__month-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.blog-archives__month-link:hover {
  background: var(--accent);
  color: var(--foreground);
}
.blog-archives__count {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: var(--muted);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  min-width: 1.25rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .billet-article-layout {
    grid-template-columns: 1fr;
  }
  .billet-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .billet-sidebar__list {
    grid-template-columns: 1fr;
  }
}


/* ═════════════════════════════════════════════════════════
   ARTICLE-LS — Layout 2 colonnes + Sidebar
   ═════════════════════════════════════════════════════════ */

/* Contrainte largeur sur tous les types de contenu individuels */
.node--article-ls,
.node--actu,
.node--billet,
.node--video,
.node--bonus-audio {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-ls-layout {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 2.5rem;
  align-items: start;
}

.article-ls-layout__main {
  min-width: 0;
}

/* ─── Sidebar "Derniers articles" ─── */
.article-ls-sidebar {
  position: sticky;
  top: 6rem;
}
.article-ls-sidebar__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(225, 85, 0, 0.25);
}

/* Cartes articles (2 premières) */
.article-ls-sidebar__cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.article-ls-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.article-ls-card:hover {
  border-color: rgba(225, 85, 0, 0.35);
  transform: translateY(-1px);
}
.article-ls-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1c24;
}
.article-ls-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.article-ls-card:hover .article-ls-card__img img {
  transform: scale(1.04);
}
.article-ls-card__badge {
  position: absolute;
  top: 0.5rem; left: 0.5rem;
  z-index: 1;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}
.article-ls-card__body {
  padding: 0.75rem 0.875rem;
}
.article-ls-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.article-ls-card:hover .article-ls-card__title { color: var(--primary); }
.article-ls-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.article-ls-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-ls-sidebar-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--foreground);
  transition: all 0.15s;
}
.article-ls-sidebar-item:last-child {
  border-bottom: none;
}
.article-ls-sidebar-item:hover {
  color: var(--primary);
}

.article-ls-sidebar-item__img {
  width: 4.5rem;
  height: 3rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--muted);
  flex-shrink: 0;
}
.article-ls-sidebar-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-ls-sidebar-item:hover .article-ls-sidebar-item__img img {
  transform: scale(1.05);
}

.article-ls-sidebar-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.article-ls-sidebar-item__title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}
.article-ls-sidebar-item:hover .article-ls-sidebar-item__title {
  color: var(--primary);
}
.article-ls-sidebar-item__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}
.article-ls-sidebar-item__author {
  font-weight: 600;
  color: var(--primary);
  opacity: 0.8;
}

.article-ls-sidebar__all-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s;
}
.article-ls-sidebar__all-link:hover {
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .article-ls-layout {
    grid-template-columns: 1fr;
  }
  .article-ls-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .article-ls-sidebar__list {
    grid-template-columns: 1fr;
  }
}


/* ═════════════════════════════════════════════════════════
   AUTHOR BOX — "À propos de l'auteur"
   ═════════════════════════════════════════════════════════ */

.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--card, #1e2230);
}

.author-box__avatar {
  flex-shrink: 0;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #E15500 0%, #ff6b1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-box__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box__initials {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.author-box__info {
  flex: 1;
  min-width: 0;
}

.author-box__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.5));
  margin-bottom: 0.25rem;
}

.author-box__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground, #fff);
}

.author-box__job {
  font-size: 0.8125rem;
  color: #E15500;
  margin-top: 0.125rem;
}

.author-box__bio {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.6));
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* ═════════════════════════════════════════════════════════
   SAME AUTHOR — "Du même auteur"
   ═════════════════════════════════════════════════════════ */

.same-author {
  margin-top: 2.5rem;
}

.same-author__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground, #fff);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.same-author__title svg {
  color: #E15500;
  flex-shrink: 0;
}

.same-author__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.same-author__item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0.75rem 0.75rem 0;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.06));
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  min-height: 5.5rem;
}

.same-author__item:last-child {
  border-bottom: none;
}

.same-author__item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.same-author__thumb {
  position: relative;
  border-radius: 0.375rem;
  overflow: hidden;
  background: var(--muted, #1e2230);
  align-self: stretch;
}

.same-author__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.same-author__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
  flex-wrap: wrap;
}

.same-author__tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.same-author__tag {
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.6875rem;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.45));
  white-space: nowrap;
}

.same-author__item:hover .same-author__tag {
  background: rgba(225, 85, 0, 0.08);
  color: rgba(225, 85, 0, 0.75);
}

.same-author__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.same-author__item-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground, #fff);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.same-author__item:hover .same-author__item-title {
  color: #E15500;
}

.same-author__chapo {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.55));
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.same-author__date {
  font-size: 0.75rem;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.4));
  margin-top: 0.375rem;
}

@media (max-width: 640px) {
  .same-author__item {
    grid-template-columns: 6rem 1fr;
    gap: 0.75rem;
    min-height: 4.5rem;
  }
  .same-author__item-title {
    font-size: 0.875rem;
  }
  .same-author__chapo {
    -webkit-line-clamp: 1;
  }
  .same-author__meta {
    gap: 0.375rem;
  }
}


/* ═════════════════════════════════════════════════════════
   COMMENTS — Actu
   ═════════════════════════════════════════════════════════ */

.actu-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.actu-comments__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.actu-comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 9999px;
  background: #E15500;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.actu-comments__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
/* Reduce gap before a reply block (indented follows its parent comment) */
.actu-comments__list > .indented {
  margin-top: calc(-1.25rem + 0.875rem);
}

/* ─── Individual comment ─── */

.actu-comment {
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--card, #1e2230);
}

/* Alternating backgrounds for thread depth */
.actu-comment--depth-1 { background: #1a1d27; }
.actu-comment--depth-2 { background: #222632; }
.actu-comment--depth-3 { background: #1a1d27; border-left: 3px solid rgba(225, 85, 0, 0.2); }

.actu-comment__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.actu-comment__avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #E15500 0%, #ff6b1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.actu-comment__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.actu-comment__initials {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.actu-comment__meta {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.actu-comment__author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground, #fff);
}

.actu-comment__reply-to {
  font-size: 0.75rem;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.5));
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.actu-comment__reply-to strong {
  color: #E15500;
  font-weight: 600;
}

.actu-comment__date {
  font-size: 0.75rem;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.5));
}

.actu-comment__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--foreground, rgba(255, 255, 255, 0.9));
}

.actu-comment__body p { margin-bottom: 0.5rem; }
.actu-comment__body p:last-child { margin-bottom: 0; }

.actu-comment__actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}

.actu-comment__reply-link,
.actu-comment__edit-link,
.actu-comment__delete-link {
  font-size: 0.8125rem;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.5));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
  cursor: pointer;
}

/* Button reset for comment action buttons (avoid mini-player PJAX interception) */
button.actu-comment__reply-link,
button.actu-comment__edit-link,
button.actu-comment__delete-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

/* ─── Inline comment editing ─── */
.actu-comment__edit-textarea {
  width: 100%;
  min-height: 4rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: #e4e4e7;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  resize: vertical;
}
.actu-comment__edit-textarea:focus {
  outline: none;
  border-color: #E15500;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.15);
}
.actu-comment__edit-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.actu-comment__edit-save {
  padding: 0.375rem 1rem;
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.actu-comment__edit-save:hover { background: #ff6b1a; }
.actu-comment__edit-save:disabled { opacity: 0.5; cursor: wait; }
.actu-comment__edit-cancel {
  padding: 0.375rem 1rem;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
}
.actu-comment__edit-cancel:hover { color: #fff; border-color: rgba(255, 255, 255, 0.25); }

/* ─── Inline delete confirmation ─── */
.actu-comment__delete-confirm {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  margin-top: 0.5rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}
.actu-comment__delete-yes {
  padding: 0.25rem 0.75rem;
  background: #ef4444;
  color: #fff;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  white-space: nowrap;
}
.actu-comment__delete-yes:hover { background: #dc2626; }
.actu-comment__delete-no {
  padding: 0.25rem 0.75rem;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.actu-comment__delete-no:hover { color: #fff; }

.actu-comment__reply-link:hover { color: #E15500; }
.actu-comment__edit-link:hover { color: #E15500; }
.actu-comment__delete-link:hover { color: #ef4444; }

/* ─── Threading (Drupal uses .indented for replies) ─── */

.actu-comment__replies,
.actu-comments .indented {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 2px solid rgba(225, 85, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Cap indentation at depth 3 — deeper replies go flat with "En réponse à" context */
.actu-comments .indented .indented .indented .indented {
  padding-left: 0;
  border-left: none;
}

/* ─── Comment form ─── */

.actu-comment-form-wrapper {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--card, #1e2230);
}

.actu-comment-form__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground, #fff);
}

.actu-comment-form-wrapper textarea,
.actu-comment-form-wrapper .form-textarea {
  width: 100%;
  min-height: 6rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  background: var(--background, #161921);
  color: var(--foreground, #fff);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.15s;
}

.actu-comment-form-wrapper textarea:focus,
.actu-comment-form-wrapper .form-textarea:focus {
  outline: none;
  border-color: #E15500;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.15);
}

.actu-comment-form-wrapper .form-submit,
.actu-comment-form-wrapper button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  background: #E15500;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.actu-comment-form-wrapper .form-submit:hover,
.actu-comment-form-wrapper button[type="submit"]:hover {
  background: #ff6b1a;
  transform: translateY(-1px);
}

/* Hide text format tips and guidelines in comment form */
.actu-comment-form-wrapper .filter-wrapper,
.actu-comment-form-wrapper .filter-help,
.actu-comment-form-wrapper .filter-guidelines,
.actu-comment-form-wrapper .description {
  display: none;
}

/* ─── Comment notify options ─── */

.actu-comment-form-wrapper .form-item-notify,
.comment-notify-form .form-item-notify {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 0.5rem;
}

.actu-comment-form-wrapper .form-item-notify label,
.comment-notify-form .form-item-notify label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  margin: 0;
}

.actu-comment-form-wrapper .form-item-notify input[type="checkbox"],
.comment-notify-form .form-item-notify input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #E15500;
  cursor: pointer;
  flex-shrink: 0;
}

.actu-comment-form-wrapper #edit-notify-type,
.comment-notify-form #edit-notify-type {
  display: flex;
  gap: 1.25rem;
  padding-left: 1.5rem;
  margin-top: 0.25rem;
}

.actu-comment-form-wrapper .form-item-notify-type,
.comment-notify-form .form-item-notify-type {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
}

.actu-comment-form-wrapper .form-item-notify-type label,
.comment-notify-form .form-item-notify-type label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  margin: 0;
}

.actu-comment-form-wrapper .form-item-notify-type input[type="radio"],
.comment-notify-form .form-item-notify-type input[type="radio"] {
  width: 0.875rem;
  height: 0.875rem;
  accent-color: #E15500;
  cursor: pointer;
  flex-shrink: 0;
}

/* ─── Inline reply indicator ─── */

.actu-comment-form__reply-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background: rgba(225, 85, 0, 0.08);
  border: 1px solid rgba(225, 85, 0, 0.15);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.actu-comment-form__reply-indicator i {
  color: #E15500;
  font-size: 0.7rem;
}

.actu-comment-form__reply-indicator strong {
  color: #E15500;
}

.actu-comment-form__cancel-reply {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.actu-comment-form__cancel-reply:hover {
  color: #E15500;
}

/* ─── Login CTA ─── */

.actu-comments__login-cta {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--card, #1e2230);
  text-align: center;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.6));
  font-size: 0.9375rem;
}

.actu-comments__login-cta p { margin: 0; }

.actu-comments__login-link {
  color: #E15500;
  font-weight: 600;
  text-decoration: none;
}

.actu-comments__login-link:hover {
  text-decoration: underline;
}

/* ─── Mobile ─── */

@media (max-width: 640px) {
  .actu-comment { padding: 1rem; }
  .actu-comment__avatar { width: 2rem; height: 2rem; }
  .actu-comment__initials { font-size: 0.8125rem; }
  .actu-comment__replies,
  .actu-comments .indented { padding-left: 0.625rem; }
  .actu-comment-form-wrapper { padding: 1rem; }
  .actu-comment__meta { font-size: 0.8125rem; }
}


/* ═════════════════════════════════════════════════════════
   EMISSION — YouTube click-to-play
   ═════════════════════════════════════════════════════════ */

.yt-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius, 0.5rem);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  margin-bottom: 2rem;
}

.yt-player__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.yt-player:hover .yt-player__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

.yt-player__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
}

.yt-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ═════════════════════════════════════════════════════════
   EMISSION — Badge Audio uniquement
   ═════════════════════════════════════════════════════════ */

.emission-audio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  background: rgba(225, 85, 0, 0.9);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.emission-audio-badge i {
  font-size: 1rem;
}

.emission-audio-badge--muted {
  background: rgba(255, 255, 255, 0.15);
  color: var(--muted-foreground);
}

/* ═════════════════════════════════════════════════════════
   EMISSION — Player audio Les Sondiers
   ═════════════════════════════════════════════════════════ */

.ls-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-top: -0.25rem;
  background: linear-gradient(135deg, oklch(0.22 0.02 250), oklch(0.18 0.015 250));
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius, 0.5rem) var(--radius, 0.5rem);
}

.ls-player__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: #e15500;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.ls-player__play:hover {
  background: #ff6b1a;
  transform: scale(1.08);
}

.ls-player__play.is-playing i::before {
  content: "\f04c"; /* fa-pause */
}

.ls-player__waveform {
  position: relative;
  flex: 1;
  height: 4rem;
  cursor: pointer;
  border-radius: 0.25rem;
  overflow: hidden;
}

.ls-player__bars {
  display: block;
  width: 100%;
  height: 100%;
}

.ls-player__progress {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(225, 85, 0, 0.35), rgba(225, 85, 0, 0.15));
  pointer-events: none;
  transition: width 0.1s linear;
}

.ls-player__time {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
  flex-shrink: 0;
  min-width: 5.5rem;
  justify-content: center;
}

.ls-player__current {
  color: var(--foreground);
}

.ls-player__separator {
  opacity: 0.4;
}

.ls-player__volume-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
}

.ls-player__volume-btn:hover {
  color: var(--foreground);
}

.ls-player__volume {
  width: 4rem;
  flex-shrink: 0;
  accent-color: #e15500;
  cursor: pointer;
}

/* Standalone player (no vignette above) */
.ls-player--standalone {
  margin-top: 0;
  border-top: 1px solid var(--border);
  border-radius: var(--radius, 0.5rem);
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .ls-player {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .ls-player__waveform {
    order: 10;
    flex-basis: 100%;
    height: 3rem;
  }
  .ls-player__volume,
  .ls-player__volume-btn {
    display: none;
  }
  .ls-player__time {
    min-width: auto;
  }
}

/* ═════════════════════════════════════════════════════════
   EMISSION — Mini Player persistant (style SoundCloud)
   ═════════════════════════════════════════════════════════ */

.ls-mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  box-sizing: border-box;
  background: oklch(0.15 0.02 250);
  border-top: 1px solid rgba(225, 85, 0, 0.3);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.ls-mini-player.is-visible {
  transform: translateY(0);
}

/* Push page content up when mini-player is visible */
body.has-mini-player {
  padding-bottom: 3.75rem;
}

.ls-mini-player__thumb {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.25rem;
  object-fit: cover;
}

.ls-mini-player__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: #e15500;
  color: #fff;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.ls-mini-player__play:hover {
  background: #ff6b1a;
  transform: scale(1.08);
}

.ls-mini-player__play.is-playing i::before {
  content: "\f04c"; /* fa-pause */
}

.ls-mini-player__info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  max-width: 16rem;
  flex-shrink: 0;
  cursor: pointer;
}

.ls-mini-player__info:hover .ls-mini-player__title {
  color: #e15500;
}

.ls-mini-player__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
  line-height: 1.2;
}

.ls-mini-player__chapo {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.ls-mini-player__time {
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
  color: var(--muted-foreground);
}

.ls-mini-player__waveform {
  position: relative;
  flex: 1;
  height: 2rem;
  cursor: pointer;
  border-radius: 0.25rem;
  overflow: hidden;
}

.ls-mini-player__bars {
  display: block;
  width: 100%;
  height: 100%;
}

.ls-mini-player__progress {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(225, 85, 0, 0.3), rgba(225, 85, 0, 0.1));
  pointer-events: none;
  transition: width 0.1s linear;
}

.ls-mini-player__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
}

.ls-mini-player__close:hover {
  color: #e15500;
}

.ls-mini-player__volume {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.ls-mini-player__volume-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.2s;
}

.ls-mini-player__volume-btn:hover {
  color: #e15500;
}

.ls-mini-player__volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 5rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ls-mini-player__volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e15500;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
}

.ls-mini-player__volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e15500;
  border: none;
  cursor: pointer;
}

.ls-mini-player__volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* PJAX loading indicator */
body.ls-pjax-loading main.site-main {
  opacity: 0.6;
  transition: opacity 0.15s;
}

/* Mobile mini-player */
@media (max-width: 640px) {
  .ls-mini-player__thumb {
    display: none;
  }
  .ls-mini-player__chapo {
    display: none;
  }
  .ls-mini-player__time {
    display: none;
  }
  .ls-mini-player__info {
    max-width: 5.5rem;
    flex-shrink: 1;
  }
  .ls-mini-player__waveform {
    height: 1.5rem;
    min-width: 0;
  }
  .ls-mini-player {
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
  }
  .ls-mini-player__play {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.9rem;
  }
  .ls-mini-player__waveform {
    height: 2rem;
    min-width: 0;
  }
  .ls-mini-player__close {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }
  .ls-mini-player__volume {
    display: none;
  }
}

/* ═════════════════════════════════════════════════════════
   EMISSION — Layout 2 colonnes + Sidebar
   ═════════════════════════════════════════════════════════ */

.emission-layout {
  display: grid;
  grid-template-columns: 1fr 18rem;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.emission-layout__main {
  min-width: 0;
}

.emission-layout__main .bg-card {
  margin-top: 0;
}

.emission-layout__main .prose {
  margin-top: 2.5rem;
}

/* Sidebar */
.emission-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.emission-sidebar__block {
  background: var(--card, #1e2230);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.emission-sidebar__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground, #fff);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.emission-sidebar__title i {
  color: var(--primary, #e15500);
  font-size: 0.8rem;
}

.emission-sidebar__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Mini cards (sidebar items) */
.sidebar-mini-card {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  border-radius: 0.375rem;
  padding: 0.375rem;
  margin: -0.375rem;
  transition: background 0.15s;
}

.sidebar-mini-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-mini-card__thumb {
  flex-shrink: 0;
  width: 4rem;
  height: 2.5rem;
  border-radius: 0.25rem;
  overflow: hidden;
  background: var(--muted, #252a3a);
}

.sidebar-mini-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-mini-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.sidebar-mini-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground, #fff);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-mini-card:hover .sidebar-mini-card__title {
  color: var(--primary, #e15500);
}

/* Content type pills */
.sidebar-mini-card__pill {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.125rem 0.4rem;
  border-radius: 0.25rem;
  width: fit-content;
}

.sidebar-mini-card__pill--emission {
  background: rgba(225, 85, 0, 0.15);
  color: #ff6b1a;
}

.sidebar-mini-card__pill--video {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.sidebar-mini-card__pill--article_ls {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.sidebar-mini-card__pill--actu {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.sidebar-mini-card__pill--bonus_audio {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

@media (max-width: 1024px) {
  .emission-layout {
    grid-template-columns: 1fr;
  }
  .emission-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }
}

.emission-sujets {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--card, #1e2230);
}

.emission-sujets__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground, #fff);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.emission-sujets__title i {
  color: #E15500;
  font-size: 0.875rem;
}

.emission-sujets__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.emission-sujets__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--foreground, #fff);
  text-decoration: none;
  font-size: 0.875rem;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.emission-sujets__link:hover {
  border-color: rgba(225, 85, 0, 0.3);
  background: rgba(225, 85, 0, 0.05);
  color: #E15500;
}

.emission-sujets__link i {
  color: var(--muted-foreground, rgba(255, 255, 255, 0.4));
  font-size: 0.75rem;
  flex-shrink: 0;
}

.emission-sujets__link:hover i {
  color: #E15500;
}

.emission-sujets__link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ═════════════════════════════════════════════════════════
   EMISSION PARTICIPANTS — Médaillons Sondiers
   ═════════════════════════════════════════════════════════ */

.emission-participants {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  background: var(--card, #1e2230);
}

.emission-participants__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground, #fff);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.emission-participants__title i {
  color: #E15500;
  font-size: 1rem;
}

.emission-participants__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .emission-participants__grid {
    grid-template-columns: 1fr;
  }
}

.emission-participant {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.emission-participant:hover {
  border-color: rgba(225, 85, 0, 0.3);
  background: rgba(225, 85, 0, 0.05);
}

.emission-participant__avatar {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #E15500 0%, #ff6b1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.25);
}

.emission-participant__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emission-participant__initials {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.emission-participant__info {
  flex: 1;
  min-width: 0;
}

.emission-participant__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground, #fff);
}

.emission-participant__role {
  display: block;
  font-size: 0.75rem;
  color: #E15500;
  font-weight: 600;
  margin-top: 0.125rem;
}

.emission-participant__bio {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted-foreground, rgba(255, 255, 255, 0.5));
  margin-top: 0.375rem;
}

@media (max-width: 640px) {
  .emission-participants {
    padding: 1.25rem;
  }
}

/* ═══════════════════════════════════════════════
   Newsletter page (/newsletter)
   ═══════════════════════════════════════════════ */
.newsletter-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem clamp(1.5rem, 4vw, 3rem) 0;
}

.newsletter-page__hero {
  text-align: center;
  padding-bottom: 1rem;
}

.newsletter-page__icon {
  font-size: 2.5rem;
  color: #e15500;
  margin-bottom: 1rem;
}

.newsletter-page__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #e15500;
  margin: 0 0 0.75rem;
}

.newsletter-page__subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

.newsletter-page__hero,
.newsletter-page__privacy {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .newsletter-page {
    grid-template-columns: 1fr;
  }
}

/* Card */
.nl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nl-card:hover {
  border-color: rgba(225, 85, 0, 0.3);
  box-shadow: 0 4px 24px rgba(225, 85, 0, 0.08);
}

.nl-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  background: rgba(225, 85, 0, 0.12);
  color: #e15500;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.nl-card__badge--monthly {
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
}

.nl-card__name {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.625rem;
}

.nl-card__desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.nl-card__perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.nl-card__perks li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.nl-card__perks li i {
  color: #e15500;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.nl-card--monthly .nl-card__perks li i {
  color: #818cf8;
}

/* Form */
.nl-card__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.nl-card__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  font-size: 0.9375rem;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.nl-card__input:focus {
  outline: none;
  border-color: #e15500;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.3);
}

.nl-card--monthly .nl-card__input:focus {
  border-color: #818cf8;
}

.nl-card__input::placeholder {
  color: var(--muted-foreground);
}

.nl-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  background: #e15500;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.nl-card__btn:hover {
  background: #ff6b1a;
}

.nl-card__btn:active {
  transform: scale(0.98);
}

.nl-card__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.nl-card__btn--monthly {
  background: #6366f1;
}

.nl-card__btn--monthly:hover {
  background: #818cf8;
}

/* Feedback */
.nl-card__feedback {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nl-card__feedback--success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.nl-card__feedback--error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Privacy */
.newsletter-page__privacy {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.newsletter-page__privacy i {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* ═══════════════════════════════════════════════
   USER PROFILE PAGE
   ═══════════════════════════════════════════════ */
.user-profile {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ── Header ── */
.user-profile__header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.user-profile__avatar {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #E15500, #ff6b1a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.user-profile__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-profile__initials {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}
.user-profile__name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.2;
  margin: 0 0 0.25rem;
}
.user-profile__job {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin: 0 0 0.5rem;
}
.user-profile__badges {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.user-profile__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.user-profile__badge--sondier {
  background: rgba(225, 85, 0, 0.15);
  color: #ff6b1a;
}
.user-profile__badge--administrator {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}
.user-profile__badge--content_editor {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.user-profile__member-since {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.user-profile__edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: var(--sondiers-orange);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background 0.2s;
}
.user-profile__edit-btn:hover {
  background: var(--sondiers-orange-light);
  color: #fff;
}

.user-profile__admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.user-profile__admin-btn:hover {
  background: var(--sondiers-orange);
  border-color: var(--sondiers-orange);
  color: #fff;
}

/* ── Sections ── */
.user-profile__section {
  margin-top: 2rem;
}
.user-profile__section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.user-profile__section-title i {
  color: #E15500;
  font-size: 1rem;
}

/* ── Content cards grid ── */
.user-profile__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem;
}
.user-profile__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.user-profile__card:hover {
  border-color: #E15500;
  transform: translateY(-2px);
}
.user-profile__card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--muted);
  overflow: hidden;
}
.user-profile__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-profile__card-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
}
.user-profile__card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.user-profile__card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.user-profile__card-date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ── Orders ── */
.user-profile__orders {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.user-profile__order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.user-profile__order:hover {
  border-color: #E15500;
  background: rgba(225, 85, 0, 0.05);
}

.user-profile__order-arrow {
  color: var(--muted-foreground);
  font-size: 0.625rem;
  margin-left: 0.75rem;
  transition: color 0.2s, transform 0.2s;
}

.user-profile__order:hover .user-profile__order-arrow {
  color: #E15500;
  transform: translateX(2px);
}

.user-profile__order-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: oklch(0.578 0.199 42.7 / 0.15);
  color: oklch(0.578 0.199 42.7);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.user-profile__order-thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 0.375rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--secondary);
}

.user-profile__order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-profile__order-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 24rem;
}

.user-profile__order-more {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
  margin-left: 0.375rem;
}

.user-profile__order-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.user-profile__order-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.user-profile__order-id {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}
.user-profile__order-date {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.user-profile__order-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.user-profile__order-total {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}
.user-profile__order-status {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}
.user-profile__order-status--completed,
.user-profile__order-status--fulfillment {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.user-profile__order-status--pending,
.user-profile__order-status--validation {
  background: rgba(250, 204, 21, 0.15);
  color: #fbbf24;
}
.user-profile__order-status--canceled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* ── Orders tile on profile ── */
.user-profile__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.user-profile__orders-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.08), rgba(225, 85, 0, 0.03));
  border: 1px solid rgba(225, 85, 0, 0.2);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.user-profile__orders-tile:hover {
  border-color: rgba(225, 85, 0, 0.4);
  background: rgba(225, 85, 0, 0.08);
}
.user-profile__orders-tile-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 85, 0, 0.12);
  border-radius: 0.75rem;
  color: #E15500;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.user-profile__orders-tile-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.user-profile__orders-tile-info strong {
  color: var(--foreground);
  font-size: 1rem;
}
.user-profile__orders-tile-info span {
  color: #E15500;
  font-size: 0.8125rem;
  font-weight: 600;
}
.user-profile__orders-tile-info span i {
  margin-left: 0.25rem;
  font-size: 0.6875rem;
}

/* ═══════════════════════════════════════════════
   ADDRESS BOOK (/user/{uid}/address-book)
   ═══════════════════════════════════════════════ */

.address-book__container {
  max-width: 52rem;
  margin: 0 auto;
}

.address-book__add-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  background: #E15500;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: background 0.2s;
}

.address-book__add-link:hover {
  background: #ff6b1a;
  color: #fff;
}

.address-book__profiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 1rem;
}

.address-book__profile {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  position: relative;
}

.address-book__profile--default {
  border-color: rgba(225, 85, 0, 0.4);
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.06), rgba(225, 85, 0, 0.02));
}

.address-book__profile--default::before {
  content: "Par défaut";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #E15500;
  background: rgba(225, 85, 0, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}

.address-book__profile .address {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
}

.address-book__operations {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.address-book__edit-link,
.address-book__delete-link,
.address-book__set-default-link {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: #E15500;
  transition: color 0.2s;
}

.address-book__edit-link:hover,
.address-book__set-default-link:hover {
  color: #ff6b1a;
}

.address-book__delete-link {
  color: var(--muted-foreground);
}

.address-book__delete-link:hover {
  color: #ef4444;
}

.address-book__empty-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-style: italic;
}

/* Address book inline edit */
.address-book-inline {
  max-width: 52rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22rem, 1fr));
  gap: 1rem;
}

.address-book-inline__card {
  background: oklch(0.18 0.01 260);
  border: 2px solid oklch(0.28 0.01 260);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  position: relative;
}

.address-book-inline__card--default {
  border-color: #E15500;
}

/* Hide Commerce/Profile default edit buttons — we have our own */
.address-book-inline__view a[href*="edit"],
.address-book-inline__view .profile-link,
.address-book-inline__view .links,
.address-book-inline__view [class*="edit-button"],
.address-book-inline__view button:not(.address-book-inline__edit-btn) {
  display: none !important;
}

.address-book-inline__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #E15500;
  background: rgba(225, 85, 0, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
}

.address-book-inline__view .address,
.address-book-inline__view .field {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
}

.address-book-inline__view .field__label {
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.address-book-inline__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.address-book-inline__edit-btn {
  background: none;
  border: none;
  color: #E15500;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.address-book-inline__edit-btn:hover {
  color: #ff6b1a;
}

.address-book-inline__delete-btn {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.address-book-inline__delete-btn:hover {
  color: #ef4444;
}

.address-book-inline__cancel-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  margin-top: 0.75rem;
}

.address-book-inline__cancel-btn:hover {
  border-color: var(--foreground);
  color: var(--foreground);
}

/* Inline form styling */
.address-book-inline__form label {
  color: var(--foreground);
  font-weight: 500;
  font-size: 0.8125rem;
}

.address-book-inline__form input[type="text"],
.address-book-inline__form select,
.address-book-inline__form textarea {
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  width: 100%;
  box-sizing: border-box;
}

.address-book-inline__form input[type="text"]:focus,
.address-book-inline__form select:focus {
  border-color: #E15500;
  outline: none;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.15);
}

.address-book-inline__form select option {
  background: var(--card);
  color: var(--foreground);
}

.address-book-inline__form .form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.address-book-inline__form .form-submit,
.address-book-inline__form .button--primary {
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.8125rem;
}

.address-book-inline__form .form-submit:hover,
.address-book-inline__form .button--primary:hover {
  background: #ff6b1a;
}

.address-book-inline__form .button--danger {
  background: none;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.address-book-inline__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  background: #E15500;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  margin-top: 1rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

.address-book-inline__add-btn:hover {
  background: #ff6b1a;
  color: #fff;
}

.address-book-inline__empty {
  color: var(--muted-foreground);
  font-style: italic;
  font-size: 0.875rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .user-profile__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .user-profile__badges {
    justify-content: center;
  }
  .user-profile__member-since {
    justify-content: center;
  }
  .user-profile__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .user-profile__order {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
  }
  .user-profile__order-title {
    max-width: none;
    white-space: normal;
  }
  .user-profile__order-info {
    flex-wrap: wrap;
    width: 100%;
  }
  .user-profile__order-details {
    flex-wrap: wrap;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════
   USER ORDERS PAGE (/user/{uid}/orders)
   ═══════════════════════════════════════════════ */
.user-orders {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.user-orders__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.user-orders__order {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: border-color 0.2s;
}
.user-orders__order[open] {
  border-color: rgba(225, 85, 0, 0.3);
}
.user-orders__summary {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  list-style: none;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.user-orders__summary::-webkit-details-marker { display: none; }
.user-orders__summary:hover {
  background: rgba(225, 85, 0, 0.03);
}
.user-orders__thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 0.375rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--secondary);
}
.user-orders__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-orders__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.user-orders__title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-orders__more {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
  margin-left: 0.375rem;
}
.user-orders__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}
.user-orders__id {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.8125rem;
}
.user-orders__details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.user-orders__download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  background: oklch(0.578 0.199 42.7 / 0.15);
  color: oklch(0.578 0.199 42.7);
  font-size: 0.9rem;
}
.user-orders__total {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}
.user-orders__status {
  display: inline-flex;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}
.user-orders__status--completed,
.user-orders__status--fulfillment {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.user-orders__status--pending,
.user-orders__status--validation {
  background: rgba(250, 204, 21, 0.15);
  color: #fbbf24;
}
.user-orders__status--canceled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.user-orders__chevron {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}
.user-orders__order[open] .user-orders__chevron {
  transform: rotate(180deg);
  color: #E15500;
}
/* Expanded items */
.user-orders__items {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}
.user-orders__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.user-orders__item:last-of-type {
  border-bottom: none;
}
.user-orders__item-thumb {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.25rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--secondary);
}
.user-orders__item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-orders__item-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}
.user-orders__item-info {
  flex: 1;
  min-width: 0;
}
.user-orders__item-title {
  font-size: 0.8125rem;
  color: var(--foreground);
}
.user-orders__item-qty {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-left: 0.25rem;
}
.user-orders__item-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  flex-shrink: 0;
}
.user-orders__item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}
.user-orders__item-total-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-weight: 600;
}
.user-orders__item-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
}
.user-orders__view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  color: #E15500;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}
.user-orders__view-btn:hover {
  text-decoration: underline;
}
/* Empty state */
.user-orders__empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted-foreground);
}
.user-orders__empty i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}
.user-orders__empty p {
  font-size: 1rem;
  margin: 0 0 1.5rem;
}
.user-orders__shop-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, #E15500, #ff6b1a);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
/* Responsive */
@media (max-width: 640px) {
  .user-orders {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .user-orders__summary {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .user-orders__title {
    white-space: normal;
  }
  .user-orders__details {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* ═══════════════════════════════════════════════
   TAXONOMY TERM PAGE
   ═══════════════════════════════════════════════ */
.taxonomy-page {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ── Header ── */
.taxonomy-page__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.taxonomy-page__vocab {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #E15500;
  margin-bottom: 0.375rem;
}
.taxonomy-page__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.taxonomy-page__desc {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 40rem;
}
.taxonomy-page__count {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin: 0.75rem 0 0;
}

/* ── Sections ── */
.taxonomy-page__section {
  margin-bottom: 2.5rem;
}
.taxonomy-page__section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.taxonomy-page__section-title i {
  color: #E15500;
  font-size: 1rem;
}
.taxonomy-page__section-count {
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ── Grid ── */
.taxonomy-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1rem;
}

/* ── Cards ── */
.taxonomy-page__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}
.taxonomy-page__card:hover {
  border-color: #E15500;
  transform: translateY(-2px);
}
.taxonomy-page__card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--muted);
  overflow: hidden;
}
.taxonomy-page__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.taxonomy-page__card:hover .taxonomy-page__card-thumb img {
  transform: scale(1.04);
}
.taxonomy-page__card-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
}
.taxonomy-page__card-duration {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.taxonomy-page__card-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.taxonomy-page__card-type {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.taxonomy-page__card-type--emission { color: #E15500; }
.taxonomy-page__card-type--video { color: #818cf8; }
.taxonomy-page__card-type--article { color: #4ade80; }
.taxonomy-page__card-type--actu { color: #fbbf24; }
.taxonomy-page__card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.taxonomy-page__card-date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ── Empty state ── */
.taxonomy-page__empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted-foreground);
}
.taxonomy-page__empty i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.4;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .taxonomy-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .taxonomy-page__title {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════ */
.contact-page {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.contact-page__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.contact-page__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}
.contact-page__subtitle {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin: 0;
  max-width: 36rem;
  line-height: 1.6;
}

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

/* ── Form ── */
.contact-page__form-wrap .form-item {
  margin-bottom: 1.25rem;
}
.contact-page__form-wrap .form-item label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.375rem;
}
.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: #E15500;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.15);
}
.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.6;
}
.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.contact-form__select option {
  background: var(--card);
  color: var(--foreground);
}
.contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
}
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: #E15500;
  color: #fff !important;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.contact-form__submit:hover {
  background: #ff6b1a;
  transform: translateY(-1px);
}

/* ── Sidebar ── */
.contact-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-page__info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
}
.contact-page__info-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0 0 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.contact-page__info-title i {
  color: #E15500;
  font-size: 0.875rem;
}
.contact-page__info-text {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
}
.contact-page__info-link {
  font-size: 0.8125rem;
  color: #E15500;
  text-decoration: none;
}
.contact-page__info-link:hover {
  color: #ff6b1a;
}

/* Messages status Drupal */
.contact-page .messages--status {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}
.contact-page .messages--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .contact-page__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-page__sidebar {
    order: -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .contact-page__sidebar {
    grid-template-columns: 1fr;
  }
  .contact-page__title {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY PAGES (type "page") — override Canvas/Mercury defaults
   ═══════════════════════════════════════════════════════════════════════════ */
.page-node-type-page .region-content {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.page-node-type-page nav[aria-label="breadcrumb"] {
  display: none;
}
.page-node-type-page .region-content > div > section {
  margin-top: 0 !important;
}
.page-node-type-page .region-content h1 {
  font-size: 1.75rem !important;
  font-weight: 700;
  color: #fff;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.1));
  margin-bottom: 1.5rem;
}
.page-node-type-page .region-content h2 {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: var(--sondiers-orange, #e15500) !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(225, 85, 0, 0.2);
}
.page-node-type-page .region-content h3 {
  font-size: 1.05rem !important;
  font-weight: 600;
  color: #fff !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}
.page-node-type-page .region-content section {
  font-size: 0.95rem !important;
  color: var(--text-muted, rgba(255,255,255,0.7));
  line-height: 1.75;
}
.page-node-type-page .region-content p {
  font-size: 0.95rem !important;
  color: var(--text-muted, rgba(255,255,255,0.7));
}
.page-node-type-page .region-content a:not([aria-label]) {
  color: var(--sondiers-orange, #e15500) !important;
  text-decoration: none !important;
}
.page-node-type-page .region-content a:not([aria-label]):hover {
  text-decoration: underline !important;
  opacity: 1 !important;
}
.page-node-type-page .region-content li {
  font-size: 0.95rem !important;
  color: var(--text-muted, rgba(255,255,255,0.7));
}


/* ═══════════════════════════════════════════════════════
   Page Soutien (/soutien)
   ═══════════════════════════════════════════════════════ */

.node--soutien {
  color: var(--foreground);
}

/* Hero */
.soutien-hero {
  background: linear-gradient(135deg, rgba(225,85,0,0.15) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.soutien-hero__inner {
  max-width: 700px;
  margin: 0 auto;
}
.soutien-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin: 0 0 1rem;
  line-height: 1.1;
}
.soutien-hero__subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin: 0 0 0.75rem;
}
.soutien-hero__subtitle strong {
  color: var(--primary);
}
.soutien-hero__desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
}

/* Content wrapper */
.soutien-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Section */
.soutien-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.soutien-section:last-of-type {
  border-bottom: none;
}
.soutien-section__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.soutien-section__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(225,85,0,0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.soutien-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}
.soutien-section__desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

/* Cards grid */
.soutien-cards {
  display: grid;
  gap: 1rem;
}
.soutien-cards--2 {
  grid-template-columns: 1fr 1fr;
}

.soutien-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
}
a.soutien-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(225, 85, 0, 0.15), 0 0 0 1px rgba(225, 85, 0, 0.1);
  background: linear-gradient(135deg, var(--card) 0%, rgba(225, 85, 0, 0.04) 100%);
}
a.soutien-card:hover .soutien-card__icon {
  background: rgba(225, 85, 0, 0.15);
  color: var(--primary);
}
a.soutien-card:hover .soutien-card__cta {
  color: #ff6b1a;
}
.soutien-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.soutien-card__icon--youtube { background: rgba(255,0,0,0.12); color: #ff0000; }
.soutien-card__icon--twitch { background: rgba(145,70,255,0.12); color: #9146ff; }

.soutien-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.soutien-card__desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  flex: 1;
}
.soutien-card__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
}
.soutien-card__badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  background: rgba(225,85,0,0.12);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* Card list (YouTube/Twitch features) */
.soutien-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.soutien-card__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  color: var(--foreground);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.soutien-card__list li:last-child {
  border-bottom: none;
}
.soutien-card__list li i {
  color: var(--primary);
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.soutien-card__note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin: 0 0 0.75rem;
}
.soutien-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  transition: color 0.2s, gap 0.2s;
}
.soutien-card__link:hover { color: #ff6b1a; gap: 0.5rem; }

/* Affiliates grid */
.soutien-affiliates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.soutien-affiliate {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--foreground);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.soutien-affiliate:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 85, 0, 0.12);
  background: linear-gradient(135deg, var(--card) 0%, rgba(225, 85, 0, 0.05) 100%);
}
.soutien-affiliate:hover .soutien-affiliate__name i {
  color: var(--primary);
}
.soutien-affiliate__name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
}
.soutien-affiliate__name i {
  color: var(--primary);
  width: 1rem;
  text-align: center;
}
.soutien-affiliate__desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.4;
  margin: 0;
}

/* CTA final */
.soutien-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 1rem;
  text-align: center;
}
.soutien-cta__inner {
  max-width: 500px;
  margin: 0 auto;
}
.soutien-cta__icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  display: block;
}
.soutien-cta__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--foreground);
  margin: 0 0 0.75rem;
}
.soutien-cta__desc {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.soutien-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.soutien-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: #ff0000;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}
.soutien-cta__btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}
.soutien-cta__btn--twitch { background: #9146ff; }
.soutien-cta__btn--boutique { background: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
  .soutien-hero__title { font-size: 1.75rem; }
  .soutien-cards--2 { grid-template-columns: 1fr; }
  .soutien-affiliates { grid-template-columns: 1fr; }
  .soutien-hero { padding: 2.5rem 1rem 2rem; }
}

/* Page-level overrides */
.layout-container--soutien .site-main {
  padding-top: 0;
  padding-bottom: 0;
}
.layout-container--soutien .region-content,
.layout-container--soutien .region-content > div,
.layout-container--soutien .region-content > div > div,
.layout-container--soutien .layout-content {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* ═════════════════════════════════════════════════════════
   LOGIN PAGE — Les Sondiers branded (split-screen)
   ═════════════════════════════════════════════════════════ */

.login-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #161921;
}

/* ── Form panel (left) ── */
.login-page__form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  position: relative;
}
/* Subtle left-side orange glow */
.login-page__form::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -15%;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(225, 85, 0, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.login-page__form-inner {
  width: 100%;
  max-width: 22rem;
  position: relative;
  z-index: 1;
}

/* Logo */
.login-page__logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}
.login-page__logo img {
  height: 1.75rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.login-page__logo:hover img {
  opacity: 1;
}

/* Decorative divider */
.login-page__divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.login-page__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 85, 0, 0.4), rgba(225, 85, 0, 0.05));
}
.login-page__divider-line:last-child {
  background: linear-gradient(90deg, rgba(225, 85, 0, 0.05), rgba(225, 85, 0, 0.4));
}
.login-page__divider-dot {
  width: 6px;
  height: 6px;
  background: #E15500;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(225, 85, 0, 0.5);
}

/* Title */
.login-page__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #E15500;
  margin: 0 0 0.375rem;
  line-height: 1.2;
}
.login-page__subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

/* Form content — style Drupal form elements */
.login-page__form-content .form-item {
  margin-bottom: 1.25rem;
}
.login-page__form-content label,
.login-page__form-content .form-item__label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.login-page__form-content input[type="text"],
.login-page__form-content input[type="password"],
.login-page__form-content input[type="email"],
.login-page__form-content .form-element {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.login-page__form-content input:focus,
.login-page__form-content .form-element:focus {
  border-color: #E15500;
  background: rgba(225, 85, 0, 0.04);
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.12);
}
.login-page__form-content .form-item__description,
.login-page__form-content .description {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Submit button */
.login-page__form-content .button--primary,
.login-page__form-content input[type="submit"],
.login-page__form-content .form-submit {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #E15500, #ff6b1a);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.8125rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  margin-top: 0.75rem;
  box-shadow: 0 4px 12px rgba(225, 85, 0, 0.25);
}
.login-page__form-content .button--primary:hover,
.login-page__form-content input[type="submit"]:hover,
.login-page__form-content .form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 85, 0, 0.35);
  filter: brightness(1.08);
}
.login-page__form-content .button--primary:active,
.login-page__form-content input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(225, 85, 0, 0.2);
}

/* Cancel link (logout confirm) */
.login-page__form-content .dialog-cancel {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.login-page__form-content .dialog-cancel:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* More links (forgot password) */
.login-page__form-content .more-links,
.login-page__form-content .item-list {
  margin-top: 1.25rem;
}
.login-page__form-content .more-links a,
.login-page__form-content .item-list a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.login-page__form-content .more-links a:hover,
.login-page__form-content .item-list a:hover {
  color: #E15500;
}

/* Messages */
.login-page__form-content .messages,
.login-page__form .messages {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
}
.login-page__form-content .messages--error,
.login-page__form .messages--error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.08);
}
.login-page__form-content .messages--status,
.login-page__form .messages--status {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.08);
}

/* Hide page title rendered by Drupal (we have our own) */
.login-page__form-content .page-title,
.login-page__form-content h1:first-child {
  display: none;
}

/* Footer link */
/* Switch zone — create account / login link */
.login-page__forgot {
  margin-top: 0.875rem;
  text-align: right;
  font-size: 0.8125rem;
}
.login-page__forgot a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.login-page__forgot a:hover {
  color: #E15500;
}

.login-page__switch {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.08), rgba(225, 85, 0, 0.03));
  border: 1px solid rgba(225, 85, 0, 0.2);
  border-radius: var(--radius, 0.5rem);
  text-align: center;
}
.login-page__switch span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  margin-bottom: 0.375rem;
}
.login-page__switch a {
  color: #E15500;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.login-page__switch a:hover {
  opacity: 0.8;
}
.login-page__switch a i {
  margin-left: 0.25rem;
  font-size: 0.75rem;
}

/* Hide batch page content flash (e.g. "Annulation du compte") */
body.path-batch .login-page__form-content,
body.path-batch .login-page__title,
body.path-batch .login-page__subtitle,
body.path-batch .site-main {
  visibility: hidden;
}

/* Account deleted page */
.account-deleted {
  text-align: center;
}
.account-deleted__icon {
  font-size: 3rem;
  color: #4ade80;
  margin-bottom: 1rem;
}
.account-deleted__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground, #fff);
  margin: 0 0 0.75rem;
}
.account-deleted__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}
.account-deleted__subtext {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}
.account-deleted__btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #E15500, #ff6b1a);
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(225, 85, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.account-deleted__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 85, 0, 0.35);
}

/* Comment unsubscribe page */
.comment-unsubscribe {
  text-align: center;
  max-width: 480px;
  margin: 4rem auto;
  padding: 2.5rem 2rem;
  background: var(--card, #1e2230);
  border-radius: 1rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}
.comment-unsubscribe__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.comment-unsubscribe__icon--success { color: #4ade80; }
.comment-unsubscribe__icon--error { color: #ef4444; }
.comment-unsubscribe__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground, #fff);
  margin: 0 0 0.75rem;
}
.comment-unsubscribe__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.comment-unsubscribe__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #E15500;
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 12px rgba(225, 85, 0, 0.25);
}
.comment-unsubscribe__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 85, 0, 0.35);
}

.login-page__footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.login-page__footer a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s;
}
.login-page__footer a:hover {
  color: #E15500;
}

/* ── Error pages (404, 403) ── */
.error-page__code {
  font-size: 6rem;
  font-weight: 900;
  color: #E15500;
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.04em;
  text-shadow: 0 0 40px rgba(225, 85, 0, 0.3);
}
.error-page__message {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
}
.error-page__sub {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  margin: 0 0 1.75rem;
}
.error-page__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.error-page__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s, background 0.2s, border-color 0.2s;
}
.error-page__btn--primary {
  background: linear-gradient(135deg, #E15500, #ff6b1a);
  color: #fff;
  box-shadow: 0 4px 12px rgba(225, 85, 0, 0.25);
}
.error-page__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 85, 0, 0.35);
  filter: brightness(1.08);
  color: #fff;
}
.error-page__btn--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.error-page__btn--secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.error-page__emoji {
  animation: errorShake 3s ease-in-out infinite;
}
@keyframes errorShake {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  20% { transform: translateY(-0.5rem) rotate(-5deg); }
  40% { transform: translateY(0) rotate(3deg); }
  60% { transform: translateY(-0.3rem) rotate(-2deg); }
  80% { transform: translateY(0) rotate(1deg); }
}

/* ── Visual panel (right) ── */
.login-page__visual {
  background:
    linear-gradient(160deg, rgba(225, 85, 0, 0.1) 0%, rgba(22, 25, 33, 0.98) 50%),
    linear-gradient(320deg, rgba(225, 85, 0, 0.05) 0%, transparent 40%),
    #1a1d27;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-page__visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 24rem;
}
.login-page__visual-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(225, 85, 0, 0.3));
  animation: loginFloat 4s ease-in-out infinite;
}
@keyframes loginFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5rem); }
}
.login-page__visual-tagline {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.login-page__visual-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 2rem;
  line-height: 1.6;
}

/* Stats */
.login-page__visual-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.login-page__stat {
  text-align: center;
}
.login-page__stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #E15500;
  line-height: 1.2;
}
.login-page__stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.125rem;
}

/* Decorative circles */
.login-page__circles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.login-page__circle {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(225, 85, 0, 0.12);
}
.login-page__circle--1 {
  width: 22rem;
  height: 22rem;
  top: 8%;
  right: -7rem;
  background: radial-gradient(circle, rgba(225, 85, 0, 0.04) 0%, transparent 70%);
  animation: loginPulse 8s ease-in-out infinite;
}
.login-page__circle--2 {
  width: 16rem;
  height: 16rem;
  bottom: 12%;
  left: 3%;
  border-color: rgba(225, 85, 0, 0.08);
  background: radial-gradient(circle, rgba(225, 85, 0, 0.02) 0%, transparent 70%);
  animation: loginPulse 8s ease-in-out infinite 2s;
}
.login-page__circle--3 {
  width: 9rem;
  height: 9rem;
  top: 50%;
  right: 18%;
  border-color: rgba(225, 85, 0, 0.06);
  animation: loginPulse 8s ease-in-out infinite 4s;
}
@keyframes loginPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.03); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-page__visual {
    display: none;
  }
  .login-page__form {
    padding: 2rem 1.5rem;
    min-height: 100vh;
  }
}


/* ═════════════════════════════════════════════════════════
   PAGE RECHERCHE — /recherche
   ═════════════════════════════════════════════════════════ */

/* Section wrapper — same pattern as .actu-section, .emissions-section */
.search-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

/* Reset Mercury defaults */
.path-recherche .site-main { padding-top: 0; }
.path-recherche .region-content,
.path-recherche .region-content > div,
.path-recherche .region-content > div > div {
  max-width: none;
  padding: 0;
  padding-inline: 0;
  margin: 0;
}

/* Hero */
.search-section__header {
  margin-bottom: 1.75rem;
}
.search-section__title {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.search-section__subtitle {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Exposed form — inline search bar */
.search-section .views-exposed-form {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.search-section .views-exposed-form .form-item {
  flex: 1;
  min-width: 200px;
  margin: 0;
}
.search-section .views-exposed-form .form-item label {
  display: none;
}
.search-section .views-exposed-form input[type="text"],
.search-section .views-exposed-form input[type="search"] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card, #1e2230);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 0.5rem;
  color: var(--foreground, #fff);
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}
.search-section .views-exposed-form input[type="text"]:focus,
.search-section .views-exposed-form input[type="search"]:focus {
  outline: none;
  border-color: #E15500;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.3);
}
.search-section .views-exposed-form select {
  padding: 0.75rem 1rem;
  background: var(--card, #1e2230);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 0.5rem;
  color: var(--foreground, #fff);
  font-size: 0.875rem;
  cursor: pointer;
  min-width: 160px;
}
.search-section .views-exposed-form select:focus {
  outline: none;
  border-color: #E15500;
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.3);
}
.search-section .views-exposed-form .form-actions {
  margin: 0;
}
.search-section .views-exposed-form .form-submit,
.search-section .views-exposed-form button[type="submit"] {
  padding: 0.75rem 1.5rem;
  background: #E15500;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.search-section .views-exposed-form .form-submit:hover,
.search-section .views-exposed-form button[type="submit"]:hover {
  background: #ff6b1a;
}

/* Results count */
.search-results__count {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.75rem;
}
.search-results__count strong {
  color: var(--foreground);
}

/* ── Type group sections (same pattern as .emissions-month) ── */
.search-group {
  margin-bottom: 3.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.search-group:last-child {
  border-bottom: none;
}
.search-group__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.search-group__icon {
  color: #E15500;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.search-group__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #E15500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.search-group__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 85, 0, 0.3), rgba(225, 85, 0, 0.05));
}
.search-group__count {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ── Search rows (same pattern as .emission-row) ── */
.search-group__list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.15s;
}
.search-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.search-row__thumb {
  width: 5.5rem;
  min-width: 5.5rem;
  aspect-ratio: 16 / 9;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #1e2230;
  flex-shrink: 0;
}
.search-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.search-row:hover .search-row__thumb img {
  transform: scale(1.05);
}
.search-row__info {
  flex: 1;
  min-width: 0;
}
.search-row__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground, #fff);
  margin: 0 0 0.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s;
}
.search-row:hover .search-row__title {
  color: #E15500;
}
.search-row__chapo {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.search-row__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.3);
}
.search-row__numero {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
}
.search-row__author {
  color: rgba(255, 255, 255, 0.4);
}
.search-row__sep {
  color: rgba(255, 255, 255, 0.15);
}

/* Empty state */
.search-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.search-empty__icon {
  margin-bottom: 1rem;
}
.search-empty__text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
.search-empty__sub {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Pager — same style as actu */
.search-section .pager {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  padding: 2rem 0 3rem;
  list-style: none;
  margin: 0;
}
.search-section .pager__item {
  display: inline-flex;
}
.search-section .pager__item a,
.search-section .pager__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.search-section .pager__item a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--foreground);
}
.search-section .pager__item.is-active span,
.search-section .pager__item--active span {
  background: #E15500;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .search-section__title {
    font-size: 1.5rem;
  }
  .search-section .views-exposed-form {
    flex-direction: column;
  }
  .search-section .views-exposed-form .form-item {
    min-width: auto;
  }
}

@media (max-width: 640px) {
  .search-row__thumb {
    width: 4rem;
    min-width: 4rem;
  }
  .search-row__chapo {
    display: none;
  }
}


/* ═════════════════════════════════════════════════════════
   PAGE USER — /user/*
   ═════════════════════════════════════════════════════════ */

/* Section wrapper — same pattern as .actu-section */
.user-section {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

/* ── User edit form ── */
.user-form__uid {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.25rem;
}
.user-form__uid strong {
  color: var(--foreground);
}
.user-section .user-form {
  max-width: 80rem;
  margin: 0 auto 3rem;
  padding: 2rem 1.5rem;
}
.user-section .user-form .form-item {
  margin-bottom: 1.25rem;
}
.user-section .user-form label,
.user-section .user-form .form-item__label {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
}
.user-section .user-form input[type="text"],
.user-section .user-form input[type="password"],
.user-section .user-form input[type="email"],
.user-section .user-form .form-element {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.user-section .user-form input:focus,
.user-section .user-form .form-element:focus {
  border-color: #E15500;
  background: rgba(225, 85, 0, 0.04);
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.12);
}
.user-section .user-form .form-item__description,
.user-section .user-form .description {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.5;
}
/* Password strength meter */
.user-section .user-form .password-strength__meter {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  height: 6px;
  margin-top: 0.5rem;
}
.user-section .user-form .password-strength__indicator {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s, background-color 0.3s;
}
.user-section .user-form .password-strength__title,
.user-section .user-form .password-confirm-match {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
/* Picture / file upload */
.user-section .user-form .image-widget {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}
.user-section .user-form .image-preview,
.user-section .user-form .image-widget img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(225, 85, 0, 0.2);
}
/* Hide native file input, show styled label instead */
.user-section .user-form input[type="file"].user-form__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Hide only the upload button, keep remove button visible */
.user-section .user-form .image-widget input[name*="upload_button"] {
  display: none;
}
.user-section .user-form .image-widget input[name*="remove_button"] {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0;
}
.user-section .user-form .image-widget input[name*="remove_button"]:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.3);
  color: #f87171;
  transform: none;
  box-shadow: none;
  filter: none;
}
/* Hide the duplicate "Photo de profil" label from widget (shown in box header) */
.user-form__profile-box-col .form-item-user-picture-0 > label {
  display: none;
}
/* "Choisir une image" button — match password button style */
.user-form__upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(225, 85, 0, 0.12);
  border: 1px solid rgba(225, 85, 0, 0.25);
  border-radius: 0.375rem;
  color: #E15500;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  width: fit-content;
}
.user-form__upload-btn:hover {
  background: rgba(225, 85, 0, 0.2);
  border-color: rgba(225, 85, 0, 0.4);
}
.user-form__upload-btn i {
  font-size: 0.75rem;
}
/* Filename + size when image is uploaded */
.user-section .user-form .image-widget .file,
.user-section .user-form .image-widget .file + span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}
.user-section .user-form .image-widget .file {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
  display: inline-block;
  vertical-align: middle;
}
.user-section .user-form .image-widget .file a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}
/* Details/fieldset (comment notify) */
.user-section .user-form details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.user-section .user-form details summary {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}
.user-section .user-form details select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.625rem 2.25rem 0.625rem 0.75rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.user-section .user-form details select:focus {
  border-color: #E15500;
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 85, 0, 0.12);
}
.user-section .user-form details select option {
  background: var(--card);
  color: #fff;
}
/* Upload button in image widget — hidden (replaced by styled label) */
/* Submit */
.user-section .user-form input[type="submit"],
.user-section .user-form .form-submit {
  display: inline-block;
  background: linear-gradient(135deg, #E15500, #ff6b1a);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.8125rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(225, 85, 0, 0.25);
}
.user-section .user-form input[type="submit"]:hover,
.user-section .user-form .form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(225, 85, 0, 0.35);
  filter: brightness(1.08);
}
/* Headings inside form (e.g. fieldset legends) */
.user-section .user-form legend {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0;
}
/* Hide page title — we show it inside the card */
.user-section .user-form .page-title {
  display: none;
}
/* Profile box — picture (left) + password (right) */
.user-form__profile-box {
  display: flex;
  gap: 0;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, rgba(225, 85, 0, 0.08), rgba(225, 85, 0, 0.03));
  border: 1px solid rgba(225, 85, 0, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}
.user-form__profile-box-col {
  flex: 1;
  padding: 1.25rem 1.5rem;
}
.user-form__profile-box-divider {
  width: 1px;
  background: rgba(225, 85, 0, 0.15);
  align-self: stretch;
}
@media (max-width: 640px) {
  .user-form__profile-box {
    flex-direction: column;
  }
  .user-form__profile-box-divider {
    width: auto;
    height: 1px;
  }
}
.user-form__profile-box-col strong {
  color: var(--foreground);
  font-size: 0.875rem;
}
.user-form__profile-box-col p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0.25rem 0 0;
}
.user-form__profile-box-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(225, 85, 0, 0.1);
  border-radius: 0.5rem;
  color: #E15500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.user-form__password-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(225, 85, 0, 0.12);
  border: 1px solid rgba(225, 85, 0, 0.25);
  border-radius: 0.375rem;
  color: #E15500;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  width: fit-content;
}
.user-form__password-btn:hover {
  background: rgba(225, 85, 0, 0.2);
  border-color: rgba(225, 85, 0, 0.4);
}
/* Password collapsible section (inside orange profile box) */
.user-form__password-details {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.user-form__password-details summary {
  color: #E15500;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: rgba(225, 85, 0, 0.12);
  border: 1px solid rgba(225, 85, 0, 0.25);
  border-radius: 0.375rem;
  transition: background 0.2s;
}
.user-form__password-details summary::-webkit-details-marker { display: none; }
.user-form__password-details summary:hover {
  background: rgba(225, 85, 0, 0.2);
}
.user-form__password-details[open] summary {
  margin-bottom: 1rem;
}
/* Responsive */
@media (max-width: 640px) {
  .user-section .user-form {
    padding: 1.5rem 1.25rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Communauté Page
   ═══════════════════════════════════════════════════════════════ */

.communaute-hero {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding: 2rem 1.5rem 0;
}
.communaute-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}
.communaute-hero__subtitle {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 1rem;
}
.communaute-hero__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0;
}

/* Platform cards — grid */
.field--name-field-sections > .field__items {
  /* Already handled by parent templates */
}
.communaute-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 0 auto 1.25rem;
  max-width: 42rem;
  transition: border-color 0.2s, transform 0.2s;
}
.communaute-card:hover {
  border-color: var(--brand-color, var(--primary));
  transform: translateY(-2px);
}
.communaute-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.communaute-card__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.communaute-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--foreground);
}
.communaute-card__desc {
  line-height: 1.7;
  color: var(--muted-foreground);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.communaute-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.communaute-card__btn:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .communaute-hero__title { font-size: 1.5rem; }
  .communaute-card { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   User Profile — Newsletter section
   ═══════════════════════════════════════════════════════════════ */

.user-profile__newsletter-info {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.user-profile__newsletter-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.user-profile__newsletter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.user-profile__newsletter-details {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.user-profile__newsletter-name {
  font-weight: 600;
  color: var(--foreground);
}
.user-profile__newsletter-status {
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.user-profile__newsletter-status--subscribed { color: #22c55e; }
.user-profile__newsletter-status--unsubscribed { color: var(--muted-foreground); }
.user-profile__newsletter-status--pending { color: #f59e0b; }
.user-profile__newsletter-status--none { color: var(--muted-foreground); }

.user-profile__newsletter-btn {
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.user-profile__newsletter-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.user-profile__newsletter-btn--sub {
  background: var(--primary);
  color: #fff;
}
.user-profile__newsletter-btn--sub:hover { opacity: 0.9; }
.user-profile__newsletter-btn--unsub {
  background: var(--muted);
  color: var(--muted-foreground);
}
.user-profile__newsletter-btn--unsub:hover { color: var(--destructive); }

@media (max-width: 640px) {
  .user-profile__newsletter-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════════
   Page /patchclub — modale inscription
   ═══════════════════════════════════════════ */
.patchclub-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(30, 34, 48, 0.98) 0%, rgba(15, 17, 23, 0.99) 100%);
  overflow-y: auto;
  padding: 2rem;
}

.patchclub-modal__content {
  text-align: center;
  max-width: 480px;
  animation: spotify-fadeIn 0.4s ease-out;
}

.patchclub-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(225, 85, 0, 0.12);
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.patchclub-modal__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.patchclub-modal__badge {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.patchclub-modal__desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.patchclub-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.patchclub-modal__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
}

.patchclub-modal__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(225, 85, 0, 0.3);
}

.patchclub-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(225, 85, 0, 0.3);
}

.patchclub-modal__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(225, 85, 0, 0.4);
}

.patchclub-modal__privacy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.5rem;
}

/* Masquer tout sauf la modale sur /patchclub */
body:has(.patchclub-modal) { overflow: hidden; }
body:has(.patchclub-modal) > *:not(.dialog-off-canvas-main-canvas),
body:has(.patchclub-modal) .dialog-off-canvas-main-canvas > *:not(:has(.patchclub-modal)):not(.patchclub-modal) {
  display: none !important;
}

@media (max-width: 640px) {
  .patchclub-modal { padding: 1.5rem; }
  .patchclub-modal__title { font-size: 2rem; }
  .patchclub-modal__desc { font-size: 1rem; }
}

/* ═══════════════════════════════════════════
   Newsletter — pages merci / aurevoir (modale)
   ═══════════════════════════════════════════ */
.nl-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 2rem;
}

.nl-modal--success {
  background: radial-gradient(ellipse at center, rgba(5, 80, 50, 0.95) 0%, rgba(15, 17, 23, 0.99) 70%);
}

.nl-modal--goodbye {
  background: radial-gradient(ellipse at center, rgba(60, 30, 30, 0.95) 0%, rgba(15, 17, 23, 0.99) 70%);
}

.nl-modal__content {
  text-align: center;
  max-width: 520px;
  animation: spotify-fadeIn 0.4s ease-out;
}

.nl-modal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.nl-modal__icon--success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.2);
}

.nl-modal__icon--goodbye {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  box-shadow: 0 0 60px rgba(239, 68, 68, 0.15);
}

.nl-modal__text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.nl-modal__text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.nl-modal__text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.nl-modal__text a:hover {
  text-decoration: underline;
}

.nl-modal__actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.nl-modal__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(225, 85, 0, 0.3);
}

.nl-modal__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(225, 85, 0, 0.4);
  color: #fff;
}

.nl-modal__link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nl-modal__link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Masquer tout sauf la modale */
body:has(.nl-modal) { overflow: hidden; }
body:has(.nl-modal) > *:not(.dialog-off-canvas-main-canvas),
body:has(.nl-modal) .dialog-off-canvas-main-canvas > *:not(:has(.nl-modal)):not(.nl-modal) {
  display: none !important;
}

@media (max-width: 640px) {
  .nl-modal { padding: 1.5rem; }
  .nl-modal__icon { width: 80px; height: 80px; font-size: 2rem; }
  .nl-modal__text h2 { font-size: 1.6rem; }
  .nl-modal__text p { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Newsletter Upsell Modal
   ═══════════════════════════════════════════════════════════════ */

.nl-upsell-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.nl-upsell-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
}
.nl-upsell-modal__icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.nl-upsell-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.75rem;
}
.nl-upsell-modal__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  margin: 0 0 1.5rem;
}
.nl-upsell-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nl-upsell-modal__btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: opacity 0.2s;
}
.nl-upsell-modal__btn:disabled { opacity: 0.6; cursor: wait; }
.nl-upsell-modal__btn--switch {
  background: var(--primary);
  color: #fff;
}
.nl-upsell-modal__btn--switch:hover { opacity: 0.9; }
.nl-upsell-modal__btn--unsub {
  background: transparent;
  color: var(--muted-foreground);
  font-weight: 400;
  font-size: 0.85rem;
}
.nl-upsell-modal__btn--unsub:hover { color: var(--destructive); }

/* ═══════════════════════════════════════════
   Page /spotify — modale avertissement
   ═══════════════════════════════════════════ */
.spotify-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, rgba(30, 34, 48, 0.98) 0%, rgba(15, 17, 23, 0.99) 100%);
  overflow-y: auto;
  padding: 2rem;
}

.spotify-modal__close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 10;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  text-decoration: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.spotify-modal__close:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.spotify-modal__content {
  text-align: center;
  max-width: 680px;
  animation: spotify-fadeIn 0.4s ease-out;
}

@keyframes spotify-fadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Image panneau d'interdiction */
.spotify-modal__sign-img {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

/* Texte éditable (field_content rendu directement) */
.spotify-modal__text {
  text-align: center;
  margin-bottom: 3rem;
}

.spotify-modal__text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 2.5rem;
  letter-spacing: -0.02em;
}

.spotify-modal__text p {
  font-size: 1.3rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.spotify-modal__text strong {
  color: #fff;
}

/* Bouton CTA — lien dans le contenu */
.spotify-modal__text a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1.1rem 2.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 30px rgba(225, 85, 0, 0.35);
  margin-top: 1rem;
}

.spotify-modal__text a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(225, 85, 0, 0.5);
  color: #fff;
}

/* Lien retour */
.spotify-modal__back {
  display: block;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.spotify-modal__back:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Masquer tout sauf la modale sur la page /spotify */
body:has(.spotify-modal) { overflow: hidden; }

body:has(.spotify-modal) > *:not(.dialog-off-canvas-main-canvas),
body:has(.spotify-modal) .dialog-off-canvas-main-canvas > *:not(:has(.spotify-modal)):not(.spotify-modal) {
  display: none !important;
}

@media (max-width: 640px) {
  .spotify-modal { padding: 1.5rem; }
  .spotify-modal__sign-img { width: 150px; }
  .spotify-modal__text p { font-size: 1.05rem; }
  .spotify-modal__text h2 { font-size: 1.8rem; }
  .spotify-modal__text a { font-size: 1rem; padding: 0.9rem 2rem; }
  .spotify-modal__close { top: 1rem; right: 1rem; }
}

/* ── Mobile : padding latéral réduit globalement ── */
@media (max-width: 640px) {
  /* Override Mercury's padding-inline on region-content */
  .region-content {
    padding-inline: 0.25rem !important;
  }
  /* Override padding on all major containers */
  .home-section,
  .content-section,
  .actu-section,
  .emissions-section,
  .search-wrapper,
  .soutien-hero,
  .soutien-section,
  .soutien-cta,
  .boutique-hero,
  .boutique-section,
  .newsletter-page,
  .header-top__inner,
  .header-bottom__inner,
  .footer__inner,
  .node--article-ls,
  .node--actu,
  .node--billet,
  .node--video,
  .node--bonus-audio,
  .node--emission,
  .video-tiles-section,
  .videos-filtered,
  .articles-section,
  .blog-section,
  .hero-boutique__inner,
  .b-section__inner,
  .user-profile,
  .user-section,
  .user-section .user-form {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .page-node-type-newsletter-page .layout-content {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .site-footer__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}


/* =============================================
   ON ÉCOUTE VOS PRODS
   ============================================= */

.ecoute-prods {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.ecoute-prods__hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.ecoute-prods__hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #9146FF 0%, #6441a5 100%);
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 8px 32px oklch(0.5 0.2 300 / 0.3);
}

.ecoute-prods__title {
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8f5e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ecoute-prods__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: oklch(0.75 0 0);
  max-width: 36rem;
  margin: 0 auto;
}

.ecoute-prods__subtitle strong {
  color: #ff6b35;
}

.ecoute-prods__section {
  margin: 2.5rem 0;
}

.ecoute-prods__section p {
  font-size: 1rem;
  line-height: 1.8;
  color: oklch(0.75 0 0);
  margin: 0 0 1rem;
}

.ecoute-prods__section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: #fff;
}

.ecoute-prods__section-title i {
  color: #ff6b35;
  margin-right: 0.5rem;
}

/* Steps */
.ecoute-prods__steps {
  margin: 3rem 0;
}

.ecoute-prods__step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: oklch(0.2 0.02 260);
  border-radius: 12px;
  border: 1px solid oklch(0.3 0.02 260);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ecoute-prods__step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px oklch(0 0 0 / 0.3);
}

.ecoute-prods__step-number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #ff6b35;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.ecoute-prods__step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #fff;
}

.ecoute-prods__step-content p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: oklch(0.75 0 0);
  margin: 0;
}

.ecoute-prods__step-content a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
}

.ecoute-prods__step-content a:hover {
  text-decoration: underline;
}

.ecoute-prods__command {
  display: inline-block;
  background: oklch(0.15 0.02 260);
  color: #9146FF;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  border: 1px solid oklch(0.3 0.05 300);
  margin: 0.5rem 0;
}

.ecoute-prods__formats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.ecoute-prods__format {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: oklch(0.25 0.02 260);
  color: oklch(0.8 0 0);
  font-size: 0.85rem;
  font-weight: 500;
}

.ecoute-prods__format .fa-soundcloud { color: #ff5500; }
.ecoute-prods__format .fa-youtube { color: #ff0000; }
.ecoute-prods__format .fa-vimeo-v { color: #1ab7ea; }

/* CTA */
.ecoute-prods__cta-section {
  text-align: center;
  padding: 2.5rem 2rem;
  margin: 3rem 0;
  background: linear-gradient(135deg, oklch(0.22 0.04 300) 0%, oklch(0.18 0.02 260) 100%);
  border-radius: 16px;
  border: 1px solid oklch(0.35 0.05 300);
}

.ecoute-prods__cta-icon {
  font-size: 2.5rem;
  color: #5865F2;
  margin-bottom: 1rem;
}

.ecoute-prods__cta-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  color: #fff;
}

.ecoute-prods__cta-section p {
  font-size: 1rem;
  color: oklch(0.75 0 0);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.ecoute-prods__cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ecoute-prods__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.15s, box-shadow 0.15s;
  color: #fff;
}

.ecoute-prods__btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.ecoute-prods__btn--discord {
  background: #5865F2;
  box-shadow: 0 4px 16px oklch(0.5 0.15 270 / 0.4);
}

.ecoute-prods__btn--discord:hover {
  box-shadow: 0 6px 24px oklch(0.5 0.15 270 / 0.5);
}

.ecoute-prods__btn--twitch {
  background: #9146FF;
  box-shadow: 0 4px 16px oklch(0.5 0.15 300 / 0.4);
}

.ecoute-prods__btn--twitch:hover {
  box-shadow: 0 6px 24px oklch(0.5 0.15 300 / 0.5);
}

/* FAQ */
.ecoute-prods__faq {
  margin: 3rem 0 0;
}

.ecoute-prods__faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid oklch(0.3 0.02 260);
}

.ecoute-prods__faq-item:last-child {
  border-bottom: none;
}

.ecoute-prods__faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #ff6b35;
}

.ecoute-prods__faq-item p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: oklch(0.75 0 0);
  margin: 0;
}

.ecoute-prods__faq-item a {
  color: #ff6b35;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 640px) {
  .ecoute-prods__title { font-size: 1.8rem; }
  .ecoute-prods__step { flex-direction: column; gap: 0.75rem; }
  .ecoute-prods__cta-buttons { flex-direction: column; align-items: center; }
}

/* ── Page /live — Mercury override ── */
.path-live .site-main { padding-top: 0; padding-bottom: 0; }
.path-live .layout-content { max-width: none; padding: 0; margin: 0; }
.path-live .site-footer { margin-top: 0; }

/* ── Page /mes-telechargements ── */

.my-downloads {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Order downloads — customer view */
.order-detail__downloads {
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

.order-detail__downloads .order-detail__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  overflow: hidden;
}

.order-detail__dl-product {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: oklch(1 0 0 / 0.03);
  border-bottom: 1px solid var(--border);
}

.order-detail__dl-file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--foreground);
  border-bottom: 1px solid oklch(1 0 0 / 0.04);
  transition: background 0.15s;
}
.order-detail__dl-file:last-child {
  border-bottom: none;
}
.order-detail__dl-file:hover {
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.578 0.199 42.7);
}

.order-detail__dl-icon {
  color: oklch(0.578 0.199 42.7);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.order-detail__dl-label {
  flex: 1;
  font-size: 0.9rem;
}

.order-detail__dl-size {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.order-detail__dl-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: oklch(1 0 0 / 0.08);
  color: var(--muted-foreground);
  padding: 0.2em 0.5em;
  border-radius: 4px;
}

/* Order downloads — admin view */
.order-downloads {
  margin-top: 2rem;
  background: oklch(0.225 0.019 265);
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.order-downloads__title {
  margin: 0;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: oklch(0.93 0.005 260);
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order-downloads__title i {
  color: oklch(0.578 0.199 42.7);
}

/* Empty state */
.my-downloads__empty {
  text-align: center;
  padding: 4rem 1rem;
}

.my-downloads__empty-icon {
  font-size: 3rem;
  color: oklch(0.578 0.199 42.7);
  margin-bottom: 1rem;
}

.my-downloads__empty p {
  color: oklch(0.7 0.01 265);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.my-downloads__cta {
  display: inline-block;
  background: oklch(0.578 0.199 42.7);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.my-downloads__cta:hover { opacity: 0.85; color: #fff; }

/* Grid */
.my-downloads__grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card */
.my-downloads__card {
  background: oklch(0.225 0.019 265);
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.my-downloads__card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.06);
}

.my-downloads__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: oklch(0.578 0.199 42.7 / 0.15);
  color: oklch(0.578 0.199 42.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.my-downloads__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: oklch(0.93 0.005 260);
}

.my-downloads__card-count {
  font-size: 0.8rem;
  color: oklch(0.6 0.01 265);
}

/* File links */
.my-downloads__card-files {
  padding: 0.5rem 0;
}

.my-downloads__file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: oklch(0.85 0.01 265);
  transition: background 0.15s;
}
.my-downloads__file:hover {
  background: oklch(1 0 0 / 0.04);
  color: oklch(0.578 0.199 42.7);
}

.my-downloads__file-icon {
  color: oklch(0.578 0.199 42.7);
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.my-downloads__file-label {
  flex: 1;
  font-size: 0.9rem;
}

.my-downloads__file-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: oklch(1 0 0 / 0.08);
  color: oklch(0.6 0.01 265);
  padding: 0.2em 0.5em;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .my-downloads { padding: 1rem 0.5rem; }
  .my-downloads__card-header { padding: 1rem; }
  .my-downloads__file { padding: 0.75rem 1rem; }
}
