/* ============================================================================
   RAM — Ramont Atelier Métal
   Direction : éditoriale / industrielle. Noir profond, acier, photographie.
   Polices embarquées (offline). Aucune dépendance externe.
   ========================================================================== */

@font-face { font-family:'Anton';   src:url('../fonts/anton-400.woff2')   format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Oswald';  src:url('../fonts/oswald-300.woff2')  format('woff2'); font-weight:300; font-display:swap; }
@font-face { font-family:'Oswald';  src:url('../fonts/oswald-600.woff2')  format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:'Oswald';  src:url('../fonts/oswald-700.woff2')  format('woff2'); font-weight:700; font-display:swap; }
@font-face { font-family:'Archivo'; src:url('../fonts/archivo-400.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:'Archivo'; src:url('../fonts/archivo-500.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:'Archivo'; src:url('../fonts/archivo-700.woff2') format('woff2'); font-weight:700; font-display:swap; }

:root {
  --ink:      #08080a;
  --ink-2:    #0d0d10;
  --ink-3:    #131318;
  --fg:       #eae8e3;   /* blanc chaud, plus humain qu'un blanc froid */
  --muted:    #8c8a85;
  --muted-2:  #605e5a;
  --steel:    #c9ccce;
  --line:     rgba(233,232,228,.12);
  --line-2:   rgba(233,232,228,.26);

  --f-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --f-head:    'Oswald', 'Arial Narrow', sans-serif;
  --f-text:    'Archivo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(22px, 5.5vw, 90px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain discret pour la texture (authenticité, casse le côté "lisse") */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
section { position: relative; }
.pad { padding-block: clamp(50px, 6vw, 96px); }

/* ---- Marqueur de section (catalogue) ---- */
.sec-mark {
  display: flex; align-items: center; gap: 20px;
  border-top: 1px solid var(--line-2); padding-top: 18px; margin-bottom: clamp(26px, 3.4vw, 48px);
}
.sec-mark .no { font-family: var(--f-display); font-size: 15px; color: var(--steel); letter-spacing: .05em; }
.sec-mark .lbl { font-family: var(--f-text); font-weight: 600; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.sec-mark .rule { flex: 1; height: 1px; background: var(--line); }
.sec-mark .tag { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-2); }

/* ---- Typographie ---- */
.display {
  font-family: var(--f-display); font-weight: 400; line-height: .92;
  text-transform: uppercase; letter-spacing: .005em;
}
.h-xl { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: .01em; font-size: clamp(44px, 9vw, 128px); }
.h-lg { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; line-height: 1; letter-spacing: .01em; font-size: clamp(32px, 5.4vw, 68px); }
.h-md { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; line-height: 1.02; letter-spacing: .02em; font-size: clamp(22px, 3vw, 34px); }
.lead { color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); line-height: 1.55; max-width: 60ch; }
.kicker { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---- Boutons / liens ---- */
.btn {
  display: inline-flex; align-items: center; gap: .75em;
  font-family: var(--f-text); font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 26px; border: 1px solid transparent; cursor: pointer; transition: background .3s var(--ease), color .3s, border-color .3s;
}
.btn .arw { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(5px); }
.btn--solid { background: var(--fg); color: var(--ink); }
.btn--solid:hover { background: #fff; }
.btn--line { border-color: var(--line-2); color: var(--fg); }
.btn--line:hover { border-color: var(--fg); }

.link-arw {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-text); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: border-color .3s, color .3s;
}
.link-arw .arw { transition: transform .35s var(--ease); }
.link-arw:hover { border-color: var(--fg); }
.link-arw:hover .arw { transform: translateX(5px); }

/* ============================================================================
   EN-TÊTE
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 200; transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.header.scrolled { background: rgba(8,8,10,.86); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wm { display: flex; align-items: center; }
.wm-name { font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); white-space: nowrap; }
.nav { display: flex; gap: clamp(12px, 1.3vw, 22px); }
.nav a { font-family: var(--f-text); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--muted); transition: color .25s; }
.nav a:hover { color: var(--fg); }
.header-right { display: flex; align-items: center; gap: 26px; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2px; background: var(--fg); margin: 6px 0; transition: .3s var(--ease); }

/* ============================================================================
   HERO — logo métal en grand sur fond noir
   ========================================================================== */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px var(--gutter) 90px; position: relative; overflow: hidden; }
.hero::before { /* halo acier */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 55% at 50% 42%, rgba(150,160,172,.13), transparent 70%);
}
.hero-top { position: absolute; top: 92px; left: 0; right: 0; display: flex; justify-content: space-between; padding-inline: var(--gutter); color: var(--muted); font-size: 11.5px; letter-spacing: .28em; text-transform: uppercase; z-index: 2; }
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 960px; display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(560px, 82vw); position: relative; }
.hero-logo::before { content: ""; position: absolute; inset: -14% -8%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(170,178,190,.16), transparent 72%); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
.hero-base { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.05; font-size: clamp(22px, 3.4vw, 40px); margin: 8px 0 0; max-width: 16ch; }
.hero-sub { color: var(--muted); margin: 22px 0 0; max-width: 46ch; font-size: 16px; }
.hero-name { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .32em; font-size: clamp(14px, 2.2vw, 21px); color: var(--steel); margin: 26px 0 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--muted-2); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--line-2), transparent); animation: drop 2.4s var(--ease) infinite; }
@keyframes drop { 0%,100% { opacity:.4; transform: scaleY(.7); } 50% { opacity:1; transform: scaleY(1); } }
@media (max-height: 880px) { .hero-scroll { display: none; } }

