/* =========================================================
   MAM THERMOLAQUAGE — DESIGN SYSTEM GLOBAL OFFICIEL
   Direction Artistique : Métallerie d'art, atelier industriel de précision
   Charte : Noir atelier (#09090d), Rose poudré (#e83e8c), Acier (#a0aec0)
   Typographie : Clash Display (Titres), Satoshi (Corps), Space Grotesk (Technique)
   ========================================================= */

:root {
  --bg: #09090d;
  --bg-card: #121219;
  --bg-card-hover: #181822;
  --accent: #e83e8c;
  --accent-deep: #c2286f;
  --accent-soft: rgba(232, 62, 140, 0.12);
  --accent-glow: rgba(232, 62, 140, 0.45);
  --steel: #a0aec0;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-accent: rgba(232, 62, 140, 0.3);
  --text: #ffffff;
  --muted: #a0a0ab;

  --font-heading: "Clash Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", "Space Mono", ui-monospace, SFMono-Regular, monospace;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --container: 1320px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
  overflow-x: hidden;
  max-width: 100%;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 999;
  background: var(--accent); color: #fff; padding: .7rem 1.2rem;
  border-radius: var(--pill); font-weight: 700;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Fond subtil */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(232, 62, 140, 0.08), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(160, 174, 192, 0.06), transparent 50%);
}

main, footer, header { position: relative; z-index: 1; }

/* =========================================================
   TYPOGRAPHIE ET UTILITAIRES
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--steel);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.section { padding-block: clamp(4.5rem, 9vw, 8rem); position: relative; }

.section-head {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.2fr 1fr; align-items: end; }
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 700;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(100deg, #ffffff 0%, var(--steel) 55%, #6b7584 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead { max-width: 52ch; font-size: 1.1rem; line-height: 1.6; }

.accent { color: var(--accent); }

/* =========================================================
   BOUTONS ET PASTILLES
   ========================================================= */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  height: var(--h); padding: 0 1.6rem;
  border-radius: var(--pill);
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 34px -12px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--accent::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -12px var(--accent-glow); }
.btn--accent:hover::after { transform: translateX(120%); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================
   HEADER FLOTTANT ET MENU ARCHITECTURAL (KNUPFER STYLE)
   ========================================================= */
.site-header {
  position: fixed; top: 1.25rem; left: 0; right: 0; z-index: 200;
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .65rem 1.1rem;
  background: rgba(9, 9, 13, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  transition: border-color .4s var(--ease);
}
.header__bar:hover { border-color: rgba(255, 255, 255, 0.25); }

.brand {
  display: flex; align-items: center; gap: .9rem;
}
.brand__logo { height: 38px; width: auto; object-fit: contain; }
.brand__meta {
  display: flex; flex-direction: column;
  padding-left: .9rem; border-left: 1px solid var(--line);
  line-height: 1.15;
}
.brand__title { font-family: var(--font-heading); font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.brand__sub { font-family: var(--font-mono); font-size: .68rem; color: var(--steel); letter-spacing: .12em; text-transform: uppercase; }

.header__actions {
  display: flex; align-items: center; gap: .6rem;
}
.pill-call {
  font-family: var(--font-mono);
  display: none; align-items: center; gap: .55rem;
  padding: .55rem 1.05rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text); font-weight: 700; font-size: .80rem; letter-spacing: .04em;
  transition: all .3s var(--ease);
}
@media (min-width: 768px) { .pill-call { display: inline-flex; } }
.pill-call:hover { border-color: var(--accent); background: var(--accent-soft); color: #fff; }
.pill-call .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 10px #10b981;
}

.pill-devis {
  display: none;
}
@media (min-width: 540px) {
  .pill-devis {
    display: inline-flex; align-items: center; justify-content: center;
    padding: .6rem 1.2rem;
    border-radius: var(--pill);
    background: var(--accent); color: #fff;
    font-weight: 700; font-size: .85rem;
    box-shadow: 0 4px 18px -4px var(--accent-glow);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .pill-devis:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -4px var(--accent-glow); }
}

/* Déclencheur sculptural de menu */
.menu-trigger {
  display: inline-flex; align-items: center; gap: .8rem;
  padding: .5rem .9rem .5rem 1.2rem;
  border-radius: var(--pill);
  background: #ffffff; color: #09090d;
  font-weight: 800; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.menu-trigger:hover {
  background: var(--accent); color: #ffffff;
  transform: scale(1.03);
}
.menu-trigger__icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: #09090d; color: #ffffff;
  display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.menu-trigger:hover .menu-trigger__icon {
  background: #ffffff; color: var(--accent);
  transform: rotate(90deg);
}

@media (max-width: 480px) {
  .site-header { top: .75rem; }
  .header__bar {
    padding: .45rem .8rem;
    gap: .5rem;
  }
  .brand { gap: .6rem; min-width: 0; }
  .brand__logo { height: 34px; width: auto; flex-shrink: 0; }
  .brand__meta { padding-left: .6rem; min-width: 0; line-height: 1.1; }
  .brand__title { font-size: .72rem; letter-spacing: .04em; }
  .brand__sub { font-size: .60rem; letter-spacing: .08em; }
  .menu-trigger {
    padding: .35rem .65rem .35rem .8rem;
    gap: .45rem;
    font-size: .72rem;
    letter-spacing: .12em;
    flex-shrink: 0;
  }
  .menu-trigger__icon { width: 24px; height: 24px; }
  .menu-trigger__icon svg { width: 12px; height: 12px; }
}

/* TIROIR MONUMENTAL PLEIN ÉCRAN */
.menu {
  position: fixed; inset: 0; z-index: 300;
  visibility: hidden; pointer-events: none;
}
.menu.is-open { visibility: visible; pointer-events: auto; }

.menu__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 4, 7, 0.75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .5s var(--ease);
  cursor: pointer;
}
.menu.is-open .menu__backdrop { opacity: 1; }

.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--bg);
  border-left: 1px solid var(--line-strong);
  display: grid; grid-template-rows: auto 1fr auto;
  overflow-y: auto;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .8s var(--ease-io);
}
@media (min-width: 1024px) {
  .menu__panel { width: min(880px, 85vw); }
}
.menu.is-open .menu__panel { clip-path: inset(0 0 0 0); }

