/* Dourado: substitui a antiga cor de destaque vermelha em toda a interface. */
.border-accent {
  border-color: rgb(185 133 36 / var(--tw-border-opacity, 1)) !important;
}

.bg-accent {
  background-color: rgb(185 133 36 / var(--tw-bg-opacity, 1)) !important;
}

.text-accent-light {
  color: rgb(214 160 56 / var(--tw-text-opacity, 1)) !important;
}

.hover\:bg-accent-hover:hover {
  background-color: rgb(142 98 21 / var(--tw-bg-opacity, 1)) !important;
}

.hover\:text-accent:hover {
  color: rgb(185 133 36 / var(--tw-text-opacity, 1)) !important;
}

/* Cabeçalho flutuante removido a pedido: a página segue sem elemento fixo. */
main > header {
  display: none !important;
}

/* Assinatura da hero: uma frase com presença editorial e elegante. */
section[aria-label="Intro"] .text-accent-light {
  display: block;
  min-height: 1.2em;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.375rem, 5vw, 3.9375rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero-tagline__cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.84em;
  margin-left: 0.08em;
  border-right: 1px solid currentColor;
  vertical-align: -0.04em;
  animation: hero-tagline-cursor 850ms step-end infinite;
}

@keyframes hero-tagline-cursor {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

/* Mantém a sequência de texto contínua agora que o espaço do vídeo foi removido. */
section[aria-label="Sobre"] {
  margin-top: 2rem !important;
  padding-top: 0 !important;
}

section[aria-label="Intro"] {
  display: flex;
  align-items: center;
  min-height: 100vh !important;
  min-height: 100svh !important;
  height: 100vh !important;
  height: 100svh !important;
}

section[aria-label="Intro"] > div:first-child {
  width: 100%;
  padding-top: 0 !important;
}

section[aria-label="Intro"] p.mx-auto.mt-5.max-w-md {
  max-width: 43rem !important;
  font-size: clamp(1.15rem, 1.75vw, 1.45rem) !important;
  line-height: 1.45 !important;
  color: #fff !important;
}

section[aria-label="Intro"] {
  isolation: isolate;
  /* The logo's animated shadow needs room beyond its image bounds. */
  overflow: visible;
}

section[aria-label="Intro"] > div:first-child,
section[aria-label="Intro"] > div:first-child > div,
section[aria-label="Intro"] > div:first-child > div > div {
  overflow: visible !important;
}

.hero-background-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

section[aria-label="Intro"] > div:not(.hero-background-video) {
  position: relative;
  z-index: 1;
}

.hero-background-video::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: radial-gradient(
    ellipse 72% 78% at 50% 48%,
    rgb(0 0 0 / 80%) 0%,
    rgb(0 0 0 / 64%) 40%,
    rgb(0 0 0 / 30%) 68%,
    transparent 100%
  );
}

.hero-background-video video {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-background-video { display: none; }
}

.hero-brand-logo {
  display: block;
  width: min(61.5vw, 33rem);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 1rem rgb(214 160 56 / 24%));
  animation: hero-logo-gold-pulse 4.8s ease-in-out infinite;
}

@keyframes hero-logo-gold-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 0.8rem rgb(214 160 56 / 20%))
      drop-shadow(0 0 1.6rem rgb(0 0 0 / 42%));
  }

  50% {
    filter:
      drop-shadow(0 0 1.35rem rgb(214 160 56 / 72%))
      drop-shadow(0 0 3.1rem rgb(185 133 36 / 34%))
      drop-shadow(0 0 1.8rem rgb(0 0 0 / 28%));
  }
}

