:root {
  --teal: #00856f;
  --green-black: #263633;
  --accent-green: #028c74;
  --header-green: #013126;
  --electric-green: #58eda2;
  --white: #ffffff;
  --bg: #faf9f7;
  --text: #263633;
  --text-muted: #5c6b68;
  --container: 1200px;
  --nav-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  --nav-height: 72px;
  --hero-inset: 0.75rem;
  --hero-image-top: calc(var(--hero-inset) + var(--nav-height) / 2);
  --hero-radius: 1.5rem;
  --hero-site-margin: 3rem;
  --deepest-green: #013126;
  --deep-green: #035748;
  --natural: #ede9e3;
  --section-space-large: 10rem;
}

@font-face {
  font-family: 'Helvetica Now Display';
  src: url('../fonts/helvetica-now-display-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Now Display';
  src: url('../fonts/helvetica-now-display.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Now Display';
  src: url('../fonts/helvetica-now-display-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Now Display';
  src: url('../fonts/helvetica-now-display-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ivar Display';
  src: url('../fonts/ivar-display-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ivar Display';
  src: url('../fonts/ivar-display-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ===== FIXED TOP: NAV OVER HERO ===== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
  height: 0;
  pointer-events: none;
}

.header-shell {
  background-color: transparent;
  pointer-events: auto;
}

.navbar.nav-v2 {
  position: relative;
  z-index: 1002;
  padding: var(--hero-inset) var(--hero-inset) 8px;
  transition: transform 0.25s ease-out;
  will-change: transform;
}

@media (min-width: 992px) {
  .navbar.nav-v2 {
    padding-left: 2.8125rem;
    padding-right: 2.8125rem;
  }
}

.content__nav {
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--nav-shadow);
  padding: 0 15px;
  max-width: calc(var(--container) + 30px);
  margin: 0 auto;
}

.container__navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  gap: 1rem;
}

.branding__hst {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.branding__hst img.nav-logo-lg {
  height: 44px;
  width: auto;
  max-width: min(255px, 37vw);
  object-fit: contain;
}

.branding__hst img.nav-logo-sm {
  display: none;
  height: 32px;
  width: auto;
}

.nav-menu-4 {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
}

.nav__link-item,
.nav__link-drop {
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #2b2b2b;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__link-item:hover,
.nav__link-drop:hover { color: var(--teal); }

.nav-dropdown {
  position: relative;
}

/* Ponte invisível entre o botão e o painel - evita o submenu sumir ao mover o mouse */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: max(100%, 13.5rem);
  height: 0.5rem;
  z-index: 1099;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 13.5rem;
  padding: 0.5rem 0 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: top center;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.45s;
  z-index: 1100;
}

.nav-dropdown.is-open .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-panel {
    transform: translateX(-50%);
    transition: opacity 0.15s ease, visibility 0s linear 0.15s;
  }

  .nav-dropdown.is-open .nav-dropdown-panel,
  .nav-dropdown:hover .nav-dropdown-panel,
  .nav-dropdown:focus-within .nav-dropdown-panel {
    transform: translateX(-50%);
    transition: opacity 0.15s ease, visibility 0s;
  }
}

.nav-dropdown-link {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9375rem;
  color: #2b2b2b;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown-link:hover {
  color: var(--teal);
  background: rgba(0, 133, 111, 0.06);
}

.nav__link-drop.is-open .nav-drop-arrow,
.nav-dropdown.is-open .nav-drop-arrow,
.nav-dropdown:hover .nav-drop-arrow {
  transform: rotate(225deg) translateY(-2px);
}

.nav-drop-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s;
}

.nav__right-block {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.cta__green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  margin: 0 8px;
  font-size: 15px;
  font-weight: 400;
  border-radius: 4px;
  transition: all 0.3s;
  white-space: nowrap;
}

.cta__green.cta__outlined {
  color: var(--teal);
  background: transparent;
  outline: 1px solid var(--teal);
  outline-offset: 0;
}

.cta__green.cta__outlined:hover {
  background: var(--teal);
  color: #fff;
}

.cta__green:not(.cta__outlined) {
  background: var(--teal);
  color: #fff;
}

.cta__green:not(.cta__outlined):hover { opacity: 0.8; }

.cta__green.mr-0 { margin-right: 0; }

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.menu-icon-v2 {
  display: block;
  position: relative;
  width: 24px;
  height: 18px;
}

.menu-icon-v2 .icon-line {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--teal);
  border-radius: 1px;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-icon-v2 .icon-line:nth-child(1) { top: 0; }
.menu-icon-v2 .icon-line:nth-child(2),
.menu-icon-v2 .icon-line:nth-child(3) { top: 8px; }
.menu-icon-v2 .icon-line:nth-child(4) { top: 16px; }

.menu-button.is-open .icon-line:nth-child(1) {
  top: 8px;
  width: 0;
  left: 50%;
}

.menu-button.is-open .icon-line:nth-child(2) {
  transform: rotate(45deg);
}

.menu-button.is-open .icon-line:nth-child(3) {
  transform: rotate(-45deg);
}

.menu-button.is-open .icon-line:nth-child(4) {
  top: 8px;
  width: 0;
  left: 50%;
}

.mobile-nav-overlay {
  display: none;
}

.mobile-drawer {
  background: #fff;
  overflow-y: auto;
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
}

.mobile-drawer > a,
.mobile-nav-group summary {
  font-size: 15px;
  font-weight: 600;
  color: #2b2b2b;
}

.mobile-drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.mobile-nav-group {
  border-bottom: 1px solid #eee;
}

.mobile-nav-group summary {
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.mobile-nav-group summary::-webkit-details-marker { display: none; }

.mobile-nav-group summary::after {
  content: '';
  float: right;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.mobile-nav-group[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.55rem;
}

.mobile-nav-group a {
  padding-left: 1rem;
  font-weight: 400;
  font-size: 15px;
  color: #2b2b2b;
}

.mobile-drawer-cta {
  margin-top: 1rem;
  text-align: center;
  background: var(--teal);
  color: #fff !important;
  border-radius: 4px;
  border-bottom: none !important;
}

.mobile-overlay {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 249, 247, 0.84);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .content__nav {
    position: relative;
  }

  .mobile-nav-overlay {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: -4px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 3;
    transition:
      max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.35s ease,
      visibility 0.4s ease;
  }

  .mobile-nav-overlay.is-open {
    max-height: min(78vh, 34rem);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-drawer {
    padding: 0.35rem 1.25rem 1.25rem;
    transform: translateY(-10px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-nav-overlay.is-open .mobile-drawer {
    transform: translateY(0);
  }

  .mobile-overlay {
    display: block;
  }

  body.mobile-nav-open .header-wrapper {
    z-index: 1001;
  }
}

@media (min-width: 992px) {
  .mobile-nav-overlay,
  .mobile-overlay {
    display: none !important;
  }
}

/* ===== HERO ===== */
.hero-main {
  position: relative;
  min-height: 100svh;
  margin: 0;
  padding: 0 var(--hero-inset) var(--hero-inset);
  color: #fff;
  background-color: var(--deepest-green);
  display: flex;
  flex-direction: column;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  padding: var(--hero-image-top) var(--hero-inset) var(--hero-inset);
  z-index: 0;
  box-sizing: border-box;
}

.hero-bg-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--hero-radius);
  overflow: hidden;
}

.hero-lines-wrap {
  position: absolute;
  z-index: 1;
  width: 80%;
  height: 25%;
  bottom: 5%;
  left: 0;
  top: auto;
  right: auto;
  aspect-ratio: 1920 / 300;
  max-width: 100%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-lines-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(40deg, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0) 87%);
  opacity: 0.75;
  pointer-events: none;
}

.hero-component {
  position: absolute;
  inset: 0;
  padding: var(--hero-image-top) var(--hero-inset) var(--hero-inset);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  pointer-events: none;
  overflow: hidden;
}

.hero-contain {
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(94.5rem, calc(100% - var(--hero-site-margin) * 2));
  margin-inline: auto;
  padding-inline: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: auto;
}

.hero-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  width: 100%;
}

.hero-heading {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  max-width: 22ch;
  margin: 0;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-heading strong {
  font-family: 'Ivar Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.105em;
  line-height: 1;
}

.hero-lead {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0;
  max-width: 72ch;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}

.hero-lead strong {
  font-family: 'Ivar Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.n4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.63rem 1.5rem;
  border-radius: 0.25rem;
  font-size: 1.125rem;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.5;
  border: 0.094rem solid transparent;
  cursor: pointer;
  transition: 0.2s;
}

.n4-btn.primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.n4-btn.primary:hover { background: #006b59; }

.n4-btn.outlined {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

.n4-btn.outlined:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  position: relative;
  overflow: clip;
  color: #fff;
  background-color: var(--deepest-green);
}

.services-section-bg {
  position: absolute;
  inset: 0;
  background-color: var(--deepest-green);
  z-index: 0;
}

.services-section-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  pointer-events: none;
}

.services-section-noise svg {
  width: 100%;
  height: 100%;
  display: block;
}

.services-section-inner {
  position: relative;
  z-index: 2;
  padding: var(--section-space-large) 0;
  overflow: visible;
}

.services-contain {
  width: min(94.5rem, calc(100% - var(--hero-site-margin) * 2));
  margin-inline: auto;
  position: relative;
}

.services-layout {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.services-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5rem;
}

.services-heading {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  max-width: 22ch;
  margin: 0;
}

.services-heading p {
  margin: 0;
}

.services-heading strong {
  font-family: 'Ivar Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.105em;
  line-height: 1;
}

.services-text {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0;
  color: #fff;
  max-width: 42ch;
}

.services-text strong {
  font-weight: 500;
}

.services-slider-wrap {
  width: 100%;
}

.services-section-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.services-section-lines-svg {
  color: var(--electric-green);
  opacity: 0.15;
  flex: none;
  width: 113rem;
  max-width: none;
  position: absolute;
  left: 50%;
  transform: translate(-35%, -10%);
}

/* Services carousel - dark cards with hover expand */
.services-carousel-wrap {
  overflow: visible;
}

.services-carousel {
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .services-carousel {
    overflow: visible;
    scroll-snap-type: none;
  }

  .services-carousel .carousel-slide {
    flex: 1 1 25%;
    min-width: 0;
    transition: flex 0.3s ease-in-out;
  }
}

.svc-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 33.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  color: #fff;
}

.svc-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.3s ease-in;
}

.svc-card-fade {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0 100%, #251f19, transparent);
  opacity: 0.8;
  transition: opacity 0.3s ease-in;
  pointer-events: none;
}

.svc-card-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: calc(33.75rem - 2rem);
  height: 100%;
}

.svc-card-dot-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-card-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.svc-card-content {
  width: 100%;
}

.svc-card-heading {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.3;
  max-width: 11ch;
  margin: 0;
}

.svc-card-eyebrow {
  font-size: 0.75rem;
  margin: 0.25rem 0 0;
  opacity: 0.95;
}

.svc-card-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  width: 100%;
  transition: grid-template-rows 0.3s ease-out 0.1s;
}

