/* JDS Máquinas | Landing page sem dependências */
:root {
  --black: #050505;
  --panel: #101010;
  --panel-2: #181818;
  --yellow: #f5b800;
  --yellow-light: #ffd84a;
  --white: #f5f5f5;
  --muted: #b7b7b7;
  --line: #323232;
  --radius: 10px;
  --shadow: 0 18px 45px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(1180px, 92%); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,5,5,.96);
  border-bottom: 1px solid #222;
  backdrop-filter: blur(8px);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { flex: 0 0 auto; }
.brand img { width: 170px; height: 74px; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: #ddd;
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.main-nav a:hover { color: var(--yellow); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 6px;
  background: var(--yellow);
  color: #111;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(245,184,0,.18);
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--yellow-light); }
.button-header { min-height: 46px; white-space: nowrap; }
.menu-button { display: none; }

.hero {
  min-height: 650px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 38%, rgba(0,0,0,.14) 72%, rgba(0,0,0,.28) 100%),
    linear-gradient(0deg, rgba(0,0,0,.45), transparent 45%),
    url("assets/hero.jpg") center/cover no-repeat;
}
.hero-content { position: relative; z-index: 1; padding-block: 90px; }
.hero-content > * { max-width: 670px; }
.eyebrow, .section-kicker {
  color: var(--yellow);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 12px 0 22px;
  font-size: clamp(2.55rem, 5.6vw, 5rem);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: -.045em;
}
.hero-copy {
  margin: 0 0 30px;
  color: #e3e3e3;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  max-width: 620px;
}

.section { padding: 88px 0; }
.section-dark { background: var(--panel); border-block: 1px solid #252525; }
.section h2, .final-cta h2 {
  margin: 7px 0 38px;
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -.035em;
}
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.text-block { color: #d2d2d2; font-size: 1.08rem; }
.text-block p:first-child { margin-top: 0; }
.text-block p:last-child { margin-bottom: 0; }

.card-grid { display: grid; gap: 20px; }
.fleet-grid { grid-template-columns: repeat(3, 1fr); }
.machine-card, .implement-card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.machine-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-content { padding: 22px; }
.machine-card h3, .implement-card h3 {
  margin: 0;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.machine-card dl { margin: 20px 0 0; }
.machine-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  border-top: 1px solid #303030;
}
.machine-card dt { color: var(--muted); }
.machine-card dd { margin: 0; font-weight: 700; }

.implements-grid { grid-template-columns: repeat(4, 1fr); }
.implement-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #151515;
}
.implement-card h3 { min-height: 82px; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.services-grid div {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 20px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: 7px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .92rem;
}

.differences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.differences div {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 7px;
}
.differences strong, .differences span { display: block; }
.differences strong { margin-bottom: 8px; text-transform: uppercase; }
.differences span { color: var(--muted); }

.final-cta {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid #292929;
}
.final-cta-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.74) 50%, rgba(0,0,0,.20)),
    url("assets/cta.jpg") center/cover no-repeat;
}
.final-cta-content { position: relative; z-index: 1; padding-block: 72px; }
.final-cta-content p:not(.section-kicker) { color: #ddd; font-size: 1.08rem; margin: -20px 0 26px; }

.site-footer { padding: 34px 0; background: #020202; border-top: 1px solid #222; }
.footer-inner { display: flex; align-items: center; gap: 24px; }
.footer-inner img { width: 135px; height: 70px; object-fit: contain; }
.footer-inner div { display: grid; }
.footer-inner div span, .footer-inner small { color: #999; }
.footer-inner a { margin-left: auto; color: var(--yellow); text-decoration: none; font-weight: 800; }
.footer-inner small { margin-left: 18px; }

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: none;
  padding: 13px 17px;
  border-radius: 999px;
  background: var(--yellow);
  color: #111;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 10px 32px rgba(0,0,0,.45);
}

@media (max-width: 980px) {
  .button-header { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 18px 4%;
    flex-direction: column;
    background: #090909;
    border-bottom: 1px solid #292929;
  }
  .main-nav.open { display: flex; }
  .menu-button {
    margin-left: auto;
    display: grid;
    gap: 5px;
    width: 44px;
    height: 42px;
    place-content: center;
    border: 1px solid #333;
    border-radius: 5px;
    background: #111;
  }
  .menu-button span { display: block; width: 22px; height: 2px; background: var(--yellow); }
  .hero { min-height: 590px; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .implements-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .differences { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 140px; height: 62px; }
  .main-nav { top: 72px; }
  .hero { min-height: 610px; align-items: end; }
  .hero-background {
    background:
      linear-gradient(0deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.85) 46%, rgba(0,0,0,.16) 100%),
      url("assets/hero.jpg") 62% center/cover no-repeat;
  }
  .hero-content { padding-block: 70px 50px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .button { width: 100%; padding-inline: 16px; text-align: center; }
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 10px; }
  .fleet-grid, .implements-grid, .services-grid { grid-template-columns: 1fr; }
  .machine-card img { aspect-ratio: 16 / 11; }
  .implement-card img { aspect-ratio: 16 / 10; }
  .footer-inner { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-inner a, .footer-inner small { width: 100%; margin: 0; }
  .floating-whatsapp { display: block; }
}
