html {
  scroll-behavior: smooth;
}

:root {
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --ink: #2A2A25;
  --ink-soft: #726F64;
  --ink-faint: #A6A296;
  --accent: #5B6B4F;
  --paper: #FFFFFF;
  --paper-alt: #FAF9F5;
  --line: #EBE8DF;
  --radius: 6px;
  --maxw: 1180px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: .72rem;
  text-align: center;
  letter-spacing: .03em;
  border: 1px solid var(--line);
  background: var(--paper-alt);
  padding: 8px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  color: var(--ink-faint);
  font-weight: 600;
  margin: 0 0 14px;
}

h1, h2, h3 {
  margin: 0 0 14px;
  line-height: 1.25;
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -.01em;
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

h3 {
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 600;
}

p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: .98rem;
}

a {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  border: none;
  font-family: inherit;
}

.btn:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-faint);
}

section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

section.alt {
  background: var(--paper-alt);
}

.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}

.rule {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 20px;
}

/* HEADER */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
}

.logo {
  font-family: var(--font-heading);
  letter-spacing: .06em;
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
}

nav.main ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .02em;
}

nav.main a:hover {
  color: var(--ink);
}

.nav-cta a {
  padding: 10px 20px;
  font-size: .72rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 720px) {
  nav.main {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px 32px;
    display: none;
  }
  nav.main.open {
    display: block;
  }
  nav.main ul {
    flex-direction: column;
    gap: 16px;
  }
  .menu-toggle {
    display: block;
  }
}

/* HERO */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero p.lead {
  font-size: 1.05rem;
  max-width: 480px;
}

.hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-bg {
  margin-top: 56px;
  height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-bg img, .hero-bg video {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* STATS BAR */
.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 32px 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: none;
  padding-left: 0;
}

.stat .num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 4px;
}

.stat .lbl {
  font-size: .68rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* TWO COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.two-col .ph, .two-col img {
  height: 200px;
  margin-bottom: 20px;
  border-radius: var(--radius);
}

/* MACAUBA */
.macauba-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.macauba-grid .ph, .macauba-grid img {
  height: 360px;
  border-radius: var(--radius);
}

ul.checklist {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

ul.checklist li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: .95rem;
}

ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.timeline {
  display: flex;
  gap: 0;
  margin-top: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.timeline span {
  font-size: .68rem;
  color: var(--ink-faint);
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 18px 0 0;
}

/* DIFERENCIAIS */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.diff-card {
  padding: 28px 22px 0;
  border-right: 1px solid var(--line);
}

.diff-card:last-child {
  border-right: none;
}

.diff-card .index {
  font-family: var(--font-heading);
  font-size: .82rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
  display: block;
}

.diff-card h3 {
  margin-bottom: 8px;
  font-size: .98rem;
}

.diff-card p {
  font-size: .86rem;
  margin: 0;
}

.diff-foot {
  margin-top: 32px;
  font-size: .8rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

/* PRODUTOS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-card {
  background: var(--paper);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.product-card .ph, .product-card img {
  height: 170px;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.product-card .body {
  padding: 24px;
}

.product-card .proof {
  font-size: .72rem;
  color: var(--ink-faint);
  margin-top: 10px;
  letter-spacing: .02em;
}

.product-card a.link {
  display: inline-block;
  margin-top: 16px;
  font-size: .78rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* VIDEO */
.video-block {
  background: var(--paper-alt);
  text-align: center;
  padding: 100px 0;
}

.video-frame {
  max-width: 800px;
  margin: 32px auto 0;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-frame .ph {
  position: absolute;
  inset: 0;
}

/* GALERIA */
.gallery-tabs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.gallery-tabs button {
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0 0 4px;
}

.gallery-tabs button.active {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.gallery-grid .ph, .gallery-grid img {
  aspect-ratio: 1;
  font-size: .62rem;
  border-radius: 0;
}

.gallery-grid .item.hidden {
  display: none;
}

/* ANIMAÇÕES E HOVER SUAVE NAS IMAGENS */
.gallery-grid img, 
.product-card img, 
.macauba-grid img, 
.two-col img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-grid .item:hover img, 
.product-card:hover img {
  transform: scale(1.03);
}

/* CONTATO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.map-block {
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
}

.map-block iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info {
  font-size: .88rem;
  color: var(--ink-soft);
}

/* ETICA */
.ethics {
  background: var(--paper);
  text-align: left;
  padding: 56px 0;
}

.ethics .wrap {
  max-width: 620px;
}

.ethics ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.ethics li {
  margin-bottom: 8px;
  font-size: .86rem;
  color: var(--ink-soft);
}

/* FOOTER */
footer.site {
  background: var(--paper);
  color: var(--ink-soft);
  padding: 40px 0 24px;
  border-bottom: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}

.footer-top .logo {
  color: var(--ink);
}

.social-row {
  display: flex;
  gap: 20px;
}

.social-row a {
  font-size: .74rem;
  letter-spacing: .03em;
  color: var(--ink-faint);
  text-decoration: none;
}

.social-row a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .two-col, .macauba-grid, .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diff-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .stats .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .diff-grid {
    grid-template-columns: 1fr;
  }
  .diff-card {
    border-right: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 64px 0;
  }
}