body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #081B30;
  overflow-x: hidden;
}

/* ========================== */
/* BANNER PRINCIPAL */
/* ========================== */
.galileo-custom-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('https://galileoedu.com.br/moodle/theme/alpha/pix/alpha/custom/roboo.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
  margin: 0 auto;
}

/* Overlay escuro */
.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Fade inferior */
.fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #081B30 100%);
  z-index: 2;
}

/* Fade superior */
.fade-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, #081B30 100%);
  z-index: 2;
}

.banner-content {
  position: absolute;
  bottom: 6%;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  z-index: 3;
  transform: translateX(-0.5%) scale(1.3);
}

.banner-text-container {
  padding: clamp(0.5rem, 2vw, 1rem);
  max-width: clamp(300px, 43%, 700px);
  margin-left: clamp(10px, 4vw, 30px);
  position: relative;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
}

.banner-title {
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  margin: 0;
  line-height: 1;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.banner-title.highlight {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  color: #ffffff !important;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9);
  margin-top: 0.5rem;
}

.banner-slogan {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: #ffffff;
  margin-top: 1rem;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.4s;
  animation-fill-mode: forwards;
}

.linha-separadora {
  height: 3px;
  background-color: white;
  margin: 12px auto 16px auto;
  border-radius: 2px;
}


/* Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================== */
/* TOPBAR ELEGANTE */
/* ========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #081B30;
}

.rui-topbar-wrapper {
  height: 72px;
  /* ou 64px, você escolhe o padrão */
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 10;
}



/* Lado esquerdo */
.rui-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.rui-logo img {
  height: auto;
  max-height: 150px;
}


.rui-topbar-options {
  display: flex;
  gap: 24px;
}

.rui-option {
  text-decoration: none;
  color: #ffffff;
  font-size: 17px;
  /* ⬅️ Aumentado */
  font-weight: 700;
  /* ⬅️ Mais grosso */
  position: relative;
  transition: color 0.3s ease;
}


.rui-option::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: #66aaff;
  transition: width 0.3s;
}

.rui-option:hover::after {
  width: 100%;
}

.rui-option:hover {
  color: #2374bb;
}

.rui-option.ativo {
  color: #2374bb;
}

.rui-option.ativo::after {
  width: 100%;
}


/* Lado direito: botão */
.rui-right {
  display: flex;
  align-items: center;
}

.rui-login-btn {
  background-color: white;
  color: #254c89;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s ease;
  text-decoration: none;
  margin-right: 55px;
}

.rui-login-btn:hover {
  background-color: #e0e0e0;
}

.rui-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  /* espaço entre logo e barrinha */
}

.rui-logo-divider {
  width: 2px;
  height: 32px;
  background-color: white;
  opacity: 0.8;
  border-radius: 1px;
}

.quesitos-container {
  position: absolute;
  top: 53%;
  right: 100px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 5;
}

.quesito {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.bolinha {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  /* bolinha visível */
}

.fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: var(--cor);
  transition: height 0.6s ease;
  z-index: 2;
  /* sobe por cima do fundo branco */
}

.quesito:hover .fill {
  height: 100%;
}

.core {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: white;
  z-index: 1;
  /* fundo fixo */
}

.texto-curvado {
  position: absolute;
  width: 200px;
  height: 200px;
  top: -20px;
  left: -20.5px;
  z-index: 5;
  /* Acima de tudo */
  pointer-events: none;
}


.explicacao {
  position: absolute;
  right: 90px;
  /* Aparece à esquerda da bolinha */
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 1);
  padding: 16px 60px 16px 32px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
  min-width: 700px;
  max-width: 700px;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  border: 3px solid var(--cor);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2px;

}

.quesito:hover .explicacao,
.quesito.selecionado .explicacao {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(-10px);
}


.titulo-cursos {
  position: absolute;
  bottom: 10px;
  left: 60px;
  font-size: 80px;
  font-weight: 800;
  width: 870px;
  color: white;
  z-index: 6;

  /* Aumenta a intensidade do destaque */
  text-shadow:
    2px 2px 10px rgba(0, 0, 0, 0.6),
    0 0 15px rgba(255, 255, 255, 0.2);

  /* Animação de entrada suave (opcional) */
  opacity: 0;
  transform: translateY(-20px);
  animation: apareceTitulo 1s ease-out forwards;
}

@keyframes apareceTitulo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.titulo-cursos .destaque-cursos {
  font-size: 96px;
  font-weight: 900;
}

.quesito {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;

  /* Efeito de entrada */
  opacity: 0;
  transform: translateY(20px);
  animation: apareceQuesito 0.8s ease-out forwards;
}

.quesito:nth-child(1) {
  animation-delay: 1s;
}

.quesito:nth-child(2) {
  animation-delay: 1.4s;
}

.quesito:nth-child(3) {
  animation-delay: 1.8s;
}

.quesito:nth-child(4) {
  animation-delay: 2.2s;
}