@media (max-width: 767px) {
  .hero-brand-logo { width: min(66vw, 22.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brand-logo,
  .hero-tagline__cursor { animation: none; }
}

/* Seção preservada para ser reaproveitada como modal em uma próxima etapa. */
section#investimento {
  display: none !important;
}

/* Respostas expansíveis da seção de dúvidas frequentes. */
.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: rgb(255 255 255 / 68%);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.faq-answer p + p {
  margin-top: 1rem;
}

.faq-toggle {
  flex: 0 0 auto;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease;
}

button[aria-expanded="true"] .faq-toggle {
  color: #eec55e;
  transform: rotate(45deg);
}

/* CTA principal da hero, no mesmo formato pill da interface original. */
.hero-application-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
  padding: 0;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.hero-application-cta img {
  display: block;
  width: min(62vw, 17rem);
  height: auto;
}

.hero-application-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* Três crenças equivocadas: tipografia editorial e movimento de entrada único. */
section[aria-label="O Diagnóstico"] > div > .grid {
  align-items: stretch;
  gap: 1rem !important;
}

section[aria-label="O Diagnóstico"] > div > .grid > div {
  position: relative;
  display: flex !important;
  min-height: 15rem;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start;
  gap: 0 !important;
  overflow: hidden;
  isolation: isolate;
  padding: 1.5rem !important;
  border: 1px solid rgb(238 197 94 / 25%) !important;
  border-radius: 1.15rem !important;
  background: linear-gradient(150deg, #16130f 0%, #0c0c0d 48%, #080809 100%) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%), 0 18px 38px rgb(0 0 0 / 24%);
  transition: border-color 260ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease;
}

section[aria-label="O Diagnóstico"] > div > .grid > div::before {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  content: "01";
  color: rgb(238 197 94 / 68%);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.35rem;
  font-style: italic;
  line-height: 1;
}

section[aria-label="O Diagnóstico"] > div > .grid > div:nth-child(2)::before { content: "02"; }
section[aria-label="O Diagnóstico"] > div > .grid > div:nth-child(3)::before { content: "03"; }

section[aria-label="O Diagnóstico"] > div > .grid > div::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #b9852c, #f2d47b 55%, transparent);
  transform: scaleX(0.25);
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

section[aria-label="O Diagnóstico"] > div > .grid > div > span {
  align-self: flex-end;
  width: 3rem !important;
  height: 3rem !important;
  margin: 0;
  border: 1px solid rgb(238 197 94 / 65%) !important;
  border-radius: 50% !important;
  color: #eec55e !important;
  background: rgb(238 197 94 / 5%);
  box-shadow: none;
  font-size: 0 !important;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), background-color 260ms ease !important;
}

section[aria-label="O Diagnóstico"] > div > .grid > div > span::before,
section[aria-label="O Diagnóstico"] > div > .grid > div > span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.15rem;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: #eec55e;
}

section[aria-label="O Diagnóstico"] > div > .grid > div > span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

section[aria-label="O Diagnóstico"] > div > .grid > div > span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

section[aria-label="O Diagnóstico"] > div > .grid > div > p {
  position: relative;
  margin-top: auto;
  padding-top: 2rem;
  max-width: 15rem;
  color: #f5f2ed !important;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem) !important;
  font-weight: 500;
  line-height: 1.27 !important;
  letter-spacing: -0.025em;
}

section[aria-label="O Diagnóstico"] > div > .grid > div:hover {
  border-color: rgb(238 197 94 / 58%) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 24px 48px rgb(0 0 0 / 36%);
  transform: translateY(-0.3rem);
}

section[aria-label="O Diagnóstico"] > div > .grid > div:hover::after { transform: scaleX(1); }
section[aria-label="O Diagnóstico"] > div > .grid > div:hover > span {
  background: rgb(238 197 94 / 13%);
  transform: rotate(-12deg);
}

