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

:root {
  --dark: #09090f;
  --red: #c8102e;
  --red-h: #e01535;
  --white: #fff;
  --bg: #f8f6f1;
  --line: #e5e0d6;
  --muted: #6e6a65;
  --max: 1180px;
  --px: max(5vw, 24px);
}

body {
  font-family: Montserrat, sans-serif;
  color: var(--dark);
  background: var(--bg);
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

#hd {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #09090f;
  transition:
    background 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

#hd.scrolled {
  background: rgb(9 9 15 / 97%);
  backdrop-filter: blur(24px);
  padding: 14px var(--px);
  box-shadow: 0 1px 0 rgb(255 255 255 / 4%);
}

.hd-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hd-logo-img {
  height: 74px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
  flex-shrink: 0;
}

.hd-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.hd-nav > li {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.hd-nav > li > a,
.hd-nav > li > .hd-nav-parent {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgb(255 255 255 / 60%);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.hd-nav > li > a::after,
.hd-nav > li > .hd-nav-parent::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}

.hd-nav > li > a:hover,
.hd-nav > li > .hd-nav-parent:hover {
  color: var(--white);
}

.hd-nav > li > a:hover::after,
.hd-nav > li > .hd-nav-parent:hover::after {
  transform: scaleX(1);
}

.hd-nav > li > a.is-active,
.hd-nav > li > .hd-nav-parent.is-active {
  color: var(--white);
}

.hd-nav > li > a.is-active::after,
.hd-nav > li > .hd-nav-parent.is-active::after {
  transform: scaleX(1);
}

.hd-submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: rgb(9 9 15 / 96%);
  border: 1px solid rgb(255 255 255 / 8%);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}

.hd-submenu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 72%);
  transition:
    background 0.2s,
    color 0.2s;
}

.hd-submenu a:hover {
  color: var(--white);
  background: rgb(255 255 255 / 6%);
}

.hd-submenu a.is-active {
  color: var(--white);
  background: rgb(255 255 255 / 10%);
}

