/* ============================================
   TransLog - Logística & Transporte
   Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --background: 210 20% 98%;
  --foreground: 220 30% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 30% 15%;
  --primary: 217 91% 40%;
  --primary-foreground: 0 0% 100%;
  --secondary: 215 20% 95%;
  --secondary-foreground: 220 30% 25%;
  --muted: 215 20% 92%;
  --muted-foreground: 215 15% 45%;
  --accent: 25 95% 53%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84% 60%;
  --border: 215 20% 88%;
  --success: 145 65% 42%;
  --navy: 220 60% 20%;
  --navy-light: 217 50% 30%;
  --blue-glow: 217 91% 60%;
  --radius: 0.75rem;

  --gradient-hero: linear-gradient(135deg, hsl(220 60% 20%) 0%, hsl(217 91% 35%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(25 95% 53%) 0%, hsl(25 90% 45%) 100%);
  --shadow-sm: 0 2px 8px -2px hsl(220 60% 20% / 0.08);
  --shadow-md: 0 8px 24px -8px hsl(220 60% 20% / 0.12);
  --shadow-lg: 0 16px 48px -12px hsl(220 60% 20% / 0.18);
  --shadow-glow: 0 0 40px -10px hsl(217 91% 60% / 0.3);
  --shadow-accent: 0 8px 24px -8px hsl(25 95% 53% / 0.35);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.2;
}

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

ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea { font-family: inherit; }

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

/* ---- Utilities ---- */
.gradient-hero { background: var(--gradient-hero); }
.gradient-accent { background: var(--gradient-accent); }
.shadow-glow { box-shadow: var(--shadow-glow); }
.shadow-accent { box-shadow: var(--shadow-accent); }

.text-gradient {
  background-image: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--blue-glow)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
  padding: 0.75rem 1.5rem;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.25rem; height: 1.25rem; }

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover { box-shadow: var(--shadow-md); }

.btn-cta {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.btn-cta:hover { box-shadow: var(--shadow-accent); }

.btn-hero {
  background: var(--gradient-accent);
  color: hsl(var(--accent-foreground));
  font-weight: 700;
  box-shadow: var(--shadow-accent);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}
.btn-hero:hover { transform: translateY(-4px) scale(1.05); }

.btn-hero-outline {
  border: 2px solid hsl(0 0% 100% / 0.3);
  background: transparent;
  color: hsl(var(--primary-foreground));
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}
.btn-hero-outline:hover { background: hsl(0 0% 100% / 0.1); border-color: hsl(0 0% 100% / 0.5); }

.btn-outline {
  border: 2px solid hsl(var(--primary));
  background: transparent;
  color: hsl(var(--primary));
}
.btn-outline:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}
.btn-ghost:hover { background: hsl(var(--accent) / 0.1); }

.btn-whatsapp {
  background: hsl(var(--success));
  color: hsl(var(--primary-foreground));
  font-weight: 700;
}
.btn-whatsapp:hover { opacity: 0.9; }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; border-radius: 0.75rem; }
.btn-full { width: 100%; }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
  height: 5rem;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header.scrolled {
  background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

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

/* Logo como imagem */
.logo-img {
  width: auto;
  height: 48px; /* mantém proporção */

  transition: transform 0.3s ease;
}

/* Efeito hover */
.logo:hover .logo-img {
  transform: scale(1.1);
}


.nav-desktop { display: none; align-items: center; gap: 0.25rem; }
.nav-desktop a {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s;
  color: hsl(var(--primary-foreground) / 0.9);
}
.header.scrolled .nav-desktop a { color: hsl(var(--foreground)); }
.nav-desktop a:hover { background: hsl(0 0% 100% / 0.1); color: hsl(var(--primary-foreground)); }
.header.scrolled .nav-desktop a:hover { background: hsl(var(--primary) / 0.05); color: hsl(var(--primary)); }

.header-cta { display: none; align-items: center; gap: 0.75rem; }

.mobile-toggle {
  display: block;
  padding: 0.5rem;
  background: transparent;
  border-radius: 0.5rem;
  color: hsl(var(--primary-foreground));
  transition: 0.3s;
}
.header.scrolled .mobile-toggle { color: hsl(var(--foreground)); }
.mobile-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-menu {
  display: none;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  font-weight: 500;
  transition: 0.3s;
}
.mobile-menu a:hover { background: hsl(var(--muted)); }
.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
  .header-cta { display: flex; }
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .mobile-toggle { display: none; }
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}
.hero-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}
.hero .container {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.hero-grid-layout {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.1);
  border: 1px solid hsl(0 0% 100% / 0.2);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--primary-foreground));
  font-weight: 500;
}
.hero-badge svg { width: 1rem; height: 1rem; color: hsl(var(--accent)); }

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--primary-foreground));
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 .highlight { color: hsl(var(--accent)); }
.hero h1 .underline-accent {
  position: relative;
}
.hero h1 .underline-accent::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 0.5rem;
  background: hsl(var(--accent) / 0.5);
  border-radius: 999px;
}

