/*
 * AH Brand - AgTech azul claro + amber
 */
:root {
  --ah-primary: #1876D2;
  --ah-secondary: #2B8AE8;
  --ah-accent: #F59E0B;
  --ah-gold: #D97706;
  --ah-ink: #0F5FAF;
  --ah-muted: #475569;
  --ah-surface: #ffffff;
  --ah-surface-alt: #F8FAFC;
  --ah-radius: 12px;
  --ah-radius-sm: 8px;
  --ah-shadow: 0 12px 36px rgba(24, 118, 210, 0.12);
  --ah-shadow-hover: 0 20px 48px rgba(24, 118, 210, 0.18);
  --ah-gradient: linear-gradient(135deg, #1876D2 0%, #2B8AE8 100%);
  --ah-primary-rgb: 24, 118, 210;
  --ah-secondary-rgb: 43, 138, 232;
  --ah-accent-rgb: 245, 158, 11;
  --ah-esg: #059669;
  --ah-nav-h: 75px;
  --ah-font: "Source Sans 3", system-ui, sans-serif;
  --ah-display: "Fraunces", Georgia, "Times New Roman", serif;
}

body {
  font-family: var(--ah-font);
  color: var(--ah-muted);
  background: var(--ah-surface-alt);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3,
.ah-hero__title,
.ah-section-title,
.ah-milestone__years,
.ah-milestone__title,
.ah-esg__title,
.ah-hero__brand {
  font-family: var(--ah-display);
}

.text-success,
h2.text-success,
h3.text-success {
  color: var(--ah-primary) !important;
}

.ah-hero {
  position: relative;
  width: 100%;
  min-height: clamp(380px, 58vh, 560px);
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: var(--ah-primary);
}

.ah-hero__mark {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vh, 2.5rem);
  z-index: 1;
  margin: 0;
  line-height: 0;
  pointer-events: none;
  user-select: none;
  animation: ah-mark-in 1.4s ease-out both;
}
.ah-hero__mark-logo {
  display: block;
  width: clamp(200px, 32vw, 420px);
  height: auto;
  max-width: 42vw;
  opacity: 0.94;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
  object-fit: contain;
}

@keyframes ah-mark-in {
  from { opacity: 0; transform: translateX(4vw); }
  to { opacity: 1; transform: translateX(0); }
}

.ah-hero__brand {
  display: inline-block;
  font-size: clamp(1.55rem, 4.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
  margin: 0 0 0.85rem;
  line-height: 1.1;
}

.ah-hero__brand::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 4px;
  margin-top: 0.85rem;
  background: var(--ah-accent);
  border-radius: 2px;
}

.ah-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  max-width: 18em;
  text-align: left !important;
  letter-spacing: -0.01em;
  font-family: var(--ah-font);
}

.ah-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 3;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
}

.ah-hero__scroll span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--ah-accent);
  animation: ah-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes ah-scroll-dot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.35; transform: translateY(10px); }
}

.ah-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  animation: ah-hero-ken 18s ease-out forwards;
}

@keyframes ah-hero-ken {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

/* Roleta de fotos no hero (texto/CTA ficam fixos) */
.ah-hero--slider {
  isolation: isolate;
}
.ah-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.ah-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.ah-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.ah-hero__slide img,
.ah-hero__slide picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.ah-hero__slide img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}
.ah-hero__slide.is-active img {
  animation: ah-hero-ken 7s ease-out forwards;
}
.ah-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 5.4rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
.ah-hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}
.ah-hero__dot.is-active {
  width: 1.35rem;
  background: var(--ah-accent, #F59E0B);
}
.ah-hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .ah-hero__slide,
  .ah-hero__slide.is-active img {
    transition: none;
    animation: none;
  }
}
@media (max-width: 767.98px) {
  .ah-hero__dots {
    bottom: 5rem;
  }
}

.ah-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 3;
}

.ah-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15, 23, 42, 0.72) 0%,
    rgba(var(--ah-primary-rgb), 0.58) 42%,
    rgba(var(--ah-primary-rgb), 0.28) 100%
  );
}

.ah-hero__content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 6vw, 4.5rem);
  color: #fff;
  animation: ah-fade-up 0.9s ease-out both;
}

@keyframes ah-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.ah-hero__brand {
  display: inline-block;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #fff;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.ah-hero__brand::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.65rem;
  background: var(--ah-accent);
  border-radius: 2px;
}

.ah-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 4.4vw, 3.25rem);
  font-weight: 650;
  line-height: 1.12;
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  max-width: 12em;
  text-align: left !important;
  letter-spacing: -0.02em;
}

.ah-hero__lead {
  margin: 0 0 1.75rem;
  font-family: var(--ah-font);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  max-width: 36ch;
  line-height: 1.45;
}

.ah-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-accent);
  color: #fff;
  font-family: var(--ah-font);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.85rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(var(--ah-accent-rgb), 0.35);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.ah-hero__cta:hover,
.ah-hero__cta:focus {
  background: #D97706;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--ah-accent-rgb), 0.42);
}

@media (max-width: 767.98px) {
  .ah-hero {
    min-height: min(88vh, 640px);
  }
  .ah-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(var(--ah-primary-rgb), 0.28) 0%,
      rgba(var(--ah-primary-rgb), 0.82) 100%
    );
  }
  .ah-hero__content {
    justify-content: flex-end;
    padding-bottom: 3rem;
  }
  .ah-hero__title {
    max-width: none;
  }
}

.ah-milestone {
  background: var(--ah-gradient);
  color: #fff;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}

.ah-milestone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 50%, rgba(var(--ah-accent-rgb), 0.18), transparent 55%);
  pointer-events: none;
}

.ah-milestone__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.ah-milestone__years {
  margin: 0;
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ah-accent);
  flex: 0 0 auto;
}

.ah-milestone__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.ah-milestone__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.ah-milestone__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff !important;
  max-width: 22ch;
}

.ah-milestone__lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

.ah-milestone__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ah-milestone__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ah-milestone__cta:hover,
.ah-milestone__cta:focus {
  background: #D97706;
  color: #fff;
  transform: translateY(-1px);
}

.ah-milestone__cta--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.ah-milestone__cta--ghost:hover,
.ah-milestone__cta--ghost:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

@media (max-width: 575.98px) {
  .ah-milestone__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
 * ESG / Sustentabilidade (home)
 * -------------------------------------------------------------------------- */
.ah-esg {
  background: var(--ah-surface-alt);
  padding: clamp(2.75rem, 5.5vw, 4.5rem) 0;
  border-top: 1px solid rgba(var(--ah-primary-rgb), 0.08);
  border-bottom: 1px solid rgba(var(--ah-primary-rgb), 0.08);
}

.ah-esg__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.ah-esg__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-gold);
}

.ah-esg__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--ah-primary) !important;
  max-width: 22ch;
}

.ah-esg__lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ah-muted);
  max-width: 54ch;
}

.ah-esg__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.ah-esg__item {
  padding: 0;
  background: transparent;
  border: 0;
}

.ah-esg__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.85rem;
  color: var(--ah-primary);
  font-size: 1.35rem;
}

.ah-esg__item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ah-ink);
}

.ah-esg__item p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ah-muted);
}

.ah-esg__item a {
  font-weight: 700;
  color: var(--ah-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ah-esg__item a:hover,
.ah-esg__item a:focus {
  color: var(--ah-accent);
}

@media (max-width: 767.98px) {
  .ah-esg__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ah-esg__title {
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
 * SeÃ§Ãµes e tÃ­tulos
 * -------------------------------------------------------------------------- */
.ah-section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  position: relative;
  z-index: 1;
  isolation: isolate;
  clear: both;
}

.page-home #negocios {
  z-index: 2;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* Anula layout legado de #parcerias (altura fixa 520px em main.css) */
#parcerias.ah-section,
.page-home #parcerias {
  height: auto !important;
  min-height: 0 !important;
  z-index: 1;
  margin-top: 0;
  margin-bottom: 0;
  overflow: visible;
  padding-top: clamp(2.75rem, 5.5vw, 4.75rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
}

.page-home #parcerias .container {
  position: relative;
  z-index: 1;
}

.page-home #parcerias .card {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  transform: none !important;
}

.page-home #parcerias .hover-card:hover {
  transform: translateY(-4px) !important;
}

.page-home #esg.ah-esg {
  position: relative;
  z-index: 0;
  margin-top: 0;
  padding-top: clamp(3rem, 6vw, 5rem);
  clear: both;
}

.page-home .ah-section-title {
  position: relative;
  z-index: 1;
  opacity: 1 !important;
  transform: none !important;
  margin-top: 0;
}

