/* ==========================================================================
   Beyond Heels — feuille de styles extraite du prototype (new/markup/*.html).
   Tokens + composants. Ne pas coder de couleur en dur ailleurs.
   ========================================================================== */

/* Polices hébergées sur le site (aucune requête vers Google : RGPD). Sous-ensemble latin (français compris). */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/anton-latin.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url('../fonts/oswald-latin.woff2') format('woff2'); }
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/pinyon-script-latin.woff2') format('woff2'); }

:root {
  --bh-bordeaux:        #680916;
  --bh-bordeaux-deep:   #57010c;
  --bh-surface:         rgba(143, 35, 51, 0.22);
  --bh-gold:            #b48f57;
  --bh-gold-hover:      #f0c684;
  --bh-cream:           #f6efe6;
  --bh-black:           #000000;

  --bh-line:            rgba(180, 143, 87, 0.42);
  --bh-line-soft:       rgba(180, 143, 87, 0.28);
  --bh-line-admin:      rgba(180, 143, 87, 0.3);
  --bh-text-soft:       rgba(246, 239, 230, 0.74);
  --bh-text-mute:       rgba(246, 239, 230, 0.55);

  --bh-ok:      #7ba86b;
  --bh-warn:    #d9a441;
  --bh-danger:  #c4685c;
  --bh-danger-hover: #d88175;

  --bh-metal: linear-gradient(178deg, #f9e6b0 4%, #d9ab55 34%, #b3832f 52%, #f3d78f 66%, #9d7026 100%);
  --bh-metal-bright: linear-gradient(178deg, #fdf0c8 4%, #e6bd6c 34%, #c99a44 52%, #f8e2a6 66%, #b98c3c 100%);

  --bh-font: 'Oswald', sans-serif;
  --bh-script: 'Pinyon Script', cursive;

  --bh-max: 1320px;
  --bh-gutter: clamp(18px, 5vw, 30px);
  --bh-radius: 4px;
}

/* --------------------------------------------------------- base --------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }

body { margin: 0; background: var(--bh-bordeaux); color: var(--bh-cream); font-family: var(--bh-font); font-weight: 300; overflow-x: hidden; }
a { color: var(--bh-gold); text-decoration: none; }
a:hover { color: var(--bh-gold-hover); }
img { max-width: 100%; }
input, select, textarea { font-family: var(--bh-font); font-weight: 300; }

@keyframes bh-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes bh-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.wrap { max-width: var(--bh-max); margin: 0 auto; padding-left: var(--bh-gutter) !important; padding-right: var(--bh-gutter) !important; }
.section { padding-top: 56px; padding-bottom: 84px; }
.hr { border: 0; border-top: 1px solid var(--bh-line); margin: 0; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; }
.gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-14 { gap: 14px; }
.gap-16 { gap: 16px; } .gap-18 { gap: 18px; } .gap-22 { gap: 22px; }

/* ------------------------------------------------------ typographie ----- */
.t-display {
  font-family: var(--bh-font); font-weight: 300; text-transform: uppercase; letter-spacing: -0.025em;
  line-height: 0.94; margin: 0 0 20px;
  background-image: var(--bh-metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.t-display--xl { font-size: clamp(34px, 5.6vw, 92px); line-height: 0.9; letter-spacing: -0.03em; }
.t-display--lg { font-size: clamp(38px, 5.4vw, 78px); line-height: 0.92; }
.t-display--md { font-size: clamp(26px, 3.2vw, 42px); }
.t-display--sm { font-size: 24px; text-transform: none; letter-spacing: 0; font-weight: 400; }

.t-script { font-family: var(--bh-script); font-style: normal; text-transform: none; color: var(--bh-gold); -webkit-text-fill-color: var(--bh-gold); }
.t-kicker { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bh-gold); margin: 0 0 14px; }
.t-label  { font-size: 10px; letter-spacing: 0.2em;  text-transform: uppercase; color: var(--bh-gold); }
.t-body   { font-weight: 400; font-size: 16px; line-height: 1.75; color: var(--bh-cream); max-width: 62ch; }
.t-muted  { font-size: 13px; line-height: 1.7; color: var(--bh-text-mute); }

/* ---------------------------------------------------------- boutons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--bh-font); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--bh-radius); text-decoration: none; border: 0; cursor: pointer;
}
.btn--leo {
  color: var(--bh-cream); text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 200px rgba(104,9,22,0.55), 0 0 0 1px var(--bh-gold);
}
.btn--leo:hover { box-shadow: inset 0 0 0 200px rgba(104,9,22,0.18), 0 0 0 1px var(--bh-gold); color: var(--bh-cream); }

.btn--gold { background: var(--bh-gold); color: var(--bh-black); }
.btn--gold:hover { background: var(--bh-cream); color: var(--bh-black); }
.btn--gold-w { background: var(--bh-gold); color: #ffffff; }
.btn--gold-w:hover { background: var(--bh-cream); color: var(--bh-black); }

.btn--ghost { border: 1px solid rgba(246,239,230,0.45); color: var(--bh-cream); background: transparent; }
.btn--ghost:hover { border-color: var(--bh-gold); color: var(--bh-gold); }

.btn--outline { border: 1px solid rgba(180,143,87,0.6); color: var(--bh-cream); background: transparent; }
.btn--outline:hover { background: rgba(180,143,87,0.16); color: var(--bh-gold); }

.btn--danger-outline { border: 1px solid rgba(196,104,92,0.6); color: var(--bh-danger); background: transparent; }
.btn--danger-outline:hover { background: rgba(196,104,92,0.16); }

.btn--sm { font-size: 13px; padding: 11px 20px; letter-spacing: 0.12em; }
.btn--xs { font-size: 12px; padding: 9px 16px; }

.link-sm { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--bh-cream); }
.link-sm:hover { color: var(--bh-gold); }
.link-danger { color: var(--bh-danger); }
.link-danger:hover { color: var(--bh-danger-hover); }

/* Chips (sélections multiples : niveau, moyen de paiement, type, filtres) */
.chip {
  font-size: 12px; letter-spacing: 0.06em; padding: 9px 15px; border-radius: 999px;
  text-decoration: none; border: 1px solid rgba(180,143,87,0.45); color: var(--bh-cream);
  background: transparent; cursor: pointer; font-family: var(--bh-font);
}
.chip.is-on { background: var(--bh-gold); border-color: var(--bh-gold); color: var(--bh-bordeaux); }
.chip--sm { font-size: 11px; padding: 7px 12px; }

/* Tabs pilule (filtres galerie, onglets admin) */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tabs a { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 9px 16px; border-radius: 999px; text-decoration: none; border: 1px solid rgba(180,143,87,0.5); color: var(--bh-cream); background: transparent; cursor: pointer; }
.tabs a.is-on { background: var(--bh-gold); border-color: var(--bh-gold); color: var(--bh-bordeaux); }

/* Onglets de section (Événements / Galerie / Élèves) — carrés, plus grands */
.section-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.section-tabs a { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; padding: 11px 22px; border-radius: var(--bh-radius); text-decoration: none; border: 1px solid rgba(180,143,87,0.45); color: var(--bh-cream); background: transparent; }
.section-tabs a.is-on { background: var(--bh-gold); border-color: var(--bh-gold); color: var(--bh-bordeaux); }

/* --------------------------------------------------------- en-tête ------ */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bh-bordeaux-deep); backdrop-filter: blur(10px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.site-header__strip { height: 8px; background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center; }

.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--bh-cream); }
.brand__name { font-size: 22px; letter-spacing: 0.24em; text-transform: uppercase; background-image: var(--bh-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__by { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bh-gold); }

.nav { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; justify-content: flex-end; }
.nav a:not(.btn) {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  padding: 8px 15px; border-radius: 999px; border: 1px solid transparent;
  background-image: var(--bh-metal-bright); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav a.is-active { border-color: var(--bh-gold); }

.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 9px; border: 1px solid rgba(180,143,87,0.55); border-radius: var(--bh-radius); background: transparent; cursor: pointer; }
.burger:hover { background: rgba(180,143,87,0.16); }
.burger span { display: block; height: 1.5px; background: var(--bh-gold); }

.menu-overlay { display: none; position: fixed; inset: 0; z-index: 70; background: var(--bh-bordeaux-deep); flex-direction: column; }
.menu-overlay.is-open { display: flex; }
.menu-overlay__veil { position: absolute; inset: 0; background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center; opacity: 0.18; }
.menu-overlay__head { position: relative; padding: 16px var(--bh-gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(180,143,87,0.3); }
.menu-overlay__close { width: 44px; height: 44px; flex: none; border: 1px solid rgba(180,143,87,0.55); border-radius: var(--bh-radius); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--bh-gold); background: transparent; cursor: pointer; }
.menu-overlay__close:hover { background: rgba(180,143,87,0.16); }
.menu-overlay__body { position: relative; flex: 1; overflow-y: auto; padding: 34px var(--bh-gutter) 44px; display: flex; flex-direction: column; gap: 6px; }
.menu-overlay__body a.menu-link {
  font-family: var(--bh-font); font-weight: 300; font-size: 30px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid rgba(180,143,87,0.22);
  background-image: var(--bh-metal-bright); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* backoffice : barre or / texte bordeaux (inverse du site public) */
.brand__badge { align-self: center; font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bh-gold); background: var(--bh-bordeaux); padding: 4px 10px; border-radius: 999px; }
.site-header--admin { background: var(--bh-gold); }
.site-header--admin .site-header__strip { height: 4px; background: var(--bh-bordeaux); }
.site-header--admin .brand__name { background-image: none; -webkit-text-fill-color: var(--bh-bordeaux); color: var(--bh-bordeaux); font-weight: 500; }
.site-header--admin .nav a:not(.btn) { background-image: none; -webkit-text-fill-color: var(--bh-bordeaux); color: var(--bh-bordeaux); font-weight: 500; }
.site-header--admin .nav a:not(.btn):hover { background: rgba(104,9,22,0.12); }
.site-header--admin .nav a.is-active { border-color: var(--bh-bordeaux); }
.site-header--admin .btn--gold-w { background: var(--bh-bordeaux); color: var(--bh-cream); }
.site-header--admin .btn--gold-w:hover { background: var(--bh-bordeaux-deep); color: var(--bh-cream); }
/* Bouton « Logs » (compte développeur) : pastille à contour pointillé, police console, pour se distinguer des liens du menu */
.site-header--admin .btn--logs { background: transparent; color: var(--bh-bordeaux); border: 1.5px dashed var(--bh-bordeaux); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; text-transform: none; letter-spacing: 0.02em; padding: 8px 16px; white-space: nowrap; }
.site-header--admin .btn--logs:hover, .site-header--admin .btn--logs.is-active { background: var(--bh-bordeaux); color: var(--bh-cream); border-style: solid; }
/* Déconnexion : simple icône « power » (gagne de la place dans le menu du backoffice) */
.logout-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 38px; height: 38px; padding: 0; border-radius: 50%; border: 1px solid rgba(104,9,22,0.45); background: none; color: var(--bh-bordeaux-deep); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.logout-btn:hover, .logout-btn:focus-visible { background: var(--bh-bordeaux-deep); color: var(--bh-gold); outline: none; }
.site-header--admin .burger { border-color: var(--bh-bordeaux); }
.site-header--admin .burger:hover { background: rgba(104,9,22,0.12); }
.site-header--admin .burger span { background: var(--bh-bordeaux); }

/* menu mobile backoffice : en-tête or / texte bordeaux */
.menu-overlay--admin .menu-overlay__head { background: var(--bh-gold); border-bottom: 4px solid var(--bh-bordeaux); }
.menu-overlay--admin .brand__name { background-image: none; -webkit-text-fill-color: var(--bh-bordeaux); color: var(--bh-bordeaux); font-weight: 500; }
.menu-overlay--admin .menu-overlay__close { border-color: var(--bh-bordeaux); color: var(--bh-bordeaux); }
.menu-overlay--admin .menu-overlay__close:hover { background: rgba(104,9,22,0.12); }

/* Très petits mobiles (320 px) : marque un peu plus petite pour que le burger reste en haut à droite (public + backoffice). */
@media (max-width: 359px) {
  .brand { gap: 8px; }
  .brand__name { font-size: 18px; letter-spacing: 0.16em; }
  .brand__by { letter-spacing: 0.18em; }
  .brand__badge { font-size: 9px; letter-spacing: 0.14em; padding: 3px 8px; }
}
@media (max-width: 899px) {
  .burger { display: flex; }
  .site-header .nav { display: none; }
}

/* ------------------------------------------------------------ hero ------ */
.hero { position: relative; overflow: hidden; }
.hero__pattern { position: absolute; inset: 0; background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(104,9,22,0.94) 28%, rgba(104,9,22,0.62) 70%, rgba(104,9,22,0.3) 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 54px; align-items: center; padding-top: 82px; }
/* row-gap à 0 : pas d'écart entre le texte et la photo une fois empilés ; le column-gap (54px) reste, il sert au calcul du passage en 2 colonnes. */
.hero__inner { row-gap: 0; }
.hero__text { padding-bottom: 80px; align-self: center; }
/* Empilé (< 1034px) : 50px sous le texte au lieu de 80px. */
@media (max-width: 1033px) { .hero__text { padding-bottom: 50px; } }
.hero__logo { display: block; width: clamp(210px, 22vw, 330px); height: auto; margin: 0 0 18px; }
.hero__badge { display: inline-block; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bh-black); background: var(--bh-gold); padding: 8px 16px; border-radius: 2px; margin: 0 0 30px; }
.hero__tagline { font-weight: 300; font-size: clamp(12px, 1.5vw, 24px); line-height: 1.3; color: var(--bh-gold); margin: 0 0 26px; white-space: nowrap; }
.hero__lede { font-size: 18px; line-height: 1.7; max-width: 62ch; color: rgba(246,239,230,0.84); margin: 0 0 32px; }
.hero__figure { position: relative; align-self: end; width: 78%; justify-self: center; }
@media (min-width: 980px) { .hero__figure { align-self: start; } }
.hero__disc { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); width: 106%; aspect-ratio: 1; border-radius: 50%; background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(180,143,87,0.55); }
.hero__ring { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); width: 124%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(180,143,87,0.3); animation: bh-spin 90s linear infinite; }
.hero__dancer { position: relative; display: block; width: 100%; animation: bh-float 7s ease-in-out infinite; filter: drop-shadow(0 26px 40px rgba(0,0,0,0.55)); }
.hero__credit { position: absolute; bottom: 16px; right: -6px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,239,230,0.7); text-shadow: 0 1px 6px rgba(0,0,0,0.9); }

