/* RépareConsole Chalon — feuille de style unique
   Motion en CSS natif (scroll-driven animations, view transitions), zéro librairie. */

@view-transition { navigation: auto; }

:root {
  --bg: #06070c;
  --bg-2: #0b0d16;
  --surface: #11141f;
  --surface-2: #171b29;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --text: #eef1f8;
  --muted: #9aa3b8;
  --blue: #1f6bff;
  --cyan: #22b8ff;
  --pink: #ffc23d;
  --glow: 0 0 0 1px rgba(31,107,255,.4), 0 10px 40px -10px rgba(31,107,255,.65);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f5f7fc;
    --bg-2: #ecf0f8;
    --surface: #ffffff;
    --surface-2: #f1f4fa;
    --line: rgba(10,20,50,.09);
    --line-strong: rgba(10,20,50,.18);
    --text: #0b1020;
    --muted: #4d5872;
    --blue: #2f5ff0;
    --cyan: #0098c7;
    --pink: #c98a00;
    --glow: 0 0 0 1px rgba(47,95,240,.25), 0 12px 36px -12px rgba(47,95,240,.45);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 2px; }
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.todo { outline: 1px dashed #f5c542; outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
  view-transition-name: header;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.logo small { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a.link { text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 14px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.nav a.link:hover, .nav a.link[aria-current="page"] { color: var(--text); background: var(--surface-2); }
@media (max-width: 720px) { .nav a.link.hide-sm { display: none; } .logo small { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer;
  transform: translate(var(--bx), var(--by));
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { color: #fff; background: linear-gradient(120deg, #1558e6, var(--blue) 45%, #1a9dff); box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(34,184,255,.5), 0 16px 50px -12px rgba(31,107,255,.8); }
.btn-ghost { color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn-wa { color: #fff; background: #1faa59; }
.btn-wa:hover { background: #1c9a50; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 9vw, 120px); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(40% 50% at 78% 30%, rgba(31,107,255,.28), transparent 70%),
    radial-gradient(30% 40% at 95% 70%, rgba(34,184,255,.16), transparent 70%),
    radial-gradient(35% 45% at 10% 10%, rgba(34,184,255,.10), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 60% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 35%, #000 20%, transparent 75%);
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.nowrap { white-space: nowrap; }
.hero h1 .line { display: block; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 34ch; margin-bottom: 1.8rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 400px; margin-top: 8px; }
}

/* Entrée du hero (texte visible immédiatement : on n'anime que transform/opacité légère) */
@keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .line, .hero .lead, .hero .cta-row, .hero .chips { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero .line:nth-child(2) { animation-delay: .06s; }
.hero .lead { animation-delay: .12s; }
.hero .cta-row { animation-delay: .18s; }
.hero .chips { animation-delay: .24s; }

/* Manette éclatée : les couches s'écartent au scroll */
.pad-layer { transform-box: fill-box; transform-origin: center; }
@keyframes float { 50% { transform: translateY(-10px); } }
.pad-float { animation: float 6s ease-in-out infinite; transform-box: view-box; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.trace { stroke-dasharray: 220; stroke-dashoffset: 220; animation: trace 2.4s .4s cubic-bezier(.6,0,.2,1) forwards; }
.trace.t2 { animation-delay: .7s; } .trace.t3 { animation-delay: 1s; } .trace.t4 { animation-delay: 1.3s; }
@keyframes pulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.led { animation: pulse 2.4s ease-in-out infinite; }
.led.l2 { animation-delay: .6s; } .led.l3 { animation-delay: 1.2s; }

@supports (animation-timeline: scroll()) {
  @keyframes explode-top { to { transform: translate(0, -46px) rotate(-4deg); } }
  @keyframes explode-bot { to { transform: translate(0, 52px) rotate(3deg); } }
  @keyframes explode-pcb { to { transform: scale(1.04); filter: drop-shadow(0 0 18px rgba(34,184,255,.55)); } }
  .pad-top { animation: explode-top linear both; animation-timeline: scroll(root); animation-range: 0 55vh; }
  .pad-bottom { animation: explode-bot linear both; animation-timeline: scroll(root); animation-range: 0 55vh; }
  .pad-pcb { animation: explode-pcb linear both; animation-timeline: scroll(root); animation-range: 0 55vh; }
}

/* ---------- Bandeau défilant ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; white-space: nowrap; color: var(--muted); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; color: var(--cyan); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Apparition au scroll ---------- */
@supports (animation-timeline: view()) {
  @keyframes reveal { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}

/* ---------- Cartes services ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px 24px; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(31,107,255,.22), transparent 60%);
}
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 60px -30px rgba(31,107,255,.6); }
.card:hover::before { opacity: 1; }
.card .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(31,107,255,.22), rgba(34,184,255,.08)); box-shadow: inset 0 0 0 1px rgba(31,107,255,.35); margin-bottom: 10px; }
.card .icon svg { width: 26px; height: 26px; color: var(--cyan); }
.card h3 { margin: 0; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; flex: 1; }
.card .more { font-weight: 600; font-size: .92rem; color: var(--cyan); display: inline-flex; gap: 6px; align-items: center; margin-top: 8px; }
.card .more::after { content: "→"; transition: transform .25s; }
.card:hover .more::after { transform: translateX(4px); }

/* ---------- Pannes PS5 ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 110px; }
@media (max-width: 900px) { .sticky-col { position: static; } }
.issues { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.issue {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
  padding: 22px 24px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .25s, transform .25s;
}
.issue:hover { box-shadow: inset 0 0 0 1px rgba(31,107,255,.45); transform: translateX(4px); }
.issue h3 { margin: 0; font-size: 1.1rem; }
.issue p { grid-column: 1; margin: 0; color: var(--muted); font-size: .95rem; }
.price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; white-space: nowrap; }
.price small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; position: relative; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 26px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; line-height: 1;
  display: block; margin-bottom: 18px;
  background: linear-gradient(120deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--muted); margin: 0; }
.progress { height: 3px; border-radius: 3px; background: var(--line); margin-bottom: 28px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--pink)); transform-origin: left; transform: scaleX(1); }
@supports (animation-timeline: view()) {
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .progress i { animation: grow linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
}

/* ---------- Galerie avant/après ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:first-child { grid-column: 1 / -1; } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 4 / 3.4; position: relative; }
.gallery figure:first-child { aspect-ratio: auto; grid-row: span 2; min-height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-size: .9rem;
  background: repeating-linear-gradient(135deg, transparent 0 14px, var(--line) 14px 15px), radial-gradient(60% 60% at 50% 40%, rgba(31,107,255,.14), transparent 70%); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklab, var(--bg) 70%, transparent); backdrop-filter: blur(8px); }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(31,107,255,.16), rgba(34,184,255,.08)), var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.reviews h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: .3em; }
.reviews p { margin: 0; color: var(--muted); }
.stars { display: flex; gap: 4px; margin-bottom: 14px; color: #ffc53d; }
.stars svg { width: 22px; height: 22px; }
@media (max-width: 720px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 880px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(31,107,255,.45); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-70%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 22px 20px; color: var(--muted); }
.faq .a p:last-child { margin: 0; }
details::details-content { transition: height .35s, content-visibility .35s allow-discrete; height: 0; overflow: clip; }
details[open]::details-content { height: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* ---------- Bloc local ---------- */
.local { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
@media (max-width: 900px) { .local { grid-template-columns: 1fr; } }
.panel { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.panel dl { margin: 0; display: grid; gap: 18px; }
.panel dt { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.panel dd { margin: 0; font-weight: 500; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map button { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--text); font: inherit; font-weight: 600; display: grid; place-content: center; gap: 12px; justify-items: center;
  background: radial-gradient(50% 60% at 50% 45%, rgba(31,107,255,.18), transparent 70%), repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px), var(--surface-2); }
.map button svg { width: 42px; height: 42px; color: var(--pink); filter: drop-shadow(0 6px 14px rgba(34,184,255,.5)); }
.map button span { font-size: .85rem; font-weight: 400; color: var(--muted); }

/* ---------- Bandeau CTA final ---------- */
.cta-final { text-align: center; padding: clamp(48px, 7vw, 90px) 24px; border-radius: calc(var(--radius) + 10px); position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cta-final::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, rgba(31,107,255,.35), transparent 30%, rgba(34,184,255,.25), transparent 60%); animation: spin 14s linear infinite; }
.cta-final::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; background: var(--surface); opacity: .9; }
@keyframes spin { to { transform: rotate(1turn); } }
.cta-final p { color: var(--muted); max-width: 52ch; margin: 0 auto 1.6rem; font-size: 1.1rem; }
.cta-final .cta-row { justify-content: center; }

/* ---------- Page réparations ---------- */
.page-hero { padding: clamp(48px, 8vw, 100px) 0 clamp(28px, 4vw, 48px); position: relative; overflow: clip; }
.page-hero::before { content: ""; position: absolute; inset: -30% -10% auto 30%; height: 140%; z-index: -1; background: radial-gradient(40% 40% at 60% 30%, rgba(31,107,255,.24), transparent 70%); }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); max-width: 18ch; }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 60ch; }
.toc { position: sticky; top: 72px; z-index: 40; background: color-mix(in oklab, var(--bg) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toc ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.toc ul::-webkit-scrollbar { display: none; }
.toc a { display: inline-block; white-space: nowrap; text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: color .2s, box-shadow .2s; }
.toc a:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--blue); }
.device { padding: clamp(56px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.device-head { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-bottom: 28px; }
.device-head .icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(31,107,255,.25), rgba(34,184,255,.1)); box-shadow: inset 0 0 0 1px rgba(31,107,255,.4); }
.device-head .icon svg { width: 32px; height: 32px; color: var(--cyan); }
.device-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .25em; }
.device-head p { color: var(--muted); margin: 0; max-width: 70ch; }
@media (max-width: 560px) { .device-head { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
table.prices { width: 100%; border-collapse: collapse; min-width: 560px; }
table.prices caption { text-align: left; padding: 16px 20px 0; color: var(--muted); font-size: .85rem; caption-side: bottom; padding-bottom: 14px; }
table.prices th, table.prices td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.prices thead th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); }
table.prices tbody tr:last-child td, table.prices tbody tr:last-child th { border-bottom: 0; }
table.prices tbody tr { transition: background .2s; }
table.prices tbody tr:hover { background: var(--surface-2); }
table.prices tbody th { font-weight: 600; }
table.prices td.p { text-align: right; font-family: var(--font-display); font-weight: 700; white-space: nowrap; font-size: 1.1rem; }
table.prices td.sym { color: var(--muted); font-size: .95rem; }
.device h3 { margin-top: 32px; }
.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .3em; width: 19px; height: 19px; border-radius: 6px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: linear-gradient(140deg, var(--blue), var(--cyan)); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 110px; color: var(--muted); font-size: .93rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h2 { font-size: 1rem; color: var(--text); margin-bottom: .8em; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }
.footer .legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 820px) { .footer .wrap { grid-template-columns: 1fr; } }
@media (min-width: 821px) { .footer { padding-bottom: 56px; } }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 820px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    padding: 8px; border-radius: 999px; background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 12px 40px -10px rgba(0,0,0,.6); view-transition-name: mobile-bar; }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
}

/* ---------- Mentions légales ---------- */
.legal-page { padding: clamp(48px, 8vw, 100px) 0; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.legal-page h2 { font-size: 1.4rem; margin-top: 2em; }
.legal-page p, .legal-page li { color: var(--muted); max-width: 72ch; }

/* ---------- Accessibilité : mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .trace { stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}

/* ---------- Service express : récupération & livraison ---------- */
.express { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
@media (max-width: 900px) { .express { grid-template-columns: 1fr; } }
.express-main { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 4vw, 52px); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(31,107,255,.20), rgba(34,184,255,.06) 55%, rgba(34,184,255,.12)), var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.express-main h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.express-main p { color: var(--muted); max-width: 46ch; font-size: 1.08rem; }
.route { position: absolute; right: -30px; bottom: -20px; width: 320px; opacity: .55; z-index: -1; pointer-events: none; }
.route path { stroke-dasharray: 8 10; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.express-side { display: grid; gap: 16px; }
.stat { padding: 26px 26px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; }
.stat b { grid-row: span 2; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; letter-spacing: -.03em; }
.stat span { font-weight: 600; }
.stat small { color: var(--muted); font-size: .92rem; }
.live { display: flex; width: fit-content; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #3ee07a; margin-bottom: 14px; }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3ee07a; box-shadow: 0 0 0 0 rgba(62,224,122,.6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(62,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,122,0); } }
.stat b.stat-ico { color: var(--cyan); } .stat b.stat-ico svg { width: 46px; height: 46px; }
@media (max-width: 520px) {
  .cta-row .btn { width: 100%; white-space: normal; text-align: center; }
  .hero-visual { max-width: 320px; }
}

@media (max-width: 420px) { .logo { font-size: 1rem; } .logo svg { width: 30px; height: 30px; } }

/* Accent or (déplacement offert, éclair) — repris du visuel */
.chips li:first-child { color: var(--pink); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--pink) 45%, transparent); }
.chips li:first-child::before { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.stat small strong { color: var(--pink); font-weight: 600; }

/* ================= Tuiles « Réparer ma… » (style boutique, version gaming) ================= */
.tiles-wrap { position: relative; margin-top: clamp(-40px, -4vw, -20px); padding-bottom: clamp(40px, 6vw, 72px); z-index: 2; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile {
  --c1: #1f6bff; --c2: #22b8ff;
  position: relative; display: flex; align-items: center; min-height: 150px; padding: 22px 26px;
  border-radius: 24px; overflow: hidden; isolation: isolate; text-decoration: none;
  background:
    radial-gradient(120% 140% at 100% 100%, color-mix(in oklab, var(--c1) 55%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in oklab, var(--c2) 14%, var(--surface)), var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c2) 30%, transparent), 0 20px 50px -30px var(--c1);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
}
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.10) 45%, transparent 60%); transform: translateX(-60%); }
.tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c2) 60%, transparent), 0 30px 60px -24px var(--c1); }
.tile:hover::after { opacity: 1; animation: sheen 1s ease forwards; }
@keyframes sheen { to { transform: translateX(60%); } }
.tile-txt { position: relative; z-index: 2; font-size: 1.12rem; line-height: 1.2; color: var(--muted); max-width: 55%; }
.tile-txt b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; color: var(--text); }
.tile-art { position: absolute; right: -14px; bottom: -22px; width: 58%; height: 130%; display: grid; place-items: end; pointer-events: none;
  transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tile-art svg, .tile-art img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 14px 22px rgba(0,0,0,.45)); }
