/* =========================================================
   GENERATEPRESS OVERRIDES — neutralise le layout parent
   ========================================================= */
body { background: var(--cream); }
#page { max-width: 100%; padding: 0; margin: 0; }
#content { max-width: 100%; padding: 0; margin: 0; }
#content .inside-article { padding: 0; margin: 0; max-width: 100%; }
.site-content { display: block; }
.content-area { width: 100%; float: none; }
.entry-content { max-width: 100%; margin: 0; padding: 0; }
article.page { margin: 0; padding: 0; }
.generate-columns-container { display: block; }
.site-header, #masthead { display: none !important; }
.site-footer, #colophon { display: none !important; }
#primary { max-width: 100%; margin: 0; padding: 0; }
.page .entry-header { display: none; }
.navbar a, .navbar__links a, .navbar__item a, .navbar nav a { text-decoration: none !important; border-bottom: none !important; box-shadow: none !important; }
.navbar a:hover, .navbar__links a:hover { text-decoration: none !important; }
/* KILL tous les soulignements partout */
a, a:hover, a:visited, a:focus { text-decoration: none !important; }
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a { text-decoration: none !important; color: inherit; border-bottom: none !important; }
.entry-title a, .post-title a { text-decoration: none !important; }

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --terracotta: #c98475;
  --terracotta-dark: #b5715f;
  --sage: #768f87;
  --sage-dark: #5f7870;
  --cream: #f7f4ef;
  --dark: #1a1a1a;
  --dark-soft: #333333;
  --gray: #666666;
  --white: #ffffff;
  --shadow-sm: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 16px;
  --nav-height: 88px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

/* Flèche ↗ en haut à droite des CTA (comme les nav-blocks) */
.btn--has-arrow::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.btn--has-arrow:hover::before {
  opacity: 0.6;
}

.btn--dark {
  background: var(--dark);
  color: var(--white) !important;
}

.btn--dark:hover {
  background: var(--dark-soft);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn--outline-white {
  background: transparent;
  color: var(--white) !important;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white) !important;
  border-color: var(--white);
}

.btn--terracotta {
  background: var(--terracotta);
  color: var(--white) !important;
}

.btn--terracotta:hover {
  background: var(--terracotta-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,132,117,0.35);
}

.btn--outline-dark {
  background: transparent;
  color: var(--dark) !important;
  border: 1.5px solid var(--dark);
}

.btn--outline-dark:hover {
  background: var(--dark);
  color: var(--white) !important;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* =========================================================
   SECTION UTILITIES
   ========================================================= */
.section {
  padding: 100px 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section-overline {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.section-overline--light {
  color: var(--terracotta);
  opacity: 0.8;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 200;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-header .section-subtitle {
  margin-bottom: 0;
}

/* =========================================================
   NAVBAR
   ========================================================= */
/* ── NAVBAR — blanc, statique, style equans.fr ── */
.navbar {
  position: relative;
  z-index: 1000;
  background: var(--white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar__logo img {
  height: 76px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Nav item — zone hover limitée au contenu du lien */
.navbar__item {
  position: static;
  display: inline-flex;
  align-items: center;
}

.navbar__links a,
.navbar__item > a {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-soft);
  transition: color 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 28px 18px;
  display: block;
  text-decoration: none !important;
  border-bottom: none !important;
}

.navbar__links a:hover,
.navbar__item > a:hover {
  color: var(--dark);
  text-decoration: none !important;
}

/* Mega-menu plein ecran (style equans.fr — hover-on-hover) */
.navbar__megamenu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  overflow-y: auto;
}

/* Zone tampon invisible au-dessus du mega-menu — évite que le hover se ferme
   quand la souris passe du lien "Nos Solutions" au mega-menu */
.navbar__megamenu.is-open::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: auto;
}

/* Le mega-menu s'ouvre via JS (mouseenter/mouseleave sur le lien + le menu) */
.navbar__megamenu.is-open {
  max-height: 520px;
  opacity: 1;
  overflow: visible;
}

/* Lien actif souligne au hover — terracotta */
.navbar__item > a {
  position: relative;
}

.navbar__item > a::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.navbar__item.is-open > a::after {
  transform: scaleX(1);
}

.navbar__item.is-open > a {
  color: var(--dark);
}

.navbar__megamenu-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 48px 40px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  min-height: 0;
}

/* Colonne gauche — liens avec fleches (scrollable) */
.navbar__megamenu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid rgba(0,0,0,0.06);
  padding-right: 40px;
  border-left: none;
  max-height: 420px;
  overflow-y: auto;
  padding-left: 0;
}

.navbar__megamenu-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 14px 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--dark-soft);
  border-left: 2px solid transparent;
  transition: color 0.4s cubic-bezier(0.4,0,0.2,1), padding-left 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.35s ease;
}

.navbar__megamenu-links a:hover {
  color: var(--dark);
  padding-left: 12px;
  border-left-color: var(--terracotta);
}

.navbar__megamenu-links a svg {
  width: 16px;
  height: 16px;
  color: rgba(0,0,0,0.15);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), color 0.35s ease;
  flex-shrink: 0;
}

.navbar__megamenu-links a:hover svg {
  transform: translateX(6px);
  color: var(--terracotta);
}

/* Colonne droite — description dynamique */
.navbar__megamenu-links a.is-active {
  color: var(--dark);
  padding-left: 8px;
}

.navbar__megamenu-links a.is-active svg {
  color: var(--terracotta);
  transform: translateX(4px);
}

