/* ============================================================
   LA MARIÉE D'OR — boutique robes & caftans · Montpellier
   Thème blanc → rose + or, princesse 3D, scroll qui peint en rose
   ============================================================ */

:root {
  --white:   #ffffff;
  --rose:    #e2a0c0;
  --rose-2:  #f3c9dd;
  --rose-deep:#c46d96;
  --rose-soft:#fceaf2;
  --gold:    #c9a24a;
  --gold-deep:#a98430;
  --ink:     #40252f;
  --ink-soft:#6e5560;
  --muted:   #a98ea0;
  --line:    rgba(196,109,150,0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.16,1,0.3,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #fff; -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body { background: transparent; color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.6; overflow-x: hidden; cursor: none; }
@media (hover: none) { body { cursor: auto; } }
::selection { background: var(--rose); color: #fff; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
.gold { background: linear-gradient(120deg,var(--gold-deep),#e8cf86,var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== couche rose qui monte ===== */
.paint { position: fixed; inset: 0; z-index: 0; transform-origin: bottom; transform: scaleY(0);
  background: linear-gradient(0deg, #f2a9c8 0%, #fbd9e8 45%, #fdeef5 100%); pointer-events: none; }
/* ===== canvas princesse ===== */
#scene { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: 0; }

/* contenu au-dessus */
.nav, section, .footer, .cursor, .scroll-progress, .fab-call, .preloader { position: relative; z-index: 3; }
.cursor, .scroll-progress, .fab-call, .preloader { position: fixed; }

/* ===== PRELOADER ===== */
.preloader { inset: 0; z-index: 9999; background: #fff; display: grid; place-items: center; transition: opacity .8s var(--ease), visibility .8s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.pl-crown { font-size: 2.4rem; color: var(--gold); margin-bottom: 14px; animation: floaty 2s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.preloader__word { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .4em; color: var(--ink); margin-bottom: 18px; }
.preloader__bar { width: min(260px,60vw); height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,var(--rose-deep),var(--rose)); }

/* ===== CURSOR ===== */
.cursor { width: 34px; height: 34px; border: 1px solid var(--rose-deep); border-radius: 50%; transform: translate(-50%,-50%); transition: width .3s, height .3s, background .3s; z-index: 9000; pointer-events: none; }
.cursor.big { width: 60px; height: 60px; background: rgba(226,160,192,0.14); }
@media (hover: none) { .cursor { display: none; } }

.scroll-progress { top: 0; left: 0; width: 100%; height: 2px; z-index: 8000; }
.scroll-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,var(--rose-deep),var(--gold)); }

/* ===== NAV ===== */
.nav { top: 0; left: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 24px clamp(20px,5vw,60px); position: fixed; transition: padding .5s var(--ease), background .5s, box-shadow .5s, backdrop-filter .5s; }
.nav.scrolled { padding: 14px clamp(20px,5vw,60px); background: rgba(255,255,255,0.7); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -24px rgba(196,109,150,.7); }
.nav__brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .04em; color: var(--ink); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--rose-deep); transition: width .4s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { font-size: .8rem; letter-spacing: .06em; border: 1px solid var(--rose-deep); color: var(--rose-deep); padding: 9px 16px; border-radius: 30px; transition: .4s; }
.nav__cta:hover { background: var(--rose-deep); color: #fff; }
.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 6px; cursor: none; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); transition: .4s; }

/* ===== BUTTONS ===== */
.btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; border-radius: 40px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; overflow: hidden; transition: color .4s, transform .3s; cursor: none; font-family: var(--sans); border: 0; }
.btn span { position: relative; z-index: 2; }
.btn--lg { padding: 20px 44px; font-size: .9rem; }
.btn--rose { background: linear-gradient(120deg,var(--rose-deep),var(--rose)); color: #fff; box-shadow: 0 16px 36px -16px rgba(196,109,150,.7); }
.btn--rose::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--rose:hover::before { transform: translateY(0); }
.btn--white { background: #fff; color: var(--rose-deep); }
.btn--white::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--white:hover { color: #fff; } .btn--white:hover::before { transform: translateY(0); }
.btn--gold { background: linear-gradient(120deg,var(--gold-deep),#e8cf86); color: #4a3a12; }
.btn--gold::before { content:""; position:absolute; inset:0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--gold:hover { color:#fff; } .btn--gold:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--rose-deep); color: var(--rose-deep); }
.btn--ghost::before { content:""; position:absolute; inset:0; background: var(--rose-deep); transform: translateY(101%); transition: transform .5s var(--ease); z-index:1; }
.btn--ghost:hover { color:#fff; } .btn--ghost:hover::before { transform: translateY(0); }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 100px 20px 60px; }
.hero__content { max-width: 760px; }
.hero__eyebrow { font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 24px; }
.hero__title { font-size: clamp(3.4rem,13vw,9rem); line-height: .9; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); }
.hero__sub { font-size: clamp(1rem,1.6vw,1.2rem); color: var(--ink-soft); margin: 26px auto 36px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { margin-top: 70px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--rose-deep),transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content:""; position:absolute; top:0; left:0; width:100%; height:40%; background: var(--rose-deep); animation: sdot 2s var(--ease) infinite; }
@keyframes sdot { 0%{transform:translateY(-100%)} 100%{transform:translateY(250%)} }

/* ===== SECTIONS génériques ===== */
.section-tag { font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 22px; }
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero__title .line.in > span, .hero__title .line > span.in { transform: none; }

.intro { max-width: 900px; margin: 0 auto; padding: clamp(90px,16vh,180px) clamp(20px,6vw,40px); text-align: center; }
.intro h2 { font-size: clamp(2rem,5vw,4rem); }
.intro__lead { margin-top: 30px; font-size: 1.1rem; color: var(--ink-soft); max-width: 620px; margin-left: auto; margin-right: auto; }

.collections { padding: clamp(60px,10vh,120px) clamp(20px,6vw,90px); max-width: 1300px; margin: 0 auto; }
.collections__head { text-align: center; margin-bottom: 56px; }
.collections__head h2 { font-size: clamp(2rem,5vw,4rem); }
.collections__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.coll { background: rgba(255,255,255,0.7); backdrop-filter: blur(4px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.coll:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -34px rgba(196,109,150,.6); }
.coll__img { height: 230px; background-size: cover; background-position: center; }
.c1 { background: linear-gradient(150deg,#fff,#f3c9dd); }
.c2 { background: linear-gradient(150deg,#fdeef5,#e8c97a); }
.c3 { background: linear-gradient(150deg,#fbe6ef,#d98aae); }
.c4 { background: linear-gradient(150deg,#fff,#e9d9b0); }
.coll h3 { font-size: 1.5rem; margin: 18px 20px 6px; }
.coll p { color: var(--ink-soft); font-size: .92rem; margin: 0 20px 22px; }
.collections__note { text-align: center; margin-top: 30px; color: var(--muted); font-size: .82rem; }
.collections__note code { color: var(--rose-deep); }

.surmesure { padding: clamp(60px,10vh,120px) clamp(20px,6vw,90px); max-width: 1200px; margin: 0 auto; }
.sm__head { text-align: center; margin-bottom: 50px; }
.sm__head h2 { font-size: clamp(2rem,5vw,4rem); }
.sm__list { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.sm__list li { background: rgba(255,255,255,0.8); padding: 34px 30px; }
.sm__list span { font-family: var(--serif); font-size: 1.6rem; color: var(--rose-deep); }
.sm__list h3 { font-size: 1.5rem; margin: 8px 0 8px; }
.sm__list p { color: var(--ink-soft); font-size: .95rem; }

/* ===== BANDEAU APPEL ===== */
.callband { text-align: center; padding: clamp(70px,12vh,130px) clamp(20px,6vw,40px); background: linear-gradient(120deg,var(--rose-deep),var(--rose)); color: #fff; border-radius: 30px; max-width: 1200px; margin: 60px auto; }
.callband__eye { letter-spacing: .25em; text-transform: uppercase; font-size: .76rem; opacity: .9; margin-bottom: 14px; }
.callband h2 { color: #fff; font-size: clamp(2rem,5vw,3.6rem); margin-bottom: 30px; }

/* ===== WIZARD ===== */
.rdv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); padding: clamp(60px,10vh,120px) clamp(20px,6vw,90px); max-width: 1300px; margin: 0 auto; align-items: start; }
.rdv__intro h2 { font-size: clamp(2rem,4.5vw,3.6rem); margin: 8px 0 18px; }
.rdv__intro p { color: var(--ink-soft); }
.rdv__call { display: inline-block; margin-top: 22px; color: var(--rose-deep); }
.rdv__call b { font-family: var(--serif); font-size: 1.3rem; }
.wiz { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px,3vw,38px); box-shadow: 0 30px 70px -34px rgba(196,109,150,.5); }
.wiz__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); color: var(--muted); margin-bottom: 12px; }
.wiz__label { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rose-deep); }
.wiz__head b { color: var(--rose-deep); font-size: 1.2rem; }
.wiz__bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 26px; }
.wiz__bar i { display: block; height: 100%; width: 20%; background: linear-gradient(90deg,var(--rose-deep),var(--rose)); transition: width .5s var(--ease); }
.ws { border: 0; padding: 0; margin: 0; display: none; }
.ws.is-active { display: block; animation: win .5s var(--ease); }
@keyframes win { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
.ws h3 { font-size: clamp(1.3rem,2.2vw,1.8rem); margin-bottom: 20px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--rose-soft); color: var(--ink); font-family: var(--sans); font-size: .98rem; text-align: left; cursor: none; transition: .3s var(--ease); }
.choice:hover { background: #fff; border-color: var(--rose-deep); transform: translateY(-3px); }
.choice.sel { background: linear-gradient(150deg,#fff,var(--rose-2)); border-color: var(--rose-deep); box-shadow: 0 0 0 1px var(--rose-deep) inset; }
.ws__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; }
.wlink { background: none; border: 0; color: var(--muted); cursor: none; font-family: var(--sans); font-size: .9rem; }
.wlink:hover { color: var(--rose-deep); }
.wcheck { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink-soft); cursor: none; }
.wcheck input { width: 18px; height: 18px; accent-color: var(--rose-deep); }
#wDate { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--rose-soft); font-family: var(--sans); font-size: 1rem; color: var(--ink); }
.field { position: relative; margin-bottom: 16px; }
.field input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 14px 0 9px; font-family: var(--sans); font-size: 1rem; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--rose-deep); }
.field label { position: absolute; left: 0; top: 14px; color: var(--muted); pointer-events: none; transition: .3s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: -8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-deep); }
.recap { list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 8px 0 14px; }
.recap li { background: #fff; display: flex; justify-content: space-between; padding: 11px 15px; gap: 14px; }
.recap .k { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.recap .v { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }
.wiz__hint { color: var(--muted); font-size: .84rem; text-align: center; margin-bottom: 12px; }
.wiz__hint.ok { color: var(--rose-deep); }
.wsend { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.wsend .btn { flex: 1 1 130px; justify-content: center; }
.ws[data-step="5"] .wlink { display: block; margin: 0 auto; }

/* ===== LIEU (cross-link) ===== */
.lieu { text-align: center; padding: clamp(80px,14vh,160px) clamp(20px,6vw,40px); max-width: 800px; margin: 0 auto; }
.lieu h2 { font-size: clamp(2.2rem,5.5vw,4.4rem); }
.lieu p { color: var(--ink-soft); margin: 24px auto 36px; max-width: 520px; }

/* ===== FOOTER ===== */
.footer { text-align: center; padding: clamp(80px,14vh,160px) clamp(20px,6vw,40px) 50px; }
.footer__title { font-size: clamp(2rem,6vw,4.4rem); margin-bottom: 34px; }
.footer__row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 50px; font-size: .82rem; color: var(--ink-soft); }
.footer__row a:hover { color: var(--rose-deep); }

/* bouton appel flottant */
.fab-call { bottom: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(140deg,var(--rose-deep),var(--rose)); display: grid; place-items: center; font-size: 1.4rem; z-index: 9500; box-shadow: 0 14px 30px -10px rgba(196,109,150,.8); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 14px 30px -10px rgba(196,109,150,.8),0 0 0 0 rgba(226,160,192,.5)} 70%{box-shadow:0 14px 30px -10px rgba(196,109,150,.8),0 0 0 16px rgba(226,160,192,0)} }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links { display: flex; position: fixed; inset: 0; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 28px; z-index: 50; }
  .nav.open .nav__links a { font-size: 1.5rem; font-family: var(--serif); text-transform: none; }
  .nav.open .nav__burger span:nth-child(1){ transform: translateY(4px) rotate(45deg); }
  .nav.open .nav__burger span:nth-child(2){ transform: translateY(-4px) rotate(-45deg); }
  .collections__grid { grid-template-columns: 1fr 1fr; }
  .sm__list { grid-template-columns: 1fr; }
  .rdv { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .collections__grid { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .paint { transform: scaleY(0.5); }
}
