@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* Soft, smoky radial background without hard edges */
.radial-soft {
  position: relative;
  background: radial-gradient(
      60% 60% at 50% 50%,
      rgba(235, 235, 235, 0.2) 0%,
      rgba(255, 255, 255, 0.12) 30%,
      rgba(255, 255, 255, 0.06) 55%,
      rgba(255, 255, 255, 0) 85%
    ),
    radial-gradient(
      100% 100% at 60% 40%,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0) 80%
    );
}

* {
  margin: 0;
  box-sizing: border-box;

  font-family: "Ubuntu", sans-serif;
}

/* ===== SEO E ACESSIBILIDADE ===== */

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}

/* Skip link styles */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #f59e0b;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* ===== SMOOTH SCROLL CONFIGURATIONS ===== */
html {
  scroll-behavior: auto; /* Desabilitar scroll nativo para usar Lenis */
}

body {
  overflow-x: hidden;
  /* Garantir que o body não tenha scroll conflitante */
}

/* Otimizações para performance do smooth scroll */
* {
  will-change: auto;
}

/* Elementos que serão animados - otimizados para GPU */
.phone-3d-container,
#bee-model,
.business-section,
.tech-grid,
.data-particle,
.neural-node,
.stat-number,
.counter-number {
  will-change: transform;
  transform: translateZ(0); /* Force GPU acceleration */
}

/* ===== ANIMAÇÕES CUSTOMIZADAS PARA AURORA BOREAL ===== */

/* Animação de aurora fluida */
@keyframes aurora-flow {
  0%, 100% {
    transform: translateX(-100%) skewX(-15deg);
    opacity: 0.3;
  }
  50% {
    transform: translateX(100%) skewX(15deg);
    opacity: 0.8;
  }
}

/* ===== DESIGN TECNOLÓGICO MINIMALISTA ===== */

/* Animação de grade tecnológica - otimizada */
@keyframes tech-grid {
  0%, 100% {
    opacity: 0.1;
    transform: translateZ(0) scale(1);
  }
  50% {
    opacity: 0.2;
    transform: translateZ(0) scale(1.01);
  }
}

/* Animação de partículas de dados - otimizada */
@keyframes data-flow {
  0% {
    transform: translateZ(0) translateX(-100%) translateY(0px);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateZ(0) translateX(100vw) translateY(-8px);
    opacity: 0;
  }
}

/* Animação de pulso neural - otimizada */
@keyframes neural-pulse {
  0%, 100% {
    transform: translateZ(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateZ(0) scale(1.3);
    opacity: 1;
  }
}

/* Animação de texto digitando */
@keyframes typing-cursor {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Fundo tecnológico com grade - Tema Amarelo Claro */
.tech-hero {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  position: relative;
  overflow: hidden;
}

/* Grade de fundo - otimizada */
.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(245, 158, 11, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.2) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: tech-grid 8s ease-in-out infinite;
  z-index: 1;
  will-change: transform, opacity;
}

/* Partículas de dados flutuantes - otimizadas */
.data-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #f59e0b;
  border-radius: 50%;
  animation: data-flow linear infinite;
  /* Otimizações de performance */
  will-change: transform;
  transform: translateZ(0);
  contain: layout style paint;
}

.data-particle:nth-child(1) {
  top: 20%;
  animation-duration: 20s;
  animation-delay: 0s;
}

.data-particle:nth-child(2) {
  top: 40%;
  animation-duration: 25s;
  animation-delay: 5s;
  background: #fbbf24;
}

.data-particle:nth-child(3) {
  top: 60%;
  animation-duration: 30s;
  animation-delay: 10s;
  background: #facc15;
}

.data-particle:nth-child(4) {
  top: 80%;
  animation-duration: 22s;
  animation-delay: 15s;
  background: #eab308;
}

/* Elementos neurais - otimizados */
.neural-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  animation: neural-pulse 6s ease-in-out infinite;
  /* Otimizações de performance */
  will-change: transform, opacity;
  transform: translateZ(0);
  contain: layout style paint;
}

/* Efeito de texto com cursor */
.typing-effect::after {
  content: '|';
  animation: typing-cursor 1s infinite;
  color: #b45309;
}

