/* ═══════════════════════════════════════════════════
   MAGIC HAT — STYLES
   ═══════════════════════════════════════════════════ */

/* ── VARIABLES ─────────────────────────────────── */
:root {
  /* Couleurs */
  --c-bg:          #090910;
  --c-bg-alt:      #0e0e1a;
  --c-card:        #111120;
  --c-card-hover:  #17172a;
  --c-border:      rgba(139, 92, 246, 0.16);
  --c-border-hi:   rgba(139, 92, 246, 0.45);

  --c-accent:      #8b5cf6;
  --c-accent-hi:   #a78bfa;
  --c-accent-dim:  rgba(139, 92, 246, 0.22);
  --c-accent-glow: rgba(139, 92, 246, 0.18);

  --c-text:        #f0f0f8;
  --c-text-2:      #9ca3af;
  --c-text-3:      #5c6578;

  /* Navbar — modifie ici pour ajuster sur tout le site */
  --navbar-height: 62px;

  /* Misc */
  --radius-s: 6px;
  --radius:   10px;
  --radius-l: 16px;
  --ease:     0.25s ease;
  --ease-s:   0.4s ease;

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--c-bg); color: var(--c-text); line-height: 1.6; }
ul   { list-style: none; }
a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SCROLL (DESKTOP) ──────────────────────────── */
@media (min-width: 769px) {
  html, body { height: 100%; overflow: hidden; }

  /* Le container commence EXACTEMENT sous la navbar.
     Plus besoin de scroll-padding-top ni d'offset dans les sections. */
  .scroll-container {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }
}

/* ── SECTIONS (base) ───────────────────────────── */
.section {
  /* Occupe exactement l'espace visible sous la navbar sur desktop,
     redéfini en min-height: 100svh dans le bloc mobile. */
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}

.section__inner {
  max-width: 1120px;
  width: 100%;
  padding: 40px 28px 48px;
}

.section__head {
  text-align: center;
  margin-bottom: 44px;
}

/* ── TYPOGRAPHY ────────────────────────────────── */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 20px;
}

.text-accent { color: var(--c-accent-hi); }

/* ── BUTTONS ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-s);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.3);
}
.btn--primary:hover {
  background: var(--c-accent-hi);
  border-color: var(--c-accent-hi);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.55), 0 0 60px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-accent-hi);
  border-color: var(--c-accent);
}
.btn--ghost:hover {
  background: var(--c-accent-dim);
  border-color: var(--c-accent-hi);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--c-accent-hi);
  border-color: var(--c-border-hi);
}
.btn--outline:hover {
  background: var(--c-accent-dim);
  border-color: var(--c-accent-hi);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.btn--sm    { padding: 7px 16px; font-size: 0.8rem; }
.btn--block { width: 100%; }

/* ── TAGS ──────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-s);
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(139, 92, 246, 0.09);
  border: 1px solid var(--c-border);
  color: var(--c-accent-hi);
}
.tag--sm { padding: 3px 9px; font-size: 0.7rem; }

.tag-list         { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag-list--sm     { gap: 6px; }

/* ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--navbar-height);
  background: rgba(9, 9, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
}

.navbar__inner {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar__logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar__logo-img {
  height: 34px;
  width: auto;
  /* Logo sombre sur fond sombre : on inverse + glow violet */
  filter: invert(1) drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.navbar__link {
  padding: 7px 13px;
  border-radius: var(--radius-s);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-2);
  transition: all var(--ease);
  position: relative;
}
.navbar__link:hover { color: var(--c-text); background: rgba(139, 92, 246, 0.07); }
.navbar__link.is-active {
  color: var(--c-accent-hi);
  background: rgba(139, 92, 246, 0.11);
}
.navbar__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 6px var(--c-accent);
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 7px;
  border-radius: var(--radius-s);
}
.navbar__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-text-2);
  border-radius: 2px;
  transition: all var(--ease);
}
.navbar__burger:hover span { background: var(--c-accent-hi); }
.navbar__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  }
.navbar__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.section--hero {
  background: var(--c-bg);
  align-items: center;
}

