/* =========================================================
   Energalis — Design System v2 (Local pro · photo-driven)
   Inspiré de la grammaire NP Toiture · couleurs Energalis
   ========================================================= */

:root {
  /* Palette officielle Energalis */
  --vert-signal: #39E991;
  --vert-fonce: #22C46E;
  --vert-profond: #1B9C55;
  --vert-tres-profond: #0E5A35;
  --vert-pale: #E8F9EE;
  --vert-100: #C6F2D8;
  --vert-300: #7FE5AB;

  --nuit: #262833;
  --nuit-doux: #1D1E28;
  --nuit-clair: #353744;
  --gris-fonce: #4A4F63;
  --muted: #8A8FA3;

  --ivoire: #F6F4EE;
  --ivoire-warm: #EDE9DE;
  --ligne: #D8D5CE;

  /* Type */
  --font-sans: "Manrope", "Söhne", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Söhne", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --max: 1240px;
  --gutter: 32px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 1px 2px rgba(38, 40, 51, 0.04), 0 8px 24px rgba(38, 40, 51, 0.06);
  --shadow-card-hover: 0 1px 2px rgba(38, 40, 51, 0.06), 0 16px 40px rgba(38, 40, 51, 0.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #FFFFFF;
  color: var(--nuit);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nuit);
  margin: 0;
  line-height: 1.1;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.h-display .accent { color: var(--vert-signal); display: inline; }
.h-display .accent-light { color: var(--vert-300); display: inline; }
.h-display .br { display: block; }

.h-section {
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.h-section .accent { color: var(--vert-profond); }

.h-card {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--nuit);
  line-height: 1.25;
}

.lede {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--gris-fonce);
  max-width: 64ch;
  font-weight: 400;
}
.lede-on-dark { color: rgba(246, 244, 238, 0.78); }

.muted-text { color: var(--gris-fonce); }

/* Pill badge (small label, light bg) */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--vert-pale);
  color: var(--vert-tres-profond);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pill-badge .glyph {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: var(--vert-signal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2 2 8l10 6 10-6-10-6Zm0 9L2 17l10 6 10-6-10-6Z'/></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 fill='black' d='M12 2 2 8l10 6 10-6-10-6Zm0 9L2 17l10 6 10-6-10-6Z'/></svg>") center/contain no-repeat;
}
.pill-badge.on-dark {
  background: rgba(57, 233, 145, 0.16);
  color: var(--vert-signal);
}

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

.section {
  padding: 100px 0;
}
.section-tight { padding: 64px 0; }

.section-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.section-head .lede { margin: 0; text-align: center; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border: 2px solid transparent;
  transition: all 180ms cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
  white-space: nowrap;
}
.btn-icon {
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center; justify-content: center;
}

.btn-primary {
  background: var(--vert-signal);
  color: var(--nuit);
  box-shadow: 0 4px 14px rgba(57, 233, 145, 0.30);
}
.btn-primary:hover {
  background: var(--vert-300);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(57, 233, 145, 0.40);
}

.btn-outline-light {
  background: transparent;
  color: var(--ivoire);
  border-color: rgba(246, 244, 238, 0.4);
}
.btn-outline-light:hover {
  border-color: var(--ivoire);
  background: rgba(246, 244, 238, 0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--nuit);
  border-color: var(--ligne);
}
.btn-outline-dark:hover {
  border-color: var(--nuit);
  background: var(--ivoire);
}

.btn-dark {
  background: var(--nuit);
  color: var(--ivoire);
}
.btn-dark:hover { background: var(--nuit-clair); }

.btn-lg { padding: 18px 28px; font-size: 16px; }

/* =========================================================
   Header
   ========================================================= */
.utility-bar {
  background: var(--vert-tres-profond);
  color: var(--ivoire);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 24px;
  white-space: nowrap;
  overflow: hidden;
}
.ub-left { display: flex; gap: 18px; align-items: center; min-width: 0; overflow: hidden; }
.ub-left span { white-space: nowrap; }
.ub-left .dot { color: var(--vert-signal); font-size: 8px; }
.ub-right { color: var(--vert-signal); font-weight: 600; }

.main-nav {
  position: absolute;
  top: 36px; /* below utility bar */
  left: 0; right: 0;
  z-index: 50;
}
.main-nav-inner {
  background: rgba(246, 244, 238, 0.96);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(38, 40, 51, 0.12);
  max-width: var(--max);
  margin: 0 auto;
}

/* When the header is sticky / sits over a light section, we still want the bg */
.main-nav.is-floating { position: sticky; top: 0; padding-top: 12px; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--nuit);
  border-radius: 9px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "e";
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  color: var(--vert-signal);
  line-height: 1;
  letter-spacing: -0.04em;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nuit);
}
.logo-text .sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gris-fonce);
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--nuit);
  padding: 9px 16px;
  border-radius: 999px;
  transition: all 160ms ease;
}
.nav-links a:hover { background: var(--vert-pale); color: var(--vert-tres-profond); }
.nav-links a.is-active { background: var(--vert-pale); color: var(--vert-tres-profond); }
.nav-links a.has-menu::after { content: " ⌄"; opacity: 0.5; }

