/* =========================================================
   Clôture Bionique — Design System
   Refonte UMB-267 — Umbeli 2026
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs */
  --c-noir: #0F0F0F;
  --c-noir-soft: #111111;
  --c-gris-fonce: #1A1A1A;
  --c-gris-card: #161616;
  --c-jaune: #F9C300;
  --c-jaune-hover: #D9A800;
  --c-jaune-soft: rgba(249, 195, 0, 0.08);
  --c-blanc: #FFFFFF;
  --c-gris-texte: #C7C7C7;
  --c-gris-moyen: #767676;
  --c-gris-line: rgba(255, 255, 255, 0.08);
  --c-succes: #3CB371;
  --c-alerte: #E03C3C;

  /* Typo */
  --ff-titre: 'Montserrat', system-ui, -apple-system, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;

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

  /* Layout */
  --max-w: 1240px;
  --max-w-text: 760px;

  /* Radius */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 16px;

  /* Transitions */
  --t-fast: 150ms ease-out;
  --t-base: 250ms ease-out;
  --t-slow: 400ms ease-out;

  /* Shadow */
  --sh-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --sh-cta: 0 10px 40px rgba(249, 195, 0, 0.18);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-blanc);
  background: var(--c-noir);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--c-jaune);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--c-jaune);
  color: var(--c-noir);
  padding: 10px 18px;
  z-index: 1000;
  font-weight: 700;
  border-radius: var(--r-md);
}
.skip-link:focus {
  top: 16px;
}

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-titre);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-4);
  color: var(--c-blanc);
}

h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 3.4vw, 44px);
}

h3 {
  font-size: clamp(22px, 2.2vw, 30px);
}

h4 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
}

p { margin: 0 0 var(--sp-4); }
p.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--c-gris-texte);
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-titre);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-jaune);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--c-jaune);
  display: inline-block;
}

ul, ol { margin: 0 0 var(--sp-5); padding-left: 22px; }
ul li, ol li { margin-bottom: var(--sp-2); }

strong { color: var(--c-blanc); font-weight: 600; }

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0;
  overflow: hidden;
}

.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section--alt { background: var(--c-gris-fonce); }

/* Decorative SVG backgrounds */
.section-bg-blob,
.section-bg-grid,
.section-bg-lines,
.section-bg-circle {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}

.section-bg-blob {
  top: -10%;
  right: -10%;
  width: 60vw;
  max-width: 800px;
}

.section-bg-grid {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
}

.section-bg-lines {
  bottom: -5%;
  left: -10%;
  width: 50vw;
  max-width: 700px;
  opacity: 0.04;
}

.section-bg-circle {
  top: 20%;
  left: -5%;
  width: 40vw;
  max-width: 500px;
  opacity: 0.03;
}

.section > .container,
.section > .container-narrow {
  position: relative;
  z-index: 1;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-gris-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--sp-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-titre);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--c-blanc);
}
.brand-logo { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.brand-name { line-height: 1.1; }
.brand-name small {
  display: block;
  color: var(--c-jaune);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 2px;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-main ul {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-main a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-blanc);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--c-jaune);
}
.nav-main a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-jaune);
}

/* Submenu (dropdown) */
.nav-main .has-submenu {
  position: relative;
}
.nav-main .has-submenu > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-main .has-submenu > a .caret {
  transition: transform var(--t-fast);
  margin-top: 1px;
}
.nav-main .has-submenu:hover > a .caret,
.nav-main .has-submenu:focus-within > a .caret {
  transform: rotate(180deg);
}

