/* ============================================
   MODUP TECNOLOGIA - CSS PROFISSIONAL
   Versão 100% otimizada - Responsivo + Tema Claro/Escuro
============================================= */

/* ====================
   RESET & BASE
==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* ====================
   VARIÁVEIS - TEMA CLARO (PADRÃO)
==================== */
:root {
    /* Cores Primárias */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --primary-rgb: 37, 99, 235;
    
    /* Cores de Acento */
    --accent: #06b6d4;
    --accent-dark: #0891b2;
    --accent-light: #22d3ee;
    
    /* Cores Semânticas */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Sistema de Cores - Claro */
    --bg-primary: #ffffff;
    --bg-primary-rgb: 255, 255, 255; /* Necessário para transparência */
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    
    --border-primary: #e2e8f0;
    --border-secondary: #cbd5e1;
    
    /* Escala de Cinza */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    --gradient-light: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    
    /* Tipografia */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Bordas */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Sombras */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transições */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================
   TEMA ESCURO APERFEIÇOADO
==================== */
[data-theme="dark"] {
    /* Cores Primárias (Ajustadas para não vibrar no escuro) */
    --primary: #3b82f6; 
    --primary-dark: #60a5fa;
    --primary-light: #2563eb;
    
    /* Sistema de Cores - Escuro Aprimorado (Slate Palette) */
    --bg-primary: #0f172a; /* Slate 900 */
    --bg-primary-rgb: 15, 23, 42;
    --bg-secondary: #1e293b; /* Slate 800 */
    --bg-tertiary: #334155; /* Slate 700 */
    
    --text-primary: #f8fafc; /* Slate 50 */
    --text-secondary: #cbd5e1; /* Slate 300 */
    --text-tertiary: #94a3b8; /* Slate 400 */
    
    --border-primary: #334155;
    --border-secondary: #475569;
    
    /* Gradientes mais contrastantes no escuro */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-light: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Sombras mais suaves no modo escuro */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    
    /* Variável auxiliar para cards */
    --card-bg: #1e293b;
}

/* ====================
   SWITCH DE TEMA
==================== */
.theme-switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
}

.theme-toggle {
    width: 50px;
    height: 26px;
    background: var(--border-primary);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color var(--transition-fast);
    display: flex;
    align-items: center;
    padding: 0 3px;
}

.theme-toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-sm);
}

[data-theme="light"] .theme-toggle {
    background: var(--primary);
}

[data-theme="light"] .theme-toggle::after {
    transform: translateX(0);
    background: #ffffff;
}

[data-theme="dark"] .theme-toggle {
    background: var(--primary);
}

[data-theme="dark"] .theme-toggle::after {
    transform: translateX(24px);
    background: #ffffff;
}

.theme-icon {
    width: 16px;
    height: 16px;
    position: absolute;
    transition: opacity var(--transition-fast);
    pointer-events: none;
}

.sun-icon {
    left: 4px;
    color: #f59e0b;
}

.moon-icon {
    right: 4px;
    color: #f8fafc;
}

[data-theme="light"] .sun-icon {
    opacity: 1;
}

[data-theme="light"] .moon-icon {
    opacity: 0.3;
}

[data-theme="dark"] .sun-icon {
    opacity: 0.3;
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
}