.hero-desc {
  font-size: 1.125rem;
  color: hsl(var(--primary-foreground) / 0.8);
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: 1.7;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(0 0% 100% / 0.2);
}
.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--accent));
}
.hero-stat-label { font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.7); }

/* Hero Tracking Card */
.hero-tracking-card {
  display: none;
  position: relative;
}
.hero-tracking-glow {
  position: absolute;
  inset: -1rem;
  background: hsl(var(--accent) / 0.2);
  border-radius: 1.5rem;
  filter: blur(48px);
}
.hero-tracking-inner {
  position: relative;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid hsl(var(--primary-foreground) / 0.1);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.tracking-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.tracking-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--accent) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tracking-card-icon svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--accent)); }
.tracking-card-title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: hsl(var(--foreground)); }
.tracking-card-sub { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

.tracking-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tracking-input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  outline: none;
  transition: 0.3s;
}
.tracking-input-group input:focus {
  ring: 2px solid hsl(var(--accent));
  box-shadow: 0 0 0 2px hsl(var(--accent) / 0.3);
}
.tracking-input-group .btn { padding: 0.75rem 1.5rem; }

.tracking-preview {
  padding: 1rem;
  border-radius: 0.5rem;
  background: hsl(var(--muted) / 0.5);
  border: 1px solid hsl(var(--border) / 0.5);
}
.tracking-status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--success));
  animation: pulse-dot 2s ease-in-out infinite;
}
.tracking-status-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--success));
  margin-left: 0.75rem;
}
.tracking-preview-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
.tracking-preview-item svg { width: 1rem; height: 1rem; color: hsl(var(--muted-foreground)); }
.tracking-preview-item .city { font-weight: 500; color: hsl(var(--foreground)); }
.tracking-preview-item .time { margin-left: auto; color: hsl(var(--muted-foreground)); }

/* Hero Wave */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.hero-wave svg { display: block; width: 100%; }

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
  .hero-stat-value { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .hero-grid-layout { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3.75rem; }
  .hero-tracking-card { display: block; }
}
@media (min-width: 1280px) {
  .hero h1 { font-size: 4.5rem; }
}

/* ---- Section Shared ---- */
.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section-badge-primary { background:  hsla(25, 95%, 53%, 0.161) ; color: hsl(25 95% 53%); }
.section-badge-accent { background: hsl(var(--accent) / 0.1); color: hsl(var(--accent)); }
.section-badge-light { background: hsl(0 0% 100% / 0.1); color: hsl(var(--primary-foreground)); }



.section-badge-primary2 { background:  hsla(25, 95%, 53%, 0.161) ; color: hsl(25 95% 53%); }
.section-badge-accent2 { background: hsl(var(--accent) / 0.1); color: hsl(var(--accent)); }
.section-badge-light2 { background: hsl(0 0% 100% / 0.1); color: hsl(var(--primary-foreground)); }

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}


.section-title .text-primary { color: hsl(25 95% 53%); }
.section-title .text-accent { color: hsl(var(--accent)); }
.section-subtitle {
  font-size: 1.125rem;
  color: rgb(182, 182, 182);
  max-width: 48rem;
  margin: 0 auto;
}
.section-title2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(220 60% 20%);
  margin-bottom: 1.5rem;
} 
.section-title2 .text-primary2 { color: hsl(25, 95%, 53%); }
.section-title2 .text-accent2 { color: hsl(25 95% 53%); }
.section-subtitle2 {
  font-size: 1.125rem;
  color: rgb(147, 147, 147);
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) { .section-title2 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title2 { font-size: 3rem; } }

@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }

/* ---- About Section ---- */
.about {
  padding: 6rem 0;
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}
.about-bg-1, .about-bg-2 {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(48px);
}
.about-bg-1 { top: 0; right: 0; background: hsl(var(--primary) / 0.05); }
.about-bg-2 { bottom: 0; left: 0; background: hsl(var(--accent) / 0.05); }

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.about-text p:first-of-type { font-size: 1.125rem; }

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-highlight-item {
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  transition: all 0.3s;
}
.about-highlight-item:hover { border-color: hsl(var(--primary) / 0.3); box-shadow: var(--shadow-md); }
.about-highlight-item svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); margin: 0 auto 0.5rem; }
.about-highlight-value { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: hsl(var(--foreground)); }
.about-highlight-label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

.about-values { display: flex; flex-direction: column; gap: 1.5rem; }
.value-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s;
}
.value-card:hover { border-color: hsl(var(--primary) / 0.3); box-shadow: var(--shadow-lg); }
.value-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.value-card:hover .value-card-icon { transform: scale(1.1); }
.value-card-icon svg { width: 1.75rem; height: 1.75rem; color: hsl(var(--primary-foreground)); }
.value-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.value-card:hover h3 { color: hsl(var(--primary)); }
.value-card p { color: hsl(var(--muted-foreground)); line-height: 1.7; }

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Services Section ---- */
.services {
  padding: 6rem 0;
  background: hsl(var(--secondary) / 0.3);
  position: relative;
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: radial-gradient(circle at 2px 2px, hsl(var(--primary) / 0.15) 1px, transparent 0);
  background-size: 40px 40px;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}
.service-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  transition: all 0.5s;
}
.service-card:hover { border-color: hsl(var(--primary) / 0.3); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}
.service-card:hover .service-icon { background: hsl(var(--primary)); transform: scale(1.1); }
.service-icon svg { width: 2rem; height: 2rem; color: hsl(var(--primary)); transition: color 0.3s; }
.service-card:hover .service-icon svg { color: hsl(var(--primary-foreground)); }
.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.service-card:hover h3 { color: hsl(var(--primary)); }
.service-card > p { color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; flex-grow: 1; }

.service-features { margin-bottom: 1.5rem; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}
.service-features li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: hsl(var(--accent));
  flex-shrink: 0;
}

.services-bottom-cta {
  margin-top: 4rem;
  text-align: center;
}
.services-cta-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
}
.services-cta-text p:first-child { font-weight: 600; color: hsl(var(--foreground)); }
.services-cta-text p:last-child { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-cta-inner { flex-direction: row; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Tracking Section ---- */
.tracking {
  padding: 6rem 0;
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}
.tracking-bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37rem;
  height: 37rem;
  background: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.tracking-card-main {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 1.5rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
}
.tracking-search {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.tracking-search-input {
  position: relative;
  flex: 1;
}
.tracking-search-input svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.tracking-search-input input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 1.125rem;
  outline: none;
  transition: 0.3s;
}
.tracking-search-input input:focus {
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
  border-color: transparent;
}

/* Tracking Result */
.tracking-result { display: none; }
.tracking-result.show { display: block; }

.tracking-status-banner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--success) / 0.1);
  border: 1px solid hsl(var(--success) / 0.3);
  margin-bottom: 2rem;
}
.tracking-status-banner-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tracking-status-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--success) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tracking-status-icon svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--success)); }