.menu__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.menu__close {
  display: inline-flex; align-items: center; gap: .8rem;
  color: var(--text); font-weight: 700; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
}
.menu__close-icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: transform .5s var(--ease), border-color .3s;
}
.menu__close-icon::before, .menu__close-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 18px; height: 2px; background: var(--text);
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu__close-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu__close:hover .menu__close-icon { transform: rotate(90deg); border-color: var(--accent); }

.menu__body {
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid; gap: 3rem;
  align-content: center;
}
@media (min-width: 768px) {
  .menu__body { grid-template-columns: 1.6fr 1fr; align-items: center; }
}

.menu__nav ol, .menu__nav ul { display: flex; flex-direction: column; list-style: none; }
.menu__nav li { border-top: 1px solid var(--line); overflow: hidden; }
.menu__nav li:last-child { border-bottom: 1px solid var(--line); }

.menu__link {
  position: relative;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: clamp(.9rem, 2vw, 1.3rem) 0;
  color: var(--text);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.menu__num { display: none; }
.menu__label {
  font-size: clamp(1.4rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .85rem;
  transition: transform .4s var(--ease), color .3s;
}
.menu__arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  opacity: 0; transform: translateX(-10px);
  transition: all .3s var(--ease);
}
.menu__link:hover .menu__label { transform: translateX(8px); color: var(--accent); }
.menu__link:hover .menu__arrow { opacity: 1; transform: translateX(0); background: var(--accent); border-color: var(--accent); color: #fff; }

.menu__link.is-active .menu__label { color: #fff; }
.menu__link.is-active .menu__label::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 10px var(--accent-glow);
  display: inline-block; flex: none;
}
.menu__link.is-active .menu__arrow { opacity: 1; transform: none; border-color: var(--accent); color: var(--accent); }

.menu__sidebar {
  display: grid; gap: 1.5rem;
}
.menu__box {
  padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.menu__box h4 {
  font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--steel); margin-bottom: .8rem;
}
.menu__box p, .menu__box a {
  color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.5;
}
.menu__box a:hover { color: var(--accent); }

/* =========================================================
   HERO MONUMENTAL
   ========================================================= */
.hero {
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  position: relative;
}
.hero__grid {
  display: grid; gap: 3rem;
}
@media (min-width: 992px) {
  .hero__grid { grid-template-columns: 1.3fr 1fr; align-items: center; }
}

/* Hero spécifique Accueil : Photo élargie superposée à l'arrière du texte */
@media (min-width: 992px) {
  .hero__grid--home {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    position: relative;
  }
  .hero__grid--home .hero__content {
    position: relative;
    z-index: 2;
  }
  .hero__grid--home .hero__media {
    position: relative;
    z-index: 1;
    margin-left: -220px;
    width: calc(100% + 220px);
    transform: translateY(-40px);
  }
  .hero__grid--home .photo-frame {
    box-shadow: -25px 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(232, 62, 140, 0.12);
  }
  .hero__grid--home .photo-frame .c-tl {
    display: none;
  }
  .hero__grid--home .photo-frame__inner {
    aspect-ratio: 16 / 10.5;
  }
  .hero__grid--home .photo-frame__inner img {
    object-position: 85% center;
    transform: scale(1.05);
  }
  .hero__grid--home .photo-frame__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(9, 9, 13, 0.85) 0%, rgba(9, 9, 13, 0.4) 40%, transparent 70%);
    pointer-events: none;
  }
}
@media (min-width: 1200px) {
  .hero__grid--home .hero__media {
    margin-left: -240px;
    width: calc(100% + 240px);
  }
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
}
.hero__headline span {
  display: block;
}
.hero__headline .text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--steel) 70%, #5a6474 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__headline .text-accent {
  color: var(--accent);
}