/* ============================================================================
   BANDE PHOTO pleine largeur
   ========================================================================== */
.band { position: relative; height: clamp(360px, 62vh, 640px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.04) brightness(.82); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,10,.85), rgba(8,8,10,.15) 55%, rgba(8,8,10,.55)); }
.band-cap { position: absolute; left: var(--gutter); bottom: clamp(28px, 5vw, 60px); right: var(--gutter); z-index: 2; }
.band-cap .t { max-width: 20ch; }
.band-cap .s { color: var(--steel); margin-top: 14px; font-size: 14px; letter-spacing: .04em; max-width: 44ch; }

/* ============================================================================
   CHAPITRE plein écran — « De la conception à la réalisation »
   ========================================================================== */
.chapter { position: relative; min-height: 86svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.chapter-bg { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover;
  filter: grayscale(.3) contrast(1.05) brightness(.6); transform: scale(1.06);
  animation: kenburns 26s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1.2) translate3d(-2%, -1.5%, 0); } }
.chapter-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 95% at 28% 42%, rgba(8,8,10,.28), rgba(8,8,10,.86) 78%),
              linear-gradient(180deg, rgba(8,8,10,.5), rgba(8,8,10,.28) 42%, rgba(8,8,10,.85)); }
.chapter-inner { position: relative; }
.chapter-kicker { display: inline-block; font-family: var(--f-text); font-weight: 700; font-size: 12px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--steel); }
.chapter-kicker::before { content: ""; display: inline-block; width: 34px; height: 1px; background: var(--steel);
  vertical-align: middle; margin-right: 14px; opacity: .7; }
.chapter-title { font-family: var(--f-head); text-transform: uppercase; line-height: .96; margin: 20px 0 0;
  display: flex; flex-direction: column; align-items: flex-start; }
.chapter-title .cl { display: block; }
.chapter-title .cl-1 { font-weight: 300; letter-spacing: .03em; font-size: clamp(34px, 6.6vw, 96px); color: var(--fg); }
.chapter-title .cl-2 { font-weight: 700; letter-spacing: .002em; font-size: clamp(38px, 7.2vw, 108px); color: var(--fg);
  margin-left: clamp(26px, 8vw, 150px); }
