/* Footer */
.footer {
  width: 100%;
  background-color: var(--color-neutral-100);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
  border-top: 16px solid var(--color-yellow-600);
}

/* Decorative quote mark */
.footer__quote-decoration {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  font-family: var(--font-family-script);
  font-size: 30vw;
  color: var(--color-neutral-1200);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  opacity: 0.05;
}

/* Main content */
.footer__container {
  max-width: 1504px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  margin-bottom: 5rem;
}

/* CTA Title block */
.footer__cta {
  text-align: center;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer__cta-line {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-black);
  font-size: clamp(2.5rem, 12vw, 4rem);
  line-height: 0.85;
  color: var(--color-neutral-1200);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  z-index: 20;
}

@media (min-width: 768px) {
  .footer__cta-line {
    font-size: clamp(3.5rem, 8vw, 7rem);
  }
}

/* "o próximo" script wrapper — overlaps between lines */
.footer__cta-script-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 1rem 0;
}

.footer__cta-script {
  font-family: var(--font-family-script);
  font-size: clamp(3rem, 15vw, 5rem);
  line-height: 1;
  color: var(--color-accent-yellow);
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(-3deg);
  z-index: 30;
  white-space: nowrap;
  filter: drop-shadow(4px 4px 0px var(--color-neutral-100));
}

@media (min-width: 768px) {
  .footer__cta-script {
    font-size: clamp(4.5rem, 10vw, 9rem);
  }
}

/* Actions row */
.footer__actions {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 56rem;
}

/* Button matching header cta */
.footer__btn {
  padding: 0.6rem 1rem;
  font-size: var(--font-size-large);
  box-shadow: 0 0 0 0;
  border: 3px solid var(--color-neutral-200);
}

.footer__btn--icon {
  padding: 0;
  width: 44px;
  height: 44px;
  justify-content: center;
}

.footer__cta-highlight {
  font-size: var(--font-size-large);
  padding: 0.85rem 1.75rem;
}

/* Bottom bar */
.footer__bottom {
  width: 100%;
  padding: 1.5rem 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 30;
}

.footer__text {
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-bold);
  color: rgba(245, 248, 250, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.footer__mocs {
  color: inherit;
  text-decoration: none;
  padding: 0.1rem 0.25rem;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}


.footer__mocs:hover {
  color: var(--color-neutral-100);
  background-color: var(--color-yellow-600);
  box-shadow: 4px 4px 0px 0px var(--color-neutral-300);
}


/* ── Responsive ── */
@media (max-width: 768px) {
  .footer {
    padding-top: 4rem;
  }

  .footer__container {
    margin-bottom: 3rem;
    padding: 0 1rem;
  }

  .footer__actions {
    margin-top: 4rem;
    gap: 1.5rem;
  }

  .footer__cta-highlight {
    font-size: var(--font-size-small);
    padding: 0 1rem;
    min-height: 44px;
    height: 44px;
    max-height: 44px;
    box-sizing: border-box;
    line-height: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 3rem;
    border-top-width: 10px;
  }

  .footer__container {
    margin-bottom: 2rem;
  }

  .footer__actions {
    margin-top: 3rem;
  }

  .footer__socials {
    display: flex;
    gap: 0.75rem;
  }

  .footer__text {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0 1rem;
  }
}