/* ========== LMA COUVERTURE — Refonte 2026 ==========
   Identité conservée : orange flamme + crème + ink
   Optimisé : conversion (CTA, urgence, preuve) + SEO local (Triel/Yvelines)
   Système typo/spacing dérivé du Peacemaker Design System (light mode)
   ================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand (LMA) */
  --orange: #E94E1B;
  --orange-2: #FF6A2E;
  --orange-dark: #BA3D0F;
  --orange-soft: #FFE9DC;
  --orange-tint: #FFF4EC;

  --ink: #1A1410;
  --ink-2: #2A2218;
  --ink-3: #3D3328;

  --cream: #FBF6E8;
  --cream-2: #F4ECD5;
  --paper: #FFFFFF;

  --fg-1: var(--ink);
  --fg-2: #4F4339;
  --fg-3: #847565;
  --fg-4: #B3A691;

  --border-1: rgba(26, 20, 16, 0.08);
  --border-2: rgba(26, 20, 16, 0.14);
  --border-3: rgba(26, 20, 16, 0.22);

  /* Semantic */
  --success: #2A8A4F;
  --warning: #E8A23A;
  --danger: #D63B1E;
  --info: #2A6FDB;

  /* Type */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Space Grotesk", monospace;

  /* Fluid type scale */
  --t-xs: 12px;
  --t-sm: 14px;
  --t-md: 16px;
  --t-lg: 18px;
  --t-xl: clamp(20px, 1.4vw, 24px);
  --t-h4: clamp(20px, 1.6vw, 26px);
  --t-h3: clamp(24px, 2vw, 32px);
  --t-h2: clamp(32px, 3.4vw, 52px);
  --t-h1: clamp(40px, 5.4vw, 80px);
  --t-display: clamp(56px, 7.5vw, 112px);
  --t-eyebrow: 13px;

  /* Spacing 8px */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(26, 20, 16, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 20, 16, 0.06);
  --shadow-md: 0 6px 20px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 16px 40px rgba(26, 20, 16, 0.10);
  --shadow-xl: 0 28px 60px rgba(26, 20, 16, 0.12);
  --shadow-cta: 0 10px 30px rgba(233, 78, 27, 0.32);
  --shadow-cta-hover: 0 16px 40px rgba(233, 78, 27, 0.42);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-base: 300ms;
  --dur-slow: 600ms;

  /* Layout */
  --max-w: 1400px;
  --gutter: clamp(20px, 4vw, 48px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

.eyebrow.on-dark {
  color: var(--orange-2);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-1);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--t-h1);
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-weight: 700;
}

h2 {
  font-size: var(--t-h2);
  letter-spacing: -0.025em;
}

h3 { font-size: var(--t-h3); }
h4 { font-size: var(--t-h4); line-height: 1.2; }

.lead {
  font-size: var(--t-lg);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}

.accent {
  color: var(--orange);
  font-weight: 800;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section {
  padding: clamp(64px, 8vw, 128px) 0;
  position: relative;
}

section.tight {
  padding: clamp(48px, 6vw, 96px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: end;
  margin-bottom: var(--s-8);
}

.section-head__title {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.section-head__aside {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  align-items: flex-start;
  padding-bottom: var(--s-2);
}

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 16px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
  position: relative;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn .arrow {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition: transform var(--dur-base) var(--ease-out);
}

.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--orange);
  color: white;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: var(--orange-dark);
  box-shadow: var(--shadow-cta-hover);
}

.btn--ink {
  background: var(--ink);
  color: white;
}

.btn--ink:hover {
  background: var(--orange);
}

.btn--ghost {
  background: transparent;
  color: var(--fg-1);
  border: 1.5px solid var(--border-3);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn--light {
  background: white;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--cream);
}

.btn--lg {
  padding: 20px 30px;
  font-size: 18px;
}

.btn--xl {
  padding: 22px 32px;
  font-size: 19px;
}

.btn--block { width: 100%; justify-content: center; }

/* Phone "call us" button */
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
}

.phone-cta__ring {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.phone-cta__ring::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--orange);
  opacity: 0.4;
  animation: ring 2s ease-out infinite;
}

@keyframes ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

.phone-cta__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.phone-cta__label {
  font-size: 12px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.phone-cta__number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg-1);
  letter-spacing: -0.01em;
}

.phone-cta.on-dark .phone-cta__number { color: white; }
.phone-cta.on-dark .phone-cta__label { color: var(--orange-2); }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  padding: 10px 0;
  position: relative;
  z-index: 30;
}

.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.utility-bar__items {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.utility-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.utility-bar__item .icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(233, 78, 27, 0.15);
  color: var(--orange-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.utility-bar__item .icon svg { width: 14px; height: 14px; }

.utility-bar__socials {
  display: flex;
  gap: var(--s-3);
  align-items: center;
}

.utility-bar__socials a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--dur-base) var(--ease-out);
}

.utility-bar__socials a:hover {
  color: white;
  background: var(--orange);
}

.utility-bar__socials svg { width: 15px; height: 15px; }

@media (max-width: 720px) {
  .utility-bar { font-size: 12.5px; }
  .utility-bar__items { gap: var(--s-3); }
  .utility-bar__item.hide-mobile { display: none; }
}

/* ---------- Navbar ---------- */
.navbar {
  background: var(--cream);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--border-1);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
  backdrop-filter: blur(20px);
}

.navbar.scrolled {
  background: rgba(251, 246, 232, 0.85);
  box-shadow: var(--shadow-md);
}

.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: var(--fg-1);
  position: relative;
  padding: 8px 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-links a.active,
.nav-links a:hover { color: var(--orange); }

