:root {
  --green: #009746;
  --green-dark: #007a39;
  --mint: #e6f5ed;
  --mint-2: #f3faf6;
  --ink: #1c1c1c;
  --muted: #4a4a4a;
  --line: #d7e5dc;
  --card: #f4f7f5;
  --max: 1140px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Raleway, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.wrap-wide {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.topbar .wrap,
.header > .wrap {
  width: min(1480px, calc(100% - 28px));
}
.topbar .wrap {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding: 10px 0 8px;
}
.topbar a:hover { text-decoration: underline; }

.header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 86px;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
  flex: 0 0 auto;
}
.brand a { display: flex; align-items: center; }
.brand img.logo-gwm { height: 32px; width: auto; }
.brand img.logo-trust { height: 32px; width: auto; }
.nav { display: flex; align-items: stretch; align-self: stretch; gap: 4px; margin: 0; padding: 0; }
.nav li { list-style: none; margin: 0; padding: 0; }
.nav li::marker { content: none; }
.nav > a,
.nav .has-sub > a {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 4px;
  padding: 10px 9px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}
.nav > a:hover,
.nav .has-sub > a:hover,
.nav a.active { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 40px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.btn:hover { background: var(--green-dark); }
.btn-light {
  background: #fff;
  color: var(--green);
}
.btn-light:hover { background: var(--mint); }
.btn-phone {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}
.btn-phone svg { width: 20px; height: 20px; display: block; }
.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--green);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
}

.has-sub { position: relative; display: flex; align-items: center; align-self: stretch; list-style: none; }
.has-sub > a::after { content: "▾"; font-size: 10px; }
.sub {
  display: none;
  list-style: none;
  position: absolute;
  top: calc(100% - 12px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 22px 10px 10px;
  z-index: 40;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub,
.has-sub.open .sub { display: block; }
.sub a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.sub a:hover { background: var(--mint); color: var(--green); }
.has-sub.mega { position: static; }
.sub.mega-panel {
  left: 58%;
  top: calc(100% + 14px);
  transform: translateX(-50%);
  width: min(840px, calc(100vw - 28px));
  min-width: 0;
  padding: 26px 22px 18px;
  border-radius: 28px;
  background: #f3faf6;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  grid-template-columns: 200px 1fr;
  gap: 8px 12px;
  align-items: center;
}
.sub.mega-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 22px;
}
.has-sub.mega:hover .sub.mega-panel,
.has-sub.mega:focus-within .sub.mega-panel,
.has-sub.mega.open .sub.mega-panel { display: grid; }
.mega-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #1c1c1c;
}
.mega-title strong { font-weight: 800; }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-grid.rows-2 { grid-template-rows: repeat(2, auto); }
.mega-grid li { list-style: none; }
.mega-grid li::marker { content: none; }
.mega-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: #243028;
}
.mega-grid svg { width: 48px; height: 48px; flex: 0 0 48px; }
.mega-grid a:hover { background: #fff; color: var(--green); }

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.hero video,
.hero .hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 10, 0.45), rgba(0, 30, 12, 0.55));
}
.hero-content { position: relative; z-index: 1; width: min(980px, calc(100% - 40px)); padding: 72px 0; }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.hero p { margin: 0 auto 26px; max-width: 720px; font-size: 18px; }

.page-hero {
  position: relative;
  text-align: center;
  padding: 72px 0 28px;
}
main:has(.page-hero),
main:has(.article) {
  position: relative;
  overflow: hidden;
}
main:has(.page-hero)::before,
main:has(.article)::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 10px;
  width: 520px;
  height: 720px;
  background: url("../assets/Vector-quemsomos.png") left top / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
main:has(.page-hero) > *,
main:has(.article) > * { position: relative; z-index: 1; }
.shade { position: relative; overflow: hidden; }
.shade > .wrap { position: relative; z-index: 1; }
.shade::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}
.shade-left::before {
  left: 0;
  top: -40px;
  width: 520px;
  height: 720px;
  transform: translateX(-90px);
  background-image: url("../assets/Vector-home-1.png");
}
.shade-right::before {
  right: 0;
  top: 10px;
  width: 540px;
  height: 700px;
  transform: translateX(120px);
  background-image: url("../assets/Vector-depoimentos.png");
}
.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
}
.page-hero p { margin: 0 auto; max-width: 760px; color: var(--muted); }

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 36px 0 10px;
}
.pills a {
  background: var(--green);
  color: #fff;
  border-radius: 40px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
}
.pills a:hover { background: var(--green-dark); }