.svc-card-body-inner {
  overflow: hidden;
  min-height: 0;
}

.svc-card-text {
  max-width: 36ch;
  padding-top: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
}

.svc-card-btn {
  background: var(--electric-green);
  border-color: var(--electric-green);
  color: var(--deepest-green);
}

.svc-card-btn:hover {
  background: #7af0b8;
  border-color: #7af0b8;
}

.services-section .carousel-nav {
  display: none;
  margin-top: 1.5rem;
}

.services-section .carousel-btn--services {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--deep-green);
  background: var(--deep-green);
  color: #71d1b5;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-section .carousel-btn--services:hover:not(:disabled) {
  background: #046b58;
  border-color: #046b58;
  color: #8ee0c8;
}

.services-section .carousel-btn--services:disabled {
  opacity: 0.3;
  cursor: default;
}

.services-section .carousel-btn-icon {
  width: 1rem;
  height: 1rem;
  display: block;
}

.services-section .carousel-btn-icon--prev {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .services-carousel .carousel-slide:hover {
    flex: 1 1 55%;
  }

  .services-carousel .carousel-slide:hover .svc-card-bg {
    transform: scale(1.1);
  }

  .services-carousel .carousel-slide:hover .svc-card-body-wrap,
  .services-carousel .carousel-slide:focus-within .svc-card-body-wrap {
    grid-template-rows: 1fr;
  }

  .services-carousel .carousel-slide:hover .svc-card-fade,
  .services-carousel .carousel-slide:focus-within .svc-card-fade {
    opacity: 1;
  }
}

