/* =========================================================
   Garage B.T.F. 3 — Édition « Portes 6 et 7 »
   Palette : asphalte, acier, béton, craie, signal (jaune de sécurité), feu (rouge arrière)
   ========================================================= */
@font-face { font-family: "Shoulders"; src: url("../assets/fonts/bsd-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Shoulders"; src: url("../assets/fonts/bsd-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Shoulders"; src: url("../assets/fonts/bsd-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --asphalte: #15181c;
  --acier: #252c33;
  --acier-2: #323b44;
  --beton: #cdc8bf;
  --beton-2: #bdb7ac;
  --craie: #eeeae2;
  --gris: #9aa2aa;
  --signal: #f4b000;
  --signal-2: #ffc933;
  --feu: #d4332a;

  --display: "Shoulders", "Arial Narrow", Impact, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--asphalte); color: var(--craie);
  font-family: var(--text); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--asphalte); padding: 10px 16px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- typographie ---------- */
.h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 6rem); line-height: .9; letter-spacing: -.01em;
  margin-bottom: .45em; max-width: 14ch;
}
.h3 { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1; text-transform: uppercase; margin-bottom: .5em; }

/* ---------- boutons ---------- */
.btn {
  --b: var(--signal);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border: 2px solid var(--b); border-radius: 2px;
  font-weight: 700; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease-out), border-color .3s, transform .2s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b); transform-origin: bottom; transition: transform .45s var(--ease-out); }
.btn--signal { background: transparent; color: var(--asphalte); }
.btn--signal::before { transform: scaleY(1); }
.btn--signal:hover::before { transform: scaleY(0); }
.btn--signal:hover { color: var(--signal); }
.btn--ghost { --b: currentColor; background: transparent; color: var(--craie); border-color: rgba(238,234,226,.5); }
.btn--ghost::before { background: var(--craie); transform: scaleY(0); }
.btn--ghost:hover { color: var(--asphalte); border-color: var(--craie); }
.btn--ghost:hover::before { transform: scaleY(1); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 1.1em; font-size: .95rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: background .35s, box-shadow .35s, transform .4s var(--ease-out);
}
.nav.is-solid { background: rgba(21,24,28,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(238,234,226,.08); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900; font-size: 1.9rem; letter-spacing: .02em; line-height: 1; }
.nav__mark { width: 34px; height: 34px; color: var(--craie); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; padding: 6px 0; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; position: relative; }
.nav__toggle i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--craie); transition: transform .35s var(--ease-out); }
.nav__toggle i:nth-of-type(1) { top: 19px; } .nav__toggle i:nth-of-type(2) { top: 28px; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 6px; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; background: var(--asphalte);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s;
    background-image: repeating-linear-gradient(180deg, transparent 0 58px, rgba(238,234,226,.05) 58px 60px);
  }
  .nav__links.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease); }
  .nav__links a:not(.btn) { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 12vw, 4rem); text-transform: uppercase; line-height: 1.05; }
  .nav__links .btn { margin-top: 24px; min-height: 56px; font-size: 1.05rem; }
}

/* =========================================================
   ACCUEIL — les portes 6 et 7 s'ouvrent
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; background: #0d0f12; overflow: hidden; }
.hero__scene { position: absolute; inset: 0; }
/* scène : voir le bloc « ACCUEIL v2 » plus bas */
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,15,18,.75) 0%, rgba(13,15,18,0) 22%, rgba(13,15,18,0) 45%, rgba(13,15,18,.92) 100%),
              linear-gradient(90deg, rgba(13,15,18,.8) 0%, rgba(13,15,18,0) 60%); }

