:root {
  --red: #e63946;
  --wine: #b91c1c;
  --purple: #7e22ce;
  --light-bg: #f8f9fa;
  --dark-text: #212529;
  --white: #ffffff;
  --gray: #6c757d;
  --dark-bg: #121212;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.fullwidth {
  width: 100%;
  padding: 0;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--wine);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 1.1rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--red);
}

.nav-buttons {
  display: flex;
  gap: 0.9rem;
}

.btn {
  padding: 0.55rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  font-size: 0.92rem;
}

.btn-primary:hover {
  background: var(--wine);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(185, 28, 28, 0.3);
}

.btn-outline {
  border: 2px solid var(--purple);
  color: var(--purple);
  font-size: 0.92rem;
}

.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark-text);
}

/* Fullscreen Carousel */
.fullscreen-carousel {
  position: relative;
  width: 100%;
  height: 85vh;
  max-height: 900px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 0 1.5rem;
  z-index: 2;
}

.carousel-bg {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 2.5rem;
  border-radius: 20px;
  display: inline-block;
}

.carousel-content h1 {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.carousel-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

/* Carousel Controls */
.carousel-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: white;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s;
}

.carousel-arrow:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-arrow.left {
  left: 30px;
}

.carousel-arrow.right {
  right: 30px;
}

/* Video Section */
.video-section {
  padding: 5rem 0;
  background: white;
  text-align: center;
}

.video-section h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--wine);
  position: relative;
}

.video-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--red);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  border: 8px solid white;
}

.video-wrapper::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: -16px;
  bottom: -16px;
  border: 2px solid var(--purple);
  border-radius: 24px;
  z-index: -1;
  pointer-events: none;
}

/* Features with Icons */
.features-icons {
  padding: 5rem 0;
  background: var(--light-bg);
}

.features-icons h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--wine);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.feature-item {
  text-align: center;
  padding: 1.8rem 1.2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 1.2rem;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--dark-text);
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--gray);
}

/* Testimonials com scroll + setas */
.testimonials {
  padding: 5rem 0;
  background: linear-gradient(to right, #fff0f5, #f5f0ff);
  position: relative;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: var(--wine);
}

.testimonial-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-scroll {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 0 2rem;
}

.testimonial-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 auto;
  width: 320px;
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.5;
}

.testimonial-author {
  font-weight: 600;
  color: var(--purple);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  border: none;
  transition: background 0.3s;
}

.testimonial-btn:hover {
  background: var(--wine);
}

/* CTA */
.cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--wine);
  color: var(--white);
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer */
footer {
  background: #1e1e1e;
  color: #ddd;
  padding: 2.5rem 0;
  text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-menu, .nav-buttons {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .carousel-content h1 {
    font-size: 2.1rem;
  }
  .carousel-content p {
    font-size: 1.1rem;
  }
  .testimonial-card {
    width: 280px;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .carousel-arrow.left {
    left: 15px;
  }
  .carousel-arrow.right {
    right: 15px;
  }

 /* Mobile */
@media (max-width: 768px) {
  .nav-menu, .nav-buttons {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .carousel-content h1 {
    font-size: 2.1rem;
  }
  .carousel-content p {
    font-size: 1.1rem;
  }
  .testimonial-card {
    width: 280px;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .carousel-arrow.left {
    left: 15px;
  }
  .carousel-arrow.right {
    right: 15px;
  }

  /* ✅ Regra correta para o menu mobile */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 0;
    background: white;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
}