.navbar__megamenu-links a.is-active {
  color: var(--dark);
  padding-left: 8px;
  border-left: 2px solid var(--terracotta);
}

.navbar__megamenu-right {
  padding: 24px 0 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: var(--gray);
  order: 1;
}

.megamenu-img {
  width: 100%;
  max-width: 240px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
  transition: opacity 0.25s ease;
}

.navbar__megamenu-right h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1);
}

.navbar__megamenu-right p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 320px;
  color: var(--dark-soft);
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1) 0.05s;
}

.navbar__megamenu-right .megamenu-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  background: var(--terracotta);
  border-radius: 4px;
  text-decoration: none !important;
  text-underline-offset: 4px;
  transition: background 0.3s ease, gap 0.3s ease;
}

.navbar__megamenu-right .megamenu-cta:hover {
  background: var(--terracotta-dark);
  gap: 12px;
}

.navbar__megamenu-right .megamenu-cta svg {
  width: 16px;
  height: 16px;
}

.navbar__cta .btn {
  padding: 10px 22px;
  font-size: 13px;
}

.navbar__hamburger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Forcer display:flex quand ouvert, meme en desktop */
.mobile-menu.is-open {
  display: flex !important;
}

.mobile-menu a {
  font-size: 20px;
  font-weight: 200;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--white);
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  z-index: 1001;
  transition: background 0.2s;
}

.mobile-menu__close:hover { background: rgba(255,255,255,0.2); }

.mobile-menu__close svg {
  width: 28px;
  height: 28px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('/wp-content/uploads/2026/06/hero-accueil-centrale-solaire.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(26,26,26,0.55);
}

/* Widget avis Google (ReviewWidget) dans le hero */
.hero__reviews { margin-top: 30px; display: flex; justify-content: center; }
.hero__reviews .review-widget_net { max-width: 380px; width: 100%; }
/* Masquer l'attribution "Provided by review-widget.net" — le widget force display/visibility
   en inline !important ; on l'écrase via taille/hauteur (non protégées) + display:none sur le lien. */
.review-widget_net .branding { font-size: 0 !important; line-height: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; }
.review-widget_net .branding a { display: none !important; }

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201,132,117,0.15);
  border: 1px solid rgba(201,132,117,0.35);
  border-radius: 4px;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 28px;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.hero__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 200;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__title br + * { font-weight: 200; }

.hero__subtitle {
  font-size: 18px;
  font-weight: 200;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 44px;
  letter-spacing: 0.01em;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--white);
}

.hero__stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 1.5ch;
}

.hero__stat-label {
  font-size: 14px;
  opacity: 0.6;
  text-transform: lowercase;
}

.hero__stat-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   SOLUTIONS SECTION
   ========================================================= */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solutions-grid--8 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.solution-card {
  background: var(--dark);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.4s ease, filter 0.4s ease;
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.solution-card:nth-child(2) { background: var(--sage-dark); }
.solution-card:nth-child(3) { background: var(--terracotta-dark); }
.solution-card:nth-child(4) { background: var(--sage); }
.solution-card:nth-child(5) { background: var(--dark-soft); }
.solution-card:nth-child(6) { background: var(--terracotta); }

.solution-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

.solution-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.solution-card:hover .solution-card__img {
  opacity: 0.6;
}

.solution-card__body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-card__tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.solution-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  color: var(--white);
}

.solution-card__desc {
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 16px;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-top: auto;
  transition: gap 0.3s ease;
}

.solution-card__link:hover {
  gap: 10px;
}

.solution-card__link svg {
  width: 14px;
  height: 14px;
}

/* =========================================================
   SOLUTIONS ASSOCIÉES
   ========================================================= */
.solutions-associees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

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

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

/* =========================================================
   NAV BLOCKS (EQUANS STYLE)
   ========================================================= */
.nav-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.nav-block {
  position: relative;
  height: 180px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  cursor: pointer;
  overflow: hidden;
  transition: filter 0.3s ease;
}

.nav-block:nth-child(1) { background: var(--dark); }
.nav-block:nth-child(2) { background: var(--terracotta-dark); }
.nav-block:nth-child(3) { background: var(--sage-dark); }
.nav-block:nth-child(4) { background: var(--terracotta); }

.nav-block:hover {
  filter: brightness(1.15);
  color: var(--white) !important;
}

/* Force texte blanc dans toute la nav-block, même au hover (anti-conflit avec a:hover global) */
.nav-block,
.nav-block:hover,
.nav-block:focus,
.nav-block:active,
.nav-block *,
.nav-block:hover * {
  color: var(--white) !important;
}

.nav-block__arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.4;
}

.nav-block__arrow svg {
  width: 24px;
  height: 24px;
}

.nav-block__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.nav-block__subtitle {
  font-size: 13px;
  opacity: 0.7;
}

/* =========================================================
   KEY FIGURES
   ========================================================= */
.figures {
  position: relative;
  overflow: hidden;
}

.figures__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.figures__row {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.figures__item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 32px 24px;
  position: relative;
}

.figures__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.1);
}

.figures__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.figures__label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* =========================================================
   REALISATIONS
   ========================================================= */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.realisation-card {
  background: var(--dark-soft);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: flex;
  flex-direction: column;
}

.realisation-card:nth-child(2) { background: var(--terracotta-dark); }
.realisation-card:nth-child(3) { background: var(--sage); }

.realisation-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

.realisation-card__img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.realisation-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.realisation-card:hover .realisation-card__img { opacity: 0.55; }

