/* =========================================
   Mr Débouchage — STYLE (Light Premium)
   CSS COMPLET prêt à copier/coller
   -> Compatible avec TON HTML (topbar/menu/tooltip/etc.)
   ========================================= */

:root {
  --bg: #f7f9fc;
  --bg2: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, 0.1);

  --primary: #2563eb;
  --primary2: #60a5fa;
  --good: #16a34a;

  --shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
  --shadow2: 0 10px 26px rgba(15, 23, 42, 0.08);
  --r: 18px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial;
  color: var(--text);
  background:
    radial-gradient(
      900px 600px at 15% 0%,
      rgba(37, 99, 235, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px 600px at 85% 10%,
      rgba(96, 165, 250, 0.18),
      transparent 55%
    ),
    linear-gradient(#fff, var(--bg));
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}
.muted {
  color: var(--muted);
}

.slogan-gradient {
  display: inline-block;
  font-weight: 800;
  letter-spacing: -0.01em;

  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 40%, #22c55e 100%);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* petit glow subtil */
  filter: drop-shadow(0 1px 8px rgba(56, 189, 248, 0.15));
}

/* ======================
   Skip link (a11y)
====================== */
.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  font-weight: 900;
  z-index: 999;
}
.skip:focus {
  left: 12px;
}

/* ======================
   Topbar + Nav
====================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.topbar.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}
.topbar.is-shrink .nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.brand__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    var(--primary2),
    var(--primary)
  );
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.28);
}

/* desktop links hidden on mobile */
.nav__links {
  display: none;
  gap: 18px;
  align-items: center;
  color: rgba(15, 23, 42, 0.72);
}
.nav__links a:hover {
  color: rgba(15, 23, 42, 0.95);
}
.nav__ctaLink {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
}

.nav__actions {
  display: none;
  gap: 10px;
  align-items: center;
}
.btn--mail {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: rgba(37, 99, 235, 0.95);
}

.btn--mail:hover {
  background: rgba(37, 99, 235, 0.14);
}

/* burger (mobile) */
.burger {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  cursor: pointer;
}
.burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.85);
}

/* ======================
   Buttons
====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(15, 23, 42, 0.92);
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    border-color 0.14s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn--ghost {
  background: transparent;
  box-shadow: none;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  color: white;
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.22);
}
.btn--primary:before {
  content: "";
  position: absolute;
  top: -60%;
  left: -30%;
  width: 60%;
  height: 220%;
  transform: rotate(25deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  opacity: 0;
}
.btn--primary:hover:before {
  animation: sheen 1.05s ease;
  opacity: 1;
}
@keyframes sheen {
  0% {
    transform: translateX(-140%) rotate(25deg);
  }
  100% {
    transform: translateX(340%) rotate(25deg);
  }
}

.btn--dark {
  background: rgba(15, 23, 42, 0.92);
  color: white;
  border-color: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}
.btn--wa {
  background: rgba(22, 163, 74, 0.1);
  border-color: rgba(22, 163, 74, 0.22);
  color: rgba(22, 101, 52, 0.95);
}
.btn--full {
  width: 100%;
}

/* focus clavier */
:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
  border-radius: 12px;
}

/* ======================
   Mobile menu (TON HTML: .menu ...)
====================== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.menu.is-open {
  display: block;
}
.menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
}
/* ===============================
   MOBILE MENU — MASTERCLASS (Plombier24)
   Gradient: #2563eb -> #38bdf8 -> #22c55e
   =============================== */
.menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
}
.menu.is-open {
  pointer-events: auto;
}

/* Backdrop premium */
.menu__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1200px 600px at 30% 10%,
      rgba(37, 99, 235, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 85% 20%,
      rgba(34, 197, 94, 0.18),
      transparent 60%
    ),
    rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.menu.is-open .menu__backdrop {
  opacity: 1;
}

/* Panel glass */
.menu__panel {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  max-width: 520px;
  margin: 0 auto;

  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.35);
  overflow: hidden;

  transform: translateY(-14px) scale(0.98);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.28s ease;
}
.menu.is-open .menu__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Header */
/* ===== HEADER MENU — MASTERCLASS (CLEAN) ===== */
.menu__head {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.82)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

/* Bande gradient signature */
.menu__head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 45%, #22c55e 100%);
}

/* Spacer invisible */
.menu__head-spacer {
  width: 44px;
  height: 44px;
}

/* Logo centré */
.menu__brand {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.menu__logo {
  height: 46px; /* base logique */
  width: auto;
  display: block;
  object-fit: contain;

  /* 🔥 MAGIE */
  transform: scale(2.5); /* ← agrandit visuellement */
  transform-origin: center;

  filter: drop-shadow(0 6px 16px rgba(2, 6, 23, 0.14));
}

/* Close */
.menu__close {
  justify-self: end;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.menu__close:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.9);
}

/* Links — app-like premium */
.menu__links {
  padding: 14px;
  display: grid;
  gap: 10px;
}

/* carte link */
.menu__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 18px 18px 18px 20px;
  border-radius: 18px;

  font-weight: 850;
  letter-spacing: 0.2px;
  color: rgba(15, 23, 42, 0.88);

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(248, 250, 252, 0.88)
  );

  border: 1px solid rgba(148, 163, 184, 0.22);

  box-shadow:
    0 18px 42px rgba(2, 6, 23, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition:
    transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.22s ease;
}

/* 🔥 GRADIENT BAR — plus vivante */
.menu__link::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2563eb 0%, #38bdf8 45%, #22c55e 100%);
  opacity: 0.9;
}

/* 🌈 Glow interne */
.menu__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.12),
    rgba(56, 189, 248, 0.12),
    rgba(34, 197, 94, 0.12)
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

