:root {
  --verde-escuro: #1a3a2a;
  --verde-medio: #2d5a3d;
  --verde-claro: #4a7c59;
  --dourado: #c8a84b;
  --dourado-claro: #e8c96b;
  --branco: #f5f2ec;
  --cinza-claro: #e8e4dc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--branco);
  color: var(--verde-escuro);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 58, 42, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 168, 75, 0.2);
}

.nav-logo img {
  height: 65px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(245, 242, 236, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--dourado); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px 0;
  background: rgba(245, 242, 236, 0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--verde-escuro);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74, 124, 89, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 168, 75, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0d2118 0%, #1a3a2a 50%, #243d2e 100%);
}

.road-lines {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 40%;
  background: repeating-linear-gradient(
    to bottom,
    var(--dourado) 0px,
    var(--dourado) 40px,
    transparent 40px,
    transparent 80px
  );
  opacity: 0.3;
  pointer-events: none;
}

.road-lines::before, .road-lines::after {
  content: '';
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background: inherit;
  opacity: 0.5;
}
.road-lines::before { left: -80px; }
.road-lines::after { right: -80px; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 168, 75, 0.15);
  border: 1px solid rgba(200, 168, 75, 0.4);
  color: var(--dourado-claro);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
  animation: fadeUp 1s 0.2s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--branco);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s 0.3s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--dourado);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245, 242, 236, 0.65);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  font-weight: 300;
  animation: fadeUp 1s 0.4s ease both;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.5s ease both;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1.1rem 2.5rem;
  border-radius: 4px;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.btn-whatsapp:hover::before { transform: translateX(0); }
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1.1rem 2.5rem;
  border-radius: 4px;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(0, 123, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-email::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.btn-email:hover::before { transform: translateX(0); }
.btn-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 123, 255, 0.45);
}

.btn-email svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--branco);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 1.1rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(245, 242, 236, 0.25);
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--dourado);
  color: var(--dourado);
  transform: translateY(-3px);
}

/* STATS — agora no fluxo normal, abaixo do conteúdo */
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
  animation: fadeUp 1s 0.7s ease both;
}

.stat {
  text-align: center;
  color: rgba(245,242,236,0.5);
}

.stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dourado);
  line-height: 1;
}

.stat span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
}

/* SOBRE */
.sobre {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.sobre-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 1rem;
}

.sobre h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--verde-escuro);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.sobre p {
  color: #4a5a50;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.valores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.valor-card {
  background: var(--verde-escuro);
  color: var(--branco);
  padding: 1.8rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.valor-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 100%;
  background: var(--dourado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.valor-card:hover::after { transform: scaleX(1); }

.valor-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dourado);
  margin-bottom: 0.5rem;
}

.valor-card p {
  font-size: 0.85rem;
  color: rgba(245,242,236,0.65);
  line-height: 1.7;
}

/* SERVICOS */
.servicos {
  background: var(--verde-escuro);
  padding: 8rem 4rem;
  position: relative;
  overflow: hidden;
}

.servicos::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,75,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.servicos-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dourado);
  display: block;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--branco);
  font-weight: 700;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.servico-card {
  background: rgba(245,242,236,0.05);
  border: 1px solid rgba(200,168,75,0.15);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  transition: all 0.4s;
}

.servico-card:hover {
  background: rgba(200,168,75,0.08);
  border-color: rgba(200,168,75,0.4);
  transform: translateY(-6px);
}

.servico-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.servico-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--branco);
  margin-bottom: 1rem;
}

.servico-card p {
  color: rgba(245,242,236,0.55);
  font-size: 0.9rem;
  line-height: 1.8;
}

.frota {
  background: var(--branco);
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.frota-inner {
  display: grid;
  gap: 3rem;
}

.frota-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.frota-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 1rem;
}

.frota h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--verde-escuro);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.frota p {
  color: #4a5a50;
  line-height: 1.9;
  font-size: 1.05rem;
  max-width: 780px;
  margin: 0 auto;
}

.frota-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.frota-card {
  background: #fff;
  border: 1px solid rgba(26,58,42,0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(26,58,42,0.05);
}

.frota-image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
   transition: transform 0.4s;
}

.frota-card:hover .frota-image {
  transform: scale(1.05);
}

.img4-bottom {
  object-position: bottom;
}

.frota-card-body {
  padding: 1.5rem;
}

.frota-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--verde-escuro);
  margin-bottom: 0.75rem;
}

.frota-card-body p {
  color: #4a5a50;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* CTA FINAL */
.cta-final {
  padding: 8rem 4rem;
  text-align: center;
  background: var(--branco);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,124,89,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--verde-escuro);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
}

.cta-final p {
  color: #4a5a50;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  position: relative;
}

.cta-final .btn-whatsapp {
  font-size: 1.1rem;
  padding: 1.3rem 3rem;
  border-radius: 4px;
  position: relative;
}

/* FOOTER */
footer {
  background: #0d1f16;
  color: rgba(245,242,236,0.45);
  text-align: center;
  padding: 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

footer strong { color: var(--dourado); }

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--verde-escuro);
  color: var(--branco);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(26, 58, 42, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dourado);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200, 168, 75, 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* IMAGE MODAL */
.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.image-modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 58, 42, 0.9);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: 5vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomIn 0.3s ease-out;
}

#modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(245, 242, 236, 0.1);
  color: var(--branco);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.modal-close:hover {
  background: var(--dourado);
  transform: scale(1.1);
}

.modal-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.modal-nav-btn {
  background: rgba(245, 242, 236, 0.1);
  color: var(--branco);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: auto;
}

.modal-nav-btn:hover {
  background: var(--dourado);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 58, 42, 0.98);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(200, 168, 75, 0.2);
    z-index: 99;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.9rem 0;
    font-size: 1rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(245, 242, 236, 0.08);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .hero { padding-top: 90px; padding-bottom: 3rem; }
  .hero-stats { gap: 2rem; margin-top: 2.5rem; }
  .sobre { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .servicos { padding: 5rem 1.5rem; }
  .servicos-grid { grid-template-columns: 1fr; }
  .cta-final { padding: 5rem 1.5rem; }
  .valores-grid { grid-template-columns: 1fr; }
  .valor-card[style] { grid-column: span 1 !important; }

  /* Modal responsive */
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
    margin: 2.5vh auto;
  }

  .modal-close {
    top: -45px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  .modal-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .modal-navigation {
    padding: 0 10px;
  }
}