@charset "UTF-8";

/* PÁGINA INICIAL */

.hero {
  max-width: 850px;
}

.tagline {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* PÁGINAS TEXTUAIS */

.content {
  color: #000;
  font-size: 14px;
}

.content h1,
.titulo {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  margin: 30px 0 20px;
}

.content h2 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 10px;
}

.content h3 {
  font-size: 18px;
  font-style: italic;
  text-align: center;
  margin-top: 0;
}

.content p {
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 15px;
}

.section-title,
.subtitulo {
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.ul-sem-bolinhas {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

/* EQUIPE */

.grupo-titulo {
  font-size: 22px;
  font-weight: 700;
  margin: 24px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.item {
  position: relative;
  margin-bottom: 10px;
  padding-left: 24px;
}

.item::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.item.sem-bolinha {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-left: 0 !important;
}

.item.sem-bolinha::before {
  display: none;
}

.item.sem-bolinha img {
  width: 220px;
  height: auto;
  flex-shrink: 0;
  border-radius: 4px;
}

.equipe-texto {
  flex: 1;
  text-align: justify;
}

.equipe-nome {
  font-weight: 700;
  margin-bottom: 12px;
}

.membro {
  padding: 14px 0 18px;
  border-bottom: 1px solid #eee;
}

.membro:last-child {
  border-bottom: 0;
}

.membro-nome {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.membro-linha {
  margin: 2px 0;
  line-height: 1.5;
}

.membro-rotulo {
  font-weight: 700;
}

.membro-projeto {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e3e3e3;
}

/* LIVROS */

.cbcm-books {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 0;
  color: #111;
}

.cbcm-books__header {
  margin-bottom: 18px;
}

.cbcm-books__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}

.cbcm-books__subtitle {
  margin: 0;
  color: #444;
  line-height: 1.5;
  max-width: 75ch;
}

.cbcm-books__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.cbcm-book {
  grid-column: span 4;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 230px;
}

.cbcm-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.10);
}

.cbcm-book__coverLink {
  display: block;
  background: #f7f7f7;
  padding: 14px;
}

.cbcm-book__cover {
  width: 100%;
  height: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 10px;
}

.cbcm-book__body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cbcm-book__name {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.cbcm-book__authors {
  margin: 0;
  color: #333;
  font-size: 13.5px;
}

.cbcm-book__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cbcm-book__metaItem {
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #222;
}

.cbcm-book__desc {
  margin: 0;
  color: #444;
  font-size: 13.5px;
  line-height: 1.5;
}

.cbcm-book__tags {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cbcm-tag {
  font-size: 12px;
  padding: 5px 9px;
  border: 1px solid #e3e3e3;
  border-radius: 999px;
  background: #fff;
  color: #222;
}

.cbcm-book__actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 6px;
}

/* ACERVO HISTÓRICO */

.cbcm-books-archive {
  margin-top: 55px;
  padding-top: 34px;
  border-top: 1px solid #dcdcdc;
}

.cbcm-books-archive__header {
  max-width: 900px;
  margin-bottom: 24px;
}

.cbcm-books-archive__header h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.cbcm-books-archive__header p {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

.cbcm-archive-list {
  display: grid;
  gap: 12px;
}

.cbcm-archive-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.cbcm-archive-year {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #111;
  font-weight: 800;
  font-size: 15px;
}

.cbcm-archive-content h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.35;
  text-align: left;
  font-style: normal;
}

.cbcm-archive-content p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}

/* RESPONSIVO */

@media (max-width: 980px) {
  .cbcm-book {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .item.sem-bolinha {
    flex-direction: column;
  }

  .item.sem-bolinha img {
    width: 180px;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cbcm-book {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }

  .cbcm-book__cover {
    max-height: 280px;
  }

  .cbcm-archive-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cbcm-archive-year {
    width: fit-content;
    padding: 0 16px;
  }
}

/* HOME - PRÓXIMOS EVENTOS */

.home-section {
  margin-bottom: 42px;
}

.home-section h1,
.home-section h2 {
  text-align: center;
  margin-bottom: 24px;
}

.eventos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

/* ======================================================
   CARDS DE EVENTOS
====================================================== */

.evento-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transition: transform .25s ease,
                box-shadow .25s ease;
	height: 100%;
}

.evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

/* Barra superior institucional */
.evento-card::before {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: #f2b705;
}

/* Container da imagem */
.evento-card-img{
    display:flex;
    justify-content:center;
    align-items:center;

    height:220px;

    padding:14px;

    background:#fff;
    border-bottom:1px solid #ececec;
}

/* Imagem */
.evento-card-img img{
    max-width:100%;
    max-height:100%;

    width:auto;
    height:auto;

    display:block;

    object-fit:contain;
}

.evento-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.evento-card-body h2 {
    margin: 0 0 12px;
    font-size: 1.55rem;
    line-height: 1.3;
    color: #222;
}

.evento-card-body p {
    margin: 0 0 22px;
    line-height: 1.55;
    color: #444;
}

/* Botão centralizado */
.evento-card-body .cbcm-btn {
    align-self: center;
    margin-top: auto;
    min-width: 150px;
}

.linha-pesquisa-destaque,
.apoio-destaque {
  max-width: 1006px;
  margin: 0 auto;
  text-align: center;
}

.linha-pesquisa-destaque img,
.apoio-destaque img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* RESPONSIVO HOME */

@media (max-width: 980px) {
  .eventos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .eventos-grid {
    grid-template-columns: 1fr;
  }

  .evento-card img {
    height: 220px;
  }
}

.site-footer {
  text-align: center;
  padding: 28px 16px;
  border-top: 1px solid #ddd;
  font-size: 14px;
}

.site-footer p {
  text-align: center;
  margin: 0 0 8px;
}

/* HOME - NOTÍCIAS */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.news-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f7f7f7;
}

.news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-body h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 10px;
  text-align: left;
  font-style: normal;
}

.news-card-body p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 14px;
  text-align: left;
}

.news-card-body .cbcm-btn {
  margin-top: auto;
  width: fit-content;
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-body .cbcm-btn {
    width: 100%;
  }
}

/* PÁGINAS INSTITUCIONAIS */

.page-content {
  max-width: 1000px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}

.page-header-cbcm {
  text-align: center;
  margin-bottom: 40px;
}