/* 👉 Chevron 
.menu__link span,
.menu__link::marker {
  display: none;
}*/

/* ✅ Le texte doit rester visible */
.menu__link span {
  display: inline;
}

/* (optionnel) pas de marker */
.menu__link::marker {
  content: "";
}

.menu__link::marker {
  content: "";
}

/* Chevron custom */
.menu__link::selection {
  background: none;
}

.menu__link::after {
  pointer-events: none;
}

/* Chevron element */
.menu__link > i {
  font-style: normal;
  font-size: 20px;
  opacity: 0.6;
  transform: translateX(0);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

/* 🎯 ACTIVE / TAP */
.menu__link:active {
  transform: scale(0.975);
  box-shadow:
    0 10px 26px rgba(2, 6, 23, 0.16),
    inset 0 2px 6px rgba(0, 0, 0, 0.08);
}

.menu__link:active::after {
  opacity: 1;
}

.menu__link:active > i {
  transform: translateX(4px);
  opacity: 1;
}
.menu__link--primary {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.22),
    rgba(56, 189, 248, 0.22),
    rgba(34, 197, 94, 0.22)
  );
  border: none;
  color: #0f172a;
  font-weight: 950;
}

.menu__link--primary::before {
  opacity: 1;
  width: 6px;
}

.menu__panel {
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.35s ease;
}

.menu.is-open .menu__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.menu__link {
  opacity: 0;
  transform: translateY(14px);
  animation: none;
}

.menu.is-open .menu__link {
  animation: menuItemIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.menu.is-open .menu__link:nth-child(1) {
  animation-delay: 0.08s;
}
.menu.is-open .menu__link:nth-child(2) {
  animation-delay: 0.14s;
}
.menu.is-open .menu__link:nth-child(3) {
  animation-delay: 0.2s;
}
.menu.is-open .menu__link:nth-child(4) {
  animation-delay: 0.26s;
}

@keyframes menuItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(37, 99, 235, 0.08),
    rgba(56, 189, 248, 0.08),
    rgba(34, 197, 94, 0.08)
  );
  background-size: 300% 300%;
  animation: gradientMove 14s ease infinite;
  pointer-events: none;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.menu__link:active {
  transform: scale(0.97);
}

.menu__link > i {
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu__link:active > i {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {
  .menu__panel,
  .menu__link {
    animation: none !important;
    transition: none !important;
  }
}
/* fin carte link */

/* Actions */
.menu__actions {
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
}

/* Buttons premium */
.menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 14px;
  border-radius: 16px;
  text-decoration: none;

  font-weight: 850;
  letter-spacing: 0.2px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.08);
  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}
.menu__btn:active {
  transform: scale(0.985);
}

.menu__btn--dark {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.94),
    rgba(2, 6, 23, 0.94)
  );
  color: #fff;
}
.menu__btn--wa {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.26);
  color: rgba(15, 23, 42, 0.88);
}

/* Foot pills */
.menu__foot {
  padding: 0 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.7);
}
.menu__pill {
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(248, 250, 252, 0.8);
  color: rgba(15, 23, 42, 0.75);
}

/* Motion safe */
@media (prefers-reduced-motion: reduce) {
  .menu__backdrop,
  .menu__panel,
  .menu__link,
  .menu__btn {
    transition: none !important;
  }
}
.menu__head {
  overflow: hidden;
}

.menu__head::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at top center,
    rgba(37, 99, 235, 0.18),
    rgba(56, 189, 248, 0.12),
    rgba(34, 197, 94, 0.08),
    transparent 60%
  );
  opacity: 0.8;
  pointer-events: none;
}
/* fin header */

/* ======================
   HERO
====================== */
.hero {
  padding: 44px 0 10px;
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: -120px 0 auto 0;
  height: 320px;
  background:
    radial-gradient(
      700px 240px at 30% 40%,
      rgba(37, 99, 235, 0.2),
      transparent 60%
    ),
    radial-gradient(
      700px 240px at 70% 30%,
      rgba(96, 165, 250, 0.18),
      transparent 60%
    );
  pointer-events: none;
}
.hero__grid {
  display: grid;
  gap: 14px;
  position: relative;
}
.badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(15, 23, 42, 0.75);
  font-size: 13px;
  width: fit-content;
}
h1 {
  margin: 14px 0 10px;
  font-size: 36px;
  line-height: 1.07;
  letter-spacing: -0.8px;
}
.lead {
  margin: 0 0 16px;
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.65;
  font-size: 16px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
  box-shadow: var(--shadow2);
}
.stat__num {
  font-weight: 950;
  font-size: 18px;
}
.stat__txt {
  margin-top: 3px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

/* cards */
.card {
  border-radius: var(--r);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.18);
}
.card--glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.78)
  );
}
.hero__card .card {
  padding: 16px;
}
.card__title {
  font-weight: 950;
  font-size: 18px;
}
.card__text {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.68);
}
.card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.divider {
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
  margin: 14px 0;
}
.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.68);
}
.list li {
  margin: 6px 0;
}

