/* ============================================
   REAL CONCEPT — STYLE.CSS · VERSION 4
   Architecture & Rénovation Haut de Gamme
   v4 : polices locales, icônes SVG, correctifs
   d'affichage images/menu/slider, accessibilité
   ============================================ */

/* ============ POLICES AUTO-HÉBERGÉES ============ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Palette premium */
  --black: #0a0a0a;
  --ink: #141414;
  --charcoal: #1f1f1f;
  --graphite: #2a2a2a;
  --grey: #66625c; /* v4 : assombri pour contraste AA (était #8a8a8a) */
  --grey-soft: #c4c0b8;
  --light-grey: #e8e6e1;
  --beige: #d9cdb8;
  --beige-soft: #f1ece2;
  --beige-warm: #ebe3d3;
  --wood: #b08968;
  --wood-light: #c9a37e;
  --wood-dark: #7f5539;
  --white: #ffffff;
  --off-white: #fafaf7;
  --cream: #f7f3ec;

  /* Couleurs IA */
  --ai-bg: #08080a;
  --ai-accent: #b08968;

  /* Typo */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Easing & timing */
  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);

  /* Layout */
  --radius: 4px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 1320px;
  --pad: clamp(20px, 5vw, 80px);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 40px 100px rgba(0, 0, 0, 0.25);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open,
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }
figure, blockquote { margin: 0; }

/* Icônes SVG (sprite inline — remplace Lucide CDN) */
.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Images : état de chargement + fallback élégant (jamais d'icône cassée) */
img[data-fallback] { background: linear-gradient(135deg, var(--beige-warm), var(--beige)); }
img.img-failed {
  opacity: 0;
}
.img-failed-wrap {
  background-color: var(--wood-dark) !important;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 60%),
    linear-gradient(135deg, var(--wood-dark) 0%, var(--wood) 50%, var(--beige) 100%) !important;
}

/* Accessibilité */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 14px;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============ TYPO PREMIUM ============ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

em {
  font-style: italic;
  color: var(--wood);
  font-weight: 400;
}

.eyebrow,
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 28px;
}

.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  margin-bottom: 16px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 80px;
}

/* ============ LOADER PREMIUM ============ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s var(--ease), visibility 0.9s var(--ease);
}

.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) .loader { display: none; }

.loader-inner {
  text-align: center;
  animation: fadeInLoader 0.8s var(--ease-out);
}

@keyframes fadeInLoader {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.loader-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--white);
  font-size: 14px;
  display: block;
}

.loader-logo span { color: var(--beige); margin-left: 6px; font-weight: 300; }

.loader-tagline {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--grey);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

.loader-bar {
  width: 240px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 32px auto 0;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wood), var(--beige));
  animation: load 0.9s var(--ease-out) forwards;
}

@keyframes load { to { width: 100%; } }

/* ============ CURSEUR ============ */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  display: none;
  mix-blend-mode: difference; /* v4 : visible sur fonds clairs ET sombres */
  will-change: transform;
}

html.has-cursor .cursor,
html.has-cursor .cursor-follower { display: block; }

.cursor {
  margin: -4px 0 0 -4px;
  width: 8px;
  height: 8px;
  background: var(--white);
}

.cursor-follower {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid var(--white);
  transition: scale 0.3s var(--ease-out), background 0.3s;
}

.cursor-follower.hover {
  scale: 1.65;
  background: rgba(255, 255, 255, 0.08);
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  padding-top: max(22px, env(safe-area-inset-top));
  transition: padding 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 16px;
  color: var(--ink);
}

.logo span { color: var(--wood); margin-left: 4px; font-weight: 300; }

/* (liens de navigation : voir section NAVIGATION v5 en fin de fichier) */
.navbar:not(.scrolled) .logo { color: var(--white); }
.navbar:not(.scrolled) .logo span { color: var(--beige); }



.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;   /* zone tactile 44px (accessibilité mobile) */
  height: 44px;
  padding: 0 8px;
  margin-right: -8px;
  position: relative;
  z-index: 102;  /* v4 : reste cliquable au-dessus du menu ouvert */
}

.burger span {
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s;
}

.navbar:not(.scrolled) .burger span,
.burger.active span { background: var(--white); }

.burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* v4 : backdrop-filter crée un "containing block" qui écrasait le menu mobile
   (position:fixed) à la hauteur de la barre. On le retire quand le menu est ouvert. */
.navbar.menu-open,
.navbar.menu-open.scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
  border-bottom-color: transparent;
}
.navbar.menu-open .logo { color: var(--white); position: relative; z-index: 102; }
.navbar.menu-open .logo span { color: var(--beige); }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 100px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  justify-content: center;
}

.btn[disabled] { cursor: wait; opacity: 0.7; }
.btn.is-success { background: var(--wood) !important; }


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

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s var(--ease);
}

.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
  background: var(--wood);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(176, 137, 104, 0.4);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

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

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

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

/* ============ HERO CINEMATIC ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* v4 : corrige la hauteur sur mobile (barre d'adresse iOS/Android) */
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  padding-top: 90px; /* v4 : le texte ne passe plus sous la navbar */
  padding-bottom: 60px;
}

/* v4 : la parallaxe est appliquée au conteneur (avant : sur l'image,
   où l'animation CSS "forwards" l'écrasait → parallaxe inopérante) */