.page-home .business-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  transform: none !important;
}

.page-home .business-card:hover {
  transform: translateY(-6px) !important;
}

.ah-section--alt {
  background: var(--ah-surface-alt);
}

.ah-section--white {
  background: var(--ah-surface);
}

.ah-section-title {
  position: relative;
  display: block;
  text-align: center;
  color: var(--ah-primary) !important;
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin: 0 auto 2.25rem;
  letter-spacing: -0.02em;
}

.ah-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.75rem auto 0;
  border-radius: 2px;
  background: var(--ah-accent);
  transition: width 0.25s ease;
}

.ah-section-title:hover::after {
  width: 72px;
}

.ah-section-title--left {
  text-align: left;
  margin-left: 0;
}

.ah-section-title--left::after {
  margin-left: 0;
}

/* Cards de negÃ³cio / listagens */
.page-home .business-card,
.page-home .hover-card {
  border: 1px solid rgba(var(--ah-primary-rgb), 0.06);
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
  background: var(--ah-surface);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
}

.page-home .business-card:hover,
.page-home .hover-card:hover {
  box-shadow: var(--ah-shadow-hover);
  border-color: rgba(var(--ah-primary-rgb), 0.14);
}

.page-home .btn-business {
  display: inline-block;
  background: var(--ah-gradient);
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  border: none;
  box-shadow: 0 6px 18px rgba(var(--ah-primary-rgb), 0.22);
  letter-spacing: 0.01em;
}

.page-home .btn-business:hover,
.page-home .btn-business:focus {
  color: #fff;
  filter: brightness(1.08);
}

.page-home .btn-business-link {
  display: block;
  margin-top: 0.65rem;
  color: var(--ah-primary);
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .btn-business-link:hover,
.page-home .btn-business-link:focus {
  color: var(--ah-accent);
}

.page-home .btn-outline-success {
  border-color: var(--ah-primary);
  color: var(--ah-primary);
}

.page-home .btn-outline-success:hover {
  background: var(--ah-primary);
  border-color: var(--ah-primary);
  color: #fff;
}

/* Banner DB legado (index) â€” esconder se vazio / nÃ£o usar no 1Âº viewport */
.banner-section.d-none {
  display: none !important;
}

/* --------------------------------------------------------------------------
 * CabeÃ§alho de pÃ¡ginas internas
 * -------------------------------------------------------------------------- */
.ah-page-header {
  background: var(--ah-gradient);
  color: #fff;
  padding: 2.25rem 0 2rem;
  margin: 0;
}

.ah-page-header h1,
.ah-page-header .ah-page-title {
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
}

.ah-page-header .ah-page-lead {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 40rem;
}

.ah-page-body {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

/* NotÃ­cias */
.ah-news-card {
  border: 1px solid rgba(var(--ah-primary-rgb), 0.06);
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
  overflow: hidden;
  height: 100%;
  background: var(--ah-surface);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.ah-news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ah-shadow-hover);
  border-color: rgba(var(--ah-primary-rgb), 0.14);
}

.ah-news-card img,
.ah-news-card .news-card-img,
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.ah-news-card .card-body,
.ah-news-meta {
  color: var(--ah-muted);
}

.ah-news-card a.btn-link,
.ah-news-card .text-success {
  color: var(--ah-primary) !important;
  font-weight: 600;
  text-decoration: none;
}

.ah-news-detail {
  max-width: 860px;
  margin: 0 auto;
}

.ah-news-detail .ah-news-date {
  color: var(--ah-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.ah-news-detail img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ah-radius);
}

/* Compras */
.page-sales .ah-page-body .card,
.sales-page .card {
  border: none;
  border-radius: var(--ah-radius);
  box-shadow: var(--ah-shadow);
}

.page-sales h1,
.page-sales h2,
.sales-page h1,
.sales-page h2 {
  color: var(--ah-primary);
}

/* Nav: caber em telas ~1366â€“1536 sem cortar */
.navbar .container-fluid {
  gap: 0.35rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar-nav .nav-link {
  padding-left: 0.55rem !important;
  padding-right: 0.55rem !important;
  font-size: 0.8rem !important;
  letter-spacing: 0 !important;
}

.navbar-icons .contact-item {
  padding: 0.4rem 0.45rem !important;
  font-size: 0.78rem !important;
}

.navbar-icons .contact-item span {
  max-width: 4.5rem;
}

/* CTA Fale Conosco no topo */
.ah-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ah-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.1;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ah-nav-cta:hover,
.ah-nav-cta:focus,
.ah-nav-cta.show {
  background: #D97706;
  color: #fff !important;
  transform: translateY(-1px);
}

.ah-nav-cta.dropdown-toggle::after {
  margin-left: 0.4em;
  vertical-align: 0.15em;
  border-top-color: currentColor;
}

.ah-nav-cta-mobile {
  display: block !important;
  background: var(--ah-accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-align: center;
  border-radius: 8px;
  margin: 0 0.5rem 0.75rem;
  padding: 0.7rem 1rem !important;
}

.ah-nav-cta-mobile:hover,
.ah-nav-cta-mobile:focus,
.ah-nav-cta-mobile.show {
  background: #D97706 !important;
  color: #fff !important;
}

/* Idioma: menu nÃ£o corta na borda direita */
.navbar,
.navbar .container-fluid,
.navbar-collapse,
.navbar-icons,
.ah-lang-form,
.ah-lang-dd {
  overflow: visible !important;
}

.navbar-icons {
  position: relative;
  z-index: 1040;
  padding-right: 0.35rem;
  margin-right: 0.15rem;
}

.ah-lang-dd {
  position: relative;
}

.ah-lang-menu.dropdown-menu {
  right: 0 !important;
  left: auto !important;
  min-width: 11.5rem;
  width: max-content;
  max-width: calc(100vw - 1.25rem);
  padding: 0.4rem 0;
  margin-top: 0 !important;
  inset: auto 0 auto auto !important;
  transform: none !important;
}

.ah-lang-menu .dropdown-item {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 1400px) {
  .navbar-nav .nav-link {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
    font-size: 0.76rem !important;
  }
  .navbar-icons .contact-item span:not(.emoji) {
    display: inline;
  }
}

/* Hero: tÃ­tulo sem quebra feia ("em" sozinho) */
.ah-hero,
.ah-hero .ah-hero__brand,
.ah-hero .ah-hero__title,
.ah-hero .ah-hero__lead,
.ah-hero .ah-hero__content {
  text-align: left !important;
}

.ah-hero__title {
  max-width: 11.5em;
  white-space: normal;
  text-wrap: unset;
  word-spacing: normal;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.ah-hero__lead {
  max-width: 28rem;
  text-align: left !important;
}

@media (min-width: 992px) {
  .ah-hero__title {
    font-size: clamp(2.1rem, 3.4vw, 2.85rem);
    max-width: 12em;
  }
}

/* --------------------------------------------------------------------------
 * Contraste â€” evita texto â€œapagadoâ€ (cor prÃ³xima do fundo)
 * -------------------------------------------------------------------------- */

/* ConteÃºdo editorial: tÃ­tulos legÃ­veis em fundo claro */
.dynamic-content h1,
.dynamic-content h2,
.dynamic-content h3,
.dynamic-content h4,
.dynamic-content h5,
.dynamic-content h6,
.news-description h1,
.news-description h2,
.news-description h3,
.news-description h4,
.news-description h5,
.news-description h6,
.ah-news-card .card-title,
.ah-news-card h5,
.card .card-title,
.page-home .card h3,
.page-home .card .h4,
.page-home .card .h5 {
  color: var(--ah-primary) !important;
}

/* Faixas escuras: texto sempre branco (nÃ£o aplicar o verde acima) */
.work-header,
.work-header h1,
.work-header h2,
.work-header h3,
.work-header p,
.work-header .work-title,
.work-header .work-subtitle,
.work-header .work-description,
.ah-page-header,
.ah-page-header h1,
.ah-page-header h2,
.ah-page-header p,
.ah-page-header .ah-page-title,
.ah-page-header .ah-page-lead,
.ah-hero,
.ah-hero h1,
.ah-hero p,
.bg-success,
.bg-success h1,
.bg-success h2,
.bg-success h3,
.bg-success h4,
.bg-success h5,
.bg-success p,
.bg-success .display-1,
.bg-success .display-2,
.bg-success .display-3,
.bg-success .display-4,
.bg-success.text-white,
.bg-success.text-white h1,
.bg-success.text-white h2,
.bg-success.text-white .display-4,
section.bg-success,
section.bg-success * {
  color: #fff !important;
}
.work-header .work-subtitle,
.work-header .work-description,
.ah-page-header .ah-page-lead {
  color: rgba(255, 255, 255, 0.92) !important;
}
.ah-hero__brand,
.ah-hero__lead {
  color: var(--ah-accent) !important;
}

/* Header interno: altura proporcional (nÃ£o 400px vazios) */
header.ah-page-header,
.ah-page-header {
  min-height: 0 !important;
  padding: 2.25rem 0 2rem !important;
}

/* Navbar sticky: sem gap fantasma sob o menu */
body {
  padding-top: 0 !important;
}
.navbar.fixed-top + *,
.navbar.sticky-top + * {
  scroll-margin-top: 0;
}
main,
#page-top > .page-home,
#page-top > [class*="page-"],
#page-top > .dynamic-content {
  margin-top: 0;
}

/* NÃ£o justificar tÃ­tulos/botÃµes/nav (evita layout â€œtortoâ€) */
.navbar,
.navbar *,
.btn,
.btn *,
h1, h2, h3, h4, h5, h6,
.ah-hero,
.ah-hero *,
.ah-page-header,
.ah-page-header *,
.work-header,
.work-header *,
.ah-section-title,
.card-title,
.nav-link {
  text-align: inherit;
}
.navbar .nav-link,
.ah-section-title,
.ah-page-header,
.work-header,
.bg-success.text-center {
  text-align: center;
}
.ah-page-header .container,
.ah-page-header h1 {
  text-align: left !important;
}
.work-header,
.work-header .text-center,
.bg-success .text-center {
  text-align: center !important;
}

/* Produto: faixa verde full-bleed e conteÃºdo mais largo */
.bg-success.text-white {
  width: 100%;
}
.product-content,
.page-product .container,
.dynamic-content .container {
  max-width: 1100px;
}

/* Cards sem imagem: placeholder */
.ah-news-card .card-img-top:empty,
.news-card-img[src=""],
img.news-card-img:not([src]) {
  min-height: 200px;
  background: var(--ah-surface-alt);
}

/* Texto auxiliar: cinza legÃ­vel (nÃ£o claro demais) */
.text-muted,
.ah-news-meta,
.ah-news-detail .ah-news-date,
.news-description,
.card-text.text-muted,
.small.text-muted {
  color: #4a5568 !important;
}

/* Trechos HTML do CKEditor com cor clara/branca no fundo branco */
.news-description,
.news-description p,
.news-description span,
.news-description li,
.ah-news-detail .description,
.ah-news-detail .description p,
.ah-news-detail .description span,
.dynamic-content .description,
.dynamic-content .description p {
  color: #2d3748 !important;
}

.news-description a,
.ah-news-detail .description a,
.dynamic-content .description a {
  color: var(--ah-primary) !important;
}

/* Cards: corpo nÃ£o herda cinza em tudo */
.ah-news-card .card-body {
  color: var(--ah-ink);
}

/* Navbar: texto sempre claro no verde */
.navbar,
.navbar .nav-item,
.navbar .navbar-nav {
  color: #fff;
}
.navbar .nav-link,
.navbar-icons .contact-item,
.navbar-icons .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Footer escuro: nÃ£o deixar regras antigas de main.css (fundo claro) vencerem */
footer,
footer h5,
footer h3,
footer p,
footer li,
footer .small {
  color: rgba(255, 255, 255, 0.9) !important;
}
footer a {
  color: rgba(255, 255, 255, 0.75) !important;
}
footer a:hover {
  color: #fff !important;
}
footer .btn,
footer .btn-success {
  color: #fff !important;
}

/* BotÃµes outline legÃ­veis */
.btn-outline-success {
  color: var(--ah-primary) !important;
  border-color: var(--ah-primary) !important;
  background: transparent !important;
}
.btn-outline-success:hover,
.btn-outline-success:focus {
  color: #fff !important;
  background: var(--ah-primary) !important;
  border-color: var(--ah-primary) !important;
}

/* BotÃ£o negÃ³cios: texto branco no gradiente */
.btn-business {
  color: #fff !important;
}

/* Iniciais / badges claros: texto escuro */
.farm-initials {
  color: var(--ah-primary) !important;
  font-weight: 700;
}

/* PÃ¡ginas com ah-background: conteÃºdo acima precisa de contraste */
.ah-background .container,
.ah-background .ah-page-body,
.page-sales .container {
  color: var(--ah-ink);
}

/* Parceria â€” bloco aberto (sem card) */
.ah-partner-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.ah-partner-block .ah-partner-block__title {
  margin: 0 0 1rem;
}

.ah-partner-block .ah-partner-block__text {
  margin: 0 0 1.5rem;
  color: var(--ah-muted);
  line-height: 1.55;
}

/* ==========================================================================
 * Layout cinematogrÃ¡fico â€” home
 * ========================================================================== */
.ah-hero--cinematic {
  min-height: clamp(380px, 58vh, 560px);
}

.ah-hero--cinematic .ah-hero__brand {
  font-size: clamp(1.55rem, 4.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.85rem;
}

.ah-hero--cinematic .ah-hero__brand::after {
  width: 3.5rem;
  height: 4px;
  margin-top: 0.85rem;
}

.ah-hero--cinematic .ah-hero__title {
  font-family: var(--ah-font);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 500;
  max-width: 18em;
  color: rgba(255, 255, 255, 0.92) !important;
}

.ah-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 3;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
}

.ah-hero__scroll span {
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--ah-accent);
  animation: ah-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes ah-scroll-dot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.35; transform: translateY(10px); }
}

.ah-milestone--bold {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.ah-milestone--bold .ah-milestone__years {
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 0.82;
  margin-left: -0.05em;
}

.ah-biz {
  background: var(--ah-surface);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.ah-biz__intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.1rem, 2.5vw, 1.6rem);
}

.ah-biz__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-accent);
}