/* Timeline */
.timeline-step {
  position: relative;
  display: flex;
  gap: 1rem;
  padding-bottom: 2rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-line {
  position: absolute;
  left: 1.5rem;
  top: 3rem;
  width: 2px;
  height: calc(100% - 3rem);
}
.timeline-line.completed { background: hsl(var(--primary)); }
.timeline-line.pending { background: hsl(var(--border)); }

.timeline-icon {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.timeline-icon.completed { background: hsl(var(--primary)); }
.timeline-icon.current { background: var(--gradient-hero); box-shadow: var(--shadow-glow); transform: scale(1.1); }
.timeline-icon.pending { background: hsl(var(--muted)); border: 2px solid hsl(var(--border)); }
.timeline-icon svg { width: 1.25rem; height: 1.25rem; }
.timeline-icon.completed svg, .timeline-icon.current svg { color: hsl(var(--primary-foreground)); }
.timeline-icon.pending svg { color: hsl(var(--muted-foreground)); }

.timeline-content {
  flex: 1;
  padding: 1rem;
  border-radius: 0.75rem;
}
.timeline-content.current { background: hsl(var(--primary) / 0.05); border: 1px solid hsl(var(--primary) / 0.3); }
.timeline-content:not(.current) { background: hsl(var(--muted) / 0.3); }
.timeline-content h4 { font-weight: 600; color: hsl(var(--foreground)); }
.timeline-content h4.current { color: hsl(var(--primary)); }
.timeline-content .location { font-size: 0.875rem; color: hsl(var(--muted-foreground)); display: flex; align-items: center; gap: 0.375rem; }
.timeline-content .location svg { width: 0.875rem; height: 0.875rem; }
.timeline-date { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }

.tracking-empty {
  text-align: center;
  padding: 2rem 0;
  color: hsl(var(--muted-foreground));
}
.tracking-empty svg { width: 4rem; height: 4rem; margin: 0 auto 1rem; opacity: 0.3; }

@media (min-width: 640px) {
  .tracking-search { flex-direction: row; }
  .tracking-status-banner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 768px) {
  .tracking-card-main { padding: 2.5rem; }
}

/* ---- Differentials Section ---- */
.differentials {
  padding: 6rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.differentials-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}
.diff-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}
.diff-header .section-title { color: hsl(var(--primary-foreground)); }
.diff-header .section-subtitle { color: hsl(var(--primary-foreground) / 0.8); }

.diff-grid {
  display: grid;
  gap: 1.5rem;
}
.diff-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(0 0% 100% / 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(0 0% 100% / 0.1);
  transition: all 0.3s;
}
.diff-card:hover { background: hsl(0 0% 100% / 0.1); border-color: hsl(0 0% 100% / 0.2); transform: translateY(-8px); }
.diff-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s;
}
.diff-card:hover .diff-card-icon { transform: scale(1.1); }
.diff-card-icon svg { width: 1.75rem; height: 1.75rem; }
.diff-card-icon.accent { background: hsl(var(--accent) / 0.1); color: hsl(var(--accent)); }
.diff-card-icon.primary { background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }
.diff-card-icon.success { background: hsl(var(--success) / 0.1); color: hsl(var(--success)); }
.diff-card-icon.destructive { background: hsl(var(--destructive) / 0.1); color: hsl(var(--destructive)); }

.diff-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.75rem;
}
.diff-card p { color: hsl(var(--primary-foreground) / 0.7); line-height: 1.7; }

.diff-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.diff-stat {
  text-align: center;
  padding: 1rem;
  border-radius: 0.75rem;
  background: hsl(0 0% 100% / 0.05);
  border: 1px solid hsl(0 0% 100% / 0.1);
}
.diff-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--accent));
  margin-bottom: 0.25rem;
}
.diff-stat-label { font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.7); }

@media (min-width: 640px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .diff-stats { grid-template-columns: repeat(4, 1fr); }
  .diff-stat-value { font-size: 2.25rem; }
}
@media (min-width: 1024px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Contact Section ---- */
.contact {
  padding: 6rem 0;
  background: hsl(var(--secondary) / 0.3);
  position: relative;
  overflow: hidden;
}
.contact-bg-1, .contact-bg-2 {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(48px);
}
.contact-bg-1 { top: 0; left: 0; background: hsl(var(--primary) / 0.05); }
.contact-bg-2 { bottom: 0; right: 0; background: hsl(var(--accent) / 0.05); }

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
.contact-form-card {
  padding: 2rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  outline: none;
  transition: 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: hsl(var(--muted-foreground)); }
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
  border-color: transparent;
}
.form-group textarea { resize: none; min-height: 6rem; }

