@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=DM+Sans:wght@400;500;700;800&family=Inter:wght@400;500;700&family=Lato:wght@400;700&family=League+Spartan:wght@400;500;700&family=Montserrat:wght@400;700;800&display=swap');

/* ========================================
   PrismaCursos — Estilos principais
   ========================================
   Se preferir editar em SCSS, use a pasta /scss
   e compile com o script compilar-scss.sh
   ======================================== */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta de cores — altere aqui para mudar o tema inteiro */
  --cor-primaria: #6c5ce7;
  --cor-secundaria: #a29bfe;
  --cor-fundo: #121212;
  --cor-superficie: #1a1a2e;
  --cor-texto: #e0e0e0;
  --cor-texto-claro: #b0b0b0;
  --cor-destaque: #fd79a8;

  /* Tipografia */
  --fonte-principal: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fonte-titulo: 'League Spartan', sans-serif;
  --fonte-corpo: 'DM Sans', sans-serif;

  /* Espaçamentos */
  --espacamento-sm: 0.5rem;
  --espacamento-md: 1rem;
  --espacamento-lg: 2rem;
  --espacamento-xl: 4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-principal);
  background-color: var(--cor-fundo);
  color: var(--cor-texto);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--cor-secundaria);
  text-decoration: none;
  transition: color 0.3s ease;
}



/* ---------- Header / Navbar ---------- */
#header {
  background-color: #000000;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  padding: 0 50px;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  height: 100%;
}

.logo:hover {
  opacity: 0.85;
  color: inherit;
}

.logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.logo-text {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 44px;
  line-height: 44px;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

/* --- Hamburger --- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 44px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
  z-index: 200;
}

.hamburger-line {
  display: block;
  width: 44px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 0;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.25s ease;
  transform-origin: center center;
  flex-shrink: 0;
}

/* Hamburger animação → X */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(16px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-16px) rotate(-45deg);
}

/* --- Menu Overlay --- */
.menu-overlay {
  position: absolute;
  top: 80px;
  right: 50px;
  width: 330px;
  background-color: #000000;
  border: none;
  border-radius: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 0.3s ease,
              visibility 0.3s ease,
              transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  z-index: 150;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* --- Menu List --- */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.menu-item {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  height: 52px;
  background-color: #000000;
}

.menu-overlay.open .menu-item {
  opacity: 1;
  transform: translateX(0);
}

/* Delays escalonados para cada item */
.menu-overlay.open .menu-item:nth-child(1) { transition-delay: 0.05s; }
.menu-overlay.open .menu-item:nth-child(2) { transition-delay: 0.10s; }
.menu-overlay.open .menu-item:nth-child(3) { transition-delay: 0.15s; }
.menu-overlay.open .menu-item:nth-child(4) { transition-delay: 0.20s; }
.menu-overlay.open .menu-item:nth-child(5) { transition-delay: 0.25s; }
.menu-overlay.open .menu-item:nth-child(6) { transition-delay: 0.30s; }

.menu-link {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 5px 20px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  background-color: #000000;
  gap: 32px;
}

.menu-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ffffff;
  transition: color 0.2s ease;
  flex-shrink: 0;
  line-height: 42px;
}

.menu-label {
  font-family: var(--fonte-corpo);
  font-weight: 400;
  font-size: 32px;
  line-height: 42px;
  color: #ffffff;
}

/* ---------- Responsividade Header ---------- */
@media (max-width: 768px) {
  #header {
    height: 60px;
  }

  #navbar {
    height: 60px;
    padding: 0 16px;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    display: none; /* Mobile header doesn't show text in Figma */
  }

  .hamburger {
    width: 32px;
    height: 24px;
  }

  .hamburger-line {
    width: 32px;
    height: 3px;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
  }

  .menu-overlay {
    top: 60px;
    right: 16px;
    width: calc(100vw - 32px);
    max-width: 320px;
  }

  .menu-item {
    height: auto;
  }

  .menu-link {
    padding: 12px 20px;
    gap: 16px;
  }

  .menu-icon {
    width: 24px;
    height: 24px;
    font-size: 20px;
    line-height: 24px;
  }

  .menu-label {
    font-size: 20px;
    line-height: 24px;
  }
}

/* ===========================================
   QUIZ SECTION
   =========================================== */
