:root {
  --green: #8cc63e;
  --green-dark: #6ea52e;
  --ink: #0c2430;
  --ink-2: #163440;
  --muted: #66727a;
  --paper: #ffffff;
  --soft: #f4f6f3;
  --line: #dfe5df;
  --blue: #4f7fa3;
  --shadow: 0 18px 50px rgba(12, 36, 48, .12);
  --max: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 16px; }

.container {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 13px;
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  background: var(--green);
  margin-bottom: 12px;
}
.eyebrow.light { color: rgba(255,255,255,.76); }

h1, h2, h3 { margin-top: 0; line-height: 1.05; }
h1 { font-size: clamp(42px, 5.2vw, 82px); letter-spacing: -.035em; font-weight: 650; }
h1 span { color: var(--green); }
h2 { font-size: clamp(34px, 3.2vw, 56px); letter-spacing: -.026em; font-weight: 620; }
h3 { font-size: 18px; }
p { margin-top: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--green);
  border-radius: 2px;
  background: var(--green);
  color: #102015;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .015em;
  font-size: 13px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); background: #98d349; border-color: #98d349; }
.button-sm { min-height: 42px; padding: 0 16px; font-size: 12px; }
.button-outline { background: transparent; color: #fff; border-color: rgba(140,198,62,.95); }
.button-outline:hover { background: var(--green); color: #102015; }

/* Header */
.site-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto 0;
  color: #fff;
}
.nav-shell {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 28px;
}
.brand img { width: 78px; height: 74px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 650; }
.site-nav > a { position: relative; padding: 10px 0; color: rgba(255,255,255,.9); }
.site-nav > a:hover, .site-nav > a.active { color: #fff; }
.site-nav > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--green);
}
.portal-link { display: inline-flex; align-items: center; gap: 7px; }
.portal-dot { width: 9px; height: 9px; background: var(--blue); display: inline-block; border-radius: 1px; box-shadow: 0 0 0 2px rgba(255,255,255,.14); }
.lang-link { font-size: 12px; opacity: .82; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 28px; height: 2px; background: #fff; margin: 6px 0; transition: .2s ease; }

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  background: url('../img/hero-v4.webp') center center / cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,16,21,.96) 0%, rgba(4,16,21,.82) 30%, rgba(4,16,21,.28) 61%, rgba(4,16,21,.12) 100%),
    linear-gradient(180deg, rgba(4,16,21,.12), rgba(4,16,21,.1));
}
.hero-inner { min-height: 760px; display: flex; align-items: center; padding-top: 70px; position: relative; z-index: 1; }
.hero-copy { max-width: 760px; padding: 82px 0 72px; }
.hero-copy .eyebrow { margin-bottom: 16px; }
.hero-lede { max-width: 670px; color: rgba(255,255,255,.92); font-size: clamp(17px,1.4vw,21px); margin-bottom: 32px; }

