/* Componentes dinâmicos do site (ver re-dynamic.js). Herdam fonte e cor do tema da seção. */

.re-block { width: 100%; }
.re-block--wide { padding: 0 0 4vw; }

.re-empty { text-align: center; opacity: .7; padding: 2rem 0; }

/* ------------------------------------------------------------ carrossel (home) */

.re-carousel { width: 100%; }
.re-carousel-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.re-carousel-title {
  margin: 0; font-family: var(--heading-font-font-family, inherit);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.re-carousel-nav { display: flex; gap: .5rem; }
.re-carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; color: inherit;
  font-size: 1.1rem; cursor: pointer; opacity: .8; transition: opacity .2s, transform .2s;
}
.re-carousel-btn:hover { opacity: 1; transform: scale(1.05); }

.re-carousel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 2rem) / 3);
  gap: 2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: .25rem;
}
.re-carousel-track::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .re-carousel-track { grid-auto-columns: calc((100% - 2rem) / 2); } }
@media (max-width: 600px) { .re-carousel-track { grid-auto-columns: 85%; gap: 1rem; } }

.re-card { scroll-snap-align: start; text-align: center; display: flex; flex-direction: column; }
.re-card-media {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: rgba(127, 127, 127, .15);
}
.re-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease;
}
.re-card:hover .re-card-media img { transform: scale(1.04); }
.re-datebox {
  position: absolute; top: 12px; left: 12px; background: #fff; color: #000;
  min-width: 52px; padding: 6px 8px; line-height: 1.1; text-align: center;
  display: flex; flex-direction: column; font-size: .8rem; text-transform: lowercase;
}
.re-datebox strong { font-size: 1.4rem; }
.re-card-body { padding-top: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.re-card-kicker { margin: 0; font-size: .9rem; font-weight: 600; opacity: .75; }
.re-card-title { margin: 0; font-size: 1.35rem; font-family: var(--heading-font-font-family, inherit); }
.re-card-text {
  margin: 0; font-size: .95rem; line-height: 1.5; opacity: .9;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.re-card-more { margin-top: auto; padding-top: .5rem; color: inherit; font-weight: 600; text-decoration: none; }
.re-card-more:hover { text-decoration: underline; }

/* ------------------------------------------------------------ lista de eventos */

.re-meta-celula { opacity: .75; }

/* ------------------------------------------------------------ alumni */

.re-alumni { max-width: 1120px; margin: 0 auto; padding: 0 4vw; color: #0a1f2c; }
.re-alumni-onde {
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  text-align: center; padding: 0 0 2.75rem; margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(10, 31, 44, .14);
}
.re-alumni .re-alumni-titulo {
  margin: 0; line-height: 1.2; font-family: var(--heading-font-font-family, inherit);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 400; letter-spacing: .01em;
}
.re-alumni .re-alumni-resumo {
  margin: 0 0 1rem; line-height: 1.4; font-size: 1rem; opacity: .7;
}
.re-alumni-empresas {
  list-style: none; margin: 0 auto; padding: 0; max-width: 980px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.25rem;
}
.re-alumni-empresas li {
  margin: 0; padding: 0; font-size: 1rem; font-weight: 600; line-height: 1.3; opacity: .85;
}

/* Diretório: 3 colunas no computador, 2 no tablet, 1 no celular; linhas finas entre os nomes. */
.re-alumni-lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2.5rem; }
@media (max-width: 1023px) { .re-alumni-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .re-alumni-lista { grid-template-columns: minmax(0, 1fr); } }
.re-alumnus {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 0;
  border-bottom: 1px solid rgba(10, 31, 44, .1);
}
.re-alumnus-foto { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.re-alumnus-info { flex: 1; min-width: 0; }
.re-alumnus-nome { margin: 0; font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.re-alumnus-empresa {
  margin: .1rem 0 0; font-size: .9rem; line-height: 1.35; opacity: .72;
}
.re-alumnus-linkedin {
  flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  color: #0a1f2c; border: 1px solid rgba(10, 31, 44, .18); transition: color .2s, border-color .2s, background .2s;
}
.re-alumnus-linkedin svg { width: 14px; height: 14px; }
.re-alumnus-linkedin:hover { color: #fff; background: #0a1f2c; border-color: #0a1f2c; }

/* ------------------------------------------------------------ membros (por categoria) */

.re-members-group { max-width: 1120px; margin: 0 auto; padding: 0 4vw; }
.re-members-group + .re-members-group { margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.re-members-title {
  text-align: center; margin: 0 0 1.75rem; font-family: var(--heading-font-font-family, inherit);
  font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 400; letter-spacing: .01em;
}
/* Abaixo do título: isotipo entre dois traços finos. */
.re-members-marca {
  display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: .9rem; color: #0a1f2c;
}
.re-members-marca::before, .re-members-marca::after {
  content: ""; width: 32px; height: 1px; background: currentColor; opacity: .25;
}
.re-members-marca .re-isotipo { width: 20px; height: 20px; }

/* Retratos em linhas centralizadas: a última linha incompleta (número ímpar etc.) fica no meio.
   --cols: retratos por linha; --gap: espaço horizontal. Presidência 4 (um pouco maiores),
   Diretores e Heads 5, Membros 6. */
.re-members-grid {
  --cols: 6; --gap: clamp(1rem, 2.4vw, 2rem);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem var(--gap);
}
.re-members-grid--lg { --cols: 4; }
.re-members-grid--md { --cols: 5; }
.re-members-grid > .re-member { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
/* Presidência: um pouco maior que Diretores e Heads (≈ 225px contra ≈ 195px no desktop). */
.re-members-grid--lg > .re-member { max-width: 225px; }
@media (max-width: 1023px) {
  .re-members-grid--sm { --cols: 4; } .re-members-grid--md { --cols: 3; } .re-members-grid--lg { --cols: 3; }
}
@media (max-width: 767px) {
  .re-members-grid, .re-members-grid--md, .re-members-grid--sm { --cols: 2; row-gap: 1.75rem; }
  .re-members-grid--lg { --cols: 2; }
}

.re-member { min-width: 0; text-align: center; }
.re-member-photo {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px;
  background: #e9ebee; display: grid; place-items: center;
}
.re-member-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block;
  filter: saturate(.9); transition: transform .5s ease, filter .5s ease;
}
.re-member:hover .re-member-photo img { transform: scale(1.03); filter: saturate(1); }
.re-member-initials { font-size: 2rem; font-weight: 600; letter-spacing: .04em; color: #7a8590; }
/* Selo da marca no canto do retrato. */
.re-member-selo {
  position: absolute; left: 0; bottom: 0; width: 30px; height: 30px;
  display: grid; place-items: center; background: #0a1f2c; color: #fff; border-top-right-radius: 3px;
}
.re-member-selo .re-isotipo { width: 15px; height: 15px; }
.re-members-grid--lg .re-member-selo { width: 34px; height: 34px; }
.re-members-grid--lg .re-member-selo .re-isotipo { width: 17px; height: 17px; }

.re-member-info { padding-top: 1rem; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.re-member-name {
  margin: 0; font-family: inherit; font-size: 1.05rem; font-weight: 700; line-height: 1.25; color: #0a1f2c;
}
.re-members-grid--lg .re-member-name { font-size: 1.15rem; }
.re-member-cargo {
  margin: 0; font-size: .9rem; line-height: 1.4; color: #0a1f2c; opacity: .72;
}
.re-members-grid--lg .re-member-cargo { font-size: .95rem; }
.re-member-curso { margin: 0; font-size: .85rem; opacity: .65; }
.re-member-links { display: flex; justify-content: center; gap: .5rem; margin-top: .3rem; }
.re-member-links a {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
  color: #0a1f2c; border: 1px solid rgba(10, 31, 44, .18); transition: color .2s, border-color .2s, background .2s;
}
.re-member-links svg { width: 14px; height: 14px; }
.re-member-links a:hover { color: #fff; background: #0a1f2c; border-color: #0a1f2c; }
@media (max-width: 767px) {
  .re-member-info { padding-top: .75rem; }
  .re-member-name { font-size: .95rem; }
  .re-members-grid--lg .re-member-name { font-size: 1.05rem; }
  .re-member-cargo, .re-members-grid--lg .re-member-cargo { font-size: .82rem; }
  .re-member-selo, .re-members-grid--lg .re-member-selo { width: 26px; height: 26px; }
  .re-member-selo .re-isotipo, .re-members-grid--lg .re-member-selo .re-isotipo { width: 13px; height: 13px; }
}

/* ------------------------------------------------------------ parceiros (células) */

/* O bloco ocupa a área dos logos no grid do Squarespace (metade da seção, oposta ao texto);
   centraliza o conteúdo nela. O tamanho dos logos acompanha a largura real do bloco. */
[class*="fe-block-re-parceiros"] { align-self: center; }
.re-block--parceiros { width: 100%; container-type: inline-size; }
/* 3 ou mais parceiros: sempre 2 colunas (2×2 com 4 logos). Até 2: empilhados, como no original. */
.re-partners {
  /* Área visual de cada logo ≈ k². O limite em vw deixa todos os logos do mesmo tamanho nas
     células; o limite em cqw garante que o logo mais largo comum (proporção ~5:1, largura
     ≈ 2,3k) caiba na sua coluna mesmo quando o bloco é estreito. */
  --logo-k: min(7.3vw, 150px);
  width: 100%; display: grid; gap: 1.75rem 1.5rem; align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Um logo sozinho na última linha fica centralizado. */
.re-partners > .re-partner:last-child:nth-child(odd) { grid-column: 1 / -1; }
.re-partners--stack { grid-template-columns: minmax(0, 1fr); }
@supports (width: 1cqw) {
  .re-partners { --logo-k: min(7.3vw, 150px, 19cqw); }
  .re-partners--stack { --logo-k: min(7.3vw, 150px, 40cqw); }
}
/* Caixa de altura fixa e logo centralizado nela. */
.re-partner {
  height: calc(var(--logo-k) * 1.2 + 8px); display: flex; align-items: center; justify-content: center;
  padding: 0; color: inherit; text-decoration: none; background: transparent;
}
/* Largura = k × √(proporção do logo, já sem margens): logos largos ficam mais baixos,
   compactos mais altos, e todos com aproximadamente a mesma área (ver normalizeLogo). */
.re-logo {
  display: block; width: calc(var(--logo-k) * var(--sr, 1.85)); height: auto;
  max-width: 100%; max-height: calc(var(--logo-k) * 1.15); object-fit: contain;
  opacity: 0; transition: opacity .3s ease, transform .2s ease;
}
.re-logo.is-ready { opacity: 1; }
a.re-partner:hover .re-logo { transform: scale(1.05); }
.re-partner-name { font-weight: 600; text-align: center; }
@media (max-width: 767px) {
  /* Seções das células no celular: as linhas da grade do Squarespace têm altura mínima fixa e o
     bloco de logos ocupava 8 a 16 delas, sobrando espaço com poucos logos. Aqui as linhas passam
     a ter só a altura do conteúdo e os logos vão logo abaixo do texto (linha 99 = sempre por
     último), então o espaço acompanha a quantidade de logos. */
  .fluid-engine:has(> [class*="fe-block-re-parceiros"]) {
    grid-template-rows: none !important; grid-auto-rows: auto; row-gap: 0 !important;
  }
  [class*="fe-block-re-parceiros"] { grid-row: 99 / span 1 !important; margin-top: 2.5rem; }
  .re-block--parceiros:empty { display: none; }
  /* No celular a célula ocupa a tela inteira: sempre 2 colunas, logos proporcionais à largura. */
  .re-partners, .re-partners--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; --logo-k: 54px; }
  @supports (width: 1cqw) {
    .re-partners, .re-partners--stack { --logo-k: min(19cqw, 90px); }
  }
}

/* Parceiros institucionais (sem célula específica): seção no fim da página Células. */
.re-inst-section { background: #fff; padding: 72px 4vw 80px; border-top: 1px solid #eaeaea; }
.re-inst-section[hidden] { display: none; }
.re-inst-inner { max-width: 1100px; margin: 0 auto; }
.re-inst-title {
  text-align: center; font-family: Montserrat, sans-serif; font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); color: #071f28; margin: 0 0 44px;
}
/* Linhas centralizadas, quantos logos couberem por linha (a última linha fica no meio). */
.re-block--inst .re-partners {
  --logo-k: min(7.3vw, 110px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 3rem;
}
.re-block--inst .re-partner { flex: 0 1 calc(var(--logo-k) * 2.4); max-width: 100%; }
@media (max-width: 767px) {
  .re-inst-section { padding: 48px 16px 56px; }
  .re-inst-title { margin-bottom: 28px; }
  .re-block--inst .re-partners { --logo-k: 54px; gap: 1.5rem 1rem; }
  .re-block--inst .re-partner { flex-basis: calc(50% - .5rem); }
  @supports (width: 1cqw) { .re-block--inst .re-partners { --logo-k: min(19cqw, 90px); } }
}

/* ------------------------------------------------------------ rodapé: acesso ao painel */

.re-admin-link {
  display: inline-flex; align-items: center; gap: .3em; margin-left: .9em;
  font-size: .85em; color: inherit !important; opacity: .45;
  text-decoration: none !important; white-space: nowrap; transition: opacity .2s;
}
.re-admin-link:hover, .re-admin-link:focus-visible { opacity: .85; }
.re-admin-link svg { flex: none; }

/* ------------------------------------------------------------ formulários (comum) */

.re-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.re-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.re-form-msg { flex-basis: 100%; margin: .25rem 0 0; min-height: 1.4em; font-size: .95rem; }
.re-form-msg.is-ok { color: #1f7a45; }
.re-form-msg.is-error { color: #b3261e; }

.re-email-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.re-email-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 1rem; color: #071f28;
  background: #fff; border: 1px solid #c9d0d4; border-radius: 300px; padding: .8rem 1.2rem;
}
.re-email-form input[type="email"]:focus { outline: none; border-color: #104c66; box-shadow: 0 0 0 3px rgba(16, 76, 102, .15); }
.re-email-form input[aria-invalid="true"] { border-color: #b3261e; }
.re-email-form button {
  flex: none; font: inherit; font-size: 1rem; font-weight: 600; color: #fff; cursor: pointer;
  background: #104c66; border: 0; border-radius: 300px; padding: .8rem 1.6rem; transition: background .2s;
}
.re-email-form button:hover { background: #16607f; }
.re-email-form button:disabled { opacity: .6; cursor: progress; }
.re-email-form--out button { background: transparent; color: #104c66; box-shadow: inset 0 0 0 1px #104c66; }
.re-email-form--out button:hover { background: rgba(16, 76, 102, .08); }

/* ------------------------------------------------------------ página da Newsletter */

.re-nl-page { max-width: 1120px; margin: 0 auto; padding: 0 4vw; text-align: left; }
.re-nl-intro {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem 3.5rem; align-items: start;
}
/* O custom.css do site (Squarespace) força "margin-bottom: 2px !important" nos <p> desta seção
   (herdada da página Alumni); por isso o !important aqui. */
.re-nl-page .re-nl-text p { margin: 0 0 1.1em !important; font-size: 1.1rem; line-height: 1.7; }
.re-nl-page .re-nl-text p:last-child { margin-bottom: 0 !important; }
.re-nl-card {
  background: #f3f5f6; border: 1px solid rgba(7, 31, 40, .08); border-radius: 16px; padding: 1.75rem;
}
.re-nl-card-title { margin: 0 0 .25rem; font-family: var(--heading-font-font-family, inherit); font-weight: 400; font-size: 1.6rem; }
.re-nl-card-sub { margin: 0 0 1rem; opacity: .75; }
.re-nl-out { margin-top: 1.25rem; border-top: 1px solid rgba(7, 31, 40, .1); padding-top: 1rem; }
.re-nl-out summary { cursor: pointer; font-size: .95rem; opacity: .8; }
.re-nl-out summary:hover { opacity: 1; text-decoration: underline; }
.re-nl-out p { margin: .75rem 0; font-size: .95rem; opacity: .8; }

/* Leque com capas de edições (abaixo do texto). A largura de cada capa acompanha a coluna, para
   o leque nunca passar da borda no celular: 6 capas com 64% de sobreposição ≈ 2,8 capas de largura. */
.re-nl-fan { display: flex; align-items: center; margin-top: 30px; padding: 10px 0 20px; }
.re-nl-fan img {
  --w: min(140px, calc((100% - 12px) / 2.9));
  flex: none; width: var(--w); height: auto; position: relative; cursor: pointer;
  border: 1px solid #ddd; border-radius: 6px; background: #fff;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, .2);
  transform: rotate(var(--rot, 0deg)); transition: transform .3s ease, box-shadow .3s ease;
}
.re-nl-fan img + img { margin-left: calc(var(--w) * -.64); }
.re-nl-fan img:hover { transform: translateY(-15px) scale(1.1); z-index: 10 !important; box-shadow: 0 10px 25px rgba(0, 0, 0, .3); }

.re-nl-archive { margin-top: clamp(3rem, 6vw, 4.5rem); }
.re-nl-archive-title {
  text-align: center; margin: 0 0 2rem; font-family: var(--heading-font-font-family, inherit);
  font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.re-nl-archive-title::after {
  content: ""; display: block; width: 48px; height: 2px; margin: .9rem auto 0; background: currentColor; opacity: .25;
}
.re-nl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.re-nl-item { display: flex; flex-direction: column; border: 1px solid rgba(7, 31, 40, .1); border-radius: 14px; overflow: hidden; background: #fff; }
.re-nl-cover { display: block; aspect-ratio: 4 / 3; background: #eef1f3; overflow: hidden; }
.re-nl-cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s ease; }
a.re-nl-cover:hover img { transform: scale(1.03); }
.re-nl-item-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.re-nl-item-date { margin: 0; font-size: .9rem; opacity: .72; }
.re-nl-item-title { margin: 0; font-size: 1.15rem; font-weight: 700; font-family: inherit; line-height: 1.3; }
.re-nl-item-text { margin: 0; font-size: .95rem; line-height: 1.55; opacity: .85; }
.re-nl-item-link { margin-top: auto; padding-top: .5rem; font-weight: 600; color: #104c66; text-decoration: none; }
.re-nl-item-link:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .re-nl-intro { grid-template-columns: minmax(0, 1fr); }
  .re-email-form button { flex: 1 1 100%; }
}

/* ------------------------------------------------------------ contato (medidas do formulário original) */

.re-contact { text-align: left; font-family: "Source Sans Pro", "Source Sans 3", inherit; color: #071f28; }
.re-contact-field { margin-bottom: 18px; }
.re-contact label { display: block; font-size: 18px; line-height: 1.5; margin-bottom: 6px; }
.re-contact-req { font-size: 15px; opacity: .7; margin-left: .35em; }
.re-contact input, .re-contact textarea {
  display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 18px; color: #071f28;
  background: #fff; border: 1px solid transparent; border-radius: 7.2px; padding: 5px 10px;
}
.re-contact input { height: 39px; }
.re-contact textarea { height: 100px; resize: vertical; }
.re-contact input:focus, .re-contact textarea:focus { outline: none; border-color: #104c66; }
.re-contact [aria-invalid="true"] { border-color: #b3261e; }
.re-contact-error { margin: 6px 0 0; font-size: 15px; color: #b3261e; }
.re-contact button[type="submit"] {
  font-family: Inter, sans-serif; font-size: 18px; font-weight: 300; color: #fff; cursor: pointer;
  background: #104c66; border: 0; border-radius: 300px; padding: 18px 23.4px; transition: background .2s;
}
.re-contact button[type="submit"]:hover { background: #16607f; }
.re-contact button[type="submit"]:disabled { opacity: .6; cursor: progress; }
.re-contact-done p { margin: 0; font-size: 18px; line-height: 1.6; }

/* ------------------------------------------------------------ imagens configuráveis */

img[data-re-config] { opacity: 0; transition: opacity .4s ease; }
img[data-re-config].is-ready { opacity: 1; }

/* Processo Seletivo: textos vêm das Configurações; ocultos até o JS preenchê-los (sem piscar o texto antigo). */
html:not(.re-ps-pronto) [data-re-ps] { visibility: hidden; }
}
}
html:not(.re-textos-pronto) [data-re-texto] { visibility: hidden; }

/* Correção da centralização do Menu após adicionar abas */
.header-layout-nav-center .header-title-nav-wrapper {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  position: static;
}
.header-layout-nav-center .header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  text-align: center;
  z-index: 50; /* Garante que os botões sejam clicáveis */
  pointer-events: auto;
}
.header-layout-nav-center .header-title {
  margin-right: auto;
  z-index: 10;
}

/* ------------------------------------------------------------ Newsletter desligada (Configurações) */

.re-sem-newsletter .header-nav-item:has(> a[href$="newsletter.html"]),
.re-sem-newsletter .header-menu-nav-item:has(> a[href$="newsletter.html"]) { display: none !important; }
.re-nl-card--saida { max-width: 560px; margin: 0 auto; }

/* ------------------------------------------------------------ privacidade (LGPD) */

.re-form-aviso { margin: .6rem 0 0; font-size: .85rem; line-height: 1.5; opacity: .7; }
.re-form-aviso a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.re-legal { max-width: 760px; margin: 0 auto; padding: 0 4vw; text-align: left; }
.re-legal h2 {
  margin: 2rem 0 .6rem; font-family: var(--heading-font-font-family, inherit); font-weight: 400; font-size: 1.45rem;
}
/* custom.css do Squarespace força margin-bottom 2px nos <p> desta seção (herdada da Alumni). */
.re-legal p, .re-legal li { font-size: 1.05rem; line-height: 1.7; }
.re-legal p { margin: 0 0 1em !important; }
.re-legal ul { margin: 0 0 1em; padding-left: 1.25rem; }
.re-legal li { margin-bottom: .4em; }
.re-legal a { color: #104c66; }
.re-legal-data { font-size: .9rem !important; opacity: .65; }

/* ------------------------------------------------------------ carrossel "Nossos parceiros" (página inicial) */
/* Mostra só os parceiros marcados "Aparecer no carrossel" no painel (Parceiros). */

.re-marquee-section {
  /* "page-section" do Squarespace põe o conteúdo lado a lado; aqui o título fica em cima dos logos. */
  display: block !important;
  background: #f9f9f9; padding: 28px 0; overflow: hidden;
  border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea;
}
.re-marquee-section[hidden] { display: none; }
.re-marquee-title {
  text-align: center; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 1.6rem;
  color: #071f28; margin: 0 0 22px;
}
.re-marquee-title::after {
  content: ""; display: block; width: 48px; height: 2px; margin: .7rem auto 0;
  background: currentColor; opacity: .25;
}
.re-marquee-viewport { overflow: hidden; width: 100%; }
.re-marquee-track {
  display: flex; width: fit-content; align-items: center;
  animation: marquee var(--re-marquee-dur, 30s) linear infinite;
}
.re-marquee-copy { display: contents; } /* segunda volta da lista, para o movimento não ter emenda */
.re-marquee-item { flex-shrink: 0; padding: 0 50px; }
.re-marquee-item[hidden] { display: none; }
.re-marquee-item img {
  display: block; height: 60px; width: auto; max-width: 240px; object-fit: contain;
  filter: grayscale(100%) opacity(0.5); transition: filter 0.3s ease; visibility: hidden;
}
.re-marquee-item img.is-ready { visibility: visible; }
.re-marquee-item img:hover { filter: grayscale(0%) opacity(1); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .re-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 24px; }
  .re-marquee-copy { display: none; }
}
@media (max-width: 767px) {
  .re-marquee-section { padding: 22px 0; }
  .re-marquee-title { margin-bottom: 16px; }
  .re-marquee-item { padding: 0 28px; }
  .re-marquee-item img { height: 44px; }
}

