/* Accueil immersif RefTrade (thème 1.14) — chargé sur la page d'accueil seulement. Voir inc/experience.php.
   Direction : studio blanc « fond infini » et bleu nuit de la marque, jaune en accent, typographie Outfit très
   affirmée. Les photos produits ne sont jamais retouchées : en mélange « produit » (multiply), leur fond blanc
   se fond dans le décor clair. Mode 3D : html.exp-3d ; repli léger : html.exp-2d. */

.experience, .manifeste, .vedettes-3d, .section--vitrine, .avantages-3d, .collections-3d, .recit, .cta-finale, .section--promos {
  --x-nuit: #040B24; --x-marine: #012063; --x-bleu: #0A6EB4; --x-jaune: #FED102; --x-perle: #F4F6FA; --x-encre: #0B1430; --x-texte: #46516B;
  --x-courbe: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Boutons ---------- */
.bouton-3d .wp-block-button__link { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 999px; background: var(--x-marine); color: #fff; font-size: 15.5px; font-weight: 600; letter-spacing: .005em; box-shadow: 0 14px 30px rgba(1,32,99,.28), inset 0 1px 0 rgba(255,255,255,.18); overflow: hidden; isolation: isolate; transition: transform .35s var(--x-courbe), box-shadow .35s var(--x-courbe); }
.bouton-3d .wp-block-button__link::after { content: ''; width: 18px; height: 18px; flex-shrink: 0; background: var(--x-jaune); -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat; transition: transform .35s var(--x-courbe); }
.bouton-3d .wp-block-button__link::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--x-courbe); }
.bouton-3d .wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 22px 40px rgba(1,32,99,.34), inset 0 1px 0 rgba(255,255,255,.2); }
.bouton-3d .wp-block-button__link:hover::before { transform: translateX(120%); }
.bouton-3d .wp-block-button__link:hover::after { transform: translateX(4px); }
.bouton-3d--ligne .wp-block-button__link { background: rgba(255,255,255,.6); color: var(--x-marine); box-shadow: inset 0 0 0 1.5px rgba(1,32,99,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bouton-3d--ligne .wp-block-button__link::after { background: var(--x-marine); }
.bouton-3d--ligne .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px var(--x-marine), 0 14px 30px rgba(1,32,99,.14); }
.boutons-3d { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Scène d'ouverture (hero) ---------- */
.experience { position: relative; background: radial-gradient(120% 90% at 68% 45%, #FFFFFF 0%, #F2F5FA 46%, #DCE5F2 100%); color: var(--x-encre); }
.experience__scene { position: relative; }
.etape .surtitre { color: var(--x-marine); font-size: 12px; letter-spacing: .14em; }
.etape .surtitre::before { background: var(--x-jaune); width: 8px; height: 8px; }
.etape__affiche { font-size: clamp(46px, 6.2vw, 108px); line-height: .9; letter-spacing: -.045em; font-weight: 700; color: var(--x-marine); margin-top: 14px; }
.etape__affiche em { font-style: normal; color: transparent; -webkit-text-stroke: 1.6px var(--x-marine); background: linear-gradient(100deg, var(--x-marine) 0 45%, transparent 45%) 0 0 / 230% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: x-remplir 2.6s 1.1s var(--x-courbe) both; }
@keyframes x-remplir { from { background-position: 100% 0; } to { background-position: 0 0; } }
.etape__h1 { margin-top: 22px; max-width: 32ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.45; font-weight: 500; color: var(--x-texte); }
.etape__titre { font-size: clamp(34px, 3.9vw, 66px); line-height: .98; letter-spacing: -.035em; font-weight: 700; color: var(--x-marine); margin-top: 12px; }
.etape__titre em { font-style: normal; color: var(--x-bleu); }
.etape__texte > p:not(.surtitre):not(.etape__affiche) { margin-top: 16px; max-width: 40ch; font-size: 17px; line-height: 1.55; color: var(--x-texte); }

/* Caractéristiques réelles (lues dans la fiche produit) */
.points-forts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; max-width: 460px; }
.points-forts__ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid rgba(1,32,99,.14); }
.points-forts__ligne:first-child { border-top: 1px solid rgba(1,32,99,.14); }
.points-forts__nom { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5B6785; }
.points-forts__valeur { font-size: 22px; font-weight: 600; letter-spacing: -.01em; color: var(--x-marine); white-space: nowrap; }

/* Visuels : la photo telle quelle, fondue dans le décor clair */
.visuel-3d { position: relative; margin: 0; }
.visuel-3d__cadre img { width: 100%; height: auto; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
.exp-2d .etape--3 .visuel-3d__cadre img { -webkit-mask-image: none; mask-image: none; }
.visuel-3d__legende { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 14px; padding: 10px 18px 10px 14px; border-radius: 999px; background: rgba(255,255,255,.72); box-shadow: 0 10px 30px rgba(1,32,99,.12), inset 0 0 0 1px rgba(1,32,99,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13.5px; }
.visuel-3d__legende a { font-weight: 600; color: var(--x-marine); }
.visuel-3d__legende::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--x-jaune); box-shadow: 0 0 0 4px rgba(254,209,2,.25); }
.visuel-3d__prix { font-weight: 700; color: var(--x-encre); }
.visuel-3d__prix del { font-weight: 500; color: #8A93A8; margin-right: 6px; }
.visuel-3d__prix ins { text-decoration: none; }

/* Apparition du texte d'ouverture (CSS pur : rien ne clignote, rien n'attend le JavaScript) */
.etape--1 .etape__texte > * { animation: x-monte 1.1s var(--x-courbe) both; }
.etape--1 .etape__texte > :nth-child(2) { animation-delay: .12s; }
.etape--1 .etape__texte > :nth-child(3) { animation-delay: .26s; }
.etape--1 .etape__texte > :nth-child(4) { animation-delay: .4s; }
@keyframes x-monte { from { opacity: 0; transform: translateY(36px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Mode 3D : la scène reste collée à l'écran pendant que l'on fait défiler cinq étapes */
.exp-3d .experience { height: 500vh; }
.exp-3d .experience__scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.experience__toile { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.experience.est-prete .experience__toile { opacity: 1; }
.exp-3d .etape { position: absolute; inset: 0; pointer-events: none; opacity: var(--v, 0); }
.exp-3d .etape--1 { --v: 1; }
.exp-3d .etape__texte { position: absolute; top: 50%; width: min(560px, 40vw); pointer-events: auto; transform: translateY(calc(-50% + (1 - var(--v, 1)) * 40px)); }
.exp-3d .etape--1 .etape__texte, .exp-3d .etape--3 .etape__texte { left: max(40px, 6.5vw); }
.exp-3d .etape--2 .etape__texte { right: max(40px, 6.5vw); }
.exp-3d .etape--4 .etape__texte { top: 11vh; left: 50%; width: min(820px, 76vw); text-align: center; transform: translate(-50%, calc((1 - var(--v, 1)) * 40px)); }
.exp-3d .etape--5 .etape__texte { left: 50%; width: min(900px, 84vw); text-align: center; transform: translate(-50%, calc(-50% + (1 - var(--v, 1)) * 40px)); }
.exp-3d .etape--4 .etape__texte > p:not(.surtitre), .exp-3d .etape--5 .etape__texte > p:not(.surtitre) { margin-inline: auto; }
.exp-3d .etape--4 .surtitre, .exp-3d .etape--5 .surtitre { justify-content: center; }
.exp-3d .etape--4 .boutons-3d, .exp-3d .etape--5 .boutons-3d { justify-content: center; }
.exp-3d .etape--5 .etape__titre { font-size: clamp(44px, 5.6vw, 96px); }
.exp-3d .experience .visuel-3d { display: none; }
.exp-3d .experience .etape--1 .visuel-3d { display: block; position: absolute; left: calc(70% - 31vh); top: calc(50% - 33vh); width: 62vh; pointer-events: none; }
.exp-3d .experience .etape--1 .visuel-3d__cadre { transition: opacity .6s ease; }
.exp-3d .experience.est-prete .etape--1 .visuel-3d__cadre { opacity: 0; visibility: hidden; }
.exp-3d .experience .etape--1 .visuel-3d__legende { position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%); white-space: nowrap; pointer-events: auto; animation: x-monte 1s .9s var(--x-courbe) both; }
.exp-3d .experience .gamme-3d--scene { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.experience__reperes { position: absolute; z-index: 3; right: max(22px, 2.4vw); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(1,32,99,.38); }
.experience__reperes li { display: flex; align-items: center; justify-content: flex-end; gap: 10px; transition: color .4s; }
.experience__reperes li::after { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: width .4s var(--x-courbe); }
.experience__reperes span { font-variant-numeric: tabular-nums; }
.experience__reperes li.est-actif { color: var(--x-marine); }
.experience__reperes li.est-actif::after { width: 38px; background: var(--x-jaune); }
.experience__reperes li:not(.est-actif) { font-size: 0; }
.experience__reperes li:not(.est-actif) span { font-size: 11px; }
.experience__invite { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--x-marine); pointer-events: none; }
.experience__invite::after { content: ''; width: 2px; height: 40px; border-radius: 2px; background: linear-gradient(var(--x-marine), transparent); animation: x-invite 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes x-invite { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.experience__bulle { position: absolute; z-index: 4; left: 0; top: 0; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--x-marine); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s; box-shadow: 0 10px 24px rgba(1,32,99,.3); }
.experience__bulle.est-visible { opacity: 1; }

/* Mode 2D (téléphone, tablette, appareil modeste) : les étapes s'empilent, chacune avec sa photo */
.exp-2d .experience { padding: 10px 0 40px; overflow: hidden; }
.exp-2d .etape { width: min(var(--large), 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; padding: 70px 0; }
.exp-2d .etape--1 { min-height: min(820px, calc(100svh - 140px)); padding: 30px 0 50px; }
.exp-2d .etape--2 .etape__texte, .exp-2d .etape--4 .etape__texte { order: 2; }
.exp-2d .etape--5 { grid-template-columns: 1fr; text-align: center; padding-bottom: 30px; }
.exp-2d .etape--5 .etape__texte { max-width: 760px; margin: 0 auto; }
.exp-2d .etape--5 .surtitre, .exp-2d .etape--5 .boutons-3d { justify-content: center; }
.exp-2d .etape--5 .etape__texte > p { margin-inline: auto; }
/* Le flottement est sur l image elle-même : sur un parent, il isolerait le mélange « produit » (carré visible). */
.exp-2d .etape--1 .visuel-3d__cadre img { animation: x-flotte 7s ease-in-out infinite; }
.exp-2d .etape--1 .visuel-3d::before { content: ''; position: absolute; inset: 8% 2% 20%; z-index: -1; background: radial-gradient(closest-side, rgba(254,209,2,.38), transparent 70%), radial-gradient(closest-side at 30% 70%, rgba(10,110,180,.22), transparent 70%); filter: blur(10px); }
.exp-2d .etape--1 .visuel-3d__cadre { position: relative; overflow: hidden; }
.exp-2d .etape--1 .visuel-3d__cadre::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.75) 50%, transparent 62%) -160% 0 / 60% 100% no-repeat; mix-blend-mode: overlay; animation: x-reflet 6.5s 1.2s ease-in-out infinite; }
@keyframes x-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes x-reflet { 0% { background-position: -160% 0; } 40%, 100% { background-position: 260% 0; } }
.exp-2d .etape--3 .visuel-3d__cadre { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(1,32,99,.18); }
.exp-2d .etape--3 .visuel-3d__cadre img { mix-blend-mode: normal; }
.exp-2d .gamme-3d--scene { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gamme-3d__element a { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.exp-2d .gamme-3d--scene .gamme-3d__photo { display: block; aspect-ratio: 1; border-radius: 16px; background: #fff; box-shadow: 0 10px 26px rgba(1,32,99,.1); overflow: hidden; transition: transform .4s var(--x-courbe); }
.exp-2d .gamme-3d--scene .gamme-3d__photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }
.exp-2d .gamme-3d--scene a:hover .gamme-3d__photo { transform: translateY(-6px); }
.exp-2d .gamme-3d--scene .gamme-3d__nom { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--x-marine); }

/* ---------- Manifeste (présentation de la marque) ---------- */
.manifeste { padding: 140px 0 70px; background: #fff; overflow: hidden; }
.manifeste .surtitre { color: var(--x-marine); }
.manifeste__texte { margin-top: 18px; max-width: 22ch; font-size: clamp(32px, 4.2vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; color: var(--x-marine); }
.manifeste__texte em { font-style: normal; color: var(--x-bleu); }
.manifeste__texte .mot { display: inline-block; will-change: opacity; }
.manifeste .boutons-3d { margin-top: 36px; }
.defilant { margin-top: 90px; display: flex; gap: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defilant ul { list-style: none; margin: 0; padding: 0; display: flex; flex-shrink: 0; gap: 0; }
.defilant li { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-size: clamp(30px, 3.6vw, 58px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.4px rgba(1,32,99,.55); transition: color .3s; }
.defilant li:nth-child(3n + 1) { color: var(--x-marine); -webkit-text-stroke: 0; }
.defilant li::after { content: ''; width: 14px; height: 14px; background: var(--x-jaune); transform: rotate(45deg); flex-shrink: 0; }
.defilant:not(.est-anime) { flex-wrap: wrap; }
.defilant:not(.est-anime) ul { flex-wrap: wrap; row-gap: 6px; }
.defilant.est-anime ul { animation: x-defile 48s linear infinite; }
.defilant.est-anime:hover ul { animation-play-state: paused; }
@keyframes x-defile { to { transform: translateX(-100%); } }
.manifeste__legende { margin-top: 22px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #6B7793; text-align: center; }

/* ---------- Produits phares (scène sombre) ---------- */
.vedettes-3d { position: relative; margin-top: 60px; padding: 120px 0 130px; background: radial-gradient(80% 70% at 75% 0%, rgba(10,110,180,.35), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(254,209,2,.12), transparent 60%), linear-gradient(180deg, #06123A, var(--x-nuit)); color: #fff; overflow: hidden; }
.vedettes-3d::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); pointer-events: none; }
.vedettes-3d .surtitre, .vedettes-3d .titre-bicolore, .vedettes-3d .tete-section__texte { color: #fff; position: relative; }
.vedettes-3d .surtitre::before { background: var(--x-jaune); }
.vedettes-3d .tete-section__texte { color: rgba(255,255,255,.72); }
.vedettes-3d .titre-bicolore { font-size: clamp(42px, 4.6vw, 72px); letter-spacing: -.02em; }
.vedettes-3d .wc-block-product { position: relative; border-radius: 22px !important; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.vedettes-3d .collection-vide { color: rgba(255,255,255,.8); }

/* Cartes inclinables (survol) */
.inclinable, .vitrine--produits .grille-produits > .wc-block-product.inclinable, .vitrine--produits .grille-produits > .wc-block-product.inclinable:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .5s var(--x-courbe), box-shadow .5s var(--x-courbe); will-change: transform; }
.inclinable.est-incline { --ty: -8px; transition-duration: .12s, .5s; }
.inclinable::after { content: ''; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.4), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; mix-blend-mode: soft-light; }
.inclinable.est-incline::after { opacity: 1; }

/* ---------- Vitrine en anneau 3D ---------- */
.section--vitrine { position: relative; padding: 130px 0 120px; background: linear-gradient(180deg, #fff, var(--x-perle)); overflow: hidden; }
.section--vitrine .titre-bicolore em { color: var(--x-bleu); }
.vitrine-3d { position: relative; margin-top: 30px; }
.vitrine-3d__anneau { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.vitrine-3d__item { flex: 0 0 240px; scroll-snap-align: center; }
.vitrine-3d__carte { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 20px; border-radius: 22px; background: #fff; box-shadow: 0 20px 44px rgba(1,32,99,.12), inset 0 0 0 1px rgba(1,32,99,.06); color: var(--x-encre); height: 100%; }
.vitrine-3d__photo { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #fff; }
.vitrine-3d__photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.vitrine-3d__nom { margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--x-marine); }
.vitrine-3d__prix { font-size: 15px; font-weight: 700; }
.vitrine-3d__prix del { font-weight: 500; color: #8A93A8; margin-right: 6px; font-size: 13px; }
.vitrine-3d__prix ins { text-decoration: none; }
.vitrine-3d__commandes { display: none; }
.vitrine-3d.est-anime .vitrine-3d__scene { position: relative; height: 520px; perspective: 1500px; perspective-origin: 50% 40%; touch-action: pan-y; cursor: grab; user-select: none; }
.vitrine-3d.est-anime .vitrine-3d__scene:active { cursor: grabbing; }
.vitrine-3d.est-anime .vitrine-3d__anneau { position: absolute; left: 50%; top: 30px; width: 270px; height: 400px; margin-left: -135px; display: block; overflow: visible; padding: 0; transform-style: preserve-3d; }
.vitrine-3d.est-anime .vitrine-3d__item { position: absolute; inset: 0; transform: rotateY(var(--angle)) translateZ(var(--rayon)); opacity: calc(1 - var(--d, 0) * 1.2); filter: saturate(calc(1 - var(--d, 0) * .6)); backface-visibility: hidden; transition: visibility 0s; }
.vitrine-3d.est-anime .vitrine-3d__item.est-cache { visibility: hidden; }
.vitrine-3d.est-anime .vitrine-3d__carte { transition: transform .5s var(--x-courbe), box-shadow .5s; -webkit-box-reflect: below 14px linear-gradient(transparent 72%, rgba(255,255,255,.22)); }
.vitrine-3d.est-anime .vitrine-3d__item.est-actif .vitrine-3d__carte { transform: translateY(-14px) scale(1.04); box-shadow: 0 40px 70px rgba(1,32,99,.22), inset 0 0 0 2px var(--x-jaune); }
.vitrine-3d.est-anime .vitrine-3d__item:not(.est-actif) .vitrine-3d__carte { pointer-events: auto; }
.vitrine-3d.est-anime .vitrine-3d__commandes { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 70px; }
.vitrine-3d__compteur { min-width: 280px; margin: 0; text-align: center; font-size: 14px; font-weight: 600; color: var(--x-marine); }
.vitrine-3d__fleche { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--x-marine); cursor: pointer; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(1,32,99,.25); transition: transform .3s var(--x-courbe); }
.vitrine-3d__fleche::before { content: ''; width: 20px; height: 20px; background: var(--x-jaune); -webkit-mask: var(--i-droite) center / contain no-repeat; mask: var(--i-droite) center / contain no-repeat; }
.vitrine-3d__fleche--prec::before { transform: rotate(180deg); }
.vitrine-3d__fleche:hover { transform: scale(1.08); }
.section--vitrine::after { content: ''; position: absolute; left: 50%; bottom: 150px; width: min(900px, 90vw); height: 120px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(1,32,99,.14), transparent); pointer-events: none; }

/* ---------- Atouts (pourquoi nous choisir) ---------- */
.avantages-3d { padding: 130px 0; background: var(--x-perle); }
.avantages-3d .titre-bicolore em { color: var(--x-bleu); }
.avantages-3d__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 10px; counter-reset: avantage; }
.avantage { position: relative; padding: 34px 30px 32px; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px rgba(1,32,99,.07), inset 0 0 0 1px rgba(1,32,99,.06); overflow: hidden; counter-increment: avantage; }
.avantage::before { content: ''; display: block; width: 54px; height: 54px; border-radius: 16px; background: var(--x-marine); margin-bottom: 26px; box-shadow: 0 12px 24px rgba(1,32,99,.25); }
.avantage > .atout__icone { display: none; }
.avantage h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; color: var(--x-marine); line-height: 1.2; }
.avantage p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--x-texte); }
.avantage .avantage__numero { position: absolute; top: 26px; right: 28px; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: rgba(1,32,99,.25); }
.avantage[class*="ico-"]::before { background: var(--x-marine); -webkit-mask: none; mask: none; }
.avantage[class*="ico-"] { --icone: var(--ico); }
.avantage[class*="ico-"] h3::before { content: ''; position: absolute; top: 47px; left: 45px; width: 24px; height: 24px; background: var(--x-jaune); -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.avantage:hover { box-shadow: 0 26px 56px rgba(1,32,99,.14), inset 0 0 0 1px rgba(1,32,99,.08); }

/* ---------- Collections (gammes) ---------- */
.collections-3d .tuile { box-shadow: 0 24px 50px rgba(1,32,99,.16); }
.collections-3d .tuile img { transition: transform 1.2s var(--x-courbe); }
.collections-3d .tuile:hover img { transform: scale(1.07); }
.section--promos { padding-top: 40px; }
.section--promos .heros__promos { margin-top: 0; }

/* ---------- Récit de marque ---------- */
.recit.section--arc { background: linear-gradient(180deg, #fff, var(--x-perle) 60%, #fff); }

/* ---------- Appel final ---------- */
.cta-finale { position: relative; margin-top: 120px; padding: 150px 0 160px; background: radial-gradient(70% 80% at 50% 0%, rgba(10,110,180,.45), transparent 60%), radial-gradient(50% 60% at 50% 110%, rgba(254,209,2,.18), transparent 60%), linear-gradient(180deg, #071645, var(--x-nuit)); color: #fff; overflow: hidden; text-align: center; isolation: isolate; }
.cta-finale::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1.4px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent); opacity: .25; }
.cta-finale__contenu { position: relative; z-index: 2; width: min(900px, 100% - 40px); margin: 0 auto; }
.cta-finale .surtitre { justify-content: center; color: var(--x-jaune); }
.cta-finale .surtitre::before { background: var(--x-jaune); }
.cta-finale__titre { margin-top: 14px; font-size: clamp(44px, 6.4vw, 110px); line-height: .92; letter-spacing: -.045em; font-weight: 700; color: #fff; }
.cta-finale__titre em { font-style: normal; color: transparent; -webkit-text-stroke: 1.6px #fff; }
.cta-finale__texte { margin: 24px auto 0; max-width: 46ch; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.75); }
.cta-finale .boutons-3d { justify-content: center; margin-top: 36px; }
.cta-finale .bouton-3d .wp-block-button__link { background: var(--x-jaune); color: var(--x-marine); box-shadow: 0 16px 40px rgba(254,209,2,.3); }
.cta-finale .bouton-3d .wp-block-button__link::after { background: var(--x-marine); }
.cta-finale .bouton-3d--ligne .wp-block-button__link { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.cta-finale .bouton-3d--ligne .wp-block-button__link::after { background: #fff; }
.cta-finale__tel { margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.65); }
.cta-finale__tel a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(254,209,2,.6); }
.gamme-3d--flottant { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.gamme-3d--flottant .gamme-3d__element { position: absolute; width: clamp(130px, 14vw, 210px); pointer-events: auto; transform: translate3d(calc(var(--mx, 0) * var(--prof) * 1px), calc(var(--my, 0) * var(--prof) * 1px), 0) rotate(var(--rot)); transition: transform .9s var(--x-courbe); }
.gamme-3d--flottant .gamme-3d__photo { display: block; aspect-ratio: 1; padding: 12px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.45); animation: x-flotte 8s ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s); }
.gamme-3d--flottant .gamme-3d__photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gamme-3d--flottant .gamme-3d__nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gamme-3d--flottant .gamme-3d__element:nth-child(1) { left: 5%; top: 14%; --prof: 40; --rot: -8deg; }
.gamme-3d--flottant .gamme-3d__element:nth-child(2) { right: 6%; top: 10%; --prof: -50; --rot: 7deg; }
.gamme-3d--flottant .gamme-3d__element:nth-child(3) { left: 9%; bottom: 10%; --prof: -30; --rot: 6deg; }
.gamme-3d--flottant .gamme-3d__element:nth-child(4) { right: 9%; bottom: 12%; --prof: 60; --rot: -6deg; }
.gamme-3d--flottant .gamme-3d__element:nth-child(n + 5) { display: none; }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1100px) {
  .avantages-3d__grille { grid-template-columns: repeat(2, 1fr); }
  .gamme-3d--flottant .gamme-3d__element { width: 120px; opacity: .55; }
}
@media (max-width: 900px) {
  .exp-2d .etape { grid-template-columns: 1fr; gap: 26px; padding: 46px 0; }
  .exp-2d .etape--1 { min-height: 0; padding-top: 18px; }
  .exp-2d .etape .etape__texte { order: 0; }
  .exp-2d .etape--2 .etape__texte, .exp-2d .etape--4 .etape__texte { order: 0; }
  .exp-2d .gamme-3d--scene { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -20px; padding-inline: 20px; }
  .exp-2d .gamme-3d--scene .gamme-3d__element { scroll-snap-align: start; }
  .etape__affiche { font-size: clamp(44px, 13vw, 72px); }
  .manifeste { padding: 90px 0 40px; }
  .defilant { margin-top: 56px; }
  .vedettes-3d { padding: 80px 0 90px; }
  .section--vitrine, .avantages-3d { padding: 90px 0; }
  .vitrine-3d.est-anime .vitrine-3d__scene { height: 430px; }
  .vitrine-3d.est-anime .vitrine-3d__anneau { width: 210px; height: 330px; margin-left: -105px; }
  .vitrine-3d__compteur { min-width: 0; flex: 1; font-size: 13px; }
  .cta-finale { padding: 110px 0 120px; margin-top: 80px; }
  .gamme-3d--flottant .gamme-3d__element { width: 92px; opacity: .35; }
}
@media (max-width: 640px) {
  .avantages-3d__grille { grid-template-columns: 1fr; }
  .points-forts__valeur { font-size: 19px; }
  .bouton-3d .wp-block-button__link { height: 52px; padding: 0 22px; font-size: 15px; }
}

/* Réduire les animations : tout reste affiché, sans mouvement. */
@media (prefers-reduced-motion: reduce) {
  .etape--1 .etape__texte > *, .etape__affiche em, .exp-2d .etape--1 .visuel-3d__cadre img, .exp-2d .etape--1 .visuel-3d__cadre::after, .gamme-3d--flottant .gamme-3d__photo, .experience__invite::after { animation: none !important; }
  .etape__affiche em { color: var(--x-marine); background: none; }
}