/* Approach */
.approach { padding-bottom: 112px; }
.approach-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 70px; align-items: center; }
.approach-copy p:not(.eyebrow) { max-width: 720px; color: #536069; font-size: 17px; }
.approach-photo { margin: 0; min-height: 360px; overflow: hidden; }
.approach-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 76px; border-top: 1px solid var(--line); }
.pillar { padding: 34px 34px 0; border-right: 1px solid var(--line); }
.pillar:first-child { padding-left: 0; }
.pillar:last-child { border-right: 0; }
.pillar svg { width: 42px; height: 42px; stroke: var(--green); stroke-width: 2.4; fill: none; margin-bottom: 20px; }
.pillar svg.infinity-mark { width: 48px; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.pillar p { color: #69757b; margin-bottom: 0; }

/* Stats */
.stats-band { position: relative; color: #fff; background: url('../img/stats-montreal-v7.png') center 48% / cover no-repeat; }
.stats-overlay { position:absolute; inset:0; background: linear-gradient(90deg, rgba(5,24,30,.95), rgba(5,24,30,.86)); }
.stats-grid { position: relative; z-index: 1; min-height: 255px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 0; }
.stat { min-height: 150px; padding: 10px 30px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid rgba(255,255,255,.34); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { color: var(--green); font-size: clamp(46px,4vw,68px); font-weight: 720; line-height: .98; margin-bottom: 14px; letter-spacing: -.03em; white-space: nowrap; }
.stat span { max-width: 200px; color: rgba(255,255,255,.96); font-size: 16px; line-height: 1.4; }

/* Services */
.section-heading { max-width: 880px; margin-bottom: 46px; }
.section-heading p:last-child { color: #69757b; max-width: 780px; font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.service-card { border-top: 3px solid transparent; transition: transform .18s ease, border-color .18s ease; min-width: 0; }
.service-card:hover { transform: translateY(-5px); border-color: var(--green); }
.service-card img { width: 100%; aspect-ratio: 1.7 / 1; object-fit: cover; background: #eef0ed; }
.service-card > div { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0 0; align-items: flex-start; }
.service-card h3 { text-transform: uppercase; font-size: 16px; line-height: 1.24; margin-bottom: 0; }
.service-card span { color: var(--green); font-size: 22px; line-height: 1; }

/* Method */
.method { position: relative; overflow: hidden; padding: 0; }
.method-photo { position: absolute; inset: 0 auto 0 0; width: 42%; background: url('../img/methode-bonsecours-v10.5.png') center / cover no-repeat; }
.method-grid { display: grid; grid-template-columns: .72fr 1fr; min-height: 510px; }
.method-content { grid-column: 2; padding: 86px 0 82px 72px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; list-style: none; padding: 0; margin: 46px 0 0; }
.steps li { border-top: 1px solid #cfd8d0; padding-top: 26px; }
.steps li > span { width: 42px; height: 42px; margin-top: -48px; margin-bottom: 22px; background: var(--green); color: #112216; border-radius: 999px; display:flex; align-items:center; justify-content:center; font-weight:800; }
.steps h3 { text-transform: uppercase; margin-bottom: 8px; font-size: 15px; }
.steps p { color: #68767d; margin-bottom: 0; font-size: 14px; }

/* Prevention and major projects */
.feature-band { position: relative; min-height: 450px; color: #fff; display: flex; align-items: center; background-position: center; background-size: cover; }
.feature-band.prevention { background-image: url('../img/prevention-condos-v4.webp'); }
.feature-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,28,35,.97) 0%, rgba(5,28,35,.88) 27%, rgba(5,28,35,.18) 62%, rgba(5,28,35,.06) 100%); }
.feature-content { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; }
.feature-content h2 { max-width: 650px; color: #fff; }
.feature-content p { max-width: 650px; color: rgba(255,255,255,.92); font-size: 17px; margin-bottom: 26px; }

.projects-split { background: #fff; border-top: 4px solid #fff; }
.projects-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; min-height: 560px; }
.projects-copy { padding: 96px 76px 96px 0; align-self: center; }
.projects-copy p:not(.eyebrow) { color: #65727a; font-size: 18px; max-width: 610px; margin-bottom: 30px; }
.projects-photo { margin: 0; min-height: 560px; overflow: hidden; }
.projects-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center; }

/* Consultation */
.consultation { background: #fff; }
.consultation-grid { display: grid; grid-template-columns: 170px minmax(0, 1.25fr) minmax(300px, .75fr); gap: 54px; align-items: center; }
.consultation-logo img { width: 138px; height: auto; }
.consultation-copy p:not(.eyebrow) { max-width: 740px; color: #65727a; font-size: 17px; }
.contact-card { display: grid; gap: 18px; border-left: 1px solid var(--line); padding-left: 52px; }
.contact-card a { display: flex; flex-direction: column; gap: 2px; }
.contact-card strong { font-size: 17px; }
.contact-card span { color: #748086; font-size: 14px; }

/* Footer */
.site-footer { background: #08232d; color: #fff; padding: 42px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: 14px; }
.footer-nav a, .footer-legal a { color: rgba(255,255,255,.76); }
.footer-nav a:hover, .footer-legal a:hover { color: #fff; }
.footer-legal { display: grid; gap: 8px; justify-items: end; text-align: right; font-size: 13px; color: rgba(255,255,255,.68); }

/* Consultation modal */
.consultation-modal {
  width: min(760px, calc(100% - 32px));
  border: 0;
  padding: 0;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  color: var(--ink);
}
.consultation-modal::backdrop { background: rgba(3,15,20,.7); backdrop-filter: blur(6px); }
.consultation-form { padding: 44px; position: relative; background: #fff; }
.consultation-form h2 { font-size: clamp(30px,4vw,44px); margin-bottom: 10px; }
.form-intro { color: #69757b; margin-bottom: 28px; }
.modal-close { position:absolute; right:18px; top:14px; border:0; background:transparent; font-size:32px; color:#718087; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; color: #536069; }
.form-grid input, .form-grid textarea {
  width: 100%; border: 1px solid #cfd8d0; border-radius: 2px; padding: 12px 13px; color: var(--ink); background: #fff;
}
.form-grid input:focus, .form-grid textarea:focus { outline: 2px solid rgba(140,198,62,.28); border-color: var(--green); }
.form-wide { grid-column: 1 / -1; }
.consent { display:flex; gap:10px; align-items:flex-start; margin:18px 0; color:#69757b; font-size:13px; }
.consent input { margin-top:4px; }
.form-actions { display:flex; justify-content:space-between; gap:22px; align-items:center; }
.form-note { color:#7d898e; font-size:12px; max-width:380px; margin:0; }

/* Generic inner page shell */
.inner-hero { padding: 150px 0 80px; background: #0a2a35; color:#fff; }
.inner-hero h1 { max-width: 850px; }
.inner-page { padding: 80px 0 120px; }
.placeholder-card { max-width: 860px; padding: 42px; border:1px solid var(--line); background:#fff; box-shadow: var(--shadow); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .service-card { transition: none; }
}

@media (max-width: 1120px) {
  .container, .nav-shell { width: min(calc(100% - 40px), var(--max)); }
  .site-nav { gap: 17px; font-size: 13px; }
  .nav-cta { display: none; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 34px; margin-top: 30px; }
  .stats-grid { grid-template-columns: repeat(3,1fr); }
  .stat:first-child { padding-left: 30px; }
  .stat:nth-child(4) { border-left: 0; }
  .method-photo { width: 38%; }
  .method-grid { grid-template-columns: .62fr 1fr; }
}

@media (max-width: 900px) {
  .container, .nav-shell { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 72px 0; }
  .site-header { position: absolute; }
  .nav-shell { min-height: 76px; }
  .brand img { width: 62px; height: 60px; }
  .nav-toggle { display: block; z-index: 103; }
  .site-nav {
    position: fixed; inset: 0 0 0 auto; width: min(88vw, 390px); height: 100dvh; background: #08232d;
    flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 96px 26px 32px; gap: 0;
    transform: translateX(105%); transition: transform .24s ease; box-shadow: -18px 0 55px rgba(0,0,0,.25); overflow-y: auto;
  }
  body.nav-open .site-nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity:0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav > a { padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 18px; }
  .site-nav > a.active::after { display:none; }
  .portal-link { margin-top: 8px; }
  .nav-cta { display: inline-flex; margin-top: 24px; }
  .lang-link { margin-top: 6px; }

  .hero { min-height: 720px; background-position: 60% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(4,16,21,.36), rgba(4,16,21,.88) 56%, rgba(4,16,21,.96)); }
  .hero-inner { min-height: 720px; align-items: flex-end; padding-top: 100px; }
  .hero-copy { max-width: 650px; padding: 100px 0 58px; }
  .hero-lede { max-width: 620px; }

  .approach-grid { grid-template-columns: 1fr; gap: 38px; }
  .approach-photo { order: 2; min-height: 280px; }
  .pillars { margin-top: 56px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); padding: 28px 0; }
  .stat, .stat:first-child, .stat:nth-child(4) { border-left: 0; border-top: 1px solid rgba(255,255,255,.24); padding: 26px 20px 18px 0; min-height: 130px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .method { padding: 0; }
  .method-photo { position: relative; width: 100%; height: 360px; }
  .method-grid { display: block; min-height: 0; }
  .method-content { padding: 64px 0 78px; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 42px 24px; }
  .feature-band { min-height: 480px; background-position: 65% center; }
  .feature-overlay { background: linear-gradient(90deg, rgba(5,28,35,.95), rgba(5,28,35,.7) 53%, rgba(5,28,35,.18)); }
  .projects-grid { grid-template-columns: 1fr; min-height: 0; }
  .projects-copy { padding: 72px 0 58px; }
  .projects-photo { min-height: 420px; }
  .projects-photo img { min-height: 420px; }
  .consultation-grid { grid-template-columns: 120px 1fr; gap: 36px; }
  .contact-card { grid-column: 1 / -1; }
  .contact-card { border-left: 0; border-top: 1px solid var(--line); padding: 34px 0 0; grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-legal { justify-items: start; text-align:left; }
}

@media (max-width: 620px) {
  .container, .nav-shell { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 64px 0; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  h2 { font-size: clamp(30px, 9vw, 42px); }
  .hero { min-height: 760px; background-position: 61% center; }
  .hero-inner { min-height: 760px; }
  .hero-copy { padding-bottom: 48px; }
  .hero-lede { font-size: 16px; }
  .button { width: 100%; }
  .approach { padding-bottom: 78px; }
  .approach-photo { min-height: 250px; }
  .pillars { grid-template-columns: 1fr; border-top: 0; gap: 0; }
  .pillar, .pillar:first-child { padding: 28px 0; border-right: 0; border-top: 1px solid var(--line); margin:0; }
  .pillar:nth-child(n+3) { margin:0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-intro { padding-top: 24px; }
  .stat { min-height: 105px; padding: 22px 0; }
  .stat strong { font-size: 48px; }
  .service-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-card img { aspect-ratio: 1.8 / 1; }
  .method-photo { height: 300px; }
  .method-content { padding: 56px 0 68px; }
  .steps { grid-template-columns: 1fr; gap: 34px; margin-top: 46px; }
  .steps li { display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; padding-top: 20px; }
  .steps li > span { margin: -42px 0 0; grid-row: 1 / span 2; }
  .feature-band, .feature-band.projects { min-height: 520px; background-position: 67% center; align-items:flex-end; }
  .feature-content { padding-top: 110px; padding-bottom: 50px; }
  .feature-content h2 { font-size: 38px; }
  .feature-content p { font-size:16px; }
  .contact-card { grid-template-columns: 1fr; }
  .consultation-form { padding: 34px 22px 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .form-actions { flex-direction: column; align-items:stretch; }
  .footer-nav { display:grid; grid-template-columns:1fr 1fr; }
}


/* ===== Version 4 final homepage refinements ===== */
.brand img { width: 84px; height: 80px; object-fit: contain; }
.hero { background-position: 52% center; }
.approach-photo img { content: none; }
.stats-band { background-position: center 52%; }
.method-photo { background-image: url('../img/methode-bonsecours-v10.5.png'); }
.feature-band.prevention { background-image: url('../img/prevention-condos-v4.webp'); background-position: center 48%; }

/* The approved facts band: five equal facts, including 350 M$+. */
.stats-grid { grid-template-columns: repeat(5, minmax(0,1fr)); padding-block: 44px; }
.stat { min-width: 0; }

/* Keep prevention and projects visually connected with only a hairline separation. */
.projects-split { margin-top: 4px; }

/* Footer remains dark and intentionally has no slogan or duplicate logo. */
.footer-grid { grid-template-columns: 1.6fr 1fr; }

@media (max-width: 1120px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .stat:first-child { padding-left: 30px; }
  .stat:nth-child(4) { border-left: 0; }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat, .stat:first-child, .stat:nth-child(4) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.24);
    padding: 26px 20px 18px 0;
  }
  .stat:nth-child(-n+2) { border-top: 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-copy { padding: 72px 0 54px; }
  .projects-photo, .projects-photo img { min-height: 420px; }
  .consultation-grid { grid-template-columns: 110px 1fr; gap: 32px; }
  .contact-card { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .stats-grid { grid-template-columns: 1fr; padding-block: 18px; }
  .stat, .stat:first-child, .stat:nth-child(4) {
    min-height: 104px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.24);
  }
  .stat:first-child { border-top: 0; }
  .projects-copy { padding: 58px 0 46px; }
  .projects-photo, .projects-photo img { min-height: 300px; }
  .consultation-grid { grid-template-columns: 1fr; gap: 30px; }
  .consultation-logo img { width: 108px; }
  .contact-card { grid-template-columns: 1fr; }
}

/* ===== V5 corrected: V4 base + only approved targeted changes ===== */
/* Restore the earlier, brighter Old Montréal image in the 2010 facts band. */
.stats-band {
  background-image: url('../img/stats-montreal-v7.png');
  background-position: center 48%;
}
.stats-overlay {
  background: linear-gradient(90deg, rgba(5,24,30,.78), rgba(5,24,30,.62));
}

/* Updated service photo: same V4 card/layout, only the approved more realistic HVAC image. */
.service-card img { object-position: center; }

/* Treat major projects like “Notre façon de travailler”: grey text panel + full-frame photo on the right. */
.projects-split {
  position: relative;
  overflow: hidden;
  background: #f0f2ee;
  border-top: 0;
  margin-top: 4px;
  min-height: 510px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr .72fr;
  min-height: 510px;
  align-items: stretch;
}
.projects-copy {
  grid-column: 1;
  padding: 86px 72px 82px 0;
  align-self: center;
  position: relative;
  z-index: 2;
}
.projects-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 50%;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
}
.projects-photo img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  object-position: center;
}
.projects-spacer { grid-column: 2; }

@media (max-width: 900px) {
  .projects-split { min-height: 0; }
  .projects-grid { grid-template-columns: 1fr; min-height: 0; }
  .projects-copy { grid-column: 1; padding: 72px 0 54px; }
  .projects-spacer { display: none; }
  .projects-photo {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 420px;
    order: 2;
  }
  .projects-photo img { min-height: 420px; }
}

@media (max-width: 620px) {
  .projects-copy { padding: 58px 0 46px; }
  .projects-photo, .projects-photo img { min-height: 300px; }
}


/* ===== V6 stats band refinement ===== */
.stats-band {
  position: relative;
  color: #fff;
  background-image: url('../img/stats-montreal-v7.png');
  background-position: center 48%;
  background-size: cover;
  background-repeat: no-repeat;
}
.stats-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,24,30,.16) 0%, rgba(5,24,30,.28) 34%, rgba(5,24,30,.58) 70%, rgba(5,24,30,.82) 100%),
    linear-gradient(90deg, rgba(5,24,30,.76) 0%, rgba(5,24,30,.44) 45%, rgba(5,24,30,.26) 100%);
}
.stats-grid {
  position: relative;
  z-index: 1;
  min-height: 286px;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: end;
  gap: 44px;
  padding-block: 42px;
}
.stats-intro {
  align-self: center;
  padding: 8px 0;
}
.stats-intro .eyebrow {
  color: #fff;
  margin-bottom: 18px;
}
.stats-intro .eyebrow::after {
  background: var(--green);
}
.stats-intro p:last-child {
  max-width: 295px;
  color: rgba(255,255,255,.97);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}
.stats-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  align-items: center;
}
.stat {
  min-height: 162px;
  padding: 14px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.28);
}
.stats-items .stat:first-child { border-left: 1px solid rgba(255,255,255,.28); }
.stat strong {
  color: var(--green);
  font-size: clamp(48px, 4vw, 74px);
  font-weight: 760;
  line-height: .92;
  margin-bottom: 12px;
  letter-spacing: -.04em;
  white-space: normal;
}
.stat span {
  max-width: 190px;
  color: rgba(255,255,255,.98);
  font-size: 15px;
  line-height: 1.45;
}
@media (max-width: 1120px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  .stats-intro p:last-child { max-width: 560px; }
  .stats-items {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .stat {
    border-top: 1px solid rgba(255,255,255,.24);
    border-left: 0;
    min-height: 130px;
    padding: 24px 20px 18px 0;
  }
  .stats-items .stat:first-child { border-left: 0; }
  .stats-items .stat:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 620px) {
  .stats-grid {
    min-height: 0;
    padding-block: 22px;
  }
  .stats-intro p:last-child {
    font-size: 16px;
    max-width: none;
  }
  .stats-items { grid-template-columns: 1fr; }
  .stat {
    min-height: 108px;
    padding: 20px 0;
  }
  .stats-items .stat:nth-child(2) { border-top: 1px solid rgba(255,255,255,.24); }
  .stat strong { font-size: 48px; }
}

/* ===== V6 adjusted stats typography ===== */
/* Smaller, more balanced figures while keeping the same approved layout. */
.stats-items .stat strong {
  font-size: clamp(40px, 3.2vw, 60px);
  line-height: .98;
  letter-spacing: -.025em;
  white-space: nowrap;
  margin-bottom: 12px;
}
.stats-items .stat {
  padding-left: 28px;
  padding-right: 28px;
}
@media (max-width: 1120px) {
  .stats-items .stat strong {
    font-size: clamp(40px, 5.2vw, 56px);
  }
}
@media (max-width: 620px) {
  .stats-items .stat strong {
    font-size: 44px;
  }
}


/* ===== V7 statistics table ===== */
/* Desktop: values are aligned in one row and their descriptions in a second row. */
.stats-grid {
  grid-template-columns: minmax(245px, 350px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}
.stats-intro p:last-child {
  font-size: 15px;
  line-height: 1.5;
  max-width: 285px;
}
.stats-table-wrap {
  min-width: 0;
}
.stats-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #fff;
}
.stats-table td {
  width: 25%;
  padding-left: 28px;
  padding-right: 24px;
  vertical-align: top;
  border-left: 1px solid rgba(255,255,255,.28);
}
.stats-table .stats-values td {
  padding-top: 8px;
  padding-bottom: 8px;
  vertical-align: bottom;
}
.stats-table .stats-labels td {
  padding-top: 0;
  padding-bottom: 10px;
  color: rgba(255,255,255,.98);
  font-size: 15px;
  line-height: 1.45;
}
.stats-table strong {
  display: block;
  color: var(--green);
  font-size: clamp(42px, 3.25vw, 60px);
  font-weight: 760;
  line-height: .98;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.stats-table td:nth-child(2) {
  width: 29%;
}
.stats-table td:nth-child(3) {
  width: 20%;
}
.stats-table td:nth-child(4) {
  width: 26%;
}
.stats-mobile { display: none; }

@media (max-width: 1120px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
  .stats-intro p:last-child {
    max-width: 560px;
    font-size: 15px;
  }
  .stats-table td {
    padding-left: 20px;
    padding-right: 16px;
  }
  .stats-table strong {
    font-size: clamp(38px, 5vw, 52px);
  }
}

@media (max-width: 760px) {
  .stats-table { display: none; }
  .stats-mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .stat-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 18px 22px 0;
    border-top: 1px solid rgba(255,255,255,.24);
  }
  .stat-mobile:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,.24);
    padding-right: 22px;
  }
  .stat-mobile:nth-child(even) {
    padding-left: 22px;
  }
  .stat-mobile strong {
    color: var(--green);
    font-size: 42px;
    line-height: 1;
    white-space: nowrap;
  }
  .stat-mobile span {
    color: rgba(255,255,255,.98);
    font-size: 15px;
    line-height: 1.45;
  }
}

@media (max-width: 480px) {
  .stats-mobile { grid-template-columns: 1fr; }
  .stat-mobile,
  .stat-mobile:nth-child(odd),
  .stat-mobile:nth-child(even) {
    border-right: 0;
    padding: 20px 0;
  }
  .stat-mobile:first-child { border-top: 0; }
}

/* ===== V7 modifiée — arrière-plan section Depuis 2010 ===== */
/* Nouvelle image plus haute pour conserver un cadrage naturel à différentes largeurs d'écran. */
.stats-band {
  background-image: url('../img/stats-montreal-v7.png');
  background-position: center 52%;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ===== V7 modifiée 2 — section Depuis 2010 plus compacte sur desktop ===== */
/* Desktop seulement : environ moitié moins d'espace vertical. Les formats tablette/mobile restent inchangés. */
@media (min-width: 1121px) {
  .stats-grid {
    padding-block: 21px;
    min-height: 220px;
  }
}

/* ===== V7 modification 3: approved Notre façon de travailler image ===== */
.method-photo {
  background-image: url('../img/methode-bonsecours-v10.5.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}


/* ===== V7 modification 4: prevention/project transition ===== */
/* Remove the 4px separator so the two sections touch directly. */
.projects-split {
  margin-top: 0;
  border-top: 0;
}

/* Small section label above “Prévenir avant d’avoir à réparer”. */
.feature-content .eyebrow.light {
  margin-bottom: 16px;
  color: rgba(255,255,255,.82);
}

/* ===== Version 8: targeted spacing refinements ===== */
/* Keep the prevention section label at the same compact scale as other eyebrow labels. */
.feature-content .eyebrow.light {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .09em;
  margin-bottom: 16px;
}

/* Give the Projects & Works copy a little more room on desktop by starting the photo farther right. */
@media (min-width: 901px) {
  .projects-grid {
    grid-template-columns: 1.08fr .64fr;
  }
  .projects-copy {
    padding-right: 54px;
  }
  .projects-photo {
    width: 46%;
  }
}

/* ===== V8.3 — Services page ===== */
.services-hero {
  position: relative;
  min-height: 560px;
  background: url('../img/services/administration-v4.webp') center 44% / cover no-repeat;
  overflow: hidden;
}
.services-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,20,27,.98) 0%, rgba(4,20,27,.91) 38%, rgba(4,20,27,.54) 72%, rgba(4,20,27,.34) 100%),
    linear-gradient(180deg, rgba(4,20,27,.2), rgba(4,20,27,.42));
}
.services-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
}
.services-hero-copy {
  max-width: 900px;
  padding: 80px 0 72px;
}
.services-hero-copy h1 { font-size: clamp(46px, 4.9vw, 76px); }
.services-hero-copy p:last-child {
  max-width: 760px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.65;
}
.service-jump {
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(12,36,48,.05);
}
.service-jump-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
}
.service-jump a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
  color: #42535c;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .025em;
  transition: color .18s ease, background .18s ease;
}
.service-jump a:first-child { border-left: 1px solid var(--line); }
.service-jump a:hover { color: var(--ink); background: #f7f9f6; }
.service-jump a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  margin-right: 10px;
  flex: 0 0 auto;
}
.service-detail { scroll-margin-top: 24px; }
.service-detail-soft { background: var(--soft); padding: 96px 0; }
.service-detail-dark { background: #082832; color: #fff; padding: 96px 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: 82px;
  align-items: center;
}
.service-detail-reverse .service-detail-photo { grid-column: 2; }
.service-detail-reverse .service-detail-copy { grid-column: 1; grid-row: 1; }
.service-detail-photo {
  margin: 0;
  min-height: 430px;
  overflow: hidden;
  background: #e9ece8;
}
.service-detail-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}
.service-detail-copy h2 { max-width: 690px; }
.service-intro {
  max-width: 720px;
  color: #5f6e76;
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0 30px;
  border-top: 1px solid var(--line);
}
.service-list li {
  position: relative;
  padding: 16px 0 16px 20px;
  border-bottom: 1px solid var(--line);
  color: #42535c;
  line-height: 1.48;
  font-size: 15px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 7px;
  height: 7px;
  background: var(--green);
}
.service-detail-dark .service-intro,
.service-detail-dark .service-list li { color: rgba(255,255,255,.82); }
.service-detail-dark .service-list,
.service-detail-dark .service-list li { border-color: rgba(255,255,255,.16); }
.services-principle { padding: 86px 0; }
.services-principle-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 84px;
  align-items: start;
}
.services-principle-grid h2 { margin-bottom: 0; }
.services-principle-copy {
  border-left: 1px solid #ccd5cd;
  padding-left: 48px;
}
.services-principle-copy p {
  color: #5e6c74;
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
}
.services-principle-copy p:last-child { margin-bottom: 0; }

@media (max-width: 1100px) {
  .service-detail-grid { gap: 48px; }
  .service-list { grid-template-columns: 1fr; }
  .service-jump-inner { grid-template-columns: repeat(3,1fr); }
  .service-jump a:nth-child(4), .service-jump a:nth-child(5) { border-top: 1px solid var(--line); }
  .services-principle-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .services-hero, .services-hero-inner { min-height: 500px; }
  .services-hero-copy { padding-bottom: 58px; }
  .service-detail,
  .service-detail-soft,
  .service-detail-dark { padding: 72px 0; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 38px; }
  .service-detail-reverse .service-detail-photo,
  .service-detail-reverse .service-detail-copy { grid-column: auto; grid-row: auto; }
  .service-detail-photo { min-height: 340px; }
  .service-detail-photo img { min-height: 340px; }
  .services-principle-grid { grid-template-columns: 1fr; gap: 26px; }
  .services-principle-copy { border-left: 0; border-top: 1px solid #ccd5cd; padding: 28px 0 0; }
}
@media (max-width: 620px) {
  .services-hero { background-position: 58% center; }
  .services-hero, .services-hero-inner { min-height: 560px; }
  .services-hero-copy { padding: 110px 0 46px; }
  .services-hero-copy h1 { font-size: 44px; }
  .services-hero-copy p:last-child { font-size: 16px; }
  .service-jump { overflow-x: auto; }
  .service-jump-inner { width: max-content; min-width: 100%; display: flex; min-height: 62px; }
  .service-jump a { min-width: 165px; font-size: 12px; border-top: 0 !important; }
  .service-detail,
  .service-detail-soft,
  .service-detail-dark { padding: 60px 0; }
  .service-detail-photo,
  .service-detail-photo img { min-height: 260px; }
  .service-intro { font-size: 16px; }
  .service-list li { font-size: 15px; }
  .services-principle { padding: 60px 0; }
}

/* ===== V8.4 — Secteurs desservis / Areas served ===== */
.areas-hero {
  position: relative;
  min-height: 570px;
  background: url('../img/areas-hero-v9.1.5.png') center 50% / cover no-repeat;
  overflow: hidden;
}
.areas-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,20,27,.98) 0%, rgba(4,20,27,.91) 38%, rgba(4,20,27,.56) 70%, rgba(4,20,27,.36) 100%),
    linear-gradient(180deg, rgba(4,20,27,.12), rgba(4,20,27,.5));
}
.areas-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
}
.areas-hero-copy {
  max-width: 970px;
  padding: 82px 0 72px;
}
.areas-hero-copy h1 { font-size: clamp(45px, 4.7vw, 74px); }
.areas-hero-copy p:last-child {
  max-width: 830px;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.65;
}
.area-feature { padding: 100px 0; }
.area-feature-soft { background: var(--soft); }
.area-feature-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 82px;
  align-items: center;
}
.area-feature-reverse .area-feature-photo { grid-column: 2; }
.area-feature-reverse .area-feature-copy { grid-column: 1; grid-row: 1; }
.area-feature-photo {
  margin: 0;
  min-height: 455px;
  overflow: hidden;
  background: #e9ece8;
}
.area-feature-photo img {
  width: 100%;
  height: 100%;
  min-height: 455px;
  object-fit: cover;
}
.area-feature-copy h2 { max-width: 650px; }
.area-feature-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: #5f6e76;
  font-size: 17px;
  line-height: 1.68;
}
.area-note {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.area-note span {
  color: #6d7b82;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.area-note strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
}
.areas-proximity { padding: 92px 0 98px; }
.areas-proximity-head {
  max-width: 780px;
  margin-bottom: 48px;
}
.areas-proximity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-benefit {
  padding: 34px 34px 38px 0;
  min-height: 225px;
  border-right: 1px solid var(--line);
}
.area-benefit + .area-benefit { padding-left: 34px; }
.area-benefit:last-child { border-right: 0; padding-right: 0; }
.area-benefit-number {
  display: block;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 42px;
}
.area-benefit h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}
.area-benefit p {
  margin: 0;
  color: #607078;
  font-size: 15px;
  line-height: 1.6;
}
.areas-open {
  background: #082832;
  padding: 88px 0;
}
.areas-open-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 90px;
  align-items: start;
}
.areas-open h2 {
  margin-bottom: 0;
  max-width: 650px;
}
.areas-open-copy {
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: 50px;
}
.areas-open-copy p {
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.7;
  max-width: 760px;
}
.areas-open-copy p:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .area-feature-grid { gap: 48px; }
  .areas-open-grid { gap: 50px; }
}
@media (max-width: 900px) {
  .areas-hero, .areas-hero-inner { min-height: 520px; }
  .areas-hero-copy { padding-bottom: 58px; }
  .area-feature { padding: 74px 0; }
  .area-feature-grid { grid-template-columns: 1fr; gap: 38px; }
  .area-feature-reverse .area-feature-photo,
  .area-feature-reverse .area-feature-copy { grid-column: auto; grid-row: auto; }
  .area-feature-photo,
  .area-feature-photo img { min-height: 360px; }
  .areas-proximity-grid { grid-template-columns: 1fr; }
  .area-benefit,
  .area-benefit + .area-benefit,
  .area-benefit:last-child {
    min-height: auto;
    padding: 28px 0 30px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .area-benefit:last-child { border-bottom: 0; }
  .area-benefit-number { margin-bottom: 22px; }
  .areas-open-grid { grid-template-columns: 1fr; gap: 30px; }
  .areas-open-copy { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 28px 0 0; }
}
@media (max-width: 620px) {
  .areas-hero { background-position: 60% center; }
  .areas-hero, .areas-hero-inner { min-height: 565px; }
  .areas-hero-copy { padding: 112px 0 46px; }
  .areas-hero-copy h1 { font-size: 43px; }
  .areas-hero-copy p:last-child { font-size: 16px; }
  .area-feature { padding: 60px 0; }
  .area-feature-photo,
  .area-feature-photo img { min-height: 275px; }
  .area-feature-copy > p:not(.eyebrow) { font-size: 16px; }
  .areas-proximity { padding: 62px 0 68px; }
  .areas-proximity-head { margin-bottom: 32px; }
  .areas-open { padding: 62px 0; }
  .areas-open-copy p { font-size: 16px; }
}

/* ===== V9 — Gestion dédiée / Dedicated management ===== */
.areas-dedicated {
  background: #082832;
  padding: 0;
  overflow: hidden;
}
.areas-dedicated-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: stretch;
  min-height: 610px;
}
.areas-dedicated-photo {
  margin: 0 0 0 calc((100vw - min(100vw - 40px, 1320px)) / -2);
  min-height: 610px;
  overflow: hidden;
  background: #132f38;
}
.areas-dedicated-photo img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  object-position: 52% center;
}
.areas-dedicated-copy {
  padding: 84px 0 82px 74px;
  align-self: center;
}
.areas-dedicated-copy h2 {
  max-width: 660px;
  margin-bottom: 20px;
  color: #fff;
}
.areas-dedicated-copy > p:not(.eyebrow) {
  max-width: 675px;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.68;
}
.areas-dedicated-copy .areas-dedicated-lead {
  color: #fff;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
  margin-bottom: 24px;
}
.areas-dedicated-points {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid;
  gap: 13px;
}
.areas-dedicated-points span {
  position: relative;
  padding-left: 25px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
}
.areas-dedicated-points span::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--green);
  transform: rotate(45deg);
}

