/* ==========================================================================
   WAP — Water African Project · V2
   Minimaliste industriel premium éditorial
   ========================================================================== */

/* FONTS — Cocon est désormais inline base64 dans css/fonts-inline.css (compat file://) */
@font-face { font-family: 'Avenir Next'; src: url('../fonts/AvenirNext-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('../fonts/AvenirNext-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('../fonts/AvenirNext-DemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Avenir Next'; src: url('../fonts/AvenirNext-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

/* TOKENS — V2.1 : contraste adouci, tons plus chaleureux */
:root {
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --ink-mute: #545452;
  --ink-subtle: #8a8a86;
  --line: #e6e3dc;
  --line-soft: #efece4;
  --bg: #fbfaf6;
  --bg-warm: #f1ede4;
  --bg-sand: #e8e2d4;
  --white: #ffffff;
  --wap-blue: #06507f;
  --wap-blue-dark: #053f65;
  --wap-blue-soft: #e8eef3;
  --wap-red: #ed1d3a;
  --wap-red-soft: #fbe7ea;
  --font-display: 'Cocon', Georgia, serif;
  --font-body: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1440px;
  --gutter: 48px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.55; background: var(--bg); overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--wap-blue); outline-offset: 3px; }

/* TYPO — V2 : titres réduits */
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: -0.02em; line-height: 0.98; color: var(--ink);
}
h1 { font-size: clamp(44px, 7.5vw, 112px); letter-spacing: -0.035em; line-height: 0.94; }
h2 { font-size: clamp(32px, 4.8vw, 68px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -0.015em; line-height: 1.1; }
h4 { font-size: clamp(19px, 1.9vw, 26px); letter-spacing: -0.01em; line-height: 1.15; }
p { line-height: 1.65; }

.eyebrow {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow .dot { width: 5px; height: 5px; background: var(--wap-red); border-radius: 50%; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(80px, 12vw, 160px) 0; }

/* HEADER — V2 : "Water African Project" en entier */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(250, 250, 248, 0.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); max-width: var(--container); margin: 0 auto; }

.logo {
  font-family: var(--font-display); color: var(--ink);
  letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; line-height: 1;
}
.logo .logo-mark { font-size: 26px; display: inline-flex; align-items: baseline; gap: 6px; }
.logo .logo-mark::after { content: ''; width: 5px; height: 5px; background: var(--wap-red); border-radius: 50%; display: inline-block; transform: translateY(-2px); }
.logo .logo-full {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--ink-mute); white-space: nowrap;
  padding-left: 12px; border-left: 1px solid var(--line);
}

.site-nav ul { display: flex; gap: 26px; }
.nav-link { font-size: 13px; font-weight: 500; color: var(--ink-soft); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.lang-switch { font-size: 12px; font-weight: 500; color: var(--ink-mute); display: flex; gap: 8px; align-items: center; }
.lang-switch a { transition: color 0.2s; }
.lang-switch a.active { color: var(--ink); }
.lang-switch a:hover { color: var(--ink); }
.btn-header {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500;
  color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--ink);
  transition: all 0.3s var(--ease);
}
.btn-header::after { content: '→'; transition: transform 0.3s var(--ease); }
.btn-header:hover { color: var(--wap-red); border-bottom-color: var(--wap-red); }
.btn-header:hover::after { transform: translateX(4px); }
.menu-toggle { display: none; width: 28px; height: 20px; position: relative; }
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 14px; }

/* HERO — V2 : titre réduit */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: 120px 0 80px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: #0a0a0a; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.02); animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1.08); } }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.30) 40%, rgba(0,0,0,0.60) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); width: 100%; }
.hero-eyebrow { color: rgba(255,255,255,0.92); margin-bottom: 28px; }
.hero-title {
  color: var(--white); font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 112px);    /* V2 : réduit */
  line-height: 0.94; letter-spacing: -0.035em;
  margin-bottom: 40px; max-width: 16ch; font-weight: 400;
}
.hero-title em { font-style: normal; color: rgba(255,255,255,0.60); }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 40px; margin-top: 60px; }
.hero-intro { max-width: 540px; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; color: rgba(255,255,255,0.94); }
.hero-cta { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.btn-light {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid var(--white);
  font-size: 13px; font-weight: 500; color: var(--white);
  transition: all 0.3s var(--ease);
}
.btn-light::after { content: '→'; transition: transform 0.3s var(--ease); }
.btn-light:hover::after { transform: translateX(5px); }
.btn-light--ghost { border-bottom-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.85); }
.btn-light--ghost:hover { color: var(--white); border-bottom-color: var(--white); }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 3;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.75);
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::before { content: ''; width: 1px; height: 50px; background: rgba(255,255,255,0.5); }

/* STATS — V2 : "+" DEVANT le chiffre */
.stats { padding: clamp(60px, 8vw, 100px) 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 0 40px; border-right: 1px solid var(--line); }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; padding-right: 0; }
.stat-num {
  font-family: var(--font-display); font-size: clamp(52px, 5.5vw, 84px);
  line-height: 0.9; color: var(--ink); letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-num .prefix { color: var(--wap-red); font-weight: 400; }   /* + devant */
.stat-label {
  margin-top: 20px; font-size: 12px; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.18em; line-height: 1.5; font-weight: 500;
}

/* SECTION INTRO */
.section-intro { display: grid; grid-template-columns: 320px 1fr; gap: 100px; margin-bottom: 80px; align-items: start; }
.section-intro-left .eyebrow { margin-bottom: 24px; }
.section-intro-left p { font-size: 14px; line-height: 1.65; color: var(--ink-mute); margin-top: 24px; }
.section-intro-right h2 { max-width: 20ch; }

/* MÉTIER */
.metier { background: var(--bg); }
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.offer { padding-top: 44px; border-top: 1px solid var(--ink); position: relative; }
.offer-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--wap-red);
  position: absolute; top: 0; left: 0; background: var(--bg);
  padding-right: 18px; transform: translateY(-50%);
}
.offer h3 { font-size: clamp(28px, 3.2vw, 46px); margin-bottom: 28px; letter-spacing: -0.025em; line-height: 1.02; }
.offer p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 36px; max-width: 480px; }
.offer-list { border-top: 1px solid var(--line-soft); }
.offer-list li {
  padding: 16px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px; color: var(--ink-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: padding 0.3s var(--ease), color 0.2s;
}
.offer-list li::after { content: '+'; color: var(--ink-subtle); font-size: 18px; font-weight: 300; transition: color 0.2s; }
.offer-list li:hover { color: var(--ink); padding-left: 8px; }
.offer-list li:hover::after { color: var(--wap-red); }

/* CYCLE — V2 avec pictos */
.cycle { background: var(--bg-warm); }
.cycle-list { margin-top: 60px; border-top: 1px solid var(--line); }
.cycle-row {
  display: grid; grid-template-columns: 56px 60px 240px 1fr 40px; gap: 32px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  align-items: center; transition: padding-left 0.4s var(--ease);
}
.cycle-row:hover { padding-left: 14px; }
.cycle-num { font-family: var(--font-display); font-size: 13px; color: var(--ink-subtle); letter-spacing: 0.08em; }
.cycle-picto { width: 40px; height: 40px; color: var(--wap-blue); }
.cycle-picto svg { width: 100%; height: 100%; }
.cycle-name { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; }
.cycle-desc { font-size: 15px; color: var(--ink-mute); line-height: 1.55; max-width: 540px; }
.cycle-arrow { color: var(--ink-subtle); font-size: 20px; transition: color 0.3s, transform 0.3s var(--ease); text-align: right; }
.cycle-row:hover .cycle-arrow { color: var(--wap-red); transform: translateX(6px); }

/* CONVICTIONS — V2 avec pictos */
.convictions { background: var(--bg); }
.conv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 60px;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.conv-item {
  padding: 48px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease); position: relative;
}
.conv-item:hover { background: var(--white); }
.conv-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.conv-num { font-family: var(--font-display); font-size: 13px; color: var(--ink-subtle); letter-spacing: 0.1em; }
.conv-picto { width: 32px; height: 32px; color: var(--wap-blue); opacity: 0.85; }
.conv-picto svg { width: 100%; height: 100%; }
.conv-item h4 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 20px; max-width: 18ch; color: var(--ink); }
.conv-item p { font-size: 15px; line-height: 1.65; color: var(--ink-mute); max-width: 440px; }

