/* OpenMellow — site vitrine.
   Charte de l'app : noir, jaune #FFE400, bleu #1EA0E3 ; capitales serrées (Barlow Condensed) et texte à empattements
   (Source Serif 4), comme Mellow.display / Mellow.serif dans l'app. Les animations sont dans site.js ; sans JavaScript
   ou avec « réduire les animations », tout reste lisible et immobile. */

:root {
  --bg: #050505;
  --bg-2: #0b0b0d;
  --card: #0f0f12;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f1ea;
  --muted: #aaa59b;
  --yellow: #ffe400;
  --blue: #1ea0e3;
  --green: #33db61;
  --orange: #ff8a1f;
  --red: #ff4a3d;
  --fire: #ff6a1a;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --film-h: min(86svh, 1100px);
  --film-w: calc(var(--film-h) * 9 / 16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.no-js, html.reduced { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 900; }
::selection { background: var(--yellow); color: #000; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.yellow { color: var(--yellow); }
.blue { color: var(--blue); }
.green { color: var(--green); }
.open { color: var(--blue); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--yellow); color: #000; padding: 10px 16px; border-radius: 10px;
  font: 800 1rem var(--font-display); text-transform: uppercase; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ——— Typographie ——— */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  margin: 0 0 1.1rem;
  font: 700 0.95rem/1 var(--font-display);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h2 {
  font: 900 clamp(2.7rem, 6.6vw, 6.4rem)/0.9 var(--font-display);
  text-transform: uppercase; letter-spacing: -0.005em;
  margin-bottom: 0.35em;
  text-wrap: balance;
}
.h3 {
  font: 800 clamp(1.75rem, 2.6vw, 2.5rem)/1 var(--font-display);
  text-transform: uppercase; letter-spacing: 0.005em;
  margin: 0.25em 0 0.55em;
}
.lead {
  font-size: clamp(1.12rem, 1.45vw, 1.34rem); line-height: 1.6;
  color: #d8d3c8; max-width: 46ch;
}
.section-head { max-width: 920px; margin-bottom: clamp(48px, 8vh, 96px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* Découpe des titres en mots masqués (site.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.w > span { display: inline-block; will-change: transform; }

/* ——— Boutons ——— */
.btn {
  --bh: 58px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: var(--bh); padding: 0 1.6em; border-radius: 999px;
  font: 800 1.12rem/1 var(--font-display); letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform 0.35s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.35s;
  -webkit-tap-highlight-color: transparent;
}
.btn .i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.btn--yellow { background: var(--yellow); color: #000; box-shadow: 0 10px 40px -12px rgba(255, 228, 0, 0.55); }
.btn--yellow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease-out);
}
.btn--yellow:hover::after { transform: translateX(120%); }
.btn--yellow:hover { box-shadow: 0 16px 50px -10px rgba(255, 228, 0, 0.7); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--ghost:hover { color: var(--yellow); box-shadow: inset 0 0 0 1.5px var(--yellow); }
.btn--sm { --bh: 44px; padding: 0 1.2em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:active { transform: scale(0.97); }

/* ——— Rideau de chargement ——— */
.loader {
  position: fixed; inset: 0; z-index: 120;
  animation: loaderFailsafe 0s linear 6s forwards;   /* jamais bloqué si le script plante */
  display: grid; place-items: center;
  background: #000;
  transition: clip-path 1s var(--ease-in-out), visibility 0s linear 1s;
  clip-path: inset(0 0 0 0);
}
.loader-inner { display: grid; justify-items: center; gap: 14px; }
.loader-logo { width: 80px; height: 80px; border-radius: 20px; animation: loaderPulse 1.6s var(--ease-in-out) infinite; }
.loader-word { font: 800 italic 2.2rem/1 var(--font-display); text-transform: uppercase; }
.loader-bar { width: 170px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(var(--p, 0.04)); transition: transform 0.3s; }
html.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
html.no-js .loader, html.reduced .loader { display: none; }
@keyframes loaderFailsafe { to { visibility: hidden; clip-path: inset(0 0 100% 0); } }
@keyframes loaderPulse { 50% { transform: scale(0.92); filter: brightness(1.15); } }

/* ——— Navigation ——— */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 24px;
  height: 74px; padding-inline: var(--gutter);
  transition: background-color 0.35s, border-color 0.35s;   /* pas de transition sur transform : GSAP anime l'entrée */
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.wordmark { font: 800 italic 1.55rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  position: relative; text-decoration: none;
  font: 700 1.06rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(244, 241, 234, 0.72); padding: 8px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-current { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line-strong);
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: radial-gradient(120% 80% at 80% 0%, rgba(30, 160, 227, 0.25), transparent 60%), #050505;
  display: flex; align-items: center; padding: 96px var(--gutter) 40px;
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 6px; }
.menu a {
  font: 900 clamp(2.4rem, 11vw, 4rem)/1.05 var(--font-display); text-transform: uppercase;
  text-decoration: none; color: var(--text);
}
.menu a:hover, .menu a:focus-visible { color: var(--yellow); }
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ——— Hero : le film au défilement ——— */
.hero { position: relative; height: 430vh; background: #000; }
.hero-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate;
}
.hero-ambient {
  display: none; position: absolute; inset: -10%; width: 120%; height: 120%;
  filter: blur(46px) saturate(1.4) brightness(0.62);
  opacity: 0.95; z-index: 0;
}
.hero-film {
  position: absolute; z-index: 1; inset: 0; overflow: hidden;
  background: #000 url("../seq/hero-first.webp") center / cover no-repeat;
}
.hero-canvas { width: 100%; height: 100%; }
.hero-shade {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, transparent 32%, transparent 68%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 18%, transparent 70%, rgba(0, 0, 0, 0.75) 100%);
}
/* Voile du dernier plan : le texte final reste lisible sur la ville éclairée. */
.hero-dim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 46%, transparent 70%);
}
html.no-js .hero-dim, html.reduced .hero-dim { opacity: 1; }
.beat {
  position: absolute; inset: 0; z-index: 4;
  display: grid; grid-template-columns: 1fr min(30vw, 520px) 1fr; align-items: center;
  column-gap: clamp(24px, 3.4vw, 64px); padding: 90px clamp(20px, 4vw, 64px) 40px;
  pointer-events: none;
}
.beat-big {
  grid-column: 1; justify-self: end; text-align: right; margin: 0;
  font: 900 clamp(3rem, 6.4vw, 7.4rem)/0.86 var(--font-display);
  text-transform: uppercase; letter-spacing: -0.005em;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
.beat-small {
  grid-column: 3; justify-self: start; margin: 0; max-width: 22ch;
  font: italic 400 clamp(1.3rem, 2vw, 2rem)/1.4 var(--font-text);
  color: rgba(244, 241, 234, 0.86);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}
.beat--3 { grid-template-columns: 1fr; justify-items: center; align-content: center; text-align: center; gap: 10px; }
.beat-logo { width: clamp(96px, 11vw, 150px); height: auto; border-radius: 24%; box-shadow: 0 20px 70px rgba(255, 180, 0, 0.45); }
.beat-word {
  margin: 8px 0 0;
  font: 800 italic clamp(3.4rem, 8vw, 8.6rem)/0.85 var(--font-display);
  text-transform: uppercase; text-shadow: 0 8px 50px rgba(0, 0, 0, 0.7);
}
.beat-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; }
.beat-tags span {
  font: 700 0.95rem/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.beat--final {
  display: block; pointer-events: auto;
  inset: auto auto 50% clamp(20px, 6vw, 96px);
  transform: translateY(50%);
  width: min(52vw, 760px); padding: 0;
}
.hero-title {
  font: 900 clamp(3.3rem, 7.6vw, 8.4rem)/0.84 var(--font-display);
  text-transform: uppercase; letter-spacing: -0.008em;
  margin: 0 0 0.3em;
  text-shadow: 0 8px 50px rgba(0, 0, 0, 0.55);
}
.hero-title > span { display: block; }
.hero-lead { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.6; color: #e6e1d6; max-width: 44ch; margin-bottom: 1.6em; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { margin: 1.4em 0 0; font: 600 0.92rem/1.4 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 241, 234, 0.62); }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; z-index: 5; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px;
  font: 700 0.8rem/1 var(--font-display); letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
}
.scroll-cue i { width: 2px; height: 44px; background: linear-gradient(var(--yellow), transparent); transform-origin: top; animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* États de départ du film avant même que GSAP ne tourne : rien ne s'empile au premier affichage. */
html.motion-ready .beat--2 .beat-big, html.motion-ready .beat--2 .beat-small,
html.motion-ready .beat-logo, html.motion-ready .beat-word, html.motion-ready .beat-tags span,
html.motion-ready .beat--final > * { opacity: 0; visibility: hidden; }

/* Le film au repos (sans JavaScript, ou animations réduites) : l'image finale, le texte final. */
html.no-js .hero, html.reduced .hero { height: auto; }
html.no-js .hero-stage, html.reduced .hero-stage { position: relative; min-height: 100svh; height: auto; }
html.no-js .beat:not(.beat--final), html.reduced .beat:not(.beat--final),
html.no-js .scroll-cue, html.reduced .scroll-cue, html.no-js .hero-ambient, html.reduced .hero-ambient { display: none; }
html.no-js .hero-film, html.reduced .hero-film { background-image: url("../seq/hero-last.webp"); }
html.no-js .hero-stage, html.reduced .hero-stage { background: radial-gradient(90% 90% at 75% 50%, #3a2412 0%, #000 70%); }

@media (max-width: 760px) {
  .hero { height: 380vh; }
  .hero-film { inset: 0; width: 100%; height: 100%; left: 0; top: 0; border-radius: 0; box-shadow: none; background-position: 30% center; }
  .hero-ambient { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 22%, transparent 42%, rgba(0, 0, 0, 0.9) 100%); }
  .hero-dim { background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.9) 100%); }
  .beat { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 0 var(--gutter) 15svh; gap: 14px; }
  .beat-big { text-align: left; justify-self: start; font-size: clamp(3rem, 15vw, 4.6rem); }
  .beat-small { max-width: 30ch; font-size: 1.35rem; }
  .beat--3 { align-items: center; justify-content: center; padding-bottom: 0; }
  .beat--final { inset: auto var(--gutter) max(5svh, 28px) var(--gutter); transform: none; width: auto; padding: 0; }
  .hero-title { font-size: clamp(3rem, 14.5vw, 4.4rem); }
  .hero-lead { font-size: 1.05rem; margin-bottom: 1.2em; }
  .hero-ctas .btn { --bh: 52px; flex: 1 1 auto; }
  .hero-meta { font-size: 0.78rem; }
  .scroll-cue { bottom: 18px; }
  html.no-js .hero-film, html.reduced .hero-film { right: 0; left: 0; }
  html.no-js .hero-stage, html.reduced .hero-stage { min-height: 100svh; }
}

/* ——— Rubans croisés ——— */
.tapes { position: relative; height: clamp(150px, 18vw, 230px); overflow: hidden; background: var(--bg); }
.tape {
  position: absolute; left: -5%; width: 110%; padding: clamp(10px, 1.3vw, 18px) 0;
  white-space: nowrap; overflow: hidden;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9);
}
.tape--yellow { top: 22%; background: var(--yellow); color: #000; transform: rotate(-3deg); z-index: 2; }
.tape--blue { top: 36%; background: var(--blue); color: #001a26; transform: rotate(2.4deg); z-index: 1; }
.tape-track { display: inline-flex; align-items: center; width: max-content; animation: tape 46s linear infinite; }
.tape--blue .tape-track { animation-duration: 38s; animation-direction: reverse; }
.tape span { font: 900 clamp(1.5rem, 2.8vw, 2.6rem)/1 var(--font-display); text-transform: uppercase; padding: 0 0.55em; }
.tape b { width: 0.9em; height: 0.9em; background: currentColor; flex: none; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); font-size: clamp(1.1rem, 2vw, 1.8rem); }
@keyframes tape { to { transform: translateX(-50%); } }
.tape--blue .tape-track { animation-name: tape3; }
@keyframes tape3 { to { transform: translateX(-33.333%); } }

/* ——— La promesse ——— */
.statement { padding-block: clamp(80px, 16vh, 200px) clamp(40px, 8vh, 100px); }
.statement-text {
  margin: 0; max-width: 22ch;
  font: 800 clamp(2.3rem, 5.4vw, 5.6rem)/0.98 var(--font-display);
  text-transform: uppercase; letter-spacing: -0.005em;
}
.statement-text .sw { transition: color 0.2s; }
html.motion-ready .statement-text .sw { color: rgba(244, 241, 234, 0.14); }
html.motion-ready .statement-text .sw.on { color: var(--text); }
html.motion-ready .statement-text .sw.hot { color: var(--yellow); }

/* ——— L'app, écran par écran ——— */
.story { padding-block: clamp(60px, 10vh, 140px) clamp(40px, 6vh, 80px); position: relative; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 110px); }
.story-steps { display: grid; }
.step { min-height: 92svh; display: flex; flex-direction: column; justify-content: center; max-width: 520px; transition: opacity 0.6s var(--ease-out); }
html.motion-ready .step { opacity: 0.28; }
html.motion-ready .step.is-active { opacity: 1; }
.step p { color: #d4cfc4; font-size: 1.12rem; }
.step strong { color: var(--yellow); font-family: var(--font-display); font-weight: 900; letter-spacing: 0.04em; }
.step-num { font: 900 1rem/1 var(--font-display); letter-spacing: 0.2em; color: var(--yellow); display: inline-flex; gap: 12px; align-items: center; }
.step-num::after { content: ""; width: 60px; height: 1px; background: var(--line-strong); }
.step-phone { display: none; margin: 28px 0 0; width: min(78vw, 340px); }
.story-device { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.device-tilt { position: relative; perspective: 1400px; }

.phone {
  position: relative; width: 100%; aspect-ratio: 720 / 1564;
  padding: 3.4%; border-radius: 15.5% / 7.2%;
  background: linear-gradient(150deg, #34343a 0%, #121215 38%, #08080a 60%, #26262c 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 5px #050506, 0 60px 120px -30px rgba(0, 0, 0, 0.95), 0 30px 60px -40px rgba(0, 0, 0, 0.8);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 12.6% / 5.8%; overflow: hidden; background: #000; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-island { position: absolute; top: 4.6%; left: 50%; width: 27%; height: 3.1%; transform: translateX(-50%); background: #000; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
.phone--lg { width: min(380px, 37svh, 30vw); transform-style: preserve-3d; z-index: 1; }
/* Le grand téléphone : inclinaison au défilement (rig) et tour complet entre deux écrans presque identiques (spin). */
.phone-rig, .phone-spin { position: relative; z-index: 1; transform-style: preserve-3d; }
.phone-spin > .phone { backface-visibility: hidden; }
.phone-back {
  position: absolute; inset: 0; display: grid; place-items: center;
  border-radius: 15.5% / 7.2%; transform: rotateY(180deg); backface-visibility: hidden;
  background: radial-gradient(130% 70% at 25% 0%, #3a3a42 0%, #17171b 45%, #0b0b0d 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.14), inset 0 0 0 5px #050506, 0 60px 120px -30px rgba(0, 0, 0, 0.95);
}
.phone-cams {
  position: absolute; top: 2.6%; left: 5.5%; width: 44%; aspect-ratio: 1; border-radius: 26%;
  background: linear-gradient(145deg, #303037, #141418); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 10px 24px rgba(0, 0, 0, 0.6);
}
/* iPhone Pro Max : trois gros objectifs en triangle, flash et LiDAR. */
.phone-cams i {
  position: absolute; width: 41%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #4a5f86 0%, #0c1018 46%, #000 62%);
  box-shadow: 0 0 0 4px #222228, 0 0 0 5px rgba(255, 255, 255, 0.1), 0 4px 10px rgba(0, 0, 0, 0.6);
}
.phone-cams i:nth-child(1) { top: 7%; left: 7%; }
.phone-cams i:nth-child(2) { bottom: 7%; left: 7%; }
.phone-cams i:nth-child(3) { top: 29.5%; right: 7%; }
.phone-cams b { position: absolute; top: 9%; right: 13%; width: 15%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #f3ecd6 0%, #b9b39e 60%, #6d6a60 100%); }
.phone-cams u { position: absolute; bottom: 11%; right: 14%; width: 13%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #222 0%, #050505 70%); box-shadow: 0 0 0 2px #1d1d22; }
.story-device .phone-screen img { opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease-out), transform 0.9s var(--ease-out); }
.story-device .phone-screen img.is-active { opacity: 1; transform: none; }
.device-glow {
  position: absolute; inset: 8% -30%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, rgba(255, 228, 0, 0.35)), transparent);
  filter: blur(30px); transition: background 0.8s;
}
.story-dots { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.story-dots li { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.22); transition: width 0.5s var(--ease-out), background-color 0.4s; }
.story-dots li.is-active { width: 30px; background: var(--yellow); }
@media (max-width: 1023px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-device { display: none; }
  .step { min-height: auto; padding-block: clamp(40px, 7vh, 72px); }
  html.motion-ready .step { opacity: 1; }
  .step-phone { display: block; }
}

/* ——— Apple Watch ——— */
.watch-section {
  padding-block: clamp(90px, 16vh, 200px);
  background: radial-gradient(70% 60% at 25% 50%, rgba(30, 160, 227, 0.16), transparent 70%), var(--bg);
  overflow: hidden;
}
.watch-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.watch-copy .lead { margin-bottom: 1.4em; }
.ticks { list-style: none; padding: 0; margin: 0 0 2em; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: #e2ddd2; font-size: 1.08rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 100 24 12 12 0 000-24zm-1.6 17.2L5 11.8l1.7-1.7 3.7 3.7 7-7 1.7 1.7-8.7 8.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 100 24 12 12 0 000-24zm-1.6 17.2L5 11.8l1.7-1.7 3.7 3.7 7-7 1.7 1.7-8.7 8.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.watch-wrap { position: relative; display: grid; justify-items: center; padding-block: 60px; isolation: isolate; }
/* Fond abstrait : un disque lumineux dont l'opacité diminue vers le bord. */
.watch-wrap::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(620px, 118vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(30, 160, 227, 0.42) 0%, rgba(30, 160, 227, 0.18) 45%, rgba(255, 228, 0, 0.06) 70%, transparent 100%);
}
/* Rendu 3D photoréaliste ; l'écran (HTML vivant) est posé exactement sur le verre de l'image. */
.watch { position: relative; width: min(440px, 82vw); aspect-ratio: 900 / 1200; }
.watch-render {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.8));
}
.watch-screen {
  position: absolute; left: 17.4%; top: 17.6%; width: 47.9%; height: 56.7%; border-radius: 21% / 16%;
  background: #000; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  /* Comme l'app : San Francisco condensé (police d'Apple), sinon la police du site. */
  font-family: -apple-system, BlinkMacSystemFont, var(--font-display); font-stretch: condensed;
  text-transform: uppercase; text-align: center; line-height: 0.92;
  padding-top: 7%;
  /* Le verre du rendu est un peu tourné : bord droit plus proche, comme sur la photo. */
  transform: perspective(900px) rotateY(-6deg); transform-origin: 30% 50%;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.9);
}
/* Reflet de lumière sur le verre et léger liseré, comme une vraie photo. */
.watch-screen::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.07) 26%, transparent 27%, transparent 62%, rgba(255, 255, 255, 0.05) 63%, transparent 80%),
    radial-gradient(120% 60% at 15% 0%, rgba(255, 255, 255, 0.10), transparent 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.w-time { position: absolute; top: 7.9cqw; right: 12.9cqw; font: 600 10.1cqw/1 -apple-system, "SF Pro Text", system-ui, sans-serif; color: #fff; text-transform: none; }
.w-name { font: 600 9.0cqw/1 var(--font-text); text-transform: none; color: rgba(255, 255, 255, 0.62); margin-bottom: 2.9cqw; }
.w-batt { color: var(--yellow); font-weight: 900; transition: color 0.4s; }
.w-batt b { font-size: 31.6cqw; font-weight: 900; }
.w-batt small { font-size: 15.9cqw; font-weight: 900; }
.w-km { display: grid; justify-items: center; color: #fff; margin-top: 0.7cqw; }
.w-km b { font-size: 28.7cqw; font-weight: 900; }
.w-km small { font: 400 9.8cqw/1 var(--font-text); text-transform: none; color: rgba(255, 255, 255, 0.88); margin-top: -2.2cqw; }
.w-speed { color: var(--blue); margin-top: 3.7cqw; }
.w-speed b { font-size: 21.6cqw; font-weight: 900; }
.w-speed small { font-size: 10.6cqw; font-weight: 800; margin-left: 1.7cqw; }
.w-mode { color: var(--blue); font-size: 10.6cqw; font-weight: 800; margin-top: 3.7cqw; letter-spacing: 0.02em; }
.w-remote { color: rgba(255, 255, 255, 0.85); font-size: 8.3cqw; font-weight: 700; margin-top: 2.1cqw; text-transform: none; }
.w-alert { display: none; }
.watch.is-alert .w-batt { color: var(--orange); }
.watch.is-buzz { animation: buzz 0.5s linear; }
@keyframes buzz {
  0%, 100% { transform: translateX(0) rotate(0); }
  12% { transform: translateX(-7px) rotate(-1.6deg); } 25% { transform: translateX(7px) rotate(1.6deg); }
  37% { transform: translateX(-6px) rotate(-1.2deg); } 50% { transform: translateX(6px) rotate(1.2deg); }
  62% { transform: translateX(-4px) rotate(-0.8deg); } 75% { transform: translateX(4px) rotate(0.8deg); }
  87% { transform: translateX(-2px); }
}
@media (max-width: 860px) {
  .watch-grid { grid-template-columns: 1fr; }
  .watch-wrap { padding-block: 70px 30px; }
}

/* ——— Batterie : bento ——— */
.battery { padding-block: clamp(90px, 14vh, 180px); background: linear-gradient(180deg, var(--bg) 0%, #070a08 50%, var(--bg) 100%); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  grid-column: span 2;
  padding: clamp(22px, 2.4vw, 34px); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px var(--line);
  min-height: 260px; display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 228, 0, 0.11), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card--cells, .card--charge { grid-column: span 3; }
.card--pack { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(24px, 4vw, 60px); min-height: 0; }
.card--pack .card-title { grid-column: 1 / -1; }
.card-title { font: 800 1.35rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 18px; color: var(--text); }
.card-text { color: var(--muted); margin: auto 0 0; font-size: 1rem; line-height: 1.55; }
.card--pack .card-text { margin: 0; max-width: 56ch; }
.card-big { font: 900 clamp(3.6rem, 6vw, 5.6rem)/0.9 var(--font-display); color: var(--yellow); margin: 0 0 14px; }
.card-big small { font-size: 0.42em; margin-left: 0.15em; color: var(--text); }
.card-big--sm { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin: 0; }
.cells { display: flex; align-items: flex-end; gap: clamp(6px, 1vw, 12px); height: 150px; margin-bottom: 18px; }
.cells i {
  flex: 1; height: calc(var(--v) * 100%); border-radius: 10px 10px 4px 4px; transform-origin: bottom;
  background: linear-gradient(180deg, #fff27a, var(--yellow) 30%, #d9c200);
  box-shadow: 0 0 30px -8px rgba(255, 228, 0, 0.6);
}
html.motion-ready .cells i { animation: breathe 3.2s var(--ease-in-out) infinite; }
.cells i:nth-child(2) { animation-delay: -0.4s; } .cells i:nth-child(3) { animation-delay: -0.9s; }
.cells i:nth-child(4) { animation-delay: -1.3s; } .cells i:nth-child(5) { animation-delay: -1.8s; }
.cells i:nth-child(6) { animation-delay: -2.2s; } .cells i:nth-child(7) { animation-delay: -2.7s; }
@keyframes breathe { 50% { transform: scaleY(0.975); } }
.charge { margin-bottom: 18px; }
.charge-cell { position: relative; height: 84px; border-radius: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24); padding: 6px; margin-right: 12px; }
.charge-cell::after { content: ""; position: absolute; right: -12px; top: 30%; width: 7px; height: 40%; border-radius: 0 6px 6px 0; background: rgba(255, 255, 255, 0.24); }
.charge-cell i {
  display: block; height: 100%; width: calc(var(--c, 64) * 1%); border-radius: 11px;
  background: linear-gradient(90deg, #1fae4a, var(--green));
  background-size: 200% 100%;
  box-shadow: 0 0 40px -6px rgba(51, 219, 97, 0.7);
  transition: width 0.6s var(--ease-out), background 0.5s;
  position: relative; overflow: hidden;
}
.charge-cell i::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.16) 18px 30px);
}
html.motion-ready .charge-cell i::after { animation: flow 1.2s linear infinite; }
@keyframes flow { to { transform: translateX(34px); } }
.charge-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 2px; font: 900 2.6rem/1 var(--font-display); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.charge-label { margin: 14px 0 0; font: 800 1.05rem/1.2 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--green); min-height: 1.2em; }
.charge.is-full .charge-label { color: #000; background: var(--green); display: inline-block; padding: 8px 14px; border-radius: 999px; }
.spark { width: 100%; height: 80px; margin-bottom: 14px; overflow: visible; }
.spark path { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(30, 160, 227, 0.6)); }
html.motion-ready .spark path { stroke-dasharray: 260; stroke-dashoffset: 260; }
html.motion-ready .spark.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-out); }
.alerts { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bell { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; background: rgba(255, 138, 31, 0.12); color: var(--orange); }
.bell svg { width: 32px; height: 32px; transform-origin: 50% 10%; }
html.motion-ready .card--alerts:hover .bell svg, html.motion-ready .card--alerts.is-in .bell svg { animation: ring 1.6s var(--ease-out) 2; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(16deg); } 20% { transform: rotate(-14deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-8deg); } 50% { transform: rotate(4deg); } 60% { transform: rotate(0); } }
.chip { font: 900 1.5rem/1 var(--font-display); padding: 10px 14px; border-radius: 12px; }
.chip--orange { background: rgba(255, 138, 31, 0.16); color: var(--orange); }
.chip--red { background: rgba(255, 74, 61, 0.16); color: var(--red); }
@media (max-width: 960px) {
  .card, .card--cells, .card--charge { grid-column: span 3; }
  .card--pack { grid-column: span 6; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card--cells, .card--charge, .card--pack { grid-column: auto; }
  .card--pack { grid-template-columns: 1fr; row-gap: 14px; }
  .card { min-height: 0; }
}

/* ——— Sécurité ——— */
.safety { padding-block: clamp(90px, 14vh, 180px); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pillar { padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.pillar-icon { width: 40px; height: 40px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.pillar h3 { font: 800 1.55rem/1.02 var(--font-display); text-transform: uppercase; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 1rem; margin: 0; }
.pillar a { color: var(--yellow); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 8vh, 90px) 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 28px 8px 0; display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { margin: 0; font: 900 clamp(4rem, 8vw, 7.4rem)/0.85 var(--font-display); color: var(--yellow); }
.stats dt { font: 700 0.95rem/1.2 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1023px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ——— Pourquoi ——— */
.why { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(120px, 20vh, 240px); }
.why-bg { position: absolute; inset: 0; z-index: -2; }
.why-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 88% 62%; opacity: 0.62; transform-origin: 70% 60%; }
.why::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.82) 45%, rgba(5, 5, 5, 0.25) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%);
}
.why-inner { max-width: 1240px; }
.why .h2 { max-width: 12ch; }
.letter { max-width: 58ch; }
.letter p { font-size: clamp(1.12rem, 1.4vw, 1.3rem); line-height: 1.75; color: #e8e3d8; }
.letter p:first-child::first-letter {
  float: left; font: 900 4.6em/0.78 var(--font-display); color: var(--yellow);
  padding: 0.04em 0.1em 0 0;
}
.sign { font-style: italic; color: var(--yellow) !important; font-size: 1.3rem !important; margin-top: 1.6em; }
@media (max-width: 760px) {
  .why::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 5, 5, 0.86) 20%, rgba(5, 5, 5, 0.9) 100%); }
}

/* ——— Bêta ——— */
.beta { padding-block: clamp(90px, 14vh, 180px); background: radial-gradient(60% 50% at 50% 0%, rgba(255, 228, 0, 0.08), transparent 70%), var(--bg); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1040px; margin-inline: auto; }
.platform {
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(26px, 3vw, 40px); border-radius: 28px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(from var(--a), rgba(255, 228, 0, 0.9), rgba(30, 160, 227, 0.9), rgba(255, 106, 26, 0.85), rgba(255, 228, 0, 0.9)) border-box;
}
html.motion-ready .platform { animation: spinBorder 9s linear infinite; }
@keyframes spinBorder { to { --a: 360deg; } }
.platform-head { display: flex; align-items: center; gap: 16px; }
.platform-logo { width: 46px; height: 46px; fill: var(--text); flex: none; }
.platform h3 { font: 800 1.8rem/1 var(--font-display); text-transform: uppercase; }
.platform-head p { margin: 6px 0 0; color: var(--muted); font-size: 0.98rem; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0 0 6px; display: grid; gap: 16px; }
.steps-list li { counter-increment: s; position: relative; padding-left: 50px; color: #ddd8cd; line-height: 1.5; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: 900 1.15rem/1 var(--font-display); background: var(--yellow); color: #000;
}
.steps-list a { color: var(--yellow); }
.platform .btn { margin-top: auto; }
.beta-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); max-width: 1040px; margin: clamp(30px, 5vh, 56px) auto 0; }
.beta-notes p { margin: 0; color: var(--muted); font-size: 0.98rem; padding-top: 16px; border-top: 1px solid var(--line); }
.beta-notes b { color: var(--text); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .platforms, .beta-notes { grid-template-columns: 1fr; }
}