.realisation-card__badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.realisation-card__body {
  padding: 20px 24px 24px;
  flex: 1;
}

.realisation-card__type {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.realisation-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.realisation-card__location {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 4px;
}

.realisation-card__location svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* =========================================================
   PROCESSUS — HORIZONTAL SCROLL
   ========================================================= */
.process__subtitle {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 48px;
  max-width: 520px;
}

.process__track-wrapper {
  position: relative;
}

.process__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.process-step {
  padding: 28px 24px;
  position: relative;
  transition: filter 0.4s ease;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Image de fond par etape */
.process-step:nth-child(1) { background-image: url('/wp-content/uploads/2026/06/process-1-etude-faisabilite.jpg'); }
.process-step:nth-child(2) { background-image: url('/wp-content/uploads/2026/06/process-2-conception.jpg'); }
.process-step:nth-child(3) { background-image: url('/wp-content/uploads/2026/06/process-3-fabrication-usine.jpg'); }
.process-step:nth-child(4) { background-image: url('/wp-content/uploads/2026/06/process-4-installation-site.jpg'); }
.process-step:nth-child(5) { background-image: url('/wp-content/uploads/2026/06/process-5-raccordement.jpg'); }
.process-step:nth-child(6) { background-image: url('/wp-content/uploads/2026/06/process-6-maintenance-nettoyage.jpg'); }
.process-step:nth-child(7) { background-image: url('/wp-content/uploads/2026/06/process-1-etude-faisabilite.jpg'); }
.process-step:nth-child(8) { background-image: url('/wp-content/uploads/2026/06/process-2-conception.jpg'); }
.process-step:nth-child(9) { background-image: url('/wp-content/uploads/2026/06/process-3-fabrication-usine.jpg'); }

/* Overlay couleur fume — la couleur se superpose a l'image */
.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  opacity: 0.82;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.process-step:hover::before { opacity: 0.7; }

/* Variation couleur fume par etape */
.process-step:nth-child(2)::before { background: var(--sage-dark); }
.process-step:nth-child(3)::before { background: var(--terracotta-dark); }
.process-step:nth-child(4)::before { background: var(--sage); }
.process-step:nth-child(5)::before { background: var(--dark-soft); }
.process-step:nth-child(6)::before { background: var(--terracotta); }
.process-step:nth-child(7)::before { background: var(--sage-dark); }
.process-step:nth-child(8)::before { background: var(--terracotta-dark); }
.process-step:nth-child(9)::before { background: var(--sage); }

.process-step > * { position: relative; z-index: 1; }

.process-step:hover {
  filter: brightness(1.15);
}

.process-step__number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.process-step__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
}

.process-step__arrow {
  display: none;
}

.process-step__arrow svg {
  display: none;
}

.process-step:last-child .process-step__arrow {
  display: none;
}

/* =========================================================
   BLOG / ACTUALITES
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--dark);
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:nth-child(2) { background: var(--terracotta-dark); }
.blog-card:nth-child(3) { background: var(--sage-dark); }

.blog-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.blog-card:hover .blog-card__img { opacity: 0.55; }

.blog-card__body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__date {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  color: var(--white);
}

.blog-card__excerpt {
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-top: auto;
  transition: gap 0.3s ease;
}

.blog-card__link:hover {
  gap: 10px;
}

.blog-card__link svg {
  width: 14px;
  height: 14px;
}

/* =========================================================
   ZONE D'INTERVENTION
   ========================================================= */
.zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.zone__text .section-title {
  margin-bottom: 16px;
}

.zone__desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.zone__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zone__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 40px;
}

.zone__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.zone__number-box {
  width: 280px;
  height: 200px;
  background: var(--dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--white);
}

.zone__number-big {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.zone__number-label {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 8px;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-final {
  text-align: center;
  padding: 80px 0;
}

.cta-final .section-title {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-final__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 0;
}

.footer__logo {
  margin-bottom: 40px;
}

.footer__logo img {
  height: auto;
  width: 160px;
  max-height: 60px;
  object-fit: contain;
  filter: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.footer__col p,
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  display: block;
  transition: color 0.25s ease;
}

.footer__col a:hover {
  color: var(--white);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.5;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.25s ease;
}

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

.footer__social {
  display: flex;
  gap: 12px;
}

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

.footer__social a:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.6);
}

/* =========================================================
   PAGE HEADER — Editorial dark band
   ========================================================= */
.ph {
  padding-top: 80px;
  background: var(--dark);
  overflow: hidden;
}

.ph__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 48px) 40px;
  position: relative;
}

.ph__content {
  position: relative;
  z-index: 1;
}

.ph__overline {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  display: block;
  margin-bottom: 12px;
}

.ph__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 200;
  color: var(--white);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.ph__subtitle {
  font-size: 14px;
  font-weight: 200;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 560px;
}

.ph__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--terracotta);
}

@media (max-width: 768px) {
  .ph__inner { padding: 32px 16px 28px; }
  .ph__title { font-size: 1.4rem; }
}

/* =========================================================
   FORM ROW — grille 2 colonnes responsive
   ========================================================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* =========================================================
   RESPONSIVE — 1280px
   ========================================================= */