.nav-cta {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--nuit);
  padding: 0 6px;
  white-space: nowrap;
}
.nav-phone .ico {
  width: 18px; height: 18px;
  display: inline-grid;
  place-items: center;
  color: var(--vert-profond);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 760px;
  padding: 180px 0 100px;
  overflow: hidden;
  color: var(--ivoire);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--nuit);
}
.hero-bg image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(38, 40, 51, 0.78) 0%, rgba(38, 40, 51, 0.92) 100%),
    linear-gradient(115deg, rgba(14, 90, 53, 0.35) 0%, rgba(38, 40, 51, 0.2) 60%);
  z-index: 1;
}
.hero-bg image-slot { z-index: 0; }
.hero .wrap, .hero-scroll { position: relative; z-index: 2; }

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
}
.hero-content > * { margin: 0; }
.hero-content .pill-badge {
  background: rgba(57, 233, 145, 0.16);
  color: var(--vert-signal);
  border: 1px solid rgba(57, 233, 145, 0.32);
}
.hero h1 {
  color: var(--ivoire);
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  font-family: var(--font-display);
  margin: 0;
}
.hero h1 .accent { color: var(--vert-signal); display: inline; }
.hero h1 .br { display: block; }
.hero p.hero-sub {
  font-size: clamp(16px, 1.25vw, 19px);
  color: rgba(246, 244, 238, 0.82);
  line-height: 1.55;
  max-width: 58ch;
  margin: 0;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 16px;
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(246, 244, 238, 0.92);
}
.hero-checks .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--vert-signal);
  color: var(--nuit);
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-scroll .arrow {
  width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--vert-signal), transparent);
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(6px); opacity: 0.3; }
}

/* =========================================================
   STATS BAND
   ========================================================= */
.stats {
  background: var(--nuit);
  color: var(--ivoire);
  padding: 64px 0;
  border-top: 1px solid var(--nuit-clair);
  border-bottom: 4px solid var(--vert-signal);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--vert-signal);
}
.stat-num .small { font-size: 0.6em; vertical-align: 0.1em; }
.stat-label {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(246, 244, 238, 0.7);
  font-weight: 500;
}

/* =========================================================
   FEATURED CALLOUT (urgence / vente-location)
   ========================================================= */
.callout {
  background: var(--nuit-doux);
  color: var(--ivoire);
  padding: 72px 0;
}
.callout-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--nuit) 0%, var(--nuit-clair) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  border: 1px solid rgba(57, 233, 145, 0.18);
  position: relative;
  overflow: hidden;
}
.callout-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(57, 233, 145, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.callout-icon {
  width: 64px;
  height: 64px;
  background: rgba(57, 233, 145, 0.16);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--vert-signal);
  flex-shrink: 0;
}
.callout-body { position: relative; }
.callout-body h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  color: var(--ivoire);
  font-weight: 800;
  margin-bottom: 10px;
}
.callout-body p {
  margin: 0;
  color: rgba(246, 244, 238, 0.74);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 50ch;
}
.callout-features {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.callout-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(246, 244, 238, 0.86);
}
.callout-features li::before {
  content: "✓";
  color: var(--vert-signal);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.5;
}
.callout-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  min-width: 240px;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
  background: var(--ivoire);
  padding: 100px 0 120px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.service-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(216, 213, 206, 0.6);
  transition: all 240ms cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--vert-300);
}

.service-image {
  aspect-ratio: 16 / 11;
  background: var(--ivoire-warm);
  position: relative;
  overflow: hidden;
}
.service-image image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--vert-pale);
  display: grid;
  place-items: center;
  color: var(--vert-tres-profond);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.service-card h3 { font-size: 19px; line-height: 1.25; }
.service-card p {
  margin: 0;
  color: var(--gris-fonce);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.service-card .agree {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--vert-profond);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.service-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vert-tres-profond);
  font-weight: 700;
  font-size: 14px;
  padding-top: 4px;
}
.service-card .card-cta .arrow { transition: transform 160ms ease; }
.service-card:hover .card-cta .arrow { transform: translateX(4px); }

/* Featured (first) service card spans 2 cols */
.service-card.is-featured {
  grid-column: span 2;
  flex-direction: row;
}
.service-card.is-featured .service-image {
  aspect-ratio: auto;
  flex: 1.1;
  min-height: 320px;
}
.service-card.is-featured .service-body { flex: 1; padding: 32px; }
.service-card.is-featured h3 { font-size: 26px; }
.service-card.is-featured p { font-size: 15.5px; }

/* =========================================================
   ABOUT / KEVIN
   ========================================================= */
.about {
  background: #FFFFFF;
  padding: 110px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: center;
}

