/**
 * =====================================================================================
 * NET'MENT MIEUX — STYLES PUBLIC VITRINE 2026
 * Version CTO Senior 2026 — Safe Upgrade
 * - compatibilité maximale avec l'existant
 * - renforcement progressif sans refonte agressive
 * - header/footer conservés
 * - responsive consolidé
 * - animations sensibles préservées
 * =====================================================================================
 */

/* =========================
   1) DESIGN TOKENS
   ========================= */
:root {
  --container-max: 1200px;
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --primary: #0ea5e9;
  --primary-hover: #0284c7;
  --secondary: #0b1220;
  --secondary-2: #111827;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px rgba(2, 8, 23, 0.10);
  --shadow-lg: 0 16px 40px rgba(2, 8, 23, 0.14);
  --shadow-xl: 0 25px 50px rgba(2, 8, 23, 0.25);

  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --t-fast: 150ms ease;
  --t-med: 260ms ease;
  --t-slow: 420ms ease;
  --focus: 0 0 0 3px rgba(14, 165, 233, 0.25);

  color-scheme: light;
}

/* =========================
   2) RESET / BASE
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  display: block;
  min-width: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: block;
}

iframe {
  max-width: 100%;
  display: block;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.12em;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
  appearance: none;
  -webkit-appearance: none;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input,
select,
textarea {
  color: inherit;
}

textarea {
  resize: vertical;
}

p,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

::selection {
  background: rgba(14, 165, 233, 0.18);
}

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

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================
   3) LAYOUT / UTILITIES
   ========================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
}

.text-center {
  text-align: center !important;
}

.mt-40 {
  margin-top: 40px;
}

.section-padding {
  padding: clamp(48px, 5vw, 88px) 0;
}

.section-header {
  margin-bottom: 28px;
  text-align: center;
}

.section-header h2 {
  margin: 10px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}

.section-header p {
  margin: 10px auto 0;
  max-width: 850px;
  color: var(--text-muted);
}

.text-light,
[style*="color: var(--text-light)"],
[style*="color:#cbd5e1"],
[style*="color: #cbd5e1"] {
  color: var(--text-muted) !important;
}

div[class*="card"] p,
div[class*="card"] ul,
div[class*="card"] li {
  color: var(--text-muted);
}

div[class*="card"][style*="background: var(--primary)"] p,
div[class*="card"][style*="background: var(--primary)"] ul,
div[class*="card"][style*="background: var(--primary)"] li {
  color: rgba(255, 255, 255, 0.92) !important;
}

/* =========================
   4) BADGES / CHIPS / ICONS
   ========================= */
.section-tag {
  display: inline-block;
  padding: 8px 16px !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-hover) !important;
  background: rgba(14, 165, 233, 0.12) !important;
  border: none !important;
}

.mq-hero .section-tag,
.ph-hero .section-tag,
[class*="-hero"] .section-tag {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px) !important;
}

.nm-card-ico {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px !important;
  font-size: 1.5rem;
  background: rgba(14, 165, 233, 0.12) !important;
  border: none !important;
  color: var(--primary-hover) !important;
}

.mq-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  border-radius: var(--radius-pill) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px) !important;
  font-weight: 700 !important;
}

/* =========================
   5) BOUTONS (Système CTA Global Uniforme)
   ========================= */
.btn {
  --btn-bg: linear-gradient(135deg, #1d5186 0%, #2569a6 100%);
  --btn-bg-hover: linear-gradient(135deg, #23619f 0%, #2f76b7 100%);
  --btn-text: #ffffff;
  --btn-border: transparent;
  --btn-shadow: 0 10px 30px rgba(29, 81, 134, 0.18);
  --btn-shadow-hover: 0 16px 38px rgba(29, 81, 134, 0.26);
  --btn-focus-ring: 0 0 0 4px rgba(29, 81, 134, 0.12), 0 0 0 7px rgba(29, 81, 134, 0.06);

  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: var(--btn-shadow);
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--btn-bg-hover);
  color: var(--btn-text);
  box-shadow: var(--btn-shadow-hover);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--btn-focus-ring), var(--btn-shadow-hover);
}