.ah-biz__title {
  margin: 0;
  font-family: var(--ah-display);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 650;
  color: var(--ah-ink, #0F5FAF);
  letter-spacing: -0.02em;
}

/* Tiles estilo 3tentos: foto full + rótulo central */
.ah-biz-tiles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.ah-biz-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: #fff !important;
  isolation: isolate;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ah-biz-tile picture,
.ah-biz-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.ah-biz-tile img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.ah-biz-tile__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%),
    linear-gradient(0deg, rgba(var(--ah-primary-rgb), 0.28), rgba(var(--ah-primary-rgb), 0.28));
  transition: background 0.35s ease;
}

.ah-biz-tile__label {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--ah-font);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  line-height: 1.15;
}

.ah-biz-tile__hint {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.85rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.ah-biz-tile:hover,
.ah-biz-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}

.ah-biz-tile:hover img,
.ah-biz-tile:focus-visible img {
  transform: scale(1.08);
}

.ah-biz-tile:hover .ah-biz-tile__shade,
.ah-biz-tile:focus-visible .ah-biz-tile__shade {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.72) 100%),
    linear-gradient(0deg, rgba(var(--ah-primary-rgb), 0.35), rgba(var(--ah-primary-rgb), 0.35));
}

.ah-biz-tile:hover .ah-biz-tile__hint,
.ah-biz-tile:focus-visible .ah-biz-tile__hint {
  opacity: 0.95;
  transform: translateY(0);
}

.ah-biz-tile:focus-visible {
  outline: 3px solid var(--ah-accent);
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .ah-biz-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ah-biz-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .ah-biz-tile {
    aspect-ratio: 1 / 1;
  }
  .ah-biz-tile__hint {
    display: none;
  }
}

.ah-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: clamp(260px, 38vh, 420px);
  background: var(--ah-primary);
  color: #fff;
}

.ah-panel--flip {
  direction: rtl;
}

.ah-panel--flip > * {
  direction: ltr;
}

.ah-panel__media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.ah-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.ah-panel:hover .ah-panel__media img {
  transform: scale(1.05);
}

.ah-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background: var(--ah-gradient);
}

.ah-panel__index {
  font-family: var(--ah-font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ah-accent);
  margin-bottom: 0.75rem;
}

