/* Conversão: CTAs no topo das páginas, CTA no meio do texto e barra fixa no celular.
   Arquivo separado do style.css (que é gerado pelo SCSS) para não precisar recompilar. */

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  text-decoration: none;
}

.cta-btn i {
  font-size: 20px;
}

/* verde escuro do WhatsApp: contraste suficiente com texto branco */
.cta-wa,
.cta-wa:hover,
.cta-wa:focus-visible {
  background: #168a4a;
  color: #fff;
}

.cta-tel,
.cta-tel:hover,
.cta-tel:focus-visible {
  background: #fff;
  color: #b62c2c;
}

.cta-inline {
  margin: 2.5rem 0;
  padding: 20px 22px;
  border-left: 4px solid #FF4140;
  border-radius: 8px;
  background: #f6f6f6;
}

.cta-inline p {
  margin: 0 0 12px;
  font-weight: 600;
  color: #1a1a1a;
}

.cta-inline .hero-ctas {
  justify-content: flex-start;
  margin-top: 0;
}

.cta-inline .cta-tel {
  border: 2px solid #b62c2c;
}

/* Barra fixa (Ligar | WhatsApp) só no celular */
.barra-mobile {
  display: none;
}

@media (max-width: 767px) {
  .barra-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .15);
  }

  .barra-mobile a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
  }

  .barra-mobile .bm-tel {
    color: #b62c2c;
  }

  .barra-mobile .bm-wa {
    background: #168a4a;
    color: #fff;
  }

  /* espaço para a barra não cobrir o rodapé; o botão flutuante sai do caminho */
  body {
    padding-bottom: calc(54px + env(safe-area-inset-bottom, 0px));
  }

  .whats-flutuante {
    display: none;
  }
}
