:root {
  --green-950: #0b3522;
  --green-900: #104a2d;
  --green-800: #145f37;
  --green-700: #167844;
  --green-600: #1d9151;
  --lime: #76b82a;
  --orange: #f28b1b;
  --orange-2: #ffad32;
  --cream: #f6f5ed;
  --paper: #fffef9;
  --ink: #163226;
  --muted: #627169;
  --line: rgba(22, 50, 38, .12);
  --shadow: 0 20px 60px rgba(9, 54, 31, .12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 999; background: #fff; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 104px;
  display: flex;
  align-items: center;
  transition: .3s ease;
}
.site-header.scrolled { height: 92px; background: rgba(255, 254, 249, .96); box-shadow: 0 10px 30px rgba(12, 58, 34, .08); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 146px; flex: 0 0 auto; display: block; padding: 8px; border-radius: 26px; background: rgba(255,255,255,.98); box-shadow: 0 14px 34px rgba(5, 34, 18, .18); }
.site-header:not(.scrolled) .brand img { filter: none; }
.site-header.scrolled .brand { background: #fff; box-shadow: 0 10px 24px rgba(10, 56, 31, .10); }
.brand img { width: 100%; height: auto; display: block; }
.contact-logo img { width: 150px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; color: #fff; font-size: 14px; font-weight: 700; }
.site-header.scrolled .main-nav { color: var(--green-950); }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--orange); transition: right .25s ease; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { color: white !important; background: var(--orange); padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 24px rgba(242, 139, 27, .3); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: rgba(255,255,255,.15); padding: 11px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 4px; transition: .25s ease; }
.site-header.scrolled .menu-toggle { background: var(--cream); }
.site-header.scrolled .menu-toggle span { background: var(--green-950); }

.hero { min-height: 100svh; position: relative; display: grid; align-items: center; color: white; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url('assets/fachada-frota.webp') center 58% / cover no-repeat; transform: scale(1.02); animation: heroZoom 16s ease-in-out infinite alternate; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,33,18,.88) 0%, rgba(8,52,29,.68) 47%, rgba(5,26,14,.18) 82%), linear-gradient(0deg, rgba(7,40,24,.55), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; color: #dff4c9; }
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--orange); }
.hero h1 { max-width: 820px; margin: 20px 0 22px; font-size: clamp(3.2rem, 6.8vw, 6.9rem); line-height: .96; letter-spacing: -.055em; font-weight: 900; text-wrap: balance; }
.hero p { max-width: 650px; margin: 0; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 22px; fill: currentColor; }
.button-primary { color: white; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 14px 30px rgba(242,139,27,.3); }
.button-primary:hover { box-shadow: 0 18px 36px rgba(242,139,27,.4); }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.button-light { color: var(--green-950); background: white; box-shadow: 0 12px 28px rgba(0,0,0,.15); }
.hero-proof { display: flex; gap: 40px; margin-top: 54px; }
.hero-proof div { display: grid; gap: 1px; padding-left: 16px; border-left: 2px solid rgba(255,255,255,.22); }
.hero-proof strong { font-size: 15px; }
.hero-proof span { color: rgba(255,255,255,.68); font-size: 13px; }
.scroll-indicator { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 28px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; transform: translateX(-50%); }
.scroll-indicator span { position: absolute; width: 4px; height: 8px; border-radius: 99px; background: #fff; left: 50%; top: 9px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }

.section { padding: 110px 0; }
.section-kicker { display: inline-block; color: var(--green-700); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.section h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.section p { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 80px; }
.about-media { position: relative; }
.about-media::before { content: ""; position: absolute; inset: -24px 38% 42% -24px; border-radius: var(--radius-xl); background: #e9f2df; z-index: -1; }
.about-media img { width: 100%; height: 640px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.media-badge { position: absolute; right: -28px; bottom: 42px; min-width: 190px; background: var(--green-900); color: white; padding: 20px 22px; border-radius: var(--radius-md); box-shadow: 0 18px 42px rgba(6,48,27,.25); }
.media-badge strong, .media-badge span { display: block; }
.media-badge strong { font-size: 18px; }
.media-badge span { color: rgba(255,255,255,.72); font-size: 13px; }
.about-copy h2 { max-width: 600px; }
.about-copy > p { font-size: 17px; max-width: 570px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0; }
.check-list div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.check-list span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e4f3db; color: var(--green-700); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green-800); font-weight: 900; }
.text-link span { font-size: 20px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.section-products { background: var(--cream); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 46px; }
.section-heading h2 { max-width: 720px; }
.section-heading > p { max-width: 360px; margin: 0 0 8px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-950); box-shadow: 0 16px 40px rgba(20,67,42,.12); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.product-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,34,18,.93) 0%, rgba(8,44,24,.12) 70%); }
.product-card:hover img { transform: scale(1.055); }
.product-card-content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; color: white; padding: 30px; }
.product-card-content > span { color: #cde9b8; font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.product-card h3 { margin: 8px 0 8px; font-size: 25px; line-height: 1.1; }
.product-card p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }

.fresh-banner { position: relative; padding: 88px 0; background: linear-gradient(135deg, var(--green-950), var(--green-700)); color: white; overflow: hidden; }
.fresh-banner::before, .fresh-banner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.fresh-banner::before { width: 420px; height: 420px; right: -140px; top: -220px; }
.fresh-banner::after { width: 280px; height: 280px; left: -120px; bottom: -180px; }
.fresh-banner-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.fresh-banner h2 { margin: 0; max-width: 780px; font-size: clamp(2.1rem, 4.5vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; }
.section-kicker-light { color: #d6efc2; }

.section-gallery { overflow: hidden; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; gap: 18px; }
.gallery-item { border: 0; padding: 0; overflow: hidden; border-radius: 18px; cursor: zoom-in; background: #ddd; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1.08); }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }

.section-contact { padding-top: 40px; }
.contact-card { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 44px; padding: 46px; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-logo { padding-right: 30px; border-right: 1px solid var(--line); display: grid; place-items: center; }
.contact-copy h2 { margin-bottom: 10px; font-size: clamp(2rem, 4vw, 3.4rem); }
.contact-copy p { margin: 0 0 10px; }
.phone-link { color: var(--green-800); font-size: 19px; font-weight: 900; }
.contact-button { white-space: nowrap; }

.site-footer { padding: 60px 0 30px; background: #edf1e8; }
.footer-inner > img { width: 180px; }
.footer-inner > p { margin: 12px 0 36px; color: var(--muted); }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: #6b756f; font-size: 13px; }
.footer-bottom a { font-weight: 800; color: var(--green-800); }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; min-height: 58px; display: flex; align-items: center; gap: 10px; color: white; background: #24d366; padding: 0 20px 0 16px; border-radius: 999px; box-shadow: 0 16px 34px rgba(12,98,46,.28); font-weight: 900; font-size: 14px; transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.02); }
.whatsapp-float svg { width: 28px; fill: currentColor; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3,20,11,.94); display: grid; place-items: center; padding: 34px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 95vw); max-height: 88vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lightbox-close { position: fixed; right: 24px; top: 20px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: white; font-size: 30px; line-height: 1; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.08); } }
@keyframes scrollDot { 0%,100% { opacity: 0; transform: translate(-50%,0); } 40% { opacity: 1; } 70% { opacity: 1; transform: translate(-50%,15px); } }

@media (max-width: 980px) {
  .site-header { height: 88px; }
  .brand { width: 128px; padding: 7px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: 0; padding: 120px 32px 40px; display: flex; flex-direction: column; align-items: flex-start; background: var(--green-950); color: white !important; font-size: 24px; transform: translateX(100%); transition: transform .32s ease; }
  .main-nav.open { transform: none; }
  .main-nav .nav-cta { margin-top: 16px; font-size: 16px; }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero h1 { max-width: 720px; }
  .hero-media { background-position: 61% center; }
  .about-grid { grid-template-columns: 1fr; gap: 54px; }
  .about-media img { height: 560px; }
  .about-copy { max-width: 720px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card:last-child { grid-column: span 2; min-height: 460px; }
  .fresh-banner-inner { align-items: flex-start; flex-direction: column; }
  .contact-card { grid-template-columns: 180px 1fr; }
  .contact-button { grid-column: 2; justify-self: start; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand { width: 112px; padding: 6px; }
  .hero { min-height: 860px; }
  .hero-media { background-image: url('assets/caminhao-estrada.webp'); background-position: 52% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(4,31,17,.94) 0%, rgba(4,31,17,.56) 68%, rgba(4,31,17,.35) 100%); }
  .hero-content { padding-top: 120px; padding-bottom: 90px; align-self: end; }
  .hero h1 { font-size: clamp(2.8rem, 14.5vw, 4.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-proof { gap: 20px; flex-wrap: wrap; }
  .hero-proof div { min-width: 42%; }
  .section { padding: 78px 0; }
  .about-media img { height: 460px; }
  .about-media::before { inset: -14px 32% 48% -14px; }
  .media-badge { right: 12px; bottom: 18px; }
  .check-list { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card:last-child { grid-column: auto; min-height: 470px; }
  .fresh-banner { padding: 70px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 2; }
  .contact-card { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; }
  .contact-logo { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-button { grid-column: auto; width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .whatsapp-float { width: 58px; height: 58px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