.nav-links a.has-arrow::after {
  content: "›";
  margin-left: 6px;
  display: inline-block;
  transform: rotate(90deg);
  font-size: 14px;
  color: var(--fg-3);
}

.navbar__cta-group {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
}

@media (max-width: 720px) {
  .navbar__cta-group .phone-cta__text { display: none; }
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: var(--fg-1);
}

.logo__mark {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
}

.logo__img--inverted {
  filter: invert(1) hue-rotate(180deg);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  gap: 1px;
}

.logo__text-1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.logo__text-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink);
}

.logo--on-dark .logo__text-1,
.logo--on-dark .logo__text-2 {
  color: white;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(80px, 8vw, 120px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 30%, rgba(233, 78, 27, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.hero__h1 {
  font-size: var(--t-h1);
}

.hero__h1 .accent {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  display: inline;
}

.hero__lead {
  font-size: clamp(17px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 56ch;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-1);
  margin-top: var(--s-4);
  flex-wrap: wrap;
}

.hero__avatars {
  display: flex;
}

.hero__avatars .avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 3px solid var(--cream);
  background: var(--cream-2);
  margin-left: -10px;
  background-size: cover;
  background-position: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.hero__avatars .avatar:first-child { margin-left: 0; }
.hero__avatars .avatar.more {
  background: var(--orange);
  color: white;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.hero__proof-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero__proof-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.hero__proof-label { color: var(--fg-3); font-size: 14px; }

.hero__stars {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 14px;
}

.hero__stars .stars { color: var(--orange); display: inline-flex; gap: 2px; }
.hero__stars .stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero__stars strong { color: var(--ink); font-family: var(--font-display); }

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  min-height: 520px;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: linear-gradient(160deg, #5DA5D8 0%, #87B9D9 40%, #BCDDED 100%);
}

.hero__visual image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26, 20, 16, 0.4));
  pointer-events: none;
  z-index: 2;
}

.hero__badge {
  position: absolute;
  top: var(--s-5);
  left: var(--s-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 3;
  box-shadow: var(--shadow-md);
}

.hero__badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  position: relative;
}

.hero__badge .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: var(--success);
  opacity: 0.4;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 0; }
}

.hero__floating-card {
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: center;
  z-index: 3;
  box-shadow: var(--shadow-lg);
}

.hero__floating-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__floating-card .icon-circle svg { width: 26px; height: 26px; }

.hero__floating-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}

.hero__floating-card-sub {
  font-size: 13.5px;
  color: var(--fg-3);
}

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  /* Hauteur fixe + ratio "portrait" causaient un débordement sur petit mobile.
     On laisse aspect-ratio gérer seul, sans min-height qui force la largeur. */
  .hero__visual {
    min-height: 0;
    aspect-ratio: 4/3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero__visual {
    aspect-ratio: 4/3;
    min-height: 280px;
    max-height: 70vh;
  }
  /* Floating cards : padding réduit + texte plus petit */
  .hero__badge {
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .hero__floating-card {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px;
    gap: 12px;
  }
  .hero__floating-card .icon-circle {
    width: 44px;
    height: 44px;
  }
  .hero__floating-card .icon-circle svg {
    width: 22px;
    height: 22px;
  }
  .hero__floating-card-title { font-size: 14.5px; }
  .hero__floating-card-sub { font-size: 12.5px; }
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  padding: var(--s-7) 0;
}

.trust-strip .wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0 var(--s-3);
  border-right: 1px solid var(--border-1);
}

.trust-item:last-child { border-right: none; }

.trust-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item__icon svg { width: 24px; height: 24px; }

.trust-item__text { display: flex; flex-direction: column; line-height: 1.25; }
.trust-item__label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}
.trust-item__sub { font-size: 12.5px; color: var(--fg-3); }

@media (max-width: 1100px) {
  .trust-strip .wrap { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3) { border-right: none; }
}

@media (max-width: 640px) {
  .trust-strip {
    padding: var(--s-4) 0;
  }
  .trust-strip .wrap {
    grid-template-columns: 1fr !important;
    gap: var(--s-3);
    padding: 0 16px;
  }
  .trust-item {
    border-right: none;
    padding: 10px 12px;
    background: var(--paper);
    border-radius: var(--r-md);
    min-width: 0;
  }
  .trust-item__icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .trust-item__icon svg {
    width: 18px;
    height: 18px;
  }
  .trust-item__label { font-size: 14px; }
  .trust-item__sub { font-size: 12px; }
}

/* ---------- Services ---------- */
.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.service-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  border: 1px solid var(--border-1);
  transition: all var(--dur-slow) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--orange-tint), transparent 50%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover .service-card__num { color: var(--orange); }
.service-card:hover .service-card__arrow {
  background: var(--orange);
  color: white;
  transform: rotate(-45deg);
}

.service-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fg-4);
  transition: color var(--dur-base) var(--ease-out);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-2) 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(233, 78, 27, 0.25);
}

.service-card__icon svg { width: 30px; height: 30px; }

.service-card__title {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
  margin-top: var(--s-2);
}

.service-card__desc {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-2);
}

.service-card__features li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--orange-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23E94E1B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.service-card__cta {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px dashed var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.service-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base) var(--ease-spring);
}

.service-card.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.service-card.featured .service-card__title,
.service-card.featured .service-card__cta { color: white; }

.service-card.featured .service-card__desc,
.service-card.featured .service-card__features li { color: rgba(255,255,255,0.75); }

.service-card.featured .service-card__num { color: var(--orange-2); }
.service-card.featured .service-card__cta { border-color: rgba(255,255,255,0.15); }
.service-card.featured .service-card__arrow { background: var(--orange); color: white; }