.hero__lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  max-width: 48ch;
  color: #c9c9d2;
  margin-bottom: 2.2rem;
}
.hero__lead strong { color: #fff; font-weight: 700; }

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero__stat strong {
  font-family: var(--font-mono);
  display: block;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stat strong sup { color: var(--accent); font-size: .65em; margin-left: 2px; }
.hero__stat span {
  font-family: var(--font-mono);
  display: block;
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: .45rem;
  line-height: 1.35;
}

@media (max-width: 580px) {
  .hero__stats {
    gap: .75rem;
  }
  .hero__stat strong {
    font-size: clamp(1.35rem, 5vw, 1.8rem);
  }
  .hero__stat span {
    font-size: .65rem;
    line-height: 1.25;
  }
}

/* Cadre photo avec angles architecturaux */
.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.photo-frame__inner {
  position: relative;
  border-radius: calc(var(--radius-lg) - 8px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-card);
}
.photo-frame__inner img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.photo-frame:hover .photo-frame__inner img {
  transform: scale(1.04);
}
.photo-frame__inner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 9, 13, 0.75) 100%);
}

.photo-frame .corner {
  position: absolute; width: 24px; height: 24px;
  border-color: var(--accent); border-style: solid; border-width: 0;
}
.photo-frame .c-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: var(--radius-lg); }
.photo-frame .c-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: var(--radius-lg); }

.photo-frame__badge {
  position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
}
.photo-frame__badge .title {
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.photo-frame__badge .pill {
  font-family: var(--font-mono);
  padding: .35rem .8rem; border-radius: var(--pill);
  background: rgba(9, 9, 13, 0.82); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: #fff;
}
.photo-frame__badge .pill::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-right: .5rem;
}

/* =========================================================
   CARTES ET GRILLES (PÔLES, SERVICES, ATELIER)
   ========================================================= */
