/* ==========================================================================
   MARCA — ATELIÊ BORBOLETA ARTEIRA
   Recria o linkbio antigo (WordPress/Elementor): moldura "Seja Bem-vindos",
   quatro blocos título + botão ao lado de um mockup (alternando lados no
   desktop) e o botão de localização. Tudo sobre o fundo com ondas.
   ========================================================================== */

/* ---- Fundo da página inteira (ondas no topo e no fim) ------------------
   html/body com altura automática para o "cover" medir o documento todo. */
html, body { height: auto; }
body {
  background: var(--bg) url("../assets/fundo.webp") center top / cover no-repeat;
}

/* ---- Hero: sem foto ---------------------------------------------------- */
.hero { padding: 70px 24px 110px; }
.hero__bg { display: none; }
.hero__logo {
  max-width: 100%;
  margin: 0 auto;
}

/* ---- Blocos: título + botão | mockup ----------------------------------- */
.bloco {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 65px;
  align-items: center;
  padding: 30px 0;
}
.bloco--invertido .bloco__arte { order: -1; }

.bloco__titulo { line-height: 0; margin-bottom: 20px; }
.bloco__titulo img {
  display: block;
  width: 429px;
  max-width: 100%;
  height: auto;
}
.bloco__titulo--instagram { margin-bottom: 19px; }
.bloco__titulo--instagram img { width: 100%; }

.bloco__arte { line-height: 0; }
.bloco__arte img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.bloco__arte--celular img { width: 381px; max-width: 100%; margin: 0 auto; }
.bloco__arte:hover img { transform: translateY(-6px); }

/* ---- Botões em arte (pílula) ------------------------------------------ */
.botao {
  display: block;
  width: 329px;
  max-width: 100%;
  line-height: 0;
  border-radius: 999px;
  transition: transform .3s cubic-bezier(.22,1,.36,1),
              box-shadow .3s cubic-bezier(.22,1,.36,1),
              filter .3s ease;
}
.botao img { display: block; width: 100%; height: auto; }
.botao:hover,
.botao.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(var(--sombra-rgb), .22);
  filter: brightness(1.04);
  transition: transform .3s cubic-bezier(.22,1,.36,1),
              box-shadow .3s cubic-bezier(.22,1,.36,1),
              filter .3s ease;
}
.botao:active { transform: translateY(-1px); }

/* ---- Localização ------------------------------------------------------- */
.local {
  display: flex;
  justify-content: center;
  padding: 110px 0 140px;
}

/* stagger: a arte entra um pouco depois do texto */
.bloco .bloco__arte.reveal { transition-delay: .12s; }

/* ---- Rodapé discreto (o antigo não tinha) ----------------------------- */
.footer { padding: 12px 20px; }

/* ---- Celular (mesmo corte do Elementor: 767px) ------------------------- */
@media (max-width: 767px) {
  .hero { padding: 60px 20px 65px; }
  .hero__logo { width: var(--hero-logo-mobile); max-width: 100%; }

  body { background-image: url("../assets/fundo-mobile.webp"); }

  .bloco {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 0 30px;
    margin-bottom: 70px;
  }
  .bloco--invertido .bloco__arte { order: 0; }

  .bloco__texto { display: flex; flex-direction: column; align-items: center; }
  .bloco__titulo img { width: 71vw; margin: 0 auto; }
  .bloco__titulo--instagram img { width: 84.6vw; }
  .bloco__titulo--shopee img { width: 72.8vw; }

  .botao { width: 60vw; }
  .bloco .botao { margin-bottom: 40px; }

  .bloco__arte { width: 100%; }
  .bloco__arte--celular img { width: 100%; }
  .bloco__arte--instagram img { width: 95%; }

  .local { padding: 86px 0 140px; }   /* +70 da margem do último bloco = 156 */
}

@media (prefers-reduced-motion: reduce) {
  .botao, .bloco__arte img { transition: none; }
  .botao:hover, .bloco__arte:hover img { transform: none; }
}
