/* EMD Habitat — feuille de style unique du site */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ardoise, pierre, terre cuite, bois */
  --ink: #1d2124;
  --ink-2: #272c30;
  --ink-3: #343a3f;
  --stone: #ece7df;
  --stone-2: #ddd5c8;
  --paper: #f8f6f2;
  --white: #ffffff;
  --tile: #a3462a;
  --tile-dark: #85371f;
  --tile-light: #e7a68d;
  --wood: #6b4a33;
  --muted: #586066;
  --muted-light: #b9b3aa;
  --line: rgba(29, 33, 36, 0.14);
  --line-strong: rgba(29, 33, 36, 0.28);
  --line-light: rgba(255, 255, 255, 0.16);

  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 44px);
  --section: clamp(72px, 9vw, 132px);
  --header-h: 76px;
  --radius: 3px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tile); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--tile); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.012em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.55rem, 1.5rem + 4.3vw, 5.1rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.35rem); line-height: 1.06; }
h3 { font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem); line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--tile); font-weight: 400; }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--tile-light); }
.kicker {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tile);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; flex: none; }
.on-dark .kicker { color: var(--tile-light); }
.lead { font-size: clamp(1.06rem, 1rem + 0.3vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }
.on-dark .lead { color: rgba(255, 255, 255, 0.82); }
.small { font-size: 14px; color: var(--muted); }
.on-dark { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 24px;
  border: 1.5px solid var(--bg);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn::after { /* reflet discret au survol */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { --bg: var(--tile); }
.btn-primary:hover { --bg: var(--tile-dark); }
.btn-dark:hover { --bg: var(--ink-3); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost { --fg: #fff; border-color: rgba(255, 255, 255, 0.45); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-call { flex-direction: row; text-align: left; padding-block: 8px; }
.btn-call .btn-call-txt { display: flex; flex-direction: column; gap: 1px; }
.btn-call .btn-call-label { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.85; }
.btn-call .btn-call-num { font-size: 18px; letter-spacing: 0.02em; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--tile);
  padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
a:hover .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: #fff; border-color: var(--tile-light); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--ink);
  background: rgba(248, 246, 242, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.site-header[data-over]:not(.is-scrolled):not(.menu-open) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-color: transparent;
  color: #fff;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 38px; height: 34px; color: var(--tile); }
.site-header[data-over]:not(.is-scrolled):not(.menu-open) .brand-mark { color: var(--tile-light); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: 0.06em; }
.brand-name i { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; font-size: 21px; margin-left: 3px; }
.brand-sub { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; margin-top: 5px; }

.nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 30px); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); list-style: none; }
.nav-links a { position: relative; display: block; padding: 8px 0; font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  background: var(--tile);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-header[data-over]:not(.is-scrolled) .nav-links a::after { background: var(--tile-light); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.header-tel { min-height: 46px; padding: 8px 18px; font-size: 15.5px; letter-spacing: 0.02em; }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span { position: relative; display: block; width: 24px; height: 1.5px; background: currentColor; transition: background 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease); }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }
.header-tel-mini { display: none; }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--paper);
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.mobile-menu ul { list-style: none; border-top: 1px solid var(--line); }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.75rem; line-height: 1.2; }
.mobile-menu li a[aria-current="page"] { color: var(--tile); }
.mobile-menu li a svg { width: 22px; height: 22px; flex: none; color: var(--tile); }
.mobile-menu .cta-row { flex-direction: column; }
.mobile-menu .btn { width: 100%; }
.mobile-menu-info { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* ---------- Accueil : grand visuel ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 21, 23, 0.86) 0%, rgba(18, 21, 23, 0.62) 46%, rgba(18, 21, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 21, 23, 0.7) 0%, rgba(18, 21, 23, 0) 45%),
    linear-gradient(180deg, rgba(18, 21, 23, 0.55) 0%, rgba(18, 21, 23, 0) 22%);
}
.hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(120px, 15vh, 168px); }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: 24px; max-width: 54ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin-top: 30px; font-size: 15px; color: rgba(255, 255, 255, 0.86); }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts a { border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: border-color 0.3s; }
.hero-facts a:hover { border-color: #fff; }
.hero-facts svg { width: 17px; height: 17px; flex: none; }
.stars { position: relative; display: inline-flex; vertical-align: -2px; }
.stars-bg, .stars-fg { display: flex; gap: 2px; }
.stars-bg { color: rgba(127, 127, 127, 0.4); }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #e9b44c; }
.stars svg { width: 15px; height: 15px; flex: none; }
.btn-link { background: none; border: 0; border-bottom: 1.5px solid var(--tile); padding: 0 0 3px; font-weight: 600; color: var(--ink); cursor: pointer; }
.hero-credit { position: absolute; z-index: 1; right: var(--gutter); bottom: 112px; margin: 0; font-size: 12px; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.7); writing-mode: vertical-rl; transform: rotate(180deg); }

