/* =========================================================
   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 : Urbanist (Google Fonts)
   ========================================================= */

: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: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --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%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
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 { color: var(--text); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--steel);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; flex: none;
  background: var(--accent); transform: rotate(45deg);
  box-shadow: 0 0 14px 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-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  margin-top: 1rem;
  text-transform: uppercase;
}
.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-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.brand__sub { font-size: .72rem; color: var(--steel); letter-spacing: .15em; text-transform: uppercase; }

.header__actions {
  display: flex; align-items: center; gap: .6rem;
}
.pill-call {
  display: none; align-items: center; gap: .55rem;
  padding: .6rem 1.1rem;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
  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);
}

/* 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 { display: flex; flex-direction: column; }
.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: grid; grid-template-columns: 2.8rem 1fr auto; align-items: center; gap: 1rem;
  padding: clamp(.9rem, 2vw, 1.3rem) 0;
  color: var(--text);
  transition: color .3s var(--ease);
}
.menu__num {
  font-size: .85rem; font-weight: 700; color: var(--steel); letter-spacing: .1em;
  display: flex; align-items: center; gap: .5rem;
}
.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;
  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__num { color: var(--accent); }
.menu__link.is-active .menu__num::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.menu__link.is-active .menu__label { color: #fff; }
.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__headline {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.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, 1fr);
  gap: 1.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero__stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.hero__stat strong sup { color: var(--accent); font-size: .6em; }
.hero__stat span {
  display: block;
  font-size: .8rem;
  color: var(--steel);
  margin-top: .4rem;
  line-height: 1.3;
}

/* 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-size: .85rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #fff;
}
.photo-frame__badge .pill {
  padding: .4rem .85rem; border-radius: var(--pill);
  background: rgba(9, 9, 13, 0.75); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
  font-size: .8rem; font-weight: 700; 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-size: .8rem; font-weight: 800; letter-spacing: .2em; color: var(--steel);
  margin-bottom: 1rem;
}
.card__title {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; text-transform: uppercase;
}
.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: 800; 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-size: 2.2rem; font-weight: 900; color: var(--accent); line-height: 1;
}
.step-title {
  font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: #fff;
}
.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-size: .72rem; font-weight: 800; letter-spacing: .18em; 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 {
  position: absolute; bottom: 20px; z-index: 4;
  padding: .4rem .9rem; border-radius: var(--pill);
  font-size: .75rem; font-weight: 800; letter-spacing: .15em; 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;
}

/* =========================================================
   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-size: .8rem; font-weight: 800; letter-spacing: .2em; 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 {
  display: block; font-size: .82rem; font-weight: 800; 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-size: .8rem; font-weight: 800; letter-spacing: .2em; 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); }