/* Gradiente de texto tecnológico */
.tech-gradient-text {
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SECTION VALUE PROPOSAL MINIMALISTA ===== */

/* Fundo da section value proposal */
.value-proposal-section {
  background: linear-gradient(180deg, #fefce8 0%, #ffffff 50%, #fefce8 100%);
  position: relative;
  overflow: hidden;
}

/* Grade sutil para value proposal */
.value-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(245, 158, 11, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: tech-grid 6s ease-in-out infinite;
  z-index: 1;
}

/* Cards de proposta de valor */
.value-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

/* Texto do card com flex-grow para empurrar o badge para baixo */
.value-card p {
  flex-grow: 1;
}

/* Badge do card sempre no final */
.value-card > div:last-child {
  margin-top: auto;
}

/* Ícones dos cards */
.value-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, #fde68a, #facc15);
  border-color: rgba(245, 158, 11, 0.6);
  transform: scale(1.1);
}

/* Animação de entrada dos cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Partículas decorativas para value proposal - otimizadas */
.value-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fbbf24;
  border-radius: 50%;
  opacity: 0.4;
  animation: float-gentle 8s ease-in-out infinite;
  /* Otimizações de performance */
  will-change: transform;
  transform: translateZ(0);
  contain: layout style paint;
}

@keyframes float-gentle {
  0%, 100% {
    transform: translateY(0px) translateX(0px) translateZ(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-15px) translateX(8px) translateZ(0);
    opacity: 0.8;
  }
}

/* ===== SECTION FAST EMPHASIS CRIATIVA ===== */

/* Fundo da section fast emphasis */
.fast-emphasis-section {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Grid criativo e ajustável */
.creative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  grid-auto-rows: auto;
}

/* Card principal destacado */
.main-feature-card {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 24px;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(50px, -50px);
}

/* Cards de funcionalidades */
.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #facc15);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

/* Ícones das funcionalidades */
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #fde68a, #facc15);
  border-color: rgba(245, 158, 11, 0.6);
  transform: scale(1.1);
}

/* Card de estatísticas */
.stats-card {
  background: linear-gradient(135deg, #1f2937, #374151);
  border-radius: 20px;
  padding: 2rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Responsividade do grid */
@media (max-width: 768px) {
  .main-feature-card {
    grid-column: span 1;
    min-height: 300px;
  }
  
  .creative-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .creative-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .main-feature-card {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Animação de partículas flutuantes */
@keyframes float-particles {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Animação de glow pulsante */
@keyframes glow-pulse {
  0%, 100% {
    filter: blur(20px) brightness(1);
    opacity: 0.3;
  }
  50% {
    filter: blur(15px) brightness(1.5);
    opacity: 0.6;
  }
}

/* Classes para aplicar as animações */
.aurora-flow {
  animation: aurora-flow 8s ease-in-out infinite;
}

.float-particles {
  animation: float-particles 4s ease-in-out infinite;
}

.glow-pulse {
  animation: glow-pulse 6s ease-in-out infinite;
}

/* Efeito 3D otimizado para a imagem do celular */
.phone-3d-container {
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform;
}

.phone-3d-container:hover {
  transform: perspective(800px) rotateX(-25deg) rotateY(25deg) scale(1.15);
}

/* Efeito de sombra otimizado */
.phone-3d-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.15s ease-out;
  pointer-events: none;
  transform: translateZ(-1px);
}

.phone-3d-container:hover::after {
  opacity: 1;
}

/* Card minimalista e profissional */
.info-card {
  position: relative;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
}

.info-card:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Estilos para o model-viewer */
model-viewer {
  --poster-color: transparent;
  --progress-bar-color: transparent;
  --progress-bar-height: 0px;
  --progress-mask: linear-gradient(transparent, black 20%, black 80%, transparent);
  background-color: transparent !important;
}

#scroll-bee-container {
  position: relative;
  pointer-events: none;
  z-index: 9999;
  height: 0;
  overflow: visible;
}

#bee-model {
  position: fixed;
  transform: translate(-50%, -20%) scale(1.8);
  pointer-events: none;
  z-index: 9999;
  transition: transform 1s ease-out;
  background-color: transparent !important;
  filter: none !important;
}

/* ===== SECTION ABOUT US TECNOLÓGICA MINIMALISTA ===== */

/* Fundo da section about us tecnológica */
.tech-about-section {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 50%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* Container principal de informações */
.tech-info-container {
  max-width: 100%;
  margin: 0 auto;
}

/* Card da missão */
.mission-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #facc15);
}

.mission-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 25px 50px rgba(245, 158, 11, 0.15);
}

/* Ícone da missão */
.mission-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.mission-card:hover .mission-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(245, 158, 11, 0.4);
}