/* bande des trois métiers, à cheval sur le visuel */
.service-strip { position: relative; z-index: 2; margin-top: -84px; }
.service-strip ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(20, 22, 24, 0.45); }
.service-strip li + li { border-left: 1px solid var(--line); }
.service-strip a { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px 28px 28px; transition: background 0.35s var(--ease); }
.service-strip a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--tile); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.service-strip a:hover { background: var(--white); }
.service-strip a:hover::before { transform: scaleX(1); }
.service-strip .strip-title { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.service-strip .strip-title svg { width: 20px; height: 20px; color: var(--tile); transition: transform 0.35s var(--ease); }
.service-strip a:hover .strip-title svg { transform: translateX(4px); }
.service-strip .strip-txt { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { justify-self: end; }
.section-head--single { grid-template-columns: 1fr; max-width: 820px; }
.section-head--single .lead { justify-self: start; margin-top: 4px; }

/* métiers (accueil) */
.metiers { border-top: 1px solid var(--line-strong); }
.metier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); padding-block: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line-strong); align-items: center; }
.metier-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone-2); border-radius: var(--radius); }
.metier-media img, .metier-media svg { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.metier-media--drawing { background: var(--stone); }
.metier-media--drawing svg { object-fit: contain; padding: 6%; }
.metier:hover .metier-media img, .metier:hover .metier-media svg { transform: scale(1.035); }
.metier-tag { position: absolute; left: 12px; bottom: 12px; z-index: 1; background: rgba(248, 246, 242, 0.92); color: var(--ink); font-size: 12px; letter-spacing: 0.06em; padding: 5px 10px; border-radius: 2px; }
.metier h3 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); margin-bottom: 14px; }
.metier p { color: var(--muted); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 26px; }
.tags li { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 40px; background: rgba(255, 255, 255, 0.5); }
.tags a { display: block; }
.tags li:has(a):hover { border-color: var(--tile); color: var(--tile); }

/* avant / après */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vw, 16px); }
.ba figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--stone-2); }
.ba img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4.6; }
.ba-tag { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 12px; border-radius: 2px; background: rgba(29, 33, 36, 0.86); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.ba-tag--after { background: var(--tile); }
.ba button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ba button:focus-visible { outline: 2px solid var(--tile); outline-offset: -4px; }
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feature--reverse .feature-media { order: 2; }
.feature-body h2 { margin-bottom: 22px; }
.feature-body > p { color: var(--muted); }
.on-dark .feature-body > p { color: rgba(255, 255, 255, 0.78); }
.figure-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.on-dark .figure-note { color: var(--muted-light); }

/* citation */
.quote { margin: 30px 0 32px; padding-left: 22px; border-left: 2px solid var(--tile); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.32rem; line-height: 1.45; font-style: italic; }
.quote figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.on-dark .quote figcaption { color: var(--muted-light); }

/* frise de chantier */
.frise { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; counter-reset: etape; }
.frise::before, .frise::after { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line-light); }
.frise::after { background: var(--tile-light); transform: scaleX(var(--p)); transform-origin: left; }
.frise-step { position: relative; padding-top: 44px; }
.frise-dot { position: absolute; top: 0; left: 0; z-index: 1; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, 0.35); transition: background 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease); }
.frise-step.is-on .frise-dot { background: var(--tile-light); border-color: var(--tile-light); transform: scale(1.1); }
.frise-step h3 { font-size: 1.55rem; margin-bottom: 12px; }
.frise-step p { color: rgba(255, 255, 255, 0.76); font-size: 16px; }