/* WORK */
.work { background: var(--white); }
.work-list { margin-top: 60px; }
.work-row {
  display: grid; grid-template-columns: 60px 1.4fr 1.2fr 1fr 60px; gap: 40px;
  padding: 44px 0; border-top: 1px solid var(--line);
  align-items: center; cursor: pointer;
  transition: padding-left 0.5s var(--ease); color: inherit;
}
.work-row:last-of-type { border-bottom: 1px solid var(--line); }
.work-row:hover { padding-left: 14px; }
.work-num { font-family: var(--font-display); font-size: 13px; color: var(--ink-subtle); letter-spacing: 0.1em; }
.work-title { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1; color: var(--ink); }
.work-meta { font-size: 13px; color: var(--ink-mute); line-height: 1.5; }
.work-meta strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 3px; font-size: 14px; }
.work-year { font-family: var(--font-body); font-size: 13px; color: var(--ink-subtle); letter-spacing: 0.05em; text-align: right; }
.work-arrow { color: var(--ink-subtle); font-size: 20px; transition: all 0.3s var(--ease); text-align: right; }
.work-row:hover .work-arrow { color: var(--wap-red); transform: translateX(8px); }
.work-footer { margin-top: 48px; display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.work-count { font-size: 13px; color: var(--ink-mute); }

/* Boutons */
.btn-ink {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 0; border-bottom: 1px solid var(--ink);
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: all 0.3s var(--ease);
}
.btn-ink::after { content: '→'; transition: transform 0.3s var(--ease); }
.btn-ink:hover { color: var(--wap-red); border-bottom-color: var(--wap-red); }
.btn-ink:hover::after { transform: translateX(5px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 13px; font-weight: 500; color: var(--ink-mute); transition: color 0.3s; }
.btn-ghost:hover { color: var(--ink); }

/* PARTNERS — V2 : grille logos niveaux de gris, couleur au survol */
.partners { background: var(--bg-warm); }
.partners-header { text-align: center; margin-bottom: 60px; }
.partners-header h2 { max-width: 22ch; margin: 24px auto 0; font-size: clamp(32px, 4vw, 56px); }
.partners-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.partner-cell {
  background: var(--bg-warm); padding: 36px 20px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; min-height: 100px;
}
.partner-cell img {
  max-width: 80%; max-height: 44px; object-fit: contain;
  filter: grayscale(100%) contrast(0.75) opacity(0.65);
  transition: filter 0.35s var(--ease);
}
.partner-cell:hover { background: var(--white); }
.partner-cell:hover img { filter: grayscale(0) contrast(1) opacity(1); }
.partner-cell .partner-name-fallback {
  font-family: var(--font-display); font-size: 18px; color: var(--ink-soft);
  letter-spacing: -0.01em; text-align: center;
}
.partner-category-heading {
  grid-column: 1 / -1; background: var(--bg-warm);
  padding: 24px 20px 16px; font-family: var(--font-body); font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--wap-red);
  border-top: 1px solid var(--line);
}
.partner-category-heading:first-child { border-top: none; }

/* Bande de logos défilante */
.partners-strip { background: var(--bg-warm); padding: 60px 0; border-block: 1px solid var(--line); overflow: hidden; position: relative; }
.partners-strip .strip-header { text-align: center; margin-bottom: 40px; padding: 0 var(--gutter); }
.partners-strip .strip-header h3 { font-size: clamp(20px, 2vw, 28px); color: var(--ink-soft); font-weight: 400; max-width: 34ch; margin: 0 auto 12px; }
.partners-strip .strip-header p { font-size: 13px; color: var(--ink-mute); }
.partners-strip .strip-track { display: flex; gap: 72px; animation: stripScroll 45s linear infinite; width: max-content; align-items: center; }
.partners-strip .strip-track img {
  height: 34px; width: auto;
  filter: grayscale(100%) contrast(0.75) opacity(0.6);
}
@keyframes stripScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partners-strip .strip-cta { text-align: center; margin-top: 48px; }

/* GAMMES */
.gammes-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 60px; }
.gamme-block { background: var(--bg-warm); padding: 48px 40px; border-top: 3px solid var(--wap-blue); }
.gamme-block--red { border-top-color: var(--wap-red); }
.gamme-block h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.gamme-block .gamme-sub { font-size: 14px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 32px; font-weight: 500; }
.gamme-block > p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 32px; max-width: 40ch; }
.gamme-block ul { border-top: 1px solid var(--line); }
.gamme-block li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.gamme-block li::after { content: '→'; color: var(--ink-subtle); transition: transform 0.3s var(--ease), color 0.2s; }
.gamme-block li:hover::after { color: var(--wap-red); transform: translateX(4px); }

/* CHAUDRONNERIE */
.chau-capacities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 60px; }
.chau-cap { padding: 40px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chau-cap .chau-cap-picto { width: 28px; height: 28px; color: var(--wap-blue); margin-bottom: 28px; }
.chau-cap h4 { font-size: clamp(20px, 1.9vw, 26px); margin-bottom: 14px; }
.chau-cap p { font-size: 14px; color: var(--ink-mute); line-height: 1.6; }
.chau-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 60px; }
.chau-gallery figure { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-warm); position: relative; }
.chau-gallery figure.wide { grid-column: span 2; aspect-ratio: 8/5; }
.chau-gallery img { width: 100%; height: 100%; object-fit: cover; }
.chau-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: white; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.chau-placeholder { background: var(--bg-warm); display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--ink-subtle); font-size: 11px; text-align: center; padding: 24px; letter-spacing: 0.12em; text-transform: uppercase; width: 100%; height: 100%; border: 1px dashed var(--line); }
.chau-placeholder small { font-size: 10px; color: var(--ink-subtle); opacity: 0.7; letter-spacing: 0.05em; text-transform: none; max-width: 20ch; line-height: 1.4; }

/* NEWS */
.news { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 60px; }
.news-item { padding: 32px 0; border-top: 1px solid var(--ink); transition: opacity 0.3s; color: inherit; display: block; }
.news-item:hover { opacity: 0.65; }
.news-date { font-size: 11px; color: var(--ink-subtle); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 24px; font-weight: 500; }
.news-item h4 { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 24px; color: var(--ink); max-width: 22ch; }
.news-item .meta { font-size: 12px; color: var(--ink-subtle); display: flex; gap: 16px; align-items: center; }

/* LinkedIn widget container */
.linkedin-widget { margin-top: 48px; padding: 40px; background: var(--bg-warm); text-align: center; border: 1px solid var(--line); }
.linkedin-widget iframe { max-width: 100%; }

/* CONTACT CTA — V2 : titre réduit */
.contact-cta { padding: clamp(80px, 12vw, 140px) 0; text-align: center; background: var(--bg); border-top: 1px solid var(--line); }
.contact-cta .eyebrow { margin-bottom: 40px; justify-content: center; }
.contact-cta h2 { font-size: clamp(40px, 6vw, 88px); max-width: 18ch; margin: 0 auto 40px; letter-spacing: -0.035em; line-height: 0.95; }
.contact-cta p { font-size: 17px; color: var(--ink-mute); max-width: 520px; margin: 0 auto 56px; line-height: 1.55; }
.contact-cta-action {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--ink);
  font-size: 14px; font-weight: 500; color: var(--ink);
  transition: all 0.3s var(--ease);
}
.contact-cta-action::after { content: '→'; transition: transform 0.3s var(--ease); }
.contact-cta-action:hover { color: var(--wap-red); border-bottom-color: var(--wap-red); }
.contact-cta-action:hover::after { transform: translateX(6px); }

/* FOOTER — V2 : "Water African Project" en ligne */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 80px 0 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 80px; }
.footer-brand .logo { margin-bottom: 32px; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.05; letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 24px; max-width: 24ch;
}
.footer-desc { font-size: 14px; color: var(--ink-mute); line-height: 1.6; max-width: 340px; }
.footer-col h5 { font-family: var(--font-body); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-subtle); margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--ink-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-col .address { font-size: 14px; color: var(--ink-soft); line-height: 1.65; font-style: normal; }
.footer-bottom { padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--ink-subtle); }
.footer-bottom a:hover { color: var(--ink); }
.footer-bottom-links { display: flex; gap: 24px; }

/* PAGE HERO */
.page-hero { padding: 160px 0 80px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-subtle); margin-bottom: 32px; align-items: center; }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--line); }
.page-title {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96; letter-spacing: -0.035em;
  max-width: 20ch; margin-bottom: 32px;
}
.page-subtitle { font-size: clamp(16px, 1.3vw, 20px); color: var(--ink-mute); max-width: 680px; line-height: 1.55; }

/* PROJECTS GRID */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.project-card { position: relative; background: var(--ink); aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; color: inherit; display: block; }
.project-card img { width: 100%; height: 100%; object-fit: contain; background: var(--ink); transition: transform 0.8s var(--ease); }
.project-card:hover img { transform: scale(1.04); }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.78) 100%); pointer-events: none; }
.project-info { position: absolute; left: 0; bottom: 0; right: 0; padding: 32px; color: var(--white); z-index: 2; }
.project-country { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.90); margin-bottom: 12px; display: block; }
.project-title { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.02em; line-height: 1; margin-bottom: 12px; color: var(--white); }
.project-specs { font-size: 13px; color: rgba(255,255,255,0.90); }

/* PROJECT DETAIL */
.project-detail-hero { position: relative; width: 100%; height: 56vh; min-height: 380px; max-height: 640px; overflow: hidden; background: var(--bg); }
.project-detail-hero img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Dégradé sombre nettement renforcé en bas pour garantir la lisibilité du titre quelles que soient les photos */
.project-detail-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.20) 30%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.92) 100%);
}
/* Variante "clean" : photo seule, sans dégradé, plus courte
   (utilisée quand le titre est dans le bandeau blanc en dessous) */
.project-detail-hero--clean { height: 56vh; min-height: 380px; }
.project-detail-hero--clean::after { display: none; }
@media (max-width: 700px) {
  .project-detail-hero--clean { height: 44vh; min-height: 280px; }
}
.project-detail-hero .container { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: 60px; }
.project-detail-header { color: white; width: 100%; }
.project-detail-header .breadcrumb { color: rgba(255,255,255,0.85); margin-bottom: 28px; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.project-detail-header .breadcrumb a { color: rgba(255,255,255,0.95); }
.project-detail-header .breadcrumb a:hover { color: white; }
.project-detail-header .breadcrumb .sep { color: rgba(255,255,255,0.5); }
.project-detail-header h1 {
  color: white;
  font-size: clamp(44px, 6.5vw, 96px);
  max-width: 18ch; margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}
.project-detail-header .meta-line {
  font-size: 13px; color: rgba(255,255,255,0.92);
  letter-spacing: 0.08em; text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.project-detail-header .meta-line span { margin-right: 24px; }

/* Bandeau de titre toujours visible en haut de la page projet
   (sous le header), pour qu'on sache toujours sur quelle fiche on est */
.project-title-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.project-title-band .breadcrumb { margin-bottom: 14px; }
.project-title-band .ptb-row {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.project-title-band .ptb-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); font-weight: 500;
  margin: 0; /* reset au cas où l'élément serait un h1 (default browser margins) */
}
.project-title-band .ptb-meta {
  font-size: 12px; color: var(--ink-mute);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
@media (max-width: 700px) {
  .project-title-band { padding: 16px 0; }
  .project-title-band .ptb-row { gap: 8px; }
  .project-title-band .ptb-meta { font-size: 11px; }
}

.project-specs-bar { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); padding: 40px 0; }
.project-specs-bar .spec { padding: 0 32px; border-right: 1px solid var(--line); }
.project-specs-bar .spec:last-child { border-right: none; }
.project-specs-bar .spec-label { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 12px; font-weight: 500; }
.project-specs-bar .spec-value { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; color: var(--ink); line-height: 1.1; }

.project-body { padding: clamp(60px, 10vw, 120px) 0; }
.project-body-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; margin-bottom: 80px; }
.project-body-grid aside h4 { font-size: 16px; margin-bottom: 16px; letter-spacing: -0.01em; }
.project-body-grid aside p, .project-body-grid aside li { font-size: 13px; color: var(--ink-mute); line-height: 1.65; }
.project-body-grid aside ul li { padding: 6px 0; }
.project-body-grid aside { padding-top: 48px; border-top: 1px solid var(--line); }
.project-body-grid .prose { padding-top: 48px; border-top: 1px solid var(--line); }
.project-body-grid .prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 24px; max-width: 68ch; }
.project-body-grid .prose h3 { margin: 48px 0 20px; }