section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div {
  animation: diagnosis-card-enter 650ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div:nth-child(2) { animation-delay: 110ms; }
section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div:nth-child(3) { animation-delay: 220ms; }

section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div > span::before {
  animation: diagnosis-x-first 420ms cubic-bezier(0.22, 1, 0.36, 1) 240ms backwards;
}

section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div > span::after {
  animation: diagnosis-x-second 420ms cubic-bezier(0.22, 1, 0.36, 1) 330ms backwards;
}

section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div:nth-child(2) > span::before { animation-delay: 350ms; }
section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div:nth-child(2) > span::after { animation-delay: 440ms; }
section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div:nth-child(3) > span::before { animation-delay: 460ms; }
section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div:nth-child(3) > span::after { animation-delay: 550ms; }

@keyframes diagnosis-card-enter {
  from { transform: translateY(1rem); }
  to { transform: translateY(0); }
}

@keyframes diagnosis-x-first {
  from { transform: translate(-50%, -50%) rotate(45deg) scaleX(0); }
  to { transform: translate(-50%, -50%) rotate(45deg) scaleX(1); }
}

@keyframes diagnosis-x-second {
  from { transform: translate(-50%, -50%) rotate(-45deg) scaleX(0); }
  to { transform: translate(-50%, -50%) rotate(-45deg) scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div { animation: none; }
  section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div > span::before,
  section[aria-label="O Diagnóstico"] > div > .grid.diagnosis-revealed > div > span::after { animation: none; }
  section[aria-label="O Diagnóstico"] > div > .grid > div { transition: none; }
}

/* Foto editorial exclusiva para a seção de conhecimento, networking e ação. */
section[aria-label="Pilares"] > div:first-child {
  background-image: url("./images/top-brokers-brokers-terrace.webp") !important;
  background-position: center 52% !important;
}

@media (max-width: 767px) {
  section[aria-label="Pilares"] > div:first-child {
    background-position: left 52% !important;
  }

  section[aria-label="O Diagnóstico"] > div > .grid > div {
    min-height: 12.5rem;
  }

  section[aria-label="O Diagnóstico"] > div > .grid > div:nth-child(2),
  section[aria-label="O Diagnóstico"] > div > .grid > div:nth-child(3) {
    margin-top: 0;
  }

}

/* Quatro pilares apresentados como cards, dentro da estética preto e dourado. */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(100%, 72rem);
  margin: 1.8rem auto 0;
  padding: 0 1.5rem;
  text-align: left;
}

.hero-pillar {
  position: relative;
  display: flex;
  min-height: 9.25rem;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgb(238 197 94 / 26%);
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 100% 0, rgb(238 197 94 / 16%), transparent 46%),
    linear-gradient(145deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 2%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 18px 40px rgb(0 0 0 / 22%);
  animation: hero-pillar-in 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.hero-pillar::before {
  position: absolute;
  top: 0;
  left: 1.15rem;
  width: 2.25rem;
  height: 2px;
  content: "";
  background: #eec55e;
}

.hero-pillar:hover {
  transform: translateY(-0.3rem);
  border-color: rgb(238 197 94 / 64%);
  background:
    radial-gradient(circle at 100% 0, rgb(238 197 94 / 27%), transparent 52%),
    linear-gradient(145deg, rgb(255 255 255 / 11%), rgb(255 255 255 / 3%));
}

.hero-pillar__number {
  color: #eec55e;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero-pillar h2 {
  max-width: 13rem;
  margin: 0;
  color: #fbfafc;
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.hero-pillar:nth-child(2) { animation-delay: 90ms; }
.hero-pillar:nth-child(3) { animation-delay: 180ms; }
.hero-pillar:nth-child(4) { animation-delay: 270ms; }

@keyframes hero-pillar-in {
  from { opacity: 0; transform: translateY(0.9rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .hero-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .hero-pillar { min-height: 8.25rem; }
}

/* Variante editorial: os pilares formam uma trajetória conectada, não um grid comum. */
@media (min-width: 768px) {
  .hero-pillars {
    position: relative;
    align-items: center;
    margin-top: 2.4rem;
    padding: 1.25rem 1.5rem;
  }

  .hero-pillars::before {
    position: absolute;
    top: 50%;
    right: 3.2rem;
    left: 3.2rem;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgb(238 197 94 / 72%), transparent);
  }

  .hero-pillar {
    min-height: 10.5rem;
    border-color: rgb(238 197 94 / 36%);
    border-radius: 0.35rem 1.6rem 0.35rem 1.6rem;
    background:
      linear-gradient(135deg, rgb(238 197 94 / 15%), transparent 34%),
      linear-gradient(160deg, rgb(20 20 20 / 96%), rgb(5 5 5 / 96%));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 22px 40px rgb(0 0 0 / 35%);
    animation-name: hero-pillar-fade;
  }

  .hero-pillar::before {
    top: 50%;
    left: -0.42rem;
    width: 0.85rem;
    height: 0.85rem;
    border: 2px solid #eec55e;
    border-radius: 999px;
    background: #050505;
    box-shadow: 0 0 0 5px rgb(5 5 5 / 92%), 0 0 20px rgb(238 197 94 / 54%);
    transform: translateY(-50%);
  }

  .hero-pillar__number {
    color: transparent;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(2.6rem, 4vw, 4.1rem);
    font-weight: 400;
    letter-spacing: -0.07em;
    line-height: 0.8;
    -webkit-text-stroke: 1px rgb(238 197 94 / 78%);
  }

  .hero-pillar h2 {
    max-width: 12rem;
    font-size: clamp(1.15rem, 1.45vw, 1.4rem);
  }

  .hero-pillar:nth-child(odd) { transform: translateY(-1.05rem); }
  .hero-pillar:nth-child(even) { transform: translateY(1.05rem); }
  .hero-pillar:nth-child(2) { animation-delay: 90ms; }
  .hero-pillar:nth-child(3) { animation-delay: 180ms; }
  .hero-pillar:nth-child(4) { animation-delay: 270ms; }

  .hero-pillar:hover { transform: translateY(-1.45rem) !important; }
  .hero-pillar:nth-child(even):hover { transform: translateY(0.65rem) !important; }
}

@keyframes hero-pillar-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 767px) {
  .hero-pillars::before { display: none; }

  .hero-pillar {
    border-radius: 0.35rem 1.1rem 0.35rem 1.1rem;
    background: linear-gradient(145deg, rgb(238 197 94 / 13%), rgb(255 255 255 / 3%));
  }
}

/* Cards da seção "Na Prática": uma progressão visual mais editorial e premium. */
section[aria-label="Na Prática"] .mt-12.grid { gap: 1.15rem; }

section[aria-label="Na Prática"] .mt-12.grid > .glass-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 25.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem !important;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 1.5rem;
  background: radial-gradient(circle at 100% 0%, rgb(238 197 94 / 15%), transparent 34%), linear-gradient(145deg, rgb(26 26 25 / 98%) 0%, rgb(13 13 13 / 98%) 72%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), inset 0 -1px 0 rgb(0 0 0 / 45%), 0 18px 44px rgb(0 0 0 / 28%);
  transition: transform 260ms cubic-bezier(.22, 1, .36, 1), border-color 260ms ease, box-shadow 260ms ease;
}

section[aria-label="Na Prática"] .mt-12.grid > .glass-inner::before {
  position: absolute;
  z-index: 0;
  right: 1.4rem;
  bottom: -1.6rem;
  color: rgb(238 197 94 / 7%);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 10rem;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
}

section[aria-label="Na Prática"] .mt-12.grid > .glass-inner > * {
  position: relative;
  z-index: 1;
}

section[aria-label="Na Prática"] .mt-12.grid > .glass-inner:nth-child(1)::before { content: "01"; }
section[aria-label="Na Prática"] .mt-12.grid > .glass-inner:nth-child(2)::before { content: "02"; }
section[aria-label="Na Prática"] .mt-12.grid > .glass-inner:nth-child(3)::before { content: "03"; }

section[aria-label="Na Prática"] .mt-12.grid > .glass-inner > span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .55rem;
  padding: .38rem .68rem;
  border: 1px solid rgb(238 197 94 / 36%);
  border-radius: 999px;
  background: rgb(238 197 94 / 7%);
  color: #f0ca6b !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .71rem !important;
  font-style: normal !important;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.1;
}

section[aria-label="Na Prática"] .mt-12.grid > .glass-inner > span::after {
  width: .28rem;
  height: .28rem;
  border-radius: 999px;
  background: #eec55e;
  box-shadow: 0 0 9px rgb(238 197 94 / 70%);
  content: "";
}

section[aria-label="Na Prática"] .mt-12.grid h3 {
  max-width: 14ch;
  width: 100%;
  margin-top: 0 !important;
  text-align: center;
  color: #fff;
  font-size: clamp(1.45rem, 1.8vw, 1.78rem) !important;
  font-weight: 500 !important;
  letter-spacing: -.035em;
  line-height: 1.14;
}

section[aria-label="Na Prática"] .mt-12.grid h3::after {
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 1.25rem auto 0;
  background: linear-gradient(90deg, #eec55e, rgb(238 197 94 / 8%));
  content: "";
}

section[aria-label="Na Prática"] .mt-12.grid h3 + p {
  max-width: 31ch;
  width: 100%;
  margin-top: 1.3rem !important;
  text-align: center;
  color: rgb(255 255 255 / 62%) !important;
  font-size: .96rem !important;
  line-height: 1.65;
}

@media (hover: hover) and (pointer: fine) {
  section[aria-label="Na Prática"] .mt-12.grid > .glass-inner:hover {
    transform: translateY(-.42rem);
    border-color: rgb(238 197 94 / 52%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 13%), 0 28px 52px rgb(0 0 0 / 42%), 0 0 28px rgb(185 133 36 / 9%);
  }
}

@media (max-width: 767px) {
  section[aria-label="Na Prática"] .mt-12.grid > .glass-inner { min-height: 0; padding: 1.55rem !important; }
  section[aria-label="Na Prática"] .mt-12.grid h3 { max-width: 17ch; margin-top: 0 !important; }
}

@media (prefers-reduced-motion: reduce) {
  section[aria-label="Na Prática"] .mt-12.grid > .glass-inner { transition: none; }
}

/* Carrossel de mentores: placeholders neutros enquanto as novas imagens não chegam. */
section[aria-label="Mentores"] .row-marquee > div {
  background: linear-gradient(145deg, #292929 0%, #1b1b1b 100%) !important;
  border-color: rgb(255 255 255 / 11%) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%), 0 18px 38px rgb(0 0 0 / 34%) !important;
}

section[aria-label="Mentores"] .row-marquee > div::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 3%);
  border-radius: inherit;
  background: linear-gradient(125deg, rgb(255 255 255 / 3%), transparent 42%);
  content: "";
}