/* avis */
.avis-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.note-google { position: sticky; top: calc(var(--header-h) + 32px); }
.note-google .note-big { color: var(--ink); margin: 0; font-family: var(--serif); font-size: clamp(4.5rem, 3rem + 5vw, 7rem); line-height: 0.9; letter-spacing: -0.03em; }
.note-big small { font-size: 0.32em; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.note-google .stars { margin: 18px 0 12px; }
.note-google .stars svg { width: 22px; height: 22px; }
.note-google p { color: var(--muted); font-size: 15px; }
.note-google .link-arrow { margin-top: 18px; }
.avis-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.avis { margin: 0; padding: clamp(26px, 3.5vw, 40px) 0; border-bottom: 1px solid var(--line-strong); }
.avis blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; }
.avis--main blockquote { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.38; }
.avis figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.avis figcaption strong { color: var(--ink); font-weight: 600; }

/* bande contact sombre */
.cta-band { position: relative; overflow: hidden; }
.cta-band-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: end; }
.cta-band h2 { max-width: 15ch; }
.cta-band .lead { margin-top: 20px; }
.infos { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.infos li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 15.5px; }
.infos .infos-k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); padding-top: 3px; }
.infos a { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.infos a:hover { border-color: #fff; }
.section--stone .infos, .contact-aside .infos { border-color: var(--line-strong); }
.section--stone .infos li, .contact-aside .infos li { border-color: var(--line-strong); }
.section--stone .infos .infos-k, .contact-aside .infos .infos-k { color: var(--muted); }
.section--stone .infos a, .contact-aside .infos a { border-color: var(--line-strong); }
.horaires { list-style: none; display: grid; gap: 2px; }
.horaires li { display: flex; justify-content: space-between; gap: 16px; padding: 0; border: 0; grid-template-columns: none; font-size: 15px; }

/* ---------- Pages intérieures ---------- */
.page-head { background: var(--stone); padding-top: calc(var(--header-h) + clamp(36px, 6vw, 72px)); padding-bottom: clamp(48px, 7vw, 96px); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-head--text .page-head-grid { grid-template-columns: minmax(0, 1fr); }
.page-head--text .page-head-grid > div { max-width: 900px; }
.page-head h1 { max-width: 14ch; }
.page-head .lead { margin-top: 24px; }
.crumbs { margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { border-bottom: 1px solid var(--line-strong); }
.crumbs a:hover { color: var(--ink); border-color: var(--ink); }
.page-head-media { margin: 0; }
.page-head-media .frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--stone-2); }
.page-head-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.page-head-media--wide img { aspect-ratio: 4 / 3.3; }
.page-head-media figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.drawing-frame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(14px, 2.4vw, 28px); }
.drawing-frame svg { width: 100%; height: auto; }
.dessins { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); max-width: 980px; }
.dessins figure { margin: 0; min-width: 0; }
.glisser { display: none; }

/* liste des prestations */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.split-aside h2 { margin-bottom: 20px; }
.split-aside p { color: var(--muted); }
.presta-list { border-top: 1px solid var(--line-strong); }
.presta { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 40px; padding: clamp(26px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--line-strong); }
.presta h3 { font-size: clamp(1.45rem, 1.25rem + 0.7vw, 1.85rem); }
.presta p { color: var(--muted); }
.presta .presta-note { margin-top: 12px; font-size: 14.5px; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--tile); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--tile), var(--tile)) center / 100% 1.5px no-repeat, linear-gradient(var(--tile), var(--tile)) center / 1.5px 100% no-repeat; transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }

