/* LP Pós-Graduação em Análise Existencial e Logoterapia Frankliana
   Base: design "Pagina-Pos-Grad" (Figma, celular 440px). Acima de 900px o layout abre em colunas. */

/* Playfair Display e Poppins (Google Fonts, licença OFL), só o subconjunto latin, servidas pelo nosso domínio. */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-display-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-display-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/playfair-display-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-display-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/poppins-normal-300.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/poppins-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/poppins-normal-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/poppins-normal-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/poppins-normal-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ouro-1: #e9c773;
  --ouro-2: #a4702d;
  --degrade: linear-gradient(90deg, var(--ouro-1), var(--ouro-2));
  --preto: #000;
  --texto: #e6e6e6;
  --texto-2: #d9d9d9;
  --texto-3: #b6b6b6;
  --borda-escura: #44351b;
  --raio: 10px;
  --largura: 440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 600; }

.dourado {
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 38px; padding: 0 28px; min-width: 231px;
  border: 0; border-radius: 100px;
  background: var(--degrade); color: #000;
  font: 600 16px/1 "Poppins", sans-serif; letter-spacing: -0.02em;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.botao:hover { filter: brightness(1.08); transform: translateY(-1px); }
.botao:focus-visible, summary:focus-visible { outline: 2px solid var(--ouro-1); outline-offset: 3px; }
.botao-cta { min-width: 241px; }
.botao-largo { width: 100%; max-width: 339px; }
.botao-contorno { background: transparent; border: 0.5px solid var(--ouro-1); color: #e9e9e9; min-width: 236px; }

/* ---------- topo (hero) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(-27.25deg, #000 45.8%, #a87531 188.7%);
  padding: 316px 20px 44px;
  text-align: center;
}
.hero-foto { position: absolute; top: -57px; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--largura); height: 660px; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }
.hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 32%, #000 80.5%); }
.hero-conteudo { position: relative; max-width: var(--largura); margin: 0 auto; }
.logo-pos {
  width: 230px; height: 111px; margin: 0 auto 16px;
  background: var(--degrade);
  -webkit-mask: url("../img/logo-mask.svg") center / 230px 111px no-repeat;
  mask: url("../img/logo-mask.svg") center / 230px 111px no-repeat;
}
.hero-texto { width: 329px; max-width: 100%; margin: 0 auto 22px; color: var(--texto); }

/* ---------- seções ---------- */
.secao { max-width: var(--largura); margin: 0 auto; padding: 0 20px 48px; text-align: center; }
.titulo { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 0 auto 16px; }
.titulo-estreito { max-width: 240px; }
.subtitulo { max-width: 310px; margin: -4px auto 24px; color: var(--texto); }
.nota { color: #b1b1b1; font-size: 12px; margin: 18px 0 0; }
.texto-justificado { text-align: justify; line-height: 20px; color: var(--texto); }
.texto-estreito { max-width: 295px; margin: 0 auto 24px; }

/* cards de informação */
.infos { display: grid; gap: 10px; padding-top: 4px; }
.info {
  min-height: 140px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 18px 40px; border: 0.5px solid var(--ouro-1); border-radius: var(--raio); background: #000;
}
.info h2 { font-size: 14px; font-weight: 600; margin: 0 0 4px; }
.info p { margin: 0; color: var(--texto-2); max-width: 262px; }

/* números */
.numeros {
  border: 0.3px solid var(--ouro-1); border-radius: var(--raio);
  padding: 18px 20px 26px; display: grid; gap: 20px;
}
.numero strong { display: block; font-size: 54px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.numero span { display: block; max-width: 141px; margin: 0 auto; color: var(--texto-2); }

/* cadastro */
.cadastro form { max-width: 339px; margin: 0 auto; text-align: left; }
.campo { display: block; position: relative; margin-bottom: 14px; border-bottom: 0.5px solid #ccc; }
.campo-rotulo { display: block; font-size: 10px; color: #808080; }
.campo input {
  width: 100%; height: 30px; border: 0; background: transparent; outline: 0;
  color: #fff; font: 300 15px "Poppins", sans-serif;
}
.campo:focus-within { border-bottom-color: var(--ouro-1); }
.campo-telefone .iti { width: 100%; }
/* reserva o espaço da bandeira antes de o campo de telefone carregar (evita o texto pular) */
.campo-telefone input { padding-left: 52px; }
.campo-telefone .iti__selected-flag { padding-left: 0; }
.iti__country-list { color: #222; font-size: 13px; }
.aviso { margin: -4px 0 14px; padding: 12px 14px; border: 1px solid #c09853; border-radius: 4px; background: #fcf8e3; color: #8a6d3b; font-size: 13px; }
.aviso[hidden] { display: none; }
#enviar-cta { margin-top: 10px; }
.girando { width: 16px; height: 16px; border: 2px solid rgba(0,0,0,.25); border-top-color: #000; border-radius: 50%; animation: girar .7s linear infinite; }
.girando[hidden] { display: none; }
@keyframes girar { to { transform: rotate(360deg); } }
.cadastro-nota { text-align: center; line-height: 18px; margin: 12px 0 0; color: var(--texto); }

/* carrosséis */
.carrossel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -20px; padding: 0 calc(50% - 148px) 6px; scrollbar-width: none;
}
.carrossel::-webkit-scrollbar { display: none; }
.carrossel > * { scroll-snap-align: center; flex: 0 0 297px; }

/* depoimentos (vídeos do YouTube; o player só carrega no clique) */
.depoimentos { padding-left: calc(50% - 183px); padding-right: calc(50% - 183px); }
.depoimentos > * { flex-basis: 367px; }
.video {
  position: relative; height: 206px; border: 0; border-radius: var(--raio); padding: 0; cursor: pointer;
  background: #141518 center / cover no-repeat; overflow: hidden;
}
.video::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%, -50%);
  border-radius: 12px; background: #ff0000;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 44'%3E%3Crect width='64' height='44' rx='12'/%3E%3C/svg%3E");
}
.video::before {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-35%, -50%);
  border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff;
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video.tocando::before, .video.tocando::after { display: none; }

/* cartões com foto (professores, livro, filme) */
.cartao {
  position: relative; margin: 0; height: 392.5px; border-radius: var(--raio); overflow: hidden;
  text-decoration: none; color: #fff; text-align: left; background: #111;
}
.cartao img { width: 100%; height: 100%; object-fit: cover; }
.cartao::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 55%, rgba(0,0,0,.75)); }
.cartao figcaption, .cartao .legenda-cartao { position: absolute; left: 20px; right: 16px; bottom: 26px; z-index: 1; }
.cartao strong { display: block; font-size: 18px; line-height: 22px; font-weight: 700; }
.cartao span { display: block; font-size: 12px; line-height: 18px; font-weight: 400; margin-top: 4px; }
.cartao .leve { font-size: 14px; line-height: 22px; font-weight: 300; margin-top: 0; }
.etiqueta {
  display: inline-block; margin-bottom: 4px; padding: 0 9px; height: 19.5px; line-height: 19.5px;
  border-radius: var(--raio); background: var(--degrade); font: normal 600 12px/19.5px "Poppins", sans-serif;
}

/* disciplinas */
.disciplinas { text-align: left; }
.lista-disciplinas {
  list-style: none; margin: 4px 0 0 17px; padding: 0 0 0 19px;
  border-left: 2px solid; border-image: linear-gradient(var(--ouro-1), var(--ouro-2)) 1;
  color: #fff; line-height: 31px;
}

/* academias */
.academias { display: grid; gap: 12px; max-width: 319.5px; margin: 0 auto; }
.academia {
  position: relative; text-align: left; border: 0.2px solid var(--borda-escura); border-radius: var(--raio); background: #000;
  padding-bottom: 18px; isolation: isolate;
}
.academia::before {
  content: ""; position: absolute; z-index: -1; left: -5px; top: 13px; width: 209px; height: 74px; filter: blur(50px);
  background: linear-gradient(135.8deg, rgba(233,199,115,.5) 13%, rgba(164,112,45,.5) 152%);
}
.academia header {
  height: 57px; border-radius: var(--raio) var(--raio) 0 0; text-align: center; padding-top: 5px;
  background: var(--fundo) center / 100% 100% no-repeat, var(--degrade);
}
.academia h3 { margin: 0; color: #fff; font-size: 14px; line-height: 31px; font-weight: 600; }
.academia header p { margin: -8px 0 0; color: #1e1e1e; font-size: 10px; font-weight: 400; }
.selo-ok { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; background: url("../img/academia-v1.svg") center / contain no-repeat; position: relative; }
.selo-ok::after { content: ""; position: absolute; inset: 2px; background: url("../img/academia-v2.svg") center / contain no-repeat; }
.academia > p { margin: 16px 28px 0; font-size: 12px; line-height: 20px; color: var(--texto-3); text-align: justify; }
.academia > p strong { font-weight: 700; }

/* Ítalo */
.italo img { width: 114px; height: auto; margin: 0 auto 14px; }
.italo .texto-justificado { max-width: 334px; margin: 0 auto; }

/* MEC */
.caixa-mec {
  position: relative; isolation: isolate; border: 0.2px solid var(--borda-escura); border-radius: var(--raio); background: #000;
  padding: 18px 40px 28px; max-width: 375px; margin: 0 auto;
}
.brilho::before {
  content: ""; position: absolute; z-index: -1; left: 8px; top: 16px; width: 245px; height: 94px; filter: blur(50px);
  background: linear-gradient(133.5deg, rgba(233,199,115,.5) 13%, rgba(164,112,45,.5) 152%);
}
.caixa-mec .texto-justificado { margin: 0 0 14px; }

/* Frankl */
.frankl-foto { position: relative; max-width: var(--largura); height: 524.5px; margin: 0 auto -50px; border-radius: 20px 20px 0 0; overflow: hidden; }
.frankl-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.frankl-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0), #000); }
.frankl .secao { position: relative; }
.frankl .texto-justificado { max-width: 336px; margin: 0 auto 26px; }

/* perguntas */
.faq { display: grid; gap: 6px; max-width: 379px; margin: 0 auto; text-align: left; }
.faq details {
  border: 0.5px solid var(--ouro-1); border-radius: var(--raio);
  background: linear-gradient(rgba(255,255,255,.03), rgba(255,255,255,.03)), #000;
}
.faq summary {
  list-style: none; cursor: pointer; min-height: 40px; padding: 9px 44px 9px 21px; position: relative;
  line-height: 20px; color: var(--texto);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 12px; height: 12.3px; transform: translateY(-50%);
  background: url("../img/faq-mais.svg") center / contain no-repeat;
}
.faq details[open] summary { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.faq details[open] summary::after { height: 3px; top: 21px; background-image: url("../img/faq-menos.svg"); }
.faq details p { margin: -4px 44px 12px 21px; font-size: 12px; line-height: 18px; color: #b3b3b3; }

/* suporte e rodapé */
.suporte .titulo { max-width: 315px; }
.rodape {
  max-width: var(--largura); margin: 10px auto 0; height: 114px; border-radius: 20px 20px 0 0;
  background: var(--degrade); text-align: center; padding-top: 28px;
}
.redes { position: relative; width: 187px; height: 23px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.redes img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.redes a { position: relative; display: block; }
.rodape p { margin: 7px 0 0; color: #000; font-size: 12px; line-height: 26px; font-weight: 400; }

/* ---------- telas largas ---------- */
@media (min-width: 900px) {
  :root { --largura: 1040px; }
  body { font-size: 15px; }
  .hero { min-height: 640px; padding: 120px 20px 70px; text-align: left; background: linear-gradient(-27.25deg, #000 45.8%, #a87531 160%); }
  .hero-foto { left: auto; right: max(0px, calc(50% - 560px)); transform: none; width: 520px; max-width: none; height: 780px; top: -80px; }
  .hero-foto::after { background: linear-gradient(to right, #000 0%, rgba(0,0,0,0) 35%), linear-gradient(to bottom, rgba(0,0,0,0) 55%, #000 95%); }
  .hero-conteudo { max-width: 1040px; }
  .logo-pos { width: 345px; height: 166px; margin: 0 0 24px; -webkit-mask-size: 345px 166px; mask-size: 345px 166px; }
  .hero-texto { width: 440px; margin: 0 0 30px; font-size: 17px; line-height: 1.5; }

  .secao { padding-bottom: 72px; }
  .titulo { font-size: 28px; line-height: 36px; }
  .titulo-estreito { max-width: 420px; }
  .infos { grid-template-columns: repeat(3, 1fr); }
  .numeros { grid-template-columns: repeat(5, 1fr); align-items: start; padding: 32px 24px; }
  .cadastro form { max-width: 440px; }
  .carrossel { margin: 0; padding: 0 0 6px; justify-content: safe center; }
  .depoimentos { padding: 0 0 6px; }
  .disciplinas { max-width: 760px; }
  .lista-disciplinas { columns: 2; column-gap: 48px; }
  .academias { grid-template-columns: repeat(3, 1fr); max-width: 1040px; align-items: start; }
  .italo .texto-justificado, .texto-estreito { max-width: 640px; }
  .caixa-mec { max-width: 560px; }
  .frankl { display: grid; grid-template-columns: 440px 480px; justify-content: center; align-items: end; gap: 60px; max-width: 1040px; margin: 0 auto 72px; }
  .frankl-foto { margin: 0; border-radius: 20px; }
  .frankl .secao { padding: 0 0 40px; }
  .frankl .texto-justificado { max-width: none; }
  .faq { max-width: 760px; }
  .rodape { max-width: none; border-radius: 20px 20px 0 0; }
}

/* ícone do WhatsApp no botão de suporte */
.icone-wpp { flex: 0 0 auto; }

/* ---------- controles dos carrosséis (setas, bordas esmaecidas, pontos, arrastar) ---------- */
.carrossel-wrap { position: relative; }
.carrossel-wrap.tem-mais .carrossel { cursor: grab; }
.carrossel-wrap.arrastando .carrossel { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carrossel-wrap.arrastando .carrossel * { pointer-events: none; }
.carrossel-wrap::before, .carrossel-wrap::after {
  content: ""; position: absolute; top: 0; bottom: 6px; width: 56px; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity .25s ease;
}
.carrossel-wrap::before { left: -20px; background: linear-gradient(to right, #000 15%, rgba(0,0,0,0)); }
.carrossel-wrap::after { right: -20px; background: linear-gradient(to left, #000 15%, rgba(0,0,0,0)); }
.carrossel-wrap.mais-esquerda::before, .carrossel-wrap.mais-direita::after { opacity: 1; }
.carrossel-seta {
  position: absolute; top: 50%; z-index: 3; width: 38px; height: 38px; margin-top: -22px; padding: 0;
  border: 0; border-radius: 50%; background: var(--degrade); color: #000; cursor: pointer;
  display: none; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.6);
  transition: opacity .2s ease, transform .15s ease;
}
.carrossel-seta svg { width: 18px; height: 18px; }
.carrossel-seta:hover { transform: scale(1.08); }
.carrossel-seta:focus-visible { outline: 2px solid var(--ouro-1); outline-offset: 3px; }
.carrossel-seta[disabled] { opacity: 0; pointer-events: none; }
.carrossel-seta.anterior { left: -8px; }
.carrossel-seta.proxima { right: -8px; }
.carrossel-wrap.tem-mais .carrossel-seta { display: grid; }
.carrossel-pontos { display: none; justify-content: center; gap: 0; margin-top: 8px; }
.carrossel-wrap.tem-mais + .carrossel-pontos { display: flex; }
/* o botão tem 24px para o dedo acertar; o ponto visível é o ::before */
.carrossel-pontos button {
  width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.carrossel-pontos button::before {
  content: ""; width: 8px; height: 8px; border-radius: 8px; background: #3a3a3a;
  transition: width .25s ease, background .25s ease;
}
.carrossel-pontos button.ativo { width: 32px; }
.carrossel-pontos button.ativo::before { width: 24px; background: var(--degrade); }
.carrossel-dica { display: none; margin: 10px 0 0; font-size: 12px; color: #8c8c8c; }
.carrossel-wrap.tem-mais ~ .carrossel-dica { display: block; }

@media (min-width: 900px) {
  .carrossel-seta { width: 48px; height: 48px; margin-top: -27px; }
  .carrossel-seta svg { width: 22px; height: 22px; }
  .carrossel-seta.anterior { left: -24px; }
  .carrossel-seta.proxima { right: -24px; }
  .carrossel-wrap::before { left: 0; width: 90px; }
  .carrossel-wrap::after { right: 0; width: 90px; }
  .carrossel-dica { display: none !important; }
}

/* academias: 6 cards; no desktop, 3 por linha com a mesma altura */
.academias + * { margin-top: 0; }
@media (min-width: 900px) { .academias { align-items: stretch; } }

/* Instituto Em Rota: logos e serviços */
.instituto .nota { max-width: 320px; margin: 16px auto 0; font-size: 12px; line-height: 18px; }
.ecossistema { display: grid; gap: 12px; max-width: 367px; margin: 32px auto 0; text-align: left; }
.eco-item {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  padding: 22px 24px; border: 0.2px solid var(--borda-escura); border-radius: var(--raio); background: #070605;
}
.eco-item img { width: auto; max-height: 80px; }
.eco-item p { margin: 0; font-size: 13px; line-height: 19px; color: var(--texto-3); }
.eco-item strong { display: block; margin-bottom: 2px; font-size: 14px; color: var(--ouro-1); font-weight: 600; }
.eco-linha { grid-template-columns: 48px 1fr; justify-items: start; align-items: center; text-align: left; }
.eco-linha img { width: 48px; height: 48px; }

@media (min-width: 900px) {
  .instituto .nota { max-width: 560px; }
  .ecossistema { max-width: 1040px; grid-template-columns: repeat(12, 1fr); }
  .eco-item { grid-column: span 3; align-content: start; }
  .eco-linha { grid-column: span 6; }
}

/* botão do formulário ocupa a largura dos campos (fica centralizado também no desktop) */
#form-cadastro .botao-largo { display: flex; width: 100%; max-width: none; }

/* Frankl: bloco editorial (serifada do logo + itens numerados) */
.frankl-texto { max-width: 336px; margin: 0 auto 30px; text-align: left; }
.frankl-chamada {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ouro-1);
}
.frankl-chamada::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--ouro-2), rgba(164,112,45,0)); }
.frankl-destaque {
  margin: 0 0 22px; font-family: "Playfair Display", Georgia, serif; font-weight: 400;
  font-size: 25px; line-height: 1.32; letter-spacing: -0.01em; color: #f3ead8;
}
.frankl-destaque em { font-style: italic; color: var(--ouro-1); }
.frankl-intro { margin: 0 0 14px; font-size: 14px; color: var(--texto-3); }
.frankl-pontos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.frankl-pontos li {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  padding-top: 14px; border-top: 0.5px solid rgba(233,199,115,.35); font-size: 15px; line-height: 1.5; color: var(--texto);
}
.frankl-pontos span { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 22px; color: var(--ouro-1); }

@media (min-width: 900px) {
  .frankl { align-items: center; }
  .frankl .secao { padding: 0; }
  .frankl-texto { max-width: 470px; margin: 0 0 36px; }
  .frankl-chamada { font-size: 12px; margin-bottom: 26px; }
  .frankl-destaque { font-size: 34px; line-height: 1.28; margin-bottom: 30px; }
  .frankl-intro { font-size: 15px; margin-bottom: 18px; }
  .frankl-pontos { gap: 18px; }
  .frankl-pontos li { font-size: 17px; padding-top: 18px; grid-template-columns: 54px 1fr; }
  .frankl-pontos span { font-size: 26px; }
  .frankl .botao-largo { max-width: 340px; }
}

/* símbolo do Em Rota acima do título do Instituto (vetor, pintado com o degradê dourado) */
.logo-emrota {
  width: 120px; height: 160px; margin: 0 auto 18px;
  background: var(--degrade);
  -webkit-mask: url("../img/logo-em-rota.svg?v=20261023120256") center / contain no-repeat;
  mask: url("../img/logo-em-rota.svg?v=20261023120256") center / contain no-repeat;
}

/* academias em carrossel (usa os mesmos controles dos outros carrosséis) */
.carrossel.academias {
  display: flex; gap: 12px; align-items: stretch; max-width: none; grid-template-columns: none;
  margin: 0 -20px; padding: 6px calc(50% - 150px) 12px;
}
.carrossel.academias > .academia { flex: 0 0 300px; }
@media (min-width: 900px) {
  .carrossel.academias { margin: 0; padding: 6px 0 12px; }
  .carrossel.academias > .academia { flex-basis: 320px; }
}

/* foto do(s) professor(es) da academia, em bolinha no canto inferior direito do card */
.carrossel.academias > .academia { position: relative; padding-bottom: 78px; }
.academia-profs { position: absolute; right: 16px; bottom: 16px; display: flex; }
.academia-profs img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #111;
  border: 2px solid #000; box-shadow: 0 0 0 1.5px var(--ouro-1), 0 6px 16px rgba(0,0,0,.6);
}
.academia-profs img + img { margin-left: -14px; }
.academia header p.em-breve { font-weight: 600; letter-spacing: .02em; }

/* ---------- barra flutuante com chamada para o formulário ---------- */
.barra-flutuante {
  position: fixed; left: 50%; bottom: 16px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: max-content; max-width: calc(100% - 24px);
  padding: 10px 10px 10px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
  background: rgba(28,28,29,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transform: translate(-50%, 0); opacity: 1;
  transition: transform .45s ease, opacity .45s ease;
}
.barra-flutuante.oculta { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
.barra-logo {
  flex: 0 0 auto; width: 92px; height: 44px; background: var(--degrade);
  -webkit-mask: url("../img/logo-mask.svg") center / contain no-repeat;
  mask: url("../img/logo-mask.svg") center / contain no-repeat;
}
.barra-botao {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px;
  border-radius: 10px; background: var(--degrade); color: #000; text-decoration: none; white-space: nowrap;
  font: 600 15px/1 "Poppins", sans-serif; letter-spacing: -0.01em;
  transition: filter .15s ease;
}
.barra-botao:hover { filter: brightness(1.08); }
.barra-botao:focus-visible { outline: 2px solid var(--ouro-1); outline-offset: 3px; }
@media (max-width: 420px) {
  .barra-flutuante { width: calc(100% - 24px); gap: 12px; padding-left: 14px; }
  .barra-logo { width: 78px; height: 38px; }
  .barra-botao { flex: 1; padding: 0 14px; font-size: 14px; height: 44px; }
}
@media (min-width: 900px) {
  .barra-flutuante { bottom: 24px; gap: 28px; padding: 12px 12px 12px 22px; }
  .barra-logo { width: 104px; height: 50px; }
  .barra-botao { height: 52px; padding: 0 34px; font-size: 16px; }
}

/* ---------- números (slide "Sobre nós") ---------- */
.numeros { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 22px; }
.numero strong { font-size: 40px; }
.numero span { max-width: 160px; }
.numero-largo { grid-column: 1 / -1; }
.numero-largo span { max-width: 260px; }
@media (min-width: 900px) {
  .numeros { grid-template-columns: repeat(5, 1fr); row-gap: 30px; padding: 36px 24px; }
  .numero strong { font-size: 44px; }
  .numero-largo { grid-column: auto; }
  .numero-largo span { max-width: 170px; }
}

/* ---------- Fator NPS ---------- */
.nps { margin-top: 18px; padding: 26px 20px 22px; border: 0.3px solid var(--ouro-1); border-radius: var(--raio); text-align: left; }
.nps-topo { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.nps-titulo { margin: 0; font-size: 20px; font-weight: 600; }
.nps-nota { font-size: 54px; line-height: 1; font-weight: 600; }
.nps-legenda { margin: 6px 0 22px; font-size: 13px; color: var(--texto-3); }
.nps-escala { position: relative; padding-top: 58px; }
.nps-estrelas { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }
.nps-estrelas span {
  width: 30px; height: 30px; background: var(--degrade);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.9 7.4.7-5.6 5 1.7 7.4L12 17.7l-6.6 3.8 1.7-7.4-5.6-5 7.4-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.9 7.4.7-5.6 5 1.7 7.4L12 17.7l-6.6 3.8 1.7-7.4-5.6-5 7.4-.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0; transform: scale(.4) translateY(8px); transition: opacity .4s ease, transform .5s cubic-bezier(.3,1.6,.5,1);
}
.nps.animado .nps-estrelas span { opacity: 1; transform: none; }
.nps.animado .nps-estrelas span:nth-child(1) { transition-delay: .75s; }
.nps.animado .nps-estrelas span:nth-child(2) { transition-delay: .9s; }
.nps.animado .nps-estrelas span:nth-child(3) { transition-delay: 1.05s; }
.nps.animado .nps-estrelas span:nth-child(4) { transition-delay: 1.2s; }
.nps.animado .nps-estrelas span:nth-child(5) { transition-delay: 1.35s; }
.nps-barra {
  position: relative; height: 26px; padding: 3px; border: 1px solid rgba(255,255,255,.45); border-radius: 5px; overflow: hidden;
  background: linear-gradient(90deg, #ff2d2d 0%, #ff3b30 40%, #ff7a3c 52%, #ffd75a 66%, #c8c24a 76%, #2f8a1e 87.5%, #0a7a0a 100%) content-box;
}
.nps-cobre {
  position: absolute; top: 0; bottom: 0; right: 0; width: 100%; background: #0c0b0a;
  transition: width 1.8s cubic-bezier(.22,.8,.2,1) .2s;
}
.nps.animado .nps-cobre { width: 2%; } /* NPS 96 numa escala de −100 a 100 = 98% da barra */
.nps-marca { position: absolute; left: calc(var(--pos) - 1px); top: 22px; bottom: 30px; border-left: 1px solid rgba(233,199,115,.7); opacity: 0; transition: opacity .5s ease 1.8s; }
.nps-marca span { position: absolute; right: 6px; top: -4px; white-space: nowrap; font-size: 12px; color: var(--ouro-1); }
.nps.animado .nps-marca { opacity: 1; }
.nps-numeros { list-style: none; display: flex; justify-content: space-between; margin: 8px 0 0; padding: 0; font-size: 15px; font-weight: 400; }
.nps-numeros li { width: 0; display: flex; justify-content: center; }
.nps-numeros li:first-child { justify-content: flex-start; }
.nps-numeros li:last-child { justify-content: flex-end; }
.nps-numeros li:nth-child(-n+5) { color: #ff3b30; }
.nps-numeros li:nth-child(6), .nps-numeros li:nth-child(7) { color: #ffd75a; }
.nps-numeros li:nth-child(n+8) { color: #2f9a1e; }
/* celular: só −100, −50, 0, 50 e 100, para os números não se encostarem */
.nps-numeros li:nth-child(even) { visibility: hidden; }
.nps-explicacao { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--texto-3); }
.nps-explicacao-icone { flex: none; margin-top: 2px; color: var(--ouro-1); }
@media (min-width: 900px) {
  .nps { padding: 32px 40px 28px; }
  .nps-titulo { font-size: 24px; }
  .nps-nota { font-size: 64px; }
  .nps-estrelas span { width: 38px; height: 38px; }
  .nps-escala { padding-top: 70px; }
  .nps-marca { top: 26px; }
  .nps-marca span { font-size: 14px; }
  .nps-barra { height: 34px; }
  .nps-numeros { font-size: 20px; }
  .nps-numeros li:nth-child(even) { visibility: visible; }
  .nps-explicacao { font-size: 14px; max-width: 700px; }
}
@media (prefers-reduced-motion: reduce) {
  .nps-cobre, .nps-estrelas span, .nps-marca { transition: none; }
}

/* celular e telas de toque: números sempre um embaixo do outro */
@media (max-width: 899px), (hover: none) and (pointer: coarse) {
  .numeros { grid-template-columns: 1fr; row-gap: 22px; padding: 26px 20px; }
  .numero, .numero-largo { grid-column: auto; display: block; text-align: center; }
  .numero strong { font-size: 46px; }
  .numero span, .numero-largo span { max-width: 260px; margin: 0 auto; }
}

/* NPS logo abaixo dos depoimentos */
#depoimentos .nps { margin-top: 28px; }
@media (max-width: 599px) {
  .nps-estrelas { justify-content: flex-start; gap: 8px; }
  .nps-estrelas span { width: 26px; height: 26px; }
  .nps-marca span { font-size: 11px; }
}

/* disciplinas: título centralizado como os demais; a lista fica alinhada à esquerda, num bloco centralizado */
.disciplinas { text-align: center; }
.disciplinas .lista-disciplinas { display: inline-block; text-align: left; margin: 4px auto 0; }
@media (min-width: 900px) { .disciplinas .lista-disciplinas { display: block; max-width: 760px; } }

/* desktop: foto do topo sem bordas aparentes (máscara com degradê nos quatro lados) */
@media (min-width: 900px) {
  .hero-foto {
    width: 700px; height: auto; top: -40px; bottom: 0; right: max(-60px, calc(50% - 680px));
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 32%, #000 70%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 14%, #000 68%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 32%, #000 70%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, #000 14%, #000 68%, transparent 100%);
    mask-composite: intersect;
  }
  .hero-foto img { object-position: 50% 30%; }
  .hero-foto::after { background: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* NPS: aviso de marca registrada, discreto */
.nps-marcas { margin: 14px 0 0; font-size: 11px; line-height: 1.5; font-style: italic; color: #7a7a7a; }
.nps-topo { flex-wrap: wrap; }

/* Instituto: missão + bloco "Universo Em Rota" */
.instituto-missao {
  max-width: 340px; margin: 0 auto 40px; text-align: center;
  font-family: "Playfair Display", Georgia, serif; font-size: 20px; line-height: 1.45; color: #f3ead8;
}
.universo { position: relative; padding-top: 34px; border-top: 0.5px solid rgba(233,199,115,.35); }
.universo-rotulo {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); margin: 0; padding: 0 14px; background: #000;
  white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ouro-1);
}
.universo-intro { max-width: 330px; margin: 0 auto 26px; font-size: 14px; line-height: 1.55; color: var(--texto); }
@media (min-width: 900px) {
  .instituto-missao { max-width: 760px; font-size: 26px; margin-bottom: 56px; }
  .universo { padding-top: 44px; }
  .universo-rotulo { font-size: 13px; }
  .universo-intro { max-width: 620px; font-size: 16px; margin-bottom: 32px; }
}

/* Instituto Em Rota numa faixa própria, de ponta a ponta, para descolar das seções da pós */
.faixa-instituto {
  position: relative; margin: 24px 0 72px; padding: 72px 0 8px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(201,150,58,.28), rgba(0,0,0,0) 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(164,112,45,.14), rgba(0,0,0,0) 70%),
    linear-gradient(180deg, #120d07 0%, #0a0806 55%, #060504 100%);
}
.faixa-instituto::before, .faixa-instituto::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, rgba(233,199,115,0), rgba(233,199,115,.55) 50%, rgba(233,199,115,0));
}
.faixa-instituto::before { top: 0; }
.faixa-instituto::after { bottom: 0; }
/* textura sutil de grão */
.faixa-instituto .instituto { position: relative; }
.faixa-instituto {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(201,150,58,.28), rgba(0,0,0,0) 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(164,112,45,.14), rgba(0,0,0,0) 70%),
    linear-gradient(180deg, #120d07 0%, #0a0806 55%, #060504 100%);
}
/* rótulo "Universo Em Rota" com linhas próprias (sem depender da cor do fundo) */
.universo { padding-top: 0; border-top: 0; }
.universo-rotulo {
  position: static; transform: none; background: none; padding: 0; margin: 0 0 22px;
  display: flex; align-items: center; gap: 16px;
}
.universo-rotulo::before, .universo-rotulo::after { content: ""; flex: 1; height: 1px; background: rgba(233,199,115,.35); }
/* a sombra dos cartões e caixas combina com o fundo novo */
.faixa-instituto .eco-item { background: rgba(0,0,0,.45); }
@media (min-width: 900px) {
  .faixa-instituto { padding-top: 96px; margin-bottom: 96px; }
  .universo-rotulo { margin-bottom: 28px; }
}