@media (max-width: 1280px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .solutions-grid--8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   RESPONSIVE — 768px
   ========================================================= */
/* Navbar : passer en menu hamburger dès 992px (sinon les liens débordent) */
@media (max-width: 992px) {
  .navbar__links,
  .navbar__cta {
    display: none !important;
  }

  .navbar__item,
  .navbar__megamenu {
    display: none !important;
  }

  .navbar__hamburger {
    display: flex !important;
  }

  .mobile-menu {
    display: flex;
  }
}

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

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .process__track {
    grid-template-columns: 1fr !important;
  }

  .nav-blocks {
    grid-template-columns: 1fr 1fr !important;
  }

  .figures__grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .hero {
    height: 85vh;
  }

  .hero__title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .hero__stats {
    gap: 16px;
  }

  .hero__stat-number {
    font-size: 22px;
  }

  .solutions-grid,
  .realisations-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .nav-blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-block {
    height: 140px;
  }

  .figures__row {
    flex-direction: column;
    align-items: center;
  }

  .figures__item:not(:last-child)::after {
    display: none;
  }

  .zone {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .zone__visual {
    order: -1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 72px 0;
  }

  .real-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .real-stats__number {
    font-size: 1.75rem;
  }

  .real-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .real-filters {
    gap: 6px;
  }

  .real-filter {
    padding: 6px 14px;
    font-size: 12px;
  }
}

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

  .real-stats {
    gap: 16px;
  }
}

/* =========================================================
   RESPONSIVE — 480px
   ========================================================= */
@media (max-width: 480px) {
  .hero {
    height: 100vh;
    min-height: 560px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__stats {
    flex-direction: column;
    gap: 8px;
  }

  .hero__stat-sep {
    display: none;
  }

  .nav-blocks {
    grid-template-columns: 1fr;
  }

  .nav-block {
    height: 100px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
/* =========================================================
   PAGE INTERNES — CONTENT STYLES
   ========================================================= */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-soft);
}

.page-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  color: var(--dark);
  margin: 56px 0 16px;
  letter-spacing: -0.01em;
}

.page-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin: 40px 0 12px;
}

.page-content p {
  margin-bottom: 20px;
}

.page-content strong {
  font-weight: 600;
  color: var(--dark);
}

.page-content ul, .page-content ol {
  margin: 16px 0 24px 24px;
}

.page-content li {
  margin-bottom: 8px;
  padding-left: 8px;
}

.page-content img {
  border-radius: 8px;
  margin: 32px 0;
}

.page-content a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.page-content a:hover {
  color: var(--terracotta);
}

/* =========================================================
   PAGE SOLUTION — TEMPLATE SPECIFIQUE
   ========================================================= */
.solution-hero {
  min-height: 50vh;
}

.solution-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.solution-intro__text {
  font-weight: 200;
  font-size: 17px;
  line-height: 1.8;
  color: var(--dark-soft);
}

.solution-intro__text p {
  margin-bottom: 20px;
}

.solution-intro__visual {
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
}

.solution-intro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Avantages grid — dark blocks style */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.avantage-card {
  padding: 32px 28px;
  color: var(--white);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: filter 0.3s;
}

.avantage-card:hover {
  filter: brightness(1.1);
}

.avantage-card:nth-child(1) { background: var(--dark); }
.avantage-card:nth-child(2) { background: var(--sage-dark); }
.avantage-card:nth-child(3) { background: var(--terracotta-dark); }
.avantage-card:nth-child(4) { background: var(--sage); }

.avantage-card--border {
  background: #f7f4ef !important;
  color: var(--dark) !important;
}
.avantage-card--border .avantage-card__title { color: var(--dark) !important; }
.avantage-card--border .avantage-card__desc { color: #444 !important; opacity: 1; }

.avantage-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.avantage-card__desc {
  font-size: 13px;
  font-weight: 200;
  opacity: 0.65;
  line-height: 1.6;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  font-weight: 200;
  font-size: 16px;
  line-height: 1.8;
}

.contact-info h3 {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.contact-info p {
  margin-bottom: 16px;
  color: var(--dark-soft);
}

.contact-info a {
  color: var(--dark);
  font-weight: 400;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  font-family: var(--font, 'Poppins', sans-serif);
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  transition: border-color 0.3s;
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--dark);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Realisations archive */
.realisations-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Legacy archive cards — kept for compatibility */
.realisation-archive-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: filter 0.4s;
}

/* =========================================================
   RÉALISATIONS — NOUVELLE PAGE
   ========================================================= */

/* Stats recap */
.real-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  text-align: center;
}

.real-stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.real-stats__number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.real-stats__label {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Filtres */
.real-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.real-filter {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  border: 1px solid rgba(26,26,26,0.15);
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s;
}

.real-filter:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

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

/* Grille */
.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card */
.real-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  text-decoration: none;
  color: var(--dark);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.real-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26,26,26,0.12);
}

.real-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.real-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.real-card:hover .real-card__img {
  transform: scale(1.05);
}

.real-card__img--placeholder {
  width: 100%;
  height: 100%;
}

.real-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.4) 0%, transparent 50%);
  pointer-events: none;
}

.real-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  background: var(--card-accent, var(--dark));
  color: var(--white);
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
}

.real-card__body {
  padding: 20px 20px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.real-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}

.real-card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
}

.real-card__tech {
  font-size: 12px;
  font-weight: 400;
  color: var(--terracotta);
  margin-top: 4px;
}