/* liens vers les autres métiers */
.autres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.autres a { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line-strong); transition: color 0.3s; }
.autres a + a { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.autres .autres-t { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.autres .autres-t svg { width: 20px; height: 20px; color: var(--tile); flex: none; transition: transform 0.35s var(--ease); }
.autres a:hover .autres-t svg { transform: translateX(4px); }
.autres p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Réalisations ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 5vw, 56px); }
.filtre { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line-strong); border-radius: 40px; background: transparent; cursor: pointer; font-size: 15px; font-weight: 500; transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease); }
.filtre:hover { border-color: var(--ink); }
.filtre[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filtre .nb { margin-left: 6px; opacity: 0.6; font-variant-numeric: tabular-nums; }
.projets { display: grid; gap: clamp(56px, 8vw, 104px); }
.projet { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.projet:nth-child(even) .projet-media { order: 2; }
.projet[hidden] { display: none; }
.projet.is-entering { animation: projet-in 0.6s var(--ease) both; }
@keyframes projet-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.projet-single { margin: 0; }
.projet-single button { all: unset; display: block; width: 100%; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); }
.projet-single img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--ease); }
.projet-single button:hover img { transform: scale(1.03); }
.projet-body h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); margin: 14px 0 18px; }
.projet-body p { color: var(--muted); }
.projet-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.projet-tags li { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tile); }
.projet-tags li + li::before { content: "·"; margin-right: 8px; color: var(--muted); }
.ba img:hover { transform: none; }
.galerie-note { margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); max-width: 70ch; }

