/* projeto-individual.css - Redesign Minimalista e Inovador */
:root {
  --accent-purple: #a259ff;
  --accent-teal: #0cdbdb;

  /* Espaçamentos */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;


  /* Sombras */
  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 15px 30px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.2);

  --breakpoint-xxs: 375px;  /* Smartphones pequenos */
  --breakpoint-xs: 576px;   /* Smartphones */
  --breakpoint-sm: 768px;   /* Tablets */
  --breakpoint-md: 992px;   /* Laptops */
  --breakpoint-lg: 1200px;  /* Desktops */
  --breakpoint-xl: 1440px; 
}

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

section {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: width var(--transition-normal);
}

.section-title.center {
  text-align: center;
  display: block;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Hero Section */
.project-hero {
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  position: relative;
  padding: var(--spacing-md) 0;
  background-color: var(--dark-bg);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 18, 18, 0.9) 0%,
    rgba(30, 30, 40, 0.7) 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.6;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
  transform: scale(1.1);
  animation: subtle-zoom 20s infinite alternate ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  max-width: 1400px;
  text-align: center;
  margin: 0 auto;
  align-items: center;
  padding: 0 var(--spacing-sm);
  justify-content: space-between;
  gap: var(--spacing-md);
}

.project-title-block {
  max-width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-in-up var(--transition-slow) 0.3s forwards;
}

.project-category {
  padding-left: 15px;
  display: inline-block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: var(--spacing-md);
  position: relative;
}

.project-category::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1rem;
  background: var(--primary);
  border-radius: 3px;
}

.project-title {
  padding-left: 0;
  padding-top: 15px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-light);
}

.project-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.mockup-container {
  position: relative;
  perspective: 1000px;
  width: 90%;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: fade-in-up var(--transition-slow) 0.6s forwards;
}

.mockup-container.animate-image {
  opacity: 1;
}

.mockup-wrapper {
  position: relative;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite alternate;
}

.mockup-image {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform var(--transition-normal);
}

.mockup-container:hover .mockup-image {
  transform: rotateY(0) rotateX(0);
}

.mockup-shadow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  opacity: 0.5;
  transform: translateZ(-10px);
}

.mockup-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(84, 82, 254, 0.2) 0%,
    transparent 70%
  );
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite alternate;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  animation: fade-in var(--transition-normal) 1.5s forwards;
}

.scroll-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scroll-icon {
  animation: bounce 2s infinite;
}

/* Process Section */
/* Melhorias na seção Process */
.project-process {
  background-color: var(--dark-surface);
  padding: var(--spacing-lg) 0;
  position: relative;
  overflow: hidden;
}

/* Fundo sutil com grid e gradiente */
.project-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(84, 82, 254, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(84, 82, 254, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
  opacity: 0.5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.process-item {
  text-align: center;
  padding: var(--spacing-md);
  border-radius: 20px;
  background: rgba(30, 30, 40, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.process-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(84, 82, 254, 0.2);
}

.process-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: rgba(84, 82, 254, 0.1);
  color: var(--primary-light);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-sm);
  transition: all var(--transition-normal);
  transform-style: preserve-3d;
}

.process-item:hover .process-icon {
  background: var(--primary);
  color: white;
  transform: translateZ(30px) rotateY(15deg);
  box-shadow: 0 15px 35px rgba(84, 82, 254, 0.3);
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 5px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all var(--transition-normal);
}

.process-item:hover .process-number {
  transform: scale(1.1);
  text-shadow: 0 0 20px rgba(84, 82, 254, 0.5);
}

.process-label {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.process-item:hover .process-label {
  color: var(--text-light);
}

/* Overview Section */
/* Melhorias na seção Overview */
.project-overview {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos de fundo */
.overview-bg-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(84, 82, 254, 0.15) 0%,
    transparent 70%
  );
  filter: blur(50px);
  z-index: 0;
  opacity: 0.5;
}

.overview-bg-element-1 {
  width: 500px;
  height: 500px;
  top: -200px;
  right: -100px;
}

.overview-bg-element-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -150px;
  background: radial-gradient(
    circle,
    rgba(255, 62, 143, 0.1) 0%,
    transparent 70%
  );
}

.overview-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.overview-text {
  position: relative;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 3px;
  transition: width var(--transition-normal);
}

.overview-text:hover .section-title::after {
  width: 100px;
}