.quiz-section {
  position: relative;
  background-color: #121212;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 31px 19px 90px;
  gap: 48px;
}



/* --- Quiz Step (cada tela de pergunta) --- */
.quiz-step {
  display: none !important;
}

.quiz-step.active {
  display: contents !important;
}

/* Animations for children of active steps */
.quiz-step.active .quiz-question {
  animation: quizSlideInQuestion 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.quiz-step.active .quiz-options {
  animation: quizSlideInOptions 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.quiz-step.active .quiz-result__image-wrapper {
  animation: quizSlideInOptions 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes quizSlideInQuestion {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quizSlideInOptions {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Pergunta --- */
.quiz-question {
  font-family: var(--fonte-corpo);
  font-size: clamp(24px, 7.5vw, 32px);
  font-weight: 700;
  color: #EFEFEF;
  text-align: center;
  line-height: 42px;
  max-width: 342px;
  order: 1;
}

/* --- Barra de progresso --- */
.quiz-progress {
  position: relative;
  width: 100%;
  max-width: 342px;
  height: 30px;
  border-radius: 90px;
  overflow: hidden;
  order: 2;
  margin: 0 auto;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.quiz-progress__track {
  position: absolute;
  inset: 0;
  background-color: #EFEFEF;
  border-radius: 90px;
}

.quiz-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 90px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gradientes das barras em cada step */
#quiz-global-progress[data-step="1"] .quiz-progress__fill {
  background: linear-gradient(90deg, #FF0000 50%, #FFFF07 100%);
}

#quiz-global-progress[data-step="2"] .quiz-progress__fill {
  background: linear-gradient(90deg, #FF0000 25%, #FFFF07 59%, #2BFF00 71%, #1A38FF 100%);
}

#quiz-global-progress[data-step="3"] .quiz-progress__fill {
  background: linear-gradient(
    90deg,
    #FF0000 17%,
    #FFFF07 40%,
    #2BFF00 44%,
    #1A38FF 65%,
    #850099 100%
  );
}

#quiz-global-progress[data-step="3"] .quiz-progress__track {
  background-color: #FFFFFF;
}

/* --- Opções de resposta (grupo) --- */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 364px;
  align-items: center;
  order: 3;
}

/* --- Botão de resposta --- */
.quiz-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 364px;
  height: 100px;
  background-color: #121212;
  color: #FDFDFD;
  font-family: var(--fonte-corpo);
  font-size: clamp(26px, 10vw, 48px);
  font-weight: 700;
  text-align: center;
  line-height: 62px;
  border: none;
  border-radius: 180px;
  box-shadow: 0px 4px 12px 0px rgba(239, 239, 239, 0.12);
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.quiz-btn:hover {
  transform: scale(1.04);
  box-shadow:
    0px 6px 24px 0px rgba(239, 239, 239, 0.2),
    0 0 0 2px rgba(239, 239, 239, 0.08);
}

.quiz-btn:active {
  transform: scale(0.97);
  box-shadow: 0px 2px 6px 0px rgba(239, 239, 239, 0.1);
}

/* Estado "selecionado" breve — flash ao clicar */
.quiz-btn.selected {
  background-color: #FDFDFD;
  color: #121212;
  box-shadow: 0px 0px 32px 4px rgba(239, 239, 239, 0.3);
}

/* --- Resultado --- */
.quiz-result {
  gap: 48px;
}

.quiz-result__text {
  max-width: 342px;
  order: 1;
}

.quiz-result__image-wrapper {
  width: 100%;
  max-width: 342px;
  height: 228px;
  border-radius: 90px;
  overflow: hidden;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.12);
  animation: quizImageFloat 3s ease-in-out infinite alternate;
  order: 2;
}

@keyframes quizImageFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.quiz-result__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-result__arrow {
  order: 3;
  animation: quizArrowBounce 1.5s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 103px;
}

@keyframes quizArrowBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* --- Botão refazer --- */
.quiz-btn--restart {
  max-width: 280px;
  height: 60px;
  font-size: 1.15rem;
  border: 2px solid rgba(239, 239, 239, 0.25);
  background-color: transparent;
  box-shadow: none;
}

.quiz-btn--restart:hover {
  background-color: rgba(239, 239, 239, 0.06);
  border-color: rgba(239, 239, 239, 0.5);
  box-shadow: 0px 4px 16px 0px rgba(239, 239, 239, 0.1);
}

/* ===========================================
   PC / DESKTOP SPECIFIC QUIZ STYLING
   =========================================== */
@media (min-width: 1024px) {
  .quiz-section {
    min-height: 813px;
    height: 813px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .quiz-step {
    display: none !important;
    position: relative;
    width: 1440px;
    max-width: 1440px;
    height: 813px;
    padding: 0;
    gap: 0;
  }

  .quiz-step.active {
    display: flex !important;
  }

  .quiz-question {
    position: absolute;
    top: 50px;
    left: 30px;
    width: 1380px;
    max-width: 1380px;
    font-size: 64px;
    line-height: 83px;
    margin: 0;
  }

  .quiz-progress {
    position: absolute;
    top: 313px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: 1200px;
    height: 30px;
    margin: 0;
  }

  .quiz-options {
    position: absolute;
    top: 383px;
    left: 538px;
    width: 364px;
    max-width: 364px;
    gap: 40px;
    margin: 0;
  }

  .quiz-btn {
    width: 364px;
    height: 100px;
    max-width: 364px;
    font-size: 48px;
    line-height: 62px;
  }

  /* Result screen */
  .quiz-result .quiz-result__text {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 1380px;
    max-width: 1380px;
    font-size: 64px;
    line-height: 83px;
    margin: 0;
  }

  .quiz-result__image-wrapper {
    position: absolute;
    top: 293px;
    left: 353px;
    width: 735px;
    max-width: 735px;
    height: 490px;
    border-radius: 90px;
    margin: 0;
  }

  .quiz-result__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .quiz-result__arrow {
    display: none;
  }
}

/* ---------- Apresentação ---------- */
#apresentacao {
  position: relative; /* to allow absolute positioned lateral bars */
  background-color: #121212; /* matching figma design background */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  overflow: hidden; /* prevents lateral bars from sticking out */
}

/* Barras laterais decorativas */
.barra-lateral {
  position: absolute;
  top: 0;
  height: 100%;
  background: linear-gradient(180deg, #FF0000 17%, #FFFF07 40%, #2BFF00 44%, #1A38FF 65%, #850099 100%);
  border-radius: 90px;
  z-index: 10;
}
.barra-lateral.esquerda {
  left: 0;
  width: 4px;
}
.barra-lateral.direita {
  right: 0;
  width: 5px;
}

/* Texto colorido para títulos */
.texto-colorido {
  background: linear-gradient(to right, #FF0000, #FFFF07, #2BFF00, #1A38FF, #850099);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Comfortaa', cursive, sans-serif;
}

/* Wrapper principal de Apresentação */
.apresentacao-wrapper {
  width: 100%;
  max-width: 1176px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
  z-index: 2;
}

/* Parte 1: Introdução */
.apresentacao-intro {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  text-align: center;
}

.apresentacao-titulo {
  font-family: 'Comfortaa', cursive, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 36px;
  color: #FFFFFF;
  max-width: 852px;
  margin: 0 auto;
}

.apresentacao-descricao {
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 29px;
  text-align: justify;
  margin: 0;
}

/* Parte 1: Trilhas */
.apresentacao-trilhas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  width: 100%;
}

.trilhas-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 39px;
  color: #FFFDFD;
  max-width: 899px;
  margin: 0 auto;
  text-align: center;
}

.trilhas-botoes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 66px;
  flex-wrap: wrap;
  width: 100%;
}

.trilha-botao {
  width: 300px;
  height: 71px;
  background-color: #000000;
  border: 2px solid #FFFFFF;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

/* Tecnologia Hover - RED (R) */
.trilha-botao.tecnologia:hover, .trilha-botao.tecnologia:active {
  height: 420px;
  transform: translateY(-4px);
  background: linear-gradient(180deg, #000000, #000000, #801010);
  box-shadow: 0 10px 30px rgba(255, 63, 63, 0.4);
  border-color: #ff3f3f;
}

/* Design Hover - GREEN (G) */
.trilha-botao.design:hover, .trilha-botao.design:active {
  height: 420px;
  transform: translateY(-4px);
  background: linear-gradient(180deg, #000000, #000000, #106010);
  box-shadow: 0 10px 30px rgba(63, 255, 63, 0.4);
  border-color: #3fff3f;
}

/* Gestão Hover - BLUE (B) */
.trilha-botao.gestao:hover, .trilha-botao.gestao:active {
  height: 420px;
  transform: translateY(-4px);
  background: linear-gradient(180deg, #000000, #000000, #101080);
  box-shadow: 0 10px 30px rgba(63, 63, 255, 0.4);
  border-color: #3f3fff;
}

.trilha-botao-cabecalho {
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
}

.trilha-botao span {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  color: #FFFFFF;
  text-align: center;
  line-height: 42px;
  user-select: none;
}

.trilha-botao-conteudo {
  padding: 10px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.trilha-botao:hover .trilha-botao-conteudo {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.15s;
}

.trilha-botao-conteudo p {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.4;
  text-align: justify;
  margin: 0;
}

.trilha-botao-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Botão do card Tecnologia (Red) */
.tecnologia .trilha-botao-link {
  background-color: #d63031;
}
.tecnologia .trilha-botao-link:hover {
  background-color: #ff4757;
  transform: scale(1.05);
}

/* Botão do card Design (Green) */
.design .trilha-botao-link {
  background-color: #00b894;
}
.design .trilha-botao-link:hover {
  background-color: #2ed573;
  transform: scale(1.05);
}

/* Botão do card Gestão (Blue) */
.gestao .trilha-botao-link {
  background-color: #0984e3;
}
.gestao .trilha-botao-link:hover {
  background-color: #1e90ff;
  transform: scale(1.05);
}

.cta-cursos-btn {
  width: 480px;
  height: 87px;
  background: conic-gradient(from 45deg, #FF0000, #FFFF07, #2BFF00, #1A38FF, #850099, #FF0000);
  color: #FFFFFF;
  border: none;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  -webkit-text-stroke: 0.8px #000000;
  text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.cta-cursos-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* Parte 2: Modelo de Ensino */
.modelo-ensino {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  width: 100%;
}

.modelo-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 39px;
  color: #FFFDFD;
  max-width: 955px;
  margin: 0 auto;
  text-align: center;
}

.modelo-subtitulo {
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
  color: #FFFFFF;
  text-align: justify;
  max-width: 1043px;
  margin: 0 auto 15px auto;
}

.modelo-conteudo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 88px;
  width: 100%;
  max-width: 922px;
  margin: 0 auto;
}

.modelo-bloco {
  flex: 1;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  color: #FFFFFF;
  line-height: 29px;
  text-align: justify;
}

.destaque-modelo {
  font-weight: 700;
  color: #FFFFFF;
}

/* Responsividade da Apresentação */
@media (max-width: 1024px) {
  .apresentacao-wrapper {
    gap: 60px;
  }
  
  .trilhas-botoes {
    gap: 30px;
  }
  
  .modelo-conteudo {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  #apresentacao {
    padding: 60px 16px;
  }

  .apresentacao-wrapper {
    gap: 45px;
  }

  .apresentacao-intro {
    gap: 25px;
  }

  .apresentacao-titulo {
    font-size: 24px;
  }

  .apresentacao-descricao {
    font-size: 18px;
    text-align: left;
  }

  .apresentacao-trilhas {
    gap: 30px;
  }

  .trilhas-titulo {
    font-size: 24px;
  }

  .trilhas-botoes {
    flex-direction: column;
    gap: 20px;
  }

  .trilha-botao {
    width: 100%;
    max-width: 320px;
    height: 60px;
  }

  .trilha-botao:hover, .trilha-botao:active {
    height: 480px;
  }

  .trilha-botao-cabecalho {
    height: 56px;
  }

  .trilha-botao span {
    font-size: 24px;
  }

  .cta-cursos-btn {
    width: 100%;
    max-width: 320px;
    height: 75px;
    font-size: 24px;
    line-height: 28px;
  }

  .modelo-ensino {
    gap: 20px;
  }

  .modelo-titulo {
    font-size: 24px;
  }

  .modelo-subtitulo {
    font-size: 18px;
    text-align: left;
    margin-bottom: 5px;
  }

  .modelo-conteudo {
    flex-direction: column;
    gap: 25px;
  }

  .modelo-bloco {
    font-size: 18px;
    text-align: left;
  }
}

#contato {
  background-color: var(--cor-fundo);
  padding: 40px 20px;
}

/* --- CABEÇALHO DA OFERTA --- */
.cabecalho-oferta {
  display: flex;
  flex-direction: column; /* Empilha os elementos*/
  align-items: center;    /* Alinha o centro do triângulo com o centro dos textos */
  text-align: center;     /* Garante que o texto fique centralizado se quebrar para uma segunda linha */
  gap: 15px; 
  margin-bottom: 30px;
}
.cabecalho-oferta h1 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--cor-texto);
}
.cabecalho-oferta h3 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--cor-texto-claro);
}

.cabecalho-confirmation {
  display: flex;
  flex-direction: column; 
  text-align: center;     
  gap: 15px; 
  margin-bottom: 30px; 
}
.cabecalho-confirmation h1 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--cor-texto);
}
.cabecalho-confirmation h3 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--cor-texto-claro);
}

