/* Onyx Web — feuille de style du site
   Fond noir onyx, gemme en héros, sections sobres en dessous. */

/* Polices hébergées sur le site (pas d'appel à Google : plus rapide et plus simple pour le RGPD) */
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/syne-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Syne"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/syne-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --onyx: #0B0B0F;
  --onyx-2: #141419;
  --onyx-3: #1A1A21;
  --facet: #2A2A33;
  --line: #26262E;
  --ink: #F2F1F7;
  --ink-2: #A9A7B8;
  --violet: #8B7CFF;
  --violet-hi: #B3A8FF;
  --font-display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--onyx); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--violet); color: var(--onyx); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--violet-hi); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--onyx) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: baseline; gap: 2px; text-decoration: none; font-family: "Helvetica Neue", Arial, sans-serif; flex: none; }
.brand svg { width: 26px; height: 31px; align-self: center; margin-right: 4px; }
.brand b { font-weight: 800; font-size: 22px; letter-spacing: 3px; }
.brand i { font-style: normal; color: var(--violet); font-size: 22px; line-height: 0; }
.brand span { font-weight: 300; font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--ink-2); }
.nav-links a { text-decoration: none; transition: color .2s ease; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.menu-toggle { display: none; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; padding: 0; }
.menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle .x { display: none; }
.nav.open .menu-toggle .bars { display: none; }
.nav.open .menu-toggle .x { display: block; }
.mobile-menu { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 20px; font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; white-space: nowrap; }
.btn-primary { background: var(--violet); color: var(--onyx); }
.btn-primary:hover { background: var(--violet-hi); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--violet); transform: translateY(-1px); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.nav .btn { padding: 9px 16px; font-size: 14px; }

@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links { gap: 10px; }
  .js .menu-toggle { display: grid; }
  .mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--onyx); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 40px) 20px; opacity: 0; transform: translateY(-8px); pointer-events: none; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .nav.open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
  .mobile-menu a:last-child { border-bottom: 0; }
}
@media (max-width: 380px) {
  .nav .btn { padding: 9px 12px; font-size: 13px; }
  .brand b { font-size: 20px; letter-spacing: 2px; }
}

/* ---------- Hero (repris du brouillon validé) ---------- */
.hero { position: relative; height: 190vh; }
.stage { position: sticky; top: 0; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at var(--gx, 70%) 48%, color-mix(in srgb, var(--violet) calc(var(--glow, 0.18) * 100%), transparent) 0%, transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: 72px 48px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin: 0 0 18px; }
h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 3.9vw, 50px); line-height: .98; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 em { font-style: normal; color: var(--violet); }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); max-width: 36ch; margin: 22px 0 30px; }
.lead strong { color: var(--ink); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; font-size: 13px; color: var(--ink-2); }
.proof span::before { content: "◆"; color: var(--violet); margin-right: 8px; font-size: 10px; }