.project-equip-list { border-top: 1px solid var(--line); }
.project-equip-list li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 20px; }
.project-equip-list li span:last-child { color: var(--ink-mute); font-size: 13px; text-align: right; }

.project-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin: 60px 0; }
.project-photos figure { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-warm); }
.project-photos figure img { width: 100%; height: 100%; object-fit: contain; }

.project-nav { padding: 60px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-mute); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  border: none; border-bottom: 1px solid var(--line); background: transparent;
  padding: 12px 0; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  transition: border-color 0.3s; outline: none; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-bottom-color: var(--ink); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233a3a3a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px;
}
.form-rgpd { display: flex; gap: 12px; font-size: 13px; color: var(--ink-mute); line-height: 1.5; align-items: flex-start; }
.form-rgpd input { margin-top: 4px; }
.form-rgpd a { color: var(--ink); text-decoration: underline; }

/* Honeypot anti-bot — caché visuellement mais lisible par les bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* CAPTCHA visible — addition simple anti-bot */
.form-captcha {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 18px;
}
.form-captcha label {
  font-size: 13px; color: var(--ink); font-weight: 500;
  letter-spacing: 0; text-transform: none;
}
.form-captcha label strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--wap-blue);
  font-weight: 600;
  margin: 0 4px;
  letter-spacing: 0.02em;
}
.form-captcha input {
  max-width: 140px;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 0.15s;
}
.form-captcha input:focus {
  outline: none;
  border-color: var(--wap-blue);
}
.form-captcha input.is-invalid {
  border-color: var(--wap-red);
  background: rgba(220, 53, 69, 0.04);
}
.form-submit {
  margin-top: 8px; padding: 18px 36px; background: var(--ink); color: var(--white);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.3s; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
}
.form-submit::after { content: '→'; }
.form-submit:hover { background: var(--wap-red); }
.contact-info { padding: 40px; background: var(--bg-warm); border: 1px solid var(--line); }
.contact-info h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 32px; letter-spacing: -0.02em; }
.contact-info-item { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.contact-info-item:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-subtle); margin-bottom: 8px; font-weight: 500; }
.contact-info-value { font-size: 16px; color: var(--ink); line-height: 1.5; }
.contact-info-value a { color: var(--ink); transition: color 0.2s; }
.contact-info-value a:hover { color: var(--wap-red); }

/* EDITORIAL IMAGE */
.editorial-image { margin: clamp(60px, 10vw, 120px) 0; position: relative; }
.editorial-image img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.editorial-image .caption {
  margin-top: 16px; display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-subtle);
}

/* FAQ */
.faq-list { max-width: 920px; margin: 60px auto 0; }
.faq-group { margin-bottom: 60px; }
.faq-group-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); margin-bottom: 28px; color: var(--ink); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left;
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-body); font-size: 16px; font-weight: 500; color: var(--ink); line-height: 1.4;
}
.faq-question::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--ink-subtle); transition: transform 0.3s var(--ease), color 0.2s; flex-shrink: 0; }
.faq-item.open .faq-question::after { transform: rotate(45deg); color: var(--wap-red); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-answer-inner { padding: 0 0 28px; font-size: 15px; color: var(--ink-mute); line-height: 1.7; max-width: 72ch; }
.faq-item.open .faq-answer { max-height: 800px; }

/* LEGAL */
.legal-wrap { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }

/* Layout 2 colonnes pour CGV — TOC sticky à gauche, contenu à droite.
   Les 4 blocs (banner/meta/toc/callout/body) sont placés explicitement
   via grid-template-areas pour éviter les chevauchements d'auto-flow. */
@media (min-width: 1100px) {
  .legal-wrap.legal-wrap--toc {
    max-width: 1280px;
    display: grid;
    grid-template-columns: 280px 1fr;
    grid-template-areas:
      "banner   banner"
      "meta     meta"
      "toc      callout"
      "toc      body";
    column-gap: 56px;
    row-gap: 0;
    align-items: start;
  }
  .legal-wrap--toc .legal-banner   { grid-area: banner; }
  .legal-wrap--toc .legal-meta     { grid-area: meta; }
  .legal-wrap--toc .legal-toc      { grid-area: toc; }
  .legal-wrap--toc .legal-callout  { grid-area: callout; margin: 0 0 24px; }
  .legal-wrap--toc .legal-body     { grid-area: body; min-width: 0; }
  .legal-wrap--toc .legal-toc {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    margin-bottom: 0;
    padding: 24px 26px;
  }
  .legal-wrap--toc .legal-toc ol {
    font-size: 13.5px;
    line-height: 1.65;
  }
}
.legal-banner { background: var(--wap-blue); color: white; padding: 36px 40px; border-left: 6px solid var(--wap-red); margin-bottom: 40px; }
.legal-banner h1 { color: white; font-size: clamp(28px, 3.5vw, 44px); margin: 0; }
.legal-banner p { color: rgba(255,255,255,0.85); font-size: 14px; margin-top: 10px; }
.legal-meta { font-size: 13px; color: var(--ink-mute); margin-bottom: 48px; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-toc { padding: 28px 32px; background: var(--bg-warm); border-left: 3px solid var(--wap-blue); margin-bottom: 60px; }
.legal-toc h2 { font-family: var(--font-body); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-mute); margin-bottom: 16px; font-weight: 600; }
.legal-toc ol { padding-left: 20px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.legal-toc ol li { list-style: decimal; }
.legal-toc a:hover { color: var(--wap-red); }
.legal-body h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 48px 0 16px; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 120px; }
.legal-body h3 { font-size: clamp(17px, 1.6vw, 20px); margin: 28px 0 12px; color: var(--ink-soft); }
.legal-body p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 16px; max-width: 72ch; }
.legal-body ul { padding-left: 24px; margin-bottom: 16px; }
.legal-body ul li { list-style: disc; padding: 4px 0; font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.legal-body a { color: var(--wap-blue); text-decoration: underline; }
.legal-body a:hover { color: var(--wap-red); }
.legal-callout { padding: 24px 28px; background: var(--bg-warm); border-left: 3px solid var(--wap-red); margin: 24px 0; font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .site-nav ul { display: none; }
  .menu-toggle { display: block; }
  .logo .logo-full { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 32px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; padding-left: 0; }
  .stat-item:nth-child(4) { border-bottom: none; border-right: none; }
  .stat-item:first-child { padding-left: 0; }
  .section-intro, .offers { grid-template-columns: 1fr; gap: 48px; }
  .conv-grid { grid-template-columns: 1fr; }
  .cycle-row { grid-template-columns: 40px 40px 1fr; grid-template-areas: "num picto name" ". . desc" ". . arrow"; gap: 10px 20px; padding: 28px 0; }
  .cycle-num { grid-area: num; }
  .cycle-picto { grid-area: picto; width: 32px; height: 32px; }
  .cycle-name { grid-area: name; }
  .cycle-desc { grid-area: desc; }
  .cycle-arrow { grid-area: arrow; text-align: left; }
  .work-row { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .news-grid { grid-template-columns: 1fr; gap: 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .partners-list { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 28px; }
  .gammes-blocks { grid-template-columns: 1fr; }
  .chau-capacities { grid-template-columns: 1fr; }
  .chau-gallery { grid-template-columns: repeat(2, 1fr); }
  .chau-gallery figure.wide { grid-column: span 2; }
  .project-body-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-specs-bar { grid-template-columns: repeat(2, 1fr); gap: 20px 0; padding: 28px 0; }
  .project-specs-bar .spec { padding: 12px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .project-specs-bar .spec:nth-child(2) { border-right: none; }
  .project-specs-bar .spec:nth-child(3), .project-specs-bar .spec:nth-child(4) { border-bottom: none; }
  .project-specs-bar .spec:last-child { border-right: none; }
  .project-photos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero { padding-top: 100px; min-height: 90vh; }
  .hero-title { font-size: clamp(40px, 10vw, 64px); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 28px 0 !important; border-right: none; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: none; }
  .partners-list { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .conv-item { padding: 36px 24px; }
  .contact-info { padding: 28px; }
  .project-specs-bar { grid-template-columns: 1fr; }
  .project-specs-bar .spec { border-right: none; }
  .chau-gallery { grid-template-columns: 1fr; }
  .chau-gallery figure.wide { grid-column: span 1; }
}

/* ==========================================================================
   ÉTAPE 2 — Ajouts
   ========================================================================== */

/* Hero split (accueil : vidéo en haut sans texte, titre éditorial en bas sur fond clair) */
.hero-split { min-height: auto; padding: 0; display: block; position: static; }
.hero-split .hero-media {
  position: relative; height: clamp(320px, 56vh, 620px);
  width: 100%; background: #0a0a0a; inset: auto;
}
.hero-split .hero-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.20) 100%);
}
.hero-split .hero-media video,
.hero-split .hero-media img { animation: none; transform: none; }
.hero-text {
  background: var(--bg-warm); padding: clamp(60px, 10vw, 140px) 0;
  border-bottom: 1px solid var(--line);
}
.hero-text .hero-eyebrow { color: var(--ink-mute); margin-bottom: 28px; }
.hero-text .hero-title {
  color: var(--ink);
  font-size: clamp(44px, 7vw, 96px);
  max-width: 18ch; margin-bottom: 40px; line-height: 0.96;
}
.hero-text .hero-title em { color: var(--ink-subtle); font-style: normal; }
.hero-text .hero-intro { color: var(--ink-soft); max-width: 620px; }
.hero-text .hero-bottom { margin-top: 56px; }
.hero-text .hero-cta .btn-light { color: var(--ink); border-bottom-color: var(--ink); }
.hero-text .hero-cta .btn-light:hover { color: var(--wap-red); border-bottom-color: var(--wap-red); }
.hero-text .hero-cta .btn-light--ghost { color: var(--ink-mute); border-bottom-color: rgba(10,10,10,0.35); }
.hero-text .hero-cta .btn-light--ghost:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Méthode circulaire (services) — pentagone de 5 pictos */
.method-wrap { margin-top: 20px; }
.method-circle {
  position: relative; max-width: 780px; aspect-ratio: 1;
  margin: 60px auto 0;
}
.method-circle::before {
  content: ''; position: absolute; inset: 12%;
  border: 1.5px dashed var(--line);
  border-radius: 50%;
}
.method-step {
  position: absolute; width: 180px; text-align: center;
  transform: translate(-50%, -50%);
}
.method-step .step-picto {
  width: 76px; height: 76px; margin: 0 auto 18px;
  background: var(--white); border: 1.5px solid var(--wap-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--wap-blue); transition: all 0.3s var(--ease);
}
.method-step .step-picto svg { width: 44px; height: 44px; }
.method-step:hover .step-picto {
  background: var(--wap-blue); color: white;
  transform: scale(1.08);
}
.method-step .step-num {
  font-family: var(--font-display); font-size: 13px;
  color: var(--wap-red); letter-spacing: 0.08em; margin-bottom: 6px;
}
.method-step .step-name {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: -0.015em; color: var(--ink); line-height: 1.05;
}
.method-step .step-desc {
  margin-top: 10px; font-size: 12px; color: var(--ink-mute);
  line-height: 1.5; max-width: 170px; margin-left: auto; margin-right: auto;
}
/* Positionnement pentagone (5 points) */
.method-step:nth-child(1) { top: 4%;   left: 50%; }   /* Conseil */
.method-step:nth-child(2) { top: 40%;  left: 96%; }   /* Fourniture */
.method-step:nth-child(3) { top: 94%;  left: 72%; }   /* Contrôle */
.method-step:nth-child(4) { top: 94%;  left: 28%; }   /* Inspection */
.method-step:nth-child(5) { top: 40%;  left: 4%;  }   /* Transport */

@media (max-width: 900px) {
  .method-circle { aspect-ratio: auto; max-width: 100%; margin-top: 40px; padding: 0; }
  .method-circle::before { display: none; }
  .method-step {
    position: static; transform: none;
    width: 100%; max-width: 460px; margin: 0 auto 40px;
  }
}

/* Grille 5 valeurs (accueil) — 5 colonnes desktop, 3+2 tablette, 1 mobile */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.values-grid .conv-item {
  padding: 40px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.values-grid .conv-item h4 {
  font-size: clamp(20px, 1.8vw, 24px);
  margin-bottom: 16px;
}
.values-grid .conv-item p { font-size: 14px; max-width: none; }

@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* Actualités — CTA LinkedIn */
.linkedin-cta {
  background: var(--bg-warm); border: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px); text-align: center;
  max-width: 720px; margin: 60px auto 0;
}
.linkedin-cta .li-mark {
  width: 56px; height: 56px; margin: 0 auto 28px;
  background: #0a66c2; color: white; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 26px;
  letter-spacing: -0.03em;
}
.linkedin-cta h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 20px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.linkedin-cta p { font-size: 15px; color: var(--ink-mute); max-width: 50ch; margin: 0 auto 36px; line-height: 1.65; }

/* ==========================================================================
   V2.1 — Design plus aéré, plus chaleureux, moins terne
   ========================================================================== */

/* Pictos valeurs sans cercle — plus design, plus subtil */
.values-grid .conv-picto {
  width: 40px; height: 40px;
  color: var(--wap-blue);
  opacity: 1;
  margin-left: auto;
}
.values-grid .conv-picto svg { width: 100%; height: 100%; }
.values-grid .conv-item {
  background: var(--white);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.values-grid .conv-item:hover {
  background: var(--bg-warm);
  transform: translateY(-2px);
}

/* Hero media : overlay plus doux */
.hero-split .hero-media::after {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.12) 100%);
}
.hero-text { background: var(--bg-warm); }
.hero-text .hero-title em { color: var(--wap-blue); font-style: normal; }

/* Bandeau signature sous hero (3 mots-clés + trait rouge) */
.hero-signature {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; border-top: 1px solid var(--line);
  margin-top: 56px; flex-wrap: wrap; gap: 24px;
}
.hero-signature .sig-word {
  font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 22px);
  color: var(--ink); letter-spacing: -0.01em;
}
.hero-signature .sig-word::before {
  content: ''; display: inline-block; width: 8px; height: 1.5px;
  background: var(--wap-red); margin-right: 14px; vertical-align: middle;
}