.service-card.featured::before {
  background: radial-gradient(circle at 100% 0%, rgba(233, 78, 27, 0.35), transparent 60%);
  opacity: 1;
}

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Emergency band ---------- */
.emergency {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 96px) 0;
}

.emergency::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 50%, rgba(233, 78, 27, 0.35), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(233, 78, 27, 0.15), transparent 40%);
  pointer-events: none;
}

.emergency .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: center;
}

.emergency__copy h2 { color: white; }

.emergency__copy h2 .accent {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.emergency__copy .lead { color: rgba(255, 255, 255, 0.78); }

.emergency__phone-card {
  background: linear-gradient(140deg, var(--orange) 0%, var(--orange-dark) 100%);
  padding: var(--s-6);
  border-radius: var(--r-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  box-shadow: 0 30px 60px rgba(233, 78, 27, 0.4);
  position: relative;
  overflow: hidden;
}

.emergency__phone-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  border: 30px solid rgba(255, 255, 255, 0.06);
}

.emergency__phone-card .label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.emergency__phone-card .number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
  display: block;
  line-height: 1;
  margin-top: 4px;
}

.emergency__phone-card .sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.4;
}

.emergency__phone-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.emergency__phone-card .row-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.emergency__phone-card .row-item .k {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.emergency__phone-card .row-item .v {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: 17px;
}

@media (max-width: 900px) {
  .emergency .wrap { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process {
  background: var(--cream-2);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-2) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  z-index: 1;
}

.step__num {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--orange);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  transition: all var(--dur-base) var(--ease-spring);
}

.step:hover .step__num {
  background: var(--orange);
  color: white;
  transform: scale(1.08);
}

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.step__desc {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- Réalisations ---------- */
.realisations {
  background: var(--cream);
}

.realisations-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--s-4);
  height: 600px;
}

.realisation {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  isolation: isolate;
}

.realisation:nth-child(1) { grid-row: span 2; }

.realisation image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease-out);
}

.realisation:hover image-slot { transform: scale(1.04); }

.realisation::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 20, 16, 0.85));
  pointer-events: none;
  z-index: 1;
}

.realisation__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-5);
  color: white;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.realisation__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--orange-2);
}

.realisation__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
}

.realisation__meta { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); margin-top: 2px; }

@media (max-width: 900px) {
  .realisations-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .realisation { aspect-ratio: 4/3; }
  .realisation:nth-child(1) { grid-row: span 1; grid-column: span 2; aspect-ratio: 16/9; }
}

@media (max-width: 520px) {
  .realisations-grid { grid-template-columns: 1fr; }
  .realisation:nth-child(1) { grid-column: span 1; }
}

/* ---------- Estimator ---------- */
.estimator {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.estimator::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 100%, rgba(233, 78, 27, 0.2), transparent 50%);
  pointer-events: none;
}

.estimator .section-head__title h2,
.estimator .section-head__title .eyebrow { color: white; }

.estimator .lead { color: rgba(255,255,255,0.78); }

.estimator-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(20px);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.field__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: white;
}

.field__value {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--orange-2);
  font-size: 16px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--orange);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(233, 78, 27, 0.2);
  transition: all var(--dur-fast) var(--ease-out);
}

input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }

input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--orange); cursor: pointer; border: none;
  box-shadow: 0 0 0 4px rgba(233, 78, 27, 0.2);
}

.service-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.tag-pill {
  padding: 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
}

.tag-pill:hover { border-color: rgba(255,255,255,0.3); }

.tag-pill.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

.tag-pill .check {
  width: 16px; height: 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tag-pill.active .check { background: white; border-color: white; color: var(--orange); }
.tag-pill .check svg { width: 10px; height: 10px; opacity: 0; }
.tag-pill.active .check svg { opacity: 1; }

.estimator-result {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background: linear-gradient(140deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  height: fit-content;
}

.estimator-result::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 180px; height: 180px;
  border-radius: 999px;
  border: 30px solid rgba(255, 255, 255, 0.07);
}

.estimator-result__label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.estimator-result__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: white;
}

.estimator-result__range {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.estimator-result__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.18);
}

.estimator-result__list li {
  font-size: 14px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

.estimator-result__list li::before {
  content: "✓";
  font-weight: 700;
}

@media (max-width: 900px) {
  .estimator-grid { grid-template-columns: 1fr; }
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--cream);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.testimonial {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  border: 1px solid var(--border-1);
  position: relative;
  transition: all var(--dur-slow) var(--ease-out);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonial__quote-mark {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--orange);
  height: 24px;
  margin-bottom: var(--s-2);
}

.testimonial__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--orange);
}

.testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; }

.testimonial__text {
  color: var(--fg-1);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border-1);
  margin-top: auto;
}

.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.testimonial__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.testimonial__meta {
  font-size: 13px;
  color: var(--fg-3);
}

.testimonial__source {
  margin-left: auto;
  font-size: 12px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: var(--paper);
  border-radius: var(--r-pill);
  border: 1px solid var(--border-1);
}

.google-rating__logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
}

.google-rating__score {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 18px;
}

@media (max-width: 1000px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .testimonial:nth-child(3) { grid-column: span 2; }
}

@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial:nth-child(3) { grid-column: span 1; }
}

/* ---------- Zones d'intervention ---------- */
.zones {
  background: var(--cream-2);
}

.zones-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: center;
}

.zones__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.zones__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--border-1);
  font-size: 14.5px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--fg-1);
  transition: all var(--dur-base) var(--ease-out);
}

.zones__list a:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateX(3px);
}