.card-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3.5vw, 2.5rem);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-accent);
  transform: translateY(-4px);
}
.card__num {
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; color: var(--steel);
  margin-bottom: 1rem;
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase;
  letter-spacing: 0.03em;
}
.card__body {
  color: var(--muted); font-size: .98rem; line-height: 1.6; flex: 1; margin-bottom: 1.5rem;
}
.card__link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--text);
  transition: gap .3s var(--ease), color .3s;
}
.card:hover .card__link { color: var(--accent); gap: .8rem; }

/* PROTOCOLE EN 5 ÉTAPES */
.steps-list {
  display: grid; gap: 1.5rem;
}
.step-item {
  display: grid; gap: 1.2rem;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s;
}
@media (min-width: 768px) {
  .step-item { grid-template-columns: 80px 1.4fr 2fr; align-items: center; }
}
.step-item:hover { border-color: var(--line-accent); }
.step-num {
  font-family: var(--font-mono);
  font-size: 2.2rem; font-weight: 700; color: var(--accent); line-height: 1;
  letter-spacing: -0.04em;
}
.step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem; font-weight: 700; text-transform: uppercase; color: #fff;
  letter-spacing: 0.02em;
}
.step-desc {
  color: var(--muted); font-size: .98rem; line-height: 1.6;
}

/* =========================================================
   GALERIE DES RÉALISATIONS ET FILTRES DYNAMIQUES
   ========================================================= */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .65rem 1.4rem;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-weight: 700; font-size: .88rem;
  transition: all .3s var(--ease);
}
.filter-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.filter-btn.is-active {
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 4px 20px -4px var(--accent-glow);
}

.gallery-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-accent);
}
.gallery-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.gallery-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery-card:hover .gallery-card__thumb img {
  transform: scale(1.06);
}
.gallery-card__info {
  padding: 1.5rem;
}
.gallery-card__tag {
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .4rem; display: block;
}
.gallery-card__title {
  font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: .6rem; line-height: 1.3;
}
.gallery-card__meta {
  font-size: .88rem; color: var(--steel); line-height: 1.5;
}

/* =========================================================
   COMPARATEUR AVANT / APRÈS INTERACTIF
   ========================================================= */
.compare-container {
  position: relative;
  width: 100%; max-width: 1000px; margin-inline: auto;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  user-select: none; -webkit-user-select: none;
}
.compare-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.compare-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.compare-before {
  z-index: 1;
}
.compare-after {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}
.compare-slider {
  position: absolute; inset: 0; z-index: 10;
  opacity: 0; width: 100%; height: 100%;
  cursor: ew-resize; margin: 0;
}
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 5;
  width: 3px; background: var(--accent);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 16px var(--accent-glow);
}
.compare-handle__circle {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; border-radius: 50%;
  background: #ffffff; color: #09090d;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  font-size: .85rem; font-weight: 900;
}
.compare-label {
  font-family: var(--font-mono);
  position: absolute; bottom: 20px; z-index: 4;
  padding: .35rem .85rem; border-radius: var(--pill);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.compare-label--before {
  left: 20px; background: rgba(9, 9, 13, 0.85); color: var(--steel); border: 1px solid var(--line);
}
.compare-label--after {
  right: 20px; background: var(--accent); color: #fff;
}

/* =========================================================
   DÉMONSTRATION VIDÉO GRENAILLAGE CABINE
   ========================================================= */
.workshop-video-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.workshop-video-card__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .workshop-video-card__inner {
    flex-direction: row;
    align-items: center;
  }
}
.workshop-video-card__media {
  max-width: 240px;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}
.workshop-video-card__media video {
  width: 100%;
  height: auto;
  display: block;
}
.workshop-video-card__content {
  flex: 1;
}

/* =========================================================
   SECTION AVIS CLIENTS GOOGLE
   ========================================================= */