.chapter-title em { font-style: normal; color: var(--steel); }
.chapter-arrow { display: block; width: clamp(60px, 11vw, 150px); height: 2px; background: var(--steel);
  margin: clamp(12px, 1.6vw, 22px) 0 clamp(12px, 1.6vw, 22px) clamp(8px, 3vw, 44px); position: relative; opacity: .92; }
.chapter-arrow::after { content: ""; position: absolute; right: -1px; top: -6px; width: 13px; height: 13px;
  border-top: 2px solid var(--steel); border-right: 2px solid var(--steel); transform: rotate(45deg); }
.chapter-sub { color: var(--steel); margin: clamp(26px, 3vw, 42px) 0 0; max-width: 54ch;
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .chapter-bg { animation: none; transform: scale(1.04); } }

/* ============================================================================
   CONCEPTION — dessins & bureau d'études (« du plan à l'atelier »)
   ========================================================================== */
.conception-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 4vw, 60px);
  align-items: center; margin-top: clamp(30px, 4vw, 54px); }
.conception-grid > * { min-width: 0; }
.conception-fig { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line-2); background: var(--ink-2); }
.conception-fig img { width: 100%; max-width: 100%; height: auto; display: block; filter: contrast(1.06); transition: transform .9s var(--ease); }
.conception-fig:hover img { transform: scale(1.035); }
.conception-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
  font-family: var(--f-text); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel);
  background: linear-gradient(0deg, rgba(8,8,10,.9), transparent); }
.concept-points { list-style: none; margin: clamp(22px, 3vw, 32px) 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.concept-points li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.concept-points .cp-n { font-family: var(--f-display); font-size: 15px; color: var(--steel); line-height: 1.3; }
.concept-points b { display: block; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: var(--fg); }
.concept-points .d { color: var(--muted); font-size: 14.5px; }

/* ============================================================================
   PAGES D'ATTERRISSAGE (SEO local — métiers & villes)
   ========================================================================== */
.lp-hero { position: relative; min-height: 60svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding-block: clamp(96px, 15vh, 168px) clamp(38px, 6vw, 74px); }
.lp-hero-bg { position: absolute; inset: 0; z-index: -2; background-position: center; background-size: cover;
  filter: grayscale(.26) contrast(1.05) brightness(.55); }
.lp-hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,10,.6), rgba(8,8,10,.22) 42%, rgba(8,8,10,.92)); }
.lp-hero-inner { position: relative; }
.breadcrumb { font-family: var(--f-text); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--steel); }
.breadcrumb span { margin: 0 4px; color: var(--muted-2); }
.lp-kicker { display: inline-block; font-family: var(--f-text); font-weight: 700; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--steel); }
.lp-kicker::before { content: ""; display: inline-block; width: 30px; height: 1px; background: var(--steel); vertical-align: middle; margin-right: 12px; opacity: .7; }
.lp-hero .dtitle { margin-top: 16px; }
.lp-intro { color: var(--steel); max-width: 62ch; margin: 20px 0 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; }
.lp-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(26px, 3vw, 38px); }

.lp-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(26px, 4.5vw, 64px); }
.lp-block { min-width: 0; }
.lp-h { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(20px, 2.3vw, 28px); margin: 0 0 16px; }
.lp-h::after { content: ""; display: block; width: 44px; height: 2px; background: var(--steel); margin-top: 12px; opacity: .8; }
.lp-list { list-style: none; margin: 0; padding: 0; }
.lp-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--fg); font-size: 16px; }
.lp-list li span { color: var(--steel); font-family: var(--f-head); font-weight: 600; }
.lp-p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; max-width: 52ch; }

.lp-services { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line-2); padding-top: clamp(28px, 3.5vw, 48px); }
.lp-serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.lp-serv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border: 1px solid var(--line-2); color: var(--fg); font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; transition: background .25s, color .25s, border-color .25s; }
.lp-serv:hover { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.lp-serv-arw { transition: transform .3s var(--ease); }
.lp-serv:hover .lp-serv-arw { transform: translateX(5px); }

.lp-related { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; border-top: 1px solid var(--line); padding-top: 26px; }
.lp-related-lbl { font-family: var(--f-text); font-weight: 700; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted-2); }
.lp-related-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lp-related-links a { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--steel); }
.lp-related-links a:hover { color: var(--fg); }

