/* BT Poste Padrão Pronto - stylesheet */

:root {
  --azul-escuro: #0b2d4d;
  --azul: #114b7e;
  --azul-claro: #1a6fb0;
  --amarelo: #f5a623;
  --cinza-claro: #f4f6f8;
  --cinza: #6b7580;
  --branco: #ffffff;
  --sombra: 0 10px 30px rgba(11, 45, 77, 0.12);
  --raio: 10px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: #24303d;
  line-height: 1.6;
  background: var(--branco);
}

h1, h2, h3, h4,
.logo, .btn, .btn-cotacao, .main-nav a,
.footer-logo-texto, .produto-card h3, .poste-card h3 {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

h1, h2, h3 {
  font-weight: 700;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Topbar ===== */
.topbar {
  background: var(--azul-escuro);
  color: #cfe0f0;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-info a {
  color: #cfe0f0;
}

.topbar-social a {
  display: inline-flex;
  color: #cfe0f0;
  transition: color 0.2s;
}

.topbar-social a:hover {
  color: var(--amarelo);
}

.topbar-social svg {
  width: 16px;
  height: 16px;
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--branco);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo img {
  height: 84px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-weight: 600;
  color: var(--azul-escuro);
  font-size: 15px;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.ativo {
  color: var(--amarelo);
}

.btn-cotacao {
  background: var(--amarelo);
  color: var(--azul-escuro) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--azul-escuro);
  cursor: pointer;
}

/* ===== Faixa elétrica (divisor temático) ===== */
.faixa-eletrica {
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--amarelo) 0,
    var(--amarelo) 14px,
    var(--azul-escuro) 14px,
    var(--azul-escuro) 28px
  );
}

/* ===== Hero (slider de fundo) ===== */
.hero {
  position: relative;
  color: var(--branco);
  padding: 110px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  z-index: 0;
}

.hero-bg.ativo {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(11, 45, 77, 0.92), rgba(17, 75, 126, 0.82));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  z-index: 3;
  background: repeating-linear-gradient(
    45deg,
    var(--amarelo) 0,
    var(--amarelo) 14px,
    var(--azul-escuro) 14px,
    var(--azul-escuro) 28px
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--amarelo);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  vertical-align: -1px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23f5a623' d='M13 2 3 14h7l-1 8 11-13h-7z'/></svg>") no-repeat center/contain;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--amarelo);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amarelo);
  color: var(--azul-escuro);
}

.btn-outline {
  border: 2px solid var(--branco);
  color: var(--branco);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--branco);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp svg {
  width: 16px;
  height: 16px;
}

