:root {
    --primary-color: orange;
    --secondary-color: blue;
    --primary-font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

#hero {
    height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, rgba(255,165,0,0.5), rgba(100,0,200, 0.5)), url(../midia/colaboradores/fachada-ier.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    font-family: var(--primary-font-family);
    display: flex;
    flex-direction: column;
    text-align: center;

}

#hero-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    justify-content: flex-end;
    height: 100vh;
    margin-bottom: 40vh;
    margin-left: 20vw;
    margin-right: 20vw;
}

#hero-content {
    color: white;
    font-size: 25px;
}

#hero-content h1 {
    font-size: 70px;
    margin-top: 100px;
    font-weight: bolder;
    margin-bottom: 100px;
}

#hero-type {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 50px;
}

#hero-button {
    display: block;
    background-color: white;
    box-shadow: 3px 4px 5px black;
    width: 300px;
    box-sizing: contain;
    height: 200%;
    border-radius: 40px;
    border: 2px solid white;
    color: blue;
    align-content: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bolder;
    font-family: var(--primary-font-family);
    padding: 5px;
    transition: 0.5s;
}

#hero-button:hover {
    transition: 0.6s;
    scale: 1.08;
    translate: 0 -5px;
    background-color: rgba(255,165,0,0);
    color: white;
    
}

#colaboradores {
    background: url(../midia/fundos/fundo-colaboradores.JPG);
    background-position: bottom;
    background-size: cover;
}

#colaboradores-main {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: space-around;
    justify-content: space-around;
    gap: 10%;
    margin-right: auto;
    margin-left: auto;
    padding-top: 10vh; 
    gap: 50px;
}

#colaboradores {
  padding: 3rem 1rem;
  background: var(--sua-cor-de-fundo);
}

#colaboradores-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  #hero-content {
    max-width: fit-content;
    margin-bottom: 10
  }

  #hero-content h1 {
    font-size: 40px;
  }
  
  #hero-content h3 {
    font-size: 20px;
    box-sizing: border-box;
  }
}

.cCard {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 500px;
  cursor: pointer;
  border: 0.5px solid rgba(0,0,0,0.12);
}

.cCard-main {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cCard-title {
  padding: 1rem 1.25rem 0.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  transition: opacity 0.35s ease;
}

.cCard-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

/* === OVERLAY === */
.cCard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 30, 0.84);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.cCard.open .cCard-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cCard.open .cCard-title {
  opacity: 0;
  pointer-events: none;
}

.cCard-overlay h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.cCard-overlay h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cCard-overlay p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

/* === BOTÃO SAIBA MAIS === */
.cCard-button {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 0.5px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.3s;
}

.cCard.open .cCard-button {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.55);
}

/* === BOTÃO FECHAR === */
.close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 0.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  line-height: 1;
}

