/*
Theme Name: Wikimee
Theme URI: https://wikimee.app
Author: Wikimee
Author URI: https://wikimee.app
Description: Tema profissional para agências criativas com suporte completo a blocos Gutenberg.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wikimee
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style

Wikimee WordPress Theme - Plataforma Operacional para Agências Criativas
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
  /* Primary Colors */
  --primary: 263 70% 50%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 280 80% 60%;
  
  /* Background Colors */
  --background: 264 56% 4%;
  --background-light: 0 0% 100%;
  --foreground: 0 0% 100%;
  --foreground-dark: 0 0% 10%;
  
  /* Muted Colors */
  --muted: 264 30% 15%;
  --muted-foreground: 0 0% 70%;
  
  /* Border Colors */
  --border: 0 0% 100% / 0.1;
  --border-light: 0 0% 0% / 0.1;
  
  /* Card Colors */
  --card: 264 30% 8%;
  --card-foreground: 0 0% 100%;
  
  /* Accent Colors */
  --accent: 263 70% 50%;
  --accent-foreground: 0 0% 100%;
  
  /* Status Colors */
  --success: 142 76% 36%;
  --error: 0 84% 60%;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
  
  /* Border Radius */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: linear-gradient(135deg, hsl(263, 70%, 40%), hsl(280, 80%, 50%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-dark {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.section-light {
  background-color: hsl(var(--background-light));
  color: hsl(var(--foreground-dark));
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Glass Cards */
.glass-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.glass-card-light {
  background: hsl(0 0% 100%);
  border: 1px solid hsl(var(--border-light));
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px hsl(var(--primary) / 0.4);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsl(var(--primary) / 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: transparent;
  border: 2px solid hsl(var(--border));
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: hsl(var(--muted));
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, hsl(var(--primary) / 0.15), transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ==========================================================================
   Logo Carousel
   ========================================================================== */
.logo-carousel {
  background: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.logo-carousel-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 2rem;
}

.logo-carousel-track {
  display: flex;
  gap: 4rem;
  animation: scroll 20s linear infinite;
}

.logo-carousel-track img {
  height: 2rem;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logo-carousel-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-carousel-fade-left,
.logo-carousel-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12rem;
  z-index: 10;
  pointer-events: none;
}

.logo-carousel-fade-left {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.logo-carousel-fade-right {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Problems Section
   ========================================================================== */
.problems-section {
  padding: 5rem 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.problem-card {
  padding: 1.5rem;
}

.problem-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: #666;
  margin: 0;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.stat-item .value {
  font-size: 3.5rem;
  font-weight: 700;
}

.stat-item .label {
  color: #666;
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.solution-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.solution-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, hsl(var(--primary) / 0.1), transparent 70%);
  pointer-events: none;
}

.benefits-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
}

.benefit-item .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

/* ==========================================================================
   Features Carousel
   ========================================================================== */
.features-section {
  padding: 5rem 0;
}

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

.feature-card {
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section {
  padding: 5rem 0;
}

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

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-step .number {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  border-radius: 50%;
  font-weight: 700;
  color: white;
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */
.comparison-section {
  padding: 5rem 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  padding: 2rem;
}

.comparison-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.comparison-card li .icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comparison-card.traditional li .icon {
  color: hsl(var(--error));
}

.comparison-card.wikimee li .icon {
  color: hsl(var(--success));
}

.comparison-card.wikimee {
  border: 2px solid hsl(var(--primary) / 0.3);
  box-shadow: 0 0 30px hsl(var(--primary) / 0.1);
}

/* ==========================================================================
   Segments Section
   ========================================================================== */
.segments-section {
  padding: 5rem 0;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.segment-card {
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.segment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px hsl(var(--primary) / 0.2);
}

.segment-card .icon {
  width: 3rem;
  height: 3rem;
  color: hsl(var(--primary));
  margin: 0 auto 1rem;
}

.segment-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.segment-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ==========================================================================
   Integrations Section
   ========================================================================== */
.integrations-section {
  padding: 5rem 0;
}

.integrations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.integrations-image {
  max-width: 100%;
}

@media (max-width: 768px) {
  .integrations-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 5rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-card .quote {
  font-size: 1rem;
  font-style: italic;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .author img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .author-info .name {
  font-weight: 600;
}

.testimonial-card .author-info .role {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 2rem;
  text-align: center;
}

.pricing-card.featured {
  border: 2px solid hsl(var(--primary));
  position: relative;
}

.pricing-card.featured::before {
  content: 'Mais popular';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.pricing-card .plan-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.pricing-card .description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.pricing-card li .icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--success));
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, hsl(var(--primary) / 0.1), transparent 70%);
  pointer-events: none;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.social-links a {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: hsl(var(--muted));
  color: white;
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 6rem 0 3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
}
