/* ==========================================================================
   Wash N Go — Direction artistique v2 (aperçu)
   Layer loaded after components.css: re-points the tokens to the new
   palette and restyles existing classes, so the WordPress markup and ACF
   fields stay unchanged when this is ported to the theme.
   ========================================================================== */

:root {
  /* --- Palette v2 --- */
  --c-green:        #087F5B;   /* vert signature — CTA, liens, chiffres */
  --c-green-hover:  #066A4C;
  --c-deep:         #103C32;   /* vert profond — panneaux sombres */
  --c-charcoal:     #172722;   /* noir charbon — texte */
  --c-mint:         #C8F5DF;   /* vert menthe — accents, chips */
  --c-mint-pale:    #ECFBF3;   /* menthe très claire — fonds de section */
  --c-lemon:        #E7F57B;   /* jaune citron — CTA sur fond sombre, surlignage */
  --c-lemon-hover:  #DCEE52;
  --c-cream:        #FFF8EA;   /* crème chaude — cartes, contraste chaleureux */
  --c-white:        #FFFFFF;
  --c-muted:        #3D5A51;   /* texte secondaire, teinté vert (jamais gris) */

  /* Existing tokens re-pointed, so every untouched component follows */
  --color-ink:          var(--c-deep);
  --color-ink-soft:     #164A3E;
  --color-primary:      var(--c-green);
  --color-primary-dark: var(--c-green-hover);
  --color-leaf:         var(--c-lemon);
  --color-mint:         var(--c-mint);
  --color-cream:        var(--c-cream);
  --color-surface:      var(--c-mint-pale);
  --color-green-pale:   var(--c-mint-pale);
  --color-fg:           var(--c-charcoal);
  --color-fg-muted:     var(--c-muted);
  --color-border:       #D3EEE1;
  --color-on-ink:       #FFFFFF;

  --font-heading: 'Bricolage Grotesque', 'Outfit', 'Segoe UI', sans-serif;

  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --panel-gap: 12px;   /* white frame around the rounded panels */

  --shadow-md: 0 10px 30px rgba(16, 60, 50, 0.10);
  --shadow-lg: 0 28px 60px rgba(16, 60, 50, 0.16);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-charcoal);
  font-optical-sizing: auto;
}
h2 {
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.02;
}
h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; }
p { color: var(--c-muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--c-deep);
  background: var(--c-mint);
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.eyebrow::before { width: 8px; height: 8px; background: var(--c-green); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition:
    transform 260ms var(--ease-spring),
    box-shadow 260ms var(--ease-out),
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}
/* soft light sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.0625rem; }

.btn-primary { background: var(--c-green); color: #fff; box-shadow: 0 6px 18px rgba(8,127,91,0.28); }
.btn-primary:hover { background: var(--c-green-hover); box-shadow: 0 12px 28px rgba(8,127,91,0.34); }

/* arrow that slides in on CTAs */
.btn-lg::after,
.solution-card .btn::after {
  content: '→';
  display: inline-block;
  font-weight: 700;
  transition: transform 260ms var(--ease-spring);
}
.btn-lg:hover::after,
.solution-card:hover .btn::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { border-bottom-color: transparent; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(16,60,50,0.08); }
.main-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.main-nav a::after { display: none; }
.main-nav a:hover { background: var(--c-mint-pale); color: var(--c-green); }

/* ---------- Hero (showcase) : framed, rounded, immersive ---------- */
.showcase {
  background: var(--c-white);
  padding: var(--header-h, 91px) var(--panel-gap) var(--panel-gap);
}
.admin-bar .showcase { height: calc(100lvh - 32px); }
.showcase-slides {
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-deep);
}
.showcase-slide.is-active img {
  animation: wng-kenburns 9s var(--ease-out) both;
}
@keyframes wng-kenburns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.showcase-overlay {
  background:
    linear-gradient(90deg, rgba(16,60,50,0.88) 0%, rgba(16,60,50,0.55) 42%, rgba(16,60,50,0.05) 80%),
    linear-gradient(0deg, rgba(16,60,50,0.55) 0%, rgba(16,60,50,0) 45%);
}
.showcase-text { top: 0; bottom: 4.5rem; }
.showcase-text--intro h2,
.showcase-text h2 {
  color: #fff;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 13ch;
  margin-bottom: 1.5rem;
}
.showcase-sub { color: rgba(255,255,255,0.9); font-size: clamp(1.05rem, 1.3vw, 1.25rem); max-width: 46ch; line-height: 1.55; }
.showcase-cta { margin-top: 2rem; gap: 0.75rem; }