.zones__list a .pin {
  color: var(--orange);
  width: 14px; height: 14px;
}

.zones-map {
  position: relative;
  aspect-ratio: 1;
  background: var(--paper);
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zones-map svg { width: 100%; height: 100%; }

.zones-map .pin-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--orange);
  border: 3px solid white;
  box-shadow: 0 0 0 4px rgba(233, 78, 27, 0.2), 0 4px 12px rgba(233, 78, 27, 0.4);
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: pin-pulse 2.4s ease-out infinite;
}

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(233, 78, 27, 0.2), 0 4px 12px rgba(233, 78, 27, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(233, 78, 27, 0.1), 0 4px 12px rgba(233, 78, 27, 0.4); }
}

.zones-map .pin-label {
  position: absolute;
  background: var(--ink);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  transform: translate(-50%, calc(-100% - 12px));
  white-space: nowrap;
  z-index: 3;
}

.zones-map .pin-label::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 8px; height: 8px;
  background: var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 900px) {
  .zones-layout { grid-template-columns: 1fr; }
  .zones-map { aspect-ratio: 4/3; }
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.faq__intro .contact-card {
  background: var(--ink);
  color: white;
  border-radius: var(--r-xl);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-top: var(--s-4);
}

.faq__intro .contact-card .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-2);
}

.faq__intro .contact-card .ask {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--dur-base) var(--ease-out);
}

.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }

.faq-item summary {
  padding: var(--s-5);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item .faq-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-spring);
}

.faq-item[open] .faq-icon {
  background: var(--orange);
  color: white;
  transform: rotate(45deg);
}

.faq-item__body {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
}

/* ---------- Blog ---------- */
.blog {
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--border-1);
  transition: all var(--dur-slow) var(--ease-out);
}

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

.blog-card__image {
  aspect-ratio: 16/10;
  background: var(--cream-2);
  overflow: hidden;
  position: relative;
}

.blog-card__image image-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transition: transform 1.2s var(--ease-out);
}

.blog-card:hover .blog-card__image image-slot { transform: scale(1.05); }

.blog-card__date {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.04em;
  z-index: 2;
}

.blog-card__body {
  padding: 0 var(--s-5) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.blog-card__category {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.blog-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
}

.blog-card__excerpt {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.blog-card__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--orange);
  font-size: 14px;
  margin-top: auto;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(233, 78, 27, 0.25), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(233, 78, 27, 0.15), transparent 50%);
  pointer-events: none;
}

.final-cta .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: center;
}

.final-cta h2 { color: white; }
.final-cta .lead { color: rgba(255,255,255,0.78); }

.quote-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-2xl);
  padding: var(--s-6);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.quote-form__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: white;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: all var(--dur-base) var(--ease-out);
  width: 100%;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(255,255,255,0.4); }

.quote-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}

@media (max-width: 900px) {
  .final-cta .wrap { grid-template-columns: 1fr; }
  .quote-form .row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--s-9) 0 var(--s-5);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-7);
  margin-bottom: var(--s-8);
}

.footer__logo { margin-bottom: var(--s-4); filter: brightness(0) invert(1); }

.footer__about { line-height: 1.65; }

.footer__title {
  font-family: var(--font-display);
  color: white;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: var(--s-4);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--dur-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__links a:hover { color: var(--orange-2); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer__contact-item {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}

.footer__contact-item .icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  color: var(--orange-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__contact-item .icon svg { width: 16px; height: 16px; }

.footer__contact-item .k {
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 13.5px;
}

.footer__legal {
  display: flex;
  gap: var(--s-4);
}

.footer__legal a { color: rgba(255, 255, 255, 0.55); }
.footer__legal a:hover { color: white; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Floating sticky CTA (mobile) ---------- */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: var(--s-2);
}

.floating-cta a {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cta);
}

@media (max-width: 1100px) {
  .floating-cta { display: flex; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: opacity 700ms var(--ease-out),
              transform 700ms var(--ease-out),
              filter 700ms var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============================================================
   Multi-page additions
   ============================================================ */

/* ---------- Page hero (smaller than home hero) ---------- */
.page-hero {
  background: var(--cream);
  padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 96px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 0%, var(--orange-tint), transparent 60%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: end;
}

.page-hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 68px);
}

.page-hero__lead {
  font-size: clamp(17px, 1.2vw, 19px);
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 56ch;
}

.page-hero__meta {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
}

.page-hero__stat {
  background: var(--paper);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.page-hero__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--orange);
  letter-spacing: -0.02em;
  line-height: 1;
}

.page-hero__stat-label {
  font-size: 14px;
  color: var(--fg-2);
  font-family: var(--font-display);
  font-weight: 500;
}

@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: 1fr; gap: var(--s-5); }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 13.5px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: var(--s-3);
}

.breadcrumb a {
  color: var(--fg-3);
  transition: color var(--dur-fast) var(--ease-out);
}

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

.breadcrumb .sep { color: var(--fg-4); }

.breadcrumb [aria-current="page"] {
  color: var(--orange);
}

/* ---------- Service hub (services.html) ---------- */
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.service-hub-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-1);
  display: flex;
  flex-direction: column;
  transition: all var(--dur-slow) var(--ease-out);
}

.service-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.service-hub-card__media {
  aspect-ratio: 16/10;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}

.service-hub-card__media image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease-out);
}

.service-hub-card:hover .service-hub-card__media image-slot { transform: scale(1.06); }

.service-hub-card__tag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  background: var(--paper);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 2;
}

.service-hub-card__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}

.service-hub-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.15;
}

.service-hub-card__desc {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
}

.service-hub-card__feats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.service-hub-card__feats li {
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-dark);
  font-weight: 500;
}

