/* ============================================================
   TÉTHYS — footer.css
   Estilos do rodapé — partilhado por todas as páginas
   ============================================================ */

.footer {
  background: #6f3a42;
  padding-top: clamp(3rem, 5.5vw, 5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-inner {
  width: min(1200px, 100% - clamp(2.5rem, 8vw, 6rem));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(250,242,225,0.16);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 0.3rem;
}

.footer-logo {
  width: 340px;
  max-width: 100%;
  height: auto;
}

.footer-col-title {
  font-family: var(--font-b);
  font-size: clamp(0.68rem, 0.75vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.78);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: clamp(0.82rem, 0.92vw, 0.92rem);
  font-weight: 400;
  color: rgba(250,242,225,0.86);
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copy {
  font-size: clamp(0.68rem, 0.75vw, 0.75rem);
  color: rgba(250,242,225,0.7);
  letter-spacing: 0.03em;
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}
.footer-social a {
  font-size: clamp(0.68rem, 0.75vw, 0.75rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,242,225,0.72);
  transition: color 0.18s ease;
}
.footer-social a:hover { color: var(--cream); }

/* ── ABOUT FOOTER ──────────────────────────────────────────── */
.about-footer {
  padding-top: clamp(2.4rem, 4.2vw, 3.8rem);
}

.about-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  box-sizing: border-box;
}

.about-footer-logo {
  margin-bottom: 0;
}

.about-footer-logo img {
  width: 100%;
  max-width: 220px;
}

.about-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}

.about-contact-links a {
  display: inline-flex;
  background: transparent;
  color: rgba(250,242,225,0.86);
  font-size: clamp(0.82rem, 0.92vw, 0.92rem);
  font-weight: 400;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.55rem;
  border: 1px solid rgba(250,242,225,0.3);
  border-radius: 6px;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.about-contact-links a:hover {
  border-color: rgba(250,242,225,0.65);
  color: var(--cream);
}


.about-footer-copy {
  color: rgba(250,242,225,0.7);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* ── RESPONSIVIDADE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .about-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-footer-message {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-footer-message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
  .about-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.2rem;
    row-gap: 1.6rem;
  }
  .about-footer-logo {
    grid-column: 1 / -1;
    order: -3;
    display: flex;
    justify-content: center;
  }
  .about-footer-logo img {
    max-width: 230px;
  }
  .about-footer-message {
    grid-column: 1 / -1;
    order: -2;
  }
  .about-footer-grid > .footer-col:nth-child(2),
  .about-footer-grid > .footer-col:nth-child(3),
  .about-footer-grid > .footer-col:nth-child(4) {
    order: -1;
  }
  .about-footer-grid > .footer-col:nth-child(5) {
    grid-column: 1 / -1;
  }
  .about-contact-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .about-contact-links a {
    width: 100%;
    min-width: 0;
    justify-content: center;
    margin-bottom: 0;
    padding: 0.55rem clamp(0.45rem, 2vw, 0.75rem);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 2rem;
  }
  .about-footer-inner {
    padding: 0 1rem;
  }
  .about-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.55rem;
    row-gap: 1.4rem;
  }
  .about-footer-grid > .footer-col:nth-child(2),
  .about-footer-grid > .footer-col:nth-child(3),
  .about-footer-grid > .footer-col:nth-child(4) {
    grid-column: auto;
  }
  .about-footer-logo img {
    max-width: 210px;
  }
  .about-footer-message {
    grid-column: 1 / -1;
    order: -2;
  }
  .footer-col-title {
    font-size: 0.58rem;
    letter-spacing: 0.11em;
    margin-bottom: 0.6rem;
  }
  .footer-links {
    gap: 0.35rem;
  }
  .footer-links a {
    font-size: 0.68rem;
    line-height: 1.35;
  }
  .about-contact-links {
    gap: 0.5rem;
  }
  .about-contact-links a {
    font-size: 0.68rem;
    font-weight: 400;
    padding-left: clamp(0.35rem, 2vw, 0.55rem);
    padding-right: clamp(0.35rem, 2vw, 0.55rem);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .footer-grid { grid-template-columns: 1fr; }
  .about-footer-grid { grid-template-columns: 1fr; }
}
