/* ==========================================================
   ÁREAS DE ATUAÇÃO - ESTILO BASE PREMIUM 2025
   ========================================================== */

.area-detalhe {
  position: relative;
  color: #fff;
  padding: 100px 40px;
  background: linear-gradient(145deg, #001b3a 0%, #021637 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====== Fundo animado de luz ====== */
.area-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(0, 224, 255, 0.15), transparent 70%);
  filter: blur(90px);
  animation: movimentoLuz 18s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes movimentoLuz {
  0% { transform: translateX(-30%) scale(1); opacity: 0.7; }
  100% { transform: translateX(30%) scale(1.2); opacity: 1; }
}

/* ====== Estrutura base ====== */
.container-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
}

.texto-area h1 {
  font-size: 2.8em;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
  letter-spacing: 1px;
  line-height: 1.2;
}

.texto-area .descricao {
  color: #d0e7ff;
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 45px;
  max-width: 650px;
}

.texto-area h2 {
  color: #00e0ff;
  font-size: 1.4em;
  margin-top: 28px;
  font-weight: 600;
}

.texto-area p {
  color: #e8f4ff;
  font-size: 1.07em;
  line-height: 1.7;
  margin-top: 8px;
  text-align: justify;
}

/* ====== Botão Voltar ====== */
.botao-voltar {
  display: inline-block;
  margin-top: 35px;
  padding: 14px 32px;
  color: #00142b;
  background: linear-gradient(90deg, #FFD700, #FFF3A0);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05em;
  letter-spacing: 0.5px;
  transition: all 0.35s ease;
}

.botao-voltar:hover {
  background: linear-gradient(90deg, #FFF176, #FFD700);
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

/* ====== Imagem lateral com efeito Glass ====== */
.imagem-area {
  text-align: center;
}

.card-glass {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 45px rgba(255, 215, 0, 0.25);
}

.card-glass img {
  width: 100%;
  border-radius: 18px;
  transition: transform 0.6s ease;
}

.card-glass:hover img {
  transform: scale(1.05);
}

.card-glass .brilho {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 215, 0, 0.12), transparent);
  animation: brilhoPassante 8s infinite;
}

@keyframes brilhoPassante {
  0% { left: -100%; }
  50% { left: 120%; }
  100% { left: -100%; }
}

/* ====== Temas específicos por área ====== */

/* TECNOLOGIA */
.area-tecnologia .area-bg {
  background: radial-gradient(circle at 40% 50%, rgba(0, 255, 255, 0.2), transparent 70%);
}
.area-tecnologia h1 {
  color: #00e0ff;
  text-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

/* LOGÍSTICA */
.area-logistica .area-bg {
  background: radial-gradient(circle at 40% 50%, rgba(0, 183, 255, 0.2), transparent 70%);
}
.area-logistica h1 {
  color: #66ccff;
  text-shadow: 0 0 25px rgba(102, 204, 255, 0.5);
}

/* CONSTRUÇÃO */
.area-construcao h1 {
  color: #ffcc33;
  text-shadow: 0 0 25px rgba(255, 204, 51, 0.5);
}
.area-construcao .area-bg {
  background: radial-gradient(circle at 40% 50%, rgba(255, 204, 51, 0.2), transparent 70%);
}

/* EPI */
.area-epi h1 {
  color: #ffa833;
  text-shadow: 0 0 25px rgba(255, 168, 51, 0.5);
}
.area-epi .area-bg {
  background: radial-gradient(circle at 40% 50%, rgba(255, 168, 51, 0.18), transparent 70%);
}

/* AGRO */
.area-agro h1 {
  color: #9be870;
  text-shadow: 0 0 25px rgba(155, 232, 112, 0.6);
}
.area-agro .area-bg {
  background: radial-gradient(circle at 40% 50%, rgba(155, 232, 112, 0.2), transparent 70%);
}

/* ====== Responsividade ====== */
@media (max-width: 1024px) {
  .container-area {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .container-area {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .imagem-area {
    order: -1;
  }
  .texto-area h1 {
    font-size: 2.2em;
  }
  .texto-area .descricao {
    font-size: 1em;
  }
}
