/* =========================================================
   NEW IDIOMAS — design system base
   Branco + vermelho da marca, tipografia editorial (dir.
   Berlitz) e fluidez de interação (dir. Preply). Página em
   fluxo contínuo — sem seções "em caixa". Sem framework.
   ========================================================= */

:root {
  /* cor extraída via sample de pixel do fundo de logo.jpg (RGB 109,1,1) */
  --bordo:        #6D0101;
  --bordo-dark:   #4A0101;
  --bordo-soft:   #8A1E1E;
  --bordo-bright: #C23B3B; /* acento em vermelho mais claro, usado sobre fundos escuros (--bordo) */
  --bordo-tint:   #FBEDED; /* tingimento muito leve pra fundos/hover */

  --bg:           #FFFFFF;
  --bg-tint:      #FBFAF9; /* variação quase imperceptível, só pra respiro visual */
  --white:        #FFFFFF; /* alias semântico pra texto sobre fundo --bordo */

  --ink:          #17130F; /* quase-preto, nunca #000 */
  --ink-70:       rgba(23, 19, 15, 0.7);
  --ink-45:       rgba(23, 19, 15, 0.45);
  --ink-12:       rgba(23, 19, 15, 0.1);

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-h1: clamp(2.75rem, 1.9rem + 4vw, 6rem);
  --fs-h2: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.5vw, 1.375rem);
  --fs-eyebrow: 0.8125rem;

  --container-w: 1240px;
  --side-pad: clamp(1.25rem, 4vw, 4rem);

  --section-pad-y: clamp(2.75rem, 3.5vw + 1rem, 5rem);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

html.intro-lock, html.intro-lock body { overflow: hidden; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--side-pad);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bordo);
}

.section { position: relative; padding-block: var(--section-pad-y); }

.section-inner { }
.section-body { min-height: 1px; }

/* ---------- reveal-on-scroll ---------- */
/* visível por padrão — o JS só esconde (.is-hidden) um elemento
   no exato momento em que já garantiu que vai observá-lo pra
   revelar de novo; se o JS não rodar por qualquer motivo, o
   conteúdo nunca fica preso em opacity:0. */
.reveal {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-hidden { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   INTRO SPLASH SCREEN
   ========================================================= */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bordo);
}

.intro-logo {
  width: min(58vw, 420px);
  opacity: 0;
  transform: scale(0.92);
  animation: intro-in 1s var(--ease-out) 0.05s both;
}

@keyframes intro-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

#intro-screen.intro-hide {
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  pointer-events: none;
}

html.no-intro #intro-screen { display: none !important; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 500;
  /* altura ~78px (48px de logo + padding) — dentro da faixa 72-82px pedida */
  padding-block: 1.05rem;
  background: var(--bordo);
  transition: padding 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  padding-block: 0.75rem;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand__logo { height: 48px; width: auto; }

.main-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.1rem);
}

.main-nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.3s var(--ease-out);
}

.main-nav__list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.site-header__actions { display: flex; align-items: center; gap: 1rem; }

.main-nav__cta.btn { display: none; }

/* CTAs dentro do header (desktop e overlay mobile) ficam invertidos —
   branco sólido sobre o fundo vermelho, nunca vermelho sobre vermelho. */
.site-header .btn--solid {
  background: var(--white);
  color: var(--bordo);
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, 0.45);
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn--ghost {
  border: 1.5px solid var(--ink-12);
  color: var(--ink);
}

.btn--solid {
  position: relative;
  overflow: hidden;
  background: var(--bordo);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(109, 1, 1, 0.55);
}
/* brilho que atravessa o botão no hover — só um toque, não um
   efeito genérico de template: some rápido e não repete sozinho. */
