/* ============================================
   MY RENOV — Design System "Structural Architect"
   Based on Stitch Design System — DESIGN.md
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors — Tonal Depth */
  --primary:        #00685b;
  --primary-dark:   #004d44;
  --primary-light:  #2b8273;
  --primary-container: #2b8273;
  --on-primary:     #ffffff;
  --tertiary:       #8d4938;

  --on-surface:     #1b1c1c;
  --surface:        #ffffff;
  --surface-container-lowest: #ffffff;
  --surface-container-low:    #f5f5f0;
  --surface-container:        #eeedea;
  --surface-container-high:   #e6e5e1;
  --surface-container-highest:#dddcd8;
  --outline-variant: #c4c7c5;

  --dark:           #1b1c1c;
  --gray:           #6c757d;

  /* Typography */
  --font: 'Manrope', sans-serif;

  /* Elevation — Ambient shadows only */
  --shadow-ambient:  0 8px 32px rgba(27,28,28,0.06);
  --shadow-float:    0 4px 16px rgba(27,28,28,0.08);
  --shadow-lift:     0 12px 40px rgba(27,28,28,0.1);

  /* Corners — Sharp geometry */
  --radius:    0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;

  --transition: all 0.3s ease;
  --header-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--on-surface);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography — Editorial Voice --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
p { margin-bottom: 1rem; line-height: 1.7; }

/* Labels — uppercase breadcrumbs/specs */
.label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
}

.section-title {
  text-align: left;
  margin-bottom: 3.5rem;
  max-width: 600px;
}
.section-title.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--gray); font-size: 1.05rem; margin: 0; }

/* Stripe accent — brand pattern */
.stripe-accent {
  width: 48px;
  height: 4px;
  background: repeating-linear-gradient(
    135deg,
    var(--primary) 0px,
    var(--primary) 4px,
    transparent 4px,
    transparent 12px
  );
  margin-bottom: 16px;
}
.stripe-accent-wide {
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    135deg,
    var(--primary) 0px,
    var(--primary) 4px,
    transparent 4px,
    transparent 12px
  );
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-1px);
  box-shadow: var(--shadow-float);
}
.btn-secondary {
  background: var(--surface-container-highest);
  color: var(--on-surface);
  border: 1px solid rgba(196,199,197,0.2);
}
.btn-secondary:hover {
  background: var(--surface-container-high);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--on-primary);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: var(--on-primary);
  color: var(--primary);
}
.btn-white {
  background: var(--surface);
  color: var(--primary);
}
.btn-white:hover {
  background: var(--surface-container-low);
  transform: translateY(-1px);
  box-shadow: var(--shadow-float);
}
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* --- Header — Glassmorphism --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* NO border-bottom — No-Line Rule */
  padding: 12px 0;
  transition: var(--transition);
}
.header.scrolled { height: 60px; box-shadow: var(--shadow-ambient); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-top: 4px;
  padding-bottom: 4px;
}
.header-logo {
  padding: 0;
  margin: 0;
}
.header-logo img {
  height: 52px;
  width: auto;
  transition: var(--transition);
}
.header.scrolled .header-logo img { height: 40px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--on-surface);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }

.nav-cta { margin-left: 12px; }

/* Header Phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
}
.header-phone svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.header-phone:hover {
  color: var(--primary-dark, #004d43);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--on-surface);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -5px 0 30px rgba(27,28,28,0.1);
  padding: 100px 30px 30px;
  transition: right 0.4s ease;
  z-index: 999;
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--on-surface);
  border-bottom: none;
  /* No-Line Rule — use spacing instead */
}
.mobile-nav a:hover { color: var(--primary); padding-left: 8px; }
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }
.overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(27,28,28,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.overlay.active { opacity: 1; pointer-events: all; }

/* --- Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}
@media (min-width: 992px) {
  .hero-bg { background-attachment: fixed; }
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(160deg, rgba(27,28,28,0.78) 0%, rgba(0,104,91,0.35) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--on-primary);
  max-width: 700px;
  padding: 0 24px;
  /* Editorial: left-aligned */
  margin-left: 8%;
}
.hero-content h1 {
  color: #ffffff;
  margin-bottom: 20px;
}
.hero-content h1 span { color: #7dd8c8; }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 32px;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: heroUp 0.9s ease 0.6s both;
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.5s infinite;
}
.scroll-indicator span {
  display: block;
  width: 28px;
  height: 44px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.5);
  position: relative;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--on-primary);
  border-radius: 2px;
  animation: scrollDot 2.5s infinite;
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
}
@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 24px; }
}

/* --- Reassurance Bar --- */
.reassurance {
  background: var(--primary);
  padding: 18px 0;
  color: var(--on-primary);
}
.reassurance .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}
.reassurance-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
}
.reassurance-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* --- Counters --- */
.counters {
  padding: 80px 0;
  background: var(--surface-container-low);
}
.counters .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.counter-item h3, .counter-item .counter-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 800;
}
.counter-item p { font-weight: 600; font-size: 0.95rem; }

/* --- Services Grid --- */
.services { padding: 100px 0; background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius);
  padding: 36px 28px;
  /* No border — No-Line Rule. Defined by background shift */
  box-shadow: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
/* Stripe accent at top of premium cards */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: repeating-linear-gradient(135deg, var(--primary) 0px, var(--primary) 4px, transparent 4px, transparent 12px);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  background: var(--surface-container-low);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-card:hover .icon { background: var(--primary); }
.service-card .icon svg {
  width: 28px; height: 28px;
  fill: var(--primary);
  transition: var(--transition);
}
.service-card:hover .icon svg { fill: var(--on-primary); }
.service-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.service-card p { color: var(--gray); font-size: 0.9rem; margin-bottom: 16px; }
.service-card .link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-card .link svg { width: 16px; height: 16px; }

/* --- Process / Notre Approche --- */
.process {
  padding: 100px 0;
  background: var(--dark);
  color: var(--on-primary);
  position: relative;
  overflow: hidden;
}
.process .section-title h2 { color: var(--on-primary); }
.process .section-title p { color: rgba(255,255,255,0.6); }
.process .stripe-accent { background: repeating-linear-gradient(135deg, #7dd8c8 0px, #7dd8c8 4px, transparent 4px, transparent 12px); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step { text-align: left; }
.process-step .step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 12px;
}
.process-step h3 {
  color: var(--on-primary);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.process-step p { color: rgba(255,255,255,0.55); font-size: 0.9rem; }

/* --- NP Design --- */
.np-design { padding: 100px 0; background: var(--surface-container-low); }
.np-design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.np-design-img {
  border-radius: var(--radius);
  overflow: hidden;
}
.np-design-img img { width: 100%; height: 420px; object-fit: cover; }
.np-design-content h2 { margin-bottom: 16px; }
.np-design-content p { color: var(--gray); margin-bottom: 12px; }
.np-design-content .btn { margin-top: 8px; }

/* --- Realisations / Gallery --- */
.realisations { padding: 100px 0; background: var(--surface); }
.filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  background: var(--surface-container-low);
  color: var(--on-surface);
  border: none;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--on-primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,104,91,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  color: var(--on-primary);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 36px; height: 36px; fill: var(--on-primary); margin-bottom: 8px; }
.gallery-overlay span { font-weight: 600; font-size: 0.9rem; }

/* --- Artisans --- */
.artisans { padding: 100px 0; background: var(--surface-container-low); }
.artisans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.artisans-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 28px;
}
.artisan-feature { display: flex; gap: 12px; align-items: flex-start; }
.artisan-feature .feat-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--surface-container-lowest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.artisan-feature .feat-icon svg { width: 20px; height: 20px; fill: var(--primary); }
.artisan-feature h4 { font-size: 0.9rem; margin-bottom: 2px; }
.artisan-feature p { font-size: 0.82rem; color: var(--gray); margin: 0; }

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: var(--primary);
  color: var(--on-primary);
}
.testimonials .section-title h2 { color: var(--on-primary); }
.testimonials .section-title p { color: rgba(255,255,255,0.6); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-ambient);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.testimonial-stars { margin-bottom: 14px; color: #ffc107; font-size: 1rem; }
.testimonial-text { font-style: italic; margin-bottom: 18px; color: var(--gray); font-size: 0.92rem; line-height: 1.7; }
.testimonial-author { font-weight: 700; color: var(--on-surface); }
.testimonial-location { font-size: 0.82rem; color: var(--gray); margin-top: 2px; }

/* --- Engagements --- */
.engagements { padding: 80px 0; background: var(--surface); }
.engagements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.engagement-item {
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--surface-container-low);
  transition: var(--transition);
  text-align: left;
  /* No borders — background shift defines boundary */
}
.engagement-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.engagement-item .eng-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--surface-container-lowest);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.engagement-item .eng-icon svg { width: 24px; height: 24px; fill: var(--primary); }
.engagement-item h4 { font-size: 0.92rem; margin-bottom: 6px; }
.engagement-item p { font-size: 0.82rem; color: var(--gray); margin: 0; }

/* --- Zones --- */
.zones { padding: 100px 0; background: var(--surface-container-low); }
.zones-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--surface-container-lowest);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition);
  /* No border */
}
.zone-badge:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-1px);
}
.zone-badge svg { width: 14px; height: 14px; fill: var(--primary); }
.zone-badge:hover svg { fill: var(--on-primary); }

/* --- CTA Final --- */
.cta-final {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  color: var(--on-primary);
}
.cta-final h2 { color: var(--on-primary); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,0.6); max-width: 560px; margin-bottom: 28px; font-size: 1.05rem; }
.cta-contacts {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.cta-contact-item svg { width: 18px; height: 18px; fill: var(--primary-light); }
.cta-contact-item a { color: inherit; }
.cta-contact-item a:hover { color: var(--on-primary); }

/* --- Footer --- */
.footer {
  background: #111212;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-about .footer-logo { height: 40px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-about p { font-size: 0.88rem; line-height: 1.7; }
.footer h4 {
  color: var(--on-primary);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.6); }
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  /* Top separation via background shift */
  background: rgba(0,0,0,0.15);
}
.footer-bottom a { color: var(--primary-light); }

/* --- Lightbox --- */
.lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(27,28,28,0.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 20px; right: 30px;
  background: none; border: none; color: var(--on-primary);
  font-size: 2.2rem; cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover { color: var(--primary-light); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: none; color: var(--on-primary);
  font-size: 1.6rem; width: 44px; height: 44px;
  border-radius: var(--radius);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.lightbox-nav:hover { background: var(--primary); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: var(--on-primary); font-weight: 600; text-align: center;
}

/* --- Progress Bar --- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 1100;
  transition: width 0.1s;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--on-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: var(--shadow-float);
  opacity: 0; transform: translateY(16px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }
.back-to-top svg { width: 22px; height: 22px; fill: var(--on-primary); }

/* --- Scroll Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* --- Breadcrumbs --- */
.breadcrumb {
  padding: 14px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray);
  margin-top: var(--header-h);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* --- Page Hero (sub-pages) --- */
.page-hero {
  padding: 180px 0 80px;
  background: var(--dark);
  color: var(--on-primary);
}
.page-hero h1 { color: var(--on-primary); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 560px; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.form-group label .required { color: var(--tertiary); }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 2px solid var(--surface-container-highest);
  border-radius: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--on-surface);
  background: var(--surface-container-low);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  background: var(--surface-container-lowest);
  border-bottom-color: var(--primary);
}
.form-control.valid { border-bottom-color: var(--primary); }
.form-control.invalid { border-bottom-color: var(--tertiary); }
.form-error { color: var(--tertiary); font-size: 0.78rem; margin-top: 4px; display: none; }
.form-control.invalid + .form-error { display: block; }
textarea.form-control { resize: vertical; min-height: 120px; border-radius: var(--radius) var(--radius) 0 0; }
select.form-control { cursor: pointer; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* --- FAQ --- */
.faq { padding: 80px 0; }
.faq-item {
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--surface-container-low);
}
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}
.faq-question:hover { background: var(--surface-container); }
.faq-question .faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-icon,
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s ease,
              opacity 0.3s ease;
  opacity: 0;
  padding: 0 24px;
}
.faq-item.active .faq-answer,
.faq-item.open .faq-answer,
.faq-answer.active {
  max-height: 500px;
  opacity: 1;
  padding: 0 24px 18px;
}
.faq-answer p { color: var(--gray); font-size: 0.92rem; }