/* Grille subtile */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black, transparent);
  pointer-events: none;
}

/* Halo central */
.hero__bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 55%, rgba(139, 92, 246, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 20px 0 32px;
}

.hero__title {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 820px;
  margin-bottom: 20px;
}

.hero__highlight {
  background: linear-gradient(130deg, var(--c-accent-hi) 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(139, 92, 246, 0.45));
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--c-text-2);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.72;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════ */
.section--about { background: var(--c-bg-alt); }

.about__layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 72px;
  align-items: center;
}

.about__text {
  color: var(--c-text-2);
  margin-bottom: 14px;
  font-size: 0.97rem;
  line-height: 1.78;
}

.avatar-frame {
  width: 220px;
  flex-shrink: 0;
  position: relative;
}

.avatar-frame::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}

.avatar-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(139, 92, 246, 0.28));
}

/* ═══════════════════════════════════════════════════
   SERVICES — MODULES
   ═══════════════════════════════════════════════════ */
.section--services { background: var(--c-bg); align-items: stretch; }

.section--services .section__inner {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  padding-bottom: 24px;
}

.section--services .section__head { flex-shrink: 0; margin-bottom: 12px; }

/* ── CLIENTS TICKER ─────────────────────────── */
.clients-ticker-wrap {
  flex-shrink: 0;
  margin-top: 16px;
}

.clients-ticker__label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-3);
  margin-bottom: 14px;
}

.clients-ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.clients-ticker__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}

.clients-ticker__logo {
  height: 77px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .clients-ticker__track { animation: none; }
}

/* Arena : conteneur relatif pour superposer grille & panneau */
.services-arena {
  flex: 1;
  position: relative;
  min-height: 300px;
}

/* ── GRILLE ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.services-grid.is-fading {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
}

/* ── MODULE (carte service) ─────────────────── */
.svc-module {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    box-shadow   0.3s ease,
    transform    0.3s ease,
    background   0.3s ease;
  position: relative;
  overflow: hidden;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-module::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 20%, rgba(139,92,246,0.09), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.svc-module:hover {
  border-color: var(--c-border-hi);
  box-shadow: 0 0 28px rgba(139,92,246,0.13), 0 8px 28px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.svc-module:hover::before { opacity: 1; }

.svc-module:focus-visible {
  outline: 2px solid rgba(139,92,246,0.6);
  outline-offset: 3px;
}

.svc-module.is-loading { pointer-events: none; }

/* Icône — badge arrondi */
.svc-module__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: rgba(139, 92, 246, 0.09);
  border: 1px solid rgba(139, 92, 246, 0.16);
  color: var(--c-accent-hi);
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.svc-module__icon svg { width: 28px; height: 28px; }

.svc-module:hover .svc-module__icon {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.32);
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.2);
}

.svc-module__title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.svc-module__desc {
  font-size: 0.88rem;
  color: var(--c-text-2);
  line-height: 1.72;
  max-width: 38ch;
}

/* CTA hover — "Charger ce module..." */
.svc-module__cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent-hi);
  background: linear-gradient(to top, rgba(139,92,246,0.07) 0%, transparent 100%);
  border-top: 1px solid rgba(139, 92, 246, 0.12);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
  pointer-events: none;
}
.svc-module:hover .svc-module__cta {
  transform: translateY(0);
  opacity: 1;
}

/* Loader à l'intérieur du module */
.svc-module__loader {
  position: absolute;
  inset: 0;
  background: var(--c-card);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.svc-module.is-loading .svc-module__loader { opacity: 1; }

.svc-loader__label {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  color: var(--c-text-3);
  text-transform: uppercase;
}

.svc-loader__bar {
  width: 140px;
  height: 3px;
  background: rgba(139,92,246,0.13);
  border-radius: 2px;
  overflow: hidden;
}

.svc-loader__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-hi));
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(139,92,246,0.55);
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-loader__fill.is-complete { width: 100%; }

/* ── PANNEAU DÉTAIL ─────────────────────────── */
.services-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.services-panel.is-visible {
  opacity: 1;
  pointer-events: all;
}