/* --------------------------------------------------------- marquee ------ */
.marquee { background: var(--bh-bordeaux); padding: 26px 0; overflow: hidden; }
.marquee__plate { background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center; padding: 1px 0; box-shadow: 0 0 0 1px rgba(180,143,87,0.55); }
.marquee__veil { background: rgba(104,9,22,0.5); overflow: hidden; padding: 14px 0; }
.marquee__track { display: flex; width: max-content; animation: bh-run 22s linear infinite; }
.marquee__group { display: flex; gap: 32px; flex: none; align-items: center; padding-right: 32px; }
.marquee__item { font-family: var(--bh-font); font-size: 20px; letter-spacing: 0.26em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 6px rgba(0,0,0,0.85); }
.marquee__item--gold { color: var(--bh-gold); }

/* ---------------------------------------------------------- cartes ------ */
.card { border: 1px solid var(--bh-line); border-radius: var(--bh-radius); background: transparent; padding: 28px 26px; }
.tile:hover { background-color: rgba(180,143,87,0.12); }
.card--plan { border: 2px solid var(--bh-gold); border-radius: var(--bh-radius); padding: 31px 27px; display: flex; flex-direction: column; gap: 10px; }
.card--gold { border: 1px solid var(--bh-gold); border-radius: var(--bh-radius); background: rgba(180,143,87,0.06); padding: 34px 32px; }
.card--admin { border: 1px solid var(--bh-line-admin); border-radius: var(--bh-radius); background: var(--bh-surface); padding: 26px 24px; }
.card--danger { border: 1px solid rgba(196,104,92,0.5); border-radius: var(--bh-radius); background: rgba(196,104,92,0.06); padding: 22px 24px; }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid--events { grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); }
.grid--events-2 { grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr)); }
.grid--tiles { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 20px; justify-content: start; }