/* ===== Animação de revelação ao rolar ===== */
.revelar {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.revelar.visivel {
  opacity: 1;
  transform: translateY(0);
}

.servicos-grid > :nth-child(2),
.produtos-grid > :nth-child(2),
.postes-grid > :nth-child(2) {
  transition-delay: 0.08s;
}

.servicos-grid > :nth-child(3),
.produtos-grid > :nth-child(3),
.postes-grid > :nth-child(3) {
  transition-delay: 0.16s;
}

.servicos-grid > :nth-child(4),
.produtos-grid > :nth-child(4),
.postes-grid > :nth-child(4) {
  transition-delay: 0.24s;
}

.servicos-grid > :nth-child(5),
.postes-grid > :nth-child(5) {
  transition-delay: 0.32s;
}

.servicos-grid > :nth-child(6),
.postes-grid > :nth-child(6) {
  transition-delay: 0.4s;
}

/* ===== Sections ===== */
.section {
  padding: 70px 0;
}

.section-alt {
  background-color: var(--cinza-claro);
  background-image: radial-gradient(circle, rgba(11, 45, 77, 0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-header .eyebrow {
  color: var(--azul-claro);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 30px;
  color: var(--azul-escuro);
}

.section-header h2 span {
  color: var(--amarelo);
}

/* ===== Modelos de postes (destaque na home) ===== */
.produtos-section {
  background-color: var(--cinza-claro);
  background-image: radial-gradient(circle, rgba(11, 45, 77, 0.07) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.produto-card {
  background: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  border-top: 3px solid var(--amarelo);
  text-align: center;
  transition: transform 0.25s;
}

.produto-card:hover {
  transform: translateY(-4px);
}

.produto-foto {
  aspect-ratio: 3/4;
  background: var(--branco);
  overflow: hidden;
}

.produto-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.produto-card:hover .produto-foto img {
  transform: scale(1.05);
}

.produto-card h3 {
  padding: 14px 10px;
  font-size: 15px;
  color: var(--azul-escuro);
}

.produtos-cta {
  text-align: center;
  margin-top: 36px;
}

/* ===== Logos homologação ===== */
.logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  padding: 10px 0 0;
}

.logos-grid img {
  max-height: 70px;
  width: auto;
  filter: grayscale(15%);
}

/* ===== Ajuda / CTA banner ===== */
.cta-banner {
  position: relative;
  background: var(--azul-escuro);
  color: var(--branco);
  text-align: center;
  padding: 64px 0;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(245, 166, 35, 0.14), transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(26, 111, 176, 0.35), transparent 45%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.cta-banner .eyebrow {
  color: var(--amarelo);
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
}

/* ===== Breadcrumb / Page header ===== */
.page-header {
  position: relative;
  background: linear-gradient(120deg, var(--azul-escuro), var(--azul));
  color: var(--branco);
  padding: 60px 0 40px;
  overflow: hidden;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    var(--amarelo) 0,
    var(--amarelo) 14px,
    var(--azul-escuro) 14px,
    var(--azul-escuro) 28px
  );
}

.page-header h1 {
  font-size: 34px;
  margin-top: 6px;
}

.breadcrumb {
  font-size: 13px;
  color: #cfe0f0;
}

.breadcrumb a {
  color: #cfe0f0;
}

.breadcrumb span {
  color: var(--amarelo);
}

/* ===== Quem Somos ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.sobre-texto p {
  margin-bottom: 16px;
  color: #3c4a58;
}

.sobre-texto strong {
  color: var(--azul-escuro);
}

.sobre-foto img {
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}

/* ===== Serviços ===== */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.servico-card {
  background: var(--branco);
  border: 1px solid #e7ecf0;
  border-radius: var(--raio);
  border-top: 3px solid var(--amarelo);
  padding: 30px 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.servico-card:hover {
  box-shadow: var(--sombra);
  transform: translateY(-4px);
}

.servico-card .icone {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--azul-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.servico-card .icone svg {
  width: 24px;
  height: 24px;
  stroke: var(--amarelo);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.servico-card .numero {
  color: var(--amarelo);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

.servico-card h3 {
  color: var(--azul-escuro);
  margin-bottom: 8px;
  font-size: 18px;
}

.servico-card p {
  color: var(--cinza);
  font-size: 15px;
}

/* ===== Postes ===== */
.postes-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  color: #3c4a58;
}

.postes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.poste-card {
  background: var(--branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}

.poste-card .foto {
  aspect-ratio: 4/5;
  background: var(--cinza-claro);
  overflow: hidden;
}

.poste-card .foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poste-card h3 {
  color: var(--azul-escuro);
  font-size: 16px;
  padding: 16px 18px 8px;
}

.poste-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}

.poste-card table tr {
  border-top: 1px solid #eef1f4;
}

.poste-card table td {
  padding: 7px 18px;
  color: #3c4a58;
}

.poste-card table td:first-child {
  font-weight: 600;
  color: var(--azul-escuro);
  width: 45%;
}

/* ===== Contato ===== */
.contato-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contato-info h3 {
  color: var(--azul-escuro);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 24px;
  margin-bottom: 6px;
}

.contato-info h3:first-child {
  margin-top: 0;
}

.contato-info p a {
  color: var(--azul-claro);
}

.contato-form {
  background: var(--branco);
  border: 1px solid #e7ecf0;
  border-radius: var(--raio);
  padding: 30px;
  box-shadow: var(--sombra);
}

.contato-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--azul-escuro);
  margin-bottom: 6px;
  margin-top: 14px;
}

.contato-form input,
.contato-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dbe2e8;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.contato-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contato-form small {
  display: block;
  margin-top: 10px;
  color: var(--cinza);
  font-size: 12px;
}

.contato-form button {
  margin-top: 18px;
  width: 100%;
  border: none;
  cursor: pointer;
}

.mapa {
  margin-top: 50px;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
}

.mapa iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--azul-escuro);
  color: #cfe0f0;
  padding: 50px 0 20px;
  border-top: 4px solid var(--amarelo);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo img {
  height: 52px;
  margin-bottom: 14px;
}

.footer-grid > div > p {
  color: #9fb7cf;
}

.footer-grid h4 {
  color: var(--amarelo);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.footer-grid p {
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--amarelo);
}

.footer-social a {
  display: inline-flex;
  color: #cfe0f0;
  margin-left: 14px;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--amarelo);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ===== WhatsApp float button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 200;
  text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .sobre-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .sobre-foto {
    order: -1;
  }

  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .produtos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -280px;
    height: 100vh;
    width: 260px;
    background: var(--branco);
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.15);
    padding: 90px 24px 24px;
    transition: right 0.25s;
  }

  .main-nav.aberto {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .logo img {
    height: 56px;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .topbar-info {
    font-size: 12px;
  }
}