section[aria-label="Mentores"] .row-marquee img { display: block !important; }

/* Camada de contraste para preservar a leitura sobre o mosaico de fotos. */
section[aria-label="Mentores"]::before {
  position: absolute;
  z-index: 10;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 72% at 50% 50%, rgb(0 0 0 / 64%), rgb(0 0 0 / 34%) 62%, rgb(0 0 0 / 48%) 100%),
    rgb(0 0 0 / 22%);
}

.mentor-carousel-card {
  width: 10.625rem;
  aspect-ratio: 3 / 4;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 1.15rem;
  background: #1c1c1a;
  box-shadow: 0 18px 34px rgb(0 0 0 / 42%);
}

.mentor-carousel-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 768px) {
  .mentor-carousel-card { width: 12.5rem; }
}

/* Depoimentos: cards preparados para receber os dois vídeos. */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 58% 38% at 50% 50%, rgb(185 133 36 / 8%), transparent 72%);
}

.testimonials-grid {
  max-width: 66rem;
  margin-right: auto;
  margin-left: auto;
}

.testimonial-card {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 1.4rem;
  background: linear-gradient(145deg, #181817, #101010 74%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%), 0 24px 48px rgb(0 0 0 / 28%);
}

.testimonial-video {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: radial-gradient(circle at 50% 50%, rgb(238 197 94 / 15%), transparent 35%), linear-gradient(135deg, #34332d, #161616 68%);
}

.testimonial-video--link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.testimonial-video--link:hover {
  filter: brightness(1.15);
}

.testimonial-video--link:hover .testimonial-video__play {
  transform: scale(1.07);
}

.testimonial-video--embed::before { display: none; }

.testimonial-video__embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonial-video::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgb(255 255 255 / 4%) 42.2% 42.7%, transparent 43% 100%);
  content: "";
}