/* on the photo, the main CTA uses the accent green (see end of file) */
.showcase .btn-primary { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.btn-blue {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-blue:hover { background: #fff; border-color: #fff; color: var(--c-deep); }

/* dots become progress bars (5s, synced with the auto-advance) */
.showcase-dots { bottom: calc(var(--panel-gap) + 1.75rem); gap: 0.5rem; }
.showcase-dot {
  position: relative;
  overflow: hidden;
  width: 44px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.32);
}
.showcase-dot.is-active { background: rgba(255,255,255,0.32); transform: none; }
.showcase-dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-origin: left center;
  animation: wng-progress 5s linear both;
}
.showcase:hover .showcase-dot.is-active::after,
.showcase:focus-within .showcase-dot.is-active::after { animation-play-state: paused; }
@keyframes wng-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ---------- Key figures : 3 coloured tiles ---------- */
.stats { border-bottom: 0; padding: var(--panel-gap) var(--panel-gap) 0; }
.stats-grid {
  max-width: none;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--panel-gap);
  text-align: left;
}
.stat-item {
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  gap: 0.5rem;
  min-height: 210px;
  justify-content: flex-end;
  background: var(--c-mint);
  transition: transform 400ms var(--ease-spring);
}
.stat-item:hover { transform: translateY(-4px) rotate(-0.6deg); }
.stat-item:nth-child(2) { background: var(--c-lemon); }
.stat-item:nth-child(3) { background: var(--c-deep); }
.stat-number {
  font-size: clamp(3.25rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--c-deep);
  font-variant-numeric: tabular-nums;
}
.stat-label { font-size: 1.0625rem; font-weight: 600; color: var(--c-deep); }
.stat-item:nth-child(3) .stat-number { color: var(--c-lemon); }
.stat-item:nth-child(3) .stat-label { color: #fff; }

/* ---------- Solutions : modern photo cards ---------- */
.solutions { padding-block: clamp(5rem, 9vw, 8rem); }
.solutions.band-green { background: var(--c-white); box-shadow: none; clip-path: none; }
.solutions .section-head h2 {
  white-space: normal;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  max-width: 18ch;
}
.solutions-grid { gap: 1.5rem; }
.solution-card,
.band-green .solution-card {
  background: var(--c-mint-pale);
  border: 0;
  border-radius: var(--radius-xl);
  padding: 0.75rem 0.75rem 1.75rem;
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out), background-color 300ms var(--ease-out);
}
.solution-card:nth-child(3n+2) { background: var(--c-cream); }
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.solution-card .trust-photo {
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--radius-xl) - 0.5rem);
  margin-bottom: 0;
}
.trust-photo img,
.realisation-card img {
  transition: transform 900ms var(--ease-out);
}
.solution-card:hover .trust-photo img { transform: scale(1.06); }
.solution-card .solution-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: -30px 0 1rem 1.25rem;
  border-radius: 50%;
  background: var(--c-lemon);
  color: var(--c-deep);
  box-shadow: 0 0 0 5px var(--c-mint-pale);
  transition: transform 400ms var(--ease-spring);
}
.solution-card:nth-child(3n+2) .solution-icon { box-shadow: 0 0 0 5px var(--c-cream); }
.solution-card:hover .solution-icon { transform: rotate(-8deg) scale(1.06); }
.solution-card h3,
.solution-card p,
.solution-card .btn { margin-inline: 1.25rem; }
.solution-card h3 { font-size: 1.5rem; line-height: 1.1; }
.solution-card p { font-size: 1rem; }
.solution-card .btn {
  background: transparent;
  color: var(--c-green);
  border: 1.5px solid currentColor;
  box-shadow: none;
  padding: 0.6rem 1.1rem;
  font-size: 0.9375rem;
}
.solution-card:hover .btn { background: var(--c-green); border-color: var(--c-green); color: #fff; }

/* ---------- Pourquoi Wash N Go : avantages ---------- */
.why { background: var(--c-white); padding-block: clamp(5rem, 9vw, 8rem); }
.why .section-head h2 { max-width: 20ch; }
.why-banner {
  position: relative;
  overflow: hidden;
  background: var(--c-green);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}
/* bubbles, drawn in CSS (brand motif: laundry foam) */
.why-banner::before,
.why-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(200,245,223,0.16);
  pointer-events: none;
}
.why-banner::before { width: 220px; height: 220px; right: 18%; top: -120px; }
.why-banner::after  { width: 120px; height: 120px; right: 6%; bottom: -60px; background: rgba(231,245,123,0.22); }
.why-banner p br { display: none; } /* the 2 ACF lines flow as one paragraph */
.why-banner p { position: relative; max-width: 60ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; font-weight: 500; }
.why-banner .btn-primary { position: relative; background: var(--c-lemon); color: var(--c-deep); box-shadow: none; }
.why-banner .btn-primary:hover { background: #fff; }

.why-grid { gap: 1.5rem; grid-template-columns: 1.15fr 1fr 1fr; }
.why-photo { border-radius: var(--radius-xl); }
.why-item {
  background: var(--c-mint-pale);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-item .solution-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-mint);
  color: var(--c-deep);
  margin-bottom: 1.25rem;
}
.why-item h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.12; margin-bottom: 0.65rem; }
.why-item p { font-size: 1rem; }
/* the n°1 commercial argument stands out: 0 € d'investissement */
.why-grid > .why-item:nth-child(2) { background: var(--c-deep); }
.why-grid > .why-item:nth-child(2) h3 { font-size: clamp(1.5rem, 2.1vw, 1.9rem); }
.why-grid > .why-item:nth-child(2) p { color: rgba(255,255,255,0.82); }
.why-grid > .why-item:nth-child(5) { background: var(--c-cream); }