/* visionneuse */
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(16, 18, 20, 0.94); color: #fff; }
.lightbox::backdrop { background: rgba(16, 18, 20, 0.7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 0.3s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lb-top { display: flex; justify-content: flex-end; padding: 12px; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lb-cap { padding: 14px var(--gutter) 22px; text-align: center; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: rgba(0, 0, 0, 0.3); color: #fff; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); box-shadow: 0 30px 60px -48px rgba(20, 22, 24, 0.5); }
.form-card h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin-bottom: 10px; }
.form-card > p { color: var(--muted); }
.form { display: grid; gap: 18px; margin-top: 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 16px; /* évite le zoom automatique d'iOS */
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 3px rgba(163, 70, 42, 0.16); }
.field [aria-invalid="true"] { border-color: #b3261e; background: #fdf4f3; }
.field-error { font-size: 13.5px; color: #b3261e; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.envoi-info { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px 18px; background: var(--stone); border-radius: var(--radius); font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }
.envoi-info svg { width: 20px; height: 20px; color: var(--tile); margin-top: 2px; }
.envoi-info strong { color: var(--ink); }
.form .btn { justify-self: start; }
.form-result { padding: 22px; border: 1px solid var(--line-strong); border-left: 3px solid var(--tile); border-radius: var(--radius); background: var(--paper); }
.form-result h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-result h3:focus { outline: none; }
.form-result p { color: var(--muted); font-size: 15.5px; }
.form-result textarea { width: 100%; min-height: 150px; margin: 14px 0; padding: 12px; font-size: 15px; line-height: 1.5; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); resize: vertical; }
.form-result .cta-row { margin-top: 6px; }
.contact-aside { display: grid; gap: 28px; }
.contact-tel { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.contact-tel:hover { color: var(--tile); }
.map-frame { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--stone-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.35) contrast(1.02); }
.map-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; font-size: 14.5px; }
.map-links a { border-bottom: 1px solid var(--line-strong); }
.map-links a:hover { border-color: var(--ink); }

/* mentions légales */
.legal { max-width: 780px; }
.legal h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-3); }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.a-completer { background: #f6e3b4; padding: 1px 6px; border-radius: 2px; font-size: 0.94em; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding-top: clamp(64px, 8vw, 104px); font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px 48px; padding-bottom: clamp(48px, 6vw, 72px); }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { color: var(--tile-light); }
.footer-about { margin-top: 22px; max-width: 34ch; color: rgba(255, 255, 255, 0.7); }
.footer-tel { display: inline-block; margin-top: 22px; font-family: var(--serif); font-size: 1.9rem; color: #fff; border-bottom: 1px solid var(--tile-light); line-height: 1.2; }
.footer-col h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { transition: color 0.25s; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--tile-light); }
.footer-col address { font-style: normal; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--line-light); font-size: 13.5px; color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #fff; }

/* barre d'appel mobile */
.callbar { display: none; }

/* ---------- Toiture : scène épinglée pilotée par le défilement ---------- */
.dm { position: relative; height: 320vh; height: 320svh; background: var(--ink); }
.dm--photo { height: 220vh; height: 220svh; }
.dm-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.dm-poster, .dm-poster img, .dm-vid, .dm-seq { position: absolute; inset: 0; width: 100%; height: 100%; }
.dm-poster img, .dm-vid { object-fit: cover; }
.dm-vid, .dm-seq { opacity: 0; transition: opacity 0.5s var(--ease); }
.dm-stage.is-live .dm-vid, .dm-stage.is-live .dm-seq { opacity: 1; }
.dm--photo .dm-poster img { transform-origin: 62% 42%; transform: perspective(1400px) rotateX(calc(4deg - var(--dmp, 0) * 4deg)) scale(calc(1.02 + var(--dmp, 0) * 0.3)) translateY(calc(var(--dmp, 0) * -2%)); will-change: transform; }
.dm-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 18, 20, 0.78) 0%, rgba(16, 18, 20, 0.35) 45%, rgba(16, 18, 20, 0) 75%), linear-gradient(0deg, rgba(16, 18, 20, 0.6) 0%, rgba(16, 18, 20, 0) 40%); pointer-events: none; }
.dm-copy { position: absolute; left: 0; right: 0; bottom: clamp(110px, 16vh, 170px); }
.dm-copy > * { max-width: 520px; }
.dm-copy h2 { margin-bottom: 18px; }
.dm-copy p:not(.kicker) { color: rgba(255, 255, 255, 0.86); font-size: 17px; }
.dm .kicker { color: var(--tile-light); }
.dm h2 em { color: var(--tile-light); }
.dm-meter { position: absolute; left: 0; right: 0; bottom: clamp(36px, 6vh, 64px); display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.dm-bar { position: relative; flex: 0 1 260px; height: 3px; background: rgba(255, 255, 255, 0.25); border-radius: 3px; overflow: hidden; }
.dm-bar i { position: absolute; inset: 0; background: var(--tile-light); transform: scaleX(0); transform-origin: left; }
.dm-pct { font-variant-numeric: tabular-nums; min-width: 4ch; color: var(--tile-light); }
.dm-tag { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 16px); padding: 5px 10px; border-radius: 2px; background: rgba(16, 18, 20, 0.55); color: rgba(255, 255, 255, 0.85); font-size: 12px; letter-spacing: 0.04em; }