.testimonial-video__eyebrow {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .42rem .65rem;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 999px;
  background: rgb(0 0 0 / 28%);
  color: rgb(255 255 255 / 58%);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.testimonial-video__play {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgb(238 197 94 / 58%);
  border-radius: 50%;
  background: rgb(238 197 94 / 12%);
  color: #f1ce75;
  box-shadow: 0 0 30px rgb(185 133 36 / 18%);
  transition: transform 180ms ease;
}

.testimonial-video__play svg { width: 1.55rem; height: 1.55rem; margin-left: .14rem; }
.testimonial-card__content { padding: 1.5rem 1.6rem 1.65rem; }
.testimonial-card__content h3 { color: #fff; font-size: 1.35rem; font-weight: 500; letter-spacing: -.025em; }
.testimonial-card__content p { margin-top: .55rem; color: rgb(255 255 255 / 62%); font-size: .95rem; line-height: 1.55; }

.testimonials-note {
  margin-top: 1.5rem;
  color: rgb(238 197 94 / 82%);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  text-align: center;
}

/* Histórias de mentorados: estrutura pronta para receber os retratos. */
.mentored-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgb(255 255 255 / 5%);
  background: linear-gradient(180deg, transparent, rgb(185 133 36 / 4%) 45%, transparent);
}

.mentored-kicker {
  color: #eec55e;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.mentored-grid {
  max-width: 72rem;
  margin-right: auto;
  margin-left: auto;
}

.mentor-story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 1.5rem;
  background: linear-gradient(150deg, #171715, #0d0d0d 75%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 24px 50px rgb(0 0 0 / 26%);
}

.mentor-photo-slot {
  position: relative;
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background: radial-gradient(circle at 50% 36%, rgb(238 197 94 / 17%), transparent 32%), linear-gradient(145deg, #323128, #171717 72%);
}

.mentor-photo-slot::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, transparent 0 38%, rgb(255 255 255 / 4%) 38.2% 39%, transparent 39.2% 100%);
  content: "";
}