/* ---------- CTA final : lemon panel ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  margin: 0 var(--panel-gap) var(--panel-gap);
  border-radius: var(--radius-xl);
  background: var(--c-lemon);
  padding-block: clamp(5rem, 10vw, 8.5rem);
}
.cta-final-inner { position: relative; z-index: 1; max-width: 860px; }
.cta-final h2 {
  color: var(--c-deep);
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.25rem;
}
.cta-final p { color: var(--c-deep); font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 48ch; margin-inline: auto; margin-bottom: 2.25rem; }
.cta-final .btn-primary { background: var(--c-deep); color: #fff; box-shadow: 0 10px 30px rgba(16,60,50,0.25); }
.cta-final .btn-primary:hover { background: var(--c-green); }
.cta-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: wng-float 9s ease-in-out infinite alternate;
}
.cta-bubble--1 { width: 260px; height: 260px; left: -70px; top: -80px; background: rgba(255,255,255,0.45); }
.cta-bubble--2 { width: 140px; height: 140px; right: 8%; bottom: -40px; background: var(--c-mint); animation-duration: 11s; }
.cta-bubble--3 { width: 56px; height: 56px; right: 22%; top: 18%; border: 3px solid var(--c-deep); opacity: 0.18; animation-duration: 7s; }
@keyframes wng-float {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(14px, -18px, 0); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-deep); margin-top: 0; }
.site-footer p { color: rgba(255,255,255,0.72); }
.footer-col a:hover,
.footer-legal a:hover { color: var(--c-lemon); }
.footer-contact svg { color: var(--c-lemon); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .solutions .section-head h2 { font-size: clamp(2rem, 7vw, 2.75rem); }
}
@media (max-width: 700px) {
  :root { --panel-gap: 8px; --radius-xl: 26px; }
  .stats-grid { grid-template-columns: 1fr; max-width: none; }
  .stat-item { min-height: 0; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 0.25rem 1rem; flex-wrap: wrap; }
  .solutions-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .showcase-text { bottom: 4rem; }
  .showcase-text--intro h2, .showcase-text h2 { font-size: clamp(2.4rem, 11vw, 3.25rem); max-width: 12ch; }
  .showcase-cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ==========================================================================
   Choix validés : mots importants en vert prairie, chiffres en tuiles citron
   Règle de contraste : vert prairie sur fond sombre, vert signature sur fond clair.
   ========================================================================== */
