/* =============================================
   LAURENCE PORTEIL — SITE COMÉDIENNE (marque blanche Lykhubs)
   Thème « sombre élégant » cinéma/théâtre · accent rouge charte Lykhubs
   Rouge #e40046 · Fond #101010 · Surface cartes #171717 · Titres à empattement
   ============================================= */

:root {
  --red:    #e40046;   /* rouge charte Lykhubs (accent) */
  --black:  #101010;   /* fond de page (noir profond, salle obscure) */
  --dark:   #0b0b0b;   /* surfaces sombres (footer, partenaires) */
  --grey:   #171717;   /* cartes */
  --mid:    #262626;
  --light:  #8a8a8a;
  --white:  #ffffff;
  --font:   'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-title: 'Playfair Display', 'Georgia', 'Times New Roman', serif; /* titres cinéma/théâtre */
  /* Barre de menu (2e ligne header) — surchargeables par client via l'admin */
  --menu-bg:     #1b1b1b;
  --menu-text:   rgba(255,255,255,.7);
  --menu-hover:  #ffffff;
  --menu-border: var(--red);
  --menu-border-top: rgba(255,255,255,.06);
}

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

/* Réserve toujours la gouttière de la scrollbar : sinon le contenu centré se
   décale d'~15px entre une page courte (sans scrollbar) et une page longue
   (avec scrollbar), ex. connexion.html vs inscription.html. Générique = corrige
   TOUTES les pages du template d'un coup. */
html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #161616;          /* ligne 1 (pleine largeur) */
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: auto;
}
.site-header .header-inner { height: 92px; }
/* Ligne 1 : la recherche au centre prend l'espace dispo entre logo et actions */
.site-header .header-inner .wl-search { flex: 1; max-width: 560px; margin: 0 auto; }
/* 2e ligne : navigation (menu de gauche, style Allociné) — fond légèrement plus
   sombre, pleine largeur, pour séparer de la 1re ligne. */
.site-header .header-navrow {
  background: var(--menu-bg);
  border-top: 1px solid var(--menu-border-top);
  border-bottom: 1px solid var(--menu-border);   /* liseré (défaut = accent) */
}
.site-header .header-navrow .header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Décalage du contenu des pages internes sous le header 2 lignes (fixed).
   Header ≈ 92 (ligne 1) + 49 (nav) = ~141px → on force 158px. */
.pub-wrap, .com-wrap { padding-top: 180px !important; }
@media (max-width: 960px) {
  /* header mobile = 64px (nav 2e ligne masquée) + respiration */
  .pub-wrap, .com-wrap { padding-top: 84px !important; }
}
/* Pages d'authentification (connexion / inscription / mot de passe) : header minimal
   sticky, pas de header fixe → la carte se place juste dessous (padding géré en page). */
.auth-wrap { padding-top: 48px !important; }
@media (max-width: 960px) {
  .auth-wrap { padding-top: 28px !important; }
}
/* Pages « contenu » et « recherche » (chrome portfolio _lp_header) : header
   sticky ~55px, pas fixed. Le padding-top est géré en page (32px), pas besoin du
   décalage 180px hérité de l'ancien header 2-lignes EICAR. */
.ct-wrap, .srch-wrap { padding-top: 32px !important; }
@media (max-width: 960px) {
  .ct-wrap, .srch-wrap { padding-top: 20px !important; }
}

.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo EICAR+ */
.header-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}
.logo-name {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
  text-transform: uppercase;
}
.logo-name span { color: var(--red); }
.logo-name .logo-plus {
  color: var(--red);
  font-weight: 900;
  margin-left: 4px;
}
.logo-tagline {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--light);
  line-height: 1.2;
  max-width: 120px;
}

/* Nav */
.nav-publier { display: none; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--menu-text);
  padding: 6px 14px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--menu-hover);
  background: rgba(255,255,255,.07);
}
.header-nav a.active { color: var(--red); }

/* Search */
.header-search {
  flex: 1;
  max-width: 340px;
  margin-left: auto;
  position: relative;
}
.header-search input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1.5px solid transparent;
  border-radius: 6px;
  padding: 8px 40px 8px 16px;
  color: var(--white);
  font-size: 13px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.header-search input::placeholder { color: rgba(255,255,255,.35); }
.header-search input:focus {
  border-color: var(--red);
  background: rgba(255,255,255,.09);
}
.header-search .search-icon {
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
  pointer-events: none;
}

/* Right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
/* Bouton messagerie (icône seule) — header sombre */
.wl-msg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border-radius: 9px;
  color: rgba(255,255,255,.85);
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.wl-msg-btn:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.wl-msg-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--red, #e40046);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
/* Bouton cloche notifications (composant WL partagé) — header sombre */
.lkh-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border-radius: 9px;
  color: rgba(255,255,255,.85);
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
  font-size: 16px;
}
.lkh-action-btn:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.lkh-action-btn .lkh-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--red, #e40046);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
/* CTA upload — rectangulaire, inversion au survol (charte) */
.btn-upload {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 4px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-upload:hover { background: #fff; color: var(--red); border-color: var(--red); }

.btn-notif {
  position: relative;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: background .2s;
}
.btn-notif:hover { background: rgba(255,255,255,.12); }
.notif-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  background: var(--red);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.btn-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--mid);
  border: 2px solid var(--red);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}
.btn-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Hamburger (mobile) */
.btn-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.btn-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

/* =============================================
   HERO / HALO
   ============================================= */
.hero {
  position: relative;
  height: 560px;                /* hauteur de bannière */
  margin-top: 113px;            /* header 2 lignes (64px + 48px + 1px liseré) : hero collé sous la nav */
  display: flex;
  align-items: center;          /* contenu centré verticalement (respire en haut et en bas) */
  padding: 40px 0;
  overflow: hidden;
}
@media (max-width: 960px) {
  /* En mobile la 2e ligne de nav est masquée → header = 64px (ligne 1 seule) */
  .hero { margin-top: 64px; height: 440px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;   /* garde le haut de l'image visible (ne coupe jamais par le haut) */
  opacity: .85;
}
/* Gradient overlay — assez léger pour laisser voir l'image, assez sombre pour la lisibilité du texte à gauche */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(27,27,27,.92) 0%, rgba(27,27,27,.55) 45%, rgba(27,27,27,.1) 100%),
    linear-gradient(to top, rgba(27,27,27,.95) 0%, transparent 55%);
}

/* Red accent halo */
.hero-halo {
  position: absolute;
  bottom: -200px; left: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(210,17,46,.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(210,17,46,.15);
  border: 1px solid rgba(210,17,46,.35);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 700px;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--red); }

.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.65);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}
/* Mobile : description du hero limitée à 2 lignes */
@media (max-width: 640px) {
  .hero-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 24px;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* CTA primaire — rectangulaire, inversion au survol (charte) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  border: 1.5px solid var(--red);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  letter-spacing: .02em;
}
.btn-primary:hover { background: #fff; color: var(--red); border-color: var(--red); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
}
.hero-stat-value span { color: var(--red); }
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section {
  padding: 72px 0;
}
.section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.section-title-group {}
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.section-title .dot { color: var(--red); }

.section-link {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: color .2s;
}
.section-link:hover { color: var(--red); }
.section-link svg { transition: transform .2s; }
.section-link:hover svg { transform: translateX(3px); }

/* Divider */
.section + .section { border-top: 1px solid rgba(255,255,255,.04); }

/* =============================================
   GRID CARDS
   ============================================= */

