/* Polices hébergées sur le site (aucun appel à un serveur tiers) */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%; src: url("../fonts/archivo.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: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700; src: url("../fonts/instrument-sans.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; }

/* ==========================================================================
   Rovia : feuille de style principale
   ========================================================================== */

:root {
  --ink: #0A0B0D;
  --ink-2: #111317;
  --ink-3: #181B20;
  --paper: #F2EFE9;
  --paper-2: #E6E2D9;

  --text: #F2EFE9;
  --text-muted: #A6A6A0;
  --text-dim: #85857F;
  --line: rgba(242, 239, 233, .11);
  --line-strong: rgba(242, 239, 233, .2);

  --blue: #23A6FF;
  --blue-soft: #6CC4FF;
  --blue-ink: #0563B8;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 144px);
  --header-h: 76px;
  --radius: 24px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  background: var(--blue); color: var(--ink); font-weight: 600;
  padding: 10px 16px; border-radius: 10px; transform: translateY(-150%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
section[id], main[id] { scroll-margin-top: var(--header-h); }

/* --- Typographie --------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-stretch: 100%; font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; }

.h2 {
  font-family: var(--font-display); font-weight: 760; font-stretch: 106%;
  font-size: clamp(2.3rem, 5.4vw, 4.75rem); line-height: .98; letter-spacing: -.038em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--text-muted); max-width: 40ch; }
.lead a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }

/* Découpe des titres en mots pour l'animation */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; will-change: transform; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  white-space: nowrap; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: transform .6s var(--ease), background-color .35s, color .35s, border-color .35s, box-shadow .45s;
}
.btn__label { position: relative; display: inline-block; transition: transform .55s var(--ease); }
.btn__label::after { content: attr(data-text) / ""; position: absolute; left: 0; top: var(--h); white-space: nowrap; }
.btn__icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .55s var(--ease); }