@media (max-width: 991px) {
  .services-care-wrap {
    align-items: stretch;
    width: 100%;
  }

  .services-slider-wrap {
    width: calc(100% + (var(--hero-site-margin) - var(--hero-inset)) * 2);
    max-width: calc(100vw - var(--hero-inset) * 2);
    margin-left: calc(var(--hero-inset) - var(--hero-site-margin));
    margin-right: calc(var(--hero-inset) - var(--hero-site-margin));
  }

  .services-carousel-wrap,
  .services-care-carousel-wrap {
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .services-carousel,
  .services-care-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
    gap: 0.75rem;
    width: 100%;
  }

  .services-carousel .carousel-slide,
  .services-care-carousel .carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    scroll-snap-align: start;
    transition: none;
  }

  .services-carousel .carousel-slide .svc-card-body-wrap,
  .services-care-carousel .carousel-slide .svc-card-body-wrap {
    display: block;
    grid-template-rows: none;
    min-height: 10.5rem;
    transition: none;
  }

  .services-carousel .carousel-slide .svc-card-body-inner,
  .services-care-carousel .carousel-slide .svc-card-body-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(0.35rem);
    transition: opacity 0.35s ease 0.05s, transform 0.35s ease 0.05s;
  }

  .services-carousel .carousel-slide.is-active .svc-card-body-wrap,
  .services-care-carousel .carousel-slide.is-active .svc-card-body-wrap {
    grid-template-rows: none;
  }

  .services-carousel .carousel-slide.is-active .svc-card-body-inner,
  .services-care-carousel .carousel-slide.is-active .svc-card-body-inner {
    opacity: 1;
    transform: translateY(0);
  }

  .services-carousel .carousel-slide.is-active .svc-card-fade,
  .services-care-carousel .carousel-slide.is-active .svc-card-fade {
    opacity: 1;
  }

  .services-section .carousel-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-inline: 0;
  }

  .services-care-carousel .svc-card-bg {
    object-fit: cover;
    object-position: center center;
  }

  .services-carousel .svc-card,
  .services-care-carousel .svc-card,
  .services-care-carousel .svc-card--small {
    width: 100%;
    height: 31rem;
    min-height: unset;
  }

  .services-carousel .svc-card-inner,
  .services-care-carousel .svc-card-inner,
  .services-care-carousel .svc-card--small .svc-card-inner {
    height: calc(31rem - 2rem);
    min-height: unset;
  }
}