.svc-detail {
  width: 100%;
  height: 100%;
  background: var(--c-card);
  border: 1px solid var(--c-border-hi);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 44px rgba(139,92,246,0.1), 0 16px 44px rgba(0,0,0,0.38);
  position: relative;
}

.svc-detail__light {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255,255,255,0.016) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* En-tête */
.svc-detail__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.svc-detail__header-icon {
  width: 30px;
  height: 30px;
  color: var(--c-accent-hi);
  flex-shrink: 0;
}
.svc-detail__header-icon svg { width: 100%; height: 100%; }

.svc-detail__header-title {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text);
  flex: 1;
  min-width: 0;
}

/* Boutons de navigation */
.svc-detail__nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.svc-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-s);
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
  font-family: inherit;
}
.svc-nav-btn:hover:not(:disabled) {
  background: rgba(139,92,246,0.14);
  border-color: var(--c-accent);
  color: var(--c-accent-hi);
  box-shadow: 0 0 10px rgba(139,92,246,0.18);
}
.svc-nav-btn:disabled { opacity: 0.25; cursor: default; }

.svc-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
  font-family: inherit;
  font-size: 0.75rem;
  margin-left: 4px;
}
.svc-close-btn:hover {
  background: rgba(0,0,0,0.58);
  color: #fff;
  border-color: rgba(255,255,255,0.26);
  transform: scale(1.08);
}

/* Corps : 2 colonnes */
.svc-detail__body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.svc-detail__left {
  padding: 20px 22px;
  border-right: 1px solid rgba(255,255,255,0.04);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,92,246,0.25) transparent;
}
.svc-detail__left::-webkit-scrollbar       { width: 3px; }
.svc-detail__left::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 2px; }

.svc-detail__right {
  padding: 20px 22px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(139,92,246,0.25) transparent;
}
.svc-detail__right::-webkit-scrollbar       { width: 3px; }
.svc-detail__right::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.3); border-radius: 2px; }

/* Blocs de contenu */
.svc-block { display: flex; flex-direction: column; gap: 10px; }

.svc-block__label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.svc-block__text {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--c-text-2);
}

.svc-examples {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-examples li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--c-text-2);
  line-height: 1.5;
}
.svc-examples li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 6px rgba(139,92,246,0.45);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ── VIGNETTES PROJETS ASSOCIÉS ─────────────── */
.svc-dvds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.svc-proj-card {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-s);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  background: #0d0d1a;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition:
    transform  0.2s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.2s ease;
}

.svc-proj-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.7),
    0 0 14px var(--proj-glow, rgba(139, 92, 246, 0.22));
}

.svc-proj-card:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.6);
  outline-offset: 2px;
}