.lead {
  text-align: center;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.35;
  max-width: 920px;
  margin: 28px auto 10px;
}

.section { padding: 48px 0; }
.section h2 {
  color: var(--green);
  font-size: 34px;
  margin: 0 0 12px;
  line-height: 1.2;
}
.section h2.center, .center { text-align: center; }
h2.underline { display: inline-block; border-bottom: 3px solid var(--green); padding-bottom: 6px; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 36px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.4fr 0.9fr; }
.split.reverse .copy { order: -1; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 28px 0;
}
.feature.reverse .media { order: 2; }
.media {
  background: var(--mint-2);
  border-radius: 22px;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.media.contain img { object-fit: contain; height: 240px; padding: 18px; background: #fff; }
.copy h2, .copy h3 { margin-top: 0; }
.anchor { scroll-margin-top: 110px; }

.green-panel {
  background: var(--green);
  color: #fff;
  border-radius: 22px;
  padding: 28px 26px;
}
.green-panel p { margin-top: 0; }
.overlap {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 0;
  align-items: center;
  margin-top: 20px;
}
.overlap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
}
.overlap .green-panel { margin-left: -28px; position: relative; }

.cards-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 18px;
}
.scroller::-webkit-scrollbar { height: 8px; }
.scroller::-webkit-scrollbar-thumb { background: #c9ddd1; border-radius: 8px; }
.card {
  scroll-snap-align: start;
  background: var(--card);
  border-radius: 24px;
  padding: 16px 16px 22px;
  min-height: 100%;
  box-shadow: var(--shadow);
}
.card img {
  width: 100%;
  aspect-ratio: 470 / 238;
  object-fit: cover;
  border-radius: 16px;
  background: #e9eeea;
}
.card .kicker {
  color: #8a8a8a;
  font-size: 12px;
  letter-spacing: 0.4px;
  margin: 12px 0 4px;
}
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.card .more { color: var(--green); font-weight: 700; font-size: 14px; }

.arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.arrow-row { display: flex; gap: 8px; }

.partners {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 18px;
}
.partners::-webkit-scrollbar { height: 8px; }
.partners::-webkit-scrollbar-thumb { background: #c9ddd1; border-radius: 8px; }
.partners img {
  scroll-snap-align: start;
  height: 92px;
  width: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}

.quotes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 12px;
}
.quotes::-webkit-scrollbar { height: 8px; }
.quotes::-webkit-scrollbar-thumb { background: #c9ddd1; border-radius: 8px; }
.quotes-note { margin: 6px 0 0; color: var(--muted); }
.articles {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 12px;
}
.articles::-webkit-scrollbar { height: 8px; }
.articles::-webkit-scrollbar-thumb { background: #c9ddd1; border-radius: 8px; }
.articles .blog-card { scroll-snap-align: start; }
.quote {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.quote h3 { margin: 0 0 8px; font-size: 18px; color: var(--green); }
.quote .full { display: none; }
.quote.open .short { display: none; }
.quote.open .full { display: block; }
.quote button {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.who { text-align: right; font-weight: 700; margin-top: 10px; }

.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.icon-card, .info-card {
  background: var(--mint);
  border-radius: 20px;
  padding: 22px;
}
.icon-card img, .info-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 10px;
}
.icon-card h3, .info-card h3 { margin: 0 0 8px; }
.values li { margin: 8px 0; }

.examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.example {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.example img { width: 100%; height: 210px; object-fit: cover; }
.example div { padding: 16px 18px 8px; }
.example ul { margin-top: 0; }

.contact-band {
  background: linear-gradient(180deg, #fff, var(--mint));
  padding: 28px 0 48px;
}
.contact-card {
  background: #d9f0e3;
  border-radius: 28px;
  padding: 28px;
}
.contact-card h2 { margin-top: 0; text-align: center; color: var(--ink); }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid .full { grid-column: 1 / -1; }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%;
  border: 0;
  border-radius: 28px;
  padding: 14px 18px;
  background: #fff;
  font-size: 15px;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
}
.form-actions { display: flex; justify-content: flex-end; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note.success { color: #007a39; }
.form-note.error { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { background: var(--mint); padding: 36px 0 20px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}
.footer h3 { margin: 8px 0; font-size: 16px; }
.footer p, .footer li { color: var(--muted); font-size: 15px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 7px 0; }
.footer a:hover { color: var(--green); }
.legal {
  background: #3f3f3f;
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  font-size: 14px;
}
.legal a { color: #fff; font-weight: 700; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.blog-card {
  background: var(--mint);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}
.blog-card h2 { font-size: 20px; margin: 10px 0; color: var(--ink); }
.blog-card .more { color: var(--green); font-weight: 700; font-size: 14px; margin-top: auto; }
.tag {
  display: inline-block;
  align-self: flex-start;
  background: #b0dfc6;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 700;
}
.article {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 12px;
  text-align: left;
}
.article h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.15; margin: 12px 0; }
.cover {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: 20px;
  margin: 8px 0 24px;
  background: var(--mint);
}
.post-meta { color: var(--muted); font-size: 14px; margin: 0; }
.post-body h4 { color: var(--green); margin: 28px 0 8px; }
.post-body p { margin: 0 0 16px; }
.post-body a { color: var(--green); font-weight: 700; }
.related { display: grid; gap: 10px; margin-top: 8px; }
.related a { color: var(--green); font-weight: 700; }

@media (max-width: 1440px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; }
  .header.open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
    z-index: 40;
  }
  .sub { position: static; top: auto; box-shadow: none; min-width: 0; padding: 0 0 0 12px; }
  .has-sub.mega:hover .sub.mega-panel,
  .has-sub.mega:focus-within .sub.mega-panel,
  .has-sub.mega.open .sub.mega-panel {
    display: block;
    position: static;
    transform: none;
    width: auto;
    left: auto;
    top: auto;
    padding: 4px 0 8px 8px;
    background: transparent;
    box-shadow: none;
  }
  .sub.mega-panel::before { display: none; }
  .mega-title { font-size: 16px; margin: 4px 0 8px; }
  .mega-grid { grid-auto-flow: row; grid-template-rows: none; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav, .header-actions { display: none; }
  .header.open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    padding: 8px 16px 16px;
    box-shadow: var(--shadow);
  }
  .header.open .header-actions {
    display: flex;
    position: absolute;
    right: 16px;
    top: calc(100% + 8px);
    z-index: 41;
  }
  .sub { position: static; top: auto; box-shadow: none; min-width: 0; padding: 0 0 0 12px; }
  .has-sub.mega:hover .sub.mega-panel,
  .has-sub.mega:focus-within .sub.mega-panel,
  .has-sub.mega.open .sub.mega-panel {
    display: block;
    position: static;
    transform: none;
    width: auto;
    left: auto;
    top: auto;
    padding: 4px 0 8px 8px;
    background: transparent;
    box-shadow: none;
  }
  .sub.mega-panel::before { display: none; }
  .mega-grid { grid-auto-flow: row; grid-template-rows: none; }
  .split, .split.reverse, .feature, .feature.reverse, .overlap,
  .grid-3, .grid-2, .grid-4, .examples, .footer-grid, .form-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .quotes, .articles { grid-auto-columns: 100%; }
  .shade-left::before, .shade-right::before,
  main:has(.page-hero)::before, main:has(.article)::before {
    width: 280px;
    height: 390px;
  }
  .shade-left::before { transform: translateX(-50px); }
  .shade-right::before { right: 0; transform: translateX(70px); }
  .split.reverse .copy, .feature.reverse .media { order: 0; }
  .overlap .green-panel { margin-left: 0; margin-top: -20px; }
  .media img, .overlap img { height: 220px; }
}
