/* Polices hébergées sur le site (aucun appel à Google) — licence SIL Open Font License */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  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: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap;
  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; }

/* Mais t’pas net — feuille de style
   Mise en page : thème sombre, bandes nuit et graphite en alternance, conteneur de 1200 px, angles vifs
   (2 px pour les boutons). Une seule touche d’or par écran : le bouton qui fait agir.
   Polices : Archivo (titres et texte, largeur étroite pour les prix), IBM Plex Mono (étiquettes). */
:root {
  --or: #D4AF55;
  --or-hover: #E2C377;
  --nuit: #121110;
  --nuit-2: #181715;
  --carte: #1F1E1B;
  --filet-nuit: #2F2D29;
  --champ: #807B70;
  --erreur: #FFB4A8;
  /* Lueur dorée : halo autour des boutons, lueur sur le cadre du logo */
  --halo: 212, 175, 85;
  --halo-2: 190, 150, 60;
  --neon: 0 0 0 1px rgba(var(--halo), .55), 0 0 14px rgba(var(--halo), .5), 0 0 34px rgba(var(--halo-2), .32);
  --neon-fort: 0 0 0 1px rgba(var(--halo), .85), 0 0 20px rgba(var(--halo), .75), 0 0 52px rgba(var(--halo-2), .5);
  --neon-f: drop-shadow(0 0 .05em var(--or)) drop-shadow(0 0 .22em rgba(var(--halo-2), .8));
  --graphite: #2B2926;
  --graphite-hover: #232220;
  --prof: #0C0B0A;
  --sable: #C9C5BC;
  --clair: #F4EFE6;
  --blanc: #FFFFFF;
  --pierre: #E7E5E1;
  --taupe: #625B54;
  --lin: #DAD5CA;
  --filet-sombre: #5C5850;
  --filet-clair: #DCD9D5;
  --g-or: linear-gradient(180deg, #F7E7B8 0%, #E3C77C 34%, #C9A24A 50%, #9A7A2E 56%, #D4B765 76%, #F2E2AE 100%);
  --sh-dark: drop-shadow(0 .035em 0 rgba(10, 9, 7, .4)) drop-shadow(0 .1em .16em rgba(10, 9, 7, .5));
  --ease: cubic-bezier(.2, .8, .2, 1);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
  --nav-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--nuit); color: var(--clair); font-family: var(--font-body); font-size: 19px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; box-shadow: var(--neon); }
.nav :focus-visible, .hero :focus-visible, .dark :focus-visible, .calc :focus-visible, .contact-info :focus-visible, .page-head :focus-visible, footer :focus-visible { outline-color: var(--or); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--or); color: var(--prof); padding: 12px 16px; font-family: var(--font-mono); font-size: 14px; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- Logo : la mise au point ---------- */
.logo { display: inline-flex; align-items: center; gap: .28em; font-family: var(--font-display); font-stretch: 100%; font-weight: 760; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; white-space: nowrap; text-decoration: none; }
.logo .l-blur, .logo .l-net { display: inline-block; background-image: var(--g-or); -webkit-background-clip: text; background-clip: text; color: transparent; filter: var(--sh-dark); }
.logo .l-blur { filter: blur(.04em) var(--sh-dark); opacity: .62; }
.logo .l-af { position: relative; display: inline-block; padding: .14em .2em; }
.logo .l-af i { position: absolute; width: .26em; height: .26em; border: 0 solid var(--or); filter: var(--neon-f); }
.logo .l-af i:nth-child(1) { top: 0; left: 0; border-top-width: .045em; border-left-width: .045em; --dx: -.2em; --dy: -.2em; }
.logo .l-af i:nth-child(2) { top: 0; right: 0; border-top-width: .045em; border-right-width: .045em; --dx: .2em; --dy: -.2em; }
.logo .l-af i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: .045em; border-left-width: .045em; --dx: -.2em; --dy: .2em; }
.logo .l-af i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: .045em; border-right-width: .045em; --dx: .2em; --dy: .2em; }
@keyframes frameIn { from { transform: translate(var(--dx), var(--dy)); opacity: .35; } to { transform: none; opacity: 1; } }
@keyframes neonOn { 0% { opacity: .15; } 6% { opacity: 1; } 10% { opacity: .25; } 18% { opacity: 1; } 22% { opacity: .5; } 30%, 100% { opacity: 1; } }
@keyframes netFocus { from { filter: blur(.16em) var(--sh-dark); opacity: .45; } to { filter: blur(0) var(--sh-dark); opacity: 1; } }
/* La mise au point joue une fois, au chargement, dans l'en-tête */
.nav .logo .l-af i { animation: frameIn .8s var(--ease) both, neonOn 1.2s linear .2s both; }
.nav .logo .l-net { animation: netFocus 1s var(--ease) .15s both; }

