@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #1A3C40;
  --primary-hover: #153136;
  --secondary-color: #f8fafc;
  --secondary-hover: #e2e8f0;
  --background-light: #ffffff;
  --background-dark: #1e293b;
  --text-light: #1e293b;
  --text-dark: #f1f5f9;
  --success-color: #25830b;
  --highlight-color: #a2d90a;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.2);
  --border-radius: 1.8rem;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gradient-bg: linear-gradient(135deg, #f3f7fa 10%, #e0e8f0 90%);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glow-effect: 0 0 12px rgba(162, 217, 10, 0.3);
}

[data-theme="dark"] {
  --background-light: var(--background-dark);
  --text-light: var(--text-dark);
  --secondary-color: #2d3748;
  --secondary-hover: #4b5563;
  --gradient-bg: linear-gradient(135deg, #1e293b 10%, #2d3748 90%);
  --glass-bg: rgba(45, 55, 72, 0.3);
  --glass-border: rgba(45, 55, 72, 0.35);
  --glow-effect: 0 0 12px rgba(162, 217, 10, 0.4);
}

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

body {
  font-family: var(--font-primary);
  background: var(--gradient-bg);
  color: var(--text-light);
  line-height: 1.8;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

nav {
  position: sticky;
  top: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: clamp(1rem, 3.5vw, 1.6rem) clamp(1.5rem, 4.5vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  max-width: clamp(150px, 18vw, 130px);
  transition: var(--transition);
}

.nav-logo img:hover {
  transform: scale(1.12) rotate(3deg);
  filter: drop-shadow(var(--glow-effect));
}

nav ul {
  display: flex;
  gap: clamp(1.8rem, 4.5vw, 3rem);
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  padding: 0.8rem 0;
  position: relative;
  transition: var(--transition);
}

nav a:hover, nav a.active {
  color: var(--primary-color);
  text-shadow: var(--glow-effect);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 4px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--highlight-color));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: clamp(1.6rem, 4.5vw, 2rem);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.nav-toggle:hover {
  color: var(--primary-color);
  transform: scale(1.2) rotate(90deg);
}

.hero {
  text-align: center;
  padding: clamp(9rem, 22vw, 14rem) clamp(1.5rem, 4.5vw, 3rem);
  background: var(--primary-color) url('https://images.pexels.com/photos/6694543/pexels-photo-6694543.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center/cover;
  background-attachment: fixed;
  color: white;
  position: relative;
  min-height: clamp(550px, 85vh, 750px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(162, 217, 10, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.hero h1, .hero p, .hero button {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  margin-bottom: 2.5rem;
  letter-spacing: -0.04em;
  transform: translateY(40px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: clamp(1.2rem, 2.8vw, 1.5rem);
  font-weight: 400;
  max-width: clamp(650px, 85%, 900px);
  margin: 0 auto 3.5rem;
  transform: translateY(40px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.4s forwards;
}

.hero button {
  padding: clamp(1.1rem, 2.8vw, 1.4rem) clamp(2.2rem, 5.5vw, 3.5rem);
  background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
  color: white;
  border: none;
  border-radius: 1.2rem;
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  transform: translateY(40px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
  position: relative;
  overflow: hidden;
}

.hero button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.hero button:hover::after {
  left: 100%;
}

.hero button:hover {
  transform: scale(1.1) translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(90deg, var(--primary-hover), var(--primary-color));
}

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

.hero-text {
  text-align: center;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  margin: clamp(5rem, 12vw, 7rem) clamp(1rem, 3.5vw, 2.5rem) clamp(2.5rem, 6vw, 3.5rem);
  color: var(--primary-color);
  line-height: 1.2;
  letter-spacing: -0.04em;
  transform: translateY(40px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero-text .brand {
  color: var(--primary-color);
  font-weight: 900;
  text-shadow: var(--glow-effect);
}

.hero-text .highlight {
  color: var(--highlight-color);
  font-weight: 900;
  text-shadow: var(--glow-effect);
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 2.2rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0 auto clamp(5rem, 12vw, 7rem);
  max-width: clamp(900px, 95%, 1000px);
  box-shadow: var(--shadow-md);
  transform: translateY(40px);
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

#introVideo {
  width: 1200px;
  max-width: 100%;  
  height: 500px;    
  border-radius: 1.8rem;
  transition: var(--transition);
}

#introVideo:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-effect);
}

.carousel-section {
  padding: clamp(5rem, 12vw, 7rem) clamp(1rem, 3.5vw, 2.5rem);
  text-align: center;
}

.carousel-section h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.swiper {
  max-width: clamp(900px, 95%, 1400px);
  margin: 0 auto;
}

.swiper-slide {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: clamp(2.5rem, 6vw, 3.5rem);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.swiper-slide:hover {
  transform: translateY(-12px) scale(1.06);
  box-shadow: var(--shadow-lg);
  border-color: var(--highlight-color);
}

.swiper-slide i {
  font-size: clamp(2.8rem, 7vw, 4rem);
  color: var(--primary-color);
  margin-bottom: 1.8rem;
}

.swiper-slide h3 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.swiper-slide p {
  color: var(--text-light);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
}

.plans-section {
  padding: clamp(5rem, 12vw, 7rem) clamp(1rem, 3.5vw, 2.5rem);
  background: var(--gradient-bg);
}

.plans-section h2 {
  text-align: center;
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: clamp(3rem, 7vw, 4.5rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 50vw, 360px), 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  max-width: clamp(900px, 95%, 1500px);
  margin: 0 auto;
}

.plan-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: clamp(2.5rem, 6vw, 3.5rem);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-color), var(--highlight-color));
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-15px) scale(1.06) rotateX(5deg);
  box-shadow: var(--shadow-lg);
  border-color: var(--highlight-color);
}

.plan-card h3 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.8rem;
}

.plan-card .price {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-light);
  margin-bottom: 2.2rem;
}

.plan-card .price span {
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  font-weight: 400;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 3rem;
}

.plan-card ul li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
}

.plan-card ul li i {
  color: var(--success-color);
  margin-right: 1rem;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
}

.plan-card button {
  padding: clamp(0.9rem, 2.2vw, 1.1rem) clamp(2.2rem, 5.5vw, 3.5rem);
  background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
  color: white;
  border: none;
  border-radius: 1.2rem;
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.plan-card button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.plan-card button:hover::after {
  left: 100%;
}

.plan-card button:hover {
  transform: scale(1.1) translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(90deg, var(--primary-hover), var(--primary-color));
}

footer {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: clamp(4rem, 10vw, 6rem) clamp(1rem, 3.5vw, 2.5rem);
  text-align: center;
}

footer p {
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  margin-bottom: 2.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2rem); /* Adjusted gap for better spacing */
  margin: 1.5rem 0; /* Consistent margin above and below */
  flex-wrap: wrap; /* Ensures links wrap neatly on smaller screens */
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600; /* Slightly lighter for better hierarchy */
  font-size: clamp(0.9rem, 2vw, 1.1rem); /* Slightly smaller for balance */
  padding: 0.5rem 1rem; /* Added padding for better click area */
  transition: var(--transition);
  border-radius: 0.6rem; /* Subtle rounding to match buttons */
}

.footer-links a:hover {
  color: var(--primary-color);
  background: var(--glass-bg); /* Subtle background on hover */
  transform: translateY(-2px); /* Reduced transform for subtlety */
  text-shadow: var(--glow-effect);
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: clamp(1.8rem, 4.5vw, 2.5rem);
}

.social-icons a {
  color: var(--text-light);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary-color);
  transform: scale(1.4);
  text-shadow: var(--glow-effect);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 2px solid var(--glass-border);
  margin: clamp(12%, 18vh, 18%) auto;
  padding: clamp(2.5rem, 6vw, 3.5rem);
  border-radius: var(--border-radius);
  width: clamp(85%, 95vw, 95%);
  max-width: 650px;
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.close {
  position: absolute;
  top: clamp(1.2rem, 3vw, 1.8rem);
  right: clamp(1.8rem, 4vw, 2.5rem);
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close:hover {
  color: var(--primary-color);
  transform: rotate(180deg);
  text-shadow: var(--glow-effect);
}

.btn-contato {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
  color: white;
  padding: clamp(0.9rem, 2.2vw, 1.1rem) clamp(1.8rem, 4.5vw, 3rem);
  margin: 0.8rem;
  border-radius: 1.2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.btn-contato::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.5s;
}

.btn-contato:hover::after {
  left: 100%;
}

.btn-contato:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.btn-contato i {
  margin-right: 1rem;
}

.btn-contato.whatsapp {
  background: linear-gradient(90deg, #25d366, #1ebe5d);
}

.btn-contato.whatsapp:hover {
  transform: scale(1.1) translateY(-5px);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  }

  .hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
  }

  .hero-text {
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  }

  .carousel-section h2, .plans-section h2 {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  }

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

  .video-container {
    padding: clamp(0.6rem, 1.8vw, 1rem);
  }
}

@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    position: fixed;
    top: clamp(4.5rem, 12vw, 5.5rem);
    right: 0;
    background: white;
    backdrop-filter: blur(20px);
    border-left: 2px solid var(--glass-border);
    width: clamp(220px, 65vw, 320px);
    padding: clamp(1.8rem, 5vw, 2.5rem);
    box-shadow: var(--shadow-md);
    transform: translateX(100%);
    transition: var(--transition);
  }

  nav ul.active {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 4.8vw, 2.8rem);
  }

  .hero-text {
    font-size: clamp(1.9rem, 4.8vw, 2.8rem);
  }
}