.overview-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.tech-stack {
  margin-top: var(--spacing-md);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: var(--spacing-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-normal);
}

.tech-stack:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(84, 82, 254, 0.1);
}

.tech-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.tech-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  margin-right: 10px;
  transition: width var(--transition-fast);
}

.tech-stack:hover .tech-label::before {
  width: 30px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-item {
  padding: 8px 16px;
  background: rgba(84, 82, 254, 0.08);
  border: 1px solid rgba(84, 82, 254, 0.1);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--primary-light);
  transition: all var(--transition-fast);
}

.tech-item:hover {
  background: rgba(84, 82, 254, 0.15);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 5px 15px rgba(84, 82, 254, 0.2);
}

/* Estilização da mockup */
.overview-mockup {
  position: relative;
  perspective: 1200px;
}

.mockup-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(5deg);
}

.overview-mockup:hover .mockup-frame {
  transform: rotateY(-5deg) rotateX(3deg) translateZ(30px) scale(1.05);
}

.frame-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
}

.overview-mockup:hover .frame-image {
  transform: scale(1.05);
}

.frame-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(84, 82, 254, 0.3) 0%,
    transparent 70%
  );
  opacity: 0.3;
  transition: opacity var(--transition-normal);
}

.overview-mockup:hover .frame-glow {
  opacity: 0.6;
}

/* Decorações */
.mockup-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mockup-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.mockup-dot-1 {
  width: 15px;
  height: 15px;
  top: 20px;
  right: -30px;
}

.mockup-dot-2 {
  width: 10px;
  height: 10px;
  bottom: 30px;
  left: -20px;
}

.mockup-line {
  position: absolute;
  background: linear-gradient(90deg, var(--primary), transparent);
  height: 2px;
  width: 80px;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
}

.overview-mockup:hover .mockup-dot,
.overview-mockup:hover .mockup-line {
  opacity: 0.8;
}

/* Features Section (com cor alternativa) */
/* Melhorias na seção Features */
.project-features {
  background-color: var(--dark-bg);
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

.features-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.features-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 82, 254, 0.15) 0%,
    rgba(255, 62, 143, 0.05) 100%
  );
  z-index: 0;
}

.features-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-md);
  position: relative;
  z-index: 2;
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: rgba(30, 30, 40, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(84, 82, 254, 0.1),
    rgba(255, 62, 143, 0.05)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(84, 82, 254, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  position: relative;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(84, 82, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(84, 82, 254, 0.25);
}

.feature-card:hover .feature-icon::after {
  opacity: 1;
}

.feature-icon i {
  position: relative;
  z-index: 1;
  transition: color var(--transition-normal);
}

.feature-card:hover .feature-icon i {
  color: white;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 16px 0;
  color: var(--text-light);
  transition: transform var(--transition-normal);
}

.feature-card:hover .feature-title {
  transform: translateX(8px);
}

.feature-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  transition: color var(--transition-normal);
}

.feature-card:hover .feature-description {
  color: var(--text-light);
}

/* Decoração de card */
.feature-card-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}

.feature-card:hover .feature-card-shine {
  transform: translateX(100%);
}

/* Benefits Section */
/* Melhorias na seção Benefits */
.project-benefits {
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos de fundo */
.benefits-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.benefits-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(84, 82, 254, 0.1) 0%,
    transparent 70%
  );
  opacity: 0.5;
  filter: blur(40px);
}

.benefits-shape-1 {
  width: 400px;
  height: 400px;
  top: -150px;
  right: -150px;
}

.benefits-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(255, 62, 143, 0.1) 0%,
    transparent 70%
  );
}

.benefits-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--spacing-xl);
  align-items: start;
  position: relative;
  z-index: 1;
}

.benefits-text {
  position: relative;
}

.benefits-description {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.1rem;
  position: relative;
  padding-left: 20px;
}

.benefits-description::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  border-radius: 3px;
}

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

.benefit-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--spacing-md);
  background: rgba(30, 30, 40, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 82, 254, 0.1),
    rgba(255, 62, 143, 0.05)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.benefit-item:hover {
  transform: translateX(10px) scale(1.02);
  border-color: rgba(84, 82, 254, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.benefit-item:hover::before {
  opacity: 1;
}

.benefit-number {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(84, 82, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary-light);
  transition: all var(--transition-normal);
  align-self: flex-start;
}

.benefit-number::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.benefit-item:hover .benefit-number {
  transform: rotate(-10deg) scale(1.1);
}

.benefit-item:hover .benefit-number::after {
  opacity: 1;
}

.benefit-item:hover .benefit-number {
  color: white;
}

.benefit-info {
  position: relative;
  z-index: 1;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-light);
  transition: transform var(--transition-normal);
}

.benefit-item:hover .benefit-title {
  transform: translateX(8px);
}

.benefit-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  padding-left: 0;
  transition: color var(--transition-normal);
}