/* Galerie accueil — mosaïque 3 photos en split editorial */
.home-gallery {
  padding: 0 0 clamp(80px, 10vw, 120px); background: var(--bg);
}
.home-gallery-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 4px; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
}
.home-gallery-grid .hg-left { grid-row: span 2; }
.home-gallery-grid figure { position: relative; overflow: hidden; background: var(--ink); }
.home-gallery-grid .hg-left figure { aspect-ratio: 4/5; }
.home-gallery-grid .hg-right figure { aspect-ratio: 3/2; }
.home-gallery-grid figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.home-gallery-grid figure:hover img { transform: scale(1.04); }
.home-gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: white; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
}
.home-gallery-grid figcaption strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px); text-transform: none;
  letter-spacing: -0.01em; margin-bottom: 6px; font-weight: 400;
}
@media (max-width: 820px) {
  .home-gallery-grid { grid-template-columns: 1fr; }
  .home-gallery-grid .hg-left { grid-row: auto; }
}

/* Section vidéo éditoriale (après hero) — la vidéo HD viendra ici plus tard */
.editorial-video {
  background: var(--ink); padding: 0; overflow: hidden;
}
.editorial-video .ev-media {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
}
.editorial-video .ev-media video,
.editorial-video .ev-media img { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }
.editorial-video .ev-caption {
  padding: 32px var(--gutter); display: flex; justify-content: space-between;
  align-items: baseline; gap: 24px; max-width: var(--container); margin: 0 auto;
  color: rgba(255,255,255,0.85); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.editorial-video .ev-caption .ev-title {
  font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px);
  text-transform: none; letter-spacing: -0.01em; color: white;
}

/* Partenaires — version fluide, pas de grille rigide */
.partners-flow {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 88px);
  padding: 64px clamp(20px, 5vw, 80px);
  background: var(--bg-warm);
}
.partners-flow img {
  max-height: 44px; width: auto;
  filter: grayscale(100%) contrast(0.8) opacity(0.7);
  transition: filter 0.35s var(--ease), transform 0.3s var(--ease);
}
.partners-flow img:hover {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: translateY(-2px);
}
.partners-category-block {
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
}
.partners-category-block:last-child { border-bottom: none; }
.partners-category-block .pc-label {
  text-align: center; margin-bottom: 36px;
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.24em; color: var(--wap-red);
}

/* Actualités — cards style projets LinkedIn */
.news-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px; margin-top: 60px;
}
.news-card {
  background: var(--ink); aspect-ratio: 4/5; position: relative;
  overflow: hidden; display: block; color: inherit;
}
.news-card img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.95; transition: transform 0.8s var(--ease), opacity 0.3s;
}
.news-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.85) 100%);
}
.news-card:hover img { transform: scale(1.04); }
.news-card .nc-body {
  position: absolute; inset: auto 0 0 0; padding: 28px;
  color: white; z-index: 2;
}
.news-card .nc-date {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.80); margin-bottom: 14px;
}
.news-card .nc-title {
  font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 12px;
}
.news-card .nc-meta {
  font-size: 12px; color: rgba(255,255,255,0.80);
  display: flex; gap: 14px; align-items: center;
}
.news-card .nc-meta::before {
  content: 'in'; display: inline-flex; width: 20px; height: 20px;
  background: #0a66c2; border-radius: 3px; color: white;
  font-family: var(--font-body); font-weight: 700; font-size: 11px;
  align-items: center; justify-content: center;
}
@media (max-width: 900px) {
  .news-cards { grid-template-columns: 1fr; }
}
.news-card--skeleton {
  background: linear-gradient(90deg, var(--bg-warm) 0%, var(--line-soft) 50%, var(--bg-warm) 100%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
}
.news-card--skeleton::after { display: none; }
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Chaudronnerie — photos entrecoupées au fil */
.chau-flow-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--line);
}
.chau-flow-block:nth-child(even) { direction: rtl; }
.chau-flow-block:nth-child(even) > * { direction: ltr; }
.chau-flow-block figure {
  aspect-ratio: 4/3; overflow: hidden; background: var(--bg-warm);
}
.chau-flow-block figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.chau-flow-block figure:hover img { transform: scale(1.03); }
.chau-flow-block .cfb-text .eyebrow { margin-bottom: 20px; }
.chau-flow-block .cfb-text h3 {
  font-size: clamp(26px, 2.8vw, 36px);
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.chau-flow-block .cfb-text p {
  font-size: 16px; line-height: 1.7; color: var(--ink-soft);
  margin-bottom: 16px; max-width: 48ch;
}
@media (max-width: 820px) {
  .chau-flow-block, .chau-flow-block:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .chau-flow-block figure { order: -1; }
}

/* Bloc citation / chiffre éditorial (anti-terne) */
.editorial-quote {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--wap-blue); color: white; text-align: center;
}
.editorial-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.1; letter-spacing: -0.025em;
  max-width: 24ch; margin: 0 auto 32px; color: white;
}
.editorial-quote .eq-source {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Realisations — teaser accueil allégé */
.work-softer .work-meta { color: var(--ink-mute); }
.projects-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .projects-grid--3 { grid-template-columns: 1fr; } }

/* ==========================================================================
   CARROUSEL 3D — Réalisations (style coverflow Disney+/Apple TV)
   ========================================================================== */