.cCard.open .close-btn {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   COLABORADORES — PERFIS ALTERNADOS
   A grade de cards acima permanece como fallback legado.
   ============================================ */

#colaboradores.colaboradores--lista {
  --profile-space-xs: 0.5rem;
  --profile-space-sm: 0.75rem;
  --profile-space-md: 1rem;
  --profile-space-lg: 1.5rem;
  --profile-space-xl: 2rem;
  --profile-space-2xl: 3rem;
  /* Folga curta: o recorte interno do perfil já protege o conteúdo da curva. */
  padding: clamp(16px, 1.25vw, 24px) 0 0;
  background: var(--ier-paper, #fbfcfe);
  color: var(--ier-navy, #061c37);
  font-family: var(--ier-font, var(--primary-font-family));
}

#colaboradores .colaboradores-lista {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.colaborador-profile {
  --profile-accent: var(--ier-orange, #f27a32);
  --profile-accent-soft: rgba(242, 122, 50, 0.11);
  --profile-section-padding-block: clamp(var(--profile-space-lg), 2.5vw, 2.5rem);
  --profile-section-padding-inline: clamp(var(--profile-space-lg), 4vw, 4rem);
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: end;
  gap: clamp(var(--profile-space-xl), 4vw, 4rem);
  min-height: clamp(470px, 42vw, 580px);
  padding: var(--profile-section-padding-block) var(--profile-section-padding-inline) 0;
  overflow: hidden;
  isolation: isolate;
}

.colaborador-profile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: -1;
  height: 3px;
  background: linear-gradient(90deg, transparent 0 8%, var(--profile-accent) 8% 32%, transparent 32% 100%);
  opacity: 0.78;
}

.colaborador-profile::after {
  content: "";
  position: absolute;
  bottom: clamp(1.25rem, 3vw, 3rem);
  left: clamp(1.5rem, 5vw, 5rem);
  z-index: -1;
  width: clamp(210px, 24vw, 350px);
  aspect-ratio: 1;
  background: url("../midia/icons/favicon-ier.png") center / contain no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.colaborador-profile:nth-child(odd) {
  background: var(--ier-paper, #fbfcfe);
}

.colaborador-profile:nth-child(even) {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  background: var(--ier-soft, #eef4fa);
}

.colaborador-profile:nth-child(even)::before {
  background: linear-gradient(90deg, transparent 0 68%, var(--profile-accent) 68% 92%, transparent 92% 100%);
}

.colaborador-profile:nth-child(even)::after {
  right: clamp(1.5rem, 5vw, 5rem);
  left: auto;
}

.colaborador-profile[data-theme="gestao"] {
  --profile-accent: #1b67a5;
  --profile-accent-soft: rgba(27, 103, 165, 0.1);
}

.colaborador-profile[data-theme="saude"] {
  --profile-accent: #7b4f9d;
  --profile-accent-soft: rgba(123, 79, 157, 0.1);
}

.colaborador-profile[data-theme="esporte"] {
  --profile-accent: #d88a00;
  --profile-accent-soft: rgba(216, 138, 0, 0.12);
}

.colaborador-profile[data-theme="educacao"] {
  --profile-accent: #167a72;
  --profile-accent-soft: rgba(22, 122, 114, 0.1);
}

.colaborador-profile[data-theme="desenvolvimento"] {
  --profile-accent: #ce5d2d;
  --profile-accent-soft: rgba(206, 93, 45, 0.1);
}

.colaborador-profile[data-theme="cuidado"] {
  --profile-accent: #b84f65;
  --profile-accent-soft: rgba(184, 79, 101, 0.1);
}

.colaborador-motivo {
  position: absolute;
  top: 50%;
  left: clamp(1rem, 4vw, 4rem);
  z-index: -1;
  display: grid;
  width: clamp(150px, 18vw, 260px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
  font-size: clamp(4.5rem, 9vw, 8rem);
  opacity: 0.72;
  pointer-events: none;
  transform: translateY(-50%);
}

.colaborador-profile:nth-child(even) .colaborador-motivo {
  right: clamp(1rem, 4vw, 4rem);
  left: auto;
}

.colaborador-profile:nth-child(even) .colaborador-retrato {
  order: 2;
}

.colaborador-profile:nth-child(even) .colaborador-conteudo {
  order: 1;
}

.colaborador-retrato {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: clamp(400px, 39vw, 540px);
  margin: 0;
}

.colaborador-profile:nth-child(even) .colaborador-retrato {
  justify-content: flex-end;
}

.colaborador-retrato img {
  display: block;
  width: 100%;
  max-width: 470px;
  height: clamp(330px, 34vw, 455px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 12px rgba(6, 28, 55, 0.16));
}

/* O recorte transparente ocupa toda a altura útil e nasce no rodapé da seção.
   Fotos de fallback preservam as dimensões anteriores para evitar cortes indevidos. */
.colaborador-retrato img.is-cutout {
  max-width: 580px;
  height: clamp(410px, 41vw, 560px);
}

.colaborador-conteudo {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 680px);
  padding-block: var(--profile-space-md) var(--profile-section-padding-block);
}

.colaborador-profile:nth-child(even) .colaborador-conteudo {
  justify-self: start;
}

.colaborador-tema {
  display: inline-flex;
  align-items: center;
  gap: var(--profile-space-xs);
  margin: 0 0 var(--profile-space-sm);
  padding: var(--profile-space-xs) var(--profile-space-sm);
  border-radius: 999px;
  background: var(--profile-accent-soft);
  color: var(--profile-accent);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.colaborador-tema i {
  width: 1rem;
  text-align: center;
}

/* A identificação editorial substitui o badge, mantendo a classe antiga como fallback. */
.colaborador-area {
  display: flex;
  width: fit-content;
  gap: clamp(0.65rem, 1vw, 0.9rem);
  margin-bottom: clamp(0.85rem, 1.5vw, 1.25rem);
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--profile-accent);
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
}

.colaborador-area::before {
  content: "";
  flex: 0 0 clamp(2rem, 3.5vw, 3.25rem);
  height: 3px;
  margin-top: 0.52em;
  background: var(--profile-accent);
}

.colaborador-conteudo h2 {
  max-width: 12ch;
  margin: 0 0 var(--profile-space-sm);
  color: var(--ier-navy, #061c37);
  font-family: var(--ier-display, var(--primary-font-family));
  font-size: clamp(2.25rem, 4.2vw, 4.25rem);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.colaborador-formacao {
  max-width: 62ch;
  margin: 0 0 var(--profile-space-md);
  color: var(--ier-blue, #083663);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  font-weight: 700;
  line-height: 1.5;
  text-wrap: pretty;
}

.colaborador-descricao {
  max-width: 65ch;
  margin: 0;
  color: #334f6b;
  font-size: clamp(1rem, 1.55vw, 1.12rem);
  line-height: 1.72;
  text-wrap: pretty;
}

@media (max-width: 820px) {
  .colaborador-profile,
  .colaborador-profile:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--profile-space-xs);
    min-height: 0;
    padding: var(--profile-space-xl) max(1.25rem, 6vw) var(--profile-space-2xl);
  }

  .colaborador-profile:nth-child(even) .colaborador-retrato,
  .colaborador-profile:nth-child(even) .colaborador-conteudo,
  .colaborador-retrato,
  .colaborador-conteudo {
    order: initial;
  }

  .colaborador-retrato {
    min-height: 280px;
    justify-content: center;
  }

  .colaborador-retrato img {
    width: min(100%, 390px);
    height: min(82vw, 390px);
  }

  .colaborador-retrato img.is-cutout {
    max-width: 390px;
    height: min(82vw, 390px);
  }

  .colaborador-conteudo {
    max-width: 100%;
    padding-block: 0 var(--profile-space-md);
  }

  .colaborador-profile:nth-child(even) .colaborador-retrato {
    justify-content: center;
  }

  .colaborador-conteudo,
  .colaborador-profile:nth-child(even) .colaborador-conteudo {
    justify-self: stretch;
  }

  .colaborador-profile::after,
  .colaborador-profile:nth-child(even)::after {
    top: clamp(2rem, 9vw, 4rem);
    right: 50%;
    bottom: auto;
    left: auto;
    width: min(64vw, 280px);
    opacity: 0.065;
    transform: translateX(50%);
  }

  .colaborador-conteudo h2 {
    max-width: 14ch;
    font-size: clamp(2.15rem, 11vw, 3.35rem);
  }

  .colaborador-motivo,
  .colaborador-profile:nth-child(even) .colaborador-motivo {
    top: 18%;
    right: -2.5rem;
    left: auto;
    width: clamp(130px, 42vw, 180px);
    font-size: clamp(3.75rem, 18vw, 5.5rem);
    transform: none;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .colaborador-profile,
  .colaborador-profile:nth-child(even) {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: var(--profile-space-xl);
    padding-inline: var(--profile-space-xl);
  }

  .colaborador-retrato img {
    height: clamp(330px, 43vw, 430px);
  }
}

/* ============================================
   HERO EDITORIAL — EQUIPE REUNIDA
   O hero legado acima permanece disponível caso a nova marcação não carregue.
   ============================================ */

.colaboradores-hero {
  --divider-spill: clamp(36px, 3vw, 56px);
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 100%;
  height: 100dvh;
  min-height: 720px;
  overflow: visible;
  background: #171a18;
  color: #fff;
  font-family: var(--ier-font, var(--primary-font-family));
}

.colaboradores-hero__media,
.colaboradores-hero__media img,
.colaboradores-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.colaboradores-hero__media {
  inset: 0;
  z-index: -3;
  display: block;
  height: 100%;
  overflow: hidden;
  background: #171a18;
}

.colaboradores-hero__media img {
  display: block;
  object-fit: cover;
  object-position: center top;
}

.colaboradores-hero__shade {
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(0, 7, 15, 0.82) 0%,
    rgba(0, 7, 15, 0.55) 20%,
    rgba(0, 7, 15, 0.18) 40%,
    rgba(0, 7, 15, 0) 60%
  );
}

/* Mapa interativo opcional: o hero e sua navegação continuam funcionais sem ele. */
.colaboradores-hero__focus-dim,
.colaboradores-hero__team-map {
  display: none;
}

@media (min-width: 821px) and (hover: hover) and (pointer: fine) {
  .colaboradores-hero__focus-dim,
  .colaboradores-hero__team-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .colaboradores-hero__focus-dim {
    z-index: -1;
    display: block;
    background: rgba(2, 12, 24, 0.46);
    opacity: 0;
    pointer-events: none;
    transition: opacity 460ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .colaboradores-hero__team-map {
    z-index: 1;
    display: block;
    overflow: hidden;
    clip-path: inset(0);
    pointer-events: none;
  }

  .colaboradores-hero.is-team-focused .colaboradores-hero__focus-dim {
    opacity: 1;
    transition-duration: 500ms;
  }

  .team-hotspot {
    cursor: pointer;
    pointer-events: auto;
  }

  .team-hotspot__highlight {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 460ms cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s 460ms;
  }

  .team-hotspot__area {
    fill: transparent;
    stroke: transparent;
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
    transition: stroke 180ms ease, filter 180ms ease;
  }

  .team-hotspot:hover .team-hotspot__highlight,
  .team-hotspot:focus .team-hotspot__highlight {
    opacity: 1;
    visibility: visible;
    transition-duration: 500ms, 0s;
    transition-delay: 0s;
  }

  .team-hotspot:focus .team-hotspot__area {
    stroke: var(--ier-gold, #f9bc26);
    filter: drop-shadow(0 0 8px rgba(249, 188, 38, 0.72));
  }

  .team-hotspot:focus {
    outline: none;
  }
}

.colaboradores-hero__content {
  position: absolute;
  top: clamp(92px, 10.5vh, 106px);
  left: 50%;
  bottom: auto;
  z-index: 2;
  width: min(calc(100% - 48px), 1040px);
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
}

.colaboradores-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--ier-orange, #f27a32);
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.colaboradores-hero__content h1 {
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--ier-display, var(--primary-font-family));
  font-size: clamp(2.75rem, 4vw, 4.15rem);
  font-weight: 750;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.colaboradores-hero__content > p:last-child {
  max-width: 58ch;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.colaboradores-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 62px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 220ms ease, transform 220ms ease;
}

.colaboradores-hero__scroll i {
  font-size: 1rem;
}

.colaboradores-hero__scroll:hover {
  color: var(--ier-gold, #f9bc26);
  transform: translate(-50%, 4px);
}

.colaboradores-hero__scroll:focus-visible {
  border-radius: 4px;
  outline: 3px solid var(--ier-gold, #f9bc26);
  outline-offset: 6px;
}

.colaboradores-hero__divider,
.colaboradores-hero__wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  pointer-events: none;
}

.colaboradores-hero__divider {
  right: auto;
  bottom: calc(-9.67vw - var(--divider-spill, 44px));
  left: 50%;
  z-index: 3;
  width: max(100%, 1120px);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}

.colaboradores-hero__wave {
  height: 112px;
}

.colaboradores-hero__wave[hidden] {
  display: none;
}

.colaboradores-hero__wave-fill {
  fill: var(--ier-navy, #061c37);
}

.colaboradores-hero__wave-edge {
  fill: none;
  stroke: var(--ier-orange, #f27a32);
  stroke-width: 5;
}

#colaboradores {
  position: relative;
  z-index: 1;
  scroll-margin-top: 92px;
}

@media (min-width: 821px) and (max-width: 1750px) {
  .colaboradores-hero__content {
    top: 82px;
  }

  .colaboradores-hero__eyebrow {
    margin-bottom: 0.25rem;
    font-size: 0.74rem;
    line-height: 1.1;
  }

  .colaboradores-hero__content h1 {
    font-size: clamp(2.25rem, 4vw, 3.2rem);
    line-height: 0.9;
  }

  .colaboradores-hero__content > p:last-child {
    margin-top: 0.35rem;
    font-size: clamp(0.9rem, 1.35vw, 1.05rem);
    line-height: 1.35;
  }
}

@media (max-width: 820px) {
  .colaboradores-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding-top: clamp(68px, 10.4vw, 80px);
    overflow: visible;
  }

  .colaboradores-hero__media,
  .colaboradores-hero__media img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
  }

  .colaboradores-hero__media {
    order: 2;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .colaboradores-hero__media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .colaboradores-hero__shade {
    display: none;
  }

  .colaboradores-hero__content {
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: 2.15rem max(1.25rem, 6vw) 1.8rem;
    text-align: center;
    text-shadow: none;
    transform: none;
  }

  .colaboradores-hero__content h1 {
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .colaboradores-hero__content > p:last-child {
    max-width: 36ch;
    margin-inline: auto;
    font-size: 1rem;
  }

  .colaboradores-hero__scroll {
    bottom: 42px;
  }

  .colaboradores-hero__divider {
    bottom: clamp(-140px, -34vw, -130px);
    width: 1120px;
  }

  .colaboradores-hero__wave {
    height: 58px;
  }

  #colaboradores {
    scroll-margin-top: 68px;
  }

  #colaboradores.colaboradores--lista {
    padding-top: clamp(20px, 6vw, 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .colaboradores-hero__scroll,
  .colaboradores-hero__focus-dim,
  .team-hotspot__highlight,
  .team-hotspot__area {
    transition: none;
  }
}

/* The illustrated divider keeps its native artwork and fallback SVG, but uses
   a shallower responsive footprint on compact laptop and tablet viewports. */
@media (min-width: 821px) and (max-width: 1599px),
       (min-width: 821px) and (max-height: 900px) {
  .colaboradores-hero {
    --divider-spill: clamp(30px, 2.4vw, 42px);
  }

  .colaboradores-hero__divider {
    bottom: calc(-7.6vw - var(--divider-spill));
    height: clamp(286px, 27vw, 390px);
    object-fit: fill;
  }
}

@media (max-width: 820px) {
  .colaboradores-hero__divider {
    bottom: clamp(-130px, -22vw, -96px);
    width: max(760px, 120vw);
  }
}

/* ============================================
   FOOTER STYLES
   ============================================ */ 

footer {
  background: url(../midia/fundos/ambiente-edson.jpg);
  background-size: cover;
  color: var(--third-color);
  margin-top: auto;
  border-top: 5px solid var(--primary-color);
  font-family: var(--primary-font);
  position: relative;
  height: 90vh;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Cabeçalho do footer - Logo à esquerda */
#footer-head {
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  width: 100%;
  text-align: left; /* Alinha tudo à esquerda */
}

.footer-logo {
  position: relative;
  left: -50px; /* Garante que está colado à esquerda */
  float: left; /* Mantém à esquerda */
}

.footer-logo img {
  max-width: 500px; /* Um pouco menor para caber melhor */
  height: auto;
  border-top-left-radius: 200px;
  /* REMOVIDOS: transition e hover effects */
  display: block; /* Garante comportamento de bloco */
}

/* Conteúdo principal do footer */
#footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  clear: both; /* Limpa o float do logo */
  padding-top: 1rem;
}

@media (max-width: 768px) {
  #footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-logo {
    float: none; /* Remove float em mobile */
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto; /* Centraliza em mobile */
  }
}

/* Seção de contato */
#footer-contact.footer-section {
  background: var(--box-background);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--primary-color);
}

#footer-contact h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

#footer-contact h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--third-color);
}

#footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer-contact-list li {
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

#footer-contact-list li:hover {
  transform: translateX(5px);
}

#footer-contact-list a {
  color: var(--third-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 5px;
}

#footer-contact-list a:hover {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: 1rem;
}

/* Ícones SVG inline */
#footer-contact-list a::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}

#footer-contact-list a[href*="whatsapp"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.97.59 3.87 1.69 5.48L2.05 22l4.73-1.24c1.57.86 3.33 1.34 5.18 1.34 5.46 0 9.91-4.45 9.91-9.91 0-5.46-4.45-9.91-9.91-9.91zm5.31 13.94c-.27.75-1.33 1.37-1.85 1.46-.41.07-.94.1-1.41-.11-.26-.12-.59-.28-1.02-.46-1.04-.44-2.15-1.05-3.01-1.88-2.05-1.89-2.37-4.34-2.43-4.53-.06-.19-.06-.41.05-.58.11-.17.31-.27.52-.31.21-.04.43 0 .61.04.18.04.43.1.68.31.25.21.86.73 1.05.88.19.15.31.19.52.04.21-.15.85-.79 1.08-1.06.23-.27.46-.23.68-.15.21.08.85.4 1.25.73.4.33.69.73.77.94.08.21.04.47-.04.68-.08.21-.47 1.08-.64 1.46-.17.38-.34.44-.6.29-.26-.15-1.09-.4-1.82-1.28-.68-.81-1.14-1.81-1.28-2.12-.14-.31-.02-.48.11-.63.11-.13.25-.33.38-.5.13-.17.17-.31.26-.52.09-.21.04-.38-.02-.53-.06-.15-.56-1.35-.77-1.85-.2-.49-.41-.42-.56-.43-.15-.01-.32-.01-.49-.01-.17 0-.45.06-.68.31-.23.25-.88.86-.88 2.09 0 1.23.89 2.42 1.01 2.59.12.17 1.75 2.67 4.24 3.74 2.49 1.07 2.49.71 2.94.67.45-.04 1.47-.6 1.67-1.18.2-.58.2-1.08.14-1.18-.06-.1-.23-.16-.48-.27z'/%3E%3C/svg%3E");
}

#footer-contact-list a[href*="instagram"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

#footer-contact-list a[href*="youtube"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z'/%3E%3C/svg%3E");
}

#footer-contact-list a:hover::before {
  filter: brightness(0) saturate(100%) invert(73%) sepia(90%) saturate(566%)
    hue-rotate(360deg) brightness(103%) contrast(101%);
}

/* Seção de créditos */
#footer-credits.footer-section {
  background: var(--box-background);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-right: 4px solid var(--primary-color);
}

#footer-dev {
  margin-bottom: 1.5rem;
}

#footer-dev code {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: var(--third-color);
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  transition: all 0.3s ease;
}

#footer-dev code:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
}

/* Responsividade adicional */
@media (max-width: 480px) {
  footer {
    padding: 2rem 1rem;
  }

  .footer-logo img {
    max-width: 220px;
  }

  #footer-contact.footer-section,
  #footer-credits.footer-section {
    padding: 1.5rem;
  }

  #footer-contact h2 {
    font-size: 1.3rem;
  }

  #footer-contact-list a {
    font-size: 1rem;
  }
}

/* Animações - REMOVIDO efeito do logo */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  animation: fadeInUp 0.8s ease-out;
}

/* REMOVIDA animação específica do logo */
#footer-contact {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

#footer-credits {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