/* ---------- Effets 3D au défilement (--r : −1 entrée, 0 centre, 1 sortie ; voir site.js) ---------- */
[data-3d] { will-change: transform; }
main { overflow-x: clip; } /* les cartes qui pivotent ne doivent jamais élargir la page (clip garde l'épinglage) */
.hero-media[data-3d] img { transform: scale(calc(1.04 + var(--r, 0) * 0.12)) translateY(calc(var(--r, 0) * 5%)); }
.metier-media[data-3d] { transform: perspective(1100px) rotateY(calc(var(--r, 0) * -24deg)) rotateX(calc(var(--r, 0) * 7deg)); box-shadow: 0 40px 70px -46px rgba(20, 22, 24, 0.55); }
.metier:nth-child(even) .metier-media[data-3d] { transform: perspective(1100px) rotateY(calc(var(--r, 0) * 24deg)) rotateX(calc(var(--r, 0) * 7deg)); }
.ba[data-3d] { perspective: 1500px; }
.ba[data-3d] figure { box-shadow: 0 34px 60px -44px rgba(20, 22, 24, 0.6); }
.ba[data-3d] figure:first-child { transform-origin: 100% 50%; transform: rotateY(calc(var(--r, 0) * var(--r, 0) * 42deg)); }
.ba[data-3d] figure:last-child { transform-origin: 0% 50%; transform: rotateY(calc(var(--r, 0) * var(--r, 0) * -42deg)); }
.page-head-media .frame[data-3d], .projet-single[data-3d] { transform: perspective(1200px) rotateY(calc(var(--r, 0) * -16deg)) rotateX(calc(var(--r, 0) * 5deg)); }

/* inclinaison au survol + reflet */
[data-tilt] { position: relative; transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.45), transparent 55%); opacity: 0; transition: opacity 0.45s var(--ease); }
[data-tilt]:hover::after { opacity: 1; }
.js [data-tilt][data-reveal] { transition: transform 0.45s var(--ease), opacity 0.8s var(--ease), box-shadow 0.45s var(--ease); }
.js [data-tilt][data-reveal]:not(.is-in) { transform: perspective(900px) translateY(18px) rotateX(8deg); }
.js [data-tilt][data-reveal].is-in { transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)); }