@media (min-width: 992px) {
  .services-section .carousel-nav {
    display: none;
  }
}

/* Services care sub-block (continuation of dark section) */
.services-care-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-care-title {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: min(48ch, 100%);
}

.services-care-carousel-wrap {
  overflow: visible;
  width: 100%;
  align-self: stretch;
}

.services-care-carousel {
  gap: 0.75rem;
}

@media (min-width: 992px) {
  .services-care-carousel {
    overflow: visible;
    scroll-snap-type: none;
  }

  .services-care-carousel .carousel-slide {
    flex: 1 1 33.333%;
    min-width: 0;
  }

  .svc-card--small {
    min-height: 18rem;
  }

  .svc-card--small .svc-card-inner {
    min-height: calc(18rem - 2rem);
  }
}

.svc-card-inner--care {
  gap: 2rem;
}

.svc-card-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  background-color: var(--deep-green);
  color: var(--electric-green);
}

.svc-card-eyebrow-marker {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--electric-green);
  flex-shrink: 0;
}

.svc-card-eyebrow-label {
  font-size: 0.75rem;
  line-height: 1;
}

.svc-card-subtitle {
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
  opacity: 0.95;
}

@media (hover: hover) and (pointer: fine) {
  .services-care-carousel .carousel-slide:hover .svc-card-body-wrap,
  .services-care-carousel .carousel-slide:focus-within .svc-card-body-wrap {
    grid-template-rows: 1fr;
  }

  .services-care-carousel .carousel-slide:hover .svc-card-fade,
  .services-care-carousel .carousel-slide:focus-within .svc-card-fade {
    opacity: 1;
  }
}

/* ===== SERVICES / CAROUSELS ===== */
.section { padding: 5rem 0; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.carousel-wrap {
  position: relative;
}

.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.carousel::-webkit-scrollbar { display: none; }

.carousel-slide {
  flex: 0 0 calc(25% - 0.75rem);
  scroll-snap-align: start;
  min-width: 260px;
}

.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #dee3e3;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text);
  transition: 0.2s;
}

.carousel-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===== STATS ===== */
.stats-section {
  background: var(--green-black);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.stats-section h2 {
  font-family: 'Ivar Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.stats-section > .container > p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-number {
  font-family: 'Ivar Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: #7dcec0;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stat-item p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ===== HOME NEWS / INSTAGRAM ===== */
#noticias {
  scroll-margin-top: calc(var(--nav-height, 4rem) + 1.25rem);
}

.home-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.home-news-title {
  font-family: 'Ivar Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
}

.home-news-intro {
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 36rem;
  line-height: 1.55;
}

.home-news-cta {
  color: #fff;
  flex-shrink: 0;
}

.home-news-feed {
  min-height: 12rem;
}

.instagram-feed-widget {
  display: block;
  width: 100%;
  min-height: 24rem;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #faf9f7;
}

.instagram-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.instagram-feed-item {
  min-height: 0;
}

.instagram-feed-item-link {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8ecec;
  box-shadow: 0 2px 12px rgba(7, 26, 36, 0.06);
}

.instagram-feed-embed {
  display: block;
  width: 100%;
  min-height: 26rem;
  border: 0;
}

.instagram-feed-grid--images {
  gap: 1rem;
}

.instagram-feed-grid--images .instagram-feed-item {
  width: 100%;
  min-width: 0;
}

.instagram-feed-grid--images .instagram-feed-image-card {
  display: block;
  position: relative;
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0f1413;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.instagram-feed-grid--images .instagram-feed-image-card:hover {
  transform: none;
  opacity: 0.9;
}

.instagram-feed-grid--images .instagram-feed-image-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #0f1413;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}

.instagram-feed-grid--images .instagram-feed-image-badge {
  display: none;
}

.instagram-feed-image-card[data-post-type='reel']::after {
  content: '';
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45));
  pointer-events: none;
}

.instagram-feed-image-card[data-post-type='reel'] .instagram-feed-image-badge {
  display: none;
}

.instagram-feed-image-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.4rem;
  background: rgba(7, 26, 36, 0.72);
  backdrop-filter: blur(4px);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  background-color: #fff;
}