.btn--primary { background: var(--blue); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .92rem; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 4px;
  transition: border-color .3s, color .3s;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.link-arrow:hover { border-color: var(--blue); color: var(--blue-soft); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* --- En-tête ------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .45s, border-color .45s, transform .5s var(--ease), backdrop-filter .45s;
}
.site-header.is-scrolled { background: rgba(10, 11, 13, .74); border-color: var(--line); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.site-header.is-hidden { transform: translateY(-101%); }
.site-header__inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.brand img { height: 36px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 32px; }
.nav a { position: relative; font-size: .95rem; color: var(--text-muted); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none; align-items: center; gap: 12px; margin-left: auto;
  background: none; border: 1px solid var(--line-strong); border-radius: 999px;
  height: 42px; padding: 0 16px 0 18px; cursor: pointer; font-weight: 600; font-size: .92rem;
}
.menu-toggle__bars { display: grid; gap: 5px; width: 18px; }
.menu-toggle__bars i { display: block; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink);
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu nav a {
  display: block; padding: 12px 0;
  font-family: var(--font-display); font-weight: 720; font-stretch: 104%;
  font-size: clamp(1.9rem, 8.4vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em;
}
.mobile-menu__foot { display: grid; gap: 18px; }
.mobile-menu__mail { text-align: center; color: var(--text-muted); }

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + clamp(28px, 6vh, 88px)) 0 clamp(64px, 10vh, 110px);
  overflow: hidden; isolation: isolate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__trail { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__line { position: absolute; right: -8%; top: 4%; width: 74%; height: 88%; z-index: -1; overflow: visible; }
.hero__line path { fill: none; stroke: var(--blue); stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(35, 166, 255, .9)) drop-shadow(0 0 18px rgba(35, 166, 255, .5)); opacity: .55; }
.has-trail .hero__line { display: none; }

.hero__inner { position: relative; }
.hero__eyebrow { margin-bottom: clamp(20px, 3.4vh, 36px); color: var(--text-muted); }
.hero__eyebrow::before { background: var(--blue); }
.hero__title {
  font-family: var(--font-display); font-weight: 780; font-stretch: 108%;
  font-size: clamp(3rem, min(8.7vw, 14.2vh), 9.4rem); line-height: .92; letter-spacing: -.048em;
  max-width: 14ch; text-wrap: balance;
}
.y2012 {
  font-family: "Times New Roman", Times, serif; font-weight: 400; font-stretch: 100%; font-style: italic;
  letter-spacing: -.02em; color: var(--blue);
  text-decoration: underline; text-decoration-thickness: .045em; text-underline-offset: .1em;
}
.hero__lead { margin-top: clamp(20px, 3.4vh, 36px); max-width: 46ch; font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--text-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4.4vh, 44px); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: clamp(28px, 5vh, 56px); color: var(--text-dim); font-size: .95rem; }
.hero__facts li { display: flex; align-items: baseline; gap: 8px; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line-strong); }
.hero__facts li:last-child { border: 0; margin: 0; padding: 0; }
.hero__facts strong { font-family: var(--font-display); font-stretch: 100%; font-weight: 700; color: var(--text); font-size: 1.05rem; letter-spacing: -.01em; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: .85rem; letter-spacing: .04em; transition: color .3s;
}
.hero__scroll svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2.4s var(--ease-io) infinite; }
.hero__scroll:hover { color: var(--text); }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* --- Bandeau métiers ----------------------------------------------------- */
.trades { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.trades__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.trades__list { display: flex; flex: none; }
.trades__list li {
  display: flex; align-items: center; gap: 30px; padding-right: 30px;
  font-family: var(--font-display); font-stretch: 78%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.25rem, 2.4vw, 2rem); letter-spacing: .01em; color: var(--text-muted);
}
.trades__list li::after { content: ""; width: 8px; height: 8px; background: var(--blue); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Sections ------------------------------------------------------------ */
.section { position: relative; padding: var(--section-y) 0; }
.section-head { display: grid; gap: 22px; }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .h2 { max-width: 18ch; }
.section-head--center .lead { max-width: 52ch; }
.section-head--split { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 22px 64px; }
.section-head--split > div { display: grid; gap: 22px; }

/* --- Avant / après ------------------------------------------------------- */
.ba-stage {
  --pos: 50%;
  position: relative; margin-top: clamp(44px, 6vw, 72px);
  aspect-ratio: 16 / 10; width: 100%;
  border-radius: 18px; overflow: hidden; background: #ddd;
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.ba-layer { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-screen { position: relative; flex: 1; overflow: hidden; }
.ba-canvas { position: absolute; top: 0; left: 0; width: 1280px; transform-origin: 0 0; container-type: inline-size; }

.chrome { flex: none; position: relative; z-index: 2; }
.chrome__desk { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; }
.chrome__phone { display: none; }
.chrome__url { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.chrome__url svg { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }

.chrome--old { background: #dee1e6; border-bottom: 1px solid #c4c7cc; color: #333; font: 12px Arial, sans-serif; }
.chrome--old .chrome__btns { display: flex; gap: 6px; }
.chrome--old .chrome__btns i { width: 12px; height: 12px; border-radius: 50%; background: #b9bcc1; }
.chrome--old .chrome__desk .chrome__url { flex: 1; background: #fff; border-radius: 14px; height: 26px; padding: 0 12px; }
.chrome__warn { color: #b3261e; font-weight: 700; padding-right: 8px; margin-right: 2px; border-right: 1px solid #ccc; }

.chrome--new { background: #ECEAE4; border-bottom: 1px solid #D6D3CC; color: #3a3d42; font: 500 12px var(--font-body); }
.chrome__dots { display: flex; gap: 7px; }
.chrome__dots i { width: 11px; height: 11px; border-radius: 50%; background: #CFCBC3; }
.chrome--new .chrome__desk .chrome__url { margin-inline: auto; background: #fff; height: 26px; padding: 0 14px; border-radius: 8px; min-width: 260px; justify-content: center; }

.ba-tag {
  position: absolute; bottom: 16px; z-index: 4; pointer-events: none;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(10, 11, 13, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--text); font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  transition: opacity .3s;
}
.ba-tag em { font-style: normal; color: var(--blue); }
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; }
.ba-stage.hide-before .ba-tag--before, .ba-stage.hide-after .ba-tag--after { opacity: 0; }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5;
  width: 56px; margin-left: -28px; display: flex; align-items: center; justify-content: center;
  cursor: ew-resize; outline: none;
}
.ba-handle::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 0 1px rgba(10, 11, 13, .15), 0 0 18px rgba(35, 166, 255, .9);
}
.ba-knob {
  position: relative; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: var(--ink);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .9), 0 10px 30px rgba(0, 0, 0, .45);
  transition: transform .4s var(--ease);
}
.ba-knob svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ba-stage.is-dragging .ba-knob { transform: scale(1.08); }
.ba-handle:focus-visible .ba-knob { box-shadow: 0 0 0 5px #fff, 0 0 0 9px var(--blue); }

.ba-legend { display: none; }
.ba-note { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--text-dim); }

.ba-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); }
.ba-points li { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.ba-points__num { display: block; font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: .85rem; color: var(--blue); margin-bottom: 18px; }
.ba-points h3 { font-family: var(--font-display); font-weight: 700; font-stretch: 104%; font-size: clamp(1.3rem, 1.9vw, 1.6rem); letter-spacing: -.025em; line-height: 1.1; margin-bottom: 10px; }
.ba-points p { color: var(--text-muted); max-width: 34ch; }

/* Mode téléphone du comparateur */
@media (max-width: 639px) {
  .ba-stage {
    aspect-ratio: 9 / 17.5; max-width: 380px; margin-inline: auto;
    border-radius: 42px; border: 9px solid #1C1E23; background: #1C1E23;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .9);
  }
  .ba-stage .ba-layer { border-radius: 33px; overflow: hidden; }
  .chrome__desk { display: none; }
  .chrome__phone { display: grid; gap: 6px; padding: 8px 14px 8px; }
  .chrome__status { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; font: 600 12px var(--font-body); }
  .chrome__status i { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .7; }
  .chrome__phone .chrome__url { justify-content: center; height: 28px; border-radius: 9px; font-size: 12px; padding: 0 10px; }
  .chrome--old .chrome__phone .chrome__url { background: #fff; border: 1px solid #b5b1a8; }
  .chrome--new .chrome__phone .chrome__url { background: #fff; }
  .ba-tag { display: none; }
  .ba-legend {
    display: flex; justify-content: space-between; max-width: 380px; margin: 14px auto 0; padding: 0 6px;
    font-family: var(--font-display); font-stretch: 100%; font-weight: 650; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
  }
  .ba-legend span { display: inline-flex; align-items: center; gap: 8px; }
  .ba-legend span::before, .ba-legend span::after { font-family: var(--font-body); }
  .ba-legend span:first-child::before { content: "←"; }
  .ba-legend span:last-child::after { content: "→"; }
  .ba-legend em { font-style: normal; color: var(--blue); }
  .ba-knob { width: 46px; height: 46px; }
}

/* ---- Maquette AVANT : site amateur jamais terminé (style 2016), dimensions fixes, mis à l'échelle en JS ---- */
.old { position: relative; min-height: 100%; padding-bottom: 70px; background: #7fb347 repeating-linear-gradient(135deg, #8cc152 0 18px, #7fb347 18px 36px); font: 14px/1.45 Verdana, Geneva, sans-serif; color: #555; }
.old p { margin: 0 0 10px; }
.old__builder { background: #ffeb3b; color: #333; text-align: center; font: 12px Arial, sans-serif; padding: 5px; margin: 0 !important; }
.old__page { width: 920px; margin: 18px auto 0; background: #fdfdf6; box-shadow: 0 0 14px rgba(0,0,0,.45); }
.old__head { background: linear-gradient(#a8e063, #56ab2f); padding: 22px 30px 16px; }
.old__title { font: italic bold 52px/1 "Brush Script MT", "Segoe Script", "Comic Sans MS", cursive; color: #fff; text-shadow: 3px 3px 4px #2c5e10, 0 0 10px #ff0; margin: 0 !important; transform: scaleX(1.35); transform-origin: left; }
.old__slogan { color: #fff9c4; font: italic 15px "Comic Sans MS", cursive; margin: 6px 0 0 4px !important; }
.old__menu { display: flex; margin: 0 !important; background: linear-gradient(#5c5c5c, #2b2b2b); }
.old__menu span { padding: 11px 18px; color: #ddd; font: bold 13px Arial, sans-serif; border-right: 1px solid #1a1a1a; }
.old__menu .on { background: linear-gradient(#ff9a00, #e65c00); color: #fff; }
.old__banner { position: relative; height: 230px; overflow: hidden; border-bottom: 5px solid #ff9a00; }
.old__banner img { object-fit: fill; height: 100%; width: 100%; }
.old__banner p { position: absolute; left: 0; right: 0; top: 88px; text-align: center; color: #fff; font: bold 34px Impact, "Arial Black", sans-serif; letter-spacing: 1px; text-shadow: 1px 1px 0 #999; margin: 0 !important; }
.old__row { display: flex; gap: 24px; padding: 22px 26px; }
.old__main { flex: 1; text-align: center; }
.old__h1 { font: bold 26px "Times New Roman", serif; color: #2e7d32; text-decoration: underline; }
.old__red { color: #f00; font-size: 16px; }
.old__boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.old__boxes div { border: 1px dashed #bbb; padding: 10px; background: #fff; font-size: 12px; }
.old__boxes img { height: 92px; object-fit: fill; margin-bottom: 8px; }
.old__ph { display: grid; place-items: center; height: 92px; background: #e6e6e6; color: #999; font-size: 12px; margin-bottom: 8px; }
.old__h3 { color: #ff6f00; font: bold 15px Arial, sans-serif; margin-bottom: 4px !important; }
.old__btn { display: inline-block; padding: 9px 26px; border-radius: 4px; background: linear-gradient(#ffb74d, #f57c00); color: #fff; font: bold 14px Arial, sans-serif; box-shadow: 0 3px 0 #b35900; text-shadow: 0 1px 0 #b35900; }
.old__side { width: 230px; flex: none; font-size: 12px; }
.old__wt { background: #56ab2f; color: #fff; font: bold 13px Arial, sans-serif; padding: 6px 8px; margin: 0 0 8px !important; }
.old__fb { border: 1px solid #ccc; background: #f2f2f2; color: #999; text-align: center; padding: 26px 10px; margin-bottom: 14px; }
.old__muted { color: #aaa; font-style: italic; }
.old__foot { text-align: center; font-size: 11px; color: #888; border-top: 1px solid #ddd; padding: 10px; margin: 0 !important; }
.old__cookie { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(40,40,40,.95); color: #eee; font: 13px Arial, sans-serif; padding: 16px 30px; }
.old__cookie span { display: inline-block; background: #4caf50; color: #fff; padding: 4px 14px; margin: 0 8px; font-weight: bold; }

/* ---- Maquette APRÈS : site Rovia (s'adapte à la largeur via @container) ---- */
.nw { position: relative; height: 100%; overflow: hidden; background: #F3F0E8; color: #15261B; font-family: var(--font-body); }
.nw p { margin: 0; }
.nw__hero { position: relative; height: 77%; overflow: hidden; color: #fff; }
.nw__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nw__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(9, 20, 13, .86) 0%, rgba(9, 20, 13, .55) 42%, rgba(9, 20, 13, .08) 75%), linear-gradient(0deg, rgba(9, 20, 13, .5) 0%, transparent 45%); }
.nw__bar, .nw__content, .nw__card { position: relative; z-index: 2; }
.nw__bar { display: flex; align-items: center; gap: 34px; padding: 26px 56px; }
.nw__logo { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 800; font-stretch: 104%; font-size: 27px; letter-spacing: -.035em; }
.nw__logo span { font-weight: 500; font-stretch: 100%; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.nw__links { display: flex; gap: 30px; margin-left: auto !important; font-size: 15px; opacity: .92; }
.nw__tel { font-weight: 600; font-size: 15px; }
.nw__cta { background: #F3F0E8; color: #15261B; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.nw__burger { display: none; }
.nw__content { position: absolute; right: 56px; bottom: 64px; width: 540px; }
.nw__kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 20px !important; }
.nw__title { font-family: var(--font-display); font-weight: 760; font-stretch: 104%; font-size: 78px; line-height: .94; letter-spacing: -.045em; margin-bottom: 22px !important; }
.nw__text { font-size: 19px; line-height: 1.5; opacity: .92; max-width: 470px; margin-bottom: 32px !important; }
.nw__btns { display: flex; gap: 12px; }
.nw__btn { background: #CFE57A; color: #15261B; padding: 17px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.nw__btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.nw__card { position: absolute; left: 56px; bottom: 64px; display: flex; gap: 14px; align-items: center; background: rgba(243, 240, 232, .96); color: #15261B; padding: 10px 20px 10px 10px; border-radius: 18px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.nw__card img { width: 104px; height: 70px; object-fit: cover; border-radius: 11px; }
.nw__card p { font-size: 15px; line-height: 1.35; font-weight: 500; }
.nw__card b { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5f7255; font-weight: 600; }
.nw__strip { display: grid; grid-template-columns: repeat(3, 1fr); height: 23%; align-items: center; padding: 0 30px; }
.nw__strip div { display: flex; gap: 16px; align-items: baseline; padding: 0 26px; border-left: 1px solid rgba(21, 38, 27, .14); }
.nw__strip div:first-child { border: 0; }
.nw__strip b { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #6E8F2E; }
.nw__strip p { font-family: var(--font-display); font-weight: 720; font-stretch: 102%; font-size: 28px; letter-spacing: -.03em; }
.nw__sticky { display: none; }

@container (max-width: 600px) {
  .nw__hero { height: 100%; }
  .nw__hero::after { background: linear-gradient(0deg, rgba(9, 20, 13, .92) 0%, rgba(9, 20, 13, .6) 42%, rgba(9, 20, 13, .1) 72%, rgba(9, 20, 13, .4) 100%); }
  .nw__bar { padding: 14px 18px; gap: 12px; }
  .nw__logo { font-size: 22px; }
  .nw__logo span { font-size: 10px; }
  .nw__links, .nw__tel, .nw__cta, .nw__btns, .nw__card, .nw__strip { display: none; }
  .nw__burger { display: grid; gap: 5px; margin-left: auto !important; }
  .nw__burger i { display: block; width: 22px; height: 2px; background: #fff; }
  .nw__content { left: 18px; right: 18px; bottom: 92px; width: auto; }
  .nw__kicker { font-size: 10.5px; margin-bottom: 12px !important; }
  .nw__title { font-size: 40px; margin-bottom: 14px !important; }
  .nw__text { font-size: 15px; margin-bottom: 0 !important; }
  .nw__sticky { display: flex; position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 3; gap: 8px; }
  .nw__sticky span { flex: 1; text-align: center; padding: 14px 0; border-radius: 14px; font-weight: 600; font-size: 15px; background: #fff; color: #15261B; }
  .nw__sticky span:last-child { background: #CFE57A; }
}

/* --- Réalisations -------------------------------------------------------- */
.work {
  position: relative; display: flex; flex-direction: column; gap: 30px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 30px);
  transition: border-color .5s, transform .7s var(--ease), background-color .5s;
}
.work--featured {
  display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(44px, 6vw, 72px); padding: clamp(24px, 4vw, 60px); border-radius: 30px;
}
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); margin-top: clamp(16px, 2.2vw, 28px); }

.work__visual { position: relative; padding: 0 9% 9% 0; }
.laptop__screen { padding: 2.4% 2.4% 0; background: #08090B; border: 1px solid rgba(242, 239, 233, .14); border-bottom: 0; border-radius: 14px 14px 0 0; }
.laptop__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px 4px 0 0; background: var(--ink-3); }
.laptop__view img { width: 100%; height: auto; transform: translateY(0); transition: transform 5s cubic-bezier(.45, 0, .25, 1); }
.laptop__base { position: relative; height: 12px; margin: 0 -5.5%; border-radius: 2px 2px 14px 14px / 2px 2px 10px 10px; background: linear-gradient(#34373D, #1A1C20 60%, #0E0F12); }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #121418; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 19.5;
  padding: 2.6%; border-radius: 16% / 7.4%; background: #08090B;
  border: 1px solid rgba(242, 239, 233, .16);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .85);
}
.phone__view { height: 100%; overflow: hidden; border-radius: 13% / 6%; background: var(--ink-3); }
.phone__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.work__tag {
  display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-muted);
  font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.work__tag--client { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.work__info { display: flex; flex-direction: column; gap: 10px; }
.work__title { font-family: var(--font-display); font-weight: 740; font-stretch: 104%; font-size: clamp(1.5rem, 2.1vw, 1.95rem); letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; }
.work--featured .work__title { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.work__meta { color: var(--text-dim); font-size: .95rem; }
.work__text { color: var(--text-muted); max-width: 38ch; }
.work--featured .work__text { font-size: 1.1rem; margin: 6px 0 16px; }
.work--featured .link-arrow { align-self: flex-start; }

/* --- Comment ça marche (section claire) ---------------------------------- */
.steps { background: var(--paper); color: var(--ink); }
.steps .eyebrow { color: var(--blue-ink); }
.steps .lead { color: #55554F; }
.steps__rail { position: relative; height: 2px; margin-top: clamp(56px, 7vw, 96px); background: rgba(10, 11, 13, .12); }
.steps__rail span { position: absolute; inset: 0; background: var(--blue); transform-origin: left; }
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.step { position: relative; padding-top: clamp(30px, 3.4vw, 44px); }
.step::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.step__time {
  font-family: var(--font-display); font-stretch: 72%; font-weight: 860;
  font-size: clamp(4.4rem, 9.6vw, 9.6rem); line-height: .82; letter-spacing: -.035em; white-space: nowrap;
}
.step__label { margin-top: clamp(22px, 2.6vw, 34px); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); }
.step__title { margin-top: 10px; font-family: var(--font-display); font-weight: 720; font-stretch: 102%; font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.step__text { margin-top: 12px; color: #55554F; max-width: 36ch; }
.steps__cta { margin-top: clamp(48px, 6vw, 80px); }

/* --- Tarifs -------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(16px, 2vw, 24px); max-width: 1080px; margin: clamp(44px, 6vw, 72px) auto 0; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 30px;
  padding: clamp(26px, 3.6vw, 48px); border-radius: 30px;
  background: var(--ink-2); border: 1px solid var(--line);
}
.plan--main { border-color: rgba(35, 166, 255, .55); box-shadow: 0 0 0 1px rgba(35, 166, 255, .25), 0 50px 120px -60px rgba(35, 166, 255, .45); }
.plan__name { font-family: var(--font-display); font-weight: 720; font-stretch: 104%; font-size: 1.55rem; letter-spacing: -.02em; }
.plan__for { margin-top: 8px; color: var(--text-muted); max-width: 34ch; }
.plan__price { display: grid; gap: 4px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.plan__from { font-size: .9rem; color: var(--text-dim); }
.plan__amount { font-family: var(--font-display); font-weight: 800; font-stretch: 100%; font-size: clamp(4rem, 8vw, 6.6rem); line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
.plan__amount--text { font-size: clamp(3rem, 6vw, 4.8rem); letter-spacing: -.045em; }
.plan__list { display: grid; gap: 14px; flex: 1; }
.plan__list li { position: relative; padding-left: 32px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 9px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.pricing__note { margin-top: 28px; text-align: center; color: var(--text-dim); }

/* --- Services ------------------------------------------------------------ */
.services { background: var(--ink-2); border-block: 1px solid var(--line); }
.services__inner { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.services__head { position: sticky; top: calc(var(--header-h) + 40px); }
.services__head .h2 { max-width: 12ch; }
.service {
  position: relative; display: grid; grid-template-columns: 70px 1fr; column-gap: 20px;
  padding: clamp(26px, 3vw, 40px) 0; border-top: 1px solid var(--line-strong);
}
.service:last-of-type { border-bottom: 1px solid var(--line-strong); }
.service::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.service__num { grid-row: span 2; padding-top: .55em; font-family: var(--font-display); font-weight: 650; font-stretch: 100%; font-size: .9rem; color: var(--blue); }
.service__title { font-family: var(--font-display); font-weight: 730; font-stretch: 106%; font-size: clamp(1.55rem, 2.8vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; transition: transform .6s var(--ease); }
.service__text { margin-top: 12px; color: var(--text-muted); max-width: 46ch; }

/* --- FAQ ----------------------------------------------------------------- */
.faq__inner { max-width: 960px; }
.faq__head { justify-items: center; text-align: center; }
.faq__head .lead { max-width: 48ch; }
.faq__list { margin-top: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-strong); }
.qa { border-top: 1px solid var(--line-strong); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.4vw, 28px) 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 650; font-stretch: 100%;
  font-size: clamp(1.12rem, 1.9vw, 1.5rem); line-height: 1.25; letter-spacing: -.02em;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-soft); }
.qa__icon { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .5s var(--ease), background-color .3s, border-color .3s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; margin: -.8px 0 0 -6.5px; background: currentColor; border-radius: 2px; }
.qa__icon::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.qa[open] .qa__icon { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 64px clamp(22px, 2.6vw, 30px) 0; color: var(--text-muted); font-size: 1.06rem; max-width: 68ch; }

/* --- Contact ------------------------------------------------------------- */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; right: -20%; top: 10%; width: 70vw; height: 70vw; max-width: 1000px; max-height: 1000px;
  background: radial-gradient(closest-side, rgba(35, 166, 255, .13), rgba(35, 166, 255, 0));
  pointer-events: none;
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__intro { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 40px); }
.contact__title { font-size: clamp(2.4rem, 5.4vw, 4.9rem); }
.contact__list { display: grid; gap: 12px; margin-top: 6px; }
.contact__list li { position: relative; padding-left: 30px; }
.contact__list li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 14px; height: 8px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.contact__mail { margin-top: 10px; color: var(--text-dim); }
.contact__mail a { display: inline-block; margin-top: 4px; font-family: var(--font-display); font-weight: 650; font-stretch: 100%; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--text); letter-spacing: -.01em; border-bottom: 1px solid var(--blue); padding-bottom: 2px; transition: color .3s; }
.contact__mail a:hover { color: var(--blue-soft); }

.contact__panel { position: relative; background: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 30px; padding: clamp(22px, 3.4vw, 44px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 500; }
.field__opt { color: var(--text-dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: #0C0D10; color: var(--text);
  border: 1px solid rgba(242, 239, 233, .16); border-radius: 12px;
  font: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E69; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(242, 239, 233, .3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(35, 166, 255, .2); background: #0E1014; }
.field input:user-invalid, .field select:user-invalid { border-color: #FF8A7A; }
.field__select { position: relative; }
.field__select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field__select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); pointer-events: none; }
.field select:invalid { color: #6E6E69; }
.field option { color: #111; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__submit { margin-top: 26px; }
.form__submit[disabled] { opacity: .65; pointer-events: none; }
.form__legal { margin-top: 14px; font-size: .82rem; line-height: 1.5; color: var(--text-dim); }
.form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form__status { margin-top: 10px; font-size: .95rem; min-height: 1.5em; }
.form__status.is-error { color: #FF9C8F; }
.form-done { text-align: center; padding: clamp(28px, 5vw, 60px) 10px; display: grid; gap: 14px; justify-items: center; outline: none; }
.form-done__mark { width: 68px; height: 68px; border-radius: 50%; background: var(--blue); color: var(--ink); display: grid; place-items: center; margin-bottom: 6px; }
.form-done__mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.form-done__title { font-family: var(--font-display); font-weight: 760; font-stretch: 104%; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.form-done p { color: var(--text-muted); max-width: 36ch; }

/* --- Pied de page -------------------------------------------------------- */
.site-footer { position: relative; padding: clamp(64px, 8vw, 100px) 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { color: var(--text-muted); max-width: 30ch; }
.footer__nav { display: flex; gap: clamp(40px, 6vw, 96px); flex-wrap: wrap; }
.footer__nav ul { display: grid; gap: 12px; align-content: start; }
.footer__nav a { color: var(--text-muted); transition: color .3s; }
.footer__nav a:hover { color: var(--text); }
.footer__word {
  margin: clamp(48px, 7vw, 90px) 0 0; text-align: center; user-select: none;
  font-family: var(--font-display); font-weight: 860; font-stretch: 125%;
  font-size: clamp(5rem, 24vw, 22rem); line-height: .78; letter-spacing: -.06em;
  color: var(--ink-3); position: relative; z-index: 0;
}
.footer__bottom { position: relative; z-index: 1; background: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-dim); font-size: .9rem; }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.footer__top-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__top-link:hover { color: var(--text); }

/* --- Bouton fixe mobile -------------------------------------------------- */
.mobile-cta { display: none; }



/* --- Survols : seulement avec une souris (pas d'effet collé sur tactile) --- */
@media (hover: hover) {
  .btn:hover .btn__label { transform: translateY(calc(var(--h) * -1)); }
  .btn:hover .btn__icon { transform: translateX(4px); }
  .btn--primary:hover { background: var(--blue-soft); box-shadow: 0 14px 44px -14px rgba(35, 166, 255, .75); }
  .btn--ghost:hover { background: rgba(242, 239, 233, .06); border-color: rgba(242, 239, 233, .45); }
  .btn--dark:hover { background: #000; box-shadow: 0 14px 40px -14px rgba(10, 11, 13, .6); }
  .work:hover { border-color: rgba(35, 166, 255, .4); background: #13161B; }
  .work:hover .laptop__view img { transform: translateY(var(--shot-scroll, 0px)); }
  .service:hover::after { transform: scaleX(1); }
  .service:hover .service__title { transform: translateX(10px); }
  .ba-stage:hover .ba-knob { transform: scale(1.08); }
}

/* --- Adaptations --------------------------------------------------------- */
@media (max-width: 1100px) {
  .works__grid { grid-template-columns: 1fr 1fr; }
  .works__grid .work:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 30px; }

  .section-head--split { grid-template-columns: 1fr; }
  .work--featured { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; gap: 0; }
  .steps__rail { display: none; }
  .step { padding: 36px 0 40px; border-top: 1px solid rgba(10, 11, 13, .14); }
  .step::before { display: none; }
  .step__time { font-size: clamp(4.6rem, 22vw, 7rem); }
  .plans { grid-template-columns: 1fr; }
  .services__inner { grid-template-columns: 1fr; }
  .services__head { position: static; }
  .contact__inner { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .ba-points { grid-template-columns: 1fr; gap: 28px; }
  .service { grid-template-columns: 40px 1fr; column-gap: 12px; }

  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 16px;
    background: var(--blue); color: var(--ink); font-weight: 600; font-size: 1rem;
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .8);
    transform: translateY(calc(100% + 30px)); transition: transform .55s var(--ease);
  }
  .mobile-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-cta.is-visible { transform: none; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 720px) {
  .works__grid { grid-template-columns: 1fr; }
  .works__grid .work:last-child { display: flex; grid-column: auto; }
  .form__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .hero__facts { display: grid; gap: 8px; }
  .hero__facts li { border: 0; margin: 0; padding: 0; }
  .hero__actions .btn { width: 100%; }
  .qa__body p { padding-right: 0; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (max-width: 420px) {
  .btn--lg { --h: 56px; padding: 0 22px; font-size: 1rem; }
}

/* Mouvement réduit : on coupe les animations décoratives */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .trades__track { animation: none; }
}

/* --- États ajoutés par le JavaScript ------------------------------------- */
.js-anim [data-hero-title], .js-anim [data-hero-item], .js-anim .hero__scroll { opacity: 0; }
a.work__visual { display: block; }
.qa.is-closing .qa__icon { background: transparent; border-color: var(--line-strong); color: inherit; }
.qa.is-closing .qa__icon::after { transform: rotate(90deg); }
.laptop__view.is-missing, .phone__view.is-missing { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, var(--ink-3) 0 12px, #15181D 12px 24px); }
.laptop__view.is-missing img, .phone__view.is-missing img { display: none; }
.laptop__view.is-missing::after, .phone__view.is-missing::after { content: "Capture à venir"; color: var(--text-dim); font-size: .85rem; text-align: center; padding: 8px; }

/* --- Pages simples (mentions légales, merci, 404) ------------------------ */
.page-simple .site-header { position: sticky; }
.back-link { margin-left: auto; }
.legal { max-width: 820px; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(64px, 10vw, 120px); }
.legal .h2 { margin-top: 18px; }
.legal__updated { margin-top: 14px; color: var(--text-dim); font-size: .95rem; }
.legal section { margin-top: clamp(40px, 5vw, 56px); padding-top: clamp(28px, 3vw, 36px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h2 { font-family: var(--font-display); font-weight: 720; font-stretch: 104%; font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.025em; margin-bottom: 16px; }
.legal p, .legal li { color: var(--text-muted); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 14px; }
.legal ul { display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--blue); }
.legal strong { color: var(--text); font-weight: 600; }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.site-footer--simple { padding: 0 0 calc(24px + env(safe-area-inset-bottom)); }
.site-footer--simple .footer__bottom { margin-top: 0; }
.notice { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 24px; padding-block: 64px; }
.notice .brand { margin-bottom: clamp(24px, 6vh, 64px); }
.notice .h2 { max-width: 16ch; }
.notice .btn { margin-top: 12px; }
.notice__code { font-family: var(--font-display); font-weight: 860; font-stretch: 72%; font-size: clamp(6rem, 22vw, 14rem); line-height: .8; color: var(--blue); letter-spacing: -.03em; }

/* --- Fil d'Ariane et liens légaux (pages secondaires) --- */
.crumbs { margin-bottom: clamp(28px, 4vw, 44px); font-size: .9rem; color: var(--text-dim); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-strong, var(--text-dim)); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer__legal a { color: var(--text-muted); }
.footer__legal a:hover { color: var(--text); }
.notice__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.notice__links .btn { margin-top: 0; }
.legal .crumbs li { padding-left: 0; color: inherit; }
.legal .crumbs li::before { content: none; }
.legal .crumbs li + li::before { content: "/"; position: static; width: auto; height: auto; background: none; color: var(--text-dim); }
.legal .crumbs a { color: var(--text-muted); text-decoration: none; }
.legal .crumbs [aria-current] { color: var(--text); }