/* Estatísticas horizontais */
.stats-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin: 0 auto;

}

.stat-box {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f59e0b; /* Fallback para Safari mobile */
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Força renderização no Safari mobile */
  display: inline-block;
  -webkit-text-stroke: 0 transparent;
  will-change: auto;
  transform: translateZ(0);
}

.counter-number {
  /* Herda o gradiente do pai (.stat-number) */
  background: inherit;
  -webkit-background-clip: inherit;
  background-clip: inherit;
  -webkit-text-fill-color: transparent;
  display: inline;
  -webkit-text-stroke: 0 transparent;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(245, 158, 11, 0.3), transparent);
}

/* Características técnicas */
.tech-features {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(245, 158, 11, 0.05);
}

.feature-item:hover {
  background: rgba(245, 158, 11, 0.1);
  transform: translateX(8px);
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

/* Seção do time */
.team-section {
  margin-top: 4rem;
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Cards dos membros do time */
.team-member-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 1;
  max-width: 300px;
  min-width: 250px;
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #facc15);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.team-member-card:hover::before {
  transform: scaleX(1);
}

.team-member-card:hover {
  transform: translateY(-12px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 25px 50px rgba(245, 158, 11, 0.2);
}

/* Avatar dos membros */
.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(245, 158, 11, 0.3);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.member-avatar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member-card:hover .member-avatar {
  border-color: rgba(245, 158, 11, 0.6);
  transform: scale(1.05);
}

.team-member-card:hover .member-avatar::after {
  opacity: 1;
}

.member-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.member-role {
  color: #f59e0b;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.member-description {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .stats-horizontal {
    flex-direction: column;
    gap: 1rem;
  }
  
  .stat-divider {
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(245, 158, 11, 0.3), transparent);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .team-grid {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  
  .team-member-card {
    max-width: 100%;
  }
  
  .mission-card {
    padding: 2rem;
  }
  
  .tech-features {
    padding: 2rem;
  }
  
  /* Reduzir animações em mobile para melhor performance */
  .tech-grid {
    animation: none;
    opacity: 0.1;
  }
  
  .data-particle {
    animation: none;
    opacity: 0.3;
  }
  
  .neural-node {
    animation: none;
    opacity: 0.6;
  }
}

@media (max-width: 480px) {
  .stats-horizontal {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
    /* Força renderização no Safari mobile */
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
  
  .counter-number {
    /* Herda o gradiente do pai (.stat-number) no mobile também */
    background: inherit !important;
    -webkit-background-clip: inherit !important;
    background-clip: inherit !important;
    -webkit-text-fill-color: transparent !important;
  }
  
  .team-member-card {
    padding: 2rem;
  }
  
  .member-avatar {
    width: 100px;
    height: 100px;
  }
}

/* ===== SECTION CONQUISTAS - TIMELINE DINÂMICA HORIZONTAL ===== */

/* Fundo da section conquistas - otimizado para performance */
.conquistas-section {
  background: linear-gradient(135deg, #fefce8 0%, #ffffff 50%, #fefce8 100%);
  position: relative;
  overflow: hidden;
  /* Otimizações de performance */
  will-change: auto;
  transform: translateZ(0);
  contain: layout style paint;
}

/* Container da timeline dinâmica - otimizado */
.timeline-dynamic-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 0;
  overflow: visible;
  /* Otimizações de performance */
  will-change: auto;
  transform: translateZ(0);
  contain: layout style paint;
}

/* Linha horizontal central da timeline - otimizada */
.timeline-vertical-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.1) 0%,
    rgba(245, 158, 11, 0.6) 10%,
    rgba(245, 158, 11, 0.6) 90%,
    rgba(245, 158, 11, 0.1) 100%
  );
  transform: translateY(-50%) translateZ(0);
  z-index: 1;
  /* Otimizações de performance */
  will-change: auto;
  contain: layout style paint;
}

