
/* =========================================================
   Página Biografias — versão 10
   Mantém cabeçalho, formulário e rodapé herdados da Home.
========================================================= */

.biografias-page {
  background: #ffffff;
}

.biografias-main {
  background: #ffffff;
}

.bio-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 44px;
  background:
    radial-gradient(circle at 18% 8%, rgba(205, 165, 94, 0.11), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(10, 63, 99, 0.08), transparent 28%),
    #ffffff;
}

.bio-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(1180px, calc(100vw - 32px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(8, 53, 86, 0.18), transparent);
}

.bio-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.bio-kicker {
  margin: 0 0 10px;
  color: #cda55e;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: none;
}

.bio-title {
  margin: 0;
  color: #06243a;
  font-family: var(--font-title);
  font-size: clamp(2.7rem, 4.2vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0.04em;
  font-weight: 400;
  text-transform: none;
}

.bio-title em,
.bio-section-title em {
  color: #cda55e;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.bio-search-wrap {
  width: min(560px, 92vw);
  margin: 26px auto 18px;
}

.bio-search {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(8, 53, 86, 0.10);
  border-radius: 999px;
  background: #ffffff;
  color: #0d2740;
  padding: 0 22px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  outline: none;
  box-shadow: 0 14px 34px rgba(2, 18, 31, 0.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.bio-search:focus {
  border-color: rgba(205, 165, 94, 0.72);
  box-shadow: 0 0 0 4px rgba(205, 165, 94, 0.12), 0 14px 34px rgba(2, 18, 31, 0.08);
}

.bio-search::placeholder {
  color: #5b6775;
}

.bio-lead {
  width: min(980px, 100%);
  margin: 0 auto;
  color: #334b61;
  font-family: var(--font-body);
  font-size: 1.04rem;
  line-height: 1.72;
}

.bio-section {
  padding: 54px 0 78px;
  background: #ffffff;
}

.bio-section-heading {
  max-width: 940px;
  margin: 0 auto 36px;
}

.bio-section-title {
  margin: 0 0 10px;
  color: #06243a;
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 3.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.bio-section-lead {
  margin: 0 auto;
  max-width: 860px;
  color: #4d6072;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
}

.bio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.bio-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #041d2b;
  box-shadow: 0 18px 42px rgba(2, 18, 31, 0.15);
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.bio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  pointer-events: none;
}

.bio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(2, 18, 31, 0.22);
  filter: saturate(1.04);
}

.bio-card img {
  width: 100%;
  height: auto;
  display: block;
}

.bio-section--founders {
  position: relative;
  overflow: hidden;
  padding: 72px 0 86px;
  background:
    radial-gradient(circle at 18% 22%, rgba(205, 165, 94, 0.13), transparent 24%),
    radial-gradient(circle at 84% 72%, rgba(205, 165, 94, 0.10), transparent 24%),
    linear-gradient(135deg, #041d2b 0%, #052b46 62%, #083a5d 100%);
  color: #ffffff;
}

.bio-section--founders .bio-section-title {
  color: #ffffff;
}

.bio-section--founders .bio-section-lead {
  color: rgba(255, 255, 255, 0.82);
}

.bio-kicker--dark {
  color: #cda55e;
}

.bio-grid--founders {
  max-width: 640px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bio-empty-message {
  display: none;
  margin: 18px auto 0;
  color: #5b6775;
  font-size: 0.98rem;
  line-height: 1.55;
  text-align: center;
}

.bio-empty-message.is-visible {
  display: block;
}

.bio-card.is-hidden-by-search {
  display: none;
}

@media (max-width: 1100px) {
  .bio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

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

@media (max-width: 820px) {
  .bio-hero {
    padding: 56px 0 34px;
  }

  .bio-title {
    font-size: clamp(2.1rem, 10vw, 3.6rem);
    line-height: 1;
    letter-spacing: 0.03em;
  }

  .bio-search-wrap {
    margin: 22px auto 16px;
  }

  .bio-lead,
  .bio-section-lead {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .bio-section {
    padding: 42px 0 58px;
  }

  .bio-section--founders {
    padding: 56px 0 64px;
  }

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

  .bio-grid--founders {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .bio-hero {
    padding-top: 42px;
  }

  .bio-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .bio-grid,
  .bio-grid--founders {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bio-card {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
}


/* =========================================================
   V3 — Animação de borda dourada nos cards
   Alteração isolada: somente efeito hover dos cards.
========================================================= */

.bio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    120deg,
    rgba(205, 165, 94, 0.12) 0%,
    rgba(205, 165, 94, 0.35) 28%,
    rgba(255, 232, 179, 0.95) 50%,
    rgba(205, 165, 94, 0.55) 72%,
    rgba(205, 165, 94, 0.12) 100%
  );
  background-size: 260% 260%;
  opacity: 0;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .22s ease;
}

.bio-card::after {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.08);
  transition: border-color .22s ease, box-shadow .22s ease, opacity .22s ease;
}

.bio-card:hover::before {
  opacity: 1;
  animation: bioGoldBorderMove 1.45s linear infinite;
}

.bio-card:hover::after {
  border-color: rgba(205, 165, 94, 0.92);
  box-shadow:
    inset 0 0 0 1px rgba(205, 165, 94, 0.56),
    0 0 22px rgba(205, 165, 94, 0.26);
}

@keyframes bioGoldBorderMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 260% 50%;
  }
}


/* =========================================================
   BIOGRAFIAS v10 — ajuste do menu Sobre Nós com 3 cards
   Escopo: apenas reduzir o mega menu Sobre Nós para 3 cards,
   alinhado à Central de Ajuda.
========================================================= */
.mega-menu--about {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(930px, calc(100vw - 48px));
}

/* =========================================================
   BIOGRAFIAS v10 — menu Sobre Nós mobile em lista
   Escopo: apenas empilhar os cards do Sobre Nós no mobile,
   seguindo o comportamento da Central de Ajuda/Home.
========================================================= */
@media (max-width: 820px) {
  .mega-menu--about {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
}
