.nev-foot {
  color: #f7f5ea;
  background: #19372b;
  font: 500 .9rem/1.5 "Montserrat", Arial, sans-serif;
  text-align: left;
}

.nev-foot-inner {
  width: min(76rem, calc(100% - clamp(1.25rem, 5.35vw, 6rem) * 2));
  margin: 0 auto;
}

.nev-foot-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.15fr) minmax(10rem, 1fr) minmax(13rem, .9fr);
  gap: clamp(1.8rem, 5vw, 6.5rem);
  padding-block: clamp(2.6rem, 4.8vw, 4.6rem) clamp(2rem, 3.8vw, 3.5rem);
}

.nev-foot a,
.nev-foot button {
  color: inherit;
  text-decoration: none;
  text-underline-offset: .26em;
}

.nev-foot :is(a, button):is(:hover, :focus-visible),
.nev-foot a[aria-current="page"]:not(.nev-foot-brand) {
  color: #f4d399;
  text-decoration: underline;
}

.nev-foot :is(a, button):focus-visible {
  outline: 2px solid #f4d399;
  outline-offset: 4px;
}

.nev-foot .nev-foot-brand {
  position: relative;
  display: block;
  width: min(100%, 16rem);
  aspect-ratio: 3.7;
  overflow: hidden;
  border-radius: .2rem;
}

/* Le fichier carré a des marges transparentes ; l’en-tête utilise le même cadrage. */
.nev-foot-brand img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(-46.64%);
  filter: brightness(0) invert(1);
}

.nev-foot-qualifications {
  max-width: 23rem;
  margin: 1.05rem 0 0;
  padding-left: .85rem;
  border-left: 2px solid #a68e64;
  font-size: .85rem;
  line-height: 1.45;
}

.nev-foot-qualifications h2 {
  margin: 0 0 .45rem;
  color: #e2c99e;
  font: 650 .85rem/1.45 "Montserrat", Arial, sans-serif;
}
.nev-foot-qualifications dl { margin: 0; }
.nev-foot-qualifications div + div { margin-top: .55rem; }
.nev-foot-qualifications dt { color: #fff; font-weight: 650; }
.nev-foot-qualifications dd { margin: .06rem 0 0; color: #d3ded5; overflow-wrap: anywhere; }

.nev-foot-badges {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  max-width: 100%;
  margin-top: 1.6rem;
  padding: .55rem .85rem;
  border-radius: .35rem;
  background: white;
}

.nev-foot-badges img {
  display: block;
  height: auto;
  object-fit: contain;
}

.nev-foot-badges .nev-foot-unep { width: 8.2rem; }
.nev-foot-badges .nev-foot-certiphyto { width: 7rem; }

.nev-foot .nev-foot-heading {
  margin: 0 0 .9rem;
  color: #e2c99e;
  font: 650 .71rem/1.4 "Montserrat", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.nev-foot-navigation ul,
.nev-foot-contact p,
.nev-foot-legal p {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nev-foot-navigation li + li { margin-top: .13rem; }
.nev-foot-navigation a,
.nev-foot address a,
.nev-foot-policies > * { display: inline-block; padding-block: .16rem; }
.nev-foot address { display: grid; justify-items: start; font-style: normal; gap: .07rem; }
.nev-foot address span { display: block; margin-top: .4rem; color: #cfdbd0; }
.nev-foot .nev-foot-phone { font-size: 1.05rem; font-weight: 650; letter-spacing: .015em; }
.nev-foot .nev-foot-inquiry { margin-top: .65rem; }
.nev-foot-inquiry a { text-decoration: underline; text-decoration-color: #b7c8b7; }

.nev-foot-legal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .7rem 1.3rem;
  padding-block: 1.05rem 1.35rem;
  border-top: 1px solid #456152;
  color: #d3ded5;
  font-size: .75rem;
}

.nev-foot-legal p span { display: inline-block; margin-left: .85rem; }
.nev-foot-policies { display: flex; flex-wrap: wrap; gap: .3rem 1.15rem; }
.nev-foot-policies button { font: inherit; background: none; border: 0; cursor: pointer; }

@media (max-width: 50rem) {
  .nev-foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.1rem;
    padding-block: 2.2rem 1.55rem;
  }
  .nev-foot-identity {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: .75rem 1.5rem;
    align-items: start;
  }
  .nev-foot .nev-foot-brand { grid-row: 1 / span 2; align-self: start; width: min(100%, 14.5rem); }
  .nev-foot-badges, .nev-foot-qualifications { grid-column: 2; margin: 0; }
  .nev-foot-legal { flex-wrap: wrap; }
}

@media (max-width: 32rem) {
  .nev-foot-inner { width: calc(100% - 2.5rem); }
  .nev-foot-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .nev-foot { font-size: .82rem; }
  .nev-foot-identity { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
  .nev-foot .nev-foot-brand { width: min(100%, 13.6rem); }
  .nev-foot-qualifications { max-width: 100%; }
  .nev-foot-badges { gap: .7rem; padding: .38rem .7rem; }
  .nev-foot-badges .nev-foot-unep { width: 8.2rem; }
  .nev-foot-badges .nev-foot-certiphyto { width: 7rem; }
  .nev-foot .nev-foot-heading { margin-bottom: .6rem; font-size: .64rem; }
  .nev-foot-contact a[href^="mailto"] { overflow-wrap: anywhere; }
  .nev-foot-navigation a,
  .nev-foot-policies > * { min-height: 1.55rem; }
  .nev-foot-legal { font-size: .73rem; }
  .nev-foot-legal p span { display: block; margin-left: 0; }
}