/* Wrapper dos itens da timeline - Scroll Horizontal otimizado */
.timeline-dynamic-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 3rem;
  padding: 2rem 4rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.5) rgba(245, 158, 11, 0.1);
  /* Otimizações de performance */
  will-change: auto;
  transform: translateZ(0);
  contain: layout style paint;
}

/* Estilização da scrollbar */
.timeline-dynamic-wrapper::-webkit-scrollbar {
  height: 8px;
}

.timeline-dynamic-wrapper::-webkit-scrollbar-track {
  background: rgba(245, 158, 11, 0.1);
  border-radius: 10px;
  margin: 0 4rem;
}

.timeline-dynamic-wrapper::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.5);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.timeline-dynamic-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.7);
}

/* Máscaras de gradiente nas laterais */
.timeline-dynamic-container::before,
.timeline-dynamic-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 3;
  pointer-events: none;
}

.timeline-dynamic-container::before {
  left: 0;
  background: linear-gradient(90deg, 
    rgba(254, 252, 232, 1) 0%, 
    rgba(254, 252, 232, 0.8) 30%,
    rgba(254, 252, 232, 0) 100%);
}

.timeline-dynamic-container::after {
  right: 0;
  background: linear-gradient(-90deg, 
    rgba(254, 252, 232, 1) 0%, 
    rgba(254, 252, 232, 0.8) 30%,
    rgba(254, 252, 232, 0) 100%);
}

/* Item individual da timeline (horizontal) */
.timeline-dynamic-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  flex-shrink: 0;
}

/* Items à esquerda - agora posicionados acima da linha */
.timeline-dynamic-item.timeline-left {
  flex-direction: column-reverse;
}

.timeline-dynamic-item.timeline-left .timeline-dynamic-card {
  margin-bottom: 0;
}

/* Items à direita - agora posicionados abaixo da linha */
.timeline-dynamic-item.timeline-right {
  flex-direction: column;
}

.timeline-dynamic-item.timeline-right .timeline-dynamic-card {
  margin-top: 0;
}

/* Card da timeline - otimizado para performance */
.timeline-dynamic-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 380px;
  max-width: 380px;
  min-width: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Otimizações de performance */
  will-change: transform;
  transform: translateZ(0);
  contain: layout style paint;
}

.timeline-dynamic-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #facc15);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.timeline-dynamic-card:hover {
  transform: translateY(-8px) translateZ(0);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2),
              0 8px 20px rgba(0, 0, 0, 0.08);
}

.timeline-dynamic-card:hover::before {
  transform: scaleX(1);
}

/* Imagem/Placeholder do card */
.timeline-card-image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.timeline-card-image.award-gold {
  background: url('https://res.cloudinary.com/dn454izoh/image/upload/v1762124080/agtech_vmiayt.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.timeline-card-image.award-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(245, 158, 11, 0.6));
  z-index: 1;
}

.timeline-card-image.award-gold.araucaria {
  background: url('https://res.cloudinary.com/dn454izoh/image/upload/v1762124080/araucaria_tcn8fz.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.timeline-card-image.award-gold.araucaria::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(245, 158, 11, 0.6));
  z-index: 1;
}

.timeline-card-image.award-gold.sinova {
  background: url('https://res.cloudinary.com/dn454izoh/image/upload/v1762124081/sinova_ht5lam.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.timeline-card-image.award-gold.sinova::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.6), rgba(245, 158, 11, 0.6));
  z-index: 1;
}

.timeline-card-image.award-silver {
  background: linear-gradient(135deg, #e5e7eb, #9ca3af);
}

.timeline-card-image.future {
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
}

/* Placeholder para imagem */
.timeline-image-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: all 0.4s ease;
  z-index: 2;
}

.timeline-dynamic-card:hover .timeline-image-placeholder {
  transform: scale(1.1) rotate(5deg);
}

/* Badge de ano */
.timeline-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.875rem;
  color: #f59e0b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(245, 158, 11, 0.3);
}

/* Ribbon de prêmio */
.award-ribbon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5),
              0 0 0 4px rgba(255, 255, 255, 0.3);
  animation: ribbon-pulse 2s ease-in-out infinite;
}

