/* ===== Brikod : feuille unique =====
   Direction « planche contact » : fond nuit, une encre argent, un bleu bleuet pour l'action.
   Une seule famille (Schibsted Grotesk), cinq tailles, angles droits partout. */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../assets/fonts/schibsted-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: "Schibsted Grotesk"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../assets/fonts/schibsted-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 {
  --bg: #0a0d14;
  --surface: #131824;
  --surface-2: #1b2232;
  --ink: #e9edf3;
  --muted: #9aa3b2;
  --accent: #5a9bfc;
  --accent-ink: #0a0d14;
  --accent-2: #7fb1fd;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.6rem, 0.9rem + 6.4vw, 7.4rem);
  --step-plan: clamp(1.5rem, 1rem + 1.6vw, 2.75rem);

  --m: clamp(16px, 1.4vw, 24px);
  --gap: clamp(12px, 1.2vw, 20px);
  --section: clamp(112px, 12vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body);
  line-height: 1.45; letter-spacing: -0.01em; font-weight: 400; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, .display { font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; text-wrap: balance; }
h2 { font-size: var(--step-head); line-height: 0.98; }
h3 { font-size: var(--step-body); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; }
.small { font-size: var(--step-small); line-height: 1.4; }
.muted { color: var(--muted); }
.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section) 0; }
.prose p + p { margin-top: 0.9em; }
.prose { max-width: 62ch; }
p { max-width: 68ch; }

/* ----- boutons : rectangulaires, un seul aplat ----- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: var(--step-body); text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: var(--accent-2); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.alt { background: var(--surface-2); color: var(--ink); }
.btn.alt:hover { background: #262f44; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.lien { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); transition: color .2s; }
.lien:hover { color: var(--accent-2); }

/* ----- en-tête ----- */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: transform .3s var(--ease); }
.top.cache { transform: translateY(-100%); }
.top .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.04em; text-decoration: none; }
.marque svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font-weight: 600; font-size: var(--step-small); }
.nav a:not(.btn) { text-decoration: none; padding-block: 8px; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 16px; font-size: var(--step-small); }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; border: 0; background: var(--surface-2); font-weight: 600; cursor: pointer; }

/* ----- premier écran ----- */
.bande { padding-top: 20px; row-gap: 22px; }
.bande > div { grid-column: span 3; }
.bande h2 { font-size: var(--step-small); font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: var(--muted); margin-bottom: 4px; }
.bande li, .bande p { font-size: var(--step-small); line-height: 1.5; }
.bande a { text-decoration: none; }
.bande a:hover { color: var(--accent-2); }
.titre { padding-top: clamp(96px, 11vw, 168px); align-items: end; row-gap: 28px; }
.titre h1 { grid-column: 1 / span 9; font-size: var(--step-display); }
.titre .cote { grid-column: 10 / span 3; display: grid; gap: 20px; justify-items: start; }
.titre .cote p { font-size: var(--step-body); }

