/* =====================================================
   DESIGN TOKENS — VARIÁVEIS GLOBAIS
===================================================== */
:root {
  /* Cores base */
  --cor-fundo: #ffffff;
  --cor-texto: #171717;

  /* Cores principais */
  --cor-roxo: #9929EA;
  --cor-verde: #CDF527;
  --cor-rosa: #B14677;

  /* Tons neutros */
  --cor-branco: #ffffff;
  --cor-preto: #000000;
  --cor-cinza-outline: #cccccc;
  --cor-texto-suave: #a9a9a9;
  --cor-fundo-secundario: #111111;

  /* Gradientes */
  --gradiente-logo: linear-gradient(90deg, var(--cor-verde), var(--cor-roxo));
  --gradiente-cta: linear-gradient(90deg, var(--cor-roxo), #5c00b8);
  
  /*Ouras cores (Comunidade)*/
    --card-shadow: rgba(160, 32, 240, 0.15);
    --gradiente-branco-1: rgba(255, 255, 255, 0.1);
    --gradiente-branco-2: rgba(255, 255, 255, 0);
    --cor-amarelo: #ffff66;
    --cor-roxo-forte: #9933ff;

  /* Layout */
  --altura-navbar: 80px; 
}

/* Dark mode automático */
@media (prefers-color-scheme: dark) {
  :root {
    --cor-fundo: #0a0a0a;
    --cor-texto: #ededed;
  }
}

/* =====================================================
   RESET GLOBAL
===================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  background: var(--cor-fundo);
  color: var(--cor-texto);
  font-family: 'Poppins', Arial, sans-serif !important;
  padding-top: var(--altura-navbar);
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  width: 100%;
  height: var(--altura-navbar);
  padding: 12px 40px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--cor-preto);
  border-bottom: 2px solid;
  border-image: linear-gradient(to right, var(--cor-roxo), var(--cor-verde)) 1;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 38px;
}

.logo span {
  font-size: 28px;
  font-weight: 700;
  background: var(--gradiente-logo);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Menu desktop */
.menu-desktop {
  display: flex;
  gap: 28px;
}

.menu-desktop a {
  color: var(--cor-branco);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.2s ease;
}

.menu-desktop a:hover {
  color: #ab47ff;
}

/* Área direita */
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* =====================================================
   CTA NAVBAR
===================================================== */
.cta {
  padding: 10px 20px;
  border-radius: 12px;

  background: var(--gradiente-cta);
  color: var(--cor-branco);

  font-size: 15px;
  font-weight: 600;
  text-decoration: none;

  transition: filter 0.2s ease-in-out;
}

.cta:hover {
  filter: brightness(1.2);
}

/* =====================================================
   BOTÕES GLOBAIS
===================================================== */
.btn {
  display: inline-block;
  padding: 15px 35px;

  border-radius: 10px;
  border: 2px solid transparent;

  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;

  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.roxo {
  background: var(--cor-roxo);
  border-color: var(--cor-roxo);
  color: var(--cor-branco) !important;
}

.btn.roxo:hover {
  background: var(--cor-verde);
  border-color: var(--cor-verde);
  color: var(--cor-preto) !important;
}

.btn.outline {
  background: transparent;
  border-color: var(--cor-cinza-outline);
  color: var(--cor-cinza-outline);
}

.btn.outline:hover {
  background: var(--cor-cinza-outline);
  color: var(--cor-preto);
}

/* =====================================================
   MENU MOBILE
===================================================== */
.menu-btn {
  font-size: 30px;
  background: none;
  border: none;
  color: var(--cor-branco);
  cursor: pointer;

  position: relative;
  z-index: 10000;
}

.mobile-only {
  display: none;
}

.menu-mobile {
  position: fixed;
  top: var(--altura-navbar);
  right: 0;
  z-index: 9998;

  width: 240px;
  height: calc(100vh - var(--altura-navbar));
  padding: 25px 20px;

  display: flex;
  flex-direction: column;
  gap: 22px;

  background: var(--cor-preto);
  border-left: 2px solid var(--cor-roxo);

  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.menu-mobile.active {
  transform: translateX(0);
}

.menu-mobile a {
  color: var(--cor-branco);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
}

.menu-mobile a:hover {
  color: #ab47ff;
}

/* =====================================================
   RESPONSIVIDADE
===================================================== */
@media (max-width: 850px) {
  :root {
    --altura-navbar: 70px;
  }

  .navbar {
    padding: 10px 16px;
  }

  .logo img {
    width: 32px;
  }

  .logo span {
    font-size: 22px;
  }

  .menu-desktop {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .menu-btn {
    font-size: 26px;
  }

  .cta {
    display: none;
  }
}


/* =====================================================
   TERMOS DE USOS E POLÍTICA DE PRIVACIDADE
===================================================== */
.container-legal {
    max-width: 850px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

.container-legal h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.texto-legal {
    background: rgba(255, 255, 255, 0.03); /* Fundo leve para destacar o texto */
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(153, 41, 234, 0.2); /* Borda roxa bem sutil */
}

.texto-legal h3 {
    color: var(--roxo);
    font-size: 1.3rem;
    margin: 30px 0 15px;
    font-weight: 700;
}

.texto-legal p, .texto-legal li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--branco);
    opacity: 0.85;
    margin-bottom: 1rem;
}

.texto-legal ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* =====================================================
   CONTEÚDO
===================================================== */
main, section, .container, .conteudo {
  margin-top: 0;
  max-width: 100%;
  overflow-x: hidden;
}