.ah-panel__name {
  margin: 0 0 0.75rem;
  font-family: var(--ah-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.05;
}

.ah-panel__text {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28ch;
}

.ah-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.ah-panel__cta {
  display: inline-flex;
  align-items: center;
  background: var(--ah-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ah-panel__cta:hover,
.ah-panel__cta:focus {
  background: #D97706;
  color: #fff;
  transform: translateY(-2px);
}

.ah-panel__link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ah-panel__link:hover,
.ah-panel__link:focus {
  color: var(--ah-accent);
}

@media (max-width: 899.98px) {
  .ah-panel,
  .ah-panel--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: 0;
  }

  .ah-panel__media {
    min-height: 240px;
    max-height: 320px;
  }

  .ah-hero__mark-logo {
    width: clamp(160px, 48vw, 260px);
    max-width: 70vw;
  }
}

/* ==========================================================================
 * Trilho de unidades (substitui mapa + lista)
 * ========================================================================== */
.ah-rail-lead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.ah-rail {
  width: 100%;
  margin: 0;
  padding: 0 0 1.5rem;
}

.ah-rail__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(1rem, 4vw, 3rem);
  padding: 0.5rem clamp(1rem, 4vw, 3rem) 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ah-accent) transparent;
}

.ah-rail__track::-webkit-scrollbar {
  height: 6px;
}

.ah-rail__track::-webkit-scrollbar-thumb {
  background: var(--ah-accent);
  border-radius: 999px;
}

.ah-rail__card {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ah-primary);
  color: #fff;
  box-shadow: var(--ah-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ah-rail__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ah-shadow-hover);
}

.ah-rail__visual {
  position: relative;
  height: 160px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.75)),
    linear-gradient(135deg, var(--farm-tint, var(--ah-accent)), #1876D2);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem 1.15rem;
}

.ah-rail__initials {
  font-family: var(--ah-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.95);
}

.ah-rail__num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.ah-rail__body {
  padding: 1.15rem 1.25rem 1.35rem;
  background: #1876D2;
}

.ah-rail__name {
  margin: 0 0 0.35rem;
  font-family: var(--ah-display);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.2;
  color: #fff;
}

.ah-rail__place {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.ah-rail__cta {
  display: inline-flex;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ah-accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ah-rail__cta:hover,
.ah-rail__cta:focus {
  color: #D97706;
  border-bottom-color: currentColor;
}

.ah-rail__cta--muted {
  color: rgba(255, 255, 255, 0.45);
  cursor: default;
}

.ah-rail__hint {
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
  font-size: 0.85rem;
  color: var(--ah-muted);
  text-align: center;
}

.ah-rail__empty {
  padding: 2rem;
  color: var(--ah-muted);
}

/* ==========================================================================
 * Trilho de unidades (substitui mapa + lista)
 * ========================================================================== */
.ah-rail-lead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.ah-rail {
  width: 100%;
  margin: 0;
  padding: 0 0 1.5rem;
}

.ah-rail__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: clamp(1rem, 4vw, 3rem);
  padding: 0.5rem clamp(1rem, 4vw, 3rem) 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ah-accent) transparent;
}

.ah-rail__track::-webkit-scrollbar {
  height: 6px;
}

.ah-rail__track::-webkit-scrollbar-thumb {
  background: var(--ah-accent);
  border-radius: 999px;
}

.ah-rail__card {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--ah-primary);
  color: #fff;
  box-shadow: var(--ah-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ah-rail__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ah-shadow-hover);
}

.ah-rail__visual {
  position: relative;
  height: 160px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.75)),
    linear-gradient(135deg, var(--farm-tint, var(--ah-accent)), #1876D2);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem 1.15rem;
}

.ah-rail__initials {
  font-family: var(--ah-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.95);
}

.ah-rail__num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}

.ah-rail__body {
  padding: 1.15rem 1.25rem 1.35rem;
  background: #1876D2;
}

.ah-rail__name {
  margin: 0 0 0.35rem;
  font-family: var(--ah-display);
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.2;
  color: #fff;
}