.btn[aria-disabled="true"],
.btn:disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, #1d5186 0%, #2569a6 100%);
  --btn-bg-hover: linear-gradient(135deg, #23619f 0%, #2f76b7 100%);
  --btn-text: #ffffff;
  --btn-border: transparent;
  --btn-shadow: 0 10px 30px rgba(29, 81, 134, 0.18);
  --btn-shadow-hover: 0 16px 38px rgba(29, 81, 134, 0.26);
}

.btn-secondary {
  --btn-bg: rgba(29, 81, 134, 0.04);
  --btn-bg-hover: rgba(29, 81, 134, 0.08);
  --btn-text: #1d5186;
  --btn-border: rgba(29, 81, 134, 0.20);
  --btn-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --btn-shadow-hover: 0 10px 24px rgba(29, 81, 134, 0.10);
}

.btn-outline-light {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-bg-hover: rgba(255, 255, 255, 0.08);
  --btn-text: #eaf3fb;
  --btn-border: rgba(255, 255, 255, 0.16);
  --btn-shadow: 0 0 0 rgba(0, 0, 0, 0);
  --btn-shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-outline-light:hover {
  --btn-text: #ffffff;
  --btn-border: rgba(255, 255, 255, 0.28);
}

@media (max-width: 640px) {
  .btn {
    width: 100%;
  }
}

/* =========================
   6) HEADER / NAV
   ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.header-col-left,
.header-col-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-col-left {
  justify-content: flex-start;
}

.header-col-right {
  justify-content: flex-end;
}

.site-logo {
  max-height: 75px;
  width: auto;
  display: block;
}

.header-col-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.header-slogan-text {
  display: inline-block;
  max-width: clamp(220px, 34vw, 520px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  text-align: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: var(--primary);
  padding-right: 6px;
  border-right: 2px solid var(--primary);
  animation: nm_caret_header 0.8s step-end 5 forwards;
}

@keyframes nm_caret_header {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--primary); }
}

.main-nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  color: var(--text);
  padding: 10px;
  border-radius: 12px;
  transition: background var(--t-fast), color var(--t-fast);
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.06);
}

.mobile-toggle {
  display: none;
  position: relative;
  z-index: 10000;
  background: #ffffff;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 900;
  color: var(--text);
  min-height: 44px;
}

.breadcrumb-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #94a3b8;
  font-weight: 700;
  margin-right: 2px;
}

.breadcrumb-item a {
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.breadcrumb-item a:hover {
  color: var(--primary-hover);
}

.breadcrumb-item.active {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 1350px) and (min-width: 981px) {
  .header-col-center {
    display: none;
  }
}

@media (max-width: 980px) {
  .header-inner {
    padding: 10px 15px;
    gap: 8px;
  }

  .site-logo {
    max-height: 40px !important;
  }

  .header-col-center {
    display: flex !important;
    flex: 1 1 auto;
    justify-content: center;
    padding: 0;
  }

  .header-slogan-text {
    max-width: 100%;
    font-size: clamp(0.55rem, 2.5vw, 0.85rem);
    letter-spacing: 0;
  }

  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-height: calc(100vh - 64px);
    padding: 30px 16px;
    background: rgba(2, 8, 23, 0.96);
    z-index: 9999;
    justify-content: center;
    align-items: flex-start;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links li a {
    display: block;
    text-align: center;
    font-size: 1.1rem;
  }
}

/* =========================
   7) HERO GLOBAL
   ========================= */
.mq-hero,
.ph-hero,
[class*="-hero"] {
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  color: #ffffff;
  background-color: var(--secondary);
}

.mq-hero::before,
.ph-hero::before,
[class*="-hero"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at center,
      rgba(2, 8, 23, 0.00) 0%,
      rgba(2, 8, 23, 0.02) 70%,
      rgba(2, 8, 23, 0.04) 100%
    ),
    linear-gradient(
      180deg,
      rgba(2, 8, 23, 0.00) 0%,
      rgba(2, 8, 23, 0.02) 100%
    );
  z-index: 0;
}

.mq-hero .container,
.ph-hero .container,
[class*="-hero"] .container,
.ph-hero-grid,
.ph-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.mq-hero h1,
.ph-hero h1,
[class*="-hero"] h1 {
  width: 100%;
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  color: #ffffff !important;
  text-align: center !important;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow:
    0 18px 40px rgba(0, 0, 0, 0.50),
    0 6px 16px rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.60);
}

