/* ==========================================================================
   VARIÁVEIS DE DESIGN E PALETA GLOBAL BRASIL
   ========================================================================== */
:root {
  --primary-blue: #075a87;
  --primary-green: #66a533;
  --primary-green-hover: #548b28;
  --accent-dark: #0d1b2a;
  --bg-light: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET E ESTILOS BASE
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* ==========================================================================
   HEADER & NAVEGAÇÃO RESPONSIVA
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Imagem da logo no header */
.navbar-logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0; /* Impede a imagem de esmagar em telas menores */
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-text span {
  color: var(--primary-green);
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
}

/* Exibe os links de navegação apenas no Desktop */
@media (min-width: 992px) {
  .nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .mobile-menu-btn {
    display: none;
  }
}

.nav-links {
  display: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.btn-nav-quote {
  background-color: var(--primary-green);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(102, 165, 51, 0.3);
  transition: var(--transition);
}

.btn-nav-quote:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-blue);
  cursor: pointer;
}

/* Menu Mobile Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
  transform: translateY(-150%);
  transition: var(--transition);
  z-index: 999;
}

.mobile-nav-overlay.active {
  transform: translateY(0);
}

.mobile-nav-overlay a {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

/* AJUSTE RESPONSIVO PARA SMARTPHONES (Telas até 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 10px 14px;
  }

  .logo-container {
    gap: 8px;
  }

  .navbar-logo-img {
    height: 32px; /* Reduz proporcionalmente a imagem */
  }

  .logo-text {
    font-size: 0.95rem; /* Ajusta o tamanho da fonte para não quebrar linha */
  }

  .logo-text span {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
}

/* ==========================================================================
   HERO SECTION COM VÍDEO / BACKGROUND
   ========================================================================== */
.hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
  margin-top: 60px;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  max-width: 850px;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

/*.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(102, 165, 51, 0.25);
  border: 1px solid var(--primary-green);
  color: #8ce148;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
} */

.hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1rem;
  color: #e2e8f0;
  margin-bottom: 28px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(102, 165, 51, 0.4);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-3px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   BARRA DE DESTAQUES / DIFERENCIAIS
   ========================================================================== */
.features-bar {
  background: var(--white);
  padding: 25px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: 16px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(7, 90, 135, 0.1);
  color: var(--primary-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.feature-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   MOSTRUÁRIO DE PRODUTOS PARALLAX / SLIDE
   ========================================================================== */
.section-title {
  text-align: center;
  margin-bottom: 35px;
}

.section-title span {
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}

.section-title h2 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  font-weight: 800;
}

.products-section {
  padding: 60px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(7, 90, 135, 0.3);
}

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-img-wrapper img {
  width: 100%;
  height: 115%;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08) translateY(-5px);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.product-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.product-specs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid var(--primary-green);
}

.product-btn-quote {
  margin-top: auto;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.product-btn-quote:hover {
  background: var(--primary-green);
}

/* Banner Captura de Leads com Parallax e Opacidade Azul */
.catalog-banner {
  /* Mantida apenas a imagem de fundo natural */
  background: url('FOTO\ TAMPOES2.png') no-repeat center center / cover fixed;
  color: var(--white);
  border-radius: 20px;
  padding: 50px 25px;
  text-align: center;
  margin: 50px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.catalog-banner h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 800;
  position: relative;
  z-index: 2;
  color: var(--white);
  /* Sombra leve no texto para garantir a leitura sobre qualquer parte da foto */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); 
}

.catalog-banner p {
  font-size: 0.95rem;
  color: #ffffff; /* Alterado para branco puro para melhorar o contraste */
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
  /* Sombra leve no texto para garantir a leitura */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.catalog-banner .btn-primary {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   QUEM SOMOS & UNIDADES
   ========================================================================== */
.about-section {
  background: var(--white);
  padding: 60px 20px;
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 35px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  color: var(--primary-blue);
  font-weight: 800;
  margin-bottom: 15px;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.7;
}

.highlights-list {
  list-style: none;
  margin-top: 20px;
}

.highlights-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.highlights-list i {
  color: var(--primary-green);
}

.about-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.badge-experience {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary-green);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   CLIENTES E ÓRGÃOS - VITRINE INFINITA DE IMAGENS
   ========================================================================== */
.clients-section {
  padding: 60px 0;
  text-align: center;
  background: var(--bg-light);
  overflow: hidden;
}

.clients-slider {
  position: relative;
  width: 100%;
  margin-top: 35px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: scrollTrack 28s linear infinite;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 80px;
  min-width: 170px;
  transition: var(--transition);
}

.client-box img {
  max-height: 48px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: var(--transition);
}

.client-box:hover {
  border-color: rgba(7, 90, 135, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.client-box:hover img {
  filter: grayscale(0%) opacity(1);
}

@keyframes scrollTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   MODAL DE LEADS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 42, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-backdrop.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header h3 {
  color: var(--primary-blue);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(7, 90, 135, 0.15);
}

.btn-submit-lead {
  width: 100%;
  background: var(--primary-green);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(102, 165, 51, 0.3);
  transition: var(--transition);
}

.btn-submit-lead:hover {
  background: var(--primary-green-hover);
}

/* ==========================================================================
   RODAPÉ E BOTÃO FLUTUANTE
   ========================================================================== */

/* ==========================================================================
   RODAPÉ E BOTÃO FLUTUANTE
   ========================================================================== */
footer {
  background: var(--accent-dark);
  color: var(--white);
  padding: 60px 20px 25px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; /* Três colunas equilibradas */
  gap: 40px;
  align-items: start; /* Garante que todas as colunas comecem na mesma linha no topo */
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
}

.footer-logo {
  max-width: 190px;
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-col h4 {
  color: var(--primary-green);
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-col p, 
.footer-col li {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  list-style: none;
}

.footer-col li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 45px;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #64748b;
}

/* Responsivo para telas menores / mobile */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   MEDIA QUERIES (DESKTOP & TABLETS)
   ========================================================================== */
@media (min-width: 768px) {
  .hero h1 { font-size: 3.2rem; }
  .hero p { font-size: 1.15rem; }
  .hero-actions { flex-direction: row; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-container { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 2fr 1fr 1fr; }
  .nav-links { display: flex; }
  .mobile-menu-btn { display: none; }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}