/* ============================================================
   RECRAFT DEVELOPMENT · base studiodupuy.fr, autre palette
   Noir chaud · accent vert matrix (variante rouge) sur les mots-clés
   Bricolage Grotesque (titres et mots-clés en dégradé)
   Geist (texte) · Geist Mono (libellés)
   ============================================================ */

/* Polices auto-hébergées (sous-ensembles latin et latin-ext, variables) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; src: url("../fonts/bricolage-grotesque-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 300 800; font-stretch: 75% 100%; font-display: swap; src: url("../fonts/bricolage-grotesque-normal-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: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/geist-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/geist-normal-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: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/geist-mono-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/geist-mono-normal-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; }

:root {
  --fond:      #0b0b0d;
  --panneau:   #131316;
  --carte:     #1a1a1f;
  --blanc:     #f5f3ee;
  --blanc-70:  rgba(245, 243, 238, .82);
  --blanc-45:  rgba(245, 243, 238, .55);
  --ligne:     rgba(245, 243, 238, .14);
  --acc-a:     #b6ff3b;
  --acc-b:     #3dff7c;
  --acc-c:     #00e38c;
  --acc:       #3dff7c;
  --acc-rgb:   61, 255, 124;
  --acc-clair: #0f8a4a;
  --grad: linear-gradient(100deg, var(--acc-a) 5%, var(--acc-b) 52%, var(--acc-c) 95%);
  --clair:     #f5f3ee;
  --clair-txt: #16151a;

  --sans:   "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --titres: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --mono:   "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 4.5vw, 64px);
  --sect: clamp(90px, 13vh, 160px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}
/* variante rouge : ?theme=rouge */
html[data-theme="rouge"] {
  --acc-a: #e8102f; --acc-b: #ff2d3c; --acc-c: #ff6b5b;
  --acc: #ff2d3c; --acc-rgb: 255, 45, 60; --acc-clair: #c8102e;
}
.stop-a { stop-color: var(--acc-a); } .stop-b { stop-color: var(--acc-b); } .stop-c { stop-color: var(--acc-c); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; overflow-x: clip; scrollbar-color: var(--acc) #1a1a1f; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--blanc);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  caret-color: var(--acc);
  accent-color: var(--acc);
}
h1, h2, h3, p, figure, ul, li, dl, dt, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--acc); color: var(--fond); }
:focus-visible { outline: 2px solid var(--acc-a); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #131316; }
::-webkit-scrollbar-thumb { background: var(--acc); border: 3px solid #131316; border-radius: 8px; }

.container { padding-inline: var(--pad); max-width: 1480px; margin-inline: auto; }
.mono {
  font-family: var(--mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}
.section-sub {
  margin-top: clamp(14px, 2.2vh, 22px);
  max-width: 62ch; color: var(--blanc-70);
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
}
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* titres : Bricolage large + mot-clé en dégradé (pas d'italique) */
.titre, .hero__title, .contact__titre {
  font-family: var(--titres);
  font-optical-sizing: auto;
  font-weight: 800; letter-spacing: -.03em; line-height: 1;
  text-wrap: balance;
}
.titre { font-size: clamp(2rem, 4.6vw, 3.9rem); }
.section-sub, .hero__sub, .volet__desc, .volet__plus, .contact__mail, .faq__corps p, .contact__sous, .mail p { text-wrap: pretty; }
.kw {
  font-family: inherit; font-style: normal; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-right: .04em;
}

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 400;
  padding: .6em 1em; background: var(--blanc); color: var(--fond);
  font-size: .8rem; border-radius: 6px;
  transform: translateY(-200%); transition: transform .2s;
}
.skip:focus-visible { transform: none; }

.js:not(.no-anim) [data-reveal] { opacity: 0; transform: translateY(30px); }
.js:not(.no-anim) .morph__caps span[data-cap-b] { opacity: 0; visibility: hidden; }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- pills ---------- */
.pill {
  display: inline-block;
  background: var(--grad); color: var(--fond);
  font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s, filter .3s;
  will-change: transform;
}
.pill:hover { filter: brightness(1.06); box-shadow: 0 12px 36px rgba(var(--acc-rgb), .35); }
.pill--ghost {
  background: none; color: var(--blanc);
  border: 1px solid rgba(245, 243, 238, .3); font-weight: 500;
}
.pill--ghost:hover { background: rgba(245, 243, 238, .07); box-shadow: none; filter: none; border-color: rgba(245, 243, 238, .6); }
.pill--nav { padding: 10px 18px; font-size: .8rem; }
.pill--big { padding: 18px 34px; font-size: 1rem; }
.pill.est-en-cours { opacity: .7; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  transition: transform .45s var(--ease), background .35s, backdrop-filter .35s;
}
.nav.is-solide { background: rgba(11, 11, 13, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand {
  font-family: var(--titres);
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em;
  white-space: nowrap;
}
.nav__brand b { font-weight: 400; margin-left: .3em; }
.nav__links { display: flex; gap: clamp(16px, 2.6vw, 34px); align-items: center; }
.nav__links a.mono { position: relative; padding-block: 4px; color: var(--blanc-70); transition: color .25s; }
.nav__links a.mono:hover { color: var(--blanc); }

/* ---------- hero : mosaïque inclinée plein écran ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 640px;
  display: grid; align-items: center;
  overflow: clip; clip-path: inset(0);
  perspective: 1100px;
}
.hero__fond {
  position: absolute; inset: -30% -14% -20%;
  display: flex;
  gap: clamp(12px, 1.4vw, 22px);
  align-items: flex-start;
  transform: rotateX(24deg) rotateZ(-7deg) scale(1.08);
  transform-origin: 50% 40%;
  will-change: transform;
}
.hero__col { flex: 1; position: relative; overflow: visible; }
.hero__piste { display: grid; gap: clamp(12px, 1.4vw, 22px); will-change: transform; }
.js:not(.no-anim) .hero__piste { animation: mur-monte var(--vitesse, 60s) linear infinite; }
.hero__col:nth-child(even) .hero__piste { animation-direction: reverse; }
@keyframes mur-monte { from { transform: translateY(0); } to { transform: translateY(calc(-100% / var(--copies, 2))); } }
.hero__col:nth-child(2) { margin-top: -22%; }
.hero__col:nth-child(3) { margin-top: -8%; }
.hero__col:nth-child(4) { margin-top: -30%; }
.hero__voile {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(64% 56% at 50% 46%, rgba(11, 11, 13, .92), rgba(11, 11, 13, .6) 62%, rgba(11, 11, 13, .22)),
    linear-gradient(180deg, rgba(11, 11, 13, .85), transparent 30%, transparent 66%, var(--fond) 99%),
    linear-gradient(90deg, rgba(11, 11, 13, .6), transparent 22%, transparent 78%, rgba(11, 11, 13, .6));
}
.hero__inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; }
.hero__title { font-size: clamp(2.6rem, 7vw, 6.4rem); }
.hero__title .ligne { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .ligne__int { display: inline-block; }
.hero__pt { color: var(--blanc); }
.hero__sub {
  margin-top: clamp(16px, 2.6vh, 24px);
  max-width: 58ch; color: var(--blanc-70);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  text-shadow: 0 1px 20px rgba(11, 11, 13, .6);
}
.hero__ctas { display: flex; gap: 12px; margin-top: clamp(22px, 3.6vh, 34px); flex-wrap: wrap; justify-content: center; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); }
.souris { display: block; width: 24px; height: 38px; border: 1.5px solid rgba(245, 243, 238, .4); border-radius: 14px; position: relative; }
.souris i {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--acc);
  animation: molette 1.8s ease-in-out infinite;
}
@keyframes molette { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .souris i { animation: none; } }

.tuile {
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--carte); border: 1px solid var(--ligne);
  transform: translateZ(0);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.tuile img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tuile--large { aspect-ratio: 3 / 2; }

/* fenêtre de navigateur : trois pastilles, un champ d'adresse vide, le site dessous */
.tuile--bureau { background: #141418; container-type: inline-size; }
.fenetre__barre { display: flex; align-items: center; gap: 1.5cqw; height: 6.2cqw; padding: 0 3cqw; background: #1c1c21; border-bottom: 1px solid rgba(245, 243, 238, .07); }
.fenetre__barre i { flex: none; width: 1.9cqw; height: 1.9cqw; border-radius: 50%; background: rgba(245, 243, 238, .2); }
.fenetre__barre span { flex: 0 1 44%; height: 3.2cqw; margin: 0 auto; border-radius: 999px; background: rgba(245, 243, 238, .07); }
.fenetre__ecran { position: relative; aspect-ratio: 768 / 516; overflow: hidden; }

/* paire de téléphones : coque, bord métal, îlot, écran arrondi */
.tuile--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding: 0 6%; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.tel {
  position: relative; padding: 3.4%; border-radius: 14% / 6.9%;
  background: linear-gradient(150deg, #2c2c33, #0d0d10 38%, #08080a 70%, #1e1e24);
  box-shadow: 0 0 0 1px rgba(245, 243, 238, .16), inset 0 0 0 1px rgba(0, 0, 0, .6), 0 22px 46px rgba(0, 0, 0, .55);
}
.tel::after { content: ""; position: absolute; z-index: 4; top: 3.2%; left: 50%; width: 29%; height: 2.4%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.tel__ecran { position: relative; aspect-ratio: 9 / 17; border-radius: 10.5% / 5.4%; overflow: hidden; background: var(--fond); }
.tel__ecran img { object-position: center top; }

/* bandeau givré : les noms des faux sites restent flous */
.fenetre__ecran::before, .tel__ecran::before {
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: var(--flou, 16%);
  backdrop-filter: blur(9px) saturate(1.15); -webkit-backdrop-filter: blur(9px) saturate(1.15);
  background: rgba(11, 11, 13, .12);
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
  pointer-events: none;
}
.tel__ecran::before { top: 3.6%; }
.fenetre__ecran::after, .tel__ecran::after {
  content: ""; position: absolute; z-index: 3; inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, .26), transparent 40%);
  pointer-events: none;
}
.tuile--maq { background: var(--panneau); container-type: inline-size; }
.tuile--maq .maq { position: absolute; inset: 0; border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; font-size: clamp(7px, 4.2cqw, 17px); }



/* ============================================================
   MAQUETTES : des sites qui bougent (hero, approche, fil de mails)
   Tout est en em : la taille de police de .maq fixe l'échelle.
   ============================================================ */
.maq {
  position: relative; overflow: hidden;
  background: var(--carte); color: var(--blanc);
  border: 1px solid var(--ligne); border-radius: 1.2em;
  box-shadow: 0 2.4em 6em rgba(0, 0, 0, .55);
  font-size: 10px; line-height: 1.3;
}
.maq__barre { display: flex; align-items: center; gap: .5em; height: 2.6em; padding: 0 1.1em; background: #202026; border-bottom: 1px solid var(--ligne); flex: none; }
.maq__barre i { width: .7em; height: .7em; border-radius: 50%; background: rgba(245, 243, 238, .2); }
.maq__url { margin-left: .8em; font-family: var(--mono); font-size: .95em; color: var(--blanc-45); }
.maq__corps { padding: 1.6em; display: flex; flex-direction: column; gap: 1em; flex: 1; min-height: 0; }
.l { display: block; height: .7em; border-radius: .35em; background: rgba(245, 243, 238, .22); width: var(--w, 100%); }
.l--fin { height: .5em; background: rgba(245, 243, 238, .14); }
.m-h1 { height: 1.5em; width: 78%; border-radius: .45em; background: var(--blanc); }
.m-h1--court { width: 52%; }
.m-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.6em; padding: 0 1.4em; border-radius: 999px; background: var(--grad); color: var(--fond); font-weight: 700; font-size: 1em; white-space: nowrap; }
.m-img { flex: 1; min-height: 5em; border-radius: .8em; background: #26262c; position: relative; overflow: hidden; }
.m-img::after { content: ""; position: absolute; left: 18%; top: 34%; width: 64%; height: 66%; border-radius: 40% 40% 0 0; background: #33333a; }
.m-pilule { display: block; width: 6em; height: 1.8em; border-radius: 999px; background: var(--blanc); margin-left: auto; }

/* --- tuiles du hero : boucles CSS, décalées par --d ---
   ces classes (.maq--page, .maq--grille, .maq--form, .maq--wipe…) sont réservées aux tuiles du mur :
   ne pas les poser sur une grande maquette (.maq--grand), l'animation infinie casserait sa timeline GSAP */
@keyframes m-monte { 0%, 8% { opacity: 0; transform: translateY(1.2em); } 20%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-.6em); } }
@keyframes m-pousse { 0%, 10% { transform: scaleY(0); } 26%, 84% { transform: scaleY(1); } 94%, 100% { transform: scaleY(0); } }
@keyframes m-remplit { 0%, 10% { transform: scaleX(0); } 30%, 84% { transform: scaleX(1); } 94%, 100% { transform: scaleX(0); } }
@keyframes m-tourne { 0%, 8% { --p: 0; } 40%, 84% { --p: 1; } 94%, 100% { --p: 0; } }
@keyframes m-balaie { 0%, 12% { clip-path: inset(0 100% 0 0); } 42%, 82% { clip-path: inset(0 0 0 0); } 94%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes m-premier { 0%, 30% { transform: translateY(0); } 44%, 84% { transform: translateY(calc(-100% - 1em)); } 94%, 100% { transform: translateY(0); } }
@keyframes m-second { 0%, 30% { transform: translateY(0); } 44%, 84% { transform: translateY(calc(100% + 1em)); } 94%, 100% { transform: translateY(0); } }
.maq--page .m-nav, .maq--page .m-h1, .maq--page .l, .maq--page .m-btn, .maq--page .m-img,
.maq--grille .m-carte, .maq--form .m-champ, .maq--form .m-btn, .maq--wipe .m-apres > * { animation: m-monte 8s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0s) + var(--i, 0) * .22s) infinite both; }
.maq--page .m-nav { display: flex; align-items: center; gap: .6em; }
.maq--page .m-nav i { width: 2.2em; height: .8em; border-radius: .4em; background: var(--blanc); }
.maq--page .m-nav .l { width: 3em; margin: 0; }
.maq--grille .m-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8em; flex: 1; }
.m-carte { display: flex; flex-direction: column; gap: .5em; padding: .8em; border-radius: .8em; background: #232329; border: 1px solid var(--ligne); }
.m-carte i { display: block; flex: 1; min-height: 3.6em; border-radius: .5em; background: #2f2f36; }
.m-carte .l { width: 80%; } .m-carte .l + .l { width: 55%; }
.maq--graph .m-barres { display: grid; grid-template-columns: repeat(6, 1fr); gap: .8em; align-items: end; flex: 1; min-height: 8em; padding-bottom: .6em; border-bottom: 1px solid var(--ligne); }
.maq--graph .m-barres i { display: block; height: var(--h); border-radius: .4em .4em 0 0; background: rgba(245, 243, 238, .28); transform-origin: bottom; animation: m-pousse 8s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0s) + var(--i, 0) * .12s) infinite both; }
.maq--graph .m-barres i:last-child { background: var(--grad); }
.maq--graph .m-legende { display: flex; gap: .8em; } .maq--graph .m-legende .l { width: 30%; }
.m-champ { position: relative; height: 3em; border-radius: .6em; background: #232329; border: 1px solid var(--ligne); overflow: hidden; }
.m-champ::after { content: ""; position: absolute; left: 1em; top: 1.1em; height: .8em; width: 55%; border-radius: .4em; background: rgba(245, 243, 238, .6); transform-origin: left; animation: m-remplit 8s ease-out calc(var(--d, 0s) + var(--i, 0) * .3s + .4s) infinite both; }
.maq--form .m-btn { width: 100%; }
.m-recherche { display: flex; align-items: center; gap: .8em; height: 3em; padding: 0 1.1em; border-radius: 999px; background: var(--blanc); color: var(--fond); flex: none; }
.m-recherche svg { width: 1.4em; height: 1.4em; flex: none; }
.m-recherche .l { width: 55%; background: rgba(11, 11, 13, .25); }
.m-resultats { display: flex; flex-direction: column; gap: .7em; position: relative; }
.m-res { display: flex; flex-direction: column; gap: .45em; padding: .75em 1em; border-radius: .8em; background: #232329; border: 1px solid var(--ligne); }
.m-res--vous { border-color: var(--acc); background: rgba(var(--acc-rgb), .12); }
.m-res--vous b { display: block; font-weight: 700; font-size: 1.05em; color: var(--blanc); }
.maq--search .m-res:nth-child(1) { animation: m-second 8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) infinite both; }
.maq--search .m-res--vous { animation: m-premier 8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) infinite both; }
.maq--score .maq__corps { align-items: center; justify-content: center; }
.m-anneau { --p: 0; width: 9em; height: 9em; border-radius: 50%; background: conic-gradient(var(--acc) calc(var(--p) * 360deg), rgba(245, 243, 238, .12) 0); display: grid; place-items: center; animation: m-tourne 8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) infinite both; }
.m-anneau i { width: 6.6em; height: 6.6em; border-radius: 50%; background: var(--carte); }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.maq--wipe .maq__corps { padding: 0; position: relative; }
.maq--wipe .m-avant { position: absolute; inset: 0; padding: 1.6em; background: #f3f2ec; display: flex; flex-direction: column; gap: .8em; }
.maq--wipe .m-avant .l { background: #c9c7bd; } .maq--wipe .m-avant i { flex: 1; background: repeating-linear-gradient(45deg, #e2e0d8 0 .6em, #eeece5 .6em 1.2em); border-radius: .4em; }
.maq--wipe .m-apres { position: absolute; inset: 0; padding: 1.6em; background: var(--fond); display: flex; flex-direction: column; gap: 1em; animation: m-balaie 8s cubic-bezier(.4, 0, .2, 1) var(--d, 0s) infinite both; }
.maq--wipe .m-apres .m-img { background: url("../img/demo/atelier.jpg") center / cover; } .maq--wipe .m-apres .m-img::after { display: none; }

/* --- l'approche : trois volets, texte et grande maquette --- */
.approche { position: relative; padding-top: var(--sect); overflow-x: clip; }
.volet {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 5vw, 80px);
  min-height: clamp(420px, 70vh, 640px);
  padding-inline: var(--pad); padding-block: clamp(30px, 5vh, 50px);
  max-width: 1480px; margin-inline: auto;
}
.volet--droite .volet__texte { order: 2; }
.volet--droite .volet__maq { order: 1; }
.volet__mot { display: flex; align-items: center; flex-wrap: wrap; gap: .08em .32em; font-family: var(--titres); font-weight: 800; font-size: clamp(1.7rem, 3.3vw, 3rem); letter-spacing: -.03em; line-height: 1.05; }
/* le numéro : une pastille mono que le fil allume en passant */
.volet__num { display: inline-flex; align-items: center; justify-content: center; min-width: 2.9em; height: 1.5em; padding: 0 .75em; margin-right: .1em; border-radius: 999px; border: 1px solid rgba(var(--acc-rgb), .55); background: var(--fond); font-family: var(--mono); font-weight: 500; font-size: max(.36em, .68rem); letter-spacing: .12em; color: var(--acc-b); transition: background .45s, color .45s, box-shadow .6s, border-color .45s; }
.volet.is-fait .volet__num { background: var(--grad); color: var(--fond); border-color: transparent; box-shadow: 0 0 0 .5em rgba(var(--acc-rgb), .14), 0 .4em 1.6em rgba(var(--acc-rgb), .35); }
/* le problème, barré quand le fil arrive ; puis la flèche et le résultat */
.volet__avant { position: relative; text-decoration: none; color: var(--blanc-45); font-weight: 700; }
.volet__avant::after { content: ""; position: absolute; left: -.03em; right: -.03em; top: .56em; height: .09em; border-radius: 1em; background: var(--blanc-70); transform: scaleX(0); transform-origin: left center; transition: transform .55s var(--ease); }
.volet__fleche { width: .95em; height: .56em; flex: none; transition: opacity .4s, transform .55s var(--ease); }
.volet__mot .kw { display: inline-block; transition: opacity .5s, transform .6s var(--ease); }
.js:not(.no-anim) .volet__fleche { opacity: 0; transform: translateX(-.35em); }
.js:not(.no-anim) .volet__mot .kw { opacity: 0; transform: translateY(.3em); }
.volet.is-fait .volet__avant::after { transform: scaleX(1); transition-delay: .05s; }
.volet.is-fait .volet__fleche { opacity: 1; transform: none; transition-delay: .4s; }
.volet.is-fait .volet__mot .kw { opacity: 1; transform: none; transition-delay: .55s; }
.no-anim .volet__avant::after { transform: scaleX(1); }

/* le fil vert : une ligne qui se dessine au scroll, traverse les maquettes et allume les numéros */
.fil-vert { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.fil-vert__trace { stroke: url(#gradFil); stroke-width: 2; stroke-linecap: round; opacity: .95; }
.fil-vert__ombre { stroke: var(--acc-b); stroke-width: 9; stroke-linecap: round; opacity: .16; filter: blur(5px); }
.fil-vert__halo { fill: rgba(var(--acc-rgb), .42); filter: blur(6px); }
.fil-vert__point { fill: #fff; filter: drop-shadow(0 0 4px var(--acc-a)) drop-shadow(0 0 10px var(--acc-b)) drop-shadow(0 0 22px rgba(var(--acc-rgb), .8)); }
.js:not(.no-anim) .fil-vert__tete { opacity: 0; transition: opacity .3s; }
.fil-vert.is-actif .fil-vert__tete { opacity: 1; }
.no-anim .fil-vert { display: none; }
.volet__desc { margin-top: 14px; color: var(--blanc-70); max-width: 46ch; font-size: clamp(1.04rem, 1.3vw, 1.18rem); text-wrap: pretty; }
.volet__plus { margin-top: 12px; color: var(--blanc-45); max-width: 46ch; font-size: 1rem; text-wrap: pretty; }
.volet__maq { width: 100%; max-width: 600px; }
.volet--droite .volet__maq { justify-self: end; }
.maq--grand { font-size: clamp(10px, 1.1vw, 15px); aspect-ratio: 5 / 4; display: flex; flex-direction: column; }
.maq--grand .maq__corps { padding: 1.8em; }
.m-saisie { font-family: var(--mono); font-size: 1.05em; color: var(--fond); white-space: nowrap; overflow: hidden; }
.m-curseur-texte { width: .15em; height: 1.3em; background: var(--fond); animation: clignote 1s steps(2) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.m-ia { margin-top: auto; padding: 1em 1.2em; border-radius: .9em; background: rgba(245, 243, 238, .06); border: 1px solid var(--ligne); display: flex; flex-direction: column; gap: .5em; }
.m-ia__tete { font-family: var(--mono); font-size: .85em; color: var(--acc); }
.m-ia p { font-size: 1.05em; line-height: 1.4; color: var(--blanc-70); min-height: 2.8em; }
.m-page { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto auto auto 1fr; gap: 1em 1.6em; padding: 1.8em; }
.m-bloc--nav { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.2em; }
.m-bloc--nav b { font-weight: 800; font-size: 1.1em; }
.m-bloc--nav .l { width: 4em; }
.m-bloc--titre { grid-column: 1; font-family: var(--titres); font-weight: 800; font-size: 2.1em; line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.m-bloc--texte { grid-column: 1; display: flex; flex-direction: column; gap: .6em; }
.m-bloc--btn { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; height: 2.8em; padding: 0 1.5em; border-radius: 999px; background: var(--grad); color: var(--fond); font-weight: 700; }
.m-bloc--photo { grid-column: 2; grid-row: 2 / 5; border-radius: .9em; overflow: hidden; background: #26262c; }
.m-bloc--photo img { width: 100%; height: 100%; object-fit: cover; }
.m-bloc--cartes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.m-bloc--cartes i { display: block; height: 4.4em; border-radius: .7em; background: #232329; border: 1px solid var(--ligne); }
.m-chrono { position: absolute; right: 1.6em; top: 1.3em; font-family: var(--mono); font-size: 1em; padding: .4em .8em; border-radius: 999px; background: var(--blanc); color: var(--fond); font-variant-numeric: tabular-nums; }
.m-chip { position: absolute; right: 1.6em; bottom: 1.4em; padding: .5em 1em; border-radius: 999px; background: var(--grad); color: var(--fond); font-weight: 700; font-size: 1em; opacity: 0; }
.m-page--fixe { grid-template-rows: auto auto auto; padding: 1.4em; }
.m-page--fixe .m-bloc--photo { grid-row: 2 / 4; }
.m-choisi { position: relative; flex: 1; padding: 1.8em; }
.m-mini { display: flex; flex-direction: column; gap: .8em; width: 60%; }
.m-mini__logo { font-weight: 800; font-size: 1.05em; }
.m-mini__titre { font-family: var(--titres); font-weight: 800; font-size: 1.9em; line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.m-mini__photo { border-radius: .8em; overflow: hidden; aspect-ratio: 16 / 7; }
.m-mini__photo img { width: 100%; height: 100%; object-fit: cover; }
.m-btn--cta { align-self: flex-start; }
.m-form { position: absolute; left: 2.6em; top: 1.8em; bottom: 1.8em; width: 50%; height: max-content; margin: auto 0; padding: 1.2em; border-radius: 1em; background: #1e1e24; border: 1px solid var(--ligne); box-shadow: 0 2em 4em rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: .7em; z-index: 4; }
.m-mini { transition: opacity .4s, filter .4s; }
.m-form .m-champ { height: auto; padding: .55em .9em; display: flex; flex-direction: column; gap: .2em; }
.m-form .m-champ::after { display: none; }
.m-form .m-champ small { font-family: var(--mono); font-size: .75em; color: var(--blanc-45); }
.m-form .m-champ span { font-size: 1em; color: var(--blanc); white-space: nowrap; overflow: hidden; display: block; }
.m-btn--envoyer { width: 100%; }
.m-tel { position: absolute; right: 1.8em; top: 1.8em; bottom: 1.8em; width: 30%; border-radius: 2.2em; background: linear-gradient(180deg, #16151a, #1f1e26); border: 1px solid rgba(245, 243, 238, .16); overflow: hidden; }
.m-tel .m-encoche { position: absolute; left: 50%; top: 1em; width: 32%; height: 1.5em; border-radius: 999px; background: #000; transform: translateX(-50%); }
.m-tel__ecran { position: absolute; inset: 3.4em 1em 1em; display: flex; flex-direction: column; gap: .7em; }
.m-tel__ecran b { font-size: .95em; font-weight: 800; margin-bottom: .3em; }
.m-tel__ecran i { display: block; height: 6em; border-radius: .7em; background: url("../img/demo/escalier.jpg") center / cover; }
.m-notif { position: absolute; left: .5em; right: .5em; top: 3em; padding: .8em .9em; border-radius: .8em; background: #f5f3ee; color: var(--fond); display: flex; flex-direction: column; gap: .15em; box-shadow: 0 1em 2.4em rgba(0, 0, 0, .5); z-index: 6; }
.m-notif b { font-size: .92em; line-height: 1.3; } .m-notif span { font-size: .85em; line-height: 1.35; color: rgba(11, 11, 13, .7); }
.m-curseur { position: absolute; left: 0; top: 0; width: 2.2em; height: 2.2em; z-index: 5; filter: drop-shadow(0 .3em .6em rgba(0, 0, 0, .5)); pointer-events: none; }

/* --- répondre : le fil de mails --- */
.repondre { padding-top: var(--sect); }
.repondre__grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.suite { margin-top: clamp(22px, 3.4vh, 32px); display: grid; gap: 14px; counter-reset: etape; }
.suite li { position: relative; padding-left: 52px; counter-increment: etape; }
.suite li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--titres); font-weight: 800; font-size: .95rem; background: var(--grad); color: var(--fond); }
.suite b { display: block; font-family: var(--titres); font-weight: 750; font-size: 1.15rem; letter-spacing: -.015em; }
.suite span { display: block; color: var(--blanc-70); font-size: .98rem; text-wrap: pretty; }
.repondre__actions { margin-top: clamp(22px, 3.4vh, 32px); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.fil { display: flex; flex-direction: column; gap: 14px; }
.mail { position: relative; width: min(100%, 520px); padding: 18px 20px; border-radius: 16px; background: var(--panneau); border: 1px solid var(--ligne); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.mail--vous { align-self: flex-end; background: var(--grad); color: var(--fond); }
.mail header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-bottom: 8px; }
.mail header b, .mail header .mono { white-space: nowrap; }
.mail header b { font-family: var(--titres); font-weight: 750; font-size: 1rem; }
.mail header .mono { font-size: .8rem; opacity: .75; }
.mail p { font-size: .98rem; text-wrap: pretty; }
.mail--vous p { font-weight: 600; }
.frappe { display: flex; gap: 5px; padding: 10px 14px; overflow: hidden; border-radius: 999px; background: var(--panneau); border: 1px solid var(--ligne); align-self: flex-end; }
.frappe i { width: 7px; height: 7px; border-radius: 50%; background: var(--blanc-45); animation: frappe 1.1s ease-in-out infinite; }
.frappe i:nth-child(2) { animation-delay: .15s; } .frappe i:nth-child(3) { animation-delay: .3s; }
@keyframes frappe { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.piece { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ligne); }
.maq--piece { font-size: clamp(6px, .55vw, 8px); aspect-ratio: 16 / 10; box-shadow: none; display: flex; flex-direction: column; }
.piece__nom { display: block; margin-top: 8px; font-size: .8rem; color: var(--blanc-45); text-transform: none; letter-spacing: .02em; }
.js:not(.no-anim) [data-mail], .js:not(.no-anim) [data-frappe] { opacity: 0; transform: translateY(18px); }
.js:not(.no-anim) [data-piece] { opacity: 0; transform: translateY(12px) scale(.96); }
.no-anim [data-mail], .no-anim [data-piece] { opacity: 1 !important; transform: none !important; }
.no-anim [data-frappe], .no-anim .m-chrono, .no-anim .m-curseur, .no-anim .m-notif { display: none; }
.no-anim .m-chip { opacity: 1; }

/* ---------- morph : avant / après ---------- */
.morph { padding-top: calc(var(--sect) * .6); }
.morph__head { margin-bottom: clamp(8px, 1.6vh, 16px); width: 100%; }
.morph__pin {
  height: 100svh; min-height: 600px; padding-top: 72px;
  display: grid; justify-items: center; align-content: center;
  row-gap: clamp(12px, 2vh, 20px);
}
.morph__cadre {
  position: relative;
  width: min(880px, 80vw);
  aspect-ratio: 16 / 10;
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--ligne);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
  background: var(--carte);
}
.maquette { position: absolute; inset: 0; display: flex; flex-direction: column; }
.maquette__barre {
  flex: none; display: flex; align-items: center; gap: 6px;
  height: 7%; min-height: 26px; padding: 0 14px;
  background: #e9e7e2; color: #7a7770; font-family: var(--mono); font-size: clamp(.5rem, .9vw, .74rem);
}
.maquette__barre i { width: 9px; height: 9px; border-radius: 50%; background: rgba(0, 0, 0, .15); }
.maquette__barre span { margin-left: 10px; }
.maquette__barre--sombre { background: #16151a; color: var(--blanc-45); }
.maquette__barre--sombre i { background: rgba(245, 243, 238, .18); }

/* le site qui dort */
.maquette--avant { background: #fdfdf9; color: #2a2a2a; font-family: "Times New Roman", Times, serif; }
.avant__corps { flex: 1; padding: 3% 5%; display: flex; flex-direction: column; gap: 2.2%; overflow: hidden; }
.avant__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 1.5%; border-bottom: 2px solid #a7b6c9; }
.avant__logo { font-weight: 700; font-size: clamp(.8rem, 1.6vw, 1.3rem); color: #345; letter-spacing: .04em; }
.avant__menu { font-size: clamp(.5rem, .9vw, .8rem); color: #1a4aa0; text-decoration: underline; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avant__bienvenue { font-size: clamp(1rem, 2.2vw, 1.8rem); color: #b1281e; font-weight: 700; text-align: center; text-shadow: 2px 2px 0 #d8d3c6; }
.avant__texte { font-size: clamp(.58rem, 1.05vw, .92rem); line-height: 1.45; color: #333; }
.avant__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; flex: 1; min-height: 0; }
.avant__grille i {
  display: block; border: 1px solid #b9b9b9;
  background: repeating-linear-gradient(45deg, #e6e6e6 0 6px, #f3f3f3 6px 12px);
  position: relative;
}
.avant__grille i::after { content: "photo"; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(.55rem, .9vw, .8rem); color: #6a6a6a; font-style: italic; }
.avant__lien { text-align: center; color: #1a4aa0; text-decoration: underline; font-size: clamp(.62rem, 1.1vw, .95rem); }
.avant__pied { font-size: clamp(.5rem, .8vw, .7rem); color: #666; text-align: center; }

/* le site qui travaille (exemple) */
.maquette--apres { background: var(--fond); }
.apres__corps { position: relative; flex: 1; overflow: hidden; }
.apres__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apres__voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, .55), rgba(11, 11, 13, .12) 40%, rgba(11, 11, 13, .82) 100%); }
.apres__nav { position: absolute; inset-inline: 5%; top: 6%; z-index: 2; display: flex; align-items: center; justify-content: space-between; color: var(--blanc); }
.apres__logo { font-family: var(--titres); font-weight: 800; font-size: clamp(.8rem, 1.6vw, 1.3rem); letter-spacing: -.02em; }
.apres__cta { background: var(--blanc); color: var(--fond); border-radius: 999px; padding: .55em 1.1em; font-weight: 700; font-size: clamp(.5rem, .95vw, .8rem); }
.apres__texte { position: absolute; left: 5%; right: 42%; bottom: 30%; z-index: 2; color: var(--blanc); }
.apres__titre { font-family: var(--titres); font-weight: 800; font-size: clamp(1.1rem, 2.9vw, 2.5rem); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.apres__sous { margin-top: .6em; font-size: clamp(.6rem, 1.1vw, .95rem); color: var(--blanc-70); }
.apres__galerie { position: absolute; right: 5%; bottom: 8%; width: 32%; display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: end; z-index: 1; }
.apres__galerie img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; border: 1px solid rgba(245, 243, 238, .2); }
.morph__lame {
  position: absolute; top: 0; bottom: 0; width: 3px; z-index: 3;
  background: var(--grad);
  box-shadow: 8px 0 26px 2px rgba(var(--acc-rgb), .45), -8px 0 26px 2px rgba(var(--acc-rgb), .3);
  left: 0; opacity: 0; pointer-events: none;
}
.morph__caps { position: relative; height: 2.4em; width: min(940px, 88vw); text-align: center; }
.morph__caps span {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: inline-block; white-space: nowrap;
  border: 1px solid var(--ligne); border-radius: 999px;
  padding: 8px 18px; color: var(--blanc-70); background: rgba(19, 19, 22, .7);
}
.no-anim .morph__pin { height: auto; padding-block: 30px; }
.no-anim .morph__caps span[data-cap-a] { display: none; }
.no-anim .maquette--avant { display: none; }
.no-anim .morph__lame { display: none; }

/* ---------- questions ---------- */
.questions { padding-top: var(--sect); }
.questions__grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.questions__tete { position: sticky; top: 110px; }
.faq { border-top: 1px solid var(--ligne); }
.faq__item { border-bottom: 1px solid var(--ligne); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px;
  font-family: var(--titres); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -.015em;
  transition: color .25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--acc); }
.faq__item summary i { position: relative; flex: none; width: 22px; height: 22px; transition: transform .35s var(--ease); }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; background: var(--acc); border-radius: 2px; }
.faq__item summary i::before { left: 0; right: 0; top: 10px; height: 2px; }
.faq__item summary i::after { top: 0; bottom: 0; left: 10px; width: 2px; }
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__corps { padding: 0 4px 22px; color: var(--blanc-70); max-width: 62ch; }
.faq__corps p { animation: faq-ouvre .45s var(--ease); }
@keyframes faq-ouvre { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- contact ---------- */
.contact { position: relative; overflow: clip; margin-top: var(--sect); padding-block: clamp(110px, 16vh, 190px); text-align: center; }
.contact__lueur {
  position: absolute; left: 50%; bottom: -30%; width: 120vmin; height: 90vmin; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(var(--acc-rgb), .22), rgba(var(--acc-rgb), .08) 55%, transparent 72%);
  filter: blur(30px); pointer-events: none;
}
.contact__inner { position: relative; display: grid; justify-items: center; }
.contact__titre { font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
.contact__sous { margin-top: clamp(14px, 2.2vh, 22px); max-width: 52ch; color: var(--blanc-70); font-size: clamp(1rem, 1.3vw, 1.18rem); }
.contact__form { width: min(600px, 100%); margin-inline: auto; display: grid; gap: 14px; text-align: left; margin-top: clamp(22px, 3.5vh, 34px); }
.contact__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: grid; gap: 6px; }
.champ span { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blanc-70); }
.champ input, .champ textarea {
  font: inherit; color: var(--blanc);
  background: rgba(19, 19, 22, .8);
  border: 1px solid var(--ligne); border-radius: 12px;
  padding: 12px 14px; width: 100%;
  transition: border-color .25s, background .25s, box-shadow .25s;
  resize: vertical;
}
.champ input::placeholder, .champ textarea::placeholder { color: rgba(245, 243, 238, .38); }
.champ input:focus, .champ textarea:focus { outline: none; border-color: rgba(var(--acc-rgb), .7); background: rgba(19, 19, 22, .95); box-shadow: 0 0 0 3px rgba(var(--acc-rgb), .18); }
.contact__envoi { display: flex; align-items: center; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.contact__mail { color: var(--blanc-45); font-size: .95rem; transition: color .25s; }
.contact__mail:hover { color: var(--blanc); }

/* ---------- footer clair ---------- */
.footer { background: var(--clair); color: var(--clair-txt); }
.footer__row { display: flex; align-items: center; gap: clamp(20px, 4vw, 44px); flex-wrap: wrap; padding-block: clamp(30px, 5vh, 48px); }
.footer__mark { font-family: var(--titres); font-weight: 800; font-size: 1.35rem; white-space: nowrap; letter-spacing: -.01em; }
.footer__mark b { font-weight: 400; margin-left: .3em; }
.footer__liens { display: flex; gap: clamp(14px, 2.4vw, 28px); flex-wrap: wrap; }
.footer__liens a { font-size: .9rem; opacity: .75; transition: opacity .25s; }
.footer__liens a:hover { opacity: 1; }
.footer__fin { margin-left: auto; text-align: right; font-size: .82rem; opacity: .8; }
.footer__easter { color: var(--acc-clair); }

/* ---------- pages annexes ---------- */
.nav--statique { position: static; background: var(--fond); }
.page-legale { background: var(--fond); }
.legale { padding-block: clamp(40px, 7vh, 70px) clamp(60px, 9vh, 100px); max-width: 900px; }
.legale h1 { margin-bottom: 10px; }
.legale__maj { color: var(--blanc-45); margin-bottom: 30px; }
.legale section { margin-top: clamp(26px, 4vh, 38px); }
.legale h2 { font-family: var(--titres); font-weight: 750; font-size: 1.15rem; letter-spacing: -.015em; margin-bottom: 10px; }
.legale p { color: var(--blanc-70); max-width: 72ch; }
.legale p + p { margin-top: 10px; }
.legale a { color: var(--acc-a); text-decoration: underline; text-underline-offset: 3px; }
.legale strong { color: var(--blanc); }
.legale__retour { margin-top: clamp(34px, 5vh, 50px); }
.quatrecentquatre { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; padding: var(--pad); gap: 14px; }
.quatrecentquatre__code {
  font-family: var(--titres); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(6rem, 22vw, 13rem); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.quatrecentquatre__texte { color: var(--blanc-70); max-width: 44ch; margin-bottom: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .volet { grid-template-columns: 1fr; min-height: 0; padding-block: 34px; }
  .volet__mot { font-size: clamp(1.6rem, 5.4vw, 2.3rem); }
  .fil-vert__trace { stroke-width: 1.6; }
  .fil-vert__ombre { stroke-width: 7; }
  .volet--droite .volet__texte { order: 1; }
  .volet--droite .volet__maq { order: 2; justify-self: start; }
  .maq--grand { font-size: clamp(9px, 2.6vw, 12px); }
  .repondre__grille { grid-template-columns: 1fr; gap: 32px; }
  .m-choisi { display: flex; flex-direction: column; gap: 1.2em; }
  .m-mini { width: 100%; }
  .m-form { left: 1.2em; right: 1.2em; top: 1.2em; bottom: auto; width: auto; margin: 0; }
  .m-tel { position: relative; inset: auto; width: 100%; height: 11em; border-radius: 1.4em; }
  .m-tel .m-encoche { display: none; }
  .m-tel__ecran { inset: 1em; flex-direction: row; flex-wrap: wrap; align-content: flex-start; }
  .m-tel__ecran b { width: 100%; }
  .m-tel__ecran i { display: none; }
  .m-notif { top: 50%; transform: translateY(-50%); }
  .maq--grand { aspect-ratio: auto; }
  .morph { padding-top: clamp(40px, 6vh, 60px); }
  .morph__pin { align-content: start; padding-top: 74px; row-gap: 12px; }
  .morph__head { margin-bottom: 14px; }
  .morph__cadre { width: 92vw; aspect-ratio: 4 / 5; }
  .avant__grille { grid-template-columns: 1fr 1fr; }
  .apres__texte { right: 8%; bottom: 10%; }
  .apres__galerie { display: none; }
  .questions__grille { grid-template-columns: 1fr; gap: 24px; }
  .questions__tete { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 560px; }
  .hero__voile {
    background:
      radial-gradient(78% 60% at 50% 46%, rgba(11, 11, 13, .97), rgba(11, 11, 13, .8) 62%, rgba(11, 11, 13, .38)),
      linear-gradient(180deg, rgba(11, 11, 13, .85), transparent 28%, transparent 68%, var(--fond) 99%);
  }
  .hero__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .titre { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
  .titre br { display: none; }
  .contact__titre { font-size: clamp(2rem, 9vw, 2.9rem); }
  .hero__fond { inset: -24% -16% -16%; gap: 12px; transform: rotateX(20deg) rotateZ(-6deg) scale(1.12); }
  .hero__piste { gap: 12px; }
  .hero__col:nth-child(n+4) { display: none; }
  .hero__col:nth-child(2) { margin-top: -30%; }
  .hero__col:nth-child(3) { margin-top: -12%; }
  .hero__sub { font-size: 1.02rem; max-width: 34ch; }
  .hero__ctas { width: 100%; flex-direction: column; align-items: stretch; padding-inline: 8vw; gap: 10px; }
  .hero__ctas .pill { text-align: center; }
  .contact__ligne { grid-template-columns: 1fr; }
  .contact__envoi { flex-direction: column; align-items: stretch; text-align: center; }
  .nav__links a.mono { display: none; }
  .footer__fin { margin-left: 0; text-align: left; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
}