.page-header-cbcm h1 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.page-header-cbcm h2 {
  font-size: clamp(20px, 2vw, 30px);
  font-style: italic;
  font-weight: 600;
  margin: 0;
  color: #111;
}

.institucional-image {
  text-align: center;
  margin: 0 auto 40px;
}

.institucional-image img {
  width: 100%;
  max-width: 900px;

  height: auto;

  border-radius: 12px;

  border: 1px solid #e5e5e5;

  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.text-section {
  margin-bottom: 28px;
}

.text-section p {
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.info-card,
.address-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.info-card h2,
.address-card h2 {
  font-size: 20px;
  text-align: left;
  margin-bottom: 14px;
}

.info-card ul,
.address-card ul {
  padding-left: 20px;
  margin: 0;
}

.info-card li,
.address-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .text-section p {
    text-align: left;
  }
}

/* CONTATO */

.contato-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.contact-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  text-align: center;
}

.contact-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.contact-card a {
  color: #111;
  word-break: break-word;
}

.contact-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }
}

.contato-header {
  text-align: center;
  margin-bottom: 36px;
}

.contato-header h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

.contato-header p {
  font-size: 18px;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.whatsapp-btn {
  margin-bottom: 10px;
}

.contact-small {
  font-size: 14px;
  margin: 10px 0 0;
  text-align: center;
  color: #444;
}

.social-section {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.social-section h2 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 16px;
}

.social-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.whatsapp-btn {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: auto !important;
  min-width: 220px;
  min-height: 48px;

  padding: 12px 20px;
  border-radius: 8px;

  font-weight: 700;
  text-align: center;
}

.whatsapp-btn:hover {
  background: #1fb657 !important;
  border-color: #1fb657 !important;
}

/* LINHAS DE PESQUISA */

.research-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.research-accordion {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  overflow: hidden;
}

.research-accordion summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 18px;
  background: #f7f7f7;
  list-style: none;
}

.research-accordion summary::-webkit-details-marker {
  display: none;
}

.research-accordion summary::after {
  content: "+";
  float: right;
  font-weight: 700;
}

.research-accordion[open] summary::after {
  content: "−";
}

.research-accordion ul {
  padding: 18px 28px 22px 42px;
  margin: 0;
}

.research-accordion li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.research-accordion summary:hover {
  background: #eee;
}

/* EQUIPE */

.team-leader-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;

  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;

  padding: 32px;
  margin-bottom: 40px;

  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.team-leader-photo img {
  width: 100%;
  border-radius: 12px;
}

.team-label {
  color: #777;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

.team-role {
  font-weight: 700;
  color: #666;
}

.team-contact {
  margin-top: 20px;
}

.team-section {
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 20px;
}

.team-grid-single {
  max-width: 500px;
}

.team-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.team-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.team-links {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.team-links a {
  display: inline-block;
  padding: 8px 12px;
  background: #f3f3f3;
  border-radius: 6px;
  text-decoration: none;
}

.team-links a:hover {
  background: #e5e5e5;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.team-stats div {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.team-stats strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.team-accordion-list {
  margin-top: 30px;
}

@media (max-width: 768px) {

  .team-leader-card {
    grid-template-columns: 1fr;
  }

  .team-stats {
    grid-template-columns: 1fr;
  }

}

/* HOME - LAYOUT COM NOTÍCIAS LATERAIS */

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  align-items: start;
}

.home-main-column {
  min-width: 0;
}

.home-news-column {
  border-left: 1px solid #dcdcdc;
  padding-left: 28px;
  position: sticky;
  top: 24px;
}

.home-news-column h2 {
  text-align: left;
  margin-bottom: 20px;
}

.news-sidebar-list {
  display: grid;
  gap: 18px;
}

.news-card-sidebar img {
  height: 150px;
}

.news-card-sidebar .news-card-body h3 {
  font-size: 16px;
}

.news-card-sidebar .news-card-body p {
  font-size: 14px;
}

.home-main-column .eventos-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
}

@media (max-width: 1180px) {
  .home-layout {
    grid-template-columns: 1fr;
  }

  .home-news-column {
    border-left: 0;
    border-top: 1px solid #dcdcdc;
    padding-left: 0;
    padding-top: 28px;
    position: static;
  }

  .home-news-column h2 {
    text-align: center;
  }

  .news-sidebar-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .home-main-column .eventos-grid,
  .news-sidebar-list {
    grid-template-columns: 1fr;
  }
}

/* NORMAS DA PÓS-GRADUAÇÃO */

.docs-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.doc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;

  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  padding: 15px 18px;

  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.doc-card-featured {
  border-left: 5px solid #111;
}

.doc-card h2 {
  font-size: 17px;
  line-height: 1.3;
  text-align: left;
  margin: 0 0 3px;
}

.doc-card p {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
}

.doc-card .cbcm-btn {
  white-space: nowrap;
  padding: 9px 14px;
  font-size: 14px;
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 54px;
  padding: 5px 9px;
  border-radius: 999px;

  background: #f5f5f5;
  color: #111;

  font-size: 11px;
  font-weight: 800;
}

.normas-section {
  margin-top: 46px;
  padding-top: 32px;
  border-top: 1px solid #ddd;
}

.normas-section-header {
  margin-bottom: 4px;
}

.normas-section-header h2,
.qualis-section h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  text-align: left;
}

.doc-notice {
  margin-top: 22px;
  padding: 18px 20px;
  background: #f7f7f7;
  border: 1px solid #dedede;
  border-left: 5px solid #111;
  border-radius: 10px;
}

.doc-notice h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-style: normal;
  text-align: left;
}

.doc-notice p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
  text-align: left;
}

.doc-notice p:last-child {
  margin-bottom: 0;
}