/* --- Service Detail --- */
.service-detail { padding: 60px 0 100px; }
.service-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.service-content h2 { margin-top: 28px; margin-bottom: 14px; }
.service-content ul { margin: 12px 0; }
.service-content ul li { padding: 8px 0 8px 24px; position: relative; color: var(--gray); }
.service-content ul li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 1px;
}
.service-sidebar { position: sticky; top: 96px; }
.sidebar-card {
  background: var(--surface-container-low);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 14px; }
.sidebar-contact-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; font-size: 0.88rem;
  /* No border-bottom — use spacing */
}
.sidebar-contact-item svg { width: 16px; height: 16px; fill: var(--primary); flex-shrink: 0; }

/* --- Devis Page --- */
.devis-page { padding: 60px 0 100px; }
.devis-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.devis-form-wrapper {
  background: var(--surface-container-lowest);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-ambient);
}

/* --- Blog --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 60px 0 100px; }
.blog-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-float); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-body .date { color: var(--primary); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.blog-card-body p { color: var(--gray); font-size: 0.88rem; }

/* Article */
.article-content { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.article-content h2 { margin: 32px 0 14px; }
.article-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-content th, .article-content td { padding: 12px 16px; text-align: left; }
.article-content th { background: var(--primary); color: var(--on-primary); font-size: 0.88rem; }
.article-content tr:nth-child(even) { background: var(--surface-container-low); }

/* --- Team --- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { padding: 28px; background: var(--surface-container-lowest); border-radius: var(--radius); }
.team-card .avatar {
  width: 80px; height: 80px;
  border-radius: var(--radius);
  background: var(--surface-container-low);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: var(--primary);
}
.team-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.team-card p { color: var(--gray); font-size: 0.88rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.value-card {
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--surface-container-low);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-float); }
.value-card .v-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--primary);
  margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
}
.value-card .v-icon svg { width: 24px; height: 24px; fill: var(--on-primary); }
.value-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
.value-card p { color: var(--gray); font-size: 0.82rem; }

/* --- Legal --- */
.legal { padding: 60px 0 100px; }
.legal h2 { margin: 28px 0 14px; font-size: 1.3rem; }
.legal p, .legal li { color: var(--gray); font-size: 0.92rem; }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--surface);
  box-shadow: 0 -4px 24px rgba(27,28,28,0.1);
  z-index: 2000;
  padding: 18px 0;
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cookie-content p { margin: 0; font-size: 0.85rem; color: var(--gray); }
.cookie-content a { color: var(--primary); }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }

/* --- Mobile Call Button --- */
.mobile-call-btn {
  display: none;
  position: fixed; bottom: 16px; left: 16px; z-index: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  align-items: center; gap: 8px;
  box-shadow: var(--shadow-lift);
}
.mobile-call-btn svg { width: 18px; height: 18px; }

/* --- Promo Bar --- */
.promo-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  text-align: center;
  font-size: 0.85rem;
  position: relative;
  z-index: 1001;
}
.promo-bar .container { display: flex; align-items: center; justify-content: center; gap: 12px; }
.promo-bar p { margin: 0; }
.promo-bar a { color: var(--primary-light); font-weight: 600; }
.promo-close {
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 1.2rem; cursor: pointer; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
}

/* --- Hero Word Reveal Animation --- */
.hero-title-animate .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.5s ease forwards;
}
.hero-title-animate .word span {
  color: #7dd8c8;
}
@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero-subtitle-animate {
  opacity: 0;
  animation: heroUp 0.9s ease 0.8s both;
}
.hero-btns-animate {
  opacity: 0;
  animation: heroUp 0.9s ease 1.2s both;
}

/* --- Parallax Hero --- */
.hero-bg.parallax {
  will-change: transform;
  transition: none;
}

/* --- Reassurance slide-in --- */
.reassurance-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reassurance-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.reassurance-item:nth-child(2) { transition-delay: 0.1s; }
.reassurance-item:nth-child(3) { transition-delay: 0.2s; }
.reassurance-item:nth-child(4) { transition-delay: 0.3s; }

/* --- Reveal delays --- */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- FAQ Home --- */
.faq-home {
  padding: 80px 0;
  background: var(--surface-container-low);
}
.faq-home .faq-list {
  max-width: 800px;
}

/* --- Nos Zones Page --- */
.zones-page { padding: 60px 0 100px; }
.zone-section { margin-bottom: 48px; }
.zone-section h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}
.zone-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--primary);
}
.zone-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.zone-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface-container-lowest);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.zone-card:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}
.zone-card svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}
.zone-card:hover svg { fill: var(--on-primary); }
.zone-note {
  margin-top: 48px;
  padding: 32px;
  background: var(--surface-container-low);
  border-radius: var(--radius);
  text-align: center;
}
.zone-note h3 { margin-bottom: 12px; }
.zone-note p { color: var(--gray); max-width: 600px; margin: 0 auto 20px; }

/* --- Local Page Enhancements --- */
.local-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--dark);
  color: var(--on-primary);
  overflow: hidden;
}
.local-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.local-hero .container { position: relative; z-index: 2; }
.local-hero .badge-48h {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  margin-top: 16px;
}
.breadcrumb-nav { margin-bottom: 20px; }
.breadcrumb-nav .breadcrumb {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 600;
}
.breadcrumb-nav .breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-nav .breadcrumb li::before { content: ''; }
.breadcrumb-nav .breadcrumb li:not(:first-child)::before { content: '\203A'; color: rgba(255,255,255,0.4); }
.breadcrumb-nav .breadcrumb a { color: var(--primary-light); }
.breadcrumb-nav .breadcrumb a:hover { text-decoration: underline; }

.quartiers-section {
  padding: 40px 0;
  background: var(--surface-container-low);
}
.quartiers-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.quartier-pill {
  padding: 6px 14px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
}