.carousel3d-section {
  background: var(--bg-warm);
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.carousel3d-section .c3d-header {
  text-align: center;
  max-width: 1200px; margin: 0 auto 150px;
  padding: 0 var(--gutter);
  position: relative; z-index: 4;
}
.carousel3d-section .c3d-header .eyebrow {
  justify-content: center; margin-bottom: 20px;
}
.carousel3d-section .c3d-header h2 {
  font-size: clamp(26px, 3.6vw, 46px);
  letter-spacing: -0.025em; line-height: 1.05;
  white-space: nowrap;
  display: inline-block;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .carousel3d-section .c3d-header { margin-bottom: 90px; }
  .carousel3d-section .c3d-header h2 { white-space: normal; display: block; font-size: clamp(26px, 7.5vw, 38px); }
}

.carousel3d-stage {
  position: relative;
  width: 100%; height: 460px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
}
.carousel3d-track {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: c3dRotate 36s linear infinite;
  transition: animation-play-state 0.3s;
}
.carousel3d-stage:hover .carousel3d-track {
  animation-play-state: paused;
}

.c3d-card {
  position: absolute; top: 50%; left: 50%;
  width: 320px; height: 400px;
  margin-left: -160px; margin-top: -200px;
  background: var(--ink);
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transition: transform 0.4s var(--ease);
  cursor: pointer;
  text-decoration: none; color: inherit;
}
.c3d-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.c3d-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,0.20) 0%,
    rgba(0,0,0,0.05) 30%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.95) 88%,
    rgba(0,0,0,1) 100%);
  pointer-events: none;
}
.c3d-card:hover img { transform: scale(1.06); }
.c3d-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 22px 26px; color: white;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0,0,0,0.45) 18%,
    rgba(0,0,0,0.85) 50%,
    rgba(0,0,0,0.98) 100%);
}
.c3d-info .c3d-country {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); margin-bottom: 8px; display: block;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.c3d-info .c3d-title {
  font-family: var(--font-display);
  font-size: 28px; line-height: 1.0; letter-spacing: -0.02em;
  margin-bottom: 8px; color: white; font-weight: 500;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.c3d-info .c3d-spec {
  font-size: 13px; color: rgba(255,255,255,0.95);
  line-height: 1.4; font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Positionnement des 7 cards en cercle (radius 460px = translateZ) */
/* angle = 360° / 7 = 51.428° */
.c3d-card:nth-child(1) { transform: rotateY(  0deg) translateZ(460px); }
.c3d-card:nth-child(2) { transform: rotateY( 51.43deg) translateZ(460px); }
.c3d-card:nth-child(3) { transform: rotateY(102.86deg) translateZ(460px); }
.c3d-card:nth-child(4) { transform: rotateY(154.29deg) translateZ(460px); }
.c3d-card:nth-child(5) { transform: rotateY(205.71deg) translateZ(460px); }
.c3d-card:nth-child(6) { transform: rotateY(257.14deg) translateZ(460px); }
.c3d-card:nth-child(7) { transform: rotateY(308.57deg) translateZ(460px); }

@keyframes c3dRotate {
  from { transform: rotateY(0); }
  to   { transform: rotateY(-360deg); }
}

/* Indication navigation manuelle */
.c3d-hint {
  text-align: center;
  margin: 130px auto 0;
  padding: 14px 24px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-block;
  position: relative; z-index: 5;
}
.carousel3d-section { text-align: center; }

@media (max-width: 1024px) {
  .carousel3d-stage { height: 380px; perspective: 1100px; }
  .c3d-card { width: 260px; height: 330px; margin-left: -130px; margin-top: -165px; }
  .c3d-card:nth-child(1) { transform: rotateY(  0deg) translateZ(380px); }
  .c3d-card:nth-child(2) { transform: rotateY( 51.43deg) translateZ(380px); }
  .c3d-card:nth-child(3) { transform: rotateY(102.86deg) translateZ(380px); }
  .c3d-card:nth-child(4) { transform: rotateY(154.29deg) translateZ(380px); }
  .c3d-card:nth-child(5) { transform: rotateY(205.71deg) translateZ(380px); }
  .c3d-card:nth-child(6) { transform: rotateY(257.14deg) translateZ(380px); }
  .c3d-card:nth-child(7) { transform: rotateY(308.57deg) translateZ(380px); }
}
@media (max-width: 700px) {
  .carousel3d-stage { height: 340px; perspective: 900px; }
  .c3d-card { width: 220px; height: 280px; margin-left: -110px; margin-top: -140px; }
  .c3d-card:nth-child(1) { transform: rotateY(  0deg) translateZ(310px); }
  .c3d-card:nth-child(2) { transform: rotateY( 51.43deg) translateZ(310px); }
  .c3d-card:nth-child(3) { transform: rotateY(102.86deg) translateZ(310px); }
  .c3d-card:nth-child(4) { transform: rotateY(154.29deg) translateZ(310px); }
  .c3d-card:nth-child(5) { transform: rotateY(205.71deg) translateZ(310px); }
  .c3d-card:nth-child(6) { transform: rotateY(257.14deg) translateZ(310px); }
  .c3d-card:nth-child(7) { transform: rotateY(308.57deg) translateZ(310px); }
  .carousel3d-track { animation-duration: 28s; }
}

/* Préférence reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .carousel3d-track { animation: none; }
}

/* ==========================================================================
   CARTE PRÉSENCE INTERNATIONALE (page métier)
   ========================================================================== */
.world-presence {
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 10vw, 140px) 0;
}
.world-presence .wp-intro {
  max-width: var(--container);
  margin: 0 auto 64px;
  padding: 0 var(--gutter);
}
.world-presence .wp-stage {
  max-width: 1200px; margin: 0 auto;
  padding: 0 var(--gutter);
}
.world-presence svg.wm {
  width: 100%; height: auto;
  display: block;
  font-family: var(--font-body);
}
/* Continents (zones) */
.wm-zone {
  fill: var(--white);
  stroke: var(--line);
  stroke-width: 1;
}
.wm-zone-label {
  font-family: var(--font-display);
  font-size: 22px;
  fill: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 400;
}
.wm-zone-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--ink-mute);
}
/* Marqueurs */
.wm-dot {
  fill: var(--wap-blue);
  cursor: pointer;
  transition: r 0.2s, fill 0.2s;
}
.wm-dot--port {
  fill: var(--wap-red);
}
.wm-dot:hover {
  fill: var(--wap-red);
}
.wm-pulse {
  fill: var(--wap-blue);
  opacity: 0.4;
  animation: wmPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.wm-pulse--port {
  fill: var(--wap-red);
}
@keyframes wmPulse {
  0%   { r: 4; opacity: 0.5; }
  100% { r: 22; opacity: 0; }
}
.wm-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  fill: var(--ink-soft);
  text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.wm-marker:hover .wm-label,
.wm-marker:focus-within .wm-label {
  opacity: 1;
}
.wm-marker .wm-dot { pointer-events: auto; }

/* Lignes de flux */
.wm-flow {
  stroke: var(--wap-blue);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
  fill: none;
  opacity: 0.45;
  animation: wmDash 18s linear infinite;
}
@keyframes wmDash {
  to { stroke-dashoffset: -200; }
}

/* Légende */
.wp-legend {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 28px;
  margin-top: 40px;
  font-size: 12px; color: var(--ink-mute);
  font-weight: 500;
}
.wp-legend span {
  display: inline-flex; align-items: center; gap: 8px;
}
.wp-legend i {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.wp-legend i.l-blue { background: var(--wap-blue); }
.wp-legend i.l-red  { background: var(--wap-red); }
.wp-legend i.l-line {
  width: 24px; height: 2px; border-radius: 0;
  background: linear-gradient(90deg, transparent, var(--wap-blue), transparent);
}

/* Stats globales sous la carte */
.wp-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 980px; margin: 56px auto 0;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.wp-stat {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 0 16px;
}
.wp-stat:last-child { border-right: none; }
.wp-stat .wps-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1; color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.wp-stat .wps-num em {
  color: var(--wap-red); font-style: normal;
}
.wp-stat .wps-lbl {
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute);
  font-weight: 500;
}

@media (max-width: 720px) {
  .wp-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .wp-stat { padding: 16px 12px; border-right: none; border-bottom: 1px solid var(--line); }
  .wp-stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ==========================================================================
   ACCUEIL V3 — Page ultra-épurée, magazine, full-bleed
   ========================================================================== */

/* HERO FULLSCREEN avec image background */
.hero-cover {
  position: relative;
  height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-cover .hc-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-cover .hc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroCoverZoom 14s ease-out forwards;
}
@keyframes heroCoverZoom {
  to { transform: scale(1.10); }
}
.hero-cover::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.78) 100%);
  z-index: 1; pointer-events: none;
}
.hero-cover .hc-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding: 110px var(--gutter) clamp(64px, 8vw, 100px);
  max-width: var(--container); margin: 0 auto;
}
.hero-cover .hc-eyebrow {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.24em;
  color: rgba(255,255,255,0.92);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-cover .hc-eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--wap-red);
}
.hero-cover .hc-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: 0.96; letter-spacing: -0.035em;
  color: white; max-width: 18ch;
  margin-bottom: 36px;
}
.hero-cover .hc-title em { font-style: normal; color: rgba(255,255,255,0.55); }
.hero-cover .hc-sub {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.5; color: rgba(255,255,255,0.92);
  max-width: 56ch; margin-bottom: 40px;
}
.hero-cover .hc-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.7);
  font-size: 13px; font-weight: 500; color: white;
  letter-spacing: 0.04em; transition: all 0.3s var(--ease);
}
.hero-cover .hc-cta::after { content: '→'; transition: transform 0.3s var(--ease); }
.hero-cover .hc-cta:hover { border-bottom-color: var(--wap-red); color: var(--wap-red); }
.hero-cover .hc-cta:hover::after { transform: translateX(6px); }

.hero-cover .hc-scroll {
  position: absolute; right: var(--gutter); bottom: 36px; z-index: 3;
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; gap: 14px;
}
.hero-cover .hc-scroll::before { content: ''; width: 1px; height: 56px; background: rgba(255,255,255,0.5); }

@media (max-width: 720px) {
  .hero-cover .hc-scroll { display: none; }
  .hero-cover { min-height: 560px; }
}

/* INTRO ÉDITORIALE : manifesto + stats inline */
.intro-editorial {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--bg);
}
.intro-editorial .ie-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 8vw, 120px); max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
  align-items: start;
}
.intro-editorial .ie-text h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.02; letter-spacing: -0.025em;
  margin-bottom: 32px; max-width: 16ch;
}
.intro-editorial .ie-text p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7; color: var(--ink-soft);
  max-width: 48ch;
}
.intro-editorial .ie-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
}
.intro-editorial .ie-stat {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.intro-editorial .ie-stat:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.intro-editorial .ie-stat:nth-child(even) { padding-left: 24px; }
.intro-editorial .ie-stat .ie-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 2px;
  margin-bottom: 8px;
}
.intro-editorial .ie-stat .ie-num .prefix { color: var(--wap-red); }
.intro-editorial .ie-stat .ie-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
@media (max-width: 900px) {
  .intro-editorial .ie-grid { grid-template-columns: 1fr; }
}

/* 3 PILIERS — bloc minimal, chaque pilier = un grand chiffre + une phrase */
.pillars {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
}
.pillars-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .pillars-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .pillars-grid--4 .pillar { padding: 32px 24px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .pillars-grid--4 .pillar:nth-child(2n) { border-right: none; }
  .pillars-grid--4 .pillar:nth-child(-n+2) { border-top: none; }
}
.pillar {
  padding: 0 clamp(20px, 3vw, 48px);
  border-right: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s var(--ease);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; border-right: none; }