.btn--solid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 401;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--bordo);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease-out);
    z-index: 400;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav__list { flex-direction: column; gap: 1.75rem; }
  .main-nav__list a { font-size: 1.5rem; font-family: var(--font-display); }
  .main-nav__cta.btn { display: inline-flex; margin-top: 1rem; }
  .site-header__actions .btn--solid { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* =========================================================
   HERO
   ========================================================= */
.section--hero {
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

/* sem min-width:0 os itens do grid usam min-width:auto — o par
   de botões em .hero-actions não quebra linha e força uma
   largura mínima maior que a tela, estourando a página inteira
   em rolagem horizontal nos celulares mais estreitos. */
.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-copy { display: flex; flex-direction: column; gap: 1.5rem; max-width: 40rem; }

/* entrada em cascata (não tudo de uma vez) — cada elemento do
   hero aparece um pouco depois do anterior, como o resto do
   fluxo continua usando .reveal padrão (sem stagger), essa
   regra fica só aqui, específica pro hero. */
.hero-copy .eyebrow.reveal { transition-delay: 0s; }
.hero-copy .hero-title.reveal { transition-delay: 0.08s; }
.hero-copy .hero-lead.reveal { transition-delay: 0.16s; }
.hero-copy .hero-info.reveal { transition-delay: 0.24s; }
.hero-copy .hero-actions.reveal { transition-delay: 0.32s; }
.hero-media.reveal { transition-delay: 0.2s; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.hero-title::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 4px;
  background: var(--bordo);
  margin-top: 1.25rem;
  border-radius: 2px;
}

.hero-lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 34rem;
}

.hero-info {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-45);
}

/* flex-wrap: os dois botões lado a lado, sem quebra, forçavam o
   .btn--solid (overflow:hidden + conteúdo centralizado) a
   encolher abaixo da largura do próprio texto em telas estreitas
   — cortava "Conhecer os cursos" simetricamente dos dois lados. */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }

.btn--whatsapp { gap: 0.6rem; padding-inline: 1.75rem; }
.btn__icon { width: 19px; height: 19px; flex-shrink: 0; }

/* fundo no tom vinho (não branco) por baixo da mídia — remove
   qualquer flash claro entre o layout assentar e o poster/vídeo
   pintarem; o vídeo/still entra com um fade curto assim que
   estiver pronto (.is-ready, via JS em loadeddata/canplay). */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 12px 28px -18px rgba(23, 19, 15, 0.3);
  background: var(--bordo);
  justify-self: end;
  max-width: 460px;
  transform: translateY(var(--parallax-y, 0px));
}

.hero-video,
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* leve zoom contínuo (Ken Burns) — o quadro nunca fica estático */
  animation: hero-kenburns 22s ease-in-out infinite alternate;
}

@keyframes hero-kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero-still { display: none; }
.hero-video { display: block; }

@media (prefers-reduced-motion: reduce) {
  .hero-still { display: block !important; }
  .hero-video { display: none !important; }
  .hero-video, .hero-still { animation: none; }
  .hero-media { transform: none !important; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .section--hero { padding-top: 7.5rem; }

  /* texto primeiro, vídeo/foto como cartão arredondado logo
     abaixo, bandeiras em seguida — vídeo em tela cheia no topo
     não funcionava no celular. A foto de origem é um still
     vertical (9:16); um recorte mais próximo do formato nativo
     (em vez de 16:11) evita sobrar céu e cortar o letreiro. */
  .hero-media {
    justify-self: stretch;
    max-width: none;
    aspect-ratio: 4 / 3;
  }
  .hero-video,
  .hero-still {
    object-position: center 28%;
  }
}

/* =========================================================
   IDIOMAS — trilha compacta (não cards gigantes). Funciona
   sem JS: é lista + scroll nativo, nada depende de script.
   ========================================================= */
.section--idiomas { padding-block: clamp(2rem, 4vw, 3rem); }

.idiomas-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.15rem + 1vw, 1.75rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.idiomas-trilha {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--bordo);
}

.idiomas-trilha__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.85rem 1.1rem;
  border-right: 1px solid var(--ink-12);
  background-color: transparent;
  transition: background-color 0.3s var(--ease-out);
}
.idiomas-trilha__item:last-child { border-right: none; }

.idiomas-trilha__flag {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s var(--ease-out);
}

.idiomas-trilha__nome {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--ink);
}

.idiomas-trilha__info {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink-45);
}

.idiomas-trilha__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bordo);
  margin-top: auto;
}