.mq-hero p,
.ph-hero p,
[class*="-hero"] p {
  width: 100%;
  max-width: 860px;
  margin-top: 14px;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  text-align: center !important;
  text-shadow:
    0 12px 26px rgba(0, 0, 0, 0.35),
    0 3px 10px rgba(0, 0, 0, 0.45);
}

.home-hero-actions,
.mq-trustbar,
.ph-hero-badges,
.ph-hero-ctas,
.mq-hero-cta {
  width: 100%;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: 15px;
  margin-left: auto !important;
  margin-right: auto !important;
}


/* =========================
   7bis) HERO ROTATOR
   ========================= */
.mq-hero .section-tag {
  margin-bottom: 10px;
}

.mq-hero-rotator {
  position: relative;
  width: min(100%, 1080px);
  margin: 12px auto 0;
  min-height: clamp(78px, 10vw, 152px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mq-hero-rotator-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: inherit;
}

.mq-hero-rotator-item,
.mq-hero-rotator-measure {
  width: 100%;
  padding: 0 0.12em;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: center;
}

.mq-hero-rotator-measure {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

.mq-hero-rotator-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 560ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.mq-hero-rotator-item.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.mq-hero-rotator-item--brand {
  color: #ffffff !important;
  text-shadow:
    0 24px 48px rgba(0, 0, 0, 0.42),
    0 8px 20px rgba(0, 0, 0, 0.52),
    0 2px 8px rgba(0, 0, 0, 0.52);
}

.mq-hero-rotator-item--time {
  color: #38bdf8 !important;
  text-shadow:
    0 20px 44px rgba(56, 189, 248, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.50),
    0 2px 8px rgba(0, 0, 0, 0.52);
}

.mq-hero-rotator-item--breathe {
  color: #22c55e !important;
  text-shadow:
    0 20px 44px rgba(34, 197, 94, 0.22),
    0 8px 20px rgba(0, 0, 0, 0.50),
    0 2px 8px rgba(0, 0, 0, 0.52);
}

.mq-hero-rotator-item--ease {
  color: #f8fafc !important;
  text-shadow:
    0 20px 44px rgba(248, 250, 252, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.50),
    0 2px 8px rgba(0, 0, 0, 0.52);
}

@media (max-width: 820px) {
  .mq-hero-rotator {
    min-height: clamp(84px, 20vw, 144px);
  }

  .mq-hero-rotator-item,
  .mq-hero-rotator-measure {
    padding-inline: 0;
  }
}

@media (max-width: 560px) {
  .mq-hero-rotator {
    min-height: clamp(96px, 26vw, 164px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mq-hero-rotator-item {
    transition: none;
  }
}

/* =========================
   8) GRILLES / CARTES
   ========================= */
.nm-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.nm-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nm-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.nm-card h3 {
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  min-width: 0;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-body {
  padding: 18px;
}

.service-body h3 {
  font-size: 1.15rem;
}

@media (max-width: 980px) {
  .nm-grid-3,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   9) FAQ GLOBALE
   ========================= */
.mq-faq {
  display: grid;
  gap: 14px;
}

.mq-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mq-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  font-size: 1.05rem;
  cursor: pointer;
}

.mq-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.mq-faq-item.is-open .mq-faq-icon {
  background: var(--success);
  color: #ffffff;
  transform: rotate(45deg);
}

.mq-faq-a {
  display: none;
}

.mq-faq-item.is-open .mq-faq-a {
  display: block;
  animation: nm_fade_in 0.4s ease;
}

.mq-faq-a-inner {
  padding: 0 20px 20px;
  color: var(--text-muted);
  line-height: 1.6;
}

@keyframes nm_fade_in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   10) AVIS GOOGLE DÉFILANTS
   ========================= */
.reviews-marquee-section,
.reviews-marquee-wrapper {
  width: 100%;
  overflow: hidden !important;
}

.reviews-marquee-section {
  background: #ffffff;
}

.reviews-container {
  position: relative;
  width: 100%;
  padding: 40px 0;
  background: var(--surface);
  overflow: hidden;
}

.reviews-container::before,
.reviews-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(15vw, 140px);
  z-index: 2;
  pointer-events: none;
}

.reviews-container::before {
  left: 0;
  background: linear-gradient(to right, var(--surface) 0%, transparent 100%);
}

.reviews-container::after {
  right: 0;
  background: linear-gradient(to left, var(--surface) 0%, transparent 100%);
}

.reviews-track,
.reviews-marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 24px !important;
  width: max-content !important;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation: nm_reviews_scroll 45s linear infinite !important;
}

.reviews-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  padding-left: 24px;
}

