:root {
  --primary-color: #69B99D;
  --primary-dark: #4ea788;
  --text-dark: #1F1534;
  --text-light: #7D7987;
  --accent-color: #89C5CC;
  --bg-light: rgba(227, 255, 248, 0.38);
  --transition: 0.3s ease-in-out;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(180deg, rgba(227, 255, 248, 0) 82.08%, var(--bg-light) 100%);
  min-height: 100vh;
  color: var(--text-dark);
}

.page {
  width: min(95%, 1000px);
  margin: 0 auto;
  padding-top: 65px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 55px;
  font-family: 'Mulish', sans-serif;
}

#logo {
  transition: transform var(--transition);
}

#logo:hover {
  transform: scale(1.1);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 48px;
  margin: 0;
  padding: 0;
}

a {
  color: var(--text-dark);
  text-decoration: none;
}

.nav-link {
  opacity: 0.5;
  transition: opacity var(--transition), font-weight 0.1s;
  position: relative;
}

.nav-link:hover {
  font-weight: 700;
  opacity: 1;
}

h1 {
  font-family: 'Mulish', sans-serif;
  font-size: 49px;
  line-height: 56px;
  color: var(--text-dark);
  font-weight: 400;
  margin: 0 0 20px 0;
  animation: slideInLeft 0.6s ease-out;
}

h1 .highlight {
  color: var(--accent-color);
  font-weight: 700;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex: 1;
}

.hero-content {
  flex: 1;
  max-width: 490px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: slideInRight 0.6s ease-out;
}

.hero-description {
  font-size: 14px;
  line-height: 28px;
  color: var(--text-light);
  margin: 40px 0;
  animation: slideInLeft 0.8s ease-out;
}

.cta-button {
  color: white;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;

  background: var(--primary-color);
  border: 0;
  display: inline-flex;

  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px 15px;

  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 12px rgba(105, 185, 157, 0.3);
  animation: slideInLeft 1s ease-out;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(105, 185, 157, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.footer {
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  margin-top: 80px;
  padding-bottom: 40px;
  color: var(--text-light);
}

.footer a {
  color: var(--primary-color);
  font-weight: 700;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

#balls {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image: url('imagens/balls.svg');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto;
  opacity: 0.8;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .page {
    padding-top: 40px;
  }

  .navbar {
    margin-bottom: 35px;
  }

  .nav-menu {
    gap: 24px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .hero-image {
    width: 100%;
    margin-top: 30px;
  }

  .footer {
    margin-top: 60px;
  }
}

@media (max-width: 480px) {
  .page {
    padding-top: 30px;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
  }

  .nav-menu {
    gap: 16px;
    font-size: 12px;
  }

  h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero-description {
    font-size: 12px;
    line-height: 24px;
  }

  .cta-button {
    width: 100%;
    padding: 12px 24px;
  }

  #balls {
    background-size: 200px;
  }
}

footer a {
  font-weight: 700;
}

#balls {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 120px;
  opacity: 0.6;
  z-index: 999;
  pointer-events: none;
}