.villes-voisines {
  padding: 48px 0;
  background: var(--surface);
}
.villes-voisines h3 { margin-bottom: 20px; }
.villes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.ville-card {
  padding: 20px;
  background: var(--surface-container-low);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ville-card:hover {
  background: var(--primary);
  color: var(--on-primary);
  transform: translateY(-2px);
}
.ville-card svg { width: 18px; height: 18px; fill: var(--primary); transition: var(--transition); }
.ville-card:hover svg { fill: var(--on-primary); }

.local-counter {
  padding: 40px 0;
  text-align: center;
  background: var(--surface-container-low);
}
.local-counter h3 { color: var(--primary); font-size: 2rem; margin-bottom: 8px; }

/* --- Local Pages Spacing --- */
.section-content { padding-top: 20px; }
.section-content .content-text { padding-top: 0; }
.page-hero + .section-content { padding-top: 40px; }
.local-hero + .section-content { padding-top: 40px; }

/* Local content paragraph spacing */
.content-text p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .nav-links, .nav-cta, .header-phone { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .zone-cards { grid-template-columns: repeat(2, 1fr); }
  .np-design-grid, .artisans-grid { grid-template-columns: 1fr; }
  .service-detail-grid, .devis-grid { grid-template-columns: 1fr; }
  .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .reassurance .container { grid-template-columns: repeat(2, 1fr); }
  .counters .container { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-contacts { flex-direction: column; gap: 16px; }
  .artisans-features { grid-template-columns: 1fr; }
  .engagements-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .zone-cards { grid-template-columns: 1fr; }
  .mobile-call-btn { display: flex; }
  .filter-btns { margin-bottom: 40px; padding: 12px 0; flex-wrap: wrap; gap: 10px; justify-content: flex-start; }
  .filter-btn { padding: 10px 20px; font-size: 0.85rem; }
  .hero { min-height: 500px; }
  .hero-bg { background-attachment: scroll; }
  .hero-content { margin-left: 0; padding: 0 20px; }
  .hero-content h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }
  .content-text { padding: 0 4px; }
  .cookie-content { flex-direction: column; text-align: center; }
  section { padding: 64px 0 !important; }
  .page-hero { padding: 160px 0 60px !important; }
}
@media (max-width: 480px) {
  .reassurance .container, .counters .container { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  .team-grid, .engagements-grid, .values-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media print {
  .header, .back-to-top, .progress-bar, .lightbox, .cookie-banner, .promo-bar, .mobile-call-btn { display: none; }
  body { color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reassurance-item { opacity: 1 !important; transform: none !important; }
}
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

/* --- RESPIRATION GÉNÉRALE SECTIONS --- */
.section-content {
  padding: 80px 0 !important;
}

.section-services-available {
  padding: 80px 0 !important;
}

.section-faq {
  padding: 80px 0 !important;
}

.villes-voisines {
  padding: 60px 0 !important;
}

.cta-final {
  padding: 100px 0 !important;
}

section.section-content + section.section-services-available,
section.section-services-available + section.section-faq,
section.section-faq + section.cta-final {
  border-top: 1px solid rgba(27, 28, 28, 0.06);
  padding-top: 80px !important;
}

/* --- CONTENT TEXT TYPOGRAPHIE PREMIUM --- */
.content-text {
  max-width: 760px;
  margin: 0 auto;
}

.content-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 40px;
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
  position: relative;
  padding-bottom: 0;
}

.content-text h2::before {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 24px;
  border-radius: 2px;
}

.content-text h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.content-text p {
  font-size: 1.02rem;
  line-height: 1.88;
  margin-bottom: 20px;
  color: var(--on-surface);
}

.content-text h2 + p {
  margin-top: 0;
}

.content-text p + p {
  margin-top: 0;
}

/* --- LISTES DANS CONTENT-TEXT --- */
.content-text ul {
  list-style: none;
  padding-left: 0;
  margin: 24px 0 28px;
}

.content-text ul li {
  padding: 12px 0 12px 28px;
  position: relative;
  color: var(--on-surface);
  line-height: 1.85;
  margin-bottom: 4px;
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 22px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* --- FAQ PREMIUM ACCORDION --- */
.section-faq .faq-list,
.faq-home .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-container-lowest);
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(27, 28, 28, 0.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  border: 1px solid rgba(27, 28, 28, 0.03);
}

.faq-item:hover {
  box-shadow: 0 6px 24px rgba(0, 104, 91, 0.1);
  transform: translateY(-2px);
}

.faq-item.open,
.faq-item.active {
  box-shadow: 0 8px 32px rgba(0, 104, 91, 0.12);
  border-color: rgba(0, 104, 91, 0.1);
}

.faq-question {
  padding: 24px 72px 24px 32px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--on-surface);
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(0, 104, 91, 0.02);
  color: var(--primary);
}

.faq-item.open .faq-question,
.faq-item.active .faq-question {
  background: rgba(0, 104, 91, 0.04);
  color: var(--primary);
}

.faq-item .faq-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  width: 36px;
  height: 36px;
  background: var(--surface-container-low);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item .faq-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  transition: fill 0.3s ease;
}

.faq-item:hover .faq-icon {
  background: var(--surface-container);
  transform: translateY(-50%) scale(1.08);
}

.faq-item.open .faq-icon,
.faq-item.active .faq-icon {
  background: var(--primary);
  transform: translateY(-50%) rotate(180deg);
}

.faq-item.open .faq-icon svg,
.faq-item.active .faq-icon svg {
  fill: var(--on-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  padding: 0 32px;
}

.faq-item.open .faq-answer,
.faq-item.active .faq-answer,
.faq-answer.active {
  max-height: 500px;
  opacity: 1;
  padding: 0 32px 28px;
  background: rgba(0, 104, 91, 0.02);
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.82;
  color: #4d5150;
  margin: 0;
}

/* --- SECTION TITLES ENHANCEMENT --- */
.section-title h2 {
  position: relative;
  margin-bottom: 16px;
}

.section-title h2::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 16px;
  border-radius: 2px;
}

.section-title.centered h2::before {
  margin-left: auto;
  margin-right: auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .content-text {
    max-width: 100%;
    padding: 0 16px;
  }
  .faq-question {
    padding: 20px 60px 20px 24px;
    font-size: 1rem;
    min-height: 56px;
  }
  .faq-item .faq-icon {
    width: 32px;
    height: 32px;
    right: 16px;
  }
  .faq-answer {
    padding: 0 24px;
  }
  .faq-item.open .faq-answer,
  .faq-item.active .faq-answer {
    padding: 0 24px 20px;
  }
  .section-content,
  .section-services-available,
  .section-faq {
    padding: 60px 0 !important;
  }
}

@media (max-width: 768px) {
  .content-text h2 {
    font-size: 1.6rem;
    margin-bottom: 28px;
  }
  .content-text h2::before {
    width: 36px;
    margin-bottom: 18px;
  }
  .content-text h3 {
    font-size: 1.1rem;
    margin-top: 36px;
  }
  .faq-question {
    padding: 18px 52px 18px 20px;
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.open .faq-answer,
  .faq-item.active .faq-answer {
    padding: 0 20px 16px;
  }
}

/* ====================================================
   PATCH UX 2026-04-16 — FAQ moderne, footer logo,
   filtres réalisations, marges, galerie
   ==================================================== */

/* ---- Footer : logo MY RENOV blanc (fond sombre) ---- */
.footer-about img,
.footer .footer-about img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.95;
  height: 52px !important;
  width: auto !important;
  margin-bottom: 18px;
}

/* ---- FAQ modernes (cartes douces, séparateurs fins) ---- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff !important;
  border: 1px solid rgba(0, 104, 91, 0.12) !important;
  border-radius: 14px !important;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
}
.faq-item:hover {
  border-color: rgba(0, 104, 91, 0.3) !important;
  box-shadow: 0 6px 20px rgba(0, 104, 91, 0.08) !important;
  transform: none !important;
}
.faq-item.open,
.faq-item.active {
  border-color: var(--primary) !important;
  background: linear-gradient(180deg, #f5fbfa 0%, #ffffff 100%) !important;
  box-shadow: 0 8px 24px rgba(0, 104, 91, 0.12) !important;
}
.faq-question {
  padding: 20px 24px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: var(--dark) !important;
  background: transparent !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.45;
  border-radius: 14px;
}
.faq-question:hover { background: rgba(0, 104, 91, 0.03) !important; }
.faq-item.open .faq-question,
.faq-item.active .faq-question {
  color: var(--primary) !important;
  background: transparent !important;
}
.faq-item .faq-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: rgba(0, 104, 91, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.faq-item .faq-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
  transition: transform 0.3s ease;
}
.faq-item:hover .faq-icon { background: rgba(0, 104, 91, 0.14); }
.faq-item.open .faq-icon,
.faq-item.active .faq-icon {
  background: var(--primary);
  transform: rotate(180deg);
}
.faq-item.open .faq-icon svg,
.faq-item.active .faq-icon svg { fill: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer,
.faq-item.active .faq-answer,
.faq-answer.active {
  max-height: 800px;
  padding: 0 24px 22px 24px;
}
.faq-answer p {
  color: #4a5560 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  margin: 0;
}

/* Variante pour les articles blog (FAQ inline sans toggle) */
.article-content .faq-item {
  background: #f8fafb !important;
  border: 1px solid #e1eae8 !important;
  padding: 20px 24px !important;
  margin-bottom: 14px;
  border-radius: 12px !important;
}
.article-content .faq-item h3 {
  font-size: 1.05rem !important;
  color: var(--primary) !important;
  margin: 0 0 10px 0 !important;
  font-weight: 600 !important;
}
.article-content .faq-item p {
  font-size: 0.93rem !important;
  color: #4a5560 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ---- Filtres catégories page Réalisations (modernes) ---- */
.filter-btns {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
  justify-content: center;
  margin: 32px auto 48px auto !important;
  padding: 12px 20px !important;
  max-width: 900px;
}
.filter-btn {
  padding: 10px 22px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1.5px solid #e1eae8 !important;
  color: var(--dark) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.filter-btn:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 104, 91, 0.12) !important;
}
.filter-btn.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 104, 91, 0.25) !important;
}

/* ---- Galerie réalisations : marges + hover premium ---- */
.realisations-gallery, .gallery-grid {
  padding: 0 20px;
  gap: 24px !important;
}
.gallery-item {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
  transition: all 0.35s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14) !important;
}
.gallery-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item .gallery-overlay {
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.78) 100%) !important;
  padding: 24px !important;
  display: flex;
  align-items: flex-end;
}
.gallery-item .gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ---- Mobile ajustements ---- */
@media (max-width: 768px) {
  .filter-btns {
    justify-content: flex-start;
    padding: 12px 16px !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn {
    padding: 9px 18px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0;
  }
  .faq-question { padding: 18px 20px !important; font-size: 0.95rem !important; }
  .faq-item.open .faq-answer,
  .faq-item.active .faq-answer { padding: 0 20px 18px 20px; }
}

/* ===== FIX LAYOUT : transitions entre sections (signaux Jerem 11/05/2026) ===== */
/* Donner plus d'air aux sections suivant un bloc visuel fort */
.np-design { padding-bottom: 120px; }
.realisations { padding-top: 130px; position: relative; }
.realisations::before {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: 0 auto 32px auto;
}
.realisations .section-title { margin-bottom: 44px; }

/* Effet de respiration plus marque sur les transitions de sections */
.artisans { padding: 100px 0 110px 0; }
.process { padding: 100px 0; }
.values-grid { margin-top: 48px; }

/* Mobile : reduire les paddings mais garder la respiration */
@media (max-width: 768px) {
  .np-design { padding-bottom: 80px; }
  .realisations { padding-top: 90px; }
  .realisations::before { margin-bottom: 24px; }
}

/* =====================================================================
   PASSE LAYOUT GLOBAL — Espacement & transitions toutes les pages (47)
   Respect des regles UI/UX Pro Max + Writing : "tout respire,
   marges généreuses, jamais collé, transitions de sections claires"
   ===================================================================== */

/* --- 1. Page Hero : respiration en bas pour separer de la section suivante --- */
.page-hero,
.local-hero,
.service-hero {
  padding-bottom: 90px !important;
  position: relative;
}
.page-hero::after,
.local-hero::after,
.service-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.04) 100%);
  pointer-events: none;
}

/* --- 2. Breadcrumb : aere avant et apres --- */
.breadcrumb,
.breadcrumb-section {
  padding: 24px 0 !important;
  background: var(--surface-container-lowest, #ffffff);
  border-bottom: 1px solid rgba(196,199,197,0.15);
}

/* --- 3. Sections internes (secteurs + services + blog) : padding genereux --- */
.section-content,
.section-services-available,
.section-faq,
.villes-voisines,
.service-detail,
.article-section,
.devis-page,
.zones-page,
.legal {
  padding: 90px 0 !important;
  position: relative;
}

/* --- 4. Alternance de background-color : separation visuelle douce --- */
.section-content + .section-services-available,
.section-services-available + .section-content,
.section-services-available + .section-faq,
.section-faq + .villes-voisines,
.section-content + .section-faq,
.villes-voisines + .cta-final,
.section-faq + .cta-final {
  margin-top: 0;
}

/* Petit accent decoratif en haut de chaque section interieure */
.section-content::before,
.section-services-available::before,
.section-faq::before,
.villes-voisines::before,
.article-section::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: 0 auto 36px auto;
  opacity: 0.85;
}

/* Sauf si section-title a deja un stripe-accent : on retire le doublon */
.section-content .section-title .stripe-accent,
.section-services-available .section-title .stripe-accent,
.section-faq .section-title .stripe-accent,
.villes-voisines .section-title .stripe-accent {
  display: none;
}

/* --- 5. section-title : marges plus genereuses --- */
section .section-title {
  margin-bottom: 48px;
}
section .section-title h2 {
  margin-bottom: 14px;
}
section .section-title p {
  margin-bottom: 0;
}

/* --- 6. CTA-final : encadrement et respiration --- */
.cta-final {
  padding: 100px 0 !important;
  position: relative;
}

/* --- 7. FAQ : marges interieures plus aerees --- */
.faq-list,
.faq-block {
  margin-top: 24px;
}
.faq-item {
  margin-bottom: 16px;
}

/* --- 8. Article blog : aire entre paragraphes --- */
.article-content > p { margin-bottom: 1.35rem; line-height: 1.75; }
.article-content > h2 { margin-top: 3rem; margin-bottom: 1.25rem; }
.article-content > h3 { margin-top: 2.25rem; margin-bottom: 1rem; }
.article-content > ul,
.article-content > ol { margin: 1.25rem 0 1.5rem 1.5rem; }
.article-content > ul li,
.article-content > ol li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-content > blockquote {
  margin: 2rem 0;
  padding: 20px 28px;
  border-left: 4px solid var(--primary);
  background: var(--surface-container-low);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray);
}

/* --- 9. Sections inline-style (sans classe) sur a-propos/realisations/etc. --- */
section[style*="padding:80px 0"],
section[style*="padding: 80px 0"] {
  padding-top: 90px !important;
  padding-bottom: 90px !important;
}

/* --- 10. Related-services apres une galerie/article --- */
.related-services {
  padding: 80px 0 100px 0;
  background: var(--surface-container-low);
  margin-top: 0;
}

/* --- 11. Engagements / Zones (homepage) --- */
.engagements { padding: 90px 0; }
.zones { padding: 90px 0 100px 0; }

/* --- 12. Responsive : mobile, on garde de la respiration mais reduit --- */
@media (max-width: 768px) {
  .page-hero,
  .local-hero,
  .service-hero { padding-bottom: 60px !important; }
  .section-content,
  .section-services-available,
  .section-faq,
  .villes-voisines,
  .service-detail,
  .article-section,
  .devis-page,
  .zones-page,
  .legal { padding: 60px 0 !important; }
  .cta-final { padding: 70px 0 !important; }
  .section-content::before,
  .section-services-available::before,
  .section-faq::before,
  .villes-voisines::before,
  .article-section::before { margin-bottom: 24px; }
  section .section-title { margin-bottom: 32px; }
}

/* ============================================================
   GALERIE REALISATIONS — design enrichi pour les cartes
   chargees dynamiquement depuis Supabase (.gallery-item-mr)
   ============================================================ */
.gallery-grid { gap: 22px; }
@media (min-width: 768px) { .gallery-grid { gap: 28px; } }

