:root {
  --primary-blue: #002060; /* Azul institucional da marca */
  --primary-dark: #001238; /* Azul escuro do rodapé/base */
  --accent-gold: #b38b2d;
  --whatsapp: #25d366;
  --whatsapp-hover: #1eb857;
  --bg-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 4px 15px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', system-ui, sans-serif; scroll-behavior: smooth; }

/* Fundo azul do site na cor da marca */
body.bg-blue-theme { 
  background-color: var(--primary-blue); 
  color: #fff; 
  line-height: 1.6; 
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* Barra Superior de Contato */
.topbar { background: var(--primary-dark); color: #cbd5e1; font-size: 0.82rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar-content { display: flex; justify-content: space-between; align-items: center; }
.topbar-links a { color: #fff; text-decoration: none; margin-left: 15px; }

/* Cabeçalho Limpo e Ajustado */
.header { background: #ffffff !important; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-container { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; gap: 15px; }

.brand-logo { 
  max-height: 65px; 
  width: auto; 
  display: block; 
  object-fit: contain; 
  transition: transform 0.2s ease;
}

.brand-logo:hover { transform: scale(1.03); }

.footer-logo { 
  max-height: 80px; 
  width: auto; 
  margin-bottom: 15px; 
  display: block; 
  object-fit: contain;
  background-color: #ffffff; 
  padding: 6px 12px;
  border-radius: var(--radius);
}

.nav-menu { display: flex; gap: 14px; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.88rem; white-space: nowrap; }
.nav-link:hover { color: var(--primary-blue); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-download-nav { 
  color: var(--primary-blue); 
  border: 1.5px solid var(--primary-blue); 
  padding: 8px 12px; 
  border-radius: 6px; 
  font-weight: 700; 
  font-size: 0.82rem;
  background: transparent;
  white-space: nowrap;
}
.btn-download-nav:hover { background: var(--primary-blue); color: #fff; }

.btn-whatsapp-header { 
  background: var(--whatsapp); 
  color: #fff; 
  padding: 8px 12px; 
  font-size: 0.82rem; 
  border-radius: 6px;
  white-space: nowrap;
}
.btn-whatsapp-header:hover { background: var(--whatsapp-hover); }

.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary-blue); cursor: pointer; }

/* HERO BANNER COM FOTO DE BACKGROUND (MÁQUINA) */
.hero { 
  position: relative;
  background: var(--primary-dark); 
  color: #fff; 
  padding: 100px 0 90px 0; 
  text-align: center; 
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 32, 96, 0.82) 0%, rgba(0, 18, 56, 0.90) 100%);
  z-index: 2;
}

.hero-content { 
  position: relative;
  z-index: 3;
}

.hero-badge { 
  background: rgba(179, 139, 45, 0.35); 
  color: #f1c40f; 
  border: 1px solid #f1c40f; 
  padding: 6px 18px; 
  border-radius: 50px; 
  font-size: 0.85rem; 
  font-weight: 700; 
  display: inline-block; 
  margin-bottom: 18px; 
  backdrop-filter: blur(4px);
}

.hero h1 { 
  font-size: 2.6rem; 
  font-weight: 800; 
  max-width: 900px; 
  margin: 0 auto 18px auto; 
  text-shadow: 0 3px 8px rgba(0,0,0,0.6); 
  line-height: 1.25;
}

.hero p { 
  font-size: 1.15rem; 
  color: #e2e8f0; 
  max-width: 750px; 
  margin: 0 auto 32px auto; 
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons { 
  display: flex; 
  justify-content: center; 
  gap: 15px; 
  flex-wrap: wrap; 
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); text-decoration: none; font-weight: 700; border: none; cursor: pointer; }
.btn-primary { background: var(--accent-gold); color: #fff; }
.btn-primary:hover { background: #967220; }
.btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--primary-blue); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); }
.btn-block { width: 100%; }

/* Seções e Tipografia */
.section { padding: 60px 0; }
.text-light h2 { color: #ffffff !important; }
.text-light p { color: #cbd5e1 !important; }

.section-title { text-align: center; max-width: 750px; margin: 0 auto 40px auto; }
.section-subtitle { color: #f1c40f; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; display: block; margin-bottom: 5px; }
.section-title h2 { font-size: 2.1rem; font-weight: 700; }

.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.align-center { align-items: center; }

/* Campo de Busca e Grid de Produtos */
.filter-bar { max-width: 600px; margin: 0 auto 35px auto; }
.filter-bar input { width: 100%; padding: 14px 20px; border: 2px solid #fff; border-radius: var(--radius); outline: none; font-size: 1rem; box-shadow: var(--shadow); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 25px; }

.product-card { 
  background: #ffffff; 
  color: var(--text-dark);
  border-radius: var(--radius); 
  box-shadow: var(--shadow); 
  border: 1px solid var(--border); 
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.product-thumb-container {
  width: 100%;
  height: 220px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-tag { font-size: 0.75rem; font-weight: 800; color: var(--accent-gold); text-transform: uppercase; margin-bottom: 6px; }
.product-card h3 { font-size: 1.15rem; color: var(--primary-blue); margin-bottom: 10px; line-height: 1.3; font-weight: 700; }
.product-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 15px; }
.product-brands { font-size: 0.8rem; background: #f1f5f9; padding: 10px 12px; border-radius: 6px; margin-bottom: 20px; color: var(--primary-blue); }

/* SEÇÃO DE CATÁLOGOS PDF */
.catalogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.catalog-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  border-top: 4px solid var(--accent-gold);
}

.catalog-icon {
  font-size: 3rem;
  color: #d9534f;
  margin-bottom: 15px;
}

.catalog-info h3 {
  color: var(--primary-blue);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.catalog-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

/* SEÇÃO DE LOGOS DE MARCAS / PARCEIROS */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.brand-card {
  background: #ffffff;
  border-radius: var(--radius);
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-3px);
}

.partner-logo {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.partner-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.partner-placeholder i {
  font-size: 1.5rem;
  color: var(--accent-gold);
}

/* Sobre e Contatos */
.about-text h2 { font-size: 1.8rem; margin-bottom: 15px; }
.about-highlights { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.highlight-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.highlight-item i { color: #f1c40f; }

.about-card { background: #fff; color: var(--text-dark); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--accent-gold); }
.about-card h3 { color: var(--primary-blue); margin-bottom: 10px; }
.about-card p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem; }
.contact-box-item { display: flex; align-items: center; gap: 12px; background: var(--bg-light); padding: 12px 15px; border-radius: var(--radius); margin-bottom: 12px; }
.contact-box-item i { font-size: 1.5rem; color: var(--whatsapp); }

/* CENTRO LOGÍSTICO / SEDE */
.section-headquarters { padding: 40px 0 60px 0; }
.headquarters-card {
  background: #ffffff;
  color: var(--text-dark);
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-left: 6px solid var(--accent-gold);
}

.hq-image-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hq-image {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.hq-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 32, 96, 0.9);
  color: #f1c40f;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #f1c40f;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hq-text h2 {
  color: var(--primary-blue);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.hq-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.hq-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hq-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: 8px;
}

.hq-feature-item i {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-top: 3px;
}

.hq-feature-item strong {
  color: var(--primary-blue);
  display: block;
  font-size: 0.95rem;
}

.hq-feature-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Formulário e Rodapé */
.contact-form-card { background: #fff; color: var(--text-dark); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form-card h3 { color: var(--primary-blue); margin-bottom: 15px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); outline: none; }

.contact-detail { margin-top: 20px; display: flex; flex-direction: column; gap: 15px; }
.detail-item { display: flex; gap: 12px; }
.detail-item i { color: #f1c40f; font-size: 1.2rem; margin-top: 3px; }

.footer { background: var(--primary-dark); color: #fff; padding-top: 50px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; padding-bottom: 40px; }
.footer-col h4 { color: #f1c40f; margin-bottom: 15px; }
.footer-col p { font-size: 0.88rem; color: #cbd5e1; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 18px 0; font-size: 0.8rem; color: #94a3b8; }

/* Responsividade do Menu */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .header-actions { margin-left: auto; margin-right: 15px; }
}

@media (max-width: 768px) {
  .grid-2-col { grid-template-columns: 1fr; }
  .topbar-content { flex-direction: column; text-align: center; gap: 5px; }
  .brand-logo { max-height: 50px; }
  .header-actions { display: none; }
  .headquarters-card { padding: 20px; }
  .brands-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}