.hd-nav > li:hover .hd-submenu,
.hd-nav > li:focus-within .hd-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hd-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hd-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-sw {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-sw button {
  font-family: var(--f-body, inherit);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgb(255 255 255 / 35%);
  padding: 3px 0;
  transition: color 0.2s;
}

.lang-sw button.on {
  color: var(--white);
}

.lang-sw span {
  color: rgb(255 255 255 / 15%);
  font-size: 0.625rem;
}

.soc-ico {
  width: 36px;
  height: 36px;
  border: 1px solid rgb(154 149 144 / 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(255 255 255 / 35%);
  transition:
    color 0.2s,
    opacity 0.2s;
}

.hd-socials .soc-ico {
  color: rgb(255 255 255 / 85%);
}

.soc-ico[aria-label="LinkedIn"]:hover {
  color: #0a66c2;
}

.soc-ico[aria-label="Facebook"]:hover {
  color: #1877f2;
}

.soc-ico[aria-label="Instagram"]:hover {
  color: #e4405f;
}

.soc-ico[aria-label="YouTube"]:hover {
  color: #f00;
}

.soc-ico:hover {
  opacity: 0.8;
}

.hd-cta {
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    opacity 0.3s;
  white-space: nowrap;
  border-radius: 2rem;
  opacity: 0;
  pointer-events: none;
}

.hd-cta:hover {
  background: var(--red-h);
}

#hd.scrolled .hd-cta {
  opacity: 1;
  pointer-events: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.mnav {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  overflow-y: auto;
  padding: 90px 24px 48px;
}

.mnav.open {
  opacity: 1;
  pointer-events: all;
}

.mnav a,
.mnav-label,
.mnav-parent {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgb(255 255 255 / 55%);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.mnav a:hover {
  color: var(--white);
}

.mnav-close {
  position: absolute;
  top: 24px;
  right: var(--px);
  font-size: 2.25rem;
  color: var(--white);
  border: none;
  background: none;
  cursor: pointer;
}

.mnav-cta {
  padding: 14px 32px;
  background: var(--red);
  color: var(--white) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
}

.mnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
}

.mnav-parent {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.mnav-parent:hover,
.mnav-parent[aria-expanded="true"] {
  color: var(--white);
}

.mnav-caret {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.mnav-parent[aria-expanded="true"] .mnav-caret {
  transform: rotate(180deg);
}

.mnav-submenu {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease;
}

.mnav-submenu.open {
  max-height: 480px;
  opacity: 1;
}

.mnav-submenu li {
  width: 100%;
}

.mnav-submenu a {
  display: block;
  width: 100%;
  font-size: 1.625rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}

@media (width <= 480px), (height <= 700px) {
  .mnav {
    gap: 20px;
    padding: 76px 20px 40px;
  }

  .mnav a,
  .mnav-label,
  .mnav-parent {
    font-size: 1.75rem;
  }

  .mnav-item {
    gap: 12px;
  }

  .mnav-submenu {
    gap: 10px;
  }

  .mnav-submenu a {
    font-size: 1.375rem;
  }
}

main {
  padding: 152px 0 88px;
}

.breadcrumbs {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumbs .current {
  color: var(--red);
  font-weight: 600;
}

.page-title {
  font-size: clamp(1.875rem, 5vw, 5rem);
  line-height: 0.98;
  margin-bottom: 18px;
}

.page-text {
  /* max-width: 760px; */
  font-size: 0.875rem;
  line-height: 1.7;
  color: #59554f;
}

.page-hero-img {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 28px 0 32px;
  border: 1px solid var(--line);
  background: #fff;
}

.academy-article-intro {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}

.academy-article-image {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
}

.academy-article-lead p,
.academy-article-body p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #59554f;
  margin-bottom: 14px;
}

.academy-article-body {
  margin-top: 32px;
  column-count: 2;
  column-gap: 40px;
}

.academy-article-summary {
  margin-top: 32px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--red);
  max-width: 760px;
}

@media (width <= 740px) {
  .academy-article-intro {
    grid-template-columns: 1fr;
  }

  .academy-article-body {
    column-count: 1;
  }
}

.article-intro {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}

.article-image {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
}

.article-title {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
}

.article-lead p.article-date {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 7px;
}

.article-lead p.article-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}

.article-lead p,
.article-body p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #59554f;
  margin-bottom: 14px;
}

.article-body {
  margin-top: 32px;
}

@media (width <= 740px) {
  .article-intro {
    grid-template-columns: 1fr;
  }
}

.events-section {
  margin-top: 48px;
}

.events-section + .events-section {
  margin-top: 68px;
}

.events-section-title {
  font-size: clamp(1.1875rem, 2vw, 1.9375rem);
  font-weight: 700;
  color: #c8102e;
  margin-bottom: 16px;
}

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

.event-tile-grid {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 32px 20px;
}

.event-tile {
  width: 200px;
  display: flex;
  flex-direction: column;
}

.event-tile-image {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.event-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-tile-body {
  padding-top: 10px;
}

.event-tile-date,
.event-tile-location {
  font-size: 0.6875rem;
  line-height: 1.35;
  color: var(--muted);
}

.event-tile-location {
  margin-bottom: 4px;
}

.event-tile-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}

@media (width <= 900px) {
  .event-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-tile,
  .event-tile-image {
    width: 100%;
  }

  .event-tile-image {
    height: auto;
    aspect-ratio: 1;
  }
}

@media (width <= 600px) {
  .event-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.event-card {
  display: flex;
  flex-direction: column;
}

.event-card-image {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
  display: block;
  border: 1px solid #dfd9cf;
  background: #fff;
}

.event-card-body {
  padding-top: 10px;
}

.event-card-meta,
.event-card-location {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #3f3a34;
}

.event-card-meta {
  margin-bottom: 1px;
}

.event-card-title {
  margin-top: 7px;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--dark);
  max-width: 95%;
}

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

.board-card {
  display: flex;
  flex-direction: column;
}

.board-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 0.92;
  overflow: hidden;
  background: #ddd8cd;
}