.lp-contact-band { position: relative; padding-block: clamp(54px, 8vw, 104px); background: var(--ink-2); overflow: hidden; }
.lp-contact-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: var(--bg-img); background-size: cover; background-position: center; opacity: .12; filter: grayscale(.4); }
.lp-contact-band > * { position: relative; z-index: 1; }

/* Pied de page enrichi (colonnes prestations / zones) */
.footer-cols--wide { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(30px, 5vw, 80px); align-items: start; }
.fcol { display: flex; flex-direction: column; gap: 9px; }
.fcol-t { font-family: var(--f-text); font-weight: 700; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.fcol a { color: var(--muted); font-size: 14px; transition: color .2s; }
.fcol a:hover { color: var(--fg); }

/* ============================================================================
   L'ATELIER — spread éditorial
   ========================================================================== */
.atelier-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.atelier-grid .statement { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; font-size: clamp(28px, 3.7vw, 48px); }
.atelier-grid .statement em { font-style: normal; color: var(--muted-2); }
.atelier-grid .body p { color: var(--muted); margin: 0 0 22px; }
.atelier-grid .body p.first { color: var(--fg); font-size: 18px; }
.creed { list-style: none; padding: 0; margin: 26px 0 0; }
.creed li { padding: 16px 0; border-top: 1px solid var(--line); color: #cfcdc8; font-size: 15.5px; display: grid; grid-template-columns: 26px 1fr; gap: 14px; }
.creed li span { color: var(--steel); font-family: var(--f-head); font-weight: 600; }

.statbar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); margin-top: clamp(48px, 7vw, 90px); }
.statbar .s { padding: 30px 30px 30px 0; border-right: 1px solid var(--line); }
.statbar .s:last-child { border-right: 0; }
.statbar .n { font-family: var(--f-display); font-size: clamp(34px, 4.5vw, 60px); line-height: 1; }
.statbar .k { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 26ch; }

/* ============================================================================
   SERVICES — liste indexée + spread pros/particuliers
   ========================================================================== */
.index-list { list-style: none; padding: 0; margin: 0; }
.index-list li { display: grid; grid-template-columns: minmax(70px, .5fr) 1.3fr 2fr; gap: clamp(16px, 3vw, 50px); align-items: baseline; padding: clamp(24px, 3vw, 40px) 0; border-top: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list li:hover { padding-left: 12px; }
.index-list .ix { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 52px); color: var(--muted-2); line-height: 1; }
.index-list h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.index-list p { color: var(--muted); margin: 0; font-size: 16px; }

.spread { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(34px, 4.5vw, 60px); border-top: 1px solid var(--line-2); }
.spread .col { padding: clamp(30px, 3.5vw, 50px) clamp(28px, 3.5vw, 50px); }
.spread .col:first-child { border-right: 1px solid var(--line); }
.spread .col .h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.spread .col .h .t { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(20px, 2.2vw, 27px); }
.spread .col .h .c { color: var(--muted-2); font-size: 12px; letter-spacing: .2em; }
.spread ul { list-style: none; padding: 0; margin: 0 0 26px; }
.spread li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; color: #cfcdc8; font-size: 15.5px; }
.spread li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 1px; background: var(--steel); }
.spread .goal { color: var(--fg); font-weight: 500; font-size: 15px; }
.spread .goal b { color: var(--steel); }