.svc-proj-card__cover {
  width: 100%;
  height: 100%;
}
.svc-proj-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-proj-card__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  background:
    radial-gradient(ellipse 90% 70% at 25% 25%, rgba(255,255,255,0.07) 0%, transparent 65%),
    linear-gradient(150deg, var(--proj-color, #7c3aed) 0%, rgba(0,0,0,0.68) 100%);
}

.svc-proj-card__fallback-title {
  font-size: 0.57rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
  word-break: break-word;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.svc-proj-card__fallback-client {
  font-size: 0.48rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.svc-proj-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.svc-proj-card__title-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 6px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  transform: translateY(100%);
  transition: transform 0.18s ease;
  pointer-events: none;
}

.svc-proj-card:hover .svc-proj-card__title-overlay {
  transform: translateY(0);
}

.svc-proj-card__title-text {
  display: block;
  font-size: 0.56rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   PROJECTS — GALERIE JAQUETTES
   ═══════════════════════════════════════════════════ */
.section--projects {
  background: var(--c-bg-alt);
  align-items: stretch;
}

.section--projects .section__inner {
  display: flex;
  flex-direction: column;
  padding-top: 28px;
  padding-bottom: 20px;
}

.projects__header {
  text-align: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.projects__intro {
  text-align: center;
  font-size: 0.83rem;
  color: var(--c-text-2);
  margin: 2px 0 16px;
}

/* ─── FILTRES ──────────────────────────────────── */
.projects__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 18px;
  transition: opacity 0.22s ease;
}

.filter-btn {
  padding: 5px 16px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1.5px solid var(--btn-border, rgba(139, 92, 246, 0.22));
  color: var(--c-text-3);
  background: transparent;
  transition: all var(--ease);
  cursor: pointer;
  font-family: var(--font);
}
.filter-btn:hover {
  border-color: var(--btn-color, var(--c-accent));
  color: var(--btn-color, var(--c-accent-hi));
  background: var(--btn-bg-dim, rgba(139, 92, 246, 0.08));
  box-shadow: 0 0 14px var(--btn-glow, rgba(139, 92, 246, 0.2));
}
.filter-btn.is-active {
  background: var(--btn-bg-dim, rgba(139, 92, 246, 0.14));
  border-color: var(--btn-color, var(--c-accent-hi));
  color: var(--btn-color, var(--c-accent-hi));
  box-shadow:
    0 0 18px var(--btn-glow-hi, rgba(139, 92, 246, 0.38)),
    inset 0 0 10px var(--btn-bg-dim, rgba(139, 92, 246, 0.06));
  text-shadow: 0 0 10px var(--btn-glow-text, rgba(139, 92, 246, 0.5));
}

.projects__filters.is-shelf-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ─── GALERIE (wrapper + wall + grille) ────────── */
.dvd-wall-wrapper {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dvd-wall {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.dvd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* JS remplace dynamiquement */
  grid-auto-rows: 180px;                  /* JS remplace dynamiquement */
  gap: 10px;
  align-content: start;
  transition: opacity 0.24s ease, transform 0.26s ease;
}

/* Flèches de pagination — dans le flux flex, jamais en overlap */
.dvd-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 56px;
  border-radius: var(--radius-s);
  background: rgba(9, 9, 16, 0.85);
  border: 1px solid var(--c-border);
  color: var(--c-text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
  font-family: inherit;
}
.dvd-arrow:hover {
  background: rgba(139, 92, 246, 0.16);
  border-color: var(--c-accent);
  color: var(--c-accent-hi);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.22);
}
/* hidden : espace réservé mais invisible — la grille garde la même largeur */
.dvd-arrow[hidden] {
  display: flex;
  visibility: hidden;
  pointer-events: none;
}

/* ─── VIGNETTE PROJET ──────────────────────────── */
.jacket {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-s);
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  background: #0d0d1a;
  box-shadow:
    0 3px 10px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition:
    transform  0.22s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.22s ease,
    opacity    0.18s ease;
}
.jacket:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.72),
    0 0 20px var(--jacket-glow, rgba(139, 92, 246, 0.22)),
    inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  z-index: 2;
}
.jacket:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.65);
  outline-offset: 3px;
}
.jacket.is-dimmed {
  opacity: 0.1;
  transform: scale(0.97);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.jacket.is-selected {
  transform: scale(1.05);
  z-index: 3;
  transition: transform 0.18s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.jacket__cover {
  width: 100%;
  height: 100%;
}
.jacket__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback : gradient + titre + client */
.jacket__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 10px;
  background:
    radial-gradient(ellipse 90% 70% at 25% 25%, rgba(255,255,255,0.07) 0%, transparent 65%),
    linear-gradient(150deg, var(--jacket-color, #7c3aed) 0%, rgba(0,0,0,0.72) 100%);
}
.jacket__fallback-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.38;
  word-break: break-word;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}
.jacket__fallback-client {
  font-size: 0.57rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

/* Reflet glacé */
.jacket__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.01) 35%,
    transparent 58%
  );
  pointer-events: none;
}

/* Overlay titre au survol */
.jacket__title-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 10px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  transform: translateY(100%);
  transition: transform 0.2s ease;
  pointer-events: none;
}
.jacket:hover .jacket__title-overlay {
  transform: translateY(0);
}
.jacket__title-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ─── ZONE COUVERTURE (panneau détail) ─────────── */
.project-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.22s ease;
}
.project-cover.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* ─── DETAIL PANEL (vue détail complète) ──────── */
.detail-panel {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--c-card);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.34, 1.5, 0.64, 1);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.78),
    0 0  48px var(--cover-glow, rgba(139, 92, 246, 0.3));
}
.detail-panel.is-open { transform: scaleX(1); }