.tile:hover .tile-art { transform: translate(-6px, -8px) rotate(-4deg) scale(1.06); }
.t-blue { --c1: #1f6bff; --c2: #22b8ff; }
.t-violet { --c1: #7c4dff; --c2: #b18cff; }
.t-red { --c1: #ff3b5c; --c2: #ff8a5c; }
.t-green { --c1: #16c47f; --c2: #5ce0a8; }
@media (max-width: 560px) {
  .tiles { gap: 10px; }
  .tile { min-height: 118px; padding: 16px; border-radius: 20px; }
  .tile-txt { font-size: .92rem; max-width: 62%; }
  .tile-txt b { font-size: 1.3rem; }
  .tile-art { width: 62%; right: -18px; }
}

/* ================= Cartes « Réparations populaires » ================= */
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .prods { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .prods { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
  .prods::-webkit-scrollbar { display: none; }
  .prod { flex: 0 0 72%; scroll-snap-align: start; }
}
.prod {
  position: relative; display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  border-radius: 22px; background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.prod:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(34,184,255,.45), 0 26px 60px -30px rgba(31,107,255,.8); }
.prod-img { display: grid; place-items: center; aspect-ratio: 1 / .82; padding: 18px;
  background: radial-gradient(60% 60% at 50% 55%, rgba(31,107,255,.22), transparent 70%); }
.prod-img svg, .prod-img img { width: 78%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 16px 24px rgba(0,0,0,.5)); }
.prod:hover .prod-img svg, .prod:hover .prod-img img { transform: translateY(-8px) scale(1.07) rotate(-2deg); }
.prod-body { display: grid; gap: 4px; padding: 4px 22px 18px; }
.prod-body b { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -.015em; }
.prod-body small { color: var(--muted); font-size: .9rem; }
.prod-price { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--pink); }
.prod-price i { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--muted); }
.prod-foot { margin-top: auto; padding: 14px 22px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); text-align: center; }
.prods-more { text-align: center; margin: 28px 0 0; }
.spin-slow { transform-origin: 100px 100px; animation: spin 6s linear infinite; }

/* Galerie : vraies photos */
.gallery figure img { position: absolute; inset: 0; }
@media (max-width: 420px) { .cta-row .num { display: none; } }
.tile-art { width: 50%; right: -18px; }
@media (max-width: 560px) { .tile-art { width: 52%; right: -22px; opacity: .95; } .tile-txt { max-width: 58%; } }

/* ================= Bannières consoles (PS / Xbox / Switch) ================= */
.banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.banner {
  --c: #1f6bff;
  position: relative; display: block; aspect-ratio: 660 / 511; border-radius: 24px; overflow: hidden; isolation: isolate;
  text-decoration: none; color: #fff; background: #07090f;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 45%, transparent), 0 24px 60px -34px var(--c);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,6,12,.72) 0%, rgba(4,6,12,.35) 38%, transparent 60%); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 48%, transparent 60%); transform: translateX(-70%); }
.banner:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 80%, transparent), 0 34px 70px -28px var(--c); }
.banner:hover img { transform: scale(1.06) translateX(-2%); filter: saturate(1.15) brightness(1.08); }
.banner:hover::after { opacity: 1; animation: sheen 1.1s ease forwards; }
.banner-txt { position: absolute; left: 9%; top: 36%; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.15; color: rgba(255,255,255,.88); }
.banner-txt b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 2.7vw, 2.4rem); letter-spacing: -.02em; color: #fff; }
.banner-go { position: absolute; left: 9%; bottom: 13%; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.5rem; color: #fff; border: 2px solid var(--c); box-shadow: 0 0 22px -4px var(--c), inset 0 0 14px -6px var(--c);
  transition: background .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.banner:hover .banner-go { background: var(--c); transform: translateX(6px); }
.b-blue { --c: #2f6bff; } .b-green { --c: #22d05a; } .b-red { --c: #ff3b3b; }
@media (max-width: 900px) {
  .banners { grid-template-columns: 1fr; }
  .banner { aspect-ratio: 16 / 9; }
  .banner-txt { top: 26%; }
}
.banner-txt { max-width: 62%; }
.banner-txt b { font-size: clamp(1.5rem, 2.3vw, 2.2rem); }
@media (max-width: 900px) {
  .banners { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 4px 16px 20px; scrollbar-width: none; grid-template-columns: none; }
  .banners::-webkit-scrollbar { display: none; }
  .banner { flex: 0 0 86%; scroll-snap-align: center; aspect-ratio: 660 / 511; }
  .banner-txt { top: 30%; }
}
/* v2 : texte sur une ligne, zone gauche plus sombre (masque les retouches) */
.banner::before { background: linear-gradient(90deg, rgba(4,6,12,.92) 0%, rgba(4,6,12,.78) 34%, rgba(4,6,12,.25) 58%, transparent 72%); }
.banner-txt { top: 30%; max-width: 75%; }
.banner-txt b { white-space: nowrap; font-size: clamp(1.4rem, 2.05vw, 2rem); }
.banner-go { bottom: 12%; }

/* ================= Sous-menu consoles sous la barre principale ================= */
.subnav { position: relative; z-index: 3; width: min(1060px, 100% - 32px); margin: 28px auto 0; padding: 14px;
  border-radius: 30px; background: color-mix(in oklab, var(--surface) 55%, transparent);
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 80px -50px rgba(31,107,255,.6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.subnav .banners { gap: 14px; }
.subnav .banner { border-radius: 20px; aspect-ratio: 660 / 440; }
.subnav .banner-txt { top: 26%; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.subnav .banner-txt b { font-size: clamp(1.25rem, 1.75vw, 1.7rem); }
.subnav .banner-go { width: 46px; height: 46px; font-size: 1.25rem; bottom: 13%; }
.subnav + .hero { padding-top: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) {
  .subnav { width: 100%; margin-top: 12px; padding: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .subnav .banners { margin-inline: 0; padding: 4px 16px 8px; }
  .subnav .banner { flex: 0 0 74%; aspect-ratio: 660 / 400; }
  .subnav .banner-txt { top: 22%; }
}
/* supprime la cassure nette entre sous-menu et hero */
.hero { overflow: visible; overflow-x: clip; }
.hero::before { inset: -40% -10% auto; height: 150%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
body { overflow-x: clip; }