.hero-bg { position: absolute; inset: 0; z-index: 0; will-change: transform; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease-out) forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.3) 45%, rgba(10,10,10,0.8) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(10, 10, 10, 0.5) 100%);
  pointer-events: none;
}

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

.hero-eyebrow { color: var(--beige); }

.hero-title {
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  margin-bottom: 32px;
  line-height: 0.98;
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

.hero-meta {
  display: flex;
  gap: 60px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta strong {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--beige);
  letter-spacing: -0.02em;
}

.hero-meta span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@media (max-height: 1000px), (max-width: 768px) { .hero-scroll { display: none; } }

.hero-scroll span {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============ TRUST BAND ============ */
.trust-band {
  background: var(--ink);
  color: var(--white);
  padding: 32px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

/* ============ SECTIONS GÉNÉRIQUES ============ */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

/* ============ SERVICES ============ */
.services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* v4 : 8 cartes = 2 lignes pleines (avant : 3+3+2) */
  gap: 24px;
}
@media (max-width: 1240px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  display: block;
  background: var(--white);
  padding: 44px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 1s var(--ease-out);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--graphite) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease);
}

.service-card .icon {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--wood);
  margin-bottom: 28px;
  transition: transform 0.5s var(--ease), color 0.4s;
}

.service-card h3 { font-size: 1.55rem; margin-bottom: 14px; }
.service-card p { font-size: 0.95rem; color: var(--grey); margin-bottom: 30px; }

.card-arrow {
  font-size: 1.4rem;
  color: var(--wood);
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card:hover h3 { color: var(--white); }
.service-card:hover p { color: rgba(255, 255, 255, 0.7); }
.service-card:hover .icon { color: var(--beige); transform: scale(1.15) rotate(-8deg); }
.service-card:hover .card-arrow { color: var(--beige); transform: translateX(8px); }

/* Carte MaPrimeAdapt' */
.service-card.highlight {
  background: linear-gradient(135deg, var(--beige-soft) 0%, var(--cream) 100%);
  border: 1px solid var(--beige);
}

.service-card .badge {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--wood);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  z-index: 2;
}

.service-card .badge + .icon { margin-top: 6px; }
.service-card.highlight:hover .badge { background: var(--beige); color: var(--ink); }

/* Carte IA dans services */
.service-card.ai-service {
  background: linear-gradient(135deg, var(--ink) 0%, var(--graphite) 100%);
  border: 1px solid rgba(176, 137, 104, 0.3);
  color: var(--white);
}

.service-card.ai-service::before {
  background: linear-gradient(135deg, var(--wood) 0%, var(--wood-dark) 100%);
}

.service-card.ai-service .icon { color: var(--beige); }
.service-card.ai-service h3 { color: var(--white); }
.service-card.ai-service p { color: rgba(255, 255, 255, 0.7); }
.service-card.ai-service .card-arrow { color: var(--beige); }

.service-card.ai-service:hover .icon { color: var(--white); }
.service-card.ai-service:hover h3 { color: var(--white); }
.service-card.ai-service:hover .card-arrow { color: var(--white); }

.badge-ai {
  background: linear-gradient(135deg, var(--wood), var(--beige)) !important;
  color: var(--ink) !important;
}

/* ============ PROJETS ============ */
.projects { background: var(--ink); color: var(--white); }
.projects .eyebrow { color: var(--beige); }
.projects .section-title em { color: var(--beige); }

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.filter {
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s var(--ease);
}

.filter:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }

.filter.active {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  grid-auto-flow: dense; /* v4 : plus de trous dans la grille quand on filtre */
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  display: block;
  background: var(--charcoal);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.project-card.is-filtered-in { animation: fadeInUp 0.6s var(--ease-out) both; }

.project-card.tall { grid-row: span 2; }
@media (min-width: 1025px) { .project-card.wide { grid-column: span 2; } }

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-soft);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.9) 100%);
  opacity: 0.75;
  transition: opacity 0.4s var(--ease);
}

.project-card:hover img { transform: scale(1.1); }
.project-card:hover::after { opacity: 1; }

.project-info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  z-index: 2;
  transform: translateY(10px);
  transition: transform 0.5s var(--ease);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.project-card:hover .project-info { transform: translateY(0); }

.project-info .project-cat {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 10px;
  font-weight: 500;
}

.project-info h3 { font-size: 1.45rem; color: var(--white); font-weight: 500; }
.project-info .project-cat { display: block; }

.project-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s var(--ease);
}

.project-card:hover .project-arrow {
  background: var(--wood);
  border-color: var(--wood);
  transform: translateX(4px) scale(1.05);
}

.project-card.hidden { display: none; }

/* ============ MODAL PROJET ============ */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
  padding: 20px;
}

.project-modal.active { opacity: 1; visibility: visible; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transform: translateY(40px) scale(0.95);
  opacity: 0;
  transition: all 0.6s var(--ease-out);
  box-shadow: var(--shadow-xl);
}

.project-modal.active .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.85);
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s var(--ease);
}

.modal-close:hover { background: var(--wood); transform: rotate(90deg); }

.modal-image {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: var(--beige-warm);
}

.modal-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body { padding: 64px 52px; }
.modal-body h2 { font-size: 2.3rem; margin-bottom: 22px; line-height: 1.1; }
.modal-body p { color: var(--grey); margin-bottom: 36px; font-size: 1rem; line-height: 1.7; }