.doors { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr clamp(14px, 2.4vw, 40px) 1fr; z-index: 3; pointer-events: none;
  padding-top: var(--nav-h); background: linear-gradient(180deg, #1c2026 0, #1c2026 var(--nav-h), transparent var(--nav-h)); }
.door {
  position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 8%, transparent 92%, rgba(0,0,0,.45)),
    repeating-linear-gradient(180deg, #59626c 0 2px, #48515a 2px 30px, #3c444c 30px 34px, #2b3138 34px 36px);
  transform: translateY(0);
  box-shadow: inset 0 -30px 60px rgba(0,0,0,.5);
}
.door::after { /* fente de lumière au sol */
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,220,150,.9), transparent); filter: blur(2px); opacity: .9;
}
.door__num {
  position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 900; line-height: .8; color: var(--craie);
  font-size: clamp(9rem, 36vw, 30rem); opacity: .9;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
  -webkit-text-stroke: 0;
}
.door__stripe { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(26px, 5vh, 46px);
  background: repeating-linear-gradient(-45deg, var(--signal) 0 22px, #111 22px 44px); box-shadow: 0 -3px 0 #2b3138; }
.door__pillar { background: linear-gradient(90deg, #8d877c, var(--beton) 40%, #a59f94); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }

.doors { transition: background-color .4s; }
.is-open .doors { background: none; transition: background 0s 1.3s; }
.door__pillar { transition: opacity .4s; }
.is-open .door__pillar { transition: opacity .6s 1.2s; opacity: 0; }

.hero__content {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 7vh, 80px);
  max-width: var(--max);
}
.hero__address { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; font-weight: 600; margin-bottom: 14px; color: var(--craie); }
.hero__doors-tag { display: inline-block; padding: 4px 10px; background: var(--signal); color: var(--asphalte); font-weight: 800; border-radius: 2px; }
.hero__title { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .78; letter-spacing: -.015em; margin-bottom: 22px; }
.hero__line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__line > span { display: block; }
.hero__line:first-child { font-size: clamp(2.6rem, 2rem + 4vw, 6rem); font-weight: 800; color: var(--signal); }
.hero__line--big { font-size: clamp(6.2rem, 2rem + 19vw, 21rem); }
.hero__lead { max-width: 44ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(238,234,226,.88); }
.hero__address, .hero__lead, .hero__cta { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .9s var(--ease-out); }
.is-open .hero__address { opacity: 1; transform: none; transition-delay: 1.85s; }
.is-open .hero__lead { opacity: 1; transform: none; transition-delay: 2s; }
.is-open .hero__cta { opacity: 1; transform: none; transition-delay: 2.15s; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__replay { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(28px, 7vh, 80px); background: none; border: 0; color: rgba(238,234,226,.7); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px 0; opacity: 0; transition: opacity .6s 2s, color .2s; }
.is-open .hero__replay { opacity: 1; }
.hero__replay:hover { color: var(--signal); }

/* sans JS : portes ouvertes */
html:not(.js) .door { transform: translateY(-130%); } html:not(.js) .doors { background: none; }
html:not(.js) .hero__line > span, html:not(.js) .hero__address, html:not(.js) .hero__lead, html:not(.js) .hero__cta { transform: none; opacity: 1; }


/* =========================================================
   SECTIONS
   ========================================================= */
.sec { position: relative; padding: clamp(80px, 12vw, 170px) var(--gutter); }
.sec > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* --- le garage (acier) --- */
.garage { background: var(--acier); overflow: hidden; }
.garage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, transparent 0 46px, rgba(0,0,0,.14) 46px 48px); }
.garage__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.garage__lead { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); line-height: 1.4; font-weight: 500; max-width: 32ch; color: var(--craie); }
.garage__text > p:not(.garage__lead) { color: rgba(238,234,226,.78); max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; border-top: 2px solid var(--signal); }
.facts > div { padding: 18px 16px 0 0; }
.facts dt { font-size: .88rem; color: var(--gris); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.05; text-transform: uppercase; }
.garage__media { position: relative; margin: 0; }
.garage__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 88%, 86% 100%, 0 100%); }
.garage__plate { position: absolute; left: -22px; bottom: 34px; background: var(--craie); color: var(--asphalte); font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); padding: 6px 18px; border: 3px solid var(--asphalte); box-shadow: 0 0 0 3px var(--craie); line-height: 1; }

/* --- services (béton : section claire contrastée) --- */
.services { background: var(--beton); color: var(--asphalte);
  background-image: radial-gradient(rgba(0,0,0,.05) 1px, transparent 1px); background-size: 6px 6px; }
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(30px, 5vw, 60px); }
.services__head p { max-width: 38ch; font-size: 1.1rem; }
.svc { list-style: none; padding: 0; margin: 0 auto; border-top: 3px solid var(--asphalte); }
.svc__item { border-bottom: 1px solid rgba(21,24,28,.3); }
.svc__btn { width: 100%; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; background: none; border: 0; padding: clamp(18px, 2.4vw, 30px) 0; cursor: pointer; text-align: left; color: var(--asphalte); }
.svc__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); line-height: .95; transition: transform .45s var(--ease-out), color .3s; }
.svc__btn:hover .svc__name, .svc__item.is-open .svc__name { transform: translateX(14px); }
.svc__icon { width: 46px; height: 46px; border: 2px solid var(--asphalte); border-radius: 50%; position: relative; flex: none; transition: background .3s, transform .45s var(--ease-out); }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.svc__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease-out); }
.svc__item.is-open .svc__icon { background: var(--asphalte); color: var(--signal); transform: rotate(180deg); }
.svc__item.is-open .svc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.svc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.svc__item.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; }
.svc__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 60px); padding: 4px 0 clamp(24px, 3vw, 40px); align-items: center; }
.svc__body img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
.svc__body p { font-size: 1.12rem; max-width: 40ch; }
.svc .btn--signal { color: var(--asphalte); }
.svc .btn--signal::before { background: var(--asphalte); }
.svc .btn--signal { --b: var(--asphalte); color: var(--signal); }
.svc .btn--signal:hover { color: var(--asphalte); }
.services__note { margin-top: 28px; font-size: .95rem; color: rgba(21,24,28,.72); }

