/* AVEO 2026 — main stylesheet, extracted from validated mockup */

:root {
  --teal: #0D7377;
  --teal-light: #14A3A0;
  --teal-dark: #085963;
  --gold: #F5C542;
  --gold-hover: #E0B12C;
  --anthracite: #1A2332;
  --graphite: #2D3748;
  --steel: #64748B;
  --gray-light: #E2E8F0;
  --gray-border: #D1D5DB;
  --offwhite: #F8FAFC;
  --white: #FFFFFF;
  --gold-light: #FEF3C7;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-weight: 400;
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow.on-dark { color: var(--gold); }
.accent { width: 32px; height: 3px; background: var(--gold); margin: 16px 0 28px; }
.accent.lg { width: 48px; height: 4px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 4px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--anthracite); }
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); }

/* ========= NAV ========= */
nav.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
}
nav.topnav .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: 1240px; margin: 0 auto;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { height: 72px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--anthracite); text-decoration: none;
  font-size: 14px; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--teal); }
.nav-links .btn { padding: 10px 22px; font-size: 12px; }

/* ========= HERO ========= */
.hero {
  position: relative; overflow: hidden;
  background-color: var(--teal-dark);
  background-image: url('../photos/chaufferie-hero.png');
  background-size: cover; background-position: center;
  background-blend-mode: luminosity;
  color: var(--white);
  min-height: 88vh;
  display: flex; align-items: center;
  padding: 100px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(13,115,119,0.78) 0%, rgba(8,89,99,0.92) 100%),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  top: 0; right: -180px; width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(245,197,66,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px;
  align-items: center;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 .gold { color: var(--gold); }
.hero p.lead {
  font-size: 19px; font-weight: 400;
  color: rgba(255,255,255,0.88); max-width: 580px;
  margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.18);
  padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hero-visual .corner-tl, .hero-visual .corner-br {
  position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold);
  z-index: 3;
}
.hero-visual .corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.hero-visual .corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.hv-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; color: var(--gold);
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.hv-label .pulse {
  display: inline-block; width: 8px; height: 8px;
  background: var(--gold); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245,197,66,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245,197,66,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(245,197,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,197,66,0); }
}
.hv-hero-stat {
  padding: 32px 28px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.hv-hero-stat .big {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(48px, 5.5vw, 68px);
  color: var(--gold); line-height: 0.95;
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 10px;
}
.hv-hero-stat .big .unit { font-size: 22px; font-weight: 500; color: rgba(255,255,255,0.7); letter-spacing: 0; }
.hv-hero-stat .caption {
  font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 12px;
  line-height: 1.5; max-width: 320px;
}
.hv-trust {
  padding: 24px 28px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hv-trust .head {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  color: var(--gold); letter-spacing: 0.18em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.hv-trust .head::after { content: ''; flex: 1; height: 1px; background: rgba(245,197,66,0.25); }
.hv-trust .names {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,0.95); letter-spacing: 0.01em;
}
.hv-trust .names .sep { color: var(--gold); opacity: 0.5; padding: 0 6px; }
.hv-trust .more {
  margin-top: 10px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: rgba(255,255,255,0.45); letter-spacing: 0.05em;
}
.hv-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.08); }
.hv-stat {
  background: rgba(0,0,0,0.2); padding: 20px 24px;
}
.hv-stat .v {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 24px; color: var(--white); line-height: 1.1;
  display: flex; align-items: baseline; gap: 5px;
}
.hv-stat .v .u { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); }
.hv-stat .l {
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  color: rgba(255,255,255,0.5); letter-spacing: 0.12em;
  text-transform: uppercase; margin-top: 6px;
}
.hv-foot {
  padding: 14px 24px;
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.12em;
}

/* ========= STATS BAND ========= */
.stats-band {
  background: var(--offwhite);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 56px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
}
.stat { text-align: left; border-left: 2px solid var(--gold); padding-left: 22px; }
.stat .num {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(32px, 3.4vw, 48px); color: var(--anthracite);
  line-height: 1; letter-spacing: -0.01em;
}
.stat .unit { font-size: 14px; font-weight: 500; color: var(--steel); margin-top: 6px; }
.stat .caption {
  font-size: 11px; font-weight: 500; color: var(--steel);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 12px; line-height: 1.5;
}