/* Carte d'événement — format horizontal (à venir) */
.event {
  display: grid; grid-template-columns: minmax(0,0.95fr) minmax(0,1.05fr); min-height: 326px;
  border: 1px solid var(--bh-line); border-radius: var(--bh-radius); background: transparent; overflow: hidden;
}
.event__cover { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; cursor: pointer; }
.event__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; }
.event__title { font-family: var(--bh-font); font-weight: 300; font-size: 24px; line-height: 1.06; margin: 0; background-image: var(--bh-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.event__meta { margin: 0; font-family: var(--bh-font); font-weight: 300; font-size: 13px; letter-spacing: 0.04em; color: var(--bh-gold); }
.event__desc { margin: 0; font-size: 13px; line-height: 1.55; color: var(--bh-text-soft); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.event__desc.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.event__more { align-self: flex-start; margin: -2px 0 2px; padding: 0; background: none; border: 0; cursor: pointer; font: inherit; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bh-gold); text-decoration: underline; text-underline-offset: 3px; }
.event__more[hidden] { display: none; }
.event__place { margin: 0; font-size: 12px; color: rgba(246,239,230,0.6); white-space: nowrap; }
.event__thumbs { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.event__thumbs a, .event__thumbs span { position: relative; width: 46px; height: 58px; border-radius: 2px; overflow: hidden; display: block; box-shadow: 0 0 0 1px rgba(180,143,87,0.45); background: rgba(180,143,87,0.08); }
.event__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; cursor: pointer; }
.event__thumbs .is-video img { opacity: 0.7; object-position: center; }
.event__thumbs .is-video::after { content: '▶'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 13px; color: var(--bh-gold); }

/* Carte d'événement passé — vignette + badge Terminé */
.event--past { position: relative; border-color: rgba(180,143,87,0.22); background: rgba(246,239,230,0.02); }
.event--past .event__cover { filter: grayscale(0.55) saturate(0.7) brightness(0.72); }
.event--past .event__title { font-size: 20px; }
.event--past .event__desc { -webkit-line-clamp: 3; }
.badge-done { position: absolute; top: 10px; left: 10px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(104,9,22,0.85); border: 1px solid rgba(180,143,87,0.5); color: rgba(246,239,230,0.85); }

/* Pastille collaborateur */
.collab { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(180,143,87,0.5); text-decoration: none; color: rgba(246,239,230,0.85); white-space: nowrap; }
.collab__platform { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bh-gold); }

/* Mat léopard autour d'une image (galerie) */
.plate { position: relative; display: block; border-radius: 3px; padding: 7px; background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center; box-shadow: 0 0 0 1px var(--bh-gold); text-decoration: none; transition: transform .25s ease; }
.plate:hover { transform: translateY(-5px); }
.plate__inner { position: relative; overflow: hidden; border-radius: 2px; background: var(--bh-bordeaux); }
.plate__inner img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; display: block; }
.plate__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--bh-gold); background: rgba(104,9,22,0.65); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--bh-gold); }
.plate__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; display: flex; flex-direction: column; gap: 3px; background: linear-gradient(180deg, rgba(104,9,22,0), rgba(104,9,22,0.92)); }
.plate__remove { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(180,143,87,0.6); background: rgba(104,9,22,0.85); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--bh-cream); cursor: pointer; }
.plate__remove:hover { border-color: var(--bh-danger); color: var(--bh-danger); }

/* ------------------------------------------------------ formulaires ----- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.input, select.input, textarea.input {
  background: var(--bh-bordeaux); color: var(--bh-cream);
  border: 1px solid rgba(180,143,87,0.5); border-radius: var(--bh-radius);
  padding: 11px 12px; font-size: 15px; font-family: var(--bh-font); font-weight: 300; width: 100%;
}
.input:focus-visible { outline: 2px solid var(--bh-gold); outline-offset: 2px; }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
textarea.input { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.span-2 { grid-column: 1 / -1; }

/* Select personnalisé (liste déroulante groupée) */
.select { position: relative; }
.select__trigger { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border: 1px solid rgba(180,143,87,0.5); border-radius: var(--bh-radius); text-decoration: none; color: var(--bh-cream); font-size: 15px; cursor: pointer; background: transparent; width: 100%; }
.select__trigger:hover { border-color: var(--bh-gold); }
.select__trigger span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__menu { position: absolute; left: 0; right: 0; top: 100%; margin-top: 6px; z-index: 10; background: var(--bh-bordeaux); border: 1px solid rgba(180,143,87,0.5); border-radius: var(--bh-radius); overflow: hidden; max-height: 340px; overflow-y: auto; box-shadow: 0 16px 40px rgba(0,0,0,0.45); display: none; }
.select.is-open .select__menu { display: block; }
.select__group { margin: 0; padding: 11px 14px 7px; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bh-text-mute); background: rgba(180,143,87,0.06); border-bottom: 1px solid rgba(180,143,87,0.18); }
.select__option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; text-decoration: none; font-size: 14px; color: var(--bh-cream); border-bottom: 1px solid rgba(180,143,87,0.18); cursor: pointer; }
.select__option:hover { background: rgba(180,143,87,0.14); color: var(--bh-cream); }
.select__option.is-selected { color: var(--bh-gold); background: rgba(180,143,87,0.1); }

