
:root {
  --font-sans:
    "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header-height: 76px;
  --container: 1200px;
  --space-section: clamp(3rem, 5vw, 5.25rem);
}
html {
  scroll-padding-top: calc(var(--header-height) + 1rem);
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
}

button,
input,
select,
textarea,
optgroup {
  font-family: inherit;
}
.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--container));
  max-width: none;
  margin-inline: auto;
}
.site-header {
  z-index: 100;
}
.site-header__inner {
  min-height: var(--header-height);
}
.brand__logo {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.main-nav__link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
}
.main-nav__list {
  gap: 0.05rem;
}
.main-nav__cta {
  white-space: nowrap;
}
.site-footer {
  margin-top: 0;
}
.site-footer__grid {
  column-gap: clamp(1.25rem, 3vw, 3rem);
  row-gap: 2.25rem;
}
.site-footer__title {
  font-family: var(--font-sans);
  font-size: 0.89rem;
}
.site-footer a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
}
body:has(main) .history-hero,
body:has(main) .cert-hero,
body:has(main) .protocols-hero,
body:has(main) .social-hero,
body:has(main) .atuacao-hero,
body:has(main) .boletim-hero,
body:has(main) .detail-hero,
body:has(main) .jobs-hero,
body:has(main) .os-hero,
body:has(main) .na-hero,
body:has(main) .tp-hero,
body:has(main) .ct-hero,
body:has(main) .pj-hero,
body:has(main) .hero:has(.hero__copy) {
  min-height: 410px;
  height: auto;
}
.history-hero__inner,
.cert-hero__inner,
.protocols-hero__inner,
.atuacao-hero__inner,
.boletim-hero__inner,
.jobs-hero__overlay,
.jobs-hero,
.os-hero__inner,
.na-hero__inner,
.tp-hero__inner,
.ct-hero__inner,
.pj-hero__layout,
.hero:has(.hero__copy) .hero__inner {
  min-height: 410px;
  height: auto;
}
.history-hero__inner,
.cert-hero__inner,
.protocols-hero__inner,
.atuacao-hero__inner,
.boletim-hero__inner {
  padding-block: clamp(2.25rem, 4vw, 3.6rem);
}
.page-header:not(.os-hero) {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
main section[id],
main h2[id],
main h3[id] {
  scroll-margin-top: calc(var(--header-height) + 1.4rem);
}
.history-hero h1,
.cert-hero h1,
.protocols-hero h1,
.social-hero h1,
.atuacao-hero h1,
.boletim-hero h1,
.detail-hero h1,
.jobs-hero h1,
.os-hero h1,
.na-hero h1,
.tp-hero h1,
.ct-hero h1,
.pj-hero h1,
.hero:has(.hero__copy) h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 4.9vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: -0.03em;
}
@media (max-width: 1279.98px) {
  .brand__logo {
    height: 44px;
  }
  .main-nav__link {
    font-size: 1.2rem;
  }
}
@media (max-width: 700px) {
  :root {
    --header-height: 70px;
    --space-section: clamp(2.5rem, 7vw, 3.5rem);
  }
  .history-hero,
  .cert-hero,
  .protocols-hero,
  .social-hero,
  .atuacao-hero,
  .boletim-hero,
  .detail-hero,
  .jobs-hero,
  .os-hero,
  .na-hero,
  .tp-hero,
  .ct-hero,
  .pj-hero,
  .hero:has(.hero__copy) {
    min-height: auto;
  }
  .history-hero__inner,
  .cert-hero__inner,
  .protocols-hero__inner,
  .atuacao-hero__inner,
  .boletim-hero__inner,
  .jobs-hero__overlay,
  .jobs-hero,
  .os-hero__inner,
  .na-hero__inner,
  .tp-hero__inner,
  .ct-hero__inner,
  .pj-hero__layout,
  .hero:has(.hero__copy) .hero__inner {
    min-height: auto;
  }
  .history-hero h1,
  .cert-hero h1,
  .protocols-hero h1,
  .social-hero h1,
  .atuacao-hero h1,
  .boletim-hero h1,
  .detail-hero h1,
  .jobs-hero h1,
  .os-hero h1,
  .na-hero h1,
  .tp-hero h1,
  .ct-hero h1,
  .pj-hero h1,
  .hero:has(.hero__copy) h1 {
    font-size: clamp(2.35rem, 9vw, 3.1rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.main-nav__list > li {
  position: relative;
}
.nav-dropdown__head {
  display: flex;
  align-items: center;
}
.nav-dropdown__head {
  gap: 2px;
}
.nav-dropdown__head .main-nav__link {
  padding-right: 0;
}
.nav-dropdown__toggle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  min-width: 24px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--azul-900);
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.nav-dropdown__toggle:hover,
.nav-dropdown__toggle:focus-visible {
  background: var(--azul-100);
  color: var(--verde-600);
}
.nav-dropdown__toggle:focus-visible,
.nav-dropdown__menu a:focus-visible {
  outline: 3px solid var(--verde-600);
  outline-offset: 2px;
}
.nav-dropdown__chevron {
  display: block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.nav-dropdown.is-open .nav-dropdown__chevron {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  list-style: none;
  margin: 0;
  padding: 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--verde-600);
  border-radius: 0 0 13px 13px;
  box-shadow: 0 18px 38px rgba(9, 38, 63, 0.16);
}
.nav-dropdown__menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  color: var(--azul-900);
  font-size: 0.89rem;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible {
  background: var(--azul-100);
  color: var(--verde-600);
  transform: translateX(2px);
}
@media (min-width: 1280px) {
  .main-nav {
    gap: 0.5rem;
  }
  .main-nav__list {
    gap: 0;
  }
  .main-nav__link {
    padding: 0.45rem 0.42rem;
    font-size: 0.81rem;
    white-space: nowrap;
  }
  .nav-dropdown__menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: max-content;
    min-width: 250px;
    max-width: min(370px, 80vw);
    max-height: min(70vh, 32rem);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease;
    z-index: 150;
  }
  .nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown__menu li {
    border: 0;
  }
  .nav-dropdown__menu a {
    white-space: normal;
  }
}
@media (max-width: 1279.98px) {
  .nav-dropdown__head {
    width: 100%;
  }
  .nav-dropdown__head .main-nav__link {
    flex: 1;
  }
  .nav-dropdown__toggle {
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    border-left: 1px solid var(--line);
    border-radius: 0 8px 8px 0;
  }
  .nav-dropdown__menu {
    display: none;
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--verde-600);
    border-radius: 0 8px 8px 0;
    background: var(--surface);
    padding: 0.4rem 0.65rem 0.65rem;
    margin: 0 0 0.75rem 0.25rem;
  }
  .nav-dropdown.is-open .nav-dropdown__menu {
    display: block;
  }
  .nav-dropdown__menu a {
    font-size: 1rem;
    padding: 0.7rem 0.75rem;
  }
}
.fp-preview {
  background: #f4f7f9;
}
.fp-preview__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.fp-preview__header h2 {
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  margin: 0.4rem 0 0.8rem;
}
.fp-preview__header p {
  max-width: 650px;
  color: var(--muted);
  margin: 0;
}
.fp-preview__kicker,
.fp-preview__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--verde-600);
}
.fp-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.fp-preview__card {
  min-width: 0;
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.fp-preview__card:hover {
  transform: translateY(-4px);
  border-color: #aacfbf;
  box-shadow: 0 12px 28px rgba(8, 42, 68, 0.07);
}
.fp-preview__icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  background: var(--verde-100);
  color: var(--verde-600);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.fp-preview__card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}
.fp-preview__card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.fp-preview__more {
  color: var(--verde-600);
  font-weight: 700;
  font-size: 0.83rem;
  margin-top: 0.8rem;
}
@media (max-width: 800px) {
  .fp-preview__grid {
    grid-template-columns: 1fr;
  }
  .fp-preview__header {
    align-items: start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown__menu,
  .nav-dropdown__toggle,
  .nav-dropdown__chevron,
  .nav-dropdown__menu a,
  .fp-preview__card {
    transition: none;
  }
}

@media (max-width: 359.98px) {
  .social-hero h1 {
    font-size: 2.1rem;
  }
}
