* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f7f2e9;
  --white: #ffffff;
  --dark: #07132d;
  --dark-2: #0b1f4d;
  --text: #1d1d1d;
  --muted: #5f6570;
  --blue: #3ec7ff;
  --purple: #9c5cff;
  --pink: #ff4fd8;
  --border: #e9e2d6;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(7, 19, 45, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.oculto {
  display: none;
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  text-decoration: none;
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
}

.logo span {
  color: var(--purple);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  transition: 0.3s;
}

.nav a:hover {
  color: var(--blue);
}

.menu-btn {
  display: none;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(circle at 20% 20%, rgba(156, 92, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(62, 199, 255, 0.10), transparent 25%),
    linear-gradient(135deg, #07132d 0%, #0b1f4d 55%, #132f6f 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 19, 45, 0.2), rgba(7, 19, 45, 0.05));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.tag,
.mini-tag {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.tag {
  background: rgba(255, 255, 255, 0.08);
  color: #dbe7ff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.mini-tag {
  background: rgba(156, 92, 255, 0.08);
  color: var(--purple);
  margin-bottom: 14px;
}

.hero-content h1 {
  font-size: 3.4rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-info p {
  color: #e6ecff;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.hero-line {
  width: 220px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink));
  margin: 24px 0;
}

.hero-content blockquote {
  color: #ffffff;
  font-size: 1.35rem;
  font-style: italic;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 470px;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  color: var(--white);
  box-shadow: 0 10px 25px rgba(156, 92, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* SECTION */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.8rem;
  color: var(--dark-2);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* GRID DOS PILARES */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.pillar-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pillar-card h3 {
  margin-bottom: 12px;
}

.pillar-card ul {
  padding-left: 18px;
}

.pillar-card li {
  margin-bottom: 8px;
}

/* IMPACTO */
.impacto {
  background: #fff;
}

.impacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.impacto-text h2 {
  font-size: 2.8rem;
  color: var(--dark-2);
  margin-bottom: 18px;
  line-height: 1.2;
}

.impacto-text h3 {
  font-size: 1.7rem;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #1d1d1d;
}

.impacto-text h3 span {
  color: var(--purple);
  font-weight: 800;
}

.impacto-text h3 strong {
  background: linear-gradient(90deg, var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.impacto-text ul {
  padding-left: 22px;
  margin-bottom: 26px;
}

.impacto-text li {
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.impacto-image img {
  width: 100%;
  max-width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}

/* CONTEXTO */
.contexto {
  background: var(--bg);
}

.context-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.context-card {
  padding: 36px 30px;
  border-radius: 24px;
  min-height: 360px;
  box-shadow: var(--shadow);
}

.context-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.context-card ul {
  padding-left: 22px;
}

.context-card li {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.context-card.light {
  background: #dfe6f3;
  color: var(--dark-2);
}

.context-card.dark {
  background: linear-gradient(135deg, #0b1f4d 0%, #132f6f 100%);
  color: var(--white);
}

/* STATS */
.stats {
  background: #fff;
}

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

.stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e7eef8;
  border-radius: 22px;
  padding: 35px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card h3 {
  font-size: 3rem;
  color: var(--dark-2);
  margin-bottom: 10px;
}

.stat-card p {
  color: var(--muted);
  font-weight: 600;
}

/* CTA */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #07132d 0%, #0b1f4d 55%, #132f6f 100%);
}

.cta-box {
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.1rem;
  color: #dbe7ff;
  margin-bottom: 28px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* LOGIN AND REGISTER */
.login {
  padding: 100px 0;
  background: linear-gradient(135deg, #07132d 0%, #0b1f4d 55%, #132f6f 100%);
}

.login-box {
  text-align: center;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto;
}

.login-box h3 {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.login-box p {
  font-size: 1.1rem;
  color: #e6ecff;
  margin-bottom: 28px;
}

.login-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  background: #050e22;
  padding: 28px 0;
}

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

.footer-content h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.footer-content h3 span {
  color: var(--purple);
}

.footer-content p {
  color: #c8d3ee;
}

.footer-content a {
  color: #c8d3ee;
  text-decoration: none;
  font-weight: 500;
  margin-top: 6px;
  display: inline-block;
}

.footer-content a:hover {
  color: var(--purple);
}

.footer-content i {
  color: #2b70d8;
  font-size: 1.2rem;
  margin-left: 8px;
  transition: color 0.3s ease;
}

.footer-content i:hover {
  color: var(--purple);
}

/* ANIMAÇÃO AO ROLAR */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .hero-grid,
  .impacto-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }

  .hero-image img,
  .impacto-image img {
    max-width: 100%;
    height: auto;
  }

  .pilares-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .img-header {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
    order: 2;
  }

  .img-header {
    display: none;
  }

  .nav {
    position: absolute;
    top: 78px;
    right: 20px;
    width: 230px;
    background: #0b1f4d;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
    display: none;
  }

  .nav.active {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    gap: 14px;
  }

  .hero {
    padding: 120px 0 70px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content blockquote {
    font-size: 1.1rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-header h2,
  .impacto-text h2,
  .cta-box h2,
  .login-box h3 {
    font-size: 2rem;
  }

  .impacto-text h3 {
    font-size: 1.3rem;
  }

  .context-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .context-card h3 {
    font-size: 1.6rem;
  }

  .stat-card h3 {
    font-size: 2.3rem;
  }
}

.btn-logout {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff4d4d, #ff6b6b);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-logout:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3);
}

/* Estilo do bot */
/* Estilo para o bot do chat */
.bot {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.bot a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.bot a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.bot i {
  color: white;
  font-size: 30px;
  transition: transform 0.3s ease;
}

.bot a:hover i {
  transform: scale(1.05);
}

/* Animação de entrada/saída */
.bot.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.bot.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Para dispositivos móveis */
@media (max-width: 768px) {
  .bot {
    bottom: 20px;
    right: 20px;
  }
  
  .bot a {
    width: 50px;
    height: 50px;
  }
  
  .bot i {
    font-size: 24px;
  }
}