.gallery-item-mr {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--surface-container-low);
  box-shadow: 0 4px 16px rgba(27,28,28,0.08);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease;
}
.gallery-item-mr:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(27,28,28,0.16);
}
.gallery-item-mr img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.gallery-item-mr:hover img { transform: scale(1.07); }

/* Badge nombre de photos */
.gallery-item-mr .gallery-photo-count {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(27,28,28,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  letter-spacing: 0.02em;
}

/* Caption permanente en bas avec gradient sombre */
.gallery-item-mr .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 20px 18px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, transparent 100%);
  color: white;
  z-index: 2;
  pointer-events: none;
}
.gallery-item-mr .gallery-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.gallery-item-mr .gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
@media (min-width: 768px) { .gallery-item-mr .gallery-title { font-size: 1.3rem; } }
.gallery-item-mr .gallery-meta {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Overlay loupe au hover (centre) */
.gallery-item-mr .gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,104,91,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.gallery-item-mr:hover .gallery-overlay { opacity: 1; }
.gallery-item-mr .gallery-overlay-circle {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.gallery-item-mr:hover .gallery-overlay-circle { transform: scale(1); }
.gallery-item-mr .gallery-overlay svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .gallery-item-mr,
  .gallery-item-mr img,
  .gallery-item-mr .gallery-overlay,
  .gallery-item-mr .gallery-overlay-circle { transition: none !important; }
  .gallery-item-mr:hover { transform: none !important; }
  .gallery-item-mr:hover img { transform: none !important; }
}

/* ============================================================
   REALISATIONS CARDS V4 — Carrousel avec photo + texte
   1 carte = 1 chantier, avec carrousel interne pour les N photos
   ============================================================ */

/* Grid : adaptive, cards plus larges (1 par ligne sur mobile, 2-3 sur desktop) */
.gallery-grid:has(.mr-rcard) {
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .gallery-grid:has(.mr-rcard) {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

/* La carte elle-meme */
.mr-rcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(27,28,28,0.08);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease;
  position: relative;
  cursor: default;
  /* Override des regles globales .gallery-item */
  aspect-ratio: auto !important;
}
.mr-rcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(27,28,28,0.14);
}

/* Zone media (photo + controls) */
.mr-rcard-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f4f3;
  border-radius: 18px 18px 0 0;
}
.mr-rcard-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.mr-rcard-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.mr-rcard-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge categorie (top-left) */
.mr-rcard-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Compteur photo (top-right) */
.mr-rcard-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(27,28,28,0.75);
  backdrop-filter: blur(8px);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 3;
  font-variant-numeric: tabular-nums;
}

/* Fleches de navigation */
.mr-rcard-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  z-index: 3;
}
.mr-rcard:hover .mr-rcard-arrow,
.mr-rcard:focus-within .mr-rcard-arrow { opacity: 1; }
@media (max-width: 768px) {
  /* Sur mobile : fleches toujours visibles (pas de hover) */
  .mr-rcard-arrow { opacity: 1; width: 40px; height: 40px; }
}
.mr-rcard-arrow:hover { background: white; transform: translateY(-50%) scale(1.08); }
.mr-rcard-arrow:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; opacity: 1; }
.mr-rcard-arrow-prev { left: 12px; }
.mr-rcard-arrow-next { right: 12px; }

/* Dots indicateurs (sous la photo) */
.mr-rcard-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 0 16px;
}
.mr-rcard-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,104,91,0.22);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
  /* Hit area plus large pour mobile */
  position: relative;
}
.mr-rcard-dot::before {
  content: '';
  position: absolute;
  inset: -10px;
}
.mr-rcard-dot:hover { background: rgba(0,104,91,0.5); }
.mr-rcard-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}
.mr-rcard-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* Body : titre + meta + description sous la photo */
.mr-rcard-body {
  padding: 20px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 768px) { .mr-rcard-body { padding: 24px 28px 28px 28px; } }
.mr-rcard-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px 0;
  line-height: 1.25;
}
@media (min-width: 768px) { .mr-rcard-title { font-size: 1.55rem; } }

/* Ligne ville (gauche) + prix (droite) */
.mr-rcard-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 14px 0;
  border-bottom: 1px solid rgba(0,104,91,0.12);
  margin-bottom: 14px;
}
.mr-rcard-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4a5560;
  font-size: 0.95rem;
  font-weight: 500;
  min-width: 0;
}
.mr-rcard-location svg { color: var(--primary); flex-shrink: 0; }
.mr-rcard-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mr-rcard-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}
@media (min-width: 768px) { .mr-rcard-price { font-size: 1.25rem; } }

.mr-rcard-desc {
  font-size: 0.97rem;
  line-height: 1.7;
  color: #3a434c;
  margin: 0 0 4px 0;
  /* Pas de troncature : description longue affichee entierement */
  word-wrap: break-word;
}

/* ============================================
   REFONTE BLOG 2026 — Magazine components + fixes
   Added by Cowork team audit, mai 2026
   ============================================ */

/* --- Failsafe : cartes blog toujours visibles, meme si JS casse --- */
.blog-card.reveal,
.blog-card-cta { opacity: 1 !important; transform: none !important; }

/* --- Blog cell : wrapper card + CTA secondaire (fix structure grid) --- */
.blog-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-cell .blog-card { flex: 1; }

/* --- Playfair Display reserve aux articles de blog (identite premium lecture longue) ---
   NOTE 17 mai 2026 : retire .page-hero h1 de cette regle pour harmoniser
   toutes les pages racine en Manrope (coherent avec l'accueil .hero et
   les pages secteurs .page-hero-secteur). Seuls les articles .article-content
   et .article-hero conservent Playfair Display. */
.article-content h1,
.article-content h2,
.article-hero h1,
.article-hero-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* --- Fix contraste body card (4.54 -> 5.5:1 AA fort) --- */
.blog-card-body p { color: #525a62; }
.breadcrumb { color: #525a62; }
.breadcrumb a { color: var(--primary); }

/* --- Anchor scroll sous header sticky --- */
.article-content h2,
.article-content h3,
.article-content h4 { scroll-margin-top: 100px; }

/* --- CTA secondaire dans la card blog (au lieu de <p> orphelin) --- */
.blog-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 24px 16px;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.blog-card-cta:hover { border-bottom-color: var(--primary); gap: 10px; }

/* --- HERO IMAGE article (composant full-bleed) --- */
.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  margin: 0;
  overflow: hidden;
  background: var(--surface-container-low);
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,28,28,0.05) 0%, rgba(27,28,28,0.6) 100%);
  pointer-events: none;
}
.article-hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px 24px;
  color: #ffffff;
  z-index: 1;
}
.article-hero-content .container { max-width: 1200px; margin: 0 auto; }
.article-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .article-hero { aspect-ratio: 16 / 10; }
  .article-hero-content { padding: 24px 20px; }
  .article-hero h1 { font-size: 1.6rem; }
}

/* --- Article meta bar (pill categorie + date + temps + auteur) --- */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 24px 0 32px;
  font-size: 0.87rem;
  color: #525a62;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.74rem;
  line-height: 1.5;
}
.meta-pill.cat-prix { background: rgba(0,104,91,0.12); color: var(--primary-dark); }
.meta-pill.cat-aides { background: rgba(141,73,56,0.12); color: var(--tertiary); }
.meta-pill.cat-comparatif { background: rgba(43,130,115,0.18); color: var(--primary-dark); }
.meta-pill.cat-conseil { background: rgba(27,28,28,0.08); color: var(--on-surface); }
.meta-sep { width: 4px; height: 4px; border-radius: 50%; background: #c4c7c5; }

/* --- Key takeaways (A retenir) --- */
.key-takeaways {
  background: var(--surface-container-low);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
}
.key-takeaways h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem !important;
  margin: 0 0 12px !important;
  color: var(--primary-dark);
  display: flex; align-items: center; gap: 8px;
}
.key-takeaways h3::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM10 17l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM10 17l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/></svg>") center/contain no-repeat;
}
.key-takeaways ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.key-takeaways ul li {
  position: relative;
  padding-left: 26px;
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--on-surface);
}
.key-takeaways ul li::before {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  background: var(--primary);
  border-radius: 50%;
}
.key-takeaways ul li::after {
  content: '';
  position: absolute; left: 5px; top: 9px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* --- Sommaire (TOC) sticky scroll-aware --- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.article-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 4px 0 4px 0;
  border-left: 1px solid var(--outline-variant);
}
.article-toc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-dark);
  font-weight: 700;
  margin: 0 0 14px 18px;
}
.article-toc ul { list-style: none; padding: 0; margin: 0; }
.article-toc li { margin: 0; padding: 0; }
.article-toc li a {
  display: block;
  padding: 6px 0 6px 18px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.88rem;
  color: #525a62;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.article-toc li a:hover { color: var(--primary); }
.article-toc li a.is-active {
  color: var(--primary-dark);
  border-left-color: var(--primary);
  font-weight: 700;
  background: rgba(0,104,91,0.04);
}
.article-toc li.toc-level-3 a {
  font-size: 0.82rem;
  padding-left: 32px;
}
.article-layout > .article-content {
  max-width: 760px;
  width: 100%;
  margin: 0;
}
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-toc { display: none; }
}

/* --- Toc mobile : bouton bottom-sheet --- */
.toc-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 90px; right: 16px;
  z-index: 95;
  width: 56px; height: 56px;
  border: none; border-radius: 50%;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,104,91,0.32);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.toc-mobile-toggle svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 1024px) { .toc-mobile-toggle { display: flex; } }
.toc-mobile-panel {
  position: fixed;
  left: 0; right: 0; bottom: -100%;
  z-index: 110;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  padding: 24px 24px 32px;
  max-height: 70vh;
  overflow-y: auto;
  transition: bottom 0.32s ease;
}
.toc-mobile-panel.is-open { bottom: 0; }
.toc-mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 109;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.toc-mobile-backdrop.is-open { opacity: 1; pointer-events: auto; }
.toc-mobile-panel .article-toc-title { margin-left: 0; }
.toc-mobile-panel ul { padding: 0; }

/* --- Lecture progress bar (par article) --- */
.article-reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary);
  z-index: 200;
  transition: width 0.1s linear;
  box-shadow: 0 1px 4px rgba(0,104,91,0.4);
}

/* --- Articles connexes (fin d'article) --- */
.related-articles {
  margin-top: 80px;
  padding: 56px 0;
  background: var(--surface-container-low);
}
.related-articles h2 {
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.85rem;
  margin: 0 0 32px;
  color: var(--on-surface);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.related-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  display: flex; flex-direction: column;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.related-card-img {
  aspect-ratio: 16/10;
  background: var(--surface-container);
  overflow: hidden;
}
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-body { padding: 16px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.related-card-body .meta-pill { align-self: flex-start; margin-bottom: 8px; }
.related-card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  margin: 0;
  color: var(--on-surface);
  font-weight: 700;
  line-height: 1.35;
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* --- CTA flottant article (desktop sidebar / mobile bottom-bar) --- */
.article-floating-cta {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,104,91,0.36);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.article-floating-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,104,91,0.42);
}
@media (max-width: 768px) {
  .article-floating-cta {
    right: 80px;
    bottom: 90px;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

/* --- Skip link a11y --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- Encart auteur (placeholder en attendant photos/bios) --- */
.author-card {
  margin: 56px 0 0;
  padding: 24px;
  background: var(--surface-container-low);
  border-radius: 12px;
  border: 1px solid var(--outline-variant);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.author-card .author-avatar {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
}
.author-card .author-body { flex: 1; min-width: 200px; }
.author-card h3 {
  margin: 0 0 4px !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.15rem !important;
  color: var(--on-surface);
}
.author-card .author-role {
  font-size: 0.85rem;
  color: #525a62;
  margin: 0 0 8px;
}
.author-card .author-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--on-surface);
  margin: 0;
}

/* --- Pullquote editoriale --- */
.article-content .pullquote {
  margin: 36px 0;
  padding: 24px 28px 24px 32px;
  border-left: 4px solid var(--primary);
  background: var(--surface-container-lowest);
  border-radius: 0 8px 8px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--on-surface);
}
.article-content .pullquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-style: normal;
  font-family: var(--font);
  color: #525a62;
}

