/* =========================================================
   STYLE.CSS — Estrutura Geral FRS DISTRIBUIDORA
   Versão 2025 · Glass + Gold Precision
   ========================================================= */

/* ======= ESTILO GERAL ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* =========================================================
   CABEÇALHO (Removida duplicação — agora controlado por header-topo.css)
========================================================= */

/* =========================================================
   BANNER PADRÃO
========================================================= */
.banner {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/banner-frs.jpg') no-repeat center center/cover;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.banner-texto {
  position: relative;
  z-index: 2;
  width: 85%;
  max-width: 950px;
  padding: 20px;
}

.banner-texto h1 {
  font-size: 3em;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.banner-texto p {
  color: #e5e5e5;
  margin-bottom: 35px;
  font-size: 1.2em;
  line-height: 1.7;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.botao-principal {
  background-color: #FFD700;
  color: #0B3D91;
  padding: 14px 35px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s, transform 0.2s;
}

.botao-principal:hover {
  background-color: #f0c400;
  transform: scale(1.05);
}

/* =========================================================
   SEÇÃO INTRO
========================================================= */
.intro {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  text-align: center;
  padding: 90px 20px;
  border-top: 3px solid #FFD700;
  border-bottom: 3px solid #0B3D91;
}

.intro h2 {
  color: #0B3D91;
  font-size: 1.9em;
  font-weight: 700;
  margin-bottom: 15px;
}

.intro p {
  color: #333;
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.7;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* ======= BOTÃO SECUNDÁRIO ======= */
.botao-secundario {
  display: inline-block;
  border: 2px solid #0B3D91;
  color: #0B3D91;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.botao-secundario:hover {
  background-color: #0B3D91;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =========================================================
   CONTEÚDO GERAL
========================================================= */
.container {
  width: 90%;
  margin: 40px auto;
}

.conteudo h2 {
  color: #0B3D91;
  margin-bottom: 20px;
  font-size: 1.8em;
}

.conteudo p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1.05em;
}

/* ======= IMAGEM CENTRAL ======= */
.imagem-centro {
  text-align: center;
  margin-top: 20px;
}

.imagem-centro img {
  width: 65%;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* =========================================================
   HERO — PÁGINA EMPRESA
========================================================= */
.hero-empresa {
  background:
    linear-gradient(rgba(11, 61, 145, 0.8), rgba(11, 61, 145, 0.8)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.hero-texto {
  max-width: 700px;
  margin: auto;
}

.hero-texto h1 {
  font-size: 2.8em;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-texto p {
  font-size: 1.2em;
  color: #f1f1f1;
  line-height: 1.6;
}

/* =========================================================
   FORMULÁRIOS
========================================================= */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

form button {
  background-color: #0B3D91;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background-color: #072f73;
}

/* =========================================================
   TABELAS (LICITAÇÕES)
========================================================= */
.tabela-licitacoes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.tabela-licitacoes th,
.tabela-licitacoes td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.tabela-licitacoes th {
  background-color: #0B3D91;
  color: #fff;
}

/* =========================================================
   CONTATO DIRETO / WHATSAPP
========================================================= */
.contato-direto {
  margin-top: 30px;
  text-align: center;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contato-direto h3 {
  color: #0B3D91;
  margin-bottom: 10px;
}

/* =========================================================
   RODAPÉ
========================================================= */
.rodape {
  background-color: #0B3D91;
  color: #fff;
  text-align: center;
  padding: 25px 10px 18px;
  margin-top: 0 !important;
  font-size: 0.95em;
  letter-spacing: 0.4px;
  border-top: 3px solid #FFD700;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
}

.rodape-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.rodape-info p {
  margin: 2px 0;
}

.rodape-selo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  background-color: rgba(255,255,255,0.1);
  padding: 5px 12px;
  border-radius: 6px;
}

.rodape-selo img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.rodape-selo span {
  font-size: 0.88em;
  color: #FFD700;
  font-weight: 500;
}

/* =========================================================
   RESPONSIVIDADE
========================================================= */
@media (max-width: 768px) {
  .banner {
    height: 65vh;
    padding: 30px 10px;
  }

  .banner-texto h1 {
    font-size: 2em;
  }

  .banner-texto p {
    font-size: 1em;
  }

  .imagem-centro img {
    width: 90%;
  }

  .hero-empresa {
    padding: 70px 15px;
  }

  .intro {
    padding: 60px 15px;
  }

  /* RODAPÉ COMPACTO MOBILE */
  .rodape {
    font-size: 0.88em;
    padding: 18px 5px 14px !important;
  }

  .rodape-selo {
    flex-direction: column;
    text-align: center;
    gap: 3px;
  }

  .rodape-selo img {
    width: 20px;
  }
}