:root { --c-accent: #74DD7E; }  /* vert prairie */

.hl { color: var(--c-green); }
.on-dark .hl,
.showcase-text .hl,
.page-hero .hl { color: var(--c-accent); }
.brand-highlight { color: var(--c-accent); }
.brand-highlight-primary { color: var(--c-green); }

.showcase .btn-primary { background: var(--c-accent); color: var(--c-deep); }
.showcase .btn-primary:hover { background: #fff; }
.showcase-dot.is-active::after { background: var(--c-accent); }
.why-grid > .why-item:nth-child(2) h3 { color: var(--c-accent); }
.why-grid > .why-item:nth-child(2) .solution-icon { background: var(--c-accent); }

/* ==========================================================================
   Pages intérieures — même langage : panneaux arrondis, tuiles colorées,
   cartes menthe / crème, formulaires doux.
   ========================================================================== */

.btn-ghost { border-color: var(--color-border); color: var(--c-deep); }
.btn-ghost:hover { border-color: var(--c-green); color: var(--c-green); }

/* ---------- Nos solutions : bandeau ---------- */
.solution-hero.container {
  max-width: none;
  padding: var(--header-h, 91px) var(--panel-gap) 0;
}
.solution-hero-grid {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: var(--radius-xl);
  box-shadow: none;
  background: var(--c-deep);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 5rem);
}
.solution-hero-grid::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  left: -140px; bottom: -220px;
  border-radius: 50%;
  background: rgba(116,221,126,0.12);
}
.solution-hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}
.solution-hero p { color: rgba(255,255,255,0.85); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
.solution-hero .brand-highlight-primary { color: var(--c-accent); }
.solution-hero .btn-primary { background: var(--c-accent); color: var(--c-deep); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.solution-hero .btn-primary:hover { background: #fff; }
.solution-hero .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.solution-hero .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--c-deep); }
.solution-hero-photo { border-radius: calc(var(--radius-xl) - 0.5rem); aspect-ratio: 4 / 3.4; }
.solution-hero-photo img { animation: wng-kenburns 9s var(--ease-out) both; }

/* ---------- Nos solutions : le modèle en 4 tuiles ---------- */
.model-section.band-green { background: transparent; box-shadow: none; clip-path: none; padding-block: clamp(4.5rem, 8vw, 7rem) 0; }
.model-section .section-head h2 { max-width: 20ch; margin-inline: auto; }
.model-grid { gap: var(--panel-gap); }
.model-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--c-mint);
  transition: transform 400ms var(--ease-spring);
}
.model-item:hover { transform: translateY(-4px) rotate(-0.6deg); }
.model-item:nth-child(2) { background: var(--c-lemon); }
.model-item:nth-child(3) { background: var(--c-deep); }
.model-item:nth-child(4) { background: var(--c-green); }
.model-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--c-deep);
  margin-bottom: 0.75rem;
}
.model-item h3 { font-size: 1.25rem; color: var(--c-deep); margin-bottom: 0.35rem; }
.model-item p { color: var(--c-deep); opacity: 0.8; font-size: 0.9375rem; }
.model-item:nth-child(3) .model-number { color: var(--c-lemon); }
.model-item:nth-child(4) .model-number,
.model-item:nth-child(3) h3,
.model-item:nth-child(4) h3 { color: #fff; }
.model-item:nth-child(3) p,
.model-item:nth-child(4) p { color: rgba(255,255,255,0.85); opacity: 1; }

/* ---------- Nos solutions : environnements ---------- */
#offres { padding-top: clamp(5rem, 9vw, 8rem); }
#offres .section-head h2 { max-width: 16ch; }
.env-rows { gap: 1.5rem; padding-block: 2rem clamp(4rem, 7vw, 6rem); }
.env-row {
  border: 0;
  border-radius: var(--radius-xl);
  background: var(--c-mint-pale);
  padding: 0.75rem;
  gap: 0.75rem;
  box-shadow: none;
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.env-row:nth-child(even) { background: var(--c-cream); }
.env-row:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.env-row-photo { min-height: 360px; border-radius: calc(var(--radius-xl) - 0.5rem); overflow: hidden; }
.env-row-photo picture { display: block; height: 100%; }
.env-row-photo img { transition: transform 900ms var(--ease-out); }
.env-row:hover .env-row-photo img { transform: scale(1.06); }
.env-row-body { padding: clamp(1.5rem, 3.5vw, 3.25rem); }
.env-row-body h3 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.05; margin-bottom: 1rem; }
.env-card-desc { font-size: 1.125rem; }
.env-card-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; font-family: var(--font-body); }
.env-card-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--c-deep);
  font-size: 0.8125rem;
  font-weight: 600;
}
.env-card-tags .tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); }

