/* ===========================
   Auren Footer — Preto & Dourado
   =========================== */

/* Paleta */
:root{
  --gold-1: #eac76a;
  --gold-2: #ffd978;
  --gold-3: #caa84e;

  --text-1: #cccccc; /* textos/ícones */
  --text-2: #a9b5c3;

  --line: rgba(234,199,106,.22);
}

/* ===== Base ===== */
.main-footer.gold{
  position: relative;
  background: #000;                  /* preto puro */
  border-top: 1px solid var(--line);
  padding: 48px 0 34px;
  color: var(--text-1);
  isolation: isolate;
}

.main-footer.gold .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* linha superior sutil */
.main-footer.gold::before{
  content:"";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg, transparent, var(--gold-1) 15%, var(--gold-2) 50%, var(--gold-1) 85%, transparent
  );
  opacity: .18;
  pointer-events: none;
}

/* ===== Redes sociais ===== */
.footer-social{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 14px;
}

.footer-social a{
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--text-1);               /* <- ícones/textos #CCC */
  background: #000;                   /* <- blocos pretos */
  border: 1px solid rgba(234,199,106,.22);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 4px 16px rgba(0,0,0,.35);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
  outline: none;
}

.footer-social a:hover{
  color: var(--gold-2);
  border-color: var(--gold-2);
  box-shadow: 0 6px 24px rgba(234,199,106,.22), inset 0 0 16px rgba(234,199,106,.10);
  transform: translateY(-2px);
}

.footer-social a:focus-visible{
  box-shadow: 0 0 0 3px rgba(234,199,106,.24), 0 6px 24px rgba(234,199,106,.22);
}

/* garante que ícones usem a cor atual */
.footer-social a svg{ fill: currentColor !important; }
.footer-social a i  { color: inherit !important; }

/* ===== Quicklinks (menu curto) ===== */
.footer-quicklinks{ margin: 2px 0 6px; }
.footer-quicklinks ul{
  list-style: none;
  padding: 0; margin: 0;
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
}
.footer-quicklinks a{
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  color: var(--text-1);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  transition: color .18s ease, transform .18s ease;
  outline: none;
}
.footer-quicklinks a::after{
  content:"";
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.footer-quicklinks a:hover{ color: var(--gold-2); transform: translateY(-1px); }
.footer-quicklinks a:hover::after{ transform: scaleX(1); }
.footer-quicklinks a:focus-visible{
  color: #111418; background: var(--gold-2);
  border-radius: 8px; box-shadow: 0 6px 24px rgba(234,199,106,.22);
}

/* ===== Divisória ===== */
.footer-divider{
  height: 1px; border: 0; margin: 18px auto 14px;
  max-width: 920px;
  background: linear-gradient(90deg, transparent, rgba(234,199,106,.28), transparent);
  opacity: .7;
}

/* ===== Branding central (logo + 12) ===== */
.footer-branding.center{
  display: grid;
  /* evita que logo ou selo encolham e “sumam” em telas estreitas */
  grid-template-columns: 1fr max-content max-content 1fr;
  align-items: center;
  justify-items: center;
  gap: 12px;
  margin: 6px 0 10px;
}

.footer-branding.center::before,
.footer-branding.center::after{
  content:"";
  align-self: center; justify-self: stretch;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234,199,106,.25));
}

.footer-branding.center::after{
  background: linear-gradient(90deg, rgba(234,199,106,.25), transparent);
}

/* impede que as linhas sobreponham os itens no “miolo” */
.footer-branding.center::before{ grid-column: 1; }
.footer-branding.center::after { grid-column: 4; }

.footer-logo{
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(234,199,106,.16));
  image-rendering: -webkit-optimize-contrast;
}

.footer-rating-seal{
  width: 46px; height: 46px; min-width: 46px;   /* <- não encolhe no mobile */
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px; line-height: 1;
  font-weight: 800; font-size: 18px; letter-spacing: .2px;
  color: var(--gold-2);
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(234,199,106,.18), transparent 70%),
    linear-gradient(180deg, #0f151d, #0a0f15);
  border: 1px solid rgba(234,199,106,.45);
  box-shadow: 0 8px 28px rgba(234,199,106,.28), inset 0 0 18px rgba(234,199,106,.12);
}

/* ===== Copy ===== */
.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: center;  /* centralizado sempre */
  margin-top: 10px;
}

.footer-copy{
  color: var(--text-1);
  font-size: 14px;
  margin: 0;
  text-align: center;
}

/* ===== Responsivo ===== */
@media (max-width: 768px){
  .main-footer.gold{ padding: 42px 0 28px; }

  /* mantém os dois (logo + 12) juntinhos e no centro */
  .footer-branding.center{
    grid-template-columns: 1fr max-content max-content 1fr;
    gap: 10px;
  }

  .footer-logo{ height: 46px; }
  .footer-rating-seal{ width: 42px; height: 42px; font-size: 16px; }
}

@media (max-width: 420px){
  .footer-social a{ width: 40px; height: 40px; border-radius: 10px; }
  .footer-quicklinks ul{ gap: 18px; }
}

@media (max-width: 375px){
  /* reforço para o caso extremo: nunca quebra nem some */
  .footer-branding.center{
    grid-template-columns: 1fr max-content max-content 1fr !important;
  }
  .footer-logo{ height: 42px; }
  .footer-rating-seal{ width: 40px; height: 40px; font-size: 15px; }
}

/* Acessibilidade / motion */
@media (prefers-reduced-motion: reduce){
  .footer-social a,
  .footer-quicklinks a,
  .footer-quicklinks a::after{ transition: none; }
}

/* Garante que qualquer botão ToTop esteja oculto no hub */
.to-top, .btn-top{ display: none !important; }
