/* ===========================================================
   Home 2.0 — Mercado Full (tema-filho)
   Padrão: fundo preto, texto branco, detalhe azul.
   =========================================================== */

.mf-home {
  background: #0a0a0a;
  color: #fff;
  overflow-x: hidden;
}

/* Header flutua SOBRE o hero (sem faixa preta antes do vídeo).
   Começa transparente; o mf.js escurece o fundo conforme o scroll. */
/* O tema empurra o conteúdo com padding-top no body (70px) pra compensar
   header fixo — aqui o hero deve COMEÇAR no topo absoluto da tela. */
body.page-template-template-home-mf {
  padding-top: 0 !important;
}
.page-template-template-home-mf .elementor-location-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: transparent;
}
.page-template-template-home-mf.admin-bar .elementor-location-header {
  top: 32px;
}
/* O container interno do header tem fundo PRETO definido no Elementor —
   sem isso aparece uma faixa preta até o JS de scroll assumir o controle. */
.page-template-template-home-mf .elementor-location-header .elementor-element-b8ce989 {
  background: transparent;
  transition: background 0.25s ease;
}

/* ---------- Animação de entrada (scroll reveal) ---------- */
.mf-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.mf-reveal[data-delay="1"] { transition-delay: 0.12s; }
.mf-reveal[data-delay="2"] { transition-delay: 0.24s; }
.mf-reveal[data-delay="3"] { transition-delay: 0.36s; }
.mf-reveal[data-delay="4"] { transition-delay: 0.48s; }
.mf-reveal.mf-visivel {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .mf-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Botões ---------- */
.mf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.mf-btn:active { transform: scale(0.96); }
.mf-btn-solido,
.mf-btn-solido:hover,
.mf-btn-solido:focus,
.mf-btn-solido:visited {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #fff !important;
}
.mf-btn-solido:hover { box-shadow: 0 10px 30px rgba(59, 130, 246, 0.35); }
.mf-btn-contorno,
.mf-btn-contorno:hover,
.mf-btn-contorno:focus,
.mf-btn-contorno:visited {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
}
.mf-btn-contorno:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #fff !important;
}

/* ===========================================================
   HERO
   =========================================================== */
.mf-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}
.mf-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}
.mf-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.82) 75%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0.35) 45%, #0a0a0a 100%);
}
.mf-hero-conteudo {
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.mf-hero-tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.mf-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
}
.mf-hero h1 span {
  background: linear-gradient(100deg, #60a5fa, #3b82f6 55%, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mf-hero-sub {
  margin: 0 auto 30px;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}
.mf-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Indicador de scroll. */
.mf-hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  z-index: 1;
}
.mf-hero-scroll span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
  animation: mf-scroll-dot 1.8s ease-in-out infinite;
}
@keyframes mf-scroll-dot {
  0%   { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0);    opacity: 0; }
}

/* ===========================================================
   FAIXA DE CONFIANÇA — Mercado Líder Platinum
   =========================================================== */
.mf-confianca {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 55%),
    #0d0d0d;
}
.mf-confianca-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px 40px;
}

/* Selo Mercado Líder. */
.mf-lider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mf-lider-selo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #0a0a0a;
  background: linear-gradient(135deg, #e5e7eb, #ffffff 45%, #9ca3af);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 10px 30px rgba(255, 255, 255, 0.12);
}
.mf-lider-texto strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.mf-lider-texto strong em {
  font-style: normal;
  background: linear-gradient(100deg, #e5e7eb, #ffffff 50%, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.mf-lider-texto span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Contador de vendas. */
.mf-contador { text-align: center; }
.mf-contador strong {
  display: block;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.mf-contador > span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* Selos menores. */
.mf-selos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-selos li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.mf-selos li svg { color: #60a5fa; flex: 0 0 auto; }

/* Meios de pagamento — faixa própria abaixo dos selos. */
.mf-pagamentos {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.mf-pag-rotulo {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.mf-pag-icones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mf-pag-icones li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.mf-pag-icones li:hover {
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}
.mf-pag-icones li svg { color: #60a5fa; flex: 0 0 auto; }

/* ===========================================================
   Cabeçalho de seção (reaproveitado)
   =========================================================== */
.mf-sec-head {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.mf-sec-tag {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
}
.mf-sec-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
}
.mf-sec-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ===========================================================
   PRODUTOS — grid de 4 categorias
   =========================================================== */
.mf-produtos {
  padding: 90px 24px;
  background: #0a0a0a;
}
.mf-produtos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 48px auto 0;
}
.mf-prod-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mf-prod-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 24px rgba(59, 130, 246, 0.12);
}
.mf-prod-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}
.mf-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.mf-prod-card:hover .mf-prod-img img { transform: scale(1.06); }
.mf-prod-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}
.mf-prod-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.mf-prod-info p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}
.mf-prod-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: #60a5fa;
  transition: color 0.2s ease;
}
.mf-prod-link span { display: inline-block; transition: transform 0.2s ease; }
.mf-prod-card:hover .mf-prod-link { color: #93c5fd; }
.mf-prod-card:hover .mf-prod-link span { transform: translateX(4px); }

/* ===========================================================
   TOTENS EM AÇÃO — carrossel vertical (stories)
   =========================================================== */
.mf-emuso {
  padding: 90px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(59, 130, 246, 0.07) 0%, transparent 55%),
    #0a0a0a;
}
.mf-emuso-wrap {
  position: relative;
  max-width: 1180px;
  margin: 48px auto 0;
  padding: 0 56px;
}
.mf-emuso-trilho {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.mf-emuso-trilho::-webkit-scrollbar { display: none; }
.mf-emuso-item {
  flex: 0 0 auto;
  width: 240px;
  margin: 0;
  scroll-snap-align: start;
}
.mf-emuso-item video,
.mf-emuso-item img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.mf-emuso-item figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

/* Setas do carrossel. */
.mf-emuso-seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.85) !important;
  color: #fff !important;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}
.mf-emuso-seta:hover {
  background: rgba(59, 130, 246, 0.25) !important;
  border-color: rgba(96, 165, 250, 0.6) !important;
}
.mf-emuso-seta:active { transform: translateY(-50%) scale(0.92); }
.mf-emuso-ant { left: 6px; }
.mf-emuso-prox { right: 6px; }

/* ===========================================================
   CLIENTES — mural de logos
   =========================================================== */
.mf-clientes {
  padding: 90px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a0a0a;
}
/* Grade de logos dos clientes — todos ao mesmo tempo, fundo liso (sem caixas). */
.mf-logos-grid {
  max-width: 1120px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 34px 24px;
  align-items: center;
  justify-items: center;
}
.mf-logo-cel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
}
.mf-logo-cel img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.78;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mf-logo-cel:hover img { opacity: 1; transform: scale(1.07); }