/* ---------- Depoimentos ---------- */
.depoimentos-container {
  background: #111;
  padding: 80px 0;
}

.depoimentos-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.depoimentos-titulo {
  color: var(--cor-texto);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 48px;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.depoimentos-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.depoimentos-avatar {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
  align-self: center;
  border: 2px solid #eee;
}

.depoimentos-estrelas {
  color: #f5c518;
  font-size: 25px;
  text-align: center;
  width: 100%;
}

.depoimentos-nome {
  font-weight: 700;
  font-size: 16px;
  color: #111;
  margin: 0;
}

.depoimentos-texto {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin: 0;
}

/* ---------- DESCONTOS  ---------- */
.triangulo-borda {
  width: 25%;  /*vai ocupar % do espaço do pai */
  /* Limites de segurança*/
  min-width: 60px; 
  max-width: 140px; 
  aspect-ratio: 1 / 1; /*Trava a proporção em um quadrado perfeito (1 por 1) */
  background-color: var(--cor-texto) ; 
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%); /* pontos de corte do quadradi x1,y1(topo),x2,y2(ponta dir),x3,y3(ponta esq) */
  
  display: flex;
  justify-content: center; /**/
  align-items: center;
}

.triangulo-conteudo {
  /* Se você quiser uma borda de 4px, subtraia 8px (4 de cada lado) */
  width: calc(100% - 20px);  /*largura total que esse elemento deveria ter (100% do pai) e subtraia exatamente x pixels*/
  height: calc(100% - 10px); 
  /* Como o pai já dita a proporção, o filho só acompanha */
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; 
  padding-bottom: 8%; /* Usar % no padding ajuda na responsividade do texto */
  color:var(--cor-texto); 
  transition: background-color 2s ease; /* Transição de estilos */

}
/* --- AS SUAS 4 VARIANTES DE COR --- */
.desconto-5 { background-color: #fd79a8; }  
.desconto-10 { background-color: #6c5ce7; } 
.desconto-15 { background-color: #00b894; } 
.desconto-20 { background-color: #d63031; } 

.porcentagem {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.7rem, 2.5vw, 1.6rem);
  font-weight: bold;
  line-height: 1;
}
.texto-off {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.5rem, 1.5vw, 1rem);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: bold;
}


/* ---------- CARTA  ---------- */
.carta-container {
  /* O position relative aqui é o segredo para segurar o formulário dentro da div */
  position: relative;
  width: min(90%, 1000px); /* Retorna qual for menor */
  margin: 0 auto; /* Centraliza horizontalmente */
}
.fundo-carta {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.formulario-inputs {
  position: absolute; 
  top: 30%; 
  left: 50%;
  transform: translateX(-50%); 
  display: flex;
  flex-direction: column; 
  width: 30%; 
  max-height: 35%;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}
.formulario-inputs::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.formulario-inputs input { /*ESTILO DOS INPUTS */
  width: 100%;
  background-color: transparent; 
  border: none;
  border-bottom: 1px solid var(--cor-primaria); /* Cria a linha estilo caderno */
  color: var(--cor-secundaria);
  font-size: clamp(6px, 18px, 20px);  /*clamp(MÍNIMO, VALOR_IDEAL, MÁXIMO) */
  padding: 1% 0; 
  font-family: 'DM Sans', sans-serif;
}
.formulario-inputs input:focus { /* Remove a borda feia de foco */
  outline: none;
}
.formulario-inputs input::placeholder {
  color: var(--cor-primaria);
}

/* ---------- BOTAO ESFERA ---------- */
.botao-esfera {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 14%; /* Largura e alturar iguais para formar uma esfera */
  aspect-ratio: 1 / 1;
  border-radius: 50%; /* Transforma o quadrado em círculo */
  position: absolute; 
  top: 65%; 
  left: 50%; 
  transform: translateX(-50%);
}
.botao-esfera:hover {
  transform: translateX(-50%) scale(1.1); /* preserva a centralização no hover */
}
.botao-esfera img {
  width: 100%;
  height: auto;
}


/* --- CONTATOS --- */
.bloco-contatos-rodape {
  display: grid;
  grid-template-columns: auto auto; /* Cria as 2 colunas perfeitas*/
  column-gap: 40px; 
  row-gap: 20px;   
  /*centralizar o bloco inteiro na tela */
  width: fit-content; 
  margin: 10px auto 10px auto; 
}

/*(Ícone + Texto)*/
.item-contato {
  display: flex;
  align-items: center; 
  gap: 0.5rem; 
}
.icone-pequeno {
  width: 1.5rem; 
  height: 1.5rem;
  object-fit: contain; 
}
/* --- ESTILO DO TEXTO --- */
.item-contato span {
  font-family: 'Lato', sans-serif;
  font-size: 1rem; 
  color: var(--cor-texto-claro); 
  font-weight: 500;
}

/* ============ FOOTER ============ */
#footer {
  background-color: #000000;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-size: 44px;
  line-height: 44px;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  #footer {
    height: 60px;
  }
  .footer-logo-img {
    width: 40px;
    height: 40px;
  }
  .footer-logo-text {
    font-size: 24px;
    line-height: 24px;
  }
}

/* ===============
   RESPONSIVIDADE 
   =============== */

#main-content {
 min-height: 100vh; 
}