.qualis-section {
  margin-top: 46px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.qualis-section p {
  margin: 10px 0 18px;
  color: #444;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 768px) {
  .contato-header h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .contato-header p {
    font-size: 16px;
  }

  .doc-card {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding: 16px;
  }

  .doc-card .cbcm-btn {
    width: 100%;
    white-space: normal;
  }

  .doc-badge {
    width: fit-content;
  }

  .normas-section,
  .qualis-section {
    margin-top: 36px;
  }

  .qualis-section {
    padding: 20px;
  }

  .qualis-section .cbcm-btn {
    width: 100%;
  }
}

/* BOLETINS E FOLDERS */

.featured-download {
  text-align: center;
  margin: 0 0 36px;
}

.download-section {
  margin-bottom: 42px;
}

.download-section h2 {
  font-size: 28px;
  margin-bottom: 18px;
  text-align: left;
}

.download-accordion-list {
  display: grid;
  gap: 14px;
}

.download-list {
  list-style: none;
  padding: 18px 24px;
  margin: 0;
}

.download-list li {
  border-bottom: 1px solid #eee;
}

.download-list li:last-child {
  border-bottom: 0;
}

.download-list a {
  display: block;
  padding: 12px 0;
  color: #111;
  font-weight: 600;
}

.download-list a:hover {
  text-decoration: underline;
}

/* PUBLICAÇÕES */

.years-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.year-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.year-card:hover {
  background: #f0f0f0;
}

.years-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.years-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;

  background: #f3f3f3;
  color: #111;

  border: 1px solid #ddd;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;

  transition: all .2s ease;
}

.years-nav a:hover {
  background: #ececec;
  border-color: #cfcfcf;
}

.years-nav a.active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.publications-list {
  display: grid;
  gap: 16px;
}

.publication-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.publication-card h2 {
  font-size: 18px;
  text-align: left;
  margin: 0 0 8px;
  color: #111;
}

.publication-card p {
  margin: 0 0 6px;
  text-align: left;
  line-height: 1.5;
}

.publication-category {
  margin: 34px 0 16px;
  font-size: 22px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 8px;
}

@media (max-width: 768px) {
  .publication-card {
    grid-template-columns: 1fr;
  }

  .publication-card .cbcm-btn {
    width: 100%;
  }
}

/* =========================================================
   PÁGINA DE TREINAMENTOS
========================================================= */

.treinamentos-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 70px;
}


/* =========================================================
   ELEMENTOS GERAIS
========================================================= */

.training-section {
  padding: 72px 0;
}

.section-kicker {
  margin: 0 0 10px;
  color: #555;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.in-company h2,
.training-final-cta h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.section-heading p,
.in-company p,
.training-final-cta p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.75;
}


/* =========================================================
   BOTÕES
========================================================= */

.cbcm-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.cbcm-btn:hover {
  transform: translateY(-2px);
}

.cbcm-btn--primary {
  border-color: #111;
  background: #111;
  color: #fff;
}

.cbcm-btn--primary:hover {
  background: #292929;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.cbcm-btn--outline {
  border-color: #bbb;
  background: #fff;
  color: #111;
}

.cbcm-btn--outline:hover {
  border-color: #111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cbcm-btn--whatsapp {
  border-color: #15803d;
  background: #15803d;
  color: #fff;
}

.cbcm-btn--whatsapp:hover {
  background: #126c34;
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.22);
}

.cbcm-btn--light {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.cbcm-btn--light:hover {
  background: #f1f1f1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* =========================================================
   HERO
========================================================= */

.training-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 64px;
  border-radius: 18px;
  background:
    linear-gradient(
      120deg,
      rgba(0, 0, 0, 0.96),
      rgba(30, 30, 30, 0.92)
    );
  color: #fff;
}

.training-hero::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -90px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.training-hero::after {
  content: "";
  position: absolute;
  right: 120px;
  bottom: -150px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.training-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.training-hero .section-kicker {
  color: #d2d2d2;
}

.training-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
}

.training-hero__text {
  max-width: 700px;
  margin: 0;
  color: #e1e1e1;
  font-size: 1.08rem;
  line-height: 1.75;
}

.training-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.training-hero .cbcm-btn--primary {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.training-hero .cbcm-btn--outline {
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
}

.training-hero .cbcm-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   CARDS DOS CURSOS
========================================================= */

.training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.training-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.training-card:hover {
  transform: translateY(-4px);
  border-color: #bbb;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}

.training-card__top {
  min-height: 230px;
  padding: 30px 30px 26px;
  border-bottom: 1px solid #e6e6e6;
  background:
    linear-gradient(
      145deg,
      #fafafa,
      #f1f1f1
    );
}

.training-card__badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.training-card__area {
  margin: 0 0 8px;
  color: #555;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.training-card h3 {
  margin: 0;
  color: #111;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.training-card__details {
  display: grid;
  gap: 20px;
  padding: 28px 30px;
}

.training-detail {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.training-detail__icon {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #f0f0f0;
  color: #222;
}

.training-detail div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.training-detail strong {
  color: #111;
  font-size: 0.85rem;
}

.training-detail span {
  color: #555;
  font-size: 0.93rem;
  line-height: 1.45;
}

.training-card__actions {
  display: flex;
  margin-top: auto;
  flex-direction: column;
  gap: 14px;
  padding: 0 30px 30px;
}

.training-card__contact {
  align-self: center;
  color: #333;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.training-card__contact:hover {
  color: #000;
}


/* =========================================================
   COMO SE INSCREVER
========================================================= */

.training-registration {
  padding-right: 34px;
  padding-left: 34px;
  border-radius: 18px;
  background: #f5f5f5;
}

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

.registration-step {
  position: relative;
  padding: 28px;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #fff;
}

.registration-step__number {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.registration-step h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 1.12rem;
}

.registration-step p {
  margin: 0;
  color: #555;
  font-size: 0.94rem;
  line-height: 1.65;
}

.registration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}


/* =========================================================
   IN COMPANY
========================================================= */

.in-company {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
  gap: 54px;
  align-items: center;
}

.in-company__content {
  max-width: 760px;
}

.in-company__content p {
  margin-bottom: 16px;
}

.in-company__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.in-company__visual {
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
  border-radius: 18px;
  background: #111;
  color: #fff;
  text-align: center;
}

.in-company__symbol {
  display: flex;
  width: 170px;
  height: 170px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
}

.in-company__visual strong {
  max-width: 220px;
  font-size: 1.1rem;
  line-height: 1.45;
}


/* =========================================================
   EMPRESAS APOIADORAS
========================================================= */

.supporters-section {
  border-top: 1px solid #e0e0e0;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.supporter-card {
  display: flex;
  height: 150px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.supporter-card:hover {
  transform: translateY(-4px);
  border-color: #bbb;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

/*
  Esta regra padroniza visualmente os logos.

  A imagem nunca será distorcida:
  - largura máxima de 100%;
  - altura máxima igual para todas;
  - object-fit: contain mantém a proporção original.
*/

.supporter-card img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: 76px;
  object-fit: contain;
}


/* =========================================================
   FAQ
========================================================= */

.training-faq {
  max-width: 920px;
  margin: 0 auto;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: #aaa;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 20px;
  align-items: center;
  padding: 21px 24px;
  border: 0;
  background: transparent;
  color: #111;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: #f7f7f7;
}

.faq-question:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.22);
  outline-offset: -3px;
}

.faq-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  border-top: 1px solid #e5e5e5;
}

.faq-answer__content {
  padding: 20px 24px 24px;
}

.faq-answer__content p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer__content a {
  color: #111;
  font-weight: 700;
  text-underline-offset: 3px;
}


/* =========================================================
   CTA FINAL
========================================================= */

.training-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 40px;
  align-items: center;
  margin-top: 12px;
  padding: 44px;
  border-radius: 18px;
  background: #111;
  color: #fff;
}