/* ======================
   Sections + Head
====================== */
.section {
  padding: 42px 0;
}
.section--alt {
  background: linear-gradient(#fff, rgba(15, 23, 42, 0.02));
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.head {
  margin-bottom: 16px;
}
.head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.2px;
}
.pill2 {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(15, 23, 42, 0.7);
  font-size: 12px;
}

/* ======================
   Grids + tiles
====================== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.grid--3 {
  grid-template-columns: 1fr;
}
.tile {
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tile__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px; /* centre horizontalement */

  display: grid;
  place-items: center;

  font-size: 30px; /* ✅ icône plus grande */
  line-height: 1;

  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.14),
    rgba(56, 189, 248, 0.14),
    rgba(34, 197, 94, 0.14)
  );

  border: 1px solid rgba(148, 163, 184, 0.22);

  box-shadow:
    0 14px 32px rgba(2, 6, 23, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.tile:active .tile__icon {
  transform: scale(0.96);
}
.tile h3 {
  margin: 10px 0 6px;
}
.tile p {
  margin: 0;
  color: rgba(15, 23, 42, 0.66);
  line-height: 1.55;
}

@media (hover: hover) {
  .tile:hover .tile__icon {
    box-shadow:
      0 18px 44px rgba(37, 99, 235, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }
}

/* ======================
   Logos + Marquee
====================== */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.logoPill {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.72);
}

.marquee {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.74);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 24px;
  padding: 12px 14px;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  color: rgba(15, 23, 42, 0.62);
  font-weight: 900;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* ======================
   Avant / Après (IMAGES)
   MASTERCLASS – FINAL
====================== */

.ba {
  padding: 14px;
}

.ba__wrap {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.06),
    rgba(255, 255, 255, 0.88)
  );
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.1);
}

/* ======================
   Layers images
====================== */
.ba__layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* ✅ mobile = pas zoomé */
}

/* Desktop : plus immersif */
@media (min-width: 768px) {
  .ba__layer {
    background-size: cover;
  }
}

/* ======================
   AVANT
====================== */
.ba__before::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 260px at 30% 30%,
    rgba(15, 23, 42, 0.22),
    transparent 60%
  );
  pointer-events: none;
}

/* ======================
   APRES
====================== */
.ba__after {
  clip-path: inset(0 0 0 55%);
}

.ba__after::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 260px at 70% 40%,
    rgba(22, 163, 74, 0.22),
    transparent 60%
  );
  pointer-events: none;
}

/* ======================
   Labels
====================== */
.ba__label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 950;
  color: rgba(15, 23, 42, 0.74);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
}

.ba__label--after {
  left: auto;
  right: 14px;
}

/* ======================
   Handle
====================== */
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 2px;
  background: rgba(15, 23, 42, 0.22);
  z-index: 4;
}

.ba__handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.ba__handle::after {
  content: "↔";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 950;
  color: rgba(15, 23, 42, 0.65);
}

/* ======================
   Range invisible
====================== */
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  z-index: 5;
  cursor: ew-resize;
}

/* Footer */
.ba__foot {
  margin-top: 10px;
  font-size: 13px;
}

/* Cache ancien mock */
.ba__mock,
.ba__blob,
.ba__shine,
.ba__text {
  display: none;
}
/* ======================
   Zones (map + steps)
====================== */
.zones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.map {
  padding: 14px;
}
.map__wrap {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.06),
    rgba(255, 255, 255, 0.85)
  );
  overflow: hidden;
}
.mapGrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.22;
  pointer-events: none;
}

.beMap {
  width: 100%;
  height: auto;
  padding: 10px 10px 16px;
  position: relative;
  z-index: 1;
}
.beShape {
  fill: url(#mapFill);
  opacity: 0.95;
  filter: url(#softGlow);
}
.beStroke {
  fill: none;
  stroke: rgba(15, 23, 42, 0.18);
  stroke-width: 2;
  opacity: 0.95;
}

.pin {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
}
.pin__halo {
  fill: rgba(37, 99, 235, 0.16);
  animation: pulse 1.8s ease-in-out infinite;
}
.pin__dot {
  fill: rgba(37, 99, 235, 0.95);
  filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.35));
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
}

/* urgent random via JS: .pin.is-urgent */
.pin.is-urgent .pin__halo {
  fill: rgba(34, 197, 94, 0.2);
  animation: pulseUrgent 1.25s ease-in-out infinite;
}
.pin.is-urgent .pin__dot {
  fill: rgba(34, 197, 94, 0.95);
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.7))
    drop-shadow(0 0 26px rgba(34, 197, 94, 0.35));
}
@keyframes pulseUrgent {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.65;
  }
}

.tooltip {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  transform: translate(-9999px, -9999px);
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 0.88);
  font-size: 12px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow2);
}

.legend {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  position: relative;
  z-index: 2;
}
.legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(15, 23, 42, 0.68);
  font-size: 12px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.dot--blue {
  background: rgba(37, 99, 235, 0.95);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}
.dot--green {
  background: rgba(34, 197, 94, 0.95);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.25);
}

