/* ================================================================
   ZATEC AUTO PEÇAS — PÁGINA EM CONSTRUÇÃO
   style.css
   Paleta: Preto #0a0a0f | Dourado #f0c040 | Branco #ffffff
   Estilo: Glassmorphism · Glow · Automotivo Premium
================================================================ */

/* ---------------------------------------------------------------
   RESET & VARIÁVEIS GLOBAIS
--------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:        #f0c040;
  --gold-dark:   #c8960a;
  --gold-glow:   rgba(240, 192, 64, 0.35);
  --gold-light:  #ffe88a;
  --black:       #0a0a0f;
  --black-mid:   #111118;
  --white:       #ffffff;
  --text-muted:  rgba(255, 255, 255, 0.65);
  --glass-bg:    rgba(255, 255, 255, 0.04);
  --glass-border:rgba(240, 192, 64, 0.18);
  --wa-green:    #25d366;
  --wa-green-dk: #1da851;
  --wa-shadow:   rgba(37, 211, 102, 0.40);
  --radius-lg:   24px;
  --radius-md:   14px;
  --font-main:   'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------------------------------------------------------------
   BASE — BODY
--------------------------------------------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--black);
  color: var(--white);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* ---------------------------------------------------------------
   PARTÍCULAS DECORATIVAS DE FUNDO
   Círculos com blur que criam a atmosfera de profundidade
--------------------------------------------------------------- */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  animation: drift 18s ease-in-out infinite alternate;
}

/* Cinco bolhas com tamanhos e posições distintas */
.p1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  top: -150px; left: -150px;
  animation-duration: 20s;
}
.p2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--gold-dark), transparent 70%);
  bottom: -120px; right: -100px;
  animation-duration: 16s;
  animation-delay: -4s;
}
.p3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--gold-light), transparent 70%);
  top: 40%; left: 60%;
  opacity: 0.10;
  animation-duration: 22s;
  animation-delay: -8s;
}
.p4 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, #ffffff, transparent 70%);
  top: 20%; right: 10%;
  opacity: 0.05;
  animation-duration: 25s;
  animation-delay: -12s;
}
.p5 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  bottom: 10%; left: 15%;
  opacity: 0.08;
  animation-duration: 19s;
  animation-delay: -6s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.05); }
  100% { transform: translate(-20px, 30px) scale(0.97); }
}

/* ---------------------------------------------------------------
   CONTAINER PRINCIPAL
--------------------------------------------------------------- */
.main-container {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 24px;
}

/* ---------------------------------------------------------------
   CARD GLASSMORPHISM
   Painel central com efeito de vidro fosco sobre o fundo
--------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--radius-lg);
  padding: 56px 48px 48px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 0 60px rgba(240, 192, 64, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  /* Animação de entrada */
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------------------------------------------------------------
   LOGO
--------------------------------------------------------------- */
.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

.logo-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  position: relative;
  z-index: 1;
  /* Animação de entrada com leve escala */
  animation: logoIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-img:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow:
    0 0 30px var(--gold-glow),
    0 0 60px rgba(240, 192, 64, 0.15);
}

/* Anel de glow dourado pulsante atrás da logo */
.logo-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
  z-index: 0;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* ---------------------------------------------------------------
   SELO "EM CONSTRUÇÃO"
--------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
  box-shadow:
    0 4px 16px rgba(240, 192, 64, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* ---------------------------------------------------------------
   TÍTULO PRINCIPAL
--------------------------------------------------------------- */
.headline {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* Destaque dourado no título */
.headline .highlight {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------------------------------------------------------------
   TEXTO DESCRITIVO
--------------------------------------------------------------- */
.description {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* ---------------------------------------------------------------
   DIVISOR DECORATIVO COM ÍCONE DE CARRO
--------------------------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.50s both;
}

.divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.divider-icon {
  width: 48px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   BOTÃO WHATSAPP
--------------------------------------------------------------- */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--wa-green-dk), var(--wa-green));
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow:
    0 6px 24px var(--wa-shadow),
    0 2px 8px rgba(0, 0, 0, 0.30);
  transition:
    transform        0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow       0.25s ease,
    background       0.25s ease,
    filter           0.25s ease;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
  position: relative;
  overflow: hidden;
}

/* Efeito de brilho ao hover */
.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: translateX(-100%);
  transition: transform 0.45s ease;
}

.btn-whatsapp:hover::before {
  transform: translateX(100%);
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 36px var(--wa-shadow),
    0 4px 12px rgba(0, 0, 0, 0.35);
  filter: brightness(1.08);
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.99);
}

/* Ícone SVG do WhatsApp dentro do botão */
.wa-icon {
  width: 24px;
  height: 24px;
  fill: var(--white);
  flex-shrink: 0;
}

/* ---------------------------------------------------------------
   NÚMERO DO WHATSAPP (texto abaixo do botão)
--------------------------------------------------------------- */
.wa-number {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.wa-number a {
  color: var(--wa-green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.wa-number a:hover {
  color: var(--gold);
  opacity: 0.9;
}

/* ---------------------------------------------------------------
   FOOTER
--------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  padding: 18px 20px;
  font-size: 0.80rem;
  color: rgba(255, 255, 255, 0.30);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(240, 192, 64, 0.08);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

/* ---------------------------------------------------------------
   RESPONSIVIDADE — MOBILE
--------------------------------------------------------------- */
@media (max-width: 600px) {
  .glass-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }

  .logo-img {
    width: 140px;
    height: 140px;
  }

  .btn-whatsapp {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
  }

  /* Desativar backdrop-filter em dispositivos muito lentos se necessário */
  @supports not (backdrop-filter: blur(1px)) {
    .glass-card {
      background: rgba(20, 20, 30, 0.92);
    }
  }
}

@media (max-width: 360px) {
  .headline {
    font-size: 1.55rem;
  }

  .badge {
    font-size: 0.66rem;
    padding: 6px 14px;
  }
}

/* ---------------------------------------------------------------
   PREFERÊNCIA DE MOVIMENTO REDUZIDO (acessibilidade)
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
