/* Footer Premium Dazie — portado do módulo dazie-opencart-footer-premium.
   Paleta adaptada à marca (#5E35B1) e largura alinhada ao header/PDP (90%). */
.dazie-footer-premium {
  --dazie-footer-bg: #0B0E14;
  --dazie-footer-bg-2: #111620;
  --dazie-footer-card: rgba(255, 255, 255, 0.035);
  --dazie-footer-card-2: rgba(255, 255, 255, 0.055);
  --dazie-footer-border: rgba(255, 255, 255, 0.10);
  --dazie-footer-text: #FFFFFF;
  --dazie-footer-muted: #AEB4C1;
  --dazie-footer-muted-2: #7F8795;
  --dazie-purple: #5E35B1;
  --dazie-purple-2: #7E57C2;
  --dazie-purple-text: #A78BDA; /* roxo claro p/ TEXTO sobre o fundo escuro (AA) */
  --dazie-green: #10B981;
  --dazie-whatsapp: #25D366;

  position: relative;
  background:
    radial-gradient(circle at 15% 15%, rgba(94, 53, 177, 0.16), transparent 28%),
    radial-gradient(circle at 75% 20%, rgba(94, 53, 177, 0.09), transparent 25%),
    linear-gradient(180deg, #11151D 0%, #0A0D12 100%);
  color: var(--dazie-footer-text);
  font-family: inherit;
  padding: 72px 0 0;
  overflow: hidden;
}

.dazie-footer-premium * {
  box-sizing: border-box;
}

/* largura alinhada ao header/PDP: ~90% da tela no desktop (piso 1280px) */
.dazie-footer-container {
  width: 100%;
  max-width: max(1280px, 90vw);
  margin: 0 auto;
  padding: 0 16px;
}

.dazie-footer-main {
  display: grid;
  /* colunas fluidas: preenchem a largura (90%) sem estourar o container */
  grid-template-columns: minmax(0, 1.3fr) 1px minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(300px, 1.7fr);
  gap: 40px;
  align-items: start;
}

.dazie-footer-brand {
  min-width: 0;
}

.dazie-footer-logo {
  display: block;
  max-width: 178px;
  height: auto;
  margin-bottom: 34px;
  filter: drop-shadow(0 10px 24px rgba(94, 53, 177, 0.22));
}

.dazie-footer-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}

.dazie-footer-logo-text small {
  display: block;
  color: var(--dazie-purple-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dazie-logo-mark {
  width: 54px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5A6470, var(--dazie-purple));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}

.dazie-footer-brand p {
  color: var(--dazie-footer-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 32px;
}

.dazie-footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dazie-footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F4F6FA;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: 0.18s ease;
}

.dazie-footer-social a:hover {
  color: #fff;
  border-color: var(--dazie-purple);
  background: rgba(94, 53, 177, 0.18);
  transform: translateY(-2px);
}

.dazie-footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dazie-footer-social svg path,
.dazie-footer-social svg rect,
.dazie-footer-social svg circle {
  fill: none;
  stroke: currentColor;
}

.dazie-footer-social a:nth-child(2) svg path,
.dazie-footer-social a:nth-child(4) svg path {
  fill: currentColor;
  stroke: none;
}

.dazie-footer-divider-vertical {
  display: block;
  width: 1px;
  min-height: 270px;
  background: linear-gradient(180deg, transparent, var(--dazie-footer-border), transparent);
}

.dazie-footer-column h3,
.dazie-footer-contact-card h3 {
  margin: 0;
}

.dazie-footer-column h3 {
  position: relative;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 16px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 28px;
}

.dazie-footer-column h3::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: var(--dazie-purple);
  border-radius: 999px;
  margin-top: 14px;
}

.dazie-footer-column a {
  position: relative;
  display: block;
  color: var(--dazie-footer-muted);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.3;
  padding: 0 0 16px;
  transition: 0.18s ease;
}

.dazie-footer-column a:hover {
  color: #fff;
  transform: translateX(3px);
}