.benefit-description::before {
  display: none;
}

.benefit-item:hover .benefit-description {
  color: var(--text-light);
}

/* Gallery Section */
/* Melhorias na seção Gallery */
.project-gallery {
  padding: var(--spacing-xl) 0;
  background-color: var(--dark-surface);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos de fundo */
.gallery-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      rgba(84, 82, 254, 0.05) 1px,
      transparent 1px
    ),
    radial-gradient(rgba(84, 82, 254, 0.03) 2px, transparent 2px);
  background-size: 30px 30px, 60px 60px;
  background-position: 0 0, 15px 15px;
  opacity: 0.3;
  z-index: 0;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 250px;
  gap: var(--spacing-md);
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Tamanhos diferentes para layout dinâmico */
.gallery-item:nth-child(1) {
  grid-column: span 8;
  grid-row: span 1;
}

.gallery-item:nth-child(2) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item:nth-child(3) {
  grid-column: span 5;
  grid-row: span 1;
}

.gallery-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 0.6;
  transition: opacity var(--transition-normal);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
}

.gallery-item:hover .gallery-overlay {
  opacity: 0.8;
  background: linear-gradient(
    to top,
    rgba(84, 82, 254, 0.5) 0%,
    rgba(0, 0, 0, 0) 80%
  );
}

.gallery-caption {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-icon {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Section */
/* Melhorias na seção CTA */
.project-cta {
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos de fundo */
.cta-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
}

.cta-circle-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    circle,
    rgba(84, 82, 254, 0.2) 0%,
    transparent 70%
  );
  filter: blur(60px);
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.2;
  z-index: 0;
}

.cta-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
  background: rgba(30, 30, 40, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: var(--spacing-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.cta-container:hover {
  transform: translateY(-10px);
  border-color: rgba(84, 82, 254, 0.2);
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.3);
}

.cta-heading {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.cta-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: translateX(-50%);
  border-radius: 3px;
  transition: width var(--transition-normal);
}

.cta-container:hover .cta-heading::after {
  width: 150px;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  margin-top: var(--spacing-md);
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s ease;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(84, 82, 254, 0.4);
  background: linear-gradient(to right, var(--primary), var(--primary-light));
}

.cta-button:hover::before {
  left: 100%;
}

/* Project Navigation */
/* Melhorias na navegação entre projetos */
.project-navigation {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

/* Elementos decorativos */
.nav-bg-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(84, 82, 254, 0.5),
    transparent
  );
  z-index: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.prev-project,
.next-project {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(30, 30, 40, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.prev-project::before,
.next-project::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(84, 82, 254, 0.1),
    rgba(255, 62, 143, 0.05)
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
}

.prev-project:hover,
.next-project:hover {
  transform: translateY(-10px);
  border-color: rgba(84, 82, 254, 0.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.prev-project:hover::before,
.next-project:hover::before {
  opacity: 1;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(84, 82, 254, 0.1);
  color: var(--primary-light);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
}

.prev-project:hover .nav-icon,
.next-project:hover .nav-icon {
  background: var(--primary);
  color: white;
}

.nav-text {
  position: relative;
  z-index: 1;
}

.nav-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
}

.prev-project:hover .nav-label,
.next-project:hover .nav-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Preview de imagem no hover */
.nav-preview {
  position: absolute;
  width: 120px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  bottom: -100px;
  opacity: 0;
  transition: all var(--transition-normal);
  z-index: 2;
}

.prev-project .nav-preview {
  left: 20px;
}

.next-project .nav-preview {
  right: 20px;
}

.prev-project:hover .nav-preview,
.next-project:hover .nav-preview {
  bottom: -85px;
  opacity: 1;
}

.nav-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.prev-project:hover .nav-preview img,
.next-project:hover .nav-preview img {
  transform: scale(1.1);
}

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

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

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotateY(-10deg) rotateX(5deg);
  }
  50% {
    transform: translateY(-20px) rotateY(-5deg) rotateX(3deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1.1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes subtle-zoom {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.15);
  }
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-lg);
  }

  .project-title-block {
    max-width: 700px;
  }

  .project-category::before {
    display: none
  }

  .project-category {
    padding-left: 0;
    margin-top: 60px;
  }

  .overview-content,
  .benefits-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .section-title::after {
    left: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }

  .project-hero {
    height: auto;
    min-height: 600px;
    padding: var(--spacing-xl) 0;
  }

  .mockup-image {
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }

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

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

  .gallery-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .project-title {
    font-size: 2.2rem;
  }

  .section-title,
  .cta-heading {
    font-size: 2rem;
  }

  .nav-container {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .prev-project,
  .next-project {
    width: 100%;
    justify-content: center;
  }
}
/* Novas animações para entrada da página - adicionar ao fim do arquivo projeto-individual.css */

/* Animação de revelação para a página inteira */
@keyframes revealPage {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Revelação de texto mais sofisticada */
@keyframes revealText {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Revelação de imagem com escala */
@keyframes revealImage {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
    filter: blur(8px);
  }
  60% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* Revelação suave de bordas */
@keyframes revealBorder {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 60px;
    opacity: 1;
  }
}

/* Animação para partículas de entrada */
@keyframes fadeInParticle {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0);
  }
  100% {
    opacity: var(--particle-opacity, 0.6);
    transform: translateY(0) scale(1);
  }
}