/* uma linha só, sempre — no desktop os 4 cabem lado a lado; abaixo
   de 700px (onde 4 colunas ficariam espremidas) ela vira um trilho
   horizontal de 1 linha só (nunca empilha em 2 linhas). */
@media (max-width: 700px) {
  .idiomas-trilha {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-top: none;
    margin-inline: calc(-1 * var(--side-pad));
    padding-inline: var(--side-pad);
    scrollbar-width: none;
  }
  .idiomas-trilha::-webkit-scrollbar { display: none; }
  .idiomas-trilha__item {
    flex: 0 0 auto;
    width: 46%;
    scroll-snap-align: start;
    border-top: 2px solid var(--bordo);
  }
}

/* =========================================================
   GANCHO COMERCIAL — ponte compacta entre Idiomas e Metodologia.
   Fundo marfim (não vinho) de propósito: já existe uma faixa
   vinho no CTA final, repetir o tom aqui voltaria a parecer
   "outro hero". Isso também varia o ritmo entre seções.
   ========================================================= */
.section--orientacao {
  padding-block: clamp(1.75rem, 2.5vw, 2.5rem);
  background: var(--bg-tint);
}

.orientacao-inner {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.orientacao-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  color: var(--ink);
}

.orientacao-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
}

.orientacao-inner .btn { margin-top: 0.5rem; }

/* =========================================================
   METODOLOGIA — lista editorial numerada, nunca cards
   ========================================================= */
.metodologia-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.metodologia-intro {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metodologia-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--ink);
}

.metodologia-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 26rem;
}

.metodologia-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.metodologia-item {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-block: clamp(1.1rem, 1.8vw, 1.5rem);
  border-top: 1px solid var(--ink-12);
  transition: background-color 0.3s var(--ease-out);
}
.metodologia-item:last-child { border-bottom: 1px solid var(--ink-12); }

/* índice pequeno — nunca deve competir com o título ao lado */
.metodologia-item__num {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-45);
  line-height: 1.6;
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease-out);
}

.metodologia-item__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.metodologia-item__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 34rem;
}

@media (max-width: 860px) {
  .metodologia-grid { grid-template-columns: 1fr; }
  .metodologia-intro { position: static; }
}

/* =========================================================
   VÍDEOS — player principal + trilho de miniaturas. Só o
   vídeo selecionado carrega; os outros ficam só no poster
   até serem escolhidos (ver initVideosPlayer no script.js).
   ========================================================= */
.section--videos { padding-block: clamp(2.25rem, 3.5vw, 3.5rem); }

.videos-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.videos-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  color: var(--ink);
}

.videos-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 38rem;
}

.videos-player-grid {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.videos-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 400px;
  margin-inline: auto;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 20px 40px -26px rgba(23, 19, 15, 0.4);
}

.videos-player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.videos-info {
  padding-top: 0.5rem;
}

.videos-info__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
}

.videos-info__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
  margin-top: 0.6rem;
  max-width: 34rem;
}

.videos-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84px;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-block: 0.25rem 0.5rem;
  scrollbar-width: none;
}
.videos-rail::-webkit-scrollbar { display: none; }

.videos-rail__item {
  position: relative;
  width: 84px;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline-color 0.25s var(--ease-out), opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  opacity: 0.55;
}
.videos-rail__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.videos-rail__item.is-active { opacity: 1; outline-color: var(--bordo); }
.videos-rail__item:focus-visible { opacity: 1; outline-color: var(--bordo); }

@media (max-width: 860px) {
  .videos-player-grid { grid-template-columns: 1fr; }
  .videos-player { max-width: 320px; max-height: none; }
}

/* =========================================================
   EQUIPE — cabeçalho editorial
   ========================================================= */
.equipe-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.equipe-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  color: var(--ink);
}

.equipe-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 38rem;
}

/* =========================================================
   DEPOIMENTOS — citações grandes, sem molduras de card.
   Seção compacta de propósito: não precisa da altura padrão
   de seção pra caber o que já é real (vídeo + Google) — mais
   espaço aqui só voltaria a parecer um bloco isolado.
   ========================================================= */
