.footer-top.cols-3 {
  grid-template-columns: 1.7fr 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
}
@media (max-width: 980px) {
  .footer-top.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-top.cols-3 {
    grid-template-columns: 1fr;
  }
}

.footer-col a.foot-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  line-height: 1.2;
}
.footer-col a.foot-link svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--gold-300);
  transition: color 0.3s var(--ease);
}
.footer-col a.foot-link:hover svg {
  color: var(--gold-400);
}
.footer-col a.foot-link span {
  padding: 0;
  display: inline-flex;
  align-items: center;
}

.footer-email {
  display: inline-block;
  margin-top: 14px;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.footer-email:hover {
  color: var(--gold-300);
}

.lex-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 6px;
}
.lex-flags img {
  width: 38px;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease);
}
.lex-flags img:hover {
  transform: translateY(-3px);
}

.section.follow { padding-block: clamp(40px, 7vw, 90px); }
.follow-panels {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start;
  gap: 20px; max-width: 900px; margin: 0 auto;
}
.follow-panel {
  flex: 1 1 320px; max-width: 440px; text-align: left;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface); padding: clamp(20px, 3vw, 28px);
}
.follow-panel-title {
  display: block; font-family: var(--f-title, serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--gold-200);
  margin-bottom: 18px; letter-spacing: 0.01em;
}
.social-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.02);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.social-pill .st-icon { width: 36px; height: 36px; }
.social-pill .st-label { font-size: 0.86rem; }
.social-pill:hover {
  transform: translateY(-2px); border-color: var(--gold-400);
  background: rgba(201, 150, 47, 0.08);
  box-shadow: 0 12px 26px -16px rgba(201, 150, 47, 0.55);
}
.social-pill:hover .st-icon {
  color: var(--gold-100); border-color: var(--gold-400);
  background: linear-gradient(160deg, rgba(201, 150, 47, 0.3), rgba(201, 150, 47, 0.06));
}
.social-pill:hover .st-label { color: var(--gold-100); }
@media (max-width: 620px) { .follow-panel { flex-basis: 100%; } }

.admin-icon-pick { display: flex; align-items: center; gap: 10px; }
.admin-icon-pick select { flex: 1; }
.admin-ico-preview {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--line, rgba(255,255,255,0.12));
  background: rgba(201, 150, 47, 0.08); color: var(--gold-200, #f3e2a8);
}
.admin-ico-preview svg { width: 20px; height: 20px; }
.admin-row-ico {
  display: grid; place-items: center; color: var(--gold-200, #f3e2a8);
  background: rgba(201, 150, 47, 0.08);
}
.admin-row-ico svg { width: 22px; height: 22px; }
.admin-row-url { font-size: 0.82rem; color: var(--ink-dim, #8792a6); word-break: break-all; }

.manifesto { padding-bottom: clamp(30px, 4vw, 64px); }
.section.values { padding-top: clamp(30px, 4vw, 64px); }

.hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); }
.hero h1 .hero-line { white-space: nowrap; }
@media (max-width: 768px) {
  .hero h1 .hero-line { white-space: normal; }
}

.cookie-banner {
  position: fixed;
  z-index: 1800;
  left: 50%;
  bottom: clamp(12px, 3vw, 24px);
  transform: translateX(-50%);
  width: min(720px, calc(100% - 24px));
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  padding: clamp(14px, 2.4vw, 20px) clamp(16px, 2.6vw, 24px);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--navy-850, #0a1736), var(--navy-950));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  animation: cookie-up 0.5s var(--ease) both;
}
@keyframes cookie-up {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.cookie-text {
  flex: 1;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.cookie-text a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-text a:hover { color: var(--gold-400); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex: none;
}
.cookie-btn {
  padding: 9px 18px;
  font-size: 0.86rem;
}
@media (max-width: 620px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
  .cookie-btn { flex: 1; }
}

.legal-hero {
  padding-top: clamp(120px, 17vw, 180px);
  padding-bottom: clamp(10px, 3vw, 30px);
  position: relative;
}
.legal-hero h1 {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-top: 0.35em;
  text-wrap: balance;
}

.legal-prose { max-width: 760px; }
.legal-prose .legal-meta {
  color: var(--ink-dim);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.8em;
}
.legal-prose h2 {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--gold-200);
  margin: 2em 0 0.6em;
}
.legal-prose p,
.legal-prose li {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}
.legal-prose ul {
  margin: 0.4em 0 0.6em;
  padding-inline-start: 1.2em;
}
.legal-prose li { margin-bottom: 0.5em; }
.legal-prose li::marker { color: var(--gold-400); }
.legal-prose strong { color: var(--ink); }
.legal-prose a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s var(--ease);
}
.legal-prose a:hover { color: var(--gold-400); }

.footer-legal-links {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--ink-dim);
  transition: color 0.3s var(--ease);
}
.footer-legal-links a:hover { color: var(--gold-300); }