.training-final-cta .section-kicker {
  color: #cfcfcf;
}

.training-final-cta h2 {
  color: #fff;
}

.training-final-cta p {
  max-width: 700px;
  color: #d8d8d8;
}

.training-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1050px) {

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

  .in-company {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
    gap: 34px;
  }

}


@media (max-width: 850px) {

  .treinamentos-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .training-hero {
    padding: 54px 36px;
  }

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

  .training-card__top {
    min-height: auto;
  }

  .registration-steps {
    grid-template-columns: 1fr;
  }

  .in-company {
    grid-template-columns: 1fr;
  }

  .in-company__visual {
    min-height: 260px;
  }

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

  .training-final-cta {
    grid-template-columns: 1fr;
  }

  .training-final-cta__actions {
    justify-content: flex-start;
  }

}


@media (max-width: 560px) {

  .treinamentos-page {
    padding-right: 15px;
    padding-bottom: 50px;
    padding-left: 15px;
  }

  .training-section {
    padding: 52px 0;
  }

  .training-hero {
    padding: 42px 24px;
    border-radius: 14px;
  }

  .training-hero__actions,
  .registration-actions,
  .in-company__actions,
  .training-final-cta__actions {
    flex-direction: column;
  }

  .training-hero__actions .cbcm-btn,
  .registration-actions .cbcm-btn,
  .in-company__actions .cbcm-btn,
  .training-final-cta__actions .cbcm-btn {
    width: 100%;
  }

  .training-card__top,
  .training-card__details {
    padding-right: 22px;
    padding-left: 22px;
  }

  .training-card__actions {
    padding-right: 22px;
    padding-left: 22px;
  }

  .training-registration {
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 14px;
  }

  .registration-step {
    padding: 24px;
  }

  .in-company__visual {
    min-height: 230px;
    padding: 30px 20px;
  }

  .in-company__symbol {
    width: 140px;
    height: 140px;
  }

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

  .supporter-card {
    height: 120px;
    padding: 16px;
  }

  .supporter-card img {
    max-width: 140px;
    height: 62px;
  }

  .faq-question {
    padding: 18px;
    font-size: 0.94rem;
  }

  .faq-answer__content {
    padding: 18px;
  }

  .training-final-cta {
    padding: 32px 24px;
    border-radius: 14px;
  }

}


@media (max-width: 380px) {

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

}

/* =========================================================
   PÁGINA METAL FORMING
========================================================= */

.metal-forming-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 70px;
}

.metal-forming-kicker {
  margin: 0 0 10px;
  color: #626262;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* =========================================================
   APRESENTAÇÃO PRINCIPAL
========================================================= */

.metal-forming-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
  min-height: 440px;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  color: #fff;
}

.metal-forming-hero__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 66px;
}

.metal-forming-hero .metal-forming-kicker {
  color: #d1d1d1;
}

.metal-forming-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
}

.metal-forming-hero__lead {
  max-width: 680px;
  margin: 0 0 30px;
  color: #dedede;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.metal-forming-hero__visual {
  position: relative;
  display: flex;
  min-height: 300px;
  align-items: center;
  justify-content: center;
  padding: 44px;
  background:
    linear-gradient(
      145deg,
      #ededed,
      #fff
    );
}

.metal-forming-hero__visual::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
}

.metal-forming-hero__visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 280px;
  max-height: 180px;
  object-fit: contain;
}


/* =========================================================
   CONTEÚDO INSTITUCIONAL
========================================================= */

.metal-forming-section {
  padding: 76px 0;
}

.metal-forming-section__heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.metal-forming-section__heading h2,
.metal-forming-relationship h2,
.metal-forming-cta h2 {
  margin: 0 0 16px;
  color: #111;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.22;
}

.metal-forming-section__heading > p:last-child {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.75;
}

.metal-forming-text {
  max-width: 920px;
  padding-left: 30px;
  border-left: 4px solid #111;
}

.metal-forming-text p {
  margin: 0 0 20px;
  color: #444;
  font-size: 1rem;
  line-height: 1.85;
}

.metal-forming-text p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   POSSIBILIDADES DE ATUAÇÃO
========================================================= */

.metal-forming-activities {
  padding-right: 36px;
  padding-left: 36px;
  border-radius: 18px;
  background: #f5f5f5;
}

.metal-forming-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.metal-forming-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 30px;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #fff;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.metal-forming-card:hover {
  transform: translateY(-4px);
  border-color: #bdbdbd;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.09);
}

.metal-forming-card__number {
  display: block;
  margin-bottom: 26px;
  color: #999;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.metal-forming-card h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: 1.22rem;
  line-height: 1.35;
}

.metal-forming-card p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}

.metal-forming-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 100px;
  height: 100px;
  border: 1px solid #e4e4e4;
  border-radius: 50%;
}


/* =========================================================
   RELAÇÃO CBCM E METAL FORMING
========================================================= */

.metal-forming-relationship {
  display: grid;
  grid-template-columns: 170px 80px 170px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 76px 0;
}

.metal-forming-relationship__label {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border: 1px solid #d5d5d5;
  border-radius: 14px;
  background: #fff;
  color: #111;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.metal-forming-relationship__connector {
  display: flex;
  align-items: center;
}

.metal-forming-relationship__connector span {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: #111;
}