.service-hub-card__cta {
  margin-top: auto;
  padding-top: var(--s-4);
  border-top: 1px dashed var(--border-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

.service-hub-card__cta .arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base) var(--ease-spring);
}

.service-hub-card:hover .service-hub-card__cta .arrow {
  background: var(--orange);
  color: white;
  transform: rotate(-45deg);
}

@media (max-width: 1000px) {
  .service-hub-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .service-hub-grid { grid-template-columns: 1fr; }
}

/* ---------- Service detail layout ---------- */
.service-detail {
  background: var(--cream);
  padding: clamp(48px, 5vw, 88px) 0;
}

.service-detail__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--s-8);
  align-items: start;
}

.service-detail__content > * + * { margin-top: var(--s-6); }

.service-detail__content h2 {
  font-size: clamp(28px, 2.6vw, 38px);
  margin-top: var(--s-8);
}

.service-detail__content h3 {
  font-size: clamp(22px, 1.8vw, 26px);
  margin-top: var(--s-5);
}

.service-detail__content p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--fg-2);
  max-width: 65ch;
  text-wrap: pretty;
}

.service-detail__content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}

.service-detail__content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.55;
}

.service-detail__content ul li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--orange-tint);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23E94E1B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-detail__lead {
  font-size: clamp(18px, 1.4vw, 22px);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  max-width: 60ch;
}

.service-detail__image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
}

.service-detail__image image-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.callout {
  background: var(--paper);
  border-left: 4px solid var(--orange);
  border-radius: var(--r-md);
  padding: var(--s-5);
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  margin: var(--s-5) 0;
}

.callout__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 4px;
}

.callout__text { font-size: 15px; color: var(--fg-2); }

.service-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.sidebar-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--border-1);
}

.sidebar-card--dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.sidebar-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: var(--s-3);
}

.sidebar-card--dark .sidebar-card__title { color: white; }

.sidebar-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.sidebar-card__list li {
  border-top: 1px solid var(--border-1);
  padding: 10px 0;
  font-size: 14.5px;
}

.sidebar-card__list li:first-child { border-top: none; padding-top: 0; }
.sidebar-card__list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--fg-2);
  transition: color var(--dur-fast);
}

.sidebar-card__list li a:hover { color: var(--orange); }
.sidebar-card__list li a.active { color: var(--orange); font-weight: 600; }

.sidebar-card__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: white;
  display: block;
  margin: var(--s-2) 0;
}

@media (max-width: 1000px) {
  .service-detail__layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
}

/* ---------- Spec table (service detail) ---------- */
.spec-table {
  background: var(--paper);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-1);
  overflow: hidden;
}

.spec-table__row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  padding: var(--s-4) var(--s-5);
  border-top: 1px solid var(--border-1);
  align-items: center;
}

.spec-table__row:first-child { border-top: none; }

.spec-table__k {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}

.spec-table__v {
  color: var(--fg-2);
  font-size: 15px;
}

/* ---------- Team grid (a-propos.html) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.team-card {
  background: var(--paper);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-1);
  transition: all var(--dur-slow) var(--ease-out);
}

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

.team-card__photo {
  aspect-ratio: 4/5;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}

.team-card__photo image-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.team-card__body {
  padding: var(--s-4) var(--s-5) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 19px;
}

.team-card__role {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}

.team-card__bio {
  margin-top: var(--s-3);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Value cards (a-propos.html) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.value-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  border: 1px solid var(--border-1);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: all var(--dur-base) var(--ease-out);
}

.value-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.value-card__desc {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--ink);
  color: white;
  padding: clamp(48px, 5vw, 80px) 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 var(--s-3);
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stat:first-child { border-left: none; padding-left: 0; }

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.03em;
  color: var(--orange-2);
  line-height: 1;
}

.stat__label {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: pretty;
}

@media (max-width: 800px) {
  .stats-band__grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ---------- About story / split ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-8);
  align-items: center;
}

.story__visual {
  aspect-ratio: 4/5;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.story__visual image-slot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.story__copy { display: flex; flex-direction: column; gap: var(--s-4); }

.story__copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__visual { max-width: 480px; margin: 0 auto; }
}

/* ---------- FAQ page full ---------- */
.faq-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}

.faq-category-tabs button {
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  background: var(--paper);
  color: var(--fg-2);
  border: 1px solid var(--border-1);
  transition: all var(--dur-base) var(--ease-out);
}

.faq-category-tabs button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.faq-category-tabs button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* ---------- Contact layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-7);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.contact-channel {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--border-1);
  transition: all var(--dur-base) var(--ease-out);
}

.contact-channel:hover {
  border-color: var(--orange);
  transform: translateX(3px);
}

.contact-channel__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--orange-tint);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 4px;
}

.contact-channel__value {
  font-size: 15px;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 600;
}

.contact-channel__sub {
  font-size: 13.5px;
  color: var(--fg-3);
  margin-top: 4px;
}

.contact-form-card {
  background: var(--paper);
  border-radius: var(--r-2xl);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--border-1);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.contact-form-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 28px);
  color: var(--ink);
  line-height: 1.15;
}

.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  background: var(--cream);
  border: 1px solid var(--border-1);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: all var(--dur-base) var(--ease-out);
  width: 100%;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--orange);
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--orange-tint);
}

.contact-form-card .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}

.contact-form-card label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-card .row { grid-template-columns: 1fr; }
}

/* Embed map */
.map-embed {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-1);
  aspect-ratio: 16/9;
  background: var(--cream-2);
  position: relative;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer social bg ---------- */
.footer-social {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-base) var(--ease-out);
}