.modal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-details li { display: flex; flex-direction: column; gap: 4px; }

.modal-details strong {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood);
  font-weight: 600;
}

.modal-details span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
}

/* ============ SECTION PMR ============ */
.pmr {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--beige-warm) 100%);
}

.pmr-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.pmr-intro {
  color: var(--grey);
  font-size: 1.05rem;
  margin-top: 22px;
  line-height: 1.75;
}

.pmr-intro strong { color: var(--wood); font-weight: 600; }

/* Slider Avant / Après */
.before-after { margin-bottom: 90px; }

.before-after-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 36px;
  color: var(--ink);
}

.ba-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y; /* v4 : le scroll vertical reste possible sur mobile */
  background: var(--beige-warm);
  --pos: 50%;
}

/* v4 : les deux images ont exactement la même taille et l'image "avant"
   est découpée avec clip-path → plus de décalage (avant : largeur 100vw
   qui désalignait les photos sur tablette/mobile). */
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-range {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ba-slider:has(.ba-range:focus-visible) .ba-handle-circle {
  outline: 3px solid var(--wood);
  outline-offset: 3px;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 4px;
  background: var(--white);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  pointer-events: none;
  transition: scale 0.3s var(--ease);
  animation: pulse 2.5s ease-in-out infinite;
}

.ba-slider:hover .ba-handle-circle { scale: 1.12; }
.ba-slider.is-dragging .ba-handle-circle { animation: none; }
.ba-slider.is-animating .ba-before { transition: clip-path 0.7s var(--ease-out); }
.ba-slider.is-animating .ba-handle { transition: left 0.7s var(--ease-out); }

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ba-label {
  position: absolute;
  top: 26px;
  padding: 9px 20px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
}

.ba-label-before { left: 26px; }
.ba-label-after { right: 26px; }

/* Galerie PMR */
.pmr-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 80px;
}

.pmr-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  background: var(--beige);
}

.pmr-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-soft);
}

.pmr-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.pmr-img:hover img { transform: scale(1.1); }
.pmr-img:hover::after { opacity: 1; }

.pmr-img-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
}

.pmr-img:hover .pmr-img-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Bénéfices PMR */
.pmr-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}

.benefit {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease);
}

.benefit:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.benefit .icon {
  width: 34px;
  height: 34px;
  color: var(--wood);
  margin-bottom: 22px;
}

.benefit h3 { font-size: 1.25rem; margin-bottom: 12px; }
.benefit p { font-size: 0.9rem; color: var(--grey); line-height: 1.6; }

.pmr-cta { text-align: center; }

/* ============ SECTION IA ============ */
.ai {
  background: var(--ai-bg);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.ai-glow {
  position: absolute;
  top: -250px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(176, 137, 104, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.ai::before {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 205, 184, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

/* Grille de fond futuriste */
.ai-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(176, 137, 104, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176, 137, 104, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.ai .container { position: relative; z-index: 2; }
.ai .eyebrow { color: var(--beige); }
.ai .section-title em { color: var(--beige); }

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.ai-text p {
  color: rgba(255, 255, 255, 0.7);
  margin: 22px 0 38px;
  max-width: 480px;
  font-size: 1.02rem;
  line-height: 1.75;
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ai-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.ai-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wood), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.ai-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(176, 137, 104, 0.4);
  transform: translateY(-8px);
}

.ai-card:hover::before { opacity: 1; }

.ai-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(176, 137, 104, 0.25), rgba(217, 205, 184, 0.1));
  border: 1px solid rgba(176, 137, 104, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ai-icon .icon { width: 22px; height: 22px; color: var(--beige); }

.ai-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--white); }
.ai-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); line-height: 1.65; }

/* ============ APPROCHE ============ */
.approach { background: var(--beige-soft); }

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.approach-text p {
  color: var(--grey);
  max-width: 420px;
  margin-top: 24px;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--wood), transparent);
}

.timeline li {
  position: relative;
  padding-bottom: 44px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 8px;
  width: 9px;
  height: 9px;
  background: var(--wood);
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--beige-soft), 0 0 0 7px var(--wood);
}

.timeline .step {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--wood);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}

.timeline h3 { font-size: 1.5rem; margin-bottom: 8px; }
.timeline p { color: var(--grey); font-size: 0.95rem; }

/* ============ CHIFFRES ============ */
.stats {
  background: var(--ink);
  color: var(--white);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--wood), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--beige);
  margin-bottom: 12px;
  font-weight: 400;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

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

.testimonials-carousel { position: relative; }
.testimonial-viewport { overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform 0.8s var(--ease);
}

.testimonial {
  flex: 0 0 100%;
  padding: 70px clamp(20px, 6vw, 80px);
  text-align: center;
  position: relative;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 0.8;
  color: var(--wood);
  opacity: 0.2;
  margin-bottom: 20px;
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  max-width: 850px;
  margin: 0 auto 36px;
}

.testimonial figcaption { display: flex; flex-direction: column; gap: 4px; }
.testimonial strong { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; }

.testimonial span {
  font-size: 11px;
  color: var(--grey);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.carousel-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 1.2rem;
  transition: all 0.3s var(--ease);
  background: var(--white);
}

