footer.footer-bento {
  --footer-fade-overlap: clamp(36px, 5vw, 76px);
  position: relative;
  isolation: isolate;
  padding: clamp(16px, 3.5vw, 52px) clamp(12px, 3.5vw, 52px) 0;
  background: transparent;
  color: #102838;
}

.footer-bento::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--footer-fade-overlap)) 0 0;
  background: #dceaf5 url('/vitrine/product-assets/bento-grain.png');
  mask-image: linear-gradient(
    to bottom,
    transparent,
    rgb(0 0 0 / 24%) var(--footer-fade-overlap),
    #000 calc(var(--footer-fade-overlap) + clamp(54px, 8vw, 120px))
  );
  pointer-events: none;
}

.footer-bento-panel {
  --footer-inset: clamp(16px, 4vw, 64px);
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--footer-inset);
  --footer-radius: clamp(20px, 3vw, 44px);
  border-radius: var(--footer-radius) var(--footer-radius) 0 0;
  background: #f7fbfe;
}

.footer-bento-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 24px clamp(16px, 3vw, 48px);
  padding-block: clamp(24px, 4vw, 56px);
}

.footer-bento-links > div {
  display: grid;
  align-content: start;
  justify-items: start;
  min-width: 0;
}

.footer-bento-links b {
  margin-bottom: 8px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-bento-links a {
  display: block;
  padding-block: 7px;
  color: #365264;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-bento-links a:hover {
  color: #00639d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bento-links .footer-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bento a:focus-visible {
  outline: 2px solid #00639d;
  outline-offset: 3px;
}

.footer-bento-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-block: clamp(16px, 2.5vw, 36px);
  border-top: 1px solid #cedde7;
  color: #365264;
  font-size: .875rem;
}

.footer-bento-bottom img {
  display: block;
  width: clamp(112px, 13vw, 152px);
  height: auto;
}

.footer-bento-bottom:has(.footer-bento-tagline) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.footer-bento-bottom > a { justify-self: start; }
.footer-bento-bottom > span { justify-self: end; }

.footer-bento-tagline {
  grid-area: 1 / 2;
  margin: 0;
  color: #102838;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 600px) {
  .footer-bento-bottom:has(.footer-bento-tagline) {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-bento-tagline { grid-area: 2 / 1 / auto / -1; }
}

@media (max-width: 1000px) {
  .footer-bento-links:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .footer-bento-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
