/* ============ Mbaye Mécanique ============ */
:root {
  --ink: #0f1113;
  --ink-2: #181b1f;
  --ink-3: #23272c;
  --paper: #f4f2ee;
  --white: #ffffff;
  --muted: #6b6f75;
  --line: #dedad3;
  --accent: #2b5cff;
  --accent-soft: rgba(43,92,255,.14);
  --accent-dark: #1846d6;
  --gold: #f5b82e;
  --radius: 14px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", "Arial Black", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--font);
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--lg { padding: 18px 28px; font-size: 17px; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-3); }
.btn:active { transform: scale(.98); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,17,19,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--white);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark svg { width: 40px; height: 40px; display: block; }
.brand__mark rect { fill: var(--accent); }
.brand__mark path { fill: var(--white); }
.brand__text { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.brand__text strong { font-weight: 900; margin-left: 4px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--white); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%;
  animation: slowzoom 22s ease-out both;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,17,19,.95) 0%, rgba(15,17,19,.82) 38%, rgba(15,17,19,.35) 75%, rgba(15,17,19,.25) 100%),
    linear-gradient(0deg, rgba(15,17,19,.9) 0%, rgba(15,17,19,0) 45%);
}
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { padding-top: 120px; padding-bottom: 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 16px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.hero h1 {
  font-size: clamp(48px, 8.5vw, 112px);
  font-weight: 900;
  margin: 26px 0 22px;
  letter-spacing: -0.04em;
}
.hero h1 em { font-style: normal; color: #5c86ff; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 560px; color: rgba(255,255,255,.82); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
/* Bouton panne : position envoyée sur WhatsApp */
.sos {
  display: flex; align-items: center; gap: 14px;
  width: 100%; max-width: 520px; margin-top: 18px;
  padding: 14px 18px 14px 14px;
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(43,92,255,.28), rgba(43,92,255,.08));
  border: 1px solid rgba(92,134,255,.45);
  color: var(--white); font-family: var(--font); text-align: left;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .25s;
}
.sos:hover { border-color: #8aa8ff; background: linear-gradient(100deg, rgba(43,92,255,.4), rgba(43,92,255,.12)); }
.sos:active { transform: scale(.985); }
.sos__pin {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent);
}
.sos__pin::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--accent);
  animation: sosPulse 2.2s ease-out infinite;
}
.sos__pin svg { width: 22px; height: 22px; fill: var(--white); }
.sos__body { display: flex; flex-direction: column; gap: 3px; flex: 1; line-height: 1.25; }
.sos__body strong { font: 800 17px/1.2 var(--display); }
.sos__body small { font-size: 14px; color: rgba(255,255,255,.7); }
.sos__arrow { font-size: 22px; color: #8aa8ff; transition: transform .25s; }
.sos:hover .sos__arrow { transform: translateX(4px); }
@keyframes sosPulse {
  0% { opacity: .8; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

.sos-sheet {
  width: min(520px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 30px 28px 24px;
  border: 0; border-radius: 22px;
  background: var(--ink-2); color: var(--white);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  overflow-y: auto;
}
.sos-sheet::backdrop { background: rgba(8,9,11,.72); backdrop-filter: blur(4px); }
.sos-sheet[open] { animation: sheetIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.sos-sheet__close-form { position: absolute; top: 14px; right: 14px; }
.sos-sheet__close {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16); background: transparent;
  color: var(--white); font-size: 24px; line-height: 1; cursor: pointer;
}
.sos-sheet__close:hover { background: rgba(255,255,255,.08); }
.sos-sheet__eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.65); margin: 0 0 10px; }
.sos-sheet h2 { font: 800 clamp(24px, 4vw, 30px)/1.1 var(--display); margin: 0 40px 10px 0; }
.sos-sheet__lead { font-size: 15px; color: rgba(255,255,255,.72); margin: 0 0 22px; }
.sos-sheet__group { border: 0; padding: 0; margin: 0 0 18px; }
.sos-sheet__group legend, .sos-sheet__field > span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.sos-sheet__field > span em { font-style: normal; font-weight: 400; color: rgba(255,255,255,.5); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 14.5px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.chip span:hover { border-color: rgba(255,255,255,.4); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid #8aa8ff; outline-offset: 2px; }
.sos-sheet__field { display: block; margin-bottom: 18px; }
.sos-sheet__field[hidden] { display: none; }
.sos-sheet__field input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05);
  color: var(--white); font: 400 16px var(--font);
}
.sos-sheet__field input::placeholder { color: rgba(255,255,255,.4); }
.sos-sheet__field input:focus { outline: none; border-color: var(--accent); }
.sos-sheet__status { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; color: #8aa8ff; text-align: center; }
.sos-sheet__status.is-error { color: #ffb4a8; }
.sos-sheet__alt { margin: 6px 0 0; font-size: 14px; color: rgba(255,255,255,.6); text-align: center; }
.sos-sheet__alt a { color: var(--white); }
#sos-send[disabled] { opacity: .7; cursor: wait; }

.hero__promise { margin-top: 16px; font-size: 14.5px; color: rgba(255,255,255,.6); max-width: 480px; }

/* Carte d'appel : on appelle une personne, pas un numéro */
.callcard {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 10px 10px 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--white); text-decoration: none;
  transition: background .3s, border-color .3s, transform .3s;
}
.callcard:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); }
.callcard:active { transform: scale(.98); }
.callcard__avatar {
  position: relative; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font: 900 20px/1 var(--display);
  background: linear-gradient(135deg, #fff, #c9d4ff); color: var(--ink);
}
.callcard__live {
  position: absolute; right: 0; bottom: 1px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #3ddc84; border: 2.5px solid var(--ink);
}
.callcard__live::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid #3ddc84; opacity: 0;
  animation: live 2.4s ease-out infinite;
}
@keyframes live { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
.callcard__body { display: flex; flex-direction: column; line-height: 1.2; }
.callcard__label { font-size: 13px; color: rgba(255,255,255,.65); }
.callcard__num { font: 800 22px/1.2 var(--display); letter-spacing: .01em; white-space: nowrap; }
.callcard__btn {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(43,92,255,.45);
  transition: background .3s;
}
.callcard:hover .callcard__btn { background: var(--accent-dark); }
.callcard__btn svg { width: 22px; height: 22px; fill: var(--white); }
.hero__rating { display: flex; align-items: center; gap: 12px; margin-top: 34px; font-size: 15px; color: rgba(255,255,255,.75); }
.hero__rating strong { color: var(--white); }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Réassurance ---------- */
.trust { background: var(--ink-2); color: var(--white); border-top: 1px solid rgba(255,255,255,.06); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 16px; padding: 28px 20px; }
.trust__item + .trust__item { border-left: 1px solid rgba(255,255,255,.08); }
.trust__item svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust__item strong { display: block; font-size: 16px; }
.trust__item span { font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { max-width: 860px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section h2 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 900; }
.section__intro { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 620px; }
.section--dark .section__intro { color: rgba(255,255,255,.65); }

/* ---------- Prestations ---------- */
/* ChromaGrid — React Bits, porté en CSS simple (thème clair) */
.chroma-grid {
  --chroma-x: -9999px;
  --chroma-y: -9999px;
  --chroma-power: 0;
  --chroma-cols: 3;
  --chroma-min: 240px;
  --chroma-gap: 16px;
  --chroma-r: 260px;
  --chroma-gray: 1;
  --chroma-dim: 0.12;
  --chroma-glow: 0.5;
  --chroma-border: 1;
  --chroma-fade: 0.6s;
  --chroma-ratio: 3 / 2;
  --chroma-radius: 22px;
  --chroma-stops: rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%;
  --chroma-tile: linear-gradient(180deg, #ffffff 0%, #f6f6f8 100%);
  --chroma-tile-edge: rgba(24, 24, 27, 0.08);
  --chroma-tile-highlight: rgba(255, 255, 255, 1);
  --chroma-tile-shadow: 0 4px 10px -5px rgba(24, 24, 27, 0.25);
  --chroma-media-edge: rgba(24, 24, 27, 0.06);
  --chroma-well: rgba(24, 24, 27, 0.05);
  --chroma-ink: #27272a;
  --chroma-muted: rgba(39, 39, 42, 0.6);
  --chroma-hover: brightness(0.99);
  position: relative;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.chroma-grid-inner {
  display: grid;
  gap: var(--chroma-gap);
  grid-template-columns: repeat(
    auto-fill,
    minmax(
      min(100%, max(var(--chroma-min), calc((100% - (var(--chroma-cols) - 1) * var(--chroma-gap)) / var(--chroma-cols)))),
      1fr
    )
  );
}
.chroma-card {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  min-width: 0;
  padding: 8px;
  border-radius: var(--chroma-radius);
  background: var(--chroma-tile);
  box-shadow: var(--chroma-tile-shadow);
  color: var(--chroma-ink);
  overflow: hidden;
  isolation: isolate;
  transition: filter 0.25s ease;
}
.chroma-card:hover { filter: var(--chroma-hover); }
.chroma-wash, .chroma-color, .chroma-card-glow {
  -webkit-mask-image: radial-gradient(circle var(--chroma-r) at calc(var(--chroma-x) - var(--chroma-ox, 0px)) calc(var(--chroma-y) - var(--chroma-oy, 0px)), var(--chroma-stops));
  mask-image: radial-gradient(circle var(--chroma-r) at calc(var(--chroma-x) - var(--chroma-ox, 0px)) calc(var(--chroma-y) - var(--chroma-oy, 0px)), var(--chroma-stops));
}
.chroma-wash {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(130% 70% at 50% 100%, var(--chroma-accent), transparent 72%);
  opacity: calc(var(--chroma-glow) * var(--chroma-power) * 0.45);
}
.chroma-media {
  position: relative; z-index: 1;
  aspect-ratio: var(--chroma-ratio);
  border-radius: max(0px, calc(var(--chroma-radius) - 8px));
  overflow: hidden;
  background: var(--chroma-well);
}
.chroma-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  user-select: none; -webkit-user-drag: none;
}
.chroma-mono { filter: grayscale(var(--chroma-gray)) brightness(calc(1 - var(--chroma-dim))); }
.chroma-color { opacity: var(--chroma-power); }
.chroma-media-rim {
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--chroma-media-edge);
  pointer-events: none;
}
.chroma-info {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
  padding: 10px 14px 16px;
}
.chroma-title { font-size: 21px; font-weight: 800; line-height: 1.2; }
.chroma-subtitle { font-size: 15px; line-height: 1.5; color: var(--chroma-muted); }
.chroma-card-rim, .chroma-card-glow {
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit; pointer-events: none;
}
.chroma-card-rim { box-shadow: inset 0 0 0 1px var(--chroma-tile-edge), inset 0 1px 0 var(--chroma-tile-highlight); }
.chroma-card-glow {
  box-shadow: inset 0 0 0 1px var(--chroma-accent), inset 0 0 16px -8px var(--chroma-accent);
  opacity: calc(var(--chroma-border) * var(--chroma-power));
}
/* Écrans tactiles : pas de survol, donc photos en couleur d'office */
@media (hover: none) {
  .chroma-color { -webkit-mask-image: none; mask-image: none; opacity: 1; }
}
.services__note {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--white); border-radius: var(--radius); padding: 28px 32px;
  border: 1px solid var(--line);
}
.services__note p { max-width: 640px; color: var(--muted); }
.services__note strong { color: var(--ink); }

/* ---------- Méthode ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.1); }
.steps__n {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font: 800 18px/1 var(--display);
  background: var(--accent); color: var(--white);
}
.steps h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.steps p { color: rgba(255,255,255,.65); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.compare div { background: var(--ink-3); border-radius: 12px; padding: 20px 22px; }
.compare strong { display: block; }
.compare span { font-size: 14.5px; color: rgba(255,255,255,.6); }

/* ---------- Avis ---------- */
.score { display: flex; flex-direction: column; align-items: flex-end; }
.score__big { font: 900 64px/1 var(--display); letter-spacing: -0.04em; }
.score .stars { font-size: 20px; }
.score__sub { font-size: 14px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 18px;
}
.review blockquote { margin: 0; font-size: 18px; line-height: 1.55; flex: 1; }
.review figcaption { font-size: 14px; color: var(--muted); }
.review figcaption strong { color: var(--ink); }

/* ---------- Contact ---------- */
/* Diagnostic express */
.section--diag { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.diag { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 28px; align-items: start; }
.diag__list { display: flex; flex-direction: column; gap: 8px; }
.diag__item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 15px 18px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); color: var(--ink);
  font: 600 16px/1.25 var(--font); text-align: left;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.diag__item:hover { border-color: #c9c4ba; transform: translateX(3px); }
.diag__item[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); transform: none; }
.diag__item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.diag__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.diag__dot--red { background: #e5484d; }
.diag__dot--orange { background: #f5a524; }
.diag__dot--green { background: #2fb26b; }

.diag__panels {
  position: sticky; top: 100px;
  padding: 34px 34px 28px;
  border-radius: 22px;
  background: var(--ink); color: var(--white);
}
.diag__panel[hidden] { display: none; }
.diag__panel:not([hidden]) { animation: diagIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes diagIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.diag__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.diag__top h3 { font: 800 clamp(24px, 2.6vw, 32px)/1.1 var(--display); margin: 0; }
.diag__badge { padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.diag__badge--red { background: rgba(229,72,77,.16); color: #ff8d90; }
.diag__badge--orange { background: rgba(245,165,36,.16); color: #ffc35c; }
.diag__badge--green { background: rgba(47,178,107,.16); color: #6ee0a1; }
.diag__info { display: grid; gap: 0; margin: 0; }
.diag__info > div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.diag__info dt { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8aa8ff; margin-bottom: 6px; }
.diag__info dd { margin: 0; font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,.86); }
.diag__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 22px; }
.diag__call { color: rgba(255,255,255,.75); font-size: 15px; }
.diag__call:hover { color: var(--white); }
.diag__note { margin: 18px 0 0; font-size: 13px; color: rgba(255,255,255,.45); }

@media (max-width: 860px) {
  .diag { grid-template-columns: 1fr; gap: 18px; }
  .diag__list { flex-direction: row; overflow-x: auto; gap: 8px; margin: 0 -24px; padding: 0 24px 6px; scrollbar-width: none; }
  .diag__list::-webkit-scrollbar { display: none; }
  .diag__item { width: auto; flex: none; white-space: nowrap; padding: 12px 16px; font-size: 15px; }
  .diag__item:hover { transform: none; }
  .diag__panels { position: static; padding: 26px 22px 22px; }
  .diag__cta .btn { width: 100%; }
  .diag__cta { justify-content: center; }
}

.section--contact { background: var(--white); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.infos { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.infos div { background: var(--paper); padding: 20px 22px; }
.infos dt { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.infos dd { margin: 6px 0 0; font-weight: 700; }
.infos a { color: var(--accent); text-decoration: none; font-size: 20px; }

.quote {
  background: var(--ink); color: var(--white);
  border-radius: 20px; padding: 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.quote h3 { font-size: 28px; font-weight: 900; }
.quote__sub { color: rgba(255,255,255,.6); margin-top: -8px; font-size: 15px; }
.quote label { display: flex; flex-direction: column; gap: 8px; }
.quote label span { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote input, .quote textarea {
  font: 16px/1.4 var(--font); /* 16px min : évite le zoom auto sur iOS */
  color: var(--white);
  background: var(--ink-3);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 14px 16px;
  width: 100%;
  resize: vertical;
  transition: border-color .2s;
}
.quote input::placeholder, .quote textarea::placeholder { color: rgba(255,255,255,.35); }
.quote input:focus, .quote textarea:focus { outline: none; border-color: var(--accent); }
.quote .is-invalid { border-color: var(--gold); }
.quote__alt { text-align: center; font-size: 14.5px; color: rgba(255,255,255,.6); }
.quote__alt a { color: var(--white); font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 72px 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer .brand { color: var(--white); margin-bottom: 16px; }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; font-family: var(--font); letter-spacing: 0; }
.footer a { color: var(--white); text-decoration: none; }
.footer__credit { color: rgba(255,255,255,.5); }
.footer__credit a { color: rgba(255,255,255,.85); font-weight: 700; text-decoration: none; }
.footer__credit a:hover { color: #8aa8ff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.todo { color: var(--gold); }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Apparitions au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img, .callcard__live::after { animation: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .split, .contact { grid-template-columns: 1fr; gap: 48px; }
  .split__media { max-width: 520px; }
  .reviews { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 0 24px;
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
  }
  .nav.is-open { max-height: 420px; padding: 8px 24px 24px; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
  .nav .btn { margin-top: 18px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding: 0 20px; }
  .header__inner { height: 64px; }
  .nav { top: 64px; }
  .brand__text { font-size: 18px; }
  .hero { min-height: 92vh; }
  .hero__media img { object-position: 22% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(15,17,19,.97) 0%, rgba(15,17,19,.85) 50%, rgba(15,17,19,.45) 100%); }
  .hero__content { padding-top: 80px; padding-bottom: 56px; }
  .eyebrow { font-size: 12px; }
  .hero__cta .btn, .callcard { width: 100%; }
  .callcard__body { flex: 1; }
  .callcard__num { font-size: 20px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }
  .trust__item { padding: 22px 12px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .compare, .infos, .quote__row { grid-template-columns: 1fr; }
  .quote { padding: 28px 22px; }
  .score { align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 10px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(15,17,19,.96);
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .sos { width: 100%; max-width: none; }
  .mobile-bar a, .mobile-bar button {
    border: 0; font-family: var(--font); font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: 12px;
    font-weight: 700; text-decoration: none; color: var(--white);
  }
  .mobile-bar svg { width: 18px; height: 18px; fill: currentColor; }
  .mobile-bar__call { background: var(--accent); }
  .mobile-bar .mobile-bar__wa { background: transparent; border: 1.5px solid rgba(255,255,255,.22); }
}

/* ============ Impression ============ */
@media print {
  .header, .mobile-bar, .hero__media, .hero__cta, .services__note, .split__media, .quote, .footer__bottom, .compare { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; padding: 0; }
  .hero, .section--dark, .trust, .footer { background: #fff !important; color: #000 !important; min-height: 0; }
  .hero__content { padding: 0 0 16pt; }
  .hero h1 { font-size: 30pt; margin: 8pt 0; }
  .hero__lead, .hero__rating, .steps p, .trust__item span, .section--dark .section__intro, .footer, .footer a { color: #000 !important; }
  .section { padding: 18pt 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .chroma-card { break-inside: avoid; }
  .chroma-color, .chroma-wash, .chroma-card-glow { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .eyebrow { border-color: #000; color: #000; }
  .contact, .split { grid-template-columns: 1fr; }
}
