/* ============ Palette Wilvinn ============ */
:root {
  --violet: #9576b9;
  --violet-dark: #4c2d58;
  --orange: #dc7748;
  --noir: #030213;
  --blanc: #ffffff;
  --gris: #d9d9dc;
  --texte: #141320;
  --texte-doux: #4a4857;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(3, 2, 19, .18), 0 2px 6px rgba(3, 2, 19, .12);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --section-pad: clamp(28px, 3.6vw, 48px); /* espace en haut / en bas des sections (avant : 64→110px, puis 40→72px) */
  /* --- variables de thème (valeurs = thème "papier", l'actuel) --- */
  --fond: var(--gris);
  --surface: var(--blanc);
  --surface-2: rgba(255,255,255,.65);
  --titre: var(--noir);
  --accent: var(--violet-dark);   /* mots en couleur dans les textes */
  --ligne: rgba(3,2,19,.18);
  --topbar: rgba(232, 232, 234, .82);
  --grain-op: 1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Fond papier Wilvinn : fixe, plein écran (calque à part pour marcher aussi sur iPhone) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: url("img/paper.webp") center / cover no-repeat; opacity: var(--grain-op);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ============ En-tête ============ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: var(--topbar);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(3, 2, 19, .08);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand span {
  font-family: "Jost", "Futura", "Futura PT", sans-serif; font-weight: 300;
  font-size: 26px; letter-spacing: .32em; color: var(--titre);
  padding-top: 2px;
}
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
.nav a {
  font-weight: 700; font-size: 15px; text-decoration: none; position: relative; padding: 6px 0;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--noir); color: var(--blanc) !important; padding: 9px 18px !important; border-radius: 999px;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--violet-dark); }

/* ============ Bannière ============ */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  background: var(--noir);
  padding-top: clamp(48px, 9vh, 96px);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("img/banner.webp") center / cover no-repeat;
  transform: scale(1.04);
}
.hero-bg::after { /* vignette + fondu vers le bas */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, transparent 0 35%, rgba(3,2,19,.55) 85%),
    linear-gradient(to bottom, rgba(3,2,19,.25), transparent 30%, transparent 70%, rgba(3,2,19,.7));
}
.hero-title {
  position: relative; z-index: 2;
  max-width: 1240px; margin: 0; padding: 0 var(--gutter);
  text-align: center; color: var(--blanc);
  font-weight: 800; font-size: clamp(22px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -.01em;
  text-shadow: 0 2px 4px rgba(0,0,0,.6), 0 4px 24px rgba(0,0,0,.8);
}
/* mots mis en valeur : blancs + coup de surligneur mauve qui se trace de gauche à droite */
.hero-title em {
  font-style: normal; color: var(--blanc); position: relative; z-index: 0; white-space: nowrap;
  margin: 0 .1em; text-shadow: 0 1px 2px rgba(3,2,19,.35);
}
.hero-title em::after {
  content: ""; position: absolute; z-index: -1; left: -.14em; right: -.14em; top: .06em; bottom: -.02em; /* mot entièrement surligné */
  background: var(--violet); border-radius: .12em;
  transform: scaleX(0); transform-origin: left;
  animation: hero-mark .55s cubic-bezier(.6,0,.2,1) forwards;
}
.hero-title em + em::after, .hero-title em:last-of-type::after { animation-delay: .75s; }
.hero-title em:first-of-type::after { animation-delay: .45s; }
@keyframes hero-mark { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-title em::after { animation: none; transform: none; } }
.hero-avatar {
  position: relative; z-index: 1;
  margin-top: auto;
  width: min(620px, 92vw); height: auto;
  filter: drop-shadow(0 -10px 40px rgba(0,0,0,.55));
  margin-bottom: -2px;
}

/* ============ Sections ============ */
.block { max-width: var(--max); margin: 0 auto; padding: var(--section-pad) var(--gutter) 0; }
.block-head {
  display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 24px);
  margin-bottom: clamp(28px, 4vw, 44px);
}
.block-head-left { justify-content: flex-start; }
.title {
  margin: 0; text-align: center;
  font-weight: 900; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.05; color: var(--titre);
  position: relative; padding-bottom: 14px;
}
.title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(100%, 320px); height: 5px; border-radius: 3px; background: var(--violet);
}
.block-head-left .title { text-align: left; white-space: nowrap; }
/* Titre plus détendu : casse normale, plus petit */
.title-soft {
  text-transform: none; font-weight: 800; letter-spacing: -.015em;
  font-size: clamp(24px, 3.4vw, 38px); padding-bottom: 12px;
}
.title-soft em { font-style: italic; color: var(--violet); }
.title-soft::after { width: 90px; height: 4px; }
.block-head-left .title::after { left: 0; transform: none; width: 120px; }
.subtitle {
  margin: clamp(48px, 6vw, 72px) 0 22px;
  font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .14em; color: var(--texte-doux);
  display: flex; align-items: center; gap: 16px;
}
.subtitle::before, .subtitle::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }

.sticker {
  width: clamp(84px, 13vw, 150px); height: auto; flex: none;
  filter: drop-shadow(0 8px 14px rgba(3,2,19,.25));
  transition: transform .35s cubic-bezier(.3,1.6,.5,1);
}
.sticker:hover { transform: none; }
.sticker-small { width: clamp(70px, 9vw, 110px); }
.sticker-big { width: clamp(120px, 17vw, 210px); margin-bottom: -24px; }

/* ============ Grilles vidéo ============ */
.list { --gap: clamp(14px, 2vw, 24px); display: flex; flex-direction: column; gap: calc(var(--gap) * 1.6); }
.grid-h { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols, 3), 1fr); }
.grid-v { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.grid-v > .card { width: calc((100% - 3 * var(--gap)) / 4); }

.card {
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
  background: none;
}
.thumb {
  display: block; position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--noir); box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card[data-format="v"] .thumb { aspect-ratio: 9 / 16; }
.thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.card-yt { cursor: default; }
.card-yt:hover .thumb { transform: none; box-shadow: var(--shadow); }
.thumb img, .thumb video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, opacity .3s ease;
}
.card:hover .thumb, .card:focus-visible .thumb {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(3,2,19,.28), 0 0 0 3px var(--violet);
}
.card:hover .thumb img { transform: scale(1.04); }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(3,2,19,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 2px solid rgba(255,255,255,.85);
  display: grid; place-items: center; transition: background .25s ease, transform .25s ease, opacity .25s ease;
}
.play::before {
  content: ""; margin-left: 5px;
  border-left: 18px solid var(--blanc); border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.card:hover .play { background: var(--orange); border-color: var(--orange); transform: translate(-50%, -50%) scale(1.08); }
/* ============ Vidéos en boucle : son au clic, un seul à la fois ============ */
.card-auto { cursor: default; }
.card-toggle { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.sound-btn {
  position: absolute; right: 10px; bottom: 10px; z-index: 3; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(3,2,19,.72); color: var(--blanc);
  padding: 7px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  transition: background .2s ease, padding .2s ease;
}
.sound-ico {
  width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 9l6 6M22 9l-6 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 9l6 6M22 9l-6 6' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sound-txt { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease; }
.card-auto:hover .sound-txt, .card-toggle:focus-visible ~ .sound-btn .sound-txt { max-width: 120px; padding-right: 4px; }
.card-auto.has-sound .sound-btn { background: var(--orange); color: var(--noir); }
.card-auto.has-sound .sound-ico { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9h4l5-4v14l-5-4H3z'/%3E%3Cpath d='M16 8.5a5 5 0 0 1 0 7M18.5 6a8.5 8.5 0 0 1 0 12' stroke='black' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.card-auto.has-sound .thumb { box-shadow: 0 18px 40px rgba(3,2,19,.28), 0 0 0 3px var(--orange); }
.card-auto.no-audio .sound-btn { display: none; }
.card-auto.no-audio .card-toggle { cursor: zoom-in; }
.fs-btn {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(3,2,19,.72); color: var(--blanc);
  opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.fs-btn::before {
  content: ""; position: absolute; inset: 8px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.card-auto:hover .fs-btn, .fs-btn:focus-visible { opacity: 1; }
.fs-btn:hover { background: var(--violet); }
@media (hover: none) { .fs-btn { opacity: 1; } }

/* ============ Mosaïque « Vous aimerez peut-être aussi » ============ */
.mosaic { --gap: clamp(14px, 2vw, 24px); display: flex; gap: var(--gap); align-items: flex-start; }
.mosaic-feat { flex: none; width: 36%; }
.mosaic-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.mosaic-row { display: flex; gap: var(--gap); }
.mosaic-row > .card { flex-basis: 0; min-width: 0; }
.badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--noir); color: var(--blanc); padding: 5px 9px; border-radius: 999px;
}
.meta, .meta-chaine { display: block; }
.meta { padding: 12px 4px 0; }
.meta-chaine { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--violet-dark); }
.meta-titre {
  margin-top: 3px; font-size: 15px; overflow-wrap: anywhere; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card[data-format="v"] .meta-titre { font-size: 13.5px; }

/* ============ Avis clients ============ */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: clamp(20px, 3.5vw, 40px); }
.review {
  background: var(--surface); border-radius: 22px; padding: 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
}
.review-head { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.review-head img { width: 54px; height: 54px; flex: none; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--violet); }
.review-name { font-weight: 800; font-size: 18px; }
.review-subs { font-size: 13px; color: var(--texte-doux); font-weight: 500; }
.review-head:hover .review-name { color: var(--accent); }
.review .thumb { box-shadow: none; }

/* ============ Qui suis-je ============ */
.about { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-text p { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.7; margin: 0 0 16px; color: var(--texte); }
mark { background: none; color: var(--accent); font-weight: 700; }
.about-cta { margin-top: 26px !important; font-weight: 500; }
.about-cta a { font-weight: 700; color: var(--accent); text-decoration-color: var(--violet); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.about-cta a:hover { color: var(--orange); }
.polaroid {
  position: relative; margin: 0; justify-self: center;
  background: var(--blanc); padding: 14px 14px 46px; border-radius: 4px;
  box-shadow: 0 20px 40px rgba(3,2,19,.25);
  transform: rotate(4deg); max-width: 360px;
  transition: transform .4s ease;
}
.polaroid:hover { transform: rotate(1deg) scale(1.02); }
.polaroid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: 2px; background: linear-gradient(135deg, #b8a2d4, var(--violet)); }
.pin {
  position: absolute; top: -10px; left: 50%; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff7b6b, #c0261b 60%, #7a1010);
  box-shadow: 0 4px 6px rgba(0,0,0,.35);
}

/* ============ Contact ============ */
.contact { margin-top: clamp(32px, 4.5vw, 64px); text-align: center; }
.contact-avatar { width: min(560px, 92vw); height: auto; margin: 0 auto -2px; position: relative; z-index: 1; }
.contact-band { background: var(--noir); color: var(--blanc); padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(40px, 5vw, 60px); }
.contact-title {
  margin: 0 0 32px; font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(22px, 3.6vw, 40px); letter-spacing: .01em;
}
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; }
.contact-link {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-weight: 700; font-size: clamp(15px, 1.8vw, 18px);
  padding: 14px 24px; border-radius: 999px; border: 2px solid rgba(255,255,255,.25);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.contact-link svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.contact-link:hover { background: var(--violet); border-color: var(--violet); }
.contact-link:first-child { background: var(--orange); border-color: var(--orange); color: var(--noir); }
.contact-link:first-child:hover { background: var(--blanc); border-color: var(--blanc); }
.copyright { margin: 0; padding: 18px var(--gutter); font-size: 12.5px; color: var(--texte-doux); background: transparent; }

/* ============ Lecteur ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(3,2,19,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 56px 16px 24px;
  animation: fade .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox-frame { width: min(1280px, 100%, calc((100vh - 100px) * 16 / 9)); aspect-ratio: 16 / 9; }
.lightbox-frame.is-v { width: min(100%, calc((100vh - 100px) * 9 / 16)); aspect-ratio: 9 / 16; }
.lightbox-frame iframe, .lightbox-frame video { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #000; display: block; }
.lightbox-close {
  position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: var(--blanc); font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: var(--orange); }
@keyframes fade { from { opacity: 0; } }

/* ============ Apparition au scroll ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 760px) {
  :root { --header-h: 108px; }
  .br-desktop { display: none; }
  .topbar { flex-direction: column; justify-content: center; gap: 8px; height: auto; padding-top: 12px; padding-bottom: 10px; }
  .brand span { font-size: 22px; }
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .nav-cta { padding: 7px 14px !important; }
  .grid-h { grid-template-columns: 1fr; }
  .grid-v > .card { width: calc((100% - var(--gap)) / 2); }
  .hero { min-height: 74vh; }
  .about { grid-template-columns: 1fr; }
  .polaroid { max-width: 280px; }
  .reviews { grid-template-columns: minmax(0, 340px); }
  .mosaic { flex-direction: column; align-items: stretch; }
  .mosaic-feat { width: min(78%, 340px) !important; align-self: center; }
}
@media (max-width: 420px) {
  .nav { gap: 12px; }
  .nav a { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.card-auto:hover .thumb { transform: none; }
.card-auto:not(.has-sound):hover .thumb { box-shadow: 0 18px 40px rgba(3,2,19,.28), 0 0 0 3px var(--violet); }

/* ============ Titre « Vous aimerez… » : sticker qui dépasse de derrière la vidéo en haut à droite ============ */
.title-soft::after { left: 0; right: 0; width: auto; transform: none; } /* toute la phrase soulignée */
#bonus .block-head { position: relative; z-index: 0; margin-bottom: clamp(18px, 2.4vw, 28px); }
/* Le sticker est rangé DANS la carte vidéo en haut à droite (main.js) :
   la vidéo et lui apparaissent ensemble, comme un seul calque imbriqué. */
.card .tucked-sticker {
  position: absolute; left: 50%; bottom: 100%; z-index: 0;
  width: clamp(80px, 8vw, 112px); height: auto; margin: 0;
  translate: calc(-50% + var(--dx, 0px)) 16%; /* centré sur la vidéo ; juste le bas du buste passe derrière */
  pointer-events: none; filter: drop-shadow(0 4px 8px rgba(3,2,19,.2));
  transition: none;
}
.card .tucked-sticker:hover { transform: none; }
.card:has(.tucked-sticker) .thumb { z-index: 1; }
#bonus .mosaic { position: relative; z-index: 1; }
#bonus .block-head .sticker-small { width: 72px; }

/* Mot(s) en couleur dans les grands titres */
.title em { font-style: normal; color: var(--violet); }
.title { text-wrap: balance; }

/* Titre « Ils en parlent mieux que moi » : un peu plus petit, collé au sticker, trait sur toute la largeur */
.title-avis { font-size: clamp(26px, 3.9vw, 44px); width: fit-content; line-height: 1.08; }
.title-avis::after { left: 0; right: 0; width: auto; transform: none; }

/* Avis : nom / abonnés / thèmes de la chaîne */
.review-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.review-themes { font-size: 11.5px; letter-spacing: -.01em; font-style: italic; font-weight: 500; color: var(--accent); margin-top: 3px; }

/* Interview à droite de « Qui suis-je ? » (remplace la photo) */
.about { grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 4.5vw, 64px); }
.interview { min-width: 0; }
.interview-label { margin: 0 0 22px; font-weight: 700; font-size: clamp(14px, 1.4vw, 16px); text-align: center; }
.interview-label a { color: var(--accent); text-decoration-color: var(--violet); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.interview-label a:hover { color: var(--orange); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ============ Boutons de la bannière ============ */
.hero-ctas { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(18px, 2.5vw, 28px); padding: 0 var(--gutter); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-weight: 800; font-size: clamp(14px, 1.3vw, 16px); padding: 13px 24px; border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--noir); }
.btn-primary:hover { background: var(--blanc); }
.btn-ghost { color: var(--blanc); border: 2px solid rgba(255,255,255,.55); background: rgba(3,2,19,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--violet); background: var(--violet); }

/* ============ Bande clients ============ */
.clients { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 44px) var(--gutter) clamp(18px, 2.5vw, 26px); text-align: center; }
.clients-title { margin: 0 0 18px; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); }
.clients-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(14px, 3vw, 36px); }
.client { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--surface-2); box-shadow: 0 4px 14px rgba(3,2,19,.08); transition: transform .2s ease, box-shadow .2s ease; }
.client:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(3,2,19,.14), 0 0 0 2px var(--violet); }
.client img, .client-initial { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }
.client-initial { display: grid; place-items: center; background: var(--violet); color: var(--blanc); font-weight: 900; font-size: 20px; }
.client-id { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.client-name { font-weight: 800; font-size: 15px; }
.client-subs { font-size: 12.5px; color: var(--texte-doux); font-weight: 500; }

/* ============ Bande de mots-clés qui défile ============ */
.marquee { overflow: hidden; background: var(--orange); color: var(--noir); padding: 13px 0; margin: 6px 0 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-weight: 900; font-size: clamp(14px, 1.6vw, 19px); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; display: inline-flex; align-items: center; }
.marquee-track span::after { /* séparateur : le petit W du logo */
  content: ""; width: 1.25em; height: .8em; margin: 0 clamp(16px, 2vw, 28px);
  background: url("img/logo-w.webp") center / contain no-repeat;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Stickers vivants ============ */
/* boîte fixe : une émotion plus large ou plus haute ne fait pas bouger la mise en page */
.sticker[data-react] { aspect-ratio: 1 / 1.02; object-fit: contain; object-position: 50% 100%; }
/* changement d'émotion : petit pop très léger, le même partout */
.sticker[data-react] { transform-origin: 50% 100%; translate: var(--dx, 0px) 0; } /* ancrage : centre du bas, le sticker ne glisse pas sur le côté */
.sticker.is-popping { animation: sticker-pop .16s ease-out; }
@keyframes sticker-pop { from { transform: scale(.9); } to { transform: none; } }
/* à l'apparition : petit rebond, comme un autocollant qu'on claque */
.block-head.reveal.is-in .sticker:not(.tucked-sticker) { animation: sticker-slap .6s cubic-bezier(.3,1.6,.5,1) .15s both; }
@keyframes sticker-slap { 0% { transform: scale(.4) rotate(-12deg); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ============ Copier le mail + message ============ */
.contact-copy { font: inherit; color: var(--blanc); background: none; cursor: pointer; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--noir); color: var(--blanc); font-weight: 700; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(3,2,19,.35); transition: opacity .25s ease, translate .25s ease;
}
.toast.is-on { opacity: 1; translate: -50% 0; }

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

html { overflow-x: clip; }
@media (max-width: 760px) {
  .clients-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .client { padding: 6px 10px 6px 6px; gap: 8px; border-radius: 16px; }
  .client img, .client-initial { width: 36px; height: 36px; font-size: 16px; }
  .client-name { font-size: 13px; }
  .client-subs { font-size: 11px; }
  .hero-ctas { gap: 8px; }
  .btn { padding: 11px 16px; font-size: 13.5px; }
}

/* émotion « large » (transat) : agrandie depuis le bas, sans décaler la mise en page */
.sticker.is-wide { scale: 1.45; transform-origin: 50% 100%; }
/* le petit pop de changement passe avant l'animation d'apparition (même effet partout) */
.block-head.reveal.is-in .sticker.is-popping { animation: sticker-pop .16s ease-out; }

.card .sticker.tucked-sticker { translate: calc(-50% + var(--dx, 0px)) 16%; }
#apropos .block-head .sticker { margin-right: 14px; }

/* Bande clients : défile en sens inverse de la bande orange, pause au survol */
.clients { max-width: none; padding-left: 0; padding-right: 0; }
.clients-marquee {
  overflow: hidden; padding: 6px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-marquee .clients-list {
  display: flex !important; flex-wrap: nowrap; justify-content: flex-start; gap: 0;
  width: max-content; animation: marquee-rev 120s linear infinite;
}
.clients-marquee .clients-list > li { margin-right: clamp(40px, 5vw, 72px); flex: none; }
.clients-marquee:hover .clients-list { animation-play-state: paused; }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .clients-marquee .clients-list { animation: none; } }

/* ============ Bannière : mur de miniatures coulissant ============ */
.hero-wall {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; grid-template-rows: repeat(6, 1fr); gap: var(--wall-gap); padding: var(--wall-gap) 0;
  background: var(--wall-border); /* = les bordures entre les miniatures */
  --wall-gap: 7px; --wall-border: #000; /* ancien réglage : 5px et #c9c9cd (clair) */
}
.wall-row { overflow: hidden; min-height: 0; }
.wall-track { display: flex; height: 100%; width: max-content; animation: wall-left 146s linear infinite; /* même vitesse pour toutes les rangées (celle de la 3e) */ will-change: transform; }
.wall-row:nth-child(even) .wall-track { animation-name: wall-right; }
.wall-track img { height: 100%; width: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-right: var(--wall-gap); flex: none; display: block; }
@keyframes wall-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wall-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.hero-shade { /* assombrissement + vignette plus légère que l'ancienne image */
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 26% at 50% 17%, rgba(3,2,19,.6), transparent 100%), /* zone du titre */
    radial-gradient(ellipse at 50% 55%, rgba(3,2,19,.3) 0%, rgba(3,2,19,.55) 60%, rgba(3,2,19,.85) 100%),
    linear-gradient(to bottom, rgba(3,2,19,.4), transparent 30%, transparent 75%, rgba(3,2,19,.55));
}
@media (prefers-reduced-motion: reduce) { .wall-track { animation: none; } }

/* retour visuel quand l'adresse mail est copiée */
.contact-link.is-copied { background: var(--blanc) !important; border-color: var(--blanc) !important; color: var(--noir) !important; }

/* ============ Mobile : carrousels à faire glisser au doigt (portfolio, chaînes, avis) ============ */
@media (max-width: 760px) {
  .grid-h, .reviews {
    display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding: 0 var(--gutter);
    scrollbar-width: none; justify-content: flex-start;
  }
  .grid-h::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
  .grid-h > .card { flex: 0 0 84%; scroll-snap-align: start; }
  .reviews > .review { flex: 0 0 80%; scroll-snap-align: start; }
  .interview .grid-h { display: block !important; overflow: visible; margin: 0; padding: 0; } /* l'interview reste seule */
  .interview .grid-h > .card { flex: none; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; justify-content: center; gap: 6px; margin-top: 2px; }
.swipe-hint span { width: 6px; height: 6px; border-radius: 50%; background: var(--ligne); transition: background .2s, width .2s; }
.swipe-hint span.on { background: var(--violet); width: 18px; border-radius: 3px; }

/* Mobile : texte de « Qui suis-je ? » centré */
@media (max-width: 760px) {
  .about-text { text-align: center; }
  .about-text p { font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; }
}


/* =====================================================================
   THÈMES À COMPARER — <html data-theme="sombre"> ou "clair"
   (sans data-theme = thème "papier", l'actuel)
   ===================================================================== */
html[data-theme="sombre"] {
  --fond: #0d0b16;
  --surface: #17141f;
  --surface-2: rgba(255,255,255,.06);
  --texte: #e8e5ef;
  --texte-doux: #a29cb3;
  --titre: #ffffff;
  --accent: #b9a1dc;            /* mauve éclairci pour rester lisible sur le sombre */
  --ligne: rgba(255,255,255,.14);
  --topbar: rgba(13,11,22,.82);
  --grain-op: 0;
  --shadow: 0 10px 30px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
}
html[data-theme="sombre"] body::after { /* léger grain pour garder de la matière */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/grain.png"); opacity: .05; mix-blend-mode: screen;
}
html[data-theme="sombre"] .brand img { filter: invert(1); }
html[data-theme="sombre"] .topbar { border-bottom-color: rgba(255,255,255,.07); }
html[data-theme="sombre"] .nav-cta { background: var(--violet); color: var(--noir) !important; }
html[data-theme="sombre"] .nav-cta:hover { background: var(--blanc); }
html[data-theme="sombre"] .contact-band { background: #06050c; border-top: 1px solid rgba(255,255,255,.06); }
html[data-theme="sombre"] .client { box-shadow: none; border: 1px solid rgba(255,255,255,.08); }

html[data-theme="clair"] {
  --fond: #f4f1ec;              /* blanc cassé chaud, uniforme */
  --surface: #ffffff;
  --surface-2: #ffffff;
  --texte: #17151f;
  --texte-doux: #5d5a68;
  --titre: #0b0a12;
  --accent: var(--violet-dark);
  --ligne: rgba(3,2,19,.12);
  --topbar: rgba(244,241,236,.85);
  --grain-op: 0;
  --shadow: 0 8px 24px rgba(3,2,19,.10), 0 1px 4px rgba(3,2,19,.08);
}
html[data-theme="clair"] body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/grain.png"); opacity: .06; mix-blend-mode: multiply;
}

/* ===== Thème "alterne" : clair partout, sombre pour les sections vidéo ===== */
html[data-theme="alterne"] {
  --fond: #f4f1ec; --surface: #ffffff; --surface-2: #ffffff;
  --texte: #17151f; --texte-doux: #5d5a68; --titre: #0b0a12; --accent: var(--violet-dark);
  --ligne: rgba(3,2,19,.12); --topbar: rgba(244,241,236,.85); --grain-op: 0;
  --shadow: 0 8px 24px rgba(3,2,19,.10), 0 1px 4px rgba(3,2,19,.08);
  --sombre: #0d0b16;
}
html[data-theme="alterne"] body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/grain.png"); opacity: .06; mix-blend-mode: multiply;
}
/* sections sombres : fond pleine largeur, transition nette */
html[data-theme="alterne"] :is(#portfolio, #bonus, .clients) {
  --surface: #17141f; --surface-2: rgba(255,255,255,.06);
  --texte: #e8e5ef; --texte-doux: #a29cb3; --titre: #ffffff; --accent: #b9a1dc;
  --ligne: rgba(255,255,255,.14);
  --shadow: 0 10px 30px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.3);
  color: var(--texte);
  position: relative; isolation: isolate;
}
/* fond sombre pleine largeur, dessiné derrière la section (sans couture sur les bords) */
html[data-theme="alterne"] :is(#portfolio, #bonus, .clients)::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0;
  left: calc(50% - 50vw); width: 100vw; background: var(--sombre);
}
html[data-theme="alterne"] :is(#portfolio, #bonus) { padding-bottom: var(--section-pad); }
html[data-theme="alterne"] .clients .client { box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
html[data-theme="alterne"] .marquee { margin-top: 0; }
html[data-theme="alterne"] #apropos { padding-bottom: 8px; }
html[data-theme="alterne"] #avis { padding-bottom: var(--section-pad); } /* respiration avant la section sombre */
html[data-theme="alterne"] body::before { background: none; } /* plus de fond papier : on ne le charge plus */