.metal-forming-relationship__connector span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  transform: translateY(-50%) rotate(45deg);
}

.metal-forming-relationship__text {
  padding-left: 24px;
}

.metal-forming-relationship__text p {
  margin: 0;
  color: #555;
  font-size: 0.96rem;
  line-height: 1.75;
}


/* =========================================================
   CTA FINAL
========================================================= */

.metal-forming-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: 40px;
  align-items: center;
  padding: 46px;
  border-radius: 18px;
  background: #111;
  color: #fff;
}

.metal-forming-cta .metal-forming-kicker {
  color: #ccc;
}

.metal-forming-cta h2 {
  color: #fff;
}

.metal-forming-cta p {
  max-width: 720px;
  margin: 0;
  color: #d6d6d6;
  font-size: 1rem;
  line-height: 1.7;
}

.metal-forming-cta__button {
  white-space: nowrap;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1000px) {

  .metal-forming-hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
  }

  .metal-forming-hero__content {
    padding: 50px;
  }

  .metal-forming-relationship {
    grid-template-columns: 140px 60px 140px minmax(0, 1fr);
  }

}


@media (max-width: 850px) {

  .metal-forming-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .metal-forming-hero {
    grid-template-columns: 1fr;
  }

  .metal-forming-hero__visual {
    min-height: 230px;
  }

  .metal-forming-grid {
    grid-template-columns: 1fr;
  }

  .metal-forming-relationship {
    grid-template-columns: 1fr;
  }

  .metal-forming-relationship__label {
    min-height: 90px;
  }

  .metal-forming-relationship__connector {
    width: 2px;
    height: 46px;
    margin: 0 auto;
    background: #111;
  }

  .metal-forming-relationship__connector span {
    display: none;
  }

  .metal-forming-relationship__text {
    padding: 20px 0 0;
    text-align: center;
  }

  .metal-forming-cta {
    grid-template-columns: 1fr;
  }

  .metal-forming-cta__button {
    justify-self: flex-start;
  }

}


@media (max-width: 560px) {

  .metal-forming-page {
    padding-right: 15px;
    padding-bottom: 50px;
    padding-left: 15px;
  }

  .metal-forming-hero {
    border-radius: 14px;
  }

  .metal-forming-hero__content {
    padding: 42px 24px;
  }

  .metal-forming-hero__content .cbcm-btn {
    width: 100%;
  }

  .metal-forming-hero__visual {
    min-height: 200px;
    padding: 30px;
  }

  .metal-forming-hero__visual::before {
    width: 190px;
    height: 190px;
  }

  .metal-forming-hero__visual img {
    max-width: 220px;
    max-height: 130px;
  }

  .metal-forming-section {
    padding: 54px 0;
  }

  .metal-forming-text {
    padding-left: 20px;
  }

  .metal-forming-activities {
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 14px;
  }

  .metal-forming-card {
    min-height: auto;
    padding: 26px;
  }

  .metal-forming-relationship {
    padding: 54px 0;
  }

  .metal-forming-cta {
    padding: 34px 24px;
    border-radius: 14px;
  }

  .metal-forming-cta__button {
    width: 100%;
    white-space: normal;
  }

}

/* =========================================================
   PÁGINA SENAFOR
========================================================= */

.senafor-page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 72px;
}

.senafor-kicker {
  margin: 0 0 10px;
  color: #666;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* =========================================================
   HERO
========================================================= */

.senafor-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  min-height: 400px;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  color: #fff;
}

.senafor-hero__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 50px 54px;
}

.senafor-hero .senafor-kicker {
  color: #d2d2d2;
}

.senafor-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 1;
}

.senafor-hero__lead {
  max-width: 720px;
  margin: 0 0 18px;
  color: #e1e1e1;
  font-size: 1.08rem;
  line-height: 1.75;
}

.senafor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.senafor-hero__image {
  position: relative;
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 34px;
  background: #f4f4f4;
}

.senafor-hero__image img {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

/* Remove o degradê sobre a imagem */
.senafor-hero__image::after {
  display: none;
}

/* =========================================================
   BOTÕES ESPECÍFICOS
========================================================= */

.senafor-page .cbcm-btn--light {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.senafor-page .cbcm-btn--light:hover {
  background: #f1f1f1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.senafor-page .cbcm-btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.senafor-page .cbcm-btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   INFORMAÇÕES RÁPIDAS
========================================================= */

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

.senafor-info-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 22px;
  border: 1px solid #ddd;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.senafor-info-card__icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0f0f0;
  color: #111;
}

.senafor-info-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.senafor-info-card__content strong {
  color: #111;
  font-size: 0.88rem;
}

.senafor-info-card__content span {
  color: #555;
  font-size: 0.94rem;
  line-height: 1.5;
}


/* =========================================================
   CONTADOR REGRESSIVO
========================================================= */

.senafor-countdown-section {
  padding: 38px 0 48px;
}

.senafor-countdown {
  position: relative;
  overflow: hidden;

  max-width: 980px;
  margin: 0 auto;
  padding: 30px 36px;

  border: 1px solid #dcdcdc;
  border-radius: 16px;

  background: #f3f3f3;
  color: #111;

  text-align: center;

  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.06);
}

.senafor-countdown::before {
  content: "";
  position: absolute;

  top: -90px;
  right: -70px;

  width: 220px;
  height: 220px;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
}

.senafor-countdown__content {
  position: relative;
  z-index: 1;
}

.senafor-countdown__label {
  margin: 0 0 8px;

  color: #999;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.senafor-countdown h2 {
  margin: 0 0 20px;

  color: #111;

  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.2;
}

.senafor-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 12px;

  max-width: 760px;
  margin: 0 auto;
}

.senafor-countdown__item {
  display: flex;
  min-height: 88px;

  align-items: center;
  justify-content: center;
  flex-direction: column;

  padding: 14px 10px;

  border: 1px solid #ddd;
  border-radius: 12px;

  background: #fff;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.05);
}

