:root {
  --blue-600: #0f6ecd;
  --blue-500: #1976d2;
  --blue-200: #e8f3ff;
  --bg: #ffffff;
  --muted: #6b7280;
  --text: #0b1b2b;
  --card: #f8fafc;
  --max-width: 1100px;
  --radius: 10px;
  --whatsapp: #25D366;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* === RESET E BASE === */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: var(--font-sans); background: var(--bg); color: var(--text); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* === CONTAINERS === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 18px; }

/* === HEADER & MENU === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eef2f6;
  z-index: 100;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img.logo { height: 48px; width: 48px; object-fit: contain; }
/* Esconde o texto pequeno do logo no celular para não quebrar o layout */
.brand .small { display: block; font-size: 12px; color: var(--muted); }
.site-title { font-weight: 700; font-size: 18px; color: var(--blue-600); }

/* Menu Desktop */
.nav ul { display: flex; gap: 6px; align-items: center; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--text); font-weight: 600; font-size: 14px; transition: 0.2s; }
.nav a:hover { background: var(--card); color: var(--blue-600); }

.cta-btn {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--blue-600);
  color: #fff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cta-btn:hover { background: var(--blue-500); }

/* Botão Hamburger (Só aparece no mobile) */
.hamburger {
  display: none; /* Escondido no desktop */
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--blue-600);
  padding: 5px;
}

/* === HERO MODERNO === */
.hero-modern, .quem-somos-hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Padrão Desktop */
  align-items: center;
  gap: 30px;
  padding: 40px 20px;
  background: linear-gradient(180deg, var(--blue-200), #fff);
  border-radius: 12px;
  border: 1px solid rgba(23,97,167,0.08);
  margin: 18px 0;
}

.hero-text h1 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; color: var(--blue-600); }
.hero-text p.lead { font-size: 16px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.hero-image img:hover { transform: scale(1.03); }

/* === COMPONENTES GERAIS === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 10px; font-weight: 700; transition: 0.2s; cursor: pointer; }
.btn.primary { background: var(--blue-600); color: #fff; border: none; }
.btn.ghost { background: transparent; border: 1px solid rgba(11,27,43,0.1); color: var(--text); }
.btn:hover { transform: scale(1.02); opacity: 0.9; }

.card { background: var(--card); padding: 18px; border-radius: 12px; border: 1px solid rgba(11,27,43,0.04); margin-bottom: 18px; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; color: var(--muted); }
.mt-12 { margin-top: 12px; }

/* === GRIDS E SERVIÇOS === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
  text-align: center;
}

.diferenciais-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
}
.diferenciais-card img { width: 60px; height: 60px; margin-bottom: 10px; }

/* Dentro de assets/css/style.css */

/* === MARCAS (CARROSSEL) === */
.brands { text-align: center; margin: 40px 0; }

.logo-strip { 
    overflow: hidden; 
    width: 100%; 
    margin: 20px 0; 
    padding: 15px 0; 
    border-radius: 8px; 
    border: 1px solid rgba(11,27,43,0.03); 
    background: #fff; 
}

.logo-track { 
    display: flex; 
    gap: 40px; 
    align-items: center; 
    animation: marquee 20s linear infinite; 
    /* CORREÇÃO: Defina uma largura grande o suficiente para TODAS as imagens duplicadas. */
    /* Se a faixa parar, aumente este valor (ex: 300% ou 5000px) */
    width: max-content; /* Garante que ele ocupe a largura total do conteúdo */
}

.logo-track img { height: 60px; width: auto; object-fit: contain; }

/* A animação está correta: movendo exatamente 50% para a esquerda (a segunda cópia) */
@keyframes marquee { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}


/* === PÁGINA CONTATO === */
.contato-info { display: flex; gap: 20px; margin: 20px 0; }
.info-box { flex: 1; background: #f8fafc; border: 1px solid #e6eef8; border-radius: 12px; padding: 18px; }

.form-contato { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.form-contato input, .form-contato textarea { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #e6eef8; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

/* === FOOTER E WHATSAPP === */
.footer { margin-top: 40px; padding: 30px 20px; border-top: 1px solid #f1f5f9; background-color: #f9f9f9; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.footer-row { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; background: var(--whatsapp); color: #fff; padding: 12px 20px; border-radius: 50px; font-weight: 700; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 200; transition: transform 0.2s; }
.whatsapp-fab:hover { transform: scale(1.05); }

/* =========================================
   📱 RESPONSIVIDADE (MOBILE) - AQUI ESTÁ A MÁGICA
   ========================================= */
@media (max-width: 768px) {
  
  /* Layout vira uma coluna só */
  .hero-modern, .quem-somos-hero, .grid-3, .grid-4, .contato-info {
    grid-template-columns: 1fr; /* Tudo em 1 coluna */
    display: flex;
    flex-direction: column;
  }

  /* Esconde subtitulo do logo para caber na tela */
  .brand .small { display: none; }

  /* Ajustes de Imagem e Texto */
  .hero-modern { text-align: center; }
  .hero-modern .hero-image { order: -1; /* Imagem vai para cima do texto no mobile */ }
  .contato-info { flex-direction: column; }
  
  /* Menu Mobile */
  .hamburger { display: block; } /* Mostra o botão */
  
  .nav {
    display: none; /* Esconde o menu desktop */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 2px solid var(--blue-600);
    padding: 20px;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  /* Classe que o Javascript vai adicionar ao clicar */
  .nav.active {
    display: flex; 
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }
  
  .nav a, .cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px;
  }
}