:root {
  --apv-brand-green: #007d2e;
  --apv-brand-green-dark: #005f23;
  --apv-brand-green-soft: rgba(0, 125, 46, .10);
  --apv-header-border: rgba(0, 125, 46, .16);
  --apv-header-surface: rgba(245, 247, 245, .92);
  --apv-header-ink: #151a17;
  --apv-text: #17231b;
  --apv-muted: #4f7355;
  --apv-surface: #f7faf7;
  --apv-line: rgba(0, 125, 46, .16);
  --apv-container: 1100px;
  --apv-radius-sm: 10px;
  --apv-radius-md: 18px;
  --apv-radius-lg: 28px;
  --apv-shadow-sm: 0 8px 24px rgba(18, 45, 27, .07);
}

html {
  scroll-padding-top: 84px;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.apv-site-header {
  position: sticky !important;
  z-index: 100 !important;
  top: 0 !important;
  width: 100% !important;
  padding: 0 24px !important;
  background: var(--apv-header-surface) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--apv-header-border) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.apv-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  min-height: 64px;
  margin: 0 auto !important;
  gap: 16px;
}

.apv-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--apv-header-ink);
  text-decoration: none;
}

.apv-brand__logo {
  display: block;
  width: auto;
  height: 32px;
  max-width: none;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.apv-brand__name {
  color: var(--apv-header-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.apv-brand__accent {
  color: var(--apv-brand-green);
}

.apv-site-nav,
.apv-site-header .apv-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apv-site-nav {
  margin-left: auto;
  gap: 24px;
}

.apv-site-nav > a {
  color: #4e5751;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}

.apv-site-nav > a:hover,
.apv-site-nav > a:focus-visible {
  color: var(--apv-brand-green-dark);
}

.apv-menu-toggle,
.apv-site-header .apv-mobile-menu {
  display: none !important;
}

.apv-site-header .apv-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 8px;
  padding: 13px 28px;
  color: #fff;
  background: var(--apv-brand-green);
  border: 1px solid var(--apv-brand-green);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 125, 46, .18);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.apv-site-header .apv-header-button:hover,
.apv-site-header .apv-header-button:focus-visible {
  color: #fff;
  background: var(--apv-brand-green-dark);
  border-color: var(--apv-brand-green-dark);
  box-shadow: 0 9px 22px rgba(0, 95, 35, .22);
  transform: translateY(-1px);
}

.apv-site-header .apv-header-button:focus-visible,
.apv-brand:focus-visible {
  outline: 3px solid rgba(0, 125, 46, .25);
  outline-offset: 3px;
}

.apv-site-header .apv-header-button--outline {
  color: var(--apv-brand-green-dark);
  background: transparent;
  border-color: rgba(0, 95, 35, .30);
  box-shadow: none;
}

.apv-site-header .apv-header-button--outline:hover,
.apv-site-header .apv-header-button--outline:focus-visible {
  color: var(--apv-brand-green-dark);
  background: var(--apv-brand-green-soft);
  border-color: var(--apv-brand-green);
  box-shadow: none;
}

@media (max-width: 860px) {
  .apv-site-nav > a {
    display: none;
  }

  .apv-site-header__inner {
    position: relative;
  }

  .apv-menu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    color: var(--apv-header-ink);
    background: linear-gradient(180deg, #fff, #f6faf7);
    border: 1px solid var(--apv-header-border);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(18, 45, 27, .08);
    cursor: pointer;
  }

  .apv-menu-toggle svg {
    width: 21px;
    height: 21px;
  }

  .apv-menu-toggle:focus-visible {
    outline: 3px solid rgba(0, 125, 46, .25);
    outline-offset: 3px;
  }

  .apv-site-header .apv-mobile-menu {
    position: absolute;
    z-index: 110;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--apv-line);
    border-radius: 20px;
    box-shadow: 0 22px 56px rgba(18, 45, 27, .18);
  }

  .apv-site-header.is-menu-open .apv-mobile-menu {
    display: grid !important;
  }

  .apv-site-header .apv-mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 16px;
    color: var(--apv-text);
    background: linear-gradient(180deg, #fff, #f5f9f6);
    border: 1px solid rgba(0, 125, 46, .13);
    border-radius: 13px;
    box-shadow: 0 4px 12px rgba(18, 45, 27, .04);
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
  }

  .apv-site-header .apv-mobile-menu a::after {
    content: "›";
    color: var(--apv-brand-green);
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
  }

  .apv-site-header .apv-mobile-menu a:hover,
  .apv-site-header .apv-mobile-menu a:focus-visible {
    color: var(--apv-brand-green-dark);
    background: var(--apv-brand-green-soft);
    border-color: rgba(0, 125, 46, .30);
    transform: translateY(-1px);
  }
}

@media (max-width: 640px) {
  .apv-site-header {
    padding: 0 16px !important;
  }

  .apv-brand__name {
    font-size: 14px;
  }

  .apv-site-header .apv-header-actions {
    gap: 8px;
  }

  .apv-site-header .apv-header-button {
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 11px;
    font-size: 12.5px;
  }

  .apv-site-header .apv-header-button--optional {
    display: none;
  }
}

@media (max-width: 390px) {
  .apv-brand__name {
    display: none;
  }

  .apv-site-header .apv-mobile-menu {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apv-site-header .apv-header-button,
  .apv-site-nav > a {
    transition: none;
  }
}

/* Rodapé compartilhado: mesmo padrão visual e estrutural em todas as páginas. */
.apv-site-footer {
  padding: 48px 24px 32px !important;
  color: #4f7355 !important;
  background: #eef1ee !important;
  border: 0 !important;
  border-top: 1px solid rgba(0, 125, 46, .16) !important;
  text-align: left !important;
}

.apv-site-footer__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto !important;
}

.apv-site-footer__content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.apv-site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #1a2e1d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.apv-site-footer__logo {
  display: block;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}

.apv-site-footer__accent {
  color: var(--apv-brand-green);
}

.apv-site-footer__description {
  max-width: 340px;
  margin: 0;
  color: #4f7355;
  font-size: 13px;
  line-height: 1.6;
}

.apv-site-footer .apv-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.apv-site-footer .apv-site-footer__social a {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: 7px 11px;
  color: var(--apv-brand-green-dark);
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--apv-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.apv-site-footer .apv-site-footer__social a:hover,
.apv-site-footer .apv-site-footer__social a:focus-visible {
  background: #fff;
}

/* Renderização progressiva das seções abaixo da dobra. */
main > section:nth-of-type(n+3) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.apv-site-footer .apv-site-footer__section h2 {
  margin: 0 0 16px !important;
  color: #4f7355 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.apv-site-footer__section a:not(.apv-site-footer__brand),
.apv-site-footer__section button {
  display: block;
  width: auto;
  margin: 0 0 10px;
  padding: 0;
  color: #1a2e1d;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s ease;
}

.apv-site-footer__section a:not(.apv-site-footer__brand):hover,
.apv-site-footer__section button:hover,
.apv-site-footer__section a:not(.apv-site-footer__brand):focus-visible,
.apv-site-footer__section button:focus-visible {
  color: var(--apv-brand-green-dark);
}

.apv-site-footer__section a:not(.apv-site-footer__brand):focus-visible,
.apv-site-footer__section button:focus-visible,
.apv-site-footer__brand:focus-visible {
  outline: 3px solid rgba(0, 125, 46, .25);
  outline-offset: 3px;
}

.apv-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  color: #4f7355;
  border-top: 1px solid rgba(0, 125, 46, .16);
  font-size: 13px;
}

.apv-site-footer__bottom p {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

@media (max-width: 768px) {
  .apv-site-footer__content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .apv-site-footer {
    padding: 40px 20px 28px !important;
  }

  .apv-site-footer__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .apv-site-footer__bottom {
    display: block;
  }
}


/* Commercial premium shared chrome — 2026-08-07 */
:root {
  --apv-brand-green: #118454;
  --apv-brand-green-dark: #08633e;
  --apv-brand-green-soft: rgba(17,132,84,.10);
  --apv-header-border: rgba(23,26,29,.10);
  --apv-header-surface: rgba(245,242,235,.9);
  --apv-header-ink: #171a1d;
  --apv-text: #171a1d;
  --apv-muted: #5e6863;
  --apv-surface: #f5f2eb;
  --apv-line: rgba(23,26,29,.12);
}

.apv-site-header {
  min-height: 76px;
  background: rgba(245,242,235,.9) !important;
  border-bottom-color: rgba(23,26,29,.10) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.apv-site-header__inner { max-width: 1180px; min-height: 76px; }
.apv-brand__name { color: #171a1d; font-weight: 800; letter-spacing: -.035em; }
.apv-brand__accent { color: #118454; }
.apv-site-nav { gap: clamp(18px,2.3vw,31px); }
.apv-site-nav a { color: #535c57; font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.apv-site-nav a:hover { color: #171a1d; }
.apv-site-header .apv-header-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #171a1d;
  border-radius: 9px;
  background: #171a1d;
  color: #fff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 750;
}
.apv-site-header .apv-header-button:hover { background: #2b3033; color: #fff; transform: translateY(-1px); }
.apv-site-header .apv-header-button--outline {
  border-color: rgba(23,26,29,.14);
  background: transparent;
  color: #171a1d;
}
.apv-site-header .apv-header-button--outline:hover {
  border-color: rgba(23,26,29,.3);
  background: rgba(255,255,255,.48);
  color: #171a1d;
}

/* Footer always uses explicit high-contrast colors.
   The old light footer used inherited greens and could become illegible when a page changed its surface. */
.apv-site-footer {
  padding: 62px 24px 30px !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  background: #121517 !important;
  color: rgba(255,255,255,.66) !important;
}
.apv-site-footer__inner { max-width: 1180px; }
.apv-site-footer__content { gap: 38px; margin-bottom: 46px; }
.apv-site-footer__brand { color: #fff !important; }
.apv-site-footer__accent { color: #71d3a4 !important; }
.apv-site-footer__description { color: rgba(255,255,255,.58) !important; }
.apv-site-footer .apv-site-footer__section h2 {
  color: #fff !important;
  font-size: 11px !important;
  letter-spacing: .13em !important;
}
.apv-site-footer__section a:not(.apv-site-footer__brand),
.apv-site-footer__section button {
  color: rgba(255,255,255,.64) !important;
}
.apv-site-footer__section a:not(.apv-site-footer__brand):hover,
.apv-site-footer__section button:hover,
.apv-site-footer__section a:not(.apv-site-footer__brand):focus-visible,
.apv-site-footer__section button:focus-visible {
  color: #fff !important;
}
.apv-site-footer .apv-site-footer__social a {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.76) !important;
}
.apv-site-footer .apv-site-footer__social a:hover,
.apv-site-footer .apv-site-footer__social a:focus-visible {
  background: rgba(255,255,255,.10);
  color: #fff !important;
}
.apv-site-footer__bottom {
  border-top-color: rgba(255,255,255,.09);
  color: rgba(255,255,255,.46) !important;
}
.apv-site-footer__section a:not(.apv-site-footer__brand):focus-visible,
.apv-site-footer__section button:focus-visible,
.apv-site-footer__brand:focus-visible {
  outline-color: rgba(113,211,164,.5);
}

@media (max-width: 860px) {
  .apv-site-header { min-height: 68px; }
  .apv-site-header__inner { min-height: 68px; }
}
