/* ==========================================================================
   IM – Iuliano Métallurgie · feuille de style
   Direction artistique reprise du catalogue : blanc, noir profond,
   rouge corail, acier brossé · Cinzel / Satisfy / Prompt
   ========================================================================== */

/* ---------- Polices (auto-hébergées, licence OFL) ---------- */
@font-face { font-family: "Cinzel"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("../fonts/prompt-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/prompt-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/prompt-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Prompt"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/prompt-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Satisfy"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/satisfy-latin-400-normal.woff2") format("woff2"); }

/* ---------- Variables ---------- */
:root {
  --red: #ff5757;
  --red-deep: #d93a3f;      /* rouge lisible en petit texte sur blanc */
  --ink: #0c0d0f;
  --ink-2: #17191d;
  --ink-3: #24272d;
  --text: #1d1f23;
  --muted: #5b616b;
  --line: #e3e6eb;
  --steel: #e8ebf0;
  --steel-2: #f4f5f7;
  --white: #fff;

  --f-title: "Cinzel", "Times New Roman", serif;
  --f-script: "Satisfy", "Brush Script MT", cursive;
  --f-body: "Prompt", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --shadow: 0 18px 50px -18px rgba(12, 13, 15, .28);
  --shadow-sm: 0 6px 22px -10px rgba(12, 13, 15, .25);
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--f-body); font-weight: 300; font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-deep); }
strong, b { font-weight: 500; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-title); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: .02em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Titres façon catalogue ---------- */
.kicker { font-family: var(--f-body); font-weight: 500; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--red); }
.title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); text-transform: uppercase; }
.script { display: block; font-family: var(--f-script); font-weight: 400; color: var(--red); font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: 0; text-transform: none; margin-top: 4px; }
.head { margin-bottom: clamp(28px, 4vw, 52px); max-width: 760px; }
.head p { color: var(--muted); margin-top: 18px; }
.head--center { text-align: center; margin-inline: auto; }
.head--center .kicker::after { content: ""; width: 34px; height: 2px; background: var(--red); }
.rule { height: 1px; background: var(--red); border: 0; margin: 0; opacity: .8; }
.red { color: var(--red); }
.lead { font-size: 1.15rem; color: var(--text); }