/* steps card */
.steps {
  padding: 14px;
}
.steps h3 {
  margin: 0 0 10px;
}
.step {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.step:first-of-type {
  border-top: none;
}
.step__n {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.14);
  font-weight: 950;
  color: rgba(37, 99, 235, 0.95);
}
.step__t {
  font-weight: 950;
}
.steps__cta {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

/* ======================
   Timeline + Process CTA
====================== */
.timeline {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  position: relative;
}
.tItem {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
}
.tDot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 18px;
  background: rgba(37, 99, 235, 0.95);
  box-shadow:
    0 0 0 6px rgba(37, 99, 235, 0.1),
    0 12px 22px rgba(15, 23, 42, 0.12);
}
.tDot--green {
  background: rgba(34, 197, 94, 0.95);
  box-shadow:
    0 0 0 6px rgba(34, 197, 94, 0.12),
    0 12px 22px rgba(15, 23, 42, 0.12);
}
.tCard {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  padding: 14px;
}
.tTop {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.tN {
  font-weight: 950;
  color: rgba(37, 99, 235, 0.92);
  letter-spacing: 0.06em;
}
.tTitle {
  font-weight: 950;
  color: rgba(15, 23, 42, 0.88);
}
.tText {
  margin-top: 6px;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.6;
}

.processCta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.08),
    rgba(255, 255, 255, 0.88)
  );
  padding: 14px;
}
.processCta__title {
  font-weight: 950;
  font-size: 16px;
  color: rgba(15, 23, 42, 0.88);
}
.processCta__right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (min-width: 900px) {
  .processCta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ======================
   FAQ
====================== */
.faq {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.faqItem {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.faqQ {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 14px;
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 950;
  color: rgba(15, 23, 42, 0.88);
  cursor: pointer;
}
.faqIco {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  transition: transform 0.18s ease;
}
.faqItem.is-open .faqIco {
  transform: rotate(45deg);
}
.faqA {
  padding: 0 14px 14px;
  color: rgba(15, 23, 42, 0.7);
  line-height: 1.65;
}

/* ======================
   Contact
====================== */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.form {
  padding: 14px;
}
.label {
  display: block;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.66);
  margin-bottom: 6px;
}
.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.row {
  margin-bottom: 12px;
}
input,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(15, 23, 42, 0.92);
  padding: 12px 12px;
  outline: none;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04) inset;
}
input:focus,
textarea:focus {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
textarea {
  resize: vertical;
}
.seg {
  display: flex;
  gap: 10px;
}
.seg__item {
  flex: 1;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.02);
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.seg__item input {
  width: auto;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.status {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.7);
}
.stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.02);
  color: rgba(15, 23, 42, 0.7);
  font-size: 13px;
}

/* ======================
   Sticky mobile CTA + Back to top
====================== */
/* Mobile safe area (iPhone notch) */
:root {
  --appbar-h: 72px;
}

/* donne de la place en bas pour ne rien cacher */
@media (max-width: 859px) {
  body {
    padding-bottom: calc(var(--appbar-h) + env(safe-area-inset-bottom));
  }
}

/* Appbar */
.appbar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  height: var(--appbar-h);
  z-index: 60;

  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 10px;

  padding: 10px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.25);
}

/* Hide sur desktop */
@media (min-width: 860px) {
  .appbar {
    display: none;
  }
}

/* Items */
.appbar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 18px;
  text-decoration: none;

  font-weight: 850;
  color: rgba(15, 23, 42, 0.86);

  background: rgba(248, 250, 252, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);

  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.appbar__item:active {
  transform: scale(0.985);
}

/* Primary (WhatsApp) avec ton gradient signature */
.appbar__item--primary {
  color: rgba(2, 6, 23, 0.92);
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.14) 0%,
    rgba(56, 189, 248, 0.14) 45%,
    rgba(34, 197, 94, 0.14) 100%
  );
}

/* Icon + label */
.appbar__icon {
  font-size: 18px;
  line-height: 1;
}

.appbar__label {
  font-size: 13px;
  letter-spacing: 0.1px;
}
/* ======================
   Footer Pro
====================== */
.footerPro {
  padding: 34px 0 20px;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(37, 99, 235, 0.03)
  );
}
.footerPro__grid {
  display: grid;
  gap: 18px;
}
.footerBrand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footerBrand__name {
  font-weight: 950;
  color: rgba(15, 23, 42, 0.88);
  font-size: 18px;
}
.footerBadges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.fBadge {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
  font-weight: 900;
  color: rgba(15, 23, 42, 0.7);
}
.footerTitle {
  font-weight: 950;
  margin-bottom: 10px;
  color: rgba(15, 23, 42, 0.88);
}
.footerLink {
  display: block;
  margin: 8px 0;
  color: rgba(37, 99, 235, 0.9);
  font-weight: 900;
  text-decoration: none;
}
.footerLink:hover {
  text-decoration: underline;
}
.miniNote {
  margin-top: 10px;
  color: rgba(15, 23, 42, 0.6);
  font-size: 13px;
  line-height: 1.5;
}

.footerCtaCard {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  padding: 14px;
}
.footerCtaCard__title {
  font-weight: 950;
  color: rgba(15, 23, 42, 0.88);
  font-size: 16px;
}
.footerCtaCard__actions {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.footerPro__bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footerLegal {
  display: flex;
  align-items: center;
  gap: 10px;
}
.legalBtn {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: rgba(15, 23, 42, 0.7);
  font-weight: 900;
}
.legalBtn:hover {
  text-decoration: underline;
}
.sep {
  color: rgba(15, 23, 42, 0.35);
}

@media (min-width: 900px) {
  .footerPro__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    align-items: start;
  }
}

/* ======================
   Modals
====================== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 90;
}
.modal.is-open {
  display: block;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: relative;
  width: min(720px, calc(100% - 24px));
  margin: 10vh auto 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 90px rgba(15, 23, 42, 0.3);
  overflow: hidden;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.modal__title {
  font-weight: 950;
  color: rgba(15, 23, 42, 0.88);
}
.modal__close {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
  border-radius: 12px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-weight: 950;
}
.modal__body {
  padding: 14px;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.7;
}
.modalList {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.7);
}

/* ======================
   Scroll reveal (UNIFIÉ)
   JS doit ajouter .is-inview
====================== */
[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  will-change: opacity, transform;
}
[data-animate].is-inview {
  opacity: 1;
  transform: translateY(0);
}
[data-animate="left"] {
  transform: translateX(-14px);
}
[data-animate="right"] {
  transform: translateX(14px);
}
[data-animate="left"].is-inview,
[data-animate="right"].is-inview {
  transform: translateX(0);
}
[data-animate="fade"] {
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
  [data-animate] {
    opacity: 1;
    transform: none;
  }
  .btn--primary:hover:before {
    animation: none;
  }
}