/* ---------- Avis façon Google ---------- */
.avis-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.g-logo { width: 26px; height: 26px; flex: none; }
.g-resume { display: inline-flex; align-items: center; gap: 16px; padding: 16px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px -32px rgba(20, 22, 24, 0.5); }
.g-resume .g-logo { width: 34px; height: 34px; }
.g-resume-txt { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.g-resume-note { display: flex; align-items: center; gap: 10px; }
.g-resume-note strong { font-size: 26px; line-height: 1; color: var(--ink); font-weight: 600; }
.g-resume-voir { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; margin-left: 8px; padding-left: 18px; border-left: 1px solid var(--line); font-weight: 600; font-size: 14.5px; color: #1a73e8; }
.g-resume-voir svg { width: 16px; height: 16px; }
.g-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.g-avis { margin: 0; padding: 24px 26px 26px; background: var(--white); border: 1px solid #dadce0; border-radius: 12px; font-family: Roboto, var(--sans); box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12), 0 18px 40px -30px rgba(20, 22, 24, 0.45); }
.g-avis--long { grid-row: span 2; }
.g-head { display: flex; align-items: center; gap: 12px; }
.g-ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 600; font-size: 18px; flex: none; }
.g-who { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 13px; color: #70757a; line-height: 1.35; }
.g-who strong { font-size: 15px; color: #202124; font-weight: 600; }
.g-meta { display: flex; align-items: center; gap: 10px; margin: 14px 0 10px; font-size: 13px; color: #70757a; }
.g-stars { display: inline-flex; gap: 1px; color: #fbbc04; }
.g-stars svg { width: 16px; height: 16px; }
.g-avis blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: #3c4043; }
.g-avis--long blockquote { font-size: 16.5px; }
.g-note-bas { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* carte Google */
.map-frame--google { aspect-ratio: 4 / 3; border-radius: 10px; }
.map-frame--google iframe { filter: none; }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="img"] { opacity: 1; transform: none; clip-path: inset(0 0 8% 0); transition: clip-path 1.1s var(--ease); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal="img"] { opacity: 1; transform: none; clip-path: none; transition: none; }
  .btn::after { display: none; }
  .metier:hover .metier-media img, .projet-single button:hover img { transform: none; }
  @view-transition { navigation: none; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .header-tel { display: none; }
  .header-tel-mini { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: var(--radius); background: var(--tile); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }
  .header-tel-mini svg { width: 17px; height: 17px; }
  .nav { gap: 10px; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .section-head, .feature, .feature--reverse, .avis-wrap, .cta-band-grid, .page-head-grid, .split, .contact-grid, .projet { grid-template-columns: minmax(0, 1fr); }
  .section-head .lead { justify-self: start; }
  .feature--reverse .feature-media { order: 0; }
  .projet:nth-child(even) .projet-media { order: 0; }
  .note-google, .split-aside { position: static; }
  .metier { grid-template-columns: minmax(0, 1fr); }
  .presta { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .frise { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 40px; }
  .frise::before, .frise::after { top: 0; bottom: 0; left: 9px; right: auto; width: 2px; height: auto; }
  .frise::after { transform: scaleY(var(--p)); transform-origin: top; }
  .frise-step { padding: 0 0 36px; }
  .frise-step:last-child { padding-bottom: 0; }
  .frise-dot { left: -40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .autres { grid-template-columns: minmax(0, 1fr); }
  .autres a, .autres a + a { padding: 22px 0; border-left: 0; }
  .hero-credit { display: none; }
  .page-head-media img { aspect-ratio: 4 / 3; }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(248, 246, 242, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transition: transform 0.4s var(--ease);
  }
  .callbar.is-hidden { transform: translateY(110%); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 8px 18px; border-radius: var(--radius); font-weight: 600; white-space: nowrap; }
  .callbar svg { width: 19px; height: 19px; }
  .callbar-tel { background: var(--tile); color: #fff; font-size: 17px; letter-spacing: 0.02em; }
  .callbar-devis { border: 1.5px solid var(--ink); color: var(--ink); }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .service-strip { margin-top: 0; padding-inline: 0; }
  .service-strip ul { grid-template-columns: minmax(0, 1fr); border-inline: 0; box-shadow: none; }
  .service-strip li + li { border-left: 0; border-top: 1px solid var(--line); }
  .service-strip a { padding: 20px var(--gutter); }
  .service-strip .strip-title { font-size: 1.45rem; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 44px; }
  .hero::after { background: linear-gradient(180deg, rgba(18, 21, 23, 0.72) 0%, rgba(18, 21, 23, 0.62) 50%, rgba(18, 21, 23, 0.86) 100%); }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form .btn { justify-self: stretch; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-cap { padding-top: 70px; }
  .lb-stage img { max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); }
  .infos li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .drawing-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .drawing-scroll svg { min-width: 640px; }
  .glisser { display: block; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .g-grid { grid-template-columns: minmax(0, 1fr); }
  .g-avis--long { grid-row: auto; }
  .metier-media[data-3d], .metier:nth-child(even) .metier-media[data-3d] { transform: perspective(900px) rotateX(calc(var(--r, 0) * 16deg)) rotateY(calc(var(--r, 0) * -8deg)); }
  .dm-shade { background: linear-gradient(180deg, rgba(16, 18, 20, 0.15) 0%, rgba(16, 18, 20, 0.1) 35%, rgba(16, 18, 20, 0.82) 100%); }
  .dm-copy { bottom: 92px; }
  .dm-copy p:not(.kicker) { font-size: 15.5px; }
  .dm-meter { bottom: 28px; }
}

@media (max-width: 760px) {
  .g-resume { width: 100%; padding: 14px 16px; gap: 12px; }
  .g-resume-voir { margin-left: auto; padding-left: 12px; }
  .g-avis { padding: 20px; }
  .dm-tag { top: calc(var(--header-h) + 10px); font-size: 11px; }
}

@media (max-width: 420px) {
  .g-resume { flex-wrap: wrap; }
  .g-resume-voir { width: 100%; margin-left: 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .brand-sub { display: none; }
  .header-tel-mini .num { display: none; }
  .header-tel-mini { padding: 8px 12px; }
}