.carousel-controls button:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.carousel-dots .dot::after { content: ''; position: absolute; inset: -10px; } /* zone tactile */
.carousel-dots .dot.active {
  background: var(--wood);
  width: 28px;
  border-radius: 100px;
}

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--ink);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(176, 137, 104, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
}

.cta-content em { color: var(--beige); }

/* ============ CONTACT ============ */
.contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  color: var(--grey);
  margin: 16px 0 36px;
  max-width: 420px;
}

.contact-list { display: flex; flex-direction: column; gap: 18px; }

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}
.contact-list a { border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.contact-list a:hover { color: var(--wood); border-bottom-color: var(--wood); }

.contact-list .icon { width: 18px; height: 18px; color: var(--wood); flex-shrink: 0; }

/* Formulaire */
.contact-form {
  background: var(--white);
  padding: 52px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 26px;
  box-shadow: var(--shadow-sm);
}

.field { position: relative; }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 18px 0 8px;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  resize: none;
  transition: border-color 0.3s var(--ease);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b08968' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px 8px;
  padding-right: 24px;
}

.field label {
  position: absolute;
  top: 18px;
  left: 0;
  font-size: 0.95rem;
  color: var(--grey);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--wood); }

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label,
.field.has-value label {
  top: -4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 90px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo { color: var(--white); display: inline-block; margin-bottom: 22px; font-size: 18px; }
.footer p { line-height: 1.7; margin-bottom: 24px; }

.footer .footer-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}

.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer ul a, .footer ul li { font-size: 14px; transition: color 0.3s; line-height: 1.6; }
.footer ul a:hover { color: var(--beige); }

.socials {
  flex-direction: row !important;
  gap: 12px !important;
}

.socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}

.socials a:hover {
  background: var(--wood);
  border-color: var(--wood);
  color: var(--white);
  transform: translateY(-2px);
}

.socials .icon { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--ink);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--wood);
  transform: translateY(-4px);
}