.senafor-countdown__number {
  display: block;

  color: #111;

  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.senafor-countdown__unit {
  margin-top: 7px;

  color: #666;

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.senafor-countdown__message {
  margin: 18px 0 0;

  color: #666;

  font-size: 0.9rem;
  line-height: 1.5;
}


/* Evento em andamento */

.senafor-countdown.is-active {
  border-color: #bfd2c3;
  background: #edf5ef;
}

.senafor-countdown.is-active .senafor-countdown__item {
  border-color: #cfdfd2;
}

.senafor-countdown.is-active .senafor-countdown__label,
.senafor-countdown.is-active .senafor-countdown__message {
  color: #4e6654;
}


/* Evento encerrado */

.senafor-countdown.is-ended {
  border-color: #d2d2d2;
  background: #ededed;
}

.senafor-countdown.is-ended .senafor-countdown__item {
  background: #f8f8f8;
}

.senafor-countdown.is-ended .senafor-countdown__label,
.senafor-countdown.is-ended .senafor-countdown__message {
  color: #666;
}


/* =========================================================
   RESPONSIVIDADE DO CONTADOR
========================================================= */

@media (max-width: 850px) {

  .senafor-countdown-section {
    padding: 34px 0 44px;
  }

  .senafor-countdown {
    padding: 28px 24px;
  }

  .senafor-countdown__grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

}


@media (max-width: 560px) {

  .senafor-countdown-section {
    padding: 30px 0 40px;
  }

  .senafor-countdown {
    padding: 26px 16px;
    border-radius: 14px;
  }

  .senafor-countdown::before {
    top: -70px;
    right: -70px;
    width: 170px;
    height: 170px;
  }

  .senafor-countdown h2 {
    margin-bottom: 18px;
  }

  .senafor-countdown__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .senafor-countdown__item {
    min-height: 82px;
    padding: 12px 8px;
  }

  .senafor-countdown__number {
    font-size: 2rem;
  }

  .senafor-countdown__message {
    margin-top: 16px;
    font-size: 0.85rem;
  }

}


@media (max-width: 380px) {

  .senafor-countdown__grid {
    grid-template-columns: 1fr 1fr;
  }

}

/* =========================================================
   CABEÇALHO DAS SEÇÕES
========================================================= */

.senafor-section {
  padding: 70px 0;
}

.senafor-section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.senafor-section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.senafor-section-heading h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.senafor-section-heading p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.75;
}


/* =========================================================
   ACORDEÕES DAS CONFERÊNCIAS
========================================================= */

.senafor-accordion-list {
  display: grid;
  gap: 16px;
}

.senafor-accordion {
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.senafor-accordion.is-open {
  border-color: #aaa;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.senafor-accordion__heading {
  margin: 0;
}

.senafor-accordion__button {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 22px;
  align-items: center;
  padding: 24px 26px;
  border: 0;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.senafor-accordion__button:hover {
  background: #f6f6f6;
}

.senafor-accordion__button:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.22);
  outline-offset: -3px;
}

.senafor-accordion__icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.senafor-accordion__icon::before,
.senafor-accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.senafor-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.senafor-accordion.is-open
.senafor-accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.senafor-accordion__content {
  border-top: 1px solid #e1e1e1;
}

.senafor-accordion__inner {
  padding: 30px;
}

.senafor-accordion,
.senafor-accordion__content,
.senafor-accordion__inner {
  min-width: 0;
  max-width: 100%;
}

.senafor-accordion__inner {
  overflow: hidden;
}


/* =========================================================
   CABEÇALHO INTERNO DAS CONFERÊNCIAS
========================================================= */

.senafor-conference-header {
  margin-bottom: 28px;
}

.senafor-conference-header__image {
  width: 100%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  background: #fff;
}

.senafor-conference-header__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
}

.senafor-conference-coordination {
  padding: 16px 18px;
  border-left: 4px solid #111;
  background: #f5f5f5;
  color: #333;
  font-size: 0.94rem;
  line-height: 1.65;
}


/* =========================================================
   TABELAS
========================================================= */

.senafor-table-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  max-height: 500px;

  overflow-x: auto;
  overflow-y: auto;

  border: 1px solid #d4d4d4;
  border-radius: 10px;
  background: #fff;

  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

.senafor-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  table-layout: fixed;
}

.senafor-table col:nth-child(1) {
  width: 120px;
}

.senafor-table col:nth-child(2) {
  width: 105px;
}

.senafor-table col:nth-child(3) {
  width: auto;
}

.senafor-table col:nth-child(4) {
  width: 220px;
}

.senafor-table th,
.senafor-table td {
  padding: 13px 14px;
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  color: #333;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: normal;
}

.senafor-table th:last-child,
.senafor-table td:last-child {
  border-right: 0;
}

.senafor-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.senafor-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.senafor-table tbody tr:hover {
  background: #f1f1f1;
}

/*
  Linhas especiais:
  sessões, intervalos, encerramentos e outros destaques.
*/

.senafor-table .senafor-table__section td {
  padding: 12px 14px;
  background: #2c2c2c;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.senafor-table .senafor-table__break td {
  padding: 12px 14px;
  background: #f2f2f2;
  color: #444;
  font-weight: 700;
  text-align: center;
}

.senafor-table .senafor-table__closing td {
  padding: 12px 14px;
  background: #d6d6d6;
  color: #111;
  font-weight: 800;
  text-align: center;
}

.senafor-table .senafor-table__highlight td {
  background: #f7f7f7;
  font-weight: 700;
}

.senafor-table__poster td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}

.senafor-table__poster strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}


/* =========================================================
   AVISO DE PROGRAMAÇÃO
========================================================= */

.senafor-program-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 9px;
  background: #fafafa;
  color: #555;
  font-size: 0.86rem;
  line-height: 1.6;
}


/* =========================================================
   CTA FINAL
========================================================= */

.senafor-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 40px;
  align-items: center;
  padding: 46px;
  border-radius: 18px;
  background: #111;
  color: #fff;
}

.senafor-final-cta .senafor-kicker {
  color: #ccc;
}

.senafor-final-cta h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.senafor-final-cta p {
  max-width: 720px;
  margin: 0;
  color: #d7d7d7;
  font-size: 1rem;
  line-height: 1.7;
}

.senafor-final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}


/* =========================================================
   RESPONSIVIDADE
========================================================= */

@media (max-width: 1050px) {

  .senafor-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  }

  .senafor-hero__content {
    padding: 48px;
  }

  .senafor-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}