.instagram-feed-grid--placeholder .instagram-feed-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  aspect-ratio: 1;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #faf9f7 0%, #e5e0d8 100%);
  border: 1px solid rgba(38, 54, 51, 0.08);
  text-decoration: none;
  color: var(--dark-green, #263633);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-feed-grid--placeholder .instagram-feed-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(7, 26, 36, 0.1);
}

.instagram-feed-tile-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.85;
}

.instagram-feed-tile-label {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.8;
}

.instagram-feed-note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.instagram-feed-note a {
  color: var(--teal);
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--green-black);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 44px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}
.footer-col h4 { color: #fff; font-size: 0.8rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a:hover { color: #7dcec0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.footer-privacy-choices {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.footer-privacy-choices:hover { color: #7dcec0; }

.footer-privacy-choices img { flex-shrink: 0; height: 14px; width: auto; }

/* ===== PRIVACIDADE / CONSENTIMENTO (estilo Ketch / Maven) ===== */
body.hst-consent-open { overflow: hidden; }

.hst-consent-root {
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hst-consent-root [hidden] {
  display: none !important;
}

.hst-consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 36, 0.32);
  z-index: 9998;
}

/* Camada inicial - cartão vertical no canto inferior esquerdo (Maven / Ketch) */
.hst-consent-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  max-height: min(90vh, 640px);
  overflow: auto;
  background: #fff;
  color: #000;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(7, 26, 36, 0.18);
}

.hst-consent-banner-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hst-consent-banner-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.hst-consent-close--banner {
  background: transparent;
  color: #02846d;
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.hst-consent-close--banner:hover {
  background: rgba(2, 132, 109, 0.08);
}

.hst-consent-banner-title {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.18px;
  color: #000;
}

.hst-consent-banner-text {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.13px;
  color: #000;
}

.hst-consent-banner-text a {
  color: #000;
  text-decoration: underline;
}

.hst-consent-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hst-consent-btn--stack {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  background: #02846d;
  color: #fff;
  text-align: center;
}

.hst-consent-btn--stack:hover {
  background: #026f5c;
}

.hst-consent-modal {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(730px, calc(100% - 8px));
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #f8f5f1;
  color: #000;
  border-radius: 11px;
  box-shadow: 0 3px 10px 1px rgba(7, 26, 36, 0.24);
  overflow: hidden;
}

.hst-consent-header {
  padding: 20px 24px;
  background: #f8f5f1;
}

.hst-consent-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hst-consent-logo {
  display: block;
  height: auto;
  max-height: 52px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
}

.hst-consent-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 5px;
  background: #e8e4df;
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.hst-consent-close:hover { background: #ddd8d2; }

.hst-consent-modal-title {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: #000;
}

.hst-consent-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 16px;
}

.hst-consent-intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.hst-consent-subtitle {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.18px;
  color: #000;
}

.hst-consent-desc p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.13px;
  color: #000;
}

.hst-consent-desc a {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
}

