/* Paleta extraída do site original (kit global do Elementor) */
:root {
  --azul: #4080C1;
  --escuro: #0F1010;
  --laranja: #FFBC7D;
  --whatsapp: #25D366;
  --whatsapp-escuro: #1DA851;
  --branco: #FFFFFF;
  --cinza-texto: #3d4245;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--cinza-texto);
  background: var(--branco);
  background-image:
    radial-gradient(ellipse at 50% -20%, rgba(64, 128, 193, 0.18), transparent 60%),
    linear-gradient(180deg, #f4f8fc 0%, var(--branco) 40%);
  text-align: center;
}

.conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1.25rem 2rem;
}

.logo {
  width: min(280px, 70vw);
  height: auto;
}

/* Engrenagens animadas */
.engrenagens {
  position: relative;
  width: 96px;
  height: 84px;
  color: var(--azul);
}

.engrenagem {
  position: absolute;
  animation: girar 9s linear infinite;
}

.engrenagem--grande {
  width: 60px;
  height: 60px;
  left: 0;
  top: 0;
}

.engrenagem--pequena {
  width: 40px;
  height: 40px;
  right: 0;
  bottom: 0;
  color: var(--laranja);
  animation-direction: reverse;
  animation-duration: 6s;
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

h1 {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 700;
  color: var(--escuro);
  letter-spacing: 0.02em;
}

/* Reticências animadas */
.pontos span {
  display: inline-block;
  color: var(--azul);
  animation: pulsar 1.4s ease-in-out infinite;
}

.pontos span:nth-child(2) { animation-delay: 0.2s; }
.pontos span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulsar {
  0%, 60%, 100% { opacity: 0.2; }
  30% { opacity: 1; }
}

.mensagem {
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
}

.botao-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: var(--branco);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.botao-whatsapp:hover,
.botao-whatsapp:focus-visible {
  background: var(--whatsapp-escuro);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.botao-whatsapp svg {
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
}

/* Enquanto o número real não for configurado no js/script.js */
.botao-whatsapp.indisponivel {
  background: #9aa4ab;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: auto;
}

.botao-whatsapp.indisponivel:hover {
  transform: none;
}

/* Rodapé */
.rodape {
  background: var(--escuro);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.75rem 1.25rem 1.5rem;
  border-top: 4px solid var(--azul);
}

.contatos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.25rem;
  max-width: 70rem;
  margin: 0 auto 1.1rem;
}

.contato {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

a.contato:hover,
a.contato:focus-visible {
  color: var(--laranja);
}

.contato svg {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  color: var(--azul);
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 600px) {
  .contatos {
    flex-direction: column;
    align-items: center;
  }

  .contato--endereco {
    max-width: 20rem;
  }
}