.real-card__arrow {
  padding: 0 20px 16px;
  color: var(--terracotta);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.real-card:hover .real-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE INTERNES */
@media (max-width: 768px) {
  .solution-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .solution-intro__visual {
    height: 250px;
  }
  .avantages-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .realisations-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SIMULATEUR ROI
   ========================================================= */
.simulator {
  max-width: 800px;
  margin: 0 auto;
}

.simulator__progress {
  height: 3px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 8px;
}

.simulator__progress-bar {
  height: 100%;
  background: var(--terracotta);
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

.simulator__step-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  text-align: center;
  margin-bottom: 40px;
}

.simulator__step {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.simulator__step.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* Cards grid — default 3 columns */
.simulator__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 32px;
}

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

.simulator__card {
  background: var(--dark);
  color: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  border: none;
  text-align: left;
  transition: filter 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s cubic-bezier(0.4,0,0.2,1);
  border-left: 3px solid transparent;
  font-family: 'Poppins', sans-serif;
}

.simulator__card:nth-child(2) { background: var(--sage-dark); }
.simulator__card:nth-child(3) { background: var(--terracotta-dark); }
.simulator__card:nth-child(4) { background: var(--sage); }
.simulator__card:nth-child(5) { background: var(--terracotta); }
.simulator__card:nth-child(6) { background: var(--dark-soft); }
.simulator__card:nth-child(7) { background: var(--sage-dark); }

.simulator__card:hover {
  filter: brightness(1.15);
}

.simulator__card.is-selected {
  border-left: 3px solid var(--terracotta);
}

.simulator__card--wide {
  padding: 32px 28px;
}

.simulator__card--wide .simulator__card-desc {
  font-size: 13px;
  font-weight: 200;
  opacity: 0.8;
  line-height: 1.6;
}

.simulator__card-icon {
  opacity: 0.6;
  margin-bottom: 4px;
}

.simulator__card-icon svg {
  width: 28px;
  height: 28px;
}

.simulator__card-title {
  font-size: 16px;
  font-weight: 600;
  display: block;
}

.simulator__card-desc {
  font-size: 12px;
  font-weight: 200;
  opacity: 0.6;
  display: block;
}

/* Form fields */
.simulator__form {
  max-width: 560px;
  margin: 32px auto 0;
}

.simulator__field {
  margin-bottom: 28px;
}

.simulator__field label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
}

.simulator__field select {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.simulator__field select:focus {
  outline: none;
  border-color: var(--dark);
}

/* Range slider */
.simulator__field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.simulator__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terracotta);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

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

.simulator__field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terracotta);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.simulator__field input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
}

.simulator__field input[type="range"]::-moz-range-track {
  height: 4px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
}

.simulator__range-value {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 12px;
}

/* Navigation buttons */
.simulator__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* Results grid 2x2 */
.simulator__results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 32px;
}

.simulator__result-card {
  padding: 32px 24px;
  text-align: center;
}

.simulator__result-number {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.simulator__result-label {
  font-size: 13px;
  font-weight: 200;
  opacity: 0.7;
}

/* Success message */
.simulator__success {
  padding: 40px 0;
}

/* ---- Simulator responsive ---- */
@media (max-width: 900px) {
  .simulator__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .simulator__cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .simulator__cards,
  .simulator__cards--3 {
    grid-template-columns: 1fr;
  }
  .simulator__results {
    grid-template-columns: 1fr;
  }
  .simulator__result-card {
    padding: 24px 20px;
  }
  .simulator__nav {
    flex-direction: column;
    align-items: stretch;
  }
  .simulator__nav .btn {
    justify-content: center;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   LOGOS CAROUSEL — defilement infini + fondu bords
   ========================================================= */
.logos-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Degrade fondu aux bords */
.logos-carousel::before,
.logos-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 100%);
}
.logos-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--cream) 0%, transparent 100%);
}

.logos-carousel__track {
  display: flex;
  gap: 48px;
  animation: logos-scroll 30s linear infinite;
  width: max-content;
}

.logos-carousel__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logos-carousel__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-soft);
}

.logos-carousel__item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-soft);
}

@keyframes logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause au hover */
.logos-carousel:hover .logos-carousel__track {
  animation-play-state: paused;
}

/* =========================================================
   GUTENBERG BLOCK COMPATIBILITY
   — Cover block = Hero, Group block = Section
   ========================================================= */

/* Cover block comme Hero */
.wp-block-cover.hero-block {
  min-height: 50vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-cover.hero-block .wp-block-cover__inner-container {
  max-width: var(--container);
  text-align: center;
  z-index: 2;
}
.wp-block-cover.hero-block h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}
.wp-block-cover.hero-block p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 200;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}
.wp-block-cover.hero-block .overline {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  margin-bottom: 16px;
  display: block;
}
.wp-block-cover.hero-block-short {
  min-height: 40vh !important;
}

/* Group block comme Section */
.wp-block-group.section-cream {
  background: var(--cream);
  padding: 80px 0;
}
.wp-block-group.section-cream > .wp-block-group__inner-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.wp-block-group.section-dark {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0;
}
.wp-block-group.section-dark > .wp-block-group__inner-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* Nettoyer le contenu Gutenberg dans le template editable */
#main-content { max-width: 100%; margin: 0; padding: 0; }
#main-content > * { max-width: 100%; }
#main-content .wp-block-cover { margin: 0; }
#main-content .wp-block-group { margin: 0; }
#main-content .wp-block-group.section-cream,
#main-content .wp-block-group.section-dark {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Shortcode blocks - full width */
#main-content .wp-block-shortcode {
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  width: 100vw;
}