.dazie-footer-contact-card {
  align-self: stretch;
  padding: 30px;
  border: 1px solid rgba(94, 53, 177, 0.30);
  border-radius: 18px;
  background:
    radial-gradient(circle at 25% 0%, rgba(94, 53, 177, 0.20), transparent 38%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 18px 42px rgba(0,0,0,0.18);
}

.dazie-footer-contact-kicker {
  display: block;
  color: var(--dazie-purple-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.dazie-footer-contact-card h3 {
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 22px;
}

.dazie-footer-contact-list {
  display: grid;
}

.dazie-footer-contact-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--dazie-footer-muted);
  text-decoration: none;
}

.dazie-footer-contact-item:last-child {
  border-bottom: 0;
}

.dazie-footer-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(94, 53, 177, 0.18);
  color: var(--dazie-purple-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dazie-footer-contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dazie-footer-contact-item small {
  display: block;
  color: var(--dazie-footer-muted);
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.dazie-footer-contact-item strong {
  display: block;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
}

.dazie-footer-contact-item strong.is-whatsapp {
  color: var(--dazie-whatsapp);
}

.dazie-footer-contact-item em {
  grid-column: 2;
  color: var(--dazie-footer-muted-2);
  font-size: 13px;
  font-style: normal;
  white-space: normal;
}

.dazie-footer-contact-item:hover strong {
  color: var(--dazie-purple-text);
}

.dazie-footer-contact-item:hover strong.is-whatsapp {
  color: var(--dazie-whatsapp);
}

.dazie-footer-trust-payment {
  margin-top: 54px;
  padding: 28px 0 30px;
  border-top: 1px solid var(--dazie-footer-border);
  border-bottom: 1px solid var(--dazie-footer-border);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: center;
}

.dazie-footer-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.dazie-footer-trust-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid var(--dazie-footer-border);
}

.dazie-footer-trust-item:last-child {
  border-right: 0;
  margin-right: 0;
}

.dazie-footer-trust-item span {
  width: 38px;
  height: 38px;
  color: var(--dazie-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dazie-footer-trust-item svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dazie-footer-trust-item strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

.dazie-footer-trust-item small {
  display: block;
  color: var(--dazie-footer-muted);
  font-size: 13px;
  line-height: 1.3;
  margin-top: 4px;
}

.dazie-footer-payments {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.dazie-footer-payments > span {
  color: var(--dazie-footer-muted);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.dazie-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dazie-payment-badges i {
  min-width: 56px;
  height: 34px;
  padding: 0 12px;
  border-radius: 6px;
  background: #fff;
  color: #131722;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.dazie-payment-badges i:nth-child(1) { color: #173A91; }
.dazie-payment-badges i:nth-child(2) { color: #D71920; }
.dazie-payment-badges i:nth-child(3) { color: #24B69B; }
.dazie-payment-badges i:nth-child(6) { color: #D71920; }

.dazie-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  min-height: 86px;
  color: var(--dazie-footer-muted);
  font-size: 14px;
}

.dazie-footer-bottom p {
  margin: 0;
}

.dazie-footer-bottom strong {
  color: var(--dazie-purple-text);
}

.dazie-footer-backtop {
  position: absolute;
  right: 36px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #5E35B1, #4527A0);
  color: #fff;
  box-shadow: 0 12px 30px rgba(94, 53, 177, 0.38);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.dazie-footer-backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dazie-footer-backtop svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1280px) {
  .dazie-footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .dazie-footer-divider-vertical { display: none; }
  .dazie-footer-brand,
  .dazie-footer-contact-card { grid-column: span 3; }
  .dazie-footer-trust-payment { grid-template-columns: 1fr; }
  .dazie-footer-trust-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .dazie-footer-trust-item { border-right: 0; }
}

@media (max-width: 768px) {
  .dazie-footer-premium { padding-top: 42px; }
  .dazie-footer-container { width: 100%; max-width: 100%; padding: 0 16px; }
  .dazie-footer-main { grid-template-columns: 1fr; gap: 34px; }
  .dazie-footer-brand,
  .dazie-footer-contact-card { grid-column: auto; }
  .dazie-footer-contact-card { padding: 22px; }
  .dazie-footer-contact-card h3 { font-size: 23px; }
  .dazie-footer-contact-item { grid-template-columns: 42px 1fr; }
  .dazie-footer-contact-item em { grid-column: 2; white-space: normal; }
  .dazie-footer-trust-row { grid-template-columns: 1fr; }
  .dazie-footer-trust-item { padding-right: 0; margin-right: 0; }
  .dazie-footer-bottom { flex-direction: column; align-items: flex-start; padding: 22px 0 78px; }
  .dazie-footer-backtop { position: fixed; right: 20px; bottom: 20px; }
}
