/* Neuf univers, chacun présenté sur les deux écrans. */
.personalize { position: relative; isolation: isolate; background: #f3f0e8; color: #242522; padding-block: clamp(4rem,7vw,7rem); }
.personalize__tones { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.personalize__tones span { position: absolute; inset: 0; opacity: 0; background: #eeeaf5; transition: opacity 700ms cubic-bezier(.22,1,.36,1); }
.personalize__tones span:nth-child(2) { background: #efeee9; }
.personalize__tones span:nth-child(3) { background: #e8eff3; }
.personalize__tones span:nth-child(4) { background: #e5e5f0; }
.personalize__tones span:nth-child(5) { background: #e7ede5; }
.personalize__tones span:nth-child(6) { background: #f1ecdf; }
.personalize__tones span:nth-child(7) { background: #e9e5de; }
.personalize__tones span:nth-child(8) { background: #e0e9e3; }
.personalize__tones span:nth-child(9) { background: #f4eedf; }
.personalize__tones span.is-active { opacity: 1; }
.personalize__heading { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(2.5rem,7vw,7rem); align-items: center; }
.personalize__heading h3 { font-size: clamp(2.2rem,3.6vw,3.5rem); font-weight: 570; line-height: 1.06; letter-spacing: -.035em; }
.personalize__heading p { max-width: 50ch; font-size: 1.0625rem; line-height: 1.65; }
.personalize__heading .personalize__example { margin-top: 1rem; font-size: .9375rem; color: #4b5175; }
.style-wheel { margin-top: 2rem; }
.style-wheel__viewport { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; }
.style-wheel__track { display: flex; gap: 24px; width: max-content; padding: 2rem var(--gutter); }
.style-wheel__card { display: block; flex: 0 0 auto; width: min(66vw,1000px); color: #242522; text-decoration: none; user-select: none; -webkit-user-select: none; }
.style-pair { position: relative; padding: 18px 12% 13% 0; }
.style-pair img { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; -webkit-user-select: none; }
.style-pair__desktop { overflow: hidden; border-radius: 12px; box-shadow: 0 22px 42px -30px #24252250; }
.style-pair__desktop img { aspect-ratio: 1620/1000; object-fit: cover; }
.style-pair__phone { position: absolute; right: 1%; bottom: 0; width: 25%; padding: clamp(3px,.4vw,6px); border-radius: clamp(16px,2vw,30px); background: #252624; transform: rotate(8deg); box-shadow: 9px 18px 30px -18px #24252299; }
.style-pair__phone img { aspect-ratio: 390/844; object-fit: cover; border-radius: clamp(12px,1.6vw,24px); }
.style-pair__phone::after { content: ''; position: absolute; top: clamp(6px,.7vw,11px); left: 38%; width: 24%; height: clamp(3px,.35vw,5px); border-radius: 12px; background: #252624; }
.style-wheel__card > span { display: block; width: 88%; margin-top: 1.5rem; text-align: center; font-size: clamp(1rem,1.5vw,1.35rem); font-weight: 550; letter-spacing: -.015em; }
.style-wheel__card:hover { color: var(--c-cobalt); }
.style-wheel.is-ready .style-wheel__card { opacity: .58; transition: opacity 400ms cubic-bezier(.22,1,.36,1); }
.style-wheel.is-ready .style-wheel__card.is-current { opacity: 1; }
.style-wheel__card:focus-visible { outline: 3px solid var(--c-cobalt); outline-offset: 6px; border-radius: 12px; }
.style-wheel.is-ready .style-wheel__viewport { position: relative; overflow: hidden; perspective: 1600px; cursor: grab; touch-action: pan-y pinch-zoom; }
.style-wheel.is-ready .style-wheel__track { position: absolute; inset: 0; display: block; width: 100%; padding: 0; transform-style: preserve-3d; pointer-events: none; }
.style-wheel.is-ready .style-wheel__card { position: absolute; left: 0; top: 0; transform-origin: center; backface-visibility: hidden; pointer-events: auto; }
.style-wheel.is-dragging .style-wheel__viewport, .style-wheel.is-dragging .style-wheel__card { cursor: grabbing; }
.style-wheel__footer { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 2rem; row-gap: .75rem; }
.style-wheel__controls:not([hidden]) { display: flex; gap: 8px; align-items: center; justify-content: center; }
.style-wheel__position { min-width: 4ch; margin-right: 8px; font-size: .8125rem; font-variant-numeric: tabular-nums; color: #4b5175; }
.style-wheel__controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: .6rem .85rem; border: 1px solid #bfc4d5; border-radius: 100px; background: transparent; color: #17194a; font: inherit; font-size: .8125rem; cursor: pointer; }
.style-wheel__controls button:hover { background: #fff; }
.style-wheel__controls button[aria-pressed=true] { background: #17194a; border-color: #17194a; color: #fff; }
.style-wheel__controls svg { width: 18px; height: 18px; }
.style-wheel__controls [hidden] { display: none; }
.style-preview button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.96); color: #17194a; cursor: pointer; touch-action: manipulation; }
.style-preview svg { width: 20px; height: 20px; }
.style-wheel__footer p { margin: 0; font-size: .8125rem; line-height: 1.5; color: #4b5175; }
.style-wheel__note { text-align: right; }
.style-wheel button:focus-visible, .style-preview button:focus-visible { outline: 3px solid var(--c-cobalt); outline-offset: 4px; }
.style-wheel button:active, .style-preview button:active { transform: scale(.96); }

.has-style-preview { overflow: hidden; }
.style-preview { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; border: 0; background: transparent; color: #fff; overflow: hidden; touch-action: manipulation; }
.style-preview[open] { display: grid; place-items: center; }
.style-preview::backdrop { background: rgba(10,13,42,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity 220ms cubic-bezier(.22,1,.36,1); }
.style-preview.is-closing::backdrop { opacity: 0; }
.style-preview.is-closing :is(button,.style-preview__caption) { visibility: hidden; }
.style-preview__stage { position: relative; width: min(88vw,1300px,calc((100dvh - 160px) * 1.4)); touch-action: pan-y pinch-zoom; }
.style-preview__stage > .style-pair { cursor: grab; }
.style-preview__stage.is-dragging > .style-pair { cursor: grabbing; }
.style-preview .style-preview__close { position: absolute; right: clamp(16px,2.5vw,32px); top: clamp(16px,2.5vw,32px); z-index: 2; }
.style-preview__previous, .style-preview__next { position: absolute; top: calc(50% - 23px); z-index: 2; }
.style-preview__previous { left: -56px; }
.style-preview__next { right: -56px; }
.style-preview__caption { position: absolute; left: 0; right: 0; top: calc(100% + 1rem); margin: 0; text-align: center; font-size: .9375rem; font-weight: 550; }
@media (max-width:700px) {
  .style-wheel__card { width: 84vw; }
  .style-pair { padding-top: 12px; padding-bottom: 18%; }
  .style-pair__phone { width: 29%; }
  .style-wheel__card > span { margin-top: 1rem; }
  .personalize__heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .personalize__heading p { font-size: 1rem; }
  .style-wheel__footer { grid-template-columns: 1fr; gap: .75rem; }
  .style-wheel__footer p { text-align: center; }
  .style-preview__stage { width: min(92vw,calc((100dvh - 144px) * 1.3)); }
  .style-preview__previous { left: .4rem; }
  .style-preview__next { right: .4rem; }
}
@media (prefers-reduced-motion:reduce) {
  .personalize__tones span,.style-wheel.is-ready .style-wheel__card,.style-preview::backdrop { transition: none; }
  .style-wheel button:active,.style-preview button:active { transform: none; }
}