.award-ribbon.silver {
  background: linear-gradient(135deg, #d1d5db, #6b7280);
}

@keyframes ribbon-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5),
                0 0 0 4px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.6),
                0 0 0 6px rgba(255, 255, 255, 0.4);
  }
}

/* Conteúdo do card */
.timeline-card-content {
  padding: 2rem;
}

.timeline-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.timeline-card-description {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.timeline-card-date {
  font-size: 0.875rem;
  color: #f59e0b;
  font-weight: 600;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-card-date::before {
  content: '📅';
  font-size: 1rem;
}

/* Ponto central da timeline */
.timeline-dynamic-dot {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-dot-inner {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  animation: pulse-dot-inner 2s ease-in-out infinite;
}

@keyframes pulse-dot-inner {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
  }
}

/* Animações de entrada - Horizontal otimizadas */
@keyframes slide-in-top {
  from {
    opacity: 0;
    transform: translateY(-30px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

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

/* Items acima da linha (timeline-left) aparecem de cima - otimizado */
.timeline-dynamic-item.timeline-left .timeline-dynamic-card {
  animation: slide-in-top 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  will-change: transform, opacity;
}

/* Items abaixo da linha (timeline-right) aparecem de baixo - otimizado */
.timeline-dynamic-item.timeline-right .timeline-dynamic-card {
  animation: slide-in-bottom 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  will-change: transform, opacity;
}

.timeline-dynamic-item:nth-child(1) .timeline-dynamic-card {
  animation-delay: 0.1s;
}

.timeline-dynamic-item:nth-child(2) .timeline-dynamic-card {
  animation-delay: 0.2s;
}

.timeline-dynamic-item:nth-child(3) .timeline-dynamic-card {
  animation-delay: 0.3s;
}

.timeline-dynamic-item:nth-child(4) .timeline-dynamic-card {
  animation-delay: 0.4s;
}

.timeline-dynamic-item:nth-child(5) .timeline-dynamic-card {
  animation-delay: 0.5s;
}

/* Responsividade para tablets */
@media (max-width: 1024px) {
  .timeline-dynamic-wrapper {
    padding: 2rem 2rem;
    gap: 2rem;
  }
  
  .timeline-dynamic-container::before,
  .timeline-dynamic-container::after {
    width: 60px;
  }
  
  .timeline-dynamic-card {
    width: 320px;
    max-width: 320px;
    min-width: 320px;
  }
  
  .timeline-card-image {
    height: 180px;
  }
  
  .timeline-card-content {
    padding: 1.75rem;
  }
  
  .timeline-card-title {
    font-size: 1.125rem;
  }
}

/* Responsividade para mobile e tablets pequenos */
@media (max-width: 768px) {
  .conquistas-section {
    padding: 3rem 0 !important;
  }
  
  .timeline-dynamic-container {
    padding: 2rem 0;
  }
  
  .timeline-dynamic-container::before,
  .timeline-dynamic-container::after {
    display: none;
  }
  
  /* Reorganizar para vertical no mobile */
  .timeline-dynamic-wrapper {
    flex-direction: column;
    padding: 2rem 1rem;
    overflow-x: visible;
    overflow-y: visible;
    gap: 3rem;
  }
  
  /* Linha vertical para mobile */
  .timeline-vertical-line {
    left: 2rem;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(
      180deg,
      rgba(245, 158, 11, 0.1) 0%,
      rgba(245, 158, 11, 0.6) 10%,
      rgba(245, 158, 11, 0.6) 90%,
      rgba(245, 158, 11, 0.1) 100%
    );
  }
  
  /* Reorganizar layout dos items para vertical */
  .timeline-dynamic-item {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  /* Todos os cards ficam à direita da linha no mobile */
  .timeline-dynamic-item.timeline-left,
  .timeline-dynamic-item.timeline-right {
    flex-direction: row;
  }
  
  .timeline-dynamic-item.timeline-left .timeline-dynamic-card,
  .timeline-dynamic-item.timeline-right .timeline-dynamic-card {
    margin: 0;
  }
  
  /* Ajustes nos cards */
  .timeline-dynamic-card {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }
  
  .timeline-card-image {
    height: 180px;
  }
  
  .timeline-card-content {
    padding: 1.5rem;
  }
  
  .timeline-card-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .timeline-card-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  /* Simplificar animações no mobile - otimizado */
  .timeline-dynamic-item.timeline-left .timeline-dynamic-card,
  .timeline-dynamic-item.timeline-right .timeline-dynamic-card {
    animation: slide-in-bottom 0.4s ease-out both;
    will-change: auto;
  }
  
  /* Hover mais sutil e performático */
  .timeline-dynamic-card:hover {
    transform: translateY(-4px) translateZ(0);
  }
  
  .timeline-dynamic-card:hover .timeline-image-placeholder {
    transform: scale(1.02) translateZ(0);
  }
  
  /* Ribbons e badges menores */
  .award-ribbon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    top: 0.75rem;
    left: 0.75rem;
  }
  
  .timeline-card-badge {
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .timeline-card-date {
    font-size: 0.8rem;
  }
  
  /* Scrollbar oculta no mobile */
  .timeline-dynamic-wrapper::-webkit-scrollbar {
    display: none;
  }
}

/* Responsividade para celulares pequenos */
@media (max-width: 480px) {
  .conquistas-section {
    padding: 2rem 0 !important;
  }
  
  .timeline-dynamic-container {
    padding: 1.5rem 0;
  }
  
  .timeline-dynamic-wrapper {
    padding: 1.5rem 0.75rem;
    gap: 2.5rem;
  }
  
  /* Linha ainda mais à esquerda em telas muito pequenas */
  .timeline-vertical-line {
    left: 1.5rem;
    width: 2px;
  }
  
  .timeline-dynamic-item {
    gap: 1rem;
  }
  
  /* Cards menores */
  .timeline-card-image {
    height: 160px;
  }
  
  .timeline-card-content {
    padding: 1.25rem;
  }
  
  .timeline-card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .timeline-card-description {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Ribbons e badges ainda menores */
  .award-ribbon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    top: 0.5rem;
    left: 0.5rem;
  }
  
  .timeline-card-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    top: 0.5rem;
    right: 0.5rem;
  }
  
  /* Dot menor */
  .timeline-dynamic-dot {
    width: 20px;
    height: 20px;
  }
  
  .timeline-dot-inner {
    width: 12px;
    height: 12px;
  }
  
  .timeline-card-date {
    font-size: 0.75rem;
    margin-top: 0.75rem;
  }
  
  .timeline-card-date::before {
    font-size: 0.875rem;
  }
  
  /* Desabilitar animações complexas em dispositivos muito pequenos - otimizado */
  .timeline-dynamic-card:hover {
    transform: translateY(-2px) translateZ(0);
  }
  
  .award-ribbon {
    animation: none;
  }
  
  .timeline-dot-inner {
    animation: pulse-dot-inner 4s ease-in-out infinite;
  }
  
  /* Desabilitar will-change em dispositivos pequenos para economizar memória */
  .timeline-dynamic-card,
  .timeline-dynamic-item.timeline-left .timeline-dynamic-card,
  .timeline-dynamic-item.timeline-right .timeline-dynamic-card {
    will-change: auto;
  }
}

/* Modo paisagem em celulares */
@media (max-width: 768px) and (orientation: landscape) {
  .timeline-card-image {
    height: 140px;
  }
  
  .timeline-dynamic-wrapper {
    gap: 2rem;
  }
  
  .timeline-card-content {
    padding: 1.25rem;
  }
}

/* ===== LISTA DE BENEFÍCIOS MINIMALISTA ===== */

.benefits-list-minimal {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefits-list-minimal li {
  color: white;
  font-size: 1.05rem;
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
  transition: transform 0.2s ease;
}

.benefits-list-minimal li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: bold;
  transition: transform 0.2s ease;
}

.benefits-list-minimal li:hover {
  transform: translateX(4px);
}

.benefits-list-minimal li:hover::before {
  transform: translateX(4px);
}

/* Responsividade */
@media (max-width: 768px) {
  .benefits-list-minimal li {
    font-size: 0.95rem;
    padding-left: 1.25rem;
  }
}

@media (max-width: 480px) {
  .benefits-list-minimal li {
    font-size: 0.9rem;
    padding-left: 1rem;
  }
}