.nav-main .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 260px;
  background: var(--c-noir);
  border: 1px solid var(--c-gris-line);
  border-radius: var(--r-md);
  padding: 10px;
  display: grid;
  gap: 2px;
  list-style: none;
  margin: 0;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: 50;
}
.nav-main .submenu::before {
  /* Invisible bridge so the dropdown doesn't close when the mouse traverses the 8px gap */
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav-main .has-submenu:hover > .submenu,
.nav-main .has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-main .submenu li { margin: 0; }
.nav-main .submenu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-gris-texte);
  border-radius: var(--r-sm);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-main .submenu a:hover {
  background: var(--c-jaune-soft);
  color: var(--c-jaune);
}
.nav-main .submenu a[aria-current="page"]::after {
  display: none;
}
.nav-main .submenu-divider {
  height: 1px;
  background: var(--c-gris-line);
  margin: 6px 4px;
}
.nav-main .submenu a strong {
  color: var(--c-blanc);
  font-weight: 600;
}
.nav-main .submenu a:hover strong {
  color: var(--c-jaune);
}

.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-blanc);
  padding-right: var(--sp-4);
  border-right: 1px solid var(--c-gris-line);
}
.nav-tel svg { width: 18px; height: 18px; color: var(--c-jaune); }
.nav-tel:hover { color: var(--c-jaune); }

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--c-blanc);
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--ff-titre);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--c-jaune);
  color: var(--c-noir);
  box-shadow: var(--sh-cta);
}
.btn--primary:hover {
  background: var(--c-jaune-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 50px rgba(249, 195, 0, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--c-jaune);
  border-color: var(--c-jaune);
}
.btn--ghost:hover {
  background: var(--c-jaune);
  color: var(--c-noir);
}

.btn--dark {
  background: var(--c-noir);
  color: var(--c-blanc);
  border-color: var(--c-gris-line);
}
.btn--dark:hover {
  border-color: var(--c-jaune);
  color: var(--c-jaune);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 15px;
}

.btn--sm {
  padding: 12px 20px;
  font-size: 12px;
}

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

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: clamp(60px, 12vw, 120px) 0 clamp(60px, 9vw, 100px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('../photos/clôture-bionique-01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.1) contrast(1.05);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg,
    rgba(15, 15, 15, 0.96) 0%,
    rgba(15, 15, 15, 0.78) 45%,
    rgba(15, 15, 15, 0.25) 100%);
}

.hero-decor {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero-decor--blob {
  top: -10%;
  right: -8%;
  width: 60vw;
  max-width: 700px;
  opacity: 0.1;
}
.hero-decor--lines {
  bottom: -8%;
  left: -4%;
  width: 40vw;
  max-width: 500px;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-5);
}
.hero h1 .accent {
  color: var(--c-jaune);
}

.hero .lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--c-gris-texte);
  margin-bottom: var(--sp-7);
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
}

/* ---------- 8. Trust strip ---------- */
.trust-strip {
  position: relative;
  background: var(--c-gris-fonce);
  border-top: 1px solid var(--c-gris-line);
  border-bottom: 1px solid var(--c-gris-line);
  padding: var(--sp-5) 0;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-5);
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-gris-texte);
  font-size: 14px;
  line-height: 1.3;
}
.trust-chip svg {
  width: 28px;
  height: 28px;
  color: var(--c-jaune);
  flex-shrink: 0;
}
.trust-chip strong {
  display: block;
  color: var(--c-blanc);
  font-size: 15px;
  margin-bottom: 2px;
}

/* ---------- 9. Section heading ---------- */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-8);
}
.section-head--left {
  text-align: left;
  margin-left: 0;
}

/* ---------- 10. Cards (Services) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.card {
  position: relative;
  background: var(--c-gris-fonce);
  border-top: 4px solid var(--c-jaune);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--c-jaune-soft);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--c-jaune);
}
.card-icon svg { width: 30px; height: 30px; }

.card h3 {
  margin-bottom: var(--sp-3);
  font-size: 22px;
}

.card p {
  color: var(--c-gris-texte);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: var(--sp-5);
}

.card-meta {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-gris-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.card-price {
  font-family: var(--ff-titre);
  font-weight: 700;
  font-size: 14px;
  color: var(--c-jaune);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-blanc);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--t-fast);
}
.card-link svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.card:hover .card-link { color: var(--c-jaune); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Stretched link — turns the whole card into a clickable area */
.card { position: relative; }
.card .card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--r-lg);
  pointer-events: auto;
}
/* Keep card cursor visually consistent */
.card:has(.card-link) { cursor: pointer; }
/* Any other interactive child must sit above the stretched overlay */
.card .card-link { position: relative; z-index: 2; }

