/* =====================================================================
   Variantes de design de l'accueil (en-tête + univers)
   A = Showroom (actuel) · B = Immersif
   Le choix est piloté par html[data-hv] (bouton flottant .hv-switch).
   ===================================================================== */
html:not([data-hv="b"]) .hv-b-only, html:not([data-hv="c"]) .hv-c-only { display: none; }
html[data-hv="b"] .hv-a-only, html[data-hv="c"] .hv-a-only { display: none; }

/* ---------- Bouton flottant ---------- */
.hv-switch { position: fixed; left: 16px; bottom: 18px; z-index: 70; display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(12,10,12,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(229,50,45,.12); font-family: 'Rubik', sans-serif; }
.hv-switch-lbl { padding: 0 8px 0 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #bdb4a6; white-space: nowrap; }
.hv-switch-lbl i { color: #e5322d; margin-right: 4px; }
.hv-switch button { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 6px; border: 0; border-radius: 999px; background: transparent; color: #d9d1c4; cursor: pointer; transition: background .2s, color .2s; }
.hv-switch button b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); font-size: 12px; }
.hv-switch button small { font-size: 12px; font-weight: 500; }
.hv-switch button:hover { background: rgba(255,255,255,.06); }
.hv-switch button[aria-pressed="true"] { background: #e5322d; color: #fff; }
.hv-switch button[aria-pressed="true"] b { border-color: rgba(255,255,255,.6); background: rgba(0,0,0,.18); }
@media (max-width: 600px) { .hv-switch { left: 10px; bottom: 76px; } .hv-switch-lbl { display: none; } .hv-switch button small { display: none; } .hv-switch button { padding: 0 5px; } }

/* =====================================================================
   B — HERO IMMERSIF
   ===================================================================== */
.hvb-hero { --hvb-red: #e5322d; display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 11vw, 168px); height: clamp(560px, 45vw, 780px); background: #070609; border-bottom: 1px solid rgba(255,255,255,.06); }
.hvb-stage { position: relative; overflow: hidden; isolation: isolate; }
.hvb-bg { position: absolute; inset: -18px; z-index: -3; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hvb-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 38%; animation: hvbZoom 22s ease-in-out infinite alternate; }
@keyframes hvbZoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hvb-veil { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 50% at 18% 42%, rgba(80,170,255,.16), transparent 70%),
  linear-gradient(90deg, rgba(7,6,9,.55) 0%, transparent 30%),
  linear-gradient(180deg, transparent 50%, rgba(7,6,9,.55) 76%, rgba(7,6,9,.96) 100%); animation: hvbFlash 5.5s ease-in-out infinite; }
@keyframes hvbFlash { 0%, 100% { opacity: 1; } 46% { opacity: 1; } 48% { opacity: .78; } 50% { opacity: 1; } 52% { opacity: .85; } 54% { opacity: 1; } }
.hvb-stage .hero-embers { z-index: -1; }

/* néon japonais */
.hvb-neon { position: absolute; left: 56%; top: 9%; text-align: center; pointer-events: none; }
.hvb-neon span { display: block; font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: clamp(54px, 6vw, 104px); line-height: 1.02; letter-spacing: .02em; color: #ffd6e4;
  text-shadow: 0 0 4px #fff, 0 0 12px #ff3d7f, 0 0 26px #ff2266, 0 0 54px #ff1a55, 0 0 90px rgba(255,26,85,.6); animation: hvbNeon 6s linear infinite; }
.hvb-neon small { display: block; margin-top: 14px; font-family: 'Rubik', sans-serif; font-size: clamp(10px, .85vw, 13px); font-weight: 600; letter-spacing: .32em; text-transform: uppercase; line-height: 1.7; color: #f2ecf1; text-shadow: 0 0 10px rgba(255,60,120,.6); }
@keyframes hvbNeon { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .55; } }

/* étendard vertical */
.hvb-flag { position: absolute; right: 3.2%; top: 0; width: clamp(66px, 6.4vw, 104px); height: 74%; padding-top: 6%; display: flex; flex-direction: column; align-items: center; gap: 4%; color: #121014;
  background: linear-gradient(90deg, #cfc8bd, #f4efe6 22%, #fbf8f2 50%, #ece5da 78%, #c9c1b5); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 94%, 0 100%); box-shadow: inset 0 -30px 40px -20px rgba(0,0,0,.25); transform-origin: top center; animation: hvbSway 7s ease-in-out infinite; }
.hvb-flag::before { content: ''; position: absolute; top: 0; left: -8%; right: -8%; height: 8px; border-radius: 4px; background: linear-gradient(180deg, #4a3624, #2a1d12); }
.hvb-flag span { font-family: 'Noto Serif JP', serif; font-weight: 900; font-size: clamp(38px, 3.8vw, 64px); line-height: 1; }
.hvb-flag b { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(40px, 4.2vw, 72px); line-height: .9; letter-spacing: .02em; }
@keyframes hvbSway { 0%, 100% { transform: rotate(.8deg) skewX(.4deg); } 50% { transform: rotate(-.8deg) skewX(-.4deg); } }

/* texte + CTA */
.hvb-copy { position: absolute; left: clamp(20px, 3.4vw, 56px); bottom: 21%; max-width: 440px; padding: 22px 26px 24px; background: linear-gradient(135deg, rgba(8,7,10,.86), rgba(8,7,10,.62)); border-left: 2px solid var(--hvb-red); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: hvbIn .9s .1s both cubic-bezier(.2,.8,.2,1); }
.hvb-title { margin: 0 0 12px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: clamp(22px, 2.15vw, 34px); line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hvb-cats { margin: 0 0 18px; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; line-height: 1.8; text-transform: uppercase; color: #bdb5aa; }
.hvb-btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px; border-radius: 3px; background: linear-gradient(180deg, #f0403a, #c81f19); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 28px -12px rgba(229,50,45,.9); transition: transform .2s, filter .2s; }
.hvb-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hvb-btn i { transition: transform .2s; } .hvb-btn:hover i { transform: translateX(4px); }
@keyframes hvbIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* barre de confiance */
.hvb-trust { position: absolute; left: clamp(20px, 3.4vw, 56px); right: 34%; bottom: 5.5%; list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.6vw, 44px); }
.hvb-trust li { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.35; color: #e9e2d6; }
.hvb-trust i { font-size: 20px; color: #fff; opacity: .92; }

/* colonne de droite */
.hvb-side { display: flex; flex-direction: column; gap: 14px; padding: 18px 14px 18px; border-left: 1px solid rgba(255,255,255,.06); background: linear-gradient(180deg, #0c0a0e, #070609); }
.hvb-thumb { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.hvb-thumb-img { position: relative; flex: 1; min-height: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; }
.hvb-thumb-img::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s; }
.hvb-thumb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hvb-thumb:hover .hvb-thumb-img img { transform: scale(1.08); }
.hvb-thumb:hover .hvb-thumb-img::after { box-shadow: inset 0 0 0 2px #e5322d; }
.hvb-thumb-cap { display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #d9d1c4; }
.hvb-thumb-cap b { font-weight: 600; } .hvb-thumb-cap em { font-style: normal; font-family: 'Bebas Neue', sans-serif; font-size: 15px; color: #fff; }
.hvb-scroll { display: flex; align-items: center; justify-content: space-between; padding-top: 6px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #a49b8e; }
.hvb-scroll i { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; font-size: 12px; animation: hvbBob 2s ease-in-out infinite; }
@keyframes hvbBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* =====================================================================
   B — PORTAILS UNIVERS
   ===================================================================== */
.hvb-uni { display: grid; grid-template-columns: clamp(190px, 15vw, 240px) minmax(0, 1fr); gap: 18px; align-items: center; width: min(1520px, 100% - 40px); margin: 0 auto; padding: 26px 0 30px; }
.hvb-uni-head h2 { position: relative; display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.hvb-uni-head h2::after { content: ''; flex: 1; min-width: 24px; height: 1px; margin-right: -18px; background: linear-gradient(90deg, #e5322d, rgba(229,50,45,.2)); }
.hvb-uni-head p { margin: 0 0 26px; font-size: 12.5px; line-height: 1.55; color: #b3ab9f; }
.hvb-uni-nav { display: flex; flex-direction: column; gap: 12px; }
.hvb-uni-nav button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: transparent; color: #fff; font-size: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.hvb-uni-nav button:hover { border-color: #e5322d; background: rgba(229,50,45,.14); }

/* rail */
.hvb-portals { list-style: none; margin: 0; padding: 16px 4px 18px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hvb-portals::-webkit-scrollbar { display: none; }
.hvb-portals li { flex: 0 0 calc((100% - 7 * 10px - 1.6 * (100% - 7 * 10px) / 8.6) / 7); min-width: 118px; scroll-snap-align: start; }
.hvb-portals li.hvb-all-li { flex-basis: calc(1.6 * (100% - 7 * 10px) / 8.6); min-width: 150px; }

/* carte « portail » : quadrilatère incliné (haut qui monte vers la droite, bord gauche en biais) */
.hvb-card { --shape: polygon(9% 5%, 100% 0, 93% 100%, 0 96%); position: relative; display: block; aspect-ratio: 2 / 3.1; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s; filter: drop-shadow(0 18px 22px rgba(0,0,0,.55)); }
.hvb-frame { position: absolute; inset: 0; clip-path: var(--shape); background: linear-gradient(160deg, rgba(255,255,255,.34), rgba(255,255,255,.08) 40%, rgba(255,255,255,.2)); transition: background .45s; }
.hvb-media { position: absolute; inset: 1.5px; clip-path: var(--shape); overflow: hidden; background: #0d0c10; isolation: isolate; }
.hvb-media::after { content: ''; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(6,5,8,.05) 40%, rgba(6,5,8,.55) 72%, rgba(6,5,8,.94)); pointer-events: none; }
/* affiche et vidéo : MÊME cadrage, MÊME zoom (le zoom s'applique au conteneur commun) */
.hvb-vid, .hvb-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) 30%; }
.hvb-vid { z-index: 1; }
.hvb-poster { z-index: 2; transition: opacity .5s ease; }
.hvb-media > * { transform-origin: var(--fx) 40%; }
.hvb-vid, .hvb-poster { transform: scale(1); transition: opacity .5s ease, transform 5.2s cubic-bezier(.25,.6,.3,1); }
.hvb-card:hover .hvb-vid, .hvb-card:hover .hvb-poster, .hvb-card:focus-visible .hvb-vid, .hvb-card:focus-visible .hvb-poster, .hvb-card.is-playing .hvb-vid, .hvb-card.is-playing .hvb-poster { transform: scale(1.09); }
/* la vidéo démarre sur la même image que l'affiche → on retire l'affiche en fondu, sans saut */
.hvb-card.is-playing .hvb-poster { opacity: 0; transition: opacity .35s ease .05s, transform 5.2s cubic-bezier(.25,.6,.3,1); }
/* barre de progression des 5 s */
.hvb-card::after { content: ''; position: absolute; left: 4%; bottom: 3.6%; z-index: 4; height: 2px; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: rotate(-2.2deg); transform-origin: left; }
.hvb-card.is-playing::after { animation: hvbProg 5s linear forwards; }
.hvb-card.is-loading::after { width: 26%; animation: hvbLoad 1s ease-in-out infinite alternate; }
@keyframes hvbProg { from { width: 0; } to { width: 88%; } }
@keyframes hvbLoad { from { left: 4%; } to { left: 60%; } }
.hvb-card strong { position: absolute; left: 6%; right: 8%; bottom: 9%; z-index: 5; font-family: 'Bebas Neue', 'Rubik', sans-serif; font-weight: 400; font-style: italic; font-size: clamp(15px, 1.3vw, 21px); line-height: .98; letter-spacing: .03em; text-transform: uppercase; text-align: center; color: #fff; text-shadow: 0 2px 10px #000; transform: rotate(-2deg); }
.hvb-card:hover, .hvb-card:focus-visible { transform: translateY(-8px); filter: drop-shadow(0 0 1px var(--accent)) drop-shadow(0 14px 24px color-mix(in srgb, var(--accent) 55%, transparent)); z-index: 2; }
.hvb-card:hover .hvb-frame, .hvb-card:focus-visible .hvb-frame { background: var(--accent); }
.hvb-card:focus-visible { outline: none; }

/* « Tous les univers » : panneau fondu */
.hvb-all { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; aspect-ratio: auto; min-height: 100%; overflow: hidden; isolation: isolate; color: #fff; }
.hvb-all-li { display: flex; }
.hvb-all img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.5) blur(1px); -webkit-mask: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); mask: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); transition: opacity .4s; }
.hvb-all-ico { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transition: background .25s, border-color .25s, transform .25s; }
.hvb-all strong { font-family: 'Rubik', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hvb-all:hover img { opacity: .45; }
.hvb-all:hover .hvb-all-ico { background: #e5322d; border-color: #e5322d; transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .hvb-bg img, .hvb-veil, .hvb-neon span, .hvb-flag, .hvb-scroll i { animation: none; }
  .hvb-vid { display: none; } .hvb-card.is-playing .hvb-poster { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .hvb-trust { right: 3%; gap: 22px; }
  .hvb-trust li:nth-child(n+3) { display: none; }
  .hvb-flag { display: none; }
  .hvb-neon { left: auto; right: 5%; }
}
@media (max-width: 900px) {
  .hvb-hero { grid-template-columns: 1fr; height: auto; }
  .hvb-stage { height: 620px; }
  .hvb-bg img { object-position: 22% 40%; }
  .hvb-neon { right: 4%; top: 5%; }
  .hvb-neon span { font-size: 46px; }
  .hvb-neon small { font-size: 9px; letter-spacing: .24em; }
  .hvb-copy { left: 14px; right: 14px; bottom: 74px; max-width: none; padding: 18px 18px 20px; }
  .hvb-trust { left: 14px; right: 14px; bottom: 18px; justify-content: space-between; gap: 10px; }
  .hvb-trust li { font-size: 11px; gap: 8px; } .hvb-trust i { font-size: 16px; }
  .hvb-side { flex-direction: row; gap: 10px; padding: 12px 14px; border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
  .hvb-thumb { flex: 1; } .hvb-thumb-img { flex: none; aspect-ratio: 16 / 10; }
  .hvb-scroll { display: none; }
  .hvb-uni { grid-template-columns: 1fr; gap: 6px; width: calc(100% - 28px); padding-top: 22px; }
  .hvb-uni-head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
  .hvb-uni-head h2::after { margin-right: 0; }
  .hvb-uni-head p { margin: 0; grid-column: 1; } .hvb-uni-head p br { display: none; }
  .hvb-uni-nav { grid-column: 2; grid-row: 1 / span 2; flex-direction: row-reverse; }
  .hvb-portals li { flex-basis: 36%; min-width: 0; }
  .hvb-portals li.hvb-all-li { flex-basis: 40%; min-width: 0; }
}
@media (max-width: 480px) {
  .hvb-stage { height: 580px; }
  .hvb-trust li:nth-child(2) span br { display: none; }
  .hvb-portals li { flex-basis: 42%; }
  .hvb-portals li.hvb-all-li { flex-basis: 44%; }
}
@media (min-width: 901px) {
  .hvb-copy { bottom: 16%; max-width: 520px; padding: 18px 24px 20px; }
  .hvb-title { font-size: clamp(22px, 1.9vw, 30px); }
  .hvb-title br { display: none; }
  .hvb-cats { margin-bottom: 14px; }
  .hvb-bg img { object-position: 30% 30%; }
}
.hvb-thumb-cap { gap: 6px; }
.hvb-thumb-cap b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .hv-switch { bottom: 14px; left: auto; right: 10px; } }


/* ===== Portails B v3 : forme « éventail » (maquette) ===== */
.hvb-portals { gap: 0; padding: 18px 0 20px; overflow-x: auto; overflow-y: visible; }
.hvb-portals li { flex: 0 0 calc((100% - 1.55 * (100% / 8.55)) / 7); min-width: 112px; }
.hvb-portals li.hvb-all-li { flex-basis: calc(1.55 * 100% / 8.55); margin-left: 4.2%; }
.hvb-card { --shape: var(--fan); pointer-events: none; aspect-ratio: 2 / 3.05; filter: none; }
.hvb-card .hvb-frame { pointer-events: auto; left: -45%; right: -45%; inset-block: 0; clip-path: var(--fan); background: rgba(236,230,214,.22); filter: none; }
.hvb-card .hvb-media { inset: 1.5px; clip-path: var(--fan); }
.hvb-card .hvb-media::after { background: linear-gradient(180deg, rgba(6,5,8,0) 46%, rgba(6,5,8,.5) 74%, rgba(6,5,8,.92)); }
.hvb-vid, .hvb-poster { object-position: var(--fx) 28%; }
.hvb-card strong { left: var(--lx); right: auto; width: var(--lw); bottom: 8.5%; transform: translateX(-50%); font-style: normal; font-size: clamp(14px, 1.22vw, 20px); letter-spacing: .04em; line-height: 1; }
.hvb-card:nth-child(n) strong { text-wrap: balance; }
.hvb-card::after { left: var(--bl); width: 0; bottom: 2.2%; transform: none; }
.hvb-card.is-playing::after { animation: hvbProgFan 5s linear forwards; }
.hvb-card.is-loading::after { width: calc(var(--bw) * .3); animation: none; opacity: .7; }
@keyframes hvbProgFan { from { width: 0; } to { width: var(--bw); } }
.hvb-card:hover, .hvb-card:focus-visible { transform: translateY(-6px); filter: drop-shadow(0 12px 22px color-mix(in srgb, var(--accent) 45%, transparent)); }
.hvb-card:hover .hvb-frame, .hvb-card:focus-visible .hvb-frame { background: var(--accent); }
/* panneau « Tous les univers » : cadre sombre arrondi, image fondue */
.hvb-all { border: 1px solid rgba(255,255,255,.07); border-radius: 10px; background: #0b0a0d; }
.hvb-all img { opacity: .32; -webkit-mask: radial-gradient(120% 90% at 50% 50%, #000 30%, transparent 85%); mask: radial-gradient(120% 90% at 50% 50%, #000 30%, transparent 85%); }
.hvb-all strong { font-family: 'Bebas Neue', 'Rubik', sans-serif; font-weight: 400; font-size: clamp(14px, 1.15vw, 19px); letter-spacing: .06em; }
.hvb-uni { grid-template-columns: clamp(180px, 14vw, 230px) minmax(0, 1fr); }
.hvb-uni .hvb-portals { padding-inline: calc(100% / 8.55 * .42); margin-inline: calc(100% / 8.55 * -.42); }

/* tablette / mobile : rail défilant → cartes droites arrondies (l'éventail n'a de sens que rangée complète) */
@media (max-width: 1100px) {
  .hvb-portals { gap: 10px; }
  .hvb-uni .hvb-portals { padding-inline: 0; margin-inline: 0; }
  .hvb-portals li { flex-basis: 23%; min-width: 0; }
  .hvb-portals li.hvb-all-li { flex-basis: 26%; margin-left: 0; }
  .hvb-card .hvb-frame { left: 0; right: 0; clip-path: inset(0 round 10px); }
  .hvb-card .hvb-media { clip-path: inset(0 round 9px); }
  .hvb-card strong { left: 50%; width: 88%; }
  .hvb-card::after { left: 8%; }
  @keyframes hvbProgFan { from { width: 0; } to { width: 84%; } }
}
@media (max-width: 900px) { .hvb-portals li { flex-basis: 36%; } .hvb-portals li.hvb-all-li { flex-basis: 40%; } }
@media (max-width: 480px) { .hvb-portals li { flex-basis: 42%; } .hvb-portals li.hvb-all-li { flex-basis: 44%; } }
/* v3.1 : cases en % du rail, débord de l'éventail contenu dans le padding */
@media (min-width: 1101px) {
  .hvb-uni .hvb-portals { margin-inline: 0; padding: 18px 0 20px 2.7%; }
  .hvb-portals li { flex: 0 0 11%; min-width: 0; }
  .hvb-portals li.hvb-all-li { flex: 0 0 14.2%; margin-left: 3.3%; }
  .hvb-card strong { font-size: clamp(14px, 1.3vw, 21px); }
}
@media (min-width: 1101px) { .hvb-portals li.hvb-all-li { flex: 1 0 14.2%; margin-left: 2.6%; } }
.hvb-card:hover, .hvb-card:focus-visible { filter: none; }
.hvb-card .hvb-frame { transition: background .4s, box-shadow .4s; }
.hvb-card:hover .hvb-media::before { content: ''; position: absolute; inset: 0; z-index: 4; box-shadow: inset 0 -40px 50px -30px color-mix(in srgb, var(--accent) 70%, transparent); pointer-events: none; }
@media (max-width: 1100px) { .hvb-card strong { font-size: clamp(15px, 2vw, 20px); } }
/* laisser la place au rail latéral fixe (≈ 100 px à gauche) */
@media (min-width: 1101px) { .hvb-uni { padding-left: max(0px, calc(116px - (100vw - min(1520px, 100vw - 40px)) / 2)); } }
/* nouvelle image (réf. client) : Luffy à gauche, dragon + temple au centre, village à droite */
.hvb-bg img { object-position: 38% 30%; }
@media (min-width: 901px) { .hvb-bg img { object-position: 38% 26%; } .hvb-neon { left: 60%; top: 7%; } }
@media (max-width: 900px) { .hvb-bg img { object-position: 18% 40%; } }
@media (max-width: 900px) { .hvb-uni { grid-template-columns: 1fr; } }
/* étendard « 夢 DZ » désormais peint dans l'illustration ; néon recentré entre le dragon et l'étendard */
@media (min-width: 901px) { .hvb-neon { left: 64%; top: 9%; } .hvb-neon span { font-size: clamp(50px, 5.2vw, 92px); } }
@media (min-width: 901px) { .hvb-bg img { object-position: 40% 6%; } .hvb-neon { left: 62%; top: 7%; } .hvb-neon span { font-size: clamp(46px, 4.6vw, 84px); } }
@media (min-width: 901px) and (max-width: 1199px) { .hvb-bg img { object-position: 46% 6%; } .hvb-neon { left: auto; right: 24%; } }


/* =====================================================================
   C — « LÉGENDES » : bannière + titre doré + barre de confiance + cartes univers
   ===================================================================== */
.hvc-hero { position: relative; isolation: isolate; overflow: hidden; height: clamp(440px, 34vw, 600px); background: #07060a; }
.hvc-bg { position: absolute; inset: -14px; z-index: -3; transform: translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hvc-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; animation: hvbZoom 24s ease-in-out infinite alternate; }
.hvc-veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7,6,10,.82) 0%, rgba(7,6,10,.55) 26%, rgba(7,6,10,.05) 46%, transparent 70%, rgba(7,6,10,.5) 92%), linear-gradient(180deg, rgba(7,6,10,.25), transparent 22%, transparent 70%, rgba(7,6,10,.9)); }
.hvc-hero .hero-embers { z-index: -1; }
.hvc-copy { position: absolute; left: clamp(110px, 8vw, 150px); top: 50%; transform: translateY(-52%); max-width: 560px; animation: hvbIn .9s .1s both cubic-bezier(.2,.8,.2,1); }
.hvc-jp-top { display: block; margin-bottom: 4px; font-family: 'Noto Serif JP', serif; font-size: 12px; letter-spacing: .4em; color: #e9e1d2; opacity: .8; }
.hvc-title { margin: 0; font-family: 'Kaushan Script', cursive; font-weight: 400; line-height: .9; transform: rotate(-5deg); transform-origin: left center; }
.hvc-title span { display: block; font-size: clamp(46px, 5.6vw, 96px); background: linear-gradient(180deg, #fff3c4 8%, #ffcd4a 42%, #f08a1c 70%, #c2410f 92%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px rgba(80,10,4,.35); filter: drop-shadow(0 3px 0 #5a0a05) drop-shadow(0 6px 0 rgba(0,0,0,.45)) drop-shadow(0 0 26px rgba(229,50,45,.55)); }
.hvc-title span:first-child { font-size: clamp(36px, 4.2vw, 72px); }
.hvc-title span + span { margin-left: 9%; }
.hvc-jp { display: block; margin: 8px 0 0 52%; font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: clamp(14px, 1.25vw, 20px); letter-spacing: .25em; color: #fff; text-shadow: 0 2px 8px #000; }
.hvc-cats { margin: 22px 0 22px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 8px #000; }
.hvc-cats i { display: inline-block; width: 4px; height: 4px; margin: 0 8px; border-radius: 50%; background: #e5322d; vertical-align: 3px; }
.hvc-btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: 4px; background: linear-gradient(180deg, #f0403a, #c81f19); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 14px 30px -12px rgba(229,50,45,.9); transition: transform .2s, filter .2s; }
.hvc-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.hvc-btn i { transition: transform .2s; } .hvc-btn:hover i { transform: translateX(4px); }
.hvc-side { position: absolute; right: clamp(20px, 2.6vw, 44px); top: 12%; bottom: 12%; display: flex; flex-direction: column; align-items: flex-end; text-align: right; color: #fff; }
.hvc-side-ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transform: rotate(45deg); font-size: 14px; }
.hvc-side-ico i { transform: rotate(-45deg); }
.hvc-vert { writing-mode: vertical-rl; font-family: 'Noto Serif JP', serif; font-weight: 600; font-size: clamp(22px, 2vw, 32px); letter-spacing: .12em; line-height: 1; text-shadow: 0 2px 10px #000; }
.hvc-side p { margin: auto 0 0; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; line-height: 1.7; text-transform: uppercase; text-shadow: 0 2px 8px #000; }

.hvc-uni { position: relative; z-index: 1; width: min(1520px, 100% - 40px); margin: 0 auto; padding: 0 0 30px; }
.hvc-trust { list-style: none; margin: 0; padding: 18px clamp(10px, 3vw, 60px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.hvc-trust li { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 11.5px; color: #b9b0a3; }
.hvc-trust i { font-size: 22px; color: #f1ebe0; }
.hvc-trust strong { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.hvc-panel { margin-top: 18px; padding: 18px 18px 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: linear-gradient(180deg, rgba(20,16,18,.9), rgba(10,8,10,.9)); box-shadow: 0 30px 60px -30px #000; }
.hvc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.hvc-head h2 { display: flex; align-items: center; gap: 16px; margin: 0; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.hvc-head h2::after { content: ''; width: 46px; height: 2px; background: #e5322d; }
.hvc-nav { display: flex; gap: 10px; }
.hvc-nav button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; font-size: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.hvc-nav button:hover { border-color: #e5322d; background: rgba(229,50,45,.14); }
.hvc-rail { list-style: none; margin: 0; padding: 4px 2px 6px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hvc-rail::-webkit-scrollbar { display: none; }
.hvc-rail li { flex: 0 0 calc((100% - 8 * 10px) / 9); min-width: 112px; scroll-snap-align: start; }
.hvc-card { position: relative; display: block; aspect-ratio: 1 / 1.62; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; overflow: hidden; isolation: isolate; background: #0d0c10; transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s; }
.hvc-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hvc-media::after { content: ''; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, transparent 38%, rgba(6,5,8,.6) 66%, rgba(6,5,8,.96)); pointer-events: none; }
.hvc-card .hvb-vid, .hvc-card .hvb-poster { object-position: var(--fx) 25%; transform-origin: var(--fx) 35%; }
.hvc-card:hover .hvb-vid, .hvc-card:hover .hvb-poster, .hvc-card:focus-visible .hvb-vid, .hvc-card:focus-visible .hvb-poster, .hvc-card.is-playing .hvb-vid, .hvc-card.is-playing .hvb-poster { transform: scale(1.09); }
.hvc-card.is-playing .hvb-poster { opacity: 0; transition: opacity .35s ease .05s, transform 5.2s cubic-bezier(.25,.6,.3,1); }
.hvc-more .hvb-poster { object-position: 50% 20%; }
.hvc-card strong { position: absolute; left: 6px; right: 6px; bottom: 36px; z-index: 2; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: clamp(11px, .85vw, 14px); line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; text-align: center; color: #fff; text-shadow: 0 2px 8px #000; text-wrap: balance; }
.hvc-arrow { position: absolute; left: 50%; bottom: 12px; z-index: 2; transform: translateX(-50%); font-size: 12px; color: #fff; opacity: .85; transition: transform .25s, color .25s; }
.hvc-card::after { content: ''; position: absolute; left: 0; bottom: 0; z-index: 4; height: 2px; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hvc-card.is-playing::after { animation: hvcProg 5s linear forwards; }
.hvc-card.is-loading::after { width: 30%; opacity: .7; }
@keyframes hvcProg { from { width: 0; } to { width: 100%; } }
.hvc-card:hover, .hvc-card:focus-visible { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 18px 36px -16px var(--accent), 0 0 0 1px var(--accent); outline: none; }
.hvc-card:hover .hvc-arrow { transform: translateX(calc(-50% + 4px)); color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hvc-bg img { animation: none; } .hvc-card .hvb-vid { display: none; } .hvc-card.is-playing .hvb-poster { opacity: 1; } }

@media (max-width: 1199px) {
  .hvc-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .hvc-trust li { justify-content: flex-start; }
  .hvc-trust li:nth-child(n+4) { display: none; }
  .hvc-rail li { flex-basis: calc((100% - 5 * 10px) / 6); }
  .hvc-copy { left: 40px; }
}
@media (max-width: 900px) {
  .hvc-hero { height: 560px; }
  .hvc-bg img { object-position: 52% 30%; }
  .hvc-veil { background: linear-gradient(180deg, rgba(7,6,10,.35), transparent 26%, rgba(7,6,10,.55) 55%, rgba(7,6,10,.96)); }
  .hvc-copy { left: 18px; right: 18px; top: auto; bottom: 26px; transform: none; max-width: none; }
  .hvc-title span { font-size: 44px; } .hvc-title span:first-child { font-size: 34px; }
  .hvc-cats { font-size: 10px; letter-spacing: .14em; margin: 16px 0 16px; } .hvc-cats i { margin: 0 5px; }
  .hvc-side { display: none; }
  .hvc-uni { width: calc(100% - 24px); }
  .hvc-trust { grid-template-columns: 1fr 1fr; padding: 16px 4px; }
  .hvc-trust li:nth-child(3) { display: none; }
  .hvc-panel { padding: 14px 12px 16px; }
  .hvc-head h2 { font-size: 17px; }
  .hvc-rail li { flex-basis: 36%; min-width: 0; }
}
@media (max-width: 480px) { .hvc-rail li { flex-basis: 40%; } .hvc-trust i { font-size: 18px; } .hvc-trust li { gap: 10px; font-size: 10.5px; } }
@media (min-width: 901px) {
  .hvc-hero { height: clamp(500px, 39vw, 660px); }
  .hvc-bg img { object-position: 62% 22%; }
  .hvc-copy { top: 47%; transform: translateY(-50%); }
  .hvc-cats { margin: 18px 0 20px; }
}
@media (max-width: 480px) { .hvc-cats { letter-spacing: .08em; font-size: 9.5px; } .hvc-cats i { margin: 0 4px; } }
/* alignement sur la même grille que les autres sections (--wrap / --gutter) */
.hvc-uni, .hvb-uni { width: var(--wrap, min(1520px, 100% - 40px)); margin-left: auto; margin-right: auto; padding-left: 0; }
@media (min-width: 981px) { .hvc-copy { left: max(var(--gutter, 40px), calc((100% - 1760px) / 2)); } }
