/* LPDV RC2 — passe motion / finition front.
   Se limite a la presentation : opacity, transform, ombres douces.
   Aucune nouvelle dependance, aucun effet gadget.
   Ordre d'enqueue : core.css -> home.css -> motion.css. */

/* ------------------------------------------------------------------
1. Micro-interactions partages : boutons, fleches, liens textes
------------------------------------------------------------------ */
.btn{transition:background-color .25s ease,border-color .25s ease,color .25s ease}
.btn:hover{background:var(--lpdv-hover)}
.btn:active{transform:translateY(1px)}
.btn.dark:hover{background:#2e2a28}
.btn.wine:hover,.btn.red:hover{background:var(--lpdv-hover)}
i.lpdv-arrow{transition:transform .3s cubic-bezier(.22,1,.36,1)}
.btn:hover i.lpdv-arrow,.text-link:hover i.lpdv-arrow,.scroll-cue:hover i.lpdv-arrow,.round-discover:hover i.lpdv-arrow{transform:translateX(5px)}
.text-link{display:inline-block;position:relative}
.text-link::after{content:"";position:absolute;left:0;bottom:4px;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.text-link:hover::after,.text-link:focus-visible::after{transform:scaleX(1)}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--lpdv-color-bordeaux);outline-offset:3px}
body .exhibition :focus-visible,body .private-event :focus-visible{outline-color:#fff}

/* Cartes : relief doux, jamais flottant */
.offer,.domain-list>a,.desire-grid>button,.desire-grid>a{transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease,border-color .25s ease,background-color .25s ease}
.offer:hover{transform:translateY(-5px);box-shadow:0 18px 34px -22px rgba(17,17,17,.3);border-color:var(--lpdv-color-bordeaux)}
@supports selector(:has(*)){
 .offers:has(.offer:hover) .offer:not(:hover){opacity:.72}
 .event-selector:has(.event-choice:hover) .event-choice:not(:hover){opacity:.55}
 .offer,.event-choice{transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease,border-color .25s ease,background-color .25s ease,opacity .25s ease}
}
.offers .offer.featured{border-width:1px}
.product-image{display:block;overflow:hidden}
.product-image img{transition:transform .45s cubic-bezier(.22,1,.36,1)}
.product-card:hover .product-image img,.lpdv-commerce-main .products li:hover .product-image img,a:hover>.product-image img{transform:scale(1.03)}

/* Vignettes des suggestions de recherche : cadre discret, ratio conserve (A) */
.lpdv-suggestions img{box-sizing:border-box;background:#fff;border:1px solid var(--lpdv-border);border-radius:4px}

/* ------------------------------------------------------------------
2. Hero : sequence d'entree legere (~0,9 s au total, stagger ~0,07 s)
   fill backwards : apres la fin, le style normal repart (prof. souris ok)
------------------------------------------------------------------ */
@keyframes lpdv-hero-in{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@keyframes lpdv-hero-in-bottle{from{opacity:0;transform:translateY(28px) scale(.988)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes lpdv-hero-fade{from{opacity:0}to{opacity:1}}
@keyframes lpdv-cap-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes lpdv-fade{from{opacity:0}to{opacity:1}}
.exhibition .exhibition-top{animation:lpdv-hero-in .55s cubic-bezier(.22,1,.36,1) .05s backwards}
.exhibition .exhibition-top+.exhibition-grid .eyebrow{animation:lpdv-hero-in .55s cubic-bezier(.22,1,.36,1) .12s backwards}
.exhibition h1{animation:lpdv-hero-in .6s cubic-bezier(.22,1,.36,1) .19s backwards}
.exhibition .exhibition-copy>p{animation:lpdv-hero-in .6s cubic-bezier(.22,1,.36,1) .27s backwards}
.exhibition .exhibition-copy .actions{animation:lpdv-hero-in .55s cubic-bezier(.22,1,.36,1) .34s backwards}
.exhibition .exhibit-index{animation:lpdv-hero-in .55s cubic-bezier(.22,1,.36,1) .42s backwards}
.exhibition .exhibit-stage .stage-word{animation:lpdv-hero-fade .8s ease .2s backwards}
.exhibition .exhibit-stage .lpdv-hero-bottle{animation:lpdv-hero-in-bottle .85s cubic-bezier(.22,1,.36,1) .12s backwards}
.exhibition .exhibit-stage .exhibit-caption{animation:lpdv-hero-in .6s cubic-bezier(.22,1,.36,1) .5s backwards}
.exhibition .exhibit-stage .round-discover{animation:lpdv-hero-in .55s cubic-bezier(.22,1,.36,1) .58s backwards}
.exhibition .exhibit-stage .stage-counter{animation:lpdv-hero-fade .5s ease .66s backwards}
.exhibition .exhibition-bottom{animation:lpdv-hero-in .55s cubic-bezier(.22,1,.36,1) .72s backwards}
.exhibit-caption.lpdv-cap-swap>*{animation:lpdv-cap-in .5s cubic-bezier(.22,1,.36,1) backwards}

/* Ombre tres douce sous la bouteille + halo neutre discret */
.exhibition .lpdv-hero-bottle{position:relative}
.exhibition .lpdv-hero-bottle::before{content:"";position:absolute;left:14%;right:14%;bottom:1%;height:5%;z-index:0;border-radius:50%;background:radial-gradient(50% 100% at 50% 50%,rgba(17,17,17,.22),transparent 72%);filter:blur(5px);pointer-events:none}
.exhibition .lpdv-hero-bottle img{position:relative;z-index:1}
.exhibition .exhibit-stage::before{content:"";position:absolute;top:-12%;left:50%;width:130%;height:120%;transform:translateX(-50%);background:radial-gradient(42% 46% at 50% 42%,rgba(163,26,57,.07),transparent 70%);pointer-events:none;z-index:0}
.exhibition .exhibit-stage>*{position:relative;z-index:1}

/* Rotation approuvee 20deg ; preserve taille et image source. */
@media(min-width:1001px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 #app #exhibit-stage>.lpdv-hero-bottle:hover{--bottle-angle:20deg}
}

/* Profondeur souris : amplitude tres faible, desktop seulement.
   La bouteille ne suit pas la souris : +/- 3 px au plus. */
@media(min-width:1001px) and (hover:hover) and (pointer:fine){
 body .exhibition .lpdv-hero-bottle{transform:translate3d(calc(var(--lpdv-mx,0)*3px),calc(var(--lpdv-my,0)*2px),0)}
 body #app .exhibit-stage .stage-word{transform:translate(calc(var(--lpdv-mx,0)*-6px),calc(var(--lpdv-my,0)*-4px))}
}
/* Parallax scroll tres subtil sur le mot du decor uniquement */
body .exhibition .exhibit-stage .stage-word{translate:0 calc(var(--lpdv-sy,0)*-12px)}

/* Invitation a decouvrir sous le hero : discretee, pas de clignotement */
.exhibition .exhibition-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #ffffff25}
.exhibition .exhibition-bottom>span{font-size:12px;letter-spacing:.09em;color:var(--lpdv-on-dark-muted)}
.exhibition .scroll-cue{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:14px;color:#fff;letter-spacing:.02em;text-decoration:none}
.exhibition .scroll-cue::before{content:"";display:inline-block;width:1px;height:26px;background:linear-gradient(#fff0,rgba(255,255,255,.85));margin-right:2px}
@media(max-width:600px){.exhibition .exhibition-bottom>span{display:none}.exhibition .exhibition-bottom{justify-content:center}}

/* ------------------------------------------------------------------
3. Reveal au scroll (IntersectionObserver ajoute via motion.js)
   Sans JS : aucun etat cache (les classes .lpdv-reveal sont posees par JS).
------------------------------------------------------------------ */
.lpdv-reveal{opacity:0;transform:translateY(24px);transition:opacity .55s cubic-bezier(.22,1,.36,1) var(--lpdv-d,0s),transform .55s cubic-bezier(.22,1,.36,1) var(--lpdv-d,0s)}
.lpdv-reveal-in{opacity:1;transform:translateY(0)}
#event-result>*{animation:lpdv-fade .45s ease backwards}

/* ------------------------------------------------------------------
4. Choisir par envie + degustations : accents rouges, arrow visible
------------------------------------------------------------------ */
#app .desire-grid>button .lpdv-arrow,#app .desire-grid>a .lpdv-arrow{opacity:.55;transition:opacity .25s,transform .3s cubic-bezier(.22,1,.36,1)}
#app .desire-grid>button:hover .lpdv-arrow,#app .desire-grid>a:hover .lpdv-arrow{opacity:1;transform:translateX(4px)}
#app .event-choice .lpdv-arrow{transition:transform .3s cubic-bezier(.22,1,.36,1)}
#app .event-choice:hover{background:#ffffff0d}
#app .event-choice:hover .lpdv-arrow,#app .event-choice.selected .lpdv-arrow{transform:translateX(4px)}
#app .event-choice:not(.selected) b i.lpdv-arrow{opacity:.5}
#app .event-result strong{color:var(--lpdv-text-light)}
#app .event-result b{display:block;transition:color .25s}

/* ------------------------------------------------------------------
5. Bouteille du moment : composition editoriale (fond creme, mot geant)
------------------------------------------------------------------ */
.moment{background:var(--lpdv-color-cream);overflow:hidden}
.moment .moment-stage{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);align-items:center;gap:clamp(30px,6%,90px);position:relative;max-width:1500px;margin:auto}
.moment .moment-word{position:absolute;right:-1%;top:16%;z-index:0;font-family:var(--sans);font-weight:700;font-size:calc(clamp(90px,15vw,220px));letter-spacing:-.05em;line-height:.9;color:var(--lpdv-color-ink);opacity:.05;white-space:nowrap;pointer-events:none;user-select:none}
.moment .moment-bottle{position:relative;z-index:1;margin:0;padding:26px 0;display:flex;justify-content:center}
.moment .moment-bottle img{width:auto;max-width:78%;height:auto;max-height:clamp(340px,42vw,560px);object-fit:contain;object-position:center bottom;position:relative;z-index:1}
.moment .moment-bottle::after{content:"";position:absolute;bottom:6%;left:22%;right:22%;height:4%;border-radius:50%;background:radial-gradient(50% 100% at 50% 50%,rgba(17,17,17,.18),transparent 72%);filter:blur(5px);z-index:0}
.moment .moment-copy{position:relative;z-index:1;padding:clamp(30px,5vw,70px) 0}
.moment .moment-copy h2{margin:0 0 14px;font-size:calc(clamp(28px,3.2vw,52px));font-weight:500;letter-spacing:-.045em;line-height:1.08}
.moment .moment-origin{color:var(--lpdv-muted);letter-spacing:.06em;font-size:13px;text-transform:uppercase;margin-bottom:26px}
.moment .moment-line{color:var(--lpdv-color-ink);font-size:17px;line-height:1.7;margin-bottom:32px;max-width:46ch}
.moment .eyebrow{color:var(--lpdv-color-bordeaux)}
@media(min-width:1001px){.moment .moment-bottle{margin-bottom:-70px}.moment .moment-copy{padding-left:2%}}

/* ------------------------------------------------------------------
6. Votre contact : composition editoriale asymetrique
------------------------------------------------------------------ */
#app .human{border-top:0;padding-top:clamp(30px,5vw,70px);align-items:start}
#app .human .contact-copy{padding-top:clamp(10px,3vw,60px);max-width:52ch}
#app .human .actions{display:flex;flex-wrap:wrap;gap:18px 24px;align-items:center;margin-top:8px}
#app .human .signature{margin-bottom:26px}
#app .human .contact-photo{position:relative;margin:clamp(10px,4vw,54px) 0 0 0;padding:0}
#app .human .contact-photo::after{content:"";position:absolute;top:26px;right:-22px;bottom:-22px;left:26px;border:1px solid var(--lpdv-border);z-index:0;pointer-events:none}
#app .human .contact-photo img{position:relative;z-index:1;display:block;width:100%;height:auto;object-fit:cover}
@media(min-width:1001px){
 #app .human .contact-photo{margin-top:-88px}
 #app .human .contact-copy{padding-bottom:60px}
}
@media(max-width:600px){#app .human .contact-photo::after{display:none}}

/* ------------------------------------------------------------------
7. Trustindex / Brevo : integration du conteneur (systemes reels conserves)
------------------------------------------------------------------ */
#lpdv-home-extras .lpdv-reviews{border-top:1px solid var(--lpdv-border)}
#lpdv-home-extras .lpdv-reviews>h2{text-align:center;max-width:640px;margin-left:auto;margin-right:auto}
#lpdv-home-extras .lpdv-newsletter-form{max-width:760px;margin:auto;padding:clamp(28px,4vw,48px) clamp(20px,3vw,40px);border-radius:var(--lpdv-radius);background:var(--lpdv-color-cream)}
#lpdv-home-extras .lpdv-newsletter-form:empty{display:none!important}
#lpdv-home-extras .newsletter{padding-bottom:clamp(50px,7vw,90px)}
#lpdv-home-extras .newsletter:not(:has(.lpdv-newsletter-form:not(:empty))){display:none}

/* ------------------------------------------------------------------
8. Sections : rythme blush discret apres les grandes compositions
------------------------------------------------------------------ */
#app .section{position:relative}
#app .section-head{align-items:flex-end}
#app .section-head .eyebrow{color:var(--lpdv-color-bordeaux)}

/* ------------------------------------------------------------------
9. Reduced motion : tout disparait, contenu entierement lisible
------------------------------------------------------------------ */
@media(prefers-reduced-motion:reduce){
 .exhibition .exhibition-top,.exhibition .exhibition-top+.exhibition-grid .eyebrow,.exhibition h1,.exhibition .exhibition-copy>p,.exhibition .exhibition-copy .actions,.exhibition .exhibit-index,.exhibition .exhibit-stage .stage-word,.exhibition .exhibit-stage .lpdv-hero-bottle,.exhibition .exhibit-stage .exhibit-caption,.exhibition .exhibit-stage .round-discover,.exhibition .exhibit-stage .stage-counter,.exhibition .exhibition-bottom,.exhibit-caption.lpdv-cap-swap>*,#event-result>*{animation:none!important}
 .lpdv-reveal{opacity:1;transform:none;transition:none}
 body .exhibition .lpdv-hero-bottle,body .exhibition .stage-word,body .exhibition .exhibit-stage .stage-word{transform:none!important;translate:none!important}
 .exhibition .exhibit-stage #exhibit-image{transition:none!important}
 .offer:hover,.desire-grid>button:hover,.desire-grid>a:hover{transform:none}
 .btn:active{transform:none}
 .text-link::after{transition:none}
 #app #exhibit-stage>.lpdv-hero-bottle:hover{--bottle-angle:0deg}
}
@media(prefers-reduced-motion:reduce),(hover:none){#app #exhibit-stage>.lpdv-hero-bottle:hover{--bottle-angle:0deg}}

/* ------------------------------------------------------------------
10. Responsive : 820 / 390 — mobile plus simple, jamais tronque
------------------------------------------------------------------ */
@media(max-width:1000px){
 .moment .moment-stage{grid-template-columns:minmax(0,1fr)}
 .moment .moment-bottle{order:-1}
 .moment .moment-word{font-size:clamp(70px,18vw,120px);top:4%}
 .moment .moment-bottle img{max-height:min(52vw,420px)}
 #app .human{grid-template-columns:minmax(0,1fr)}
 #app .human .contact-photo{margin-top:12px}
 #app .human .contact-photo::after{right:-12px;bottom:-12px;left:12px}
}
@media(max-width:600px){
 .moment .moment-bottle img{max-height:min(70vw,380px)}
 .exhibition .scroll-cue{font-size:13px}
 #app .human .contact-photo::after{display:none}
 #app .human .contact-photo{margin-top:6px}
}

/* ===================== RC3 : consolidation visuelle accueil ===================== */
/* Esprit : polir ce qui existe, jamais multiplier les effets. */

/* Envies : presence renforcee, index assume, CTA identifiable, accent rouge au hover */
#app .desires .section-head h2{letter-spacing:-.055em}
#app .desire-grid small{letter-spacing:.14em;font-weight:600}
#app .desire-grid>button>span,#app .desire-grid>a>span{opacity:.8;transition:opacity .25s ease,transform .3s cubic-bezier(.22,1,.36,1)}
#app .desire-grid>button:hover>span,#app .desire-grid>a:hover>span{opacity:1}
#app .desire-grid>:is(button,a).selected,#app .desire-grid>:is(button,a):hover{box-shadow:0 18px 34px -26px rgba(17,17,17,.4);border-color:var(--lpdv-color-bordeaux)}

/* Degustations : hierarchie du panneau de selection + espacements */
#app .event-selector{max-width:680px}
#app .event-result{padding-top:14px}
#app .event-result .text-link{min-height:44px;display:inline-flex;align-items:center}

/* Bouteille du moment : decor typographique tres discret, produit jamais domine */
#app .moment .moment-word{opacity:.04}
#app .moment .moment-bottle img{width:auto;max-width:82%}
@media(max-width:760px){#app .moment .moment-word{font-size:clamp(52px,15vw,88px);top:6%;right:-2%}
#app .moment .moment-bottle img{max-width:96%}}

/* Domaines : index sequentiel derive de l'ordre reel + tension au hover */
#app #domaines .domain-list{counter-reset:lpdv-dom}
#app #domaines .domain-list>a{position:relative;padding-left:58px;transition:transform .25s cubic-bezier(.22,1,.36,1),color .25s ease}
#app #domaines .domain-list>a:before{content:counter(lpdv-dom,decimal-leading-zero);counter-increment:lpdv-dom;position:absolute;left:0;top:50%;transform:translateY(-50%);font-size:12px;letter-spacing:.12em;color:var(--lpdv-muted)}
#app #domaines .domain-list>a:after{content:"";position:absolute;left:0;right:auto;bottom:-1px;height:1px;width:100%;background:var(--lpdv-color-bordeaux);transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.22,1,.36,1)}
#app #domaines .domain-list>a:hover{transform:translateX(6px)}
#app #domaines .domain-list>a:hover:after{transform:scaleX(1)}
#app #domaines .domain-list>a:hover small{color:var(--lpdv-color-bordeaux)}
@media(prefers-reduced-motion:reduce){
#app #domaines .domain-list>a,#app #domaines .domain-list>a:after{transition:none}
#app #domaines .domain-list>a:hover{transform:none}
}
@media(max-width:760px){#app #domaines .domain-list>a{padding-left:44px}
#app #domaines .domain-list>a:before{font-size:11px}}

/* Contact : profondeur douce, cadre arriere plus discret */
#app .human .contact-photo img{box-shadow:0 26px 52px -40px rgba(17,17,17,.35)}
#app .human .contact-photo::after{border-color:#e6e0d5;opacity:.75}
#app .human .contact-copy p{line-height:1.75}
#app .human .text-link{min-height:44px}