/* Triple value cards (Solide / Propre / Délais) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.value-item {
  padding: var(--sp-5);
  border-left: 3px solid var(--c-jaune);
}
.value-item h3 {
  font-size: 22px;
  margin-bottom: var(--sp-3);
}
.value-item p {
  color: var(--c-gris-texte);
  margin: 0;
  font-size: 16px;
}
.value-item-icon {
  margin-bottom: var(--sp-4);
  color: var(--c-jaune);
}
.value-item-icon svg { width: 38px; height: 38px; }

/* ---------- 11. Process timeline ---------- */
.process {
  position: relative;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-4);
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.process-list::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(to right, var(--c-jaune), var(--c-jaune-soft));
  z-index: 0;
}
.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c-jaune);
  color: var(--c-noir);
  font-family: var(--ff-titre);
  font-weight: 800;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  border: 4px solid var(--c-noir);
}
.process-step h4 {
  font-size: 17px;
  margin-bottom: var(--sp-2);
}
.process-step p {
  font-size: 14px;
  color: var(--c-gris-texte);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .process-list {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .process-list::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom, var(--c-jaune), var(--c-jaune-soft));
  }
  .process-step {
    text-align: left;
    padding-left: 80px;
    position: relative;
  }
  .process-num {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
}

/* ---------- 12. Gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-7);
}
.gallery-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-gris-fonce);
  border: 1px solid var(--c-gris-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-gris-texte);
  transition: all var(--t-fast);
  cursor: pointer;
}
.gallery-chip:hover,
.gallery-chip.is-active {
  background: var(--c-jaune);
  color: var(--c-noir);
  border-color: var(--c-jaune);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-gris-fonce);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.25,.46,.45,.94);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,15,.92) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-4);
  opacity: 0;
  transition: opacity var(--t-base);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay-content {
  color: var(--c-blanc);
}
.gallery-item-overlay-content strong {
  display: block;
  font-family: var(--ff-titre);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 2px;
}
.gallery-item-overlay-content span {
  font-size: 13px;
  color: var(--c-gris-texte);
}

.gallery-cta {
  text-align: center;
  margin-top: var(--sp-7);
}

/* ---------- 12b. Before/After comparison slider ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-5);
}

.compare-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.compare-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 0 4px;
}
.compare-card-meta h4 {
  font-size: 18px;
  margin: 0;
}
.compare-card-meta span {
  font-size: 13px;
  color: var(--c-gris-moyen);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-slider {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-gris-fonce);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  border: 1px solid var(--c-gris-line);
  touch-action: none;
}
.compare-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-before { z-index: 1; }
.compare-after {
  z-index: 2;
  clip-path: inset(0 0 0 var(--pos));
  -webkit-clip-path: inset(0 0 0 var(--pos));
  transition: clip-path 100ms linear, -webkit-clip-path 100ms linear;
}
.compare-slider.is-dragging .compare-after {
  transition: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--c-jaune);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  transition: left 100ms linear;
}
.compare-slider.is-dragging .compare-handle {
  transition: none;
}
.compare-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  background: var(--c-jaune);
  border: 4px solid var(--c-noir);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.compare-handle::after {
  /* Two arrows centered on the handle, drawn with conic borders */
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 12px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(45deg, transparent 45%, var(--c-noir) 45% 55%, transparent 55%) center / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent 45%, var(--c-noir) 45% 55%, transparent 55%) center / 8px 8px no-repeat;
}