/* ============================================================================
   RÉALISATIONS — galerie éditoriale
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px 30px; margin-bottom: clamp(30px, 4vw, 54px); }
.filter { background: none; border: 0; cursor: pointer; font-family: var(--f-text); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); padding: 6px 0; position: relative; transition: color .25s; }
.filter::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--fg); transition: width .3s var(--ease); }
.filter:hover { color: var(--fg); }
.filter.active { color: var(--fg); }
.filter.active::after { width: 100%; }

.gallery-group { margin-bottom: clamp(40px, 5.5vw, 80px); }
.gallery-group:last-child { margin-bottom: 0; }
.grp-head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); margin-bottom: 26px; }
.grp-head .gtitle { display: flex; align-items: baseline; gap: 16px; }
.grp-head .gno { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 34px); color: var(--muted-2); }
.grp-head h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(24px, 3vw, 40px); margin: 0; }
.grp-head .gdesc { grid-column: 2 / 3; color: var(--muted); font-size: 15px; max-width: 52ch; align-self: center; }
.grp-head .gcount { color: var(--muted-2); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }

.mosaic { columns: 3; column-gap: 18px; }
.tile { break-inside: avoid; margin-bottom: 18px; position: relative; overflow: hidden; cursor: pointer; background: var(--ink-2); }
.tile img { width: 100%; height: auto; display: block; filter: grayscale(.12) brightness(.96); transition: transform .8s var(--ease), filter .5s; }
.tile:hover img { transform: scale(1.045); filter: grayscale(0) brightness(1); }
.tile .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 40px 18px 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  background: linear-gradient(transparent, rgba(8,8,10,.82)); opacity: 0; transform: translateY(10px); transition: .4s var(--ease); }
.tile:hover .meta { opacity: 1; transform: none; }
.tile .meta .c { font-size: 13.5px; font-weight: 600; color: #fff; }
.tile .meta .plus { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.5); }
.tile .meta .plus::before, .tile .meta .plus::after { content: ""; position: absolute; top: 50%; left: 50%; background: #fff; transform: translate(-50%,-50%); }
.tile .meta .plus::before { width: 12px; height: 1.5px; }
.tile .meta .plus::after { width: 1.5px; height: 12px; }
.gallery-empty { color: var(--muted-2); }

/* Galerie tronquée : on limite l'affichage initial, le bouton déploie le reste */
.mosaic:not(.expanded) .tile:nth-child(n+10) { display: none; }
.gallery-more-wrap { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.gallery-more { display: inline-flex; align-items: center; gap: .7em; font-family: var(--f-text); font-weight: 700;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); background: none;
  border: 1px solid var(--line-2); padding: 16px 34px; cursor: pointer; transition: border-color .3s, background .3s; }
.gallery-more:hover { border-color: var(--fg); background: rgba(255,255,255,.03); }
.gallery-more .arw { transition: transform .35s var(--ease); }
.gallery-more:hover .arw { transform: translateX(5px); }

/* Badge « série » sur une réalisation qui a des photos d'atelier */
.tile .steps-badge { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; background: rgba(8,8,10,.66); backdrop-filter: blur(5px); border: 1px solid var(--line-2);
  color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.tile .steps-badge::before { content: "⧉"; font-size: 12px; color: var(--steel); line-height: 1; }
/* Lightbox : pas de flèches quand une seule image */
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* Bouton « Voir plus » — masqué sur ordinateur, visible sur mobile */
.grp-more { display: none; margin-top: 20px; width: 100%; justify-content: center; align-items: center; gap: .6em;
  font-family: var(--f-text); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); background: none; border: 1px solid var(--line-2); padding: 15px 22px; cursor: pointer; transition: border-color .3s, background .3s; }
.grp-more:hover { border-color: var(--fg); background: rgba(255,255,255,.03); }
.grp-more .arw { transition: transform .35s var(--ease); }
.grp-more:hover .arw { transform: translateX(5px); }

/* ============================================================================
   MÉTHODE — process horizontal
   ========================================================================== */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.process li { padding: 26px 22px 40px 0; border-top: 1px solid var(--line-2); position: relative; }