/* ============ ANIMATIONS REVEAL ============ */
/* v4 : uniquement si JS actif → contenu toujours visible pour Google et sans JS */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.js [data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FAQ ============ */
.faq { background: var(--off-white); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.faq-intro { color: var(--grey); margin-top: 20px; }
.faq-intro a { color: var(--wood); border-bottom: 1px solid currentColor; }

.faq-list { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.faq-item { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before,
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--wood);
  transition: transform 0.35s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }
.faq-item summary:hover { color: var(--wood); }
.faq-item p {
  color: var(--grey);
  padding: 0 48px 28px 0;
  line-height: 1.75;
  max-width: 640px;
}
.faq-item p strong { color: var(--ink); }

/* ============ FORMULAIRE (v4) ============ */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select { border-bottom-color: #b3261e; }
.field-error {
  display: block;
  font-size: 12px;
  color: #b3261e;
  margin-top: 6px;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--wood);
  cursor: pointer;
}
.consent a { color: var(--wood); text-decoration: underline; text-underline-offset: 2px; }
.consent.is-invalid span { color: #b3261e; }

.form-status { font-size: 0.92rem; min-height: 1.4em; text-align: center; }
.form-status.is-success { color: #2e7d32; }
.form-status.is-error { color: #b3261e; }

/* ============ FOOTER (v4) ============ */
.footer-bottom a { transition: color 0.3s; }
.footer-bottom a:hover { color: var(--beige); }

/* ============ PAGES LÉGALES / 404 ============ */
.page-simple {
  padding: 160px 0 100px;
  min-height: 70vh;
}
.page-simple .container { max-width: 860px; }
.page-simple h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 40px; }
.page-simple h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.page-simple p, .page-simple li { color: var(--graphite); margin-bottom: 12px; line-height: 1.75; }
.page-simple ul { list-style: disc; padding-left: 22px; }
.page-simple a { color: var(--wood); text-decoration: underline; text-underline-offset: 2px; }
.page-simple .todo { background: #fff4d6; padding: 0 4px; border-radius: 3px; }
.page-404 { text-align: center; display: flex; align-items: center; }
.page-404 h1 em { display: block; }
.page-404 .btn { margin-top: 24px; text-decoration: none; color: var(--white); }

/* ============ APPAREILS TACTILES ============ */
@media (hover: none) {
  .pmr-img::after { opacity: 1; }
  .pmr-img-caption { opacity: 1; transform: none; }
  .project-info { transform: none; }
}

/* ============ MOUVEMENT RÉDUIT ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-bg img { transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .approach-grid,
  .contact-grid,
  .ai-grid,
  .faq-grid { grid-template-columns: 1fr; gap: 60px; }
  .faq .section-head { position: static; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pmr-gallery { grid-template-columns: repeat(2, 1fr); }
  .pmr-benefits { grid-template-columns: repeat(2, 1fr); }

  .modal-content { grid-template-columns: 1fr; max-height: 92vh; max-height: 92dvh; }
  .modal-image { min-height: 280px; }
  .modal-body { padding: 44px 36px; }

  .hero-meta { gap: 40px; }
  .hero-meta strong { font-size: 1.8rem; }
}

@media (max-width: 768px) {

  .hero { min-height: 620px; }
  .hero-cta { flex-direction: column; align-items: flex-start; width: 100%; margin-bottom: 50px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 28px; flex-wrap: wrap; }
  .field-row { grid-template-columns: 1fr; }
  .faq-item summary { padding-right: 40px; }
  .faq-item p { padding-right: 0; }
  .hero-meta strong { font-size: 1.5rem; }

  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 340px; }
  .project-card.tall { grid-row: span 1; }

  .ai-features { grid-template-columns: 1fr; }
  .pmr-benefits { grid-template-columns: 1fr; gap: 16px; }

  .ba-slider { aspect-ratio: 4/5; }
  .ba-handle-circle { width: 50px; height: 50px; font-size: 1.3rem; }
  .ba-label { font-size: 10px; padding: 6px 14px; top: 16px; }
  .ba-label-before { left: 16px; }
  .ba-label-after { right: 16px; }

  .modal-body { padding: 36px 26px; }
  .modal-body h2 { font-size: 1.7rem; }
  .modal-image { min-height: 0; aspect-ratio: 4/3; }
  .modal-close { top: 14px; right: 14px; }
  .modal-details { grid-template-columns: 1fr; gap: 16px; }

  .contact-form { padding: 36px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .scroll-top { width: 44px; height: 44px; bottom: 20px; right: 20px; }
  .quote-mark { font-size: 5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-head { margin-bottom: 50px; }
  .pmr-gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pmr-img-caption { font-size: 11px; left: 12px; right: 12px; bottom: 12px; }
  .hero-meta { width: 100%; }
  .hero-meta li { flex: 1 1 calc(50% - 14px); }
  .btn { padding: 16px 28px; }
  .contact-list li { align-items: flex-start; word-break: break-word; }
}

/* ============ SELECTION ============ */
::selection {
  background: var(--wood);
  color: var(--white);
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--wood); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--wood-dark); }
/* =====================================================================
   v5 — SITE MULTI-PAGES
   ===================================================================== */

/* ============ NAVIGATION ============ */
.nav-links { display: flex; align-items: center; gap: 30px; }

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  color: var(--ink);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--wood);
  transition: width 0.4s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-link.is-active::after { width: 100%; }
.nav-link:hover { color: var(--wood); }
.navbar:not(.scrolled) .nav-link { color: var(--white); }
.navbar:not(.scrolled) .nav-link:hover { color: var(--beige); }

.icon-chevron { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.has-mega.open .icon-chevron { transform: rotate(180deg); }

.nav-mobile-cta,
.nav-mobile-phone { display: none; }

.nav-item { position: relative; }

/* Méga-menu (desktop) */
.mega {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(880px, calc(100vw - 48px));
  transform: translate(-50%, 10px);
  display: grid;
  grid-template-columns: 1fr 250px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 120;
}
.mega::before { /* pont invisible pour garder le survol */
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.has-mega.open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 18px;
}
.mega-list a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  transition: background 0.25s;
}
.mega-list a:hover,
.mega-list a[aria-current="page"] { background: var(--cream); }
.mega-list .icon {
  width: 22px;
  height: 22px;
  color: var(--wood);
  margin-top: 2px;
}
.mega-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.mega-list small {
  display: block;
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.45;
}
.mega-aside {
  background: var(--ink);
  color: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.mega-aside .eyebrow { color: var(--beige); margin-bottom: 0; }
.mega-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.1;
}
.mega-title em { color: var(--beige); }
.mega-aside .btn { background: var(--wood); padding: 14px 24px; }
.mega-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: auto;
}
.mega-phone .icon { width: 16px; height: 16px; color: var(--beige); }
.mega-phone:hover { color: var(--white); }

/* Barre solide (pages légales) */
.page-solid .navbar {
  background: rgba(250, 250, 247, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}
.page-solid .navbar .nav-link,
.page-solid .navbar .logo { color: var(--ink); }
.page-solid .navbar .logo span { color: var(--wood); }
.page-solid .navbar .burger span { background: var(--ink); }
.page-solid .navbar.menu-open .logo { color: var(--white); }
.page-solid .navbar.menu-open .burger span { background: var(--white); }

/* ---------- Navigation mobile / tablette ---------- */
@media (max-width: 1100px) {
  .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    z-index: 101;
    padding: 96px 28px 40px;
    overflow-y: auto;
    animation: menuIn 0.35s var(--ease-out);
  }
  @keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }

  .nav-links.open .nav-link,
  .page-solid .nav-links.open .nav-link {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    justify-content: space-between;
  }
  .nav-links.open .nav-link::after { display: none; }
  .nav-links.open .nav-link[aria-current="page"] { color: var(--beige); }
  .nav-links.open .icon-chevron { width: 20px; height: 20px; }

  .mega {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    grid-template-columns: 1fr;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }
  .mega::before { display: none; }
  .has-mega.open .mega { display: block; transform: none; }
  .mega-list { grid-template-columns: 1fr; padding: 6px 0 12px; }
  .mega-list a { padding: 10px 6px; }
  .mega-list a:hover, .mega-list a[aria-current="page"] { background: rgba(255, 255, 255, 0.06); }
  .mega-list strong { color: var(--white); font-size: 15px; }
  .mega-list small { color: rgba(255, 255, 255, 0.55); }
  .mega-aside { display: none; }

  .nav-links.open .nav-mobile-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--beige);
    font-size: 1rem;
    margin-top: 28px;
  }
  .nav-mobile-phone .icon { width: 18px; height: 18px; }
  .nav-links.open .nav-mobile-cta {
    display: inline-flex;
    margin-top: 16px;
    background: var(--wood);
    justify-content: center;
  }
}