.compare-label {
  position: absolute;
  top: 16px;
  font-family: var(--ff-titre);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.compare-label--before {
  left: 16px;
  background: rgba(15, 15, 15, 0.7);
  color: var(--c-blanc);
  border: 1px solid var(--c-gris-line);
}
.compare-label--after {
  right: 16px;
  background: var(--c-jaune);
  color: var(--c-noir);
}

/* Focus state for keyboard a11y */
.compare-slider:focus-visible {
  outline: 3px solid var(--c-jaune);
  outline-offset: 4px;
}

/* ---------- 12c. Card with image variant ---------- */
.card-with-image {
  padding: 0;
  border-top: none;
  overflow: hidden;
}
.card-with-image .card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-noir);
}
.card-with-image .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.25,.46,.45,.94);
}
.card-with-image:hover .card-image img { transform: scale(1.05); }
.card-with-image .card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0) 30%, rgba(15,15,15,0.6) 100%);
  pointer-events: none;
}
.card-with-image .card-icon {
  position: absolute;
  bottom: 16px;
  left: 16px;
  width: 48px;
  height: 48px;
  background: var(--c-jaune);
  color: var(--c-noir);
  margin-bottom: 0;
  z-index: 2;
  border-radius: var(--r-sm);
}
.card-with-image .card-icon svg { width: 26px; height: 26px; }
.card-with-image .card-body {
  padding: var(--sp-5) var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-with-image .card-body h3 {
  margin-bottom: var(--sp-2);
}
.card-with-image .card-body p {
  flex: 1;
}

/* ---------- 12d. Photo showcase / mosaic ---------- */
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
  aspect-ratio: 16 / 7;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.photo-mosaic > * {
  position: relative;
  overflow: hidden;
  background: var(--c-gris-fonce);
}
.photo-mosaic > *:first-child {
  grid-row: span 2;
}
.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms;
}
.photo-mosaic > *:hover img { transform: scale(1.05); }
.photo-mosaic-label {
  position: absolute;
  bottom: 8px;
  left: 12px;
  background: rgba(15, 15, 15, 0.78);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  font-size: 12px;
  color: var(--c-blanc);
  font-weight: 600;
}
@media (max-width: 720px) {
  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    aspect-ratio: 1 / 1;
  }
  .photo-mosaic > *:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Image band — full-width photo strip between sections */
.photo-band {
  position: relative;
  height: clamp(220px, 32vw, 360px);
  overflow: hidden;
  background: var(--c-noir);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.1);
}
.photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,0.5) 0%, rgba(15,15,15,0.1) 50%, rgba(15,15,15,0.85) 100%);
}
.photo-band-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: var(--c-blanc);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.photo-band-caption strong {
  font-family: var(--ff-titre);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  display: block;
  max-width: 600px;
}
.photo-band-caption span {
  color: var(--c-jaune);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* ---------- 13. Reviews ---------- */
.reviews-head {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  justify-content: center;
  padding: var(--sp-5) var(--sp-6);
  background: var(--c-gris-fonce);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-7);
  border: 1px solid var(--c-gris-line);
}
.review-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-jaune);
}
.review-stars svg { width: 22px; height: 22px; }
.review-score {
  font-family: var(--ff-titre);
  font-size: 28px;
  font-weight: 800;
}
.review-count {
  color: var(--c-gris-texte);
  font-size: 14px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.review-card {
  background: var(--c-gris-fonce);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-gris-line);
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-jaune);
  color: var(--c-noir);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-titre);
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.review-name {
  font-family: var(--ff-titre);
  font-weight: 700;
  color: var(--c-blanc);
  font-size: 15px;
  line-height: 1.2;
}
.review-meta {
  font-size: 13px;
  color: var(--c-gris-moyen);
  margin-top: 2px;
}
.review-card .review-stars { margin-bottom: var(--sp-3); }
.review-card .review-stars svg { width: 16px; height: 16px; }
.review-text {
  color: var(--c-gris-texte);
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* ---------- 14. Zones (map + chips) ---------- */
.zones-wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (max-width: 880px) {
  .zones-wrap { grid-template-columns: 1fr; }
}

.zones-map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--c-gris-fonce);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-gris-line);
}
.zones-map svg { width: 100%; height: 100%; }

