/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-900: #0d2f6e;
  --blue-800: #1040a0;
  --blue-700: #1a52b8;
  --blue-600: #1e5ecf;
  --blue-500: #2470e8;
  --blue-400: #4d8df0;
  --blue-100: #deeafd;
  --blue-50:  #f0f6ff;
  --neutral-900: #111827;
  --neutral-700: #374151;
  --neutral-500: #6b7280;
  --neutral-300: #d1d5db;
  --neutral-100: #f3f4f6;
  --white: #ffffff;
  --success: #16a34a;
  --warning: #d97706;
  --error: #dc2626;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.15);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  color: var(--neutral-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--neutral-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { line-height: 1.7; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}
.btn-primary:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,82,184,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn-nav {
  background: var(--blue-700);
  color: var(--white);
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-nav:hover {
  background: var(--blue-900);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-label.light {
  color: var(--blue-100);
  background: rgba(255,255,255,.12);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--neutral-500); font-size: 1.05rem; }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 8px 0;
}
.header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  padding: 4px 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; }
.logo-img {
  height: 62px;
  width: auto;
  transition: var(--transition);
  filter: none;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.header.scrolled .logo-img { filter: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { background: rgba(255,255,255,.15); }
.header.scrolled .nav-links a { color: var(--neutral-700); }
.header.scrolled .nav-links a:hover { background: var(--blue-50); color: var(--blue-700); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .hamburger span { background: var(--neutral-900); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, var(--blue-500) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 24px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title span { color: #93c5fd; }

.hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.header.scrolled .logo-img {
  filter: none;
}

.hero-truck {
  position: absolute;
  right: 40px;
  bottom: 90px;
  width: min(430px, 42vw);
  opacity: 1;
  pointer-events: none;
  filter: none;
  background: rgba(255,255,255,.94);
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  animation: floatTruck 4s ease-in-out infinite;
  z-index: 2;
}

.hero-truck img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
@keyframes floatTruck {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
}
.hero-wave svg { width: 100%; height: 100%; }

/* ===== STATS ===== */
.stats {
  padding: 64px 0;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-100);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid var(--neutral-100);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}
.stat-suffix {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-700);
}
.stat-item p {
  color: var(--neutral-500);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== SOBRE ===== */
.sobre {
  padding: 112px 0;
  background: var(--white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-img {
  position: relative;
}
.sobre-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.sobre-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--blue-700);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.sobre-badge strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}
.sobre-badge span {
  font-size: 0.82rem;
  opacity: 0.85;
}

.sobre-text h2 { margin-bottom: 20px; }
.sobre-text p { color: var(--neutral-500); margin-bottom: 16px; }

.sobre-list {
  list-style: none;
  margin: 24px 0 32px;
}
.sobre-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--neutral-700);
  font-weight: 500;
}
.sobre-list svg {
  width: 18px; height: 18px;
  stroke: var(--blue-600);
  flex-shrink: 0;
}

/* ===== SERVIÇOS ===== */
.servicos {
  padding: 112px 0;
  background: var(--neutral-100);
}

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

.servico-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-100);
  transition: var(--transition);
  cursor: default;
}
.servico-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--blue-100);
}

.servico-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.servico-icon svg {
  width: 26px; height: 26px;
  stroke: var(--blue-600);
}
.servico-card:hover .servico-icon {
  background: var(--blue-700);
}
.servico-card:hover .servico-icon svg { stroke: var(--white); }

.servico-card h3 { margin-bottom: 12px; }
.servico-card p { color: var(--neutral-500); font-size: 0.93rem; line-height: 1.65; }

/* ===== DIFERENCIAIS ===== */
.diferenciais {
  padding: 112px 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  position: relative;
  overflow: hidden;
}
.diferenciais::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.diferenciais .section-header h2 { color: var(--white); }
.diferenciais .section-header p { color: rgba(255,255,255,.75); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.diferencial-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.diferencial-item:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.diferencial-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.2);
  line-height: 1;
  margin-bottom: 16px;
}
.diferencial-item h3 { color: var(--white); margin-bottom: 12px; font-size: 1.05rem; }
.diferencial-item p { color: rgba(255,255,255,.72); font-size: 0.92rem; line-height: 1.65; }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: var(--blue-50);
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 { color: var(--blue-900); margin-bottom: 8px; }
.cta-text p { color: var(--neutral-500); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Override btn colors inside cta-banner (light bg) */
.cta-banner .btn-white {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}
.cta-banner .btn-white:hover {
  background: var(--blue-900);
  border-color: var(--blue-900);
  box-shadow: 0 6px 20px rgba(26,82,184,.3);
}
.cta-banner .btn-outline-white {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}
.cta-banner .btn-outline-white:hover {
  background: var(--blue-700);
  color: var(--white);
}

/* ===== CONTATO ===== */
.contato {
  padding: 112px 0;
  background: var(--white);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato-info h2 { margin-bottom: 16px; }
.contato-info > p { color: var(--neutral-500); margin-bottom: 40px; }

.contato-items { display: flex; flex-direction: column; gap: 24px; }

.contato-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contato-icon {
  width: 44px; height: 44px;
  background: var(--blue-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contato-icon svg {
  width: 20px; height: 20px;
  stroke: var(--blue-600);
}
.contato-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 2px;
}
.contato-item span { font-size: 0.92rem; color: var(--neutral-500); }

/* FORM */
.contato-form {
  background: var(--neutral-100);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}
.contato-form h3 {
  margin-bottom: 32px;
  font-size: 1.4rem;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-300);
  border-radius: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.93rem;
  color: var(--neutral-700);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(36,112,232,.12);
}
.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  margin-top: 16px;
  text-align: center;
  padding: 12px;
  background: #dcfce7;
  border-radius: 8px;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-success.visible { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,.7);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
  filter: none;
  opacity: 1;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: rgba(255,255,255,.65);
}
.footer-contact .btn { margin-top: 20px; }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,.35); }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--neutral-900);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--neutral-900);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sobre-grid,
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sobre-img img { height: 360px; }
  .sobre-badge { right: 0; bottom: -16px; }

  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--neutral-100); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--neutral-100); }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .contato-form { padding: 36px 28px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--blue-900);
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }
  .nav-links.open a {
    font-size: 1.3rem;
    color: var(--white) !important;
    padding: 12px 32px;
  }

  .hero-content { padding: 100px 24px 60px; }
  .hero-ctas { flex-direction: column; }
  .hero-truck { display: none; }

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

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }

  .sobre-badge { position: static; display: inline-block; margin-top: 16px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--neutral-100); }
  .stat-number { font-size: 2.2rem; }
  .contato-form { padding: 28px 20px; }
  h2 { font-size: 1.5rem; }
}