.section--depoimentos { padding-block: clamp(2.5rem, 4vw, 3.5rem); }

.depoimentos-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.depoimentos-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  color: var(--ink);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.depoimentos-video {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.depoimentos-video .video-slide__frame {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 9 / 16;
}

.depoimentos-video__caption {
  font-size: 0.8125rem;
  color: var(--ink-45);
}

.depoimentos-google {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.depoimentos-google__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bordo-tint);
  color: var(--bordo);
}

.depoimentos-google__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--ink);
}

.depoimentos-google__lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 28rem;
}

@media (max-width: 720px) {
  .depoimentos-grid { grid-template-columns: 1fr; }
  .depoimentos-video .video-slide__frame { max-width: 260px; }
}

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.location-address {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  line-height: 1.4;
  color: var(--ink);
}

.location-hours {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-12);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.location-hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 20rem;
  font-size: 0.9375rem;
}

.location-hours__row dt { color: var(--ink-45); font-weight: 500; }
.location-hours__row dd { margin: 0; color: var(--ink); font-weight: 600; }

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

/* menção ao Instagram: link de texto, não outro botão-pílula —
   é um convite pra seguir, não uma terceira ação com o mesmo peso
   do WhatsApp/mapa. */
.location-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-70);
  transition: color 0.3s var(--ease-out);
}
.location-instagram svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--bordo); }
.location-instagram span { color: var(--ink-45); font-weight: 500; }

.location-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.location-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-70);
}

/* o mapa só carrega o iframe do Google (peso considerável) quando
   a pessoa pede — até lá é um placeholder leve, com altura
   reservada (sem layout shift) e um link direto como alternativa
   caso o mapa não carregue. */
.location-map {
  position: relative;
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: 0 12px 28px -18px rgba(23, 19, 15, 0.3);
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-map__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--bordo);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.3s var(--ease-out);
}
.location-map__placeholder svg { animation: map-pin-bounce 2.4s ease-in-out infinite; }
@keyframes map-pin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .location-map__placeholder svg { animation: none; }
}
.location-map.is-loaded .location-map__placeholder { display: none; }

.location-map__fallback {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  box-shadow: 0 8px 18px -10px rgba(23, 19, 15, 0.35);
}
.location-map.is-loaded .location-map__fallback { display: none; }

@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-map { min-height: 280px; }
}

/* =========================================================
   JOGO — desafio de 8 perguntas, dificuldade crescente
   ========================================================= */

.jogo-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.jogo-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  color: var(--ink);
}

.jogo-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-70);
}

.jogo-body { display: flex; justify-content: center; }

.jogo-card {
  --lang-cor: var(--bordo);
  width: 100%;
  max-width: 600px;
  min-height: 320px;
  background: var(--bg);
  border: 1px solid var(--ink-12);
  border-radius: 8px;
  box-shadow: 0 12px 28px -20px rgba(23, 19, 15, 0.3);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
}

/* ---- logotipo do jogo — identidade própria, tipo "modo jogo" ---- */
.jogo-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--ink-45);
  margin-bottom: 0.85rem;
}
.jogo-logo strong { color: var(--bordo); font-weight: 800; }
.jogo-logo__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--bordo);
  color: var(--white);
}
.jogo-logo__badge svg { width: 15px; height: 15px; }

/* ---- tela de seleção de idioma ---- */
.jogo-select {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.jogo-select__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--ink);
}
.jogo-select__text {
  font-size: 0.9375rem;
  color: var(--ink-70);
  max-width: 24rem;
  margin-top: 0.5rem;
}

.jogo-langs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  width: 100%;
  margin-top: 1.5rem;
}

@media (min-width: 560px) {
  .jogo-langs { grid-template-columns: repeat(4, 1fr); }
}

