:root {
  --green: #88bd34;
  --green-dark: #6fa227;
  --ink: #262626;
  --muted: #6f756f;
  --deep: #0d2b24;
  --deep-2: #12372e;
  --line: #e4e9e4;
  --soft: #f6f8f5;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(18, 44, 36, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18,55,46,.08);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { width: 170px; flex: 0 0 auto; overflow: hidden; }
.brand img { width: 170px; height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 26px 0 23px;
  font-size: 16px;
  font-weight: 600;
  color: #303630;
  transition: color .2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width .22s ease;
}
.main-nav a:hover,
.main-nav a.active,
.main-nav a[aria-current="page"] { color: var(--green-dark); }
.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav a[aria-current="page"]::after { width: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: white; box-shadow: 0 12px 24px rgba(136,189,52,.24); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border: 1px solid rgba(255,255,255,.45); color: white; background: rgba(255,255,255,.06); }
.btn-outline-dark { border: 1px solid #aebaae; color: var(--deep); background: white; }
.btn-whatsapp { background: #0f5c46; color: #fff; white-space: nowrap; }
.btn-whatsapp svg { width: 18px; fill: currentColor; }
.header-cta { margin-left: 4px; }

.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; margin-left: auto; padding: 9px; }
.menu-toggle span { display: block; height: 2px; background: var(--deep); margin: 5px 0; transition: .2s ease; }

.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; background: var(--deep); color: white; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,26,21,.96) 0%, rgba(5,26,21,.86) 42%, rgba(5,26,21,.25) 78%, rgba(5,26,21,.34) 100%),
    url('assets/realize-o-seu-projeto.jpg') center/cover no-repeat;
  transform: scale(1.02);
}
.hero::after { content: ''; position: absolute; inset: auto -10% -48% auto; width: 540px; aspect-ratio:1; border: 1px solid rgba(136,189,52,.2); transform: rotate(35deg); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .65fr; gap: 80px; align-items: center; padding: 80px 0; }
.hero-copy { max-width: 690px; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--green); }
.eyebrow.green { color: var(--green-dark); }
.hero h1 { font-size: clamp(42px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 22px; }
.hero h1 span { color: var(--green); }
.hero p { max-width: 670px; color: rgba(255,255,255,.83); font-size: 20px; line-height: 1.75; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card { padding: 10px 0; background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 55px rgba(0,0,0,.25); overflow: hidden; }
.hero-card-item { display: flex; align-items: center; gap: 15px; padding: 21px 24px; border-bottom: 1px solid #eef1ee; }
.hero-card-item:last-child { border-bottom: 0; }
.hero-card-item strong { display: block; font-size: 17px; margin-bottom: 4px; }
.hero-card-item small { display: block; font-size: 14px; line-height: 1.5; color: #7b817b; }
.mini-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(136,189,52,.12); color: var(--green-dark); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.mini-icon img { width: 22px; height: 22px; display: block; object-fit: contain; }

.section { padding: 92px 0; }
.section-light { background: #fff; }
.section-heading { margin-bottom: 38px; }
.section-heading h2, .about-copy h2, .cta-copy h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 14px; }
.section-heading h2 span, .about-copy h2 span { color: var(--green-dark); }
.section-heading p { color: var(--muted); max-width: 660px; line-height: 1.7; }
.centered { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; background: white; box-shadow: 0 8px 22px rgba(18,44,36,.05); transition: .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(136,189,52,.4); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(136,189,52,.35); color: var(--green-dark); border-radius: 12px; margin-bottom: 20px; font-size: 23px; }
.service-card h3 { font-size: 21px; margin: 0 0 10px; }
.service-card p { font-size: 16px; line-height: 1.65; color: var(--muted); min-height: 84px; }
.service-card a { display: inline-flex; gap: 8px; margin-top: 12px; color: var(--green-dark); font-size: 16px; font-weight: 800; }

.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-image { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: white; }
.about-image img { width: 100%; aspect-ratio: 1.6/1; object-fit: cover; }
.about-copy p { color: var(--muted); line-height: 1.8; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin: 26px 0; font-size: 16px; font-weight: 600; }
.check-grid span { padding: 11px 0; border-bottom: 1px solid #dce4dc; }
.text-link { font-weight: 800; color: var(--green-dark); }

.band { background: linear-gradient(135deg, #0d2b24 0%, #113b31 100%); color: white; padding: 30px 0; }
.band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-grid div { display: flex; gap: 13px; align-items: center; padding: 0 22px; border-right: 1px solid rgba(255,255,255,.12); }
.band-grid div:first-child { padding-left: 0; }
.band-grid div:last-child { border-right: 0; }
.band-grid span { color: var(--green); font-size: 15px; font-weight: 800; }
.band-grid strong { font-size: 16px; }

.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.solution-card {
  position: relative;
  width: 100%;
  aspect-ratio: 2009 / 800;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--deep);
  box-shadow: var(--shadow);
}
.solution-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
#projetos.solution-card img { object-position: center; }
#laudos.solution-card img { object-position: center; }
#construcao.solution-card img { object-position: center; }
.solution-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,27,22,.96) 5%, rgba(5,27,22,.12) 68%); }
.solution-card:hover img { transform: scale(1.05); }
.solution-overlay { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; color: white; }
.solution-overlay > span { display: inline-block; padding: 5px 9px; border-radius: 6px; background: var(--green); color: white; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.solution-overlay h3 { font-size: 21px; margin: 0 0 6px; line-height: 1.2; }
.solution-overlay p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.5; }

.process { background: #f7f9f7; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 50px; }
.process-grid::before { content: ''; position: absolute; height: 1px; top: 30px; left: 9%; right: 9%; background: linear-gradient(90deg, transparent, #b8c9b7 10%, #b8c9b7 90%, transparent); }
.step { position: relative; text-align: center; z-index: 1; }
.step-number { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: white; border: 1px solid #dfe7df; color: var(--green-dark); font-size: 22px; font-weight: 800; box-shadow: 0 10px 24px rgba(18,44,36,.07); }
.step h3 { font-size: 18px; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

.cta-section {
  position: relative;
  padding: 82px 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(136,189,52,.09), transparent 28%),
    #f3f6f3;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(136,189,52,.10);
  border-radius: 50%;
  left: -180px;
  bottom: -250px;
}
.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, .82fr);
  min-height: 500px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #0a2a22 0%, #103d31 62%, #124737 100%);
  box-shadow: 0 30px 70px rgba(12,43,35,.18);
  isolation: isolate;
}
.cta-grid::before {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(136,189,52,.08);
  left: -150px;
  top: -170px;
  z-index: -1;
}
.cta-copy {
  align-self: center;
  padding: 68px 64px;
  color: white;
  min-width: 0;
}
.cta-copy .eyebrow { margin-bottom: 16px; }
.cta-copy h2 {
  max-width: 660px;
  margin-bottom: 18px;
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.cta-copy h2 span { color: #9ed63b; }
.cta-copy > p {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.75;
}
.cta-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
}
.cta-highlights span {
  color: rgba(255,255,255,.86);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.cta-highlights span::first-letter { color: var(--green); }
.cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.cta-whatsapp {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 12px;
}
.cta-whatsapp svg { width: 19px; fill: currentColor; }
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: white;
  min-width: 0;
}
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  color: var(--green);
  font-weight: 800;
}
.contact-text { display: grid; gap: 1px; }
.contact-text small {
  color: rgba(255,255,255,.60);
  font-size: 13px;
  font-weight: 500;
}
.contact-text strong {
  font-size: 18px;
  line-height: 1.3;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.cta-image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #eef3ed;
}
.cta-image::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 90px;
  z-index: 1;
  background: linear-gradient(90deg, #103d31 0%, rgba(16,61,49,.72) 20%, rgba(16,61,49,0) 100%);
  pointer-events: none;
}
.cta-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.cta-image-badge {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 26px;
  max-width: calc(100% - 52px);
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 12px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(15,46,38,.16);
}
.cta-image-badge span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
.cta-image-badge strong {
  display: block;
  color: var(--deep);
  font-size: 15px;
}

.footer { background: #071d18; color: rgba(255,255,255,.74); padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 44px; }
.footer-brand img { width: 170px; height: 62px; object-fit: contain; object-position: left; filter: drop-shadow(0 0 0 transparent); }
.footer-brand p { max-width: 330px; font-size: 15px; line-height: 1.7; }
.footer h3 { color: white; font-size: 17px; margin: 0 0 16px; }
.footer a { display: block; font-size: 15px; margin: 9px 0; }
.footer a:hover { color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); margin-top: 40px; padding-top: 20px; font-size: 14px; }

.floating-whatsapp { position: fixed; z-index: 55; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #16a465; box-shadow: 0 14px 32px rgba(8,75,46,.35); }
.floating-whatsapp svg { width: 28px; fill: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .header-cta { display: none; }
  .main-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr .62fr; gap: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .nav-wrap { min-height: 68px; }
  .brand, .brand img { width: 150px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 20px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; }
  .main-nav a::after { left: 4px; bottom: 7px; transform: none; }
  .main-nav a:hover::after,
  .main-nav a.active::after,
  .main-nav a[aria-current="page"]::after { width: 24px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding: 72px 0 58px; }
  .hero-card { max-width: 560px; }
  .hero-bg { background-position: 62% center; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .band-grid div:nth-child(2) { border-right: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .cta-section { padding: 64px 0; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-copy { padding: 54px 48px 44px; }
  .cta-image { min-height: 330px; }
  .cta-image::before { width: 100%; height: 58px; inset: 0 0 auto; background: linear-gradient(180deg, #103d31 0%, rgba(16,61,49,0) 100%); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .service-grid, .solution-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .solution-card { aspect-ratio: 2009 / 800; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .band-grid { grid-template-columns: 1fr; }
  .band-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 10px 0; }
  .band-grid div:last-child { border-bottom: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 48px 0; }
  .cta-grid { border-radius: 20px; }
  .cta-copy { padding: 40px 26px 34px; }
  .cta-copy h2 { font-size: 34px; }
  .cta-highlights { display: grid; gap: 8px; }
  .cta-actions { align-items: stretch; flex-direction: column; }
  .cta-actions .cta-whatsapp { width: 100%; }
  .contact-line { width: 100%; }
  .cta-image { min-height: 290px; }
  .cta-image-badge { right: 18px; bottom: 18px; max-width: calc(100% - 36px); }
  .footer-bottom { flex-direction: column; }
}

/* Home service/solution navigation enhancements */
.solution-cta { display: inline-flex; margin-top: 12px; color: white; font-size: 14px; font-weight: 800; opacity: .92; }
.solution-cta:hover { color: #a9df4b; }
@media (min-width: 1041px) {
  .service-grid-featured { grid-template-columns: repeat(3, 1fr); }
  .service-grid-featured .service-card { grid-column: auto; }
}
@media (max-width: 1040px) {
  .service-grid-featured { grid-template-columns: repeat(2, 1fr); }
  .service-grid-featured .service-card { grid-column: auto; }
}
@media (max-width: 600px) {
  .service-grid-featured { grid-template-columns: 1fr; }
}