/* Solution Card Cover blocks */
.wp-block-cover.solution-card-block {
  border-radius: 0;
  transition: transform 0.3s ease;
}
.wp-block-cover.solution-card-block:hover {
  transform: translateY(-4px);
}
.wp-block-cover.solution-card-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.wp-block-cover.solution-card-block p {
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.wp-block-cover.solution-card-block .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 13px;
  padding: 8px 20px;
  border-radius: 2px;
}

/* Section overline in blocks */
.overline {
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  margin-bottom: 8px;
}
.overline--light {
  color: var(--terracotta);
}

/* Section CTA sim */
.wp-block-group.section-cta-sim {
  background: var(--dark);
  padding: 48px 0;
}
.wp-block-group.section-cta-sim .wp-block-group__inner-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.wp-block-group.section-cta-sim h3 {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.wp-block-group.section-cta-sim p {
  color: rgba(255,255,255,0.6);
  font-weight: 200;
  font-size: 14px;
}
.wp-block-group.section-cta-sim .overline { color: var(--terracotta); }
.wp-block-group.section-cta-sim .wp-block-button__link {
  background: var(--terracotta);
  color: var(--white);
  border-radius: 2px;
}

/* Section Stats */
.wp-block-group.section-stats {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0;
}
.wp-block-group.section-stats .wp-block-group__inner-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.wp-block-group.section-stats h2 { color: var(--white); }
.wp-block-group.section-stats .stats-cols h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.wp-block-group.section-stats .stats-cols p {
  font-size: 13px;
  font-weight: 200;
  color: rgba(255,255,255,0.6);
}

/* Section CTA Final */
.wp-block-group.section-cta-final {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.wp-block-group.section-cta-final .wp-block-group__inner-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}
.wp-block-group.section-cta-final h2 { color: var(--white); font-weight: 300; }
.wp-block-group.section-cta-final p { color: rgba(255,255,255,0.7); font-weight: 200; }
.wp-block-group.section-cta-final .wp-block-button__link {
  border-radius: 2px;
}

/* Section Labels */
.wp-block-group.section-labels .labels-cols h3 {
  font-size: 18px;
  font-weight: 600;
}
.wp-block-group.section-labels .labels-cols p {
  font-size: 13px;
  font-weight: 200;
  color: var(--gray);
}

/* Section Processus */
.wp-block-group.section-processus .process-row h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 4px;
}
.wp-block-group.section-processus .process-row p {
  font-size: 13px;
  font-weight: 400;
}

/* Section Zone */
.wp-block-group.section-zone .dept-row h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}
.wp-block-group.section-zone .dept-row p {
  font-size: 12px;
  font-weight: 200;
  color: var(--gray);
}

/* Nav blocks grid */
.nav-blocks-grid .wp-block-column {
  background: var(--dark);
  color: var(--white);
  padding: 32px 24px;
  transition: background 0.3s ease;
}
.nav-blocks-grid .wp-block-column:nth-child(2) { background: var(--sage-dark); }
.nav-blocks-grid .wp-block-column:nth-child(3) { background: var(--terracotta-dark); }
.nav-blocks-grid .wp-block-column:nth-child(4) { background: var(--sage); }
.nav-blocks-grid .wp-block-column h3 { color: var(--white); font-size: 18px; font-weight: 600; }
.nav-blocks-grid .wp-block-column p { color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 200; }
.nav-blocks-grid .wp-block-button__link {
  background: transparent;
  color: var(--white);
  padding: 0;
  font-size: 13px;
}

/* Gutenberg buttons global */
#main-content .wp-block-button__link {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border-radius: 2px;
  padding: 14px 28px;
}

/* Full-width sections */
#main-content .wp-block-group.section-cta-sim,
#main-content .wp-block-group.section-stats,
#main-content .wp-block-group.section-cta-final,
#main-content .wp-block-group.section-labels,
#main-content .wp-block-group.section-processus,
#main-content .wp-block-group.section-zone {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Columns no gap override for solutions */
#main-content .solutions-row {
  gap: 2px;
}
#main-content .solutions-row .wp-block-column {
  margin: 0;
}

/* =========================================================
   VIEWER 3D PROFESSIONNEL
   ========================================================= */
.viewer3d__selector {
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--dark);
  padding: 0;
}
.viewer3d__type {
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5) !important;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
  text-align: center;
}
.viewer3d__type:hover {
  color: rgba(255,255,255,0.8) !important;
  background: rgba(255,255,255,0.05);
}
.viewer3d__type.active {
  color: var(--white) !important;
  border-bottom-color: var(--terracotta);
  background: rgba(255,255,255,0.08);
}

.viewer3d__canvas {
  width: 100%;
  height: 55vh;
  min-height: 400px;
  background: #2a2a2a;
  position: relative;
}
.viewer3d__canvas iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.viewer3d__panel {
  background: var(--white);
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.viewer3d__info {
  flex: 1;
  min-width: 280px;
}
.viewer3d__title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--dark);
}
.viewer3d__desc {
  font-size: 14px;
  font-weight: 200;
  color: var(--dark-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}
.viewer3d__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.viewer3d__spec {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
}
.viewer3d__spec-label {
  font-weight: 200;
  color: var(--gray);
}
.viewer3d__spec-value {
  font-weight: 600;
  color: var(--dark);
}

.viewer3d__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.viewer3d__disclaimer {
  font-size: 11px;
  color: var(--gray);
  font-weight: 200;
  margin-top: 16px;
  text-align: center;
  width: 100%;
}

.viewer3d__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 16px 24px;
  background: var(--dark);
  flex-wrap: wrap;
}
.viewer3d__stat { text-align: center; }
.viewer3d__stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.viewer3d__stat-label {
  font-size: 10px;
  font-weight: 200;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .viewer3d__canvas { height: 40vh; min-height: 280px; }
  .viewer3d__panel { flex-direction: column; padding: 24px; }
  .viewer3d__specs { grid-template-columns: 1fr; }
  .viewer3d__actions { flex-direction: row; width: 100%; }
  .viewer3d__type { padding: 10px 16px; font-size: 12px; }
  .viewer3d__stats { gap: 20px; }
}

