/* RESET BÁSICO */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
}

/* VARIÁVEIS */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #ec4899;
  --text: #0f172a;
  --text-light: #64748b;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 1rem;
  margin: 0 auto;
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border: none;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn.secondary {
  background: var(--bg-card);
  color: var(--primary);
  border: 2px solid var(--primary);
  backdrop-filter: blur(10px);
}

.btn.secondary:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* BOTÃO WHATSAPP FIXO */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 50px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.7);
  }
}

/* HERO */
.hero {
  padding: 6rem 0;
  background: transparent;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.25rem;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

/* SEÇÕES */
section {
  padding: 4rem 0;
  position: relative;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* COMO FUNCIONA */
.how-it-works {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.how-it-works h2 {
  color: #ffffff;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-weight: 700;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--text);
}

.step p {
  color: var(--text-light);
}

/* SERVIÇOS */
.services {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}

.service-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.service-list li {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: left 0.3s ease;
}

.service-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-list li:hover::before {
  left: 1rem;
}

/* SOBRE */
.about {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.about h2 {
  color: #ffffff;
}

.about p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 800px;
  line-height: 1.8;
}

/* DEPOIMENTOS */
.testimonials {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}

.testimonial {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  padding: 2.5rem;
  border-radius: 16px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial p {
  position: relative;
  z-index: 1;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text);
}

.testimonial span {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary);
  font-style: normal;
}

/* FAQ */
.faq {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.faq h2 {
  color: #ffffff;
}

.faq details {
  margin-bottom: 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq details:hover {
  box-shadow: var(--shadow);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1.5rem;
  color: var(--text);
  transition: all 0.3s ease;
  position: relative;
  padding-right: 3rem;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq summary:hover {
  background: rgba(99, 102, 241, 0.05);
}

.faq p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  animation: fadeIn 0.3s ease;
}

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

/* FOOTER */
.footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  color: #ffffff;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent);
}

/* DESKTOP */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-cta {
    flex-direction: row;
  }

  .steps {
    flex-direction: row;
  }

  .step {
    flex: 1;
  }

  .footer-links {
    flex-direction: row;
    gap: 2rem;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  section {
    padding: 5rem 0;
  }

  .hero {
    padding: 8rem 0;
  }
}