.detail-panel__light {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255,255,255,0.025) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.detail-panel__close {
  position: absolute;
  top: 11px; right: 11px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
  z-index: 10;
  font-family: inherit;
}
.detail-panel__close:hover {
  background: rgba(0,0,0,0.72);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

/* Colonne unique — contenu */
.detail-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.detail-right__header {
  flex-shrink: 0;
  padding: 20px 52px 16px 30px; /* right: 52px = espace pour le bouton × */
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.detail-header__info { flex: 1; min-width: 0; }

.detail-cats { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 9px; }

/* Liens — ancrés à droite dans l'en-tête */
.detail-links {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.detail-link-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--radius-s);
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.73rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--ease);
  font-family: var(--font);
  white-space: nowrap;
}
.detail-link-btn:hover {
  background: rgba(0,0,0,0.55);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
  transform: translateY(-1px);
}
.detail-link-btn__icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.detail-link-btn__icon svg { width: 14px; height: 14px; }

.detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.detail-year {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-3);
}

.detail-client {
  margin-top: 7px;
}

.detail-client-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--c-text-2);
  letter-spacing: 0.05em;
}

.detail-client-logo {
  height: 16px;
  width: auto;
  object-fit: contain;
  opacity: 0.72;
  filter: brightness(1.3);
}

.detail-right__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
}
.detail-right__scroll::-webkit-scrollbar       { width: 4px; }
.detail-right__scroll::-webkit-scrollbar-track { background: transparent; }
.detail-right__scroll::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, 0.3); border-radius: 2px; }

/* ─── BODY : jacket + textes ──────────────────── */
.detail-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.detail-jacket {
  flex: 0 0 130px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--c-bg);
  flex-shrink: 0;
}
.detail-jacket img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.detail-jacket__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(
    140deg,
    var(--cover-color, var(--c-accent)) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  opacity: 0.28;
}

.detail-body__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-section__label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cover-color, var(--c-accent));
  margin-bottom: 5px;
}
.detail-section__text {
  font-size: 0.86rem;
  line-height: 1.74;
  color: var(--c-text-2);
}

/* ─── MEDIA : carrousel + vidéo côte à côte ──── */
.detail-media {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.detail-carousel,
.detail-video {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Carrousel */
.detail-carousel__track {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--c-bg);
  cursor: zoom-in;
}
.detail-carousel__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.detail-carousel__item.is-active {
  opacity: 1;
  pointer-events: auto;
}
.detail-carousel__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.detail-carousel__dots {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--ease);
}
.carousel-dot.is-active {
  background: var(--cover-color, var(--c-accent));
  transform: scale(1.4);
}
.carousel-dot:hover:not(.is-active) { background: rgba(255,255,255,0.35); }

/* Vidéo intégrée */
.detail-video__frame {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--c-bg);
}
.detail-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}
.cover-cat-tag {
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
}

/* ─── LIGHTBOX ────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  cursor: zoom-out;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-s);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
  cursor: default;
}
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transform: scale(1.1);
}

/* (spine-tooltip supprimé — remplacé par jaquettes) */

/* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
.section--contact { background: var(--c-bg); }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 72px;
  align-items: start;
}

.contact__text {
  color: var(--c-text-2);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: -4px;
}

/* Formulaire */
.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group { display: flex; flex-direction: column; gap: 5px; }

.form-label {
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--c-text-2);
  letter-spacing: 0.02em;
}

.form-input {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-s);
  padding: 11px 15px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--c-text);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}
.form-input::placeholder { color: var(--c-text-3); }
.form-input:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.form-textarea { resize: vertical; min-height: 118px; }