/* Estados iniciais para elementos antes da animação */
.page-loading .project-hero,
.page-loading .project-overview,
.page-loading .project-features,
.page-loading .project-benefits,
.page-loading .project-gallery,
.page-loading .project-cta,
.page-loading .project-navigation {
  opacity: 0;
}

/* Classe para animação de elementos durante a revelação */
.reveal-animate {
  opacity: 0;
  will-change: opacity, transform;
}

/* Classes específicas para diferentes elementos */
.reveal-title {
  transform: translateY(30px);
  filter: blur(5px);
}

.reveal-image {
  transform: scale(0.92);
  filter: blur(4px);
}

.reveal-text {
  transform: translateY(20px);
}

.reveal-card {
  transform: translateY(25px);
  filter: blur(3px);
}

/* Classes para animações de entrada */
.animate-title {
  animation: revealText 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-image {
  animation: revealImage 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-text {
  animation: revealText 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-card {
  animation: revealText 1.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Classes para as partículas de entrada */
.entry-particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

.entry-particle {
  position: absolute;
  background-color: var(--primary);
  border-radius: 50%;
  opacity: 0;
}

/* Estilização para o preloader */
.page-preloader {
  position: fixed;
  inset: 0;
  background-color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  position: relative;
  width: 60px;
  height: 60px;
}

.preloader-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: preloaderSpin 1.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.preloader-circle:nth-child(2) {
  width: 40px;
  height: 40px;
  top: 10px;
  left: 10px;
  border-top-color: transparent;
  border-right-color: var(--primary-light);
  animation-duration: 1.6s;
}

.preloader-circle:nth-child(3) {
  width: 20px;
  height: 20px;
  top: 20px;
  left: 20px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: var(--primary);
  animation-duration: 2s;
}

@keyframes preloaderSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Modificações para o efeito de scroll para cada seção */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Para animação sequencial de elementos dentro de uma seção */
.sequence-container .sequence-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sequence-container.revealed .sequence-item {
  opacity: 1;
  transform: translateY(0);
}

/* Cada item tem um atraso diferente */
.sequence-container.revealed .sequence-item:nth-child(1) {
  transition-delay: 0.1s;
}
.sequence-container.revealed .sequence-item:nth-child(2) {
  transition-delay: 0.2s;
}
.sequence-container.revealed .sequence-item:nth-child(3) {
  transition-delay: 0.3s;
}
.sequence-container.revealed .sequence-item:nth-child(4) {
  transition-delay: 0.4s;
}
.sequence-container.revealed .sequence-item:nth-child(5) {
  transition-delay: 0.5s;
}
.sequence-container.revealed .sequence-item:nth-child(6) {
  transition-delay: 0.6s;
}
@media (min-width: 375px) {
  .project-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .feature-title {
    font-size: 1.2rem;
  }
}

@media (min-width: 576px) {
  .project-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .project-title {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .nav-container {
    flex-direction: row;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .project-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .overview-content,
  .benefits-content {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* XXL devices (larger desktops, 1440px and up) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}