/* === VARIABLES === */
:root {
  --primary-blue: #0A1628;
  --primary-yellow: #F9C900;
  --primary-black: #000000;
  --accent-yellow: #F9C900;
  --neutral-dark: #1A1A1A;
  --neutral-light: #F8F9FA;
}

/* === MODERN HERO === */
.modern-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--neutral-dark) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* === MODERN HEADER === */
.modern-header {
  background: rgba(10, 22, 40, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* Header quando está no topo (modo inicial) */
.modern-header.at-top {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249, 201, 0, 0.2);
}

/* Header quando faz scroll (modo claro) */
.modern-header.scrolled {
  background: rgba(248, 249, 250, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(249, 201, 0, 0.1);
}

/* Cores do texto do header no modo inicial (azul) */
.modern-header.at-top .header-text {
  color: white;
}

.modern-header.at-top .header-logo-text {
  color: white;
}

.modern-header.at-top .header-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Cores do texto do header no modo scroll (claro) */
.modern-header.scrolled .header-text,
.modern-header.scrolled .header-logo-text {
  color: var(--primary-blue);
}

.modern-header.scrolled .header-subtitle {
  color: #6b7280;
}

/* Links de navegação - modo inicial */
.modern-header.at-top .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.modern-header.at-top .nav-link:hover {
  color: var(--primary-yellow);
}

.modern-header.at-top .nav-link.active {
  color: var(--primary-yellow);
}

/* Links de navegação - modo scroll */
.modern-header.scrolled .nav-link {
  color: var(--primary-blue);
}

.modern-header.scrolled .nav-link:hover {
  color: var(--primary-yellow);
}

.modern-header.scrolled .nav-link.active {
  color: var(--primary-yellow);
}

/* Botão do menu mobile - cores adaptáveis */
.modern-header.at-top .mobile-menu-btn {
  color: white;
}

.modern-header.scrolled .mobile-menu-btn {
  color: var(--primary-blue);
}

/* === MODERN BUTTONS === */
.modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn-primary {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #e6b600 100%);
  color: var(--primary-black);
  box-shadow: 0 4px 20px rgba(249, 201, 0, 0.3);
}

.modern-btn-primary:hover {
  background: linear-gradient(135deg, #e6b600 0%, var(--primary-yellow) 100%);
  box-shadow: 0 8px 25px rgba(249, 201, 0, 0.4);
  transform: translateY(-2px);
  color: var(--primary-black);
}

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

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

/* === MODERN CARDS === */
.modern-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(249, 201, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(249, 201, 0, 0.2);
}

/* === MODERN SECTION === */
.modern-section {
  padding: 5rem 0;
  position: relative;
}

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #e6b600 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === HOVER EFFECTS === */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* === ORGANIC SHAPES === */
.organic-shape {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(45deg, var(--primary-yellow), #e6b600);
  animation: float 6s ease-in-out infinite;
  opacity: 0.1;
}

/* === ANIMATIONS === */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease-out forwards;
  opacity: 0;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease-out forwards;
  opacity: 0;
}

.animate-child > * {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.animate-child > *:nth-child(1) { animation-delay: 0.1s; }
.animate-child > *:nth-child(2) { animation-delay: 0.2s; }
.animate-child > *:nth-child(3) { animation-delay: 0.3s; }
.animate-child > *:nth-child(4) { animation-delay: 0.4s; }
.animate-child > *:nth-child(5) { animation-delay: 0.5s; }

/* === VIDEO CONTAINER === */
.modern-video-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: linear-gradient(45deg, var(--primary-yellow), #e6b600);
  padding: 4px;
}

.modern-video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

/* === FORM STYLES === */
.form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  transition: all 0.3s ease;
  font-size: 16px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(249, 201, 0, 0.1);
  background: #fefefe;
}

.form-input::placeholder {
  color: #9ca3af;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .modern-hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .modern-card {
    padding: 1.5rem;
  }
  
  .modern-section {
    padding: 3rem 0;
  }
}

/* === CLIENT CAROUSEL === */
.clients-carousel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(249, 201, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clients-track {
  display: flex;
  width: 200%; /* Para 2 slides */
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.clients-slide {
  flex: 0 0 50%; /* Cada slide ocupa 50% da largura total (100% visível) */
  width: 50%;
}

.client-card {
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(249, 201, 0, 0.1);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  margin: 0.25rem;
  border-radius: 12px;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 201, 0, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.slide-indicator {
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide-indicator.active {
  background-color: var(--primary-yellow) !important;
}

/* Logos dos clientes com efeito grayscale */
.client-card img {
  transition: all 0.3s ease;
  filter: grayscale(1) brightness(0.8);
}

.client-card:hover img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

/* Garantir visibilidade */
.clients-carousel,
.clients-track,
.clients-slide {
  opacity: 1 !important;
  visibility: visible !important;
}

/* === SCROLL ANIMATIONS === */
@media (prefers-reduced-motion: no-preference) {
  .fade-in-up {
    animation-delay: 0.1s;
  }
  
  .fade-in-left {
    animation-delay: 0.2s;
  }
  
  .fade-in-right {
    animation-delay: 0.3s;
  }
  
  .clients-carousel {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
  }
}

/* === HERO CAROUSEL === */
.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.hero-track {
  display: flex;
  width: 300%; /* Para 3 slides */
  transition: transform 1s ease-in-out;
  will-change: transform;
}

.hero-slide {
  flex: 0 0 33.3333%; /* Cada slide ocupa 1/3 da largura total */
  width: 33.3333%;
}

.hero-indicator {
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-indicator.active {
  background-color: rgba(249, 201, 0, 0.9) !important;
  transform: scale(1.2);
}

/* === BLOG STYLES === */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog post card hover effects */
.blog-post-card {
  transition: all 0.3s ease;
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.blog-post-card img {
  transition: transform 0.5s ease;
}

.blog-post-card:hover img {
  transform: scale(1.1);
}

/* Blog category badges */
.category-badge {
  background: linear-gradient(135deg, var(--primary-yellow), #e6b600);
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(249, 201, 0, 0.3);
}

/* Newsletter section styling */
.newsletter-section {
  background: linear-gradient(135deg, 
    rgba(10, 22, 40, 0.05) 0%, 
    rgba(249, 201, 0, 0.05) 100%);
  border: 2px solid rgba(249, 201, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(249, 201, 0, 0.03) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

/* Blog animations */
.blog-fade-in {
  animation: blogFadeIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.blog-fade-in:nth-child(1) { animation-delay: 0.1s; }
.blog-fade-in:nth-child(2) { animation-delay: 0.2s; }
.blog-fade-in:nth-child(3) { animation-delay: 0.3s; }

@keyframes blogFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Blog responsive */
@media (max-width: 768px) {
  .blog-hero {
    padding: 3rem 0 2rem;
  }
  
  .blog-post-featured {
    margin-bottom: 3rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Blog loading animation */
.blog-content {
  animation: slideUp 0.6s ease-out;
}

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

/* === SKYMSEN PRODUCTS CAROUSEL === */
.skymsen-products-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}

.skymsen-products-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.skymsen-product-slide {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  max-width: 33.3333%;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .skymsen-product-slide {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
}

@media (max-width: 640px) {
  .skymsen-product-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }
} 