/* ——— FAQ ——— */
.faq { padding-block: clamp(90px, 14vh, 180px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq .lead a { color: var(--yellow); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 56px 26px 0;
  font: 800 clamp(1.3rem, 1.9vw, 1.65rem)/1.1 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em;
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  background:
    linear-gradient(var(--yellow), var(--yellow)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) center / 2.5px 100% no-repeat;
  transition: transform 0.45s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(135deg); }
.faq-list summary:hover { color: var(--yellow); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); padding-bottom: 26px; margin: 0; max-width: 60ch; font-size: 1.06rem; }
.faq-a a { color: var(--yellow); }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; margin-bottom: 30px; }
}

/* ——— Dernier appel ——— */
.finale { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: center; overflow: hidden; text-align: center; }
.finale-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.finale-shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 52%, rgba(5, 5, 5, 0.6), rgba(5, 5, 5, 0.88) 100%), linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 70%, var(--bg) 100%); }
.finale .lead { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9); }
.finale-inner { display: grid; justify-items: center; padding-block: 18vh; }
.finale-title {
  font: 900 clamp(4.6rem, 16vw, 16rem)/0.8 var(--font-display); text-transform: uppercase; letter-spacing: -0.01em;
  margin: 0 0 0.25em; text-shadow: 0 10px 60px rgba(0, 0, 0, 0.6);
}
.finale .lead { margin: 0 auto 1.8em; text-align: center; }
.finale .hero-ctas { justify-content: center; }

