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

:root {
  /* Cores */
  --primary: hsl(25, 95%, 55%);
  --primary-foreground: hsl(40, 20%, 98%);
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(0, 0%, 15%);
  --muted: hsl(35, 15%, 94%);
  --muted-foreground: hsl(0, 0%, 35%);
  --accent: hsl(270, 20%, 92%);
  --accent-foreground: hsl(270, 60%, 35%);
  --card: hsl(0, 0%, 98%);
  --card-foreground: hsl(0, 0%, 15%);
  --destructive: hsl(5, 85%, 60%);
  --destructive-foreground: hsl(0, 0%, 98%);
  --border: hsl(0, 0%, 88%);
  --chart-3: hsl(145, 65%, 45%);
  
  /* Fontes */
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

/* Utilidades */
.min-h-screen {
  min-height: 100vh;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.hidden {
  display: none;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

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

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border {
  border: 1px solid var(--border);
}

.border-2 {
  border-width: 2px;
}

.border-t {
  border-top: 1px solid var(--border);
}

.shadow {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.12), 0 3px 6px -3px rgba(0, 0, 0, 0.12);
}

.shadow-lg {
  box-shadow: 0 10px 20px -4px rgba(0, 0, 0, 0.15), 0 4px 8px -4px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 40px -8px rgba(0, 0, 0, 0.25);
}

/* Toast Notification */
#toast-container {
  top: 1rem;
  right: 1rem;
  z-index: 50;
}

#toast-container.show {
  display: block;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-content {
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  max-width: 24rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 500px;
  background: linear-gradient(to bottom right, var(--accent), var(--muted), var(--background));
  overflow: hidden;
}

.hero-emoji-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  min-height: 2.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: hsl(25, 95%, 50%);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: hsl(0, 0%, 92%);
  color: var(--foreground);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1.25rem 2rem;
  min-height: 3rem;
}

/* Card */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-padding {
  padding: 1.25rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-destructive {
  background-color: var(--destructive);
  color: var(--destructive-foreground);
}

.badge-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-bg-muted {
  background-color: rgba(247, 244, 242, 0.3);
}

.section-bg-gradient-primary {
  background: linear-gradient(to right, rgba(237, 121, 35, 0.1), rgba(232, 226, 245, 0.2));
}

.section-bg-gradient-destructive {
  background: linear-gradient(to right, rgba(224, 91, 75, 0.1), rgba(224, 91, 75, 0.05), rgba(224, 91, 75, 0.1));
}

/* Grid Layouts */
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-foreground {
  color: var(--foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

.text-primary {
  color: var(--primary);
}

.text-white {
  color: white;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.italic {
  font-style: italic;
}

/* Spacing */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

/* Width */
.w-full {
  width: 100%;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-auto {
  height: auto;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-sm {
  max-width: 24rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Aspect Ratio */
.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

/* Object Fit */
.object-cover {
  object-fit: cover;
}

/* Transition */
.transition-all {
  transition: all 0.3s;
}

.transition-transform {
  transition: transform 0.3s;
}

.transition-opacity {
  transition: opacity 0.3s;
}

/* Hover Effects */
.hover-scale:hover {
  transform: scale(1.05);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--accent-foreground));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer */
footer {
  background-color: var(--accent-foreground);
  color: var(--accent);
  padding: 3rem 0;
}

footer .border-accent {
  border-color: rgba(232, 226, 245, 0.2);
}

/* Icon Circle */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

.bg-primary-light {
  background-color: rgba(237, 121, 35, 0.1);
}

.bg-chart-3 {
  background-color: var(--chart-3);
}

.text-accent {
  color: var(--accent);
}

/* Rotate */
.rotate-12 {
  transform: rotate(12deg);
}

/* Leading */
.leading-tight {
  line-height: 1.25;
}

/* Image Gallery */
.image-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background-color: white;
}

.image-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.image-gallery-item:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.image-gallery-item:hover .image-overlay {
  opacity: 1;
}

/* Comparison Cards */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.check-icon {
  color: var(--chart-3);
  flex-shrink: 0;
}

.check-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Testimonial Avatar */
.avatar {
  position: relative;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 9999px;
  border: 2px solid var(--primary);
}

.avatar img {
  aspect-ratio: 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Star Rating */
.star-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--primary);
  color: var(--primary);
}

/* Urgency Section */
.urgency-card {
  background: linear-gradient(to bottom right, white, rgba(224, 91, 75, 0.05));
  border: 2px solid rgba(224, 91, 75, 0.2);
  border-radius: 0.75rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.urgency-emoji {
  position: absolute;
  font-size: 6rem;
  opacity: 0.05;
}

.urgency-emoji-top {
  top: 0;
  right: 0;
}

.urgency-emoji-bottom {
  bottom: 0;
  left: 0;
}

/* Responsive */
@media (min-width: 640px) {
  .sm-text-4xl {
    font-size: 2.25rem;
  }
  
  .sm-flex-row {
    flex-direction: row;
  }
  
  .sm-w-auto {
    width: auto;
  }
  
  .sm-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 600px;
  }
  
  .md-text-xl {
    font-size: 1.25rem;
  }
  
  .md-text-2xl {
    font-size: 1.5rem;
  }
  
  .md-text-3xl {
    font-size: 1.875rem;
  }
  
  .md-text-4xl {
    font-size: 2.25rem;
  }
  
  .md-text-5xl {
    font-size: 3rem;
  }
  
  .md-gap-6 {
    gap: 1.5rem;
  }
  
  .md-gap-8 {
    gap: 2rem;
  }
  
  .md-gap-12 {
    gap: 3rem;
  }
  
  .md-mb-12 {
    margin-bottom: 3rem;
  }
  
  .md-py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .md-rounded-xl {
    border-radius: 0.75rem;
  }
  
  .md-rounded-2xl {
    border-radius: 1rem;
  }
  
  .md-w-12 {
    width: 3rem;
  }
  
  .md-h-12 {
    height: 3rem;
  }
  
  .md-w-20 {
    width: 5rem;
  }
  
  .md-h-20 {
    height: 5rem;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 6rem 0;
  }
  
  .lg-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lg-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .lg-grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .lg-text-6xl {
    font-size: 3.75rem;
  }
  
  .lg-py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  
  .comparison-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
