

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    font-family: "Montserrat", sans-serif;
    background: #000;
  }
    
  .container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    transition: all 0.4s ease;
  }
    
  .column {
    position: relative;
    width: 50%;
    min-height: 100vh;
    overflow: hidden;
    color: white;
    transition: width 0.4s ease;
  }
  
  .container:hover .column {
    width: 45%;
  }
  
  .container .column:hover {
    width: 55%;
  }
  
  .left {
    background: url('../img/background-comm.webp') center/cover no-repeat;
  }
  
  .right {
    background: url('../img/background-pro.webp') center/cover no-repeat;
  }
  
  /* TEXT */
  .overlay {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 80%;
    z-index: 2;
  }
  
  .overlay h2 {
    font-size: 2rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
  }
  
  .overlay h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 0.7;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255,255,255,0.15);
  }
  
  .overlay p {
    font-size: 1.2rem;
    margin: 30px 0;
    opacity: 0.9;
  }
  
  /* PARALLAX IMAGE */
  .parallax {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    z-index: 2;
  }
  
  /* VERSION TAG */
  .version a {
    color: inherit; /* ou la couleur que tu veux */
    text-decoration: none; /* pour enlever le soulignement par défaut */
    font-weight: bold; /* si nécessaire */
    position: absolute;
    bottom: 15px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
    z-index: 2;
  }

  .character {
    position: absolute;
    bottom: 0;
    width: 200px;
    transition: transform 0.1s linear;
    z-index: 3; /* Au-dessus des particules mais derrière le texte */
}

.left .character {
    left: 10%;
}

.right .character {
    right: 10%;
}

  
  /* PARTICLES CANVAS */
  canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }
  
  /* BUTTON STYLES */
  
  /* Communautaire - Fantaisie */
  .btn-commu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff6ec4, #7873f5);
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255,110,196,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .btn-commu .icon {
    font-size: 1.8rem;
  }
  
  .btn-commu::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 300%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 30%);
    top: -100%;
    left: -10%;
    animation: sparkle 3s infinite linear;
  }
  
  @keyframes sparkle {
    0% { transform: translate(0,0); }
    100% { transform: translate(100%,100%); }
  }
  
  .btn-commu:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(255,110,196,0.8);
  }
  
  /* Pro - Ultra Moderne */
  .btn-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 18px 60px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  .btn-pro .icon {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
  }
  
  .btn-pro:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.6);
  }
  
  .btn-pro:hover .icon {
    transform: translateX(6px);
  }
  /* Particules lucioles (colonne gauche) */
.particle.firefly {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 150, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 150, 0.8);
    animation: floatUp 8s linear infinite;
}

/* Particules géométriques (colonne droite) */
.particle.geo {
    position: absolute;
    bottom: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    transform: rotate(45deg);
    animation: floatUp 8s linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-150vh) scale(0.5) rotate(360deg); opacity: 0; }
}