/* --- Nouveautés : grille principale ---- */
.grid-news {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* --- Vidéos à la une : hero + side ---- */
.grid-video {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
}
.video-main {}
.video-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Audio : liste horizontale ---- */
.grid-audio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* --- À découvrir : 2+2 ---- */
.grid-discover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* =============================================
   CARD BASE
   ============================================= */
.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--grey);
  transition: transform .25s, box-shadow .25s;
}
.card-cover-link { display: block; position: relative; color: inherit; text-decoration: none; }
.card-like-badge { position: absolute; bottom: 8px; right: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 4px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 8px; border-radius: 100px; backdrop-filter: blur(2px); pointer-events: none; }
.card-menu-btn { position: absolute; top: 8px; right: 8px; z-index: 4; width: 30px; height: 30px; border: none; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; opacity: 0; transition: opacity .15s, background .15s; backdrop-filter: blur(2px); }
.card:hover .card-menu-btn, .card-menu-btn:focus { opacity: 1; }
.card-menu-btn:hover { background: rgba(0,0,0,.8); }
@media (hover: none) { .card-menu-btn { opacity: 1; } }
.card-like-badge i { color: var(--red, #e40046); font-size: 10px; }
.card-cover-link .card-overlay { pointer-events: none; }
.card-body .card-title { color: inherit; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .card-title:hover { color: var(--red); }
.card-meta a.card-author-ic { color: rgba(255,255,255,.4); text-decoration: none; }
.card-meta a.card-author-ic:hover { color: var(--red); }
a.card-team { text-decoration: none; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.card:hover .card-overlay { opacity: 1; }
.card:hover .card-img > img:not(.card-img-bg) { transform: scale(1.05); }

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--mid);
  position: relative;
}
.card-img.portrait { aspect-ratio: 3/4; }
.card-img.square   { aspect-ratio: 1/1; }
.card-img > img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

/* Photo : image entière (contain) sur fond flouté de la même image */
.card-img-photo { background: #000; }
.card-img-photo .card-img-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(.7);
  transform: scale(1.15);
  transition: none;
}
.card-img-photo .card-img-fg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.card:hover .card-img-photo .card-img-fg { transform: scale(1.05); }

/* Play overlay */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.play-btn {
  width: 54px; height: 54px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(210,17,46,.5);
  transition: transform .2s;
}
.card:hover .play-btn { transform: scale(1.1); }
.play-btn svg { margin-left: 3px; }

/* Overlay photo : loupe/agrandir (pas de play) */
.card-overlay-photo { background: rgba(0,0,0,.32); }
.zoom-btn {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.14);
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
  transition: transform .2s, background .2s;
}
.card:hover .zoom-btn { transform: scale(1.08); background: rgba(255,255,255,.22); }

/* ===== Section « À voir » : affiches de film (grille portrait) ===== */
.grid-poster {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .grid-poster { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .grid-poster { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (max-width: 460px)  { .grid-poster { grid-template-columns: repeat(2, 1fr); } }

.card-poster {
  display: block;
  text-decoration: none;
  color: inherit;
}
.poster-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--mid);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.poster-img img { transition: transform .4s ease; }
/* Affiche entière (contain) sur fond flouté de la même affiche → aucun rognage */
.poster-img .poster-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: blur(16px) brightness(.6);
  transform: scale(1.15);
  transition: none;
}
.poster-img .poster-fg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}
.card-poster:hover .poster-img .poster-fg { transform: scale(1.04); }
.poster-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; opacity: .5;
}
.poster-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .25s;
}
.card-poster:hover .poster-overlay { opacity: 1; }
.poster-overlay .play-btn { width: 44px; height: 44px; }
.poster-body { padding: 10px 2px 0; }
.poster-title {
  font-size: 13.5px; font-weight: 600; color: #fff;
  line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.poster-meta {
  margin-top: 4px;
  font-size: 11.5px; color: var(--muted);
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.poster-type { color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 10px; }
.poster-sep { opacity: .6; }

/* Cards vides (placeholder) pour combler la ligne tant qu'il manque du contenu */
.poster-ghost { pointer-events: none; }
.poster-img--ghost {
  border: 2px dashed rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  display: flex; align-items: center; justify-content: center;
}
.poster-ghost-icon { font-size: 30px; opacity: .14; filter: grayscale(1); }
.poster-ghost-line {
  height: 11px; width: 60%; border-radius: 4px;
  background: rgba(255,255,255,.06); margin-top: 2px;
}
/* Thème clair : ghosts adaptés au fond blanc (section « À voir ») */
body.pf-light .poster-img--ghost { border-color: #e2e6ea; background: #f5f7f9; }
body.pf-light .poster-ghost-icon { opacity: .25; }
body.pf-light .poster-ghost-line { background: #e7ebef; }

/* ===== Section « Profils » : cartes membres mis en avant ===== */
.grid-profile {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) { .grid-profile { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .grid-profile { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 420px) { .grid-profile { grid-template-columns: 1fr; } }

.card-profile {
  position: relative;
  background: var(--grey);
  border-radius: 16px;
  padding: 0 20px 22px;
  text-align: center;
  overflow: hidden;
}
.cp-cover {
  height: 90px;
  margin: 0 -20px 0;
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.cp-link { display: block; margin-top: -42px; }
.cp-avatar {
  width: 84px; height: 84px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mid);
  border: 4px solid var(--grey);
  display: flex; align-items: center; justify-content: center;
}
.cp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cp-av-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; color: rgba(255,255,255,.5);
}
.cp-body { margin-top: 14px; }
.cp-name {
  display: block;
  font-size: 17px; font-weight: 700; color: #fff;
  text-decoration: none;
  line-height: 1.25;
}
.cp-name:hover { color: #fff; text-decoration: underline; }
.cp-pubs {
  margin-top: 6px; margin-bottom: 12px;
  font-size: 12.5px; font-weight: 700; color: var(--red);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.cp-pubs svg { opacity: .85; }
.cp-role {
  margin-top: 6px;
  font-size: 13px; font-weight: 600; color: var(--red);
  display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.cp-role .cp-sep { color: rgba(255,255,255,.3); }
.cp-role .cp-status { color: var(--red); }
.cp-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 13.5px; font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.cp-btn:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.25); color: #fff; }

/* Card body */
.card-body {
  padding: 14px 16px 16px;
}
.card-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.card-meta span { display: flex; align-items: center; gap: 4px; }
.card-meta .card-author-ic { display: inline-flex; align-items: center; gap: 5px; }
.card-meta .card-author-ic svg { color: var(--red); flex-shrink: 0; }
/* Thème clair — cards de contenu */
body.pf-light .card { background: #fff; border: 1px solid #e9edf1; box-shadow: 0 6px 24px rgba(20,30,45,.06); }
body.pf-light .card-title { color: #1a1d21; }
body.pf-light .card-desc { color: #5a6470; }
body.pf-light .card-meta { color: #8a929b; }
body.pf-light .card-meta a.card-author-ic { color: #8a929b; }
body.pf-light .card-img { background: #eef1f4; }
.card-team {
  display: inline-flex; align-items: center;
  font-size: 12px; font-weight: 600; font-family: inherit; line-height: 1.4; color: var(--red);
  background: none; border: none; padding: 0; cursor: pointer; transition: color .15s;
}
.card-team:hover { color: #fff; text-decoration: underline; }
.card-meta .card-meta-sep { color: rgba(255,255,255,.4); }
.card-meta a { color: rgba(255,255,255,.6); transition: color .15s; }
.card-meta a:hover { color: var(--red); }

/* --- Crédits équipe sur les cartes œuvres (esprit IMDb) --- */
.card-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 2px 0 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255,255,255,.5);
}
.card-credits .credit-role { color: rgba(255,255,255,.4); }
.card-credits a {
  color: rgba(255,255,255,.78);
  border-bottom: 1px dotted rgba(255,255,255,.25);
  transition: color .15s, border-color .15s;
}
.card-credits a:hover { color: var(--red); border-bottom-color: var(--red); }

/* Indice "voir l'équipe" au survol de la carte */
.card-team-hint {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.card:hover .card-team-hint { opacity: 1; transform: translateY(0); }

/* Card duration badge */
.card-duration {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(0,0,0,.8);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
/* Badge série : nombre de contenus regroupés */
.card-series {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px;
  z-index: 2;
}
.card-series svg { opacity: .9; }

/* Card NEW badge */
.card-badge-new {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =============================================
   VIDEO MAIN (large)
   ============================================= */
.card-video-main .card-img { aspect-ratio: 16/9; }
.card-video-main .card-body { padding: 18px 20px 20px; }
.card-video-main .card-title { font-size: 20px; -webkit-line-clamp: 3; }
.card-video-main .card-type { font-size: 11px; }

/* =============================================
   VIDEO SIDE (small horizontal)
   ============================================= */
.card-video-side {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--grey);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.card-video-side:hover { background: var(--mid); transform: translateX(4px); }
.card-video-side .thumb {
  position: relative;
  width: 150px;
  height: 88px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--mid);
}
.card-video-side .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
/* Durée en badge, bas-gauche de la vignette */
.card-video-side .thumb-duration {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: .02em;
  z-index: 2;
}
.card-video-side:hover .thumb img { transform: scale(1.06); }
.card-video-side .info { flex: 1; min-width: 0; }
.card-video-side .info .card-title { font-size: 13px; }
.card-video-side .info .card-meta { font-size: 11px; margin-top: 4px; }
.card-video-side .num {
  font-size: 22px;
  font-weight: 900;
  color: rgba(255,255,255,.08);
  flex-shrink: 0;
}

/* =============================================
   AUDIO CARD (horizontal)
   ============================================= */
.card-audio {
  background: var(--grey);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: background .2s, transform .2s;
}
.card-audio .play-circle { cursor: pointer; padding: 0; font: inherit; }
.card-audio:hover { background: var(--mid); transform: translateY(-2px); }
.card-audio .cover {
  display: block;
  width: 70px; height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--mid);
}
.card-audio .cover img { width: 100%; height: 100%; object-fit: cover; }
.card-audio .info { flex: 1; min-width: 0; }
.card-audio .info .card-type { margin-bottom: 3px; }
.card-audio .info .card-title { font-size: 15px; -webkit-line-clamp: 1; margin-bottom: 4px; }
.card-audio .info .card-meta { font-size: 12px; }
.card-audio .play-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(210,17,46,.15);
  border: 1.5px solid rgba(210,17,46,.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
  color: var(--red);
}
.card-audio:hover .play-circle {
  background: var(--red);
  color: var(--white);
  transform: scale(1.1);
}

/* Waveform placeholder */
.waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
  margin-top: 8px;
}
.waveform span {
  display: block;
  width: 3px;
  background: rgba(210,17,46,.4);
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
}
.waveform span:nth-child(2n) { animation-delay: .2s; }
.waveform span:nth-child(3n) { animation-delay: .4s; }
@keyframes wave {
  0%,100% { height: 4px; }
  50%      { height: 20px; }
}
.card-audio:not(:hover) .waveform span { animation: none; height: 8px; background: rgba(255,255,255,.12); }

/* =============================================
   DISCOVER CARD (grande image + overlay text)
   ============================================= */
.card-discover {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.card-discover .card-img { aspect-ratio: unset; height: 240px; }
.card-discover:hover .card-img img { transform: scale(1.06); }
.card-discover .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.card-discover .card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,27,27,.95) 0%, rgba(27,27,27,.3) 60%, transparent 100%);
}
.card-discover .card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
}
.card-discover .card-content .card-type { margin-bottom: 6px; }
.card-discover .card-content .card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.25;
}
.card-discover .card-content .card-desc {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
/* CTA petit — rectangulaire (charte) */
.card-discover .card-content .btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 4px;
  border: 1.5px solid var(--red);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.card-discover .card-content .btn-sm:hover { background: #fff; color: var(--red); border-color: var(--red); }

/* Coup de coeur badge */
.heart-badge {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(210,17,46,.5);
}

/* =============================================
   SECTION — À DÉCOUVRIR : subtitle
   ============================================= */
.discover-header-desc {
  font-size: 14px;
  color: rgba(255,255,255,.4);
  margin-top: 6px;
}

/* =============================================
   HEADER — CONNEXION / INSCRIPTION
   ============================================= */
.btn-login,
.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  line-height: 1;
}
.btn-login svg, .btn-register svg { flex-shrink: 0; }
.btn-login {
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}
.btn-login:hover {
  color: var(--white);
  background: rgba(255,255,255,.12);
}
/* CTA inscription — rectangulaire, inversion au survol (charte) */
.btn-register {
  color: var(--white);
  background: var(--red);
  border: 1.5px solid var(--red);
}
.btn-register:hover { background: #fff; color: var(--red); border-color: var(--red); }

/* =============================================
   SECTION PROFILS À LA UNE
   ============================================= */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.profile-card {
  background: var(--grey);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.profile-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.5); }

.profile-cover {
  height: 100px;
  background: var(--mid);
  overflow: hidden;
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.profile-card:hover .profile-cover img { transform: scale(1.06); }

.profile-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid var(--grey);
  overflow: hidden;
  background: var(--mid);
  margin: -32px auto 0;
  position: relative;
  z-index: 1;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.3);
}

.profile-body {
  padding: 12px 16px 18px;
  text-align: center;
}
.profile-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.profile-role {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
/* CTA profil — rectangulaire (charte) */
.btn-profile {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 18px;
  border-radius: 4px;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-profile:hover { background: var(--red); border-color: var(--red); }

/* Lien filmographie explicite (esprit IMDb) */
.profile-filmo-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}
.profile-filmo-link svg { transition: transform .2s; }
.profile-card:hover .profile-filmo-link svg { transform: translateX(3px); }

/* =============================================
   SCROLL TO TOP
   ============================================= */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(210,17,46,.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 500;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { opacity: .85; }

@media (max-width: 960px) {
  .btn-login { display: none; }
  .btn-register { display: none; }
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .profiles-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   FOOTER  — logo officiel + baseline
   ============================================= */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 0 28px;
  margin-top: 16px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Logo officiel EICAR + baseline (footer) */
.footer-brand .footer-logo-official {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 14px;
}
.footer-brand .footer-logo-official .fl-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}
.footer-brand .footer-logo-official .fl-name span { color: var(--red); }
.footer-brand .footer-logo-official .fl-baseline {
  margin-top: 5px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.footer-brand .footer-logo-official .fl-baseline .fl-paris { color: var(--red); }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.social-btn:hover { background: var(--red); color: var(--white); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.25);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--white); }

/* Red accent bar */
.footer-accent {
  height: 3px;
  background: linear-gradient(to right, var(--red), transparent);
  margin-bottom: 0;
}

/* =============================================
   SKELETON / PLACEHOLDER (image non chargée)
   ============================================= */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--mid) 0%, #222 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.1);
  font-size: 28px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .grid-news { grid-template-columns: repeat(3, 1fr); }
  .grid-video { grid-template-columns: 1fr 280px; }
}

@media (max-width: 960px) {
  /* Le menu mobile est géré par le drawer (#wlMobile) dans _header.php.
     La nav desktop (.header-navrow) est masquée par le CSS du header.
     Le hamburger est à GAUCHE du logo (1er enfant de .header-inner). */
  .btn-hamburger { display: flex; }
  .btn-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .btn-hamburger.open span:nth-child(2) { opacity: 0; }
  .btn-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .btn-hamburger span { transition: transform .25s, opacity .2s; }
  .btn-upload .btn-text { display: none; }
  .btn-upload { padding: 7px 10px; min-width: 0; }

  /* Layout mobile du header : ☰  Logo  …………  actions */
  .header-inner { gap: 12px; padding: 0 16px; }
  .header-logo { margin-right: auto; }   /* pousse les actions à droite */
  .logo-name { font-size: 22px; }        /* logo plus compact sur mobile */

  .grid-news { grid-template-columns: repeat(2, 1fr); }
  .grid-video { grid-template-columns: 1fr; }
  .video-side { display: grid; grid-template-columns: 1fr 1fr; }
  .grid-audio { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .grid-news { grid-template-columns: 1fr; }
  .grid-audio { grid-template-columns: 1fr; }
  .grid-discover { grid-template-columns: 1fr; }
  .video-side { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-search { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* ===== Header EICAR (déplacé depuis _header.php pour éviter le FOUC) ===== */
  /* ============ MENU MOBILE (drawer) ============ */
  .wl-mobile, .wl-mobile-overlay { display:none; }
  @media (max-width:960px){
    /* Le header redevient une seule ligne : on masque la 2e ligne et la recherche centrale */
    .site-header .header-navrow { display:none; }
    .site-header .header-tickerrow { display:none; }
    .site-header .header-inner .wl-search { display:none; }
    .btn-hamburger { display:flex; }

    .wl-mobile-overlay {
      display:block; position:fixed; inset:0; z-index:1099;
      background:rgba(0,0,0,.6); opacity:0; visibility:hidden;
      transition:opacity .25s, visibility .25s;
    }
    .wl-mobile-overlay.open { opacity:1; visibility:visible; }

    .wl-mobile {
      display:flex; flex-direction:column;
      position:fixed; top:0; right:0; bottom:0; z-index:1100;
      width:86%; max-width:360px;
      background:#1b1b1b; border-left:1px solid rgba(255,255,255,.08);
      box-shadow:-12px 0 40px rgba(0,0,0,.5);
      transform:translateX(100%); transition:transform .28s cubic-bezier(.4,0,.2,1);
      overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch;
      overscroll-behavior:contain;
    }
    .wl-mobile.open { transform:translateX(0); }
    /* Drill-down « Lykhubs » mobile : panneau qui glisse par-dessus le drawer */
    .wl-m-drill-panel { position:absolute; inset:0; z-index:5; background:#1b1b1b; display:flex; flex-direction:column; padding:16px 18px 28px; overflow-y:auto; transform:translateX(100%); transition:transform .28s cubic-bezier(.4,0,.2,1); }
    .wl-mobile.drill .wl-m-drill-panel { transform:translateX(0); }
    .wl-m-drill-back { display:flex; align-items:center; gap:8px; background:none; border:none; cursor:pointer; font-family:inherit; font-size:16px; font-weight:800; color:var(--red); padding:6px 4px 14px; }
    .wl-m-drill-body { display:flex; flex-direction:column; gap:6px; }
  }
  .wl-mobile-head { display:flex; align-items:center; justify-content:space-between; padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.07); }
  .wl-mobile-close { background:none; border:none; color:rgba(255,255,255,.7); cursor:pointer; padding:6px; border-radius:8px; }
  .wl-mobile-close:hover { background:rgba(255,255,255,.07); color:#fff; }

  .wl-mobile-search { display:flex; align-items:center; gap:10px; margin:16px 20px 8px; padding:0 14px; height:46px; background:#fff; border-radius:10px; color:#777; }
  .wl-mobile-search input[type=text] { flex:1; min-width:0; border:none; outline:none; background:transparent; font-family:var(--font); font-size:16px; color:#1a1a1a; }

  .wl-mobile-nav { padding:8px 12px 4px; }
  .wl-m-link { display:block; padding:14px 14px; font-size:16px; font-weight:600; color:rgba(255,255,255,.9); border-radius:10px; }
  .wl-m-link:hover, .wl-m-link:active { background:rgba(255,255,255,.06); }
  .wl-m-ticker { display:block; margin:4px 20px 0; padding:11px 14px; border-radius:10px; background:rgba(210,17,46,.12); border:1px solid rgba(210,17,46,.3); color:#fff; font-size:14px; line-height:1.35; }
  .wl-m-ticker strong { color:var(--red); }
  .wl-m-ticker.is-anim { display:flex; align-items:center; gap:6px; overflow:hidden; white-space:nowrap; }
  .wl-m-ticker.is-anim strong { flex-shrink:0; }

  .wl-m-acc-btn { width:100%; display:flex; align-items:center; justify-content:space-between; padding:14px 14px; background:none; border:none; cursor:pointer; font-family:var(--font); font-size:16px; font-weight:600; color:rgba(255,255,255,.9); border-radius:10px; }
  .wl-m-acc-btn:hover { background:rgba(255,255,255,.06); }
  .wl-m-acc-btn svg { transition:transform .25s; color:rgba(255,255,255,.5); }
  .wl-m-acc.open .wl-m-acc-btn svg { transform:rotate(180deg); }
  .wl-m-acc-panel { display:none; padding:2px 0 8px 12px; }
  .wl-m-acc.open .wl-m-acc-panel { display:block; }
  .wl-m-acc-panel a { display:block; padding:11px 16px; font-size:15px; color:rgba(255,255,255,.7); border-radius:8px; }
  .wl-m-acc-panel a:first-child { color:#fff; font-weight:600; }
  .wl-m-acc-panel a:hover { background:rgba(210,17,46,.14); color:#fff; }

  .wl-mobile-foot { margin-top:auto; padding:16px 20px 28px; border-top:1px solid rgba(255,255,255,.07); display:flex; flex-direction:column; gap:8px; }
  .wl-mobile-pub-title { font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.3); margin-bottom:2px; }
  .wl-m-pub { display:block; padding:12px 14px; background:rgba(255,255,255,.05); border-radius:10px; font-size:15px; font-weight:600; color:rgba(255,255,255,.9); }
  .wl-m-pub:hover { background:rgba(210,17,46,.16); color:#fff; }
  .wl-m-foot-link { display:block; padding:12px 14px; font-size:15px; color:rgba(255,255,255,.75); border-radius:10px; }
  .wl-m-foot-link:hover { background:rgba(255,255,255,.06); color:#fff; }
  .wl-m-logout { color:var(--red); font-weight:600; }
  /* Section Administrateur (menu mobile) */
  .wl-m-foot-label { padding:14px 14px 4px; font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#7fb0ff; }
  .wl-m-admin-link { color:#7fb0ff; font-weight:600; }
  .wl-m-cta-ghost { display:block; text-align:center; padding:13px; border:1.5px solid rgba(255,255,255,.2); border-radius:10px; color:#fff; font-weight:600; font-size:15px; }
  .wl-m-cta-red { display:block; text-align:center; padding:13px; background:var(--red); border-radius:10px; color:#fff; font-weight:700; font-size:15px; }
  /* ---- Barre de recherche header (large, visible connecté ou non) ---- */
  .wl-search { position:relative; display:flex; align-items:stretch; flex:1; max-width:580px; min-width:280px; height:42px; margin:0 20px; background:var(--search-bg,#fff); border:1px solid var(--search-bg,#fff); border-radius:10px; box-shadow:0 2px 10px rgba(0,0,0,.25); transition:box-shadow .2s; }
  .wl-search:focus-within { box-shadow:0 0 0 3px rgba(210,17,46,.35), 0 2px 10px rgba(0,0,0,.25); }
  .wl-search-scope { position:relative; flex-shrink:0; }
  .wl-scope-btn { display:flex; align-items:center; gap:6px; height:100%; background:var(--search-scope-bg,#f1f1f3); border:none; border-right:1px solid #e2e2e6; color:var(--search-text,#333); font-family:var(--font); font-size:14px; font-weight:600; padding:0 14px; cursor:pointer; border-radius:10px 0 0 10px; white-space:nowrap; }
  .wl-scope-btn:hover { background:#e8e8ec; }
  .wl-scope-btn svg { color:#777; }
  .wl-scope-menu { position:absolute; left:0; top:calc(100% + 8px); min-width:160px; background:#fff; border:1px solid #e2e2e6; border-radius:10px; padding:6px; display:none; box-shadow:0 12px 30px rgba(0,0,0,.25); z-index:1002; }
  .wl-scope-menu.open { display:block; }
  .wl-scope-menu a { display:block; padding:10px 12px; border-radius:6px; font-size:14px; color:#333; font-weight:500; }
  .wl-scope-menu a:hover { background:transparent; color:var(--red); }
  .wl-scope-menu a.active { background:rgba(210,17,46,.1); color:var(--red); }
  .wl-search-input { flex:1; min-width:0; background:transparent; border:none; outline:none; color:var(--search-text,#1a1a1a); font-family:var(--font); font-size:15px; padding:0 8px 0 16px; }
  .wl-search-input::placeholder { color:var(--search-ph-color,#9a9aa2); }
  .wl-search-btn { flex-shrink:0; background:transparent; border:none; color:#777; cursor:pointer; padding:0 16px; border-radius:0 10px 10px 0; transition:color .15s; }
  .wl-search-btn:hover { color:var(--red); }
  .wl-suggestions { position:absolute; left:0; right:0; top:calc(100% + 8px); list-style:none; margin:0; padding:6px; background:#fff; border:1px solid #e2e2e6; border-radius:12px; box-shadow:0 16px 40px rgba(0,0,0,.3); display:none; z-index:1001; max-height:440px; overflow-y:auto; }
  .wl-suggestions.show { display:block; }
  /* Liens rapides sous la barre de recherche (façon Allociné).
     Placés dans l'espace ajouté sous le champ (header-inner à 86px), fond sombre. */
  .wl-search-quicklinks { position:absolute; left:72px; top:calc(100% + 3px); display:flex; align-items:center; gap:8px; font-size:11px; white-space:nowrap; z-index:2; }
  .wl-ql-ex { color:rgba(255,255,255,.45); font-weight:400; }
  .wl-ql-link { color:rgba(255,255,255,.75); text-decoration:none; font-weight:400; }
  .wl-ql-link:hover { color:#fff; text-decoration:underline; }
  .wl-ql-sep { color:rgba(255,255,255,.3); }
  .wl-sug { display:flex; align-items:center; gap:12px; padding:8px 10px; border-radius:8px; cursor:pointer; color:#1a1a1a; text-decoration:none; }
  .wl-sug:hover, .wl-sug.active { background:#f3f3f5; }
  .wl-sug-img { width:46px; height:46px; border-radius:8px; object-fit:cover; background:#e8e8ec; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:18px; }
  .wl-sug-img.round { border-radius:50%; }
  /* Fallback initiales (membre sans photo) : aux couleurs de la marque. */
  .wl-sug-img--ini { background:var(--red,#d2112e); color:#fff; font-size:16px; font-weight:700; text-transform:uppercase; }
  .wl-sug-txt { min-width:0; flex:1; display:flex; flex-direction:column; gap:3px; align-items:flex-start; }
  .wl-sug-title { font-size:14px; font-weight:700; color:#1a1a1a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
  .wl-sug-meta { font-size:12px; color:#888; }
  .wl-sug-tag { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--red); background:rgba(210,17,46,.1); padding:3px 8px; border-radius:4px; flex-shrink:0; }
  .wl-sug-empty { padding:16px; text-align:center; color:#999; font-size:13px; }
  .wl-sug-list { list-style:none; margin:0; padding:0; }
  /* Case « Inclure le réseau Lykhubs » : en tête de la boîte de suggestions. */
  .wl-sug-scope { display:flex; align-items:center; gap:8px; padding:8px 10px; margin-bottom:4px; border-bottom:1px solid #ededf0; font-size:12.5px; color:#555; cursor:pointer; user-select:none; }
  .wl-sug-scope input { width:15px; height:15px; accent-color:var(--red); cursor:pointer; flex-shrink:0; margin:0; }
  .wl-sug-scope:hover { color:#1a1a1a; }
  @media (max-width:860px){ .wl-search{ display:none; } }

  /* ===== Loupe recherche mobile + modal plein écran ===== */
  .wl-search-mobile-btn {
    display: none;             /* affichée seulement sur mobile (voir media query) */
    align-items: center; justify-content: center;
    width: 42px; height: 42px; box-sizing: border-box;
    border-radius: 9px;
    color: rgba(255,255,255,.85);
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    cursor: pointer; flex-shrink: 0;
    transition: background .2s, color .2s, border-color .2s;
  }
  .wl-search-mobile-btn:hover { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.3); }
  @media (max-width:860px){ .wl-search-mobile-btn { display:inline-flex; } }

  /* Modal plein écran */
  .wl-searchm {
    position: fixed; inset: 0; z-index: 3000;
    background: var(--search-modal-bg, #0e0e10);
    display: none; flex-direction: column;
    padding: 0;
  }
  .wl-searchm.open { display: flex; animation: wlSearchmIn .18s ease; }
  @keyframes wlSearchmIn { from { opacity:0; } to { opacity:1; } }
  .wl-searchm-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 14px calc(14px + env(safe-area-inset-top, 0px));
    padding-top: max(14px, env(safe-area-inset-top, 14px));
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .wl-searchm-form { display: flex; align-items: center; gap: 6px; width: 100%; }
  .wl-searchm-input {
    flex: 1; min-width: 0; height: 46px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px; padding: 0 14px;
    color: #fff; font-size: 16px; font-family: var(--font);
    outline: none;
  }
  .wl-searchm-input::placeholder { color: rgba(255,255,255,.4); }
  .wl-searchm-input:focus { border-color: var(--red, #e40046); }
  .wl-searchm-go, .wl-searchm-close {
    flex-shrink: 0; width: 44px; height: 46px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: none; color: rgba(255,255,255,.75);
    cursor: pointer; border-radius: 10px;
  }
  .wl-searchm-go { color: var(--red, #e40046); }
  .wl-searchm-close:hover, .wl-searchm-go:hover { background: rgba(255,255,255,.06); color:#fff; }
  .wl-searchm-quick { padding: 18px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .wl-searchm-quick-t { width:100%; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:2px; }
  .wl-searchm-ql {
    display: inline-flex; align-items: center;
    padding: 8px 14px; border-radius: 100px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.85); font-size: 13.5px; text-decoration: none;
    transition: all .15s;
  }
  .wl-searchm-ql:hover { border-color: var(--red, #e40046); color:#fff; }
  /* Liste de résultats live dans la modal (réutilise les .wl-sug* de la barre) */
  .wl-searchm-list { list-style:none; margin:0; padding:6px 8px; overflow-y:auto; flex:1; min-height:0; }
  .wl-searchm-list .wl-sug { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; text-decoration:none; color:#fff; }
  .wl-searchm-list .wl-sug:hover { background:rgba(255,255,255,.06); }
  .wl-searchm-list .wl-sug-img { width:42px; height:42px; border-radius:9px; object-fit:cover; flex-shrink:0; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; font-size:18px; }
  .wl-searchm-list .wl-sug-img.round { border-radius:50%; }
  .wl-searchm-list .wl-sug-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
  .wl-searchm-list .wl-sug-title { font-size:14.5px; font-weight:600; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .wl-searchm-list .wl-sug-meta { font-size:12.5px; color:rgba(255,255,255,.5); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .wl-searchm-list .wl-sug-tag { flex-shrink:0; font-size:11px; font-weight:700; text-transform:uppercase; color:rgba(255,255,255,.5); border:1px solid rgba(255,255,255,.15); border-radius:100px; padding:2px 8px; }
  .wl-searchm-list .wl-sug-empty { padding:24px 12px; text-align:center; color:rgba(255,255,255,.4); font-size:14px; }
  body.pf-light .wl-searchm-list .wl-sug { color:#1a1d21; }
  body.pf-light .wl-searchm-list .wl-sug:hover { background:#f1f3f5; }
  body.pf-light .wl-searchm-list .wl-sug-title { color:#1a1d21; }
  body.pf-light .wl-searchm-list .wl-sug-meta { color:#7a8591; }
  body.pf-light .wl-searchm-list .wl-sug-tag { color:#7a8591; border-color:#e4e8ec; }
  /* Thème clair */
  body.pf-light .wl-searchm { background:#fff; }
  body.pf-light .wl-searchm-bar { border-bottom-color:#e9edf1; }
  body.pf-light .wl-searchm-input { background:#f1f3f5; border-color:#e4e8ec; color:#1a1d21; }
  body.pf-light .wl-searchm-input::placeholder { color:#9aa4ad; }
  body.pf-light .wl-searchm-close { color:#5a6470; }
  body.pf-light .wl-searchm-quick-t { color:#9aa4ad; }
  body.pf-light .wl-searchm-ql { background:#f1f3f5; border-color:#e4e8ec; color:#3a4450; }

  /* Bouton + menu Communauté */
  .wl-commu { position:relative; display:inline-block; }
  .wl-commu-btn { display:inline-flex; align-items:center; gap:5px; background:none; border:none; color:var(--menu-text); font-family:var(--font); font-size:14px; font-weight:500; padding:6px 14px; border-radius:6px; cursor:pointer; }
  .wl-commu-btn:hover { color:var(--menu-hover); background:rgba(255,255,255,.07); }
  .wl-commu-menu { position:absolute; left:0; top:calc(100% + 8px); min-width:230px; background:#1f1f1f; border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:6px; display:none; box-shadow:0 16px 40px rgba(0,0,0,.55); z-index:1002; columns:1; }
  .wl-commu-menu.open { display:block; }
  .wl-commu-menu a { display:block; padding:9px 12px; border-radius:7px; font-size:14px; color:rgba(255,255,255,.82); }
  .wl-commu-menu a:hover { background:rgba(210,17,46,.14); color:#fff; }
  .wl-commu-menu .wl-commu-all { font-weight:700; color:#fff; border-bottom:1px solid rgba(255,255,255,.08); margin-bottom:4px; padding-bottom:11px; }

  /* Aligner le 1er item du menu sur le logo : pas de padding gauche sur le
     premier élément (bouton ou lien), quel que soit son type. Le décalage
     interne (padding-left) est reporté en marge sur le contenu qui suit. */
  .header-nav > *:first-child .wl-cmenu-btn,
  .header-nav > .wl-cmenu:first-child .wl-cmenu-btn,
  .header-nav > .wl-commu:first-child .wl-commu-btn,
  .header-nav > a:first-child { padding-left: 0; }

  /* Icône de type devant Vidéos/Audio/Photos (discrète) */
  .nav-ic { vertical-align:-2px; margin-right:6px; opacity:.55; }
  /* Option admin « masquer les icônes du menu » (le menu mobile est déjà sans icônes) */
  .site-header.wl-hide-menu-icons .nav-ic { display:none; }
  .header-nav a:hover .nav-ic, .wl-cmenu-btn:hover .nav-ic, .wl-cmenu.open .wl-cmenu-btn .nav-ic { opacity:.9; }
  /* aligner icône + texte dans les liens simples de la nav */
  .header-nav > a { display:inline-flex; align-items:center; }

  /* Menus contenu (Vidéos / Audio / Photos) */
  .wl-cmenu { position:relative; display:inline-block; }
  .wl-cmenu-btn { display:inline-flex; align-items:center; gap:5px; background:none; border:none; color:var(--menu-text); font-family:var(--font); font-size:14px; font-weight:500; padding:6px 14px; border-radius:6px; cursor:pointer; }
  .wl-cmenu-btn:hover, .wl-cmenu.open .wl-cmenu-btn { color:var(--menu-hover); background:rgba(255,255,255,.07); }
  .wl-cmenu-btn svg { transition:transform .2s; }
  .wl-cmenu.open .wl-cmenu-btn svg { transform:rotate(180deg); }
  .wl-cmenu-list { position:absolute; left:0; top:calc(100% + 8px); min-width:200px; background:#1f1f1f; border:1px solid rgba(255,255,255,.1); border-radius:12px; padding:6px; display:none; box-shadow:0 16px 40px rgba(0,0,0,.55); z-index:1002; }
  .wl-cmenu.open .wl-cmenu-list { display:block; }
  .wl-cmenu-list a { display:block; padding:9px 12px; border-radius:7px; font-size:14px; color:rgba(255,255,255,.82); }
  .wl-cmenu-list a:hover { background:rgba(210,17,46,.14); color:#fff; }
  .wl-cmenu-list .wl-cmenu-all { font-weight:700; color:#fff; border-bottom:1px solid rgba(255,255,255,.08); margin-bottom:4px; padding-bottom:11px; }

  /* Bandeau d'info "Dernière minute" : bande dédiée AU-DESSUS du menu.
     Le CONTENEUR reçoit le MÊME layout que .header-inner (max-width + padding),
     comme ça le contenu est aligné pixel pour pixel avec le logo/menu. */
  .header-tickerrow { background:#fff; border-bottom:1px solid rgba(0,0,0,.08); }
  .header-tickerrow-inner { max-width:1400px; margin:0 auto; padding:6px 24px; box-sizing:border-box; }
  /* Le ticker redevient un simple contenu aligné à gauche (pas de centrage propre) */
  .header-tickerrow .wl-ticker { display:flex; align-items:center; margin:0; max-width:none; padding:0; border:none; border-radius:0; background:transparent; }
  .header-tickerrow a.wl-ticker:hover { background:transparent; }
  /* Le label n'est plus un "bouton" : texte gras rouge EICAR */
  .header-tickerrow .wl-ticker-tag { background:transparent; color:var(--red); padding:0; border-radius:0; font-size:12px; font-weight:800; letter-spacing:.04em; }
  /* Fond blanc → texte de l'annonce en noir */
  .header-tickerrow .wl-ticker-txt { color:#000; }
  .header-tickerrow a.wl-ticker:hover .wl-ticker-txt { color:#000; }
  /* Bande large : le texte tient sans défiler → on fige le marquee et on masque la 2e copie */
  .header-tickerrow .wl-ticker-marquee { width:auto; max-width:none; overflow:visible; }
  .header-tickerrow .wl-ticker-track { animation:none !important; }
  .header-tickerrow .wl-ticker-track .wl-ticker-txt { padding-right:0; }
  .header-tickerrow .wl-ticker-track .wl-ticker-txt + .wl-ticker-txt { display:none; }

  /* Bandeau d'info "Dernière minute" (styles de base, hérités) */
  .wl-ticker { margin-left:auto; display:inline-flex; align-items:center; gap:9px; padding:5px 14px; border-radius:100px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); font-size:13px; max-width:42%; transition:background .2s, border-color .2s; }
  a.wl-ticker:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); }
  .wl-ticker-tag { flex-shrink:0; display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#fff; background:var(--red); padding:3px 9px; border-radius:100px; }
  .wl-ticker-ic { display:inline-flex; align-items:center; }
  .wl-ticker-ic svg { width:12px; height:12px; }
  .wl-m-ticker .wl-ticker-ic { vertical-align:-2px; margin-right:3px; }
  .wl-m-ticker .wl-ticker-ic svg { width:14px; height:14px; }
  .wl-ticker-txt { color:var(--menu-text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  a.wl-ticker:hover .wl-ticker-txt { color:var(--menu-hover); }
  /* Animation défilement (marquee) */
  .wl-ticker.is-anim { max-width:none; }
  .wl-ticker-marquee { display:block; overflow:hidden; width:340px; max-width:38vw; }
  .wl-ticker-track { display:inline-flex; white-space:nowrap; animation:wlTickerScroll 12s linear infinite; will-change:transform; }
  .wl-ticker-track .wl-ticker-txt { overflow:visible; padding-right:40px; }
  a.wl-ticker.is-anim:hover .wl-ticker-track { animation-play-state:paused; }
  @keyframes wlTickerScroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }
  @media (prefers-reduced-motion: reduce){ .wl-ticker-track { animation:none; } }
  /* Bouton + Publier — premium animé */
  .wl-publish { position:relative; }
  .wl-publish-btn {
    display:flex; align-items:center; gap:7px;
    height:42px; box-sizing:border-box;
    background:transparent;
    border:1px solid rgba(255,255,255,.15); border-radius:8px; padding:0 12px;
    color:rgba(255,255,255,.7); cursor:pointer; font-family:var(--font); font-size:14px; font-weight:500;
    transition:color .2s, background .2s, border-color .2s;
  }
  .wl-publish-btn:hover { color:#fff; background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.3); }
  .wl-publish-btn .pub-icon { color:var(--red); transition:transform .3s cubic-bezier(.34,1.56,.64,1); }
  .wl-publish-btn:hover .pub-icon { transform:translateY(-2px); }
  .wl-publish-btn[aria-expanded="true"] .pub-icon { transform:translateY(-2px); }

  .wl-publish-menu {
    position:absolute; right:0; top:calc(100% + 10px); min-width:210px;
    background:linear-gradient(180deg,#232323 0%,#1b1b1b 100%);
    border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:8px;
    box-shadow:0 16px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(210,17,46,.08);
    z-index:1001;
    opacity:0; transform:translateY(-8px) scale(.97); transform-origin:top right;
    pointer-events:none; visibility:hidden;
    transition:opacity .2s ease, transform .22s cubic-bezier(.34,1.4,.64,1), visibility .2s;
  }
  .wl-publish-menu.open { opacity:1; transform:translateY(0) scale(1); pointer-events:auto; visibility:visible; }
  /* petite flèche vers le bouton */
  .wl-publish-menu::before {
    content:''; position:absolute; top:-5px; right:24px; width:10px; height:10px;
    background:#232323; border-left:1px solid rgba(255,255,255,.1); border-top:1px solid rgba(255,255,255,.1);
    transform:rotate(45deg);
  }
  .wl-publish-menu .wl-pub-title {
    font-size:10px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
    color:rgba(255,255,255,.3); padding:4px 12px 8px;
  }
  .wl-publish-menu a,
  .wl-publish-menu .wl-pub-express {
    display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:9px; width:100%; box-sizing:border-box;
    font-family:inherit; font-size:14px; font-weight:600; color:rgba(255,255,255,.88); position:relative; text-align:left;
    background:none; border:none; cursor:pointer; transition:background .15s, color .15s, padding-left .18s;
  }
  .wl-publish-menu a:hover,
  .wl-publish-menu .wl-pub-express:hover { background:rgba(210,17,46,.14); color:#fff; padding-left:16px; }
  .wl-publish-menu a .ic,
  .wl-publish-menu .wl-pub-express .ic {
    width:34px; height:34px; flex-shrink:0; border-radius:9px;
    display:flex; align-items:center; justify-content:center;
    background:rgba(210,17,46,.14); color:var(--red);
    transition:background .15s, color .15s, transform .18s;
  }
  .wl-publish-menu a:hover .ic,
  .wl-publish-menu .wl-pub-express:hover .ic { background:var(--red); color:#fff; transform:scale(1.08); }
  .wl-publish-menu a .lbl small,
  .wl-publish-menu .wl-pub-express .lbl small { display:block; font-size:11px; font-weight:400; color:rgba(255,255,255,.4); margin-top:1px; }
  .wl-publish-menu .wl-pub-sep { height:1px; background:rgba(255,255,255,.08); margin:6px 8px; }
  @media (max-width:600px){ .wl-publish-label{ display:none; } .wl-publish-btn{ padding:9px; } }
  .wl-user { position:relative; }
  .wl-user-btn { display:flex; align-items:center; gap:8px; height:42px; box-sizing:border-box; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:10px; padding:0 12px 0 6px; color:#fff; cursor:pointer; font-family:var(--font); font-size:14px; font-weight:600; transition:background .2s; }
  .wl-user-btn:hover { background:rgba(255,255,255,.12); }
  .wl-avatar { width:30px; height:30px; border-radius:50%; object-fit:cover; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .wl-avatar-fb { background:var(--red); color:#fff; font-weight:800; font-size:12px; letter-spacing:.5px; }
  .wl-user-name { max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  /* overflow-x:hidden (slider drill-down) mais scroll VERTICAL autorisé : sinon
     l'ouverture d'un accordéon (« Ma bibliothèque ») pousse son contenu hors du
     cadre et il paraît ne pas s'ouvrir. */
  .wl-user-menu { position:absolute; right:0; top:calc(100% + 8px); width:250px; background:#1f1f1f; border:1px solid rgba(255,255,255,.1); border-radius:10px; padding:0; display:none; box-shadow:0 12px 30px rgba(0,0,0,.5); z-index:1001; overflow-x:hidden; overflow-y:auto; max-height:calc(100vh - 120px); overscroll-behavior:contain; }
  .wl-user-menu.open { display:block; }
  /* Drill-down : 2 pages côte à côte qui glissent horizontalement */
  .wl-user-menu .wl-menu-slider { display:flex; width:200%; transition:transform .28s cubic-bezier(.4,0,.2,1); }
  .wl-user-menu .wl-menu-slider.drill { transform:translateX(-50%); }
  .wl-user-menu .wl-menu-page { width:50%; flex:0 0 50%; box-sizing:border-box; padding:6px; }
  /* En-tête d'identité de l'utilisateur connecté (1re ligne du menu) : avatar + nom. */
  .wl-user-menu .wl-menu-me { display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:8px; }
  .wl-user-menu .wl-menu-me:hover { background:rgba(255,255,255,.07); }
  .wl-user-menu .wl-menu-me-av { width:38px; height:38px; border-radius:50%; object-fit:cover; flex-shrink:0; display:block; }
  .wl-user-menu .wl-menu-me-fb { display:flex; align-items:center; justify-content:center; background:var(--red); color:#fff; font-weight:700; font-size:15px; text-transform:uppercase; }
  .wl-user-menu .wl-menu-me-txt { display:flex; flex-direction:column; min-width:0; line-height:1.25; }
  .wl-user-menu .wl-menu-me-name { font-size:14px; font-weight:700; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .wl-user-menu .wl-menu-me-sub { font-size:11.5px; color:rgba(255,255,255,.45); }
  /* Bouton d'entrée (« Lykhubs › ») : petit titre en majuscules (style d'origine). */
  .wl-user-menu .wl-drill-enter { display:flex; align-items:center; justify-content:space-between; width:100%; background:none; border:none; cursor:pointer; font-family:inherit; font-size:14px; font-weight:600; color:rgba(255,255,255,.8); padding:10px 12px; border-radius:6px; }
  .wl-user-menu .wl-drill-enter:hover { background:rgba(255,255,255,.07); }
  .wl-user-menu .wl-drill-enter:hover { color:rgba(255,255,255,.6); }
  .wl-user-menu .wl-drill-enter svg { opacity:.7; }
  /* En-tête « ‹ Lykhubs » du panneau enfant */
  .wl-user-menu .wl-drill-back { display:flex; align-items:center; gap:8px; width:100%; background:none; border:none; cursor:pointer; font-family:inherit; font-size:14px; font-weight:800; color:var(--red); padding:10px 12px; border-radius:6px; }
  .wl-user-menu .wl-drill-back:hover { filter:brightness(1.15); }
  .wl-user-menu a { display:block; padding:10px 12px; border-radius:6px; font-size:14px; color:rgba(255,255,255,.8); transition:background .15s,color .15s; }
  .wl-user-menu a:hover { background:rgba(255,255,255,.07); color:#fff; }
  .wl-user-menu .wl-menu-label { font-size:10.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.35); padding:8px 12px 4px; }
  .wl-user-menu .wl-menu-sep { height:1px; background:rgba(255,255,255,.08); margin:5px 8px; }
  /* Note d'info : la personnalisation du menu se gère depuis Lykhubs */
  .wl-user-menu .wl-menu-note { display:flex; align-items:flex-start; gap:8px; margin:8px 8px 4px; padding:9px 11px; background:rgba(255,255,255,.04); border-radius:6px; font-size:11.5px; line-height:1.45; color:rgba(255,255,255,.55); }
  .wl-user-menu .wl-menu-note svg { flex:0 0 auto; margin-top:1px; opacity:.7; }
  .wl-user-menu .wl-menu-note a { display:inline; padding:0; color:var(--red); font-weight:700; }
  .wl-user-menu .wl-menu-note a:hover { background:none; text-decoration:underline; filter:brightness(1.15); }
  .wl-user-menu .wl-admin-link { color:#7fb0ff; font-weight:600; }
  .wl-user-menu .wl-admin-link:hover { background:rgba(127,176,255,.12); color:#a9c9ff; }
  /* Accordéon « Administrateur » : même style de label que les autres (gris uppercase),
     lien Accueil neutre comme les liens du menu. */
  .wl-user-menu .wl-acc-admin .wl-admin-link { color:rgba(255,255,255,.75); font-weight:500; display:flex; align-items:center; gap:8px; }
  .wl-user-menu .wl-acc-admin .wl-admin-link:hover { background:rgba(255,255,255,.06); color:#fff; }
  .wl-user-menu .wl-acc-admin .wl-admin-link svg { flex-shrink:0; opacity:.7; }
  .wl-user-menu .wl-logout { color:var(--red); font-weight:600; }
  /* Accordéon Lykhubs dans le menu compte */
  /* Têtes d'accordéon (Vos contenus / EICAR+…) : MÊME taille/couleur que les liens du menu. */
  .wl-user-menu .wl-acc-head { display:flex; align-items:center; justify-content:space-between; width:100%; background:none; border:none; cursor:pointer; font-family:inherit; font-size:14px; color:rgba(255,255,255,.8); padding:10px 12px; border-radius:6px; }
  .wl-user-menu .wl-acc-head:hover { background:rgba(255,255,255,.07); color:#fff; }
  .wl-user-menu .wl-acc-chev { transition:transform .2s; opacity:.7; }
  .wl-user-menu .wl-acc.open .wl-acc-chev { transform:rotate(180deg); }
  .wl-user-menu .wl-acc-body { display:none; }
  .wl-user-menu .wl-acc.open .wl-acc-body { display:block; }
  /* Menu « Mon Hub » en grille de tuiles (icône + label, façon appli mobile).
     Toutes les tuiles ont la MÊME hauteur ; le label est sur 1 ligne, tronqué
     avec « … » si trop long. */
  .wl-user-menu .wl-hub-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; padding:4px 10px 8px; }
  .wl-user-menu a.wl-hub-tile { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; aspect-ratio:1/1; padding:8px 6px; text-align:center; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.06); border-radius:12px; color:rgba(255,255,255,.85); box-sizing:border-box; overflow:hidden; }
  .wl-user-menu a.wl-hub-tile:hover { background:rgba(228,0,70,.14); border-color:rgba(228,0,70,.3); color:#fff; }
  .wl-user-menu a.wl-hub-tile i { color:var(--red); font-size:18px; flex-shrink:0; }
  .wl-user-menu a.wl-hub-tile span { font-size:11px; line-height:1.2; font-weight:600; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  /* Version compacte des tuiles (accordéon « Vos contenus ») */
  .wl-user-menu .wl-hub-grid-sm a.wl-hub-tile { gap:5px; padding:6px 4px; border-radius:9px; }
  .wl-user-menu .wl-hub-grid-sm a.wl-hub-tile i { font-size:15px; }
  .wl-user-menu .wl-hub-grid-sm a.wl-hub-tile span { font-size:10px; }
  /* Accordéons de la section Lykhubs (« Mon Hub », « Ma bibliothèque ») */
  .wl-user-menu .wl-hub-acc + .wl-hub-acc { margin-top:4px; padding-top:4px; border-top:1px solid rgba(255,255,255,.06); }
  .wl-user-menu .wl-hub-acc-head,
  .wl-m-drill-panel .wl-hub-acc-head { display:flex; align-items:center; justify-content:space-between; width:100%; background:none; border:none; cursor:pointer; font-family:inherit; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.55); padding:8px 12px 6px; }
  .wl-user-menu .wl-hub-acc-head:hover,
  .wl-m-drill-panel .wl-hub-acc-head:hover { color:rgba(255,255,255,.8); }
  .wl-user-menu .wl-hub-acc-chev { transition:transform .2s; opacity:.8; }
  .wl-user-menu .wl-hub-acc.open .wl-hub-acc-chev { transform:rotate(180deg); }
  .wl-user-menu .wl-hub-acc .wl-hub-grid { display:none; }
  .wl-user-menu .wl-hub-acc.open .wl-hub-grid { display:grid; }
  /* Lien « Personnaliser mes icônes » sous la grille du Hub (desktop + mobile) */
  .wl-user-menu .wl-hub-acc:not(.open) .wl-hub-customize,
  .wl-m-drill-panel .wl-hub-acc:not(.open) .wl-hub-customize { display:none; }
  .wl-hub-customize { display:inline-flex; align-items:center; gap:5px; margin:6px 4px 2px; background:none; border:none; cursor:pointer; font-family:inherit; font-size:10.5px; font-weight:500; color:rgba(255,255,255,.4); padding:1px 4px; }
  .wl-hub-customize:hover { color:var(--red); text-decoration:underline; }
  .wl-hub-customize i { font-size:10px; }
  /* État vide d'une section du hub (aucun raccourci choisi par l'utilisateur).
     Suit l'accordéon comme la grille : masqué tant que la section est repliée. */
  .wl-hub-empty { margin:4px 6px 8px; padding:10px 12px; background:rgba(255,255,255,.04);
    border-radius:6px; font-size:11.5px; line-height:1.45; color:rgba(255,255,255,.45);
    text-transform:none; letter-spacing:normal; }
  .wl-user-menu .wl-hub-acc .wl-hub-empty { display:none; }
  .wl-user-menu .wl-hub-acc.open .wl-hub-empty { display:block; }
  body.pf-light .wl-hub-empty { background:#f1f3f5; color:#7a8591; }
  /* Bouton « Personnaliser mes icônes » du menu compte (hors accordéon) :
     plus lisible que la note qu'il remplace — libellé en accent. */
  .wl-user-menu #wlHubCustomizeBtn { display:flex; align-items:center; gap:8px; width:calc(100% - 16px);
    margin:8px 8px 4px; padding:9px 11px; background:rgba(255,255,255,.04); border:none; border-radius:6px;
    color:var(--red); font-family:inherit; font-size:12.5px; font-weight:700; cursor:pointer; text-align:left; }
  .wl-user-menu #wlHubCustomizeBtn:hover { background:rgba(255,255,255,.08); text-decoration:none; }
  .wl-user-menu #wlHubCustomizeBtn i { font-size:13px; }

  /* Modale « Personnaliser mes icônes » (explique que le réglage se fait sur Lykhubs) */
  .wl-cust-modal[hidden] { display:none !important; }
  .wl-cust-modal { position:fixed; inset:0; z-index:1400; display:flex; align-items:center; justify-content:center; padding:18px; }
  .wl-cust-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.62); }
  /* !important + reset de typo : la modale vit dans le menu compte, dont les
     styles (uppercase, letter-spacing, tailles) débordaient sur son contenu. */
  .wl-cust-box { position:relative; z-index:1; width:100%; max-width:380px; max-height:85vh; overflow-y:auto;
    background:#1d1d20; border:1px solid rgba(255,255,255,.1); border-radius:16px; padding:26px 24px 24px;
    text-align:center !important; text-transform:none !important; letter-spacing:normal !important;
    font-family:var(--font); box-shadow:0 24px 60px rgba(0,0,0,.55); }
  .wl-cust-box * { text-transform:none !important; letter-spacing:normal !important; }
  .wl-cust-close { position:absolute; top:10px; right:12px; background:none; border:none; color:rgba(255,255,255,.5);
    font-size:24px; line-height:1; cursor:pointer; padding:2px 6px; }
  .wl-cust-close:hover { color:#fff; }
  .wl-cust-ic { width:48px; height:48px; margin:0 auto 14px; border-radius:50%; display:flex; align-items:center;
    justify-content:center; background:rgba(210,17,46,.14); color:var(--red); font-size:19px; }
  .wl-cust-title { font-size:17px !important; font-weight:800; color:#fff; margin:0 0 10px; }
  .wl-cust-txt { font-size:13.5px !important; line-height:1.6 !important; color:rgba(255,255,255,.62); margin:0 0 12px; }
  .wl-cust-txt b { color:#fff; font-weight:700; }
  .wl-cust-go { display:inline-flex !important; align-items:center; justify-content:center; gap:8px; margin-top:6px;
    padding:12px 20px !important; background:var(--red); color:#fff !important; border-radius:8px !important;
    font-size:14px !important; font-weight:700; text-decoration:none; width:auto !important; }
  .wl-cust-go:hover { filter:brightness(1.08); color:#fff; }
  body.pf-light .wl-cust-box { background:#fff; border-color:#e4e8ec; }
  body.pf-light .wl-cust-title { color:#1a1d21; }
  body.pf-light .wl-cust-txt { color:#5a6470; }
  body.pf-light .wl-cust-txt b { color:#1a1d21; }
  body.pf-light .wl-cust-close { color:#8b95a1; }
  body.pf-light .wl-user-menu #wlHubCustomizeBtn { background:#f1f3f5; }
  @media (max-width:600px){ .wl-user-name{ display:none; } }

/* =============================================================
   BARRE DE NAVIGATION MOBILE (style application) — bas d'écran
   Icônes blanches, onglet actif rouge, Publier = bouton central rouge.
   ============================================================= */
.wl-bottombar { display:none; }
@media (max-width:768px) {
  .wl-bottombar {
    display:flex;
    position:fixed; left:0; right:0; bottom:0; z-index:10003;
    background:rgba(16,16,20,.96);
    backdrop-filter:saturate(140%) blur(12px);
    -webkit-backdrop-filter:saturate(140%) blur(12px);
    border-top:1px solid rgba(255,255,255,.08);
    padding:8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
    /* align-items:center (pas flex-end) : la pastille « Publier » surélevée
       (margin-top négatif) ne doit pas gonfler la hauteur de la barre, sinon
       position:fixed bottom:0 se décale au scroll sur iOS Safari. */
    justify-content:space-around; align-items:center;
  }
  .wl-bn {
    flex:1 1 0; min-width:0;
    display:flex; flex-direction:column; align-items:center; gap:4px;
    text-decoration:none; color:#fff;            /* icônes + libellés blancs */
    font-size:10.5px; font-weight:600; line-height:1;
    padding:4px 2px; transition:color .15s;
    /* reset du style natif (l'onglet Publier est un <button>) */
    background:none; border:none; font-family:inherit; cursor:pointer; -webkit-appearance:none; appearance:none;
  }
  .wl-bn:focus { outline:none; }
  .wl-bn svg { width:23px; height:23px; }
  .wl-bn span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
  .wl-bn:not(.wl-bn-pub) { color:rgba(255,255,255,.92); }
  .wl-bn.active { color:var(--red); }            /* onglet courant en rouge */

  /* Bouton central « Publier » : pastille rouge surélevée */
  .wl-bn-pub { color:#fff; }
  .wl-bn-pub .wl-bn-pub-ic {
    display:flex; align-items:center; justify-content:center;
    width:48px; height:48px; margin-top:-22px; margin-bottom:1px;
    background:var(--red); border-radius:50%;
    box-shadow:0 6px 18px rgba(228,0,70,.45); border:3px solid rgba(16,16,20,.96);
    transition:transform .15s;
  }
  .wl-bn-pub .wl-bn-pub-ic svg { width:24px; height:24px; color:#fff; }
  .wl-bn-pub:active .wl-bn-pub-ic { transform:scale(.92); }

  /* Le contenu ne doit pas passer sous la barre */
  body { padding-bottom:calc(64px + env(safe-area-inset-bottom, 0px)); }

  /* Le bouton « Publier » du header est redondant avec la barre du bas → masqué */
  .wl-publish { display:none; }
}
/* Thème clair : barre adaptée */
@media (max-width:768px) {
  body.pf-light .wl-bottombar { background:rgba(255,255,255,.97); border-top-color:#e4e8ec; }
  body.pf-light .wl-bn, body.pf-light .wl-bn:not(.wl-bn-pub) { color:#3a4250; }
  body.pf-light .wl-bn.active { color:var(--red); }
  body.pf-light .wl-bn-pub .wl-bn-pub-ic { border-color:rgba(255,255,255,.97); }
}

/* --- Feuille de choix « Publier » (bottom sheet) --- */
.wl-pubsheet-ov {
  position:fixed; inset:0; z-index:1100;
  background:rgba(0,0,0,.55); opacity:0; transition:opacity .24s;
}
.wl-pubsheet-ov.open { opacity:1; }
.wl-pubsheet {
  position:fixed; left:0; right:0; bottom:0; z-index:1101;
  background:#1a1a20; border-radius:20px 20px 0 0;
  padding:10px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  transform:translateY(100%); transition:transform .26s cubic-bezier(.2,.8,.25,1);
  box-shadow:0 -12px 40px rgba(0,0,0,.5);
}
.wl-pubsheet.open { transform:translateY(0); }
.wl-pubsheet-grip { width:42px; height:5px; border-radius:99px; background:rgba(255,255,255,.22); margin:6px auto 14px; }
.wl-pubsheet-title { font-size:13px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:rgba(255,255,255,.45); padding:0 4px 12px; }
.wl-pubsheet-opt {
  display:flex; align-items:center; gap:14px;
  padding:14px 12px; border-radius:14px; text-decoration:none; color:#fff;
  transition:background .15s;
}
.wl-pubsheet-opt:active { background:rgba(255,255,255,.06); }
.wl-pubsheet-ic { flex-shrink:0; width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; }
.wl-pubsheet-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.wl-pubsheet-txt strong { font-size:16px; font-weight:700; }
.wl-pubsheet-txt small { font-size:12.5px; color:rgba(255,255,255,.5); }
.wl-pubsheet-chev { color:rgba(255,255,255,.3); flex-shrink:0; }
.wl-pubsheet-cancel {
  width:100%; margin-top:8px; padding:14px; border:none; border-radius:13px;
  background:rgba(255,255,255,.07); color:#fff; font-size:15px; font-weight:700;
  font-family:inherit; cursor:pointer;
}
.wl-pubsheet-cancel:active { background:rgba(255,255,255,.12); }
/* Thème clair */
body.pf-light .wl-pubsheet { background:#fff; }
body.pf-light .wl-pubsheet-grip { background:#d0d5da; }
body.pf-light .wl-pubsheet-opt { color:#13151a; }
body.pf-light .wl-pubsheet-opt:active { background:#f2f4f6; }
body.pf-light .wl-pubsheet-txt small { color:#8a929b; }
body.pf-light .wl-pubsheet-cancel { background:#f2f4f6; color:#13151a; }

/* =============================================
   LAURENCE PORTEIL — surcouche thème comédienne
   (typo à empattement sur les titres, sans toucher au socle EICAR)
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

.logo-name,
.hero-title,
.section-title {
  font-family: var(--font-title);
  letter-spacing: .2px;
}
.logo-name { font-weight: 600; text-transform: none; }
.logo-name .logo-plus { color: var(--red); font-weight: 700; }
.hero-title { font-weight: 700; }
.section-title { font-weight: 600; }