/* ---------- Tweaks panel ---------- */
.tweaks-toggle {
  display: none;
}

.tweaks {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 280px;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: var(--s-4);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: var(--s-3);
  border: 1px solid var(--border-2);
}

.tweaks.open { display: flex; }

.tweaks__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tweaks__title button {
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tweaks__row { display: flex; flex-direction: column; gap: 6px; }
.tweaks__row label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.tweaks__swatches { display: flex; gap: 6px; }
.tweaks__swatches button {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 2px solid var(--border-2);
  cursor: pointer;
}

.tweaks__swatches button.active { border-color: var(--ink); transform: scale(1.1); }

/* ===================================================================
   LEGAL & ARTICLE — Refonte pattern Peacemaker (sommaire + prose)
   Utilisée par : mentions-legales / cgv / confidentialite
                  blog hub / articles
   =================================================================== */

/* ---------- Hero des pages légales (sans image) ---------- */
.legal-hero {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--border-1);
}
.legal-hero .container { max-width: 880px; }
.legal-hero .breadcrumb { margin-bottom: var(--s-5); }
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  font-weight: 700;
}
.legal-hero h1 .accent,
.legal-hero h1 .red {
  color: var(--orange);
  font-style: normal;
}
.legal-hero .lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 60ch;
  margin: 0 0 var(--s-5);
}
.legal-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  padding-top: var(--s-4);
  border-top: 1px dashed var(--border-2);
}
.legal-hero .meta span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Hero d'article (avec image de fond) ---------- */
.page-hero {
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  background: var(--ink);
  color: white;
}
.page-hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.page-hero-bg img,
.page-hero-bg image-slot {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,20,16,0.55) 0%, rgba(26,20,16,0.82) 100%);
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 880px;
}
.page-hero .breadcrumb { margin-bottom: var(--s-4); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.78); }
.page-hero .breadcrumb a:hover { color: var(--orange-2); }
.page-hero .breadcrumb .current,
.page-hero .breadcrumb [aria-current="page"] { color: white; }
.page-hero .breadcrumb .sep { color: rgba(255,255,255,0.45); }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(233, 78, 27, 0.18);
  color: var(--orange-2);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-5);
  color: white;
  font-weight: 700;
  text-wrap: balance;
}
.page-hero h1 .red,
.page-hero h1 .accent { color: var(--orange-2); font-style: normal; }
.page-hero .lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 60ch;
  margin: 0;
}
.page-hero-meta {
  display: flex; flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px dashed rgba(255,255,255,0.18);
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}
.page-hero-meta .pm {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.page-hero-meta .pm svg { color: var(--orange-2); }

/* ---------- Layout sommaire + prose ---------- */
.legal {
  background: var(--paper);
  padding: clamp(56px, 7vw, 96px) 0;
}
.legal .container,
.section .container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ---------- Sommaire latéral ---------- */
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: var(--s-5);
  background: var(--cream);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-1);
}
.toc h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 var(--s-4);
}
.toc ol,
.toc ul {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: toc;
  display: flex; flex-direction: column;
  gap: 2px;
}
.toc ol li,
.toc ul li { counter-increment: toc; }
.toc ol a,
.toc ul a {
  display: flex; align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.toc ol a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-4);
  font-weight: 700;
  flex-shrink: 0;
  width: 22px;
}
.toc a:hover {
  background: var(--paper);
  color: var(--ink);
}
.toc a.active {
  background: var(--orange);
  color: white;
}
.toc a.active::before { color: rgba(255,255,255,0.7); }
@media (max-width: 960px) {
  .toc { position: static; }
}

/* ---------- Corps prose ---------- */
.legal-prose {
  max-width: 72ch;
}
.legal-prose section { margin-bottom: clamp(40px, 5vw, 64px); scroll-margin-top: 100px; }
.legal-prose section:last-of-type { margin-bottom: 0; }
.legal-prose > p:first-of-type:not([class]) {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.6;
  color: var(--fg-1);
  font-weight: 400;
  margin-bottom: var(--s-6);
  text-wrap: pretty;
}
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 var(--s-4);
  display: flex; align-items: baseline;
  gap: var(--s-3);
}
.legal-prose h2 .num {
  font-family: var(--font-mono);
  font-size: 0.5em;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--orange-tint);
  padding: 6px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}
.legal-prose h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 600;
  margin: var(--s-5) 0 var(--s-3);
  letter-spacing: -0.01em;
}
.legal-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  margin: 0 0 var(--s-4);
  text-wrap: pretty;
}
.legal-prose strong { color: var(--ink); font-weight: 600; }
.legal-prose a {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(233, 78, 27, 0.35);
  transition: color var(--dur-base), text-decoration-color var(--dur-base);
}
.legal-prose a:hover {
  color: var(--orange-dark);
  text-decoration-color: var(--orange);
}
.legal-prose ul,
.legal-prose ol {
  margin: 0 0 var(--s-4);
  padding-left: 0;
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}
.legal-prose ul li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
}
.legal-prose ul li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 12px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.legal-prose ol {
  counter-reset: ol-counter;
}
.legal-prose ol li {
  counter-increment: ol-counter;
  position: relative;
  padding-left: 32px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
}
.legal-prose ol li::before {
  content: counter(ol-counter) ".";
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--orange);
  font-size: 14px;
}

/* Définitions sobre style cordistes (dl/dt/dd flat, sans .kv-row) */
.legal-prose dl {
  margin: 0 0 var(--s-5);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border-top: 1px solid var(--border-1);
}
.legal-prose dl dt {
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
  border-bottom: 1px solid var(--border-1);
}
.legal-prose dl dd {
  padding: var(--s-3) 0;
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--border-1);
}
@media (max-width: 640px) {
  .legal-prose dl { grid-template-columns: 1fr; }
  .legal-prose dl dt { padding-bottom: 4px; border-bottom: 0; }
  .legal-prose dl dd { padding-top: 0; padding-bottom: var(--s-4); }
}

