/* Made in Motion — identité du showreel : noir profond, blanc, jaune vif. Typographie Inter très grasse, détails en JetBrains Mono. */
:root {
  --k: #0D0D0D;
  --k2: #151517;
  --g: #292929;
  --line: #2E2E33;
  --w: #F5F5F5;
  --mute: #A9A9B0;
  --y: #F5CC16;
  --y-ink: #0D0D0D;
  --f: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 18px;
  --wrap: 1200px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--k); color: var(--w); font-family: var(--f); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; }
.y { color: var(--y); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--y); color: var(--y-ink); padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; border-radius: 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; letter-spacing: -0.01em; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-y { background: var(--y); color: var(--y-ink); }
.btn-y:hover { background: #FFD83A; }
.btn-ghost { border-color: #4A4A52; color: var(--w); background: transparent; }
.btn-ghost:hover { border-color: var(--w); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(13,13,13,.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; padding-top: env(safe-area-inset-top, 0px); }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; color: var(--mute); font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:hover { color: var(--w); }

/* Accueil */
.kicker { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--y); margin-bottom: 18px; }
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: -260px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(245,204,22,.13), transparent); pointer-events: none; }
.hero-title { font-size: clamp(40px, 7.2vw, 92px); font-weight: 900; max-width: 15ch; }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); color: #CFCFD4; max-width: 58ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.player-hero { margin-top: 44px; }
@media (min-width: 1100px) {
  .hero { padding: 72px 0 48px; }
  .hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
  .hero-title { font-size: clamp(48px, 4.6vw, 76px); }
  .player-hero { margin-top: 0; }
  .facts { margin-top: 48px; }
}
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts li { background: var(--k); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.facts strong { font-size: 22px; font-weight: 900; letter-spacing: -0.03em; }
.facts span { color: var(--mute); font-size: 14px; }

/* Lecteur vidéo (vignette, puis lecteur au clic) */
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }
.player.is-v { aspect-ratio: 9 / 16; max-width: 360px; margin-left: auto; margin-right: auto; }
.player .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1), filter .4s; }
.player button.play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); cursor: pointer; padding: 0; color: var(--w); }
.player .play-dot { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--y); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(245,204,22,.35); transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
.player .play-dot::after { content: ""; margin-left: 6px; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid var(--y-ink); }
.player-hero .play-dot { width: 104px; height: 104px; margin: -52px 0 0 -52px; }
.player .meta { position: absolute; left: 18px; bottom: 16px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--w); text-align: left; }
.player:hover .poster { transform: scale(1.03); }
.player:hover .play-dot { transform: scale(1.08); }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.chip { position: absolute; z-index: 3; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 8px; background: rgba(13,13,13,.78); color: var(--w); pointer-events: none; }
.chip-tl { left: 16px; top: 16px; }
.player.is-playing .chip { display: none; }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--k2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 760px; margin-bottom: 56px; }
.head h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 900; }
.lead { font-size: 19px; color: #CFCFD4; margin-top: 18px; }
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--mute); font-size: 15px; }
.notice .dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 3px; background: var(--y); margin-top: 7px; }


/* Accès rapide aux 3 offres (sous le showreel) */
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.pick a { display: grid; gap: 2px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--k2); text-decoration: none; transition: border-color .2s, transform .2s; }
.pick a:hover { border-color: var(--w); transform: translateY(-2px); }
.pick-k { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--y); }
.pick strong { font-size: 30px; font-weight: 900; letter-spacing: -0.04em; }
.pick span:last-child { color: var(--mute); font-size: 14px; }
.pick .pick-hl { border-color: var(--y); }