/* ====================
   LAYOUT & CONTAINER
==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* ====================
   TYPOGRAPHY
==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ====================
   NAVBAR
==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Ajuste para usar RGB, permitindo opacidade correta em ambos os temas */
    background: rgba(var(--bg-primary-rgb), 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

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

.logo-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-cta {
    background: var(--gradient-primary);
    color: white !important; /* Forçar branco mesmo em hover */
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.btn-nav-cta::after {
    display: none; /* Remove underline da nav-link */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
}

/* ====================
   HERO SECTION
==================== */
.hero {
    padding-top: 8rem;
    padding-bottom: var(--spacing-2xl);
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 0.25rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


/* ====================
   GOOGLE REVIEWS SECTION
==================== */

.reviews-section {
    background: var(--gradient-light);
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */

.reviews-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.reviews-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.reviews-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Stats */

.reviews-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.reviews-stat {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.reviews-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.reviews-stat span {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* Grid */



 

/* Card */

.review-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

/* Header */

.review-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.review-author {
    font-weight: 600;
    color: var(--text-primary);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* Stars */

.review-stars {
    display: flex;
    gap: 2px;
    margin: 0.25rem 0;
}

.review-stars span {
    color: #facc15; /* amarelo estrelas */
    font-size: 1rem;
}

/* Text */

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-top: var(--spacing-sm);
    flex: 1;
}

/* Footer */

.review-footer {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-source {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-source svg {
    width: 16px;
    height: 16px;
}

/* Button */

.reviews-action {
    margin-top: var(--spacing-2xl);
    text-align: center;
}

/* ====================
   DARK MODE REVIEWS
==================== */

[data-theme="dark"] .review-card,
[data-theme="dark"] .reviews-stat {
    background: var(--card-bg);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .review-card:hover {
    background: linear-gradient(
        to bottom,
        var(--bg-secondary),
        var(--card-bg)
    );
}

[data-theme="dark"] .review-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .review-footer {
    border-color: rgba(255,255,255,0.1);
}

/* REVIEW CARDS */

.reviews-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);

  padding: 2rem;
  border-radius: 16px;

  transition: all .3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 48px;
  height: 48px;

  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
  font-size: 1.2rem;
  color: #fff;
}

.review-stars {
  color: gold;
  font-size: 1rem;
}

.review-text {
  opacity: .85;
  line-height: 1.5;
  font-size: .95rem;
}

/* ================================
   PRICING / PLANOS
================================ */

.pricing {
  padding: 5rem 0;
}

/* Grid dos cards */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;

  align-items: stretch;
}


/* Card base */

.pricing-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;

  padding: 2.5rem 2rem;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: all 0.3s ease;

  position: relative;
}

/* Hover bonito */

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}


/* Card destaque */

.pricing-featured {
  border: 2px solid #4f46e5;
  background: linear-gradient(
    180deg,
    rgba(79,70,229,0.12),
    rgba(255,255,255,0.04)
  );

  transform: scale(1.03);
}


/* Badge */

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;

  background: #4f46e5;
  color: #fff;

  padding: 4px 12px;
  border-radius: 20px;

  font-size: 0.75rem;
  font-weight: 600;
}


/* Header */

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price {
  margin: 1rem 0;
}

.price .amount {
  font-size: 2rem;
  font-weight: 800;
  color: #4f46e5;
}

.price .period {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
}


/* Descrição */

.price-description {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}


/* Lista de recursos */

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  margin-bottom: 2rem;
}

.pricing-features .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 0.85rem;
}

.pricing-features input {
  accent-color: #4f46e5;
  cursor: default;
}


/* Botões */

.pricing-card .btn {
  width: 100%;
  text-align: center;

  padding: 0.8rem 1rem;
  border-radius: 12px;

  font-weight: 600;
}


/* Botão ver mais */

.btn-toggle-features {
  background: none;
  border: none;

  color: #4f46e5;
  font-weight: 600;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  margin-bottom: 1rem;
}

.btn-toggle-features:hover {
  text-decoration: underline;
}


/* Responsivo */

@media (max-width: 768px) {

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

  .pricing-featured {
    transform: none;
  }

}

/* MOBILE */

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}


/* ====================
   VISUAL HERO
==================== */
.hero-visual {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

.visual-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.image-container {
    width: 100%;
    height: 400px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--spacing-md);
    background: white; /* Será sobrescrito no tema escuro */
} */

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-tertiary);
}

/* ====================
   BUTTONS
==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    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.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ====================
   SECTIONS
==================== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* ====================
   SERVICES SECTION
==================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.coming-soon {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ====================
   PRICING SECTION - ATUALIZADO
==================== */
.pricing-period {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.period-toggle {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border-primary);
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

.period-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.period-toggle.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
}

.discount-tag {
    display: inline-block;
    background: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.pricing-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-featured {
    border-color: var(--primary);
    position: relative;
}

.pricing-featured:hover {
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-primary);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.price {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
}

.price-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-features {
    flex: 1;
    margin-bottom: var(--spacing-lg);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-primary);
}

.feature:last-child {
    border-bottom: none;
}

.feature input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--success);
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.feature input[type="checkbox"]:checked {
    background-color: var(--success);
}