/* Compat anciennes pages utilisant .kv .kv-row */
.legal-prose .kv {
  display: block;
  margin: 0 0 var(--s-5);
  border-top: 1px solid var(--border-1);
}
.legal-prose .kv-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--border-1);
}
.legal-prose .kv-row dt {
  padding: var(--s-3) var(--s-4) var(--s-3) 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 600;
}
.legal-prose .kv-row dd {
  padding: var(--s-3) 0; margin: 0;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 640px) {
  .legal-prose .kv-row { grid-template-columns: 1fr; }
  .legal-prose .kv-row dt { padding-bottom: 4px; }
  .legal-prose .kv-row dd { padding-top: 0; padding-bottom: var(--s-4); }
}

/* Boîte d'information / callout sobre */
.legal-prose .info-box,
.info-box {
  background: var(--orange-tint);
  border-left: 3px solid var(--orange);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--s-5) 0;
}
.legal-prose .info-box p,
.info-box p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.legal-prose .info-box p + p,
.info-box p + p { margin-top: var(--s-2); }

.legal-prose figure {
  margin: var(--s-5) 0;
}
.legal-prose figure .img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--cream-2);
}
.legal-prose figcaption {
  font-size: 13.5px;
  color: var(--fg-3);
  margin-top: var(--s-2);
  font-style: italic;
  text-align: center;
}

/* Footer d'une page légale / article (back + related) */
.legal-foot {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.legal-foot .related a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-decoration: none;
  font-weight: 600;
}
.legal-foot .related a:hover { color: var(--orange); }

/* ===================================================================
   BLOG — Hub & cartes article
   =================================================================== */
.section { padding: clamp(56px, 7vw, 96px) 0; background: var(--paper); }
.section-alt { background: var(--cream); }
.section-sm { padding: clamp(32px, 4vw, 56px) 0; }

.sec-head {
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 740px;
}
.sec-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange-tint);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.sec-head h2 .red,
.sec-head h2 .accent { color: var(--orange); font-style: normal; }

/* Filter bar */
.filter-bar {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--s-5);
}
.filter-pill {
  background: var(--paper);
  border: 1px solid var(--border-2);
  color: var(--fg-2);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.filter-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

/* Featured article (grosse carte horizontale) */
.article-feat {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out);
}
.article-feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.article-feat .af-img {
  aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--cream-2);
}
.article-feat .af-img img,
.article-feat .af-img image-slot {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}
.article-feat:hover .af-img img,
.article-feat:hover .af-img image-slot { transform: scale(1.05); }
.article-feat .af-body {
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  justify-content: center;
}
.article-feat .af-meta {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-weight: 500;
}
.article-feat .af-body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 700;
  margin: 0;
}
.article-feat .af-body p {
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.article-feat .af-author {
  display: flex; align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg-2);
  margin-top: var(--s-2);
}
.article-feat .av {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .article-feat { grid-template-columns: 1fr; }
  .article-feat .af-img { aspect-ratio: 16/9; }
}

/* Category badge inside meta */
.cat {
  background: var(--orange-tint);
  color: var(--orange);
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Grid + cartes article standard */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 1000px) {
  .article-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .article-grid { grid-template-columns: 1fr; }
}
.article-card {
  background: var(--paper);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-slow) var(--ease-out);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