/* ======================
   Desktop layout
====================== */
@media (min-width: 860px) {
  .nav__links {
    display: flex;
  }
  .nav__actions {
    display: flex;
  }
  .burger {
    display: none;
  }

  h1 {
    font-size: 50px;
  }
  .hero {
    padding: 62px 0 18px;
  }
  .hero__grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
    gap: 16px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .zones {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
  .steps__cta {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
  .two {
    grid-template-columns: repeat(2, 1fr);
  }

  .sticky {
    display: none;
  }
}

/* ======================
   NOTE: ton HTML utilise aussi des classes
   (footerPro__brand / footerPro__col / footerPro__cta)
   pas indispensables à styler séparément :
   le grid gère déjà la mise en page.
====================== */

/* =========================
   LUXE TECH — Services Modal
   ========================= */

/* Bouton service luxe */
.tile__more--lux {
  margin-top: 12px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.86),
    rgba(37, 99, 235, 0.06)
  );
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.tile__spark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}
.tile__chev {
  font-size: 22px;
  opacity: 0.7;
}
.tile__more--lux:before {
  content: "";
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(
      circle at 30% 40%,
      rgba(96, 165, 250, 0.22),
      transparent 55%
    ),
    radial-gradient(circle at 70% 60%, rgba(37, 99, 235, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.tile__more--lux:hover:before {
  opacity: 1;
}
.tile__more--lux:hover {
  transform: translateY(-1px);
}

/* Modal container */
.xModal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 140;
}
.xModal.is-open {
  display: block;
}
.xModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 25, 0.55);
  backdrop-filter: blur(10px);
}
.xModal__panel {
  position: relative;
  width: min(1040px, calc(100% - 24px));
  margin: 6vh auto 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 140px rgba(0, 0, 0, 0.45);
  overflow: hidden;

  transform: translateY(10px) scale(0.985);
  opacity: 0;
  animation: xIn 0.28s ease forwards;
}
@keyframes xIn {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.xModal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-weight: 950;
  z-index: 9;
}

/* ======================
   SERVICE MODAL (svcX) — Masterclass
   Mobile-first + Desktop
====================== */

:root {
  --svc-bg: rgba(255, 255, 255, 0.78);
  --svc-line: rgba(148, 163, 184, 0.22);
  --svc-text: rgba(15, 23, 42, 0.92);
  --svc-muted: rgba(15, 23, 42, 0.62);
  --svc-shadow: 0 26px 80px rgba(2, 6, 23, 0.18);
  --svc-r: 22px;

  --grad: linear-gradient(90deg, #2563eb, #38bdf8, #22c55e);
}

/* panel look (si ton xModal__panel est déjà stylé, ça complétera) */
.xModal__panel {
  border-radius: var(--svc-r);
  overflow: hidden;
}

/* Container */
.svcX {
  color: var(--svc-text);
  background: var(--svc-bg);
  border: 1px solid var(--svc-line);
  box-shadow: var(--svc-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ===== Header ===== */
.svcX__head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 16px 12px;
  position: sticky;
  top: 0;
  z-index: 3;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.7)
  );
  border-bottom: 1px solid var(--svc-line);
}

.svcX__close {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--svc-line);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 12px 26px rgba(2, 6, 23, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.svcX__close:active {
  transform: scale(0.97);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
}

.svcX__h {
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.6px;
  font-size: 22px;
  line-height: 1.05;
}
.svcX__sub {
  margin: 6px 0 0;
  color: var(--svc-muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.svcX__badge {
  justify-self: end;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(56, 189, 248, 0.12) 45%,
    rgba(34, 197, 94, 0.12) 100%
  );
  color: rgba(15, 23, 42, 0.72);
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

/* ===== Meta chips ===== */
.svcX__meta {
  display: grid;
  gap: 10px;
  padding: 12px 16px 16px;
}

.svcX__chip {
  border-radius: 16px;
  border: 1px solid var(--svc-line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 16px 40px rgba(2, 6, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  padding: 12px 14px;
}

.svcX__chip--grad {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(56, 189, 248, 0.12) 45%,
    rgba(34, 197, 94, 0.12) 100%
  );
}

.svcX__k {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.6);
  font-weight: 800;
}
.svcX__v {
  margin-top: 4px;
  font-weight: 950;
  letter-spacing: -0.2px;
}

/* ===== Grid layout ===== */
.svcX__grid {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.svcX__card {
  border-radius: 18px;
  border: 1px solid var(--svc-line);
  background: rgba(255, 255, 255, 0.76);
  box-shadow:
    0 18px 50px rgba(2, 6, 23, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.svcX__cardTitle {
  padding: 12px 14px;
  font-weight: 950;
  color: rgba(15, 23, 42, 0.82);
  border-bottom: 1px solid var(--svc-line);
  background: rgba(255, 255, 255, 0.68);
}

/* ===== Gallery ===== */
.svcX__gallery {
  padding: 12px;
}

.svcX__hero {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.03);
  box-shadow: 0 16px 38px rgba(2, 6, 23, 0.12);
}

.svcX__heroImg {
  width: 100%;
  height: 240px; /* mobile */
  object-fit: cover;
  display: block;
}

.svcX__thumbs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.svcX__thumb {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.8);
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.svcX__thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}

.svcX__thumb:active {
  transform: scale(0.98);
}

.svcX__thumb.is-active {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
  position: relative;
}
.svcX__thumb.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* ===== Side ===== */
.svcX__side {
  padding-bottom: 12px;
}

.svcX__list {
  list-style: none;
  margin: 0;
  padding: 12px 14px 4px;
  display: grid;
  gap: 10px;
}

.svcX__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 700;
}
.svcX__list li::before {
  content: "✅";
  flex: 0 0 auto;
}

/* CTA buttons */
.svcX__cta {
  padding: 12px 14px 10px;
  display: grid;
  gap: 10px;
}

.svcX__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -0.2px;

  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 16px 40px rgba(2, 6, 23, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: rgba(15, 23, 42, 0.92);

  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease;
}

.svcX__btn:active {
  transform: scale(0.985);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.14);
}

.svcX__btn--dark {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.92),
    rgba(2, 6, 23, 0.92)
  );
  border-color: rgba(15, 23, 42, 0.35);
  color: rgba(255, 255, 255, 0.96);
}