/* --- galerie (sombre) --- */
.galerie { background: var(--asphalte); }
.galerie__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 40px; margin-bottom: clamp(28px, 4vw, 50px); }
.galerie__note { color: var(--gris); font-size: .95rem; max-width: 36ch; }
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 250px); grid-auto-flow: dense; gap: clamp(8px, 1vw, 14px); }
.grid li { position: relative; }
.grid li.large { grid-column: span 2; }
.grid li.haut { grid-row: span 2; }
.grid button { position: absolute; inset: 0; padding: 0; border: 0; background: var(--acier); cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .5s; filter: saturate(.85); }
.grid button:hover img, .grid button:focus-visible img { transform: scale(1.06); filter: saturate(1.05); }
.grid button::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--signal); transition: box-shadow .3s; }
.grid button:hover::after { box-shadow: inset 0 0 0 4px var(--signal); }

/* --- rendez-vous (jaune signal, bloc fort) --- */
.rdv { background: var(--signal); color: var(--asphalte); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 90px); align-items: start; max-width: none; }
.rdv::before { content: ""; position: absolute; inset: 0 0 auto; height: 16px; background: repeating-linear-gradient(-45deg, var(--asphalte) 0 16px, var(--signal) 16px 32px); }
.rdv > * { max-width: none; margin: 0; }
@media (min-width: 1432px) { .rdv { padding-left: calc((100vw - var(--max)) / 2); padding-right: calc((100vw - var(--max)) / 2); } }
.rdv__intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.rdv__intro p { font-size: 1.12rem; max-width: 34ch; }
.rdv__steps { list-style: none; padding: 0; margin: 34px 0 0; counter-reset: s; display: grid; gap: 4px; }
.rdv__steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; opacity: .45; transition: opacity .3s; }
.rdv__steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--asphalte); border-radius: 50%; font-size: 1.1rem; }
.rdv__steps li.is-current { opacity: 1; }
.rdv__steps li.is-current::before { background: var(--asphalte); color: var(--signal); }
.rdv__steps li.is-done { opacity: .8; }