/* ——— Pied de page ——— */
.footer { border-top: 1px solid var(--line); padding-block: 56px 40px; background: #030303; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: start; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 0.98rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { font: 700 1.02rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: rgba(244, 241, 234, 0.8); }
.footer-links a:hover { color: var(--yellow); }
.footer-legal { grid-column: 1 / -1; margin: 18px 0 0; color: rgba(170, 165, 155, 0.75); font-size: 0.86rem; max-width: 90ch; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* ——— Apparitions (site.js) ——— */
html.motion-ready [data-reveal] { opacity: 0; transform: translateY(26px); }

/* ——— Animations réduites ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .tape-track { animation: none; }
}

/* ——— Réparation de batterie : bandeau d'accueil et page dédiée ——— */
.repair-band { position: relative; padding-block: clamp(80px, 12vh, 140px); background: radial-gradient(60% 80% at 80% 50%, rgba(51, 219, 97, 0.12), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.repair-band-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.repair-band .h2 { margin-bottom: 0.35em; }
.repair-band .lead { max-width: 40ch; margin-bottom: 1.4em; }
.repair-partner { margin: 1.4em 0 0; font: 600 0.95rem/1.4 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.repair-partner strong { color: var(--text); }
/* Une batterie de 7 cellules : grises au départ, elles passent au vert une à une (remplacement des cellules). */
.repair-cells { display: grid; justify-items: center; gap: 16px; }
.repair-pack {
  position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px;
  width: min(440px, 100%); padding: 16px; border-radius: 22px; background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.repair-pack::after { content: ""; position: absolute; right: -14px; top: 34%; width: 10px; height: 32%; border-radius: 0 6px 6px 0; background: var(--line-strong); }
.repair-pack i { aspect-ratio: 1 / 2.4; border-radius: 9px; background: linear-gradient(180deg, #2b2b30, #18181b); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); animation: cellNew 7s var(--ease-in-out) infinite; }
.repair-pack i:nth-child(2) { animation-delay: 0.35s; } .repair-pack i:nth-child(3) { animation-delay: 0.7s; }
.repair-pack i:nth-child(4) { animation-delay: 1.05s; } .repair-pack i:nth-child(5) { animation-delay: 1.4s; }
.repair-pack i:nth-child(6) { animation-delay: 1.75s; } .repair-pack i:nth-child(7) { animation-delay: 2.1s; }
@keyframes cellNew {
  0%, 12% { background: linear-gradient(180deg, #2b2b30, #18181b); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
  24%, 82% { background: linear-gradient(180deg, #5ef08a, var(--green)); box-shadow: 0 0 22px rgba(51, 219, 97, 0.45); }
  100% { background: linear-gradient(180deg, #2b2b30, #18181b); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
}
.repair-cells-label { display: flex; justify-content: space-between; width: min(440px, 100%); margin: 0; font: 700 0.85rem/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.repair-cells-label span:last-child { color: var(--green); }
@media (prefers-reduced-motion: reduce) { .repair-pack i { animation: none; background: linear-gradient(180deg, #5ef08a, var(--green)); } }
@media (max-width: 860px) { .repair-band-inner { grid-template-columns: 1fr; } .repair-cells { order: -1; } }

/* Page « Battery repair » */
.repair-page { padding: 150px 0 40px; }
.repair-hero { max-width: 900px; margin-bottom: clamp(56px, 9vh, 100px); }
.repair-hero .h1 { font: 900 clamp(3.2rem, 9vw, 7.2rem)/0.86 var(--font-display); text-transform: uppercase; margin: 0 0 0.25em; }
.repair-hero .lead { max-width: 46ch; margin-bottom: 1.5em; }
.lang-switch { margin: 0 0 22px; font: 700 0.9rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; }
.lang-switch a { color: var(--muted); text-decoration: none; } .lang-switch a:hover, .lang-switch a[aria-current] { color: var(--yellow); }
.repair-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-bottom: clamp(70px, 11vh, 130px); }
.repair-split .pillar h2 { font: 800 1.9rem/1 var(--font-display); text-transform: uppercase; margin: 0 0 14px; }
.repair-split .pillar p { font-size: 1.06rem; line-height: 1.65; }
.repair-block { margin-bottom: clamp(70px, 11vh, 130px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps .pillar { height: 100%; }
.steps .pillar::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; font: 900 2.6rem/1 var(--font-display); color: var(--yellow); }
.repair-cta { display: grid; justify-items: center; gap: 16px; text-align: center; padding: clamp(40px, 6vw, 72px) var(--gutter); border-radius: var(--radius); background: radial-gradient(80% 120% at 50% 0%, rgba(51, 219, 97, 0.16), transparent 70%), var(--card); box-shadow: inset 0 0 0 1px var(--line-strong); }
.repair-cta .h2 { margin: 0; }
.repair-cta p { margin: 0; color: var(--muted); max-width: 52ch; }
.disclosure { margin: clamp(40px, 6vh, 70px) 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .repair-split, .steps { grid-template-columns: 1fr; } }