.board-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.board-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 14px;
  background: linear-gradient(
    180deg,
    rgb(8 26 17 / 0%) 0%,
    rgb(8 26 17 / 55%) 32%,
    rgb(6 20 13 / 92%) 100%
  );
}

.board-card-tag {
  align-self: flex-start;
  padding: 3px 10px;
  margin-bottom: 4px;
  background: #2f6b3f;
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.board-card-role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgb(255 255 255 / 35%);
}

.board-card-name {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.25;
}

.page-conselho-consultivo .board-card-name {
  padding-top: 4px;
  border-top: 1px solid rgb(255 255 255 / 35%);
}

.board-card-rep {
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 70%);
}

.board-card-caption {
  margin-top: 16px;
  text-align: center;
}

.board-card-caption h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.board-card-caption-name {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.board-card-caption-role {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.academy-gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 26px;
}

/* ── ACADEMY CARD (academy.html) ── */
.academy-card {
  overflow: hidden;
}

.academy-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.academy-card:hover img,
.academy-card:focus-visible img {
  transform: scale(1.06);
}

/* ── GUIA CARD (guias.html) ── */
.guia-card {
  overflow: hidden;
}

.guia-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.guia-card:hover img,
.guia-card:focus-visible img {
  transform: scale(1.06);
}

.guia-card-headline {
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
}

.video-card-media {
  position: relative;
  overflow: hidden;
  background: #ddd8cd;
}

.video-card-media img:not(.video-card-play) {
  display: block;
  width: 100%;
  height: auto;
}

.video-card-scrim {
  position: absolute;
  inset: 0;
  background: #00000075;
  transition: opacity 0.25s ease;
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.video-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.4;
}

.video-card--playable {
  cursor: pointer;
}

.video-card--playable:hover .video-card-scrim {
  opacity: 0.45;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(9 9 15 / 88%);
  padding: 24px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-inner {
  position: relative;
  width: min(900px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(9 9 15 / 88%);
  padding: 24px;
}

.info-modal[hidden] {
  display: none;
}

.info-modal-inner {
  position: relative;
  width: min(640px, 100%);
  min-width: 0;
  max-height: 85vh;
  overflow-y: auto;
  background: #fff;
  padding: 40px;
}

.info-modal-table-wrap {
  overflow-x: auto;
}

.info-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
  background: none;
  border: none;
  cursor: pointer;
}

.info-modal-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.info-modal-title {
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 800;
  color: var(--red);
  margin-bottom: 20px;
}

.info-modal-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #3f3a34;
  margin-bottom: 28px;
}

.info-modal-subheading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.info-modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.info-modal-table th,
.info-modal-table td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
}

.info-modal-table th {
  background: #f0eee7;
  font-weight: 700;
}

.info-modal-table td em {
  color: var(--muted);
}

.news-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}

/* ── APPII NEWS CARD (noticias-appii.html) ── */
.appii-news-card {
  display: flex;
  flex-direction: column;
}

.appii-news-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25;
  overflow: hidden;
}

.appii-news-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.appii-news-card-media a:hover img,
.appii-news-card-media a:focus-visible img {
  transform: scale(1.06);
}

.appii-news-card-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 16px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2rem;
}

.appii-news-card-body {
  padding-top: 16px;
}

.appii-news-card-date {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
}

.appii-news-card-title {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--dark);
  margin-bottom: 10px;
  display: none;
}

.appii-news-card-excerpt {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #59554f;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── COMUNICADO CARD (comunicados.html) ── */
.comunicado-card {
  display: flex;
  flex-direction: column;
}

.comunicado-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25;
  overflow: hidden;
}

.comunicado-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.comunicado-card-media a:hover img,
.comunicado-card-media a:focus-visible img {
  transform: scale(1.06);
}

.comunicado-card-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 16px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2rem;
}

.comunicado-card-body {
  padding-top: 16px;
}

.comunicado-card-date {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
}

.comunicado-card-title {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--dark);
  margin-bottom: 10px;
  display: none;
}

