/* ==========================================================================
   RESET & VARIÁVEIS CSS (PALETA VERDE INDUSTRIAL)
   ========================================================================== */
:root {
  --color-dark: #063a23;         /* Verde escuro corporativo */
  --color-primary: #0d5c3a;      /* Verde institucional */
  --color-light: #10b981;        /* Verde médio/vivo */
  --color-accent: #22c55e;       /* Verde claro de destaque */
  --color-glow: #4ade80;         /* Verde claro luminoso */
  --color-white: #ffffff;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-600: #475569;
  --color-slate-900: #0f172a;

  --font-heading: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-slate-50);
  color: var(--color-slate-900);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Barra de rolagem estilizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-light);
  border-radius: 4px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   COMPONENTES GERAIS (BOTÕES, TAGS, TÍTULOS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-dark);
  padding: 0.65rem 1.5rem;
}
.btn-accent:hover {
  background-color: var(--color-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.85rem 1.8rem;
}
.btn-primary:hover {
  background-color: var(--color-dark);
  transform: translateY(-2px);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  padding: 0.65rem 1.5rem;
}
.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  border-radius: 12px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
  color: var(--color-glow);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.sub-title {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-transform: uppercase;
  font-weight: 900;
  margin-top: 0.5rem;
}

.divider {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  margin: 1rem auto 0 auto;
  border-radius: 2px;
}

.section {
  padding: 6rem 0;
}
.bg-white { background: var(--color-white); }
.bg-slate { background: var(--color-slate-100); }
.bg-dark { background: var(--color-dark); }
.text-white { color: var(--color-white); }
.text-glow { color: var(--color-glow); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(14, 70, 44, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  transition: var(--transition);
  padding: 1rem 0;
}

.header.scrolled {
  padding: 0.6rem 0;
  background-color: rgba(6, 58, 35, 0.98);
}

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

/* Container da logo no Header */
.logo-slot {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  height: 50px;
  max-height: 50px;
  overflow: hidden;
}

.logo-slot img,
.logo-img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

@media (max-width: 600px) {
  .logo-slot img,
  .logo-img {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 160px !important;
  }
}

.nav-desktop {
  display: flex;
  gap: 1.8rem;
}
.nav-desktop a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.nav-desktop a:hover {
  color: var(--color-glow);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: var(--color-dark);
  padding: 1.5rem;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
}
.mobile-menu a {
  color: var(--color-white);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-cta {
  margin-top: 1rem;
  justify-content: center;
}
.hidden {
  display: none;
}

/* ==========================================================================
   HERO BANNER COM VÍDEO
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #000; /* Fundo neutro caso o vídeo demore a carregar */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-dark) 0%, rgba(6, 58, 35, 0.7) 60%, rgba(6, 58, 35, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
  margin-top: 3rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-desc {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  color: #e2e8f0;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); /* Garante leitura sobre o vídeo */
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}

/* ==========================================================================
   BARRA DE MÉTRICAS
   ========================================================================== */
.metrics-bar {
  background-color: var(--color-primary);
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3rem 0;
  color: var(--color-white);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.metric-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 1rem;
}
.metric-item:last-child {
  border-right: none;
}
.metric-item h3 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-glow);
}
.metric-item p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #cbd5e1;
}

/* ==========================================================================
   SERVIÇOS & FROTA
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-thumb {
  position: relative;
  height: 220px;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-dark);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.card-body p {
  color: var(--color-slate-600);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.card-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.fleet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}
.fleet-desc {
  max-width: 400px;
  font-size: 0.9rem;
  color: var(--color-slate-600);
}

.equip-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--color-slate-200);
  transition: var(--transition);
}
.equip-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.equip-img {
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.equip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.equip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.equip-header h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
}
.equip-ton {
  background: var(--color-dark);
  color: var(--color-glow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.equip-card p {
  font-size: 0.85rem;
  color: var(--color-slate-600);
  margin-bottom: 1rem;
}
.equip-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

/* ==========================================================================
   SEGURANÇA
   ========================================================================== */
.safety-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.safety-text {
  color: #cbd5e1;
  margin: 1.5rem 0;
}
.safety-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.safety-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.safety-list i {
  color: var(--color-glow);
  font-size: 1.2rem;
}

.safety-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 16px;
  backdrop-filter: blur(6px);
}
.safety-box-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.safety-box-header i {
  font-size: 3rem;
  color: var(--color-glow);
}
.safety-box-header h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  text-transform: uppercase;
}
.safety-box p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.safety-box-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}
.safety-box-footer strong {
  color: var(--color-glow);
}

/* ==========================================================================
   SEÇÃO DE COTAÇÃO NO WHATSAPP (NOVA)
   ========================================================================== */
.whatsapp-cta-card {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--color-dark) 0%, #0a4f30 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4rem 2rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(6, 58, 35, 0.2);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.2);
  color: var(--color-glow);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.cta-lead {
  color: #e2e8f0;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 1.2rem auto 2.5rem auto;
  font-weight: 300;
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1.1rem 2.4rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  transition: var(--transition);
}

.btn-whatsapp-large:hover {
  background-color: var(--color-glow);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(74, 222, 128, 0.5);
}

.btn-whatsapp-icon {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   FOOTER & LOGO DO RODAPÉ (AJUSTADA)
   ========================================================================== */
.footer {
  background: var(--color-dark);
  color: #94a3b8;
  font-size: 0.85rem;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1.2rem;
}

/* Trava rígida de tamanho para a logo do rodapé */
.footer-logo-img {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 190px !important;
  object-fit: contain !important;
  display: block !important;
}

.footer-text {
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--color-accent);
  color: var(--color-dark);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-nav, .footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}
.footer-nav a:hover {
  color: var(--color-glow);
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-contact-list i {
  color: var(--color-glow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.75rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--color-accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  background-color: var(--color-glow);
  color: var(--color-dark);
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.45);
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .nav-desktop, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .cards-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .metric-item { border-right: none; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.3rem; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-logo-img {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 150px !important;
  }
  .btn-whatsapp-large {
    font-size: 0.9rem;
    padding: 1rem 1.4rem;
    width: 100%;
  }
}