.zones-list h3 {
  font-size: 26px;
  margin-bottom: var(--sp-4);
}
.zones-list p {
  color: var(--c-gris-texte);
  margin-bottom: var(--sp-5);
}
.zones-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.zones-chip {
  padding: 10px 18px;
  background: var(--c-gris-fonce);
  border: 1px solid var(--c-gris-line);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-blanc);
  transition: all var(--t-fast);
}
.zones-chip:hover {
  border-color: var(--c-jaune);
  color: var(--c-jaune);
  transform: translateY(-2px);
}

/* ---------- 15. Prix table ---------- */
.prix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.prix-card {
  background: var(--c-gris-fonce);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6);
  border: 1px solid var(--c-gris-line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.prix-card.is-featured {
  border-color: var(--c-jaune);
  box-shadow: 0 10px 50px rgba(249, 195, 0, 0.08);
}
.prix-card-tag {
  position: absolute;
  top: -12px;
  left: var(--sp-6);
  background: var(--c-jaune);
  color: var(--c-noir);
  font-family: var(--ff-titre);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-sm);
}
.prix-card h3 {
  font-size: 22px;
  margin-bottom: var(--sp-2);
}
.prix-card .prix-card-sub {
  color: var(--c-gris-texte);
  font-size: 14px;
  margin-bottom: var(--sp-5);
}
.prix-amount {
  font-family: var(--ff-titre);
  margin-bottom: var(--sp-5);
}
.prix-amount em {
  font-style: normal;
  font-size: 13px;
  color: var(--c-gris-moyen);
  font-weight: 500;
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.prix-amount strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--c-jaune);
  line-height: 1;
}
.prix-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5);
}
.prix-features li {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--c-gris-line);
  font-size: 14px;
  color: var(--c-gris-texte);
}
.prix-features li:last-child { border-bottom: 1px solid var(--c-gris-line); }
.prix-features svg {
  width: 18px;
  height: 18px;
  color: var(--c-jaune);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 16. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-gris-fonce);
}
.about-img::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--c-jaune);
  z-index: -1;
  border-radius: var(--r-lg);
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-gris-line);
}
.about-stat {
  text-align: center;
}
.about-stat strong {
  display: block;
  font-family: var(--ff-titre);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--c-jaune);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.about-stat span {
  color: var(--c-gris-texte);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- 17. FAQ accordion ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: var(--sp-3);
}
.faq-item {
  background: var(--c-gris-fonce);
  border: 1px solid var(--c-gris-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item.is-open {
  border-color: var(--c-jaune);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-family: var(--ff-titre);
  font-weight: 600;
  font-size: 17px;
  color: var(--c-blanc);
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--c-jaune); }
.faq-q svg {
  width: 22px;
  height: 22px;
  color: var(--c-jaune);
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-base);
}
.faq-item.is-open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--c-gris-texte);
  font-size: 16px;
  line-height: 1.65;
}

/* ---------- 18. Formulaire de soumission ---------- */
.form-section {
  position: relative;
}
.form-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  background: var(--c-gris-fonce);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--c-gris-line);
  box-shadow: var(--sh-card);
}

