/* ==========================================================================
   ACM Prodesign — feuille de style partagée
   Charte issue du cahier des charges : noir profond, rouge ACM (actions),
   bleu ACM (registre technique), blanc / gris acier.
   ========================================================================== */

:root {
  --black: #0B0C0E;
  --black-2: #0E0F11;
  --black-3: #08090A;
  --ink: #16181B;
  --text: #3c4147;
  --text-2: #2A2E33;
  --muted: #5B6168;
  --muted-2: #6b7178;
  --grey: #9CA3AF;
  --light: #C9CDD2;
  --line: #E7E9EC;
  --line-2: #D9DCE0;
  --surface: #F5F6F7;
  --chip: #F0F1F3;
  --red: #E2231A;
  --red-dark: #c5160e;
  --blue: #1B5FA8;
  --blue-light: #5fa0e0;
  --dark-line: #1c1f23;
  --dark-line-2: #26292E;
  --dark-line-3: #34383E;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container: 1280px;
  --gutter: 24px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
button { font-family: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--black);
  color: #fff;
  padding: 10px 16px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- Kickers, titres ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.kicker--blue { color: var(--blue); }
.kicker--red { color: var(--red); }
.kicker--grey { color: var(--grey); }
.kicker--grey::before { width: 9px; height: 9px; background: var(--blue); }

.section-title {
  font-weight: 700;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--black);
}
.section-title--light { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(226, 35, 26, 0.8);
}
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.btn--sm {
  padding: 13px 22px;
  font-size: 15px;
  gap: 9px;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 22px -10px rgba(226, 35, 26, 0.7);
}
.btn--sm:hover { transform: translateY(-1px); }

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--blue);
  transition: color .2s;
}
.link-underline--light { color: #fff; }
.link-underline--light:hover { color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header__logo img { height: 46px; width: auto; }

.site-nav {
  display: none;
  align-items: center;
  gap: 30px;
}
.site-nav a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--black); }
.site-nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
  border-bottom-color: var(--blue);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.site-header__phone {
  display: none;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-display);
}
.site-header__phone::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
}
.site-header__cta { display: none; }

.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  background: var(--black);
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
.burger span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
}

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header__cta { display: inline-flex; }
  .burger { display: none; }
}
@media (min-width: 1180px) {
  .site-header__phone { display: flex; }
}

/* ---------- Menu mobile ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--black);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  margin-bottom: 24px;
}
.mobile-menu__label {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
}
.mobile-menu__close {
  width: 46px;
  height: 46px;
  background: var(--ink);
  border: 1px solid var(--dark-line-2);
  color: #fff;
  font-size: 22px;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1;
}
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid var(--dark-line);
}
.mobile-menu__cta {
  margin-top: 28px;
  text-align: center;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 18px;
  border-radius: 2px;
}
.mobile-menu__phone {
  margin-top: 14px;
  text-align: center;
  color: var(--grey);
  text-decoration: none;
  font-size: 15px;
}
body.menu-open { overflow: hidden; }

/* ---------- Héro de page ---------- */
.page-hero {
  position: relative;
  min-height: min(64vh, 560px);
  background: var(--black);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  animation: acmZoom 24s ease-in-out infinite alternate;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 14, 0.5) 0%, rgba(11, 12, 14, 0.2) 38%, rgba(11, 12, 14, 0.9) 100%);
}
.page-hero__content {
  position: relative;
  width: 100%;
  padding-bottom: 60px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.breadcrumb a {
  color: var(--light);
  text-decoration: none;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before {
  content: "/";
  color: var(--muted-2);
  margin-right: 10px;
}
.breadcrumb [aria-current] { color: #fff; }

.page-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  color: #fff;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.page-hero__kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--blue);
}
.page-hero__title {
  color: #fff;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero__title em {
  font-style: normal;
  color: var(--blue);
}
.page-hero__lead {
  margin-top: 24px;
  color: var(--light);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 54ch;
  line-height: 1.6;
}

@keyframes acmZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* ---------- Sections génériques ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--black); }
.section--dark-2 {
  background: var(--black-2);
  border-top: 1px solid var(--dark-line);
}

.section-head { margin-bottom: 44px; max-width: 60ch; }
.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  max-width: none;
  margin-bottom: 40px;
}
.section-head--split > div { max-width: 50ch; }

/* ---------- Intro / positionnement ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (min-width: 1080px) {
  .intro { grid-template-columns: 1.3fr 0.95fr; }
}
.intro__title {
  margin-bottom: 22px;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--black);
}
.intro__text p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.75;
}
.intro__text p + p { margin-top: 18px; }

.audience {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.audience__item {
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.audience__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.audience__item h3 {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 17px;
  color: var(--black);
}
.audience__item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- Prestations ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 50px -28px rgba(11, 12, 14, 0.45);
}
.service-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--blue);
}
.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card__body h3 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 20px;
  color: var(--black);
}
.service-card__body p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.tags li {
  font-size: 12px;
  color: var(--text-2);
  background: var(--chip);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 500;
}

.standards {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.standards__label {
  font-family: var(--font-display);
  color: var(--muted-2);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.standards__list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.standards__list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  padding: 9px 15px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
}
.standards__list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}

/* ---------- Galerie réalisations ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-card {
  position: relative;
  display: block;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  border: 1px solid var(--dark-line);
  transition: border-color .3s;
}
.gallery-card:hover { border-color: var(--dark-line-3); }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 14, 0) 45%, rgba(11, 12, 14, 0.85) 100%);
}
.gallery-card__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 18px;
}
.gallery-card__type {
  font-family: var(--font-display);
  color: var(--blue-light);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gallery-card h3 {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

/* ---------- Bandeau CTA ---------- */
.cta-band {
  padding-block: clamp(56px, 7vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-band__text { max-width: 48ch; }
.cta-band__title {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.cta-band__text p {
  margin-top: 16px;
  color: var(--grey);
  font-size: 17px;
  line-height: 1.6;
}
.cta-band__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--black-3);
  color: var(--grey);
}
.site-footer__inner {
  padding-block: clamp(48px, 5vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.site-footer__logo { display: flex; align-items: center; text-decoration: none; }
.site-footer__logo img {
  height: 44px;
  width: auto;
  filter: brightness(1.6);
}
.site-footer__copy { font-size: 13px; }
.site-footer__back {
  color: var(--grey);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s;
}
.site-footer__back:hover { color: #fff; }

/* ---------- Apparition au scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .page-hero__bg { animation: none; }
  .service-card, .gallery-card img, .btn { transition: none; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .mobile-menu, .burger, .cta-band__actions { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .page-hero { min-height: auto; }
}