/* ----- réalisations : une bande par projet ----- */
.travaux { padding-top: clamp(40px, 5vw, 72px); align-items: start; }
.rail { grid-column: 1 / span 2; position: sticky; top: 92px; display: grid; gap: 18px; }
.rail h2 { font-size: var(--step-lead); letter-spacing: -0.03em; }
.filtres { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.filtres button { border: 0; background: none; padding: 4px 0; cursor: pointer; font-weight: 600; font-size: var(--step-small); color: var(--muted); }
.filtres button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.filtres button:hover { color: var(--ink); }
.apercu { display: grid; gap: 8px; min-height: 14em; }
.apercu strong { font-weight: 600; }
.apercu p { font-size: var(--step-body); color: var(--muted); }
.apercu p.vif { color: var(--ink); }
.bandes { grid-column: 3 / -1; display: grid; gap: 45px; }
.projet { position: relative; }
.projet[hidden] { display: none; }
.cadres { display: flex; flex-wrap: wrap; gap: 8px; }
.cadres img { height: 190px; width: auto; background: var(--surface); transition: opacity .24s var(--ease), transform .4s var(--ease); }
.bandes:has(.projet:hover) .projet:not(:hover) .cadres img,
.bandes:has(.projet:focus-within) .projet:not(:focus-within) .cadres img { opacity: .35; }
.legende { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; margin-top: 10px; font-size: var(--step-small); align-items: baseline; }
.legende h3 { font-size: var(--step-small); }
.legende h3 a { text-decoration: none; }
.legende .genre { color: var(--muted); text-align: center; }
.legende .adresse { text-align: right; color: var(--muted); }
.projet:hover .legende .adresse, .projet:focus-within .legende .adresse { color: var(--accent-2); }
.projet:hover .legende h3 a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* curseur-étiquette (le nom du studio) : suit le pointeur au-dessus des bandes */
.curseur { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: var(--step-small); padding: 8px 12px; white-space: nowrap; opacity: 0; transform: translate3d(-100px, -100px, 0);
  transition: opacity .18s var(--ease); display: flex; gap: 8px; align-items: center; }
.curseur svg { width: 14px; height: 14px; }
.curseur.on { opacity: 1; }

/* ----- chiffres ----- */
.chiffres { row-gap: 32px; }
.chiffres h2 { grid-column: 1 / span 4; }
.chiffres dl { grid-column: 5 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.chiffres dl { row-gap: 48px; }
.chiffres dl > div { display: grid; gap: 10px; align-content: start; }
.chiffres dt { font-size: var(--step-body); color: var(--muted); order: 2; max-width: 26ch; }
.chiffres dd { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; order: 1; }
.chiffres dd.mot { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.15; }

/* ----- ce que nous construisons : petite preuve à côté du texte ----- */
.preuves { display: grid; gap: clamp(72px, 8vw, 112px); }
.preuves > h2 { margin-left: 22%; }
.module { margin-left: 22%; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 300px); gap: 24px; align-items: start; }
.module .panneau { background: var(--surface); overflow: hidden; }
.module .panneau img, .module .panneau video { width: 100%; height: auto; display: block; }
.module .panneau.tel { max-width: 300px; }
.module h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.module p { font-size: var(--step-body); color: var(--muted); max-width: 34ch; }
.module p + p { margin-top: 10px; }
.module .lien { font-size: var(--step-small); display: inline-block; margin-top: 12px; }

/* fragment d'interface : une automatisation */
.flux { padding: 18px; display: grid; gap: 8px; font-size: var(--step-small); }
.flux .etape { background: var(--surface-2); padding: 12px 14px; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; }
.flux .ico { width: 34px; height: 34px; display: grid; place-items: center; background: var(--bg); font-weight: 800; }
.flux .ico svg { width: 18px; height: 18px; }
.flux .etape b { font-weight: 600; display: block; }
.flux .etape span { color: var(--muted); }
.flux .etat { color: #6fd39a; font-weight: 600; }
.flux .lienx { width: 2px; height: 10px; background: var(--accent); margin-left: 30px; transform-origin: top; }
.flux.vivant .etape { animation: allume 4.8s var(--ease) infinite; }
.flux.vivant .etape:nth-of-type(2) { animation-delay: .8s; }
.flux.vivant .etape:nth-of-type(3) { animation-delay: 1.6s; }
@keyframes allume { 0%, 60%, 100% { background: var(--surface-2); } 10%, 30% { background: #22304d; } }

/* ----- méthode : rangée à faire glisser ----- */
.methode .tete { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.fleches { display: flex; gap: 8px; }
.fleches button { width: 48px; height: 48px; border: 0; background: var(--surface-2); cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.fleches button:hover { background: var(--accent); color: var(--accent-ink); }
.fleches svg { width: 20px; height: 20px; }
.progression { height: 6px; background: var(--surface-2); margin-top: 20px; }
.progression span { display: block; height: 100%; background: var(--ink); width: 100%; transform-origin: left; transform: scaleX(.2); transition: transform .15s linear; }
.rangee { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px 0 8px;
  scrollbar-width: none; }
.rangee::-webkit-scrollbar { display: none; }
.moment { flex: 0 0 280px; scroll-snap-align: start; display: flex; flex-direction: column; }
.moment h3 { font-size: var(--step-body); font-weight: 800; letter-spacing: -0.02em; }
.moment p { font-size: var(--step-body); color: var(--muted); margin-top: 8px; }
.moment figure { margin-top: auto; padding-top: var(--esp, 100px); }
.moment img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; background: var(--surface); }
.moment figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 8px; }

/* ----- tarifs : un grand tableau ----- */
.tarifs table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tarifs th, .tarifs td { text-align: left; vertical-align: top; padding: 20px 18px; font-size: var(--step-lead); line-height: 1.32; letter-spacing: -0.015em; font-weight: 400; }
.tarifs thead th { vertical-align: bottom; padding-bottom: 28px; }
.tarifs thead th:first-child { width: 31%; }
.tarifs thead h2 { font-size: var(--step-head); }
.tarifs .plan { display: block; font-size: var(--step-plan); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.tarifs .prix { display: block; font-size: var(--step-plan); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; }
.tarifs .prix small { font-size: var(--step-body); letter-spacing: -0.01em; }
.tarifs tbody tr:nth-child(odd) { background: var(--surface); }
.tarifs tbody th { color: var(--muted); }
.tarifs .reco { background: var(--accent); color: var(--accent-ink); }
.tarifs tbody tr:nth-child(odd) .reco { background: #4d8ff2; }
.tarifs tfoot td { padding-top: 24px; }
.tarifs tfoot .btn { width: 100%; justify-content: center; }
.tarifs .reco .btn, .tarifs tfoot .reco .btn { background: var(--accent-ink); color: var(--ink); }
.plans-tel { display: none; }
.plans-tel h2 { font-size: var(--step-head); }
.plan-tel { background: var(--surface); padding: 20px; display: grid; gap: 14px; }
.plan-tel.reco { background: var(--accent); color: var(--accent-ink); }
.plan-tel .nom { font-size: var(--step-plan); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.plan-tel .prix { font-size: var(--step-plan); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-tel dl { display: grid; gap: 10px; }
.plan-tel dt { font-size: var(--step-body); color: var(--muted); }
.plan-tel.reco dt { color: #12305e; }
.plan-tel dd { font-size: var(--step-body); }
.plan-tel .btn { justify-content: center; }
.plan-tel.reco .btn { background: var(--accent-ink); color: var(--ink); }
.apres { margin-top: 40px; row-gap: 24px; }
.apres > p { grid-column: 1 / span 4; color: var(--muted); font-size: var(--step-body); }
.apres table { grid-column: 5 / -1; }

/* le devis en direct */
.devis { margin-top: clamp(72px, 8vw, 120px); background: var(--surface); padding: clamp(24px, 3vw, 48px); row-gap: 32px; }
.devis .q { grid-column: 1 / span 6; display: grid; gap: 28px; align-content: start; }
.devis .r { grid-column: 8 / -1; display: grid; gap: 18px; align-content: start; }
.devis h2 { font-size: var(--step-head); }
.devis fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.devis legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { position: relative; cursor: pointer; }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; background: var(--surface-2); font-weight: 600; font-size: var(--step-small); transition: background-color .2s, color .2s; }
.choix label:hover span { background: #262f44; }
.choix input:checked + span { background: var(--accent); color: var(--accent-ink); }
.choix input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.devis .total { font-size: var(--step-head); font-weight: 800; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.devis .detail { display: grid; gap: 6px; font-size: var(--step-body); }
.devis .detail div { display: flex; justify-content: space-between; gap: 16px; background: var(--surface-2); padding: 10px 14px; }
.devis .detail dd { font-variant-numeric: tabular-nums; font-weight: 600; text-align: right; }
.devis .note { font-size: var(--step-body); color: var(--muted); }
.devis .actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ----- aussi à l'atelier : tuiles de couleur ----- */
.atelier h2 { margin-bottom: 40px; }
.tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tuile { position: relative; }
.tuile .photo { display: block; aspect-ratio: 4 / 5; background: var(--t, #5a9bfc); overflow: hidden; }
.tuile .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.tuile:hover .photo img { transform: scale(1.03); }
.tuile h3 { margin-top: 10px; font-size: var(--step-body); }
.tuile h3 a { text-decoration: none; }
.tuile p { font-size: var(--step-body); color: var(--muted); }

/* ----- questions : l'index et une réponse ----- */
.faq { align-items: start; }
.faq .liste { grid-column: 1 / span 5; display: grid; gap: 6px; }
.faq .liste h2 { font-size: var(--step-head); margin-bottom: 24px; }
.faq .liste button { display: flex; gap: 14px; align-items: baseline; text-align: left; width: 100%; border: 0; background: none; padding: 8px 0; cursor: pointer;
  font-size: var(--step-body); color: var(--muted); font-weight: 400; transition: color .15s; }
.faq .liste button::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--muted); transform: translateY(-2px); transition: background-color .15s; }
.faq .liste button[aria-expanded="true"] { color: var(--ink); }
.faq .liste button[aria-expanded="true"]::before { background: var(--accent); }
.faq .liste button:hover { color: var(--ink); }
.faq .rep-tel { display: none; }
.faq .volet { grid-column: 7 / -1; position: sticky; top: 120px; padding-top: 80px; }
.faq .volet p { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; max-width: 32ch; transition: opacity .15s; }
.faq .volet p.change { opacity: 0; }

/* ----- contact : bande de photos, barre à trois cases ----- */
.contact { margin-top: var(--section); background: var(--accent); color: var(--accent-ink); padding-block: 48px clamp(64px, 7vw, 96px); min-height: 80svh; overflow: hidden; }
.defile { display: flex; gap: 8px; width: max-content; animation: defile 70s linear infinite; }
.defile img { height: 150px; width: auto; background: #4d8ff2; }
.contact:hover .defile { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }
.contact h2 { font-size: var(--step-head); margin-top: 72px; }
.contact .sous { margin-top: 16px; max-width: 46ch; font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; }
.formulaire { margin-top: 40px; display: grid; gap: 8px; }
.formulaire .barre { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.formulaire .champ { position: relative; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; border: 0; background: #4789ec; color: var(--accent-ink); padding: 0 20px; min-height: 96px; font-size: var(--step-body); font-weight: 600;
  border-radius: 0; appearance: none; transition: background-color .2s; }
.formulaire textarea { min-height: 120px; padding-top: 20px; resize: vertical; line-height: 1.4; }
.formulaire ::placeholder { color: var(--accent-ink); opacity: 1; font-weight: 600; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { background: #a9c9fe; outline: 3px solid var(--accent-ink); outline-offset: -3px; }
.formulaire label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.formulaire button { min-height: 96px; border: 0; background: var(--accent-ink); color: var(--ink); font-weight: 800; font-size: var(--step-lead); letter-spacing: -0.02em; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px; transition: background-color .2s, transform .2s; }
.formulaire button:hover { background: #1b2232; }
.formulaire button:active { transform: scale(.99); }
.formulaire button svg { width: 22px; height: 22px; }
.formulaire .fin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: var(--step-small); }
.formulaire .fin p:last-child { grid-column: 3; }
.formulaire .fin a { color: inherit; font-weight: 600; }
.pot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.etat-envoi { display: none; font-weight: 600; font-size: var(--step-body); }
.etat-envoi.visible { display: block; }

/* ----- pied de page : des tuiles ----- */
.pied { padding: 8px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.pied > * { background: var(--surface); padding: 20px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.pied .phrase { grid-column: span 4; }
.pied .phrase p:first-child { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.02em; }
.pied .plan { grid-column: span 3; justify-content: flex-start; }
.pied .plan a { text-decoration: none; display: block; padding: 3px 0; }
.pied .plan a:hover { color: var(--accent-2); }
.pied .heure { grid-column: span 2; }
.pied .heure b { font-size: var(--step-lead); font-weight: 600; font-variant-numeric: tabular-nums; }
.pied .mail { grid-column: span 3; }
.pied .mail a { font-size: var(--step-body); font-weight: 600; text-decoration: none; word-break: break-word; }
.pied .mail a:hover { color: var(--accent-2); }
.pied .mot { grid-column: span 8; background: var(--ink); color: var(--bg); min-height: 320px; justify-content: center; align-items: center; overflow: hidden; }
.pied .mot span { font-size: 9vw; font-weight: 800; letter-spacing: -0.06em; line-height: .8; white-space: nowrap; }
.pied .appel { grid-column: span 4; background: var(--accent); color: var(--accent-ink); min-height: 320px; text-decoration: none; transition: background-color .2s; }
.pied .appel:hover { background: var(--accent-2); }
.pied .appel b { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.pied .appel svg { width: 64px; height: 64px; align-self: flex-end; transition: transform .3s var(--ease); }
.pied .appel:hover svg { transform: translate(6px, -6px); }
.pied small { font-size: var(--step-small); color: var(--muted); }

/* WhatsApp, fixe, en texte */
.wa { position: fixed; right: var(--m); bottom: var(--m); z-index: 60; background: var(--ink); color: var(--bg); font-weight: 600; font-size: var(--step-small);
  padding: 12px 16px; text-decoration: none; display: flex; gap: 8px; align-items: center; transition: transform .2s var(--ease); }
.wa:hover { transform: translateY(-2px); }
.wa svg { width: 18px; height: 18px; }
.wa[hidden] { display: none; }

/* ----- pages de service ----- */
.p-titre { padding-top: clamp(40px, 5vw, 80px); align-items: center; row-gap: 32px; }
.p-titre .texte { grid-column: 1 / span 6; display: grid; gap: 24px; justify-items: start; }
.p-titre h1 { font-size: clamp(2.4rem, 1rem + 4.6vw, 5.6rem); }
.p-titre .fil { font-size: var(--step-small); color: var(--muted); }
.p-titre .fil a { text-decoration: none; }
.p-titre .fil a:hover { color: var(--ink); }
.p-titre .image { grid-column: 7 / -1; background: var(--surface); }
.p-titre .image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.p-titre .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bloc { row-gap: 28px; align-items: start; }
.bloc > h2 { grid-column: 1 / span 4; }
.bloc > .corps { grid-column: 5 / -1; }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 32px; }
.points { column-gap: var(--gap); row-gap: 14px; }
.points li { display: flex; gap: 14px; align-items: baseline; font-size: var(--step-body); font-weight: 600; }
.points li::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--accent); }
.etapes { display: grid; gap: 8px; }
.etapes li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); background: var(--surface); padding: 20px; }
.etapes li:nth-child(even) { background: var(--surface-2); }
.etapes h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.etapes p { color: var(--muted); font-size: var(--step-body); max-width: 60ch; }
.grille-prix { width: 100%; border-collapse: collapse; }
.grille-prix th, .grille-prix td { text-align: left; vertical-align: top; padding: 18px; font-weight: 400; }
.grille-prix tr:nth-child(odd) { background: var(--surface); }
.grille-prix th { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.3; width: 36%; }
.grille-prix td.p { font-size: var(--step-lead); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; font-variant-numeric: tabular-nums; width: 26%; }
.grille-prix td.n { color: var(--muted); font-size: var(--step-body); }
.grille-prix caption { text-align: left; font-weight: 600; padding: 0 0 14px; }
.grille-prix + .grille-prix { margin-top: 48px; }
.note-prix { margin-top: 20px; color: var(--muted); font-size: var(--step-small); max-width: 70ch; }
.autres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.autres a { display: grid; gap: 6px; align-content: start; text-decoration: none; }
.autres img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--surface); margin-bottom: 6px; transition: opacity .2s; }
.autres a:hover img { opacity: .8; }
.autres a:hover b { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.autres b { font-weight: 600; }
.autres span { color: var(--muted); font-size: var(--step-body); }
.media-tel { margin-top: 40px; max-width: 300px; }
.media-tel video { width: 100%; height: auto; display: block; background: var(--surface); }
.media-tel figcaption { font-size: var(--step-small); color: var(--muted); margin-top: 8px; }

/* ----- mouvement : entrées, une fois ----- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rv] { opacity: .4; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-rv].vu { opacity: 1; transform: none; }
  .js .titre h1 .l { display: block; overflow: hidden; padding-bottom: .06em; }
  .js .titre h1 .l > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 100ms); }
  .js .titre h1.vu .l > span { transform: none; }
  .js .cadres img { opacity: .4; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .projet.vu .cadres img { opacity: 1; transform: none; }
  .js .bandes:has(.projet:hover) .projet.vu:not(:hover) .cadres img { opacity: .35; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .defile, .flux.vivant .etape { animation: none; }
  .curseur { display: none; }
}

/* ----- tablette ----- */
@media (max-width: 1100px) {
  .bande > div { grid-column: span 6; }
  .titre h1 { grid-column: 1 / -1; }
  .titre .cote { grid-column: 1 / span 8; }
  .rail { grid-column: 1 / -1; position: static; grid-template-columns: auto 1fr; align-items: center; }
  .apercu { display: none; }
  .bandes { grid-column: 1 / -1; }
  .preuves > h2, .module { margin-left: 0; }
  .chiffres h2, .chiffres dl { grid-column: 1 / -1; }
  .apres > p, .apres table { grid-column: 1 / -1; }
  .devis .q, .devis .r { grid-column: 1 / -1; }
  .devis { row-gap: 96px; }
  .fleches { display: none; }
  .formulaire .fin { grid-template-columns: 1fr; }
  .formulaire .fin p:last-child { grid-column: 1; }
  .tuiles { grid-template-columns: repeat(2, 1fr); }
  .bloc > h2, .bloc > .corps { grid-column: 1 / -1; }
  .p-titre .texte, .p-titre .image { grid-column: 1 / -1; }
  .autres { grid-template-columns: repeat(2, 1fr); }
  .pied .phrase { grid-column: span 6; } .pied .plan { grid-column: span 6; } .pied .heure { grid-column: span 6; } .pied .mail { grid-column: span 6; }
  .pied .mot, .pied .appel { grid-column: 1 / -1; }
  .pied .mot span { font-size: 15vw; }
}

@media (max-width: 1000px) {
  .tarifs table { display: none; }
  .plans-tel { display: grid; gap: 12px; }
}

/* ----- téléphone ----- */
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: fixed; left: 0; right: 0; top: var(--haut, 68px); background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--m) 20px;
    font-size: 1.125rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.ouvert { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .nav a:not(.btn) { padding: 14px 0; }
  .nav .btn { margin-top: 12px; min-height: 52px; justify-content: center; font-size: 1.0625rem; }
  .voile { position: fixed; inset: 0; z-index: 40; background: rgba(10, 13, 20, .6); }
  .bande { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .bande > div { grid-column: span 1; }
  .bande > .qui { grid-column: 1 / -1; }
  .ouverture { display: flex; flex-direction: column; }
  .ouverture .titre { order: -1; padding-top: 40px; }
  .ouverture .bande { padding-top: 64px; }
  .titre .cote { grid-column: 1 / -1; }
  .titre h1 { font-size: clamp(2.4rem, 10.4vw, 3.4rem); }
  .rail { grid-template-columns: 1fr; gap: 10px; }
  .bandes { gap: 36px; }
  .cadres { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--m) * -1); padding-right: var(--m); scrollbar-width: none; }
  .cadres::-webkit-scrollbar { display: none; }
  .cadres img { height: 150px; scroll-snap-align: start; flex: none; }
  .legende { grid-template-columns: 1fr auto; }
  .legende .genre { display: none; }
  .chiffres dl { grid-template-columns: 1fr 1fr; }
  .module { grid-template-columns: 1fr; gap: 16px; }
  .fleches { display: none; }
  .moment { flex-basis: 72vw; }
  .rangee { gap: 16px; }
  .tuiles { gap: 8px; }
  .faq .liste, .faq .volet { grid-column: 1 / -1; }
  .faq .volet { display: none; }
  .faq .rep-tel { display: block; padding: 4px 0 14px 22px; font-size: 1.1875rem; line-height: 1.35; }
  .faq .rep-tel[hidden] { display: none; }
  .defile img { height: 110px; }
  .contact h2 { font-size: 9.4vw; margin-top: 48px; }
  .contact { padding-bottom: 160px; }
  .formulaire .barre { grid-template-columns: 1fr; }
  .formulaire input, .formulaire select, .formulaire button { min-height: 60px; }
  .formulaire .fin { grid-template-columns: 1fr; }
  .formulaire .fin p:last-child { grid-column: 1; }
  .pied { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .pied > * { grid-column: span 1 !important; min-height: 160px; }
  .pied .mot, .pied .appel { grid-column: 1 / -1 !important; min-height: 160px; }
  .pied .mot { order: -2; } .pied .appel { order: -1; }
  .pied .plan { order: 1; } .pied .mail { order: 2; } .pied .heure { order: 3; } .pied .phrase { order: 4; }
  .pied .phrase p:first-child { font-size: 1.125rem; }
  .pied .mail a { font-size: 1rem; }
  .p-titre .texte, .p-titre .image { grid-column: 1 / -1; }
  .bloc > h2, .bloc > .corps { grid-column: 1 / -1; }
  .points { grid-template-columns: 1fr; }
  .etapes li { grid-template-columns: 1fr; gap: 6px; }
  .grille-prix, .grille-prix tbody, .grille-prix tr, .grille-prix th, .grille-prix td { display: block; width: auto !important; }
  .grille-prix th, .grille-prix td { padding: 4px 16px; }
  .grille-prix tr { padding: 12px 0; }
  .autres { grid-template-columns: 1fr 1fr; }
  .wa { width: 52px; height: 52px; padding: 0; justify-content: center; font-size: 0; }
  .wa svg { width: 24px; height: 24px; }
}