.process li .pn { font-family: var(--f-display); font-size: clamp(30px, 3.2vw, 46px); color: var(--muted-2); line-height: 1; }
.process li h4 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 18px; margin: 16px 0 8px; }
.process li p { color: var(--muted); font-size: 14.5px; margin: 0; }
.process li::before { content: ""; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--steel); }

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-lead .big { font-family: var(--f-display); text-transform: uppercase; line-height: .95; font-size: clamp(40px, 6vw, 88px); }
.contact-lead p { color: var(--muted); margin: 22px 0 34px; max-width: 42ch; }
.contact-lead .mail { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-head); font-weight: 600; font-size: clamp(18px, 2vw, 24px); border-bottom: 1px solid var(--line-2); padding-bottom: 8px; transition: border-color .3s; word-break: break-all; }
.contact-lead .mail:hover { border-color: var(--fg); }
.people { display: grid; }
.person { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 1px solid var(--line-2); }
.person .role { color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.person .name { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(20px, 2.2vw, 26px); margin-top: 6px; }
.person .tel { font-family: var(--f-head); font-weight: 600; font-size: clamp(18px, 1.9vw, 23px); white-space: nowrap; transition: color .25s; }
.person .tel:hover { color: var(--steel); }
.contact-info { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================================
   PIED DE PAGE
   ========================================================================== */
.footer { border-top: 1px solid var(--line-2); background: var(--ink-2); padding-block: clamp(56px, 8vw, 100px); }
.footer-logo { width: min(320px, 66vw); margin-bottom: 46px; }
.footer-logo img { width: 100%; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer-cols nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-cols nav a { color: var(--muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: color .25s; }
.footer-cols nav a:hover { color: var(--fg); }
.footer-legal { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-2); font-size: 12px; letter-spacing: .08em; }

/* ============================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6,6,8,.96); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 84vh; box-shadow: 0 40px 100px rgba(0,0,0,.7); }
.lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 13px; letter-spacing: .04em; padding: 0 20px; }
.lb-btn { position: absolute; background: none; border: 1px solid var(--line-2); color: #fff; width: 54px; height: 54px; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: rgba(255,255,255,.08); border-color: var(--fg); }
.lb-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.6; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: max(3vw, 18px); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(3vw, 18px); top: 50%; transform: translateY(-50%); }

/* ---- Révélation au scroll (sobre) ---- */
/* Garde-fou : l'effet ne s'active QUE si le JavaScript tourne (classe .js).
   Sans JS, tout le contenu reste visible. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll::after { animation: none; }
}

/* ============================================================================
   RAFFINEMENTS ÉDITORIAUX (inspiration catalogue)
   ========================================================================== */
/* Chevron devant les repères de section */
.sec-mark .lbl::before { content: "\203A\00A0\00A0"; color: var(--steel); }

/* Titre bi-graisse souligné : ligne fine + ligne grasse + filet */
.dtitle { font-family: var(--f-head); text-transform: uppercase; line-height: 1.0; margin: 0; }
.dtitle .l1 { display: block; font-weight: 300; letter-spacing: .05em; font-size: clamp(28px, 4.4vw, 56px); color: var(--fg); }
.dtitle .l2 { display: block; font-weight: 700; letter-spacing: .005em; font-size: clamp(31px, 5vw, 64px); }
.dtitle .u  { display: block; width: 66px; height: 2px; background: var(--steel); margin-top: 22px; opacity: .85; }

/* Grand chiffre « fantôme » entre crochets */
.ghost-stats { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; margin-top: clamp(30px, 4vw, 54px); }
.ghost { position: relative; padding: 20px 40px; display: inline-flex; flex-direction: column; gap: 10px; }
.ghost::before, .ghost::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18px; }
.ghost::before { left: 0; border-left: 2px solid var(--line-2); border-top: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); }
.ghost::after  { right: 0; border-right: 2px solid var(--line-2); border-top: 2px solid var(--line-2); border-bottom: 2px solid var(--line-2); }
.ghost .gn { font-family: var(--f-display); line-height: .82; font-size: clamp(72px, 13vw, 168px); color: rgba(233,232,228,.13); letter-spacing: -.01em; }
.ghost .gn em { font-style: normal; font-size: .32em; letter-spacing: .02em; margin-left: .1em; }
.ghost .gc { color: var(--muted); font-size: 14px; max-width: 22ch; }
.mini-stats { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.mini-stats li { padding: 20px 0; border-top: 1px solid var(--line); color: #c4c8ce; font-size: 15.5px; }
.mini-stats li:last-child { border-bottom: 1px solid var(--line); }
.mini-stats b { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--fg); margin-right: 10px; }

/* Bannières audiences (Professionnels / Particuliers) */
.aud-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(34px, 4.5vw, 60px); }
.aud-banner { position: relative; overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; border: 1px solid var(--line); }
.aud-banner::before { content: ""; position: absolute; inset: 0; background: var(--bg) center/cover no-repeat; filter: grayscale(.25) brightness(.5); transition: transform .8s var(--ease); }
.aud-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(8,8,10,.94)); }
.aud-banner:hover::before { transform: scale(1.05); }
.ab-in { position: relative; z-index: 1; padding: clamp(26px, 3vw, 42px); width: 100%; }
.ab-kicker { color: var(--steel); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.ab-title { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(26px, 3.4vw, 42px); margin: 4px 0 20px; line-height: 1; }
.aud-banner ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.aud-banner li { padding-left: 22px; position: relative; color: #d4d2cd; font-size: 14.5px; }
.aud-banner li::before { content: ""; position: absolute; left: 0; top: .7em; width: 11px; height: 1px; background: var(--steel); }
.ab-goal { color: var(--fg); font-size: 14px; font-weight: 500; border-top: 1px solid var(--line-2); padding-top: 16px; margin: 0; }

/* Exemples de réparations et fabrications (avant / après) */
.ex-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: end; margin-bottom: clamp(30px, 4vw, 52px); }
.ex-intro { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 42ch; }
.ex-list { border-bottom: 1px solid var(--line); }
.ex-row { display: grid; grid-template-columns: minmax(180px, 230px) 1fr; gap: clamp(20px, 3vw, 46px); align-items: center;
  padding: clamp(20px, 2.6vw, 32px) 0; border-top: 1px solid var(--line); transition: padding-left .4s var(--ease); }
.ex-row:hover { padding-left: 10px; }
.ex-text h3 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 17px; line-height: 1.15; margin: 0 0 10px; }
.ex-text p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }
.ex-ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.ex-img { position: relative; overflow: hidden; margin: 0; background: var(--ink-2); border: 1px solid var(--line); }
.ex-img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; filter: grayscale(.05) contrast(1.03); transition: transform .7s var(--ease); }
.ex-img:hover img { transform: scale(1.04); }
.ex-tag { position: absolute; top: 0; left: 0; z-index: 2; background: rgba(8,8,10,.74); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 5px 11px; }
.ex-arrow { color: var(--steel); font-family: var(--f-head); font-size: 20px; }