/* --- FAQ articles : accordion visuel (fallback si pas de .faq-answer) --- */
.faq-item {
  background: var(--surface-container-lowest);
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--outline-variant);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item:hover { border-color: var(--primary); }
.faq-item h3,
.faq-item h4,
.faq-item .faq-question {
  position: relative;
  padding: 18px 56px 18px 24px;
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--on-surface);
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.faq-item h3::after,
.faq-item h4::after,
.faq-item .faq-question::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq-item.open h3::after,
.faq-item.open h4::after,
.faq-item.active h3::after,
.faq-item.active h4::after,
.faq-item.open .faq-question::after,
.faq-item.active .faq-question::after { transform: translateY(-30%) rotate(225deg); }
.faq-item > p,
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 24px;
  opacity: 0;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #3a434c;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}
.faq-item.open > p,
.faq-item.active > p,
.faq-item.open .faq-answer,
.faq-item.active .faq-answer {
  max-height: 800px;
  opacity: 1;
  padding: 4px 24px 22px;
}
.faq-item:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }

/* --- z-index stack mobile (éviter collisions CTA) --- */
@media (max-width: 768px) {
  .mobile-call-btn       { right: 16px;  bottom: 16px;  z-index: 90; }
  .article-floating-cta  { right: 16px;  bottom: 86px;  z-index: 91; padding: 10px 16px; font-size: 0.82rem; }
  .back-to-top           { right: 16px;  bottom: 156px; z-index: 92; }
  .toc-mobile-toggle     { right: 16px;  bottom: 226px; z-index: 93; }
}

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  .article-reading-progress,
  .article-toc li a,
  .blog-card,
  .related-card,
  .article-floating-cta,
  .faq-item,
  .faq-item > p,
  .faq-item .faq-answer { transition: none !important; }
}
/* === FIN REFONTE BLOG 2026 === */
.mr-rcard-date {
  font-size: 0.82rem;
  color: #6c757d;
  margin-top: 12px;
  font-style: italic;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .mr-rcard, .mr-rcard-track, .mr-rcard-arrow, .mr-rcard-dot { transition: none !important; }
  .mr-rcard:hover { transform: none !important; }
}

/* Neutralise les regles globales .gallery-item:hover pour les mr-rcard */
.gallery-grid .mr-rcard.gallery-item:hover img { transform: none; }
.gallery-grid .mr-rcard.gallery-item .gallery-overlay { display: none; }

/* ============================================
   NP DESIGN — Page services/permis-construire premium
   Added mai 2026 — composants visuels :
   pills hero, timeline 3 étapes, grille use cases,
   tableaux modernes, lightbox figures, author-card
   enrichie, CTA ribbon final.
   ============================================ */

/* --- Hero pills --------------------------------------------------- */
.np-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.np-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  backdrop-filter: saturate(140%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.np-pill svg { flex-shrink: 0; color: var(--primary); }
.np-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }

@media (max-width: 768px) {
  .np-hero-pills { gap: 8px; margin-top: 14px; }
  .np-pill { font-size: 0.76rem; padding: 6px 11px; }
}

/* --- Timeline 3 étapes ------------------------------------------- */
.np-timeline {
  position: relative;
  list-style: none;
  margin: 2rem 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 24px;
}
.np-timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 22px 24px 22px 18px;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.np-timeline-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
  border-color: rgba(0, 104, 91, 0.25);
}
/* Vertical progress line connecting markers */
.np-timeline-step::before {
  content: "";
  position: absolute;
  left: 53px;
  top: 78px;
  bottom: -24px;
  width: 2px;
  background: var(--outline-variant);
  z-index: 0;
}
.np-timeline-step:last-child::before { display: none; }
/* The "filled" portion grows when the timeline becomes active */
.np-timeline-step::after {
  content: "";
  position: absolute;
  left: 53px;
  top: 78px;
  width: 2px;
  height: 0;
  background: var(--primary);
  z-index: 1;
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.np-timeline.np-timeline-active .np-timeline-step::after { height: calc(100% + 24px); }
.np-timeline.np-timeline-active .np-timeline-step:last-child::after { height: 0; }
.np-timeline.np-timeline-active .np-timeline-step:nth-child(2)::after { transition-delay: 0.2s; }
.np-timeline.np-timeline-active .np-timeline-step:nth-child(3)::after { transition-delay: 0.4s; }

.np-timeline-marker {
  position: relative;
  z-index: 2;
  width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.np-timeline-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 104, 91, 0.25);
}
.np-timeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid rgba(0, 104, 91, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.np-timeline-body { min-width: 0; }
.np-timeline-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}
.np-timeline-title {
  margin: 0 0 6px !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.18rem !important;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.25;
}
.np-timeline-text {
  margin: 0 !important;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--on-surface);
}

/* Reveal animation entrance */
.np-timeline.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.np-timeline.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 640px) {
  .np-timeline-step {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 18px 18px 18px 14px;
  }
  .np-timeline-marker { width: 56px; }
  .np-timeline-num, .np-timeline-icon { width: 32px; height: 32px; font-size: 0.95rem; }
  .np-timeline-step::before,
  .np-timeline-step::after { left: 41px; top: 66px; }
  .np-timeline-title { font-size: 1.05rem !important; }
}

/* --- Grille use cases (8 cartes) --------------------------------- */
.np-usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 1.5rem 0 2.5rem;
}
.np-usecase-card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.np-usecase-card:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-float);
  border-color: rgba(0, 104, 91, 0.3);
}
.np-usecase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 104, 91, 0.08);
  color: var(--primary);
  margin-bottom: 4px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.np-usecase-card:hover .np-usecase-icon {
  transform: scale(1.08);
  background: rgba(0, 104, 91, 0.14);
}
.np-usecase-card h3 {
  margin: 4px 0 2px !important;
  font-size: 1.02rem !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700;
  line-height: 1.25;
  color: var(--on-surface);
}
.np-usecase-card p {
  margin: 0 !important;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #3a4147;
}

/* Reveal staggered via inline --np-delay */
.np-usecase-card.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transition-delay: var(--np-delay, 0s);
}
.np-usecase-card.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .np-usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .np-usecase-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* --- Tableaux modernes ------------------------------------------- */
.np-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 8px 24px rgba(27, 28, 28, 0.05);
  margin: 1.5rem 0 2rem;
  -webkit-overflow-scrolling: touch;
}
.article-content .np-table-modern {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  background: #fff;
  font-size: 0.95rem;
  overflow: hidden;
}
.article-content .np-table-modern thead th {
  background: var(--primary);
  color: var(--on-primary);
  text-align: left;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
}
.article-content .np-table-modern thead tr th:first-child { border-top-left-radius: var(--radius-lg); }
.article-content .np-table-modern thead tr th:last-child { border-top-right-radius: var(--radius-lg); }
.article-content .np-table-modern tbody tr { transition: background 0.2s ease; }
.article-content .np-table-modern tbody tr:nth-child(odd) { background: var(--surface-container-lowest); }
.article-content .np-table-modern tbody tr:nth-child(even) { background: #fff; }
.article-content .np-table-modern tbody tr:hover { background: var(--surface-container-low); }
.article-content .np-table-modern td {
  padding: 14px 18px;
  border-top: 1px solid var(--outline-variant);
  vertical-align: top;
  font-size: 0.94rem;
}
.article-content .np-table-modern td strong { color: var(--on-surface); font-weight: 700; }

@media (max-width: 640px) {
  .article-content .np-table-modern { font-size: 0.88rem; }
  .article-content .np-table-modern thead th,
  .article-content .np-table-modern td { padding: 12px 14px; }
}

/* --- Figures avec zoom hover ------------------------------------- */
.np-figure-zoom img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}
.np-figure-zoom img:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-lift);
}

/* --- Lightbox (NP) ----------------------------------------------- */
.np-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.np-lightbox.np-lightbox-open { display: flex; opacity: 1; }
.np-lightbox-img {
  max-width: 92%;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.np-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.np-lightbox-close:hover { background: rgba(255, 255, 255, 0.15); }

/* --- Author card enrichie ---------------------------------------- */
.np-author-card { gap: 24px; padding: 28px; }
.np-author-card .np-author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--outline-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  flex-shrink: 0;
}
.np-author-card .np-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.np-author-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.np-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(0, 104, 91, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.np-badge-verified svg { stroke: var(--primary); }

/* --- CTA Final "ruban" enrichi ----------------------------------- */
.np-cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
  padding: 80px 0 !important;
}
.np-cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.06), transparent 45%);
  pointer-events: none;
}
.np-cta-deco {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary-light), var(--primary-dark));
  background-size: 200% 100%;
  animation: np-stripe 6s linear infinite;
}
.np-cta-final .container { position: relative; z-index: 1; text-align: center; }
.np-cta-final h2 {
  color: #fff !important;
  font-size: clamp(1.9rem, 4vw, 2.6rem) !important;
  margin-bottom: 14px !important;
  font-family: 'Playfair Display', Georgia, serif !important;
}
.np-cta-final p {
  color: rgba(255, 255, 255, 0.88) !important;
  max-width: 620px;
  margin: 0 auto 32px !important;
  font-size: 1.08rem !important;
}
.np-cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-1px);
}
@keyframes np-stripe {
  0%   { background-position:   0% 0%; }
  100% { background-position: 200% 0%; }
}

/* --- Respect prefers-reduced-motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .np-timeline.reveal,
  .np-usecase-card.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .np-timeline-step,
  .np-usecase-card,
  .np-usecase-icon,
  .np-figure-zoom img,
  .np-pill,
  .btn-ghost-white { transition: none !important; }
  .np-timeline-step:hover,
  .np-usecase-card:hover,
  .np-figure-zoom img:hover,
  .np-pill:hover,
  .btn-ghost-white:hover { transform: none !important; }
  .np-timeline-step::after { transition: none !important; }
  .np-cta-deco { animation: none !important; }
}
/* === FIN NP DESIGN page premium === */

/* ============================================
   NP DESIGN - Hero sober (sans image, layout 2 cols)
   Added 12 mai 2026 - feedback Jerem (hero épuré)
   ============================================ */

.np-hero-sober {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, var(--surface-container-lowest) 0%, var(--surface-container-low) 100%);
  border-bottom: 1px solid var(--outline-variant);
}

.np-hero-sober-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .np-hero-sober { padding: 56px 0 40px; }
  .np-hero-sober-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
}

.np-hero-sober-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.18;
  font-weight: 700;
  color: var(--on-surface);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.np-hero-sober-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--on-surface-variant, #4a5054);
  margin: 0 0 24px;
  max-width: 580px;
}

@media (max-width: 900px) {
  .np-hero-sober-subtitle { margin-left: auto; margin-right: auto; }
}

.np-hero-sober .np-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .np-hero-sober .np-hero-pills { justify-content: center; }
}

.np-hero-sober-cta { margin-top: 8px; }

