/* ===== Solução Ambiental — Design tokens (Figma) ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --design-w: 1920;
  --design-h: 6238px;
  --white: #ffffff;
  --brown: #be8b51;
  --green: #7f9c76;
  --green-text: #889c77;
  --dark-brown: #8f6326;
  --card-bg: #b5ab9f;
  --gray: #545455;
  --font-helvetica: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-inter: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-inter);
  background: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: none;
}

a {
  text-decoration: none;
  color: inherit;
}

strong {
  font-weight: 700;
}

/* ===== Canvas scaling (1920px Figma artboard) ===== */
.site-canvas {
  --scale: min(1, 100vw / 1920px);
  width: calc(1920px * var(--scale));
  min-height: calc(var(--design-h) * var(--scale));
  margin: 0 auto;
  position: relative;
  background: var(--white);
}

.site-canvas__inner {
  width: 1920px;
  min-height: 3162px;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(var(--scale));
  transform-origin: top left;
}

.el {
  position: absolute;
}

.dobra {
  left: 0;
  width: 1920px;
}

.dobra-services,
.dobra-steps,
.dobra-patrimonio {
  left: 90px;
  width: 1830px;
}

.dobra-about {
  left: 0;
  width: 1920px;
}

/* ===== Header ===== */
.header-bar {
  left: 0;
  top: 0;
  width: 1920px;
  height: 113px;
  background: var(--white);
  border-radius: 139px;
  z-index: 10;
}

.header-nav {
  display: flex;
  gap: 47px;
  z-index: 11;
}

.header-nav .nav-link {
  font-family: var(--font-inter);
  font-size: 20.64px;
  font-weight: 400;
  color: var(--dark-brown);
  white-space: nowrap;
  transition: color 0.2s;
}