@keyframes apareceQuesito {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carrossel-cursos {
  position: absolute;
  top: 170px;
  left: 60px;
  width: 43.5vw;
  padding-top: 20px;
  overflow: hidden;
  z-index: 7;

  /* Ocultar inicialmente com transição */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.carrossel-cursos.ativo {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.carrossel-inner {
  display: flex;
  gap: 50px;
  width: max-content;
}

.quesito.selecionado .fill {
  height: 100%;
}


.carrossel-inner img {
  width: 280px;
  height: auto;
  border-radius: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}


.fade-left {
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 8;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(13, 18, 30, 1), rgba(13, 18, 30, 0));
}

.barra-merito {
  position: absolute;
  top: 0;
  right: 0;
  /* gruda do lado direito da wrapper */
  width: 8px;
  height: 100%;
  background-color: rgb(247, 148, 29);
  /* cor do mérito científico */
  z-index: 8;
  /* acima do fade se necessário */
  border-radius: 4px;
}

.barra-metodo{
  position: absolute;
  top: 0;
  right: 0;
  /* gruda do lado direito da wrapper */
  width: 8px;
  height: 100%;
  background-color: rgb(241, 90, 41);;
  /* cor do mérito científico */
  z-index: 8;
  /* acima do fade se necessário */
  border-radius: 4px;
}

.barra-tec{
  position: absolute;
  top: 0;
  right: 0;
  /* gruda do lado direito da wrapper */
  width: 8px;
  height: 100%;
  background-color: rgb(237, 30, 121);;
  /* cor do mérito científico */
  z-index: 8;
  /* acima do fade se necessário */
  border-radius: 4px;
}

.barra-desenvolvimento{
  position: absolute;
  top: 0;
  right: 0;
  /* gruda do lado direito da wrapper */
  width: 8px;
  height: 100%;
  background-color: rgb(102, 45, 145);;
  /* cor do mérito científico */
  z-index: 8;
  /* acima do fade se necessário */
  border-radius: 4px;
}

.titulo-quesito {
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 6px;
  text-transform: uppercase;
  color: var(--cor);
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
}

.sigla {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 55px;
  color: var(--cor); /* cor padrão da bolinha */
  transition: color 0.3s ease;
  z-index: 3; /* Fica acima da bolinha */
}

/* Quando a bolinha é preenchida, muda a cor do texto para branco */
.quesito:hover .sigla,
.quesito.selecionado .sigla {
  color: white;
}

.card-curso {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.card-curso::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0); /* invisível no início */
  transition: background-color 0.3s ease;
  z-index: 1;
  border-radius: 20px;
}

.card-curso:hover::after {
  background-color: rgba(0, 0, 0, 0.4); /* escurece ao passar o mouse */
}

.card-curso:hover {
  transform: translateY(-10px);
}

/* botão por cima da camada escura */
.card-curso img {
  width: 280px;
  height: auto;
  display: block;
  border-radius: 20px;
  position: relative;
  z-index: 0;
}

.btn-saiba-mais {
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}



.card-curso:hover .btn-saiba-mais {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 1);
}

.card-curso.cor-merito .btn-saiba-mais {
  background-color: #ffaa00;
}

.card-curso.cor-metodo .btn-saiba-mais {
  background-color: rgb(241, 90, 41);
}

.card-curso.cor-tec .btn-saiba-mais {
  background-color: rgb(237, 30, 121);
}

.card-curso.cor-desenvolvimento .btn-saiba-mais {
  background-color: rgb(102, 45, 145);
}

.conteudo-curso {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 80px 20px;
    color: white;
}

.video-wrapper {
    max-width: 1100px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 4;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.titulo-curso {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.descricao {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.botoes-curso {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.botao-voltar,
.botao-acessar {
    padding: 12px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: all 0.3s ease;
}

/* Botão branco (Voltar) */
.botao-voltar.branco {
    background-color: white;
    color: #333;
    border: 2px solid #ddd;
}
.botao-voltar.branco:hover {
    background-color: #f1f1f1;
}

/* Botão laranja (Acessar Curso) */
.botao-acessar.laranja {
    background-color: #f7941d;
    color: white;
}
.botao-acessar.laranja:hover {
    background-color: #d97905;
}

.botao-acessar.vermelho {
    background-color: rgb(241, 90, 41);
    color: white;
}
.botao-acessar.vermelho:hover {
    background-color: rgb(204, 77, 35);
}

.botao-acessar.rosa {
    background-color: rgb(237, 30, 121);
    color: white;
}
.botao-acessar.rosa:hover {
    background-color: rgb(190, 24, 96);
}

.botao-acessar.roxo {
    background-color: rgb(102, 45, 145);
    color: white;
}
.botao-acessar.roxo:hover {
    background-color: rgb(82, 37, 117);
}

#bg-video-desktop{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 63%; /* 🔼 mostra mais o topo do vídeo */
  z-index: -1;
}

#bg-video-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 93vh;
  object-fit: cover;
  object-position: center center; /* centraliza melhor para vertical */
  z-index: -1;
  overflow: hidden;
}