.comunicado-card-excerpt {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #59554f;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── SETOR CARD (setor.html) ── */
.setor-card {
  display: flex;
  flex-direction: column;
}

.setor-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.25;
  overflow: hidden;
}

.setor-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.setor-card-media a:hover img,
.setor-card-media a:focus-visible img {
  transform: scale(1.06);
}

.setor-card-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 16px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2rem;
}

.setor-card-body {
  padding-top: 16px;
}

.setor-card-date {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
}

.setor-card-title {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--dark);
  margin-bottom: 10px;
  display: none;
}

.setor-card-excerpt {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #59554f;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── OPINIAO CARD (opiniao.html) ── */
.opiniao-card {
  display: flex;
  flex-direction: column;
}

.opiniao-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
}

.opiniao-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.opiniao-card-media a:hover img,
.opiniao-card-media a:focus-visible img {
  transform: scale(1.06);
}

.opiniao-card-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 16px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2rem;
}

.opiniao-card-body {
  padding-top: 16px;
}

.opiniao-card-date {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 8px;
}

.opiniao-card-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.opiniao-card-title {
  font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--dark);
  margin-bottom: 10px;
}

.opiniao-card-title a:hover {
  color: var(--red);
}

.assoc-search {
  margin-top: 32px;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: #fff;
  color: var(--muted);
}

.assoc-search svg {
  flex-shrink: 0;
}

.assoc-search input {
  width: 100%;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--dark);
  background: transparent;
}

.assoc-search input::placeholder {
  color: #9a958c;
}

.logo-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

/* ── ASSOCIADO TILE (associados.html) ── */
.associado-tile {
  position: relative;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.associado-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.associado-tile span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--muted);
}

/* ── MAIN PARTNER TILE (parceiros.html — Main Partners) ── */
#mainPartnersGrid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.main-partner-tile {
  position: relative;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.main-partner-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.main-partner-tile:hover img {
  transform: scale(1.1);
}

.main-partner-tile-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 220px;
  transform: translate(-50%, -6px);
  padding: 12px 14px;
  background: var(--dark);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 22%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.main-partner-tile-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark);
}

.main-partner-tile:hover .main-partner-tile-tooltip {
  transform: translate(-50%, 0);
  opacity: 1;
}

.main-partner-tile-tooltip p {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 92%);
}

/* ── PARTNER TILE (parceiros.html — Partners) ── */
.partner-tile {
  position: relative;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.partner-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-tile:hover img {
  transform: scale(1.1);
}

/* ── EVENTS PARTNER TILE (parceiros.html — Events Partners) ── */
.events-partner-tile {
  position: relative;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.events-partner-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.events-partner-tile-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 220px;
  transform: translate(-50%, -6px);
  padding: 12px 14px;
  background: var(--dark);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 22%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.events-partner-tile-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark);
}

.events-partner-tile:hover .events-partner-tile-tooltip {
  transform: translate(-50%, 0);
  opacity: 1;
}

.events-partner-tile-tooltip p {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 92%);
}

/* ── ACADEMIC PARTNER TILE (parceiros.html — Academic Partners) ── */
.academic-partner-tile {
  position: relative;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.academic-partner-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.academic-partner-tile-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 220px;
  transform: translate(-50%, -6px);
  padding: 12px 14px;
  background: var(--dark);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 22%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.academic-partner-tile-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark);
}

.academic-partner-tile:hover .academic-partner-tile-tooltip {
  transform: translate(-50%, 0);
  opacity: 1;
}

.academic-partner-tile-tooltip p {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 92%);
}

/* ── MEDIA PARTNER TILE (parceiros.html — Media Partners) ── */
.media-partner-tile {
  position: relative;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.media-partner-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-partner-tile-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 220px;
  transform: translate(-50%, -6px);
  padding: 12px 14px;
  background: var(--dark);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 22%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.media-partner-tile-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark);
}

.media-partner-tile:hover .media-partner-tile-tooltip {
  transform: translate(-50%, 0);
  opacity: 1;
}

.media-partner-tile-tooltip p {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 92%);
}