.svcX__btn--wa {
  border-color: rgba(34, 197, 94, 0.25);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(56, 189, 248, 0.12) 45%,
    rgba(34, 197, 94, 0.14) 100%
  );
}

.svcX__btn--primary {
  border-color: rgba(37, 99, 235, 0.28);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.22),
    rgba(56, 189, 248, 0.18)
  );
}

/* Hint */
.svcX__hint {
  margin: 0 14px 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.72);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.35;
}

/* ===== Desktop layout ===== */
@media (min-width: 900px) {
  .svcX__meta {
    grid-template-columns: 1fr 1fr;
  }

  .svcX__grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }

  .svcX__heroImg {
    height: 360px;
  }

  .svcX__side {
    position: sticky;
    top: 76px;
  }
}

/* ===== Small devices ===== */
@media (max-width: 380px) {
  .svcX__h {
    font-size: 20px;
  }
  .svcX__badge {
    display: none;
  }
  .svcX__heroImg {
    height: 220px;
  }
}

/* =========================
   svcX — MOBILE FIRST PATCH (à coller à la fin)
   Rend le header + meta + grid vraiment mobile-first
========================= */

/* MOBILE: header en 2 lignes (close + badge / titre en dessous) */
.svcX__head {
  grid-template-columns: 44px 1fr; /* badge passe ligne 2 */
  grid-template-areas:
    "close badge"
    "title title";
  row-gap: 10px;
}

.svcX__close {
  grid-area: close;
}
.svcX__badge {
  grid-area: badge;
  justify-self: end;
}

.svcX__title {
  grid-area: title;
}

/* MOBILE: titre + desc respirent mieux */
.svcX__h {
  font-size: 20px;
}
.svcX__sub {
  font-size: 13px;
}

/* MOBILE: meta en 1 colonne (déjà le cas, on force) */
.svcX__meta {
  grid-template-columns: 1fr;
}

/* MOBILE: thumbs plus “touch friendly” */
.svcX__thumb img {
  height: 76px;
}

/* DESKTOP: on revient au layout masterclass 3 colonnes en header */
@media (min-width: 900px) {
  .svcX__head {
    grid-template-columns: 44px 1fr auto;
    grid-template-areas: "close title badge";
    row-gap: 0;
  }
  .svcX__title {
    grid-area: title;
  }
  .svcX__h {
    font-size: 24px;
  }
  .svcX__sub {
    font-size: 13.5px;
  }
}
/* =========================================
FIX SCROLL — xModal (TON popup)
   ========================================= */

/* Empêche le scroll derrière quand le popup est ouvert */
body.is-locked {
  overflow: hidden;
  touch-action: none;
}

/* Panel = hauteur max + layout colonne */
/* ===== iPhone fix: modal scroll ===== */
.xModal__panel {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* on bloque, le scroll est dans le contenu */
}

/* le contenu du modal scrolle */
.svcX {
  flex: 1 1 auto;
  min-height: 0; /* IMPORTANT iOS */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* garde le header visible */
.svcX__head {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* un peu d’air en bas (et évite d’être caché par barres iOS) */
.svcX {
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
}

/* Hero reste fixe en haut */
.xHero {
  flex: 0 0 auto;
}

/* Body scrolle */
.xBody {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px; /* pour respirer en bas */
}

/* IMPORTANT: évite que le backdrop/panel bloque le scroll tactile */
.xModal {
  overscroll-behavior: contain;
}

.modal__panel {
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* === FIX ALIGNEMENT BOUTON "Voir détails" === */
.tile {
  display: flex;
  flex-direction: column;
}

.tile p {
  flex-grow: 1; /* prend l'espace disponible */
}

.tile__more {
  margin-top: auto; /* pousse le bouton en bas */
}

/* === FIX: le X ne recouvre plus le contenu === */
.xHero {
  padding-top: 56px; /* espace pour le bouton X */
}

.xModal__close {
  z-index: 20;
}

/* Topbar alignée X + badge */
.xModal__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
  position: relative;
  z-index: 30;
}

/* Bouton X propre */
.xModal__close {
  position: static;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  cursor: pointer;
}

/* Petit ajustement visuel du badge */
.xLive {
  margin: 0;
}

/*ùùùùù*/
.gradient-text {
  display: inline-block;
  font-weight: 800;

  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 40%, #22c55e 100%);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  filter: drop-shadow(0 1px 6px rgba(56, 189, 248, 0.15));
}

/*llllllllll*/
/* ===== Testimonials Slider ===== */
.tSlider {
  position: relative;
  margin-top: 18px;
  border-radius: 18px;
}

.tSlider__viewport {
  overflow: hidden;
  border-radius: 18px;
}

.tSlider__track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform 600ms cubic-bezier(0.2, 0.9, 0.2, 1);
  padding: 6px 2px;
}

.testiCard {
  min-width: calc(33.333% - 10.666px);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.06);
  backdrop-filter: blur(10px);
}

.tTopRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.tStars {
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 14px;
  opacity: 0.9;
}

.tChip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.testiCard h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.testiCard p {
  margin: 0 0 14px;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.78);
}