/* ========= SECTION BASE ========= */
section.block { padding: 110px 0; }
section h2 {
  font-weight: 800; font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15; letter-spacing: -0.015em;
  max-width: 760px;
}
section h2 .gold { color: var(--gold); }
section h3 { font-weight: 700; font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
section p.lead {
  font-size: 18px; color: var(--graphite); max-width: 720px; line-height: 1.7;
  margin-top: 8px;
}

/* ========= BIOMASSE ========= */
.biomasse { background: var(--white); }
.biomasse-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: stretch; margin-top: 56px;
}
.biomasse-text { display: flex; flex-direction: column; justify-content: center; }
.biomasse-text p { margin-bottom: 18px; color: var(--graphite); font-size: 16px; }
.biomasse-text p:last-child { margin-bottom: 0; }
.biomasse-cards { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.bio-card {
  border: 1px solid var(--gray-light); padding: 26px;
  background: var(--offwhite);
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  align-items: center;
}
.bio-card .badge {
  width: 56px; height: 56px; background: var(--teal); color: var(--gold);
  font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.05em;
}
.bio-card h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.bio-card p { font-size: 14px; color: var(--graphite); line-height: 1.55; }

/* ========= POUR QUI (deux marchés) ========= */
.audience { background: var(--white); }
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  margin-top: 64px;
}
.aud-card {
  position: relative;
  border: 1px solid var(--gray-light);
  padding: 44px 40px 40px;
  background: var(--white);
  transition: all 0.25s;
  overflow: hidden;
}
.aud-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--gold);
}
.aud-card:hover { border-color: var(--teal); box-shadow: 0 12px 40px rgba(13,115,119,0.08); transform: translateY(-2px); }
.aud-card .icon {
  width: 64px; height: 64px;
  background: var(--teal); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.aud-card .icon svg { width: 36px; height: 36px; }
.aud-card .tag {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: var(--steel); letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 8px;
}
.aud-card h3 {
  font-size: 26px; font-weight: 700; line-height: 1.25;
  color: var(--anthracite); margin-bottom: 14px;
  letter-spacing: -0.01em;
  min-height: calc(3 * 1.25em);
  display: flex; align-items: flex-end;
}
.aud-card .punch {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 16px; color: var(--teal);
  padding: 12px 0; margin-bottom: 22px;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  letter-spacing: 0.02em;
}
.aud-card .desc {
  font-size: 15px; color: var(--graphite); line-height: 1.65;
  margin-bottom: 24px;
}
.aud-card .sectors { display: grid; gap: 10px; margin-bottom: 24px; }
.aud-card .sectors .item {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px;
  align-items: baseline; padding: 8px 0;
  border-bottom: 1px dashed var(--gray-light);
}
.aud-card .sectors .item:last-child { border-bottom: none; }
.aud-card .sectors .item .lbl {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: var(--steel); letter-spacing: 0.08em; text-transform: uppercase;
}
.aud-card .sectors .item .val {
  font-size: 14px; color: var(--anthracite); font-weight: 500;
}
.aud-card .typical {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: var(--steel); padding-top: 14px;
  border-top: 1px solid var(--gray-light);
}
.aud-card .typical span { color: var(--teal); font-weight: 600; }

/* ========= EXPERTISES ========= */
.expertises { background: var(--offwhite); }
.expertises-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 64px;
}
.exp-card {
  background: var(--white); border: 1px solid var(--gray-light);
  padding: 36px 28px;
  transition: all 0.25s ease;
  display: flex; flex-direction: column;
}
.exp-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(13,115,119,0.08); }
.exp-card .num {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: var(--steel); letter-spacing: 0.1em; margin-bottom: 24px;
}
.exp-card .accent { width: 28px; height: 3px; background: var(--gold); margin: 0 0 16px; }
.exp-card h3 { font-size: 17px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 12px; }
.exp-card p { font-size: 13.5px; color: var(--graphite); line-height: 1.6; }