/* ---------- Typographie ---------- */
.label { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; font-size: 13px; line-height: 1.4; }
.title { font-family: var(--font-display); font-weight: 620; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 620; font-size: 23px; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; max-width: 34em; }
.grey { color: var(--lin); }
.dark .grey { color: var(--lin); }

/* ---------- Structure ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section); scroll-margin-top: var(--nav-h); }
.white { background: var(--nuit); color: var(--clair); }
.marble { background: var(--nuit-2); color: var(--clair); }
.dark { background: var(--graphite); color: var(--clair); }
.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: 0; line-height: 1; padding: 19px 26px; text-decoration: none; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }
.btn-action { background: var(--or); color: var(--prof); box-shadow: var(--neon); transition: background-color .2s, box-shadow .25s; }
.btn-action:hover { background: var(--or-hover); box-shadow: var(--neon-fort); }
.btn-outline { background: transparent; border-color: var(--sable); color: inherit; }
.nav .btn-outline, .hero .btn-outline, .dark .btn-outline { border-color: var(--sable); }
.btn-outline:hover { border-color: currentColor; }
.btn-dark { background: var(--graphite); color: var(--clair); }
.btn-dark:hover { background: var(--prof); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------- En-tête ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--prof); color: var(--clair); padding-top: env(safe-area-inset-top, 0px); }
.nav-in { height: var(--nav-h); display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.nav-logo { font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a.l { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--lin); }
.nav-links a.l:hover { color: var(--clair); }
.nav-links .btn { padding: 11px 16px; font-size: 15px; }
@media (max-width: 760px) { .nav-links a.l { display: none; } .nav-logo { font-size: 17px; } }
main { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); }

/* ---------- Héros ---------- */
.hero { background: var(--graphite); color: var(--clair); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.hero h1 { color: var(--lin); }
.hero-title { margin-top: 20px; font-family: var(--font-display); font-weight: 620; font-size: clamp(46px, 6.6vw, 92px); line-height: .98; letter-spacing: -.035em; }
.hero-title b { display: inline-block; font-weight: 700; white-space: nowrap; background-image: var(--g-or); -webkit-background-clip: text; background-clip: text; color: transparent; filter: var(--sh-dark); }
.hero-title .nw { display: block; margin-top: .12em; white-space: nowrap; }
.hero-sub { margin-top: 28px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.55; color: var(--lin); max-width: 30em; }
.hero .btn-row { margin-top: 36px; }
.hero-proof { margin-top: 24px; font-size: 17px; color: var(--lin); }
.hero-proof a { color: var(--clair); text-underline-offset: 3px; }
.hero-foot { border-top: 1px solid var(--filet-sombre); padding-block: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 40px; }
.facts li { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 500; color: var(--lin); display: flex; align-items: center; gap: 10px; }
.facts li::before { content: ""; width: 8px; height: 8px; background: var(--sable); }
@media (max-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }

/* Maquette de démonstration : captures d'une réalisation (Seb & Dés) */
.stage { position: relative; min-height: 480px; }
.screen { position: absolute; background: var(--blanc); color: #202020; border: 1px solid var(--filet-sombre); overflow: hidden; }
.screen .bar { height: 30px; background: #e9e9e9; display: flex; align-items: center; gap: 6px; padding-inline: 12px; border-bottom: 1px solid #d6d6d6; }
.screen .bar i { width: 8px; height: 8px; background: #bdbdbd; display: block; }
.screen .bar span { margin-left: 10px; font-size: 11px; color: #494949; background: var(--blanc); padding: 2px 8px; }
.phone { position: absolute; background: var(--prof); border: 1px solid var(--filet-sombre); padding: 10px; }
.phone .scr { background: var(--blanc); color: #202020; height: 100%; overflow: hidden; }
.mk-t { font-family: var(--font-display); font-stretch: 75%; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.mk-img { background: #2b2b2b; position: relative; overflow: hidden; }
.mk-img .disc { position: absolute; border-radius: 50%; }
.demo-tag { position: absolute; left: 0; bottom: 0; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 500; color: var(--lin); }
@media (max-width: 560px) { .stage { min-height: 500px; } }

/* ---------- Prix ---------- */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
.big-price { display: grid; gap: 28px; }
.bp-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; border-top: 1px solid var(--filet-nuit); padding-top: 24px; }
.bp-amount { font-family: var(--font-display); font-stretch: 62%; font-weight: 700; letter-spacing: -.01em; font-size: clamp(72px, 9vw, 120px); line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; background-image: var(--g-or); -webkit-background-clip: text; background-clip: text; color: transparent; filter: var(--sh-dark); }
.bp-amount small { font-size: .4em; margin-left: 4px; }
.bp-text b { display: block; font-family: var(--font-display); font-weight: 620; font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
.bp-text span { color: var(--lin); font-size: 18px; }
.notes { display: grid; gap: 10px; font-size: 17px; color: var(--lin); border-top: 1px solid var(--filet-nuit); padding-top: 24px; }
.notes li { padding-left: 20px; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--lin); }
.notes strong { color: var(--clair); font-weight: 600; }

.calc { background: var(--graphite); color: var(--clair); padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; }
.calc .label { color: var(--lin); }
.stepper { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; border: 1px solid var(--sable); }
.stepper button { background: none; border: 0; color: var(--clair); font-size: 30px; line-height: 1; cursor: pointer; height: 72px; }
.stepper button:hover { background: var(--graphite-hover); }
.stepper button:disabled { color: var(--filet-sombre); cursor: not-allowed; background: none; }
.stepper output { display: grid; place-items: center; font-family: var(--font-display); font-weight: 620; font-size: 24px; border-inline: 1px solid var(--sable); }
.examples { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--sable); border: 1px solid var(--sable); }
.examples button { background: var(--graphite); border: 0; color: var(--clair); padding: 12px 6px; cursor: pointer; display: grid; gap: 2px; text-align: center; }
.examples button:hover, .examples button[aria-pressed="true"] { background: var(--graphite-hover); }
.examples span { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; color: var(--lin); }
.examples b { font-family: var(--font-display); font-stretch: 62%; font-weight: 700; font-size: 24px; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--filet-sombre); padding-top: 20px; }
.calc-total b { font-family: var(--font-display); font-stretch: 62%; font-weight: 700; letter-spacing: -.01em; font-size: clamp(64px, 7vw, 96px); line-height: .9; font-variant-numeric: tabular-nums; }
.calc-detail { color: var(--lin); font-size: 17px; }
.calc .btn { width: 100%; }
.calc-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.calc-q { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--clair); padding: 0; }
.calc-hint { font-size: 15px; color: var(--lin); line-height: 1.45; }
.pg-field { display: flex; align-items: center; justify-content: center; gap: 10px; border-inline: 1px solid var(--sable); }
.pg-field input { width: 3.2ch; background: none; border: 0; color: var(--clair); text-align: right; font-family: var(--font-display); font-weight: 620; font-size: 32px; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.pg-field input::-webkit-outer-spin-button, .pg-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pg-field input:focus { outline: none; }
.pg-field:focus-within { outline: 2px solid var(--or); outline-offset: -2px; }
.pg-field span { font-family: var(--font-display); font-size: 19px; color: var(--lin); }
.toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--sable); }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle label { display: grid; gap: 2px; padding: 14px 16px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--lin); }
.toggle label + input + label { border-left: 1px solid var(--sable); }
.toggle label small { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--lin); }
.toggle input:checked + label { background: var(--nuit); color: var(--clair); box-shadow: inset 0 0 0 2px var(--sable); }
.toggle input:checked + label small { color: var(--lin); }
.toggle input:focus-visible + label { outline: 2px solid var(--or); outline-offset: -2px; }
.calc-lines { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; font-size: 17px; border-top: 1px solid var(--filet-sombre); padding-top: 18px; }
.calc-lines dt { color: var(--lin); }
.calc-lines dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--clair); }