/* ============ BOUTONS (v5) ============ */
.btn .icon { width: 16px; height: 16px; }
.btn-outline {
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.pmr-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.projects-more { margin-top: 48px; text-align: center; }

.card-more {
  display: inline-flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.service-card:hover .card-more { color: var(--beige); gap: 14px; }

/* ============ BARRE DE RÉASSURANCE ============ */
.trust-bar {
  background: var(--ink);
  color: var(--white);
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-bar ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-bar li { display: flex; align-items: center; gap: 14px; }
.trust-bar .icon { width: 28px; height: 28px; color: var(--beige); }
.trust-bar strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
}
.trust-bar span { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.trust-bar--light { background: var(--beige-soft); color: var(--ink); border: 0; }
.trust-bar--light .icon { color: var(--wood); }
.trust-bar--light span { color: var(--grey); }

/* ============ HERO DES PAGES INTÉRIEURES ============ */
.page-hero {
  position: relative;
  min-height: 86vh;
  min-height: 86svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  padding: 150px 0 80px;
}
.page-hero--short { min-height: 64vh; min-height: 64svh; }
.page-hero-bg { position: absolute; inset: 0; will-change: transform; }
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease-out) forwards;
}
.page-hero .hero-overlay {
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.85) 100%);
}
.page-hero-content { position: relative; z-index: 2; width: 100%; }
.page-title {
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  line-height: 1;
  font-weight: 400;
  max-width: 900px;
  margin-bottom: 26px;
}
.page-title em { color: var(--beige); }
.page-hero .hero-subtitle { margin-bottom: 36px; }
.page-hero .hero-cta { margin-bottom: 36px; }
.page-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.page-hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.page-hero-badges .icon { width: 16px; height: 16px; color: var(--beige); }

.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, 0.65); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--beige); }
.breadcrumb [aria-current] { color: var(--beige); }

/* ============ SECTION TEXTE + IMAGE ============ */
.split { background: var(--off-white); }
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}
.split-text p { color: var(--grey); margin-bottom: 18px; font-size: 1.02rem; line-height: 1.8; max-width: 560px; }
.split-text .section-title { margin-bottom: 28px; }
.split-text .btn { margin-top: 18px; }
.split-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow-lg);
}
.split-media::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: calc(var(--radius-xl) - 8px);
  pointer-events: none;
}
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============ BÉNÉFICES ============ */
.benefits-sec { background: var(--beige-soft); }
.benefits-sec .pmr-benefits { margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.with-link {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

/* ============ CE QUI EST INCLUS ============ */
.included { background: var(--ink); color: var(--white); }
.included .eyebrow { color: var(--beige); }
.included .section-title em { color: var(--beige); }
.included-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.included-intro { color: rgba(255, 255, 255, 0.65); margin: 10px 0 34px; max-width: 420px; line-height: 1.75; }
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
}
.checklist .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(176, 137, 104, 0.2);
  color: var(--beige);
  stroke-width: 2.4;
  margin-top: -1px;
}

/* ============ ÉTAPES ============ */
.steps-sec { background: var(--off-white); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.steps.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps li {
  position: relative;
  padding: 34px 26px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.steps li:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.steps .step {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--wood);
  margin-bottom: 18px;
}
.steps h3 { font-size: 1.35rem; margin-bottom: 10px; }
.steps p { font-size: 0.92rem; color: var(--grey); line-height: 1.6; }

/* ============ RÉALISATIONS COMPACTES ============ */
.projects--compact .section-head { margin-bottom: 50px; }
.projects--compact .btn-ghost,
.projects-more .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.projects-grid--row { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 360px; }

/* ============ AUTRES SERVICES ============ */
.others { background: var(--cream); padding: clamp(60px, 8vw, 100px) 0; }
.others-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 30px;
}
.others-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.other-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.other-service .icon { width: 22px; height: 22px; color: var(--wood); }
.other-service span { flex: 1; line-height: 1.35; }
.other-service .icon-arrow { width: 18px; height: 18px; color: var(--grey); transition: transform 0.3s var(--ease), color 0.3s; }
.other-service:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--beige); }
.other-service:hover .icon-arrow { transform: translateX(4px); color: var(--wood); }

/* ============ CONTACT / DEVIS (v5) ============ */
.reassure-list { display: grid; gap: 12px; margin: 0 0 34px; }
.reassure-list li { display: flex; gap: 12px; align-items: center; font-size: 0.97rem; }
.reassure-list .icon {
  width: 22px; height: 22px; padding: 4px;
  border-radius: 50%;
  background: rgba(176, 137, 104, 0.15);
  color: var(--wood);
  stroke-width: 2.4;
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 4px;
}
.form-title span {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  margin-top: 8px;
}