.np-hero-sober-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.np-hero-sober-logo img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  width: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 104, 91, 0.10));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.np-hero-sober-logo:hover img { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .np-hero-sober-logo img { transition: none; }
  .np-hero-sober-logo:hover img { transform: none; }
}
/* === FIN NP DESIGN Hero sober === */

/* === Hero sober - Override logo taille = texte (feedback Jerem) === */
.np-hero-sober-grid {
  align-items: stretch !important;
}
.np-hero-sober-logo {
  align-items: stretch !important;
  height: 100%;
}
.np-hero-sober-logo img {
  max-height: none !important;
  height: 100% !important;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  align-self: stretch;
}
@media (max-width: 900px) {
  .np-hero-sober-logo img {
    max-height: 220px !important;
    height: auto !important;
  }
}
/* === FIN override logo === */

/* ============================================
   HOMEPAGE — Refonte icônes services (moderne)
   Added 2026-05-12 — feedback Jerem
   Style : line icons outline (Heroicons / Lucide)
   Container : cercle subtil + halo, hover premium
   ============================================ */

/* Container modernisé — surcharge .icon */
.service-card .icon.icon-modern {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 104, 91, 0.10), rgba(0, 104, 91, 0.04) 60%, transparent 80%),
    var(--surface-container-low);
  position: relative;
  margin-bottom: 24px;
  color: var(--primary);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s ease,
              box-shadow 0.35s ease,
              color 0.35s ease;
  will-change: transform;
}

/* Anneau d'accent fin autour du cercle, révélé au hover */
.service-card .icon.icon-modern::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 104, 91, 0.25);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.6s ease;
  transform: rotate(0deg);
  pointer-events: none;
}

/* Icône SVG en stroke (mode outline) — override du fill historique */
.service-card .icon.icon-modern svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  vector-effect: non-scaling-stroke;
}

/* Hover : cercle se remplit en primary, icône passe en blanc, anneau apparaît + tourne */
.service-card:hover .icon.icon-modern {
  background:
    radial-gradient(circle at 30% 30%, var(--primary-light), var(--primary) 70%);
  color: var(--on-primary);
  box-shadow:
    0 8px 24px rgba(0, 104, 91, 0.28),
    0 2px 6px rgba(0, 104, 91, 0.15);
  transform: translateY(-2px) scale(1.04);
}

.service-card:hover .icon.icon-modern::before {
  opacity: 1;
  transform: rotate(45deg);
}

.service-card:hover .icon.icon-modern svg {
  transform: scale(1.08) rotate(-3deg);
}

/* Focus visible (accessibilité clavier) */
.service-card:focus-visible .icon.icon-modern {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Tablette : taille légèrement réduite */
@media (max-width: 900px) {
  .service-card .icon.icon-modern {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }
  .service-card .icon.icon-modern svg {
    width: 28px;
    height: 28px;
  }
}

/* Mobile : container un peu plus compact */
@media (max-width: 600px) {
  .service-card .icon.icon-modern {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }
  .service-card .icon.icon-modern svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.85;
  }
}

/* Respect strict de prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .service-card .icon.icon-modern,
  .service-card .icon.icon-modern svg,
  .service-card .icon.icon-modern::before {
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    transform: none !important;
    animation: none !important;
  }
  .service-card:hover .icon.icon-modern,
  .service-card:hover .icon.icon-modern svg {
    transform: none !important;
  }
  .service-card:hover .icon.icon-modern::before {
    transform: none !important;
  }
}
/* === FIN refonte icônes services === */
/* ============================================================
   PATCH HEADER — Mai 2026
   Ajouts CSS pour le mega-menu Services + accordéon mobile
   À ajouter À LA FIN du fichier css/style.css
   ============================================================ */

/* === Bouton parent du dropdown (style identique aux liens) === */
.nav-links .has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-links .nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--on-surface);
  letter-spacing: 0.01em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.nav-links .nav-toggle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links .nav-toggle:hover,
.nav-links .nav-toggle.active,
.has-dropdown.open .nav-toggle { color: var(--primary); }
.nav-links .nav-toggle:hover::after,
.nav-links .nav-toggle.active::after,
.has-dropdown.open .nav-toggle::after { width: 100%; }
.nav-toggle .chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
.has-dropdown.open .nav-toggle .chevron { transform: rotate(180deg); }

/* === Mega-dropdown desktop === */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1080px, calc(100vw - 40px));
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease;
  z-index: 999;
}
.has-dropdown.open .mega-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mega-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,104,91,0.15);
}
.mega-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--on-surface);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1.45;
}
.mega-col a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* === Footer du mega-menu === */
.mega-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}
.mega-all-services {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.mega-all-services:hover { gap: 10px; }
.mega-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.mega-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* === Accordéon Services dans le mobile-nav === */
.mobile-nav .mobile-accordion {
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0;
}
.mobile-nav .mobile-accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--on-surface);
  background: none;
  border: none;
  width: 100%;
  font-family: inherit;
  text-align: left;
  transition: var(--transition);
}
.mobile-nav .mobile-accordion-toggle:hover { color: var(--primary); }
.mobile-nav .mobile-accordion-toggle.active { color: var(--primary); }
.mobile-nav .mobile-accordion-toggle .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.mobile-nav .mobile-accordion.open .mobile-accordion-toggle .chevron {
  transform: rotate(180deg);
}
.mobile-nav .mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav .mobile-accordion.open .mobile-accordion-content {
  max-height: 1200px;
}
.mobile-nav .mobile-accordion-content a {
  padding: 10px 0 10px 16px;
  font-size: 0.95rem;
  color: #555;
  display: block;
  text-decoration: none;
}
.mobile-nav .mobile-accordion-content a:hover {
  color: var(--primary);
  padding-left: 22px;
}
.mobile-nav .mobile-accordion-content .sub-group {
  padding: 12px 0 6px 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

/* === Lien actif (auto via JS) === */
.nav-links a.active::after { width: 100%; }

/* === Responsive : adaptations === */
@media (max-width: 1280px) {
  .mega-dropdown { padding: 24px; }
  .mega-grid { gap: 18px; }
  .mega-col h4 { font-size: 0.72rem; }
  .mega-col a { font-size: 0.9rem; }
}
@media (max-width: 1024px) {
  /* Le dropdown desktop est masqué naturellement avec .nav-links */
  .mega-dropdown { display: none; }
}
/* ============================================================
   PATCH HEADER — Mai 2026
   Ajouts CSS pour le mega-menu Services + accordéon mobile
   À ajouter À LA FIN du fichier css/style.css
   ============================================================ */

/* === Bouton parent du dropdown (style identique aux liens) === */
.nav-links .has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-links .nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--on-surface);
  letter-spacing: 0.01em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.nav-links .nav-toggle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links .nav-toggle:hover,
.nav-links .nav-toggle.active,
.has-dropdown.open .nav-toggle { color: var(--primary); }
.nav-links .nav-toggle:hover::after,
.nav-links .nav-toggle.active::after,
.has-dropdown.open .nav-toggle::after { width: 100%; }
.nav-toggle .chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.25s ease;
}
.has-dropdown.open .nav-toggle .chevron { transform: rotate(180deg); }

/* === Mega-dropdown desktop === */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1080px, calc(100vw - 40px));
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease;
  z-index: 999;
}
.has-dropdown.open .mega-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.mega-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,104,91,0.15);
}
.mega-col a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--on-surface);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1.45;
}
.mega-col a:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* === Footer du mega-menu === */
.mega-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}
.mega-all-services {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.mega-all-services:hover { gap: 10px; }
.mega-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.mega-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* === Accordéon Services dans le mobile-nav === */
.mobile-nav .mobile-accordion {
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0;
}
.mobile-nav .mobile-accordion-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--on-surface);
  background: none;
  border: none;
  width: 100%;
  font-family: inherit;
  text-align: left;
  transition: var(--transition);
}
.mobile-nav .mobile-accordion-toggle:hover { color: var(--primary); }
.mobile-nav .mobile-accordion-toggle.active { color: var(--primary); }
.mobile-nav .mobile-accordion-toggle .chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.mobile-nav .mobile-accordion.open .mobile-accordion-toggle .chevron {
  transform: rotate(180deg);
}
.mobile-nav .mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.mobile-nav .mobile-accordion.open .mobile-accordion-content {
  max-height: 1200px;
}
.mobile-nav .mobile-accordion-content a {
  padding: 10px 0 10px 16px;
  font-size: 0.95rem;
  color: #555;
  display: block;
  text-decoration: none;
}
.mobile-nav .mobile-accordion-content a:hover {
  color: var(--primary);
  padding-left: 22px;
}
.mobile-nav .mobile-accordion-content .sub-group {
  padding: 12px 0 6px 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
}

/* === Lien actif (auto via JS) === */
.nav-links a.active::after { width: 100%; }

/* === Responsive : adaptations === */
@media (max-width: 1280px) {
  .mega-dropdown { padding: 24px; }
  .mega-grid { gap: 18px; }
  .mega-col h4 { font-size: 0.72rem; }
  .mega-col a { font-size: 0.9rem; }
}
@media (max-width: 1024px) {
  /* Le dropdown desktop est masqué naturellement avec .nav-links */
  .mega-dropdown { display: none; }
}

/* ============================================================
   PATCH PERMIS — Mai 2026
   CSS pour l'encart sign-off NP Design en bas de la page
   services/permis-construire.html
   À ajouter À LA FIN du fichier css/style.css
   ============================================================ */

/* === Sign-off partenariat NP Design (page permis-construire) === */
.permis-signoff {
  padding: 28px 0;
  background: var(--surface-container-low, #f5f5f0);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.permis-signoff .container {
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: left;
}
.permis-signoff .signoff-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}
.permis-signoff p {
  font-size: 0.88rem;
  color: #5a5a5a;
  font-style: italic;
  line-height: 1.55;
  margin: 0;
  max-width: 580px;
}
.permis-signoff p strong {
  color: var(--on-surface, #1b1c1c);
  font-weight: 600;
  font-style: normal;
}
.permis-signoff .signoff-label {
  font-style: normal;
  font-weight: 600;
  color: var(--primary, #00685b);
  margin-right: 4px;
}
@media (max-width: 600px) {
  .permis-signoff .container {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
  .permis-signoff p {
    text-align: center;
  }
}

/* ============================================================
   PATCH HOMEPAGE — Mai 2026 (refonte design)
   À ajouter À LA FIN du fichier css/style.css
   Toutes les classes sont prefixees -v2 ou nouvelles
   ============================================================ */

/* === Variables additionnelles === */
:root {
  --hp-primary-soft: #e8f1ef;
  --hp-cream: #f5f5f0;
  --hp-cream-warm: #eeedea;
  --hp-line: rgba(27,28,28,0.08);
  --hp-line-soft: rgba(27,28,28,0.04);
  --hp-shadow-lift: 0 12px 40px rgba(27,28,28,0.10);
  --hp-shadow-deep: 0 24px 60px rgba(0,104,91,0.15);
  --hp-on-surface-soft: #5a5a5a;
  --hp-radius-md: 16px;
  --hp-radius-lg: 24px;
}

/* === Section title shared === */
.about-snippet .sec-eyebrow,
.services-v2 .sec-eyebrow,
.process-v2 .sec-eyebrow,
.np-design-v2 .sec-eyebrow,
.engagements-v2 .sec-eyebrow,
.why-v2 .sec-eyebrow,
.faq-v2 .sec-eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.services-v2 .sec-title,
.process-v2 .sec-title,
.np-design-v2 .sec-title,
.engagements-v2 .sec-title,
.why-v2 .sec-title,
.faq-v2 .sec-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--on-surface);
  margin-bottom: 18px;
}
.services-v2 .sec-sub,
.process-v2 .sec-sub,
.engagements-v2 .sec-sub,
.faq-v2 .sec-sub {
  color: var(--hp-on-surface-soft);
  font-size: 1.05rem;
  max-width: 700px;
  line-height: 1.65;
}

/* === About snippet (MY RENOV en bref) === */
.about-snippet {
  padding: 60px 0;
  background: var(--hp-cream);
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
}
.about-snippet-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.about-snippet-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.about-snippet-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--on-surface);
  letter-spacing: -0.01em;
}
.about-snippet-text strong { color: var(--primary); font-weight: 700; }