.review-card {
  width: 350px !important;
  flex: 0 0 auto !important;
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  margin: 0 !important;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars {
  color: var(--warning);
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.review-author {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: italic;
}

.review-location {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

@keyframes nm_reviews_scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (hover: hover) and (pointer: fine) {
  .reviews-container:hover .reviews-track,
  .reviews-marquee-wrapper:hover .reviews-marquee-track,
  .reviews-marquee-section:hover .reviews-track {
    animation-play-state: paused !important;
  }
}

@media (max-width: 768px) {
  .review-card {
    width: 280px !important;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track,
  .reviews-marquee-track {
    animation: none !important;
    transform: none !important;
  }
}

/* =========================
   11) PREFOOTER / FOOTER
   ========================= */
.prefooter-cta {
  background: var(--surface);
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.prefooter-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.prefooter-left h3 {
  margin: 8px 0 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.15;
  color: var(--text);
}

.prefooter-left p {
  color: var(--text-muted);
  max-width: 720px;
}

.prefooter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.prefooter-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prefooter-proof {
  display: grid;
  gap: 10px;
}

.proof-item {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 700;
  color: var(--text);
}

.prefooter-mini {
  padding: 16px;
  background: var(--secondary);
  color: #cbd5e1;
  border-radius: var(--radius-md);
  display: grid;
  gap: 12px;
}

.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
}

.mini-row a {
  color: #ffffff;
  transition: color var(--t-fast);
}

.mini-row a:hover {
  color: #7dd3fc;
}

.mini-ico {
  flex: 0 0 auto;
}

.footer-v2 {
  background: var(--secondary);
  color: #cbd5e1;
  padding: 64px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
}

.footer-col {
  min-width: 0;
}

.footer-brand-title {
  font-weight: 900;
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-brand-text {
  margin-top: 10px;
  color: #94a3b8;
  max-width: 320px;
}

.footer-title {
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-block;
  padding: 8px 0;
  color: #cbd5e1;
  transition: color var(--t-fast), transform var(--t-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left,
.footer-bottom-mid,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom-mid a,
.footer-bottom-right a {
  color: #cbd5e1;
  transition: color var(--t-fast);
}

.footer-bottom-mid a:hover,
.footer-bottom-right a:hover {
  color: #ffffff;
}

.dot {
  color: #64748b;
}

.mini-link {
  font-weight: 700;
}

@media (max-width: 980px) {
  .prefooter-card,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .prefooter-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-v2,
  .prefooter-cta {
    text-align: center;
  }

  .prefooter-actions,
  .footer-social,
  .footer-bottom,
  .footer-bottom-left,
  .footer-bottom-mid,
  .footer-bottom-right,
  .mini-row {
    justify-content: center;
  }

  .footer-brand-text {
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================
   12) BANNIÈRE COOKIES
   ========================= */
.nm-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 600px;
  margin: 0 auto;
  z-index: 999999;
  display: none;
  flex-direction: column;
  gap: 15px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nm-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nm-cookie-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nm-cookie-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 900;
}

.nm-cookie-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.nm-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.nm-cookie-actions .btn {
  font-size: 0.9rem;
  padding: 10px 18px;
}

@media (max-width: 600px) {
  .nm-cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
  }

  .nm-cookie-actions {
    flex-direction: column-reverse;
    justify-content: stretch;
  }

  .nm-cookie-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   13) MOTION SAFETY
   ========================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .header-slogan-text {
    animation: none !important;
    border-right-color: transparent !important;
  }

  .btn,
  .btn::after {
    transition: none !important;
  }

  .btn:hover {
    transform: none !important;
  }

  .btn:hover::after {
    transform: none !important;
  }
}