/* ── DATA PARTNER TILE (parceiros.html — Data Intelligence Partner) ── */
.data-partner-tile {
  position: relative;
  aspect-ratio: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.data-partner-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.data-partner-tile-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  z-index: 20;
  width: 220px;
  transform: translate(-50%, -6px);
  padding: 12px 14px;
  background: var(--dark);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgb(0 0 0 / 22%);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.data-partner-tile-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--dark);
}

.data-partner-tile:hover .data-partner-tile-tooltip {
  transform: translate(-50%, 0);
  opacity: 1;
}

.data-partner-tile-tooltip p {
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 92%);
}

/* ── ESTRATEGICO / TRABALHO / REGIONAL TILE GRIDS ── */
.page-comites-estrategicos .logo-grid,
.page-comites-regionais .logo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

/* ── ESTRATEGICO TILE (comites_estrategicos_e_grupos_de_trabalho.html — Comités Estratégicos) ── */
.estrategico-tile {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 1.8rem 0 0;
  border: none;
  background: none;
  text-align: left;
}

.estrategico-tile-bar {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 5px;
  background: var(--dark);
  margin-bottom: 14px;
}

.estrategico-tile-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.estrategico-tile-title {
  display: block;
  text-align: left;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.2s;
}

.estrategico-tile:hover .estrategico-tile-title {
  color: var(--red);
}

.estrategico-tile:hover .estrategico-tile-bar::after {
  transform: scaleX(1);
}

/* ── TRABALHO TILE (comites_estrategicos_e_grupos_de_trabalho.html — Grupos de Trabalho) ── */
.trabalho-tile {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 1.8rem 0 0;
  border: none;
  background: none;
  text-align: left;
}

.trabalho-tile-bar {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 5px;
  background: var(--dark);
  margin-bottom: 14px;
}

.trabalho-tile-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.trabalho-tile-title {
  display: block;
  text-align: left;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.2s;
}

.trabalho-tile:hover .trabalho-tile-title {
  color: var(--red);
}

.trabalho-tile:hover .trabalho-tile-bar::after {
  transform: scaleX(1);
}

/* ── REGIONAL TILE (comites_regionais.html — Comités Regionais) ── */
.regional-tile {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 1.8rem 0 0;
  border: none;
  background: none;
  text-align: left;
}

.regional-tile-bar {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 5px;
  background: var(--dark);
  margin-bottom: 14px;
}

.regional-tile-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.regional-tile-title {
  display: block;
  text-align: left;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.2s;
}

.regional-tile:hover .regional-tile-title {
  color: var(--red);
}

.regional-tile:hover .regional-tile-bar::after {
  transform: scaleX(1);
}

.logo-tile--pending {
  display: none;
}

.logo-tile--reveal {
  animation: logoTileFadeIn 2.2s ease forwards;
}

@keyframes logoTileFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.events-section-title--pending {
  opacity: 0;
}

.events-section-title--reveal {
  animation: logoTileFadeIn 2.2s ease forwards;
}

.contact-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.contact-block {
  margin-bottom: 32px;
}

.contact-block:last-child {
  margin-bottom: 0;
}

.contact-label {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
}

.contact-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #2d2a26;
}

.contact-text a {
  color: var(--dark);
  transition: color 0.2s;
}

.contact-text a:hover {
  color: var(--red);
}

.contact-coords {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 4px;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
}

.contact-form-title {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
}

.contact-form,
.assoc-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.assoc-form input[type="text"],
.assoc-form input[type="email"],
.assoc-form input[type="tel"],
.assoc-form input[type="url"],
.assoc-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.assoc-form input::placeholder,
.assoc-form textarea::placeholder {
  color: #9a958c;
}