.feature input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
}

.feature input[type="checkbox"]:disabled {
    cursor: default;
    opacity: 0.9;
}

.feature label {
    flex: 1;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.feature input[type="checkbox"]:disabled + label {
    cursor: default;
}

/* Botão Ver Mais/Menos */
.btn-toggle-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.75rem;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
}

.btn-toggle-features:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

[data-bs-theme="dark"] .btn-toggle-features:hover {
    background: var(--gray-800);
}

.btn-toggle-features svg {
    transition: transform var(--transition-fast);
}

.btn-toggle-features.active svg.icon-down {
    transform: rotate(180deg);
}

/* Ajuste para muitos recursos */
.pricing-card .pricing-features {
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.pricing-card.expanded .pricing-features {
    max-height: 1000px;
}

/* Responsividade para a grade de preços */
@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards especiais (últimos dois) */
.pricing-card:nth-child(4),
.pricing-card:nth-child(5) {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .pricing-card:nth-child(4),
    .pricing-card:nth-child(5) {
        grid-column: span 3;
    }
    
    /* Layout especial para os dois últimos cards lado a lado */
    .pricing-card:nth-child(4),
    .pricing-card:nth-child(5) {
        grid-column: span 1;
    }
    
    .pricing-card:nth-child(4) {
        grid-column: 1 / 2;
    }
    
    .pricing-card:nth-child(5) {
        grid-column: 2 / 4;
    }
}

/* Para telas muito grandes */
@media (min-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .pricing-card:nth-child(4),
    .pricing-card:nth-child(5) {
        grid-column: span 1;
    }
}

/* Animações para features adicionais */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature.additional-feature,
.feature.extra-feature {
    animation: fadeIn 0.3s ease;
}

/* Status do botão Ver Mais */
.btn-toggle-features .show-text,
.btn-toggle-features .hide-text {
    transition: opacity 0.2s ease;
}

.btn-toggle-features.active .show-text {
    display: none;
}

.btn-toggle-features.active .hide-text {
    display: inline;
}

.btn-toggle-features .icon-down,
.btn-toggle-features .icon-up {
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.btn-toggle-features.active .icon-down {
    transform: rotate(180deg);
}

/* Ajuste para muitos itens no card Business */
.pricing-card:last-child .pricing-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
}

.pricing-card:last-child .feature {
    border-bottom: none;
    padding: 0.25rem 0;
}

@media (max-width: 768px) {
    .pricing-card:last-child .pricing-features {
        grid-template-columns: 1fr;
    }
    
    .pricing-period {
        flex-direction: column;
        align-items: center;
    }
    
    .period-toggle {
        width: 200px;
    }
}

/* ====================
   TEMPLATES SECTION
==================== */
.templates-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-primary);
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
}

.templates-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .templates-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.template-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.template-image {
    height: 250px;
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    cursor: pointer;
}

.template-img:hover {
    transform: scale(1.02);
}

.template-card:hover .template-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.template-card:hover .image-overlay {
    opacity: 1;
}

.view-template {
    color: white;
    background: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
}

.view-template:hover {
    background: var(--primary-dark);
}

.template-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
}

.template-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.template-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.template-price {
    margin-bottom: var(--spacing-md);
}

.template-price span {
    font-weight: 600;
    color: var(--text-primary);
}

.template-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap var(--transition-fast);
    margin-top: auto;
}

.template-link:hover {
    gap: 0.75rem;
}

/* ====================
   PARTNERS SECTION
==================== */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.partner-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    background: var(--gradient-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.partner-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter var(--transition-base);
}

.partner-card:hover .partner-img {
    filter: grayscale(0%);
}

.partner-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.partner-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    flex: 1;
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap var(--transition-fast);
    margin-top: auto;
}

.partner-link:hover {
    gap: 0.75rem;
}

