/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Banner superior */
.top-banner {
  background-color: #00c853;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-weight: 600;
}

.top-banner a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  margin-left: 5px;
}

/* Header */
.header {
  background-color: #8a4bff;
  padding: 15px 0;
  color: white;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 40px;
}

.main-nav ul {
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 50px;
}

.cart-link {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ff5722;
  color: white;
  font-size: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #8a4bff 0%, #6a3acd 100%);
  color: white;
  padding: 60px 0 100px;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.testimonial-avatars {
  display: flex;
  margin-bottom: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: -10px;
}

.rating {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.stars {
  color: #ffca28;
  margin-bottom: 5px;
}

.rating-count {
  font-weight: 600;
}

.hero-description {
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.cta-button {
  display: inline-block;
  background-color: #00c853;
  color: white;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 50px;
  margin-bottom: 15px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #00b34a;
}

.free-trial a {
  color: white;
  text-decoration: underline;
  font-weight: 500;
}

.video-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container video {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.like-icon {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.like-icon i {
  color: #ff4081;
  font-size: 40px;
}

/* Wave Separator */
.wave-separator {
  height: 150px;
  background-image: url("../images/wave.svg");
  background-size: cover;
  background-position: center top;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}

/* Services Section */
.services {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  color: #8a4bff;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h3 {
  font-size: 2rem;
  color: #333;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  color: #666;
  margin-bottom: 20px;
}

.service-button {
  display: inline-block;
  background-color: #8a4bff;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.service-button:hover {
  background-color: #7a3aee;
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer h4:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #8a4bff;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav a:hover {
  color: #8a4bff;
}

.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.social-icons a:hover {
  background-color: #8a4bff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  max-width: 90%;
  width: 500px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-content p {
  font-size: 0.9rem;
  color: #666;
}

.cookie-content a {
  color: #8a4bff;
  text-decoration: underline;
}

#accept-cookies {
  background-color: #8a4bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

#accept-cookies:hover {
  background-color: #7a3aee;
}

/* Animações */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Transições */
.transition-all {
  transition: all 0.3s ease;
}

/* Estilos específicos que complementam o Tailwind */
.cookie-consent {
  transition: opacity 0.3s ease;
}

.mobile-menu {
  transition: all 0.3s ease;
}

.faq-toggle i {
  transition: transform 0.3s ease;
}

/* Responsividade */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .header-actions .phone-link span {
    display: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cookie-consent {
    width: 95%;
  }
}

/* Estilos para elementos que não são facilmente estilizados com Tailwind */
.video-container video::-webkit-media-controls-panel {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

/* Melhorias para acessibilidade */
:focus {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

/* Estilos para impressão */
@media print {
  .header,
  .footer,
  .cookie-consent {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .container {
    width: 100%;
    max-width: none;
  }
}
