/* ============================================================
   FRS DISTRIBUIDORA — EMPRESA.CSS (Compact Premium 2025 — Visual Upgrade)
   Layout institucional harmônico com topo azul | Glass + Neon Corporativo
   ============================================================ */

/* ===== EFEITO GLOBAL ===== */
body {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background: #00132a;
  font-family: 'Poppins', sans-serif;
}
body.loaded { opacity: 1; }

/* ===== HERO / TOPO ===== */
.hero-empresa {
  position: relative;
  background: linear-gradient(180deg, #012d65 0%, #001933 100%);
  color: #fff;
  text-align: center;
  padding: 85px 20px 60px;
  overflow: hidden;
  box-shadow: inset 0 -10px 25px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1;
}

/* ===== HERO CONTATO (AJUSTE MOBILE) ===== */
.hero-empresa.hero-contato {
  padding-top: 60px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #012b61 0%, #001736 100%);
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero-empresa.hero-contato {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
  }
}

/* ===== FUNDO ILUMINADO ===== */
.bg-efeito {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 40% 60%, rgba(0,224,255,0.15), transparent 70%);
  filter: blur(90px);
  opacity: 0.8;
  z-index: 0;
}

/* === TÍTULO COM NEON BRANCO E AZUL === */
.titulo-principal {
  font-size: 2.8em;
  font-weight: 800;
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #00bfff,
    0 0 30px rgba(0,191,255,0.4);
  animation: glowNeon 3.5s ease-in-out infinite alternate;
}

@keyframes glowNeon {
  from { text-shadow: 0 0 10px #ffffff, 0 0 25px #00bfff, 0 0 40px rgba(0,191,255,0.5); }
  to { text-shadow: 0 0 20px #ffffff, 0 0 40px #00e0ff, 0 0 60px rgba(0,191,255,0.8); }
}

/* Descrição principal */
.descricao {
  font-size: 1.05em;
  max-width: 720px;
  margin: 15px auto 25px;
  color: #d8eaff;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 6px rgba(0,224,255,0.25);
}

/* Botão de contato */
.botao-cta {
  background: linear-gradient(90deg, #00c8ff, #0078ff);
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0,224,255,0.3);
  z-index: 2;
  position: relative;
}
.botao-cta:hover {
  background: linear-gradient(90deg, #0078ff, #00e0ff);
  box-shadow: 0 0 25px rgba(0,224,255,0.6);
  transform: scale(1.05);
}

/* ===== GRID EMPRESA ===== */
.empresa-sobre {
  background: linear-gradient(180deg, #00172f 0%, #000d1c 100%);
  padding: 65px 20px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.empresa-sobre::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 80%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(0,224,255,0.05), transparent 70%);
  animation: brilhoLateral 9s linear infinite;
  z-index: 1;
}
@keyframes brilhoLateral {
  0% { transform: translateX(-100%); opacity: 0.05; }
  50% { opacity: 0.25; }
  100% { transform: translateX(200%); opacity: 0.05; }
}

/* ===== BLOCO INTRODUÇÃO ===== */
.intro-empresa {
  text-align: center;
  margin-bottom: 45px;
  color: #d8eaff;
}
.intro-empresa h2 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(255,215,0,0.3);
}
.intro-empresa p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 0.96em;
  color: #c5d7f0;
}

/* ===== GRID ===== */
.grid-empresa {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* ===== CARD EMPRESA ===== */
.card-empresa {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  text-align: center;
  padding: 32px 24px;
  color: #fff;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 25px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.card-empresa:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 35px rgba(0,224,255,0.25);
}

.icone-empresa {
  font-size: 2.4em;
  margin-bottom: 10px;
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255,215,0,0.7);
  animation: flutuar 3s ease-in-out infinite alternate;
}
@keyframes flutuar {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.card-empresa h3 {
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
  text-shadow:
    0 0 8px rgba(255,255,255,0.3),
    0 0 16px rgba(0,224,255,0.2);
}
.card-empresa p {
  color: #cfd6e2;
  line-height: 1.6;
  font-size: 0.92em;
}

/* ===== SEÇÃO PRINCÍPIOS ===== */
.empresa-principios {
  padding: 75px 20px;
  background: linear-gradient(180deg, #001226, #000a1a);
  text-align: center;
}
.principios-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}
.principio {
  max-width: 320px;
}
.principio h3 {
  color: #00e0ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px rgba(0,224,255,0.4);
}
.principio p {
  color: #d4eaff;
  line-height: 1.6;
  font-size: 0.95em;
}

/* ===== CTA FINAL ===== */
.cta-final {
  background: radial-gradient(circle at 50% 50%, #001a38, #000a1e);
  padding: 85px 20px;
  text-align: center;
}
.cta-content h2 {
  color: #00e0ff;
  font-size: 1.8em;
  margin-bottom: 12px;
  text-shadow: 0 0 10px rgba(0,224,255,0.6);
}
.cta-content p {
  color: #cde8ff;
  max-width: 700px;
  margin: 0 auto 25px;
  font-size: 1em;
  line-height: 1.6;
}

/* ===== RODAPÉ INSTITUCIONAL ===== */
.empresa-infos {
  text-align: center;
  background: #000b1a;
  padding: 50px 20px;
  color: #c6d8f0;
  border-top: 1px solid rgba(0,224,255,0.1);
  box-shadow: inset 0 5px 20px rgba(0,0,0,0.6);
}
.empresa-infos h3 {
  color: #00e0ff;
  font-size: 1.3em;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0,224,255,0.4);
}
.empresa-infos p {
  margin: 5px 0;
  color: #a9c6e4;
  font-size: 0.93em;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 600px) {
  .titulo-principal { font-size: 2.1em; }
  .descricao { font-size: 0.95em; margin-top: 8px; }
  .botao-cta { padding: 10px 24px; font-size: 0.9em; }
  .card-empresa { padding: 24px 18px; }
  .icone-empresa { font-size: 1.9em; }
  .empresa-principios { padding: 55px 15px; }

  /* Corrige espaçamento branco do contato */
  .hero-empresa.hero-contato {
    margin-top: 0 !important;
    padding-top: 30px !important;
  }
  .empresa-sobre.contato-bloco {
    padding-top: 20px !important;
  }
}