.about-portrait {
  position: relative;
}
.about-portrait .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivoire-warm);
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px rgba(38, 40, 51, 0.18);
  position: relative;
}
.about-portrait image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.about-portrait .badge-overlay {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--vert-signal);
  color: var(--nuit);
  padding: 18px 22px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  max-width: 200px;
  box-shadow: 0 12px 28px rgba(57, 233, 145, 0.4);
}
.about-portrait .badge-overlay strong { font-size: 22px; display: block; }

.about-body { display: flex; flex-direction: column; gap: 20px; }
.about-body p {
  font-size: 16px;
  color: var(--gris-fonce);
  line-height: 1.65;
  margin: 0;
}
.about-features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 18px;
}
.about-features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.about-feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--vert-pale);
  display: grid;
  place-items: center;
  color: var(--vert-tres-profond);
  font-weight: 800;
}
.about-feature-title {
  font-weight: 800;
  color: var(--nuit);
  font-size: 16px;
  margin-bottom: 4px;
}
.about-feature-desc { color: var(--gris-fonce); font-size: 14.5px; line-height: 1.5; }

.about-quote {
  margin: 24px 0 0;
  padding: 16px 0 16px 20px;
  border-left: 4px solid var(--vert-signal);
  font-size: 17px;
  font-style: italic;
  color: var(--nuit);
  font-weight: 500;
  line-height: 1.5;
}
.about-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gris-fonce);
}

/* =========================================================
   AGRÉMENTS RIBBON
   ========================================================= */
.agreements {
  background: var(--ivoire);
  padding: 80px 0;
  border-top: 1px solid var(--ligne);
}
.agreements-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 32px;
  flex-wrap: wrap;
}
.agreements-head h2 {
  font-size: 28px;
  font-weight: 800;
}
.agreements-head .lede { margin: 0; max-width: 50ch; font-size: 15px; }

.agreements-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.agreement-card {
  background: #FFFFFF;
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 180ms ease;
}
.agreement-card:hover {
  border-color: var(--vert-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.agreement-card .org {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--vert-profond);
  letter-spacing: 0.1em;
  font-weight: 600;
}
.agreement-card .role {
  font-size: 16px;
  font-weight: 800;
  color: var(--nuit);
  line-height: 1.25;
}
.agreement-card .code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gris-fonce);
  padding-top: 8px;
  border-top: 1px dashed var(--ligne);
  margin-top: auto;
}

/* =========================================================
   ZONES
   ========================================================= */
.zones {
  background: var(--ivoire);
  padding: 100px 0;
}
.zones-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.commune-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--ligne);
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--nuit);
  transition: all 180ms ease;
}
.commune-pill:hover {
  border-color: var(--vert-signal);
  background: var(--vert-pale);
  color: var(--vert-tres-profond);
  transform: translateY(-1px);
}
.commune-pill .pin {
  width: 16px; height: 16px;
  display: inline-grid;
  place-items: center;
  color: var(--vert-profond);
  flex-shrink: 0;
}
.commune-pill.is-cta {
  border-style: dashed;
  color: var(--gris-fonce);
}
.commune-pill.is-cta:hover { color: var(--vert-tres-profond); }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: #FFFFFF;
  padding: 110px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.testi-card .stars {
  color: var(--vert-signal);
  font-size: 18px;
  letter-spacing: 2px;
}
.testi-card blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nuit);
  font-weight: 500;
}
.testi-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--ligne);
  padding-top: 18px;
  margin-top: auto;
}
.testi-name { font-size: 15px; font-weight: 800; color: var(--nuit); }
.testi-role {
  font-size: 12.5px;
  color: var(--gris-fonce);
  margin-top: 2px;
  font-weight: 500;
}
.testi-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   CTA FINAL (dark)
   ========================================================= */
.cta-final {
  background: var(--nuit);
  color: var(--ivoire);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(57, 233, 145, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14, 90, 53, 0.35) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-final h2 {
  color: var(--ivoire);
  font-size: clamp(36px, 4.4vw, 60px);
}
.cta-final h2 .accent { color: var(--vert-signal); }
.cta-final .actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-final .phone-line {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(246, 244, 238, 0.7);
}
.cta-final .phone-line a {
  color: var(--vert-signal);
  font-weight: 800;
  border-bottom: 2px solid var(--vert-signal);
  padding-bottom: 2px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--nuit-doux);
  color: var(--ivoire);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert-signal);
  margin: 0 0 18px;
}
.footer p, .footer li {
  font-size: 14.5px;
  color: rgba(246, 244, 238, 0.75);
  line-height: 1.65;
  margin: 0;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--vert-signal); }
.footer-brand .logo { color: var(--ivoire); }
.footer-brand .logo .brand { color: var(--ivoire); }
.footer-brand .logo .sub { color: rgba(246, 244, 238, 0.6); }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-brand .contact-lines { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.footer-brand .contact-lines li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.footer-brand .contact-lines .ico {
  width: 18px; color: var(--vert-signal); flex-shrink: 0;
  display: inline-grid; place-items: center;
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px;
  background: var(--nuit-clair);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ivoire);
  font-weight: 800;
  font-size: 13px;
  transition: all 160ms ease;
}
.footer-socials a:hover { background: var(--vert-signal); color: var(--nuit); }

