/* Navegação compartilhada com acesso à diretoria */

.management-policy__board-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-bottom: 7px;
  color: var(--green-900);
  border-bottom: 2px solid var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Apresentação da diretoria */

.board-hero {
  min-height: 480px;
}

.board-hero > img {
  object-position: center 46%;
}

.board-hero .container {
  padding-block: 128px 58px;
}

.board-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.board-breadcrumb a:hover {
  color: var(--gold);
}

.board-hero .eyebrow {
  color: var(--gold);
  font-size: 0.7rem;
}

.board-hero h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.board-hero h1 span {
  color: #f4d788;
}

.board-hero__lead {
  max-width: 570px;
  margin: 20px 0 24px;
  color: rgba(255, 255, 255, 0.84);
}

.board-hero__term {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  font-size: 0.85rem;
}

.board-hero__term strong {
  margin-left: 8px;
  color: #f4d788;
}

.board-sections {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.board-sections .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.board-sections a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 28px;
  border-inline-end: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}

.board-sections a:first-child {
  padding-left: 0;
}

.board-sections a:last-child {
  padding-right: 0;
  border: 0;
}

.board-sections a span {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--green-700);
  background: rgba(3, 45, 36, 0.06);
  border-radius: 50%;
}

.board-sections a span svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-sections a:is(:hover, :focus-visible) span {
  color: #fff;
  background: var(--green-700);
}

.board-sections a:hover {
  color: var(--green-700);
}

/* Presidência */

.board-president,
.board-team,
.board-council {
  padding-block: 76px;
}

.board-heading {
  margin-bottom: 32px;
}

.board-heading .eyebrow {
  color: var(--green-700);
  font-size: 0.7rem;
}

.board-heading h2 {
  margin: 0;
  font: 600 clamp(1.8rem, 3vw, 2.5rem) / 1.2 var(--serif);
  letter-spacing: -0.04em;
}

.board-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.board-heading--split > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.president-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.president-card__portrait {
  position: relative;
  min-height: 480px;
  background: var(--green-100);
}

.president-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.president-card__term {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 9px 15px;
  color: #fff;
  background: var(--green-900);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
}

.president-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 56px;
}

.director-card__role {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.president-card h3 {
  margin: 0;
  font: 600 clamp(1.9rem, 3.1vw, 2.75rem) / 1.15 var(--serif);
  letter-spacing: -0.04em;
}

.president-card__rule {
  width: 52px;
  height: 3px;
  margin-block: 24px;
  background: var(--gold);
}

.president-card__content > p:not(.director-card__role) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.president-card__content > .president-card__intro {
  color: var(--ink);
}

.president-card__focus {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
}

.president-card__focus .icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--green-700);
}

/* Cards de integrantes */

.board-team {
  background: var(--cream);
}

.board-review-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  color: #526b5e;
  background: #eaf0e8;
  border-left: 3px solid #91a98b;
  border-radius: 4px;
}

.board-review-note .icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.board-review-note p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.director-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.director-card__portrait {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #dde3d7;
}

.director-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.director-card__portrait img.director-card__photo--georgina {
  object-position: center 85%;
}

.director-card__portrait img.director-card__photo--anizio {
  object-position: center 20%;
}

.director-card__image-note {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 9px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  font-size: 0.63rem;
  font-weight: 500;
}

.director-card__content {
  padding: 26px;
}

.director-card h3 {
  margin: 0 0 14px;
  font: 600 1.25rem / 1.35 var(--serif);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.director-card__content > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.board-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font: 500 1.15rem / 1.4 var(--serif);
}

.board-group-title span {
  color: var(--muted);
  font: 400 0.75rem / 1.4 var(--sans);
}

.board-group-title--secondary {
  margin-top: 48px;
}

/* Contato institucional */

.board-contact {
  padding-block: 58px;
  color: #fff;
  background: var(--green-900);
}

.board-contact .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.board-contact .eyebrow {
  color: var(--gold);
  font-size: 0.7rem;
}

.board-contact h2 {
  margin: 0 0 12px;
  font: 600 clamp(1.6rem, 3vw, 2.25rem) / 1.2 var(--serif);
  letter-spacing: -0.03em;
}

.board-contact p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.board-contact .button {
  flex-shrink: 0;
}

/* Responsividade e movimento */

@media (hover: hover) and (pointer: fine) {
  .director-card:hover {
    border-color: #b7c9bb;
    box-shadow: 0 14px 32px rgba(3, 45, 36, 0.08);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .director-card__portrait img {
    transition: transform 0.35s ease;
  }

  .director-card:hover .director-card__portrait img {
    transform: scale(1.035);
  }
}

@media (max-width: 1100px) {
  .site-header--extended {
    background: rgba(3, 45, 36, 0.88);
  }

  .site-header--extended.is-scrolled {
    background: rgba(255, 255, 255, 0.99);
  }

  .site-header--extended .menu-toggle {
    display: block;
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
  }

  .site-header--extended .menu-toggle span {
    position: absolute;
    left: 11px;
    top: 20px;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-header--extended .menu-toggle span:first-child {
    transform: translateY(-6px);
  }

  .site-header--extended .menu-toggle span:last-child {
    transform: translateY(6px);
  }

  .site-header--extended .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }

  .site-header--extended .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-header--extended .menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
  }

  .site-header--extended.is-scrolled .menu-toggle {
    background: var(--green-100);
    border-color: var(--line);
  }

  .site-header--extended .main-nav {
    position: absolute;
    inset: calc(100% + 10px) 16px auto;
    display: grid;
    gap: 4px;
    max-height: calc(100dvh - 110px);
    padding: 14px;
    overflow-y: auto;
    visibility: hidden;
    background: var(--green-950);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(3, 45, 36, 0.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

  .site-header--extended .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header--extended .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 16px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 0.95rem;
    text-shadow: none;
  }

  .site-header--extended .main-nav a.is-active,
  .site-header--extended .main-nav a:hover,
  .site-header--extended .main-nav a:focus-visible {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header--extended .main-nav a::before {
    content: "";
    order: 1;
    width: 7px;
    height: 7px;
    margin-left: 16px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.6;
  }

  .site-header--extended .main-nav a::after {
    display: none;
  }

  .president-card__content {
    padding: 36px;
  }

  .board-grid {
    gap: 20px;
  }

  .director-card__content {
    padding: 22px;
  }
}

@media (max-width: 800px) {
  .board-president,
  .board-team,
  .board-council {
    padding-block: 52px;
  }

  .board-heading--split {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .president-card {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  }

  .president-card__content {
    padding: 28px;
  }

  .board-contact .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .board-hero {
    min-height: 470px;
  }

  .board-hero .container {
    padding-block: 106px 42px;
  }

  .board-breadcrumb {
    margin-bottom: 26px;
  }

  .board-hero .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .board-hero .eyebrow span {
    display: none;
  }

  .board-hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .board-hero__lead {
    font-size: 0.9rem;
  }

  .board-sections .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-block: 16px;
  }

  .board-sections a,
  .board-sections a:first-child,
  .board-sections a:last-child {
    min-height: 48px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .president-card,
  .board-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .president-card__portrait {
    height: 410px;
    min-height: 0;
  }

  .president-card__content {
    padding: 30px 26px;
  }

  .director-card__portrait {
    aspect-ratio: 1;
  }

  .director-card__content {
    padding: 26px;
  }

  .board-review-note {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .director-card,
  .site-header--extended .main-nav {
    transition: none;
  }
}
