/* Web Component <wc-footer> — rodape 99 Food */

.food99-footer {
  position: relative;
  margin-top: auto;
  color: rgba(0, 0, 0, 0.62);
  background: var(--color-brand-yellow, #ffd500);
}

.food99-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(880px, calc(100% - 4.8rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.16) 20%,
    rgba(0, 0, 0, 0.16) 80%,
    transparent 100%
  );
}

.food99-footer::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 4rem;
  height: 5px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #000000;
}

.food99-footer__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3.2rem, 3.6vw, 4rem) var(--space-5, 2.4rem) clamp(2.4rem, 3vw, 3.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}

/* —— Texto legal —— */
.food99-footer__legal {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.62);
}

.food99-footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.3);
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.food99-footer__legal a:hover,
.food99-footer__legal a:focus-visible {
  color: #000000;
  text-decoration-color: currentColor;
}

/* —— Links discretos —— */
.food99-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0;
}

.food99-footer__links a,
.food99-footer__links .food99-footer__link-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.food99-footer__links > * + *::before {
  content: "·";
  display: inline-block;
  margin: 0 0.9rem;
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.food99-footer__links .food99-footer__link-btn {
  appearance: none;
  border: 0;
  background: none;
  cursor: pointer;
}

.food99-footer__links a:hover,
.food99-footer__links a:focus-visible,
.food99-footer__links .food99-footer__link-btn:hover,
.food99-footer__links .food99-footer__link-btn:focus-visible {
  color: #000000;
}

/* —— Redes sociais (final do footer) —— */
.food99-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.4rem;
}

.food99-footer__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: none;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.food99-footer__icon i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.food99-footer__icon:hover,
.food99-footer__icon:focus-visible {
  color: #ffffff;
  background: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.22);
}

.food99-footer__icon:hover i,
.food99-footer__icon:focus-visible i {
  transform: scale(1.15) rotate(-8deg);
}

.food99-footer__icon:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .food99-footer__icon,
  .food99-footer__icon i {
    transition: none;
  }

  .food99-footer__icon:hover,
  .food99-footer__icon:focus-visible,
  .food99-footer__icon:hover i,
  .food99-footer__icon:focus-visible i {
    transform: none;
  }
}

@media (max-width: 639px) {
  .food99-footer__legal {
    font-size: 1.1rem;
  }
}