.header-nav .nav-link:hover {
  color: var(--brown);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 200px;
  height: 55px;
  padding: 9px 18px;
  border-radius: 9px;
  font-family: var(--font-helvetica);
  font-size: 20.64px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  transition: filter 0.2s;
  z-index: 11;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-green {
  background: var(--green);
}

.btn-brown {
  background: var(--brown);
}

.btn-wa img {
  flex-shrink: 0;
}

.btn-hit {
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  left: 0;
  top: 0;
  width: 1920px;
  height: 1030px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg img {
  position: absolute;
  left: 0;
  width: 100%;
  object-fit: cover;
}

.hero__bg img:first-child {
  top: 0;
  height: 1030px;
}

.hero__bg-overlay {
  top: -85px;
  height: 1201px;
}

.hero-content {
  z-index: 5;
}

.t-hero-title {
  font-family: var(--font-helvetica);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.16;
  color: var(--white);
  width: 602px;
  margin-bottom: 28px;
}

.t-hero-sub {
  font-family: var(--font-inter);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  width: 482px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-card {
  position: absolute;
  right: 0;
  top: 116px;
  width: 292px;
  height: 357px;
  padding: 16px 13px;
  background: var(--brown);
  border: 3px solid var(--white);
  border-radius: 8px;
}

.hero-card h2 {
  font-family: var(--font-helvetica);
  font-size: 26.44px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-card p {
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

.hero-features {
  display: flex;
  gap: 102px;
  z-index: 5;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-feature img {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.hero-feature span {
  font-family: var(--font-inter);
  font-size: 26.13px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

/* ===== About (Dobra 2) ===== */
.dobra-about {
  background: var(--white);
}

.about-badge {
  position: absolute;
  left: 71px;
  top: 74px;
  width: 484px;
  height: 108px;
  display: flex;
  align-items: center;
  padding: 17px 19px;
  background: var(--brown);
  border-radius: 69px;
  font-family: var(--font-helvetica);
  font-size: 64px;
  font-weight: 700;
  color: var(--white);
}

.t-about-body {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark-brown);
}

.t-about-body strong {
  font-weight: 700;
}

/* ===== Services (Dobra 3) ===== */
.t-section-brown {
  font-family: var(--font-helvetica);
  font-size: 64px;
  font-weight: 700;
  color: var(--brown);
  position: absolute;
}

.services-grid {
  position: absolute;
  left: 109px;
  top: 172px;
  display: grid;
  grid-template-columns: repeat(4, 305px);
  grid-template-rows: repeat(2, 305px);
  gap: 47px 48px;
}

.service-card {
  position: relative;
  width: 305px;
  height: 305px;
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 35px 36px;
}

.service-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-helvetica);
  font-size: 23.78px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray);
  margin-top: auto;
}

/* ===== Como Funciona (Dobra 4) ===== */
.steps-list {
  position: absolute;
  left: 170px;
  top: 193px;
  display: flex;
  gap: 63px;
  list-style: none;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  border: 3px solid var(--brown);
  border-radius: 50%;
  font-family: var(--font-helvetica);
  font-size: 24px;
  font-weight: 700;
  color: var(--brown);
  flex-shrink: 0;
}

.step-text {
  font-family: var(--font-helvetica);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.17;
  color: var(--dark-brown);
}

/* ===== Diferenciais (Dobra 5) ===== */
.dobra-diferenciais {
  left: 0;
  width: 1920px;
}

.dobra-diferenciais__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-diferenciais-label {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 48px;
  font-weight: 700;
  color: var(--green-text);
  z-index: 2;
}

.t-diferenciais-title {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark-brown);
  z-index: 2;
}

.diferenciais-grid {
  position: absolute;
  left: 355px;
  top: 496px;
  display: grid;
  grid-template-columns: 463px 433px 354px;
  grid-template-rows: 69px 69px;
  row-gap: 35px;
  z-index: 2;
}

.diferencial-item {
  display: flex;
  align-items: center;
  gap: 24px;
}

.diferencial-item img {
  width: 49px;
  height: 69px;
  object-fit: contain;
  flex-shrink: 0;
}

.diferencial-item span {
  font-family: var(--font-helvetica);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.17;
  color: var(--dark-brown);
}

/* ===== Patrimônio (Dobra 6) ===== */
.t-patrimonio-title {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.24;
  color: var(--dark-brown);
}

.text-green {
  color: var(--green);
}

.t-patrimonio-desc {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.16;
  color: var(--dark-brown);
}

.t-patrimonio-sub {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 50px;
  font-weight: 700;
  color: var(--green-text);
}

.problemas-grid {
  position: absolute;
  left: 31px;
  top: 671px;
  display: grid;
  grid-template-columns: 285px 235px 306px;
  grid-template-rows: 74px 74px;
  column-gap: 179px;
  row-gap: 38px;
}

.problema-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.problema-item img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: 10px;
}

.problema-item:first-child img {
  margin-top: 0;
}

.problema-item span {
  font-family: var(--font-helvetica);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.16;
  color: var(--dark-brown);
}

.resolve-box {
  position: absolute;
  left: 1344px;
  top: 599px;
  width: 362px;
  height: 330px;
}

.resolve-line {
  width: 5px;
  height: 100%;
  background: #000;
}

.resolve-icon {
  position: absolute;
  left: 246px;
  top: 24px;
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.t-resolve {
  position: absolute;
  left: 30px;
  top: 81px;
  font-family: var(--font-helvetica);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.36;
  color: var(--dark-brown);
}

/* ===== CTA (Dobra 7) ===== */
.dobra-cta {
  left: 0;
  width: 1920px;
}

.dobra-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-cta-title {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  z-index: 2;
}

.t-cta-desc {
  position: absolute;
  font-family: var(--font-inter);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--white);
  z-index: 2;
}

.cta-line {
  height: 5px;
  background: var(--white);
  z-index: 2;
}

.dobra-cta .btn {
  z-index: 2;
}

/* ===== Footer (Dobra 8) ===== */
.dobra-footer {
  left: 0;
  width: 1920px;
}

.dobra-footer__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 612px;
  object-fit: cover;
}

.t-footer-heading {
  position: absolute;
  font-family: var(--font-helvetica);
  font-size: 50px;
  font-weight: 700;
  color: var(--white);
  z-index: 2;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.footer-link {
  font-family: var(--font-helvetica);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.85;
}

.social-links {
  display: flex;
  gap: 8px;
  z-index: 2;
}

.copyright-bar {
  left: 0;
  bottom: 0;
  width: 1920px;
  height: 70px;
  background: var(--brown);
  border-radius: 128px 128px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.copyright-bar p {
  font-family: var(--font-helvetica);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

.dobra-footer .btn,
.dobra-footer img,
.dobra-footer h4,
.dobra-footer nav,
.dobra-footer .social-links {
  z-index: 2;
}

.nav-link {
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--brown);
}