.mentor-photo-slot span {
  display: grid;
  position: relative;
  width: 4.75rem;
  height: 4.75rem;
  place-items: center;
  border: 1px solid rgb(238 197 94 / 42%);
  border-radius: 50%;
  color: #f0cb70;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.75rem;
  font-style: italic;
}

.mentor-photo-slot small {
  position: relative;
  color: rgb(255 255 255 / 46%);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mentor-photo-slot:has(img) { background: #141414; }
.mentor-photo-slot:has(img)::before { display: none; }
.mentor-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

@media (min-width: 768px) {
  .mentor-photo-slot {
    min-height: 0;
    height: 21.5rem;
  }
}

.mentor-story-card__content { padding: 1.65rem; }
.mentor-story-card__index { color: rgb(238 197 94 / 72%); font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.mentor-story-card h3 { margin-top: .7rem; color: #fff; font-size: 1.45rem; font-weight: 500; letter-spacing: -.03em; }
.mentor-story-card__role { margin-top: .28rem; color: #eec55e; font-size: .86rem; font-weight: 500; }

.mentor-story-card blockquote {
  margin-top: 1.35rem;
  color: rgb(255 255 255 / 83%);
  font-size: 1rem;
  line-height: 1.6;
}

.mentor-story-card__outcome {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 57%);
  font-size: .9rem;
  line-height: 1.55;
}

/* ==========================================================================
   Seção O Diagnóstico: O GRANDE PROBLEMA — Opção A (Pulso Sequencial de Luz)
   100% idêntico ao screenshot fornecido pelo usuário.
   Completamente auto-suficiente: não depende de classes ausentes do Tailwind.
   ========================================================================== */

@property --beam-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.box-synapse {
  position: relative !important;
  margin-top: 2.5rem !important;
  margin-bottom: 2rem !important;
  padding: 1.75rem 1.4rem !important;
  background: linear-gradient(180deg, #101014 0%, #08080a 100%) !important;
  border: 1px solid rgba(238, 197, 94, 0.22) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  text-align: center !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -10px rgba(0,0,0,0.8) !important;
  transition: all 0.3s ease !important;
}

@media (min-width: 640px) {
  .box-synapse {
    padding: 2.75rem 2.25rem !important;
  }
}

/* Borda de luz perimetral contínua: o SVG percorre o retângulo inteiro. */
.border-beam {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  border-radius: inherit !important;
  padding: 0 !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  pointer-events: none !important;
  animation: none !important;
}

.border-beam svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.box-synapse .synapse-text {
  z-index: 3;
}

/* Texto principal */
.synapse-text {
  position: relative !important;
  margin: 0 auto !important;
  max-width: 44rem !important;
  font-family: Satoshi, system-ui, -apple-system, sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: -0.015em !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

@media (min-width: 640px) {
  .synapse-text {
    font-size: 1.5625rem !important; /* 25px */
  }
}

/* Título em ouro metálico */
.title-gold-tag {
  display: block !important;
  margin-bottom: 0.25rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #fff2cc 0%, #eec55e 55%, #b98524 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #eec55e !important;
}

@media (min-width: 640px) {
  .title-gold-tag {
    display: inline !important;
    margin-bottom: 0 !important;
  }
}

/* Fio de união que pulsa quando os 3 conectam */
.synapse-connector-line {
  position: relative !important;
  display: inline !important;
}

.synapse-connector-line::after {
  content: "" !important;
  position: absolute !important;
  bottom: -3px !important;
  left: 0 !important;
  right: 0 !important;
  height: 1.5px !important;
  background: linear-gradient(90deg, transparent, #eec55e, #fff, #eec55e, transparent) !important;
  box-shadow: 0 0 10px rgba(238, 197, 94, 0.7) !important;
  animation: pulseFullLine 4.5s ease-in-out infinite !important;
}

@keyframes pulseFullLine {
  0%, 75% { opacity: 0.15; transform: scaleX(0.85); }
  85%, 98% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0.15; transform: scaleX(0.85); }
}

/* Destaque sequencial dos 3 termos */
.word-synapse {
  position: relative !important;
  display: inline-block !important;
  font-weight: 600 !important;
  transition: color 0.4s ease, text-shadow 0.4s ease !important;
  padding: 0 0.08em !important;
}

.synapse-1 { animation: glowNode1 4.5s ease-in-out infinite !important; }
.synapse-2 { animation: glowNode2 4.5s ease-in-out infinite !important; }
.synapse-3 { animation: glowNode3 4.5s ease-in-out infinite !important; }

@keyframes glowNode1 {
  0%, 100% { color: #fbfafc; text-shadow: none; }
  10%, 35% { color: #fce7b2; text-shadow: 0 0 14px rgba(238, 197, 94, 0.85); }
  45% { color: #fbfafc; text-shadow: none; }
}

@keyframes glowNode2 {
  0%, 30% { color: #fbfafc; text-shadow: none; }
  40%, 65% { color: #fce7b2; text-shadow: 0 0 14px rgba(238, 197, 94, 0.85); }
  75%, 100% { color: #fbfafc; text-shadow: none; }
}

@keyframes glowNode3 {
  0%, 60% { color: #fbfafc; text-shadow: none; }
  70%, 95% { color: #fce7b2; text-shadow: 0 0 14px rgba(238, 197, 94, 0.85); }
  100% { color: #fbfafc; text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .border-beam,
  .synapse-1, .synapse-2, .synapse-3,
  .synapse-connector-line::after {
    animation: none !important;
  }
}

/* Preserve complete founder photos at every viewport size, including Safari. */
#fundadores .founder-media {
  min-height: 0;
  align-self: center;
}

#fundadores .founder-photos {
  position: static;
  display: flex;
  flex-direction: column;
}

#fundadores .founder-photos img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin-top: 0;
  object-fit: contain;
  -webkit-mask-image: none;
  mask-image: none;
}
#fundadores .founder-placeholder {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: radial-gradient(circle at center, rgb(238 197 94 / 9%), transparent 70%), #121211;
}

#fundadores .founder-placeholder__initials {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgb(238 197 94 / 25%);
  border-radius: 50%;
  color: #eec55e;
  font-size: 36px;
  font-weight: 500;
}

#fundadores .founder-placeholder__label {
  color: rgb(255 255 255 / 45%);
  font-size: 14px;
}
/* Founder photos: 25% smaller, preserving their proportions. */
#fundadores .founder-media {
  width: 75%;
  justify-self: center;
}

@media (min-width: 768px) {
  #fundadores .glass-card > .grid {
    grid-template-columns: 2.2fr 1fr;
  }

  #fundadores .glass-card:nth-child(2) > .grid {
    grid-template-columns: 1fr 2.2fr;
  }

  #fundadores .founder-media {
    width: 100%;
  }
}