/* Animation keyframes */
@keyframes attirerOeil {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-8px); } /* amplitude du mouvement */
}

.btn-devis {
  position: fixed;
  bottom: 110px;
  right: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: linear-gradient(135deg, #e63946, #d62828);
  color: #fff !important;
  padding: 12px 10px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  white-space: nowrap;

  /* Animation mouvement horizontal */
  animation: attirerOeil 3s infinite ease-in-out; /* durée = 3s, répétition infinie */
}

.btn-devis:hover {
  background: linear-gradient(135deg, #c1121f, #9d0208);
  transform: translateX(-6px);
}

/* Adaptation mobile */
@media screen and (max-width: 768px) {
  .btn-devis {
    font-size: 14px;
    padding: 10px 8px;
    top: auto;
    bottom: 20%;
  }
}
