/* ============================================================
   CONTATO — FRS DISTRIBUIDORA
   Glass Gold Absolute 2025.9 (Header Click Fix + Title Perfect)
   ============================================================ */

/* ===== GARANTE QUE O MENU SEMPRE ESTEJA ACIMA DE TUDO ===== */
header, .menu-principal, nav {
  position: relative;
  z-index: 9999 !important; /* 🔥 garante clicável */
  pointer-events: auto;
}

/* ===== HERO SUPERIOR (Título + Fundo Integrado ao Card) ===== */
.hero-contato {
  position: relative;
  padding: 70px 20px 40px;
  background: radial-gradient(circle at top center, #00214d 0%, #00142b 70%, #000c1a 100%);
  color: #fff;
  text-align: center;
  overflow: visible;
  margin-bottom: -90px;
  z-index: 5;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.5);
}

/* Reflexo dourado animado */
.hero-contato::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,215,0,0.07), transparent 70%);
  animation: reflexoDourado 14s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none; /* 🔥 não bloqueia cliques */
}

@keyframes reflexoDourado {
  from { transform: rotate(0deg) scale(1); opacity: 0.3; }
  to { transform: rotate(8deg) scale(1.05); opacity: 0.7; }
}

/* ===== TÍTULO PRINCIPAL ===== */
.hero-contato .titulo-principal {
  position: relative;
  z-index: 10;
  font-size: 2em;
  font-weight: 800;
  color: #FFD700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(255,215,0,0.6),
    0 0 25px rgba(255,215,0,0.4),
    0 0 40px rgba(255,215,0,0.3);
  animation: brilhoTitulo 6s ease-in-out infinite alternate;
  pointer-events: none; /* não interfere com o menu */
}

@keyframes brilhoTitulo {
  from { text-shadow: 0 0 8px rgba(255,215,0,0.4); }
  to { text-shadow: 0 0 28px rgba(255,215,0,0.8); }
}

/* ===== DESCRIÇÃO ===== */
.hero-contato .descricao {
  position: relative;
  z-index: 9;
  font-size: 1em;
  max-width: 720px;
  margin: 0 auto;
  color: #d8e9ff;
  line-height: 1.6;
  text-shadow: 0 0 8px rgba(0,224,255,0.25);
  pointer-events: none;
}

/* ===== BLOCO PRINCIPAL ===== */
.contato-bloco {
  background: linear-gradient(180deg, rgba(0,10,25,1) 0%, #00142b 100%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* ===== CARD DE CONTATO ===== */
.card-contato {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 45px 35px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4),
              0 0 25px rgba(255, 215, 0, 0.18);
  animation: fadeUp 1.2s ease;
  max-width: 520px;
  width: 92%;
  margin-top: 0;
  z-index: 3;
  overflow: hidden;
}

/* Halo dourado externo */
.card-contato::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -120%;
  width: 340%;
  height: 340%;
  background: conic-gradient(from 180deg, transparent, rgba(255,215,0,0.18), transparent 40%);
  animation: girarBrilho 12s linear infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes girarBrilho {
  to { transform: rotate(360deg); }
}

/* Overlay escurecido */
.card-contato::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

/* Conteúdo ativo */
.card-contato > * {
  position: relative;
  z-index: 2;
}

/* ===== FORMULÁRIO ===== */
.form-contato .campo {
  margin-bottom: 16px;
}

.form-contato label {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95em;
}

.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 12px 10px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1em;
  transition: all 0.3s ease;
}

.form-contato input:focus,
.form-contato textarea:focus {
  outline: 1px solid #FFD700;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255,215,0,0.25);
}

.form-contato input::placeholder,
.form-contato textarea::placeholder {
  color: #bbb;
}

/* ===== BOTÃO ===== */
.botao-enviar {
  background: linear-gradient(90deg, #FFD700, #FFF3A0);
  color: #00142b;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 12px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: 0.4s;
  box-shadow: 0 0 15px rgba(255,215,0,0.3);
}

.botao-enviar:hover {
  background: linear-gradient(90deg, #FFF176, #FFD700);
  box-shadow: 0 0 30px rgba(255,215,0,0.6);
  transform: scale(1.03);
}

/* ===== MENSAGENS ===== */
.sucesso, .erro {
  border-left: 4px solid;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 0.95em;
}

.sucesso {
  background: rgba(0,180,0,0.1);
  border-color: #00e676;
  color: #b9ffc1;
}

.erro {
  background: rgba(255,0,0,0.1);
  border-color: #ff5252;
  color: #ffbcbc;
}

/* ===== CONTATO DIRETO ===== */
.contato-direto {
  margin-top: 25px;
  background: rgba(255,255,255,0.05);
  padding: 18px;
  border-radius: 10px;
  text-align: center;
}

.contato-direto h3 {
  color: #FFD700;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.contato-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

/* ===== WHATSAPP ===== */
.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background-color: #25D366;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 18px;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(37,211,102,0.4);
}

.whatsapp-btn:hover {
  background-color: #1eb851;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(37,211,102,0.6);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
}

/* ===== E-MAIL ===== */
.email-btn, .email-link {
  color: #00e0ff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.email-btn:hover, .email-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 600px) {
  .hero-contato { padding: 45px 15px 15px; margin-bottom: -70px; }
  .hero-contato .titulo-principal { font-size: 1.4em; }
  .hero-contato .descricao { font-size: 0.9em; }
  .card-contato {
    padding: 25px 18px;
    max-width: 95%;
  }
}
