/* ============================================================
   ECO NOTICE · public-interest banner ("keep nature clean")
   Forest line-art background (assets/img/banner.webp) with a
   left-side dark wash so the copy stays legible while the pines
   breathe on the right. Palette unchanged (essex / chantilly /
   taupe). Used on the "Discover the commune" page.
   ============================================================ */

.eco-notice {
  padding: 32px 0;
}

.eco-notice-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 50px 56px;
  border: 1px solid rgba(168, 149, 127, 0.28);
  border-left: 4px solid #a8957f;
  box-shadow: 0 14px 38px rgba(22, 32, 27, 0.22);

  /* forest banner · dark wash heaviest on the left (where the text is),
     fading right so the pine illustration shows through */
  background-color: var(--essex-deep, #16201B);
  /* 11 KB WebP forest · background-color essex shows on the rare
     browser without WebP support (graceful · matches the old flat look) */
  background-image:
    linear-gradient(90deg,
      rgba(22, 32, 27, 0.94) 0%,
      rgba(22, 32, 27, 0.80) 40%,
      rgba(22, 32, 27, 0.34) 70%,
      rgba(22, 32, 27, 0.08) 100%),
    url('../assets/img/banner.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.eco-notice-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(247, 246, 241, 0.05);
  border: 2px solid rgba(168, 149, 127, 0.5);
}

.eco-notice-icon svg {
  width: 52px;
  height: 52px;
  stroke: #cdbfa9;
  fill: none;
}

.eco-notice-body {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 640px; /* keep the copy on the left, clear of the pines */
}

.eco-eyebrow {
  margin: 0 0 13px;
  font-size: 0.74rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: #a8957f;
}

.eco-title {
  margin: 0 0 17px;
  font-size: 1.9rem;
  line-height: 1.22;
  letter-spacing: 0.2px;
  color: var(--chantilly-pure, #F7F6F1);
}

.eco-text {
  margin: 0 0 13px;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(247, 246, 241, 0.87);
}

.eco-kicker {
  margin: 20px 0 0;
  font-size: 1.06rem;
  line-height: 1.55;
  font-style: italic;
  color: #cdbfa9;
}

@media (max-width: 980px) {
  .eco-notice-inner { padding: 40px 40px; gap: 30px; }
  .eco-notice-body { max-width: none; }
}

@media (max-width: 680px) {
  .eco-notice-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 24px;
    /* on narrow screens wash the whole image so text stays crisp */
    background-image:
      linear-gradient(180deg, rgba(22, 32, 27, 0.92), rgba(22, 32, 27, 0.86)),
      url('../assets/img/banner.webp');
  }
  .eco-notice-icon { width: 78px; height: 78px; }
  .eco-notice-icon svg { width: 42px; height: 42px; }
  .eco-title { font-size: 1.45rem; }
}
