/* ═══════════════════════════════════════════════
   EDEN COLORING - roue.css
   Roue enchantée de l'accueil
   ═══════════════════════════════════════════════ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#roue .section-intro {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.4;
}

.roue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  max-width: 820px;
  margin: 32px auto 0;
  padding: 28px 32px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,230,92,0.35);
  border-radius: 22px;
  box-shadow: 0 0 40px rgba(155,142,196,0.2);
}

/* ─── La roue ─── */
.roue-wheel-wrap {
  position: relative;
  width: 300px;
  max-width: 100%;
  flex-shrink: 0;
}

.roue-wheel svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255,230,92,0.25));
}

.roue-disc {
  transform-origin: 150px 150px;
  transform-box: view-box;
  transition: transform 5.5s cubic-bezier(0.17, 0.67, 0.12, 1);
}

.roue-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.roue-center {
  font-size: 20px;
  fill: #ffe65c;
}

/* Pointeur doré en haut de la roue */
.roue-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 26px solid #ffe65c;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  z-index: 2;
}

.roue.is-spinning .roue-wheel svg {
  filter: drop-shadow(0 0 28px rgba(255,230,92,0.5));
}

/* ─── Formulaire ─── */
.roue-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  width: 100%;
  max-width: 340px;
}

.roue-rule {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0;
}

.roue-form input[type="email"] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(155,142,196,0.5);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
}
.roue-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(255,230,92,0.25);
}

.roue-consent {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: flex-start;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}
.roue-consent input { margin-top: 2px; accent-color: var(--gold); }

/* Bouton personnalisé jaune (voir .btn-img dans style.css) */
.roue-btn {
  --btn-w: 280px;
  --btn-fs: 0.78rem;
  --btn-fit: 4.4cqi;
  align-self: center;
  margin-top: 4px;
}

.roue-feedback {
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.roue-feedback:empty { display: none; }
.roue-feedback.is-success { color: var(--gold); }
.roue-feedback.is-success strong { color: #ffffff; }
.roue-feedback.is-error { color: var(--rose); }

@media (prefers-reduced-motion: reduce) {
  .roue-disc { transition: none; }
}

@media (max-width: 760px) {
  .roue {
    flex-direction: column;
    gap: 24px;
    padding: 24px 16px;
  }
  .roue-wheel-wrap { width: 260px; }
  .roue-form { max-width: none; }
}