@media (max-width: 1024px) {
  .mf-logos-grid { grid-template-columns: repeat(5, 1fr); gap: 30px 20px; }
}
@media (max-width: 680px) {
  .mf-logos-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; }
  .mf-logo-cel { height: 40px; }
  .mf-logo-cel img { max-height: 34px; }
}

/* ===========================================================
   ENVIOS — texto + colagem de fotos reais
   =========================================================== */
.mf-envios {
  padding: 90px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse at 85% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    #0a0a0a;
}
.mf-envios-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1180px;
  margin: 0 auto;
}
.mf-envios-texto { flex: 1 1 46%; }
.mf-envios-texto h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
}
.mf-envios-texto > p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}
.mf-envios-texto strong { color: #fff; }
.mf-envios-lista {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mf-envios-lista li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.mf-envios-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.18);
  border: 1.5px solid #60a5fa;
}
.mf-envios-lista li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 6.5px;
  width: 7px;
  height: 4.5px;
  border-left: 2px solid #93c5fd;
  border-bottom: 2px solid #93c5fd;
  transform: rotate(-45deg);
}
.mf-envios-fotos {
  flex: 1 1 54%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mf-envios-fotos img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}
.mf-envios-fotos img:hover { transform: scale(1.03); }
.mf-envios-fotos img:nth-child(2) { margin-top: 22px; }
.mf-envios-fotos img:nth-child(3) { margin-top: -22px; }

/* ===========================================================
   CTA FINAL
   =========================================================== */
.mf-cta-final {
  padding: 90px 24px 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #0a0a0a;
}
.mf-cta-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 32px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.14) 0%, transparent 60%),
    rgba(255, 255, 255, 0.03);
}
.mf-cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
}
.mf-cta-box p {
  margin: 0 0 28px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .mf-envios-inner { flex-direction: column; gap: 36px; }
  .mf-envios-texto, .mf-envios-fotos { flex: 1 1 100%; width: 100%; }
}
@media (max-width: 1080px) {
  .mf-produtos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .mf-produtos { padding: 70px 18px; }
  .mf-produtos-grid { grid-template-columns: 1fr; max-width: 380px; }
  .mf-emuso { padding: 70px 0; }
  .mf-emuso-wrap { padding: 0; }
  /* 1 vídeo por vez: card largo, centralizado no snap,
     com uma espiadinha dos vizinhos nas bordas. */
  .mf-emuso-trilho {
    padding-left: 11vw;
    padding-right: 11vw;
    scroll-padding-left: 11vw;
  }
  .mf-emuso-item {
    width: 78vw;
    max-width: 340px;
    scroll-snap-align: center;
  }
  .mf-emuso-seta { display: none; } /* no celular desliza com o dedo */
}
@media (max-width: 880px) {
  .mf-confianca-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    gap: 26px;
  }
  .mf-lider { flex-direction: column; text-align: center; }
  .mf-selos { justify-content: center; }
}
@media (max-width: 767px) {
  .mf-hero { padding: 100px 18px 70px; }
  .mf-hero-ctas .mf-btn { width: 100%; max-width: 320px; }
}