/* === SERVICES v2 (bento) === */
.services-v2 { padding: 140px 0; background: var(--hp-cream); }
.services-v2 .services-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 64px;
  gap: 40px; flex-wrap: wrap;
}
.services-v2 .services-link {
  color: var(--primary); font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--primary); padding-bottom: 4px;
  transition: gap 0.3s ease;
}
.services-v2 .services-link:hover { gap: 14px; }
.services-v2 .services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.services-v2 .service-card {
  position: relative; overflow: hidden;
  border-radius: var(--hp-radius-md); cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}
.services-v2 .service-card.s1 { grid-column: span 4; grid-row: span 2; }
.services-v2 .service-card.s2,
.services-v2 .service-card.s3,
.services-v2 .service-card.s4,
.services-v2 .service-card.s5,
.services-v2 .service-card.s6 { grid-column: span 2; }
.services-v2 .service-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.services-v2 .service-card:hover .service-img { transform: scale(1.06); }
.services-v2 .service-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(27,28,28,0.85) 0%, rgba(27,28,28,0.2) 60%, rgba(27,28,28,0.05) 100%);
}
.services-v2 .service-content {
  position: absolute; inset: 0;
  padding: 24px; display: flex; flex-direction: column;
  justify-content: flex-end; color: #fff; z-index: 2;
}
.services-v2 .service-card.s1 .service-content { padding: 36px; }
.services-v2 .service-card.s1 h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem; line-height: 1.05;
  font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.services-v2 .service-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem; line-height: 1.1;
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: #fff;
}
.services-v2 .service-content p {
  font-size: 0.92rem; opacity: 0.9;
  margin-bottom: 16px; max-width: 380px;
  color: #fff;
}
.services-v2 .service-card.s1 .service-content p { font-size: 1rem; max-width: 480px; }
.services-v2 .service-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  align-self: flex-start;
}
.services-v2 .service-card:hover .service-arrow {
  background: #fff; color: var(--primary);
  transform: rotate(-45deg);
}

/* === PROCESS v2 (timeline moderne) === */
.process-v2 { padding: 140px 0; background: var(--surface); }
.process-v2 .process-head { text-align: center; margin-bottom: 80px; }
.process-v2 .sec-eyebrow.center { justify-content: center; }
.process-v2 .process-head .sec-title { margin: 0 auto 18px; max-width: 800px; }
.process-v2 .process-head .sec-sub { margin: 0 auto; }
.process-v2 .process-timeline {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-v2 .process-line {
  position: absolute; top: 56px; left: 12%; right: 12%;
  height: 1px; background: var(--hp-line); z-index: 0;
}
.process-v2 .process-line-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  background: var(--primary); width: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-v2.visible .process-line-fill { width: 100%; }
.process-v2 .process-step { position: relative; text-align: center; z-index: 1; }
.process-v2 .process-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--hp-cream); color: var(--primary);
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid var(--hp-line);
}
.process-v2 .process-step:hover .process-step-num {
  background: var(--primary); color: #fff;
  transform: translateY(-4px);
}
.process-v2 .process-step h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.process-v2 .process-step p {
  color: var(--hp-on-surface-soft); font-size: 0.95rem;
  line-height: 1.6; max-width: 260px; margin: 0 auto;
}

/* === NP DESIGN v2 (split moderne) === */
.np-design-v2 { padding: 140px 0; background: var(--hp-cream); overflow: hidden; }
.np-design-v2 .np-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.np-design-v2 .np-img {
  position: relative; border-radius: var(--hp-radius-lg);
  overflow: hidden;
  box-shadow: var(--hp-shadow-deep);
  background: var(--surface);
}
.np-design-v2 .np-img img {
  width: 100%; height: auto;
  display: block;
}
.np-design-v2 .np-img-badge {
  position: absolute; top: 24px; left: 24px;
  background: rgba(255,255,255,0.95); color: var(--primary);
  padding: 10px 18px; border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}
.np-design-v2 .np-content .sec-title { margin-bottom: 24px; }
.np-design-v2 .np-content p {
  color: var(--on-surface); font-size: 1.05rem;
  line-height: 1.7; margin-bottom: 16px;
}
.np-design-v2 .np-content p strong { color: var(--primary); font-weight: 600; }
.np-design-v2 .np-highlight {
  margin-top: 24px; padding: 20px 24px;
  background: rgba(0,104,91,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.98rem;
}
.np-design-v2 .np-content .btn { margin-top: 32px; }

/* === ENGAGEMENTS v2 (ghost numbers) === */
.engagements-v2 { padding: 140px 0; background: var(--surface); }
.engagements-v2 .commit-head { margin-bottom: 80px; max-width: 720px; }
.engagements-v2 .commit-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.engagements-v2 .commit-card {
  position: relative;
  background: var(--hp-cream);
  padding: 48px 32px 44px;
  border-radius: var(--hp-radius-lg);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  cursor: default;
}
.engagements-v2 .commit-ghost {
  position: absolute;
  top: -28px; right: -8px;
  font-family: 'Manrope', sans-serif;
  font-size: 8.5rem; font-weight: 900;
  color: rgba(0, 104, 91, 0.07);
  line-height: 1;
  letter-spacing: -0.08em;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.engagements-v2 .commit-card:hover {
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 104, 91, 0.12);
  transform: translateY(-8px);
}
.engagements-v2 .commit-card:hover .commit-ghost {
  color: rgba(0, 104, 91, 0.14);
  transform: scale(1.05) translate(-4px, 4px);
}
.engagements-v2 .commit-icon-wrap {
  position: relative; z-index: 1; margin-bottom: 28px;
}
.engagements-v2 .commit-icon {
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.engagements-v2 .commit-card:hover .commit-icon {
  background: var(--primary); color: #fff;
  transform: rotate(-4deg) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 104, 91, 0.30);
}
.engagements-v2 .commit-num {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.engagements-v2 .commit-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  position: relative; z-index: 1;
  line-height: 1.25;
  color: var(--on-surface);
}
.engagements-v2 .commit-card p {
  color: var(--hp-on-surface-soft);
  font-size: 0.94rem; line-height: 1.65;
  position: relative; z-index: 1;
}

/* === WHY v2 (sticky scroll) === */
.why-v2 { padding: 140px 0; background: var(--hp-cream); }
.why-v2 .why-head { max-width: 820px; margin-bottom: 64px; }
.why-v2 .why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: flex-start;
}
.why-v2 .why-sticky {
  position: sticky; top: 120px;
  height: 580px;
  border-radius: var(--hp-radius-lg);
  overflow: hidden;
  box-shadow: var(--hp-shadow-deep);
}
.why-v2 .why-sticky-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-v2 .why-sticky-img.active { opacity: 1; }
.why-v2 .why-sticky-label {
  position: absolute; bottom: 28px; left: 28px;
  background: rgba(255,255,255,0.95); color: var(--on-surface);
  padding: 12px 20px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  backdrop-filter: blur(8px);
}
.why-v2 .why-list { display: flex; flex-direction: column; }
.why-v2 .why-item {
  padding: 28px 0; border-bottom: 1px solid var(--hp-line);
  cursor: pointer; transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.why-v2 .why-item:last-child { border-bottom: 0; }
.why-v2 .why-item-num {
  font-family: 'Manrope', sans-serif;
  color: var(--primary); font-size: 0.9rem;
  font-weight: 600; margin-bottom: 8px; display: block;
}
.why-v2 .why-item h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem; font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.02em;
  transition: color 0.25s ease;
  color: var(--on-surface);
}
.why-v2 .why-item.active h3 { color: var(--primary); }
.why-v2 .why-item p {
  color: var(--hp-on-surface-soft);
  font-size: 0.95rem; line-height: 1.65;
  max-height: 0; overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
}
.why-v2 .why-item.active p {
  max-height: 320px; opacity: 1; padding-top: 4px;
}
.why-v2 .why-item p strong { color: var(--on-surface); font-weight: 600; }
.why-v2 .why-item p a {
  color: var(--primary); font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.why-v2 .why-item p a:hover { color: var(--primary-dark); }

/* === FAQ v2 (typo Manrope) === */
.faq-v2 { padding: 140px 0; background: var(--surface); }
.faq-v2 .faq-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: flex-start;
}
.faq-v2 .faq-list { display: flex; flex-direction: column; }
.faq-v2 .faq-item { border-bottom: 1px solid var(--hp-line); }
.faq-v2 .faq-q {
  padding: 28px 0; display: flex;
  justify-content: space-between; align-items: center;
  cursor: pointer; transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-v2 .faq-q h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--on-surface);
  letter-spacing: -0.005em;
  font-style: normal !important;
  transition: color 0.25s ease;
  margin: 0;
}
.faq-v2 .faq-item.open .faq-q h3 { color: var(--primary); }
.faq-v2 .faq-q:hover h3 { color: var(--primary); }
.faq-v2 .faq-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--hp-cream);
  border: 1px solid var(--hp-line);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0; margin-left: 16px;
  color: var(--on-surface);
}
.faq-v2 .faq-item.open .faq-toggle {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  transform: rotate(45deg);
}
.faq-v2 .faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
}
.faq-v2 .faq-item.open .faq-a {
  max-height: 600px; padding-bottom: 28px;
}
.faq-v2 .faq-a p {
  color: var(--on-surface);
  line-height: 1.75; font-size: 0.98rem;
  margin: 0;
}
.faq-v2 .faq-a p strong { font-weight: 600; }
.faq-v2 .faq-help {
  background: var(--hp-cream);
  border: 1px solid var(--hp-line);
  padding: 36px; border-radius: var(--hp-radius-md);
  position: sticky; top: 120px;
  margin-top: 32px;
}
.faq-v2 .faq-help h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.faq-v2 .faq-help p {
  color: var(--hp-on-surface-soft);
  margin-bottom: 24px; font-size: 0.95rem;
}
.faq-v2 .faq-help-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--primary); color: #fff;
  padding: 14px 22px; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-v2 .faq-help-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .np-design-v2 .np-grid,
  .why-v2 .why-grid,
  .faq-v2 .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-v2 .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-v2 .service-card.s1 { grid-column: span 2; grid-row: span 1; }
  .services-v2 .service-card.s2,
  .services-v2 .service-card.s3,
  .services-v2 .service-card.s4,
  .services-v2 .service-card.s5,
  .services-v2 .service-card.s6 { grid-column: span 1; }
  .process-v2 .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .process-v2 .process-line { display: none; }
  .engagements-v2 .commit-grid { grid-template-columns: repeat(2, 1fr); }
  .why-v2 .why-sticky { position: relative; top: 0; height: 400px; }
}
@media (max-width: 700px) {
  .about-snippet { padding: 40px 0; }
  .about-snippet-text { font-size: 1.05rem; }
  .services-v2, .process-v2, .np-design-v2, .engagements-v2, .why-v2, .faq-v2 { padding: 80px 0; }
  .services-v2 .services-grid, .engagements-v2 .commit-grid { grid-template-columns: 1fr; }
  .services-v2 .service-card.s1 { grid-column: span 1; }
  .process-v2 .process-timeline { grid-template-columns: 1fr; }
}
/* ============================================================
   HOTFIX HOMEPAGE — Mai 2026
   Override des conflits CSS sur la FAQ refondue
   À ajouter À LA FIN du fichier css/style.css
   ============================================================ */

