:root {
  --primary: #5e35b1;
  /* Roxo profundo premium */
  --primary-light: #7e57c2;
  /* Roxo mais claro */
  --secondary: #FF4081;
  /* Coral vibrante */
  --dark: #263238;
  /* Preto azulado */
  --light: #eceff1;
  /* Cinza claro */
  --white: #ffffff;
  --success: #4caf50;
  /* Verde */

  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);

  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Navbar Premium */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  transition: var(--transition);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar.scrolled {
  padding: 1rem 5%;
  box-shadow: var(--shadow-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  transition: var(--transition);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.nav-links a:not(.cta-button):hover {
  color: var(--primary);
}

.nav-links a:not(.cta-button)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:not(.cta-button):hover::after {
  width: 100%;
}

.nav-links a.active,
.nav-links a:focus {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(94, 53, 177, 0.1);
}

.cta-button {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.08rem;
  letter-spacing: 0.5px;
  border: none;
  outline: none;
  box-shadow: 0 6px 24px rgba(94, 53, 177, 0.18);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(94, 53, 177, 0.4);
}

.cta-button.secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.cta-button {
  color: var(--white);
}

.cta-button.secondary:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(94, 53, 177, 0.3);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
  transition: color 0.3s;
}

.hamburger .bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: 0.4s;
}

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

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

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

/* Hero Section Premium */
.hero {
  min-height: 100vh;
  padding: 0 5%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(94, 53, 177, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 5rem 0;
}

.hero h1 {
  margin-top: 2.6rem;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.3s;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #546e7a;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.5s;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards 0.7s;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 700px;
  opacity: 0;
  animation: fadeInRight 1s forwards 0.9s;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-15deg);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(-5deg);
}

.stats {
  display: flex;
  gap: 2rem;
  opacity: 0;
  animation: fadeIn 1s forwards 1.1s;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: #78909c;
  font-weight: 500;
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0) translateY(-50%);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-image {
    width: 45%;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 80%;
    margin: 3rem auto 0;
  }

  .stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    position: fixed;
    top: 0;
    right: -100vw;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -8px 0 32px rgba(94, 53, 177, 0.1);
    padding: 5.5rem 2rem 2rem 2rem;
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
  }
  .nav-links.open {
    right: 0;
  }
  .navbar {
    padding: 1rem 5%;
  }
  .logo-text {
    font-size: 1.2rem;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0 1.5rem 0;
    box-shadow: var(--shadow-md);
    z-index: 999;
    align-items: flex-start;
    transition: var(--transition);
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }

  .hero h1 {
    margin-top: -1.4rem;
    font-size: 2.5rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

.menu-overlay {
  display: none;
}
body.menu-open .menu-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 25, 50, 0.25);
  z-index: 1040;
  animation: fadeIn 0.3s;
}