.jogo-lang {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border: 2px solid var(--ink-12);
  border-radius: 8px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.jogo-lang__flag {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 14px -8px rgba(23, 19, 15, 0.35);
}
.jogo-lang__flag img { width: 100%; height: 100%; object-fit: cover; }
.jogo-lang__nome {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---- barra de progresso + dificuldade ---- */
.jogo-progress {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.jogo-progress__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.jogo-progress__lang img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.jogo-progress__count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-45);
  white-space: nowrap;
}
.jogo-progress__track {
  flex: 1;
  height: 8px;
  background: var(--ink-12);
  border-radius: 999px;
  overflow: hidden;
}
.jogo-progress__fill {
  height: 100%;
  background: var(--lang-cor);
  border-radius: 999px;
  transition: width 0.5s var(--ease-out);
}
.jogo-progress__difficulty {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--bordo-tint);
  color: var(--bordo);
  white-space: nowrap;
  margin-bottom: 1rem;
}

/* ---- pergunta — botões estilo "jogo", com sombra inferior tipo
   Duolingo (comprime ao clicar) em vez do tom editorial do resto
   do site: aqui é modo jogo de propósito. ---- */
.jogo-question__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.jogo-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.jogo-option {
  display: flex;
  align-items: center;
  border: 2px solid var(--ink-12);
  border-bottom-width: 4px;
  border-radius: 8px;
  min-height: 44px;
  padding: 0.9rem 1.1rem;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out), transform 0.1s var(--ease-out);
}
.jogo-option:active:not([disabled]) {
  border-bottom-width: 2px;
  transform: translateY(2px);
}
.jogo-option[disabled] { cursor: default; }

.jogo-option.is-correct {
  border-color: #2b7a4b;
  background: #eef8f1;
  color: #1f5c38;
}
.jogo-option.is-wrong {
  border-color: var(--bordo);
  background: var(--bordo-tint);
  color: var(--bordo-dark);
}

@media (max-width: 480px) {
  .jogo-options { grid-template-columns: 1fr; }
}

/* ---- resultado ---- */
.jogo-result {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.jogo-result__flag {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  box-shadow: 0 8px 18px -10px rgba(23, 19, 15, 0.4);
}
.jogo-result__flag img { width: 100%; height: 100%; object-fit: cover; }
.jogo-result__score {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem);
  color: var(--lang-cor);
}
.jogo-result__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--ink);
}
.jogo-result__msg {
  font-size: 0.9375rem;
  color: var(--ink-70);
  max-width: 28rem;
  margin-bottom: 0.5rem;
}

.jogo-result__cta {
  margin-top: 0.5rem;
  animation: jogo-blink 1.7s ease-in-out infinite;
}
@keyframes jogo-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(109, 1, 1, 0.55); }
  50% { box-shadow: 0 0 0 16px rgba(109, 1, 1, 0); }
}

.jogo-result__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.jogo-result__retry {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-45);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.section--cta {
  background: var(--bordo);
  color: var(--white);
}
.section--cta .eyebrow { color: rgba(255, 255, 255, 0.75); }

.cta-final__body {
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.cta-final__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);
}

.cta-final__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.cta-final__btn { margin-top: 0.5rem; }
.cta-final__btn.btn--solid { background: var(--white); color: var(--bordo); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.35); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem; }
.site-footer__logo { height: 40px; width: auto; }
.site-footer__address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-footer__nav a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--ease-out);
  width: fit-content;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: fit-content;
}

.site-footer__whatsapp,
.site-footer__instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  transition: color 0.3s var(--ease-out);
}
.site-footer__whatsapp svg,
.site-footer__instagram svg { width: 20px; height: 20px; flex-shrink: 0; }

.site-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

@media (max-width: 720px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* =========================================================
   video-slide__frame — moldura de vídeo reutilizada só pelo
   vídeo de depoimento agora (a seção Vídeos usa .videos-player).
   ========================================================= */
.video-slide__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--ink);
  border-radius: 8px;
  box-shadow: 0 12px 26px -18px rgba(23, 19, 15, 0.35);
}

.video-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.video-slide__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(23, 19, 15, 0.42);
  color: var(--white);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), background-color 0.4s var(--ease-out);
  pointer-events: none;
}
.video-slide__play svg { width: 20px; height: 20px; margin-left: 2px; }

.video-slide__frame.is-playing .video-slide__play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