.form-progress {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
.form-progress-bar {
  flex: 1;
  height: 4px;
  background: var(--c-gris-line);
  border-radius: 2px;
  overflow: hidden;
}
.form-progress-bar-fill {
  height: 100%;
  width: 50%;
  background: var(--c-jaune);
  transition: width var(--t-base);
}
.form-progress-step {
  font-size: 13px;
  color: var(--c-gris-moyen);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form-step {
  display: none;
}
.form-step.is-active {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.form-field {
  position: relative;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--c-gris-texte);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-field label .req {
  color: var(--c-jaune);
  margin-left: 3px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--c-noir);
  border: 1px solid var(--c-gris-line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: var(--c-blanc);
  font-size: 15px;
  transition: border-color var(--t-fast);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--c-jaune);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}

.form-error {
  display: none;
  margin-top: var(--sp-2);
  font-size: 13px;
  color: var(--c-alerte);
}
.form-field.is-error input,
.form-field.is-error textarea,
.form-field.is-error select {
  border-color: var(--c-alerte);
}
.form-field.is-error .form-error {
  display: block;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  margin-top: var(--sp-6);
}

.form-reassure {
  text-align: center;
  color: var(--c-gris-moyen);
  font-size: 13px;
  margin-top: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.form-reassure span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.form-reassure svg {
  width: 14px;
  height: 14px;
  color: var(--c-succes);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-5) 0;
}
.form-success.is-visible { display: block; }
.form-success svg {
  width: 64px;
  height: 64px;
  color: var(--c-succes);
  margin: 0 auto var(--sp-5);
}
.form-success h3 {
  font-size: 28px;
  margin-bottom: var(--sp-4);
}
.form-success p {
  color: var(--c-gris-texte);
  max-width: 480px;
  margin: 0 auto;
}

/* Cards type radio for fence type selection */
.radio-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-3);
  background: var(--c-noir);
  border: 1px solid var(--c-gris-line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
}
.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-card svg {
  width: 32px;
  height: 32px;
  color: var(--c-gris-moyen);
  transition: color var(--t-fast);
}
.radio-card span {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-gris-texte);
}
.radio-card:hover { border-color: var(--c-jaune); }
.radio-card:hover svg { color: var(--c-jaune); }
.radio-card.is-selected,
.radio-card input:checked + svg + span,
.radio-card:has(input:checked) {
  border-color: var(--c-jaune);
  background: var(--c-jaune-soft);
}
.radio-card:has(input:checked) svg { color: var(--c-jaune); }
.radio-card:has(input:checked) span { color: var(--c-blanc); }

/* ---------- 19. CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--c-jaune);
  padding: clamp(40px, 6vw, 80px) 0;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner-decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.08;
  pointer-events: none;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}
.cta-banner h2 {
  color: var(--c-noir);
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  max-width: 700px;
}
.cta-banner p {
  color: rgba(15,15,15,0.75);
  margin: var(--sp-3) 0 0;
  font-size: 16px;
}

/* ---------- 20. Footer ---------- */
.site-footer {
  background: var(--c-noir);
  border-top: 1px solid var(--c-gris-line);
  padding: var(--sp-9) 0 var(--sp-5);
  position: relative;
  overflow: hidden;
}
.footer-decor {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 50vw;
  max-width: 600px;
  opacity: 0.03;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-8);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: var(--c-gris-texte);
  font-size: 15px;
  margin: var(--sp-4) 0 var(--sp-5);
  max-width: 320px;
}
.footer-coord {
  display: grid;
  gap: var(--sp-3);
}
.footer-coord a,
.footer-coord span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-blanc);
  font-size: 14px;
}
.footer-coord svg {
  width: 18px;
  height: 18px;
  color: var(--c-jaune);
  flex-shrink: 0;
}
.footer-coord a:hover { color: var(--c-jaune); }

.footer-col h5 {
  font-family: var(--ff-titre);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-jaune);
  margin-bottom: var(--sp-4);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-3);
}
.footer-col li a {
  color: var(--c-gris-texte);
  font-size: 14px;
  transition: color var(--t-fast);
}
.footer-col li a:hover { color: var(--c-jaune); }

.footer-bottom {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-gris-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  color: var(--c-gris-moyen);
  font-size: 13px;
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  gap: var(--sp-5);
  padding: 0;
  margin: 0;
}
.footer-bottom a:hover { color: var(--c-jaune); }
.footer-social {
  display: flex;
  gap: var(--sp-3);
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--c-gris-line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blanc);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  border-color: var(--c-jaune);
  color: var(--c-jaune);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }

