/*
Direção visual: Editorial Financeiro Institucional.
Princípios aplicados neste arquivo: autoridade empresarial, contraste executivo, CTAs visíveis, transparência legal e microinterações discretas.
Pergunta-guia: esta escolha reforça ou dilui nossa filosofia de segurança institucional e conversão?
*/
:root {
  --supermix-ink: #111827;
  --supermix-graphite: #1f2937;
  --supermix-muted: #667085;
  --supermix-paper: #fffaf1;
  --supermix-gold: #f59e0b;
  --supermix-gold-dark: #b45309;
  --supermix-green: #128c4a;
  --supermix-green-dark: #0f6d3b;
  --supermix-border: rgba(17, 24, 39, 0.12);
  --supermix-shadow: 0 22px 65px rgba(17, 24, 39, 0.20);
}

html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(circle at 8% 12%, rgba(245, 158, 11, 0.12), transparent 26%),
    radial-gradient(circle at 92% 18%, rgba(18, 140, 74, 0.10), transparent 28%);
}

body a[href*="wa.me"],
body a[href*="whatsapp.com"],
body a[href^="tel:"],
body button {
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body a[href*="wa.me"]:hover,
body a[href*="whatsapp.com"]:hover,
body a[href^="tel:"]:hover,
body button:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.supermix-trust-strip {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: linear-gradient(90deg, #111827 0%, #273244 52%, #111827 100%);
  color: #fff7ed;
  font: 700 13px/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.22);
}

.supermix-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.supermix-trust-strip span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--supermix-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.supermix-floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99998;
  width: min(390px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.94));
  color: #ffffff;
  box-shadow: var(--supermix-shadow);
  backdrop-filter: blur(16px);
  animation: supermixSlideIn 520ms cubic-bezier(.2,.9,.2,1) both;
}

.supermix-floating-cta strong {
  display: block;
  margin-bottom: 4px;
  font: 800 15px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
}

.supermix-floating-cta small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font: 500 12px/1.35 Arial, Helvetica, sans-serif;
}

.supermix-floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--supermix-green), var(--supermix-green-dark));
  color: #fff;
  font: 800 13px/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(18, 140, 74, 0.34);
  white-space: nowrap;
}

.supermix-lead-panel {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 99997;
  width: min(350px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.96);
  color: var(--supermix-ink);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.18);
  backdrop-filter: blur(14px);
  transform-origin: left bottom;
  animation: supermixPanelIn 650ms cubic-bezier(.2,.9,.2,1) 400ms both;
}

.supermix-lead-panel p {
  margin: 0 0 10px 0;
  font: 700 13px/1.35 Arial, Helvetica, sans-serif;
}

.supermix-lead-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--supermix-muted);
  font: 500 12px/1.55 Arial, Helvetica, sans-serif;
}

.supermix-lead-panel button {
  position: absolute;
  top: 9px;
  right: 10px;
  border: 0;
  background: transparent;
  color: var(--supermix-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.supermix-legal-footer {
  position: relative;
  z-index: 5;
  margin-top: 48px;
  padding: 64px 20px;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(31, 41, 55, 0.98)),
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.18), transparent 28%);
  color: #ffffff;
  border-top: 6px solid var(--supermix-gold);
  font-family: Arial, Helvetica, sans-serif;
}

.supermix-legal-inner {
  max-width: 1050px;
  margin: 0 auto;
  text-align: left;
}

.supermix-kicker {
  margin: 0 0 10px 0;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 800;
}

.supermix-legal-footer h2 {
  margin: 0 0 24px 0;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.supermix-legal-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.supermix-legal-card p,
.supermix-legal-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.supermix-legal-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
}

@keyframes supermixSlideIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes supermixPanelIn {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
  .supermix-trust-strip {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .supermix-floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .supermix-floating-cta a {
    width: 100%;
  }

  .supermix-lead-panel {
    display: none;
  }

  .supermix-legal-footer {
    padding-bottom: 140px;
  }
}
