/* O Tailwind da página é pré-compilado: só existem as classes que o build gerou.
   Estas faltavam para o tema escuro e são declaradas à mão. */
.border-zinc-800 {
  border-color: #27272a;
}

.hover\:border-zinc-700:hover {
  border-color: #3f3f46;
}

.hover\:border-red-600\/40:hover {
  border-color: rgb(220 38 38 / 0.4);
}

.hover\:bg-red-950\/30:hover {
  background-color: rgb(69 10 10 / 0.3);
}

.placeholder\:text-zinc-500::placeholder {
  color: #71717a;
}

/* Reveal no scroll — substitui as animações que o framer-motion aplicava inline. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Botão flutuante do WhatsApp — classes utilitárias equivalentes não existem no build. */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 58px;
  z-index: 50;
  width: 62px;
  height: 62px;
  background-color: #25d366;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease-out, transform 0.2s ease-out;
}

/* Pulso: anel que cresce a partir da borda do botão e some.
   Fica num ::after (e não no próprio botão) porque o botão já usa transform no :hover —
   animar transform nele mataria o scale do hover. O anel é só borda, com o miolo
   transparente, para não cobrir o ícone. */
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25d366;
  pointer-events: none;
  animation: whatsapp-ring 1.8s ease-out infinite;
}

@keyframes whatsapp-ring {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* right acompanha o mesmo padding responsivo do container (px-4/sm:px-6/lg:px-8) */
@media (min-width: 640px) {
  .whatsapp-float {
    right: 24px;
  }
}

@media (min-width: 1024px) {
  .whatsapp-float {
    right: 32px;
  }
}

.whatsapp-float:hover {
  background-color: #1da851;
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::after {
    animation: none;
    opacity: 0;
  }
}

/* Faixa vermelha full-bleed no hero — escapa do container max-w-7xl para atravessar a tela inteira. */
.hero-banner {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  margin-bottom: 24px;
  padding: 10px 16px;
  background-color: #dc2626;
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