/* ========= MODÈLES CONTRACTUELS ========= */
.models { background: var(--offwhite); }
.models-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.model-card {
  background: var(--white); border: 1px solid var(--gray-light);
  padding: 40px 36px 32px; position: relative;
}
.model-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--teal);
}
.model-card.featured::before { background: var(--gold); }
.model-card .num {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: var(--steel); letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.model-card h3 {
  font-size: 24px; font-weight: 700; line-height: 1.25;
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.model-card .desc { font-size: 15px; color: var(--graphite); line-height: 1.65; margin-bottom: 24px; }
.model-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.model-card ul li {
  position: relative; padding: 8px 0 8px 20px;
  font-size: 14px; color: var(--anthracite); line-height: 1.5;
  border-bottom: 1px solid var(--gray-light);
}
.model-card ul li:last-child { border-bottom: none; }
.model-card ul li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 8px; height: 2px; background: var(--gold);
}
.model-card .financing {
  font-size: 13px; padding: 14px 16px;
  background: var(--offwhite); border-left: 3px solid var(--gold);
}
.model-card .financing strong { color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }

/* ========= PROCESS 4 ÉTAPES ========= */
.process { background: var(--offwhite); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 56px; }
.proc-step {
  background: var(--white); padding: 36px 28px;
  border-top: 4px solid var(--gold);
  position: relative;
}
.proc-step::after {
  content: '→'; position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%); color: var(--gold); font-size: 28px;
  z-index: 2; background: var(--offwhite); width: 32px; text-align: center;
}
.proc-step:last-child::after { display: none; }
.proc-step .step-num {
  font-family: 'IBM Plex Mono', monospace; font-size: 32px; font-weight: 500;
  color: var(--teal); line-height: 1; margin-bottom: 18px;
}
.proc-step h4 {
  font-size: 16px; font-weight: 700; line-height: 1.3;
  margin-bottom: 10px; color: var(--anthracite);
}
.proc-step p {
  font-size: 13.5px; color: var(--graphite); line-height: 1.55;
}

/* ========= ACTIONNARIAT ========= */
.shareholders { background: var(--white); padding-top: 90px; padding-bottom: 90px; }
.share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.share-card {
  background: var(--offwhite); border: 1px solid var(--gray-light);
  padding: 32px 32px; display: flex; gap: 24px; align-items: flex-start;
}
.share-card .tag {
  background: var(--teal); color: var(--white);
  font-family: 'IBM Plex Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; padding: 6px 10px;
  flex-shrink: 0; align-self: flex-start;
}
.share-card .body h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.share-card .body p { font-size: 14.5px; color: var(--graphite); line-height: 1.55; }

/* ========= POUR VOS INSTALLATIONS (bénéfices client) ========= */
.benefices { background: var(--white); }
.benefices-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; }
.benefices-intro .right p { font-size: 16px; color: var(--graphite); line-height: 1.7; }
.kpi-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--gray-light); border: 1px solid var(--gray-light);
  margin-top: 56px; margin-bottom: 8px;
}
.kpi-band > div {
  background: var(--anthracite); padding: 32px 28px 28px; color: var(--white);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.kpi-band > div::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 36px; height: 3px; background: var(--gold);
}
.kpi-band .l {
  font-size: 13px; color: var(--white); font-weight: 600;
  letter-spacing: 0.01em; line-height: 1.4;
  min-height: calc(2 * 1.4em);
  display: flex; align-items: flex-start;
  margin-bottom: 14px;
}
.kpi-band .v {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(36px, 3.6vw, 52px);
  color: var(--gold);
  line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap;
  margin-bottom: 6px;
}
.kpi-band .v-alt {
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 16px; color: rgba(245,197,66,0.65);
  letter-spacing: 0.02em; line-height: 1;
  margin-bottom: 16px;
}
.kpi-band .v-alt strong { color: var(--gold); font-weight: 700; }
.kpi-band .c {
  font-size: 12.5px; color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin-top: auto;
}
.benefices-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 64px; background: var(--gray-light);
  border: 1px solid var(--gray-light);
}
.bn-cell {
  background: var(--white); padding: 32px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.2s;
}
.bn-cell:hover { background: var(--offwhite); }
.bn-cell .check {
  flex-shrink: 0; width: 38px; height: 38px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--anthracite); font-weight: 800; font-size: 18px;
  margin-top: 2px;
}
.bn-cell h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; color: var(--anthracite); }
.bn-cell p { font-size: 14px; color: var(--graphite); line-height: 1.6; }

/* ========= POURQUOI AVEO ========= */
.pourquoi {
  background-color: var(--anthracite);
  background-image: url('../photos/chaufferie-interior.jpg');
  background-size: cover; background-position: center;
  background-blend-mode: luminosity;
  color: var(--white);
  position: relative; overflow: hidden;
}
.pourquoi::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(26,35,50,0.88) 0%, rgba(13,28,40,0.96) 100%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 56px 56px, 56px 56px;
  pointer-events: none;
}
.pourquoi .inner { position: relative; z-index: 2; }
.pourquoi h2 { color: var(--white); }
.pourquoi p.lead { color: rgba(255,255,255,0.7); }
.pourquoi-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,0.08);
  margin-top: 64px;
  border: 1px solid rgba(255,255,255,0.08);
}
.pq-cell {
  background: var(--anthracite); padding: 48px 44px;
  display: flex; gap: 24px; align-items: flex-start;
}
.pq-cell .index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 32px; font-weight: 400; color: var(--gold);
  line-height: 1; flex-shrink: 0;
}
.pq-cell h3 { color: var(--white); font-size: 19px; margin-bottom: 12px; }
.pq-cell p { color: rgba(255,255,255,0.7); font-size: 14.5px; line-height: 1.65; }