.ah-rail__place {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.ah-rail__cta {
  display: inline-flex;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ah-accent);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ah-rail__cta:hover,
.ah-rail__cta:focus {
  color: #D97706;
  border-bottom-color: currentColor;
}

.ah-rail__cta--muted {
  color: rgba(255, 255, 255, 0.45);
  cursor: default;
}

.ah-rail__hint {
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
  font-size: 0.85rem;
  color: var(--ah-muted);
  text-align: center;
}

.ah-rail__empty {
  padding: 2rem;
  color: var(--ah-muted);
}


/* ===== HOME DENSITY v19 ===== */
.page-home .ah-hero--cinematic,
.page-home .ah-hero {
  min-height: clamp(360px, 52vh, 520px) !important;
}
.page-home .ah-hero__mark {
  right: clamp(1rem, 3.5vw, 2.5rem);
  bottom: clamp(1rem, 3.5vh, 2.25rem);
}
.page-home .ah-hero__mark-logo {
  width: clamp(220px, 28vw, 400px);
  max-width: 40vw;
}
.page-home .ah-panel {
  min-height: clamp(240px, 34vh, 380px);
}
.page-home #localizacoes.ah-locations {
  padding-top: clamp(4rem, 8vw, 6.5rem);
  border-top: 1px solid rgba(var(--ah-primary-rgb), 0.06);
}
.page-home .ah-rail__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  overflow: visible;
  scroll-snap-type: none;
  padding-bottom: 0.5rem;
}
.page-home .ah-rail__card {
  flex: none;
  width: auto;
  min-width: 0;
  border-radius: 12px;
}
.page-home .ah-rail__visual {
  height: 72px;
  padding: 0.65rem 0.75rem;
}
.page-home .ah-rail__initials { font-size: 1.35rem; }
.page-home .ah-rail__body { padding: 0.75rem 0.8rem 0.9rem; }
.page-home .ah-rail__name {
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-home .ah-rail__place { margin-bottom: 0.55rem; font-size: 0.78rem; }
.page-home .ah-rail__cta { font-size: 0.8rem; }
.page-home .ah-rail__hint { display: none; }
@media (max-width: 1199.98px) {
  .page-home .ah-rail__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .page-home .ah-rail__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575.98px) {
  .page-home .ah-rail__track {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    scroll-snap-type: none;
  }
  .page-home .ah-rail__card {
    flex: none;
    width: auto;
  }
  .page-home .ah-rail__hint { display: none; }
}
.page-home .ah-news-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(var(--ah-primary-rgb), 0.07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.page-home .ah-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
.page-home .ah-news-card__media { display: block; overflow: hidden; }
.page-home .ah-news-card .news-card-img { height: 160px; transition: transform 0.45s ease; }
.page-home .ah-news-card:hover .news-card-img { transform: scale(1.04); }
.page-home .ah-news-card__body {
  display: flex; flex-direction: column; flex: 1;
  padding: 1rem 1.1rem 1.15rem;
}
.page-home .ah-news-card__date {
  display: inline-block; align-self: flex-start; margin-bottom: 0.55rem;
  padding: 0.2rem 0.55rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ah-accent); background: rgba(var(--ah-accent-rgb), 0.12);
  border-radius: 999px;
}
.page-home .ah-news-card__title {
  margin: 0 0 0.5rem; font-family: var(--ah-display);
  font-size: 1.08rem; font-weight: 650; line-height: 1.25;
}
.page-home .ah-news-card__title a { color: var(--ah-ink); text-decoration: none; }
.page-home .ah-news-card__title a:hover { color: var(--ah-accent); }
.page-home .ah-news-card__excerpt {
  margin: 0 0 0.85rem; font-size: 0.9rem; line-height: 1.45; color: var(--ah-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.page-home .ah-news-card__more { font-weight: 700; font-size: 0.9rem; color: var(--ah-primary); text-decoration: none; }
.page-home .ah-news-card__more:hover { color: var(--ah-accent); }
.page-home .ah-news-home { padding-top: clamp(3rem, 6vw, 4.5rem); }

/* ===== NAV + FOOTER polish â€” azul vivo ===== */
.navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(135deg, #1876D2 0%, #2B8AE8 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 20px rgba(30, 64, 175, 0.28);
  transition: min-height 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  background: linear-gradient(135deg, #1876D2 0%, #2B8AE8 100%) !important;
  box-shadow: 0 8px 28px rgba(30, 64, 175, 0.4);
  border-bottom-color: rgba(245, 158, 11, 0.45);
}
.navbar-nav .nav-link {
  position: relative;
}
.navbar-nav .nav-link::after {
  display: block !important;
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.35rem;
  height: 2px;
  background: var(--ah-accent, #F59E0B);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link.show::after {
  transform: scaleX(1);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
}
.ah-nav-cta {
  box-shadow: 0 4px 16px rgba(245, 158, 11,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ah-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11,0.45);
}

footer.ah-footer,
.ah-footer {
  background: linear-gradient(160deg, #1876D2 0%, #2B8AE8 55%, #1876D2 100%) !important;
  color: rgba(255,255,255,0.78);
  padding: 3.25rem 0 1.25rem;
  position: relative;
  border-top: none;
}
.ah-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1876D2, #F59E0B, #1876D2);
}
.ah-footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.ah-footer a:hover {
  color: #F59E0B;
}
.ah-footer h5 {
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.ah-footer .border-top {
  border-color: rgba(255,255,255,0.1) !important;
}

/* ===== PAGE HERO cinematogrÃ¡fico (todas as pÃ¡ginas internas) ===== */
.ah-page-hero {
  position: relative;
  width: 100%;
  min-height: clamp(220px, 32vh, 340px);
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: var(--ah-gradient);
  display: flex;
  align-items: flex-end;
}
.ah-page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(var(--ah-accent-rgb), 0.18), transparent 50%),
    linear-gradient(105deg, rgba(var(--ah-primary-rgb), 0.95) 0%, rgba(var(--ah-secondary-rgb), 0.75) 55%, rgba(var(--ah-primary-rgb), 0.4) 100%);
  z-index: 1;
}
.ah-page-hero__mark {
  position: absolute;
  right: -2vw;
  bottom: -18%;
  z-index: 1;
  margin: 0;
  font-family: var(--ah-display);
  font-size: clamp(7rem, 22vw, 14rem);
  font-weight: 700;
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
  user-select: none;
}
.ah-page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: calc(var(--ah-nav-h) + 1.5rem) clamp(1.25rem, 5vw, 3rem) 2.25rem;
  color: #fff;
  animation: ah-fade-up 0.7s ease-out both;
}
.ah-page-hero__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-accent);
}
.ah-page-hero__title {
  margin: 0 0 0.5rem;
  font-family: var(--ah-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 650;
  line-height: 1.12;
  color: #fff !important;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.ah-page-hero__lead {
  margin: 0;
  font-family: var(--ah-font);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,0.82);
  max-width: 42ch;
  line-height: 1.45;
}
/* Unificar headers antigos */
.ah-page-header,
.work-header,
section.py-5.bg-success {
  background: var(--ah-gradient) !important;
  color: #fff !important;
  min-height: clamp(200px, 28vh, 300px);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--ah-nav-h) + 1rem) !important;
  padding-bottom: 2rem !important;
}
.ah-page-header::after,
.work-header::after {
  content: "AH";
  position: absolute;
  right: -2vw;
  bottom: -20%;
  font-family: var(--ah-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 0.75;
  pointer-events: none;
}
.ah-page-title,
.work-title,
section.py-5.bg-success h1 {
  font-family: var(--ah-display) !important;
  color: #fff !important;
  font-weight: 650 !important;
}
.ah-page-body {
  background: var(--ah-surface-alt);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.ah-esg__icon,
.ah-esg__eyebrow { color: var(--ah-esg, #059669); }
.text-success { color: var(--ah-primary) !important; }
.btn-outline-success {
  border-color: var(--ah-primary) !important;
  color: var(--ah-primary) !important;
}
.btn-outline-success:hover {
  background: var(--ah-primary) !important;
  color: #fff !important;
}
.bg-success { background: var(--ah-gradient) !important; }

/* ===== Rail cards: tema claro ===== */
.ah-rail__card,
.page-home .ah-rail__card {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(24, 118, 210, 0.14) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
}
.ah-rail__card:hover,
.page-home .ah-rail__card:hover {
  border-color: rgba(24, 118, 210, 0.32) !important;
  box-shadow: 0 14px 30px rgba(24, 118, 210, 0.14) !important;
}
.ah-rail__visual,
.page-home .ah-rail__visual {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.2) 100%),
    linear-gradient(135deg, #EAF4FC 0%, #D4E9F8 55%, #F8FBFE 100%) !important;
  border-bottom: 1px solid rgba(24, 118, 210, 0.1) !important;
}
.ah-rail__visual::after,
.page-home .ah-rail__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--farm-tint, #F59E0B) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.ah-rail__initials,
.page-home .ah-rail__initials {
  color: #0F5FAF !important;
  position: relative;
  z-index: 1;
}
.ah-rail__num,
.page-home .ah-rail__num {
  color: rgba(15, 95, 175, 0.42) !important;
  position: relative;
  z-index: 1;
}
.ah-rail__body,
.page-home .ah-rail__body {
  background: #ffffff !important;
}
.ah-rail__name,
.page-home .ah-rail__name {
  color: #0f172a !important;
}
.ah-rail__place,
.page-home .ah-rail__place {
  color: #64748b !important;
}
.ah-rail__cta,
.page-home .ah-rail__cta {
  color: #1876D2 !important;
}
.ah-rail__cta:hover,
.ah-rail__cta:focus,
.page-home .ah-rail__cta:hover,
.page-home .ah-rail__cta:focus {
  color: #0F5FAF !important;
}
.ah-rail__cta--muted {
  color: #94a3b8 !important;
}

/* ===== Menu premium v27 ===== */
.ah-navbar {
  min-height: 78px !important;
  padding: 0.35rem 0 !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 40%),
    linear-gradient(135deg, #1876D2 0%, #2B8AE8 55%, #1565C0 100%) !important;
  border-bottom: none !important;
  box-shadow: 0 10px 32px rgba(30, 64, 175, 0.35) !important;
}
.ah-navbar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F59E0B 20%, #FBBF24 50%, #F59E0B 80%, transparent);
  z-index: 2;
  pointer-events: none;
}
.ah-navbar.scrolled {
  min-height: 68px !important;
  background: linear-gradient(135deg, #1876D2 0%, #2B8AE8 100%) !important;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.45) !important;
}
.ah-navbar__inner {
  align-items: center !important;
  gap: 0.75rem;
}
.ah-navbar__brand {
  position: relative;
  padding-right: 1.25rem !important;
  margin-right: 0.35rem;
}
.ah-navbar__brand::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.22);
}
.ah-navbar__brand img {
  max-height: 52px !important;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)) !important;
  transition: transform 0.25s ease, filter 0.25s ease !important;
}
.ah-navbar__brand:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.35)) !important;
}
.ah-navbar.scrolled .ah-navbar__brand img {
  max-height: 46px !important;
}

@media (min-width: 992px) {
  .ah-navbar__links {
    display: flex !important;
    align-items: center;
    gap: 0.15rem;
    padding: 0.35rem 0.45rem;
    margin: 0 auto !important;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  }
  .ah-navbar__links .nav-link {
    border-radius: 999px !important;
    padding: 0.55rem 1rem !important;
    font-weight: 650 !important;
    font-size: 0.86rem !important;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.92) !important;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease !important;
  }
  .ah-navbar__links .nav-link::after {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 0.28rem !important;
    height: 2px !important;
    background: #F59E0B !important;
  }
  .ah-navbar__links .nav-link:hover,
  .ah-navbar__links .nav-link.show,
  .ah-navbar__links .nav-link.active {
    background: rgba(255,255,255,0.16) !important;
    color: #fff !important;
    transform: translateY(-1px);
  }
}

.ah-navbar .dropdown-menu {
  margin-top: 0 !important;
  padding: 0.55rem !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #1876D2 0%, #2B8AE8 100%) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4) !important;
  animation: ah-nav-drop 0.22s ease-out;
}
/* Ponte invisível: evita fechar o menu no espaço entre botão e lista */
@media (min-width: 992px) {
  .ah-navbar .dropdown > .dropdown-menu::before,
  .navbar-icons .dropdown > .dropdown-menu::before,
  .ah-lang-dd > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }
  .navbar-icons .dropdown:hover > .dropdown-menu,
  .navbar-icons .dropdown > .dropdown-menu:hover,
  .ah-lang-dd:hover > .dropdown-menu,
  .ah-lang-dd > .dropdown-menu:hover {
    display: block !important;
  }
}
@keyframes ah-nav-drop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.ah-navbar .dropdown-item {
  border-radius: 8px !important;
  padding: 0.55rem 0.85rem !important;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 550;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.ah-navbar .dropdown-item:hover,
.ah-navbar .dropdown-item:focus {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #FBBF24 !important;
  padding-left: 1.05rem !important;
}
.ah-navbar .dropdown-header {
  color: #F59E0B !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ah-navbar .dropdown-divider {
  border-color: rgba(255,255,255,0.12) !important;
}

.ah-nav-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border-radius: 999px !important;
  padding: 0.65rem 1.25rem !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4) !important;
  text-decoration: none !important;
}
.ah-nav-cta:hover,
.ah-nav-cta:focus,
.ah-nav-cta.show {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.5) !important;
}

