:root {
  --bg: #0d0e11;
  --bg2: #121419;
  --surface: #171a20;
  --surface2: #1e222a;
  --line: #2a2f39;
  --text: #eef0f4;
  --muted: #8d94a3;
  --laser: #e3000f;
  --laser2: #ff4d4d;
  --ok: #3ecf8e;
  --bad: #ff4d5e;
  --radius: 16px;
  --grad: linear-gradient(100deg, var(--laser), var(--laser2));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(227, 0, 15, .12), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, rgba(91, 157, 255, .07), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 15px/1.5 Inter, system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: var(--laser2); }
h1, h2, h3, .price, .pfoot b { font-family: "Space Grotesk", Inter, sans-serif; letter-spacing: -.01em; }
h1 { font-size: 30px; margin: 0 0 8px; line-height: 1.15; }
h2 { font-size: 17px; margin: 0; }
h3 { font-size: 16px; margin: 0; }
small { color: var(--muted); font-weight: 400; font-size: 12px; }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 12px 24px;
  background: rgba(13, 14, 17, .85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 10px; display: flex; align-items: center; gap: 6px; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--surface2); }
.count { background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; border-radius: 99px; padding: 0 7px; min-width: 20px; text-align: center; }
.count:empty { display: none; }
.banner { background: rgba(255, 77, 77, .12); border-bottom: 1px solid rgba(255, 77, 77, .35); color: var(--laser2); text-align: center; padding: 10px 20px; font-size: 14px; }