/* ---------- Inclus ---------- */
.incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.incl li { border-top: 1px solid var(--filet-nuit); padding: 24px 0 36px; display: grid; gap: 10px; align-content: start; }
.incl p { color: var(--lin); font-size: 18px; }
@media (max-width: 900px) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .incl { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; counter-reset: st; }
.steps li { counter-increment: st; border-top: 1px solid var(--filet-sombre); padding: 24px 0 8px; display: grid; gap: 12px; align-content: start; }
.steps li::before { content: counter(st); font-family: var(--font-display); font-stretch: 62%; font-weight: 700; font-size: 72px; line-height: 1; color: var(--sable); }
.steps p { color: var(--lin); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { padding-bottom: 32px; } }

/* ---------- Questions ---------- */
.faq { border-top: 1px solid var(--filet-nuit); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--filet-nuit); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 18px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 18px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 26px; max-width: 42em; color: var(--lin); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact-info { background: var(--graphite); color: var(--clair); padding: clamp(28px, 4vw, 48px); display: grid; gap: 24px; align-content: start; }
.contact-info dl { display: grid; gap: 18px; margin: 0; }
.contact-info dt { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 500; color: var(--lin); }
.contact-info dd { margin: 4px 0 0; font-size: 19px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.copy { background: none; border: 1px solid var(--sable); color: var(--clair); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; padding: 6px 10px; border-radius: 2px; cursor: pointer; }
.copy:hover { border-color: var(--clair); }
form.f { background: var(--carte); border: 1px solid var(--filet-nuit); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
@media (max-width: 640px) { form.f { grid-template-columns: minmax(0, 1fr); } }
.fld { display: grid; gap: 8px; min-width: 0; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.fld label span { color: var(--lin); font-weight: 400; }
.fld input, .fld select, .fld textarea { width: 100%; border: 1px solid var(--champ); background: var(--nuit); color: var(--clair); padding: 15px; font-size: 18px; line-height: 1.4; border-radius: 2px; }
.fld textarea { min-height: 120px; resize: vertical; }
.fld input::placeholder, .fld textarea::placeholder { color: #A8A296; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--or); outline-offset: 0; border-color: var(--or); box-shadow: var(--neon); }
.fld [aria-invalid="true"] { outline: 2px solid var(--erreur); }
.err { font-size: 15px; font-weight: 600; color: var(--erreur); }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 16px; line-height: 1.5; color: var(--lin); }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--or); }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: inherit; color: inherit; }
.status { grid-column: 1 / -1; padding: 16px 18px; background: var(--nuit-2); border-left: 3px solid var(--or); font-size: 17px; }
.form-foot { grid-column: 1 / -1; }
.form-foot .btn { width: 100%; }