.form-feedback {
  font-size: 0.83rem;
  min-height: 18px;
  text-align: center;
  transition: all var(--ease);
}
.form-feedback.ok  { color: #4ade80; }
.form-feedback.err { color: #f87171; }

/* ── FORMSPREE SDK ──────────────────────────── */
.fs-success {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.22);
  color: #4ade80;
  font-size: 0.88rem;
  text-align: center;
  margin-bottom: 16px;
}

.fs-error-global {
  display: none;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: #f87171;
  font-size: 0.83rem;
  text-align: center;
  margin-bottom: 12px;
}

.fs-error-field {
  display: none;
  font-size: 0.74rem;
  color: #f87171;
  margin-top: 4px;
}

.form-input[aria-invalid="true"] {
  border-color: rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.1);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

/* Tablette */
@media (max-width: 1024px) {
  .about__layout    { gap: 44px; }
  .avatar-frame     { width: 190px; }
  .contact__layout  { gap: 44px; }

  /* Services : grille déjà 2 colonnes — pas d'override nécessaire */
}

/* Mobile */
@media (max-width: 768px) {
  :root { --navbar-height: 56px; }

  /* Burger visible, liens cachés par défaut */
  .navbar__burger { display: flex; }
  .navbar__links  {
    position: absolute;
    top: var(--navbar-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(9, 9, 16, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-border);
    padding: 10px 12px 14px;
    gap: 2px;
    display: none;
  }
  .navbar__links.is-open { display: flex; }
  .navbar__link { padding: 11px 16px; font-size: 0.92rem; }

  /* Sur mobile, scroll normal : la section commence derrière la navbar,
     scroll-margin-top décale l'ancre pour que le contenu arrive sous la nav. */
  .section {
    min-height: 100svh;
    scroll-margin-top: var(--navbar-height);
  }
  .section__inner { padding-top: calc(var(--navbar-height) + 28px); padding-bottom: 44px; }

  /* About */
  .about__layout {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .about__layout .avatar-frame { margin: 0 auto; width: 160px; }
  .tag-list { justify-content: center; }

  /* Services — mobile : 1 colonne, hauteur automatique */
  .services-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .svc-detail__body {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .svc-detail__left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    overflow-y: visible;
  }
  .svc-detail__right { overflow-y: visible; }
  .svc-detail__header-title { font-size: 1rem; }
  .svc-dvds { grid-template-columns: repeat(2, 1fr); }

  /* Projects — mobile : scroll naturel, grille 2 colonnes, pas de pagination */
  .dvd-wall-wrapper { gap: 0; }
  .dvd-wall { overflow: visible; height: auto; }
  .dvd-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 8px; }
  /* Sur mobile : suppression totale des flèches (pas d'espace réservé) */
  .dvd-arrow,
  .dvd-arrow[hidden] { display: none; }

  /* Detail panel — mobile */
  .detail-right__header    { padding: 14px 48px 12px 18px; gap: 14px; }
  .detail-right__scroll    { padding: 12px 18px 16px; gap: 16px; }
  .detail-title            { font-size: 1.1rem; }
  .detail-body             { flex-direction: column; }
  .detail-jacket           { flex: none; width: 100%; max-width: 180px; aspect-ratio: 3 / 4; }
  .detail-media            { flex: none; flex-direction: column; }
  .detail-carousel,
  .detail-video            { flex: none; }
  .detail-carousel__track  { flex: none; aspect-ratio: 16 / 9; }
  .detail-video__frame     { flex: none; aspect-ratio: 16 / 9; }

  /* Contact */
  .contact__layout { grid-template-columns: 1fr; gap: 28px; }
  .form-row--2     { grid-template-columns: 1fr; }
}

/* Petit mobile */
@media (max-width: 440px) {
  .hero__actions { flex-direction: column; width: 100%; max-width: 260px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* Très petit écran */
@media (max-width: 480px) {
  .detail-right__header { padding: 12px 44px 10px 14px; flex-wrap: wrap; gap: 10px; }
  .detail-links         { flex-direction: row; flex-wrap: wrap; gap: 5px; }
  .detail-link-btn      { padding: 5px 8px; font-size: 0.68rem; }
  .detail-right__scroll { padding: 10px 14px 16px; }
  .detail-jacket        { max-width: 100%; }
}