section { padding-block: clamp(56px, 8vw, 110px); }
.section--steel { background: var(--steel-2); }
.section--dark { background: var(--ink); color: #e9eaee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .kicker { color: #aeb3bd; }
.section--dark .head p { color: #b9bec8; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--f-body); font-weight: 500; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--ink); box-shadow: 0 12px 28px -12px rgba(255, 87, 87, .8); }
.btn--red:hover { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--red); color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--red); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .8rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; color: var(--red); transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Bandeau supérieur + en-tête ---------- */
.topbar { background: var(--ink); color: #d9dce2; font-size: .82rem; font-weight: 400; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar a { white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: #fff; padding: 6px 0; }
.topbar a:hover { color: var(--red); }
.topbar svg { width: 15px; height: 15px; color: var(--red); }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__zone { display: inline-flex; align-items: center; gap: 8px; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-stuck { box-shadow: 0 10px 30px -20px rgba(12, 13, 15, .45); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); width: min(100% - 2 * var(--gutter), 1320px); }
.topbar .wrap { width: min(100% - 2 * var(--gutter), 1320px); }
.nav__link, .nav__toggle, .nav__cta .btn { white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { height: 44px; width: auto; }
.brand__word { height: 17px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 8px; background: none; border: 0;
  font-family: var(--f-body); font-weight: 400; font-size: .9rem; letter-spacing: .04em; text-decoration: none; color: var(--ink);
}
.nav__link:hover, .nav__toggle:hover, .nav__link[aria-current="page"] { color: var(--red-deep); }
.nav__link[aria-current="page"] { font-weight: 500; }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__item--sub { position: relative; }
.nav__item--sub[data-open="true"] .nav__toggle svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: -14px; min-width: 300px; list-style: none; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__item--sub[data-open="true"] .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-size: .92rem; font-weight: 400; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--steel-2); color: var(--red-deep); }
.sub a svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.nav__cta { display: flex; gap: 10px; margin-left: 12px; }
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; align-items: center; justify-content: center; }
.burger svg { width: 24px; height: 24px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-open { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1180px) {
  /* backdrop-filter ferait de l'en-tête le repère du menu plein écran */
  .header { backdrop-filter: none; background: #fff; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; top: 0; z-index: -1; padding: calc(var(--header-h) + 56px) var(--gutter) 120px; background: #fff; overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; gap: 18px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px; display: none; min-width: 0; }
  .nav__item--sub[data-open="true"] .sub { display: block; }
  .nav__cta { margin: 10px 0 0; flex-direction: column; }
  .nav__cta .btn { width: 100%; }
  .topbar .topbar__zone, .topbar .topbar__mail { display: none; }
  .topbar .wrap { justify-content: center; }
}
@media (max-width: 350px) { .brand__word { display: none; } }
@media (max-width: 480px) { .brand__mark { height: 38px; } .brand__word { height: 15px; } .brand { gap: 9px; } }
body.nav-open { overflow: hidden; }

/* ---------- Héros (accueil) ---------- */
.hero { padding-block: clamp(36px, 5vw, 70px) clamp(50px, 6vw, 90px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font-size: clamp(1.72rem, 4.4vw, 3.55rem); text-transform: uppercase; line-height: 1.1; }
.hero h1 .red { display: inline; }
.hero .script { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 10px 0 20px; }
.hero__text { max-width: 560px; color: var(--muted); font-size: 1.12rem; }
.hero .btns { margin-top: 30px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; list-style: none; font-size: .9rem; font-weight: 400; color: var(--ink); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; color: var(--red); }
.hero__visual { position: relative; }
.hero__main { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); background: var(--steel); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; list-style: none; }
.hero__thumbs a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; position: relative; background: var(--steel); }
.hero__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero__thumbs a:hover img { transform: scale(1.08); }
.hero__thumbs span { position: absolute; inset: auto 0 0 0; padding: 18px 6px 7px; font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(12, 13, 15, .85)); }
.hero__badge { position: absolute; left: -22px; top: 26px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 250px; text-decoration: none; }
.hero__badge:hover { color: #fff; background: var(--ink-3); }
.hero__badge svg { width: 34px; height: 34px; color: var(--red); flex: none; }
.hero__badge strong { display: block; font-weight: 500; font-size: .95rem; line-height: 1.3; }
.hero__badge span { font-size: .8rem; color: #b9bec8; line-height: 1.3; display: block; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__main { aspect-ratio: 4 / 3.4; }
  .hero__badge { left: 12px; top: 12px; }
}

/* ---------- Bandeau métiers ---------- */
.strip { background: var(--ink) url("../img/texture-acier-brosse.webp") center / cover; background-blend-mode: multiply; color: #fff; padding: 0; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; list-style: none; gap: 6px clamp(18px, 5vw, 64px); padding-block: 24px; font-family: var(--f-title); font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: .14em; text-transform: uppercase; }
.strip li { display: inline-flex; align-items: center; gap: clamp(18px, 5vw, 64px); }
.strip li + li::before { content: ""; width: 8px; height: 8px; background: var(--red); display: inline-block; }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about__media { position: relative; }
.about__media > img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; box-shadow: var(--shadow); }
.about__panel { position: absolute; right: -18px; bottom: -28px; background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 22px 24px; list-style: none; display: grid; gap: 14px; box-shadow: var(--shadow); }
.about__panel li { display: flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.about__panel svg { width: 24px; height: 24px; color: var(--red); flex: none; }
.quote { position: relative; margin: 28px 0 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--red); font-size: 1.08rem; color: var(--ink); font-weight: 400; }
.quote em { font-style: normal; color: var(--red-deep); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; margin-bottom: 30px; }
  .about__panel { right: 12px; bottom: -24px; padding: 16px 18px; }
  .about__media > img { aspect-ratio: 4 / 3.6; }
}