.contact-form input:focus,
.contact-form textarea:focus,
.assoc-form input:focus,
.assoc-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.assoc-form textarea {
  resize: vertical;
  min-height: 90px;
  font-family: inherit;
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.contact-consent input {
  margin-top: 3px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.contact-consent a {
  color: var(--red);
  text-decoration: underline;
}

.contact-consent a:hover {
  color: var(--red-h);
}

.contact-recaptcha {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: #f9f8f5;
  padding: 14px 16px;
  max-width: 300px;
  cursor: pointer;
}

.contact-recaptcha input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.contact-recaptcha-txt {
  font-size: 0.8125rem;
  color: var(--dark);
  flex: 1;
}

.contact-recaptcha-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.5625rem;
  color: #9a958c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-recaptcha-badge svg {
  color: #9a958c;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 44px;
  border: 1.5px solid var(--red);
  border-radius: 2rem;
  background: transparent;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background 0.2s,
    color 0.2s;
}

.contact-submit:hover {
  background: var(--red);
  color: var(--white);
}

.assoc-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.assoc-form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
}

.form-row {
  display: grid;
  gap: 16px;
}

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

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

.form-file {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-file-label {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}

.form-file input[type="file"] {
  font-family: inherit;
  font-size: 0.8125rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.form-file input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #f7f4ee;
  color: var(--dark);
  font-family: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.form-file input[type="file"]:hover::file-selector-button {
  background: #eee9df;
}

.assoc-benefits {
  background: var(--dark);
  padding: 40px 36px;
}

.assoc-benefits-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
}

.assoc-benefits ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.assoc-benefits li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgb(255 255 255 / 75%);
}

.assoc-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

#ft {
  background: var(--dark);
  padding: 64px var(--px) 36px;
  border-top: 1px solid rgb(255 255 255 / 5%);
}

.ft-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgb(255 255 255 / 5%);
}

.ft-logo-img {
  height: 64px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

.ft-brand p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgb(255 255 255 / 30%);
  max-width: 250px;
  margin-bottom: 24px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials .soc-ico {
  color: rgb(255 255 255 / 85%);
}

.socials .soc-ico[aria-label="LinkedIn"]:hover {
  color: #0a66c2;
}

.socials .soc-ico[aria-label="Facebook"]:hover {
  color: #1877f2;
}

.socials .soc-ico[aria-label="Instagram"]:hover {
  color: #e4405f;
}

.socials .soc-ico[aria-label="YouTube"]:hover {
  color: #f00;
}

.ft-col h4 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 30%);
  margin-bottom: 18px;
}

.ft-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ft-col a {
  font-size: 0.875rem;
  color: rgb(255 255 255 / 50%);
  transition: color 0.2s;
}

.ft-col a:hover {
  color: var(--white);
}

.ft-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ft-bottom p {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 20%);
}

.ft-legal {
  display: flex;
  gap: 18px;
}

.ft-legal a {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 20%);
  transition: color 0.2s;
}

.ft-legal a:hover {
  color: rgb(255 255 255 / 50%);
}

@media (width <= 980px) {
  .hd-nav,
  .hd-cta,
  .hd-socials {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-card {
    padding: 28px;
  }

  .assoc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .assoc-form-card {
    padding: 28px;
  }

  .page-comites-estrategicos .logo-grid,
  .page-comites-regionais .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .info-modal-inner {
    padding: 32px;
  }
}

@media (width <= 680px) {
  .ft-grid {
    grid-template-columns: 1fr;
  }

  .academy-gallery {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .events-section + .events-section {
    margin-top: 48px;
  }

  .events-section {
    margin-top: 40px;
  }

  .event-card-title {
    max-width: 100%;
  }

  .form-row--2,
  .form-row--3 {
    grid-template-columns: 1fr;
  }

  .page-comites-estrategicos .logo-grid,
  .page-comites-regionais .logo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .estrategico-tile-title,
  .trabalho-tile-title,
  .regional-tile-title {
    font-size: 1.4rem;
  }

  .info-modal {
    padding: 12px;
  }

  .info-modal-inner {
    padding: 24px;
    max-height: 90vh;
  }

  .info-modal-close {
    top: 8px;
    right: 10px;
  }
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s;
  z-index: 800;
  box-shadow: 0 4px 16px rgb(0 0 0 / 20%);
}

.back-to-top--show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--red-h);
}