.footer-quick {
  background: var(--vert-tres-profond);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.footer-quick a.btn { width: 100%; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--nuit-clair);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom .legal { display: flex; gap: 22px; }
.footer-bottom .legal a:hover { color: var(--vert-signal); }

/* Floating "Devis" pill (mobile-style affordance) */
.floating-cta {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 100;
  width: 60px;
  height: 60px;
  background: var(--vert-signal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--nuit);
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(57, 233, 145, 0.45);
  transition: transform 160ms ease;
}
.floating-cta:hover { transform: scale(1.05); }

/* =========================================================
   PAGE HERO (service pages — compact w/ photo bg)
   ========================================================= */
.page-hero {
  position: relative;
  padding: 200px 0 90px;
  overflow: hidden;
  color: var(--ivoire);
  isolation: isolate;
  min-height: 520px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--nuit);
}
.page-hero-bg image-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(38, 40, 51, 0.72) 0%, rgba(38, 40, 51, 0.94) 100%),
    linear-gradient(115deg, rgba(14, 90, 53, 0.4) 0%, rgba(38, 40, 51, 0.2) 60%);
  z-index: 1;
}
.page-hero .wrap, .page-hero-content { position: relative; z-index: 2; }
.page-hero-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-hero h1 {
  color: var(--ivoire);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0;
}
.page-hero h1 .accent { color: var(--vert-signal); }
.page-hero .sub {
  font-size: clamp(16px, 1.2vw, 19px);
  color: rgba(246, 244, 238, 0.82);
  line-height: 1.6;
  max-width: 64ch;
  margin: 0;
}
.page-hero .hero-cta-row { margin-top: 8px; }

.breadcrumb {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(246, 244, 238, 0.55);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: rgba(246, 244, 238, 0.85); }
.breadcrumb a:hover { color: var(--vert-signal); }
.breadcrumb .sep { color: rgba(246, 244, 238, 0.3); }
.breadcrumb .current { color: var(--ivoire); }

/* =========================================================
   QUICK FACTS strip (below page hero)
   ========================================================= */
.quick-facts {
  background: var(--ivoire);
  border-bottom: 1px solid var(--ligne);
  padding: 28px 0;
}
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.fact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fact-item .ico {
  width: 44px;
  height: 44px;
  background: var(--vert-pale);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--vert-tres-profond);
  flex-shrink: 0;
}
.fact-item .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gris-fonce);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.fact-item .value {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--nuit);
  letter-spacing: -0.01em;
}

/* =========================================================
   CONTENT BLOCKS (article-style)
   ========================================================= */
.content {
  padding: 100px 0;
  background: #FFFFFF;
}
.content.alt { background: var(--ivoire); }

.content-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.content-head.left {
  text-align: left;
  align-items: flex-start;
  margin: 0 0 40px;
}
.content-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.content-head h2 .accent { color: var(--vert-profond); }
.content-head .lede { margin: 0; }
.content-head.center .lede { text-align: center; }

.content-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--gris-fonce);
}
.content-body p { margin: 0 0 18px; }
.content-body p:last-child { margin-bottom: 0; }
.content-body strong { color: var(--nuit); font-weight: 700; }
.content-body ul, .content-body ol {
  padding-left: 1.3em;
  margin: 0 0 22px;
}
.content-body ul li, .content-body ol li {
  margin-bottom: 10px;
  padding-left: 6px;
}
.content-body ul li::marker { color: var(--vert-signal); content: "▸ "; }
.content-body ul.checks { list-style: none; padding: 0; }
.content-body ul.checks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.content-body ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  background: var(--vert-signal);
  color: var(--nuit);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

/* Why-card grid (used on service pages) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.why-card {
  background: #FFFFFF;
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 14px;
}
.content.alt .why-card { background: #FFFFFF; }
.content:not(.alt) .why-card { background: var(--ivoire); }
.why-card .ico {
  width: 36px; height: 36px;
  background: var(--vert-pale);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--vert-tres-profond);
  flex-shrink: 0;
}
.why-card h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: var(--nuit); }
.why-card p { margin: 0; font-size: 14px; color: var(--gris-fonce); line-height: 1.5; }

/* =========================================================
   STEPS (numbered process)
   ========================================================= */
.steps {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 30px; top: 60px; bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg, var(--vert-signal) 0%, var(--vert-pale) 100%);
  z-index: 0;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 32px;
  padding: 24px 0 32px;
  position: relative;
  z-index: 1;
}
.step:last-child { padding-bottom: 0; }
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--ivoire);
  color: var(--vert-tres-profond);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  border: 2px solid var(--vert-signal);
  flex-shrink: 0;
}
.content.alt .step-num { background: #FFFFFF; }
.step h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.step p {
  margin: 0;
  color: var(--gris-fonce);
  font-size: 15.5px;
  line-height: 1.6;
}
.step p + p { margin-top: 8px; }

/* =========================================================
   FAQ (accordion via <details>)
   ========================================================= */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq details {
  border-top: 1px solid var(--ligne);
  padding: 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--ligne); }