/* ---------- Cartes réalisations ---------- */
.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; list-style: none; }
.card { grid-column: span 4; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); min-height: 380px; display: flex; isolation: isolate; }
.card--wide { grid-column: span 6; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 13, 15, .05) 15%, rgba(12, 13, 15, .72) 55%, rgba(12, 13, 15, .96) 100%); }
.card a { display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding: 26px; text-decoration: none; color: #fff; }
.card a:hover { color: #fff; }
.card:hover img, .card:focus-within img { transform: scale(1.06); }
.card h3 { color: #fff; font-size: 1.35rem; text-transform: uppercase; }
.card .script { font-size: 1.45rem; margin: 2px 0 10px; }
.card p { margin: 0 0 14px; font-size: .92rem; color: #d7dae0; max-width: 40ch; }
.card .link-arrow { color: #fff; font-size: .8rem; }
@media (max-width: 980px) { .card, .card--wide { grid-column: span 6; } }
@media (max-width: 620px) { .card, .card--wide { grid-column: span 12; min-height: 320px; } }

/* ---------- Engagements ---------- */
.commit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; list-style: none; }
.commit li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.commit li:hover { border-color: var(--red); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.commit__ico { width: 58px; height: 58px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.commit__ico svg { width: 28px; height: 28px; }
.commit h3 { font-family: var(--f-body); font-weight: 500; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.commit p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.6; }
.why__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; margin-bottom: clamp(36px, 5vw, 60px); }
.why__img { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); border-radius: 0 var(--r-lg) var(--r-lg) 0; overflow: hidden; aspect-ratio: 4 / 3.3; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__text { border-left: 2px solid var(--red); padding-left: 24px; font-size: 1.1rem; }
@media (max-width: 820px) { .why__grid { grid-template-columns: 1fr; } .why__img { clip-path: none; border-radius: var(--r-lg); } }

/* ---------- Méthode ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { position: relative; border-radius: var(--r-md); padding: 30px 26px 28px; background: var(--ink-2); border: 1px solid #2b2e35; counter-increment: step; }
.steps li::before { content: "0" counter(step); position: absolute; top: 22px; right: 24px; font-family: var(--f-title); font-size: 2.1rem; color: rgba(255, 255, 255, .12); font-weight: 700; }
.steps svg { width: 44px; height: 44px; color: var(--red); margin-bottom: 18px; }
.steps h3 { font-family: var(--f-body); font-weight: 500; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.steps p { margin: 0; color: #b9bec8; font-size: .95rem; }
.motto { margin-top: 34px; border-radius: var(--r-md); border: 1px solid var(--red); padding: 20px 26px; text-align: center; color: var(--red); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Zone d'intervention ---------- */
.zone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 22px; }
.chips li { padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 400; }
.chips li.is-main { background: var(--ink); color: #fff; border-color: var(--ink); }
.map { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; min-height: 380px; position: relative; display: grid; place-items: center; text-align: center; padding: 30px; box-shadow: var(--shadow); }
.map::before { content: ""; position: absolute; inset: 0; background: url("../img/texture-acier-brosse.webp") center / cover; opacity: .16; }
.map > * { position: relative; }
.map svg.pin { width: 46px; height: 46px; color: var(--red); margin: 0 auto 12px; }
.map address { font-style: normal; font-weight: 400; margin-bottom: 18px; line-height: 1.5; }
.map small { display: block; margin-top: 14px; color: #aeb3bd; font-size: .78rem; max-width: 36ch; margin-inline: auto; line-height: 1.5; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .btns { justify-content: center; }
@media (max-width: 900px) { .zone__grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-weight: 500; position: relative; font-size: 1.02rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--muted); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Bloc contact / CTA ---------- */
.cta { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 15, .94) 0%, rgba(12, 13, 15, .78) 55%, rgba(12, 13, 15, .45) 100%); }
.cta h2 { color: #fff; }
.cta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.cta p { color: #d7dae0; max-width: 52ch; }
.contact-list { list-style: none; display: grid; gap: 8px; }
.contact-list a, .contact-list .contact-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--r-md); text-decoration: none; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-weight: 400; transition: background .2s, border-color .2s; overflow-wrap: anywhere; }
.contact-list a:hover { background: rgba(255, 87, 87, .16); border-color: var(--red); color: #fff; }
.contact-list svg { width: 26px; height: 26px; color: var(--red); flex: none; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #aeb3bd; line-height: 1.4; }
.contact-list--light a, .contact-list--light .contact-row { color: var(--ink); background: #fff; border-color: var(--line); }
.contact-list--light a:hover { background: var(--steel-2); border-color: var(--red); color: var(--ink); }
.contact-list--light small { color: var(--muted); }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #b9bec8; font-size: .93rem; padding-top: clamp(50px, 6vw, 80px); border-top: 3px solid var(--red); }
.footer a { text-decoration: none; color: #d7dae0; }
.footer a:hover { color: var(--red); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { background: #fff; display: inline-block; padding: 16px 20px; border-radius: var(--r-md); margin-bottom: 18px; }
.footer__logo img { width: 190px; height: auto; }
.footer h2 { font-family: var(--f-body); font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer li a { display: inline-block; padding: 5px 0; }
.footer address { font-style: normal; line-height: 1.6; }
.footer__contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: 4px; }
.footer__bottom { border-top: 1px solid #2b2e35; padding-block: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .82rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Barre d'actions mobile ---------- */
.mobilebar { display: none; position: fixed; z-index: 90; inset: auto 0 0 0; background: var(--ink); border-top: 2px solid var(--red); padding-bottom: env(safe-area-inset-bottom); }
.mobilebar ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.mobilebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: #fff; text-decoration: none; font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.mobilebar a svg { width: 21px; height: 21px; color: var(--red); }
.mobilebar li + li { border-left: 1px solid #2b2e35; }
.mobilebar a.is-main { background: var(--red); color: var(--ink); }
.mobilebar a.is-main svg { color: var(--ink); }
@media (max-width: 760px) { .mobilebar { display: block; } body { padding-bottom: 62px; } }

/* ---------- En-tête de page intérieure ---------- */
.pagehead { padding-block: clamp(30px, 4vw, 56px) clamp(36px, 5vw, 64px); background: var(--steel-2); position: relative; overflow: hidden; }
.pagehead::after { content: ""; position: absolute; right: -80px; top: -40px; bottom: -40px; width: 38%; background: url("../img/texture-acier-brosse.webp") center / cover; opacity: .5; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); pointer-events: none; }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); text-transform: uppercase; max-width: 18ch; }
.pagehead .script { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.pagehead p { max-width: 62ch; color: var(--muted); margin: 18px 0 0; font-size: 1.1rem; }
.pagehead .btns { margin-top: 26px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: 22px; font-weight: 400; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--red); }
.crumbs a { text-decoration: none; }
@media (max-width: 760px) { .pagehead::after { display: none; } }

/* ---------- Page service ---------- */
.svc__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.svc__media { position: sticky; top: calc(var(--header-h) + 24px); }
.svc__media img { border-radius: var(--r-lg); width: 100%; max-height: 640px; object-fit: cover; box-shadow: var(--shadow); }
.blackbox { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 22px 26px; text-align: center; font-weight: 400; margin-top: 18px; }
.offers { list-style: none; display: grid; gap: 14px; margin-top: 30px; }
.offers li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.offers li::before { content: ""; width: 10px; height: 10px; background: var(--red); margin-top: 9px; grid-row: span 2; }
.offers h3 { font-family: var(--f-body); font-weight: 500; font-size: 1.02rem; letter-spacing: .02em; }
.offers p { margin: 0; color: var(--muted); font-size: .95rem; grid-column: 2; }
@media (max-width: 900px) { .svc__grid { grid-template-columns: 1fr; } .svc__media { position: static; } }

.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--steel); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.06); }
.gallery figcaption, .gallery .cap { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; color: #fff; font-size: .82rem; font-weight: 400; text-align: left; background: linear-gradient(transparent, rgba(12, 13, 15, .88)); }

.mats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mats li { border-radius: var(--r-md); padding: 28px 26px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.mats h3 { font-size: 1.15rem; text-transform: uppercase; margin-bottom: 8px; }
.mats p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 820px) { .mats { grid-template-columns: 1fr; } }

.others { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.others a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; background: #fff; font-weight: 400; }
.others a:hover { border-color: var(--red); color: var(--ink); }
.others svg { width: 18px; height: 18px; color: var(--red); flex: none; }

.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; text-transform: uppercase; margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.prose li { margin-bottom: .4em; }
.todo { background: #fff6d6; border: 1px dashed #c99a00; border-radius: 6px; padding: 1px 6px; font-weight: 400; color: #5c4700; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(12, 13, 15, .9); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--r-md); }
.lightbox figcaption { color: #fff; text-align: center; padding-top: 12px; font-weight: 400; font-size: .95rem; }
.lightbox__btn { position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; }
.lightbox__btn:hover { background: var(--red); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Formulaires ---------- */
.formwrap > *, .grid2 > *, .grid3 > * { min-width: 0; }
.formwrap--half { grid-template-columns: 1fr 1fr !important; }
.formwrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(26px, 4vw, 50px); align-items: start; }
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 42px); box-shadow: var(--shadow-sm); }
.aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside__box { border-radius: var(--r-md); padding: 24px; background: var(--ink); color: #e9eaee; }
.aside__box h2 { color: #fff; font-family: var(--f-body); font-weight: 500; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.aside__box ul { list-style: none; display: grid; gap: 12px; font-size: .93rem; }
.aside__box li { display: flex; gap: 12px; align-items: flex-start; }
.aside__box svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 4px; }
.aside__box a:not(.btn) { color: #fff; }
.aside__box--light { background: var(--steel-2); color: var(--text); border: 1px solid var(--line); }
.aside__box--light h2 { color: var(--ink); }
.aside__box--light a:not(.btn) { color: var(--ink); }
@media (max-width: 980px) { .formwrap, .formwrap--half { grid-template-columns: minmax(0, 1fr) !important; } .aside { position: static; } }

.progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 30px; counter-reset: p; }
.progress li { counter-increment: p; font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--line); }
.progress li::before { content: counter(p) ". "; color: var(--red-deep); }
.progress li.is-active { border-color: var(--red); color: var(--ink); }
.progress li.is-done { border-color: var(--ink); color: var(--ink); }
@media (max-width: 560px) { .progress li { font-size: 0; } .progress li::before { font-size: .8rem; content: counter(p); } .progress li.is-active { font-size: .74rem; } .progress li.is-active::before { content: counter(p) ". "; } .progress { grid-template-columns: auto auto auto auto; } .progress li.is-active { grid-column: span 1; min-width: 120px; } }

fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { padding: 0; max-width: 100%; overflow-wrap: anywhere; font-family: var(--f-title); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; letter-spacing: .02em; }
.hint { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.req { color: var(--red-deep); }
.opt { color: var(--muted); font-weight: 300; font-size: .82rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid #cfd3da; border-radius: 12px; background: #fff;
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5757' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 87, 87, .22); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red-deep); background: #fff7f7; }
.error { display: block; color: var(--red-deep); font-size: .85rem; font-weight: 400; margin-top: 6px; min-height: 0; }
.error:empty { display: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 620px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.choices--wide { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.choice > span { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 14px; border: 1.5px solid #cfd3da; border-radius: 12px; font-weight: 400; font-size: .93rem; line-height: 1.3; background: #fff; transition: border-color .15s, background .15s, color .15s; }
.choice > span svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.choice input:hover + span { border-color: var(--ink); }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.choice small { display: block; font-size: .78rem; font-weight: 300; opacity: .8; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.form__nav .btn:only-child { margin-left: auto; }
.step[hidden] { display: none; }
.formnote { font-size: .82rem; color: var(--muted); margin-top: 16px; }
.formnote svg { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; color: var(--red); margin-right: 4px; }

.recap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin: 22px 0; }
.recap div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 11px 18px; font-size: .94rem; }
.recap div:nth-child(odd) { background: var(--steel-2); }
.recap dt { font-weight: 500; color: var(--ink); }
.recap dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 560px) { .recap div { grid-template-columns: 1fr; gap: 0; } }
.done { text-align: center; }
.done__ico { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: var(--red); display: grid; place-items: center; margin: 0 auto 18px; }
.done__ico svg { width: 38px; height: 38px; }
.done h2 { font-size: 1.6rem; text-transform: uppercase; }
.done .recap { text-align: left; }
.done .btns { justify-content: center; }
.ref { display: inline-block; font-weight: 500; letter-spacing: .1em; background: var(--steel-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px; margin: 10px 0; }
.alert { border-radius: var(--r-md); padding: 16px 20px; background: #fff6d6; border: 1px solid #e6c34d; color: #4d3b00; font-size: .93rem; font-weight: 400; margin: 18px 0; text-align: left; }

/* ---------- Calendrier de rendez-vous ---------- */
.cal { border: 1.5px solid #cfd3da; border-radius: var(--r-md); padding: 18px; max-width: 460px; }
@media (max-width: 480px) { .cal { padding: 12px; } }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-family: var(--f-title); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .06em; }
.cal__nav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #cfd3da; background: #fff; display: grid; place-items: center; }
.cal__nav:hover:not([disabled]) { background: var(--ink); color: #fff; border-color: var(--ink); }
.cal__nav[disabled] { opacity: .3; cursor: not-allowed; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal__dow { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal__day { aspect-ratio: 1; min-height: 38px; padding: 0; border: 0; border-radius: 10px; background: var(--steel-2); font-weight: 400; font-size: .95rem; color: var(--ink); }
.cal__day:hover:not([disabled]) { background: var(--ink); color: #fff; }
.cal__day[disabled] { background: transparent; color: #b4b9c2; cursor: not-allowed; text-decoration: line-through; text-decoration-color: #d5d8de; }
.cal__day[aria-pressed="true"] { background: var(--red); color: var(--ink); font-weight: 600; }
.cal__day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slots .choice > span { justify-content: center; min-height: 48px; font-weight: 500; }
.slots__group { margin-bottom: 14px; }
.slots__group h4 { font-family: var(--f-body); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pick { font-weight: 500; color: var(--ink); margin: 14px 0 0; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Divers ---------- */
.center { text-align: center; }
.mt { margin-top: clamp(28px, 4vw, 48px); }
.notfound { text-align: center; padding-block: clamp(70px, 10vw, 140px); }
.notfound .big { font-family: var(--f-title); font-weight: 700; font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--ink); }
.notfound .big span { color: var(--red); }

@media print {
  .topbar, .header, .footer, .mobilebar, .aside, .form__nav, .btns { display: none !important; }
  body { padding: 0; font-size: 12pt; }
  .formcard { border: 0; box-shadow: none; padding: 0; }
}

/* ---------- Contraste AA : rouge foncé pour le texte sur fond clair ---------- */
.red, .script, .motto { color: var(--red-deep); }
.motto { border-color: var(--red-deep); }
.section--dark .red, .section--dark .script, .section--dark .motto,
.footer .red, .footer .script { color: var(--red); }
.section--dark .motto { border-color: var(--red); }

/* ---------- Lien « Gérer les cookies » ---------- */
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.linkbtn:hover { color: var(--red); }

/* ---------- Bandeau cookies ---------- */
.cookies { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin-inline: auto; background: var(--white); color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 20px 22px; font-size: .93rem; line-height: 1.55; }
.cookies p { margin: 0 0 14px; }
.cookies a { text-decoration: underline; }
.cookies__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookies__btns .btn { min-height: 44px; }
@media (max-width: 1180px) { .cookies { bottom: calc(80px + env(safe-area-inset-bottom)); } }
@media print { .cookies { display: none; } }

/* ---------- Pied de page : icône + texte alignés dans le bloc Contact ---------- */
.footer__contact li a { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact address { margin: 0; }

/* ==========================================================================
   Navigation & exploration — oct. 2026
   ========================================================================== */

/* ---------- En-tête : téléphone visible uniquement dans le menu mobile ---------- */
.nav__tel { display: none; }
.sub__all a { font-weight: 500; color: var(--red-deep); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; margin-top: 6px; }
@media (max-width: 1180px) {
  .nav__tel { display: inline-flex; }
  .sub__all a { border-top: 0; margin-top: 0; }
}

/* ---------- Accès rapide ---------- */
.quick { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick__inner { display: flex; align-items: center; gap: 18px; padding-block: 14px; }
.quick__label { flex: none; font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.quick ul { display: flex; gap: 8px; list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; min-width: 0; padding: 2px; }
.quick ul::-webkit-scrollbar { display: none; }
.quick a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 400; white-space: nowrap; text-decoration: none; color: var(--text); background: #fff; transition: border-color .2s, color .2s; }
.quick a:hover { border-color: var(--red); color: var(--red-deep); }
.quick a.quick__cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.quick a.quick__cta:hover { background: var(--red); border-color: var(--red); color: var(--ink); }
@media (max-width: 760px) {
  .quick__inner { flex-direction: column; align-items: stretch; gap: 8px; padding-block: 12px; }
  .quick ul { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
}

/* ---------- Savoir-faire : carrousel horizontal ---------- */
.sf__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: -12px 0 26px; }
.sf__chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; text-decoration: none; color: var(--text); }
.sf__chips a:hover { border-color: var(--red); color: var(--red-deep); }

.slider { position: relative; }
.slider__track { display: flex; gap: 20px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; border-radius: var(--r-lg); }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.slider__track > .card { flex: 0 0 calc((100% - 2 * 20px) / 3.25); min-height: 440px; scroll-snap-align: start; }
.slider__bar { display: flex; align-items: center; gap: 22px; margin-top: 22px; }
.slider__progress { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.slider__progress span { display: block; height: 100%; width: 30%; background: var(--red); border-radius: 3px; transition: width .15s linear; }
.slider__btns { display: flex; gap: 10px; }
.slider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.slider__btn:disabled { opacity: .3; cursor: default; }
.slider.is-static .slider__bar { display: none; }
.slider__hint { display: none; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 980px) {
  .slider__track > .card { flex-basis: calc((100% - 20px) / 2.2); min-height: 400px; }
}
@media (max-width: 620px) {
  .slider__track { gap: 14px; }
  .slider__track > .card { flex-basis: 84%; min-height: 360px; }
  .slider__btns { display: none; }
  .slider__hint { display: inline; }
}

/* ---------- Réalisations : mosaïque ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 15vw, 205px); gap: 14px; list-style: none;
  grid-template-areas: "a a a b b c" "a a a b b c" "d d e e e f" "g g e e e h"; }
.m-a { grid-area: a; } .m-b { grid-area: b; } .m-c { grid-area: c; } .m-d { grid-area: d; }
.m-e { grid-area: e; } .m-f { grid-area: f; } .m-g { grid-area: g; } .m-h { grid-area: h; }
.mosaic a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; border-radius: var(--r-md); overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; text-decoration: none; }
.mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.mosaic a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 13, 15, 0) 45%, rgba(12, 13, 15, .82) 100%); }
.mosaic a:hover img, .mosaic a:focus-visible img { transform: scale(1.05); }
.mosaic__cap { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px; }
.mosaic__cat { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.mosaic__cat::before { content: ""; width: 16px; height: 2px; background: var(--red); flex: none; }
.mosaic__txt { font-size: .95rem; font-weight: 400; line-height: 1.35; color: #e9eaee; }
.m-a .mosaic__txt { font-size: 1.1rem; }
.mosaic a.mosaic__cta { background: var(--red); color: var(--ink); padding: 18px; justify-content: space-between; }
.mosaic a.mosaic__cta::after { display: none; }
.mosaic__cta .mosaic__cat::before { background: var(--ink); }
.mosaic__ctatxt { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; font-family: var(--f-title); font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-transform: uppercase; }
.mosaic__ctatxt svg { width: 22px; height: 22px; flex: none; transition: transform .2s; }
.mosaic a.mosaic__cta:hover { background: var(--ink); color: #fff; }
.mosaic a.mosaic__cta:hover .mosaic__cat::before { background: var(--red); }
.mosaic a.mosaic__cta:hover svg { transform: translateX(4px); }
@media (max-width: 980px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 10px;
    grid-template-areas: "a a" "a a" "b c" "b c" "d d" "e f" "g h"; }
}
@media (max-width: 620px) {
  .mosaic { grid-auto-rows: 132px; }
  .mosaic__cap { padding: 12px; }
  .mosaic__txt { display: none; }
  .m-a .mosaic__txt, .m-d .mosaic__txt { display: block; font-size: .9rem; }
  .mosaic__cat { font-size: .64rem; letter-spacing: .12em; }
  .mosaic a.mosaic__cta { padding: 12px; }
  .mosaic__ctatxt { font-size: .86rem; }
}

/* ---------- Méthode : timeline numérotée ---------- */
.steps { grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 23px; right: 23px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(255, 87, 87, .2)); }
.steps li { background: transparent; border: 0; padding: 0 6px 0 0; }
.steps li::before { position: relative; top: auto; right: auto; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border-radius: 50%; background: var(--ink); border: 2px solid var(--red); color: #fff; font-size: .95rem; }
.steps svg { display: none; }
.steps h3 { font-size: .95rem; margin-bottom: 6px; }
.steps p { font-size: .9rem; }
@media (max-width: 1100px) and (min-width: 901px) {
  .steps h3 { font-size: .86rem; letter-spacing: .04em; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .steps::before { top: 12px; bottom: 30px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--red), rgba(255, 87, 87, .2)); }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0 0 24px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps h3 { margin: 12px 0 4px; }
}

/* ---------- Engagements : plus compacts, rien de retiré ---------- */
.commit { gap: 14px; }
.commit li { padding: 22px 20px; }
@media (max-width: 620px) {
  .commit { grid-template-columns: 1fr; gap: 10px; }
  .commit li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px; }
  .commit__ico { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .commit__ico svg { width: 22px; height: 22px; }
  .commit h3 { margin: 3px 0 4px; }
  .commit p { font-size: .88rem; line-height: 1.5; }
}

/* ==========================================================================
   Mobile compact — page d'accueil plus courte, contenus essentiels d'abord
   (rien n'est supprimé du code : les détails restent visibles sur ordinateur)
   ========================================================================== */
@media (max-width: 760px) {
  section { padding-block: 44px; }
  .head { margin-bottom: 22px; }

  /* Hero : l'essentiel + l'appel à l'action */
  .hero__thumbs, .hero__badge { display: none; }
  .hero__main { aspect-ratio: 16 / 10; }
  .hero__points { margin-top: 22px; gap: 8px 16px; font-size: .85rem; }

  /* Savoir-faire : le carrousel suffit */
  #savoir-faire .head p, .sf__chips { display: none; }

  /* Réalisations : 4 grandes photos + devis */
  #realisations .head p { display: none; }
  .mosaic { grid-template-areas: "a a" "a a" "b c" "b c" "d h"; }
  .m-e, .m-f, .m-g { display: none; }
  .m-d .mosaic__txt { display: none; }

  /* L'entreprise : photo courte, texte resserré */
  .about__panel { display: none; }
  .about__media { margin-bottom: 18px; }
  .about__media > img { aspect-ratio: 16 / 10; }
  #a-propos p.lead { font-size: 1.02rem; }
  #a-propos p.lead + p, #a-propos .quote { display: none; }

  /* Engagements : les 12 en un coup d'œil */
  .why__grid { margin-bottom: 20px; gap: 0; }
  .why__img { display: none; }
  .why__text { font-size: .98rem; padding-left: 16px; margin-top: 16px !important; }
  .commit { grid-template-columns: 1fr 1fr; gap: 8px; }
  .commit li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
  .commit li:hover { transform: none; }
  .commit__ico { width: 36px; height: 36px; margin: 0; }
  .commit__ico svg { width: 19px; height: 19px; }
  .commit h3 { margin: 0; font-size: .72rem; letter-spacing: .08em; line-height: 1.35; }
  .commit p { display: none; }

  /* Méthode : étapes à faire glisser */
  .steps { display: flex; gap: 12px; max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter); }
  .steps::-webkit-scrollbar { display: none; }
  .steps::before { display: none; }
  .steps li { flex: 0 0 72%; display: block; scroll-snap-align: start; padding: 20px 18px; background: var(--ink-2); border: 1px solid #2b2e35; border-radius: var(--r-md); }
  .steps li::before { width: 42px; height: 42px; margin: 0 0 14px; font-size: .85rem; }
  .steps h3 { margin: 0 0 6px; }
  .motto { margin-top: 22px; padding: 14px 16px; font-size: .78rem; letter-spacing: .08em; }

  /* Zone : communes en une ligne à faire défiler, carte compacte */
  #zone .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); }
  #zone .chips::-webkit-scrollbar { display: none; }
  #zone .chips li { white-space: nowrap; }
  #zone p { font-size: .95rem; }
  #zone .map { min-height: 0; padding: 22px 18px; }
  #zone .map small, #zone [data-map-load] { display: none; }
  #zone .map address { margin-bottom: 12px; }

  /* Contact : les coordonnées sont déjà dans le pied de page */
  #contact .contact-list { display: none; }

  /* FAQ */
  .faq summary { padding: 16px 48px 16px 18px; font-size: .95rem; }
  .faq summary::after { right: 18px; }
  .faq .faq__a { padding: 0 18px 18px; }
  .zone__grid > * { min-width: 0; }
}

/* ---------- FAQ : 3 questions sur mobile, le reste à la demande ---------- */
.faq__morewrap { display: none; text-align: center; margin-top: 14px; }
.faq__more { min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; }
.faq__more:hover { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .faq:not(.is-open) details:nth-of-type(n+4) { display: none; }
  .faq__morewrap { display: block; }
  .faq.is-open + .faq__morewrap { display: none; }
}

/* ---------- Engagements : liste compacte sur mobile ---------- */
@media (max-width: 760px) {
  .commit { grid-template-columns: 1fr 1fr; gap: 12px 14px; }
  .commit li { flex-direction: row; align-items: center; gap: 10px; padding: 0; border: 0; background: none; box-shadow: none; }
  .commit li:hover { border: 0; box-shadow: none; }
  .commit__ico { width: 30px; height: 30px; flex: none; }
  .commit__ico svg { width: 15px; height: 15px; }
  .commit h3 { font-size: .68rem; letter-spacing: .06em; }
}
