/* ============================================================
   MABOUTIQUE IA — Refonte A+B (octobre 2026)
   Clair « Apple » (fond en dégradé, grands titres, pilules bleues)
   + bande nuit « Linear » (halos violets, palette de commande).
   Chargé après app.css : redéfinit les jetons et habille l'en-tête,
   le pied de page, l'accueil (.h-*) et les écrans de connexion.
   ============================================================ */

:root {
  --ink: #1d1d1f;
  --ink-2: #4a4a55;          /* texte secondaire, 8:1 sur le fond */
  --ink-3: #5f5d70;          /* légendes, ≥ 5:1 */
  --blue: #0071e3;           /* action principale uniquement */
  --blue-hover: #0062c4;
  --link: #0060c0;
  --violet: #6b5cff;
  --night: #0d0b1c;
  --night-2: #16132b;
  --night-ink: #ecebf5;
  --night-ink-2: #b4b0c9;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --hair: rgba(29, 29, 31, 0.08);
  --r-card: 28px;
  --r-tile: 22px;
  --font-display: 'Poppins', system-ui, sans-serif;
  --page-bg:
    radial-gradient(1200px 700px at 82% -6%, rgba(201, 89, 221, 0.20), transparent 60%),
    radial-gradient(900px 620px at 6% 10%, rgba(8, 148, 255, 0.18), transparent 60%),
    radial-gradient(1000px 700px at 70% 55%, rgba(255, 144, 3, 0.10), transparent 60%),
    radial-gradient(900px 700px at 8% 92%, rgba(124, 108, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #eef1fb 0%, #f3eefa 40%, #f8f0ec 72%, #eef1fb 100%);

  /* Jetons d'app.css réalignés sur la refonte */
  --color-bg: #f1f0fa;
  --color-bg-elevated: rgba(255, 255, 255, 0.7);
  --color-bg-sunken: rgba(29, 29, 31, 0.05);
  --color-bg-glass: rgba(255, 255, 255, 0.7);
  --color-text: var(--ink);
  --color-text-secondary: var(--ink-2);
  --color-text-tertiary: var(--ink-3);
  --color-primary: var(--blue);
  --color-primary-hover: var(--blue-hover);
  --color-primary-light: rgba(0, 113, 227, 0.12);
  --color-primary-subtle: rgba(0, 113, 227, 0.07);
  --color-border: rgba(29, 29, 31, 0.12);
  --color-border-light: rgba(29, 29, 31, 0.06);
  --color-border-focus: var(--blue);
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 18px 40px -24px rgba(40, 30, 110, 0.28);
  --shadow-card-hover: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 28px 60px -26px rgba(40, 30, 110, 0.4);
}

html { background: #eef1fb; }
body {
  background: var(--page-bg);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(107, 92, 255, 0.28); color: var(--ink); }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 2px; border-radius: 8px; }
a { text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

h1, h2, h3, .h-title { font-family: var(--font-display); }

/* ------------------------------------------------------------
   En-tête : barre nuit flottante en pilule
   ------------------------------------------------------------ */
.site-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 12px 16px 0;
  backdrop-filter: none !important;
}
.site-header .header-inner {
  max-width: 1160px;
  height: 60px;
  margin: 0 auto;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  background: rgba(18, 16, 36, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 16px 40px -20px rgba(18, 12, 60, 0.55);
  transition: background 0.3s ease;
}
.site-header.scrolled .header-inner { background: rgba(14, 12, 30, 0.92); }
.site-header .logo { color: #fff; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
.site-header .logo span { color: #fff; }
.logo-crown {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}
.logo-text { font-size: 15px; line-height: 1; }
.logo-text small { display: block; font-size: 11px; font-weight: 500; color: rgba(236, 235, 245, 0.7); margin-top: 3px; letter-spacing: 0.02em; }
.site-header .nav-link { color: rgba(236, 235, 245, 0.78); font-size: 14px; border-radius: 999px; }
.site-header .nav-link:hover,
.site-header .nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.site-header .cart-btn,
.site-header .mobile-menu-btn { color: #fff; background: rgba(255, 255, 255, 0.08); border-color: transparent; min-width: 44px; min-height: 44px; }
.site-header .cart-btn:hover,
.site-header .mobile-menu-btn:hover { background: rgba(255, 255, 255, 0.16); }
.site-header .btn-ghost { color: rgba(236, 235, 245, 0.85); min-height: 44px; }
.site-header .btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.site-header .btn-primary { border-radius: 999px; background: var(--blue); min-height: 40px; }
.site-header .btn-primary:hover { background: var(--blue-hover); }
/* Menu mobile : carte nuit flottante sous la pilule */
.mm-bar { transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease; transform-origin: 12px 12px; }
.mobile-menu-btn[aria-expanded="true"] .mm-bar-1 { transform: translateY(5px) rotate(45deg); }
.mobile-menu-btn[aria-expanded="true"] .mm-bar-2 { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] .mm-bar-3 { transform: translateY(-5px) rotate(-45deg); }

.site-header .header-inner { position: relative; z-index: 270; }
.nav-mobile-overlay { background: rgba(8, 6, 20, 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.nav-mobile {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  top: 80px;
  left: 12px;
  right: 12px;
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(30, 26, 58, 0.96), rgba(13, 11, 28, 0.97)) !important;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 30px 60px -24px rgba(8, 6, 30, 0.75);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.28s;
}
.nav-mobile.active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}
.nm-links { display: flex; flex-direction: column; gap: 2px; }
.nm-link {
  display: flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 6px 12px 6px 8px;
  border-radius: 16px;
  color: var(--night-ink); font-size: 16px; font-weight: 500; text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}
.nm-link:hover, .nm-link:focus-visible { background: rgba(255, 255, 255, 0.06); color: #fff; }
.nm-link:active { background: rgba(255, 255, 255, 0.1); }
.nm-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06); color: rgba(236, 235, 245, 0.85);
}
.nm-label { flex: 1; }
.nm-chev { color: rgba(236, 235, 245, 0.35); transition: transform 0.18s ease; }
.nm-link:hover .nm-chev { transform: translateX(2px); }
.nm-link.is-current { background: rgba(107, 92, 255, 0.16); color: #fff; }
.nm-link.is-current .nm-ico { background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; }
.nm-actions { display: flex; gap: 8px; padding: 10px 2px 2px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.nm-btn {
  flex: 1; min-height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: background 0.18s ease;
}
.nm-btn-ghost { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nm-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.nm-btn-primary { color: #fff; background: var(--blue); }
.nm-btn-primary:hover { background: var(--blue-hover); }

/* Entrée en cascade des liens */
.nav-mobile .nm-link, .nav-mobile .nm-actions { opacity: 0; transform: translateY(-4px); transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.18s ease, color 0.18s ease; }
.nav-mobile.active .nm-link, .nav-mobile.active .nm-actions { opacity: 1; transform: none; }
.nav-mobile.active .nm-link:nth-child(2) { transition-delay: 30ms; }
.nav-mobile.active .nm-link:nth-child(3) { transition-delay: 60ms; }
.nav-mobile.active .nm-link:nth-child(4) { transition-delay: 90ms; }
.nav-mobile.active .nm-link:nth-child(5) { transition-delay: 120ms; }
.nav-mobile.active .nm-link:nth-child(6) { transition-delay: 150ms; }
.nav-mobile.active .nm-actions { transition-delay: 180ms; }
.nav-mobile.active .nm-link:hover { transition-delay: 0s; }

@media (min-width: 769px) { .nav-mobile, .nav-mobile-overlay { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .mm-bar, .nav-mobile, .nav-mobile.active, .nav-mobile .nm-link, .nav-mobile .nm-actions { transition: none !important; transform: none !important; }
}

/* ------------------------------------------------------------
   Boutons
   ------------------------------------------------------------ */
.btn { border-radius: 999px; }
.btn-primary { background: var(--blue); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1 var(--font-sans, Poppins, system-ui, sans-serif);
  text-decoration: none; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.h-btn:active { transform: scale(0.97); }
.h-btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 113, 227, 0.7); }
.h-btn-primary:hover { background: var(--blue-hover); color: #fff; }
.h-btn-ghost { border-color: rgba(29, 29, 31, 0.8); color: var(--ink); background: transparent; }
.h-btn-ghost:hover { background: var(--ink); color: #fff; }
.h-btn-light { background: #f4f3fb; color: var(--night); }
.h-btn-light:hover { background: #fff; color: var(--night); }
.h-btn-block { width: 100%; }

.h-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--link); font-weight: 500; text-decoration: none;
}
.h-link svg { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.h-link:hover svg, a:hover > .h-link svg { transform: translateX(4px); }

/* ------------------------------------------------------------
   Gabarit et titres de l'accueil
   ------------------------------------------------------------ */
.h-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.h-wrap-narrow { max-width: 760px; }
.h-section { padding: clamp(72px, 10vw, 128px) 0 0; }
.h-title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.h-title span { color: #6e6a86; }
.h-title-light { color: #fff; }
.h-title-light span { color: #9f9ab8; }
.h-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.h-sub { margin: 72px 0 0; font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; }

/* ------------------------------------------------------------
   Ouverture
   ------------------------------------------------------------ */
.h-hero { padding: clamp(56px, 9vw, 104px) 0 0; text-align: center; }
.h-hero-title {
  margin: 0 auto;
  max-width: 15ch;
  font-weight: 600;
  font-size: clamp(2.7rem, 8vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h-hero-title span { color: #5a4bd6; }
.h-hero-lead {
  margin: 22px auto 0; max-width: 34em;
  font-size: clamp(1.06rem, 2.2vw, 1.3rem); line-height: 1.5; color: var(--ink-2);
}
.h-hero-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.h-hero-note { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }

/* Palette de commande — le trouveur de solution */
.h-finder {
  margin: 36px auto 0; max-width: 700px; text-align: left;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 19, 43, 0.96), rgba(13, 11, 28, 0.96));
  color: var(--night-ink);
  box-shadow: 0 40px 90px -30px rgba(70, 48, 190, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}
.h-finder-bar { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.h-finder-bar svg { color: var(--night-ink-2); flex-shrink: 0; }
.h-finder-bar input {
  flex: 1; min-width: 0; height: 48px;
  background: transparent; border: 0; outline: none;
  color: #fff; font: 400 17px/1.2 Poppins, system-ui, sans-serif;
}
.h-finder-bar input::placeholder { color: #8f8aa8; }
.h-finder-bar button {
  height: 44px; padding: 0 18px; border: 0; border-radius: 14px;
  background: rgba(255, 255, 255, 0.1); color: #fff; font: 500 15px/1 Poppins, system-ui, sans-serif; cursor: pointer;
}
.h-finder-bar button:hover { background: var(--blue); }
.h-finder-list { list-style: none; margin: 0; padding: 8px; }
.h-finder-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 10px 14px; border-radius: 14px;
  color: #d9d6e8; text-decoration: none; font-size: 15px;
  transition: background 0.18s ease, color 0.18s ease;
}
.h-finder-row:hover, .h-finder-row:focus-visible, .h-finder-row.is-active {
  background: linear-gradient(90deg, rgba(8, 148, 255, 0.22), rgba(107, 92, 255, 0.2));
  color: #fff;
}
.h-finder-kind {
  flex-shrink: 0; width: 84px;
  font-size: 12px; font-weight: 600; color: #a99dff;
}
.h-finder-label { flex: 1; min-width: 0; }
.h-finder-meta { flex-shrink: 0; font-size: 13px; color: #8f8aa8; }

/* ------------------------------------------------------------
   Aperçu de formation
   ------------------------------------------------------------ */
.h-preview { padding-top: clamp(56px, 8vw, 88px); }
.h-preview-shell {
  display: flex; flex-wrap: wrap; gap: 22px; padding: 22px;
  border-radius: 36px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 40px 80px -40px rgba(40, 30, 110, 0.35);
}
.h-player {
  position: relative; flex: 999 1 520px; min-width: 0;
  aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  background: #14142b; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between; padding: 24px;
}
.h-player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-player::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(8, 148, 255, 0.22) 0%, rgba(107, 92, 255, 0.22) 40%, rgba(12, 10, 30, 0.88) 100%);
}
.h-player > *:not(img) { position: relative; z-index: 1; }
.h-player-top { font-size: 13px; color: rgba(255, 255, 255, 0.9); }
.h-player-bottom { display: flex; align-items: center; gap: 16px; }
.h-play {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px);
}
.h-player-title { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.h-player-sub { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.h-player-progress { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.h-player-progress span { display: block; width: 38%; height: 100%; background: #fff; border-radius: 4px; }
.h-steps { flex: 1 1 280px; list-style: none; margin: 0; padding: 4px 0; display: flex; flex-direction: column; gap: 10px; }
.h-steps li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 15px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.55);
  font-size: 15px;
}
.h-steps em { font-style: normal; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.h-steps .is-done em { color: #13784a; }
.h-steps .is-current { background: linear-gradient(90deg, rgba(8, 148, 255, 0.16), rgba(107, 92, 255, 0.2)); font-weight: 600; }
.h-steps li:not(.is-done):not(.is-current) { background: rgba(255, 255, 255, 0.3); color: var(--ink-2); }

/* ------------------------------------------------------------
   Problèmes → réponses : grandes lignes, pas une grille de cartes
   ------------------------------------------------------------ */
.h-problems { margin-top: 40px; border-top: 1px solid var(--hair); }
.h-problem {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 12px 40px; align-items: center;
  padding: 30px 8px; border-bottom: 1px solid var(--hair);
  color: inherit; text-decoration: none;
  transition: background 0.25s ease, padding 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
}
.h-problem:hover { background: rgba(255, 255, 255, 0.45); padding-left: 20px; padding-right: 20px; }
.h-problem-q { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.h-problem-a { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.h-problem .h-link { white-space: nowrap; }

/* ------------------------------------------------------------
   Bande nuit — IA, Claude, skills
   ------------------------------------------------------------ */
.h-night {
  margin-top: clamp(80px, 11vw, 136px);
  padding: clamp(72px, 10vw, 120px) 0;
  color: var(--night-ink);
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(124, 92, 255, 0.45), transparent 70%),
    radial-gradient(700px 500px at 96% 80%, rgba(46, 196, 255, 0.16), transparent 70%),
    radial-gradient(700px 500px at 0% 90%, rgba(201, 89, 221, 0.18), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #08070f 100%);
}
.h-night-lead { margin: 18px 0 0; max-width: 40em; font-size: 18px; line-height: 1.55; color: var(--night-ink-2); }
.h-bento { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }
.h-tile {
  flex: 1 1 280px; min-width: 0;
  padding: 28px; border-radius: var(--r-tile);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}
.h-tile h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.h-tile p { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--night-ink-2); }
.h-tile strong { color: #fff; font-weight: 600; }
.h-tile-claude {
  flex: 2 1 520px;
  background:
    radial-gradient(520px 280px at 90% 100%, rgba(217, 119, 87, 0.26), transparent 70%),
    radial-gradient(420px 240px at 0% 0%, rgba(124, 92, 255, 0.24), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
}
.h-tile-wide { flex: 2 1 520px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.h-tile-wide .h-btn { margin-top: 22px; }
.h-term {
  margin-top: 22px; border-radius: 14px; overflow: hidden;
  background: rgba(5, 4, 12, 0.7); border: 1px solid rgba(255, 255, 255, 0.08);
}
.h-term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.h-term-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.h-term-bar b { margin-left: auto; font-size: 12px; font-weight: 500; color: #8f8aa8; }
.h-term pre { margin: 0; padding: 16px; overflow-x: auto; }
.h-term code { font: 400 13.5px/1.8 'JetBrains Mono', ui-monospace, Consolas, monospace; color: #d9d6e8; white-space: pre; }
.h-term i { font-style: normal; color: #a99dff; }
.h-term em { font-style: normal; color: #6ee7b7; }

/* ------------------------------------------------------------
   Catalogue
   ------------------------------------------------------------ */
/* « section nav » d'app.css (menu de l'espace client) empile les liens : on le neutralise ici */
section nav.h-chips { margin-top: 28px; display: flex; flex-direction: row; gap: 8px; flex-wrap: wrap; }
section nav.h-chips a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.6); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
section nav.h-chips a:hover { background: #fff; color: var(--ink); border-color: rgba(255, 255, 255, 0.8); transform: none; }
.h-chips span { font-size: 13px; color: var(--ink-3); }
.h-products { margin-top: 28px; }
.h-empty {
  margin-top: 28px; padding: 40px 28px; border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.5); text-align: center;
}
.h-empty p { margin: 0 0 18px; font-size: 18px; color: var(--ink-2); }

/* Cartes produit (composant partagé) */
.product-card {
  border-radius: var(--r-card) !important;
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(14px);
  overflow: hidden;
}
.product-card-media { border-radius: 0; }
.product-card-placeholder { background: linear-gradient(135deg, #e4e6fb, #efe4f6 55%, #f8e9df) !important; color: #6b5cff; }
.pc-title { font-family: var(--font-display); letter-spacing: -0.01em; }

/* ------------------------------------------------------------
   Services et réalisations
   ------------------------------------------------------------ */
.h-services-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.h-services-copy { flex: 1 1 420px; min-width: 0; }
.h-services-copy > p { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 34em; }
.h-services-list { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.h-services-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.h-services-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8fb8ff, #6b5cff);
}
.h-services-photo { flex: 1 1 380px; min-width: 0; margin: 0; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 40px 80px -40px rgba(40, 30, 110, 0.45); }
.h-services-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-work { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; }
.h-work a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 18px 4px; border-bottom: 1px solid var(--hair);
  color: inherit; text-decoration: none;
}
.h-work strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.h-work span { color: var(--ink-3); font-size: 14px; }
.h-work svg { color: var(--ink-3); align-self: center; transition: transform 0.2s ease, color 0.2s ease; }
.h-work a:hover svg { transform: translate(2px, -2px); color: var(--link); }

/* ------------------------------------------------------------
   Étapes
   ------------------------------------------------------------ */
.h-how { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.h-how li { padding: 28px; border-radius: var(--r-card); }
.h-how li:nth-child(1) { background: linear-gradient(160deg, rgba(8, 148, 255, 0.16), rgba(255, 255, 255, 0.5)); }
.h-how li:nth-child(2) { background: linear-gradient(160deg, rgba(107, 92, 255, 0.18), rgba(255, 255, 255, 0.5)); }
.h-how li:nth-child(3) { background: linear-gradient(160deg, rgba(201, 89, 221, 0.18), rgba(255, 255, 255, 0.5)); }
.h-how b {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 600 16px/1 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.h-how h3 { margin: 18px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
.h-how p { margin: 8px 0 0; color: var(--ink-2); line-height: 1.55; }

/* ------------------------------------------------------------
   FAQ
   ------------------------------------------------------------ */
.h-faq { margin-top: 32px; }
.h-faq .accordion-item {
  border: 0 !important; border-radius: 20px; margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.55); overflow: hidden;
}
.h-faq .accordion-trigger { min-height: 60px; padding: 18px 22px; font-size: 17px; font-weight: 600; color: var(--ink); }
.h-faq .accordion-body { padding: 0 22px 20px; color: var(--ink-2); line-height: 1.6; }

/* ------------------------------------------------------------
   Clôture newsletter (nuit)
   ------------------------------------------------------------ */
#newsletter { padding-bottom: clamp(72px, 10vw, 120px); }
.h-close {
  padding: clamp(44px, 7vw, 72px) clamp(20px, 5vw, 56px);
  border-radius: 36px; text-align: center; color: var(--night-ink);
  background:
    radial-gradient(600px 320px at 15% 0%, rgba(8, 148, 255, 0.38), transparent 70%),
    radial-gradient(600px 320px at 85% 100%, rgba(201, 89, 221, 0.38), transparent 70%),
    linear-gradient(135deg, var(--night-2), var(--night));
}
.h-close h2 { margin: 0; font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 600; letter-spacing: -0.022em; color: #fff; text-wrap: balance; }
.h-close > p { margin: 14px auto 0; max-width: 32em; font-size: 18px; color: var(--night-ink-2); }
.h-close-form { margin: 30px auto 0; max-width: 540px; }
.h-close-row { display: flex; gap: 10px; flex-wrap: wrap; }
.h-close-row input {
  flex: 1 1 240px; min-width: 0; height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08);
  color: #fff; font: 400 17px/1 Poppins, system-ui, sans-serif;
}
.h-close-row input::placeholder { color: #9f9ab8; }
.h-close-row .h-btn { height: 52px; flex: 0 0 auto; }
.h-close-consent { margin-top: 16px; display: inline-flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--night-ink-2); text-align: left; cursor: pointer; }
.h-close-consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--blue); flex-shrink: 0; }

/* ------------------------------------------------------------
   Connexion / inscription
   ------------------------------------------------------------ */
.h-auth { padding: clamp(28px, 6vw, 64px) 16px clamp(56px, 8vw, 96px); }
.h-auth-shell {
  max-width: 1040px; margin: 0 auto;
  display: flex; flex-wrap: wrap;
  border-radius: 36px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 50px 100px -50px rgba(40, 30, 110, 0.45);
}
.h-auth-side {
  position: relative; flex: 1 1 380px; min-height: 260px;
  display: flex; align-items: flex-end; padding: 32px; color: #fff; overflow: hidden;
  background: var(--night);
}
.h-auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-auth-side::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(190deg, rgba(8, 148, 255, 0.18) 0%, rgba(107, 92, 255, 0.3) 45%, rgba(10, 8, 24, 0.92) 100%);
}
.h-auth-side-copy { position: relative; z-index: 1; }
.h-auth-quote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; max-width: 18em; }
.h-auth-side ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.h-auth-side li { position: relative; padding-left: 22px; }
.h-auth-side li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: #8fb8ff; }
.h-auth-main { flex: 1 1 420px; min-width: 0; padding: clamp(28px, 5vw, 56px); }
.h-auth-main h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 2.75rem); font-weight: 600; letter-spacing: -0.022em; line-height: 1.05; }
.h-auth-lead { margin: 10px 0 0; font-size: 17px; color: var(--ink-2); }
.h-auth-form { margin-top: 28px; display: flex; flex-direction: column; gap: 18px; }
.h-auth-form.ck-form-grid { display: grid; }
.h-field label, .h-auth .ck-form-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.h-field-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.h-field-row a { font-size: 14px; color: var(--link); margin-bottom: 8px; }
.h-field input, .h-auth .ck-form-input, .h-auth select {
  width: 100%; height: 52px; padding: 0 18px; border-radius: 16px;
  border: 1px solid rgba(29, 29, 31, 0.14); background: rgba(255, 255, 255, 0.85);
  font: 400 17px/1 Poppins, system-ui, sans-serif; color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.h-field input:focus, .h-auth .ck-form-input:focus, .h-auth select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
}
.h-auth .ck-password-toggle { min-width: 44px; min-height: 44px; }
.h-auth-form .h-btn { margin-top: 6px; height: 54px; font-size: 17px; }
.h-auth-switch { margin: 24px 0 0; font-size: 15px; color: var(--ink-2); }
.h-auth-switch a { color: var(--link); font-weight: 600; }

/* ------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------ */
.site-footer {
  margin-top: 0;
  color: var(--night-ink-2);
  background:
    radial-gradient(700px 360px at 85% 0%, rgba(124, 92, 255, 0.28), transparent 70%),
    radial-gradient(600px 360px at 0% 100%, rgba(8, 148, 255, 0.14), transparent 70%),
    linear-gradient(180deg, var(--night-2), #07060d) !important;
}
.site-footer::before { display: none !important; }
.site-footer .logo { color: #fff !important; }
.site-footer .footer-title { color: #fff; font-family: var(--font-display); }
.site-footer a { color: var(--night-ink-2); }
.site-footer a:hover { color: #fff; }
.site-footer .badge-neutral { background: rgba(255, 255, 255, 0.08); color: var(--night-ink); border-color: transparent; }

/* ------------------------------------------------------------
   Petits écrans
   ------------------------------------------------------------ */
@media (max-width: 760px) {
  .site-header { padding: 8px 10px 0; }
  .site-header .header-inner { height: 56px; padding: 0 6px 0 8px; }
  .logo-text small { display: none; }
  .h-finder-kind { width: auto; min-width: 64px; }
  .h-finder-meta { display: none; }
  .h-finder-bar button { padding: 0 14px; }
  .h-preview-shell { padding: 12px; border-radius: 28px; }
  .h-player { padding: 16px; border-radius: 20px; aspect-ratio: 4 / 3; }
  .h-play { width: 48px; height: 48px; }
  .h-problem { grid-template-columns: 1fr; gap: 10px; padding: 24px 4px; }
  .h-problem:hover { padding-left: 4px; padding-right: 4px; }
  .h-tile, .h-tile-claude, .h-tile-wide { flex-basis: 100%; padding: 22px; }
  .h-auth-side { min-height: 200px; padding: 22px; }
  .h-auth-side ul { display: none; }
  .h-close-row .h-btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .h-btn, .h-link svg, .h-problem, .h-work svg, .site-header .header-inner { transition: none !important; }
  .h-btn:active { transform: none; }
}

/* Pages courtes (confirmation et désinscription newsletter) */
.h-notice {
  max-width: 480px; margin: 0 auto; padding: clamp(28px, 5vw, 44px);
  border-radius: 36px; text-align: center;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 50px 100px -50px rgba(40, 30, 110, 0.45);
}
.h-notice h1 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(28px, 6vw, 36px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.h-notice p { margin: 0 0 20px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.h-notice .h-notice-small { font-size: 14px; color: var(--ink-3); }
.h-notice .h-notice-small a { color: var(--link); }
.h-notice form { margin: 0; }
.h-notice .h-btn + .h-btn, .h-notice form + .h-btn { margin-top: 12px; }

/* Lives en direct */
.pc-live-date { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--violet); }

/* ------------------------------------------------------------
   Page 404 et espace client (tableau de bord)
   ------------------------------------------------------------ */
.nf-wrap { padding: clamp(40px, 8vw, 96px) 16px clamp(56px, 9vw, 112px); }
.nf-card {
  position: relative; overflow: hidden;
  max-width: 560px; margin: 0 auto; padding: clamp(32px, 6vw, 56px) clamp(22px, 5vw, 48px);
  border-radius: 36px; text-align: center;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 50px 100px -50px rgba(40, 30, 110, 0.45);
}
.nf-code {
  margin: 0 0 4px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(88px, 22vw, 150px); line-height: 1;
  background: linear-gradient(120deg, var(--blue) 0%, var(--violet) 55%, #c959dd 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf-title { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(24px, 5vw, 32px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.nf-text { margin: 0 auto 28px; max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.nf-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin: 28px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--hair); }
.nf-links a { font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.nf-links a:hover { text-decoration: underline; }

.acc-wrap { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 8vw, 96px); }
.acc-hello {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: clamp(18px, 3vw, 28px); margin-bottom: 20px; border-radius: var(--r-card);
  background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 60%, #2a2160 100%);
  box-shadow: 0 30px 70px -40px rgba(40, 30, 110, 0.7); color: var(--night-ink);
}
.acc-avatar {
  display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  font-family: var(--font-display); font-size: 24px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}
.acc-hello-text { flex: 1 1 220px; min-width: 0; }
.acc-hello h1 { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 4vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: #fff; overflow-wrap: anywhere; }
.acc-hello p { margin: 4px 0 0; font-size: 15px; color: var(--night-ink-2); }
.acc-logout {
  min-height: 44px; padding: 0 20px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--night-ink);
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.2s ease;
}
.acc-logout:hover { background: rgba(255, 255, 255, 0.2); }

.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.acc-stat {
  display: block; padding: 20px 22px; border-radius: var(--r-tile); text-decoration: none; color: var(--ink);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 50px -36px rgba(40, 30, 110, 0.45);
}
.acc-stat-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; color: var(--blue); background: rgba(0, 113, 227, 0.1); }
.acc-stat-label { margin: 0; font-size: 14px; color: var(--ink-3); }
.acc-stat-value { margin: 2px 0 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.acc-stat-money { color: var(--blue); }
.acc-stat-link { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.acc-stat-link:hover { transform: translateY(-3px); box-shadow: 0 30px 56px -32px rgba(40, 30, 110, 0.55); }
.acc-stat-link .acc-stat-value span { color: var(--blue); }

.acc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.acc-nav {
  position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: var(--r-tile);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.85);
}
.acc-nav a {
  display: block; padding: 12px 16px; border-radius: 14px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); text-decoration: none; background: transparent; border: 0; transform: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.acc-nav a:hover { background: rgba(0, 113, 227, 0.08); color: var(--blue); transform: none; border: 0; }
.acc-nav a.is-active { background: var(--blue); color: #fff; }

.acc-panel {
  padding: clamp(20px, 3vw, 30px); border-radius: var(--r-card);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 40px 80px -50px rgba(40, 30, 110, 0.4);
}
.acc-panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.acc-panel-head h2 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.acc-panel-link { font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.acc-panel-link:hover { text-decoration: underline; }

.acc-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: clamp(20px, 4vw, 40px) 12px; text-align: center; }
.acc-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 20px; color: var(--violet); background: rgba(107, 92, 255, 0.1); }
.acc-empty-title { margin: 0; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.acc-empty-text { margin: 0 0 12px; max-width: 340px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.acc-orders { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.acc-order {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 18px;
  text-decoration: none; color: var(--ink); background: rgba(255, 255, 255, 0.7); border: 1px solid var(--hair);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.acc-order:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -26px rgba(40, 30, 110, 0.5); }
.acc-order-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acc-order-num { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.acc-order-meta { font-size: 13px; color: var(--ink-3); }
.acc-order-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.acc-order-total { font-weight: 700; font-size: 15px; color: var(--blue); white-space: nowrap; }

@media (max-width: 899px) {
  .acc-stats { grid-template-columns: 1fr; gap: 12px; }
  .acc-stat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .acc-stat-icon { grid-row: span 2; margin: 0; }
  .acc-layout { grid-template-columns: 1fr; }
  .acc-nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .acc-nav::-webkit-scrollbar { display: none; }
  .acc-nav a { white-space: nowrap; flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-stat-link, .acc-order, .acc-logout, .acc-nav a { transition: none; }
  .acc-stat-link:hover, .acc-order:hover { transform: none; }
}

/* Pages du compte : titres, formulaire, téléchargements, live, détail */
.acc-title { margin-bottom: 20px; }
.acc-title h1 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 5vw, 40px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.acc-title p { margin: 6px 0 0; font-size: 17px; color: var(--ink-2); }
.acc-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.acc-back { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.acc-back:hover { text-decoration: underline; }
.acc-stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.acc-form { display: flex; flex-direction: column; gap: 18px; }
.acc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acc-form .h-field { min-width: 0; }
.acc-form-section { padding-top: 22px; border-top: 1px solid var(--hair); }
.acc-form-section h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.acc-form .ck-password-toggle { min-width: 44px; min-height: 44px; }
.acc-submit { align-self: flex-start; height: 52px; }

.acc-file-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 14px; color: #0a7d4f; background: rgba(16, 163, 100, 0.12); }
.acc-dl-label { flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--blue); }
.acc-order .acc-order-main { flex: 1 1 auto; }

.acc-live { display: flex; flex-direction: column; gap: 16px; }
.acc-live-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acc-live-head h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.acc-live-video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.acc-live-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.acc-live-note { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

.acc-detail { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.acc-side { position: sticky; top: 96px; }
.acc-lines { margin: 0; padding: 0; list-style: none; }
.acc-lines li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.acc-lines li:last-child { border-bottom: 0; }
.acc-total { display: flex; justify-content: space-between; margin: 14px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); font-size: 17px; color: var(--ink); }
.acc-total strong { color: var(--blue); font-size: 20px; }
.acc-dl { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.acc-dl div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.acc-dl dt { color: var(--ink-3); flex-shrink: 0; }
.acc-dl dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 899px) {
  .acc-form-grid, .acc-detail { grid-template-columns: 1fr; }
  .acc-side { position: static; }
  .acc-submit { align-self: stretch; }
}

/* Barre de l'espace client */
.acc-topbar { padding: 12px 16px 0; }
.acc-topbar-inner {
  max-width: 1160px; min-height: 60px; margin: 0 auto; padding: 8px 14px; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(18, 16, 36, 0.88); box-shadow: 0 16px 40px -20px rgba(18, 12, 60, 0.55);
}
.acc-topbar .logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; }
.acc-topbar-links { display: flex; align-items: center; gap: 4px; }
.acc-topbar-links a { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(236, 235, 245, 0.85); text-decoration: none; }
.acc-topbar-links a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
@media (max-width: 599px) { .acc-topbar-links a:not(:last-child) { display: none; } }

/* Respiration du formulaire de profil */
.acc-title { margin-bottom: 24px; }
.acc-submit { margin-top: 10px; }
.acc-form-section { margin-top: 8px; }

/* Boutique : en-tête compact et filtres */
.hero.lib-hero { min-height: 0; padding: var(--space-12) 0 var(--space-8); }
.lib-type-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.lib-type-pill {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(29, 29, 31, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lib-type-pill:hover { border-color: var(--blue); color: var(--blue); }
.lib-type-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.lib-filter-actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 20px; }
.lib-filter-actions .btn { width: 100%; min-height: 46px; border-radius: 999px; }
.lib-filter-reset { align-self: center; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.lib-filter-reset:hover { color: var(--blue); text-decoration: underline; }
.lib-filter-actions-drawer { padding-bottom: var(--space-8); }

/* Photo de profil */
.acc-avatar { overflow: hidden; position: relative; }
.acc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-avatar-link { text-decoration: none; color: #fff; overflow: visible; }
.acc-avatar-link img { border-radius: 50%; }
.acc-avatar-badge {
  position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 24px; height: 24px;
  border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.acc-avatar-lg { width: 96px; height: 96px; font-size: 38px; }
.acc-photo { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--hair); scroll-margin-top: 90px; }
.acc-photo h2 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); }
.acc-photo p { margin: 4px 0 12px; font-size: 14px; color: var(--ink-3); }
.acc-photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.acc-photo-actions form { margin: 0; }
.acc-photo-btn { cursor: pointer; min-height: 44px; }
.acc-photo-remove { min-height: 44px; padding: 0 8px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: #c0392b; }
.acc-photo-remove:hover { text-decoration: underline; }
input.sr-only:focus-visible + .acc-photo-btn { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 2px; }
@media (max-width: 599px) { .acc-photo { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------------
   Filtres de la boutique (colonne de gauche et tiroir mobile)
   ------------------------------------------------------------ */
.lib-sidebar {
  padding: 22px 20px 24px; border-radius: var(--r-tile);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 30px 60px -44px rgba(40, 30, 110, 0.5);
}

/* Recherche : pilule avec loupe */
.lib-f-search { position: relative; margin-bottom: 22px; }
.lib-f-search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.lib-f-search input {
  width: 100%; height: 48px; padding: 0 16px 0 44px; border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.14); background: #fff;
  font: 400 15px/1 Poppins, system-ui, sans-serif; color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lib-f-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16); }

/* Groupes : titre net, séparation légère */
.lib-filter-group { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--hair); }
.lib-filter-group:last-of-type { border-bottom: 0; margin-bottom: 4px; padding-bottom: 0; }
.lib-filter-title { padding: 4px 0; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.lib-filter-body-inner { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 2px; }
.lib-filter-body.open { max-height: 800px; }

/* Options : pastilles (prix, catégories, types) */
.lib-filter-options { display: flex; flex-wrap: wrap; gap: 8px; flex-basis: 100%; }
.lib-filter-option {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(29, 29, 31, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lib-filter-option:hover { border-color: var(--blue); color: var(--blue); }
.lib-filter-option.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.lib-filter-option .lib-filter-check { display: none; }
.lib-filter-option .lib-filter-count { margin-left: 0; padding: 1px 8px; font-size: 12px; background: rgba(29, 29, 31, 0.07); color: var(--ink-3); }
.lib-filter-option.active .lib-filter-count { background: rgba(255, 255, 255, 0.25); color: #fff; }
.lib-type-grid { flex-basis: 100%; }

/* Prix min / max */
.lib-filter-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex-basis: 100%; }
.lib-filter-price label { display: block; min-width: 0; }
.lib-filter-price label span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.lib-filter-price input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 14px;
  border: 1px solid rgba(29, 29, 31, 0.14); background: #fff;
  font: 500 15px/1 Poppins, system-ui, sans-serif; color: var(--ink);
}
.lib-filter-price input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16); }

/* Tiroir mobile : fond opaque, boutons toujours visibles */
.lib-drawer { background: #fbfaff; width: min(400px, 92vw); box-shadow: -30px 0 80px -30px rgba(18, 12, 60, 0.45); }
@media (max-width: 480px) { .lib-drawer { width: 100vw; } }
.lib-drawer-header { background: #fbfaff; padding: 18px 20px; }
.lib-drawer-header h2 { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.lib-drawer-close { width: 44px; height: 44px; border-radius: 50%; background: rgba(29, 29, 31, 0.06); }
.lib-drawer-form { padding: 20px 20px 0; }
.lib-drawer .lib-filter-actions { position: sticky; bottom: 0; margin: 8px -20px 0; padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(251, 250, 255, 0), #fbfaff 28%); }
.lib-drawer .lib-filter-actions-drawer { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
body:has(.lib-drawer.active) .ai-chat-toggle { display: none; }

/* ------------------------------------------------------------
   Espace client : barre latérale à gauche
   ------------------------------------------------------------ */
.acs-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; min-height: 100vh; align-items: start; }
.acs-content { min-width: 0; }
.acs-mobilebar { display: none; }
.acs-overlay { display: none; }

.acs-side {
  position: sticky; top: 16px; z-index: 40; display: flex; flex-direction: column; gap: 18px;
  height: calc(100vh - 32px); margin: 16px 0 16px 16px; padding: 20px 14px 16px; overflow-y: auto;
  border-radius: 28px; color: var(--night-ink);
  background: linear-gradient(170deg, var(--night) 0%, var(--night-2) 62%, #261f58 100%);
  box-shadow: 0 30px 70px -40px rgba(40, 30, 110, 0.7);
}
.acs-close { display: none; }
.acs-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.acs-brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85); }
.acs-brand small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--night-ink-2); }

.acs-user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; text-decoration: none; color: #fff; background: rgba(255, 255, 255, 0.08); transition: background 0.2s ease; }
.acs-user:hover { background: rgba(255, 255, 255, 0.14); }
.acs-user-avatar { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; font-weight: 700; font-size: 18px; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.acs-user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acs-user-name { min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }

.acs-nav { display: flex; flex-direction: column; gap: 4px; }
.acs-nav a {
  display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 14px;
  font-size: 15px; font-weight: 600; color: var(--night-ink-2); text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.acs-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.acs-nav a.is-active { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 113, 227, 0.8); }

.acs-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.acs-foot a, .acs-foot button {
  display: block; width: 100%; min-height: 40px; padding: 0 14px; border: 0; border-radius: 12px; background: none; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; line-height: 40px; text-align: left; color: var(--night-ink-2); text-decoration: none;
}
.acs-foot a:hover, .acs-foot button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.acs-foot form { margin: 0; }
.acs-foot button { color: #ff9b8f; }
.acs-foot button:hover { color: #ffb8af; }

/* Le menu en carte et la barre du haut ne servent plus : tout est dans la barre latérale */
.acc-layout { display: block; }
.acs-content .acc-wrap { padding-top: clamp(20px, 4vw, 48px); }
.acs-content .container { max-width: 1080px; }

@media (max-width: 899px) {
  .acs-shell { display: block; min-height: 0; }
  .acs-mobilebar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: 0; z-index: 30;
    margin: 12px 16px 0; padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(18, 16, 36, 0.92);
    box-shadow: 0 16px 40px -20px rgba(18, 12, 60, 0.55);
  }
  .acs-mobilebar a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; }
  .acs-mobilebar img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
  .acs-mobilebar button {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    color: #fff; background: rgba(255, 255, 255, 0.12);
  }
  .acs-side {
    position: fixed; top: 0; left: 0; bottom: 0; height: auto; width: min(320px, 86vw); margin: 0; border-radius: 0 28px 28px 0;
    transform: translateX(-105%); transition: transform 0.28s ease; z-index: 320;
  }
  body.acs-open .acs-side { transform: translateX(0); }
  .acs-close { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255, 255, 255, 0.12); }
  .acs-brand { padding-right: 52px; }
  .acs-overlay { display: none; position: fixed; inset: 0; z-index: 310; background: rgba(10, 8, 30, 0.55); }
  body.acs-open .acs-overlay { display: block; }
  body.acs-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .acs-side { transition: none; } }

/* Page produit : image sans zoom */
.pd-gallery-main img { cursor: default; }
.pd-gallery-main:hover img { transform: none; }
/* La barre d'achat fixe ne doit plus passer sous le bouton de l'assistant */
body:has(.pd-sticky-bar.visible) .ai-chat-toggle { bottom: 96px; }

/* ------------------------------------------------------------
   Fiche produit : en-tête modernisé
   ------------------------------------------------------------ */
.pd-hero { padding: 28px 0 56px; }
.pd-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
.pd-gallery { position: sticky; top: 96px; }
.pd-gallery-main {
  border: 0; border-radius: 28px; aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 30px 60px -36px rgba(18, 12, 60, 0.45);
}
.pd-gallery-badge { top: 16px; left: 16px; }

/* Couverture générée quand le produit n'a pas encore de visuel */
.pd-gallery-main--empty { background: radial-gradient(120% 90% at 15% 10%, #2a2a8a 0%, #16132b 55%, #0d0b1c 100%); }
.pd-gallery-main--empty::after {
  content: ""; position: absolute; inset: auto -20% -45% 30%; height: 90%;
  background: radial-gradient(closest-side, rgba(107, 92, 255, 0.55), transparent); pointer-events: none;
}
.pd-cover {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: clamp(20px, 5vw, 40px); color: #fff;
}
.pd-cover-ico {
  width: 76px; height: 76px; border-radius: 22px; margin-bottom: auto; margin-top: 44px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pd-cover-type { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(236, 235, 245, 0.7); }
.pd-cover-name {
  font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  font-size: clamp(28px, 4.6vw, 48px); max-width: 14ch; overflow-wrap: anywhere;
}

/* Colonne d'infos */
.pd-info-type {
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
  background: rgba(0, 113, 227, 0.08); color: var(--blue); letter-spacing: 0.06em; text-decoration: none;
}
.pd-info-type:hover { background: rgba(0, 113, 227, 0.14); }
.pd-info-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.022em;
  margin-bottom: 14px; color: var(--ink); text-wrap: balance;
}
.pd-short-desc { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin-bottom: 18px; }


/* Carte d'achat */
.pd-buy {
  padding: 22px; border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 24px 50px -34px rgba(18, 12, 60, 0.45);
  margin-bottom: 18px;
}
.pd-buy .pd-price-block { padding: 0; background: none; border-radius: 0; margin-bottom: 18px; flex-wrap: wrap; row-gap: 8px; align-items: center; }
.pd-buy .pd-price-current, .pd-buy .pd-price-current-free { font-family: var(--font-display); font-size: clamp(32px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.pd-buy .pd-price-compare { font-size: 17px; }
.pd-price-save {
  font-size: 13px; font-weight: 600; color: #0f7a3d;
  background: rgba(22, 163, 74, 0.12); padding: 5px 10px; border-radius: 999px;
}
.pd-buy .pd-live { background: rgba(0, 113, 227, 0.07); border-radius: 16px; margin-bottom: 18px; }
.pd-buy .pd-actions { margin-bottom: 16px; }
.pd-buy .pd-actions .btn-primary { border-radius: 999px; min-height: 56px; font-size: 17px; box-shadow: 0 14px 28px -16px rgba(0, 113, 227, 0.8); }
.pd-buy .pd-actions .btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.pd-buy .pd-actions .price-break { display: none; }
.pd-buy .pd-btn-fav { width: 56px; height: 56px; border-radius: 999px !important; }
.pd-buy .pd-trust { margin: 0; padding-top: 14px; border-top: 1px solid rgba(18, 12, 60, 0.08); gap: 10px 18px; }
.pd-buy .pd-trust-item { font-size: 14px; color: var(--ink-2); }

/* Barre d'achat fixe : verre clair, aussi sur téléphone */
.pd-sticky-bar {
  left: 12px; right: 12px; bottom: 12px; padding: 10px 10px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 20px 40px -22px rgba(18, 12, 60, 0.5);
  transform: translateY(calc(100% + 24px));
}
.pd-sticky-bar .btn { border-radius: 999px; min-height: 46px; }
.pd-sticky-price { font-family: var(--font-display); }

@media (max-width: 900px) {
  .pd-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pd-gallery { position: static; }
}
@media (max-width: 640px) {
  .pd-hero { padding-top: 16px; }
  .pd-gallery-main { aspect-ratio: 16 / 11; border-radius: 22px; }
  .pd-cover-ico { width: 60px; height: 60px; border-radius: 18px; margin-top: 36px; }
  .pd-cover-ico svg { width: 30px; height: 30px; }
  .pd-buy { padding: 18px; border-radius: 22px; }
  /* Un seul bouton sur une ligne, le panier à côté ; le prix est déjà affiché juste au-dessus */
  .pd-buy .pd-actions { flex-direction: row; }
  .pd-buy .pd-actions .btn-primary { flex-direction: row !important; white-space: nowrap !important; padding-top: 0; padding-bottom: 0; height: 56px !important; }
  .pd-buy .pd-actions .price-break { display: none; }
  .pd-buy .pd-actions form { flex: 0 0 56px; display: flex; }
  .pd-buy .pd-actions .btn-primary { min-width: 0; font-size: 16px; }
  .pd-buy .pd-actions { align-items: center; }
  .pd-buy .pd-btn-fav { height: 56px !important; padding: 0 !important; margin: 0 !important; flex-direction: row !important; }
  .pd-sticky-bar { display: block; }
  .pd-sticky-actions form { display: none; }
  .pd-sticky-title { font-size: 13px; }
  .pd-sticky-price { font-size: 17px; }
  body:has(.pd-sticky-bar.visible) .ai-chat-toggle { bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-sticky-bar { transition: none; }
  .pd-buy .pd-actions .btn-primary:hover { transform: none; }
}

/* Avis clients : tout est centré */
.pd-reviews-header { flex-direction: column; justify-content: center; text-align: center; gap: var(--space-3); }
.pd-reviews-header > div > div { justify-content: center; }
.pd-reviews-list { max-width: 760px; margin-inline: auto; }
.pd-review-empty { max-width: 520px; margin-inline: auto; padding-bottom: var(--space-4); }
.pd-review-how { max-width: 520px; margin: 0 auto var(--space-4); text-align: center; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pd-review-how a { color: var(--link); font-weight: 600; }
.pd-review-form { max-width: 640px; margin-inline: auto; }
.pd-review-form h3 { text-align: center; }

/* ------------------------------------------------------------
   Fiche produit : « Pourquoi ce produit ? »
   Sans visuel, les avantages deviennent une grille de cartes centrée
   sous le titre, au lieu d'une liste collée à gauche.
   ------------------------------------------------------------ */
.pd-benefits { gap: 40px; }
.pd-benefits--solo { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin-inline: auto; }
.pd-benefits--solo .pd-benefits-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pd-benefit {
  align-items: flex-start; gap: 16px; padding: 22px;
  border-radius: 22px; background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px -32px rgba(18, 12, 60, 0.45);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
.pd-benefit:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -28px rgba(18, 12, 60, 0.5); }
.pd-benefit-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff;
  box-shadow: 0 10px 20px -12px rgba(107, 92, 255, 0.9);
}
.pd-benefit-icon svg { width: 22px; height: 22px; }
.pd-benefit-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 2px 0 4px; }
.pd-benefit-text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pd-benefits-visual { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(18, 12, 60, 0.45); }

@media (max-width: 720px) {
  .pd-benefits { grid-template-columns: minmax(0, 1fr); }
  .pd-benefits--solo .pd-benefits-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pd-benefit { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pd-benefit { transition: none; }
  .pd-benefit:hover { transform: none; }
}

/* « Ce que tu reçois » : les cartes se répartissent sur toute la largeur, sans carte orpheline à gauche */
@media (min-width: 769px) {
  .pd-receive-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
}

/* Barre d'achat fixe : le bouton Acheter reste visible sur tablette et téléphone */
@media (max-width: 768px) {
  .pd-sticky-actions { display: flex; }
  .pd-sticky-actions form { display: none; }
}

/* Garanties de la carte d'achat : les trois sur la même ligne */
.pd-buy .pd-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pd-buy .pd-trust-item { gap: 8px; font-size: 14px; line-height: 1.3; }
@media (max-width: 560px) {
  .pd-buy .pd-trust { gap: 6px; }
  .pd-buy .pd-trust-item { flex-direction: column; text-align: center; gap: 6px; font-size: 12.5px; }
}

/* Fiche produit : la réduction en pastille ronde sur l'image */
.pd-gallery-badge { display: flex; gap: 8px; align-items: center; left: auto; right: 16px; }
.pd-gallery-badge .pc-badge--discount {
  width: 58px; height: 58px; padding: 0 !important; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  box-shadow: 0 10px 22px -10px rgba(220, 38, 38, 0.75);
}
@media (max-width: 640px) {
  .pd-gallery-badge .pc-badge--discount { width: 50px; height: 50px; font-size: 14px; }
}