@media (max-width: 850px) {

  .senafor-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .senafor-hero {
    grid-template-columns: 1fr;
  }

  .senafor-hero__image {
    min-height: 300px;
  }

  .senafor-info-grid {
    grid-template-columns: 1fr;
  }

  .senafor-countdown__grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .senafor-final-cta {
    grid-template-columns: 1fr;
  }

  .senafor-final-cta__actions {
    justify-content: flex-start;
  }
  
  .senafor-table-scroll-hint {
  display: none;
  }
}

@media (max-width: 700px) {

  .senafor-table-scroll-hint {
    display: block;
    margin: 0 0 10px;
    padding: 9px 12px;
    border-radius: 8px;
    background: #f3f3f3;
    color: #555;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
  }

}


@media (max-width: 560px) {

  .senafor-page {
    padding-right: 15px;
    padding-bottom: 50px;
    padding-left: 15px;
  }

  .senafor-hero {
    border-radius: 14px;
  }

  .senafor-hero__content {
    padding: 42px 24px;
  }

  .senafor-hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .senafor-hero__actions .cbcm-btn {
    width: 100%;
  }

  .senafor-hero__image {
    min-height: 190px;
    padding: 24px;
  }

  .senafor-accordion__button {
    padding: 20px 18px;
    font-size: 0.94rem;
  }

  .senafor-accordion__inner {
    padding: 20px 16px;
  }

  .senafor-table-wrapper {
  max-height: 430px;
  border-radius: 8px;
}

.senafor-table {
  min-width: 760px;
}

.senafor-table col:nth-child(1) {
  width: 105px;
}

.senafor-table col:nth-child(2) {
  width: 90px;
}

.senafor-table col:nth-child(4) {
  width: 185px;
}

.senafor-table th,
.senafor-table td {
  padding: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
}

.senafor-table thead th {
  font-size: 0.72rem;
}

  .senafor-final-cta {
    padding: 34px 24px;
    border-radius: 14px;
  }

  .senafor-final-cta__actions {
    flex-direction: column;
  }

  .senafor-final-cta__actions .cbcm-btn {
    width: 100%;
  }

 .senafor-conference-header__image {
    margin-bottom: 14px;
  }

  .senafor-conference-header__image img {
    max-height: 180px;
  }

  .senafor-conference-coordination {
    padding: 14px 16px;
    font-size: 0.88rem;
  }
}


@media (max-width: 380px) {

  .senafor-countdown__grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   BOTÃO DE IMPRESSÃO DAS CONFERÊNCIAS
========================================================= */

.senafor-conference-actions {
  display: flex;
  justify-content: flex-end;
  margin: 16px 0 20px;
}

.senafor-print-button {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.86rem;
}

@media (max-width: 560px) {

  .senafor-conference-actions {
    justify-content: stretch;
  }

  .senafor-print-button {
    width: 100%;
  }

}

/* =========================================================
   PUBLICAÇÕES — TRABALHOS DE CONCLUSÃO
========================================================= */

.publications-final-works {
  margin-top: 52px;
  padding-top: 38px;
  border-top: 1px solid #dcdcdc;
}

.publications-final-works__header {
  margin-bottom: 26px;
}

.publications-final-works__header h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  text-align: left;
}

.publications-final-works__header p {
  margin: 0;
  color: #444;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.publications-final-works__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.publications-final-works__grid .year-card {
  min-height: 82px;
  padding: 18px 22px;
  font-size: 18px;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 700px) {

  .publications-final-works {
    margin-top: 40px;
    padding-top: 30px;
  }

  .publications-final-works__grid {
    grid-template-columns: 1fr;
  }

  .publications-final-works__grid .year-card {
    min-height: 72px;
    font-size: 16px;
  }

}

/* =========================================================
   DISSERTAÇÕES E TESES
========================================================= */

.academic-works-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px 70px;
}

.academic-works-header {
  max-width: 850px;
  margin-bottom: 48px;
}

.academic-works-kicker {
  margin: 0 0 10px;
  color: #666;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.academic-works-header h1 {
  margin: 0 0 14px;
  color: #111;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.academic-works-header > p:not(.academic-works-kicker) {
  margin: 0;
  color: #444;
  font-size: 1rem;
  line-height: 1.7;
}

.academic-works-back {
  display: inline-flex;
  margin-top: 20px;
  color: #111;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.academic-works-back:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* =========================================================
   LISTA DE TRABALHOS
========================================================= */

.academic-works-list {
  display: grid;
  gap: 14px;
}

.academic-work-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid #e1e1e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.academic-work-card:hover {
  transform: translateY(-2px);
  border-color: #c7c7c7;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.07);
}

.academic-work-content {
  min-width: 0;
}

.academic-work-author {
  margin: 0 0 8px;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.45;
}