/* === FAQ v2 : neutraliser les anciens styles parasites === */
.faq-v2 .faq-item {
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hp-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.faq-v2 .faq-item:hover {
  box-shadow: none !important;
  transform: none !important;
}
.faq-v2 .faq-item.open,
.faq-v2 .faq-item.active {
  box-shadow: none !important;
  border-color: var(--hp-line) !important;
  background: transparent !important;
  transform: none !important;
}

/* === FAQ v2 : harmoniser le bloc question (au cas où ancien CSS l'attaquerait) === */
.faq-v2 .faq-q {
  background: transparent !important;
  padding: 28px 0 !important;
  min-height: auto !important;
}
.faq-v2 .faq-q:hover {
  background: transparent !important;
}
.faq-v2 .faq-item.open .faq-q,
.faq-v2 .faq-item.active .faq-q {
  background: transparent !important;
}

/* === FAQ v2 : zone réponse propre === */
.faq-v2 .faq-a {
  background: transparent !important;
}
.faq-v2 .faq-item.open .faq-a {
  background: transparent !important;
  padding: 0 0 28px 0 !important;
}

/* ============================================================
   PATCH PLAN 3D — Mai 2026
   CSS pour la page services/design-interieur-plan-3d.html
   Cohérent avec la refonte homepage (Manrope, vert MY RENOV, fond crème)
   À ajouter À LA FIN du fichier css/style.css
   ============================================================ */

:root {
  --p3d-primary-soft: #e8f1ef;
  --p3d-cream: #f5f5f0;
  --p3d-line: rgba(27,28,28,0.08);
  --p3d-on-soft: #5a5a5a;
  --p3d-shadow: 0 12px 40px rgba(27,28,28,0.10);
  --p3d-shadow-deep: 0 24px 60px rgba(0,104,91,0.15);
}

/* === HERO === */
.plan3d-hero {
  padding: 40px 0 80px;
  background: var(--surface, #fff);
}
.plan3d-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.plan3d-hero-text h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--on-surface, #1b1c1c);
  margin-bottom: 24px;
}
.plan3d-hero-text h1 span {
  color: var(--primary, #00685b);
}
.plan3d-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--p3d-on-soft);
  margin-bottom: 28px;
  max-width: 580px;
}
.plan3d-hero-subtitle strong {
  color: var(--on-surface, #1b1c1c);
  font-weight: 600;
}
.plan3d-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.plan3d-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--p3d-primary-soft);
  color: var(--primary, #00685b);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}
.plan3d-pill svg { flex-shrink: 0; }
.plan3d-hero-cta { margin-top: 8px; }
.plan3d-hero-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--p3d-shadow-deep);
  background: var(--surface, #fff);
}
.plan3d-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* === ARTICLE === */
.plan3d-article {
  padding: 60px 0 100px;
  background: var(--surface, #fff);
}
.plan3d-article > .container {
  max-width: 880px;
}
.plan3d-section {
  padding: 32px 0;
}
.plan3d-section + .plan3d-section {
  border-top: 1px solid var(--p3d-line);
  margin-top: 16px;
}
.plan3d-section h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--on-surface, #1b1c1c);
  margin-bottom: 20px;
}
.plan3d-section p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--on-surface, #1b1c1c);
  margin-bottom: 16px;
}
.plan3d-section p strong {
  color: var(--on-surface, #1b1c1c);
  font-weight: 600;
}
.plan3d-section a {
  color: var(--primary, #00685b);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 500;
}
.plan3d-section a:hover { color: var(--primary-dark, #004d44); }

/* === LISTE BÉNÉFICES === */
.plan3d-benefits {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.plan3d-benefits li {
  position: relative;
  padding: 16px 0 16px 32px;
  border-bottom: 1px solid var(--p3d-line);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--on-surface, #1b1c1c);
}
.plan3d-benefits li:last-child { border-bottom: 0; }
.plan3d-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 16px;
  height: 16px;
  background: var(--primary, #00685b);
  border-radius: 4px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") center/contain no-repeat;
  background: var(--primary, #00685b);
}

/* === PROCESS 5 ÉTAPES === */
.plan3d-process {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 16px;
}
.plan3d-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: var(--p3d-cream);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.plan3d-step:hover {
  background: var(--surface, #fff);
  box-shadow: var(--p3d-shadow);
  transform: translateX(4px);
}
.plan3d-step-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary, #00685b);
  line-height: 1;
  text-align: center;
}
.plan3d-step-body h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--on-surface, #1b1c1c);
}
.plan3d-step-body p {
  margin-bottom: 0;
  color: var(--p3d-on-soft);
  font-size: 0.96rem;
}

/* === COMPARAISON 2D vs 3D === */
.plan3d-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.plan3d-compare-card {
  padding: 24px;
  background: var(--p3d-cream);
  border-radius: 16px;
  border-left: 3px solid var(--primary, #00685b);
}
.plan3d-compare-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary, #00685b);
}
.plan3d-compare-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* === PRICING === */
.plan3d-pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.plan3d-price-card {
  padding: 28px 24px;
  background: var(--surface, #fff);
  border: 1px solid var(--p3d-line);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.plan3d-price-card:hover {
  border-color: var(--primary, #00685b);
  box-shadow: var(--p3d-shadow);
  transform: translateY(-4px);
}
.plan3d-price-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--on-surface, #1b1c1c);
}
.plan3d-price {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary, #00685b);
  margin-bottom: 12px;
}
.plan3d-price-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--p3d-on-soft);
}
.plan3d-price-card-special {
  background: var(--p3d-primary-soft);
  border-color: var(--primary, #00685b);
}
.plan3d-price-card-special .plan3d-price {
  font-size: 1.3rem;
  font-weight: 700;
}

/* === LISTE PROJETS === */
.plan3d-projects {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.plan3d-projects li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid var(--p3d-line);
  font-size: 1rem;
  line-height: 1.65;
}
.plan3d-projects li:last-child { border-bottom: 0; }
.plan3d-projects li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary, #00685b);
  font-weight: 700;
}

/* === FAQ (réutilise le système existant .faq-item / .faq-question / .faq-answer) === */
/* Pas de styles spécifiques, on hérite du CSS du site */

/* === FINAL CTA === */
.plan3d-final-cta {
  text-align: center;
  padding: 48px 0 32px !important;
  border-top: 0 !important;
  margin-top: 16px;
}
.plan3d-final-cta h2 {
  margin-bottom: 16px;
}
.plan3d-final-actions {
  margin: 24px 0 16px;
}
.plan3d-final-contact {
  font-size: 0.95rem;
  color: var(--p3d-on-soft);
}
.plan3d-final-contact strong {
  color: var(--primary, #00685b);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
}

/* === SIGN-OFF NP DESIGN === */
.plan3d-signoff {
  padding: 28px 0;
  background: var(--p3d-cream);
  border-top: 1px solid var(--p3d-line);
  border-bottom: 1px solid var(--p3d-line);
}
.plan3d-signoff .container {
  max-width: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.plan3d-signoff-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}
.plan3d-signoff p {
  font-size: 0.88rem;
  color: #5a5a5a;
  font-style: italic;
  line-height: 1.55;
  margin: 0;
  max-width: 580px;
}
.plan3d-signoff p strong {
  color: var(--on-surface, #1b1c1c);
  font-weight: 600;
  font-style: normal;
}
.plan3d-signoff-label {
  font-style: normal;
  font-weight: 600;
  color: var(--primary, #00685b);
  margin-right: 4px;
}

/* === REVEAL (compatibilité système existant .visible) === */
.plan3d-section.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.plan3d-section.reveal.visible { opacity: 1; transform: translateY(0); }
.plan3d-hero-text.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.plan3d-hero-text.reveal.visible { opacity: 1; transform: translateY(0); }
.plan3d-hero-img.reveal { opacity: 0; transform: translateY(20px) scale(0.98); transition: opacity 0.9s ease, transform 0.9s ease; }
.plan3d-hero-img.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .plan3d-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .plan3d-compare { grid-template-columns: 1fr; }
  .plan3d-pricing { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .plan3d-hero { padding: 20px 0 60px; }
  .plan3d-article { padding: 40px 0 80px; }
  .plan3d-step { grid-template-columns: 60px 1fr; gap: 16px; padding: 18px; }
  .plan3d-step-num { font-size: 2rem; }
  .plan3d-signoff .container { flex-direction: column; text-align: center; }
  .plan3d-signoff p { text-align: center; }
}

/* ============================================================
   HOTFIX V2 — Patch CSS final consolidé
   Date : 2026-05-13
   Cible : permis-construire.html + design-interieur-plan-3d.html
   À COLLER À LA FIN de css/style.css
   ============================================================ */

/* ---- BUG #3 : Titres FAQ forcés en Manrope (override Playfair) ----
   Origine du conflit : .faq-item h3 / .faq-item .faq-question
   déclarent font-family: 'Playfair Display' à la ligne ~2934. */

.faq-item h3,
.faq-item h4,
.faq-item .faq-question,
.faq-block .faq-item h3,
.faq-block .faq-item .faq-question,
.faq-list .faq-item h3,
.faq-list .faq-item .faq-question,
.article-content .faq-item h3,
.article-content .faq-item .faq-question {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

.faq-item h3,
.faq-item .faq-question {
  font-size: 1.02rem !important;
  line-height: 1.4 !important;
}

/* ---- BUG #4 : CTA "Demander un plan 3D gratuit" rendu visible ----
   Origine du conflit : .plan3d-section a (ligne ~4888) force
   color: var(--primary) + text-decoration: underline sur TOUS
   les <a> de la section, y compris .btn-primary.
   Fix : restaurer le bouton en blanc sur dégradé vert. */

.plan3d-final-cta .plan3d-final-actions a.btn,
.plan3d-final-cta .plan3d-final-actions a.btn-primary,
.plan3d-section .plan3d-final-actions a.btn-primary,
.plan3d-final-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary, #00685b), var(--primary-container, #2b8273)) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none !important;
  font-weight: 600 !important;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif !important;
  padding: 18px 36px !important;
  font-size: 1rem !important;
  border-radius: var(--radius, 10px) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
  box-shadow: 0 4px 14px rgba(0, 104, 91, 0.18) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  cursor: pointer !important;
}

.plan3d-final-cta .plan3d-final-actions a.btn-primary:hover,
.plan3d-section .plan3d-final-actions a.btn-primary:hover,
.plan3d-final-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark, #004d44), var(--primary, #00685b)) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(0, 104, 91, 0.28) !important;
  text-decoration: none !important;
}

.plan3d-final-cta .plan3d-final-actions a.btn-primary:focus-visible,
.plan3d-final-actions .btn-primary:focus-visible {
  outline: 2px solid var(--primary, #00685b) !important;
  outline-offset: 3px !important;
}

.plan3d-final-cta .plan3d-final-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.plan3d-final-cta.reveal:not(.visible) .plan3d-final-actions {
  opacity: 1 !important;
  transform: none !important;
}

/* Mega-menu category titles (ex-<h4>, modifies par accessibility agent en <div>) */
.mega-col-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,104,91,0.15);
}
@media (max-width: 980px) {
  .mega-col-title { font-size: 0.72rem; }
}