/* ============ ZONE D'INTERVENTION ============ */
.zone { background: var(--off-white); }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.zone-grid p { color: var(--grey); line-height: 1.8; max-width: 520px; }
.zone-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zone-list li {
  padding: 18px 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

/* ============ FOOTER (v5) ============ */
.footer-cta { margin: 6px 0 24px; padding: 14px 24px; }

/* ============ BARRE D'ACTION MOBILE ============ */
.mobile-cta { display: none; }
@media (max-width: 768px) {
  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8px;
    padding: 8px;
    background: rgba(20, 20, 20, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 100px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(140%);
    transition: transform 0.45s var(--ease-out);
  }
  .mobile-cta.visible { transform: none; }
  .mobile-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
  }
  .mobile-cta .icon { width: 17px; height: 17px; }
  .mobile-cta-call { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
  .mobile-cta-quote { background: var(--wood); color: var(--white); }
  body.menu-open .mobile-cta,
  body.modal-open .mobile-cta { display: none; }
  .scroll-top { bottom: 92px !important; }
  .footer { padding-bottom: 110px; }
}

/* ============ RESPONSIVE (v5) ============ */
@media (max-width: 1100px) {
  .steps, .steps.steps-5 { grid-template-columns: repeat(2, 1fr); }
  .others-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .split-grid, .included-grid, .zone-grid { grid-template-columns: 1fr; gap: 50px; }
  .split-media { max-width: 560px; aspect-ratio: 4 / 3; }
  .projects-grid--row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { min-height: 0; padding: 120px 0 56px; }
  .page-hero--short { min-height: 0; }
  .checklist { grid-template-columns: 1fr; }
  .steps, .steps.steps-5 { grid-template-columns: 1fr; }
  .projects-grid--row { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .others-grid { grid-template-columns: 1fr; }
  .zone-list { grid-template-columns: 1fr 1fr; }
  .section-head.with-link .btn { width: 100%; justify-content: center; }
  .pmr-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .trust-bar ul { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================
   v5.1 — Site allégé en images (10 visuels)
   Ambiances, En bref, éligibilité PMR, comparatif
   ============================================ */
.project-card img, .page-hero-bg img, .hero-bg img, .modal-image img {
  background: linear-gradient(135deg, var(--wood-dark), var(--wood) 55%, var(--beige));
}

/* Grille ambiances : 2 lignes éditoriales */
.ambiances-grid { grid-auto-rows: 360px; }
@media (min-width: 1025px) { .project-card.span-2 { grid-column: span 2; } }
.ambiance-note {
  margin-top: 28px;
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 720px;
}
.ambiance-note a { color: var(--beige); text-decoration: underline; text-underline-offset: 3px; }
.ambiance-note em { color: var(--white); }
.modal-details { grid-template-columns: 1fr; gap: 14px; }
.modal-body p.modal-note { margin: 14px 0 0; font-size: 0.78rem; color: var(--grey); }

/* Bandeau 3D (page Inspirations) */
.band-3d {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(176, 137, 104, 0.22), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.band-3d-title { font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: 8px 0 12px; }
.band-3d-title em { color: var(--beige); }
.band-3d p:not(.eyebrow):not(.band-3d-title) { color: rgba(255, 255, 255, 0.65); max-width: 560px; line-height: 1.7; }
.band-3d .btn { flex-shrink: 0; }

/* Carte « En bref » (remplace l'image secondaire des pages) */
.brief-card {
  position: relative;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.brief-card::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  right: -120px; top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 137, 104, 0.35), transparent 70%);
  pointer-events: none;
}
.brief-card .eyebrow { color: var(--beige); position: relative; }
.brief-list { position: relative; margin: 26px 0 32px; }
.brief-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brief-list > div:first-child { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.brief-list dt {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wood-light);
  font-weight: 600;
  padding-top: 5px;
}
.brief-list dd { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.35; }
.brief-cta {
  position: relative;
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--beige);
  border-bottom: 1px solid rgba(217, 205, 184, 0.4);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.brief-cta:hover { color: var(--white); border-color: var(--white); }

/* PMR : éligibilité + aide (accueil) */
.pmr-split {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  margin-bottom: 60px;
}
.elig-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.elig-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 30px; line-height: 1.1; }
.elig-title em { color: var(--wood); }
.elig-list { display: grid; gap: 22px; margin-bottom: 34px; }
.elig-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.elig-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--wood);
  border-right: 1px solid var(--light-grey);
  line-height: 1.3;
}
.elig-list strong { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.elig-list p { color: var(--grey); font-size: 0.92rem; line-height: 1.65; }
.elig-list p strong { display: inline; color: var(--ink); }
.aid-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.aid-card::after {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 137, 104, 0.4), transparent 70%);
  pointer-events: none;
}
.aid-kicker { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--beige); }
.aid-value { font-family: var(--font-serif); font-size: clamp(5rem, 9vw, 7.5rem); line-height: 1; margin: 6px 0 4px; }
.aid-value span { font-size: 0.5em; color: var(--wood-light); margin-left: 4px; }
.aid-label { font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--beige); margin-bottom: 14px; }
.aid-small { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); line-height: 1.6; margin-bottom: 28px; }
.aid-points { display: grid; gap: 12px; margin-top: auto; position: relative; z-index: 1; }
.aid-points li { display: flex; gap: 10px; align-items: center; font-size: 0.92rem; }
.aid-points .icon { width: 16px; height: 16px; color: var(--wood-light); flex-shrink: 0; }

