/* ================================================================
   FOOTER.CSS — Rodapé redesenhado com ícones sociais coloridos
   AVRA Prime
   ================================================================ */

.footer {
  padding: 0;
  background: #040a14;
  color: var(--soft-white);
  position: relative;
}

.footer-glow {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(200, 169, 106, 0.45) 20%,
    rgba(0, 212, 255, 0.25) 50%,
    rgba(200, 169, 106, 0.45) 80%,
    transparent 100%
  );
}

.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 100px 48px 48px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 64px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Coluna Marca ── */
.footer-logo {
  display: inline-block;
  margin-bottom: 28px;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.88;
  filter: drop-shadow(0 0 16px rgba(200, 169, 106, 0.35));
}

.footer-logo-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
}

.footer-desc {
  font-size: 14px;
  color: var(--cool-gray);
  line-height: 1.75;
  max-width: 340px;
  margin-bottom: 28px;
}

.footer-desc strong {
  color: var(--soft-white);
  font-weight: 500;
}

/* ── CREA Badge ── */
.footer-crea {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 32px;
  padding: 14px 20px;
  background: rgba(200, 169, 106, 0.04);
  border: 1px solid rgba(200, 169, 106, 0.15);
  border-left: 3px solid var(--champagne);
  border-radius: 0 4px 4px 0;
}

.footer-crea-badge {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--champagne);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-crea-label {
  font-size: 11px;
  color: var(--cool-gray-2);
  letter-spacing: 0.06em;
}

/* ── Redes Sociais Coloridas ── */
.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cool-gray);
  text-decoration: none;
  transition:
    transform 400ms var(--ease),
    border-color 400ms var(--ease),
    box-shadow 400ms var(--ease),
    color 300ms ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 400ms var(--ease);
  z-index: 0;
}

.social-link svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  transition: transform 300ms var(--ease);
}

.social-link:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
}

.social-link:hover::before {
  opacity: 1;
}
.social-link:hover svg {
  transform: scale(1.12);
}

/* Instagram — gradiente */
.social-link--instagram::before {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}
.social-link--instagram:hover {
  box-shadow: 0 8px 28px -6px rgba(253, 29, 29, 0.45);
}

/* WhatsApp — verde */
.social-link--whatsapp::before {
  background: #25d366;
}
.social-link--whatsapp:hover {
  box-shadow: 0 8px 28px -6px rgba(37, 211, 102, 0.45);
}

/* LinkedIn — azul */
.social-link--linkedin::before {
  background: #0a66c2;
}
.social-link--linkedin:hover {
  box-shadow: 0 8px 28px -6px rgba(10, 102, 194, 0.45);
}

/* YouTube — vermelho */
.social-link--youtube::before {
  background: #ff0000;
}
.social-link--youtube:hover {
  box-shadow: 0 8px 28px -6px rgba(255, 0, 0, 0.4);
}

/* ── Colunas de Navegação ── */
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 28px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col a {
  color: var(--cool-gray);
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  position: relative;
  transition:
    color 300ms var(--ease),
    padding-left 400ms var(--ease);
}

.footer-col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width 400ms var(--ease);
  transform: translateY(-50%);
}

.footer-col a:hover {
  color: var(--cyan);
  padding-left: 14px;
}

.footer-col a:hover::before {
  width: 8px;
}

/* ── Coluna Contato ── */
.footer-col--contact ul {
  display: none;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-contact-row > svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--champagne);
  fill: none;
}

.footer-contact-row div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-row strong {
  font-size: 14px;
  color: var(--soft-white);
  font-weight: 500;
}

.footer-contact-row span {
  font-size: 12.5px;
  color: var(--cool-gray-2);
  line-height: 1.5;
}

.footer-contact-row a {
  font-size: 14px;
  color: var(--cool-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-row a:hover {
  color: var(--champagne);
}

/* ── Barra inferior ── */
.footer-bottom {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-logo {
  display: inline-block;
  flex-shrink: 0;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-bottom-logo:hover {
  opacity: 0.82;
  filter: drop-shadow(0 0 10px rgba(200, 169, 106, 0.3));
}

.footer-bottom-logo img {
  width: 300px;
  height: auto;
  display: block;
}

.footer-bottom-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-copy {
  font-size: 11px;
  color: var(--cool-gray-3);
  letter-spacing: 0.06em;
  line-height: 1.65;
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 11px;
  color: var(--cool-gray-3);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--champagne);
}
/* ══════════ GRUPO PRIME DE ENERGIA ══════════ */
.footer-group {
  margin-top: 48px;
  padding: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-group-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 26px;
  font-weight: 500;
}
.footer-group-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.footer-group-item {
  display: block;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(200, 169, 106, 0.4);
  border-radius: 0 4px 4px 0;
  text-decoration: none;
  transition:
    border-color 400ms var(--ease),
    background 400ms var(--ease);
}
.footer-group-item:hover,
.footer-group-item:focus-visible {
  background: rgba(200, 169, 106, 0.05);
  border-left-color: var(--champagne);
}
.footer-group-item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--champagne);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.footer-group-item span {
  display: block;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--cool-gray-2);
}
@media (max-width: 900px) {
  .footer-group-items {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom-logo img {
    width: 172px;
  }

  .footer-legal {
    gap: 14px;
  }
}

/* ══════════ WHATSAPP FLUTUANTE PULSANTE ══════════ */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes wa-pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.55); opacity: 0; }
}

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: wa-pulse 2s ease-out infinite;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  animation: wa-pulse-ring 2s ease-out infinite;
  z-index: -1;
}

.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  animation: wa-pulse-ring 2s ease-out 0.4s infinite;
  z-index: -1;
}

.wa-float:hover {
  transform: scale(1.1);
  background: #20ba5a;
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