/* =========================================================
   ANCIEN CONFIGURATEUR (deprecated, garde pour compatibilite)
   ========================================================= */
.configurator {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  background: #e8e4df;
}

.configurator__canvas {
  flex: 1;
  min-height: 50vh;
  position: relative;
  cursor: grab;
}
.configurator__canvas:active { cursor: grabbing; }
.configurator__canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.configurator__step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
}
.configurator__step-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}
.configurator__step-back {
  font-size: 12px;
  color: var(--terracotta);
  cursor: pointer;
  font-weight: 500;
}

.configurator__panel {
  background: var(--white);
  padding: 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.configurator__panel-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.configurator__title {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--dark);
}

/* Options cards */
.configurator__options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.configurator__option {
  border: 2px solid rgba(0,0,0,0.08);
  padding: 16px 24px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 2px;
}
.configurator__option strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
}
.configurator__option span {
  font-size: 12px;
  font-weight: 200;
  color: var(--gray);
}
.configurator__option:hover {
  border-color: var(--terracotta);
  background: rgba(201,132,117,0.04);
  transform: translateY(-2px);
}
.configurator__option.selected {
  border-color: var(--terracotta);
  background: rgba(201,132,117,0.08);
}

/* Color swatches */
.configurator__colors {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.configurator__color {
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  padding: 8px;
  border-radius: 4px;
}
.configurator__color:hover { background: rgba(0,0,0,0.04); }
.configurator__color.selected { background: rgba(201,132,117,0.1); outline: 2px solid var(--terracotta); }
.configurator__color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 auto 6px;
  border: 2px solid rgba(0,0,0,0.1);
}
.configurator__color span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--dark);
}
.configurator__color-name {
  font-size: 9px !important;
  color: var(--gray) !important;
  font-weight: 200 !important;
}

/* Next button */
.configurator__next-btn {
  display: inline-block;
  padding: 10px 32px;
  background: var(--terracotta);
  color: var(--white) !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
}
.configurator__next-btn:hover { background: var(--terracotta-dark); }

/* Summary */
.configurator__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 20px;
  text-align: left;
}
.configurator__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 13px;
}
.configurator__summary-row span { font-weight: 200; color: var(--gray); }
.configurator__summary-row strong { font-weight: 600; }

/* Action buttons */
.configurator__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.configurator__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark) !important;
  transition: all 0.3s;
}
.configurator__action-btn:hover {
  border-color: var(--dark);
  transform: translateY(-1px);
}
.configurator__action-btn--primary {
  background: var(--terracotta);
  color: var(--white) !important;
  border-color: var(--terracotta);
  padding: 10px 28px;
}
.configurator__action-btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

/* Stats bar */
.configurator__stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 12px 24px;
  background: var(--dark);
}
.configurator__stat { text-align: center; }
.configurator__stat-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.configurator__stat-label {
  font-size: 10px;
  font-weight: 200;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Final step layout (clone SCREB) */
.configurator__final-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.configurator__final-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.configurator__action-btn--color {
  background: #3b82f6 !important;
  color: var(--white) !important;
  border-color: #3b82f6 !important;
  padding: 10px 24px;
}
.configurator__action-btn--color:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
}
.configurator__final-consult {
  background: #22c55e;
  color: var(--white);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-radius: 2px;
  line-height: 1.4;
}

/* Modal */
.configurator__modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
}
.configurator__modal.is-open { display: flex; }
.configurator__modal-box {
  background: var(--white);
  padding: 40px;
  max-width: 520px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.configurator__modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
}
.configurator__modal-close:hover { color: var(--dark); }

/* Responsive */
@media (max-width: 768px) {
  .configurator__canvas { min-height: 35vh; }
  .configurator__options { gap: 8px; }
  .configurator__option { min-width: 90px; padding: 12px 16px; }
  .configurator__option strong { font-size: 13px; }
  .configurator__stats { gap: 16px; flex-wrap: wrap; }
  .configurator__stat-value { font-size: 12px; }
  .configurator__colors { gap: 8px; }
  .configurator__summary { max-width: 100%; }
}

@media (max-width: 480px) {
  .configurator__canvas { min-height: 30vh; }
  .configurator__option { min-width: 80px; padding: 10px 12px; }
  .configurator__actions { flex-direction: column; }
  .configurator__modal-box { padding: 24px; }
}

/* =========================================================
   SOLUTIONS ASSOCIÉES — hover effect
   ========================================================= */
.sol-assoc-card {
  transition: filter 0.3s ease, transform 0.3s ease;
}
.sol-assoc-card:hover {
  filter: brightness(1.05);
}
.sol-assoc-card:hover .sol-assoc-card__img {
  transform: scale(1.08);
  opacity: 1;
  filter: brightness(0.85);
}
.sol-assoc-card:hover .sol-assoc-card__arrow {
  opacity: 1;
  transform: translate(4px, -4px);
}

