/* =========================================================
   HOME-BANNER.CSS — FRS Distribuidora
   Versão 2025 | Glass + Gold Professional Edition
   ========================================================= */

/* ====== BANNER PRINCIPAL ====== */
.banner {
  background:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  height: 58vh;
  min-height: 370px;
  box-shadow: inset 0 -6px 18px rgba(0, 0, 0, 0.35);
  border-bottom: 3px solid #FFD700;
}

/* ====== EFEITO BRILHO INFERIOR ====== */
.banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  opacity: 0.7;
}

/* ====== TEXTO DO BANNER ====== */
.banner-texto {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 820px;
  padding: 5px 10px;
  animation: fadeSlide 1.2s ease forwards;
}

.banner-texto h1 {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.4px;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.banner-texto p {
  color: #eaeaea;
  margin-bottom: 18px;
  font-size: 1em;
  line-height: 1.45;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* ====== BOTÃO PRINCIPAL ====== */
.botao-principal {
  background: linear-gradient(90deg, #FFD700 0%, #fff4a9 100%);
  color: #0B3D91;
  padding: 8px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95em;
  letter-spacing: 0.4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.botao-principal:hover {
  background: linear-gradient(90deg, #ffe76b 0%, #fff9c9 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   SEÇÃO INTRODUTÓRIA — ULTRA COMPACTA
========================================================= */
.intro {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  text-align: center;
  padding: 28px 20px 20px;
  border-top: 3px solid #FFD700;
  border-bottom: 3px solid #0B3D91;
  position: relative;
  animation: fadeSlide 1.3s ease forwards;
}

/* ===== LINHAS DECORATIVAS ===== */
.intro::before,
.intro::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 65%;
  height: 2px;
  transform: translateX(-50%);
}

.intro::before {
  top: 0;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  opacity: 0.7;
}

.intro::after {
  bottom: 0;
  background: linear-gradient(90deg, transparent, #0B3D91, transparent);
  opacity: 0.5;
}

/* ===== TÍTULO E TEXTO ===== */
.intro h2 {
  color: #0B3D91;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.intro p {
  color: #333;
  font-size: 0.95em;
  max-width: 720px;
  margin: 0 auto 14px;
  line-height: 1.45;
}

/* ===== BOTÃO SECUNDÁRIO ===== */
.botao-secundario {
  background-color: transparent;
  color: #0B3D91;
  border: 2px solid #0B3D91;
  padding: 7px 22px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.botao-secundario:hover {
  background-color: #0B3D91;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   BOTÕES SUPERIORES — Painel Restrito & Loja FRS
   Versão 2025 · Glass Gold Premium
========================================================= */
.menu-acoes {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ====== PADRÃO DOS BOTÕES ====== */
.painel-ti,
.btn-loja-frs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  height: 44px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.93em;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

/* ====== PAINEL RESTRITO ====== */
.painel-ti {
  background: linear-gradient(90deg, #FFD700, #FFF3A0);
  color: #001b3a;
  border: 1px solid #f7d10c;
}

.painel-ti:hover {
  background: linear-gradient(90deg, #fff67c, #ffde00);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

/* ====== LOJA FRS ====== */
.btn-loja-frs {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #FFD700;
  backdrop-filter: blur(6px);
}

.btn-loja-frs:hover {
  background: rgba(255, 215, 0, 0.12);
  border-color: #FFD700;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.btn-loja-frs img.icon-loja {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.6));
  transform: translateY(1px);
}

/* =========================================================
   ANIMAÇÃO
========================================================= */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */
@media (max-width: 1024px) {
  .banner {
    height: 52vh;
    min-height: 340px;
  }
}

@media (max-width: 768px) {
  .banner {
    height: auto;
    min-height: 55vh;
    padding: 40px 15px;
  }

  .banner-texto {
    padding: 10px;
  }

  .banner-texto h1 {
    font-size: 1.6em;
  }

  .banner-texto p {
    font-size: 0.9em;
  }

  .intro {
    padding: 25px 15px 18px;
  }

  .intro h2 {
    font-size: 1.35em;
  }

  .intro p {
    font-size: 0.9em;
  }

  .menu-acoes {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .painel-ti,
  .btn-loja-frs {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 1em;
  }

  .btn-loja-frs img.icon-loja {
    width: 22px;
    height: 22px;
  }

  .painel-ti:hover,
  .btn-loja-frs:hover {
    transform: none;
  }
}

@media (max-width: 430px) {
  .banner {
    padding: 35px 10px;
    min-height: 50vh;
  }

  .banner-texto h1 {
    font-size: 1.4em;
  }

  .banner-texto p {
    font-size: 0.88em;
  }

  .intro {
    padding: 22px 10px 16px;
  }

  .intro h2 {
    font-size: 1.3em;
  }

  .intro p {
    font-size: 0.88em;
  }
}