/* ---------- Nos solutions : éco-responsabilité (panneau sombre) ---------- */
.eco-section {
  margin-inline: var(--panel-gap);
  border-radius: var(--radius-xl);
  background: var(--c-deep);
  padding-block: clamp(4.5rem, 8vw, 7rem);
  overflow: hidden;
}
.eco-section h2 { color: #fff; }
.eco-section .section-head { max-width: 760px; }
.eco-section .section-sub { color: rgba(255,255,255,0.8); }
.eco-grid { max-width: none; gap: 1.25rem; }
.eco-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(200,245,223,0.14);
  transition: transform 450ms var(--ease-out), background-color 300ms var(--ease-out);
}
.eco-item:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }
.eco-icon {
  order: -1;
  margin: 0 0 1.5rem;
  width: 60px; height: 60px;
  background: var(--c-accent);
  color: var(--c-deep);
  box-shadow: none;
}
.eco-item h3 { color: #fff; font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 0.75rem; }
.eco-item p { color: rgba(255,255,255,0.78); font-size: 1rem; }
.eco-tagline { color: var(--c-accent); font-size: clamp(1.1rem, 1.6vw, 1.4rem); margin-top: 3rem; }

/* ---------- Nos solutions : étapes ---------- */
.steps { gap: 1rem; padding-block: 0 clamp(5rem, 9vw, 8rem); }
.step {
  padding: 5.5rem clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--c-mint-pale);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step::before {
  top: 1.75rem;
  left: clamp(1.5rem, 2.5vw, 2rem);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-deep);
  color: var(--c-accent);
  font-size: 1.05rem;
}
.step:not(:last-child)::after { display: none; }
.step h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
.step p { font-size: 1rem; }

/* ---------- Qui sommes-nous : bandeau photo ---------- */
.page-header-photo {
  margin: var(--header-h, 91px) var(--panel-gap) 0;
  border-radius: var(--radius-xl);
  isolation: isolate;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.page-header-photo .container { width: 100%; }
.page-header-photo-img img { animation: wng-kenburns 9s var(--ease-out) both; }
.page-header-photo-overlay {
  background:
    linear-gradient(90deg, rgba(16,60,50,0.88) 0%, rgba(16,60,50,0.5) 55%, rgba(16,60,50,0.15) 100%),
    linear-gradient(0deg, rgba(16,60,50,0.6) 0%, rgba(16,60,50,0) 50%);
}
.page-header-photo h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 20ch;
  margin-bottom: 1.5rem;
}
.page-header-photo p { color: rgba(255,255,255,0.88); font-size: clamp(1.05rem, 1.3vw, 1.25rem); }

/* ---------- Qui sommes-nous : histoire, ADN, fondateurs ---------- */
.history-photo picture { border: 0; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.history-photo img { transition: transform 900ms var(--ease-out); }
.history-photo:hover img { transform: scale(1.04); }

.adn-list { gap: 0.75rem; }
.adn-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.adn-item:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.adn-item-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-mint); color: var(--c-deep); }
.adn-item h3 { font-size: 1.25rem; }
.adn-item p { font-size: 0.9375rem; }
.adn-photo { border: 0; border-radius: var(--radius-xl); box-shadow: none; }

.founders-quote { padding-block: clamp(5rem, 9vw, 8rem); }
.founders-quote-mark { color: var(--c-green); }
.founders-quote-lead h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.04; }
.founders-quote-text {
  border-left: 0;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--c-cream);
  font-size: 1.125rem;
}
.founders-quote-sign { color: var(--c-green); font-weight: 700; }

/* CTA final on a lemon panel: secondary button turns dark-outlined */
.cta-final .btn-outline-light { border-color: var(--c-deep); color: var(--c-deep); }
.cta-final .btn-outline-light:hover { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }

/* ---------- Contact & démo ---------- */
.page-tint { background: var(--c-mint-pale); }
.contact-layout { padding-top: calc(var(--header-h, 91px) + clamp(2.5rem, 5vw, 4.5rem)); column-gap: clamp(2rem, 4vw, 4rem); }
.contact-title {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 1.5rem;
}
.contact-kicker { color: var(--c-green); font-size: 0.5em; letter-spacing: -0.03em; margin-top: 0.5em; }
.contact-intro p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