.gem-box { position: relative; display: grid; place-items: center; padding-block: 24px 64px; }
.gem { position: relative; z-index: 2; width: min(100%, 440px); aspect-ratio: 92 / 110; overflow: visible; transform: rotate(var(--rz, 0deg)) scale(var(--gs, 1)); }
.gem .f { transform-box: view-box; transform-origin: 46px 55px; animation: assemble 1.5s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); }
@keyframes assemble {
  from { transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(.6); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.gem .core { transform-box: fill-box; transform-origin: center; animation: ignite 1s ease-out 1.25s both; }
@keyframes ignite { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.gem .shine { animation: shine 5s ease-in-out 2.4s infinite; opacity: 0; }
@keyframes shine { 0%, 70%, 100% { opacity: 0; } 82% { opacity: .55; } }
.gem .halo { opacity: var(--halo, .35); transition: opacity .2s linear; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: var(--hint, 1); }
.scroll-hint i { width: 1px; height: 34px; background: linear-gradient(var(--violet), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.tagline { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; z-index: 3; white-space: nowrap; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); letter-spacing: -0.01em; opacity: var(--tag, 0); transform: translateY(calc((1 - var(--tag, 0)) * 20px)); pointer-events: none; padding-inline: 16px; }
.tagline em { font-style: normal; color: var(--violet); }

@media (max-width: 860px) {
  .hero { height: auto; }
  .stage { position: relative; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; padding-block: 28px 64px; gap: 8px; }
  .gem-box { order: -1; }
  .gem { width: min(62vw, 300px); }
  .lead { margin: 16px 0 24px; }
  .tagline, .scroll-hint { display: none; }
}
@media (max-width: 420px) { .ctas .btn { flex: 1 1 100%; } }

/* Ambiance : particules, orbites, rayons, bulles */
.sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-grid { z-index: 1; }
.orbits { position: absolute; z-index: 1; width: min(118%, 560px); aspect-ratio: 1; left: 50%; top: calc(50% - 20px); transform: translate(-50%, -50%) rotate(calc(var(--p, 0) * 40deg)); pointer-events: none; overflow: visible; }
.orbits ellipse { fill: none; stroke: var(--violet); }
.orbits .o1 { stroke-opacity: .28; stroke-width: .35; }
.orbits .o2 { stroke-opacity: .14; stroke-width: .3; stroke-dasharray: 1.2 2.4; }
.orbits .spin1 { transform-origin: 100px 100px; animation: spin 26s linear infinite; }
.orbits .spin2 { transform-origin: 100px 100px; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: color-mix(in srgb, var(--onyx-2) 80%, transparent); border: 1px solid color-mix(in srgb, var(--violet) 30%, var(--line)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); opacity: 0; animation: chipIn .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--cd); translate: calc(var(--ox) * var(--open, 0) * 1px) calc(var(--oy) * var(--open, 0) * 1px); }
.chip .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--violet) 22%, transparent); color: var(--violet-hi); flex: none; }
.chip .ic svg { width: 14px; height: 14px; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
.chip-inner { display: flex; align-items: center; gap: 8px; animation: bob 6s ease-in-out infinite; animation-delay: var(--bd, 0s); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.c1 { top: 12%; left: -2%; --cd: 1.7s; --ox: -18; --oy: -10; --bd: 0s; }
.c2 { top: 30%; right: -4%; --cd: 1.85s; --ox: 20; --oy: -6; --bd: 1.5s; }
.c3 { bottom: 40%; left: -6%; --cd: 2s; --ox: -20; --oy: 8; --bd: 3s; }
.c4 { bottom: 30%; right: 0%; --cd: 2.15s; --ox: 16; --oy: 12; --bd: 4.5s; }
@media (max-width: 860px) {
  .orbits { width: min(96vw, 420px); top: calc(50% - 32px); }
  .chip { font-size: 11.5px; padding: 6px 10px 6px 7px; gap: 6px; }
  .chip .ic { width: 20px; height: 20px; }
  .c1 { top: 8%; left: 0; } .c2 { top: auto; bottom: 22%; right: 0; }
  .c3, .c4 { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); background: var(--onyx); position: relative; }
.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); line-height: 1.05; margin: 0 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
.section h2 em { font-style: normal; color: var(--violet); }
/* Les chiffres de Syne ressemblent à des lettres (0 → o) : on écrit les nombres en Manrope */
.num { font-family: var(--font-body); font-weight: 800; letter-spacing: -0.03em; }
.section .sub { color: var(--ink-2); max-width: 52ch; margin: 0; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.card { background: var(--onyx-2); border: 1px solid var(--line); border-radius: var(--radius); }

/* Petite facette décorative au coin des cartes */
.facet-mark { position: absolute; width: 14px; height: 16px; opacity: .9; }

/* Réalisations */
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work { overflow: hidden; display: flex; flex-direction: column; transition: border-color .25s ease, transform .25s ease; }
.work:hover { border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); transform: translateY(-3px); }
.work-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--onyx-3); border-bottom: 1px solid var(--line); }
.work-shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.work:hover .work-shot > img, .work:hover .work-video { transform: scale(1.035); }
/* Vidéo de démonstration : cachée tant qu'elle ne joue pas, la capture reste visible dessous */
.work-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.work-video.playing { opacity: 1; }
.work-phone { position: absolute; z-index: 2; right: 4%; bottom: 0; width: 19%; aspect-ratio: 390 / 844; transform: translateY(18%); border-radius: 14px; padding: 3px; background: #1E1E26; border: 1px solid #3A3A44; box-shadow: 0 18px 40px -12px rgba(0,0,0,.8); overflow: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.work-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11px; }
.work:hover .work-phone { transform: translateY(10%); }
.work-body { padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.tag.v { color: var(--violet-hi); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); }
.work h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); margin: 4px 0 0; line-height: 1.1; }
.work p { color: var(--ink-2); margin: 0 0 8px; font-size: 15px; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.step { position: relative; padding: 26px; min-width: 0; }
.step .k { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--violet); letter-spacing: .1em; }
.step .k .n { display: grid; place-items: center; width: 34px; height: 38px; font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: 0; color: var(--ink); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 38'%3E%3Cpolygon points='17,1 33,10 33,28 17,37 1,28 1,10' fill='none' stroke='%238B7CFF' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.step h3 { font-family: var(--font-display); font-size: 22px; margin: 16px 0 8px; line-height: 1.15; }
.step p { color: var(--ink-2); margin: 0; font-size: 15px; }

/* Formules */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; min-width: 0; transition: border-color .25s ease, transform .25s ease; }
.plan:hover { border-color: color-mix(in srgb, var(--violet) 35%, var(--line)); transform: translateY(-3px); }
.plan.featured { border-color: var(--violet); background: linear-gradient(180deg, color-mix(in srgb, var(--violet) 12%, var(--onyx-2)) 0%, var(--onyx-2) 55%); box-shadow: 0 20px 60px -30px color-mix(in srgb, var(--violet) 70%, transparent); }
.badge { position: absolute; top: -12px; left: 22px; background: var(--violet); color: var(--onyx); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.plan h3 { font-family: var(--font-display); font-size: 24px; margin: 0; }
.plan .desc { color: var(--ink-2); font-size: 14px; margin: 4px 0 0; min-height: 2.8em; }
.price { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--line); }
.price .from { font-size: 14px; color: var(--ink-2); font-weight: 600; margin-right: 4px; }
.price .amount { font-family: var(--font-body); font-weight: 800; font-size: clamp(32px, 2.8vw, 40px); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price .unit { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }
.monthly { font-weight: 700; color: var(--violet-hi); margin-top: 12px; font-size: 18px; }
.monthly small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.feat { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: 14px; }
.feat li { position: relative; padding-left: 22px; }
.feat li::before { content: ""; position: absolute; left: 0; top: .42em; width: 11px; height: 12px; background: var(--violet); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.for { margin: 20px 0 22px; font-size: 13px; color: var(--ink-2); }
.for b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.plan .btn { margin-top: auto; width: 100%; white-space: normal; text-align: center; }
.plans-note { margin: 24px 0 0; color: var(--ink-2); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.plans-note strong { color: var(--ink); font-weight: 600; }
.plans-note .ht { font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }

/* Sans rien payer au début */
.zero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); border-color: color-mix(in srgb, var(--violet) 40%, var(--line)); background:
  radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--violet) 18%, transparent) 0%, transparent 60%),
  var(--onyx-2); }