/* ---------- 21. Page hero (interior) ---------- */
.page-hero {
  --hero-img: url('../photos/clôture-bionique-01.jpg');
  --hero-focal: center right;
  position: relative;
  padding: clamp(80px, 11vw, 160px) 0 clamp(60px, 8vw, 110px);
  background: var(--c-noir);
  border-bottom: 1px solid var(--c-gris-line);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(360px, 50vw, 540px);
  display: flex;
  align-items: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-focal);
  background-repeat: no-repeat;
  z-index: -2;
  filter: grayscale(0.12) contrast(1.05) brightness(0.95);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(95deg,
      var(--c-noir) 0%,
      rgba(15, 15, 15, 0.95) 30%,
      rgba(15, 15, 15, 0.65) 60%,
      rgba(15, 15, 15, 0.25) 100%),
    linear-gradient(180deg,
      rgba(15, 15, 15, 0.4) 0%,
      transparent 30%,
      transparent 70%,
      rgba(15, 15, 15, 0.6) 100%);
}
.page-hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.page-hero h1 {
  font-size: clamp(32px, 4.8vw, 60px);
  max-width: 820px;
}
.page-hero .lead {
  max-width: 640px;
  margin-top: var(--sp-4);
}

/* Variant: hero with no photo (legal pages, etc.) */
.page-hero--plain {
  --hero-img: none;
  min-height: auto;
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
}
.page-hero--plain::before { display: none; }
.page-hero--plain::after {
  background: linear-gradient(180deg, var(--c-gris-fonce) 0%, var(--c-noir) 100%);
}

.page-hero .section-bg-blob,
.page-hero .section-bg-grid,
.page-hero .section-bg-lines,
.page-hero .section-bg-circle {
  display: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  font-size: 13px;
  color: var(--c-gris-moyen);
  margin-bottom: var(--sp-5);
}
.breadcrumbs a { color: var(--c-gris-texte); }
.breadcrumbs a:hover { color: var(--c-jaune); }
.breadcrumbs svg { width: 14px; height: 14px; color: var(--c-gris-moyen); }

/* ---------- 22. Article / Long-form content ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2 {
  margin-top: var(--sp-8);
  padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--c-jaune);
  display: inline-block;
}
.prose h3 {
  margin-top: var(--sp-6);
  font-size: 24px;
}
.prose p { color: var(--c-gris-texte); font-size: 17px; }
.prose ul li, .prose ol li {
  color: var(--c-gris-texte);
  font-size: 17px;
}
.prose strong { color: var(--c-blanc); }
.prose a { color: var(--c-jaune); border-bottom: 1px solid currentColor; }
.prose blockquote {
  border-left: 3px solid var(--c-jaune);
  padding: var(--sp-3) var(--sp-5);
  margin: var(--sp-5) 0;
  background: var(--c-gris-fonce);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  color: var(--c-gris-texte);
}

/* ---------- 23. Two-col content block ---------- */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.cols-2--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .cols-2 { grid-template-columns: 1fr; }
  .cols-2--reverse > :first-child { order: 0; }
}
.cols-2 img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* ---------- 24. Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-noir);
  display: none;
  flex-direction: column;
  padding: var(--sp-5) var(--sp-5) var(--sp-7);
}
.mobile-nav.is-open { display: flex; }

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  margin-bottom: var(--sp-6);
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-7);
  display: grid;
  gap: var(--sp-4);
}
.mobile-nav ul a {
  font-family: var(--ff-titre);
  font-weight: 600;
  font-size: 24px;
  color: var(--c-blanc);
  display: block;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-gris-line);
}
.mobile-nav-ctas {
  display: grid;
  gap: var(--sp-3);
  margin-top: auto;
}

@media (max-width: 880px) {
  .nav-main ul,
  .nav-tel { display: none; }
  .mobile-toggle { display: inline-flex; }
}

/* ---------- 24b. Service variations (unique blocks per product) ---------- */

