* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.arrow {
  position: absolute;
  left: 20px;
  font-size: 24px;
  cursor: pointer;
}
.logo {
  height: 30px;
}

/* Layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 60px);
}
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }
  .visual-section {
    display: none;
  }
}

/* Formulaire */
.form-section {
  padding: 40px;
}
form {
  display: flex;
  flex-direction: column;
}
form label {
  margin-top: 15px;
  font-weight: bold;
}
form input {
  padding: 12px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}
form button[type="submit"] {
  background-color: #f60;
  color: white;
  padding: 14px;
  margin-top: 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.separator {
  text-align: center;
  margin: 20px 0;
  position: relative;
  border-top: 1px solid #ddd;
}
.separator::before {
  content: "Ou";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0 10px;
  color: #666;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #ccc;
  background: white;
  margin-bottom: 10px;
}
.icon {
  width: 20px;
  height: 20px;
}

/* Partie visuelle */
.visual-section {
  background: #f5f5f5;
  overflow: hidden;
}
.columns {
  display: flex;
  height: 100%;
  gap: 10px; /* espace entre colonnes */
  padding: 10px;
}
.column {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}


/* Défilement automatique */
.scroll {
  animation: scrollColumn 10s linear infinite;
}
.scroll.slow {
  animation-duration: 14s;
}
.scroll.medium {
  animation-duration: 12s;
}
.scroll.fast {
  animation-duration: 10s;
}

@keyframes scrollColumn {
  0% { transform: translateY(0); }
  100% { transform: translateY(-25%); }
}

.card {
  height: 250px; /* Augmente la taille verticale */
  margin: 10px 12px; /* espace entre les cards */
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  position: relative;
  color: #333;
}


/* Favoris */
.fav {
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 20px;
  color: #ff4081;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 4px;
}

/* Couleurs pastel */
.pastel1 { background: #fde2e4; }
.pastel2 { background: #fff1e6; }
.pastel3 { background: #d8f3dc; }
.pastel4 { background: #a2d2ff; }
.pastel5 { background: #cdb4db; }
.pastel6 { background: #ffc8dd; }
.pastel7 { background: #bde0fe; }
.pastel8 { background: #fefae0; }
.pastel9 { background: #e0fbfc; }
.pastel10 { background: #ffcad4; }
.pastel11 { background: #e9edc9; }
.pastel12 { background: #fbc4ab; }



@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .visual-section {
    display: none;
  }

  .form-section {
    padding: 20px;
  }
}

