/* ========================================
   ILLUSTRATIONS CSS - BEEHIVES
   Styles pour les illustrations SVG
   Style inspiré unDraw/Storyset
   ======================================== */

/* ========================================
   HERO V2 - Layout Split
   ======================================== */

.hero-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  min-height: 80vh;
}

.hero-content-v2 {
  position: relative;
  z-index: 10;
}

.hero-title-v2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.text-highlight {
  color: var(--color-honey);
  position: relative;
}

.text-highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(247, 179, 43, 0.3);
  z-index: -1;
}

.hero-description-v2 {
  font-size: var(--text-lg);
  color: var(--color-text-light-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.hero-actions-v2 {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(247, 179, 43, 0.2);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.hero-stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-honey);
}

.hero-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========================================
   ILLUSTRATION CONTAINER
   ======================================== */

.hero-illustration-v2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.illustration-teamwork {
  width: 100%;
  max-width: 600px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ========================================
   ILLUSTRATION ANIMATIONS
   ======================================== */

/* Floating hexagons */
.float-hex {
  animation: floatHex 6s ease-in-out infinite;
}

.float-hex-1 {
  animation-delay: 0s;
}

.float-hex-2 {
  animation-delay: 2s;
}

@keyframes floatHex {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

/* Floating dots */
.float-dot {
  animation: floatDot 4s ease-in-out infinite;
}

.float-dot-1 {
  animation-delay: 0s;
}

.float-dot-2 {
  animation-delay: 1.5s;
}

.float-dot-3 {
  animation-delay: 3s;
}

@keyframes floatDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

/* Connection lines animation */
.connection-line {
  stroke-dasharray: 5, 5;
  animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -20;
  }
}

/* Chart bars animation */
.chart-bar {
  animation: chartGrow 2s ease-out infinite;
  transform-origin: bottom;
}

.chart-bar:nth-child(1) {
  animation-delay: 0s;
}

.chart-bar:nth-child(2) {
  animation-delay: 0.2s;
}

.chart-bar:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chartGrow {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.2);
  }
}

/* Idea bulb glow */
.idea-bulb {
  animation: bulbGlow 3s ease-in-out infinite;
}

@keyframes bulbGlow {

  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(247, 179, 43, 0.5));
  }

  50% {
    opacity: 0.8;
    filter: drop-shadow(0 0 15px rgba(247, 179, 43, 0.8));
  }
}

/* Gear rotation */
.gear-icon {
  animation: gearSpin 8s linear infinite;
  transform-origin: center;
}

@keyframes gearSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Person hover effect */
.person {
  transition: transform 0.3s ease;
}

.illustration-teamwork:hover .person-1 {
  transform: translateX(-5px);
}

.illustration-teamwork:hover .person-2 {
  transform: translateX(5px);
}

.illustration-teamwork:hover .person-3 {
  transform: translateY(-5px);
}

/* Dashboard pulse */
.dashboard {
  animation: dashboardPulse 4s ease-in-out infinite;
}

@keyframes dashboardPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(247, 179, 43, 0));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(247, 179, 43, 0.3));
  }
}

/* Background hexagons subtle animation */
.bg-hexagons polygon {
  animation: bgHexPulse 5s ease-in-out infinite;
}

.bg-hexagons polygon:nth-child(1) {
  animation-delay: 0s;
}

.bg-hexagons polygon:nth-child(2) {
  animation-delay: 1s;
}

.bg-hexagons polygon:nth-child(3) {
  animation-delay: 2s;
}

.bg-hexagons polygon:nth-child(4) {
  animation-delay: 3s;
}

@keyframes bgHexPulse {

  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }

  50% {
    opacity: 0.2;
    transform: scale(1.05);
  }
}

/* Central platform subtle float */
.central-platform {
  animation: platformFloat 6s ease-in-out infinite;
}

@keyframes platformFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* ========================================
   ENTRANCE ANIMATIONS
   ======================================== */

.hero-v2 .hero-tagline {
  animation: slideInLeft 0.8s ease-out;
}

.hero-v2 .hero-badge {
  animation: slideInLeft 0.8s ease-out 0.1s both;
}

.hero-v2 .hero-title-v2 {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-v2 .hero-description-v2 {
  animation: slideInLeft 0.8s ease-out 0.3s both;
}

.hero-v2 .hero-actions-v2 {
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-v2 .hero-stats {
  animation: slideInLeft 0.8s ease-out 0.5s both;
}

.hero-v2 .hero-illustration-v2 {
  animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-content-v2 {
    order: 2;
  }

  .hero-illustration-v2 {
    order: 1;
  }

  .hero-description-v2 {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-v2 {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .illustration-teamwork {
    max-width: 450px;
  }

  .hero-tagline {
    align-items: center;
  }

  .hero-tagline__sub {
    padding-left: 0;
  }

  .hero-tagline__sub::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-v2 {
    padding: var(--space-xl) 0;
  }

  .hero-split {
    min-height: auto;
  }

  .hero-title-v2 {
    font-size: var(--text-2xl);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }

  .hero-stat {
    flex: 1 1 80px;
    text-align: center;
  }

  .illustration-teamwork {
    max-width: 320px;
  }

  .hero-actions-v2 {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions-v2 .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: var(--space-md);
  }

  .hero-stat__number {
    font-size: var(--text-xl);
  }

  .illustration-teamwork {
    max-width: 280px;
  }
}

/* ========================================
   DARK MODE ENHANCEMENTS
   ======================================== */

.hero-v2 .illustration-teamwork {
  transition: filter 0.3s ease;
}

.hero-v2:hover .illustration-teamwork {
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {

  .float-hex,
  .float-dot,
  .connection-line,
  .chart-bar,
  .idea-bulb,
  .gear-icon,
  .dashboard,
  .bg-hexagons polygon,
  .central-platform,
  .hero-v2 .hero-tagline,
  .hero-v2 .hero-badge,
  .hero-v2 .hero-title-v2,
  .hero-v2 .hero-description-v2,
  .hero-v2 .hero-actions-v2,
  .hero-v2 .hero-stats,
  .hero-v2 .hero-illustration-v2 {
    animation: none;
  }

  .person {
    transition: none;
  }
}