/* =========================================================
   VALEURS GRID — responsive
   ========================================================= */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.valeurs-grid__card {
  color: var(--white);
  padding: 40px 28px;
}
.valeurs-grid__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.valeurs-grid__desc {
  font-size: 13px;
  font-weight: 200;
  line-height: 1.7;
  opacity: 0.7;
}
@media (max-width: 1024px) {
  .valeurs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .valeurs-grid { grid-template-columns: 1fr; }
  .valeurs-grid__card { padding: 32px 24px; }
}

/* =========================================================
   CHATBOT GUIDE — widget en bas a droite
   ========================================================= */
#idsolar-chatbot { position: fixed; bottom: 24px; right: 24px; z-index: 99999; font-family: 'Poppins', sans-serif; }

/* Bubble */
.chatbot-bubble {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--terracotta); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(201,132,117,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}
.chatbot-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(201,132,117,0.6); }
.chatbot-bubble.is-hidden { transform: scale(0); pointer-events: none; }

/* Window */
.chatbot-window {
  position: absolute; bottom: 70px; right: 0;
  width: 400px; height: calc(100vh - 120px); max-height: 700px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.chatbot-window.is-open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.chatbot-header {
  background: var(--dark); color: #fff;
  padding: 16px 20px; display: flex;
  align-items: center; justify-content: space-between;
}
.chatbot-header__info { display: flex; align-items: center; gap: 12px; }
.chatbot-header__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--terracotta); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.chatbot-header__name { font-weight: 600; font-size: 14px; }
.chatbot-header__status { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 300; }
.chatbot-close {
  background: none; border: none; color: rgba(255,255,255,0.6);
  font-size: 24px; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.chatbot-close:hover { color: #fff; }

/* Messages area */
.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 20px;
  display: flex; flex-direction: column; gap: 12px;
}

/* Message bubbles */
.chatbot-msg {
  max-width: 85%; padding: 10px 16px;
  border-radius: 16px; font-size: 13px;
  line-height: 1.5; font-weight: 300;
  animation: chatbot-fade 0.3s ease;
}
.chatbot-msg--bot {
  background: var(--cream); color: var(--dark);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chatbot-msg--user {
  background: var(--terracotta); color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Options */
.chatbot-options {
  display: flex; flex-direction: column; gap: 8px;
  animation: chatbot-fade 0.3s ease;
}
.chatbot-option {
  background: #fff; border: 1.5px solid rgba(0,0,0,0.1);
  padding: 10px 16px; border-radius: 12px;
  font-size: 13px; font-weight: 400; color: var(--dark);
  cursor: pointer; text-align: left;
  transition: border-color 0.2s, background 0.2s;
  font-family: 'Poppins', sans-serif;
}
.chatbot-option:hover {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: #fff;
}

@keyframes chatbot-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 480px) {
  #idsolar-chatbot { bottom: 16px; right: 16px; }
  .chatbot-window { width: calc(100vw - 32px); right: -8px; bottom: 68px; max-height: 70vh; }
  .chatbot-bubble { width: 52px; height: 52px; }
}

/* =========================================================
   ÉTUDE DE CAS — réalisations (avant/après, problématique, résultat, ROI)
   ========================================================= */
.etude-avant-apres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.etude-avant-apres__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}
.etude-avant-apres__item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.etude-avant-apres__item figcaption {
  position: absolute;
  top: 16px;
  left: 16px;
}
.etude-avant-apres__tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  border-radius: 3px;
}
.etude-avant-apres__tag--avant { background: var(--dark); }
.etude-avant-apres__tag--apres { background: var(--terracotta); }

.etude-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: stretch;
}
.etude-card {
  padding: 32px;
  border-radius: 4px;
}
.etude-card--problem {
  background: var(--cream);
  border-left: 3px solid var(--dark);
}
.etude-card--result {
  background: var(--cream);
  border-left: 3px solid var(--terracotta);
}
.etude-card--roi {
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-width: 200px;
}
.etude-card__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.etude-card--roi .etude-card__label {
  color: rgba(255,255,255,0.6);
}
.etude-card__text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark);
}
.etude-card__roi {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

@media (max-width: 860px) {
  .etude-avant-apres { grid-template-columns: 1fr; }
  .etude-avant-apres__item img { height: 280px; }
  .etude-grid { grid-template-columns: 1fr; }
  .etude-card--roi { min-width: 0; padding: 28px; }
}

/* =========================================================
   GALERIE PHOTOS DU CHANTIER — réalisations
   ========================================================= */
.realisation-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.realisation-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--cream);
}
.realisation-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.realisation-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
  .realisation-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* =========================================================
   PAGE TARIFS — grille tarifaire
   ========================================================= */
.tarifs-block { margin-bottom: 48px; }
.tarifs-block__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
}
.tarifs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.tarifs-table thead th {
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  padding: 14px 20px;
}
.tarifs-table tbody td {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 300;
  color: var(--dark);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.tarifs-table tbody tr:last-child td { border-bottom: none; }
.tarifs-table tbody tr:nth-child(even) { background: var(--cream); }
.tarifs-table__val {
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
}
.tarifs-note {
  background: var(--white);
  border-left: 3px solid var(--sage);
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--dark-soft);
  margin-bottom: 32px;
  border-radius: 0 4px 4px 0;
}
.tarifs-source {
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  font-style: italic;
}
@media (max-width: 600px) {
  .tarifs-table thead th,
  .tarifs-table tbody td { padding: 10px 12px; font-size: 13px; }
}