.panel { background: var(--asphalte); color: var(--craie); padding: clamp(24px, 4vw, 52px); border-radius: 3px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); position: relative; }
.form__progress { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--acier-2); border-radius: 3px 3px 0 0; overflow: hidden; }
.form__progress span { display: block; height: 100%; width: 25%; background: var(--signal); transition: width .6s var(--ease-out); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .5s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.step legend { font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); text-transform: uppercase; line-height: 1; padding: 0; margin-bottom: 26px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.opt { font-weight: 400; color: var(--gris); }
input:not([type="radio"]):not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; background: var(--acier); border: 2px solid var(--acier-2); border-radius: 2px;
  color: var(--craie); font-size: 1rem; transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--craie) 50%), linear-gradient(135deg, var(--craie) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { resize: vertical; min-height: 120px; }
input::placeholder, textarea::placeholder { color: #6f7880; }
input:hover, select:hover, textarea:hover { border-color: #4a5560; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--signal); background: #2a3139; box-shadow: 0 0 0 3px rgba(244, 176, 0, .35); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; cursor: pointer; }
.is-invalid { border-color: var(--feu) !important; }
.err { color: #ff8a80; font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hint { color: var(--gris); font-size: .88rem; margin: 6px 0 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--acier-2); border-radius: 2px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.choice input:checked + span { background: var(--signal); color: var(--asphalte); border-color: var(--signal); }
.choice input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .95rem; margin-top: 6px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--signal); flex: none; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form__actions [data-next], .form__actions [data-submit] { margin-left: auto; }
.form__status { margin: 16px 0 0; font-weight: 600; }
.form__status.ok { color: var(--signal); }
.step--done { display: none; }
.step--done.is-active { display: block; }
.step--done .h3 { color: var(--signal); }
.recap { white-space: pre-wrap; background: var(--acier); padding: 18px; border-left: 4px solid var(--signal); font-family: var(--text); font-size: .95rem; line-height: 1.55; margin: 18px 0 0; max-height: 320px; overflow: auto; }

/* --- nous trouver --- */
.trouver { background: var(--acier); }
.trouver__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: stretch; }
.addr { font-style: normal; display: flex; flex-direction: column; font-size: 1.2rem; margin-bottom: 34px; }
.addr__rue { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: .95; color: var(--signal); }
.bays { display: grid; grid-template-columns: .5fr 1fr 1fr .5fr; gap: 8px; align-items: end; max-width: 460px; margin-bottom: 34px; padding-bottom: 10px; border-bottom: 6px solid var(--beton-2); }
.bay { height: 120px; display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1; }
.bay--dim { background: repeating-linear-gradient(180deg, #3a434c 0 12px, #313941 12px 14px); opacity: .45; height: 100px; }
.bay--on { background: repeating-linear-gradient(180deg, #59626c 0 12px, #48515a 12px 14px); color: var(--craie); box-shadow: inset 0 -8px 0 var(--signal); position: relative; }
.bay--on::after { content: ""; position: absolute; left: 50%; top: -18px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); transform: translateX(-50%); box-shadow: 0 0 14px 4px rgba(244,176,0,.6); animation: pulse 2.4s ease-in-out infinite; }
.bays__cap { grid-column: 1 / -1; margin: 10px 0 0; font-weight: 600; }
@keyframes pulse { 50% { opacity: .35; } }
.trouver__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; min-height: 420px; background: #1d2227; border-radius: 3px; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map__load { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; color: var(--craie); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center;
  background:
    linear-gradient(rgba(21,24,28,.55), rgba(21,24,28,.75)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(238,234,226,.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(238,234,226,.06) 39px 40px),
    linear-gradient(115deg, transparent 46%, rgba(244,176,0,.25) 46% 48%, transparent 48%),
    linear-gradient(20deg, transparent 60%, rgba(238,234,226,.12) 60% 61.5%, transparent 61.5%),
    #1d2227; }
.map__pin { width: 26px; height: 26px; background: var(--signal); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 0 0 8px rgba(244,176,0,.2); margin-bottom: 8px; }
.map__label { font-family: var(--display); font-weight: 900; font-size: 2rem; text-transform: uppercase; }
.map__sub { color: var(--gris); font-size: .92rem; max-width: 30ch; }
.map__load:hover .map__label { color: var(--signal); }

.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 80px); margin-top: clamp(70px, 9vw, 130px); padding-top: clamp(50px, 6vw, 80px); border-top: 1px solid rgba(238,234,226,.14); }
.contact__intro p { color: rgba(238,234,226,.78); max-width: 38ch; }
.form--contact { background: var(--asphalte); }

/* --- pied de page --- */
.foot { background: #0e1013; padding: clamp(60px, 8vw, 110px) var(--gutter) 110px; overflow: hidden; }
.foot__brand { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 17.5vw, 17rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(238,234,226,.28); white-space: nowrap; max-width: var(--max); margin: 0 auto 40px; }
.foot__meta { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; gap: 24px 60px; align-items: end; color: var(--gris); }
.foot__meta nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot__meta a { text-decoration: none; color: var(--craie); }
.foot__meta a:hover { color: var(--signal); }
.foot__small { font-size: .88rem; }

/* --- barre mobile --- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    transform: translateY(140%); transition: transform .5s var(--ease-out); }
  .dock.is-visible { transform: none; }
  .dock a { display: grid; place-items: center; min-height: 54px; font-weight: 700; text-decoration: none; border-radius: 3px; background: rgba(21,24,28,.94); border: 2px solid rgba(238,234,226,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .dock .dock__main { background: var(--signal); color: var(--asphalte); border-color: var(--signal); }
}

/* --- visionneuse --- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(10,11,13,.96); color: var(--craie); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .35s ease; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-width: min(92vw, 1400px); max-height: 80dvh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; padding: 0 70px; color: var(--gris); font-size: .95rem; }
.lightbox__btn { position: absolute; width: 56px; height: 56px; border: 2px solid rgba(238,234,226,.3); background: rgba(21,24,28,.7); color: var(--craie); font-size: 2rem; line-height: 1; cursor: pointer; border-radius: 50%; display: grid; place-items: center; }
.lightbox__btn:hover { border-color: var(--signal); color: var(--signal); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

.toast { position: fixed; z-index: 90; left: 50%; bottom: 90px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--craie); color: var(--asphalte); padding: 12px 20px; border-radius: 3px; font-weight: 600; transition: opacity .3s, transform .4s var(--ease-out); max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* révélation des sections : un seul effet sobre, sur les photos */
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .garage__grid, .trouver__grid, .contact, .services__head { grid-template-columns: 1fr; }
  .rdv { grid-template-columns: 1fr; }
  .rdv__intro { position: static; }
  .rdv__steps { display: none; }
  .garage__media { max-width: 560px; }
  .garage__media img { aspect-ratio: 4 / 3; }
  .foot__meta { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:last-child { grid-column: span 2; }
  .svc__body { grid-template-columns: 1fr; }
  .svc__icon { width: 40px; height: 40px; }
  .hero__line--big { font-size: clamp(5.6rem, 36vw, 10rem); }
  .hero__lead { font-size: 1.02rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__replay { top: calc(var(--nav-h) + 8px); bottom: auto; }
  .door__num { top: 10%; }
  .map { min-height: 340px; }
  .garage__plate { left: 12px; bottom: 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 130px; padding: 0 20px; }
  .foot { padding-bottom: 120px; }
  .form__actions [data-next], .form__actions [data-submit] { margin-left: 0; flex: 1 1 100%; }
  .form__actions .btn { flex: 1 1 auto; }
}
@media (max-height: 640px) and (min-width: 761px) {
  .hero__line--big { font-size: clamp(5rem, 24vh, 12rem); }
}

/* =========================================================
   MOUVEMENT RÉDUIT
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .door { transform: translateY(-130%) !important; }
  .doors { background: none !important; }
  .door__pillar { opacity: 0 !important; }
  .hero__line > span, .hero__address, .hero__lead, .hero__cta, .hero__replay { transform: none !important; opacity: 1 !important; }
  .hero__replay { display: none; }
  .js .reveal-img { clip-path: none; }
  .bay--on::after { animation: none; }
}

/* cibles tactiles ≥ 44 px */
.nav__logo { min-height: 44px; }
.foot__meta nav a { display: inline-flex; align-items: center; min-height: 44px; }
.hero__replay { min-height: 44px; }

/* =========================================================
   ACCUEIL v2 — séquence cinématographique des portes 6 et 7
   Tout est animé en transform / opacity (composition GPU).
   ========================================================= */
.hero__photo { position: absolute; inset: -4% 0 0; container-type: size; will-change: transform; }
.hero__cam { position: absolute; inset: 0; transform-origin: 58% 62%; transform: scale(1) translate3d(0, 1.2%, 0); }
.hero__frame { --r: 1.6925; --px: 60%; --py: 60%; position: absolute; left: var(--px); top: var(--py); translate: calc(var(--px) * -1) calc(var(--py) * -1);
  width: max(100cqw, calc(100cqh * var(--r))); height: max(100cqh, calc(100cqw / var(--r))); }
.hero__frame picture, .hero__frame img { display: block; width: 100%; height: 100%; }
.hero__frame img { object-fit: cover; }
@supports not (width: 1cqw) {
  .hero__frame { inset: 0; translate: none; width: auto; height: auto; }
  .hero__frame img { object-position: 60% 60%; }
  .hl, .hl-drl, .hl-floor { display: none; }
}
/* obscurité de l'atelier : les néons s'allument */
/* éclairage : opacité de la photo sur fond noir (aucune couche plein écran ajoutée) */
.hero__frame picture { opacity: .12; }
/* phares : noyau + halo, positionnés sur la photo */
.hl { position: absolute; left: var(--x); top: var(--y); width: 6.2%; aspect-ratio: 2.6 / 1; translate: -50% -50%; rotate: var(--rot, 0deg); border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, #fff 0, rgba(220,234,255,.9) 30%, rgba(160,195,255,.35) 62%, transparent 100%); }
.hl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 360%; height: 430%; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(175,205,255,.42), rgba(175,205,255,.12) 45%, transparent 75%); }
.hl::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1100%; height: 14%; translate: -50% -50%; rotate: calc(var(--rot, 0deg) * -1);
  background: linear-gradient(90deg, transparent, rgba(190,215,255,.35) 42%, rgba(235,244,255,.7) 50%, rgba(190,215,255,.35) 58%, transparent); } /* reflet anamorphique */
.hl--a { --x: 48.3%; --y: 55.7%; --rot: 12deg; }
.hl--b { --x: 77.4%; --y: 58.2%; --rot: -6deg; }
.hl-drl { position: absolute; left: var(--x); top: var(--y); width: .55%; height: 4.6%; translate: -50% -50%; border-radius: 4px; opacity: 0;
  background: #f4f8ff; box-shadow: 0 0 10px 3px rgba(200,220,255,.75), 0 0 34px 10px rgba(160,195,255,.3); }
.hl-drl--a { --x: 45.3%; --y: 64.4%; }
.hl-drl--b { --x: 81.4%; --y: 72.6%; }
.hl-floor { position: absolute; left: 62%; top: 84%; width: 40%; height: 14%; translate: -50% -50%; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(190,212,255,.3), rgba(190,212,255,.08) 55%, transparent); }

/* lumière qui passe sous les portes en montant */
.hero__spill { position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 2; pointer-events: none; opacity: 0;
  background: linear-gradient(to top, rgba(255,214,150,.26), rgba(255,214,150,.07) 45%, transparent); }

@media (max-width: 760px) {
  .hero__frame { --r: .75; --px: 55%; --py: 50%; }
  .hl--a { --x: 45.8%; --y: 54.7%; width: 8%; }
  .hl--b, .hl-drl--b { display: none; }
  .hl-drl--a { --x: 39.3%; --y: 64%; width: .9%; }
  .hl-floor { left: 55%; top: 84%; width: 90%; }
}

/* --- ouverture --- */
.is-open .door { animation: doorUp 2.1s .15s forwards; }
.is-open .door--7 { animation-delay: .33s; }
.is-open .doors { animation: doorsNear 2.3s cubic-bezier(.5, 0, .75, 0) .15s forwards; }
.doors { transform-origin: 50% 0; }
.is-open .hero__spill { animation: spill 2.6s ease-out .2s forwards; }
.is-open .hero__frame picture { animation: lightsOn 2.5s linear .35s forwards; }
.is-open .hl { animation: hlOn 1s linear 1.25s forwards; }
.is-open .hl-drl { animation: hlOn 1s linear 1.1s forwards; }
.is-open .hl-floor { animation: fadeIn 1.4s ease-out 1.45s forwards; }
.is-open .hero__cam { animation: camIn 3.8s cubic-bezier(.22, .61, .36, 1) .25s forwards; }
.ch { display: inline-block; transform: translateY(112%); }
.is-open .ch { animation: chUp .95s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(1.4s + var(--i) * 50ms); }
.is-open .hero__line--big .ch { animation-delay: calc(1.55s + var(--i) * 70ms); }

@keyframes doorUp {
  0% { transform: translateY(0); animation-timing-function: ease-out; }
  8% { transform: translateY(-2.4%); animation-timing-function: ease-in-out; }   /* déverrouillage */
  15% { transform: translateY(-1.8%); animation-timing-function: cubic-bezier(.55, 0, .2, 1); }
  100% { transform: translateY(calc(-100% - var(--nav-h) - 60px)); }
}
@keyframes doorsNear { to { transform: scale(1.07); } }
@keyframes spill { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lightsOn {   /* néons qui s'amorcent */
  0%, 16% { opacity: .12; } 20% { opacity: .38; } 23% { opacity: .15; } 29% { opacity: .5; } 32% { opacity: .26; }
  44% { opacity: .74; } 100% { opacity: 1; }
}
@keyframes hlOn { 0% { opacity: 0; } 10% { opacity: .7; } 18% { opacity: .08; } 30% { opacity: 1; } 40% { opacity: .82; } 100% { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes camIn { from { transform: scale(1) translate3d(0, 1.2%, 0); } to { transform: scale(1.075) translate3d(0, 0, 0); } }
@keyframes chUp { from { transform: translateY(112%); } to { transform: translateY(0); } }

/* --- fermeture (bouton « Refermer les portes ») --- */
.is-closing .door { animation: doorDown 1.1s cubic-bezier(.6, 0, .3, 1) forwards; }
.is-closing .door--7 { animation-delay: .08s; }
.is-closing .hero__frame picture { animation: darkIn 1s ease-in forwards; }
.is-closing .hl, .is-closing .hl-drl, .is-closing .hl-floor { animation: fadeOut .35s ease-in forwards; }
.is-closing .hero__cam { animation: camOut 1.15s cubic-bezier(.6, 0, .3, 1) forwards; }
.is-closing .ch { animation: chDown .45s ease-in forwards; }
@keyframes doorDown { from { transform: translateY(calc(-100% - var(--nav-h) - 60px)); } to { transform: translateY(0); } }
@keyframes darkIn { from { opacity: 1; } to { opacity: .12; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes camOut { from { transform: scale(1.075); } to { transform: scale(1) translate3d(0, 1.2%, 0); } }
@keyframes chDown { from { transform: translateY(0); } to { transform: translateY(112%); } }

/* couches promues seulement pendant la séquence */
.is-animating .door, .is-animating .doors, .is-animating .hero__cam { will-change: transform; }
.is-animating .hero__frame picture, .is-animating .hl, .is-animating .hero__spill { will-change: opacity; }

/* version allégée : appareils modestes ou économie de données */
.lite .is-open .hero__frame picture { animation: darkSimple 1.6s ease-out .4s forwards; }
.lite .hl::after, .lite .hl::before, .lite .hl-floor { display: none; }
.lite .is-open .hero__cam, .lite .is-closing .hero__cam { animation: none; transform: scale(1.04); }
.lite .is-open .doors { animation: none; }
.lite .is-open .hl, .lite .is-open .hl-drl { animation: fadeIn .6s ease-out 1.2s forwards; }
@keyframes darkSimple { from { opacity: .12; } to { opacity: 1; } }

/* sans JavaScript : scène finale, éclairée */
html:not(.js) .hero__frame picture { opacity: 1; }
html:not(.js) .hl, html:not(.js) .hl-drl, html:not(.js) .hl-floor { opacity: 1; }
html:not(.js) .hero__cam { transform: none; }

/* =========================================================
   SERVICES v2 — aperçu visuel (ordinateur) + accordéon (mobile)
   ========================================================= */
.svc__item { position: relative; }
.svc__media { aspect-ratio: 16 / 10; background: var(--acier); border-radius: 2px; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.stage { display: none; }

@media (min-width: 1001px) {
  .svc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(40px, 5vw, 84px); align-items: start; }
  .svc__panel { display: none; }
  .svc__btn { padding: clamp(20px, 2.2vw, 30px) 0; }
  .svc__name { font-size: clamp(2.2rem, 1rem + 2.6vw, 3.8rem); transition: transform .5s var(--ease-out), color .35s ease; }
  .svc.has-active .svc__item:not(.is-open) .svc__name { color: rgba(21, 24, 28, .4); }
  .svc.has-active .svc__item:not(.is-open) .svc__btn:hover .svc__name { color: rgba(21, 24, 28, .75); }
  .svc__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--asphalte); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
  .svc__item.is-pending::after { transform: scaleX(.16); transition-duration: .14s; }
  .svc__item.is-open::after { transform: scaleX(1); }

  .stage { display: block; position: sticky; top: calc(var(--nav-h) + 24px); height: min(74vh, 680px); min-height: 460px; border-radius: 3px; overflow: hidden;
    background: var(--asphalte); color: var(--craie); box-shadow: 0 40px 80px -42px rgba(0, 0, 0, .65); isolation: isolate; }
  .stage__media { position: absolute; inset: 0; }
  .stage__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(13, 15, 18, .96) 0, rgba(13, 15, 18, .62) 34%, rgba(13, 15, 18, 0) 66%); }
  .stage__shot { position: absolute; inset: 0; opacity: 0; transition: opacity .75s ease; }
  .stage__shot.is-active { opacity: 1; z-index: 1; }
  .stage__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
  .stage__shot.is-zoom img { animation: kb 7s cubic-bezier(.16, 1, .3, 1) forwards; }
  @keyframes kb { from { transform: scale(1.08); } to { transform: scale(1); } }
  .stage__sweep { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translateX(-100%);
    background: linear-gradient(105deg, transparent 38%, rgba(255, 228, 170, .13) 50%, transparent 62%); }
  .stage.is-sweep .stage__sweep { animation: sweep 1.1s cubic-bezier(.4, 0, .2, 1); }
  @keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
  .stage__tag { position: absolute; z-index: 4; top: 16px; left: 16px; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 2px;
    background: rgba(21, 24, 28, .72); border: 1px solid rgba(238, 234, 226, .22); }
  .stage__idle { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; margin: 0; padding: 24px; text-align: center; color: var(--gris); }
  .stage__body { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: clamp(26px, 3vw, 44px);
    transition: opacity .28s ease, transform .45s var(--ease-out); }
  .stage__body.is-swapping { opacity: 0; transform: translateY(10px); transition-duration: .16s; }
  .stage.is-empty .stage__body { opacity: 0; pointer-events: none; }
  .stage__name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 1.3rem + 1.8vw, 3.4rem); line-height: .95; margin-bottom: .32em; }
  .stage__text { max-width: 40ch; color: rgba(238, 234, 226, .86); margin-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__frame picture { opacity: 1 !important; }
  .hl, .hl-drl, .hl-floor { opacity: 1 !important; }
  .hero__cam, .doors, .ch { transform: none !important; animation: none !important; }
  .hero__spill, .stage__sweep { display: none; }
  .stage__shot img { transform: none !important; animation: none !important; }
}

/* =========================================================
   L'UNIVERS B.T.F. — galerie (grille asymétrique conservée)
   ========================================================= */
.galerie__intro { max-width: 40ch; }
.galerie__sub { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.35; font-weight: 500; color: var(--craie); margin-bottom: .6em; }
.galerie__note { margin: 0; }
.grid button { isolation: isolate; }
.grid button:focus-visible { outline-offset: 4px; }
/* légende : titre + mention d'illustration */
.grid__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  padding: 34px 14px 12px; text-align: left; color: var(--craie); pointer-events: none;
  background: linear-gradient(to top, rgba(13, 15, 18, .85), rgba(13, 15, 18, 0)); }
.grid__title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, .8rem + .7vw, 1.6rem); line-height: 1; }
.grid__tag { flex: none; font-size: .74rem; font-weight: 600; padding: 3px 8px; border: 1px solid rgba(238, 234, 226, .35); border-radius: 2px; background: rgba(21, 24, 28, .55); }
/* coins de cadrage au survol */
.grid button::before { content: ""; position: absolute; inset: 12px; z-index: 3; pointer-events: none; opacity: 0;
  background:
    linear-gradient(var(--signal), var(--signal)) left top / 22px 2px no-repeat,
    linear-gradient(var(--signal), var(--signal)) left top / 2px 22px no-repeat,
    linear-gradient(var(--signal), var(--signal)) right bottom / 22px 2px no-repeat,
    linear-gradient(var(--signal), var(--signal)) right bottom / 2px 22px no-repeat;
  transform: scale(1.04); transition: opacity .35s ease, transform .5s var(--ease-out); }
.grid button::after { display: none; }

@media (hover: hover) and (pointer: fine) {
  .grid__cap { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .5s var(--ease-out); }
  .grid button:hover .grid__cap, .grid button:focus-visible .grid__cap { opacity: 1; transform: none; }
  .grid button:hover::before, .grid button:focus-visible::before { opacity: 1; transform: scale(1); }
  /* les autres photos s'effacent légèrement pour mettre en avant celle survolée */
  .grid li { transition: opacity .45s ease; }
  .grid:hover li:not(:hover) { opacity: .55; }
}
/* tactile : légende discrète toujours visible */
@media (hover: none) {
  .grid__cap { padding: 26px 10px 9px; }
  .grid__title { font-size: 1rem; }
  .grid__tag { display: none; }
}

/* révélation unique de la grille */
.grid.is-waiting li { opacity: 0; transform: translateY(26px); }
.grid.is-revealed li { animation: tileIn .8s var(--ease-out) var(--d, 0ms) backwards; }
@keyframes tileIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* appel à l'action sous les photos */
.univers-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(28px, 3.5vw, 44px); border-top: 2px solid var(--signal); }
.univers-cta__title { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); line-height: .92; max-width: 16ch; }
@media (max-width: 760px) { .univers-cta .btn { flex: 1 1 100%; } }