.tMeta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.tAvatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;

  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 45%, #22c55e 100%);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.14);
}

.tName {
  font-weight: 850;
}
.tSmall {
  font-size: 12px;
}

/* Fade edges */
.tSlider__fade {
  position: absolute;
  top: 0;
  bottom: 34px;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.tSlider__fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(245, 246, 248, 0) 100%);
}
.tSlider__fade--right {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--bg) 0%,
    rgba(245, 246, 248, 0) 100%
  );
}

/* Arrows */
.tNav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.1);
  cursor: pointer;
  z-index: 3;
  font-size: 22px;
  line-height: 1;
}
.tNav--prev {
  left: 8px;
}
.tNav--next {
  right: 8px;
}
.tNav:hover {
  transform: translateY(-50%) scale(1.03);
}

/* Dots */
.tDots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.tDotBtn {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(15, 23, 42, 0.1);
  cursor: pointer;
}
.tDotBtn.is-active {
  width: 24px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 45%, #22c55e 100%);
  border-color: transparent;
}

/* Responsive */
@media (max-width: 980px) {
  .testiCard {
    min-width: calc(50% - 8px);
  }
}
@media (max-width: 640px) {
  .testiCard {
    min-width: 100%;
  }
  .tSlider__fade {
    display: none;
  }
}

/* =========================
   LOGO / TOPBAR — Plombier24 (FINAL)
   Mobile: logo centré (130px)
   Desktop: logo à gauche (150px)
   Nav compact (ne gonfle pas)
   ========================= */

/* Logo base */
.brand__logo {
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- MOBILE / TABLET ---------- */
@media (max-width: 859px) {
  .topbar .nav {
    position: relative;
    padding: 8px 0; /* nav plus petit */
    min-height: 86px; /* garde une hauteur propre */
  }

  .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;

    /* IMPORTANT: ne bloque pas le burger */
    pointer-events: none;
  }

  .brand__logo {
    max-height: 130px; /* ✅ ton choix */
    pointer-events: auto; /* logo cliquable */
  }

  .burger {
    position: relative;
    z-index: 5;
    margin-left: auto;
  }

  .brand__dot {
    display: none;
  }

  /* shrink mobile */
  .topbar.is-shrink .nav {
    padding: 6px 0;
    min-height: 68px;
  }
  .topbar.is-shrink .brand__logo {
    max-height: 95px;
  }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 860px) {
  .topbar .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0; /* nav plus petit de base */
    min-height: 78px; /* header compact */
  }

  .brand {
    position: static;
    transform: none;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand__logo {
    height: 90px; /* base logique */
    width: auto;
    display: block;
    object-fit: contain;

    /* 🔥 MAGIE */
    transform: scale(1.5); /* ← agrandit visuellement */
    transform-origin: center;

    filter: drop-shadow(0 6px 16px rgba(2, 6, 23, 0.14));
  }

  /* shrink desktop (si tu veux) */
  .topbar.is-shrink .nav {
    min-height: 64px;
    padding: 8px 0;
  }
  .topbar.is-shrink .brand__logo {
    max-height: 75px;
  }
}

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-weight: 500;
  font-size: 15px;
  color: rgba(15, 23, 42, 0.72);
  text-decoration: none;
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.nav__link:hover {
  color: rgba(37, 99, 235, 0.95);
}

.nav__link.is-active {
  color: rgba(37, 99, 235, 0.95);
  font-weight: 650;
}
.nav__indicator {
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 3px;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 45%, #22c55e 100%);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.nav__cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(37, 99, 235, 0.08);
  color: rgba(37, 99, 235, 0.95);
}
.nav__cta:hover {
  background: rgba(37, 99, 235, 0.14);
}
/* MOBILE/TABLET: on garde logo + burger, on cache les liens desktop */
@media (max-width: 859px) {
  .nav__links,
  .nav__actions {
    display: none !important;
  }

  .brand__dot {
    display: none !important; /* enlève le point bleu */
  }
}

/*footer logo*/

.footer__logo {
  height: 46px; /* base logique */
  width: auto;
  display: block;
  object-fit: contain;

  /* 🔥 MAGIE */
  transform: scale(2.5); /* ← agrandit visuellement */
  transform-origin: center;

  filter: drop-shadow(0 6px 16px rgba(2, 6, 23, 0.14));
}

@media (max-width: 640px) {
  .footer__logo {
    height: 62px;
  }
}

.footer__brand {
  text-align: center;
}

.footer__logo {
  position: relative;
}

.footer__logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__logo-wrap::after {
  content: "";
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 45%, #22c55e 100%);
  opacity: 0.9;
}
footer .brand__dot,
.footer .brand__dot,
.footer__brand .brand__dot {
  display: none !important;
}

/* Mobile / tablette */
@media (max-width: 1024px) {
  .card__actions {
    grid-template-columns: 1fr 1fr;
  }

  .btn--mail {
    grid-column: span 2;
  }
  .steps__cta {
    grid-template-columns: 1fr 1fr;
  }

  .btn--primary,
  .btn--mail {
    grid-column: span 2;
  }
  .processCta__right {
    grid-template-columns: 1fr 1fr;
  }

  .processCta__right .btn--primary,
  .processCta__right .btn--mail {
    grid-column: span 2;
  }
  .btn--ghost {
    background: linear-gradient(
      180deg,
      rgba(37, 99, 235, 0.12),
      rgba(56, 189, 248, 0.12)
    );
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: rgba(15, 23, 42, 0.8);
  }
}

/* Bouton mail */
.btn--mail {
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.12),
    rgba(56, 189, 248, 0.12)
  );
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: rgba(15, 23, 42, 0.9);
}