.ah-lang-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ah-lang-btn:hover,
.ah-lang-btn.show {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .ah-navbar__brand::after { display: none; }
  .ah-navbar__links {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 0 !important;
  }
}

/* ===== Hero limpo (sem foto banner) ===== */
.ah-hero--clean {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.22), transparent 45%),
    radial-gradient(ellipse at 10% 80%, rgba(24, 118, 210, 0.55), transparent 50%),
    linear-gradient(135deg, #1876D2 0%, #2B8AE8 45%, #4BA3F0 100%) !important;
}
.ah-hero--clean .ah-hero__media {
  display: none !important;
}
.ah-hero--clean .ah-hero__overlay {
  background:
    linear-gradient(115deg, rgba(30, 58, 138, 0.55) 0%, transparent 55%),
    repeating-linear-gradient(
      -28deg,
      transparent 0,
      transparent 46px,
      rgba(255,255,255,0.03) 46px,
      rgba(255,255,255,0.03) 48px
    ) !important;
}
.ah-hero--clean .ah-hero__mark-logo {
  opacity: 0.88;
}

/* ===== WhatsApp float + rail WA ===== */
.ah-whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ah-whatsapp-float i {
  font-size: 1.45rem;
  line-height: 1;
}
.ah-whatsapp-float:hover {
  color: #fff !important;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(18, 140, 126, 0.55);
}
.ah-whatsapp-float__label { display: inline; }
@media (max-width: 575.98px) {
  .ah-whatsapp-float {
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.9rem;
    border-radius: 50%;
  }
  .ah-whatsapp-float__label { display: none; }
}
.ah-rail__cta--wa {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  color: #25D366 !important;
  font-weight: 700;
}
.ah-rail__cta--wa:hover { color: #128C7E !important; }

/* ===== Menu transparente (letras brancas protegidas) ===== */
.ah-navbar,
.navbar.ah-navbar {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(24, 118, 210, 0.22) 55%,
    rgba(24, 118, 210, 0.06) 100%
  ) !important;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
}
.ah-navbar .nav-link,
.ah-navbar .ah-lang-btn,
.ah-navbar .contact-item,
.ah-navbar__links .nav-link {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 992px) {
  .ah-navbar__links {
    background: rgba(15, 23, 42, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }
}
.ah-navbar.scrolled,
.navbar.ah-navbar.scrolled {
  background: linear-gradient(135deg, rgba(24, 118, 210, 0.95) 0%, rgba(43, 138, 232, 0.96) 100%) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(24, 118, 210, 0.35) !important;
}
.ah-navbar.scrolled .nav-link,
.ah-navbar.scrolled .ah-lang-btn,
.ah-navbar.scrolled .contact-item { text-shadow: none; }
@media (max-width: 991.98px) {
  .ah-navbar .navbar-collapse.show {
    background: rgba(24, 118, 210, 0.96) !important;
    border-radius: 0 0 16px 16px;
    margin-top: 0.35rem;
    padding: 0.75rem 1rem 1rem;
  }
}
.ah-hero--clean {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.2), transparent 45%),
    radial-gradient(ellipse at 10% 80%, rgba(43, 138, 232, 0.45), transparent 50%),
    linear-gradient(135deg, #1876D2 0%, #2B8AE8 55%, #4BA3F0 100%) !important;
}

/* ===== Menu limpo estilo 3tres3 (v32) ===== */
.ah-navbar,
.navbar.ah-navbar,
.ah-navbar.scrolled,
.navbar.ah-navbar.scrolled {
  min-height: 72px !important;
  padding: 0.4rem 0 !important;
  background: #1876D2 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.12) !important;
}
.ah-navbar::before {
  display: none !important;
}
.ah-navbar.scrolled {
  min-height: 64px !important;
  background: #1565C0 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18) !important;
}
.ah-navbar__brand::after {
  display: none !important;
}
.ah-navbar__brand img {
  max-height: 48px !important;
  filter: none !important;
}
.ah-navbar.scrolled .ah-navbar__brand img {
  max-height: 44px !important;
}
.ah-navbar .nav-link,
.ah-navbar .ah-lang-btn,
.ah-navbar .contact-item,
.ah-navbar__links .nav-link {
  color: #fff !important;
  text-shadow: none !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.01em;
}
@media (min-width: 992px) {
  .ah-navbar__links {
    display: flex !important;
    align-items: center !important;
    gap: 0.1rem !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }
  .ah-navbar__links .nav-link {
    border-radius: 0 !important;
    padding: 0.7rem 0.95rem !important;
    background: transparent !important;
    transform: none !important;
    position: relative;
  }
  .ah-navbar__links .nav-link::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    left: 0.95rem !important;
    right: 0.95rem !important;
    bottom: 0.35rem !important;
    height: 2px !important;
    background: #F59E0B !important;
    border-radius: 1px !important;
    transform: scaleX(0) !important;
    transform-origin: left center !important;
    transition: transform 0.2s ease !important;
  }
  .ah-navbar__links .nav-link:hover::after,
  .ah-navbar__links .nav-link.show::after,
  .ah-navbar__links .nav-link.active::after {
    transform: scaleX(1) !important;
  }
  .ah-navbar__links .nav-link:hover,
  .ah-navbar__links .nav-link.show,
  .ah-navbar__links .nav-link.active {
    background: transparent !important;
    color: #fff !important;
    transform: none !important;
    opacity: 1;
  }
}
.ah-navbar .dropdown-menu {
  margin-top: 0.4rem !important;
  padding: 0.4rem !important;
  border: none !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18) !important;
  animation: none !important;
}
.ah-navbar .dropdown-item {
  border-radius: 6px !important;
  padding: 0.55rem 0.85rem !important;
  color: #1e293b !important;
  font-weight: 550 !important;
}
.ah-navbar .dropdown-item:hover,
.ah-navbar .dropdown-item:focus {
  background: #E8F3FC !important;
  color: #1876D2 !important;
  padding-left: 0.85rem !important;
}
.ah-navbar .dropdown-header {
  color: #1876D2 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ah-navbar .dropdown-divider {
  border-color: #e2e8f0 !important;
}
.ah-nav-cta {
  background: #F59E0B !important;
  background-image: none !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 0.55rem 1.15rem !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border: none !important;
  box-shadow: none !important;
}
.ah-nav-cta:hover,
.ah-nav-cta:focus,
.ah-nav-cta.show {
  background: #D97706 !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: none !important;
}
.ah-lang-btn {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  border-radius: 6px !important;
  color: #fff !important;
  padding: 0.45rem 0.75rem !important;
  box-shadow: none !important;
}
.ah-lang-btn:hover,
.ah-lang-btn.show {
  background: rgba(255,255,255,0.12) !important;
  border-color: #fff !important;
  transform: none !important;
}
@media (max-width: 991.98px) {
  .ah-navbar .navbar-collapse.show {
    background: #1876D2 !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 0.75rem 0.5rem 1rem !important;
    box-shadow: none !important;
  }
}