@media (prefers-reduced-motion: reduce) {
  .grid.is-waiting li { opacity: 1; transform: none; }
  .grid__cap { transform: none !important; }
}

/* mobile : 2 colonnes sans trou (seul le premier duo vertical garde sa hauteur double) */
@media (max-width: 760px) {
  .grid li.haut { grid-row: span 1; }
  .grid li.haut:nth-child(2), .grid li.haut:nth-child(3) { grid-row: span 2; }
}

/* barre mobile : reste lisible au-dessus du bloc jaune du rendez-vous */
@media (max-width: 760px) { .dock .dock__main { box-shadow: 0 0 0 2px var(--asphalte); } }

.svc__media { position: relative; }
.svc__tag { position: absolute; top: 10px; left: 10px; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 2px; color: var(--craie); background: rgba(21, 24, 28, .72); border: 1px solid rgba(238, 234, 226, .22); }

.foot__version { color: var(--gris); }

/* coordonnées confirmées : téléphone et heures (à confirmer) */
.hero__tel { color: var(--craie); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(244, 176, 0, .7); padding: 6px 0 2px; }
.hero__tel:hover { color: var(--signal); }
.addr__tel { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1; color: var(--craie); text-decoration: none; align-self: flex-start; }
.addr__tel:hover { color: var(--signal); }
.addr__hours { margin: -18px 0 30px; color: var(--gris); font-size: .95rem; }
.contact__intro a { color: var(--signal); font-weight: 700; }
.foot__meta a[href^="tel"] { color: var(--craie); }
@media (max-width: 760px) {
  .dock { grid-template-columns: auto 1.3fr 1fr; }
  .dock .dock__call { padding: 0 16px; }
}

/* finale : relecture croisée */
/* services : espace garanti entre le titre actif et le rond, alignement constant sur mobile */
.svc__btn { gap: clamp(20px, 3vw, 40px); }
.svc__name { min-width: 0; }
@media (max-width: 1000px) {
  .svc__btn:hover .svc__name, .svc__item.is-open .svc__name { transform: none; }
  .svc__item.is-open .svc__name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
}
@media (min-width: 1001px) {
  .svc__name { font-size: clamp(2rem, .9rem + 2.3vw, 3.5rem); }
}
/* accueil mobile : « Refermer les portes » discret, sous les boutons, après le contenu */
@media (max-width: 760px) {
  .hero__content { bottom: calc(clamp(28px, 7vh, 80px) + 40px); }
  .hero__replay { top: auto; bottom: 14px; right: var(--gutter); font-size: .85rem; }
}