.btn--mail {
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.12),
    rgba(56, 189, 248, 0.12)
  );
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: rgba(15, 23, 42, 0.9);
}
.btn--ghost {
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.12),
    rgba(56, 189, 248, 0.12)
  );
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: rgba(15, 23, 42, 0.8);
}

.menu__actions {
  padding: 12px 14px 14px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

/* cartes actions */
.menuAction {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 14px;
  border-radius: 16px;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 12px 28px rgba(2, 6, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);

  color: rgba(15, 23, 42, 0.9);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.menuAction:active {
  transform: scale(0.985);
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
}

.menuAction__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;

  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.menuAction__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.menuAction__title {
  font-weight: 900;
  letter-spacing: -0.2px;
}

.menuAction__sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.62);
}

/* WhatsApp (primary) */
.menuAction--primary {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.12) 0%,
    rgba(56, 189, 248, 0.12) 45%,
    rgba(34, 197, 94, 0.12) 100%
  );
}

.menuAction--primary .menuAction__icon {
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.22) 0%,
    rgba(56, 189, 248, 0.22) 45%,
    rgba(34, 197, 94, 0.22) 100%
  );
  border-color: rgba(37, 99, 235, 0.22);
}

/* ===========================
   TO TOP — PREMIUM APP STYLE
   =========================== */

.toTop {
  position: fixed;
  right: 16px;
  bottom: 88px; /* au-dessus de la bottom appbar */
  z-index: 1100;

  width: 46px;
  height: 46px;
  border-radius: 16px;

  display: grid;
  place-items: center;

  font-size: 18px;
  font-weight: 900;
  line-height: 1;

  color: #fff;
  background: linear-gradient(180deg, #2563eb 0%, #38bdf8 45%, #22c55e 100%);

  border: none;
  box-shadow:
    0 14px 32px rgba(2, 6, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  /* Hidden by default */
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Visible state (JS toggles this) */
.toTop.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Interaction */
.toTop:active {
  transform: scale(0.92);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.35);
}

/* Soft glow ring (premium touch) */
.toTop::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.35),
    rgba(56, 189, 248, 0.35),
    rgba(34, 197, 94, 0.35)
  );
  opacity: 0.35;
  filter: blur(8px);
  z-index: -1;
}

/* Desktop enhancement */
@media (min-width: 1024px) {
  .toTop {
    bottom: 32px;
    right: 32px;
  }
}

/* Motion safe */
@media (prefers-reduced-motion: reduce) {
  .toTop {
    transition: none;
  }
}

/* ======================
   SERVICES – TILES PREMIUM
   (sans changer ton HTML)
====================== */

/* grid un peu plus “luxe” */
.grid {
  gap: 16px;
}

/* carte */
.tile {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 24px 70px rgba(2, 6, 23, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  overflow: hidden;
}

/* glow subtil */
.tile::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(
    600px 240px at 20% 15%,
    rgba(37, 99, 235, 0.18),
    transparent 55%
  );
  pointer-events: none;
  opacity: 0.8;
}

/* petit “accent line” */
.tile::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #38bdf8, #22c55e);
  opacity: 0.9;
}

/* hover desktop */
@media (hover: hover) {
  .tile:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow:
      0 30px 90px rgba(2, 6, 23, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.75);
  }
}

/* ICON -> au milieu + plus grande */
.tile__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;

  margin: 18px auto 12px; /* centre */
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.1),
    rgba(56, 189, 248, 0.1),
    rgba(34, 197, 94, 0.1)
  );
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.08);
}

/* titres */
.tile h3 {
  margin: 6px 0 8px;
  font-weight: 950;
  letter-spacing: -0.4px;
  text-align: center; /* look app */
  font-size: 18px;
}

/* description */
.tile p {
  margin: 0 0 14px;
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.55;
  text-align: center;
  font-size: 14px;
}

/* bouton “Voir détails” premium */
.tile__more--lux {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255, 255, 255, 0.86);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-weight: 900;
  box-shadow:
    0 14px 34px rgba(2, 6, 23, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.tile__more--lux .tile__chev {
  margin-left: auto;
  font-size: 18px;
  opacity: 0.65;
}

.tile__more--lux:active {
  transform: scale(0.985);
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.14);
}

/* petit spark plus discret */
.tile__spark {
  opacity: 0.75;
}

/* desktop: 3 colonnes déjà chez toi, on garde mais on améliore le spacing */
@media (min-width: 920px) {
  .grid--3 {
    gap: 18px;
  }
  .tile {
    padding: 20px;
  }
}
/* ===== Language Switch ===== */
.langSwitch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.langBtn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  color: #475569;
  transition: all 0.18s ease;
}

.langBtn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.langBtn.is-active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);
}
/* ===== Mobile Menu - Language ===== */
.menu__lang {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: center;
}

.menu__langLabel {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
}

/* réutilise le langSwitch déjà créé */
.langSwitch {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
}

.langBtn {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  color: #475569;
  transition: all 0.2s ease;
}

.langBtn.is-active {
  background: #0f172a;
  color: #ffffff;
}
/* iOS safe-area + menu visible au-dessus de la barre navigateur */
.menu {
  padding-bottom: env(safe-area-inset-bottom);
}

.menu__panel {
  /* prend la vraie hauteur visible sur mobile */
  height: calc(100dvh - 24px);
  max-height: calc(100dvh - 24px);

  /* évite que le bas soit caché */
  padding-bottom: calc(16px + env(safe-area-inset-bottom));

  /* si contenu trop long => scroll dans le panel */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* fallback si dvh pas supporté */
@supports not (height: 100dvh) {
  .menu__panel {
    height: calc(100vh - 24px);
    max-height: calc(100vh - 24px);
  }
}
