/* Roue cadeau Sentilobs : roue en relief (voir assets/roue.js). Dessinée pour Sentilobs. */
.rc3d { position: relative; width: min(100%, 360px); aspect-ratio: 1 / 1.08; margin: 0 auto; --or: #f2c14e; --or-fonce: #b07d12; user-select: none; -webkit-user-select: none; }
.rc3d__scene { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 0%; }
.rc3d__plateau { position: absolute; left: 4%; right: 4%; top: 3%; aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(24deg); transform-origin: 50% 50%; }
.rc3d__tranche { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(180deg, var(--or-fonce), #7a540a); }
.rc3d__anneau { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, transparent 60%, rgba(0,0,0,.18) 61%, transparent 63%), conic-gradient(from 0deg, var(--or), #fff1c1, var(--or), var(--or-fonce), var(--or), #fff1c1, var(--or), var(--or-fonce), var(--or));
  box-shadow: inset 0 0 0 3px rgba(122,84,10,.6), inset 0 0 18px rgba(0,0,0,.35); }
.rc3d__ampoule { position: absolute; left: 50%; top: 50%; width: 4.4%; aspect-ratio: 1; margin: -2.2% 0 0 -2.2%; border-radius: 50%; transform: rotate(var(--a)) translateY(-1050%);
  background: radial-gradient(circle at 35% 35%, #fff, #ffe9a6 40%, #f5a524 75%); box-shadow: 0 0 8px 2px rgba(255,214,102,.9); animation: rc-ampoule 1.2s steps(1) infinite; animation-delay: calc(var(--i) * .6s); }
.rc3d--tourne .rc3d__ampoule { animation-duration: .3s; animation-delay: calc(var(--i) * .15s); }
.rc3d--fini .rc3d__ampoule { animation: rc-ampoule .25s steps(1) 8; }
@keyframes rc-ampoule { 50% { background: radial-gradient(circle at 35% 35%, #fff8e1, #c9a24a 60%, #8a6414); box-shadow: none; } }
.rc3d__face { position: absolute; inset: 7.5%; width: 85%; height: 85%; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.7); will-change: transform; }
.rc3d__reflet { position: absolute; inset: 7.5%; border-radius: 50%; pointer-events: none; background: linear-gradient(160deg, rgba(255,255,255,.38), rgba(255,255,255,0) 42%, rgba(0,0,0,0) 70%, rgba(0,0,0,.16)); }
.rc3d__moyeu { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; transform: translate(-50%, -50%) translateZ(6px); border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff8dc, var(--or) 45%, var(--or-fonce)); box-shadow: 0 4px 0 #7a540a, 0 8px 14px rgba(0,0,0,.35), inset 0 0 0 3px rgba(255,255,255,.5); color: #7a540a; font-size: clamp(14px, 5vw, 22px); font-weight: 900; }
.rc3d__ombre { position: absolute; left: 12%; right: 12%; bottom: 0; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,20,40,.35), transparent); filter: blur(4px); }
.rc3d__pied { position: absolute; left: 50%; bottom: 4%; width: 22%; height: 26%; transform: translateX(-50%); background: linear-gradient(90deg, #7a540a, var(--or) 40%, #fff1c1 50%, var(--or) 60%, #7a540a); clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); border-radius: 4px; }
.rc3d__fleche { position: absolute; left: 50%; top: -1%; width: 12%; aspect-ratio: .8; transform: translateX(-50%); transform-origin: 50% 20%; z-index: 2;
  background: linear-gradient(180deg, var(--fleche, #ff5a5f), var(--fleche2, #c81d25)); clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 100%, 0 45%); filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
.rc3d__fleche::after { content: ""; position: absolute; left: 50%; top: 18%; width: 34%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #fff; box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); }
.rc3d__fleche--tic { animation: rc-tic .12s ease-out; }
@keyframes rc-tic { 40% { transform: translateX(-50%) rotate(-16deg); } }
.rc-confettis { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
@media (prefers-reduced-motion: reduce) { .rc3d__ampoule { animation: none; } }

/* Logo du restaurant au centre de la roue */
.rc3d__moyeu--logo { width: 27%; background: #fff; box-shadow: 0 4px 0 var(--or-fonce), 0 8px 14px rgba(0,0,0,.35), inset 0 0 0 4px var(--or); }
.rc3d__moyeu--logo span { display: block; width: 78%; height: 78%; }
.rc3d__moyeu--logo img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 50%; }