/* Une offre = une carte tarifaire + ses exemples */
.offer-block { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 44px; align-items: start; padding: 46px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.ob-card { position: relative; padding: 30px 28px; border-radius: 22px; background: var(--k2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 0; }
.ob-hl .ob-card { border: 2px solid var(--y); box-shadow: 0 30px 80px rgba(245,204,22,.08); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--y); color: var(--y-ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.ob-n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--y); letter-spacing: .12em; text-transform: uppercase; }
.ob-card h3 { font-size: clamp(30px, 3vw, 38px); font-weight: 900; margin-top: 8px; }
.ob-meta { color: var(--mute); font-size: 15px; margin-top: 6px; }
.ob-price { font-size: 56px; font-weight: 900; letter-spacing: -0.05em; margin: 14px 0 18px; font-variant-numeric: tabular-nums; line-height: 1; }
.ob-price s { font-size: 24px; color: #7C7C84; font-weight: 700; margin-right: 8px; letter-spacing: -0.02em; }
.incl { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.incl li { position: relative; padding-left: 26px; color: #DADADF; font-size: 16px; }
.incl li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px; border-left: 3px solid var(--y); border-bottom: 3px solid var(--y); transform: rotate(-45deg); }
.incl li.opt { color: var(--mute); }
.incl li.opt::before { border-color: #5A5A62; }
.incl-val li { display: flex; justify-content: space-between; gap: 12px; }
.incl-val li span { color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.incl-val li.tot { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 800; color: var(--w); }
.incl-val li.tot::before { display: none; }
.incl-val li.tot span { color: var(--w); text-decoration: line-through; text-decoration-color: var(--y); }
.ob-opts { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 22px; }
.ob-opts p { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.ob-opts ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 15px; color: #DADADF; }
.ob-opts b { color: var(--y); font-weight: 800; }
.ob-card .btn { width: 100%; margin-top: auto; }
.ob-media { min-width: 0; }
.ob-ex { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 auto; font: inherit; display: grid; gap: 6px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--mute); text-align: left; font-size: 13px; font-weight: 700; }
.thumbs img { width: 150px; height: 84px; object-fit: cover; border-radius: 10px; border: 2px solid transparent; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumbs button[aria-selected="true"] { color: var(--w); }
.thumbs button[aria-selected="true"] img { border-color: var(--y); opacity: 1; }
.thumbs button:hover img { opacity: 1; }
.mention { margin-top: 16px; font-size: 13px; color: #8A8A92; }
.switches { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; border: 1px solid var(--line); }
.seg button { font: inherit; font-size: 14px; font-weight: 700; color: var(--mute); background: transparent; border: 0; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--w); color: var(--k); }
.pk-note { margin-top: 12px; color: var(--mute); font-size: 14px; }
.script { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.script summary { cursor: pointer; font-weight: 700; font-size: 15px; color: var(--w); }
.script p { margin-top: 12px; color: var(--mute); font-size: 15px; }
.offers-foot { margin-top: 26px; text-align: center; color: var(--mute); font-size: 14px; }

/* Devis */
.quote { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 28px; align-items: start; }
.q-main { display: grid; gap: 22px; min-width: 0; }
.q-step { border: 1px solid var(--line); border-radius: 22px; padding: 24px; margin: 0; background: var(--k); min-width: 0; }
.q-step legend { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; padding: 0 8px; margin-left: -8px; }
.q-step legend span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 9px; background: var(--y); color: var(--y-ink); font-size: 15px; font-weight: 900; }
.q-offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.q-offer { position: relative; display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 2px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.q-offer input { position: absolute; opacity: 0; pointer-events: none; }
.q-offer:has(input:checked) { border-color: var(--y); background: rgba(245,204,22,.06); }
.q-offer:has(input:focus-visible) { outline: 3px solid var(--y); outline-offset: 3px; }
.q-o-t { font-weight: 800; font-size: 16px; }
.q-o-m { color: var(--mute); font-size: 13px; }
.q-o-p { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; margin-top: 4px; }
.q-opts { display: grid; gap: 10px; margin-top: 8px; }
.q-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.q-opt input { width: 22px; height: 22px; accent-color: var(--y); flex: 0 0 auto; }
.q-opt-t { flex: 1; font-weight: 700; display: grid; }
.q-opt-t small { color: var(--mute); font-weight: 500; font-size: 13px; }
.q-opt-p { font-weight: 800; color: var(--y); white-space: nowrap; }
.q-opt.is-incl { opacity: .55; cursor: default; }
.q-opt.is-incl .q-opt-p { color: var(--w); }
.q-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.q-fields label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: #DADADF; }
.q-fields .q-wide { grid-column: 1 / -1; }
.q-fields input, .q-fields textarea { font: inherit; font-size: 16px; color: var(--w); background: var(--k2); border: 1px solid #3A3A42; border-radius: 12px; padding: 12px 14px; width: 100%; }
.q-fields input:focus, .q-fields textarea:focus { outline: none; border-color: var(--y); }
.q-fields .bad { border-color: #E5484D; }
.hp { position: absolute; left: -9999px; }
.q-sum { position: sticky; top: 90px; padding: 26px 24px; border-radius: 22px; background: var(--k); border: 2px solid var(--y); }
.q-sum-k { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--y); margin-bottom: 14px; }
#q-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
#q-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: #DADADF; }
#q-lines li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--w); font-weight: 700; }
#q-lines li.q-was { color: var(--mute); }
.q-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.q-total span { font-weight: 800; }
.q-total strong { font-size: 44px; font-weight: 900; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.q-legal { color: #8A8A92; font-size: 13px; margin: 8px 0 18px; }
.q-send { width: 100%; }
.q-send:disabled { opacity: .7; cursor: default; transform: none; }
.q-msg { margin-top: 14px; font-size: 15px; }
.q-rgpd { margin-top: 12px; color: #77777F; font-size: 12px; }
.q-msg.ok { color: var(--w); padding: 12px 14px; border-radius: 12px; background: rgba(46,182,125,.15); border: 1px solid rgba(46,182,125,.5); }
.q-msg.err { color: #FF8A8E; }
.quote.sent .q-main { opacity: .5; pointer-events: none; }

@media (max-width: 960px) {
  .offer-block { grid-template-columns: 1fr; gap: 24px; }
  .offer-block .ob-media { order: -1; }
  .quote { grid-template-columns: 1fr; }
  .q-sum { position: static; }
  .pick { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .q-offers { grid-template-columns: 1fr; }
  .q-fields { grid-template-columns: 1fr; }
  .q-step { padding: 18px 16px; }
  .ob-card { padding: 24px 20px; }
  .ob-price { font-size: 48px; }
  .thumbs img { width: 120px; height: 68px; }
  .pick a { grid-template-columns: 1fr auto; align-items: baseline; }
  .pick a span:last-child { grid-column: 1 / -1; }
}

/* Méthode */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px 26px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, #141416, var(--k)); }
.step-n { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: var(--y); color: var(--y-ink); font-weight: 900; font-size: 20px; margin-bottom: 18px; }
.steps h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.steps p { color: var(--mute); font-size: 15px; }

/* Contact */
.contact { text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; bottom: -320px; width: 1200px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(245,204,22,.12), transparent); pointer-events: none; }
.contact-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact-title { font-size: clamp(38px, 6vw, 76px); font-weight: 900; max-width: 14ch; }
.contact-sub { color: #CFCFD4; font-size: 19px; max-width: 52ch; margin-top: 18px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; margin-top: 34px; }
.mail-copy { font: inherit; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 10px 0 24px; border-radius: 999px; border: 2px solid #4A4A52; background: transparent; color: var(--w); cursor: pointer; }
.mail-addr { font-family: var(--mono); font-weight: 700; font-size: 17px; }
.mail-copy-l { font-size: 13px; font-weight: 800; padding: 8px 14px; border-radius: 999px; background: var(--g); }
.mail-copy.ok .mail-copy-l { background: var(--y); color: var(--y-ink); }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 40px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: grid; gap: 14px; color: #8A8A92; font-size: 14px; }
.foot-in img { height: 30px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Bouton de contact flottant (téléphone) */
.fab { display: none; }

/* Apparitions douces (seulement si le script tourne) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top-in { height: 60px; }
  .brand img { height: 26px; }
  .top .btn-sm { display: none; }
  .hero { padding: 36px 0 28px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .player-hero { margin-top: 30px; }
  .player .play-dot, .player-hero .play-dot { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
  .section { padding: 72px 0; }
  .head { margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; }
  .mail-copy { width: 100%; justify-content: space-between; }
  .contact-row .btn { width: 100%; }
  .fab { display: flex; position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); align-items: center; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--y); color: var(--y-ink); font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: opacity .3s, transform .3s; }
  .fab.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .player .poster, .player .play-dot { transition: none; }
}