.sidebar-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.page-tint .sidebar-card:not(.sidebar-card--blue) { background: #fff; }
.sidebar-card h3 { font-size: 1.375rem; }
.sidebar-item svg {
  width: 40px; height: 40px;
  padding: 10px;
  margin-top: 0;
  border-radius: 50%;
  background: var(--c-mint);
  color: var(--c-deep);
}
.sidebar-item { align-items: center; }
.sidebar-item strong { font-size: 1rem; }
.sidebar-card--blue { background: var(--c-deep); }
.sidebar-card--blue h3 { color: #fff; }
.sidebar-card--blue p { color: rgba(255,255,255,0.8) !important; } /* overrides the inline muted colour */
.sidebar-card--blue .btn-blue { align-self: flex-start; background: var(--c-accent); border-color: var(--c-accent); color: var(--c-deep); }
.sidebar-card--blue .btn-blue:hover { background: #fff; border-color: #fff; }

.demo-args { gap: 1rem; }
.demo-args li { background: #fff; border-radius: var(--radius-lg); padding: 1.25rem; align-items: center; }
.demo-args-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-deep); color: var(--c-accent); }
.demo-args strong { font-size: 1.125rem; }
.demo-particulier a { color: var(--c-green); }

/* ---------- Formulaires (HTML + Contact Form 7) ---------- */
.form-panel {
  border: 0;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  box-shadow: 0 24px 64px rgba(16,60,50,0.08);
}
.form-grid { gap: 1.1rem 1.25rem; }
.field-block { margin-bottom: 1.5rem; }
.field label { font-family: var(--font-body); font-size: 0.875rem; color: var(--c-charcoal); }
.field input,
.field select,
.field textarea {
  font-size: 1rem;
  background: var(--c-mint-pale);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--c-mint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--c-green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(8,127,91,0.14);
}
.field-radio span,
.form-panel .wpcf7-list-item-label {
  padding: 0.7rem 1.15rem;
  border-color: var(--color-border);
  background: #fff;
  font-weight: 600;
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 260ms var(--ease-spring);
}
.field-radio:hover span,
.form-panel .wpcf7-list-item label:hover .wpcf7-list-item-label { border-color: var(--c-green); }
.field-radio input:checked + span,
.form-panel .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  background: var(--c-deep);
  border-color: var(--c-deep);
  color: #fff;
  transform: scale(1.03);
}
.form-actions { margin-top: 1.5rem; }
.form-panel .wpcf7-submit {
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 1.05rem 1.9rem;
  background: var(--c-green);
  box-shadow: 0 6px 18px rgba(8,127,91,0.28);
  transition: transform 260ms var(--ease-spring), background-color 200ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.form-panel .wpcf7-submit:hover { background: var(--c-green-hover); transform: translateY(-2px); }
.form-success { background: var(--c-mint-pale); border-color: var(--c-mint); color: var(--c-deep); border-radius: var(--radius-lg); }

/* ---------- Pages légales ---------- */
.legal-page { padding-top: calc(var(--header-h, 91px) + clamp(2.5rem, 5vw, 4.5rem)); }
.legal-page .contact-title { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
.legal-body h2 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.03em; }
.legal-body h3 { font-size: 1.15rem; }
.legal-body a { color: var(--c-green); }

/* ---------- Responsive (pages intérieures) ---------- */
@media (max-width: 1060px) {
  .solution-hero-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .env-row-photo { min-height: 240px; }
  .eco-grid { gap: 0.75rem; }
}
@media (max-width: 700px) {
  .model-grid { grid-template-columns: 1fr; }
  .model-item { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .page-header-photo { min-height: 68vh; }
  .solution-hero .hero-cta .btn,
  .form-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ==========================================================================
   Réalisations — galerie façon portfolio d'architecture
   Fond blanc cassé, grandes photos arrondies, rythme asymétrique
   (grande / plus étroite et plus basse), la suivante dépasse à droite.
   ========================================================================== */
.projects {
  --projects-bg: #FBFAF5;
  --card-h: clamp(420px, 44vw, 620px);
  background: var(--projects-bg);
  padding-block: clamp(5rem, 9vw, 8.5rem);
  overflow: hidden;
}
.projects-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.eyebrow--caps { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.projects-head h2 { max-width: 18ch; margin: 0; }
.projects-head-side p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 40ch; margin-bottom: 1.75rem; }
.projects-nav { display: flex; gap: 0.6rem; }
.projects-btn {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #CFEBDD;
  color: var(--c-deep);
  transition: background-color 300ms var(--ease-out), border-color 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.projects-btn svg { transition: transform 400ms var(--ease-out); }
.projects-btn:hover:not(:disabled) { background: var(--c-mint); border-color: var(--c-mint); }
.projects-btn[data-dir="1"]:hover:not(:disabled) svg { transform: translateX(3px); }
.projects-btn[data-dir="-1"]:hover:not(:disabled) svg { transform: translateX(-3px); }
.projects-btn:disabled { opacity: 0.35; cursor: default; }

/* Track: starts aligned with the container, bleeds off the right edge */
.projects-track {
  --track-start: max(var(--container-pad), calc((100% - var(--container-max)) / 2 + var(--container-pad)));
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--track-start);
  padding-inline: var(--track-start);
  scrollbar-width: none;
  cursor: grab;
}
.projects-track::-webkit-scrollbar { display: none; }
.projects-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.projects-track.is-dragging .project-card { pointer-events: none; }
.projects-track { -webkit-user-select: none; user-select: none; }
.projects-track img { -webkit-user-drag: none; user-drag: none; }
.projects-track:focus-visible { outline: 2px solid var(--c-green); outline-offset: 6px; border-radius: 8px; }

.project-card {
  position: relative;
  flex: 0 0 min(52vw, 720px);
  height: var(--card-h);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  background: var(--c-mint-pale);
}
/* asymmetric rhythm: every 2nd card (.is-narrow) is narrower and a little lower */
.project-card.is-narrow {
  flex-basis: min(32vw, 440px);
  height: calc(var(--card-h) * 0.82);
  margin-top: calc(var(--card-h) * 0.18);
}
.project-media,
.project-media picture { position: absolute; inset: 0; display: block; }
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
/* legibility gradient + green veil on hover */
.project-card::before,
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.project-card::before { background: linear-gradient(0deg, rgba(16,60,50,0.78) 0%, rgba(16,60,50,0.35) 28%, rgba(16,60,50,0) 52%); }
.project-card::after { background: rgba(8,127,91,0.16); opacity: 0; transition: opacity 600ms var(--ease-out); }

.project-info {
  position: absolute;
  z-index: 2;
  left: clamp(1.25rem, 2.2vw, 2rem);
  right: clamp(1.25rem, 2.2vw, 2rem);
  bottom: clamp(1.25rem, 2.2vw, 2rem);
  color: #fff;
  transition: transform 600ms var(--ease-out);
}
.project-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem 0.38rem 0.6rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--c-mint);
  color: var(--c-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.project-type svg { flex-shrink: 0; }
/* one colour + icon per kind of site: street laundromat vs. residence */
.project-type--rue { background: var(--c-lemon); }
.project-type--residence { background: var(--c-mint); }
.project-name {
  color: #fff;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.08;
  margin: 0 0 0.45rem;
  max-width: 22ch;
}
.project-city {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 0.9375rem;
  font-weight: 500;
}
.project-desc {
  margin: 0.6rem 0 0;
  max-width: 46ch;
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  line-height: 1.5;
}
@media (hover: hover) {
  .project-card:hover .project-media img { transform: scale(1.03); }
  .project-card:hover::after { opacity: 1; }
  .project-card:hover .project-info { transform: translateY(-6px); }
}

/* Tablet */
@media (max-width: 1024px) {
  .projects { --card-h: clamp(380px, 56vw, 540px); }
  .project-card { flex-basis: 60vw; }
  .project-card.is-narrow { flex-basis: 40vw; }
}
/* Mobile: one large photo at a time, the next one peeks in; swipe to browse */
@media (max-width: 700px) {
  .projects { --card-h: clamp(400px, 112vw, 540px); }
  .projects-head { grid-template-columns: 1fr; align-items: start; }
  .projects-head-side p { margin-bottom: 0; }
  .projects-nav { display: none; }
  .projects-track { gap: 0.75rem; cursor: auto; }
  .project-card,
  .project-card.is-narrow { flex-basis: 84vw; height: var(--card-h); margin-top: 0; }
  .project-name { font-size: 1.5rem; }
}

/* ==========================================================================
   Menu mobile : bouton « Demander une démo » + choix de la langue en bas
   du panneau (ils quittent l'en-tête sur petit écran)
   ========================================================================== */
.mobile-menu-extras { display: none; }
@media (max-width: 860px) {
  .header-actions > .btn { display: none; }
  .main-nav.is-open { overflow-y: auto; padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); }
  .main-nav.is-open .mobile-menu-extras {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border);
  }
  .main-nav.is-open .mobile-menu-extras .mobile-menu-demo {
    justify-content: center;
    width: 100%;
    font-size: 1.0625rem;
    padding: 1.05rem 1.5rem;
    color: #fff;
  }
  .main-nav.is-open .mobile-menu-extras .mobile-menu-demo::after { display: none; }
  .mobile-lang { display: flex; flex-direction: column; gap: 0.6rem; }
  .mobile-lang-label { font-size: 0.8125rem; font-weight: 600; color: var(--c-muted); }
  .mobile-lang-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
  .main-nav.is-open .mobile-lang-option,
  .mobile-lang-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1.5px solid var(--color-border);
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--c-deep);
  }
  .main-nav.is-open .mobile-lang-option::after { display: none; }
  .mobile-lang-option .lang-flag { width: 20px; height: 15px; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
  .mobile-lang-option.is-active { background: var(--c-mint-pale); border-color: var(--c-green); }
  .mobile-lang-option.is-disabled { opacity: 0.55; cursor: not-allowed; }
  .mobile-lang-option small { font-size: 0.75rem; font-weight: 500; color: var(--c-muted); }
}

/* ==========================================================================
   Éco-responsabilité : icônes animées (goutte, éclair, Ecocert)
   Lancées quand la grille entre à l'écran (.is-inview, ajouté en JS), en
   boucle avec de longues pauses. Coupées par prefers-reduced-motion
   (règle globale de base.css).
   ========================================================================== */
.eco-icon { position: relative; overflow: visible; }
.eco-icon svg { overflow: visible; }
.eco-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

/* 1 — Moins d'eau : la goutte tombe, s'écrase un peu, une onde s'étend */
.eco-grid.is-inview .eco-item:nth-child(1) .eco-icon svg {
  transform-origin: 50% 90%;
  animation: wng-drop 3.6s cubic-bezier(0.45, 0, 0.3, 1) 0.2s infinite;
}
.eco-grid.is-inview .eco-item:nth-child(1) .eco-icon::after {
  border: 2px solid var(--c-accent);
  animation: wng-ripple 3.6s ease-out 0.2s infinite;
}
@keyframes wng-drop {
  0%   { transform: translateY(-12px) scale(0.85, 1.1); opacity: 0; }
  16%  { transform: translateY(0) scale(1, 1); opacity: 1; }
  24%  { transform: translateY(0) scale(1.12, 0.86); }
  32%  { transform: translateY(0) scale(0.96, 1.04); }
  40%, 100% { transform: none; opacity: 1; }
}
@keyframes wng-ripple {
  0%, 22% { transform: scale(1); opacity: 0; }
  24%     { transform: scale(1); opacity: 0.7; }
  60%     { transform: scale(1.75); opacity: 0; }
  100%    { transform: scale(1.75); opacity: 0; }
}

/* 2 — Moins d'énergie : l'éclair crépite, un halo lumineux s'échappe */
.eco-grid.is-inview .eco-item:nth-child(2) .eco-icon svg {
  animation: wng-spark 4.2s linear 0.6s infinite;
}
.eco-grid.is-inview .eco-item:nth-child(2) .eco-icon::after {
  box-shadow: 0 0 0 0 rgba(231, 245, 123, 0.75);
  animation: wng-glow 4.2s ease-out 0.6s infinite;
}
@keyframes wng-spark {
  0%   { opacity: 1; transform: scale(1); }
  3%   { opacity: 0.25; transform: scale(1.18) rotate(-6deg); }
  6%   { opacity: 1; transform: scale(1.12) rotate(4deg); }
  9%   { opacity: 0.4; }
  12%  { opacity: 1; transform: scale(1.06) rotate(0); }
  22%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes wng-glow {
  0%, 2% { opacity: 1; box-shadow: 0 0 0 0 rgba(231, 245, 123, 0.75); }
  30%    { opacity: 1; box-shadow: 0 0 0 16px rgba(231, 245, 123, 0); }
  100%   { opacity: 0; box-shadow: 0 0 0 16px rgba(231, 245, 123, 0); }
}

/* 3 — Produits Ecocert : le cercle puis la coche se dessinent (tampon) */
.eco-grid.is-inview .eco-item:nth-child(3) .eco-icon circle {
  stroke-dasharray: 57;
  transform: rotate(-90deg);
  transform-origin: 12px 12px;
  animation: wng-stamp-circle 5s cubic-bezier(0.65, 0, 0.35, 1) 1s infinite both;
}
.eco-grid.is-inview .eco-item:nth-child(3) .eco-icon path {
  stroke-dasharray: 10;
  animation: wng-stamp-check 5s cubic-bezier(0.65, 0, 0.35, 1) 1s infinite both;
}
.eco-grid.is-inview .eco-item:nth-child(3) .eco-icon {
  animation: wng-stamp-pop 5s ease-out 1s infinite;
}
.eco-grid.is-inview .eco-item:nth-child(3) .eco-icon::after {
  border: 2px solid var(--c-accent);
  animation: wng-stamp-ring 5s ease-out 1s infinite;
}
@keyframes wng-stamp-ring {
  0%, 30% { transform: scale(1); opacity: 0; }
  33%     { transform: scale(1); opacity: 0.75; }
  70%     { transform: scale(1.75); opacity: 0; }
  100%    { transform: scale(1.75); opacity: 0; }
}
@keyframes wng-stamp-circle {
  0%       { stroke-dashoffset: 57; }
  22%, 88% { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: -57; }
}
@keyframes wng-stamp-check {
  0%, 20%  { stroke-dashoffset: 10; }
  32%, 88% { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: 10; }
}
@keyframes wng-stamp-pop {
  0%, 30%  { transform: scale(1); }
  36%      { transform: scale(1.12); }
  44%, 100% { transform: scale(1); }
}