/* --- TABLET E MOBILE (CONTATO & FORMULÁRIO) --- */
@media (max-width: 768px) {
  .formulario-inputs input {
    font-size: clamp(10px, 2.8vw, 14px);
    padding: 2px 0;
  }
  
  .carta-container {
    width: min(95%, 1000px);
  }

  .bloco-contatos-rodape {
    grid-template-columns: 1fr;
    row-gap: 15px;
  }

  .cabecalho-oferta h1 {
    font-size: 1.7rem;
  }
}

/* ---------- Carrossel de Cursos ---------- */
.secao-cursos {
  background-color: var(--cor-fundo);
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.titulo-cursos {
  font-family: var(--fonte-titulo);
  align-self: flex-start;
  margin-bottom: 40px;
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 1300px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.filtros-cursos {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  justify-content: center;
}

.botao-filtro {
  background-color: #b0b0b0;
  color: #000000;
  font-family: var(--fonte-corpo);
  border: none;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.botao-filtro:hover, .botao-filtro.ativo {
  background-color: #e0e0e0;
}

.container-carrossel {
  width: 100%;
  max-width: 1300px;
  overflow: hidden;
}

.trilha-carrossel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
  scrollbar-width: none; /* Oculta scrollbar Firefox */
}

.trilha-carrossel::-webkit-scrollbar {
  display: none; /* Oculta scrollbar Chrome/Safari */
}

.cartao-curso {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 340px;
  height: 320px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  scroll-snap-align: start;
}

.fundo-cartao {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.conteudo-cartao {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.1) 100%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.etiqueta {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--fonte-corpo);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
}

.etiqueta-tec { background-color: #3b82f6; }
.etiqueta-gestao { background-color: #10b981; }
.etiqueta-design { background-color: #ec4899; }

.conteudo-cartao h3 {
  font-family: var(--fonte-titulo);
  font-size: 26px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.grupo-habilidades {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.grupo-habilidades span {
  font-family: var(--fonte-corpo);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.botao-saiba-mais {
  background-color: #ffffff;
  color: #000000;
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--fonte-corpo);
  font-weight: 700;
  width: max-content;
  font-size: 14px;
  transition: transform 0.2s;
}

.botao-saiba-mais:hover {
  transform: scale(1.05);
  color: #000000;
}

.texto-informativo-cursos {
  font-family: var(--fonte-corpo);
  margin-top: 50px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  max-width: 800px;
}

.oculto {
  display: none !important; /* esconder itens */
}

@media (max-width: 768px) {
  .titulo-cursos {
    font-size: 2rem;
    text-align: center;
  }
}


/* ---------- Seção: Quem Somos ---------- */
.quem-somos-container {
  display: flex;
  gap: var(--espacamento-xl);
  padding: var(--espacamento-xl) var(--espacamento-lg);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center; /* Centraliza o conteúdo verticalmente */
}

/* Coluna da Esquerda (Textos) */
.conteudo-texto {
  flex: 1; 
}

/* Coluna da Direita (A grade da equipe) */
.grade-equipe {
  flex: 1; 
}

/* ---------- Tipografia e Textos ---------- */
.titulo-vazado {
  font-family: "League Spartan", sans-serif;
  font-size: 3rem;
  background: linear-gradient(to right, #FF0000, #FFFF07, #2BFF00, #1A38FF, #850099);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1.5px transparent;
  -webkit-text-fill-color: #121212;
  margin-bottom: var(--espacamento-md);
  text-transform: uppercase; /* Garante que ficará tudo em maiúsculo */
}

.bloco-texto {
  margin-bottom: var(--espacamento-md);
}

.bloco-texto h2 {
  font-family: "League Spartan", sans-serif;
  font-size: 1.5rem;
  margin-bottom: var(--espacamento-sm);
  color: var(--cor-texto);
}

.bloco-texto p {
  font-family: "DM Sans", sans-serif;
  color: var(--cor-texto-claro);
}

/* Ajustes na lista de Valores */
.bloco-texto ul {
  list-style-position: inside;
  margin-top: var(--espacamento-sm);
}

.bloco-texto li {
  font-family: "DM Sans", sans-serif;
  margin-bottom: 0.5rem;
  color: var(--cor-texto-claro);
}

.bloco-texto strong {
  color: var(--cor-texto);
}

/* ---------- Grade da Equipe (Cartões) ---------- */
.grade-equipe {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--espacamento-md);
}

/* Estilo Individual dos Cartões */
.cartao-membro {
  background-color: #464646; /* Conforme o Figma */
  padding: var(--espacamento-md);
  border-radius: 20px; /* Conforme o Figma */
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Prepara a animação do hover */
}

/* Efeito interativo ao passar o mouse */
.cartao-membro:hover {
  transform: translateY(-5px); /* Faz o cartão "flutuar" levemente para cima */
}

/* Estilização da Foto de Perfil */
.foto-perfil {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover; /* Garante que a foto não fique esticada ou achatada */
  border: 2px solid var(--cor-texto);
  margin-bottom: var(--espacamento-sm);
}

/* Textos dentro do cartão */
.cartao-membro h3 {
  font-family: "League Spartan", sans-serif;
  font-size: 1.2rem;
  color: var(--cor-texto);
  font-weight: 500;
  margin-top: 10px;
}

.cartao-membro p {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--cor-texto-claro);
  margin-top: 5px;
}

/* Cores das bordas com Efeito de Luz de Fundo (Glow) */
.borda-vermelha {
  border: 4px solid #FF0000;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}
.borda-azul {
  border: 4px solid #0051FF;
  box-shadow: 0 0 10px rgba(0, 81, 255, 0.2);
}
.borda-roxa {
  border: 4px solid #DD00FF;
  box-shadow: 0 0 10px rgba(221, 0, 255, 0.2);
}
.borda-amarela {
  border: 4px solid #FFFF07;
  box-shadow: 0 0 10px rgba(255, 255, 7, 0.2);
}

/* Intensifica o feixe de luz ao passar o mouse (Efeito Hover) */
.borda-vermelha:hover { box-shadow: 0 0 25px rgba(255, 0, 0, 0.8); }
.borda-azul:hover { box-shadow: 0 0 25px rgba(0, 81, 255, 0.8); }
.borda-roxa:hover { box-shadow: 0 0 25px rgba(221, 0, 255, 0.8); }
.borda-amarela:hover { box-shadow: 0 0 25px rgba(255, 255, 7, 0.8); }

/* ---------- Responsividade Quem Somos Mobile ---------- */
@media (max-width: 768px) {
  /* Quebra o layout de lado-a-lado para uma coluna empilhada verticalmente */
  .quem-somos-container {
    flex-direction: column; 
    gap: var(--espacamento-lg);
    padding: var(--espacamento-lg) var(--espacamento-md);
  }

  /* Muda a grade da equipe de 2x2 para 1 única coluna (um cartão embaixo do outro) */
  .grade-equipe {
    grid-template-columns: 1fr; 
  }

  /* Diminui um pouco a fonte do título vazado para caber perfeitamente na tela do celular */
  .titulo-vazado {
    font-size: 2.2rem;
  }

  /* --- TRANSFORMA OS CARTÕES EM RETÂNGULOS HORIZONTAIS NO MOBILE --- */
  .cartao-membro {
    display: grid;
    grid-template-columns: auto 1fr; /* Foto na esquerda, textos preenchendo o resto */
    grid-template-rows: auto auto; /* Cria duas linhas virtuais: uma pro nome, outra pro cargo */
    column-gap: var(--espacamento-md); /* Espaço entre a foto e o texto */
    align-items: center;
    text-align: left; /* Alinha os textos à esquerda ao invés do centro */
    padding: var(--espacamento-sm) var(--espacamento-md); /* Achata um pouco o cartão verticalmente */
  }

  .foto-perfil {
    grid-column: 1; /* Posiciona a foto na primeira coluna */
    grid-row: 1 / 3; /* Faz a foto se esticar e ocupar as duas linhas de texto */
    margin-bottom: 0; /* Remove a margem inferior que existia no desktop */
    width: 65px; /* Reduz um pouquinho o tamanho da foto no celular */
    height: 65px;
  }

  .cartao-membro h3 {
    grid-column: 2; /* Coloca o nome na segunda coluna */
    grid-row: 1; /* Na primeira linha */
    align-self: end; /* Empurra o nome um pouquinho pra baixo */
    margin-top: 0;
  }

  .cartao-membro p {
    grid-column: 2; /* Coloca o cargo na segunda coluna */
    grid-row: 2; /* Na segunda linha */
    align-self: start; /* Empurra o cargo um pouquinho pra cima */
    margin-top: 0;
  }
.depoimentos-container {
    padding: 40px 0;
  }

  .depoimentos-wrapper {
    padding: 0 12px;
    box-sizing: border-box;
  }

  .depoimentos-titulo {
    font-size: 1.8rem;
    margin: 0 0 24px;
    text-align: center;
  }

  .depoimentos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    align-items: stretch;
  }

  .depoimentos-card {
    padding: 10px 8px;
    gap: 4px;
    box-sizing: border-box;
    justify-content: flex-start;
  }

  .depoimentos-avatar {
    width: 48px;
    height: 48px;
  }

  .depoimentos-nome {
    font-size: 12px;
  }

  .depoimentos-texto {
    font-size: 11px;
    line-height: 1.5;
  }
}

/* ---------- Carrossel de Cursos ---------- */
#carrossel-cursos {
  background-color: #121212;
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carrossel-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 1650 / 960;
  border: none;
}

.carrossel-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.carrossel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.carrossel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carrossel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Setas de Controle */
.carrossel-btn {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  outline: none;
}

.carrossel-btn svg {
  stroke: #ffffff;
  transition: stroke 0.3s ease;
}

.carrossel-btn:hover {
  background-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.carrossel-btn:hover svg {
  stroke: #000000;
}

.carrossel-btn.prev {
  left: 40px;
}

.carrossel-btn.next {
  right: 40px;
}

/* Dots Indicadores */
.carrossel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.carrossel-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  outline: none;
}

.carrossel-dot.active {
  background-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}

/* Responsividade do Carrossel */
@media (max-width: 1024px) {
  .carrossel-btn {
    width: 60px;
    height: 60px;
  }

  .carrossel-btn.prev {
    left: 20px;
  }

  .carrossel-btn.next {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .carrossel-btn {
    width: 45px;
    height: 45px;
  }

  .carrossel-btn.prev {
    left: 10px;
  }

  .carrossel-btn.next {
    right: 10px;
  }

  .carrossel-dots {
    bottom: 15px;
    gap: 10px;
  }

  .carrossel-dot {
    width: 12px;
    height: 12px;
  }
}
