/* ==========================================================================
   Page Espaces verts — identité "nature"
   ========================================================================== */
body[data-theme="espaces-verts"] {
  --primary: #2f5233;
  --primary-dark: #1c3520;
  --primary-light: #6b8f4e;
  --bg: #f6f3ea;
  --surface: #fffdf8;
  --border: #e2dcc7;
  --radius-md: 20px;
  --radius-lg: 32px;
}
body[data-theme="espaces-verts"] .site-header {
  background: rgba(246, 243, 234, 0.9);
}

/* Hero */
.hero-ev {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(107,143,78,0.18) 0%, transparent 60%),
    linear-gradient(180deg, #f6f3ea 0%, #eee7d4 100%);
  padding: 4rem 0 5rem;
}
.hero-ev .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .hero-ev .container { grid-template-columns: 1fr; } }
.hero-ev h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.hero-ev .lead { color: var(--text-muted); font-size: 1.08rem; max-width: 520px; margin-bottom: 2rem; }
.hero-ev .leaf-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.hero-ev .leaf-decor.l1 { top: -40px; left: -40px; width: 220px; color: var(--primary-light); }
.hero-ev .leaf-decor.l2 { bottom: -60px; right: 12%; width: 160px; color: var(--primary); opacity: 0.25; }

.hero-ev-art { position: relative; }
.hero-ev-art img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover; object-position: center 12%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Galerie de réalisations */
.ev-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 960px) { .ev-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .ev-gallery { gap: 0.8rem; } }
.ev-shot { margin: 0; }
.ev-shot .zoomable {
  display: block; width: 100%;
  padding: 0; border: 0; margin: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}
.ev-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ev-shot .zoomable:hover img, .ev-shot .zoomable:focus-visible img { transform: scale(1.04); }
.ev-shot .zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ev-shot figcaption { padding: 0.9rem 0.3rem 0; }
.ev-shot figcaption strong { display: block; font-family: var(--font-heading); color: var(--primary); }
.ev-shot figcaption span { display: block; font-size: 0.86rem; color: var(--text-muted); }

/* Séparateur organique (vague) entre sections */
.organic-divider { display: block; width: 100%; height: 72px; }
.organic-divider path { fill: var(--surface); }

/* Bandeau de statistiques / atouts */
.ev-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: -2.2rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 860px) { .ev-stats { grid-template-columns: repeat(2, 1fr); } }
.ev-stats .stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.ev-stats .stat strong { display: block; font-family: var(--font-heading); font-size: 1.7rem; color: var(--primary); }
.ev-stats .stat span { font-size: 0.85rem; color: var(--text-muted); }

/* Cartes de prestations avec forme organique */
.service-card.ev-card {
  border-radius: var(--radius-md);
  position: relative;
}
.service-card.ev-card .icon-wrap {
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
}

/* Bandeau "notre méthode" en zigzag */
.method-list { display: grid; gap: 1.4rem; }
.method-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.2rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
}
.method-step .num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Zone de fond feuillage décoratif pour section CTA */
.ev-cta {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3.4rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.ev-cta::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.ev-cta .cta-leaf { position: absolute; right: -30px; bottom: -30px; width: 220px; opacity: 0.18; }
.ev-cta h2 { color: #fff; }
.ev-cta p { color: rgba(255,255,255,0.82); }

.tag-organic {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
}