.article-card .ac-img {
  aspect-ratio: 16/10;
  background: var(--cream-2);
  overflow: hidden;
}
.article-card .ac-img img,
.article-card .ac-img image-slot {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 1.2s var(--ease-out);
}
.article-card:hover .ac-img img,
.article-card:hover .ac-img image-slot { transform: scale(1.06); }
.article-card .ac-body {
  padding: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.article-card .ac-meta {
  font-size: 12.5px;
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.article-card .ac-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.2;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.article-card .ac-body p {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}
.article-card .ac-read {
  margin-top: auto;
  padding-top: var(--s-3);
  display: inline-flex; align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.article-card:hover .ac-read svg { transform: translateX(4px); }
.article-card .ac-read svg { transition: transform var(--dur-base) var(--ease-spring); }

/* ===================================================================
   RESPONSIVE MOBILE — corrections de débordement horizontal & tailles
   Ajouté le 2026-06-01 suite à test mobile réel
   =================================================================== */

/* Sécurité globale : empêcher tout enfant de dépasser le viewport */
body, body * {
  max-width: 100%;
}
img, video, iframe, image-slot, picture {
  max-width: 100%;
  height: auto;
}

/* ─── Navbar — adaptation tablette ─── */
@media (max-width: 900px) {
  .navbar .wrap {
    gap: var(--s-3);
    padding-left: clamp(12px, 4vw, 24px);
    padding-right: clamp(12px, 4vw, 24px);
  }
  .navbar__cta-group {
    gap: var(--s-2);
  }
  .btn {
    padding: 12px 18px;
    font-size: 14.5px;
  }
}

/* ─── Navbar — mobile (≤ 640px) ─── */
@media (max-width: 640px) {
  .navbar {
    padding: var(--s-3) 0;
  }
  .navbar .wrap {
    gap: var(--s-2);
  }
  .logo__img {
    max-width: 130px;
    height: auto;
  }
  /* Bouton "Devis gratuit" + icône phone : compacts */
  .navbar__cta-group .btn {
    padding: 10px 14px;
    font-size: 13.5px;
    gap: 6px;
  }
  .navbar__cta-group .btn .arrow {
    width: 16px;
    height: 16px;
  }
  .phone-cta__ring {
    width: 38px;
    height: 38px;
  }
  .phone-cta__ring svg {
    width: 18px;
    height: 18px;
  }
}

/* ─── Navbar — petit mobile (≤ 380px) : icône seule pour le bouton ─── */
@media (max-width: 380px) {
  .navbar__cta-group .btn {
    padding: 10px 12px;
    font-size: 12.5px;
  }
  .logo__img {
    max-width: 110px;
  }
}

/* ─── Utility bar (barre noire du haut) ─── */
@media (max-width: 640px) {
  .utility-bar {
    font-size: 12px;
    padding: 8px 0;
  }
  .utility-bar .wrap {
    padding-left: 12px;
    padding-right: 12px;
    gap: var(--s-2);
  }
  .utility-bar__items {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .utility-bar__socials {
    gap: 10px;
  }
  .utility-bar__socials svg {
    width: 13px;
    height: 13px;
  }
}

/* ─── Hero & sections principales — éviter padding excessif ─── */
@media (max-width: 640px) {
  .wrap, .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero {
    padding-top: var(--s-6);
  }
  .hero__h1 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.05;
  }
  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-3);
  }
  .hero__cta-group .btn {
    justify-content: center;
  }
  .page-hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
}

/* ─── Cartes services / réalisations / blog : éviter overflow ─── */
@media (max-width: 640px) {
  .services-grid, .article-grid, .service-hub-grid, .realisations-grid, .blog-grid {
    grid-template-columns: 1fr !important;
    gap: var(--s-4);
  }
}

/* ─── Tables et listes longues (cas zones / cgv / confidentialité) ─── */
@media (max-width: 640px) {
  .legal-prose dl,
  .legal-prose .kv {
    grid-template-columns: 1fr;
  }
  .legal-prose ul li,
  .legal-prose ol li {
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
}

/* ─── Liens longs (emails, URLs) : forcer cassure ─── */
a[href^="mailto:"],
a[href^="http"] {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ─── Emergency / CTA bande : empiler en mobile ─── */
@media (max-width: 720px) {
  .emergency .wrap {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .emergency__phone-card .number {
    font-size: clamp(28px, 7vw, 36px);
  }
}

/* ─── Page-hero d'article (image bg) : alléger en mobile ─── */
@media (max-width: 640px) {
  .page-hero {
    padding-top: clamp(60px, 12vw, 100px);
    padding-bottom: clamp(40px, 8vw, 64px);
  }
  .page-hero-meta {
    gap: 6px 12px;
    font-size: 12px;
  }
}

/* ─── Sommaire TOC légal : devient bloc plein en mobile ─── */
@media (max-width: 960px) {
  .toc {
    position: static !important;
    margin-bottom: var(--s-5);
  }
}

/* ─── Formulaire contact : champs row → colonne en mobile ─── */
@media (max-width: 640px) {
  .contact-form-card .row {
    grid-template-columns: 1fr;
    gap: var(--s-3);
  }
}

/* ===================================================================
   FIX MOBILE — Round 2 (après test réel sur Xiaomi/Redmi mobile)
   Forcer les overrides avec spécificité + !important sur les rebelles
   =================================================================== */

@media (max-width: 640px) {
  /* Navbar : compaction agressive */
  .navbar .wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
    gap: 6px !important;
  }
  .navbar__cta-group {
    gap: 6px !important;
    flex-shrink: 1;
    min-width: 0;
  }
  /* Logo : encore plus petit */
  .navbar .logo__img,
  .logo .logo__img {
    max-width: 100px !important;
    height: auto !important;
  }
  /* Phone CTA round button : plus petit */
  .navbar__cta-group .phone-cta__ring {
    width: 36px !important;
    height: 36px !important;
  }
  .navbar__cta-group .phone-cta__ring svg {
    width: 16px !important;
    height: 16px !important;
  }
  /* Bouton "Devis gratuit" — forçage maximal */
  .navbar__cta-group .btn,
  .navbar__cta-group .btn.btn--primary,
  .navbar__cta-group .btn.btn--lg {
    padding: 9px 12px !important;
    font-size: 13px !important;
    gap: 4px !important;
    min-width: 0 !important;
    white-space: nowrap;
  }
  .navbar__cta-group .btn .arrow {
    width: 14px !important;
    height: 14px !important;
  }
  .navbar__cta-group .btn .arrow svg {
    width: 12px !important;
    height: 12px !important;
  }
}

/* Très petit mobile (≤ 400px) : icône seule pour le bouton */
@media (max-width: 400px) {
  .navbar__cta-group .btn {
    padding: 9px 10px !important;
    font-size: 12px !important;
  }
  .navbar .logo__img {
    max-width: 85px !important;
  }
}

/* Floating CTA bottom-right : doit pas chevaucher le contenu */
@media (max-width: 1100px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
  }
  .floating-cta a {
    width: 48px;
    height: 48px;
  }
  .floating-cta a svg {
    width: 22px;
    height: 22px;
  }
}

/* Hero stats / proof : éviter débordement (le texte "satisfaits en Yvelines" était tronqué à gauche → overflow horizontal) */
@media (max-width: 640px) {
  .hero__proof {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-3);
    max-width: 100%;
  }
  .hero__avatars { flex-shrink: 0; }
  .hero__proof-num { font-size: 16px; }
  .hero__proof-label { font-size: 13px; }
}

/* Section padding global plus contrôlé */
@media (max-width: 640px) {
  section .wrap,
  section .container {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    box-sizing: border-box;
  }
}