.filebox { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bh-gold); cursor: pointer; padding: 11px 18px; border: 1px solid rgba(180,143,87,0.5); border-radius: var(--bh-radius); }
.filebox:hover { background: rgba(180,143,87,0.14); }
.filebox--block { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px dashed rgba(180,143,87,0.6); border-radius: var(--bh-radius); cursor: pointer; }
.filebox--block:hover { background: rgba(180,143,87,0.1); }

/* Étoiles cliquables (avis) */
.stars { display: flex; gap: 4px; }
.stars button { background: none; border: 0; font-size: 30px; line-height: 1; padding: 2px; cursor: pointer; color: rgba(180,143,87,0.28); transition: transform .15s ease; }
.stars button:hover { transform: scale(1.18); }
.stars button.is-on { color: var(--bh-gold); }

/* ---------------------------------------------------------- checkbox ---- */
.check { width: 22px; height: 22px; flex: none; border-radius: 3px; border: 1px solid rgba(180,143,87,0.5); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--bh-black); background: transparent; }
.check.is-on { background: var(--bh-gold); border-color: var(--bh-gold); }

/* --------------------------------------------------------- lightbox ----- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.94); backdrop-filter: blur(6px); display: none; flex-direction: column; }
.lightbox.is-open { display: flex; }
.lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 28px; border-bottom: 1px solid rgba(180,143,87,0.28); }
.lightbox__counter { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bh-gold); font-variant-numeric: tabular-nums; }
.lightbox__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(180,143,87,0.5); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--bh-cream); background: transparent; cursor: pointer; }
.lightbox__close:hover { background: rgba(180,143,87,0.16); color: var(--bh-gold); }
.lightbox__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(44px,88px) minmax(0,1fr) minmax(44px,88px); align-items: center; padding: 24px 20px; gap: 10px; }
.lightbox__nav { justify-self: center; width: 56px; height: 56px; flex: none; border-radius: 50%; border: 1px solid rgba(180,143,87,0.5); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--bh-cream); background: transparent; cursor: pointer; }
.lightbox__nav:hover { background: rgba(180,143,87,0.16); color: var(--bh-gold); }
.lightbox__stage { min-height: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.lightbox__frame-wrap { min-height: 0; border-radius: 4px; padding: 9px; background-image: url('../assets/leo-glitter.jpg'); background-size: cover; background-position: center; box-shadow: 0 0 0 1px var(--bh-gold), 0 24px 60px rgba(0,0,0,0.6); display: flex; }
.lightbox__media { display: block; max-height: 62vh; max-width: min(880px, 80vw); object-fit: contain; border-radius: 2px; background: var(--bh-bordeaux); }
.lightbox__frame { width: min(880px, 80vw); height: min(56vh, calc(min(880px, 80vw) * 0.5625)); aspect-ratio: 16/9; border: 0; border-radius: 2px; background: var(--bh-bordeaux); display: block; }
.lightbox__video { display: block; width: min(880px, 80vw); height: min(56vh, calc(min(880px, 80vw) * 0.5625)); aspect-ratio: 16/9; border-radius: 2px; background: #000; }
.lightbox.is-single .lightbox__nav { visibility: hidden; }
.lightbox.is-single .lightbox__thumbs { display: none; }
.lightbox__poster { position: relative; display: block; width: min(880px, 80vw); height: min(56vh, calc(min(880px, 80vw) * 0.5625)); border-radius: 2px; overflow: hidden; background: var(--bh-bordeaux); cursor: pointer; }
.lightbox__poster img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.62; }
.lightbox__poster-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox__poster-play span:first-child { width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--bh-gold); background: rgba(104,9,22,0.6); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--bh-gold); }
.lightbox__poster-play span:last-child { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bh-cream); }
.lightbox__info { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.lightbox__title { font-family: var(--bh-font); font-weight: 400; font-size: 28px; line-height: 1.1; margin: 0; color: var(--bh-cream); }
.lightbox__caption { margin: 0; font-size: 13px; letter-spacing: 0.06em; color: rgba(246,239,230,0.62); }
/* mobile : flèches de part et d'autre du titre, sous l'image */
@media (max-width: 700px) {
  .lightbox__body { grid-template-columns: 48px minmax(0,1fr) 48px; grid-template-rows: minmax(0,1fr) auto; align-items: center; padding: 16px 14px; gap: 14px 8px; }
  .lightbox__stage { display: contents; }
  .lightbox__frame-wrap { grid-column: 1 / -1; grid-row: 1; justify-self: center; align-self: center; max-width: 100%; }
  .lightbox__media { max-height: 54vh; max-width: calc(100vw - 46px); }
  .lightbox__frame, .lightbox__poster, .lightbox__video { width: calc(100vw - 46px); height: calc((100vw - 46px) * 0.5625); }
  .lightbox__info { grid-column: 2; grid-row: 2; }
  .lightbox__title { font-size: 22px; }
  .lightbox__nav { width: 48px; height: 48px; grid-row: 2; }
  .lightbox__nav[data-lb-prev] { grid-column: 1; }
  .lightbox__nav[data-lb-next] { grid-column: 3; }
}
.lightbox__thumbs { padding: 0 28px 22px; display: flex; gap: 10px; overflow-x: auto; justify-content: center; }
.lightbox__thumbs a { flex: none; display: block; border-radius: 3px; overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px rgba(180,143,87,0.3); opacity: 0.5; }
.lightbox__thumbs a.is-active { box-shadow: 0 0 0 1px var(--bh-gold); opacity: 1; }
.lightbox__thumbs img { width: 54px; height: 68px; object-fit: cover; object-position: top; display: block; background: var(--bh-bordeaux); }

/* ------------------------------------------------------- backoffice ----- */
.admin { padding-bottom: 70px; }
.admin__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--bh-line); padding-bottom: 22px; margin-bottom: 36px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat { border: 1px solid var(--bh-line-admin); border-radius: var(--bh-radius); padding: 20px 18px; background: var(--bh-surface); }
.stat__label { margin: 0 0 8px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bh-text-mute); }
.stat__value { font-family: var(--bh-font); font-size: 32px; line-height: 1; margin: 0; font-variant-numeric: tabular-nums; color: rgba(246,239,230,0.92); }

.gtable { overflow-x: auto; }
.gtable__row { display: grid; grid-template-columns: 44px minmax(150px,1.1fr) minmax(160px,1.2fr) 150px 150px; min-width: 700px; gap: 16px; padding: 16px 12px; border-bottom: 1px solid var(--bh-line); align-items: center; }
.gtable__head { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bh-text-mute); }
.gtable a.gtable__row { text-decoration: none; color: var(--bh-cream); transition: background .2s ease; }
.gtable a.gtable__row:hover { background: rgba(180,143,87,0.1); }

.avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--bh-font); font-size: 17px; color: var(--bh-gold); background: rgba(180,143,87,0.12); box-shadow: 0 0 0 1px rgba(180,143,87,0.5); }
.avatar--lg { width: 64px; height: 64px; font-size: 24px; }