/* Comparatif « Pourquoi Real Concept » */
.compare { background: var(--cream); }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.compare-col { border-radius: var(--radius-xl); padding: 48px 44px; }
.compare-col h3 { font-size: 1.6rem; margin-bottom: 26px; }
.compare-col ul { display: grid; gap: 18px; }
.compare-col li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.compare-col .icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.compare-col--without { background: transparent; border: 1px solid rgba(0, 0, 0, 0.1); color: var(--grey); }
.compare-col--without .icon { color: #a8a39b; }
.compare-col--with { background: var(--ink); color: var(--white); box-shadow: var(--shadow-lg); }
.compare-col--with h3 { color: var(--white); }
.compare-col--with .icon { color: var(--wood-light); }
.compare-col--with .btn { margin-top: 34px; }

@media (max-width: 1024px) {
  .pmr-split { grid-template-columns: 1fr; }
  .band-3d { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 768px) {
  .ambiances-grid { grid-auto-rows: 300px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col, .elig-card, .aid-card, .brief-card { padding: 36px 26px; }
  .brief-list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* v5.1 — hero clair (image IA lumineuse) : voile renforcé à gauche + italique plus clair */
.hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.45) 55%, rgba(10,10,10,0.15) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.15) 45%, rgba(10,10,10,0.75) 100%);
}
.hero .hero-title em { color: var(--beige); }
@media (max-width: 768px) {
  .hero .hero-overlay { background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.8) 100%); }
}

/* ============================================
   v5.2 — Parcours étape par étape + Commerces
   ============================================ */
.parcours { background: var(--off-white); }
.parcours-tabs {
  display: inline-flex;
  padding: 5px;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}
.parcours-tab {
  padding: 11px 26px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  transition: all 0.3s var(--ease);
}
.parcours-tab:hover { color: var(--ink); }
.parcours-tab.is-active { background: var(--ink); color: var(--white); }
.parcours-panel[hidden] { display: none; }
.parcours-panel { animation: fadeInUp 0.6s var(--ease-out) both; }
.parcours-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.parcours-step { position: relative; }
.parcours-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--beige);
}
.parcours-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-soft); }
.parcours-step:hover .parcours-media img { transform: scale(1.05); }
.parcours-step .step {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--wood);
  margin-bottom: 6px;
}
.parcours-step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.parcours-step p { color: var(--grey); font-size: 0.92rem; line-height: 1.65; }
.parcours-foot { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.parcours-foot .ambiance-note { margin-top: 0; color: var(--grey); }

/* Teaser commerces (accueil) */
.commerces-teaser { background: var(--ink); color: var(--white); }
.commerces-teaser .eyebrow, .commerces-teaser .section-title em { color: var(--beige); }
.commerce-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.commerce-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--charcoal);
  display: block;
}
.commerce-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-soft); }
.commerce-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,10,10,0.85) 100%); }
.commerce-tile span {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1;
  font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.2; color: var(--white);
}
.commerce-tile:hover img { transform: scale(1.07); }

@media (max-width: 1100px) {
  .parcours-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .commerce-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .parcours-steps { grid-template-columns: 1fr; }
  .commerce-tiles { grid-template-columns: repeat(2, 1fr); }
  .parcours-tabs { margin-top: 10px; }
}

/* ============================================
   v5.3 — Prise de rendez-vous (Calendly)
   ============================================ */
.nav-actions { display: flex; align-items: center; gap: 26px; }
.nav-rdv { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.nav-rdv .icon { width: 15px; height: 15px; }
.nav-mobile-rdv .icon, .rdv-card .icon, .hero-cta .icon { width: 16px; height: 16px; }
.btn .icon { flex-shrink: 0; }
.rdv-card {
  margin: 26px 0 30px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  max-width: 460px;
}
.rdv-card p { font-size: 0.92rem; color: var(--grey); line-height: 1.6; margin-bottom: 16px; }
.rdv-card p strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.rdv-card .btn { gap: 8px; }
@media (max-width: 1100px) { .nav-rdv { display: none; } }
@media (max-width: 768px) {
  .mobile-cta { grid-template-columns: 1fr 1fr 1.25fr; }
  .mobile-cta-rdv { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.2); }
}
@media (max-width: 1100px) {
  .nav-links.open .nav-mobile-rdv { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.35); gap: 8px; }
}

/* ============ v5.7 — Popup Calendly ============ */
.rdv-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.rdv-modal.is-open { opacity: 1; visibility: visible; }
.rdv-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 10, 0.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.rdv-modal-box { position: relative; width: min(1000px, 100%); height: min(760px, 100%); background: var(--white); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-xl); transform: translateY(16px); transition: transform 0.4s var(--ease-out); }
.rdv-modal.is-open .rdv-modal-box { transform: none; }
.rdv-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 14px 24px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.rdv-modal-head p { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); }
.rdv-modal-head p span { font-family: var(--font-sans); font-size: 0.85rem; color: var(--grey); }
.rdv-modal-close { width: 40px; height: 40px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--ink); background: var(--cream); transition: background 0.2s; }
.rdv-modal-close:hover { background: var(--beige); }
.rdv-modal-body { position: relative; flex: 1; background: var(--white); }
.rdv-modal-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rdv-modal-loader { position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 3px solid var(--beige); border-top-color: var(--wood); border-radius: 50%; animation: rdvspin 0.8s linear infinite; }
@keyframes rdvspin { to { transform: rotate(360deg); } }
@media (max-width: 768px) {
  .rdv-modal { padding: 0; }
  .rdv-modal-box { width: 100%; height: 100%; border-radius: 0; }
  .rdv-modal-head p span { display: none; }
}