@media (max-width: 1000px) {
  .areas-dedicated-copy { padding-left: 52px; }
}
@media (max-width: 900px) {
  .areas-dedicated-grid { grid-template-columns: 1fr; min-height: 0; }
  .areas-dedicated-photo {
    margin: 0 calc((100vw - min(100vw - 40px, 1320px)) / -2);
    min-height: 390px;
  }
  .areas-dedicated-photo img { min-height: 390px; }
  .areas-dedicated-copy { padding: 62px 0 68px; }
}
@media (max-width: 620px) {
  .areas-dedicated-photo,
  .areas-dedicated-photo img { min-height: 300px; }
  .areas-dedicated-copy { padding: 54px 0 58px; }
  .areas-dedicated-copy > p:not(.eyebrow) { font-size: 16px; }
  .areas-dedicated-copy .areas-dedicated-lead { font-size: 18px; }
}


/* V9.1.4 — Centre-ville / Vieux-Montréal: cadrage approuvé */
#centre-ville .area-feature-photo img {
  object-position: 55% center;
}


/* ===== V10 — À propos / About ===== */
.about-hero {
  position: relative;
  min-height: 610px;
  background: url('../img/about-hero-v10.2.webp') center 52% / cover no-repeat;
  overflow: hidden;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,20,27,.98) 0%, rgba(4,20,27,.92) 38%, rgba(4,20,27,.52) 72%, rgba(4,20,27,.30) 100%),
    linear-gradient(180deg, rgba(4,20,27,.10), rgba(4,20,27,.42));
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
}
.about-hero-copy { max-width: 940px; padding: 82px 0 72px; }
.about-hero-copy h1 { font-size: clamp(45px, 4.7vw, 74px); }
.about-hero-copy p:last-child { max-width: 790px; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.65; }