.hero-carousel {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(6, 17, 41, 0.5);
  backdrop-filter: blur(6px);
  color: var(--gold-300);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
    background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hc-arrow svg {
  width: 26px;
  height: 26px;
}
.hc-arrow:hover {
  border-color: var(--gold-400);
  background: var(--gold-grad);
  color: var(--navy-950);
}
.hc-arrow-prev { left: clamp(12px, 3vw, 48px); }
.hc-arrow-next { right: clamp(12px, 3vw, 48px); }
.hc-arrow-prev:hover { transform: translateY(-50%) translateX(-3px); }
.hc-arrow-next:hover { transform: translateY(-50%) translateX(3px); }

.hc-viewport { overflow: hidden; width: 100%; }
.hc-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}
.hc-slide { flex: 0 0 100%; min-width: 0; }
.hc-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}

/* Les proportions par défaut mettent la pochette en valeur. La slide de marque
   reprend celles du hero d'origine : son titre est long et calibré large. */
.hc-slide-brand .hc-grid { grid-template-columns: 1.15fr 0.85fr; }
.hc-slide-brand .hc-title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
}
/* L'anneau de points et le halo ceinturent une pochette ronde de 368px. Sur la
   slide de marque (logo seul, plus petit), ils produisaient un glow diffus mal
   cadré, perçu comme une tache lumineuse. On les masque : le drop-shadow doré du
   logo suffit à donner un halo net qui l'épouse. Les slides podcast les gardent. */
.hc-slide-brand .hc-dots-deco,
.hc-slide-brand .hc-halo { display: none; }

.hc-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.hc-halo {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  /* Glow centré et symétrique tout autour de la pochette (évitait un blob décalé). */
  background: radial-gradient(circle at 50% 50%, rgba(220, 178, 89, 0.24), transparent 72%);
  filter: blur(20px);
}
.hc-dots-deco {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(var(--gold-400) 1.3px, transparent 1.5px);
  background-size: 15px 15px;
  /* Couronne fine juste à l'extérieur du disque (80% du visuel) : régulière tout autour. */
  -webkit-mask: radial-gradient(circle, transparent 79%, #000 80%, #000 88%, transparent 89%);
  mask: radial-gradient(circle, transparent 79%, #000 80%, #000 88%, transparent 89%);
  opacity: 0.32;
  animation: spin 90s linear infinite;
}
.hc-cover {
  position: relative;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(220, 178, 89, 0.22), transparent 55%),
    linear-gradient(150deg, var(--navy-700), var(--navy-950));
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-gold);
}
.hc-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Le micro de la slide de marque : pas de pochette ronde, l'image est détourée. */
.hc-mic {
  position: relative;
  width: 62%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(201, 150, 47, 0.35));
}
.hc-cover-ph {
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 9vw, 6rem);
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.hc-copy { position: relative; z-index: 2; }
.hc-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.hc-star { color: var(--gold-400); }
.hc-format {
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
}
.hc-title {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0.3em 0 0;
  text-wrap: balance;
}
.hc-rule {
  display: block;
  width: 64px;
  height: 2px;
  margin: 26px 0;
  background: var(--gold-grad);
  border-radius: 2px;
}
.hc-desc {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 46ch;
}
.hc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.2em;
}

.hc-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
  position: relative;
  z-index: 2;
}
.hc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hc-dot:hover { background: var(--gold-400); }
.hc-dot.on {
  background: var(--gold-grad);
  transform: scale(1.4);
}

@media (max-width: 860px) {
  .hc-grid,
  .hc-slide-brand .hc-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hc-copy { order: 2; }
  .hc-visual { order: 1; max-width: 320px; }
  .hc-tag, .hc-cta { justify-content: center; }
  .hc-rule { margin-inline: auto; }
  .hc-desc { margin-inline: auto; }
  .hc-arrow { width: 46px; height: 46px; }
  .hc-arrow svg { width: 20px; height: 20px; }
}

/* ============================================================
   PAGE PODCASTS (catalogue)
   ============================================================ */
.podcasts-hero {
  padding-top: clamp(120px, 16vw, 175px);
  padding-bottom: clamp(6px, 2vw, 18px);
}