.faq summary {
  cursor: pointer;
  padding: 26px 60px 26px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--nuit);
  position: relative;
  list-style: none;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--vert-pale);
  color: var(--vert-tres-profond);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 600;
  transition: transform 220ms ease, background 220ms ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--vert-signal);
  color: var(--nuit);
}
.faq details[open] summary { color: var(--vert-tres-profond); }
.faq .answer {
  padding: 0 60px 26px 0;
  color: var(--gris-fonce);
  font-size: 16px;
  line-height: 1.65;
}
.faq .answer p { margin: 0 0 12px; }
.faq .answer p:last-child { margin: 0; }

/* =========================================================
   MID CTA block
   ========================================================= */
.mid-cta {
  background: linear-gradient(135deg, var(--nuit) 0%, var(--nuit-clair) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  color: var(--ivoire);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 56px auto 0;
  max-width: 1100px;
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: "";
  position: absolute;
  top: -100px; right: -50px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(57, 233, 145, 0.18) 0%, transparent 65%);
}
.mid-cta-text { position: relative; }
.mid-cta h3 {
  color: var(--ivoire);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}
.mid-cta p {
  color: rgba(246, 244, 238, 0.72);
  margin: 0;
  font-size: 15px;
}
.mid-cta .actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================
   Zone strip (compact zones for service pages)
   ========================================================= */
.zone-strip {
  background: var(--ivoire);
  padding: 60px 0;
  border-top: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
}
.zone-strip-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.zone-strip-head h2 {
  font-size: 24px;
  font-weight: 800;
}
.zone-strip-head .lede { margin: 0; font-size: 15px; max-width: 50ch; }
.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zone-list .commune-pill { font-size: 14px; padding: 10px 16px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.is-featured { grid-column: span 2; }
  .zones-list { grid-template-columns: repeat(3, 1fr); }
  .agreements-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-phone { display: none; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 12px; font-size: 14px; }
  .ub-left span:nth-child(n+4) { display: none; }
  .ub-left { gap: 14px; }
  .quick-facts-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .mid-cta { grid-template-columns: 1fr; padding: 28px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .main-nav-inner { grid-template-columns: auto 1fr; padding: 10px 12px 10px 16px; }
  .nav-phone { display: none; }
  .hero { padding-top: 140px; padding-bottom: 80px; min-height: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .callout-card { grid-template-columns: 1fr; padding: 32px 28px; gap: 20px; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .service-card.is-featured { grid-column: span 1; flex-direction: column; }
  .service-card.is-featured .service-image { min-height: 220px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .zones-list { grid-template-columns: repeat(2, 1fr); }
  .agreements-grid, .footer-grid { grid-template-columns: 1fr; }
  .section, .services, .testimonials, .cta-final, .about { padding: 72px 0; }
  .page-hero { padding: 130px 0 60px; min-height: 0; }
  .quick-facts-grid { grid-template-columns: 1fr; gap: 16px; }
  .content { padding: 64px 0; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step-num { width: 48px; height: 48px; font-size: 18px; }
  .steps::before { left: 23px; }
  .faq summary { font-size: 16px; padding-right: 48px; }
  .mid-cta { padding: 28px 24px; }
}

/* =========================================================
   CONTACT — form + map + info
   ========================================================= */
.contact-layout {
  background: var(--ivoire);
  padding: 80px 0 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}
.contact-form-card {
  background: #FFFFFF;
  border: 1px solid var(--ligne);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  box-shadow: 0 24px 60px rgba(38, 40, 51, 0.06);
}
.contact-form-card .form-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--vert-profond);
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-form-card h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--nuit);
}
.contact-form-card h2 .accent { color: var(--vert-profond); }
.contact-form-card .form-intro {
  color: var(--gris-fonce);
  font-size: 15px;
  margin: 0 0 28px;
}

.cf-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cf-field.full { grid-column: 1 / -1; }
.cf-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nuit);
  display: flex;
  gap: 6px;
  align-items: center;
}
.cf-field label .req { color: var(--vert-profond); font-weight: 800; }
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--nuit);
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  width: 100%;
}
.cf-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.55;
}
.cf-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B9C55' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--vert-profond);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(27, 156, 85, 0.12);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: #A5A8B5; }
.cf-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--gris-fonce);
  line-height: 1.5;
}
.cf-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--vert-profond);
  flex-shrink: 0;
}
.cf-consent a { color: var(--vert-profond); border-bottom: 1px solid var(--vert-300); }
.cf-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cf-actions .reply-note {
  font-size: 13px;
  color: var(--gris-fonce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cf-actions .reply-note .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--vert-signal);
  box-shadow: 0 0 0 4px rgba(57, 233, 145, 0.22);
}