/* ========= REFERENCES ========= */
.references { background: var(--white); }
.refs-meta { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.refs-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.refs-filters button {
  font-family: inherit; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid var(--gray-light);
  background: var(--white); color: var(--graphite);
  cursor: pointer; transition: all 0.2s;
}
.refs-filters button.active { background: var(--teal); color: var(--white); border-color: var(--teal); }
.refs-filters button:hover:not(.active) { border-color: var(--teal); color: var(--teal); }
.refs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.ref-card {
  background: var(--white); border: 1px solid var(--gray-light);
  overflow: hidden; transition: all 0.25s;
  display: flex; flex-direction: column;
}
.ref-card:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,115,119,0.08); }
.ref-card .photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--teal) 0%, var(--teal-dark) 100%);
  position: relative; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65); font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  letter-spacing: 0.18em; font-weight: 600;
  overflow: hidden;
}
.ref-card .photo::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.ref-card .photo::after {
  content: ''; position: absolute;
  top: 12px; left: 12px; width: 16px; height: 16px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold);
  opacity: 0.6;
}
.ref-card .photo span {
  position: relative; z-index: 2;
  text-align: center; padding: 0 16px;
}
.ref-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.ref-card .sector {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: var(--steel); letter-spacing: 0.1em; margin-bottom: 8px;
}
.ref-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.ref-card .city {
  font-size: 13px; color: var(--graphite); font-weight: 500;
  display: flex; align-items: center; gap: 6px; margin-bottom: 14px;
}
.ref-card .city::before { content: '◆'; color: var(--gold); font-size: 10px; }
.ref-card .equip {
  font-size: 12.5px; color: var(--steel); line-height: 1.5;
  border-top: 1px solid var(--gray-light); padding-top: 12px; margin-top: auto;
}
.ref-card .co2 {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px;
  color: var(--teal); font-weight: 500; margin-top: 8px;
}

/* ========= CONTACT ========= */
.contact-section { background: var(--offwhite); }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px;
  margin-top: 56px;
}
.contact-form { background: var(--white); padding: 48px 44px; border: 1px solid var(--gray-light); }
.contact-form .row { margin-bottom: 22px; }
.contact-form .row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 8px;
}
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--gray-light);
  font-family: inherit; font-size: 15px; color: var(--anthracite);
  background: var(--white); transition: border 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-info { padding: 8px 0; }
.contact-info h3 { font-size: 15px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.contact-info p, .contact-info a { font-size: 16px; color: var(--graphite); line-height: 1.7; text-decoration: none; }
.contact-info a:hover { color: var(--teal); }
.contact-info .block { margin-bottom: 36px; padding-left: 18px; border-left: 2px solid var(--gold); }

/* ========= FOOTER ========= */
footer.foot {
  background: var(--anthracite); color: var(--white);
  padding: 70px 0 30px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.foot h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.foot p, .foot a {
  color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.8; text-decoration: none;
}
.foot a:hover { color: var(--white); }
.foot ul { list-style: none; }
.foot .logo-foot { margin-bottom: 22px; }
.foot .logo-foot svg { height: 56px; width: auto; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 56px; padding-top: 24px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.02em;
  text-align: center;
}

/* ========= MOBILE ========= */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  nav.topnav .inner { padding: 14px 24px; }
  .nav-links { display: none; }
  .hero { min-height: auto; padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .biomasse-grid { grid-template-columns: 1fr; gap: 40px; }
  .audience-grid { grid-template-columns: 1fr; gap: 16px; }
  .aud-card { padding: 32px 24px; }
  .expertises-grid { grid-template-columns: 1fr; gap: 16px; }
  .models-grid { grid-template-columns: 1fr; gap: 16px; }
  .benefices-intro { grid-template-columns: 1fr; gap: 24px; }
  .benefices-grid { grid-template-columns: 1fr; }
  .kpi-band { grid-template-columns: 1fr 1fr; }
  .kpi-band > div { min-height: 220px; padding: 26px 22px 22px; }
  .share-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .proc-step::after { display: none; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .refs-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 32px 24px; }
  .contact-form .row.split { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  section.block { padding: 72px 0; }
  .pq-cell { padding: 32px 28px; }
}