:root {
  --bg: #090b0e;
  --bg-2: #0f1318;
  --panel: #151a21;
  --line: #232b35;
  --text: #eef2f6;
  --muted: #98a3b0;
  --cyan: #18abf8;
  --blue: #3a8fd6;
  --rec: #e5373a;
  --radius: 14px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* motif : quadrillage de graphique */
.grat {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(9, 11, 14, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.brand img { border-radius: 9px; }
.brand--sm { font-size: 12px; }
.brand--sm img { border-radius: 6px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.link-quiet { font-size: 14px; font-weight: 500; color: var(--muted); }
.link-quiet:hover { color: var(--text); }

/* BOUTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--cyan); color: #04141f; }
.btn--primary:hover { background: #4cc0ff; }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--muted); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 17px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--muted); max-width: 30em; }
.note { font-size: 14px; color: var(--muted); }

/* HERO */
.hero { padding: 72px 0 96px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 48px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__meta dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero__meta dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }

.hero__stage { position: relative; height: 600px; }
.phone {
  border-radius: 30px; overflow: hidden; background: #000;
  border: 6px solid #1b2129; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
  aspect-ratio: 9 / 20;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone--main { position: absolute; width: 290px; right: 70px; top: 0; z-index: 2; }
.phone--back { position: absolute; width: 250px; right: -10px; top: 100px; opacity: .55; transform: rotate(5deg); }

/* étiquettes en parallélogramme, repris de l'app */
.tag {
  position: absolute; z-index: 3; display: flex; align-items: stretch;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; transform: skewX(-18deg);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.tag span { background: #20272f; padding: 8px 14px; color: var(--text); }
.tag b { background: #cfdbe6; color: #0b1016; padding: 8px 14px; min-width: 112px; font-weight: 600; }
.tag > * { display: block; }
.tag--a { left: 0; top: 150px; }
.tag--b { left: 20px; top: 210px; }

/* BANDE */
.strip { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.strip__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* SECTIONS */
.sec { padding: 120px 0; }
.sec--dark { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec__head { max-width: 720px; margin-bottom: 56px; }
.sec__head h2, .split__copy h2, .portal__copy h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; margin-bottom: 22px; }
.sec__head p, .split__copy > p, .portal__copy > p { color: var(--muted); font-size: 18px; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.split--rev { grid-template-columns: 1.2fr .8fr; }
.split--rev .split__fig { order: 2; }
.split__fig { margin: 0; display: flex; justify-content: center; }
.split__fig .phone { width: min(320px, 100%); }

.ticks { margin-top: 32px; display: grid; gap: 18px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px;
  background: var(--cyan); transform: skewX(-18deg);
}
.ticks b { color: var(--text); font-weight: 600; }

/* MOMENTS */
.moments { border-top: 1px solid var(--line); }
.moments li {
  display: grid; grid-template-columns: 70px 1fr auto; align-items: baseline; gap: 24px;
  padding: 26px 8px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s;
}
.moments li:hover { background: rgba(24,171,248,.05); padding-left: 20px; }
.moments__n { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--cyan); }
.moments h3 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
.moments__d { color: var(--muted); font-size: 15px; font-weight: 500; text-align: right; }

/* MAQUETTE PORTAIL */
.mock { margin: 0; }
.mock__win { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock__bar span { margin-left: 12px; font-size: 12px; color: var(--muted); }
.mock__body { padding: 28px; }
.mock__title { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.mock__title em { font-style: normal; color: var(--cyan); }
.mock__filters { display: flex; gap: 8px; margin-bottom: 18px; font-size: 12px; }
.mock__search, .mock__sel { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--bg-2); }
.mock__search { flex: 1; }
.mock__list li { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.mock__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0d3f73; font-weight: 700; }
.mock__list b { display: block; font-size: 15px; }
.mock__list small { color: var(--muted); font-size: 12px; }
.mock__price { font-weight: 700; font-size: 14px; color: #7fd8a0; }
.mock__go { font-size: 12px; font-weight: 600; color: var(--cyan); border: 1px solid #12507c; padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.mock__status { display: flex; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mock figcaption { margin-top: 12px; text-align: center; }

/* VIDÉO */
.sec--video { padding: 100px 0 40px; }
.video { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.video__copy h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; margin-bottom: 20px; }
.video__copy p:last-child { color: var(--muted); font-size: 18px; }
.video__player {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  background: #000; border: 1px solid var(--line); cursor: pointer;
}
.video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(9,11,14,.35), rgba(9,11,14,.65)), url("assets/shot2.jpg") center 55% / cover;
  transition: transform .4s;
}
.video__player:hover .video__poster { transform: scale(1.03); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: #04141f;
  transition: transform .15s;
}
.video__player:hover .video__play { transform: scale(1.08); }
.video__label { position: absolute; left: 20px; bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }

/* LECTEUR */
.player { border: 1px solid var(--line); border-radius: 20px; background: var(--bg); overflow: hidden; }
.player__tabs { display: flex; border-bottom: 1px solid var(--line); }
.player__tabs button {
  flex: 1; padding: 18px 12px; background: none; border: 0; border-right: 1px solid var(--line);
  font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer;
  border-bottom: 3px solid transparent; transition: color .15s;
}
.player__tabs button:last-child { border-right: 0; }
.player__tabs button:hover { color: var(--text); }
.player__tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--cyan); background: rgba(24,171,248,.06); }
.player__body { display: grid; grid-template-columns: 340px 1fr; gap: 64px; padding: 48px; align-items: center; }
.player__phone { width: 100%; }
.player__text h3 { font-size: 30px; font-weight: 700; margin-bottom: 16px; }
.player__text p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.player__text [hidden], .player__phone [hidden] { display: none; }
.player__legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .06em; }

/* MATÉRIEL */
.gear { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--bg); }
.gear article { padding: 40px 34px; border-right: 1px solid var(--line); }
.gear article:last-child { border-right: 0; }
.gear h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.gear p { color: var(--muted); font-size: 16px; }
.gear b { color: var(--text); }

/* PORTAIL */
.portal { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
.portal__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.portal__cols h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.portal__cols li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* FINAL */
.final { padding: 130px 0; text-align: center; border-top: 1px solid var(--line); }
.final__in { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.final img { border-radius: 20px; }
.final h2 { font-size: clamp(32px, 5vw, 62px); font-weight: 800; max-width: 16em; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; gap: 24px; }
.foot a:hover { color: var(--text); }

/* TABLETTE */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .hero__in, .split, .split--rev, .portal { grid-template-columns: 1fr; gap: 56px; }
  .split--rev .split__fig { order: 0; }
  .hero__stage { height: 560px; max-width: 440px; margin: 0 auto; width: 100%; }
  .phone--main { right: auto; left: 90px; }
  .phone--back { right: 0; }
  .sec { padding: 80px 0; }
  .sec--video { padding: 72px 0 24px; }
  .moments li { grid-template-columns: 44px 1fr; gap: 6px 14px; }
  .moments__d { grid-column: 2; text-align: left; }
  .mock__go { display: none; }
  .mock__list li { grid-template-columns: 40px 1fr auto; }
  .mock__filters .mock__sel:last-child { display: none; }
  .video { grid-template-columns: 1fr; gap: 32px; }
  .player__body { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  .player__phone { max-width: 300px; margin: 0 auto; }
  .gear { grid-template-columns: 1fr; }
  .gear article { border-right: 0; border-bottom: 1px solid var(--line); }
  .gear article:last-child { border-bottom: 0; }
}

/* MOBILE */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .link-quiet { display: none; }
  .hero { padding: 44px 0 64px; }
  .lead { font-size: 17px; }
  .hero__stage { height: 480px; }
  .phone--main { width: 220px; left: 60px; }
  .phone--back { width: 190px; top: 90px; }
  .tag { font-size: 10px; }
  .tag b { min-width: 86px; }
  .tag--a { top: 120px; }
  .tag--b { top: 170px; }
  .strip__in { justify-content: flex-start; }
  .player__tabs button { font-size: 11px; padding: 14px 4px; letter-spacing: .04em; }
  .portal__cols { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .foot__in { flex-direction: column; align-items: flex-start; }
}

/* APPARITION AU SCROLL (activée par script.js, jamais sans JS ni en mouvement réduit) */
body { overflow-x: clip; }
.reveal-ready [data-reveal] { opacity: 0; }
.reveal-ready [data-reveal].is-in { opacity: 1; animation: rv-up .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) backwards; }
.reveal-ready [data-reveal="left"].is-in  { animation-name: rv-left; }
.reveal-ready [data-reveal="right"].is-in { animation-name: rv-right; }
.reveal-ready [data-reveal="fade"].is-in  { animation-name: rv-fade; }
@keyframes rv-up    { from { opacity: 0; transform: translateY(36px); } }
@keyframes rv-left  { from { opacity: 0; transform: translateX(-64px); } }
@keyframes rv-right { from { opacity: 0; transform: translateX(64px); } }
@keyframes rv-fade  { from { opacity: 0; } }
@media (max-width: 560px) {
  @keyframes rv-left  { from { opacity: 0; transform: translateX(-28px); } }
  @keyframes rv-right { from { opacity: 0; transform: translateX(28px); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
