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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
  line-height: 1.6;
  background: #f8f9fa;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.95) 100%),
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Navbar Fixa */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 18px 0;
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo .nano {
  font-weight: 400;
  margin-right: 0;
}

.nav-logo .fit {
  font-weight: 200;
  font-style: italic;
  margin-left: 0;
}

.nav-logo-text {
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a:hover {
  color: #667eea;
}

.nav-cta {
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: white !important;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Remove o efeito de linha do botão de contato */
.nav-links .nav-cta::before {
  display: none;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  color: #2c3e50;
  padding: 160px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}


.hero h1 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 25px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: #2c3e50;
}

.hero h1 strong {
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  margin-bottom: 50px;
  opacity: 0.85;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.8;
  color: #5a6c7d;
}

.download-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.download-btn {
  display: inline-block;
  padding: 15px 30px;
  background: rgba(102, 126, 234, 0.1);
  color: #2c3e50;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);
  backdrop-filter: blur(10px);
}

.download-btn:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.download-btn img {
  height: 40px;
  width: auto;
  vertical-align: middle;
  margin-right: 10px;
}

/* Sections */
.section {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 40px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 60px;
  color: #2c3e50;
  letter-spacing: -1px;
}

.section-title strong {
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  margin: 60px auto;
  padding: 80px 40px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.about-text {
  font-size: 18px;
  color: #5a6c7d;
  line-height: 1.9;
  font-weight: 300;
}

.about-text strong {
  color: #2c3e50;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
  font-size: 52px;
  margin-bottom: 25px;
  filter: drop-shadow(0 4px 10px rgba(102, 126, 234, 0.2));
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #2c3e50;
  letter-spacing: -0.5px;
}

.feature-card p {
  color: #5a6c7d;
  line-height: 1.8;
  font-weight: 300;
}

/* Accordion para funcionalidades no mobile */
.feature-card-header {
  display: none;
  cursor: pointer;
  user-select: none;
}

.feature-card-content {
  transition: all 0.3s ease;
}

.feature-card-toggle {
  display: inline-block;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid #667eea;
  border-bottom: 1.5px solid #667eea;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  opacity: 0.7;
}

.feature-card.expanded .feature-card-toggle {
  transform: rotate(225deg);
}

/* Desktop: mostra tudo normalmente */
@media (min-width: 769px) {
  #funcionalidades .feature-card {
    cursor: default;
    padding: 40px;
  }

  /* Esconde o header no desktop */
  #funcionalidades .feature-card-header {
    display: none !important;
  }

  /* Mostra o ícone e título como elementos separados no desktop */
  #funcionalidades .feature-card>.feature-icon {
    display: block !important;
    margin-bottom: 25px;
    font-size: 52px;
  }

  #funcionalidades .feature-card>h3 {
    display: block !important;
    margin-bottom: 18px;
    font-size: 24px;
  }

  #funcionalidades .feature-card-content {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  #funcionalidades .feature-card-toggle {
    display: none !important;
  }
}

.coming-soon {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  margin: 60px auto;
  padding: 80px 40px;
  border: 1px solid rgba(255, 193, 7, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.coming-soon-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.contact {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  backdrop-filter: blur(20px);
  color: #2c3e50;
  border-radius: 24px;
  margin: 60px auto;
  padding: 80px 40px;
  border: 1px solid rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
  animation: rotate 25s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.contact .section-title {
  position: relative;
  z-index: 1;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact p {
  font-size: 18px;
  margin-bottom: 35px;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.8;
  color: #5a6c7d;
}

.whatsapp-btn {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  position: relative;
  z-index: 1;
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-icon {
  display: inline-block;
  margin-right: 12px;
  width: 24px;
  height: 24px;
  vertical-align: middle;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer {
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  text-align: left;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 5px;
}

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

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.footer-bottom p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: #2c3e50;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-logo img {
    height: 32px;
  }

  .nav-logo {
    font-size: 22px;
    gap: 10px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 25px;
    transition: left 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .hero {
    padding: 130px 20px 70px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 70px 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .about,
  .coming-soon,
  .contact {
    padding: 50px 0;
    margin: 40px auto;
  }

  /* Remove estilos da classe coming-soon no mobile */
  .coming-soon {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 30px 0;
    margin: 40px auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Accordion para funcionalidades no mobile */
  #funcionalidades .feature-card {
    padding: 20px;
    cursor: pointer;
    position: relative;
  }

  /* Esconde os elementos diretos no mobile */
  #funcionalidades .feature-card>.feature-icon,
  #funcionalidades .feature-card>h3 {
    display: none;
  }

  #funcionalidades .feature-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
    transition: all 0.3s ease;
  }

  #funcionalidades .feature-card-header .feature-icon {
    font-size: 32px;
    margin-bottom: 0;
    transition: all 0.3s ease;
  }

  #funcionalidades .feature-card-header h3 {
    margin-bottom: 0;
    flex: 1;
    font-size: 18px;
    transition: all 0.3s ease;
  }

  #funcionalidades .feature-card-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
  }

  #funcionalidades .feature-card.expanded .feature-card-content {
    max-height: 500px;
    opacity: 1;
    margin-top: 15px;
  }

  #funcionalidades .feature-card.expanded .feature-card-header {
    margin-bottom: 0;
    align-items: flex-start;
  }

  #funcionalidades .feature-card.expanded .feature-card-header .feature-icon {
    margin-bottom: 0;
  }

  #funcionalidades .feature-card.expanded .feature-card-header h3 {
    margin-bottom: 0;
  }

  #funcionalidades .feature-card-content p {
    margin-top: 0;
  }

  /* Carousel para seção Em Breve no mobile */
  .coming-soon .carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
  }

  .carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
    width: 100%;
    position: relative;
  }

  .carousel-container .carousel-slide {
    min-width: 100%;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
  }

  /* Cards ocupam 100% da largura sem mostrar elementos adjacentes */
  .carousel-container .carousel-slide .feature-card {
    margin: 0;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .carousel-dot.active {
    background: #667eea;
    width: 24px;
    border-radius: 4px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    max-width: 250px;
  }
}

/* Desktop: mantém grid normal */
@media (min-width: 769px) {
  .carousel-nav {
    display: none;
  }

  .carousel-container {
    display: grid;
  }

  .carousel-container .carousel-slide {
    min-width: auto;
  }
}