.hst-consent-purposes-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.hst-consent-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hst-consent-btn {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hst-consent-btn--action {
  min-height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  background: #02846d;
  color: #fff;
}

.hst-consent-btn--action:hover { background: #026f5c; }

.hst-consent-btn--confirm {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 5px;
  background: #02846d;
  color: #fff;
}

.hst-consent-btn--confirm:hover { background: #026f5c; }

.hst-consent-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hst-consent-category {
  background: #fff;
  border-top: 1px solid rgba(1, 49, 38, 0.08);
}

.hst-consent-category:last-child {
  border-bottom: 1px solid rgba(1, 49, 38, 0.08);
}

.hst-consent-category-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: none;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.hst-consent-category-toggle-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hst-consent-category-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: #000;
}

.hst-consent-category-legal {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.72);
}

.hst-consent-category-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hst-consent-status {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.1px;
  color: rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.hst-consent-status--on { color: #02846d; }

.hst-consent-chevron {
  color: #000;
  transition: transform 0.2s ease;
}

.hst-consent-category.is-open .hst-consent-chevron {
  transform: rotate(180deg);
}

.hst-consent-category-panel {
  padding: 0 16px 14px;
  background: #fff;
}

.hst-consent-category-panel p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.82);
}

.hst-consent-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.hst-consent-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.hst-consent-switch-ui {
  width: 40px;
  height: 24px;
  background: #9ca3af;
  border-radius: 999px;
  transition: background 0.2s;
  cursor: pointer;
  position: relative;
}

.hst-consent-switch-ui::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hst-consent-switch input:checked + .hst-consent-switch-ui { background: #02846d; }
.hst-consent-switch input:checked + .hst-consent-switch-ui::after { transform: translateX(16px); }
.hst-consent-switch input:focus-visible + .hst-consent-switch-ui { outline: 2px solid #02846d; outline-offset: 2px; }

.hst-consent-footer {
  padding: 4px 24px 20px;
  background: #f8f5f1;
}

@media (max-width: 640px) {
  .hst-consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .hst-consent-banner-inner {
    padding: 20px;
  }

  .hst-consent-header,
  .hst-consent-body,
  .hst-consent-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hst-consent-modal-title {
    font-size: 22px;
  }

  .hst-consent-purposes-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.hst-consent-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9997;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #035748;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;
  padding: 0;
}

.hst-consent-fab:hover { background: #035748; }

.hst-consent-fab img {
  display: block;
  width: 32px;
  height: 32px;
}

/* ===== PÁGINAS INTERNAS (Modelo A + B) ===== */
.page-inner {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-inner .header-wrapper--inner {
  position: sticky;
  top: 0;
  height: auto;
  pointer-events: auto;
  z-index: 999;
  background: var(--header-green);
}

.page-inner .header-shell {
  background: var(--header-green);
}

.page-inner .navbar.nav-v2 {
  padding: 0.75rem 0.75rem 8px;
  transform: none !important;
}

@media (min-width: 992px) {
  .page-inner .navbar.nav-v2 {
    padding-left: 2.8125rem;
    padding-right: 2.8125rem;
  }
}

.nav__link-item.is-current,
.nav-dropdown-link.is-current {
  color: var(--teal);
}

.page-inner #main {
  flex: 1;
}

/* Páginas internas v2 - hero painel Maven (for-consultants) */
.page-inner-v2 {
  background: var(--bg);
}

.page-inner-v2 .header-wrapper--inner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  pointer-events: auto;
  z-index: 1000;
  background: transparent;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.page-inner-v2 .header-wrapper--inner.is-nav-hidden {
  transform: translateY(calc(-100% - 12px));
  opacity: 0;
  pointer-events: none;
}

.page-inner-v2 .header-shell {
  background: transparent;
}

.page-inner-v2 .navbar.nav-v2 {
  padding: var(--hero-inset) var(--hero-inset) 8px;
}

@media (min-width: 992px) {
  .page-inner-v2 .navbar.nav-v2 {
    padding-left: 2.8125rem;
    padding-right: 2.8125rem;
  }
}

.page-hero-stage {
  position: relative;
  background: var(--bg);
}

.page-hero-sentinel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.page-inner-v2 .page-hero--panel {
  background: transparent;
  padding: calc(var(--nav-height) + var(--hero-inset) + 20px) var(--hero-inset) 1.25rem;
  overflow: visible;
}

.page-hero-stage-inner {
  padding: 0;
}

.page-hero-panel {
  position: relative;
  background: #e5e0d8;
  border-radius: var(--hero-radius);
  min-height: min(46vh, 420px);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.page-hero-panel .page-hero-lines {
  color: rgba(2, 132, 109, 0.16);
}

.page-hero-panel .page-hero-lines svg {
  right: -8%;
  bottom: -15%;
  top: auto;
  width: min(75%, 640px);
}

.page-hero-panel-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.page-eyebrow--dot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.page-inner-v2 .page-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  max-width: 14ch;
}

.page-inner-v2 .page-hero-lead {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  max-width: 36rem;
}

/* Hero de páginas institucionais (legado - outras páginas até replicar v2) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--natural);
  padding: 4rem 0 5rem;
}

.page-hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: rgba(2, 132, 109, 0.22);
}

.page-hero-lines svg {
  position: absolute;
  right: -10%;
  top: 10%;
  width: min(70%, 720px);
  height: auto;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 48rem;
}

.page-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--green-black);
  margin: 0 0 1.25rem;
}

.page-hero-title strong {
  font-family: 'Ivar Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.page-hero-lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  max-width: 42rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.n4-btn.outlined-dark {
  background: transparent;
  color: var(--green-black);
  border-color: rgba(38, 54, 51, 0.35);
}

.n4-btn.outlined-dark:hover {
  border-color: var(--green-black);
  background: rgba(38, 54, 51, 0.04);
}

.page-section {
  padding: 4rem 0;
}

.page-section--white { background: #fff; }
.page-section--dark {
  background: var(--green-black);
  color: rgba(255, 255, 255, 0.85);
}

.page-section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: inherit;
  margin: 0 0 1rem;
  max-width: 28ch;
}

.page-section-heading strong {
  font-family: 'Ivar Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.page-section-intro {
  color: var(--text-muted);
  max-width: 42rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.page-section--dark .page-section-intro {
  color: rgba(255, 255, 255, 0.75);
}

.page-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.page-stat {
  background: #fff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(7, 26, 36, 0.06);
}

.page-section--dark .page-stat {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.page-stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.page-section--dark .page-stat-number {
  color: var(--electric-green);
}

.page-stat p {
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}

.page-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.page-feature {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(38, 54, 51, 0.1);
}

.page-section--dark .page-feature {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.page-feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: inherit;
}

.page-feature p {
  margin: 0;
  line-height: 1.55;
  color: var(--text-muted);
}

.page-section--dark .page-feature p {
  color: rgba(255, 255, 255, 0.75);
}

.page-prose {
  max-width: 42rem;
}

.page-prose p {
  margin: 0 0 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.page-prose ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--text-muted);
}

.page-prose li { margin-bottom: 0.35rem; }

.page-visitor-steps {
  margin-top: 0.5rem;
}

.page-visitor-step {
  background: #fff;
  border: 1px solid rgba(38, 54, 51, 0.08);
  border-top: 3px solid var(--teal);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(7, 26, 36, 0.05);
}

.page-visitor-step h3 {
  color: var(--text);
  font-size: 1.0625rem;
}

.page-visitor-step p {
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .page-visitor-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.page-timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(38, 54, 51, 0.1);
}

.page-timeline-year {
  font-weight: 600;
  color: var(--teal);
}

.page-contact-card {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(7, 26, 36, 0.08);
}

.page-contact-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-contact-card p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.page-contact-card a {
  color: var(--teal);
  text-decoration: underline;
}

.hst-contact-form-block {
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(7, 26, 36, 0.08);
}

.hst-contact-form-intro {
  margin-bottom: 1.5rem;
}

.hst-contact-form-title {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.hst-contact-form-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(7, 26, 36, 0.72);
  max-width: 42ch;
}

.hst-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hst-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hst-form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hst-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hst-form-field label {
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.hst-form-field input,
.hst-form-field textarea {
  width: 100%;
  font: inherit;
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  background: #f8f7f4;
  border: 1px solid rgba(7, 26, 36, 0.12);
  border-radius: 0.375rem;
  padding: 0.75rem 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hst-form-field input:focus,
.hst-form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(2, 140, 116, 0.15);
}

.hst-form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.hst-form-turnstile {
  min-height: 4rem;
}

.hst-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.hst-form-submit {
  flex: 0 0 auto;
  min-width: 11rem;
}

.hst-form-submit[aria-busy='true'] {
  opacity: 0.72;
  cursor: wait;
}

.hst-form-feedback {
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
  pointer-events: none;
}

.hst-form-feedback__message {
  margin: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 0.375rem;
  font-family: 'Helvetica Now Display', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  display: none;
  opacity: 0;
  transform: translateY(0.15rem);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.hst-form-feedback__message.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.hst-form-feedback__message[hidden] {
  display: none !important;
}

.hst-form-feedback__message--success {
  background: rgba(2, 140, 116, 0.92);
  color: #fff;
  border: 1px solid rgba(0, 107, 89, 0.65);
}

.hst-form-feedback__message--error {
  background: rgba(180, 35, 55, 0.92);
  color: #fff;
  border: 1px solid rgba(140, 20, 35, 0.65);
}

@media (max-width: 900px) {
  .page-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hst-form-row {
    grid-template-columns: 1fr;
  }

  .hst-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hst-form-submit {
    width: 100%;
  }
}

.page-location-section {
  padding-top: 2.5rem;
}

.page-location-grid {
  display: grid;
  grid-template-columns: 1fr minmax(17.5rem, 22.5rem);
  gap: 1.5rem;
  align-items: stretch;
}

.page-location-map-wrap {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(7, 26, 36, 0.08);
  background: #e5e0d8;
  min-height: 22.5rem;
}

.page-location-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 22.5rem;
  border: 0;
}

.page-location-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(7, 26, 36, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-location-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 1rem;
  color: var(--dark-green, #263633);
}

.page-location-address {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  color: rgba(38, 54, 51, 0.78);
}

.page-location-note {
  margin: 1.5rem 0 0;
  max-width: 42rem;
  line-height: 1.6;
  color: rgba(38, 54, 51, 0.72);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .page-location-grid {
    grid-template-columns: 1fr;
  }

  .page-location-map-wrap,
  .page-location-map {
    min-height: 18rem;
  }
}

.page-cta-band {
  background: var(--teal);
  color: #fff;
  padding: 4rem 0;
}

.page-cta-band-inner {
  text-align: center;
  max-width: 40rem;
}

.page-cta-band h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.page-cta-band p {
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

.page-cta-band .n4-btn.primary {
  background: #fff;
  color: var(--teal);
  border-color: #fff;
}

.page-cta-band .n4-btn.outlined-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.page-cta-band .n4-btn.outlined-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.page-cta-band .page-hero-actions {
  justify-content: center;
  margin-top: 0;
}

.page-placeholder-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.5rem;
}

/* Modelo B - documento */
.page-inner.page-document #main {
  background: #fff;
}

.page-doc-header {
  background: var(--natural);
  border-bottom: 1px solid rgba(25, 24, 23, 0.08);
  padding: 2.5rem 0 2rem;
}

.page-doc-header h1 {
  font-family: 'Helvetica Now Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.125rem);
  font-weight: 400;
  line-height: 1.2;
  color: #191817;
  margin: 0;
}

.page-doc-date {
  font-size: 1rem;
  color: #5c6b68;
  margin: 0.5rem 0 0;
}

.page-doc-body {
  flex: 1;
  padding: 2rem 0 4rem;
}

.page-inner.page-document .public-legal-container {
  padding-top: 0;
  padding-bottom: 0;
}

.page-inner.page-document .public-legal-container h1 {
  display: none;
}

.page-inner.page-document .public-legal-date {
  display: none;
}

/* ===== PÁGINA LEGAL (conteúdo) ===== */
.public-legal-page,
.page-inner.page-document {
  color: #191817;
  font-family: 'Helvetica Now Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.public-legal-page {
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.public-legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(25, 24, 23, 0.08);
}

.public-legal-nav-inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 16px;
  height: 80px;
  display: flex;
  align-items: center;
}

.public-legal-logo img {
  height: 40px;
  width: auto;
  max-width: min(200px, 55vw);
}

.public-legal-container {
  flex: 1;
  max-width: 768px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.public-legal-container h1 {
  font-family: 'Helvetica Now Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  color: #191817;
  margin: 34px 0 4px;
}

.public-legal-date {
  font-size: 16px;
  line-height: 1.5;
  color: #191817;
  margin: 0 0 24px;
}

.public-legal-container p,
.public-legal-container li {
  font-size: 16px;
  line-height: 1.5;
  color: #191817;
  margin: 0 0 8px;
}

.public-legal-container p:last-child { margin-bottom: 8px; }

.public-legal-container strong {
  font-weight: 700;
}

.public-legal-container ul {
  list-style: disc;
  margin: 0 0 16px 1.25rem;
  padding: 0;
}

.public-legal-container li { margin-bottom: 4px; }

.public-legal-container a {
  color: #00826a;
  text-decoration: underline;
}

.public-legal-container a:hover { color: #006b59; }

.public-legal-section-title {
  margin-top: 24px !important;
  margin-bottom: 8px !important;
}

.public-legal-callout {
  margin: 16px 0 24px;
  padding: 16px;
  background: #f7f7f5;
  border-left: 3px solid #00856f;
}

.public-legal-callout p:last-child { margin-bottom: 0; }

.public-legal-footer {
  border-top: 1px solid rgba(25, 24, 23, 0.08);
  background: #fff;
  padding: 0 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.public-legal-footer-copy {
  font-size: 14px;
  color: #191817;
  margin: 0;
}

.public-legal-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.public-legal-footer-nav a,
.public-legal-footer-nav button {
  font-family: inherit;
  font-size: 14px;
  color: #191817;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.public-legal-footer-nav a:hover,
.public-legal-footer-nav button:hover {
  color: #00826a;
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav__link-item,
  .nav__link-drop {
    padding: 8px 8px;
    font-size: 14px;
  }

  .cta__green {
    padding: 0 14px;
    font-size: 14px;
    margin: 0 4px;
  }

  .branding__hst img.nav-logo-lg {
    height: 37px;
    max-width: 204px;
  }
}

@media (max-width: 991px) {
  .page-stats-grid { grid-template-columns: 1fr; }
  .page-timeline-item { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (max-width: 991px) {
  .nav-menu-4 { display: none; }
  .menu-button { display: flex; }
  .branding__hst img.nav-logo-lg {
    height: 52px;
    max-width: min(290px, 52vw);
  }
  .nav__right-block {
    gap: 0.35rem;
  }
  .nav__right-block .cta__green {
    margin: 0;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    height: 34px;
  }
  .cta__green.cta__outlined {
    display: none;
  }
  #rive-animation { display: none; }
  .hero-lines-wrap {
    width: 80%;
    height: auto;
    top: 20%;
    bottom: auto;
    left: 0;
  }
  .hero-contain {
    width: calc(100% - 3rem);
    align-items: center;
  }
  .hero-layout,
  .hero-body {
    align-items: center;
    text-align: center;
  }
  .hero-heading {
    max-width: none;
  }
  .hero-btns {
    flex-wrap: nowrap;
    justify-content: center;
    width: 100%;
    max-width: 22.5rem;
    gap: 0.5rem;
  }
  .hero-btns .n4-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.65rem;
    font-size: 0.875rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-feed-grid { grid-template-columns: 1fr; }
  .instagram-feed-grid--images {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-main { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .hero-bg-wrap,
  .hero-component {
    padding: var(--hero-image-top) var(--hero-inset) var(--hero-inset);
  }

  .hero-bg {
    object-position: 60% center;
  }

  .hero-bg[src*="hero-bg-01"],
  .hero-bg[src*="hero-bg-03"],
  .hero-bg[src*="hero-bg-04"] {
    object-position: 85% center;
  }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .instagram-feed-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-feed-grid--images {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .branding__hst img.nav-logo-lg {
    height: 56px;
    max-width: min(280px, 54vw);
  }
  .nav__right-block .cta__green {
    padding: 0 0.625rem;
    font-size: 0.8125rem;
    height: 32px;
  }
}