.reviews-badge-summary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.reviews-badge-summary__stars {
  display: flex;
  gap: 3px;
}
.reviews-badge-summary__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.reviews-badge-summary__score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}
.reviews-badge-summary__source {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  border-left: 1px solid var(--line);
  padding-left: .6rem;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.2rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 62, 140, 0.4);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px -10px rgba(232, 62, 140, 0.15);
}
.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.review-card__stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 1.1rem;
}
.review-card__google-pill {
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.04);
  padding: .3rem .7rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
}
.review-card__quote {
  font-family: var(--font-body);
  font-size: .98rem;
  line-height: 1.65;
  color: #c9c9d2;
  margin-bottom: 1.8rem;
  font-style: italic;
  flex-grow: 1;
}
.review-card__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 62, 140, 0.25) 0%, rgba(18, 18, 25, 0.9) 100%);
  border: 1px solid rgba(232, 62, 140, 0.4);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}
.review-card__name {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.review-card__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--steel);
  letter-spacing: .04em;
  margin-top: 2px;
}

/* =========================================================
   FORMULAIRE DE CONTACT ET DEVIS
   ========================================================= */
.contact-grid {
  display: grid; gap: 3rem;
}
@media (min-width: 992px) {
  .contact-grid { grid-template-columns: 1fr 1.3fr; align-items: start; }
}

.contact-info {
  display: grid; gap: 1.5rem;
}
.contact-box {
  padding: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-box h3 {
  font-family: var(--font-mono);
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 1rem;
}
.contact-box p, .contact-box a {
  color: #fff; font-size: 1.1rem; font-weight: 700; line-height: 1.5;
}
.contact-box a:hover { color: var(--accent); }

.form-card {
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.form-group {
  margin-bottom: 1.4rem;
}
.form-group label {
  font-family: var(--font-mono);
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel); margin-bottom: .5rem;
}
.form-control {
  width: 100%;
  padding: .95rem 1.2rem;
  background: rgba(9, 9, 13, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #fff; font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
}
textarea.form-control { resize: vertical; min-height: 120px; }

.form-status {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 10px;
  font-size: .95rem; font-weight: 600;
  display: none;
}
.form-status.success {
  display: block; background: rgba(16, 185, 129, 0.15); border: 1px solid #10b981; color: #10b981;
}
.form-status.error {
  display: block; background: rgba(239, 68, 68, 0.15); border: 1px solid #ef4444; color: #ef4444;
}

/* =========================================================
   FOOTER INSTITUTIONNEL
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: #060609;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: 2rem;
  margin-top: clamp(4rem, 8vw, 7rem);
}
.footer__grid {
  display: grid; gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.8fr 1fr 1fr 1.2fr; }
}
.footer__brand p {
  margin-top: 1rem; color: var(--muted); font-size: .95rem; line-height: 1.6; max-width: 32ch;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.2rem;
}
.footer__col ul { display: grid; gap: .7rem; }
.footer__col a {
  color: var(--muted); font-size: .95rem; transition: color .3s;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .88rem; color: var(--steel);
}
.footer__bottom a { color: var(--steel); }
.footer__bottom a:hover { color: #fff; }

.footer__signature {
  width: 100%; text-align: center;
  padding-top: 1.5rem; margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: .85rem; color: var(--steel);
}
.footer__signature a {
  color: #fff; font-weight: 700; text-decoration: none;
}
.footer__signature a:hover { color: var(--accent); }

/* =========================================================
   BADGE PARTENAIRE OFFICIEL CASANOVA
   ========================================================= */
.partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  text-decoration: none;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
  transition: all .35s var(--ease);
}
.partner-tag:hover {
  background: rgba(234, 46, 123, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -6px var(--accent-glow);
}
.partner-tag__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}
.partner-tag__info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.partner-tag__title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.partner-tag__sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.partner-tag__sub svg {
  width: 14px;
  height: 14px;
  stroke: var(--steel);
  transition: transform .3s ease, stroke .3s ease;
}
.partner-tag:hover .partner-tag__sub svg {
  transform: translateX(3px) translateY(-1px);
  stroke: var(--accent);
}

/* Video Loop Cards */
.video-loop-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.video-loop-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.video-loop-card__media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.video-loop-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-loop-card__badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}
.video-loop-card__badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}
.video-loop-card__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.video-loop-card__title {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  margin: 0;
}
.video-loop-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}