/* ===== Menu sticky estilo SLC (v33) ===== */
.ah-navbar.ah-navbar--sticky,
.navbar.ah-navbar.ah-navbar--sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1040 !important;
  min-height: 78px !important;
  padding: 0.45rem 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #e8eef3 !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04) !important;
  transition: min-height 0.25s ease, box-shadow 0.25s ease !important;
}
.ah-navbar.ah-navbar--sticky::before {
  display: none !important;
}
.ah-navbar.ah-navbar--sticky.scrolled {
  min-height: 68px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10) !important;
  border-bottom-color: #e2e8f0 !important;
  background: #ffffff !important;
}
.ah-navbar--sticky .ah-navbar__brand::after {
  display: none !important;
}
.ah-navbar--sticky .ah-navbar__brand img {
  max-height: 50px !important;
  filter: none !important;
}
.ah-navbar--sticky.scrolled .ah-navbar__brand img {
  max-height: 44px !important;
}
.ah-navbar--sticky .nav-link,
.ah-navbar--sticky .ah-lang-btn,
.ah-navbar--sticky .contact-item,
.ah-navbar--sticky .ah-navbar__links .nav-link {
  color: #1e293b !important;
  text-shadow: none !important;
  font-weight: 650 !important;
  font-size: 0.86rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (min-width: 992px) {
  .ah-navbar--sticky .ah-navbar__links {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    gap: 0.05rem !important;
  }
  .ah-navbar--sticky .ah-navbar__links .nav-link {
    border-radius: 0 !important;
    padding: 0.75rem 0.9rem !important;
    background: transparent !important;
    transform: none !important;
  }
  .ah-navbar--sticky .ah-navbar__links .nav-link::after {
    display: block !important;
    left: 0.9rem !important;
    right: 0.9rem !important;
    bottom: 0.4rem !important;
    height: 2px !important;
    background: #1876D2 !important;
    transform: scaleX(0) !important;
    transition: transform 0.2s ease !important;
  }
  .ah-navbar--sticky .ah-navbar__links .nav-link:hover,
  .ah-navbar--sticky .ah-navbar__links .nav-link.show,
  .ah-navbar--sticky .ah-navbar__links .nav-link.active {
    color: #1876D2 !important;
    background: transparent !important;
    transform: none !important;
  }
  .ah-navbar--sticky .ah-navbar__links .nav-link:hover::after,
  .ah-navbar--sticky .ah-navbar__links .nav-link.show::after,
  .ah-navbar--sticky .ah-navbar__links .nav-link.active::after {
    transform: scaleX(1) !important;
  }
}
.ah-navbar--sticky .dropdown-menu {
  background: #fff !important;
  border: 1px solid #e8eef3 !important;
  border-radius: 8px !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12) !important;
  margin-top: 0 !important;
}
.ah-navbar--sticky .dropdown-item {
  color: #1e293b !important;
}
.ah-navbar--sticky .dropdown-item:hover,
.ah-navbar--sticky .dropdown-item:focus {
  background: #E8F3FC !important;
  color: #1876D2 !important;
  padding-left: 0.85rem !important;
}
.ah-navbar--sticky .dropdown-header {
  color: #1876D2 !important;
}
.ah-navbar--sticky .ah-nav-cta {
  background: #1876D2 !important;
  color: #fff !important;
  border-radius: 4px !important;
  padding: 0.55rem 1.1rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  box-shadow: none !important;
  border: none !important;
}
.ah-navbar--sticky .ah-nav-cta:hover,
.ah-navbar--sticky .ah-nav-cta:focus,
.ah-navbar--sticky .ah-nav-cta.show {
  background: #1565C0 !important;
  color: #fff !important;
  transform: none !important;
}
.ah-navbar--sticky .ah-lang-btn {
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  background: #fff !important;
  border-radius: 4px !important;
}
.ah-navbar--sticky .ah-lang-btn:hover {
  border-color: #1876D2 !important;
  color: #1876D2 !important;
  background: #fff !important;
}
.ah-navbar--sticky .navbar-toggler {
  border-color: #cbd5e1 !important;
}
.ah-navbar--sticky .navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 41, 59, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
@media (max-width: 991.98px) {
  .ah-navbar--sticky .navbar-collapse.show {
    background: #fff !important;
    border-top: 1px solid #e8eef3;
    margin-top: 0.5rem;
    padding: 0.5rem 0 1rem;
    box-shadow: 0 12px 24px rgba(15,23,42,0.08);
  }
}
/* Espaço para o menu fixo não cobrir o conteúdo */
body {
  padding-top: 78px !important;
}
.ah-hero,
.ah-hero--cinematic,
.ah-hero--clean,
.ah-page-hero {
  margin-top: 0 !important;
}
/* Evitar padding duplo se já houver offset */
.page-home .ah-hero {
  /* hero abaixo do menu fixo via body padding */
}

/* Âncoras do menu (Quem Somos / Nossa História / etc.) abaixo do menu sticky */
#sobre-nos,
#nossa-historia,
#nossa-missao,
#manifesto,
#localizacoes {
  scroll-margin-top: 96px;
}

.ah-biz-tiles--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem);
}
@media (max-width: 767.98px) {
  .ah-biz-tiles--3 {
    grid-template-columns: 1fr;
  }
}

.ah-esg--tiles .ah-esg__inner {
  padding-bottom: 1rem;
}
.ah-esg--tiles .ah-esg__lead {
  margin-bottom: 0;
}

.ah-biz-tile--tone-social,
.ah-biz-tile--tone-env,
.ah-biz-tile--tone-school {
  min-height: 180px;
  aspect-ratio: 16 / 10;
}
.ah-biz-tile--tone-social {
  background-image:
    linear-gradient(135deg, rgba(5, 150, 105, 0.85), rgba(15, 95, 175, 0.75)),
    linear-gradient(160deg, #059669, #0F5FAF);
}
.ah-biz-tile--tone-env {
  background-image:
    linear-gradient(135deg, rgba(24, 118, 210, 0.82), rgba(5, 150, 105, 0.7)),
    linear-gradient(160deg, #1876D2, #059669);
}
.ah-biz-tile--tone-school {
  background-image:
    linear-gradient(135deg, rgba(245, 158, 11, 0.78), rgba(24, 118, 210, 0.72)),
    linear-gradient(160deg, #F59E0B, #1876D2);
}
.ah-biz-tile--tone-social .ah-biz-tile__shade,
.ah-biz-tile--tone-env .ah-biz-tile__shade,
.ah-biz-tile--tone-school .ah-biz-tile__shade {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.45));
}

.ah-news-cta {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #F0F7FC 0%, #EEF9F3 100%);
  border: 1px solid rgba(24, 118, 210, 0.12);
}
.ah-news-cta__title {
  margin: 0 0 0.35rem;
  font-family: var(--ah-display);
  font-size: 1.25rem;
  color: #0F5FAF;
}
.ah-news-cta__text {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.95rem;
}
.ah-news-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.ah-news-cta__actions a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
}
.ah-news-cta__actions a.primary {
  background: #1876D2;
  color: #fff !important;
}
.ah-news-cta__actions a.ghost {
  background: #fff;
  color: #0F5FAF !important;
  border: 1px solid rgba(24, 118, 210, 0.25);
}