.about-split-grid {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: 82px;
  align-items: center;
}
.about-copy p:not(.eyebrow),
.about-history-copy p:not(.eyebrow),
.about-team-copy p:not(.eyebrow) { color: #637078; font-size: 17px; line-height: 1.7; }
.about-photo { margin: 0; min-height: 430px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }

.about-history { padding: 100px 0; }
.about-history-grid {
  display: block;
}
.about-history-copy { max-width: 900px; }
.about-history-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ccd6ce; border-bottom: 1px solid #ccd6ce; }
.about-history-stat { padding: 38px 34px; border-right: 1px solid #ccd6ce; }
.about-history-stat:last-child { border-right: 0; }
.about-history-stat strong { display: block; color: var(--green); font-size: clamp(48px,4.3vw,68px); line-height: 1; letter-spacing: -.035em; margin-bottom: 14px; }
.about-history-stat span { color: #4f5e66; font-size: 15px; line-height: 1.45; }

.about-team { background: #082832; padding: 0; }
.about-team-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); min-height: 560px; }
.about-team-photo { margin: 0; overflow: hidden; }
.about-team-photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.about-team-copy { align-self: center; padding: 92px 0 92px 86px; max-width: 690px; }
.about-team-copy h2 { color: #fff; }
.about-team-copy p:not(.eyebrow) { color: rgba(255,255,255,.82); }

.about-principles { padding: 104px 0 112px; background: #edf0ec; }
.about-principles-head { max-width: 820px; margin-bottom: 54px; }
.about-principles-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-principle { padding: 34px 34px 36px; border-right: 1px solid var(--line); }
.about-principle:first-child { padding-left: 0; }
.about-principle:last-child { border-right: 0; }
.about-principle > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: var(--green); color: #102015; font-size: 12px; font-weight: 800; border-radius: 999px; margin-bottom: 24px; }
.about-principle h3 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.about-principle p { color: #69757b; margin-bottom: 0; }

@media (max-width: 900px) {
  .about-hero, .about-hero-inner { min-height: 520px; }
  .about-hero-copy { padding-bottom: 58px; }
  .about-split-grid,
  .about-history-grid,
  .about-team-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo, .about-photo img { min-height: 320px; }
  .about-history-stats { max-width: 640px; }
  .about-team { padding: 0 0 68px; }
  .about-team-photo, .about-team-photo img { min-height: 360px; }
  .about-team-copy { padding: 20px 0 0; max-width: none; }
  .about-principles-grid { grid-template-columns: 1fr 1fr; }
  .about-principle:nth-child(2) { border-right: 0; }
  .about-principle:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-principle:nth-child(3) { padding-left: 0; }
}

@media (max-width: 640px) {
  .about-hero { background-position: 60% center; }
  .about-hero, .about-hero-inner { min-height: 565px; }
  .about-hero-copy { padding: 112px 0 46px; }
  .about-hero-copy h1 { font-size: 43px; }
  .about-hero-copy p:last-child { font-size: 16px; }
  .about-history { padding: 64px 0; }
  .about-history-stats { grid-template-columns: 1fr; }
  .about-history-stat { border-right: 0; border-bottom: 1px solid #ccd6ce; padding: 28px 0; }
  .about-history-stat:last-child { border-bottom: 0; }
  .about-principles { padding: 64px 0 70px; }
  .about-principles-grid { grid-template-columns: 1fr; }
  .about-principle { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .about-principle:last-child { border-bottom: 0; }
}

/* ===== V10.1 — À propos refinements ===== */
.about-principles-grid { border-color: #cfd7d0; }
.about-principle { border-color: #cfd7d0; }


/* ===== V11 — Nous joindre / Contact ===== */
.contact-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 22%, rgba(140,198,62,.11), transparent 30%),
    linear-gradient(135deg, #071f29 0%, #0a2d38 58%, #0e3a45 100%);
  overflow: hidden;
}
.contact-hero::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255,255,255,.07);
  right: -120px;
  bottom: -220px;
  transform: rotate(18deg);
}
.contact-hero-inner {
  min-height: 545px;
  display: flex;
  align-items: flex-end;
  padding-top: 120px;
  position: relative;
  z-index: 1;
}
.contact-hero-copy { max-width: 980px; padding: 72px 0 68px; }
.contact-hero-copy h1 { max-width: 900px; font-size: clamp(48px, 5.4vw, 82px); }
.contact-hero-copy > p:last-of-type { max-width: 780px; color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.65; }
.contact-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 30px; }
.contact-text-link { color: #fff; font-size: 14px; font-weight: 750; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 4px; }
.contact-text-link:hover { border-color: var(--green); }

.contact-details { background: #fff; }
.contact-details-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 92px; align-items: center; }
.contact-details-copy { max-width: 720px; }
.contact-details-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 660px; }
.contact-actions-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button-light { background: #fff; color: var(--ink); border-color: #bcc8c4; }
.button-light:hover { background: var(--soft); border-color: var(--green); }
.contact-info-panel { background: var(--soft); padding: 44px 48px; display: grid; }
.contact-info-panel a { display: flex; flex-direction: column; gap: 3px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info-panel a:first-child { padding-top: 0; }
.contact-info-panel a:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-info-panel strong { font-size: 20px; line-height: 1.35; }
.contact-info-panel > a > span:not(.contact-info-label) { color: var(--muted); font-size: 15px; }
.contact-info-label { color: var(--green-dark); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 800; margin-bottom: 4px; }

.contact-paths { background: #eef1ed; padding-top: 116px; }
.contact-paths-head { max-width: 800px; margin-bottom: 46px; }
.contact-paths-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.contact-path-card { position: relative; background: #fff; min-height: 430px; padding: 48px 48px 44px; border: 1px solid #dde4de; display: flex; flex-direction: column; }
.contact-path-card-primary { background: #0a2d38; color: #fff; border-color: #0a2d38; }
.contact-path-card-primary .eyebrow { color: rgba(255,255,255,.7); }
.contact-path-card h3 { font-size: clamp(28px, 2.35vw, 40px); line-height: 1.08; max-width: 560px; margin-bottom: 20px; }
.contact-path-card > p:not(.eyebrow) { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 620px; }
.contact-path-card-primary > p:not(.eyebrow) { color: rgba(255,255,255,.82); }
.contact-path-card .button { margin-top: auto; align-self: flex-start; }
.contact-path-number { position: absolute; top: 28px; right: 34px; color: rgba(12,36,48,.12); font-size: 70px; font-weight: 800; line-height: 1; }
.contact-path-card-primary .contact-path-number { color: rgba(255,255,255,.08); }
.contact-direct-links { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-direct-links a { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.contact-direct-links strong { font-size: 18px; }
.contact-direct-links span { color: var(--muted); font-size: 13px; }

.contact-location { background: #fff; }
.contact-location-grid { display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr); gap: 72px; align-items: center; }
.contact-location-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 28px; }
.contact-map { min-height: 430px; background: var(--soft); overflow: hidden; }
.contact-map iframe { width: 100%; height: 430px; border: 0; display: block; filter: saturate(.78) contrast(.98); }

@media (max-width: 980px) {
  .contact-details-grid, .contact-location-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-paths-grid { grid-template-columns: 1fr; }
  .contact-info-panel { padding: 34px; }
  .contact-location-copy { max-width: 700px; }
}
@media (max-width: 640px) {
  .contact-hero-inner { min-height: 500px; }
  .contact-hero-copy { padding: 105px 0 48px; }
  .contact-hero-copy h1 { font-size: 44px; }
  .contact-hero-copy > p:last-of-type { font-size: 16px; }
  .contact-hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-path-card { min-height: 0; padding: 36px 26px 30px; }
  .contact-path-number { font-size: 54px; top: 22px; right: 22px; }
  .contact-direct-links { grid-template-columns: 1fr; }
  .contact-info-panel { padding: 30px 26px; }
  .contact-map, .contact-map iframe { min-height: 340px; height: 340px; }
}


/* ===== V11.1 — Embedded general contact form ===== */
.contact-general-form {
  margin-top: 34px;
  padding: 34px;
  background: var(--soft);
  border: 1px solid var(--line);
}
.contact-general-form .form-grid input,
.contact-general-form .form-grid textarea {
  background: #fff;
}
.contact-general-form .form-note {
  max-width: 310px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.contact-general-actions {
  margin-top: 4px;
}
@media (max-width: 700px) {
  .contact-general-form { padding: 26px 20px; }
}

/* ===== V11.2 — More breathing room above “La bonne porte d’entrée” ===== */
@media (max-width: 900px) {
  .contact-paths { padding-top: 88px; }
}
@media (max-width: 620px) {
  .contact-paths { padding-top: 76px; }
}


/* ===== V11.5 — Legal pages ===== */
.legal-hero { padding-top: 150px; padding-bottom: 72px; }
.legal-updated { margin-top: 18px; color: rgba(255,255,255,.72); font-size: 14px; }
.legal-layout { max-width: 980px; }
.legal-copy { font-size: 16px; line-height: 1.72; color: var(--text); }
.legal-copy .legal-intro { font-size: 20px; line-height: 1.6; color: var(--muted); margin: 0 0 48px; }
.legal-copy h2 { margin: 52px 0 16px; font-size: clamp(25px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.legal-copy p { margin: 0 0 18px; }
.legal-copy ul { margin: 0 0 24px 1.25em; padding: 0; }
.legal-copy li { margin: 0 0 10px; padding-left: .2em; }
.legal-copy a { color: inherit; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
.legal-contact-card { margin-top: 24px; padding: 28px 30px; background: var(--soft); border-left: 3px solid var(--green); }
.legal-contact-card p:last-child { margin-bottom: 0; }
@media (max-width: 700px) {
  .legal-hero { padding-top: 120px; padding-bottom: 56px; }
  .legal-copy .legal-intro { font-size: 18px; margin-bottom: 36px; }
  .legal-copy h2 { margin-top: 40px; }
  .legal-contact-card { padding: 24px 22px; }
}


/* ===== V12 Production: consent, Turnstile and form states ===== */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.turnstile-slot { min-height: 0; margin: 10px 0 18px; }
.form-status { min-height: 0; margin: 10px 0; font-size: 14px; line-height: 1.5; }
.form-status.is-success { color: #2f6d14; font-weight: 700; }
.form-status.is-error { color: #9c251f; font-weight: 700; }
button[disabled] { opacity: .62; cursor: wait; }

.privacy-consent-banner {
  position: fixed;
  z-index: 10000;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(9,46,57,.16);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
}
.privacy-consent-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
}
.privacy-consent-inner p { margin: 0; font-size: 14px; line-height: 1.55; }
.privacy-consent-inner a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.privacy-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.privacy-consent-actions .button { white-space: nowrap; }
.footer-privacy-button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .9;
}
.footer-privacy-button:hover { opacity: 1; }
@media (max-width: 760px) {
  .privacy-consent-banner { left: 10px; right: 10px; bottom: 10px; }
  .privacy-consent-inner { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .privacy-consent-actions { justify-content: flex-start; }
  .privacy-consent-actions .button { flex: 1 1 180px; }
}