.video-slide__hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
}

/* =========================================================
   LIGHTBOX DE VÍDEO
   ========================================================= */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-out), visibility 0.45s var(--ease-out);
}

.video-lightbox.is-open { opacity: 1; visibility: visible; }

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 19, 0.88);
}

.video-lightbox__panel {
  position: relative;
  width: min(94vw, 420px);
  max-height: 92vh;
  aspect-ratio: 9 / 16;
  transform: scale(0.94);
  transition: transform 0.45s var(--ease-out);
}
.video-lightbox.is-open .video-lightbox__panel { transform: scale(1); }

.video-lightbox__video {
  width: 100%;
  height: 100%;
  background: #000;
  outline: none;
}

.video-lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.video-lightbox__close svg { width: 18px; height: 18px; }

/* =========================================================
   EQUIPE — "Mesa da equipe": painel do integrante ativo +
   índice acessível (padrão tablist). Substitui por completo o
   antigo carrossel 3D (perspective/rotateY/translateZ) — sem
   rosto deformado, sem nome/cargo duplicado no DOM, sem
   autoplay (pessoas não são banner publicitário).
   ========================================================= */
.equipe-mesa {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* grid items têm min-width:auto por padrão — sem isso, a foto
   (aspect-ratio + max-height) força o conteúdo a exigir uma
   largura maior que a track, e a coluna inteira estoura a
   página (rolagem horizontal travada no mobile). */
.equipe-painel,
.equipe-indice-wrap {
  min-width: 0;
}

.equipe-painel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.equipe-painel__foto {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-tint);
}
.equipe-painel__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.equipe-painel__info { max-width: 26rem; }

.equipe-painel__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-45);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.equipe-painel__nome {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.625rem;
  color: var(--ink);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.equipe-painel__cargo {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--bordo);
  margin-top: 0.25rem;
}