/* ---------- Accueil : encart vers la page de devis ---------- */
.cta-box { background: var(--carte); border: 1px solid var(--filet-nuit); padding: clamp(28px, 4vw, 48px); display: grid; gap: 22px; align-content: start; }
.mini-steps { list-style: none; counter-reset: ms; display: grid; gap: 12px; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 18px; color: var(--lin); }
.mini-steps li::before { content: counter(ms); font-family: var(--font-display); font-stretch: 62%; font-weight: 700; font-size: 28px; line-height: 1; color: var(--sable); }
.cta-box .btn { justify-self: start; }

/* ---------- Page de devis ---------- */
.page-head { background: var(--graphite); color: var(--clair); padding-block: clamp(48px, 7vw, 88px) 0; }
.page-head .wrap { display: grid; gap: 18px; }
.page-head h1 { color: var(--clair); max-width: 16ch; }
.page-head .grey { color: var(--lin); }
.page-head .lead { color: var(--lin); }
.page-head .facts { border-top: 1px solid var(--filet-sombre); margin-top: 18px; padding-block: 22px; }
.devis-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.devis-grid > .calc { position: sticky; top: calc(var(--nav-h) + 24px); }
@media (max-width: 960px) { .devis-grid { grid-template-columns: minmax(0, 1fr); } .devis-grid > .calc { position: static; } }
.devis-side form.f { border-color: var(--filet-nuit); }
.devis-side .form-foot .btn { width: 100%; }
.small-hint { font-size: 15px; color: var(--lin); margin-top: -8px; }
.recap { background: var(--nuit-2); border-left: 3px solid var(--or); padding: 14px 16px; font-size: 17px; color: var(--clair); }
.fallback { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.fallback .btn { padding: 14px 18px; font-size: 16px; }
.status .small-hint { margin-top: 10px; }
.success { border: 1px solid var(--filet-nuit); border-top: 3px solid var(--or); padding: clamp(28px, 4vw, 48px); display: grid; gap: 18px; justify-items: start; background: var(--carte); }
.success:focus { outline: none; }

/* ---------- Pied de page ---------- */
footer { background: var(--prof); color: var(--clair); padding-block: 56px 32px; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-logo { font-size: clamp(24px, 3vw, 32px); }
.foot p { color: var(--lin); font-size: 17px; }
.foot-bottom { border-top: 1px solid var(--filet-nuit); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--lin); }
.foot-bottom button { background: none; border: 0; padding: 0; color: var(--lin); cursor: pointer; font-size: 15px; }
.foot-bottom button:hover { color: var(--clair); text-decoration: underline; }

/* ---------- Fenêtres ---------- */
dialog { border: 0; padding: 0; max-width: min(720px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 64px); background: var(--nuit-2); color: var(--clair); border: 1px solid var(--filet-nuit); }
dialog::backdrop { background: rgba(0, 0, 0, .75); }
.dlg { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; }
.dlg h2 { font-family: var(--font-display); font-weight: 620; letter-spacing: -.02em; font-size: 34px; line-height: 1.05; }
.dlg h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-top: 10px; }
.dlg p { font-size: 17px; }
.dlg .btn { justify-self: end; }
.todo { background: var(--carte); padding: 0 4px; }

