/* ═══════════════════════════════════════════════════
   STAND MOTOS — footer.css
═══════════════════════════════════════════════════ */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 0 0 2rem;
  margin-top: 0;
}

.site-footer .container {
  max-width: 1200px;
}

/* ── Newsletter ─────────────────────────────────── */
.footer-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-newsletter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: 3.5rem 4.5rem;
  padding: 3.5rem 3.75rem;
  margin-top: 4.5rem;
  margin-bottom: 4rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 70% 55% at 92% 8%, rgba(225, 6, 44, 0.06) 0%, transparent 58%),
    radial-gradient(ellipse 45% 35% at 4% 92%, rgba(255, 255, 255, 0.025) 0%, transparent 55%),
    linear-gradient(168deg, rgba(26, 26, 29, 0.88) 0%, rgba(12, 12, 14, 0.98) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035) inset,
    0 40px 80px rgba(0, 0, 0, 0.42);
}

.footer-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 38%,
    transparent 72%,
    rgba(225, 6, 44, 0.04) 100%
  );
  pointer-events: none;
}

.footer-newsletter::after {
  content: '';
  position: absolute;
  top: 0;
  left: 3rem;
  right: 3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.footer-newsletter-copy {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  padding-right: 0.5rem;
}

.footer-newsletter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 1.15rem;
}

.footer-newsletter-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--red-bright), transparent);
  opacity: 0.7;
}

.footer-newsletter-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  font-weight: 600;
  text-transform: none;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.footer-newsletter-brand {
  color: var(--white);
  font-weight: 600;
}

.footer-newsletter-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--w40);
  line-height: 1.55;
  max-width: 32ch;
  letter-spacing: 0.01em;
}

.footer-newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding-left: 3.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Lista VIP ──────────────────────────────────── */
.footer-vip-channel-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--w20);
  margin-bottom: 0.65rem;
}

.footer-vip-channel {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 2px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.1rem;
  gap: 1px;
  flex-shrink: 0;
}

.footer-vip-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.footer-vip-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.footer-vip-option-text {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--w40);
  padding: 0.42rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
  transition:
    color 0.3s var(--ease-premium),
    background 0.3s var(--ease-premium);
}

.footer-vip-option.is-active .footer-vip-option-text,
.footer-vip-option input:checked + .footer-vip-option-text {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.footer-vip-option:hover .footer-vip-option-text {
  color: var(--w60);
}

.footer-vip-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-field {
  min-width: 0;
}

.footer-field--full {
  width: 100%;
}

.footer-field.is-hidden {
  display: none;
}

.footer-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.95rem 1.15rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  outline: none;
  transition:
    border-color 0.35s var(--ease-premium),
    background 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}

.footer-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
  font-weight: 400;
}

.footer-input:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.footer-input:focus {
  border-color: rgba(225, 6, 44, 0.38);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 3px rgba(225, 6, 44, 0.1),
    0 12px 32px rgba(0, 0, 0, 0.25);
}

.footer-newsletter-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-btn-submit {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.85rem 1.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.35s var(--ease-premium),
    background 0.35s var(--ease-premium),
    border-color 0.35s var(--ease-premium),
    transform 0.35s var(--ease-premium),
    box-shadow 0.35s var(--ease-premium);
}

.footer-btn-submit:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(225, 6, 44, 0.22);
}

.footer-vip-btn-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 11rem;
}

.footer-vip-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  animation: footerVipSpin 0.75s linear infinite;
  flex-shrink: 0;
}

.footer-btn-submit.is-busy .footer-vip-spinner {
  display: block;
}

@keyframes footerVipSpin {
  to { transform: rotate(360deg); }
}

.footer-btn-submit.is-busy,
.footer-btn-submit:disabled {
  opacity: 0.82;
  cursor: wait;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.footer-field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.footer-btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(225, 6, 44, 0.18);
}

.footer-newsletter-msg {
  font-size: 0.78rem;
  color: var(--w20);
  min-height: 1.15em;
  letter-spacing: 0.02em;
}

.footer-newsletter-msg.is-success {
  color: rgba(134, 239, 172, 0.85);
}

.footer-newsletter-msg.is-success.is-premium {
  color: rgba(167, 243, 208, 0.95);
  white-space: pre-line;
  line-height: 1.45;
  animation: footerVipMsgIn 0.45s var(--ease-premium, ease) both;
}

@keyframes footerVipMsgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.footer-vip-form--success .footer-input {
  border-color: rgba(34, 197, 94, 0.35);
  transition: border-color 0.4s ease;
}

.footer-newsletter-msg.is-error {
  color: rgba(248, 113, 113, 0.9);
  white-space: pre-line;
  line-height: 1.4;
  animation: footerVipMsgIn 0.35s ease both;
}

/* ── Grid principal ─────────────────────────────── */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
  margin-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem 2rem;
  margin-bottom: 3rem;
}

.footer-col-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.35rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.84rem;
  color: var(--w40);
  transition: color 0.2s ease, padding-left 0.2s ease;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 2px;
}

.footer-links a.is-muted {
  pointer-events: none;
  opacity: 0.5;
}

/* Marcas em 2 colunas dentro da coluna */
.footer-brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}

.footer-brands a {
  font-size: 0.82rem;
  color: var(--w40);
  transition: color 0.2s;
}

.footer-brands a:hover {
  color: var(--red-bright);
}

/* Suporte / Contato */
.footer-support {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-support-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-support-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-support-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--red);
  opacity: 0.75;
}

.footer-support-icon svg {
  display: block;
}

.footer-support-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w20);
  line-height: 1;
}

.footer-support-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding-left: 1.35rem;
}

.footer-support-line {
  display: block;
  font-size: 0.83rem;
  color: var(--w40);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.footer-support-line--link {
  color: var(--w60);
  transition: color 0.2s ease;
}

.footer-support-line--link:hover {
  color: var(--white);
}

.footer-col:has(.footer-support) .footer-col-title {
  margin-bottom: 1.1rem;
}

/* Redes */
.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w40);
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: var(--white);
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--w04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w40);
  transition: all 0.25s ease;
}

.footer-social-link:hover .footer-social-icon {
  border-color: rgba(225, 6, 44, 0.4);
  background: var(--red-surface);
  color: var(--red-bright);
}

/* ── Bottom ───────────────────────────────────── */
.footer-bottom {
  position: relative;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.footer-bottom-end {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.14);
  border: 1px solid transparent;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.footer-admin-link:focus-visible {
  outline: 2px solid rgba(225, 6, 44, 0.45);
  outline-offset: 2px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--w20);
  letter-spacing: 0.02em;
}

.footer-credit {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.14);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: var(--w40);
}

.footer-bottom-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-bottom-legal a {
  font-size: 0.72rem;
  color: var(--w20);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-bottom-legal a:hover {
  color: var(--w40);
}

/* ── Responsivo ───────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-newsletter {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.75rem 2.25rem;
  }
  .footer-newsletter-form {
    padding-left: 0;
    border-left: none;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 1.5rem;
  }
  .footer-newsletter {
    margin-top: 2.75rem;
    margin-bottom: 2.75rem;
    padding: 2rem 1.35rem;
    border-radius: 16px;
  }
  .footer-vip-option-text {
    padding: 0.4rem 0.65rem;
    font-size: 0.62rem;
  }
  .footer-newsletter-form {
    padding-top: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    padding: 0 0.25rem;
  }
  .footer-col--social {
    grid-column: 1 / -1;
  }
  .footer-social-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
  }
  .footer-bottom-end {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
  .footer-btn-submit {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brands {
    grid-template-columns: 1fr 1fr;
  }
}