/* Logo animé (même que GRAVIQ) */
.logo-g { position: relative; display: inline-block; height: 34px; flex: none; line-height: 0; }
.logo-g img { height: 100%; width: auto; display: block; animation: g-glow 3.2s ease-in-out infinite; }
.logo-word { height: 21px; width: auto; display: block; }
.logo-g .beam { position: absolute; left: 1%; top: 53.9%; width: 48%; height: 2px; margin-top: -1px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, #fff 70%, #ffd27a); transform-origin: left center; transform: scaleX(0); opacity: 0;
  filter: drop-shadow(0 0 3px #ff9a2e); animation: g-beam 3.2s ease-in-out infinite; }
.logo-g .spark { position: absolute; left: 49.2%; top: 53.9%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%) scale(.4); pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(circle, #fff 0 6%, rgba(255, 210, 120, .9) 12%, rgba(255, 140, 30, .45) 26%, transparent 52%),
    conic-gradient(from 0deg, transparent 0 8%, rgba(255, 220, 150, .8) 10%, transparent 12% 33%, rgba(255, 220, 150, .8) 35%, transparent 37% 58%, rgba(255, 220, 150, .8) 60%, transparent 62% 83%, rgba(255, 220, 150, .8) 85%, transparent 87%);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%);
  border-radius: 50%; opacity: .55; animation: g-spark 3.2s ease-in-out infinite; }
@keyframes g-beam { 0%, 8% { transform: scaleX(0); opacity: 0; } 14% { opacity: 1; } 30% { transform: scaleX(1); opacity: 1; } 40%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes g-spark { 0%, 26% { transform: translate(-50%, -50%) scale(.4) rotate(0deg); opacity: .5; }
  33% { transform: translate(-50%, -50%) scale(1.25) rotate(25deg); opacity: 1; }
  48% { transform: translate(-50%, -50%) scale(.75) rotate(40deg); opacity: .75; }
  100% { transform: translate(-50%, -50%) scale(.4) rotate(60deg); opacity: .5; } }
@keyframes g-glow { 0%, 25%, 100% { filter: drop-shadow(0 0 0 rgba(255, 140, 40, 0)); } 34% { filter: drop-shadow(0 0 7px rgba(255, 140, 40, .55)); } }
@media (prefers-reduced-motion: reduce) { .logo-g img, .logo-g .beam, .logo-g .spark { animation: none; } .logo-g .beam { opacity: 0; } }

/* ---------- Mise en page ---------- */
main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 28px 24px 60px; flex: 1; }
.loading, .empty { text-align: center; color: var(--muted); padding: 80px 20px; }
.page-title { margin-bottom: 18px; }
.back { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 18px; font-size: 14px; }
.back:hover { color: var(--text); }

.hero { padding: 34px 0 26px; max-width: 720px; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -.03em; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #fff; font-size: 17px; margin: 14px 0 18px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-badges span { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px; font-size: 13px; color: var(--muted); }
.hero-badges span::before { content: "✦ "; color: var(--laser2); }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.chip { background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px; font: 500 14px Inter, sans-serif; cursor: pointer; transition: .15s; }
.chip:hover { color: var(--text); border-color: #3a4150; }
.chip.on { color: #fff; background: var(--grad); border-color: transparent; font-weight: 600; }
.chips .chip.on::before { content: "✓ "; }
.chips.small .chip { padding: 5px 11px; font-size: 13px; }

/* ---------- Catalogue ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.pcard:hover { transform: translateY(-3px); border-color: #3a4150; }
.ph { aspect-ratio: 1; background: var(--bg2); display: grid; place-items: center; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .55; }
.ph-empty .logo-g { height: 54px; }
.ph.small .ph-empty .logo-g { height: 26px; }
.ph.small .ph-empty small { display: none; }
.pinfo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pmeta { color: var(--muted); font-size: 13px; }
.pfoot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pfoot b { font-size: 19px; }
.tagp { font-size: 12px; color: var(--laser2); border: 1px solid rgba(255, 77, 77, .35); border-radius: 99px; padding: 2px 9px; }

/* ---------- Fiche produit ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gallery { position: sticky; top: 84px; }
.ph.big { border-radius: var(--radius); border: 1px solid var(--line); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 70px; height: 70px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--bg2); cursor: pointer; }
.thumbs button.on { border-color: var(--laser); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.kicker { color: var(--laser2); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.price { font-size: 28px; font-weight: 700; margin: 4px 0 14px; }
.specs { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.specs span { color: var(--muted); margin-right: 6px; }
.ptext { color: #c9cdd6; margin: 0 0 18px; }
.perso { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.perso h2 { margin-bottom: 10px; }
.field-label { font-size: 14px; font-weight: 500; margin-top: 6px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; margin-bottom: 12px; }
input, textarea, select { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 15px Inter, sans-serif; width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--laser); box-shadow: 0 0 0 3px rgba(227, 0, 15, .18); }
textarea { resize: vertical; }
.upload { margin-bottom: 12px; }
.upload .file { margin-top: 8px; display: inline-flex; flex-direction: row; }
.logo-chosen { display: flex; align-items: center; gap: 12px; margin-top: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.logo-chosen img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 6px; }
.logo-chosen span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.file-ico { flex: none !important; width: 48px; height: 48px; display: grid; place-items: center; background: var(--surface2); border-radius: 6px; font-weight: 700; font-size: 12px; }
.buy { display: flex; gap: 12px; align-items: stretch; }
.buy .btn { flex: 1; }
.made { color: var(--muted); font-size: 13px; margin-top: 12px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.qty button { background: none; border: 0; color: var(--text); width: 40px; height: 46px; font-size: 20px; cursor: pointer; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.qty.small button { width: 32px; height: 32px; font-size: 17px; }

/* ---------- Boutons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 20px; font: 600 15px Inter, sans-serif; cursor: pointer; text-decoration: none; background: var(--surface2); color: var(--text); }
.btn.ghost { background: transparent; border: 1px solid var(--line); }
.btn.ghost:hover { border-color: #3a4150; }
.btn.laser { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -10px rgba(227, 0, 15, .7); }
.btn.laser .spark { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); }
.btn.laser:hover .spark, .btn.laser.loading .spark { animation: sweep 1.3s infinite; }
@keyframes sweep { to { transform: translateX(100%); } }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn.full { width: 100%; }
.linkish { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: 13px Inter, sans-serif; padding: 0; }
.linkish:hover { color: var(--text); }

/* ---------- Panier ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; gap: 12px; }
.cline { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.cline .ph.small { width: 92px; height: 92px; flex: none; border-radius: 10px; aspect-ratio: auto; }
.cinfo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.csum { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.csum b { color: var(--text); font-weight: 500; }
.crow { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.crow b { margin-left: auto; font-family: "Space Grotesk", Inter, sans-serif; font-size: 17px; }
.checkout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 84px; }
.checkout h2 { margin: 4px 0 12px; }
.checkout h2:not(:first-child) { margin-top: 20px; }
.radio { flex-direction: row; align-items: flex-start; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; margin-bottom: 8px; }
.radio:has(input:checked) { border-color: var(--laser); }
.radio input { width: auto; margin-top: 3px; accent-color: var(--laser); }
.radio span { display: flex; flex-direction: column; }
.checkout select { margin-bottom: 8px; }
.hint { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }
.totals { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.totals div { display: flex; justify-content: space-between; }
.totals .big { font-size: 20px; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; margin-top: 4px; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 13px; color: #c9cdd6; margin: 16px 0; }
.check input { width: auto; margin-top: 2px; accent-color: var(--laser); }
.secure { text-align: center; color: var(--muted); font-size: 12px; margin: 10px 0 0; }

/* ---------- Merci / pages légales ---------- */
.thanks { max-width: 560px; margin: 40px auto; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; }
.thanks ul { list-style: none; padding: 0; color: var(--muted); }
.thanks p { color: #c9cdd6; }
.ok-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 28px; font-weight: 700; display: grid; place-items: center; margin: 0 auto 14px; }
.legal { max-width: 760px; }
.legal h2 { margin: 24px 0 6px; }
.legal p { color: #c9cdd6; margin: 0 0 8px; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg2); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.foot-in > div { display: flex; flex-direction: column; gap: 2px; }
.foot-in b { color: var(--text); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--surface2); border: 1px solid var(--line); color: var(--text); padding: 12px 18px; border-radius: 12px; font-size: 14px; transition: .25s; z-index: 50; max-width: calc(100vw - 32px); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(255, 77, 94, .5); color: #ffb3bb; }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .product, .cart { grid-template-columns: 1fr; gap: 22px; }
  .gallery, .checkout { position: static; }
}
@media (max-width: 520px) {
  .top { padding: 10px 14px; gap: 10px; }
  .logo-g { height: 28px; } .logo-word { height: 17px; }
  .nav a { padding: 7px 10px; }
  main { padding: 20px 14px 50px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pinfo { padding: 10px 11px 12px; }
  .pinfo h3 { font-size: 14px; }
  .pmeta { display: none; }
  .pfoot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pfoot b { font-size: 16px; }
  .cline .ph.small { width: 72px; height: 72px; }
  .buy { flex-direction: column; }
  .buy .qty { align-self: flex-start; }
}

/* Encadré Contact (bas de page) */
.contact-box { max-width: 1180px; margin: 28px auto 0; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, rgba(227, 0, 15, .10), rgba(255, 77, 77, .04)) , var(--surface); }
.contact-box h2 { margin: 0 0 4px; font-size: 20px; }
.contact-box p { margin: 0; color: var(--muted); font-size: 14px; max-width: 560px; }
.contact-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.contact-links .btn { padding: 11px 18px; font-size: 14px; word-break: break-all; }
@media (max-width: 1228px) { .contact-box { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 560px) { .contact-box { margin: 20px 14px 0; padding: 18px; } .contact-links, .contact-links .btn { width: 100%; } }

/* Logo JRV GRAVURE (fond transparent) */
.logo-jrv { height: 40px; width: auto; display: block; }
.ph-empty .logo-jrv { height: auto; width: 62%; max-width: 220px; opacity: .85; }
.ph.small .ph-empty .logo-jrv { width: 80%; }
@media (max-width: 560px) { .brand .logo-jrv { height: 30px; } }

/* Formulaire de contact + puzzle anti-robot */
.contact-box { align-items: flex-start; }
.contact-text { flex: 1 1 260px; }
.contact-form { flex: 2 1 420px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text); }
.contact-form .wide { grid-column: 1 / -1; }
.contact-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-captcha { display: grid; gap: 8px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; }
.contact-captcha-title { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-captcha .hint { font-size: 13px; color: var(--muted); }
.puzzle { position: relative; width: 100%; max-width: 300px; aspect-ratio: 2 / 1; border-radius: 10px; overflow: hidden; touch-action: none; }
.puzzle canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.puzzle.fail { animation: puzzle-shake .4s; }
.puzzle-ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.4); color: #fff; font-weight: 800; font-size: 17px; }
.puzzle-ok[hidden] { display: none; }
@keyframes puzzle-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.puzzle-track { position: relative; width: 100%; max-width: 300px; height: 40px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; touch-action: none; user-select: none; }
.puzzle-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(227, 0, 15, .25); }
.puzzle-track.done .puzzle-fill { background: rgba(62, 207, 142, .3); }
.puzzle-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); pointer-events: none; }
.puzzle-knob { position: absolute; left: 0; top: 0; width: 52px; height: 38px; border: none; border-radius: 999px; background: var(--grad); color: #fff; font-size: 17px; cursor: grab; touch-action: none; }
.puzzle-track.done .puzzle-knob { background: var(--ok); }
.puzzle-knob:active { cursor: grabbing; }
.link-btn { justify-self: start; background: none; border: none; padding: 0; color: var(--laser2); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.contact-send { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.contact-msg { margin: 0; font-size: 13px; }
.contact-msg.ok { color: var(--ok); }
.contact-msg.err { color: var(--bad); }
@media (max-width: 560px) { .contact-form { grid-template-columns: 1fr; } .contact-send .btn { width: 100%; } }

/* Encadré Contact compact + fenêtre du formulaire */
.contact-box { align-items: center; padding: 14px 20px; margin-top: 20px; }
.contact-box h2 { font-size: 16px; margin: 0 0 2px; }
.contact-box p { font-size: 13px; }
.contact-box .contact-links { margin-top: 0; align-items: center; }
.contact-box .contact-links .btn { padding: 9px 16px; font-size: 14px; }
#contact-links:empty { display: none; }
#contact-links { display: contents; }
body.no-scroll { overflow: hidden; }
.contact-dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.contact-dialog::backdrop { background: rgba(5, 6, 8, .72); backdrop-filter: blur(3px); }
.contact-dialog[open] { animation: dlg-in .18s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.contact-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-dialog-head h2 { margin: 0; font-size: 21px; }
.contact-close { border: 1px solid var(--line); background: transparent; color: var(--text); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.contact-close:hover { border-color: var(--laser); }
.contact-dialog-lead { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.contact-dialog .contact-form { flex: none; }
@media (max-width: 560px) {
  .contact-box { flex-direction: row; padding: 12px 14px; }
  .contact-box .contact-links, .contact-box .contact-links .btn { width: auto; }
  .contact-dialog { padding: 16px; }
}

/* Page Accueil */
.hero-cta { display: inline-flex; margin-top: 22px; text-decoration: none; }
.home-block { margin: 34px 0; }
.home-block h2 { font-size: 22px; margin: 0 0 14px; }
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.home-head a { color: var(--muted); text-decoration: none; font-size: 14px; }
.home-head a:hover { color: var(--text); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 18px; }
.step b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 14px; }
.step h3 { margin: 10px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.partners { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 14px; font-size: 14px; }
.muted { color: var(--muted); }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
/* En-tête sur téléphone : 3 onglets + logo tiennent sur la largeur */
@media (max-width: 480px) {
  .top { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .top .brand .logo-jrv { height: 26px; width: auto; }
  .nav { gap: 0; }
  .nav a { padding: 8px 8px; font-size: 14px; }
}

/* Page Custom */
.steps.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: 1fr; } }
.custom-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 20px 22px; }
.custom-cta h2 { margin: 0 0 4px; }
.custom-cta p { margin: 0; }
button.hero-cta { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
/* Téléphone : logo en haut, les 4 onglets sur une ligne en dessous */
@media (max-width: 520px) {
  .top { flex-wrap: wrap; justify-content: center; row-gap: 6px; padding-top: 8px; padding-bottom: 6px; }
  .top .brand .logo-jrv { height: 28px; }
  .nav { margin-left: 0; width: 100%; justify-content: space-between; }
  .nav a { padding: 7px 10px; }
}

/* ---------- Changement d'onglet : le laser grave le logo JRV de gauche à droite ---------- */
.laser-intro { position: fixed; inset: 0; z-index: 100; cursor: pointer; overflow: hidden; display: grid; place-items: center;
  background: var(--bg);
  animation: li-in .15s ease-out both; transition: opacity .3s ease; }
.laser-intro.out { opacity: 0; }
@keyframes li-in { from { opacity: 0; } }
.li-logo { position: relative; width: min(460px, 78vw); aspect-ratio: 900 / 179; transform: translateY(-3vh); }
.li-logo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.li-ghost { opacity: .07; filter: grayscale(1); }
.li-burn { clip-path: inset(0 100% 0 0); opacity: .9; filter: brightness(2.4) saturate(1.4) drop-shadow(0 0 10px rgba(255, 60, 60, .9));
  animation: li-cut .75s cubic-bezier(.55, .05, .35, 1) .1s forwards, li-cool .35s ease-out .85s forwards; }
.li-reveal { clip-path: inset(0 100% 0 0); animation: li-cut .75s cubic-bezier(.55, .05, .35, 1) .15s forwards, li-glow .6s ease-out .85s; }
@keyframes li-cut { to { clip-path: inset(0 0 0 0); } }
@keyframes li-cool { to { opacity: 0; } }
@keyframes li-glow { 40% { filter: drop-shadow(0 0 18px rgba(255, 60, 60, .7)) brightness(1.2); } }
.li-beam { position: absolute; left: -6%; top: 50%; height: 2px; width: 0; margin-top: -1px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 77, 77, .6) 60%, #fff); box-shadow: 0 0 12px 2px rgba(227, 0, 15, .7);
  animation: li-beam .75s cubic-bezier(.55, .05, .35, 1) .1s forwards, li-cool .2s ease-out .85s forwards; }
@keyframes li-beam { to { width: 106%; } }
.li-head { position: absolute; left: -6%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, #fff 0 7%, rgba(255, 190, 190, .95) 13%, rgba(227, 0, 15, .55) 30%, transparent 62%);
  animation: li-head .75s cubic-bezier(.55, .05, .35, 1) .1s forwards, li-flick .08s steps(2) .1s 9, li-cool .2s ease-out .85s forwards; }
@keyframes li-head { to { left: 100%; } }
@keyframes li-flick { 50% { transform: scale(1.25); } }
.li-sparks { position: absolute; inset: 0; pointer-events: none; }
.lsp { position: absolute; left: var(--x); top: 50%; width: var(--s); height: var(--s); border-radius: 50%; background: #ffd0c0; box-shadow: 0 0 6px 1px rgba(255, 60, 40, .9);
  opacity: 0; animation: li-spark .55s cubic-bezier(.2, .7, .4, 1) var(--d) forwards; }
@keyframes li-spark { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
.laser-intro.reduce .li-burn, .laser-intro.reduce .li-beam, .laser-intro.reduce .li-head, .laser-intro.reduce .li-sparks { display: none; }
.laser-intro.reduce .li-reveal { animation: none; clip-path: none; }

/* Disponibilité */
.stock { display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 600; }
.stock.in { color: var(--ok); }
.stock.order { color: #ffb84d; }
.stock.big { font-size: 14px; margin: -6px 0 14px; padding: 5px 12px; border-radius: 99px; border: 1px solid currentColor; }

/* Message d'attente (boutique vide ou en aménagement) */
.waiting { max-width: 640px; margin: 40px auto 60px; padding: 44px 28px; text-align: center; border: 1px solid var(--line, #2a2d35); border-radius: 18px; background: linear-gradient(180deg, rgba(227,0,15,.06), transparent 60%); }
.waiting h1 { font-size: 30px; margin: 26px 0 12px; }
.waiting p { color: #fff; line-height: 1.6; margin: 0 auto 10px; max-width: 520px; }
.waiting p.muted { color: var(--muted); font-size: 14.5px; }
.waiting-logo { position: relative; width: min(320px, 80%); margin: 0 auto; overflow: hidden; }
.waiting-logo img { display: block; width: 100%; height: auto; }
.waiting-beam { position: absolute; top: -10%; bottom: -10%; left: 0; width: 3px; background: #ff2a2a; box-shadow: 0 0 10px 3px rgba(255,30,30,.75); animation: waitBeam 3.2s ease-in-out infinite; }
@keyframes waitBeam { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.waiting-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { .waiting-beam { animation: none; display: none; } }