/* Contact aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 92px;
}
.contact-info-card {
  background: var(--nuit);
  color: var(--ivoire);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(57, 233, 145, 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.contact-info-card .pill-badge { background: rgba(57, 233, 145, 0.16); color: var(--vert-signal); }
.contact-info-card h3 {
  color: var(--ivoire);
  font-size: 22px;
  font-weight: 800;
  margin: 14px 0 18px;
  letter-spacing: -0.01em;
}
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-info-list .ico {
  width: 40px; height: 40px;
  background: rgba(57, 233, 145, 0.12);
  color: var(--vert-signal);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-info-list .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.58);
  margin-bottom: 2px;
}
.contact-info-list .v {
  color: var(--ivoire);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
}
.contact-info-list .v a { color: var(--ivoire); }
.contact-info-list .v a:hover { color: var(--vert-signal); }
.contact-info-list .v .small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(246, 244, 238, 0.62);
  margin-top: 2px;
}

.contact-quick-call {
  background: var(--vert-signal);
  color: var(--nuit);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.contact-quick-call .qc-ico {
  width: 52px; height: 52px;
  background: var(--nuit);
  color: var(--vert-signal);
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-quick-call strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--vert-tres-profond);
  margin-bottom: 2px;
}
.contact-quick-call .num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--nuit);
  text-decoration: none;
  line-height: 1.1;
  display: block;
}
.contact-quick-call .hrs {
  font-size: 13px;
  color: rgba(38, 40, 51, 0.7);
  margin-top: 4px;
}

/* MAP section */
.map-section {
  background: #FFFFFF;
  padding: 90px 0;
  border-top: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
}
.map-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: stretch;
}
.map-caption {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.map-caption h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}
.map-caption h2 .accent { color: var(--vert-profond); }
.map-caption p { margin: 0; color: var(--gris-fonce); font-size: 15px; }
.map-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 8px;
  font-size: 14px;
}
.map-meta div {
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 12px 16px;
}
.map-meta .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert-profond);
  margin-bottom: 2px;
}
.map-meta .v { color: var(--nuit); font-weight: 600; }
.map-canvas {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivoire-warm);
  min-height: 460px;
  border: 1px solid var(--ligne);
}
.map-canvas iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}
.map-pin-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 36px rgba(38, 40, 51, 0.18);
  border: 1px solid var(--ligne);
  max-width: 320px;
  z-index: 2;
}
.map-pin-badge .pin {
  width: 38px; height: 38px;
  background: var(--vert-signal);
  color: var(--nuit);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.map-pin-badge .label {
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert-profond);
  font-weight: 600;
}
.map-pin-badge .addr {
  font-size: 14px;
  color: var(--nuit);
  font-weight: 700;
  margin-top: 2px;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-aside { position: static; }
  .map-wrap { grid-template-columns: 1fr; }
  .map-canvas { min-height: 360px; }
}
@media (max-width: 720px) {
  .contact-form-card { padding: 28px 22px; }
  .cf-form { grid-template-columns: 1fr; }
  .contact-layout { padding: 48px 0 64px; }
  .map-section { padding: 56px 0; }
}

/* =========================================================
   SOCIÉTÉ — values, timeline, founder block
   ========================================================= */
.soc-intro {
  background: #FFFFFF;
  padding: 100px 0 60px;
}
.soc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}
.soc-intro-text h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 14px 0 18px;
  color: var(--nuit);
}
.soc-intro-text h2 .accent { color: var(--vert-profond); }
.soc-intro-text p {
  color: var(--gris-fonce);
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.soc-intro-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivoire-warm);
  box-shadow: 0 24px 60px rgba(38, 40, 51, 0.18);
}
.soc-intro-portrait image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.soc-portrait-stamp {
  position: absolute;
  left: -18px; bottom: 26px;
  background: var(--ivoire);
  color: var(--nuit);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(38, 40, 51, 0.18);
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--ligne);
}
.soc-portrait-stamp .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--vert-profond);
  letter-spacing: -0.02em;
  line-height: 1;
}
.soc-portrait-stamp .lbl {
  font-size: 12px;
  color: var(--gris-fonce);
  line-height: 1.3;
  max-width: 14ch;
}

/* Values grid */
.soc-values {
  background: var(--ivoire);
  padding: 90px 0;
}
.soc-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 56px auto 0;
}
.soc-value-card {
  background: #FFFFFF;
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.soc-value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--vert-300);
}
.soc-value-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--vert-profond);
  font-weight: 600;
}
.soc-value-card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--nuit);
}
.soc-value-card p {
  font-size: 14.5px;
  color: var(--gris-fonce);
  line-height: 1.6;
  margin: 0;
}
.soc-value-icon {
  width: 48px; height: 48px;
  background: var(--vert-pale);
  border-radius: 12px;
  color: var(--vert-tres-profond);
  display: grid;
  place-items: center;
}

