@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #000;
  --white: #fff;
  --ash: #e5e7eb;
  --smoke: #bfbfbf;
  --iron: #999;
  --brand: #e5562e; /* point du logo, seule couleur */
  --hair: rgba(229, 231, 235, .14);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 17.6px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--white);
  font: 400 16px/1.5 var(--font); letter-spacing: -0.02em;
  font-feature-settings: "ss08" on, "cv11" on;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 450; margin: 0; }
p { margin: 0; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--black); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--black); padding: 10px 18px; border-radius: 9999px;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.dot-accent { color: var(--brand); }

/* ---------- progress + cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--white); transform-origin: 0 50%; transform: scaleX(0); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none;
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7); mix-blend-mode: difference;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
.cursor.hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--white); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px max(16px, calc((100vw - var(--max)) / 2));
  transition: background .4s, backdrop-filter .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--hair); }
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; font-size: 17px; letter-spacing: -0.03em; }
.brand .dot { fill: var(--brand); }
.brand svg { transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-8deg) scale(1.06); }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: flex; flex-direction: column; gap: 2px; padding: 6px 18px;
  text-decoration: none; font-size: 15px; font-weight: 450; letter-spacing: -0.3px; position: relative;
}
.nav-links small { font-size: 12px; color: var(--iron); font-weight: 400; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover small { color: var(--ash); }
.nav-cta-mobile { display: none; }
.burger { display: none; }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--white); color: var(--black); border: 0; border-radius: 9999px;
  padding: 16px 32px; font: 500 15px/1 var(--font); letter-spacing: -0.3px;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ash);
  transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease);
}
.pill:hover::before { transform: translateY(0); }
.pill:active { transform: scale(.97); }
.nav-cta { padding: 12px 22px; }
.ghost {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; color: var(--ash);
  padding: 12px 4px; position: relative;
}
.ghost span { transition: transform .35s var(--ease); }
.ghost:hover span { transform: translateX(6px); }
.ghost::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(.3); transform-origin: left; transition: transform .45s var(--ease);
}
.ghost:hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative; display: grid; place-items: end center;
  padding: 120px 16px 72px; overflow: hidden; text-align: center;
}
.orbit { position: absolute; inset: 0; pointer-events: none; }
.float, .device { position: absolute; will-change: transform; }
.win {
  background: #0c0c0d; border: 1px solid var(--hair); border-radius: 14px; padding: 22px 14px 14px;
  display: flex; flex-direction: column; gap: 8px; width: 170px; position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 30px 80px rgba(255, 255, 255, .03);
}
.win.sm { width: 120px; }
.win > i { position: absolute; top: 9px; left: 12px; width: 26px; height: 5px; border-radius: 9px;
  background: radial-gradient(circle, #3a3a3c 2.5px, transparent 3px) 0 0 / 9px 5px repeat-x; }
.win b, .device b { display: block; border-radius: 9999px; background: #2a2a2c; }
.l { height: 7px; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.win .blk { height: 54px; border-radius: 8px; background: #1c1c1e; }
.win .blk.tall { height: 84px; }
.win .circle { width: 42px; height: 42px; }
.win .circle.sm { width: 30px; height: 30px; }
.win .pillx { width: 54px; height: 16px; background: #e5e7eb; }
.win .grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: none; border-radius: 0; }
.win .grid4 s { height: 38px; border-radius: 6px; background: #1c1c1e; }

.f1 { top: 14%; left: 7%;  --r: -14deg; }
.f2 { top: 9%;  right: 10%; --r: 12deg; }
.f3 { top: 46%; left: 2%;  --r: 8deg; }
.f4 { top: 52%; right: 4%; --r: -10deg; }
.f5 { top: 70%; left: 18%; --r: -6deg; }
.f6 { top: 30%; left: 24%; --r: 18deg; }
.f7 { top: 32%; right: 24%; --r: -18deg; }
.float > .win { transform: rotate(var(--r)); animation: bob 7s ease-in-out infinite alternate; }
.f2 > .win { animation-duration: 9s; } .f3 > .win { animation-duration: 6s; } .f4 > .win { animation-duration: 8s; }
.f5 > .win { animation-duration: 10s; } .f6 > .win { animation-duration: 7.5s; } .f7 > .win { animation-duration: 8.5s; }
@keyframes bob { to { translate: 0 -18px; rotate: 4deg; } }

.device {
  top: 11%; left: 50%; --dw: min(560px, 74vw, 60vh); width: var(--dw); margin-left: calc(var(--dw) / -2);
  background: #0a0a0b; border: 1px solid rgba(229, 231, 235, .2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03), 0 -20px 120px rgba(255, 255, 255, .05);
}
.device-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--hair); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c2e; }
.device-bar span { margin: 0 auto; font-size: 12px; color: var(--iron); background: #161618; padding: 4px 18px; border-radius: 9999px; }
.device-body { padding: 34px 30px 30px; display: grid; gap: 26px; }
.mock-hero { display: grid; gap: 12px; justify-items: center; }
.mock-hero .big { height: 18px; background: #e5e7eb; }
.mock-hero .light { background: #3a3a3c; }
.mock-hero .white { width: 96px; height: 26px; background: var(--white); margin-top: 8px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-cards s { height: 70px; border-radius: 10px; border: 1px solid var(--hair); background: #111113;
  animation: shimmer 3.2s ease-in-out infinite; }
.mock-cards s:nth-child(2) { animation-delay: .4s; } .mock-cards s:nth-child(3) { animation-delay: .8s; }
@keyframes shimmer { 50% { background: #1d1d20; } }

.hero::after { /* fond qui fond le haut de la scène dans le titre */
  content: ""; position: absolute; inset: auto 0 0; height: 68%;
  background: linear-gradient(transparent, rgba(0,0,0,.85) 30%, #000 55%); pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; max-width: 860px; display: grid; justify-items: center; gap: 22px; }
.eyebrow { font-size: 21px; color: var(--ash); letter-spacing: -0.61px; }
.display {
  font-size: clamp(44px, 8.4vw, 104px); line-height: .92; letter-spacing: -0.06em; font-weight: 450;
}
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--smoke); max-width: 560px; letter-spacing: -0.031em; line-height: 1.45; }
.actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.note { font-size: 15px; color: var(--iron); }
.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; translate: -50% 0; z-index: 3;
  width: 22px; height: 36px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 9999px;
}
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--white); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* split title */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transition: transform 1s var(--ease); }
@media (scripting: enabled) { .split:not(.in) .w > span { transform: translateY(105%); } }
.split.in .w > span { transform: none; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--hair); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: clamp(26px, 4vw, 47px); letter-spacing: -0.05em; font-weight: 450; padding: 0 28px; color: var(--iron); transition: color .3s; }
.marquee-track span::after { content: "●"; font-size: .3em; vertical-align: middle; margin-left: 56px; color: #333; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span:hover { color: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px max(16px, calc((100vw - var(--max)) / 2)); position: relative; }
.light { background: var(--ash); color: var(--black); }
.title-block { text-align: center; display: grid; gap: 14px; margin-bottom: 64px; }
.title-block p { font-size: 21px; color: var(--ash); letter-spacing: -0.61px; }
.light .title-block p { color: #555; }
.title-block h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: .95; letter-spacing: -0.06em; }

/* reveal */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
/* masqué seulement si JS tourne, sinon le contenu reste lisible */
@media (scripting: enabled) { .reveal:not(.in) { opacity: 0; transform: translateY(36px); } }
[data-delay="1"] { transition-delay: .08s; } [data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; } [data-delay="4"] { transition-delay: .32s; }

/* stats */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; transition: border-color .4s, background .4s; }
.stat:hover { border-color: rgba(229, 231, 235, .4); background: #070707; }
.stat strong { font-size: clamp(40px, 4.4vw, 53px); font-weight: 450; letter-spacing: -0.06em; line-height: 1; }
.stat > span { color: var(--smoke); font-size: 15px; }

/* service cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1000px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transform-style: preserve-3d; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), opacity 1s var(--ease);
}
.card::after { /* reflet qui suit la souris */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 0, 0, .06), transparent 40%);
}
.card:hover::after { opacity: 1; }
.card-ico { width: 52px; height: 52px; border-radius: 9999px; border: 1px solid var(--smoke); display: grid; place-items: center; transition: background .4s, transform .6s var(--ease); }
.card-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-ico { background: var(--black); color: var(--white); transform: rotate(-10deg) scale(1.08); }
.card h3 { font-size: 26px; letter-spacing: -0.78px; line-height: 1.14; margin-top: 18px; }
.card p { color: #444; font-size: 15px; }
.card ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.card li { font-size: 13px; border: 1px solid var(--ash); padding: 5px 12px; border-radius: 9999px; color: #333; }

.price { font-size: 26px; letter-spacing: -0.03em; font-weight: 450; color: var(--black) !important; display: grid; }
.price small { font-size: 13px; color: #666; font-weight: 400; letter-spacing: -0.02em; }
.card h3 + .price { margin-top: -6px; }
.card-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 26px; background: var(--black); color: var(--white); }
.card-wide .card-ico { flex: none; border-color: rgba(255, 255, 255, .3); }
.card-wide:hover .card-ico { background: var(--white); color: var(--black); }
.card-wide-body { flex: 1; display: grid; gap: 8px; }
.card-wide h3 { margin-top: 0; }
.card-wide p { color: var(--smoke); max-width: 620px; }
.card-wide .price { color: var(--white) !important; }
.card-wide .price small { color: var(--iron); }
.card-wide-cta { display: flex; align-items: center; gap: 26px; flex: none; }
.card-wide::after { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 40%); }
@media (max-width: 760px) {
  .card-wide, .card-wide-cta { flex-direction: column; align-items: flex-start; }
}
/* bouton "ce qui est inclus" */
.more {
  align-self: flex-start; margin-top: 14px; display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid currentColor; border-radius: 9999px; padding: 10px 18px;
  font: 450 14px/1 var(--font); letter-spacing: -0.02em; color: inherit; cursor: pointer;
  transition: background .35s, color .35s;
}
.more span { font-size: 18px; font-weight: 300; transition: transform .4s var(--ease); }
.more:hover { background: var(--black); color: var(--white); }
.more:hover span { transform: rotate(90deg); }
.card-wide .more { margin-top: 0; border-color: rgba(255, 255, 255, .4); }
.card-wide .more:hover { background: var(--white); color: var(--black); }

/* fenêtre détail d'offre */
.offer {
  width: min(600px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; margin: auto;
  background: var(--black); color: var(--white); border: 1px solid rgba(229, 231, 235, .2); border-radius: var(--radius);
  overflow: auto; overscroll-behavior: contain;
}
.offer[open] { animation: offer-in .5s var(--ease); }
.offer::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fade-bg .4s ease; }
@keyframes offer-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes fade-bg { from { opacity: 0; } }
.offer-in { padding: 35px; display: grid; gap: 18px; position: relative; }
.offer-x {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: none; border: 1px solid var(--hair); color: var(--white); font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.offer-x:hover { background: var(--white); color: var(--black); transform: rotate(90deg); }
.offer-tag { font-size: 13px; color: var(--iron); padding-right: 48px; }
.offer h3 { font-size: 35px; letter-spacing: -1.16px; line-height: 1.11; }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer-list li { position: relative; padding-left: 30px; color: var(--ash); font-size: 15px; }
.offer-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: radial-gradient(circle, var(--white) 3px, transparent 3.5px);
}
.offer-out { font-size: 14px; color: var(--iron); border-top: 1px solid var(--hair); padding-top: 18px; }
.offer-out strong { color: var(--ash); font-weight: 500; }
.offer .pill { justify-self: start; }
body:has(.offer[open]) { overflow: hidden; }
.light .offer :focus-visible { outline-color: var(--white); }

.cards-note { text-align: center; color: #555; font-size: 15px; margin-top: 35px; }

/* realisations */
#realisations { padding-block: 88px; }
#realisations .title-block { margin-bottom: 41px; }
.work { display: block; max-width: 620px; margin: 0 auto; text-decoration: none; border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; transition: border-color .4s, opacity 1s var(--ease), transform 1s var(--ease); }
.work:hover { border-color: rgba(229, 231, 235, .45); }
.work-screen { background: #0a0a0b; border-bottom: 1px solid var(--hair); overflow: hidden; }
.work-img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 650; object-fit: cover; transition: transform .9s var(--ease); }
.work:hover .work-img { transform: scale(1.04); }
.work-meta { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 26px; }
.work-meta > span:first-child { display: grid; gap: 2px; font-size: 21px; letter-spacing: -0.61px; }
.work-meta small { font-size: 13px; color: var(--iron); }
.work-link { font-size: 15px; color: var(--ash); }
.work-link > span[aria-hidden] { display: inline-block; transition: transform .4s var(--ease); }
.work:hover .work-link > span[aria-hidden] { transform: translate(4px, -4px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* manifesto */
.manifesto { padding-block: 160px; }
.highlight-text { font-size: clamp(28px, 4.2vw, 53px); line-height: 1.08; letter-spacing: -0.05em; font-weight: 450; max-width: 1000px; margin: 0 auto; text-align: center; }
.highlight-text .hw { color: #5e5e5e; transition: color .4s; }
.highlight-text .hw.lit { color: var(--white); }

/* steps */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; display: grid; gap: 18px; }
.steps::before { content: ""; position: absolute; left: 42px; top: 0; bottom: 0; width: 1px; background: var(--hair); }
.steps::after { content: ""; position: absolute; left: 42px; top: 0; width: 1px; height: 100%; background: var(--white); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { display: flex; gap: 32px; align-items: flex-start; padding: 26px 26px 26px 0; position: relative; z-index: 1; border-radius: var(--radius); transition: background .4s; }
.step:hover { background: #070707; }
.step-n { flex: none; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--black); border: 1px solid var(--hair); font-size: 21px; color: var(--iron); transition: background .5s, color .5s, border-color .5s; }
.step.active .step-n { background: var(--white); color: var(--black); border-color: var(--white); }
.step h3 { font-size: 35px; letter-spacing: -1.16px; line-height: 1.11; margin: 14px 0 8px; }
.step p { color: var(--smoke); max-width: 560px; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { margin: 0; border: 1px solid var(--hair); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 18px; background: var(--black); transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease); }
.review:hover { border-color: rgba(229, 231, 235, .45); transform: translateY(-6px); }
.review-top { display: flex; justify-content: space-between; align-items: baseline; }
.rating { font-size: 35px; letter-spacing: -1.16px; font-weight: 450; }
.stars { font-size: 13px; letter-spacing: 2px; color: var(--ash); }
.review blockquote { margin: 0; color: var(--ash); flex: 1; }
.review figcaption { color: var(--iron); font-size: 15px; }
.center { text-align: center; margin-top: 41px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 26px; font-size: 19px; letter-spacing: -0.59px; font-weight: 450;
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: #444; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-8px); } }

/* form */
.form { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; color: var(--ash); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--white); background: #0a0a0a;
  border: 1px solid var(--hair); border-radius: var(--radius); padding: 16px 18px;
  transition: border-color .3s, background .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(229, 231, 235, .35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--white); background: #101010; }
.field [aria-invalid="true"] { border-color: var(--white); border-style: dashed; }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--white); padding: 0; }
.check label { font-size: 13px; color: var(--iron); }
.submit { justify-items: center; gap: 16px; margin-top: 10px; }
.form-status { font-size: 15px; color: var(--ash); min-height: 1.5em; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pill[disabled] { opacity: .5; cursor: wait; }

/* footer */
.footer { border-top: 1px solid var(--hair); padding: 80px max(16px, calc((100vw - var(--max)) / 2)) 32px; overflow: hidden; }
.footer-big { font-size: clamp(56px, 13vw, 190px); letter-spacing: -0.07em; line-height: .85; font-weight: 450; text-align: center; white-space: nowrap; color: #161616; transition: color .6s; }
.footer:hover .footer-big { color: var(--white); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 47px; color: var(--iron); font-size: 15px; }
.footer-row ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-row a { text-decoration: none; transition: color .3s; }
.footer-row a:hover { color: var(--white); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 16px 80px; }
.legal h1 { font-size: clamp(36px, 6vw, 53px); letter-spacing: -0.06em; line-height: 1; margin-bottom: 41px; }
.legal h2 { font-size: 21px; margin: 35px 0 10px; }
.legal p, .legal li { color: var(--smoke); }
.legal .back { margin-bottom: 29px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cards, .reviews, .stats { grid-template-columns: repeat(2, 1fr); }
  .f6, .f7 { display: none; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .burger {
    display: grid; place-items: center; gap: 6px; margin-left: auto; width: 44px; height: 44px;
    background: none; border: 1px solid var(--hair); border-radius: 9999px; cursor: pointer; padding: 0; align-content: center;
  }
  .burger span { width: 18px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav nav { position: fixed; inset: 0; margin: 0; background: var(--black); display: grid; place-items: center; z-index: -1;
    clip-path: circle(0 at calc(100% - 38px) 40px); transition: clip-path .7s var(--ease); visibility: hidden; }
  .nav.open nav { clip-path: circle(150% at calc(100% - 38px) 40px); visibility: visible; }
  .nav.open { background: transparent; backdrop-filter: none; border-color: transparent; }
  .nav-links { flex-direction: column; align-items: center; gap: 18px; }
  .nav-links a { font-size: 35px; letter-spacing: -0.05em; align-items: center; }
  .nav-links a::after { display: none; }
  .nav-cta-mobile { display: block; margin-top: 18px; }
  .nav-cta-mobile .pill { font-size: 15px; letter-spacing: -0.3px; }
  .cards, .reviews, .stats, .form { grid-template-columns: 1fr; }
  .section { padding-block: 88px; }
  .title-block { margin-bottom: 41px; }
  .f1, .f3, .f5 { left: -40px; } .f2, .f4 { right: -40px; }
  .win { width: 130px; } .win.sm { width: 96px; }
  .device-body { padding: 22px 18px; }
  .mock-cards s { height: 44px; }
  .steps::before, .steps::after { left: 28px; }
  .step { gap: 18px; padding-right: 0; }
  .step-n { width: 56px; height: 56px; font-size: 16px; }
  .step h3 { font-size: 26px; margin-top: 10px; }
  .footer-row { flex-direction: column; }
}

/* 5 : bouton pause des animations */
.motion-toggle {
  position: absolute; left: max(16px, calc((100vw - var(--max)) / 2)); bottom: 22px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px;
  background: rgba(0, 0, 0, .5); color: var(--smoke); border: 1px solid var(--hair); border-radius: 9999px;
  font: 400 13px/1 var(--font); letter-spacing: -0.02em; cursor: pointer; transition: color .3s, border-color .3s;
}
.motion-toggle:hover { color: var(--white); border-color: rgba(229, 231, 235, .45); }
.mt-ico { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] .mt-ico { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; }
html.paused *, html.paused *::before, html.paused *::after,
.paused-off, .paused-off *, .paused-off *::before { animation-play-state: paused !important; }

/* 15 : à propos */
.about-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 47px; align-items: center; max-width: 1100px; margin: 0 auto; }
.about-photo { aspect-ratio: 1; border: 1px solid var(--hair); border-radius: var(--radius); display: grid; place-items: center; background: #070707; color: var(--white); overflow: hidden; }
.about-photo .dot { fill: var(--brand); }
.about-copy { display: grid; gap: 22px; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: .98; letter-spacing: -0.06em; }
.about-copy > p:not(.eyebrow) { color: var(--smoke); font-size: 17px; max-width: 560px; }
.about-points { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-points li { border: 1px solid var(--hair); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; transition: border-color .4s; }
.about-points li:hover { border-color: rgba(229, 231, 235, .45); }
.about-points strong { font-weight: 450; font-size: 17px; }
.about-points span { font-size: 14px; color: var(--iron); }
@media (max-width: 900px) { .about-grid, .about-points { grid-template-columns: 1fr; } .about-photo { width: 140px; } }

/* 14 : contact direct */
.direct { text-align: center; color: var(--smoke); margin: -29px auto 35px; }
.direct a, .footer-row p a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.scroll-hint { width: 24px; }
@media (max-width: 760px) {
  /* icône seule sur mobile pour ne pas chevaucher l'indicateur de défilement */
  .motion-toggle { padding: 12px; }
  .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* 17 : erreurs par champ */
.field-err { font-size: 13px; color: var(--white); min-height: 0; }
.field-err:empty { display: none; }
.check .field-err { grid-column: 1 / -1; }

/* 404 */
.notfound { min-height: 100svh; display: grid; align-content: center; gap: 18px; }
.notfound h1 { margin: 0; }
.notfound .actions { justify-content: flex-start; }

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; }
  .highlight-text .hw { color: var(--white); }
  .cursor { display: none; }
  .motion-toggle { display: none; }
}