.status { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.status--ok { color: var(--bh-ok); }
.status--warn { color: var(--bh-warn); }
.status--danger { color: var(--bh-danger); }
.status--muted { color: rgba(246,239,230,0.55); }
.status--pill { display: inline-flex; align-items: center; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(217,164,65,0.16); border: 1px solid rgba(217,164,65,0.55); }

.progress { height: 12px; border-radius: 999px; background: rgba(180,143,87,0.16); overflow: hidden; }
.progress > span { display: block; height: 100%; }

.danger-zone { border: 1px solid rgba(196,104,92,0.5); border-radius: var(--bh-radius); padding: 22px 24px; background: rgba(196,104,92,0.06); }

.preview-placeholder { width: 100%; height: 100%; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; background: rgba(180,143,87,0.08); }
.preview-placeholder__icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--bh-gold); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--bh-gold); }

/* ---------------------------------------------------------- footer ------ */
.site-footer { border-top: 1px solid rgba(180,143,87,0.35); margin-top: 20px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px; align-items: start; padding-top: 44px; padding-bottom: 30px; }
.site-footer__links { display: flex; flex-direction: column; gap: 12px; }
.site-footer__links a { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(180,143,87,0.5); text-decoration: none; color: var(--bh-gold); }
.social:hover { background: rgba(180,143,87,0.16); }
.site-footer__bar { border-top: 1px solid rgba(180,143,87,0.22); }
.site-footer__bar .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer__bar span, .site-footer__bar a { font-size: 11px; letter-spacing: 0.1em; color: rgba(246,239,230,0.45); text-decoration: none; }
.site-footer__bar a:hover { color: var(--bh-gold); }

/* ------------------------------------------------ états hover extraits -- */
.s1:hover { box-shadow:inset 0 0 0 200px rgba(104,9,22,0.18),0 0 0 1px #b48f57 !important; }
.s2:hover { border-color:#b48f57 !important; color:#b48f57 !important; }
.s3:hover { background:rgba(180,143,87,0.12) !important; }
.s4:hover { box-shadow:inset 0 0 0 400px rgba(104,9,22,0.55) !important; }
.s5:hover { background:#f6efe6 !important; }
.s6:hover { background:rgba(180,143,87,0.16) !important; }
.s7:hover { color:#b48f57 !important; }
.s8:hover { background:rgba(180,143,87,0.16) !important; color:#b48f57 !important; }
.s9:hover { border-color:#b48f57 !important; }
.s10:hover { background:rgba(180,143,87,0.1) !important; }
.s11:hover { transform:scale(1.18) !important; }
.s12:hover { transform:translateY(-5px) !important; }
.s13:hover { background:rgba(196,104,92,0.16) !important; }
.s14:hover { color:#d88175 !important; }
.s15:hover { border-color:#c4685c !important; color:#c4685c !important; }

/* ------------------------------------------------------- pages légales ------ */
.legal { max-width: 820px; padding: 56px 0 84px; }
.legal h2 { font-family: var(--bh-font); font-weight: 400; font-size: clamp(20px, 2.2vw, 26px); text-transform: uppercase; letter-spacing: 0.04em; color: var(--bh-gold); margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--bh-line); }
.legal h3 { font-weight: 500; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bh-cream); margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.8; color: rgba(246,239,230,0.85); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--bh-gold); }
.legal dl { display: grid; grid-template-columns: minmax(120px, 190px) minmax(0, 1fr); gap: 10px 24px; margin: 0 0 14px; }
.legal dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bh-gold); padding-top: 3px; }
.legal dd { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(246,239,230,0.88); }
.legal-todo { background: rgba(217,164,65,0.22); color: #F2D28B; padding: 1px 6px; border-radius: 3px; font-style: normal; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 8px; padding: 0; list-style: none; }
.legal-toc a { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* ----------------------------------------- étapes d'inscription ------ */
.steps-wrap { margin: 0 0 30px; }
.steps__count { margin: 0 0 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bh-gold); }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; list-style: none; margin: 0 0 0 -7px; padding: 0; } /* -7px : le rond du premier badge s'aligne sur le titre */
.steps__item { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 1px solid transparent; border-radius: 999px; color: rgba(246,239,230,0.45); }
.steps__num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(180,143,87,0.5); font-size: 14px; }
.steps__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.steps__item.is-current { color: var(--bh-cream); background: rgba(180,143,87,0.22); border-color: var(--bh-gold); }
.steps__item.is-current .steps__num { background: var(--bh-gold); border-color: var(--bh-gold); color: var(--bh-black); font-weight: 500; box-shadow: 0 0 0 4px rgba(180,143,87,0.3); }
.steps__item.is-current .steps__label { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; }
.steps__item.is-done { color: var(--bh-gold); }
.steps__item.is-done .steps__num { border-color: var(--bh-gold); }
.commit .link-sm { color: var(--bh-gold); }
/* Mobile : mêmes badges sur ordinateur, en colonne, avec en plus une ligne verticale et un point par étape
   (plein si l'étape est passée ou en cours, vide si elle est à venir) : une barre de progression. */
@media (max-width: 640px) {
  .steps { flex-direction: column; align-items: flex-start; gap: 10px; margin-left: 0; padding-left: 22px; } /* le point (à -22px) s'aligne sur le titre */
  .steps__item { position: relative; }
  .steps__item::before { content: ""; position: absolute; left: -22px; top: 50%; z-index: 1; box-sizing: border-box; width: 12px; height: 12px; margin-top: -6px; border: 2px solid var(--bh-gold); border-radius: 50%; background: transparent; }
  .steps__item.is-done::before, .steps__item.is-current::before { background: var(--bh-gold); }
  .steps__item.is-current::before { box-shadow: 0 0 0 4px rgba(180,143,87,0.3); }
  .steps__item:not(:last-child)::after { content: ""; position: absolute; left: -17px; top: 50%; width: 2px; height: calc(100% + 10px); background: rgba(180,143,87,0.28); }
  .steps__item.is-done:not(:last-child)::after { background: var(--bh-gold); }
}
/* Confirmation : les deux cartes (documents / paiement) sont côte à côte sur ordinateur (2 colonnes de 6/12) */
.confirm-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0 0 32px; }
.confirm-card { display: flex; gap: 16px; align-items: flex-start; border: 1px solid rgba(180,143,87,0.5); border-radius: 4px; padding: 28px 26px; background: rgba(180,143,87,0.06); }
@media (min-width: 900px) { .confirm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.7; color: rgba(246,239,230,0.88); margin: 0 0 10px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--bh-gold); }
.consent a { color: var(--bh-gold); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.commit { margin: 0; padding: 30px 0; border-top: 1px solid rgba(180,143,87,0.35); }
.commit:first-of-type { border-top: 0; padding-top: 4px; }
.commit__title { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-family: var(--bh-font); font-weight: 500; font-size: clamp(19px, 2.4vw, 23px); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.25; color: var(--bh-cream); }
.commit__num { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bh-gold); color: var(--bh-black); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.commit__star { color: var(--bh-gold); }
.commit ul { margin: 0 0 16px; padding-left: 22px; }
/* Pleine largeur comme les autres étapes ; le texte garde une largeur de lecture confortable */
.commit > ul, .commit__text, .commit__sub, .consent { max-width: 920px; }
.commit li { margin: 0 0 8px; font-size: 15px; line-height: 1.7; color: rgba(246,239,230,0.88); }
.commit li::marker { color: var(--bh-gold); }
.commit li a, .commit__text a:not(.link-sm) { color: var(--bh-gold); }
.commit__sub { margin: 4px 0 12px; font-size: 14px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bh-cream); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.commit__text { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: rgba(246,239,230,0.88); }
.commit__error { display: block; margin-top: 6px; font-size: 13px; color: var(--bh-danger); }

/* ------------------------------------------ vue d'ensemble (backoffice) ------ */
.overview__title { font-family: var(--bh-font); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 18px; }
.overview__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.overview__course { font-family: var(--bh-font); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0; }
.overview__count { flex: none; text-align: right; font-family: var(--bh-font); }
.overview__count strong { font-size: 40px; font-weight: 400; line-height: 1; color: var(--bh-cream); font-variant-numeric: tabular-nums; }
.overview__count span { font-size: 18px; color: rgba(246,239,230,0.6); }
/* Barre de progression : validées en vert, brouillons (à confirmer) en gris */
.capacity { display: flex; height: 16px; border-radius: 999px; background: rgba(246,239,230,0.1); overflow: hidden; }
.capacity__valid { background: var(--bh-ok); height: 100%; transition: width .3s ease; }
.capacity__draft { background: var(--bh-gold); height: 100%; transition: width .3s ease; }
.capacity__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 10px 0 4px; font-size: 13px; }
.capacity__key { display: inline-flex; align-items: center; gap: 8px; color: rgba(246,239,230,0.85); }
.capacity__key::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(246,239,230,0.45); }
.capacity__key--valid::before { background: var(--bh-ok); }
.capacity__key--draft::before { background: var(--bh-gold); }
.participants { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--bh-line-admin); }
.participants__title { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bh-gold); }
.participants__list { list-style: none; margin: 0; padding: 0; }
.participants__item { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 118px; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(180,143,87,0.15); font-size: 15px; }
.participants__item:last-child { border-bottom: 0; }
.participants__item.is-draft { background: var(--bh-gold); color: var(--bh-black); padding-left: 10px; padding-right: 10px; border-radius: 4px; border-bottom-color: transparent; }
.participants__item.is-draft .participants__name, .participants__item.is-draft .participants__plan { color: var(--bh-black); }
.participants__item.is-draft .status { background: rgba(0,0,0,0.12); color: var(--bh-black); border-color: rgba(0,0,0,0.35); }
.participants__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--bh-cream); text-decoration: none; font-weight: 500; }
.participants__name:hover { color: var(--bh-gold); text-decoration: underline; }
.participants__plan { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.participants__badges { display: flex; gap: 8px; justify-content: flex-end; white-space: nowrap; }
@media (max-width: 640px) {
  .overview__head { flex-direction: column; gap: 10px; }
  .overview__count { text-align: left; }
  .participants__item { grid-template-columns: minmax(0, 1fr) 118px; }
  .participants__plan { grid-column: 1; }
  .participants__badges { grid-column: 2; grid-row: 1 / span 2; }
}

/* décompte des cours (fiche élève) */
.attendance-list { list-style: none; margin: 12px 0 0; padding: 0; }
.attendance-list li { display: flex; justify-content: flex-start; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid rgba(180,143,87,0.15); font-size: 14px; }
.attendance-list li > form { margin: 0 0 0 auto; flex: none; }
.attendance-date { flex: none; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(180,143,87,0.45); background: rgba(180,143,87,0.1); color: var(--bh-gold); font-size: 12px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.attendance-label { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attendance-undo { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(180,143,87,0.3); background: none; color: rgba(246,239,230,0.6); cursor: pointer; font-size: 11px; }
.attendance-undo:hover { color: var(--bh-danger); border-color: var(--bh-danger); }
.participants__left { font-variant-numeric: tabular-nums; white-space: nowrap; }
.participants__minus { display: inline; margin: 0; }
.participants__minus button { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--bh-gold); background: none; color: var(--bh-gold); cursor: pointer; font-size: 12px; letter-spacing: 0.06em; }
.participants__minus button:hover:not(:disabled) { background: var(--bh-gold); color: var(--bh-black); }
.participants__minus button:disabled { opacity: 0.35; cursor: not-allowed; }

/* codes promo (backoffice) */
.promo-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.promo-form__action { display: flex; align-items: flex-end; }
.promo__history { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--bh-line-admin); }
.promo__history li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) auto auto; gap: 12px; align-items: center; padding: 6px 0; font-size: 14px; }
.promo__history a { color: var(--bh-cream); font-weight: 500; text-decoration: none; }
.promo__history a:hover { color: var(--bh-gold); text-decoration: underline; }
.promo__discount { color: var(--bh-ok); font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .promo-form { grid-template-columns: 1fr; } .promo__history li { grid-template-columns: 1fr auto; } .promo__history li > :nth-child(2) { grid-column: 1 / -1; order: 3; } }