/* Fond d'ambiance très discret derrière une section (texture métal) */
.section-bg { position: relative; }
.section-bg::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: var(--bg-img) center/cover no-repeat; opacity: .14; }
.section-bg::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 50% 50%, transparent, rgba(8,8,10,.6)); }
.section-bg > * { position: relative; z-index: 1; }

/* ============================================================================
   CONTACT RAPIDE (permanent) — conseil & devis
   ========================================================================== */
.quick-contact { position: fixed; z-index: 150; right: 20px; bottom: 20px; width: 300px; overflow: hidden;
  background: rgba(13,13,16,.92); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 16px 44px rgba(0,0,0,.55); }
.qc-info { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.qc-role { display: block; color: var(--steel); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.qc-name { display: block; font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; margin-top: 2px; }
.qc-actions { display: grid; grid-template-columns: 1fr auto; }
.qc-btn { display: flex; align-items: center; gap: 9px; padding: 13px 16px; font-family: var(--f-text); transition: background .25s, color .25s; }
.qc-btn svg { width: 17px; height: 17px; stroke: var(--steel); flex: none; transition: stroke .25s; }
.qc-call { color: var(--fg); font-weight: 700; font-size: 14px; border-right: 1px solid var(--line); white-space: nowrap; }
.qc-call:hover { background: var(--fg); color: var(--ink); }
.qc-call:hover svg { stroke: var(--ink); }
.qc-mail { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.qc-mail:hover { background: rgba(255,255,255,.06); color: var(--fg); }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .mosaic { columns: 2; }
  .mosaic:not(.expanded) .tile:nth-child(n+7) { display: none; }
  .atelier-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 0 26px; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav, .header-right .btn { display: none; }
  .burger { display: block; }
  .header-right { flex: none; }
  .nav.open { display: flex; position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(8,8,10,.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 6px 0; }
  .nav.open a { padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
  .index-list li { grid-template-columns: 60px 1fr; }
  .index-list li p { grid-column: 2; margin-top: 8px; }
  .spread { grid-template-columns: 1fr; }
  .spread .col:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .aud-banners { grid-template-columns: 1fr; }
  .aud-banner { min-height: 360px; }
  .ex-head { grid-template-columns: 1fr; }
  .ex-row { grid-template-columns: 1fr; gap: 14px; }
  .ex-row:hover { padding-left: 0; }
  .ex-ba { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ex-arrow { display: none; }
  /* En-tête : laisser la place au burger */
  .wm-name { font-size: 12.5px; letter-spacing: .1em; }
  /* Chapitre + conception : empilage */
  .chapter { min-height: 78svh; }
  .chapter-title .cl-2 { margin-left: clamp(14px, 6vw, 40px); }
  .conception-grid { grid-template-columns: 1fr; gap: 22px; }
  /* Pages d'atterrissage */
  .lp-blocks { grid-template-columns: 1fr; gap: 30px; }
  .lp-serv-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols--wide { grid-template-columns: 1fr 1fr; gap: 26px 30px; }
  /* Contact rapide : barre pleine largeur en bas */
  body { padding-bottom: 58px; }
  .quick-contact { right: 0; left: 0; bottom: 0; width: auto; display: flex; border-left: 0; border-right: 0; border-bottom: 0; box-shadow: 0 -8px 30px rgba(0,0,0,.5); }
  .qc-info { display: none; }
  .qc-actions { flex: 1; grid-template-columns: 1fr 1fr; }
  .qc-btn { justify-content: center; padding: 16px; }
  .qc-call { font-size: 15px; }
  .qc-mail { font-size: 13px; }
  .statbar { grid-template-columns: 1fr; }
  .statbar .s { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .ghost-stats { grid-template-columns: 1fr; gap: 8px; }
  .ghost { padding: 12px 30px; align-self: start; }
  .person { grid-template-columns: 1fr; }
  .person .tel { margin-top: 10px; }
  .grp-head { grid-template-columns: 1fr; }
  .grp-head .gdesc { grid-column: auto; }
  .grp-head .gcount { display: none; }
  /* Mobile : n'afficher que 2 photos par galerie, le reste via « Voir plus » */
  .gallery-group:not(.expanded) .mosaic .tile:nth-child(n+3) { display: none; }
  .gallery-group.expanded .grp-more { display: none; }
  .grp-more { display: inline-flex; }
}
@media (max-width: 620px) {
  .hero-top { justify-content: center; font-size: 9px; letter-spacing: .12em; }
  .hero-top span:last-child { display: none; }
}
@media (max-width: 480px) {
  .mosaic { columns: 1; }
  .mosaic:not(.expanded) .tile:nth-child(n+5) { display: none; }
  .process { grid-template-columns: 1fr; }
  .process li:nth-child(n+2) { border-top: 1px solid var(--line); }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .sec-mark { flex-wrap: wrap; }
  .sec-mark .tag { display: none; }
}
