html {
  scroll-behavior: smooth;
}

section[id],
div[id] {
  scroll-margin-top: 100px;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(150deg, #4166d1 0%, #e6eafc 100%);
  color: #333;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: inherit;
  filter: blur(80px);
  z-index: -1;
  transform: scale(1.1);
}

a { text-decoration: none; }

/* Header e Topbar */
header {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1001;
}

.logo-container img { width: 100%; max-width: 350px; }

.topbar {
  background-color: #ffde4d;
  padding: 10px;
  font-size: 16px;
  color: #444;
  text-align: center;
}

/* ========================= */
/* Menu */
nav {
  background-color: #1e3a8a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}

nav .nav-links {
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  padding: 10px 5px;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
}

nav a:hover { color: #facc15; transform: scale(1.05); }

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  nav .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #1e3a8a;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  nav .nav-links.show { max-height: 500px; }

  .hamburger { display: block; }
}

/* ========================= */
/* Hero */
.hero {
  padding: 60px 20px;
  text-align: center;
  border-radius: 16px;
  margin: 30px auto;
  max-width: 960px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(30,58,138,0.1);
  opacity: 1;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
.hero .brand { color: #1e3a8a; font-weight: 700; }
.hero .brand-red { color: #d62828; font-weight: 600; text-shadow: 0 0 1px #000; }
.hero .brand-white { color: #fff; font-weight: 600; text-shadow: 0 0 2px #000; }
.hero .lead { font-size: 1.1rem; margin-bottom: 30px; color: #333; }

.hero-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.hero-features li {
  background: linear-gradient(135deg, #ffffff, #f4f6fb);
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-weight: 600;
  color: #223;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.hero-features li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* ========================= */
/* Container e Reboques */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.container h1 { text-align: center; color: #333; margin-bottom: 20px; font-size: 2rem; }

.reboques {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.reboque {
  background: linear-gradient(145deg, #ffffff, #f4f6fb);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.reboque:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.reboque img { width: 100%; height: auto; }
.reboque-info { padding: 20px; }
.reboque-info h3 { color: #1e3a8a; margin-bottom: 8px; }

/* Informações */
.informacoes {
  background-color: #fff;
  padding: 35px 25px;
  border-radius: 16px;
  margin: 60px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
}

/* WhatsApp */
.whatsapp {
  text-align: center;
  margin: 60px 0;
  opacity: 0;
  transform: translateY(20px);
}

.whatsapp a {
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

/* Mapa */
.mapa-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  margin-top: 30px;
  opacity: 0;
  transform: translateY(20px);
}

.mapa-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* Footer */
footer {
  background-image: url('../img/fundo.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 20px 20px;
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

footer > div { position: relative; max-width: 1200px; margin: auto; z-index: 1; }

footer .social-icons {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
}

footer .social-icons a {
  color: #ccc;
  font-size: 32px;
  transition: color 0.3s ease, transform 0.2s ease;
}

footer .social-icons a:hover {
  color: #fff;
  transform: scale(1.1);
}

/* ========================= */
/* Animações */
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.show-element { opacity: 1 !important; transform: translateY(0) !important; transition: all 0.6s ease; }

