/* ============================================
   IMPORTAR FONTES GOOGLE
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
/* 
font-family: "Poppins", sans-serif;
font-family: "Inter", sans-serif; 
*/

/* ============================================
   VARIÁVEIS CSS - CORES E ESTILOS
   ============================================ */
:root {
  /* Cores do Pensamento Computacional - Dark Mode */
  --dark: #0E0035;
  --purple: #B666A9;
  --purple-light: #D481DD;
  --pink: #D481DD;
  --pink-light: #FFBFF3;
  --white: #FFFFFF;
  --purple-dark-light: #300059;
  --purple-dark: #1E0046;
  --gray-text: #B0B8C8;
  --header-opacity: 0;

  /* Gradientes */
  --gradient-main: linear-gradient(135deg, #0E0035 0%, #1E0046 30%, #B666A9 70%, #D481DD 100%);
  --gradient-purple: linear-gradient(135deg, #B666A9 0%, #D481DD 100%);
  --gradient-pink: linear-gradient(135deg, #D481DD 0%, #FFBFF3 100%);
  --gradient-pink-white: linear-gradient(135deg, #FFFFFF 0%, #FFBFF3 45%, #FFFFFF 65%, #FFBFF3 100%);
  --gradient-navbar: linear-gradient(135deg, rgba(24, 9, 52, 0.95) 0%, rgba(154, 61, 174, 0.1) 100%);
}

/* ============================================
   ESTILOS GLOBAIS
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-text);
  background-color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--white);
}

p {
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
header {
  box-shadow: none;
  color: var(--white);
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transition: background 1.2s ease-in-out, box-shadow 1.2s ease-in-out, backdrop-filter 1.2s ease-in-out;
}

header.scrolled {
  background: linear-gradient(135deg, rgba(10, 14, 39, calc(0.95 * var(--header-opacity))) 0%, rgba(223, 149, 215, calc(0.3 * var(--header-opacity))) 100%) !important;
  backdrop-filter: blur(calc(10px * var(--header-opacity)));
  -webkit-backdrop-filter: blur(calc(10px * var(--header-opacity)));
  box-shadow: 0 calc(5px * var(--header-opacity)) calc(20px * var(--header-opacity)) rgba(0, 0, 0, calc(0.15 * var(--header-opacity)));
}

.navbar-brand .logo {
  height: 40px;
  width: auto;
}

.navbar-brand span {
  font-weight: 700;
  color: var(--white);
  margin-left: 10px;
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--pink) !important;
}

header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(135deg, #180934 0%, #1E0046 30%, #9A3DAE 70%, #AD6CB1 100%), url('img/bg-fundo.jpg') center/cover;
  background-attachment: fixed;
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.code-canvas {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

.code-canvas-left {
  left: 0;
  width: 45%;
}

.code-canvas-right {
  right: 0;
  width: 25%;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  background: var(--gradient-pink-white);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero .year {
  font-size: 1.5rem;
  color: var(--pink-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--pink-light);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-primary {
  background: var(--gradient-pink);
  border: none;
  padding: 12px 40px;
  font-weight: 600;
  border-radius: 50px;
  color: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  padding: 10px 35px;
  margin-bottom: 15px;
  font-weight: 600;
  border-radius: 50px;
  color: var(--white);
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  margin-left: 1rem;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--purple);
}

.hero-buttons {
  display: block;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image-wrapper,
.hero-persona-wrapper,
.hero-persona-wrapper-bottom  {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-image {
  width: 80%;
  max-width: 400px;
  margin-top: -80px;
  margin-bottom: -20px;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 30px rgba(173, 108, 177, 0.6));
  animation: pulse-brain 2.5s ease-in-out infinite;
}

@keyframes pulse-brain {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

.hero-persona {
  width: 100%;
  height: 100vh;
  object-fit: contain;
  object-position: center;
}

.hero-persona-full {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  object-position: bottom;
}

/* ============================================
   CARDS INFORMAÇÕES
   ============================================ */
.info-cards {
  padding: 80px 0;
  background: var(--purple-dark-light);
}

.info-card {
  background: var(--dark);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(223, 149, 215, 0.15);
}

.info-card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
}

.info-card h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--white);
}

.info-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin: 0;
}

.info-card .value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 5px;
}

/* ============================================
   NÍVEIS
   ============================================ */
.levels-section {
  padding: 80px 0;
  background: var(--dark);
}

.section-title {
  background: var(--gradient-pink-white);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.level-card {
  background: var(--dark);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--purple);
}

.level-card:nth-child(2) {
  border-top-color: var(--pink);
}

.level-card:nth-child(3) {
  border-top-color: var(--purple-light);
}

.level-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(223, 149, 215, 0.2);
}

