/*
Theme Name: NextSell Agência
Theme URI: https://nextsell.com.br
Author: NextSell Agência
Author URI: https://nextsell.com.br
Description: Tema moderno e profissional para agência de criação de sites e lojas virtuais. Design escuro com gradientes vibrantes e animações suaves.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextsell
Tags: one-column, custom-colors, custom-menu, featured-images, theme-options, translation-ready
*/

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

:root {
  --color-orange: #f97316;
  --color-red: #dc2626;
  --color-purple: #9333ea;
  --color-green: #10b981;
  --color-pink: #ec4899;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.logo-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.main-navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.main-navigation a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}

.main-navigation a:hover {
  color: var(--color-orange);
  transform: scale(1.05);
}

.btn-header {
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.btn-header:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.4);
}

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

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(220, 38, 38, 0.2), rgba(147, 51, 234, 0.2));
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blob 7s infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--color-orange);
  top: 0;
  left: 25%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--color-red);
  top: 25%;
  right: 25%;
  animation-delay: 2s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: var(--color-purple);
  bottom: 25%;
  left: 33%;
  animation-delay: 4s;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, #000 70%, transparent 110%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to right, rgba(249, 115, 22, 0.2), rgba(220, 38, 38, 0.2));
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 9999px;
  color: #fb923c;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fade-in 0.8s ease-out;
}

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

.hero-title-main {
  display: block;
  color: #fff;
  animation: slide-up 0.8s ease-out;
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(to right, var(--color-orange), var(--color-red), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slide-up 0.8s ease-out 0.2s backwards;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: slide-up 0.8s ease-out 0.4s backwards;
}

.hero-subtitle strong {
  color: var(--color-orange);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: slide-up 0.8s ease-out 0.6s backwards;
}

.btn-primary {
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 15px 40px rgba(249, 115, 22, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 1rem 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--color-orange);
  background: rgba(249, 115, 22, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  animation: slide-up 0.8s ease-out 0.8s backwards;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
}

.scroll-wheel {
  width: 0.25rem;
  height: 0.75rem;
  background: linear-gradient(to bottom, var(--color-orange), var(--color-red));
  border-radius: 9999px;
  animation: scroll 1.5s ease-in-out infinite alternate;
}

/* Section Styles */
.section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.section-dark {
  background: linear-gradient(to bottom, #000, #0a0a0a, #000);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 9999px;
  color: var(--color-orange);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title-gradient {
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 800px;
  margin: 0 auto;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.service-card {
  position: relative;
  background: linear-gradient(135deg, #18181b, #000);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.5s;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  border-radius: 1.5rem;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 0.4;
}

.service-card:hover {
  transform: scale(1.02);
  border-color: rgba(249, 115, 22, 0.5);
}

.service-card.featured {
  border: 2px solid rgba(249, 115, 22, 0.5);
}

.service-card.featured::before {
  opacity: 0.3;
  animation: pulse 2s infinite;
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.feature-check {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-orange);
}

.service-pricing {
  margin-bottom: 1.5rem;
}

.price-from {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.price-main {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.price-premium {
  padding: 0.5rem 1rem;
  background: rgba(249, 115, 22, 0.2);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 9999px;
  color: var(--color-orange);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* Differentials Grid */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.differential-card {
  position: relative;
  background: rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.differential-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.differential-card:hover::before {
  opacity: 0.3;
}

.differential-card:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.differential-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.differential-card:hover .differential-icon {
  transform: scale(1.1);
}

.differential-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.differential-description {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
}

.portfolio-card {
  position: relative;
  background: rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.5s;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  border-radius: 1rem;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: -1;
}

.portfolio-card:hover::before {
  opacity: 0.3;
}

.portfolio-card:hover {
  transform: scale(1.02);
  border-color: rgba(249, 115, 22, 0.5);
}

.portfolio-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #27272a, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s;
}

.portfolio-card:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.portfolio-description {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.portfolio-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: 0.5rem;
  transition: all 0.3s;
  width: 100%;
  justify-content: center;
}

.portfolio-link:hover {
  background: rgba(249, 115, 22, 0.1);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  position: relative;
  background: rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--color-orange), var(--color-red));
  border-radius: 1rem;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.testimonial-card:hover::before {
  opacity: 0.2;
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.star-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-orange);
  fill: var(--color-orange);
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}

.author-name {
  font-weight: 600;
  color: #fff;
}

.author-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Contact Section */
.contact-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.contact-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(220, 38, 38, 0.2), rgba(147, 51, 234, 0.2));
}

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

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

.contact-card {
  position: relative;
  background: rgba(24, 24, 27, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.contact-card:hover::before {
  opacity: 0.4;
}

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

.contact-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  transition: transform 0.3s;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.contact-info {
  color: rgba(255, 255, 255, 0.6);
}

.btn-contact {
  background: linear-gradient(to right, var(--color-green), #059669);
  color: #fff;
  padding: 1.25rem 3rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.btn-contact:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.4);
}

/* Footer */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-love {
  color: var(--color-orange);
}

/* Animations */
@keyframes blob {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(10px);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .differentials-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

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


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    transition: all 0.3s ease-in-out;
}