/* ====================
   CTA FINAL
==================== */
.cta-final {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ====================
   FOOTER
==================== */
.footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-brand .logo {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

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

.footer-description {
    color: var(--text-tertiary);
    line-height: 1.7;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.link-group h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.link-group a {
    display: block;
    color: var(--text-tertiary);
    text-decoration: none;
    margin-bottom: var(--spacing-sm);
    transition: color var(--transition-fast);
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-primary);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.95rem;
    text-align: center;
}

.footer-note {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    color: var(--text-tertiary);
    transition: color var(--transition-fast);
    padding: 0.5rem;
}

.social-link:hover {
    color: var(--primary);
}

/* ====================
   MODAL PARA VISUALIZAR IMAGEM
==================== */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    width: auto;
}

.image-modal-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    animation: zoomIn 0.3s ease;
    background: var(--bg-primary);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ====================
   MELHORIAS ESPECÍFICAS PARA TEMA ESCURO
==================== */
[data-theme="dark"] .service-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .template-card,
[data-theme="dark"] .partner-card {
    background: var(--card-bg);
    border-color: rgba(255, 255, 255, 0.08); /* Borda sutil */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .pricing-card:hover,
[data-theme="dark"] .template-card:hover,
[data-theme="dark"] .partner-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, var(--bg-secondary), var(--card-bg));
}

[data-theme="dark"] .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

[data-theme="dark"] .btn-outline:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    color: white;
}

[data-theme="dark"] .filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

[data-theme="dark"] .filter-btn:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    color: white;
}

[data-theme="dark"] .filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

[data-theme="dark"] .hero-image {
    background: var(--bg-secondary);
    filter: none; /* Removido filtro escuro para o logo aparecer melhor */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .image-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-secondary);
}

[data-theme="dark"] .footer {
    background: #020617; /* Slate 950 - Mais escuro que o bg */
    border-top: 1px solid rgba(255,255,255, 0.05);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .pricing {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

[data-theme="dark"] .nav-link {
    color: var(--text-tertiary);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-dark); /* Azul um pouco mais claro no dark */
}

/* Ajuste de contraste para textos descritivos no modo escuro */
[data-theme="dark"] .section-description,
[data-theme="dark"] .service-card p,
[data-theme="dark"] .price-description,
[data-theme="dark"] .template-content p,
[data-theme="dark"] .partner-card p,
[data-theme="dark"] .footer-description {
    color: var(--text-secondary); /* Aumentado contraste de tertiary para secondary */
}

[data-theme="dark"] .stat-label {
    color: var(--text-secondary);
}

[data-theme="dark"] .coming-soon {
    background: var(--accent);
    color: #000;
}

[data-theme="dark"] .image-modal-img {
    background: var(--bg-secondary);
}

/* Fix para inputs/forms se houver no futuro */
[data-theme="dark"] input, 
[data-theme="dark"] textarea {
    background-color: var(--bg-secondary);
    border-color: var(--border-primary);
    color: var(--text-primary);
}

/* ====================
   RESPONSIVIDADE MOBILE
==================== */
@media (max-width: 768px) {
    /* Menu Mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-primary);
        gap: var(--spacing-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Ajustes gerais */
    .hero {
        padding-top: 7rem;
        padding-bottom: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: center;
    }
    
    .stat-item {
        align-items: center;
    }
    
    /* Grids responsivos */
    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-featured {
        order: -1;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cards */
    .service-card,
    .pricing-card,
    .template-card,
    .partner-card {
        padding: var(--spacing-lg);
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    /* Modal */
    .image-modal-content {
        max-width: 95%;
    }
    
    .image-modal-close {
        top: -50px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 2rem;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .templates-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* ====================
   ANIMAÇÕES
==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ====================
   UTILITIES
==================== */
.hidden {
    display: none !important;
}

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

/* Margins */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }

/* ====================
   SCROLLBAR
==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-secondary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ====================
   SELECTION
==================== */
::selection {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--text-primary);
}

/* ====================
   FOCUS STATES
==================== */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ====================
   LOADING STATE
==================== */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-primary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ====================
   NOTIFICATIONS
==================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-primary);
    border-left: 4px solid var(--success);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-danger {
    border-left-color: var(--danger);
}

.notification svg {
    color: var(--success);
    flex-shrink: 0;
}

.notification-danger svg {
    color: var(--danger);
}

.notification span {
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .notification {
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
    }
}

/* ====================
   FORM VALIDATION
==================== */
.invalid {
    border-color: var(--danger) !important;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-tertiary);
}

/* ====================
   IMAGE LAZY LOADING
==================== */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}