.podcasts-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.podcasts-search {
  flex: 1 1 260px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.95rem;
}
.podcasts-search:focus { outline: none; border-color: var(--gold-400); }
.podcasts-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold-400); color: var(--gold-200); }
.chip.on { background: var(--gold-grad); color: var(--navy-950); border-color: transparent; }
.podcasts-count { color: var(--ink-dim); font-size: 0.85rem; margin-bottom: 22px; }
.podcasts-empty { color: var(--ink-soft); padding: 40px 0; text-align: center; }

.ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.ep-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 17, 41, 0.4);
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.ep-card:hover { border-color: var(--gold-400); transform: translateY(-4px); }
.ep-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 70% 20%, rgba(220, 178, 89, 0.2), transparent 55%),
    linear-gradient(150deg, var(--navy-700), var(--navy-950));
  overflow: hidden;
}
.ep-cover img { width: 100%; height: 100%; object-fit: cover; }
.ep-cover-ph {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ep-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--gold-200);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}
.ep-badge.up { color: var(--navy-950); background: var(--gold-grad); border-color: transparent; }
.ep-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ep-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.75rem; }
.ep-cat {
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ep-num, .ep-dur { color: var(--ink-dim); }
.ep-title { font-family: var(--f-editorial); font-weight: 600; font-size: 1.4rem; line-height: 1.15; }
.ep-guest { color: var(--gold-200); font-size: 0.92rem; }
.ep-desc { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.6; }
.ep-links { margin-top: auto; padding-top: 12px; }
.ep-links-label { display: block; font-size: 0.72rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.ep-links-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-plat {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--gold-300);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.ep-plat svg { width: 20px; height: 20px; }
.ep-plat:hover { border-color: var(--gold-400); color: var(--gold-400); background: rgba(220, 178, 89, 0.08); }

/* ============================================================
   PAGE ADMIN
   ============================================================ */
.admin {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 60px) var(--gutter) 80px;
}
.admin-top {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.admin-kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300); }
.admin-h1 { font-family: var(--f-editorial); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 4px; }
.admin-nav { display: flex; gap: 16px; }
.admin-nav a { color: var(--ink-soft); font-size: 0.9rem; transition: color 0.3s var(--ease); }
.admin-nav a:hover { color: var(--gold-300); }
.admin-flash {
  position: sticky;
  top: 12px;
  z-index: 5;
  margin-bottom: 18px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--gold-400);
  background: rgba(220, 178, 89, 0.14);
  color: var(--gold-100);
  font-weight: 600;
}
.admin-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(6, 17, 41, 0.5);
  padding: clamp(20px, 3vw, 30px);
  margin-bottom: 24px;
}
.admin-card > h2 { font-family: var(--f-editorial); font-weight: 600; font-size: 1.5rem; margin-bottom: 18px; }
.admin-subh { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-300); margin: 22px 0 12px; }
.admin-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.admin-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.admin-field > span { font-size: 0.82rem; color: var(--ink-soft); }
.admin-field input,
.admin-field select,
.admin-field textarea {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus { outline: none; border-color: var(--gold-400); }
.admin-field select option { background: var(--navy-900); }
.admin-lines { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.admin-line { display: flex; gap: 10px; }
.admin-line input { flex: 1; }
.admin-mini {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.admin-mini:hover { border-color: var(--gold-400); color: var(--gold-200); }
.admin-mini.danger:hover { border-color: #e0736a; color: #ff8a80; }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.admin-muted { color: var(--ink-dim); }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
}
.admin-row-thumb {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
  color: var(--gold-300);
  font-family: var(--f-display);
  font-size: 1.4rem;
}
.admin-row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.admin-row-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--ink-dim); }
.admin-tag { font-style: normal; padding: 2px 8px; border-radius: 100px; border: 1px solid var(--line); }
.admin-tag.s-published { color: #7ee0a8; border-color: rgba(126, 224, 168, 0.4); }
.admin-tag.s-upcoming { color: var(--gold-200); border-color: var(--gold-600); }
.admin-tag.s-draft { color: var(--ink-dim); }
.admin-row-actions { display: flex; gap: 8px; flex: none; }

.login-wrap {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--navy-850), var(--navy-950));
  box-shadow: var(--shadow-gold);
  padding: clamp(26px, 4vw, 38px);
}
.login-title {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin: 6px 0 22px;
}
.login-btn { width: 100%; justify-content: center; margin-top: 10px; }
.login-error { color: #ff8a80; font-size: 0.88rem; margin-top: 10px; }
.login-warn {
  color: var(--gold-200);
  font-size: 0.86rem;
  line-height: 1.5;
  border: 1px solid var(--gold-600);
  background: rgba(220, 178, 89, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.admin-logout {
  border: none;
  background: transparent;
  color: var(--ink-dim);
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.admin-logout:hover { color: #ff8a80; }

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 12px;
}
.admin-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.admin-tab:hover { border-color: var(--gold-400); color: var(--gold-200); }
.admin-tab.on { background: var(--gold-grad); color: var(--navy-950); border-color: transparent; }
.admin-tab-count {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.72rem;
}
.admin-tab.on .admin-tab-count { background: rgba(0, 0, 0, 0.18); }

.admin-hint { color: var(--ink-dim); font-size: 0.85rem; margin: -8px 0 16px; }

.admin-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin: 6px 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(220, 178, 89, 0.05);
  cursor: pointer;
}
.admin-check input { width: 18px; height: 18px; accent-color: var(--gold-400); margin-top: 2px; flex: none; }
.admin-check > span { display: flex; flex-direction: column; gap: 3px; font-size: 0.92rem; color: var(--ink); }
.admin-check small { color: var(--ink-dim); font-size: 0.8rem; }

.admin-tag.s-soldout { color: #ff8a80; border-color: rgba(224, 115, 106, 0.4); }

.admin-flash.err {
  border-color: #e0736a;
  background: rgba(224, 115, 106, 0.14);
  color: #ffb4ad;
}

/* ---- Import d'image ---- */
.img-upload { margin: 6px 0 18px; }
.img-upload-label { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 8px; }
.img-upload-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.img-upload-preview {
  width: 110px;
  height: 110px;
  flex: none;
  border-radius: 12px;
  border: 1px dashed var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink-dim);
  font-size: 0.75rem;
  text-align: center;
}
.img-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-upload-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.img-upload-size { font-size: 0.78rem; color: var(--ink-dim); }
.img-upload-error { color: #ff8a80; font-size: 0.82rem; margin-top: 8px; }

/* ---- Stock ---- */
.stock-list { display: flex; flex-direction: column; gap: 16px; }
.stock-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
}
.stock-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.stock-head-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.stock-step { display: flex; align-items: center; gap: 8px; flex: none; }
.stock-step span { font-size: 0.78rem; color: var(--ink-dim); }
.stock-step input {
  width: 64px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-family: inherit;
}
.stock-sizes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.stock-sizes.single { grid-template-columns: minmax(0, 220px); }
.stock-cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.stock-cell-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  text-transform: uppercase;
}
.stock-input {
  width: 100%;
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}
.stock-input:focus { outline: none; border-color: var(--gold-400); }
.stock-btns { display: flex; gap: 6px; width: 100%; }
.stock-btn {
  flex: 1;
  padding: 6px 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.stock-btn:hover:not(:disabled) { border-color: var(--gold-400); color: var(--gold-200); }
.stock-btn.add:hover { background: rgba(220, 178, 89, 0.12); }
.stock-btn:disabled { opacity: 0.35; cursor: not-allowed; }

@media (max-width: 760px) {
  .stock-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .admin-grid2 { grid-template-columns: 1fr; }
  .admin-row { flex-wrap: wrap; }
  .admin-row-actions { width: 100%; }
  .admin-tabs { gap: 6px; }
  .admin-tab { padding: 9px 13px; font-size: 0.8rem; }
}

/* ============================================================
   PAGE BOUTIQUE
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}
.prod-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 17, 41, 0.4);
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.prod-card:hover { border-color: var(--gold-400); transform: translateY(-4px); }
.prod-img {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(120% 120% at 70% 20%, rgba(220, 178, 89, 0.18), transparent 55%),
    linear-gradient(150deg, var(--navy-700), var(--navy-950));
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-img-ph {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 600;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.prod-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.6);
  color: #ff8a80;
  border: 1px solid rgba(224, 115, 106, 0.4);
  backdrop-filter: blur(4px);
}
.prod-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-cat {
  font-size: 0.72rem;
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prod-name { font-family: var(--f-editorial); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.prod-desc { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; }
.prod-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.prod-sizes-wrap { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.prod-sizes-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.prod-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0; }
.prod-size {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.prod-size:hover { border-color: var(--gold-400); color: var(--ink); }
.prod-size.on {
  border-color: transparent;
  background: var(--gold-grad);
  color: var(--navy-950);
}
.prod-price { font-family: var(--f-editorial); font-weight: 600; font-size: 1.35rem; color: var(--gold-200); }
.prod-buy { padding: 0.6em 1.3em; font-size: 0.85rem; }
.prod-buy:disabled { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.3); }

.cart-item-size {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold-200);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 2px 9px;
}

.admin-fee-note { color: var(--ink-dim); font-size: 0.82rem; }

/* ============================================================
   BLOC DE SOUTIEN + NEWSLETTER (fin de page)
   ============================================================ */
.support { position: relative; overflow: hidden; padding-block: clamp(70px, 11vw, 130px); }
.support-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
}
.support-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(4px);
}
.support-news { background: linear-gradient(155deg, rgba(220, 178, 89, 0.08), rgba(255, 255, 255, 0.01)); }
.support-title {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.06;
  margin: 0.15em 0 0;
  text-wrap: balance;
}
.support-sub { color: var(--ink-soft); margin: 0; max-width: 42ch; }
.support-col .btn { margin-top: auto; }

.support-plats { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 6px 0 4px; }
.support-plat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.support-plat:hover {
  border-color: var(--gold-400);
  background: rgba(220, 178, 89, 0.08);
  transform: translateX(3px);
}
[dir="rtl"] .support-plat:hover { transform: translateX(-3px); }
.support-plat-arrow { color: var(--gold-300); display: inline-flex; }

.news-form { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; margin-top: 4px; }
.news-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(6, 17, 41, 0.5);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.3s var(--ease);
}
.news-input:focus { outline: none; border-color: var(--gold-400); }
.news-btn { flex: 0 0 auto; }
.news-msg { margin: 4px 0 0; font-size: 0.9rem; color: var(--gold-200); }
.news-msg.err { color: #e9a4a4; }

@media (max-width: 820px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FORUM
   ============================================================ */
.forum-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.forum-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.forum-tab:hover { border-color: var(--gold-400); color: var(--ink); }
.forum-tab.on { border-color: transparent; background: var(--gold-grad); color: var(--navy-950); }
.forum-tab-lock { font-size: 0.8em; color: var(--gold-300); }
.forum-tab.on .forum-tab-lock { color: var(--navy-950); }

.forum-body { max-width: 760px; }
.forum-readonly {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(220, 178, 89, 0.06);
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.forum-empty { color: var(--ink-dim); padding: 24px 0; }

/* --- Formulaire visiteur --- */
.forum-composer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 26px);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 30px;
}
.forum-composer-row { display: flex; gap: 12px; flex-wrap: wrap; }
.forum-composer-row .forum-input { flex: 1 1 160px; }
.forum-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(6, 17, 41, 0.5);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.3s var(--ease);
}
.forum-input:focus { outline: none; border-color: var(--gold-400); }
.forum-textarea { resize: vertical; min-height: 84px; }
.forum-composer-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.forum-msg { font-size: 0.9rem; color: var(--gold-200); }
.forum-msg.err { color: #e9a4a4; }

/* --- Fil de messages --- */
.forum-thread { display: flex; flex-direction: column; gap: 14px; }
.fmsg {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.fmsg-admin { border-color: rgba(220, 178, 89, 0.4); background: rgba(220, 178, 89, 0.06); }
.fmsg-avatar {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-950);
  background: var(--gold-grad);
}
.fmsg-main { flex: 1; min-width: 0; }
.fmsg-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.fmsg-author { color: var(--ink); }
.fmsg-badge {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  color: var(--gold-200);
  border: 1px solid rgba(220, 178, 89, 0.4);
}
.fmsg-date { color: var(--ink-dim); font-size: 0.8rem; }
.fmsg-del {
  margin-inline-start: auto;
  color: #e9a4a4;
  font-size: 0.82rem;
  border: 1px solid transparent;
  transition: color 0.3s var(--ease);
}
.fmsg-del:hover { color: #f4bcbc; text-decoration: underline; }
.fmsg-body { color: var(--ink-soft); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

/* --- Sondage --- */
.poll { margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(6, 17, 41, 0.35); }
.poll-q { font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.poll-opts { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.poll-vote {
  width: 100%;
  text-align: start;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.poll-vote:hover { border-color: var(--gold-400); background: rgba(220, 178, 89, 0.08); }
.poll-res {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.poll-res-bar {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  background: rgba(220, 178, 89, 0.16);
  transition: width 0.5s var(--ease);
  z-index: 0;
}
.poll-res.mine { border-color: var(--gold-400); }
.poll-res.mine .poll-res-bar { background: rgba(220, 178, 89, 0.28); }
.poll-res-label { position: relative; z-index: 1; color: var(--ink); }
.poll-res-pct { position: relative; z-index: 1; margin-inline-start: auto; color: var(--gold-200); font-weight: 600; }
.poll-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 0.82rem; color: var(--ink-dim); }
.poll-err { color: #e9a4a4; }

/* --- Édition de sondage (admin) --- */
.admin-poll-edit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 6px;
}
.admin-poll-opt { display: flex; gap: 10px; align-items: center; }
.admin-poll-opt input {
  flex: 1;
  padding: 10px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(6, 17, 41, 0.5);
  color: var(--ink);
  font: inherit;
}
.admin-poll-opt input:focus { outline: none; border-color: var(--gold-400); }

.admin-nav-forum { color: var(--gold-300) !important; font-weight: 600; }

/* Aperçu du prix de vente calculé (formulaire produit admin) */
.admin-price-out { justify-content: flex-end; }
.admin-price-out strong {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold-200);
  padding: 8px 0;
}

/* ============================================================
   PANIER
   ============================================================ */
.cart-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.cart-btn:hover { border-color: var(--gold-400); color: var(--gold-200); }
.cart-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: var(--gold-grad);
  color: var(--navy-950);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(201, 150, 47, 0.4);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(3, 8, 22, 0);
  transition: background 0.35s var(--ease);
  display: flex;
  justify-content: flex-end;
}
.cart-overlay.on { background: rgba(3, 8, 22, 0.62); }
.cart-drawer {
  width: min(420px, 100%);
  height: 100%;
  background: linear-gradient(180deg, var(--navy-850, #0a1736), var(--navy-950));
  border-inline-start: 1px solid var(--line);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
[dir="rtl"] .cart-drawer { transform: translateX(-100%); }
.cart-drawer.on { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-family: var(--f-editorial); font-weight: 500; font-size: 1.5rem; }
.cart-close {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-soft); color: var(--ink-soft); font-size: 16px;
}
.cart-close:hover { color: var(--ink); border-color: var(--gold-400); }
.cart-empty { padding: 40px 24px; color: var(--ink-dim); }
.cart-items { list-style: none; margin: 0; padding: 10px 24px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: flex; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-item-thumb {
  flex: none; width: 60px; height: 60px; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: var(--navy-800); color: var(--gold-300); font-family: var(--f-editorial); font-size: 1.4rem;
}
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-item-main strong { color: var(--ink); }
.cart-item-price { color: var(--gold-200); font-weight: 600; }
.cart-qty { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.cart-qty button {
  width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line);
  color: var(--ink); background: rgba(255, 255, 255, 0.03); font-size: 15px; line-height: 1;
}
.cart-qty button:hover { border-color: var(--gold-400); }
.cart-qty > span { min-width: 20px; text-align: center; }
.cart-remove { margin-inline-start: auto; width: auto !important; padding: 0 6px; color: #e9a4a4 !important; font-size: 0.82rem; border: none !important; background: none !important; }
.cart-remove:hover { text-decoration: underline; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-total strong { font-family: var(--f-editorial); font-size: 1.5rem; color: var(--gold-200); }
.cart-pay { width: 100%; justify-content: center; }
.cart-note { font-size: 0.8rem; color: var(--ink-dim); text-align: center; margin: 0; }
.cart-error { color: #e9a4a4; font-size: 0.88rem; margin: 0; }

/* Pages résultat de paiement */
.pay-result { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: clamp(100px, 16vw, 180px) 0 80px; }
.pay-badge {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  font-size: 2.4rem; margin: 0 auto 24px; border: 2px solid;
}
.pay-badge.ok { color: var(--gold-200); border-color: var(--gold-400); background: rgba(220, 178, 89, 0.1); }
.pay-badge.ko { color: #e9a4a4; border-color: rgba(233, 164, 164, 0.5); background: rgba(233, 164, 164, 0.08); }
.pay-result h1 { font-family: var(--f-editorial); font-weight: 500; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 0.4em; }
.pay-result p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 2em; }
.pay-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Statut de synchro Stripe (formulaire produit admin) */
.admin-stripe-status strong {
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.86rem;
  color: var(--gold-200);
  font-weight: 600;
  padding: 12px 0;
  word-break: break-all;
}

/* ============================================================
   STATISTIQUES (panel admin)
   ============================================================ */
.stats-subtabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 22px; }
.stats-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.stats-panel-head .admin-hint { margin: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.stat-tile.accent {
  border-color: rgba(220, 178, 89, 0.4);
  background: linear-gradient(155deg, rgba(220, 178, 89, 0.1), rgba(255, 255, 255, 0.01));
}
.stat-tile-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.stat-tile-value {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-tile.accent .stat-tile-value { color: var(--gold-200); }
.stat-tile-note { font-size: 0.8rem; color: var(--ink-dim); }

/* Graphique CA 30 jours */
.stats-chart-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.stats-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.stats-chart-head strong { font-family: var(--f-editorial); font-size: 1.35rem; color: var(--gold-200); font-variant-numeric: tabular-nums; }
.stats-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 150px;
}
.stats-bar-wrap {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  min-width: 0;
}
.stats-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: var(--line);
  transition: background 0.2s var(--ease);
}
.stats-bar.has { background: var(--gold-grad); }
.stats-bar-wrap:hover .stats-bar { background: var(--gold-200); }
.stats-bar-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--navy-950);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}
.stats-bar-tip strong { color: var(--gold-200); font-size: 0.85rem; }
.stats-bar-tip span { color: var(--ink-dim); font-size: 0.72rem; }
.stats-chart-axis { display: flex; justify-content: space-between; margin-top: 8px; font-size: 0.74rem; color: var(--ink-dim); }

/* Placeholders des sources à connecter */
.stats-placeholder {
  text-align: center;
  padding: clamp(40px, 7vw, 70px) 24px;
  border-radius: 16px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.stats-placeholder-icon { color: var(--gold-400); font-size: 1.6rem; margin-bottom: 10px; }
.stats-placeholder h3 { font-family: var(--f-editorial); font-weight: 500; font-size: 1.4rem; margin-bottom: 10px; }
.stats-placeholder p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto; line-height: 1.6; }

/* Cartes réseaux sociaux (sous-onglet Stats) */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.social-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  min-height: 128px;
}
.social-card.on { border-color: rgba(220, 178, 89, 0.4); background: linear-gradient(155deg, rgba(220, 178, 89, 0.08), rgba(255, 255, 255, 0.01)); }
.social-card.err { border-color: rgba(233, 164, 164, 0.35); }
.social-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 4px;
}
.social-followers {
  font-family: var(--f-editorial);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  color: var(--gold-200);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.social-followers-label { font-size: 0.8rem; color: var(--ink-dim); }
.social-metrics { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.82rem; color: var(--ink-soft); }
.social-status { font-size: 0.9rem; margin-top: auto; }
.social-status.muted { color: var(--ink-dim); }
.social-status.err { color: #e9a4a4; word-break: break-word; }

.cart-vat { margin: -4px 0 4px; font-size: 0.78rem; color: var(--ink-dim); text-align: end; }

/* Interrupteurs des réglages (panel admin) */
.settings-toggles { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.settings-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.settings-toggle-label { flex: 1; font-weight: 600; color: var(--ink); }
.settings-toggle-state { font-size: 0.82rem; color: var(--ink-dim); min-width: 74px; text-align: end; }
.switch {
  position: relative;
  width: 48px;
  height: 27px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  flex: none;
}
.switch.on { background: var(--gold-grad); border-color: transparent; }
.switch:disabled { opacity: 0.5; cursor: default; }
.switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.switch.on .switch-knob { transform: translateX(21px); background: var(--navy-950); }

/* Stats site web : listes top pages / sources */
.stats-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.stats-two-col .admin-card { margin: 0; }
.web-path {
  font-family: var(--f-mono, ui-monospace, monospace);
  font-size: 0.86rem;
  color: var(--ink);
  word-break: break-all;
}
.web-metric { color: var(--gold-200); font-size: 0.86rem; white-space: nowrap; }
@media (max-width: 720px) { .stats-two-col { grid-template-columns: 1fr; } }

.web-devices { margin-top: 16px; color: var(--ink-dim); font-size: 0.86rem; }

/* ============================================================
   ÉDITEUR RICHE (admin transcriptions)
   ============================================================ */
.rich { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(6, 17, 41, 0.4); margin: 6px 0 4px; }
.rich-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
  padding: 8px 10px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.rich-btn {
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: var(--ink); font-size: 0.9rem; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.rich-btn:hover { border-color: var(--gold-400); background: rgba(220, 178, 89, 0.08); }
.rich-select {
  height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(6, 17, 41, 0.6); color: var(--ink); font: inherit; font-size: 0.85rem; padding: 0 6px; cursor: pointer;
}
.rich-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.rich-content {
  min-height: 300px; max-height: 60vh; overflow-y: auto;
  padding: 18px 20px; color: var(--ink-soft); outline: none;
}
.rich-content:focus { box-shadow: inset 0 0 0 1px rgba(220, 178, 89, 0.3); }
.rich-content:empty::before { content: "Écris ta transcription ici…"; color: var(--ink-dim); }

/* ============================================================
   PAGE DÉTAIL PODCAST + TRANSCRIPTION + SUGGESTION
   ============================================================ */
.pd-hero { padding-top: clamp(110px, 15vw, 160px); padding-bottom: clamp(20px, 4vw, 40px); }
.pd-back {
  display: inline-block; margin-bottom: 24px; color: var(--ink-soft);
  font-size: 0.9rem; transition: color 0.3s var(--ease);
}
.pd-back:hover { color: var(--gold-300); }
.pd-head { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.pd-cover {
  position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--navy-800);
  display: grid; place-items: center; box-shadow: var(--shadow-gold);
}
.pd-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-cover-ph { font-family: var(--f-editorial); font-size: 4rem; color: var(--gold-300); }
.pd-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.pd-title { font-family: var(--f-editorial); font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; margin: 0 0 0.3em; text-wrap: balance; }
.pd-guest { color: var(--gold-200); font-weight: 600; margin-bottom: 0.8em; }
.pd-desc { color: var(--ink-soft); line-height: 1.7; max-width: 60ch; }
.pd-section-title { font-family: var(--f-editorial); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 0.8em; }
.pd-transcript .wrap { max-width: 820px; }
.transcript-prose :where(font[size="6"]) { font-size: 1.6em; }
.transcript-prose :where(font[size="5"]) { font-size: 1.3em; }
.transcript-prose :where(font[size="2"]) { font-size: 0.85em; }
.transcript-prose blockquote {
  border-inline-start: 3px solid var(--gold-400);
  padding-inline-start: 16px; margin: 1.2em 0; color: var(--ink); font-style: italic;
}

.pd-suggestion .wrap { max-width: 820px; }
.pd-sugg-card {
  display: flex; align-items: center; gap: 18px; padding: 16px 18px;
  border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.pd-sugg-card:hover { border-color: var(--gold-400); background: rgba(220, 178, 89, 0.06); transform: translateY(-2px); }
.pd-sugg-cover {
  flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--navy-800); display: grid; place-items: center;
}
.pd-sugg-cover img { width: 100%; height: 100%; object-fit: cover; }
.pd-sugg-cover .pd-cover-ph { font-size: 1.8rem; }
.pd-sugg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pd-sugg-title { font-family: var(--f-editorial); font-weight: 500; font-size: 1.3rem; color: var(--ink); }
.pd-sugg-guest { color: var(--ink-dim); font-size: 0.9rem; }
.pd-sugg-arrow { color: var(--gold-300); font-size: 1.4rem; flex: none; }

/* Titre de carte du catalogue : lien discret */
.ep-title a { color: inherit; }
.ep-title a:hover { color: var(--gold-200); }
a.ep-cover { display: block; }

@media (max-width: 720px) {
  .pd-head { grid-template-columns: 1fr; }
  .pd-cover { max-width: 260px; }
}

/* Commentaires en bas de page podcast (réutilise le style du forum) */
.pd-comments-sub{ margin: 6px 0 22px; color: var(--muted, #9fb0c3); max-width: 60ch; }
.pd-comments .forum-body{ margin-top: 6px; }

/* Journal des connexions admin (Réglages) */
.authlog-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.authlog-head h2{ margin:0; }
.authlog-empty{ color:var(--muted,#9fb0c3); margin:8px 0 0; }
.authlog-table-wrap{ overflow-x:auto; margin-top:14px; }
.authlog-table{ width:100%; border-collapse:collapse; font-size:.92rem; }
.authlog-table th, .authlog-table td{ text-align:left; padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.08); white-space:nowrap; }
.authlog-table th{ font-weight:600; color:var(--muted,#9fb0c3); font-size:.8rem; text-transform:uppercase; letter-spacing:.04em; }
.authlog-table tr.fail td{ background:rgba(220,80,80,.06); }
.authlog-ip{ font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.authlog-badge{ display:inline-block; padding:2px 10px; border-radius:999px; font-size:.78rem; font-weight:600; }
.authlog-badge.ok{ background:rgba(70,180,120,.18); color:#7fd6a6; }
.authlog-badge.fail{ background:rgba(220,90,90,.18); color:#f0a0a0; }
.authlog-reason{ color:var(--muted,#9fb0c3); font-size:.85rem; }