.pillar:hover { transform: translateY(-4px); }
.pillar .p-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.04em;
  color: var(--wap-blue);
  margin-bottom: 28px; opacity: 0.92;
}
.pillar .p-num em { color: var(--wap-red); font-style: normal; }
.pillar h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.02em; line-height: 1.05;
  margin-bottom: 16px;
}
.pillar p {
  font-size: 15px; line-height: 1.65;
  color: var(--ink-mute); margin-bottom: 28px;
  max-width: 38ch;
}
.pillar .p-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 4px; border-bottom: 1px solid var(--ink);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink); transition: all 0.3s var(--ease);
}
.pillar .p-link::after { content: '→'; transition: transform 0.3s var(--ease); }
.pillar .p-link:hover { color: var(--wap-red); border-bottom-color: var(--wap-red); }
.pillar .p-link:hover::after { transform: translateX(5px); }

@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillar { padding: 0; border-right: none; border-top: 1px solid var(--line); padding-top: 36px; }
  .pillar:first-child { border-top: none; padding-top: 0; }
}

/* Marquee partenaires plus discrète */
.partners-mute {
  padding: 56px 0; background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partners-mute .pm-label {
  text-align: center;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-subtle); margin-bottom: 36px; font-weight: 500;
}
.partners-mute .pm-track {
  display: flex; gap: 80px; align-items: center;
  width: max-content;
  animation: pmScroll 50s linear infinite;
}
.partners-mute .pm-track img {
  height: 30px; width: auto;
  filter: grayscale(100%) opacity(0.55);
}
@keyframes pmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   PROCESS FLOW — Méthode services redesign (cartes 3D, connecteurs, numéros XL)
   ========================================================================== */
.process-flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; margin-top: 80px; position: relative;
}
.process-flow::before {
  content: ''; position: absolute;
  top: 60px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(to right,
    var(--wap-blue) 0%,
    var(--wap-blue) 20%,
    #3a6a8f 40%,
    #8a4670 60%,
    var(--wap-red) 80%,
    var(--wap-red) 100%);
  opacity: 0.35;
  z-index: 0;
  border-radius: 2px;
}
.process-flow::after {
  content: ''; position: absolute;
  top: 56px; left: 8%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--wap-blue);
  box-shadow: 0 0 0 4px rgba(6, 80, 127, 0.15);
  z-index: 1;
}
.process-card {
  position: relative; z-index: 1;
  background: var(--white);
  border-radius: 16px;
  padding: 36px 24px 32px;
  box-shadow:
    0 1px 2px rgba(20, 20, 20, 0.04),
    0 8px 24px rgba(20, 20, 20, 0.06),
    0 24px 48px rgba(20, 20, 20, 0.04);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.process-card::before {
  content: attr(data-num);
  position: absolute; top: -20px; right: -10px;
  font-family: var(--font-display);
  font-size: 140px; line-height: 1;
  color: var(--bg-warm);
  letter-spacing: -0.05em;
  z-index: 0; pointer-events: none;
  font-weight: 400;
}
.process-card > * { position: relative; z-index: 1; }
.process-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 4px rgba(20, 20, 20, 0.05),
    0 12px 32px rgba(20, 20, 20, 0.10),
    0 32px 64px rgba(6, 80, 127, 0.10);
}
.process-card .pc-icon {
  width: 44px; height: 44px;
  color: var(--wap-blue);
  margin-bottom: 24px;
  transition: color 0.4s var(--ease);
}
.process-card .pc-icon svg { width: 100%; height: 100%; }
/* Progression chromatique du bleu au rouge à travers les 5 étapes */
.process-card:nth-child(1) .pc-icon { color: #06507f; }
.process-card:nth-child(2) .pc-icon { color: #2d5e87; }
.process-card:nth-child(3) .pc-icon { color: #7a4e78; }
.process-card:nth-child(4) .pc-icon { color: #c13355; }
.process-card:nth-child(5) .pc-icon { color: #ed1d3a; }
.process-card:hover .pc-icon { color: var(--wap-red); transform: scale(1.08); }
.process-card .pc-icon { display: flex; align-items: center; justify-content: center; transition: color 0.4s var(--ease), transform 0.3s var(--ease); }
.process-card .pc-step {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--wap-red); margin-bottom: 10px;
}
.process-card .pc-name {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.015em; line-height: 1.05;
  color: var(--ink); margin-bottom: 14px;
}
.process-card .pc-desc {
  font-size: 13px; color: var(--ink-mute); line-height: 1.55;
}

@media (max-width: 1100px) {
  .process-flow { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-flow::before { display: none; }
}
@media (max-width: 600px) {
  .process-flow { grid-template-columns: 1fr; gap: 16px; }
  .process-card { padding: 28px 22px 26px; }
  .process-card::before { font-size: 110px; top: -12px; }
}

/* ==========================================================================
   CARROUSEL ACTUALITÉS (multi-images par card)
   Charte WAP : blanc + bleu uniquement (pas de rouge)
   ========================================================================== */

.nc-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.nc-carousel .nc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}

.nc-carousel .nc-slide--active {
  opacity: 1;
}

/* Flèches gauche / droite */
.nc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wap-blue);
  cursor: pointer;
  z-index: 4;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease, background 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nc-arrow svg {
  display: block;
  pointer-events: none;
}

.nc-arrow--left  { left: 12px; }
.nc-arrow--right { right: 12px; }

/* Visible au hover desktop */
.news-card:hover .nc-arrow {
  opacity: 1;
}

.nc-arrow:hover,
.nc-arrow:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

.nc-arrow:focus-visible {
  box-shadow: 0 0 0 2px var(--wap-blue), 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Sur mobile / écrans tactiles : flèches toujours visibles */
@media (hover: none), (pointer: coarse) {
  .nc-arrow { opacity: 1; }
}

/* Points indicateurs */
.nc-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
  pointer-events: auto;
}

.nc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nc-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.nc-dot--active {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

/* Quand un carrousel est présent, on neutralise le hover-zoom global de news-card img */
.nc-carousel .nc-slide,
.news-card:hover .nc-carousel .nc-slide {
  transform: none;
}

/* ==========================================================================
   AFFICHES COMPACTES — fiches projet style "vignettes" (sous le carrousel 3D)
   ========================================================================== */
.posters-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.poster-card {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.poster-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.poster-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 50%,
    rgba(0,0,0,0.55) 72%,
    rgba(0,0,0,0.96) 100%);
  pointer-events: none;
}
.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20,20,20,0.18);
}
.poster-card:hover img { transform: scale(1.05); }
.poster-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px 14px 16px; color: white;
}
.poster-info .pi-country {
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 4px; display: block;
}
.poster-info .pi-title {
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.05; letter-spacing: -0.01em;
  margin-bottom: 2px; color: white;
}
.poster-info .pi-spec {
  font-size: 10px; color: rgba(255,255,255,0.78);
  line-height: 1.3;
}
@media (max-width: 1200px) {
  .posters-grid { grid-template-columns: repeat(4, 1fr); }
}
/* Mobile uniquement : scroll horizontal swipeable au lieu d'une grille */
@media (max-width: 720px) {
  .posters-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding: 20px;
    /* extension visuelle hors du container : permet au scroll de "saigner" sur les bords */
    margin-left: calc(-1 * var(--gutter, 20px));
    margin-right: calc(-1 * var(--gutter, 20px));
    padding: 4px var(--gutter, 20px) 16px;
  }
  .posters-grid .poster-card {
    flex: 0 0 72vw;        /* ~72% largeur écran par card → la suivante teasing */
    max-width: 280px;
    scroll-snap-align: start;
  }
  .poster-info { padding: 12px; }
  .poster-info .pi-title { font-size: 14px; }
  /* Scrollbar discrète mobile */
  .posters-grid::-webkit-scrollbar { height: 4px; }
  .posters-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
}

/* Hint scroll horizontal — tablette/desktop NE LE VOIENT PAS */
@media (max-width: 720px) {
  .posters-grid::after {
    content: "→";
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mute);
    font-size: 18px;
    pointer-events: none;
  }
}

/* ───── Galeries photos mobile (Métier + Chaudronnerie) ─────
   service-gallery et fab-gallery passent en scroll horizontal swipeable */
@media (max-width: 720px) {
  .service-gallery,
  .fab-gallery {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-left: -20px;
    margin-right: -20px;
    padding: 4px 20px 12px;
  }
  .service-gallery > figure,
  .fab-gallery > figure,
  .service-gallery > .service-photo-main,
  .service-gallery > .service-photo-placeholder,
  .fab-gallery > .fab-photo {
    flex: 0 0 78vw;
    max-width: 320px;
    scroll-snap-align: start;
    margin: 0;
  }
  /* Quand la photo principale est déplacée dans la galerie en mobile, on retire son ombre généreuse desktop pour homogénéiser */
  .fab-gallery > .fab-photo,
  .service-gallery > .service-photo-main {
    box-shadow: none;
  }
  .fab-gallery > .fab-photo .fab-photo-frame {
    border-radius: 4px !important;
  }
  .service-gallery::-webkit-scrollbar,
  .fab-gallery::-webkit-scrollbar { height: 4px; }
  .service-gallery::-webkit-scrollbar-thumb,
  .fab-gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

  /* Légende sous l'image en mobile : lisible */
  .fab-gallery figcaption {
    font-size: 12px;
    padding-top: 8px;
  }
}