/* ===== Quem Somos — layout limpo e institucional ===== */
.page-about .ah-about {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 6vw, 5rem);
}
.page-about .ah-about__wrap {
  width: min(880px, calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Conteúdo CMS */
.page-about .ah-about-prose {
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(24, 118, 210, 0.1);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-about .ah-about-prose > h2 {
  font-family: var(--ah-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 650;
  color: var(--ah-ink) !important;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.page-about .ah-about-prose .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
  margin-bottom: 1rem !important;
}
.page-about .ah-about-prose .card {
  border: 1px solid rgba(24, 118, 210, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  background: #F8FAFC !important;
  height: 100%;
}
.page-about .ah-about-prose .card-body {
  padding: 1.25rem !important;
}
.page-about .ah-about-prose .card h3 {
  font-family: var(--ah-display);
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--ah-ink) !important;
  margin: 0 0 0.75rem;
}
.page-about .ah-about-prose .card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 0 0.75rem;
}
.page-about .ah-about-prose .card p:last-child { margin-bottom: 0; }
.page-about .ah-about-prose .card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #475569;
}
.page-about .ah-about-prose .card li {
  margin-bottom: 0.35rem;
  line-height: 1.55;
  font-size: 0.95rem;
}
.page-about .ah-about-prose .card.bg-success,
.page-about .ah-about-prose .card.text-white {
  background: var(--ah-primary) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.page-about .ah-about-prose .card.bg-success h3,
.page-about .ah-about-prose .card.text-white h3,
.page-about .ah-about-prose .card.bg-success p,
.page-about .ah-about-prose .card.text-white p {
  color: #fff !important;
}
.page-about .ah-about-prose .card.text-center {
  text-align: left !important;
}
.page-about .ah-about-prose .d-flex.flex-wrap {
  justify-content: flex-start !important;
  gap: 0.5rem !important;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ah-ink);
  line-height: 1.6;
}

/* Manifesto */
.page-about .ah-manifesto {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(1.5rem, 3vw, 2rem) clamp(1.15rem, 2.5vw, 1.5rem);
  border-left: 3px solid var(--ah-primary);
  background: transparent;
}
.page-about .ah-manifesto__title {
  margin: 0 0 1.15rem;
  font-family: var(--ah-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 650;
  color: var(--ah-ink);
  letter-spacing: -0.02em;
}
.page-about .ah-manifesto__body p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
  max-width: 65ch;
}
.page-about .ah-manifesto__body p:last-child { margin-bottom: 0; }
.page-about .ah-manifesto__sign {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(24, 118, 210, 0.12);
  max-width: 14rem;
}
.page-about .ah-manifesto__sign strong {
  font-family: var(--ah-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ah-ink);
}
.page-about .ah-manifesto__sign span {
  font-size: 0.9rem;
  color: var(--ah-muted);
}

/* História — linha do tempo */
.page-about .ah-history {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}
.page-about .ah-history__title {
  margin: 0 0 1.75rem;
  font-family: var(--ah-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 650;
  color: var(--ah-ink);
  letter-spacing: -0.02em;
}
.page-about .ah-history__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-about .ah-history__item {
  display: grid;
  grid-template-columns: 4.75rem 1.25rem 1fr;
  column-gap: 0.85rem;
  align-items: stretch;
  position: relative;
  min-height: 4.5rem;
}
.page-about .ah-history__year {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 0.15rem;
  font-family: var(--ah-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ah-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.page-about .ah-history__rail {
  position: relative;
  width: 1.25rem;
}
.page-about .ah-history__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: rgba(24, 118, 210, 0.18);
}
.page-about .ah-history__item.is-first .ah-history__rail::before {
  top: 0.55rem;
}
.page-about .ah-history__item.is-last .ah-history__rail::before {
  bottom: calc(100% - 0.85rem);
}
.page-about .ah-history__rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.4rem;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ah-primary);
  box-shadow: 0 0 0 3px rgba(24, 118, 210, 0.1);
  z-index: 1;
}
.page-about .ah-history__item.is-first .ah-history__rail::after {
  background: var(--ah-primary);
  border-color: var(--ah-primary);
  box-shadow: 0 0 0 4px rgba(24, 118, 210, 0.16);
}
.page-about .ah-history__item.is-last .ah-history__rail::after {
  border-color: var(--ah-accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}
.page-about .ah-history__content {
  padding: 0 0 1.35rem 0.15rem;
}
.page-about .ah-history__item.is-last .ah-history__content {
  padding-bottom: 0;
}
.page-about .ah-history__text {
  margin: 0;
  padding: 0.85rem 1.05rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #475569;
  background: #F8FAFC;
  border: 1px solid rgba(24, 118, 210, 0.1);
  border-radius: 10px;
  border-left: 3px solid var(--ah-primary);
}
.page-about .ah-history__item.is-first .ah-history__text {
  border-left-color: var(--ah-primary);
  background: linear-gradient(135deg, #F0F7FC 0%, #F8FAFC 100%);
}
.page-about .ah-history__item.is-last .ah-history__text {
  border-left-color: var(--ah-accent);
}

/* Galeria */
.page-about .ah-about-gallery__title {
  margin: 0 0 1.15rem;
  font-family: var(--ah-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 650;
  color: var(--ah-ink);
}
.page-about .ah-about-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.page-about .ah-about-gallery__item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #E2E8F0;
}
.page-about .ah-about-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .page-about .ah-about__wrap {
    width: min(100% - 1.5rem, 880px);
  }
  .page-about .ah-history__item {
    grid-template-columns: 3.75rem 1rem 1fr;
    column-gap: 0.55rem;
  }
  .page-about .ah-history__year {
    font-size: 0.98rem;
  }
  .page-about .ah-history__text {
    padding: 0.75rem 0.85rem;
    font-size: 0.95rem;
  }
  .page-about .ah-about-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Card de contato padrão (institucional) ===== */
.ah-contact-card {
  margin: 1.75rem 0 2.25rem;
  padding: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  border-left: 4px solid #1876D2;
}
.ah-contact-card__head {
  padding: 1.25rem 1.4rem 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  border-bottom: 1px solid #eef2f7;
}
.ah-contact-card__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1876D2;
}
.ah-contact-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--ah-font, "Segoe UI", system-ui, sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  text-transform: none;
}
.ah-contact-card__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #64748b;
  max-width: 36rem;
}
.ah-contact-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 1.25rem 1.5rem;
  padding: 1.25rem 1.4rem;
  align-items: start;
}
.ah-contact-card__person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
}
.ah-contact-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1876D2;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(24, 118, 210, 0.28);
}
.ah-contact-card__initials {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.ah-contact-card__name {
  font-weight: 700;
  font-size: 1.12rem;
  color: #0f172a;
  line-height: 1.25;
}
.ah-contact-card__role {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0.15rem;
}
.ah-contact-card__badge {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(24, 118, 210, 0.08);
  color: #1876D2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ah-contact-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ah-contact-card__btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  background: #fff;
  color: #0f172a;
}
.ah-contact-card__btn-ico {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f1f5f9;
  color: #1876D2;
}
.ah-contact-card__btn-txt {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.ah-contact-card__btn-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1.2;
}
.ah-contact-card__btn-value {
  font-size: 0.95rem;
  font-weight: 650;
  color: #0f172a;
  line-height: 1.25;
  word-break: break-word;
}
.ah-contact-card__btn--phone .ah-contact-card__btn-ico {
  background: rgba(24, 118, 210, 0.1);
  color: #1876D2;
}
.ah-contact-card__btn--wa .ah-contact-card__btn-ico {
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
}
.ah-contact-card__btn--mail .ah-contact-card__btn-ico {
  background: rgba(24, 118, 210, 0.1);
  color: #1876D2;
}
.ah-contact-card__btn:hover {
  border-color: rgba(24, 118, 210, 0.35);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  background: #f8fbff;
}
.ah-contact-card__btn--wa:hover {
  border-color: rgba(18, 140, 126, 0.35);
}
.ah-contact-card__email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0.95rem 1.4rem;
  border-top: 1px solid #eef2f7;
  background: #f8fafc;
}
.ah-contact-card__email-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ah-contact-card__email-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ah-contact-card__email {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 550;
  color: #334155;
  word-break: break-all;
}
.ah-contact-card__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
  flex-shrink: 0;
}
.ah-contact-card__copy:hover,
.ah-contact-card__copy.is-copied {
  border-color: #1876D2;
  color: #1876D2;
  background: rgba(24, 118, 210, 0.06);
}
@media (max-width: 767.98px) {
  .ah-contact-card__body {
    grid-template-columns: 1fr;
    padding: 1.1rem 1.15rem;
  }
  .ah-contact-card__head,
  .ah-contact-card__email-row {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }
}

.ah-contact-modal {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}
.ah-contact-modal .modal-header {
  border-bottom: 1px solid #eef2f7;
  padding: 1.15rem 1.25rem;
  align-items: flex-start;
}
.ah-contact-modal__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1876D2;
}
.ah-contact-modal .modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
.ah-contact-modal .modal-body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.ah-contact-modal__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: #475569;
}
.ah-contact-modal__label span {
  font-weight: 500;
  color: #94a3b8;
}
.ah-contact-modal .form-control {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  border-color: #dbe3ec;
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}
.ah-contact-modal .form-control:focus {
  border-color: #1876D2;
  box-shadow: 0 0 0 3px rgba(24, 118, 210, 0.15);
}
.ah-contact-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}
.ah-contact-modal__submit {
  background: #1876D2;
  border-color: #1876D2;
  color: #fff;
  font-weight: 650;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
}
.ah-contact-modal__submit:hover {
  background: #1464b3;
  border-color: #1464b3;
  color: #fff;
}
.ah-contact-modal__cancel {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 600;
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
}
.ah-person-contact-form__msg {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}
.ah-person-contact-form__msg.is-ok {
  background: #ecfdf5;
  color: #047857;
}
.ah-person-contact-form__msg.is-err {
  background: #fef2f2;
  color: #b91c1c;
}

/* Modal de contato acima do backdrop e do WhatsApp flutuante */
.modal[id^="ahContactModal-"] {
  z-index: 1100 !important;
  pointer-events: auto !important;
}
.modal[id^="ahContactModal-"] .modal-dialog,
.modal[id^="ahContactModal-"] .modal-content,
.modal[id^="ahContactModal-"] .modal-body,
.modal[id^="ahContactModal-"] input,
.modal[id^="ahContactModal-"] textarea,
.modal[id^="ahContactModal-"] button {
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}
body.modal-open .modal-backdrop {
  z-index: 1090 !important;
}
body.ah-contact-modal-open .ah-whatsapp-float,
body.modal-open .ah-whatsapp-float {
  z-index: 1080;
  pointer-events: none;
}

/* ===== PWA install banner ===== */
.ah-pwa-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 1090;
  max-width: 420px;
  margin: 0 auto;
}
.ah-pwa-banner__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}
.ah-pwa-banner__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}
.ah-pwa-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.ah-pwa-banner__copy strong {
  font-size: 0.95rem;
  color: #0f172a;
}
.ah-pwa-banner__copy span {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.35;
}
.ah-pwa-banner__ios {
  color: #1876D2 !important;
}
.ah-pwa-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.ah-pwa-banner__install {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: #1876D2;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}
.ah-pwa-banner__install:hover {
  background: #1464b3;
}
.ah-pwa-banner__close {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}
.ah-pwa-banner__close:hover {
  color: #475569;
}
@media (max-width: 575.98px) {
  .ah-pwa-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 5.25rem;
  }
}