/* ---------- Immersion : la mise au point au toucher (téléphone) ---------- */
/* Toucher l'écran fait apparaître un cadre de mise au point, comme l'appareil photo du téléphone */
.tap-focus { position: fixed; z-index: 200; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; animation: tapFocus .8s var(--ease) forwards; }
.tap-focus i { position: absolute; width: 15px; height: 15px; border: 0 solid var(--or); filter: var(--neon-f); }
.tap-focus i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.tap-focus i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.tap-focus i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.tap-focus i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.tap-focus b { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--or); box-shadow: 0 0 8px var(--or); }
@keyframes tapFocus { 0% { transform: scale(1.6); opacity: 0; } 15% { opacity: 1; } 45% { transform: scale(1); } 58% { transform: scale(1.07); } 72% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.btn-action { transition: background-color .2s, box-shadow .25s, transform .18s var(--ease); }
/* Au chargement, le titre fait sa mise au point en même temps que le logo */
@keyframes heroFocus { from { filter: blur(10px); opacity: .45; } to { filter: blur(0); opacity: 1; } }
.hero-title { animation: heroFocus 1.1s var(--ease) .1s both; }
.hero-sub { animation: heroFocus .9s var(--ease) .35s both; }

/* ---------- Immersion : la scène de mise au point (les 3 étapes) ---------- */
.focus { background: var(--graphite); color: var(--clair); scroll-margin-top: var(--nav-h); overflow-x: clip; }
.focus-pin { padding-block: var(--section); }
.focus-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.focus .head { margin-bottom: 28px; }
.focus-steps { counter-reset: st; }
.focus-steps li { counter-increment: st; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--filet-sombre); transition: opacity .4s var(--ease); }
.focus-steps li::before { content: counter(st); grid-row: span 2; font-family: var(--font-display); font-stretch: 62%; font-weight: 700; font-size: 54px; line-height: .9; color: var(--sable); }
.focus-steps p { color: var(--lin); }
.focus-meter { display: none; }
.focus-view { position: relative; display: grid; place-items: center; padding: 40px 0; }
.focus-vf { position: absolute; inset: calc(-1 * var(--open, 12px)); pointer-events: none; }
.focus-vf i { position: absolute; width: 34px; height: 34px; border: 0 solid var(--or); filter: var(--neon-f); transition: filter .4s; }
.focus-vf i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.focus-vf i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.focus-vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.focus-vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.focus-frame { position: relative; }
/* Le site d'exemple, sur un téléphone */
.focus-shot { position: relative; height: min(520px, calc(100svh - var(--nav-h) - 170px)); min-height: 360px; aspect-ratio: 9 / 18; background: var(--prof); border: 1px solid var(--filet-sombre); border-radius: 30px; padding: 10px; container-type: inline-size; filter: blur(var(--blur, 0px)); }
.fs-scr { height: 100%; background: var(--blanc); color: #202020; border-radius: 21px; overflow: hidden; display: flex; flex-direction: column; }
.fs-top { display: flex; justify-content: space-between; align-items: center; padding: 7cqi 7cqi 4cqi; }
.fs-top b { font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 8cqi; text-transform: uppercase; line-height: 1; }
.fs-top i { width: 8cqi; height: 5cqi; background: linear-gradient(#202020, #202020) top / 100% 2px no-repeat, linear-gradient(#202020, #202020) center / 100% 2px no-repeat, linear-gradient(#202020, #202020) bottom / 100% 2px no-repeat; }
.fs-img { margin: 0 5cqi; height: 44cqi; background: radial-gradient(circle at 50% 52%, #f3ead8 0 17%, #c9a46b 18% 30%, #8a5a2b 31% 46%, #2b2b2b 47%); border-radius: 3px; }
.fs-h { font-family: var(--font-display); font-stretch: 75%; font-weight: 700; text-transform: uppercase; font-size: 10cqi; line-height: .95; padding: 6cqi 7cqi 2cqi; }
.fs-o { padding: 0 7cqi; font-size: 4.6cqi; font-weight: 600; }
.fs-o span { color: #2f7a46; }
.fs-b { margin: 3cqi 6cqi 0; text-align: center; padding: 4cqi; font-family: var(--font-display); font-stretch: 75%; font-weight: 700; font-size: 5.4cqi; text-transform: uppercase; border: 1px solid #969696; }
.fs-b.dark { margin-top: auto; background: #202020; color: #fff; border-color: #202020; }
.fs-b:last-child { margin-bottom: 6cqi; }
.focus-tag { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--lin); white-space: nowrap; }
/* Étiquettes de l'écran de visée */
.focus-hud { position: absolute; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; font-size: 11px; font-weight: 500; color: var(--clair); white-space: nowrap; }
.focus-hud::before { content: ""; width: 26px; height: 1px; background: var(--sable); order: var(--o, 0); }
.focus-hud.l { right: calc(100% + 18px); }
.focus-hud.r { left: calc(100% + 18px); --o: -1; }
.focus-hud.l::before { order: 1; }
/* Avec le script : la scène se fige et le scroll fait la mise au point */
.focus.live .focus-track { height: 320vh; }
.focus.live .focus-pin { position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); height: calc(100svh - var(--nav-h) - env(safe-area-inset-top, 0px)); display: grid; align-items: center; padding-block: 24px; overflow: hidden; }
.focus.live .focus-steps li { opacity: .32; }
.focus.live .focus-steps li.on { opacity: 1; }
.focus.live .focus-hud { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.focus.live .focus-hud.on { opacity: 1; transform: none; }
.focus.live .focus-meter { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 24px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--lin); }
.fm-track { position: relative; height: 1px; background: var(--filet-sombre); }
.fm-track::before { content: ""; position: absolute; inset: -5px 0; background: repeating-linear-gradient(90deg, var(--filet-sombre) 0 1px, transparent 1px 10%); }
.fm-index { position: absolute; top: -9px; width: 2px; height: 19px; margin-left: -1px; background: var(--or); box-shadow: 0 0 10px var(--or); }
.focus.sharp .fm-net { color: var(--or); text-shadow: 0 0 12px rgba(var(--halo), .8); }
.focus.sharp .focus-vf i { filter: drop-shadow(0 0 .12em var(--or)) drop-shadow(0 0 .5em rgba(var(--halo-2), .9)); }
@media (max-width: 1199px) { .focus-hud { display: none; } }
@media (max-width: 900px) {
  .focus-in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .focus .head { margin-bottom: 12px; gap: 8px; }
  .focus .title { font-size: clamp(30px, 8vw, 40px); }
  .focus-steps li { grid-template-columns: 36px minmax(0, 1fr); padding: 12px 0; }
  .focus-steps li::before { font-size: 38px; }
  .focus.live .focus-steps li:not(.on) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .focus.live .focus-meter { margin-top: 10px; }
  .focus-view { padding: 22px 0 30px; }
  .focus-shot { height: min(330px, 42svh); min-height: 0; }
  .focus.live .focus-track { height: 300vh; }
}
@media (prefers-reduced-motion: reduce) { .focus-shot { filter: none; } }

/* ---------- Logo de l'en-tête : le cadre s'ouvre sur tout le nom ---------- */
/* Les coins de gauche glissent jusqu'au début de « Mais t’pas », qui devient net, puis tout se referme */
.nav .logo .l-af i:nth-child(1), .nav .logo .l-af i:nth-child(3) { left: calc(-1 * var(--reach, 0px)); transition: left .55s var(--ease); }
.nav .logo .l-blur { transition: filter .45s var(--ease), opacity .45s var(--ease); }
.nav .logo.open .l-blur { filter: blur(0) var(--sh-dark); opacity: 1; transition-delay: .18s; }

/* ---------- Réalisation montrée : captures du site Seb & Dés ---------- */
.shot-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen .shot-img { height: calc(100% - 30px); }
.phone .scr, .fs-scr { background: #0a0d0a; }

/* ---------- Pages ajoutées : doutes, réalisations, textes légaux ---------- */
.doubts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.doubts li { border-top: 1px solid var(--filet-nuit); padding: 24px 0 8px; display: grid; gap: 14px; align-content: start; }
.doubt-q { font-family: var(--font-display); font-weight: 620; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.15; letter-spacing: -.015em; color: var(--clair); }
.doubts li > p:not(.doubt-q) { color: var(--lin); font-size: 18px; }
.doubt-proof { justify-self: start; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--clair); padding: 7px 10px; border: 1px solid var(--sable); border-radius: 2px; text-decoration: none; }
a.doubt-proof:hover { border-color: var(--clair); }
@media (max-width: 900px) { .doubts { grid-template-columns: minmax(0, 1fr); } }
.page-head.solo { padding-bottom: clamp(40px, 6vw, 72px); }
.page-head .btn-row { margin-top: 12px; }
.case { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.case .stage { position: sticky; top: calc(var(--nav-h) + 32px); }
.case-list li { padding: 16px 0; border-top: 1px solid var(--filet-nuit); color: var(--lin); font-size: 18px; }
.case-list b { display: block; color: var(--clair); font-weight: 600; font-family: var(--font-display); font-size: 20px; margin-bottom: 4px; }
.case-link { margin-top: 24px; font-size: 18px; }
.case-link a, .prose a { color: var(--clair); text-decoration-color: var(--or); text-underline-offset: 4px; }
@media (max-width: 960px) { .case { grid-template-columns: minmax(0, 1fr); } .case .stage { position: relative; top: 0; } }
.next { display: grid; gap: 8px; justify-items: start; }
.prose { max-width: var(--max); }
.prose > * { max-width: 760px; }
.prose h2 { font-family: var(--font-display); font-weight: 620; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1.15; margin: 48px 0 14px; color: var(--clair); }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li, .prose dd { color: var(--lin); font-size: 18px; line-height: 1.65; }
.prose p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 8px; margin: 12px 0; }
.prose li { padding-left: 20px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--sable); }
.prose strong { color: var(--clair); font-weight: 600; }
.prose dl { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 10px 24px; margin: 12px 0; }
.prose dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--lin); padding-top: 5px; }
.prose dd { margin: 0; color: var(--clair); }
@media (max-width: 640px) { .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .prose dd { margin-bottom: 10px; } }
.todo { background: rgba(var(--halo), .12); outline: 1px dashed var(--or); outline-offset: 1px; color: var(--clair); padding: 0 4px; }
.foot-nav { display: grid; gap: 8px; }
.foot-nav a, .foot-legal a { color: var(--lin); text-decoration: none; font-size: 16px; }
.foot-nav a:hover, .foot-legal a:hover { color: var(--clair); text-decoration: underline; }
.foot-legal { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.nav-links a.l[aria-current="page"] { color: var(--clair); text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 6px; }

/* Réalisations : une section par site (titre, texte d'intro, liste) ; « rev » met les captures à droite */
.case-title { margin-top: 10px; }
.case-lead { margin-top: 14px; }
.case-sub { margin-top: 32px; }
.case-sub + .case-list { margin-top: 16px; }
.page-head .facts a { text-decoration: none; border-bottom: 1px solid var(--or); padding-bottom: 2px; }
.page-head .facts a:hover { color: var(--clair); }
@media (min-width: 961px) { .case.rev > .stage { order: 2; } }