/* Timeline */
.soc-timeline {
  background: #FFFFFF;
  padding: 90px 0;
}
.timeline {
  max-width: 880px;
  margin: 56px auto 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--vert-300), var(--ligne));
}
.tl-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 18px 0;
  position: relative;
}
.tl-dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--vert-signal);
  color: var(--vert-tres-profond);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  z-index: 2;
  position: relative;
}
.tl-row.is-now .tl-dot {
  background: var(--vert-signal);
  color: var(--nuit);
  box-shadow: 0 0 0 6px rgba(57, 233, 145, 0.22);
}
.tl-content h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 6px;
  color: var(--nuit);
  letter-spacing: -0.01em;
}
.tl-content p { margin: 0; color: var(--gris-fonce); font-size: 15px; line-height: 1.6; }

/* Founder quote band */
.soc-quote {
  background: var(--nuit);
  color: var(--ivoire);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.soc-quote::before {
  content: "";
  position: absolute;
  top: -180px; right: -120px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(57, 233, 145, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.soc-quote-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.soc-quote .mark {
  font-family: var(--font-mono);
  font-size: 80px;
  line-height: 0.6;
  color: var(--vert-signal);
  display: block;
  margin-bottom: 14px;
}
.soc-quote blockquote {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--ivoire);
}
.soc-quote .who {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: rgba(246, 244, 238, 0.72);
}
.soc-quote .who strong {
  color: var(--ivoire);
  font-weight: 700;
  font-size: 15px;
}

/* Compact agréments table */
.soc-agreements {
  background: var(--ivoire);
  padding: 90px 0;
}
.soc-agr-list {
  max-width: 1080px;
  margin: 48px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid var(--ligne);
}
.soc-agr-row {
  display: grid;
  grid-template-columns: 64px 1.4fr 2fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  border-top: 1px solid var(--ligne);
}
.soc-agr-row:first-child { border-top: 0; }
.soc-agr-row .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--vert-profond);
  font-weight: 600;
  letter-spacing: 0.14em;
}
.soc-agr-row .org {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--gris-fonce);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.soc-agr-row .role {
  font-size: 16px;
  color: var(--nuit);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.soc-agr-row .code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--vert-tres-profond);
  background: var(--vert-pale);
  padding: 6px 10px;
  border-radius: 6px;
  justify-self: end;
}
@media (max-width: 720px) {
  .soc-agr-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 22px;
  }
  .soc-agr-row .code { justify-self: start; }
}

@media (max-width: 960px) {
  .soc-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .soc-intro-portrait { max-width: 460px; margin: 0 auto; }
  .soc-values-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Photos réelles — balise <picture class="img-fill">
   Remplace les <image-slot> pour les emplacements finalisés.
   ========================================================= */
.img-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.img-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================================================
   Logo Energalis officiel — picto SVG inline + texte HTML
   ========================================================= */
.logo-picto {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
  color: var(--vert-profond);
}
.footer-brand .logo-picto { color: var(--vert-signal); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nuit);
}
.footer-brand .logo-text .brand { color: var(--ivoire); }

.logo-text .logo-sub {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gris-fonce);
  opacity: 0.7;
  margin-top: 4px;
}
.footer-brand .logo-text .logo-sub { color: rgba(246, 244, 238, 0.55); opacity: 1; }

@media (max-width: 720px) {
  .logo-picto { width: 32px; height: 32px; }
  .logo-text .brand { font-size: 17px; }
  .logo-text .logo-sub { display: none; }
}

/* =========================================================
   Carte service "featured" — limite la hauteur de l'image
   ========================================================= */
.service-card.is-featured .service-image {
  aspect-ratio: 4 / 3;
  flex: 1.1;
  min-height: 320px;
  max-height: 420px;
}

/* =========================================================
   Photos réelles — balise <picture class="img-fill">
   Remplace les <image-slot> pour les emplacements finalisés.
   Prend toute la place du parent (qui doit être en position: relative
   et avoir un aspect-ratio ou une hauteur définie).
   ========================================================= */
.img-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.img-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =========================================================
   Logo Energalis officiel — picto SVG inline + texte HTML
   ========================================================= */
.logo-picto {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
  color: var(--vert-profond); /* vert profond sur fond clair (header) */
}
.footer-brand .logo-picto { color: var(--vert-signal); } /* vert clair sur fond sombre (footer) */

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nuit);
}
.footer-brand .logo-text .brand { color: var(--ivoire); }

.logo-text .logo-sub {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gris-fonce);
  opacity: 0.7;
  margin-top: 4px;
}
.footer-brand .logo-text .logo-sub { color: rgba(246, 244, 238, 0.55); opacity: 1; }

@media (max-width: 720px) {
  .logo-picto { width: 32px; height: 32px; }
  .logo-text .brand { font-size: 17px; }
  .logo-text .logo-sub { display: none; }
}