/* code promo (formulaire d'inscription) */
.promo-feedback { margin: 8px 0 0; padding: 8px 12px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.promo-feedback.is-ok { background: rgba(123,168,107,0.14); border: 1px solid rgba(123,168,107,0.6); color: #cfe6c4; }
.promo-feedback.is-error { background: rgba(196,104,92,0.14); border: 1px solid rgba(196,104,92,0.6); color: #f0c2bc; }
.promo-summary { margin-top: 10px; padding: 12px 14px; border: 1px solid rgba(180,143,87,0.4); border-radius: 4px; background: rgba(180,143,87,0.07); }
.promo-summary__line { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 4px; font-size: 14px; color: rgba(246,239,230,0.85); }
.promo-summary__line--discount { color: #cfe6c4; }
.promo-summary__line--total { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid rgba(180,143,87,0.3); font-size: 18px; color: var(--bh-gold); }
.promo-summary__line--total strong { font-weight: 500; }
[data-promo].is-applied [data-promo-price] { text-decoration: line-through; opacity: .65; }

/* menu admin : 5 pages + déconnexion tiennent sur une seule ligne */
.site-header--admin .nav { gap: 10px 16px; flex-wrap: nowrap; }
.site-header--admin .nav a:not(.btn) { white-space: nowrap; }
.site-header--admin .site-header__inner { gap: 10px 16px; flex-wrap: nowrap; }

/* vue d'ensemble : 2 colonnes (col-6) sur ordinateur */
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: stretch; }
@media (min-width: 992px) { .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.overview-grid > p { grid-column: 1 / -1; margin: 0; }

/* fiche élève : chaque formule se distingue par une bordure dorée et une ombre */
.plan-card { overflow: hidden; border: 1px solid var(--bh-gold); border-radius: 6px; padding: 20px 18px; background: rgba(180,143,87,0.04); box-shadow: 0 6px 18px rgba(0,0,0,0.35), 0 0 0 1px rgba(180,143,87,0.12); }

/* vue d'ensemble : les 3 cours réguliers en 3 colonnes (col-4), comme sur le site */
@media (min-width: 1100px) { .overview-grid--courses { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.participants--empty { margin-bottom: 0; }

/* dashboard : élèves avec cours à l'unité / carte de 10 */
.flex-plans__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto; align-items: center; gap: 12px 18px; padding: 10px 0; border-bottom: 1px solid rgba(180,143,87,0.15); font-size: 15px; }
.flex-plans__row:last-child { border-bottom: 0; }
.flex-plans__minus { display: flex; gap: 8px; align-items: center; margin: 0; }
.flex-plans__minus .input { padding: 6px 10px; font-size: 13px; }

/* dashboard : toute la ligne d'une élève est cliquable (lien étiré depuis le nom) avec un léger survol */
.participants__item, .flex-plans__row { position: relative; transition: background .15s ease; }
.participants__name::after, .flex-plans__row > .participants__name::after { content: ""; position: absolute; inset: 0; }
.participants__item:not(.is-draft):hover, .flex-plans__row:hover { background: rgba(180,143,87,0.12); }
.participants__item.is-draft:hover { background: var(--bh-cream); }
.participants__item:hover .participants__name, .flex-plans__row:hover .participants__name { text-decoration: underline; }
.participants__item, .flex-plans__row { cursor: pointer; }
.flex-plans__row { margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 4px; }
.flex-plans__minus { position: relative; z-index: 1; cursor: default; }

/* dashboard : cours à l'unité / cartes de 10 sur 2 colonnes (col-6). Chaque élève : une ligne cliquable
   (nom | formule | cours restants) vers sa fiche, puis le select + bouton de décompte à la ligne (non cliquable). */
.flex-plans { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 36px; }
@media (min-width: 992px) {
  .flex-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); position: relative; }
  /* séparateur vertical au milieu de l'écart entre les deux colonnes (seulement s'il y a une 2e colonne) */
  .flex-plans:has(.flex-plans__row:nth-child(2))::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 50%; width: 1px; background: rgba(180,143,87,0.3); pointer-events: none; }
}
.flex-plans > p { grid-column: 1 / -1; }
.flex-plans .flex-plans__row { display: block; margin: 0; padding: 0; border-bottom: 1px solid rgba(180,143,87,0.15); cursor: default; }
.flex-plans .flex-plans__row:hover { background: none; }
.flex-plans__main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 4px; color: inherit; text-decoration: none; font-size: 15px; transition: background .15s ease; }
.flex-plans__main:hover { background: rgba(180,143,87,0.12); }
.flex-plans__main:hover .participants__name { color: var(--bh-gold); text-decoration: underline; }
.flex-plans__row .participants__name::after { content: none; }
.flex-plans__main .participants__left { text-align: right; }
.flex-plans__minus { display: flex; gap: 8px; align-items: center; margin: 0; padding: 2px 8px 12px; position: static; z-index: auto; }
.flex-plans__minus .input { flex: 1; min-width: 0; padding: 6px 10px; font-size: 13px; }
.flex-plans__minus .btn { white-space: nowrap; }

.alert-error { margin-bottom: 20px; padding: 14px 18px; border-radius: 4px; background: rgba(196,104,92,0.14); border: 1px solid rgba(196,104,92,0.6); color: #f0c2bc; }
/* suivi des paiements : séparateur entre deux formules d'un même élève */
.tracking-plan + .tracking-plan { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(180,143,87,0.3); }

/* dashboard : affiche du cours en petit. Ordinateur : l'affiche occupe la colonne de gauche à côté de l'en-tête,
   de la barre et de la légende. Mobile : l'affiche est à côté de l'en-tête, la barre et la légende passent dessous. */
.overview__top { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; align-items: start; min-height: 132px; }
.overview__top--no-thumb { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.overview__thumb { grid-column: 1; grid-row: 1 / span 3; width: 96px; height: 132px; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 0 0 1px var(--bh-gold); background: rgba(180,143,87,0.1); }
.overview__top > .overview__head, .overview__top > .capacity, .overview__top > .capacity__legend { grid-column: 2; min-width: 0; }
.overview__top--no-thumb > .overview__head, .overview__top--no-thumb > .capacity, .overview__top--no-thumb > .capacity__legend { grid-column: 1; }
@media (max-width: 640px) {
  .overview__top { min-height: 0; }
  .overview__thumb { grid-row: 1; }
  .overview__top > .overview__head { grid-row: 1; margin-bottom: 14px; }
  .overview__top > .capacity, .overview__top > .capacity__legend { grid-column: 1 / -1; }
}

/* titre et lieu du cours sur une seule ligne (tronqués) : toutes les cartes ont la même hauteur d'en-tête */
.overview__course--truncate, .overview__place { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* vignette sans image : même repère visuel que l'aperçu d'événement (icône talon dans un cercle doré) */
.overview__thumb--placeholder { display: flex; align-items: center; justify-content: center; background: rgba(180,143,87,0.08); }
.overview__thumb--placeholder .preview-placeholder__icon { width: 44px; height: 44px; }

/* accueil : placeholder quand il n'y a aucun rendez-vous à venir */
.empty-events { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 24px; text-align: center; border: 1px dashed rgba(180,143,87,0.5); border-radius: 4px; background: rgba(180,143,87,0.06); }
.empty-events__title { margin: 6px 0 0; font-family: var(--bh-font); font-size: 24px; text-transform: uppercase; letter-spacing: 0.05em; }
.empty-events__text { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.7; color: rgba(246,239,230,0.78); }
.empty-events__text a { color: var(--bh-gold); }

/* fiche élève : bandeau doré en tête de chaque formule (repère quand il y en a plusieurs) */
.plan-card__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: -20px -18px 18px; padding: 14px 18px; background: var(--bh-gold); color: #2a0a10; }
.plan-card__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.plan-card__label { font-family: var(--bh-font); font-size: 20px; line-height: 1.15; color: #2a0a10; }
.plan-card__head .status { background: rgba(42,10,16,0.14); border-color: rgba(42,10,16,0.45); color: #2a0a10; }
.plan-card__remove { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(42,10,16,0.5); background: none; cursor: pointer; color: #2a0a10; font-size: 12px; flex: none; }
.plan-card__remove:hover { background: #2a0a10; color: var(--bh-gold); }
.plan-card__lock { font-size: 15px; flex: none; }

/* Liste de suggestions Google (Places) : au-dessus des cartes et du menu */
.pac-container { z-index: 10000; font-family: inherit; }

/* Recherche d'une élève (backoffice) */
.student-search { margin-bottom: 22px; }
.student-search__box { position: relative; max-width: 460px; }
.student-search__list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; max-height: 300px; overflow-y: auto; background: var(--bh-black, #120406); border: 1px solid var(--bh-gold); border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.student-search__list[hidden] { display: none; }
.student-search__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; font-size: 15px; cursor: pointer; border-radius: 3px; color: rgba(246,239,230,0.92); }
.student-search__list li small { font-size: 12px; color: rgba(246,239,230,0.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.student-search__list li:hover, .student-search__list li.is-active { background: rgba(180,143,87,0.22); }
.student-search__empty { padding: 10px 12px; font-size: 13px; color: rgba(246,239,230,0.6); cursor: default; }
.student-search__current { margin: 10px 0 0; font-size: 14px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }

.student-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

/* Cartes des villes (accueil et /cours-heels) : petites sur ordinateur, pleine largeur sur mobile, image peu haute */
/* ordinateur : même grille que les 4 cartes « Mon parcours / Cours & stages / Pass annuel / Galerie » (4 colonnes, même largeur) */
.city-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 899px) { .city-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.city-card { padding: 0; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.city-card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center bottom; }
.city-card__body { padding: 16px 18px 18px; }
@media (max-width: 640px) { .city-cards { grid-template-columns: 1fr; } .city-card__img { aspect-ratio: 3 / 2; } }

/* Carte d'événement sur mobile : l'image passe au-dessus du texte, en pleine largeur et au même format 4:5 que les affiches des cours réguliers */
@media (max-width: 640px) {
  .event { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .event__cover { height: auto; aspect-ratio: 4 / 5; }
}

/* ---- Corrections responsive (parcours de toutes les pages à 320, 360, 390, 768 et 1024 px) ---- */
/* Boutons : sur petit écran, le texte passe à la ligne au lieu de dépasser de l'écran */
@media (max-width: 480px) { .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; } }

/* Dashboard : le titre et le lieu d'un cours (tronqués sur une ligne) ne doivent jamais dépasser de leur carte */
.overview__head, .overview__head > * { min-width: 0; }
.overview__head > div, .overview__head > a { max-width: 100%; }

/* Menu admin : sept entrées sur une ligne ne tiennent pas sous 1140 px, on passe au menu burger plus tôt */
@media (max-width: 1139px) {
  .site-header--admin .burger { display: flex; }
  .site-header--admin .nav { display: none; }
}

/* Liste des élèves : sous 900 px, une carte par élève (avatar, nom, e-mail, téléphone, formules) au lieu d'un tableau qui déborde */
@media (max-width: 899px) {
  .gtable { overflow-x: visible; }
  .gtable > div.gtable__row { display: none; }
  .gtable__row { grid-template-columns: 44px minmax(0, 1fr); min-width: 0; row-gap: 4px; align-items: start; }
  .gtable__row > :nth-child(1) { grid-column: 1; grid-row: 1 / span 4; }
  .gtable__row > :nth-child(n+2) { grid-column: 2; min-width: 0; }
}
/* Dashboard sur mobile : le titre et le lieu d'un cours passent à la ligne (visibles en entier) au lieu d'être tronqués */
@media (max-width: 640px) { .overview__course--truncate, .overview__place { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; } }

/* Dashboard, « Décompter 1 cours » : quand la carte est étroite (mobile, ou deux colonnes sous 1300 px), le select, la date et le bouton
   passent les uns sous les autres, chacun sur sa ligne et à pleine largeur */
.flex-plans .flex-plans__row { container-type: inline-size; container-name: flexrow; }
@container flexrow (max-width: 560px) {
  .flex-plans__minus { flex-direction: column; align-items: stretch; gap: 8px; }
  .flex-plans__minus .input { flex: none; width: 100% !important; min-width: 0 !important; }
  .flex-plans__minus .btn { width: 100%; justify-content: center; white-space: normal !important; }
}

/* Fiche élève, « Décompter 1 cours » : sur mobile, le select, la date et le bouton passent les uns sous les autres, à pleine largeur */
@media (max-width: 640px) {
  .decount-form { flex-direction: column; align-items: stretch !important; }
  .decount-form > * { flex: none !important; width: 100% !important; min-width: 0 !important; }
  .decount-form .btn { justify-content: center; white-space: normal !important; }
}


/* --- Pagination (15 par page) ------------------------------------------- */
.pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 38px 0 0; }
.pager__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pager__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 14px; box-sizing: border-box; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border-radius: 999px; border: 1px solid rgba(180,143,87,0.5); color: var(--bh-cream); background: transparent; transition: background .15s, color .15s, border-color .15s; }
a.pager__btn:hover { border-color: var(--bh-gold-hover); color: var(--bh-gold-hover); }
.pager__btn.is-on { background: var(--bh-gold); border-color: var(--bh-gold); color: var(--bh-bordeaux); }
.pager__btn.is-disabled { opacity: 0.35; cursor: default; }
.pager__gap { color: rgba(246,239,230,0.5); padding: 0 4px; }
.pager__info { margin: 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,239,230,0.55); }
@media (max-width: 560px) { .pager__btn--arrow { padding: 0 12px; } .pager__btn { height: 38px; } }

/* --- Logs (page développeur) : tableau neutre, indépendant de la charte du site ------------------------- */
.logs { --lg-bg: #181b21; --lg-bg-2: #1f232b; --lg-line: #2c313b; --lg-text: #e6e9ef; --lg-mute: #8d96a5; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.logs__note { margin: 0 0 16px; font-size: 13px; color: rgba(246, 239, 230, 0.7); }
.logs__dates { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 12px; font-size: 13px; color: var(--lg-text); }
.logs__dates label { display: inline-flex; align-items: center; gap: 8px; }
.logs__dates input[type=date] { font: inherit; color: var(--lg-text); background: var(--lg-bg); border: 1px solid var(--lg-line); border-radius: 6px; padding: 6px 10px; color-scheme: dark; }
.logs__dates input[type=date]:focus { outline: none; border-color: #6d86b8; }
.logs__dates button { font: inherit; font-weight: 600; color: var(--lg-bg); background: var(--lg-text); border: 0; border-radius: 6px; padding: 7px 14px; cursor: pointer; }
.logs__dates button:hover { background: #fff; }
.logs__dates a { color: var(--lg-text); opacity: 0.75; text-decoration: underline; text-underline-offset: 3px; }
.logs__filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.logs__filters a { font-size: 13px; padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--lg-text); background: rgba(24, 27, 33, 0.55); border: 1px solid transparent; }
.logs__filters a:hover { border-color: #4a5160; }
.logs__filters a.is-on { background: var(--lg-text); color: var(--lg-bg); font-weight: 600; }
.logs__card { background: var(--lg-bg); border: 1px solid var(--lg-line); border-radius: 10px; overflow: hidden; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.logs__scroll { overflow-x: auto; }
.logs__table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--lg-text); min-width: 680px; }
.logs__table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lg-mute); background: var(--lg-bg-2); padding: 10px 16px; border-bottom: 1px solid var(--lg-line); }
.logs__table td { padding: 11px 16px; border-bottom: 1px solid var(--lg-line); vertical-align: top; }
.logs__table tbody tr:last-child td { border-bottom: 0; }
.logs__table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.logs__time { color: var(--lg-mute); white-space: nowrap; font-variant-numeric: tabular-nums; }
.logs__time small { display: block; font-size: 12px; }
.logs__actor { white-space: nowrap; }
.logs__what a { color: #8fb8ff; text-decoration: none; }
.logs__what a:hover { text-decoration: underline; }
.logs__type { display: inline-block; font-size: 11px; color: var(--lg-mute); background: var(--lg-bg-2); border: 1px solid var(--lg-line); border-radius: 4px; padding: 1px 6px; margin-right: 8px; vertical-align: 1px; }
.logs__fields { display: block; margin-top: 3px; font-size: 12px; color: var(--lg-mute); }
.logs__badge { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.logs__badge--created { color: #5fd3a0; background: rgba(63, 178, 127, 0.16); }
.logs__badge--updated { color: #7db1ff; background: rgba(91, 155, 240, 0.16); }
.logs__badge--deleted { color: #ff8d8d; background: rgba(239, 107, 107, 0.16); }
.logs__badge--login { color: #b4bccb; background: rgba(154, 164, 178, 0.16); }
.logs__badge--login_failed { color: #ffb765; background: rgba(240, 162, 75, 0.16); }
.logs__empty { margin: 0; padding: 22px 16px; color: var(--lg-mute); }