/* Swatches — color picker grid (composite, ornementale, etc.) */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-3);
}
.swatch {
  background: var(--c-gris-fonce);
  border: 1px solid var(--c-gris-line);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  text-align: center;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.swatch:hover {
  border-color: var(--c-jaune);
  transform: translateY(-3px);
}
.swatch-color {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-3);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--swatch-c, #555) 0%, var(--swatch-c2, #333) 100%);
}
.swatch-color::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent 0,
      transparent 6px,
      rgba(0,0,0,0.08) 6px,
      rgba(0,0,0,0.08) 7px);
}
.swatch-name {
  font-family: var(--ff-titre);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-blanc);
  display: block;
  margin-bottom: 2px;
}
.swatch-sub {
  font-size: 11px;
  color: var(--c-gris-moyen);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Highlight callout — single-feature focal box */
.highlight-callout {
  position: relative;
  background: linear-gradient(135deg, rgba(249, 195, 0, 0.06) 0%, rgba(249, 195, 0, 0) 100%);
  border: 1px solid rgba(249, 195, 0, 0.18);
  border-left: 4px solid var(--c-jaune);
  border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--sp-5);
  align-items: center;
}
.highlight-callout-icon {
  width: 64px;
  height: 64px;
  background: var(--c-jaune);
  color: var(--c-noir);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-callout-icon svg { width: 32px; height: 32px; }
.highlight-callout h3 {
  margin-bottom: var(--sp-2);
  font-size: 22px;
}
.highlight-callout p {
  margin: 0;
  color: var(--c-gris-texte);
}
@media (max-width: 720px) {
  .highlight-callout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .highlight-callout-icon { margin: 0 auto; }
}

/* Heights diagram — vertical scale showing fence heights */
.heights-scale {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-3);
  align-items: end;
}
.heights-bar {
  position: relative;
  background: var(--c-gris-fonce);
  border: 1px solid var(--c-gris-line);
  border-radius: var(--r-md) var(--r-md) 0 0;
  padding: var(--sp-4);
  text-align: center;
  border-bottom: 4px solid var(--c-jaune);
  transition: background var(--t-fast);
}
.heights-bar:hover { background: rgba(249, 195, 0, 0.06); }
.heights-bar-visual {
  width: 100%;
  background:
    linear-gradient(180deg, var(--c-jaune) 0%, var(--c-jaune-hover) 100%);
  border-radius: 2px 2px 0 0;
  margin-bottom: var(--sp-3);
  position: relative;
  background-image:
    repeating-linear-gradient(0deg,
      transparent 0,
      transparent 14px,
      rgba(0,0,0,0.25) 14px,
      rgba(0,0,0,0.25) 16px);
}
.heights-bar h4 {
  font-size: 28px;
  margin-bottom: 4px;
  color: var(--c-jaune);
}
.heights-bar p {
  font-size: 13px;
  color: var(--c-gris-texte);
  margin: 0;
}

/* Sectors grid — commercial use cases */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}
.sector-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--c-gris-fonce);
}
.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.65);
  transition: filter var(--t-base), transform var(--t-base);
}
.sector-card:hover img {
  filter: grayscale(0) brightness(0.85);
  transform: scale(1.05);
}
.sector-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-5);
  z-index: 2;
}
.sector-card-content h4 {
  color: var(--c-blanc);
  font-size: 20px;
  margin-bottom: 6px;
}
.sector-card-content p {
  color: var(--c-jaune);
  font-size: 13px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Style guide / specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-gris-fonce);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-gris-line);
}
.specs-table th,
.specs-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--c-gris-line);
}
.specs-table th {
  background: var(--c-noir);
  font-family: var(--ff-titre);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-jaune);
}
.specs-table td:first-child {
  color: var(--c-blanc);
  font-weight: 600;
  width: 38%;
}
.specs-table td:last-child {
  color: var(--c-gris-texte);
}
.specs-table tr:last-child td { border-bottom: 0; }

/* ---------- 25. Utility ---------- */
.text-center { text-align: center; }
.text-jaune { color: var(--c-jaune); }
.text-muted { color: var(--c-gris-texte); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-5 { margin-bottom: var(--sp-5); }
.mb-7 { margin-bottom: var(--sp-7); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Animation on enter */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 26. Responsive tweaks ---------- */
@media (max-width: 540px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .container { padding: 0 18px; }
  .form-card { padding: 24px 18px; }
}

/* Print-friendly */
@media print {
  .site-header, .site-footer, .cta-banner, .form-section { display: none !important; }
}
