/* ==========================================================================
   SSA - Sistema e Serviços de Armazenagem
   Landing Page B2B de Alta Conversão - Estrutura Estrita de 5 Seções
   Manual da Marca: Azul (#000055), Laranja (#ff7f2a), Cinza (#666666)
   Arquitetura: Mobile-First Nativa, Baixa Carga Cognitiva, Regra dos 2 Cliques
   ========================================================================== */

:root {
  /* Cores do Brandbook SSA */
  --azul-institucional: #000055;
  --azul-dark: #000033;
  --azul-surface: #060926;
  
  --laranja-destaque: #ff7f2a;
  --laranja-hover: #e56c1b;
  --laranja-glow: rgba(255, 127, 42, 0.3);
  
  --cinza-estrutural: #666666;
  --cinza-claro: #F8F9FA;
  --cinza-borda: #E2E8F0;
  --cinza-escuro: #333333;
  
  --texto-principal: #0C102A;
  --texto-secundario: #475569;
  --texto-suave: #64748B;
  
  /* Tipografia */
  --font-principal: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-titulo: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Arredondamento e Sombras */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --sombra-card: 0 4px 20px rgba(0, 0, 85, 0.08);
  --sombra-laranja: 0 8px 25px rgba(255, 127, 42, 0.35);
  --sombra-modal: 0 20px 50px rgba(0, 0, 53, 0.4);
}

/* Reset & Base Elements */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-principal);
  color: var(--texto-principal);
  background-color: #FFFFFF;
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
}

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

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Botões CTA Padronizados */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  width: 100%;
}

.btn-laranja {
  background: var(--laranja-destaque);
  color: #FFFFFF;
  box-shadow: var(--sombra-laranja);
}

.btn-laranja:hover {
  background: var(--laranja-hover);
  transform: translateY(-1px);
}

.btn-azul {
  background: var(--azul-institucional);
  color: #FFFFFF;
}

.btn-azul:hover {
  background: var(--azul-dark);
}

.btn-outline-azul {
  background: transparent;
  color: var(--azul-institucional);
  border-color: var(--azul-institucional);
}

.btn-lg {
  padding: 1.1rem 1.75rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   SEÇÃO 1: CABEÇALHO FIXO (STICKY HEADER)
   ========================================================================== */
.header-fixo {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--azul-institucional);
  border-bottom: 3px solid var(--laranja-destaque);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-ssa img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.header-cta-btn {
  width: auto;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   SEÇÃO 2: HERO SECTION (PRIMEIRA DOBRA)
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--azul-dark);
  background-image: 
    linear-gradient(135deg, rgba(0, 0, 45, 0.86) 0%, rgba(0, 0, 85, 0.72) 55%, rgba(0, 0, 40, 0.88) 100%), 
    url('images/hero_pallet_racking_bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: #FFFFFF;
  padding: 2.75rem 0 3.75rem;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 127, 42, 0.15);
  border: 1px solid var(--laranja-destaque);
  color: var(--laranja-destaque);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.hero-headline {
  font-family: var(--font-titulo);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  word-break: break-word;
}

.hero-headline span {
  color: var(--laranja-destaque);
}

.hero-subheadline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-bullet-item svg {
  color: var(--laranja-destaque);
  flex-shrink: 0;
}

/* Formulário Curto Integrado na Hero */
.hero-form-card {
  background: #FFFFFF;
  color: var(--texto-principal);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-top: 4px solid var(--laranja-destaque);
}

.form-title {
  font-family: var(--font-titulo);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--azul-institucional);
  margin-bottom: 0.25rem;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--texto-secundario);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--azul-institucional);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--cinza-borda);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--texto-principal);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--azul-institucional);
}

/* ==========================================================================
   SEÇÃO 3: EXPOSIÇÃO DE PRODUTOS (NOVOS VS RECONDICIONADOS)
   ========================================================================== */
.produtos-section {
  padding: 3.5rem 0;
  background-color: var(--cinza-claro);
}

.secao-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.secao-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--laranja-destaque);
  margin-bottom: 0.5rem;
}

.secao-titulo {
  font-family: var(--font-titulo);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--azul-institucional);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.secao-subtitulo {
  font-size: 0.95rem;
  color: var(--texto-secundario);
}

.produtos-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card-produto {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sombra-card);
  border: 2px solid var(--cinza-borda);
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-produto.destaque {
  border-color: var(--laranja-destaque);
}

.badge-destaque {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--laranja-destaque);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 10;
}

.card-produto-img {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

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

.card-produto-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-produto-titulo {
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--azul-institucional);
  margin-bottom: 0.35rem;
}

.card-produto-desc {
  font-size: 0.9rem;
  color: var(--texto-secundario);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.vantagens-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.vantagem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--cinza-borda);
  color: var(--texto-principal);
}

.vantagem-item svg {
  color: var(--laranja-destaque);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   SEÇÃO 4: BENEFÍCIOS E ARGUMENTOS B2B (GRADE DE ÍCONES)
   ========================================================================== */
.beneficios-section {
  padding: 3.5rem 0;
  background-color: #FFFFFF;
}

.beneficios-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card-beneficio {
  background: var(--cinza-claro);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--cinza-borda);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.beneficio-icone {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 85, 0.08);
  color: var(--azul-institucional);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.beneficio-titulo {
  font-family: var(--font-titulo);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--azul-institucional);
  margin-bottom: 0.4rem;
}

.beneficio-desc {
  font-size: 0.9rem;
  color: var(--texto-secundario);
  line-height: 1.45;
}

/* ==========================================================================
   SEÇÃO 5: RODAPÉ DE CONVERSÃO E AUTORIDADE
   ========================================================================== */
.rodape-section {
  background: linear-gradient(135deg, var(--azul-dark) 0%, var(--azul-institucional) 100%);
  color: #FFFFFF;
  padding: 3.5rem 0 2rem;
  border-top: 4px solid var(--laranja-destaque);
}

.rodape-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.rodape-autoridade h3 {
  font-family: var(--font-titulo);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.rodape-autoridade h3 span {
  color: var(--laranja-destaque);
}

.rodape-autoridade p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.rodape-contatos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.rodape-contato-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rodape-contato-item svg {
  color: var(--laranja-destaque);
}

.rodape-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Floating WhatsApp Quick Trigger Bar */
.whatsapp-flutuante {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #FFFFFF;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
}

/* Modal Rápido de Captura de Lead (Regra Obrigatória) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 53, 0.85);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  box-shadow: var(--sombra-modal);
  border-top: 5px solid var(--laranja-destaque);
  position: relative;
}

.modal-fechar {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--cinza-estrutural);
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   ADAPTAÇÕES TABLET (>= 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .hero-headline {
    font-size: 2.25rem;
  }

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

  .produtos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

/* ==========================================================================
   ADAPTAÇÕES DESKTOP (>= 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .header-content {
    height: 75px;
  }

  .logo-ssa img {
    height: 46px;
  }

  .header-cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-section {
    padding: 4.5rem 0 5.5rem;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
  }

  .hero-headline {
    font-size: 2.85rem;
  }

  .hero-form-card {
    padding: 2.25rem 2rem;
  }

  .produtos-section, .beneficios-section {
    padding: 5rem 0;
  }

  .secao-titulo {
    font-size: 2.25rem;
  }

  .card-produto-img {
    height: 240px;
  }

  .beneficios-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rodape-section {
    padding: 4.5rem 0 2rem;
  }

  .rodape-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
  }
}
