/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores HSL do design system */
  --background: 220 25% 10%;
  --foreground: 0 0% 98%;
  --card: 220 20% 15%;
  --card-foreground: 0 0% 98%;
  --popover: 220 20% 15%;
  --popover-foreground: 0 0% 98%;
  --primary: 142 76% 36%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 15% 20%;
  --secondary-foreground: 0 0% 98%;
  --muted: 220 15% 25%;
  --muted-foreground: 215 20% 65%;
  --accent: 142 76% 36%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 220 15% 25%;
  --input: 220 15% 25%;
  --ring: 142 76% 36%;
  --radius: 0.75rem;
  --whatsapp: 142 70% 42%;
  --whatsapp-hover: 142 70% 32%;
  --primary-dark: 142 76% 12%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Utilitários */
.min-h-screen {
  min-height: 100vh;
}

.bg-background {
  background-color: hsl(var(--background));
}

.bg-card {
  background-color: hsl(var(--card));
}

.text-foreground {
  color: hsl(var(--foreground));
}

.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-primary {
  color: hsl(var(--primary));
}

.border-border {
  border-color: hsl(var(--border));
}

/* Header */
header {
  width: 100%;
  background-color: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background-color: hsla(var(--card), 0.95);
}

/* Navigation */
.header-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: hsl(var(--primary));
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: hsl(var(--primary));
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: hsl(var(--primary));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon span {
  color: hsl(var(--primary-foreground));
  font-weight: bold;
  font-size: 1.25rem;
}

.logo-text h2 {
  color: hsl(var(--foreground));
  font-weight: bold;
  font-size: 1.125rem;
}

.logo-text p {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.header-contact {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .header-contact {
    display: flex;
  }
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.875rem;
}

.header-contact a:hover {
  color: hsl(var(--foreground));
}

.header-contact svg {
  width: 16px;
  height: 16px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  padding: 0.5rem 1rem;
}

.btn-whatsapp {
  background-color: hsl(var(--whatsapp));
  color: white;
}

.btn-whatsapp:hover {
  background-color: hsl(var(--whatsapp-hover));
}

.btn-lg {
  height: 56px;
  padding: 0 2rem;
  font-size: 1.125rem;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.btn-outline-primary {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.btn-outline-primary:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.05;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsl(var(--background)), hsla(var(--background), 0.95), hsla(var(--background), 0.8));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsla(var(--primary), 0.1);
  color: hsl(var(--primary));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.5rem;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hero-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.hero-feature span {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

/* Section */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title h2 {
    font-size: 3rem;
  }
}

.section-title p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto;
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-4px);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: hsl(var(--primary-dark));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: hsl(var(--primary));
  position: relative;
  z-index: 1;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

.card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-1 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Device Cards */
.device-card {
  overflow: hidden;
}

.device-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.device-card:hover img {
  transform: scale(1.1);
}

.aspect-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.device-card-content {
  padding: 1.5rem;
}

.device-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.device-card p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.device-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.device-tag {
  background-color: hsl(var(--card));
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}

/* Tutorial Steps */
.tutorial-card {
  position: relative;
  padding: 1.5rem;
}

.tutorial-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 48px;
  height: 48px;
  background-color: hsl(var(--primary));
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tutorial-number span {
  color: hsl(var(--primary-foreground));
  font-weight: bold;
  font-size: 1.25rem;
}

.tutorial-icon {
  width: 56px;
  height: 56px;
  background-color: hsl(var(--primary-dark));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
  position: relative;
}

.tutorial-icon svg {
  width: 28px;
  height: 28px;
  color: hsl(var(--primary));
  position: relative;
  z-index: 1;
}

.tutorial-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.tutorial-card p {
  color: hsl(var(--muted-foreground));
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  background-color: hsl(var(--primary-dark));
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
  position: relative;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  position: relative;
  z-index: 1;
}

.benefit-item > span:not(.benefit-icon) {
  color: hsl(var(--foreground));
  font-size: 1.125rem;
}

/* FAQ Accordion */
.faq-item {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s;
}

.faq-question:hover {
  color: hsl(var(--primary));
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.faq-question.active svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-top: 0;
  padding-top: 0;
}

.faq-answer.active {
  max-height: 500px;
  margin-top: 1rem;
  padding-top: 0;
}

/* CTA Section */
.cta-card {
  background: linear-gradient(to bottom right, hsla(var(--primary), 0.1), hsl(var(--card)), hsla(var(--primary), 0.05));
  border: 1px solid hsla(var(--primary), 0.2);
  padding: 3rem;
  text-align: center;
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-card h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-card h2 {
    font-size: 3rem;
  }
}

.cta-card p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-button {
  height: 64px;
  padding: 0 2.5rem;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.cta-note {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1.5rem;
}

/* Footer */
footer {
  background-color: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
}

.footer-content {
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 40px;
  height: 40px;
  background-color: hsl(var(--primary));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon span {
  color: hsl(var(--primary-foreground));
  font-weight: bold;
  font-size: 1.25rem;
}

.footer-logo-text h3 {
  color: hsl(var(--foreground));
  font-weight: bold;
  font-size: 1.125rem;
}

.footer-logo-text p {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.footer-section h4 {
  color: hsl(var(--foreground));
  font-weight: bold;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

.footer-links svg {
  width: 16px;
  height: 16px;
}

.footer-list a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-list a:hover {
  color: hsl(var(--primary));
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 2rem;
}

.footer-bottom p {
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Backgrounds */
.bg-card-50 {
  background-color: hsla(var(--card), 0.5);
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

@media (min-width: 640px) {
  .flex-col-sm {
    flex-direction: row;
  }
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.leading-relaxed {
  line-height: 1.75;
}

/* Ajustes adicionais */
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  min-width: 64px;
  height: 64px;
  padding: 0 20px;
  background-color: hsl(var(--whatsapp));
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.7);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.whatsapp-float:hover {
  background-color: hsl(var(--whatsapp-hover));
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2), 0 0 0 10px rgba(37, 211, 102, 0);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: white;
  flex-shrink: 0;
}

.whatsapp-float-text {
  white-space: nowrap;
  font-size: 0.95rem;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    min-width: 56px;
    height: 56px;
    padding: 0 16px;
    bottom: 20px;
    right: 20px;
    font-size: 0.85rem;
  }
  
  .whatsapp-float svg {
    width: 20px;
    height: 20px;
  }
  
  .whatsapp-float-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    min-width: 56px;
    height: 56px;
    padding: 0 12px;
    gap: 8px;
  }
  
  .whatsapp-float-text {
    display: none;
  }
}

/* Planos */
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  position: relative;
}

.plan-highlight {
  border: 2px solid hsl(var(--primary));
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .plan-highlight {
    transform: scale(1);
  }
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid hsl(var(--border));
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.plan-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.plan-amount {
  font-size: 3.5rem;
  font-weight: bold;
  color: hsl(var(--primary));
  line-height: 1;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: bold;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-period {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.plan-features {
  flex: 1;
  margin-bottom: 2rem;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.plan-feature svg {
  width: 20px;
  height: 20px;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.plan-feature span {
  font-size: 0.9rem;
  color: hsl(var(--foreground));
  line-height: 1.5;
}

.plan-button {
  width: 100%;
  height: 48px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.plan-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .whatsapp-float {
    animation: none;
  }
}