.equipe-painel__bio {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
  margin-top: 0.85rem;
  max-width: 60ch;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

/* transição curta ao trocar de integrante — nunca move a página
   (fotografia/textos ficam no mesmo lugar, só opacity+translateY) */
.equipe-painel.is-transitioning .equipe-painel__foto img,
.equipe-painel.is-transitioning .equipe-painel__nome,
.equipe-painel.is-transitioning .equipe-painel__bio {
  opacity: 0;
  transform: translateY(10px);
}


/* =========================================================
   HOVER — todo :hover do site fica atrás de (hover: hover) e
   (pointer: fine). Sem isso, navegadores mobile aplicam um
   "hover fantasma" no elemento que cai sob o dedo depois do
   toque — como o jogo troca as opções de pergunta a cada
   clique, esse hover preso ficava marcando uma opção aleatória
   com a cor de destaque antes de qualquer resposta, parecendo
   uma "dica". Em telas sem mouse de verdade, nenhum destes
   estilos deve aparecer — :active já cobre o feedback de toque.
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  .main-nav__list a:hover,
  .main-nav__list a.is-active {
    color: var(--white);
  }

  .main-nav__list a:hover::after,
  .main-nav__list a.is-active::after { transform: scaleX(1); }

  .site-header .btn--solid:hover {
    background: rgba(255, 255, 255, 0.88);
    color: var(--bordo-dark);
  }

  .btn--ghost:hover {
    border-color: var(--bordo);
    color: var(--bordo);
    transform: translateY(-2px);
  }

  .btn--solid:hover::before { transform: translateX(120%); }

  .btn--solid:hover {
    background: var(--bordo-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(109, 1, 1, 0.6);
  }

  .idiomas-trilha__item:hover { background-color: var(--bg-tint); }

  .idiomas-trilha__item:hover .idiomas-trilha__flag { transform: scale(1.12); }

  .idiomas-trilha__link:hover { text-decoration: underline; text-underline-offset: 3px; }

  .metodologia-item:hover { background-color: var(--bg-tint); }

  .metodologia-item:hover .metodologia-item__num { color: var(--bordo); }

  .videos-rail__item:hover { opacity: 0.85; transform: translateY(-3px); }

  .videos-rail__item:hover img { transform: scale(1.08); }

  .location-instagram:hover { color: var(--bordo); }

  .location-map__placeholder:hover { background: var(--bordo-tint); }

  .location-map__placeholder:hover svg { animation-play-state: paused; transform: translateY(-3px); }

  .jogo-lang:hover {
    border-color: var(--lang-cor);
    transform: translateY(-3px);
    box-shadow: 0 12px 22px -16px rgba(23, 19, 15, 0.35);
  }

  .jogo-option:hover:not([disabled]) {
    border-color: var(--lang-cor);
  }

  .jogo-result__cta:hover { animation-play-state: paused; }

  .jogo-result__retry:hover { color: var(--bordo); }

  .cta-final__btn.btn--solid:hover { background: rgba(255, 255, 255, 0.9); }

  .site-footer__nav a:hover { color: var(--white); }

  .site-footer__whatsapp:hover,
  .site-footer__instagram:hover { color: var(--bordo-bright); }

  .video-slide__frame:hover .video-slide__play {
    background: rgba(109, 1, 1, 0.85);
  }

  .video-lightbox__close:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--bordo-bright); transform: rotate(90deg); }

  .equipe-painel__foto:hover img { transform: scale(1.045); }

  .equipe-nav-btn:hover { border-color: var(--bordo); color: var(--bordo); }

  .equipe-indice__item:hover { transform: translateX(3px); gap: 0.8rem; }

  .equipe-indice__item:hover .equipe-indice__nome { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .equipe-painel.is-transitioning .equipe-painel__foto img,
  .equipe-painel.is-transitioning .equipe-painel__nome,
  .equipe-painel.is-transitioning .equipe-painel__bio {
    opacity: 1;
    transform: none;
  }
}

.equipe-indice-wrap { display: flex; flex-direction: column; gap: 1rem; }

.equipe-fallback {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-70);
}
.equipe-fallback strong { color: var(--ink); }
@media (max-width: 640px) {
  .equipe-fallback { grid-template-columns: 1fr; }
}

.equipe-indice-controls { display: flex; gap: 0.6rem; }

.equipe-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.equipe-nav-btn:focus-visible { outline: 2px solid var(--bordo); outline-offset: 2px; }
.equipe-nav-btn svg { width: 18px; height: 18px; }

.equipe-indice {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.15rem 1.5rem;
}

.equipe-indice__item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  width: 100%;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--ink-12);
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  transition: transform 0.25s var(--ease-out), gap 0.25s var(--ease-out);
}

.equipe-indice__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-45);
  flex-shrink: 0;
  width: 1.4rem;
}

.equipe-indice__text { display: flex; flex-direction: column; }

.equipe-indice__nome {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-70);
  transition: color 0.25s var(--ease-out);
}

.equipe-indice__cargo {
  font-size: 0.75rem;
  color: var(--ink-45);
}

.equipe-indice__item[aria-selected="true"] .equipe-indice__nome,
.equipe-indice__item[aria-selected="true"] .equipe-indice__num {
  color: var(--bordo);
}
.equipe-indice__item:focus-visible { outline: 2px solid var(--bordo); outline-offset: 2px; }

@media (max-width: 860px) {
  .equipe-mesa { grid-template-columns: 1fr; }
  /* as fotos são retrato (perto de 3:4) — forçar 4:3 (paisagem)
     aqui cortava o rosto inteiro, sobrando só ombro/crachá. Mantém
     a proporção retrato, só limita a altura em telas mais largas. */
  .equipe-painel__foto { max-width: none; width: 100%; max-height: 60vh; margin-inline: auto; }

  .equipe-indice {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin-inline: calc(-1 * var(--side-pad));
    padding-inline: var(--side-pad);
    scrollbar-width: none;
  }
  .equipe-indice::-webkit-scrollbar { display: none; }
  .equipe-indice__item {
    flex: 0 0 auto;
    width: 43%;
    scroll-snap-align: start;
    border-bottom: none;
    border-right: 1px solid var(--ink-12);
    padding-inline: 0 1rem;
    margin-right: 1rem;
  }
}