/* Photos chantiers fiches projet (.projects-grid--3) en scroll horizontal mobile aussi */
@media (max-width: 720px) {
  .projects-grid.projects-grid--3 {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-left: -20px;
    margin-right: -20px;
    padding: 4px 20px 12px;
  }
  .projects-grid.projects-grid--3 > .project-card {
    flex: 0 0 78vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
  .projects-grid.projects-grid--3::-webkit-scrollbar { height: 4px; }
  .projects-grid.projects-grid--3::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
}

/* Actualités LinkedIn : swipe horizontal mobile */
@media (max-width: 720px) {
  .news-cards.mobile-swipe,
  .news-cards {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-left: -20px;
    margin-right: -20px;
    padding: 4px 20px 16px;
  }
  .news-cards > .news-card {
    flex: 0 0 80vw;
    max-width: 340px;
    scroll-snap-align: start;
    aspect-ratio: 4/5;
  }
  .news-cards::-webkit-scrollbar { height: 4px; }
  .news-cards::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
}


/* ============================================================================
   MOBILE OPTIMIZATIONS — drawer menu, viewport tweaks, ergonomie tactile
   ========================================================================== */

/* Footer du drawer mobile : caché par défaut (desktop), affiché en mobile */
.nav-mobile-footer { display: none; }

/* ============================================================================
   SCHÉMA DE FILIÈRE (process diagram) — fiches projets
   ========================================================================== */
.process-diagram {
  margin: 40px 0 16px;
  padding: 32px 28px 28px;
  background: var(--bg-warm);
  border-radius: 4px;
  border-left: 3px solid var(--wap-blue);
}
.process-diagram h4 {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600; margin: 0 0 6px;
}
.process-diagram .pd-title {
  font-family: var(--font-display); font-size: 20px;
  letter-spacing: -0.01em; margin: 0 0 28px; color: var(--ink); line-height: 1.2;
}
.pd-flow {
  display: flex; flex-wrap: nowrap; align-items: stretch;
  gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.pd-flow::-webkit-scrollbar { height: 4px; }
.pd-flow::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.pd-step {
  flex: 0 0 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px 14px;
  text-align: center;
  scroll-snap-align: start;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pd-step:hover {
  border-color: var(--wap-blue);
  transform: translateY(-2px);
}
.pd-step--in {
  background: var(--wap-blue);
  color: #fff;
  border-color: var(--wap-blue);
}
.pd-step--out {
  background: var(--wap-red);
  color: #fff;
  border-color: var(--wap-red);
}
.pd-num {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; opacity: 0.7; margin-bottom: 8px;
}
.pd-step--in .pd-num,
.pd-step--out .pd-num { opacity: 0.85; }
.pd-name {
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.15; letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.pd-detail {
  font-size: 12px; line-height: 1.4;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.pd-step--in .pd-detail,
.pd-step--out .pd-detail { color: rgba(255, 255, 255, 0.85); }
.pd-arrow {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wap-blue);
  font-size: 22px;
  font-weight: 300;
  user-select: none;
}
.pd-legend {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .process-diagram { padding: 24px 18px; }
  .pd-step { flex: 0 0 130px; padding: 14px 12px; }
  .pd-arrow { flex: 0 0 22px; font-size: 18px; }
}

/* ============================================================================
   "CE QUI NOUS DISTINGUE" — bloc différenciation accueil
   ========================================================================== */
.distinguish {
  padding: clamp(80px, 10vw, 120px) 0;
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.distinguish-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.distinguish-header .eyebrow {
  justify-content: center;
  margin-bottom: 22px;
}
.distinguish-header h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.distinguish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.distinguish-item {
  background: var(--white, #fff);
  padding: 36px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.distinguish-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}
.distinguish-item .d-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--wap-blue);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
}
.distinguish-item h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}
.distinguish-item p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.distinguish-cta {
  text-align: center;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.distinguish-cta-link {
  font-size: 14px;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s;
}
.distinguish-cta-link:hover {
  color: var(--wap-blue);
}
@media (max-width: 900px) {
  .distinguish-grid { grid-template-columns: 1fr; gap: 16px; }
  .distinguish-item { padding: 28px 22px 24px; }
  .distinguish-header { margin-bottom: 40px; }
  .distinguish-cta { gap: 16px; flex-direction: column; }
}

/* ============================================================================
   ACCESSIBILITÉ (WCAG 2.1 AA)
   ========================================================================== */

/* Skip-to-content : caché par défaut, visible au focus clavier */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--wap-blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Focus visible custom — pour la navigation clavier */
*:focus-visible {
  outline: 3px solid var(--wap-blue);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Cas particuliers : éléments avec design fort */
.btn-header:focus-visible,
.hc-cta:focus-visible,
.contact-cta-action:focus-visible,
.btn-ink:focus-visible,
.form-submit:focus-visible {
  outline: 3px solid var(--wap-red);
  outline-offset: 3px;
}
/* Liens dans les zones colorées (footer dark, hero) */
.hero-cover a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
/* Carousel 3D : focus visible sur les cards */
.c3d-card:focus-visible {
  outline: 3px solid var(--wap-red);
  outline-offset: 4px;
  border-radius: 10px;
}
/* FAQ : focus visible sur les boutons questions */
.faq-question:focus-visible {
  outline: 2px solid var(--wap-blue);
  outline-offset: -2px;
  border-radius: 2px;
}

/* ============================================================================
   BANDEAU COOKIES (RGPD)
   Affiché tant que l'utilisateur n'a pas choisi. Aucune analytics chargée
   avant acceptation. Conforme CNIL (refus aussi facile que l'acceptation).
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  padding: 20px 22px;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  z-index: 200;
  display: none;
  animation: cookieSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.is-visible { display: block; }
@keyframes cookieSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}
.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner__btn {
  flex: 1 1 auto;
  min-width: 130px;
  padding: 11px 18px;
  border: 0;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}
.cookie-banner__btn--accept {
  background: #fff;
  color: var(--ink);
}
.cookie-banner__btn--accept:hover { background: var(--bg-warm); }
.cookie-banner__btn--reject {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-banner__btn--reject:hover { background: rgba(255, 255, 255, 0.2); }
@media (max-width: 600px) {
  .cookie-banner { padding: 16px 18px; }
  .cookie-banner__text { font-size: 13px; }
}

/* ───── Menu mobile : overlay plein écran ───── */
@media (max-width: 1024px) {
  /* Overlay plein écran qui apparaît en fade-in */
  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 100;
    padding: 88px 24px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-nav.is-open ul,
  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .site-nav ul li {
    border-bottom: 1px solid var(--line);
  }
  .site-nav ul li:last-child {
    border-bottom: 0;
  }
  .site-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.15;
  }
  .site-nav .nav-link.active {
    color: var(--wap-blue);
  }
  .site-nav .nav-link::after {
    content: "→";
    color: var(--ink-mute);
    transition: transform 0.2s, color 0.2s;
    margin-left: 16px;
    font-size: 18px;
  }
  .site-nav .nav-link:active::after,
  .site-nav .nav-link:hover::after,
  .site-nav .nav-link.active::after {
    color: var(--wap-blue);
    transform: translateX(4px);
  }

  /* Footer du drawer : CTA + lang + contact (compact) */
  .nav-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    margin-top: 22px;
  }
  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--wap-blue);
    color: #fff !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
  }
  .nav-mobile-lang {
    display: flex;
    gap: 12px;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
  }
  .nav-mobile-lang a {
    color: var(--ink-mute);
    transition: color 0.2s;
  }
  .nav-mobile-lang a.active {
    color: var(--ink);
  }
  .nav-mobile-contact {
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .nav-mobile-contact a {
    color: var(--wap-blue);
    font-weight: 500;
  }

  /* Header : cacher btn + lang quand on est en mobile (présents dans le drawer) */
  .site-header .header-actions .btn-header,
  .site-header .header-actions .lang-switch {
    display: none;
  }

  /* Overlay sombre quand menu ouvert */
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99;
    animation: navOverlayFade 0.3s ease-out;
  }
  @keyframes navOverlayFade { from { opacity: 0; } to { opacity: 1; } }
  body.nav-open { overflow: hidden; }

  /* Burger : 3 traits qui deviennent croix */
  .menu-toggle {
    position: relative;
    z-index: 101;
    width: 32px;
    height: 24px;
  }
  .menu-toggle span {
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .menu-toggle.is-open span:nth-child(2) {
    transform: translateY(-10px) rotate(-45deg);
  }
}

/* ───── Header mobile très étroit ───── */
@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .header-inner { gap: 10px; }
  .btn-header { padding: 9px 14px; font-size: 11.5px; letter-spacing: 0.18em; }
  .lang-switch { font-size: 11px; gap: 6px; }
}

/* ───── Hero accueil : ergonomie mobile ───── */
@media (max-width: 700px) {
  .hero-cover { min-height: 560px; height: 88vh; }
  .hero-cover .hc-inner { padding-bottom: 60px; padding-top: 100px; }
  .hero-cover .hc-title { font-size: clamp(38px, 11vw, 60px); }
  .hero-cover .hc-sub { font-size: 15px; max-width: 420px; }
  .hero-cover .hc-eyebrow { font-size: 11px; }
}

/* ───── Vidéo éditoriale mobile ───── */
@media (max-width: 700px) {
  .editorial-video { padding: 0; }
  .editorial-video .ev-caption { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ───── Page hero (sous-pages) : padding mobile ───── */
@media (max-width: 700px) {
  .page-hero { padding: 100px 0 60px; }
  .page-title { font-size: clamp(32px, 8vw, 52px); }
  .page-subtitle { font-size: 15px; line-height: 1.55; }
}

/* ───── Carte D3 Présence internationale : centrée et grossie sur mobile ───── */
@media (max-width: 800px) {
  .presence-section { padding: 32px 8px !important; }
  .presence-section .stage {
    aspect-ratio: 4 / 5;
    max-height: none;
    width: 100%;
    margin: 0 auto;
  }
  .presence-section .map-svg {
    width: 100%;
    height: 100%;
    /* zoom in : viewBox naturel 0 0 1500 880, on cible le coeur Europe-Afrique */
    transform: scale(1.25);
    transform-origin: 50% 52%;
  }
  .presence-section .kpis {
    flex-direction: column !important;
    gap: 14px !important;
    align-items: flex-start !important;
    margin-top: 24px !important;
  }
  .presence-section .legend {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
  }
  .presence-section .headline { font-size: clamp(26px, 7vw, 38px) !important; line-height: 1.05 !important; }
  .presence-section .intro-text { font-size: 14.5px !important; line-height: 1.6 !important; }
}

@media (max-width: 600px) {
  .presence-section { padding: 28px 4px !important; }
  .presence-section .stage {
    aspect-ratio: 5 / 6;       /* presque carré : carte plus généreuse en hauteur */
  }
  .presence-section .map-svg {
    transform: scale(1.4);
    transform-origin: 50% 55%;
  }
}

/* ───── Stats grid mobile ───── */
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: clamp(36px, 11vw, 56px); }
  .ie-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ie-num { font-size: clamp(32px, 9vw, 48px); }
}

/* ───── 4 piliers en mobile ───── */
@media (max-width: 700px) {
  .pillars-grid--4 { grid-template-columns: 1fr; gap: 24px; }
  .pillar { padding: 28px 20px; }
}

/* ───── Cards méthode (process-flow) mobile ───── */
@media (max-width: 600px) {
  .process-card { padding: 24px 20px; }
  .pc-name { font-size: 18px; }
  .pc-desc { font-size: 13.5px; }
}

/* ───── FAQ mobile ───── */
@media (max-width: 700px) {
  .faq-list { padding: 0 20px; }
  .faq-question { font-size: 15px; padding: 18px 40px 18px 0; line-height: 1.4; }
  .faq-answer-inner { font-size: 14.5px; line-height: 1.6; }
  .faq-group-title { font-size: 18px; }
}

/* ───── Pages légales (Mentions / Confidentialité / CGV) mobile ───── */
@media (max-width: 700px) {
  .legal-wrap { padding: 0 20px; }
  .legal-banner h1 { font-size: clamp(28px, 8vw, 42px); }
  .legal-toc { padding: 22px 24px; }
  .legal-toc ol { font-size: 13px; }
  .legal-callout { padding: 20px 22px; font-size: 14px; }
  .legal-body h2 { font-size: clamp(19px, 5vw, 24px); margin-top: 36px; }
  .legal-body p { font-size: 14.5px; line-height: 1.7; }
}

/* ───── Carrousel 3D : marge bottom plus serrée mobile ───── */
@media (max-width: 700px) {
  .carousel3d-section .c3d-header { margin-bottom: 60px; }
  .c3d-hint { margin-top: 70px; font-size: 10px; padding: 10px 18px; }
}

/* ───── Footer mobile très petit : tout en colonne ───── */
@media (max-width: 600px) {
  .site-footer { padding: 60px 0 28px; }
  .footer-top { gap: 32px; margin-bottom: 56px; }
  .footer-brand { grid-column: auto !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom-links { gap: 18px; }
}

/* ───── Contact CTA mobile ───── */
@media (max-width: 700px) {
  .contact-cta { padding: 52px 0 60px; }
  .contact-cta .container { padding-left: 20px; padding-right: 20px; }
  .contact-cta .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .contact-cta h2 {
    font-size: clamp(24px, 7vw, 36px);     /* Plus modeste : 24-36px max */
    line-height: 1.1;
    letter-spacing: -0.02em;                /* Moins serré (était -0.035em) */
    margin-bottom: 18px;
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .contact-cta p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
    padding: 0;
    max-width: 100%;
  }
  .contact-cta-action { padding: 14px 24px; font-size: 13px; }
}

/* ───── Photos éditoriales pleine largeur mobile ───── */
@media (max-width: 700px) {
  .editorial-image { margin: 32px 0; }
  .editorial-image img { aspect-ratio: 4 / 3; }
  .editorial-image .caption { font-size: 11px; padding: 12px 0; flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ───── Bloc Avant/Après mobile ───── */
@media (max-width: 600px) {
  .before-after { padding: 22px 18px; }
  .before-after h4 { font-size: 16px; }
  .before-after p.ba-intro { font-size: 13px; }
  .ba-photo { font-size: 12px; padding: 12px; }
}

/* ───── Form contact mobile ───── */
@media (max-width: 700px) {
  .contact-form { padding: 24px 20px; }
  .form-field label { font-size: 12px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; padding: 12px; }  /* 16px évite le zoom iOS */
  .contact-info { padding: 24px 20px; }
}

/* ==========================================================================
   RÉALISATIONS — améliorations mobile (lisibilité + densité)
   ========================================================================== */

@media (max-width: 720px) {
  /* Sécurité globale anti-débordement horizontal sur les fiches projet */
  body { overflow-x: hidden; }
  .project-body-grid .prose p,
  .project-body-grid .prose li,
  .project-body-grid aside p,
  .project-body-grid aside li {
    word-break: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .project-equip-list li {
    flex-wrap: wrap;
  }

  /* Bandeau de titre fiche projet : passage en colonne pour lisibilité */
  .project-title-band { padding: 18px 0; }
  .project-title-band .ptb-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .project-title-band .ptb-name {
    line-height: 1.15;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .project-title-band .ptb-meta {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.10em;     /* moins étalé pour rentrer sur 1-2 lignes */
    word-break: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
  }

  /* Specs bar : on garde 2×2 même sur très petit écran (au lieu de 1 col)
     → 4 specs en 2 lignes au lieu de 4 lignes — gagne ~80px de hauteur */
  .project-specs-bar { padding: 22px 0; gap: 0; }
  .project-specs-bar .spec { padding: 12px 14px; }
  .project-specs-bar .spec-label { font-size: 10px; margin-bottom: 6px; letter-spacing: 0.14em; }
  .project-specs-bar .spec-value { font-size: 17px; line-height: 1.2; }

  /* Body grid : aérer un peu le aside et la prose */
  .project-body-grid { gap: 36px; margin-bottom: 56px; }
  .project-body-grid aside { padding-top: 32px; }
  .project-body-grid aside h4 { font-size: 15px; margin-bottom: 12px; }
  .project-body-grid aside p,
  .project-body-grid aside li { font-size: 14px; line-height: 1.6; }
  .project-body-grid .prose { padding-top: 32px; }
  .project-body-grid .prose p { font-size: 16px; line-height: 1.7; }
  .project-body-grid .prose h3 { margin: 36px 0 16px; }

  /* Process diagram mobile : liste verticale ultra-épurée
     → bandes de couleur pour entrée/sortie, lignes simples pour les étapes,
       fil bleu vertical qui les connecte à gauche */
  .process-diagram { padding: 20px 14px; margin: 24px -14px 8px; border-radius: 0; }
  .process-diagram h4 { font-size: 10px; text-align: center; }
  .process-diagram .pd-title { font-size: 15px; margin-bottom: 20px; line-height: 1.35; text-align: center; }

  .pd-flow {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
    gap: 0;
    align-items: stretch;
    position: relative;
  }
  /* Fil bleu vertical à gauche qui relie toutes les étapes */
  .pd-flow::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: var(--wap-blue);
    opacity: 0.25;
    z-index: 0;
  }

  .pd-step {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px 12px 36px;     /* 36px à gauche pour faire la place au fil */
    text-align: left;
    display: block;
    scroll-snap-align: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    position: relative;
    z-index: 1;
  }
  /* Pastille colorée sur le fil pour chaque étape */
  .pd-step::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--wap-blue);
    border: 2px solid var(--bg-warm);
    z-index: 2;
  }
  .pd-step:hover { transform: none; border-color: var(--line); }

  /* Entrée / Sortie : pleines couleurs, pastille adaptée */
  .pd-step--in { background: var(--wap-blue); color: #fff; border-color: var(--wap-blue); }
  .pd-step--in::before { background: #fff; border-color: var(--wap-blue); }
  .pd-step--out { background: var(--wap-red); color: #fff; border-color: var(--wap-red); }
  .pd-step--out::before { background: var(--wap-red); border-color: var(--bg-warm); }

  .pd-step .pd-num {
    display: inline-block;
    margin: 0 0 2px;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    opacity: 0.7;
  }
  .pd-step .pd-name {
    margin: 0 0 2px;
    font-size: 16px;
    line-height: 1.2;
  }
  .pd-step .pd-detail {
    font-size: 12px;
    line-height: 1.35;
  }

  /* Plus de flèches : le fil bleu fait la liaison visuelle */
  .pd-arrow {
    flex: 0 0 auto;
    height: 6px;
    width: 100%;
    font-size: 0;
    margin: 0;
    color: transparent;
  }

  /* Légende cachée (le fil suffit comme indicateur visuel) */
  .pd-legend { display: none; }

  /* Photos sous le corps : un peu plus de marge */
  .project-photos { gap: 14px; }

  /* Project nav : centrer + boutons pleine largeur si peu de place */
  .project-nav { padding: 32px 0 56px; }
  .project-nav .container { gap: 14px; }
  .project-nav .btn-ink { font-size: 13px; }

  /* Posters grid : cards swipables un peu plus larges + textes plus lisibles */
  .posters-grid .poster-card {
    flex: 0 0 76vw;
    max-width: 320px;
  }
  .poster-info { padding: 14px 14px 16px; }
  .poster-info .pi-country { font-size: 9.5px; margin-bottom: 5px; }
  .poster-info .pi-title { font-size: 16px; margin-bottom: 3px; }
  .poster-info .pi-spec { font-size: 11px; line-height: 1.4; }
  /* Dégradé légèrement plus marqué pour mieux faire ressortir le titre */
  .poster-card::after {
    background: linear-gradient(180deg,
      transparent 0%,
      transparent 42%,
      rgba(0,0,0,0.55) 65%,
      rgba(0,0,0,0.96) 100%);
  }

  /* Carrousel 3D : titre projet plus lisible sur les cards mobile */
  .c3d-info { padding: 18px 14px 14px; }
  .c3d-info .c3d-title { font-size: 22px; line-height: 1.05; }
  .c3d-info .c3d-spec { font-size: 11px; line-height: 1.35; }
  .c3d-info .c3d-country { font-size: 9.5px; margin-bottom: 6px; }
}

/* Petit écran (≤640) : on garde 2×2 sur les specs (override de la règle 1-col existante) */
@media (max-width: 640px) {
  .project-specs-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-specs-bar .spec {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .project-specs-bar .spec:nth-child(2n) { border-right: none; }
  .project-specs-bar .spec:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Lien LinkedIn dans le bloc contact (logo officiel SVG) ──────────────── */
.contact-info-value a.li-link,
a.li-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: #0a66c2; /* bleu LinkedIn officiel */
  background: transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.contact-info-value a.li-link:hover,
.contact-info-value a.li-link:focus-visible,
a.li-link:hover,
a.li-link:focus-visible {
  background: #0a66c2;
  color: #fff;
  transform: translateY(-1px);
}
.li-link .li-icon { display: block; }

/* ── Lien "Voir sur LinkedIn" affiché quand le flux LinkedIn est indisponible ─ */
.feed-unavailable-link { text-decoration: underline; }

/* ── Feedback formulaire de contact (succès/erreur, injecté par main.js) ─── */
.form-feedback {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  border-left: 4px solid var(--wap-blue);
  background: var(--wap-blue-soft);
  color: var(--ink);
}
.form-feedback.is-success {
  border-left-color: #2e8b57;
  background: #ecf6f0;
  color: #1a4a2c;
}
.form-feedback.is-error {
  border-left-color: var(--wap-red);
  background: var(--wap-red-soft);
  color: #6f0e1f;
}

/* ── Bandeau suggestion langue (injecté par js/lang-suggest.js) ───────────── */
.lang-suggest {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.18);
  animation: langSuggestSlideUp 0.4s var(--ease);
}
@keyframes langSuggestSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.lang-suggest-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-suggest-text {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
}
.lang-suggest-accept {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  background: var(--wap-red);
  color: var(--white);
  border-radius: 2px;
  transition: background 0.2s;
  white-space: nowrap;
}
.lang-suggest-accept:hover { background: #c91835; }
.lang-suggest-close {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lang-suggest-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.4);
}
@media (max-width: 700px) {
  .lang-suggest-inner { flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .lang-suggest-text { flex: 1 1 100%; font-size: 13px; }
  .lang-suggest-accept { flex: 1; text-align: center; padding: 10px 14px; }
}