.zero h2 { margin-bottom: 14px; }
.zero p { color: var(--ink-2); margin: 0 0 14px; max-width: 46ch; }
.zero .own { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px; border-radius: 14px; background: color-mix(in srgb, var(--onyx) 70%, transparent); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.zero .own strong { color: var(--ink); }
.zero .own svg { width: 22px; height: 26px; flex: none; margin-top: 2px; }
.zero-offers { display: grid; gap: 14px; }
.zero-offer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; padding: 20px 22px; border-radius: 16px; background: var(--onyx); border: 1px solid var(--line); transition: border-color .25s ease; }
.zero-offer:hover { border-color: var(--violet); }
.zero-offer h3 { font-family: var(--font-display); font-size: 20px; margin: 0; }
.zero-offer .start { font-size: 13px; color: var(--ink-2); grid-column: 1; }
.zero-offer .start b { color: var(--violet-hi); }
.zero-offer .pm { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.zero-offer .pm .amount { font-family: var(--font-body); font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.zero-offer .pm small { display: block; font-size: 12px; color: var(--ink-2); margin-top: 4px; }
.zero-offer .btn { grid-column: 1 / -1; margin-top: 10px; justify-self: start; padding: 9px 16px; font-size: 14px; }
.zero .fine { font-size: 12px; color: var(--ink-2); margin: 4px 0 0; }

/* Options */
.options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.option { display: flex; gap: 16px; align-items: flex-start; padding: 20px; min-width: 0; transition: border-color .25s ease; }
.option:hover { border-color: color-mix(in srgb, var(--violet) 35%, var(--line)); }
.option .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet-hi); }
.option .ic svg { width: 20px; height: 20px; }
.option h3 { font-size: 16px; margin: 0; font-weight: 700; }
.option p { margin: 3px 0 0; font-size: 13px; color: var(--ink-2); }
.option .p { margin-left: auto; padding-left: 8px; font-family: var(--font-body); font-weight: 800; font-size: 17px; white-space: nowrap; color: var(--ink); text-align: right; }
.option .p small { display: block; font-family: var(--font-body); font-size: 11px; font-weight: 600; color: var(--ink-2); }
.option-txt { min-width: 0; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 100px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--onyx-2); border: 1px solid var(--line); border-radius: 16px; transition: border-color .25s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--violet) 45%, var(--line)); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-hi); }
.faq summary .pm { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s ease; }
.faq details[open] summary .pm { transform: rotate(180deg); border-color: var(--violet); background: color-mix(in srgb, var(--violet) 18%, transparent); }
.faq details[open] summary .pm::after { opacity: 0; }
.faq .answer { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer strong { color: var(--ink); font-weight: 600; }
.faq details[open] .answer { animation: faqIn .35s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Demande de devis ---------- */
.devis { padding: clamp(20px, 3.4vw, 44px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.devis fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.panel-title { display: block; padding: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; margin-bottom: 24px; outline: none; }
.panel-title span { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.panel + .panel { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }

/* Barre de progression (avec JavaScript seulement) */
.progress, .progress-bar, .nav-steps [data-next], .nav-steps [data-prev] { display: none; }
.js .progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; }
.js .progress li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); min-width: 0; }
.js .progress .dot { flex: none; width: 30px; height: 34px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--ink-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 34'%3E%3Cpolygon points='15,1 29,9 29,25 15,33 1,25 1,9' fill='none' stroke='%2326262E' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; transition: color .3s ease; }
.js .progress .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.js .progress li.done .dot, .js .progress li[aria-current] .dot { color: var(--onyx); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 34'%3E%3Cpolygon points='15,1 29,9 29,25 15,33 1,25 1,9' fill='%238B7CFF'/%3E%3C/svg%3E"); }
.js .progress li[aria-current] { color: var(--ink); }
.js .progress-bar { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: clamp(28px, 4vw, 40px); }
.js .progress-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--violet-hi)); transform-origin: left; transform: scaleX(var(--prog, .25)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }

/* Étapes : avec JavaScript, une seule visible à la fois */
.js .panel { display: none; }
.js .panel.active { display: block; animation: panelIn .45s cubic-bezier(.2,.8,.2,1) both; }
.js .panel + .panel { margin-top: 0; padding-top: 0; border-top: 0; }
@keyframes panelIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.js .panel.back.active { animation-name: panelBack; }
@keyframes panelBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

.devis-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.group + .group { margin-top: 28px; }
.group-label { font-weight: 700; font-size: 15px; margin: 0 0 12px; }
.opt { font-weight: 500; color: var(--ink-2); font-size: 13px; }
abbr[title] { text-decoration: none; color: var(--violet-hi); }
.hint { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; }
.hint.warn { color: var(--violet-hi); }

/* Cartes radio et cases */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice.wide { grid-column: 1 / -1; }
.choice, .check { position: relative; display: block; cursor: pointer; min-width: 0; }
.choice input, .check input[type=checkbox] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-body, .check-body { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px 14px 44px; border: 1px solid var(--line); border-radius: 14px; background: var(--onyx); transition: border-color .2s ease, background .2s ease; position: relative; }
.choice-body::before, .check-body::before { content: ""; position: absolute; left: 16px; top: 16px; width: 16px; height: 16px; border: 1.5px solid #4A4A55; border-radius: 50%; transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.check-body::before { border-radius: 5px; }
.choice-body b, .check-body b { font-size: 15px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.choice-body small, .check-body small { color: var(--ink-2); font-size: 13px; }
.pill { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--violet); color: var(--onyx); padding: 2px 7px; border-radius: 999px; }
.choice:hover .choice-body, .check:hover .check-body { border-color: #3A3A44; }
.choice input:checked + .choice-body, .check input:checked + .check-body { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 9%, var(--onyx)); }
.choice input:checked + .choice-body::before { border-color: var(--violet); background: var(--violet); box-shadow: inset 0 0 0 3px var(--onyx); }
.check input:checked + .check-body::before { border-color: var(--violet); background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230B0B0F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.choice input:focus-visible + .choice-body, .check input:focus-visible + .check-body { outline: 2px solid var(--violet-hi); outline-offset: 2px; }
.choice input:disabled + .choice-body, .check input:disabled + .check-body { cursor: not-allowed; opacity: .45; }
.check input:disabled:checked + .check-body { opacity: 1; }
.check.included .opt-price { color: var(--violet-hi); font-weight: 700; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check.has-qty { display: flex; flex-direction: column; }
.check.has-qty > label:first-child { display: block; cursor: pointer; flex: 1; }
.check.has-qty .check-body { padding-right: 104px; }
.qty { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.devis .qty input { width: 56px; padding: 6px 8px; font-size: 14px; text-align: center; }
.check.has-qty:not(.on) .qty { opacity: .4; }

/* Champs texte */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.devis input[type=text], .devis input[type=tel], .devis input[type=email], .devis input[type=number], .devis textarea, .devis select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--onyx); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.devis textarea { resize: vertical; min-height: 52px; line-height: 1.5; }
.devis select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A9A7B8' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.devis ::placeholder { color: #6B6B78; }
.devis input:hover, .devis textarea:hover, .devis select:hover { border-color: #3A3A44; }
.devis input:focus, .devis textarea:focus, .devis select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 25%, transparent); }
.devis [aria-invalid="true"] { border-color: #FF7A90 !important; }
.err { color: #FF8FA1; font-size: 13px; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.err::before { content: "! "; }
.form-error { color: #FF8FA1; font-weight: 600; margin: 20px 0 0; }
.form-error:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--violet); }
.consent a { color: var(--violet-hi); }

/* Fichiers */
.files-ui { display: none; }
.js .files-ui { display: block; }
.js .files-fallback { display: none; }
.files-fallback { display: grid; gap: 8px; }
.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed #3A3A44; border-radius: 14px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.drop:hover, .drop.over { border-color: var(--violet); background: color-mix(in srgb, var(--violet) 7%, transparent); }
.drop svg { flex: none; width: 26px; height: 26px; color: var(--violet-hi); }
.drop b { display: block; font-size: 15px; }
.drop small { color: var(--ink-2); font-size: 13px; }
#f-fichiers:focus-visible + .file-list, .files-ui:focus-within .drop { border-color: var(--violet); }
.file-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; min-width: 0; }
.file-list img, .file-list .ph { flex: none; width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--onyx-3); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--ink-2); }
.file-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .sz { color: var(--ink-2); font-size: 12px; white-space: nowrap; }
.file-list button { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; font-size: 16px; line-height: 1; }
.file-list button:hover { color: var(--ink); border-color: var(--violet); }

/* Boutons d'étape */
.nav-steps { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.js .nav-steps [data-next] { display: inline-flex; }
.js .nav-steps [data-prev] { display: inline-flex; }
.js .devis[data-step="1"] [data-prev] { visibility: hidden; }
.js .devis:not([data-step="4"]) [data-submit] { display: none; }
.js .devis[data-step="4"] [data-next] { display: none; }
.nav-steps [data-next], .nav-steps [data-submit] { margin-left: auto; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.required-note { font-size: 12px; color: var(--ink-2); margin: 16px 0 0; }

/* Estimation */
.estimate { position: sticky; top: 96px; padding: 22px; border-radius: 16px; background: var(--onyx); border: 1px solid color-mix(in srgb, var(--violet) 35%, var(--line)); }
.est-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin: 0 0 6px; }
.est-formule { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0 0 14px; line-height: 1.15; }
.est-lines { margin: 0; display: grid; gap: 10px; }
.est-lines div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.est-lines dt { color: var(--ink-2); font-size: 13px; }
.est-lines dd { margin: 0; font-weight: 800; font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.est-lines dd.bump { animation: bump .4s ease; }
@keyframes bump { 40% { transform: scale(1.06); color: var(--violet-hi); } }
.est-engagement { font-size: 13px; color: var(--ink-2); margin: 10px 0 0; }
.est-engagement:empty { display: none; }
.est-options { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; font-size: 13px; }
.est-options:empty { display: none; }
.est-options li { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.est-options li span:last-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.est-note { font-size: 12px; color: var(--ink-2); margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }

/* Confirmation */
.devis-done { text-align: center; padding: clamp(12px, 3vw, 32px) 0; outline: none; }
.devis-done:not([hidden]) { animation: panelIn .6s cubic-bezier(.2,.8,.2,1) both; }
.done-gem { width: 64px; height: 74px; margin: 0 auto 18px; display: block; }
.devis-done h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; margin: 0 0 10px; text-wrap: balance; }
.devis-done > p { color: var(--ink-2); margin: 0 auto 28px; max-width: 46ch; }
.done-recap { text-align: left; max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; padding: 22px; border-radius: 16px; background: var(--onyx); border: 1px solid var(--line); font-size: 14px; }
.done-recap dt { color: var(--ink-2); }
.done-recap dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 960px) {
  .devis-grid { grid-template-columns: 1fr; }
  .estimate { position: static; }
  .js .devis:not([data-step="1"]) .estimate { display: none; }
}
@media (max-width: 640px) {
  .js .progress .lbl { display: none; }
  .js .progress li { justify-content: center; }
  .js .progress li[aria-current] .lbl { display: block; }
  .js .progress { grid-template-columns: auto auto auto auto; justify-content: space-between; }
  .choices, .choices.two, .checks, .fields { grid-template-columns: 1fr; }
  .choices.three { grid-template-columns: 1fr; }
  .nav-steps .btn { flex: 1 1 auto; }
  .done-recap { grid-template-columns: 1fr; gap: 2px; }
  .done-recap dd { margin-bottom: 10px; }
}

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; padding-block: clamp(40px, 6vw, 64px) 28px; background: var(--onyx); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand { margin-bottom: 14px; color: var(--ink); }
.footer p { margin: 0; max-width: 34ch; }
.footer h2 { font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 6px 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--violet-hi); }
.footer .place { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--ink); font-weight: 600; }
.footer .place::before { content: ""; width: 9px; height: 10px; background: var(--violet); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Pages légales ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); overflow-wrap: break-word; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.legal .updated { color: var(--ink-2); font-size: 14px; margin: 0 0 40px; }
.legal h2 { font-family: var(--font-display); font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p strong, .legal li strong, .legal dt { color: var(--ink); font-weight: 600; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; padding: 22px; background: var(--onyx-2); border: 1px solid var(--line); border-radius: var(--radius); }
.legal dd { margin: 0; color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; }
.legal a { color: var(--violet-hi); }
.todo { color: var(--violet-hi); background: color-mix(in srgb, var(--violet) 14%, transparent); border-radius: 6px; padding: 1px 6px; font-weight: 600; font-style: normal; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-size: 14px; margin-bottom: 28px; }
.back:hover { color: var(--ink); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* ---------- Apparition au défilement ---------- */
/* Sans JS (pas de classe .js), tout reste visible. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works > :first-child { grid-column: 1 / -1; }
  .works > :first-child .work-shot { aspect-ratio: 16 / 8; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .zero { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
}
@media (max-width: 760px) {
  .works { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .plan .desc { min-height: 0; }
  .zero-offer { grid-template-columns: 1fr; }
  .zero-offer .pm { grid-column: 1; grid-row: auto; text-align: left; margin-top: 8px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gem .f, .gem .core { animation: none; }
  .gem .shine, .scroll-hint i { animation: none; }
  .hero { height: auto; }
  .stage { position: relative; }
  .chip { opacity: 1; animation: none; }
  .chip-inner, .orbits .spin1, .orbits .spin2 { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .panel.active, .devis-done:not([hidden]), .est-lines dd.bump { animation: none; }
  .js .progress-bar i { transition: none; }
  .faq details[open] .answer { animation: none; }
  .btn, .work, .plan, .work-shot > img, .work-phone { transition: none; }
  .btn:hover, .work:hover, .plan:hover { transform: none; }
  .work:hover .work-shot > img, .work:hover .work-video, .work:hover .work-phone { transform: none; }
  .work-video { display: none; }
}