.academic-work-author span {
  display: block;
  margin-bottom: 3px;
  color: #777;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.academic-work-card h3 {
  margin: 0;
  color: #111;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

.academic-work-action {
  display: flex;
  justify-content: flex-end;
}

.academic-work-action .cbcm-btn {
  min-width: 150px;
  white-space: nowrap;
}

@media (max-width: 760px) {

  .academic-works-page {
    padding-right: 20px;
    padding-left: 20px;
  }

  .academic-work-card {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .academic-work-action {
    justify-content: flex-start;
  }

  .academic-work-action .cbcm-btn {
    width: 100%;
  }

}


@media (max-width: 560px) {

  .academic-works-page {
    padding-right: 15px;
    padding-bottom: 50px;
    padding-left: 15px;
  }

  .academic-works-header {
    margin-bottom: 38px;
  }

  .academic-year-section {
    margin-top: 34px;
    padding-top: 28px;
  }

  .academic-year-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .academic-work-card {
    padding: 19px 18px;
    border-radius: 12px;
  }

  .academic-work-card h3 {
    font-size: 1rem;
  }

}

/* =========================================================
   DISSERTAÇÕES E TESES — ACORDEÕES POR ANO
========================================================= */

.academic-years {
  display: grid;
  gap: 14px;
}

.academic-year-accordion {
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.academic-year-accordion[open] {
  border-color: #bdbdbd;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}


/* Cabeçalho do acordeão */

.academic-year-summary {
  display: grid;
  grid-template-columns: minmax(80px, auto) 1fr 24px;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  color: #111;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}

.academic-year-summary::-webkit-details-marker {
  display: none;
}

.academic-year-summary:hover {
  background: #f7f7f7;
}

.academic-year-summary:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.2);
  outline-offset: -3px;
}

.academic-year-summary__year {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.academic-year-summary__count {
  justify-self: end;
  color: #666;
  font-size: 0.88rem;
  font-weight: 600;
}


/* Ícone de abrir e fechar */

.academic-year-summary__icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.academic-year-summary__icon::before,
.academic-year-summary__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #111;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.academic-year-summary__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.academic-year-accordion[open]
.academic-year-summary__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}


/* Conteúdo interno */

.academic-year-content {
  padding: 22px 24px 26px;
  border-top: 1px solid #e3e3e3;
  background: #fafafa;
}

.academic-work-unavailable{
    display:flex;
    flex-direction:column;
    gap:4px;

    padding:12px 16px;

    border-left:4px solid #bcbcbc;

    background:#f7f7f7;
}

.academic-work-unavailable strong{
    color:#333;
    font-size:.88rem;
}

.academic-work-unavailable span{
    color:#666;
    font-size:.84rem;
    line-height:1.5;
}


/* Cards dentro dos acordeões */

.academic-year-content .academic-work-card {
  background: #fff;
}

.academic-year-content .academic-work-card + .academic-work-card {
  margin-top: 0;
}


/* Responsividade */

@media (max-width: 700px) {

  .academic-year-summary {
    grid-template-columns: 1fr auto 20px;
    gap: 12px;
    padding: 18px;
  }

  .academic-year-summary__year {
    font-size: 1.25rem;
  }

  .academic-year-summary__count {
    font-size: 0.8rem;
  }

  .academic-year-content {
    padding: 16px;
  }

}


@media (max-width: 420px) {

  .academic-year-summary {
    grid-template-columns: 1fr 20px;
  }

  .academic-year-summary__count {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .academic-year-summary__icon {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

}


.noticia-destaque {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.noticia-destaque__imagem {
  position: relative;
  width: 100%;
  background-color: #fff;
  overflow: hidden;
}

.noticia-destaque__imagem img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.noticia-destaque__selo {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;

    padding: 8px 14px;

    background: #111;
    color: #fff;

    border-radius: 999px;

    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;

    z-index: 10;

    box-shadow: 0 3px 10px rgba(0,0,0,.25);
}

.noticia-destaque__conteudo {
    margin: 14px;
    margin-top: 0;

    padding: 24px;

    background: #fff;

    border-radius: 14px;

    box-shadow: 0 2px 8px rgba(0,0,0,.05);

    display: flex;
    flex-direction: column;
}

.noticia-destaque__categoria {
  margin: 0 0 8px;
  color: #765900;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.noticia-destaque__conteudo h3 {
  margin: 0 0 20px;
  color: #222;
  font-size: 1.2rem;
  line-height: 1.3;
}

.noticia-destaque__conteudo .cbcm-btn {
  margin-top: auto;
}

@media (max-width: 760px) {
  .noticia-destaque {
    grid-template-columns: 1fr;
  }

  .noticia-destaque__imagem {
    min-height: 230px;
    aspect-ratio: 16 / 9;
  }

  .noticia-destaque__conteudo {
    padding: 24px 20px 26px;
  }

  .noticia-destaque h2 {
    font-size: 1.45rem;
  }
}

.noticia-interna {
  width: min(100%, 900px);
  margin: 0 auto;
}

.noticia-interna__cabecalho {
  margin-bottom: 30px;
}

.noticia-interna__categoria {
  margin: 0 0 10px;
  color: #806000;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.noticia-interna h1 {
  margin: 0 0 18px;
  color: #1d1d1d;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.12;
}

.noticia-interna__resumo {
  max-width: 760px;
  margin: 0;
  color: #555;
  font-size: 1.15rem;
  line-height: 1.6;
}

.noticia-interna figure {
  margin: 32px 0;
}

.noticia-interna figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.noticia-interna figcaption {
  margin-top: 9px;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.45;
}

.noticia-interna__texto {
  max-width: 760px;
  margin: 0 auto;
}

.noticia-interna__texto p {
  margin: 0 0 22px;
  color: #292929;
  font-size: 1.05rem;
  line-height: 1.75;
}

.noticia-interna__imagem-secundaria {
  width: min(100%, 680px);
  margin-right: auto;
  margin-left: auto;
}

.noticia-interna__acao {
  max-width: 760px;
  margin: 36px auto 0;
  padding-top: 26px;
  border-top: 1px solid #ddd;
}

@media (max-width: 600px) {
  .noticia-interna h1 {
    font-size: 1.85rem;
  }

  .noticia-interna__resumo {
    font-size: 1.05rem;
  }

  .noticia-interna__texto p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .noticia-interna figure {
    margin: 24px 0;
  }
}

/* Cards de notícias clicáveis */
.news-card-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.news-card-open .news-card-body {
  display: flex;
  gap: 10px;
}

.news-card-open .news-card-title {
  font-size: 16px;
  line-height: 1.25;
}

.news-card-open .news-card-body > span {
  font-size: 14px;
  line-height: 1.5;
}

.news-card-open:focus-visible {
  outline: 3px solid #b58100;
  outline-offset: 3px;
}

/* Imagem ampliada */
.news-image-dialog {
  box-sizing: border-box;
  width: fit-content;
  max-width: 80vw;
  max-height: 75vh;
  max-height: 75dvh;
  padding: 38px 10px 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.news-image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.news-image-dialog img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(75vh - 48px);
  max-height: calc(75dvh - 48px);
  margin: auto;
  object-fit: contain;
}

.news-image-dialog__close {
  position: absolute;
  top: 5px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.news-card-sidebar {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) {
  .news-card-sidebar:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  }
}

.news-card-sidebar:focus-within {
  box-shadow: 0 0 0 3px #b58100, 0 14px 30px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .news-card-sidebar {
    transition: none;
  }
}

.training-card__image {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 16px;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.training-card__image img {
  display: block;
  width: 100%;
  max-height: 260px;
  height: auto;
  object-fit: contain;
}

.training-card__image:focus-visible {
  outline: 3px solid #b58100;
  outline-offset: -3px;
}

@media (max-width: 560px) {
  .training-card__image {
    min-height: 0;
    padding: 12px;
  }

  .training-card__image img {
    max-height: 220px;
  }
}