.form-divider {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
}
.form-divider p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s;
}
.contact-info-card:hover { border-color: hsl(var(--primary) / 0.3); box-shadow: var(--shadow-lg); }
.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.contact-info-card:hover .contact-info-icon { background: hsl(var(--primary)); transform: scale(1.1); }
.contact-info-icon svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); transition: color 0.3s; }
.contact-info-card:hover .contact-info-icon svg { color: hsl(var(--primary-foreground)); }
.contact-info-label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-bottom: 0.25rem; }
.contact-info-value { font-weight: 600; font-size: 1.125rem; color: hsl(var(--foreground)); }
.contact-info-sub { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

.contact-map {
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map-inner { text-align: center; color: hsl(var(--primary-foreground)); }
.contact-map-inner svg { width: 3rem; height: 3rem; margin: 0 auto 0.75rem; opacity: 0.5; }
.contact-map-inner p:first-of-type { font-weight: 500; }
.contact-map-inner p:last-of-type { font-size: 0.875rem; opacity: 0.7; }

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Footer ---- */
.footer {
  background: hsl(var(--navy));
  color: hsl(var(--primary-foreground));
}
.footer-main {
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
.footer-brand p {
  color: hsl(var(--primary-foreground) / 0.7);
  margin-bottom: 1.5rem;
  max-width: 24rem;
  line-height: 1.7;
}
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary-foreground) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.footer-social svg { width: 1.25rem; height: 1.25rem; }

.footer-links h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  color: hsl(var(--primary-foreground) / 0.7);
  transition: color 0.3s;
}
.footer-links a:hover { color: hsl(var(--accent)); }

.footer-bottom {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.875rem; color: hsl(var(--primary-foreground) / 0.6); }
.footer-back-top {
  background: transparent;
  color: hsl(var(--primary-foreground) / 0.6);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
.footer-back-top:hover { color: hsl(var(--accent)); }
.footer-back-top svg { width: 1rem; height: 1rem; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom .container { flex-direction: row; }
}

/* ---- Animations ---- */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes route-dash {
  to { stroke-dashoffset: -20; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.animate-route { animation: route-dash 2s linear infinite; }

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Floating dots in hero */
.hero-dot {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--accent) / 0.6);
  animation: float 3s ease-in-out infinite;
}

/* Formulário SSW */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.form-group textarea,
.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.3s;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group textarea:focus,
.form-group input:focus {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .form-buttons {
    flex-direction: column;
  }
}

/* ---- Services Section Background ---- */
.services {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.services-bg-img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block !important; /* Força a exibição */
}

.services-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  z-index: 2;
}

/* Remove ou ajusta o services-bg original se estiver atrapalhando */
.services-bg {
  display: none; /* Esconde o padrão de pontos */
}

/* Ajusta os cards para melhor contraste */
.service-card {
  background: hsl(var(--card) / 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border) / 0.6);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: hsl(var(--card) / 0.98);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Garante que o container fique acima da imagem */
.services .container {
  position: relative;
  z-index: 10;
}

/* ---- Rastreamento Mobile ---- */
@media (max-width: 768px) {
  .tracking-card-main {
    padding: 1.5rem !important;
    margin: 0 1rem !important;
    border-radius: 1rem !important;
  }
  
  #ssw-form .form-group {
    margin-bottom: 1.25rem;
  }
  
  #ssw-form textarea,
  #ssw-form input {
    font-size: 16px !important; /* Evita zoom em iOS */
    padding: 0.875rem 1rem !important;
  }
  
  #ssw-form textarea {
    min-height: 120px;
  }
  
  .form-buttons {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  
  .form-buttons button {
    width: 100%;
    padding: 1rem !important;
  }
  
  .tracking-help {
    padding: 1rem !important;
    margin-top: 1.5rem !important;
  }
  
  .tracking-help ul {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
  }
  
  .tracking-help li {
    margin-bottom: 0.25rem;
    line-height: 1.4;
  }
  
  .section-title2 {
    font-size: 2rem !important;
    padding: 0 0.5rem;
  }
  
  .section-subtitle2 {
    font-size: 1rem !important;
    padding: 0 0.5rem;
  }
}

/* Melhorias gerais para formulário */
#notas_fiscais {
  min-height: 120px;
  line-height: 1.5;
}

#cnpj {
  letter-spacing: 0.5px;
}

/* Estados de foco melhorados */
#ssw-form input:focus,
#ssw-form textarea:focus {
  border-color: hsl(var(--primary)) !important;
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1) !important;
  outline: none;
}

/* Placeholders mais visíveis */
#ssw-form input::placeholder,
#ssw-form textarea::placeholder {
  color: hsl(var(--muted-foreground) / 0.8);
  opacity: 1;
}

/* Botão Limpar com estilo diferenciado */
#limpar-form {
  background: transparent;
  border: 2px solid hsl(var(--destructive) / 0.3);
  color: hsl(var(--destructive));
}

#limpar-form:hover {
  background: hsl(var(--destructive) / 0.1);
  border-color: hsl(var(--destructive));
}

/* Indicador de campo obrigatório */
.form-group label::after {
  content: " *";
  color: hsl(var(--destructive));
  opacity: 0.8;
}

.form-group input[type="password"] + label::after {
  content: ""; /* Remove asterisco do campo opcional */
}