.level-header {
  background: var(--gradient-purple);
  color: var(--white);
  padding: 30px;
  text-align: center;
}

.level-card:nth-child(2) .level-header {
  background: var(--gradient-pink);
}

.level-card:nth-child(3) .level-header {
  background: linear-gradient(135deg, #A855F7 0%, #7C3AED 100%);
}

.level-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.level-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.level-time {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.level-body {
  padding: 30px;
  flex-grow: 1;
}

.level-body h6 {
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  color: var(--white);
}

.level-card:nth-child(2) .level-body h6 {
  color: var(--pink);
}

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

.level-modules li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.5;
}

.level-modules li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: bold;
}

.level-card:nth-child(2) .level-modules li::before {
  color: var(--pink);
}

/* ============================================
   REQUISITOS
   ============================================ */
.requirements-section {
  padding: 80px 0;
  background: var(--purple-dark-light);
}

.requirement-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.requirement-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.requirement-content h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--white);
}

.requirement-content p {
  margin: 0;
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline-section {
  padding: 80px 0;
  background: var(--dark);
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--gradient-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.timeline-item:not(:last-child) .timeline-marker::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: var(--purple);
  opacity: 0.3;
}

.timeline-content h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.timeline-content p {
  margin: 0;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.timeline-date {
  font-weight: 600;
  color: var(--purple);
  font-size: 0.9rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: 80px 0;
  background: var(--purple-dark-light);
}

.accordion-button {
  background-color: var(--purple-dark-light);
  border: 1px solid rgba(154, 61, 174, 0.2);
  color: var(--white);
  font-weight: 600;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--purple);
  color: var(--white);
  box-shadow: none;
  border-color: var(--purple);
}

.accordion-button:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 0.25rem rgba(223, 149, 215, 0.25);
}

.accordion-body {
  padding: 20px;
  color: var(--white);
  background-color: var(--purple-dark-light);
  border: 1px solid rgba(154, 61, 174, 0.5);
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-bottom: 10px;
}

.accordion-item {
  color: var(--bs-accordion-color);
  background-color: transparent;
  border: none;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  background: var(--gradient-main);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 50px 0 20px;
}

footer h6 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

footer p, footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.8;
}

footer a:hover {
  color: var(--pink);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--purple);
  font-size: 1.1rem;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 767px) {
  .hero {
    padding: 80px 0 60px;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-secondary {
    margin-left: 0;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
  }

  .code-canvas {
    opacity: 0.15;
}

  .hero-persona-wrapper-full  {
    margin-bottom: -65px;
  }

  .hero-persona,
  .hero-persona-full {
    height: auto;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .info-cards,
  .levels-section,
  .requirements-section,
  .timeline-section,
  .faq-section,
  .cta-section {
    padding: 50px 0;
  }

  .timeline-item {
    gap: 15px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.3rem;
  }

  .hero .subtitle {
    font-size: 1.3rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .level-name {
    font-size: 1.3rem;
  }

  .info-card {
    padding: 20px;
  }

  .requirement-item {
    gap: 15px;
  }

  .requirement-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   CLASSES PARA REMOVER STYLE INLINE
   ============================================ */

/* Seção Níveis com fundo cinza */
.levels-section-gray {
  background: var(--purple-dark-light) !important;
}

/* Títulos com cor roxo */
.title-purple {
  color: var(--purple);
  margin-bottom: 20px;
}

/* Lista sem estilo */
.list-unstyled-custom {
  list-style: none;
  padding: 0;
}

/* Item da lista com ícone */
.list-item-icon {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.list-item-icon:last-child {
  margin-bottom: 0;
}

/* Ícone posicionado absolutamente */
.icon-absolute {
  position: absolute;
  left: 0;
  color: var(--pink);
}

/* Card de informação com borda */
.info-box {
  background: var(--purple-dark-light);
  padding: 30px;
  border-radius: 15px;
  margin-top: 40px;
  border-left: 4px solid var(--purple);
}

.info-box h5 {
  color: var(--white);
  margin-bottom: 15px;
}

.info-box i {
  color: var(--purple);
}

.info-box p {
  margin: 0;
  color: var(--gray-text);
}

/* Parágrafo pequeno com ícone */
.small-text-icon {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--gray-text);
}

.small-text-icon i {
  color: var(--purple);
}

.small-text-icon.pink i {
  color: var(--pink);
}

.small-text-icon.purple-light i {
  color: var(--purple-light);
}

/* Info box variações */
.info-box-white {
  background: var(--white) !important;
  border-left-color: var(--pink) !important;
}

.info-box-white p {
  margin: 0;
  color: var(--gray-text);
}

.icon-pink {
  color: var(--pink) !important;
}

/* Botão grande */
.btn-large {
  font-size: 1.1rem !important;
  padding: 15px 50px !important;
}