/* =========================================================
   Form contact — upload fichiers PDF + état submit
   ========================================================= */
.cf-field .optional {
  color: var(--gris-fonce);
  opacity: 0.6;
  font-weight: 400;
  font-size: 13px;
  margin-left: 4px;
}

.cf-file-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-file-wrapper input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cf-file-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1.5px dashed var(--vert-profond);
  background: var(--vert-pale);
  color: var(--vert-tres-profond);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 160ms ease;
  align-self: flex-start;
}
.cf-file-button:hover {
  background: var(--vert-100);
  border-color: var(--vert-tres-profond);
  transform: translateY(-1px);
}
.cf-file-button svg { flex-shrink: 0; }

.cf-file-help {
  font-size: 13px;
  color: var(--gris-fonce);
  opacity: 0.75;
  margin: 0;
  line-height: 1.4;
}

.cf-file-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-file-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--ivoire-warm, #f7f5ef);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--nuit);
}
.cf-file-list li svg {
  color: var(--vert-profond);
  flex-shrink: 0;
}
.cf-file-list li strong {
  font-weight: 600;
}
.cf-file-list li span {
  color: var(--gris-fonce);
  opacity: 0.7;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* Bouton submit en cours d'envoi */
#cf-submit .cf-btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#cf-submit .cf-btn-spinner svg {
  animation: cf-spin 0.9s linear infinite;
}
@keyframes cf-spin {
  to { transform: rotate(360deg); }
}
#cf-submit[disabled] {
  opacity: 0.85;
  cursor: wait;
}

/* Message de retour */
.cf-message {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.55;
  border-left: 4px solid;
}
.cf-message.is-success {
  background: var(--vert-pale);
  border-left-color: var(--vert-profond);
  color: var(--vert-tres-profond);
}
.cf-message.is-error {
  background: #FEF2F2;
  border-left-color: #DC2626;
  color: #991B1B;
}
.cf-message a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}


/* Respecte l'attribut HTML `hidden` même si display: flex/grid est défini ailleurs */
[hidden] { display: none !important; }


/* =========================================================
   Mobile menu : bouton hamburger + drawer plein écran
   ========================================================= */

/* Bouton hamburger — caché par défaut, visible sur mobile.
   Positionné à l'intérieur de l'ovale .main-nav-inner (à droite, vertical-center). */
.main-nav-inner { position: relative; }
.nav-hamburger {
  display: none;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 60;
}
.nav-hamburger:hover { background: var(--vert-pale); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--nuit);
  border-radius: 2px;
  transition: all 200ms ease;
  margin: 0 auto;
}

/* Drawer plein écran (caché par défaut, affiché via JS qui retire l'attribut hidden) */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(38, 40, 51, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 24px;
  animation: nav-drawer-in 220ms ease-out;
}
@keyframes nav-drawer-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.nav-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--ivoire);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.nav-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}
.nav-drawer-nav a {
  display: block;
  color: var(--ivoire);
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  letter-spacing: -0.01em;
}
.nav-drawer-nav a.is-active {
  color: var(--vert-signal);
}
.nav-drawer-nav a:hover { color: var(--vert-signal); }
.nav-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
}

/* Activation sur mobile */
@media (max-width: 760px) {
  .nav-hamburger { display: flex; }
  /* Le bouton "Devis Gratuit" et nav-phone sont cachés sur mobile pour libérer la place */
  .nav-cta { display: none; }
  /* Espace pour le hamburger à droite */
  .main-nav-inner { padding-right: 64px; }
}

/* =========================================================
   Mobile : utility bar — afficher uniquement l'essentiel
   ========================================================= */
@media (max-width: 720px) {
  /* Cacher tous les textes sauf les séparateurs deviennent inutiles */
  .ub-left { font-size: 12px; }
  .ub-left span:nth-child(n+2) { display: none; }
  .ub-right { font-size: 12px; }
  .utility-bar .wrap {
    padding: 0 12px;
  }
}
@media (max-width: 480px) {
  /* Sur très petit écran : ne garder que le téléphone */
  .ub-left { display: none; }
  .ub-right { width: 100%; text-align: center; }
}

/* =========================================================
   Mobile : empêcher tout débordement horizontal (form, etc.)
   ========================================================= */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
img, video, picture, .img-fill img {
  max-width: 100%;
  height: auto;
}

/* Form contact : forcer width 100% sur tous les champs */
@media (max-width: 720px) {
  .contact-form-card,
  .contact-form-card input,
  .contact-form-card textarea,
  .contact-form-card select {
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-form-card { padding: 24px 18px; }
  .cf-form { gap: 18px; }
  .cf-field input,
  .cf-field select,
  .cf-field textarea {
    width: 100%;
    box-sizing: border-box;
  }
  /* Liste des fichiers uploadés : ne pas déborder */
  .cf-file-list li {
    flex-wrap: wrap;
    word-break: break-all;
  }
}

/* =========================================================
   Mobile : page société — portrait à ha