:root{--vin:#6b0d33;--rose:#d62e5c;--poudre:#fbe1e6;--or:#f2b632;--encre:#3a0a1e;--blanc:#fff9fa;--script:"Petit Formal Script",cursive}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--blanc);color:var(--encre);font:400 1.2rem/1.55 "Alegreya Sans",sans-serif}
[hidden]{display:none!important}
h1,h2{font-family:var(--script);font-weight:400;color:var(--vin);text-wrap:balance;line-height:1.3;margin:0}
h1{font-size:clamp(2.2rem,9vw,4rem)}
h2{font-size:clamp(1.7rem,5vw,2.7rem);margin-bottom:1.5rem}
h3{margin:0;font-size:1.4rem;line-height:1.3}
p{margin:0 0 1rem;max-width:60ch}
.pagne{background-color:var(--vin);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cdefs%3E%3Cpath id='h' d='M0 24C-18 10-25 2-25-8c0-18 20-20 25-4C5-28 25-26 25-8 25 2 18 10 0 24Z'/%3E%3C/defs%3E%3Cg fill='none'%3E%3Cuse href='%23h' x='60' y='60' fill='%23d62e5c'/%3E%3Cuse href='%23h' transform='translate(60 60)scale(.5)' fill='%23f2b632'/%3E%3Cuse href='%23h' transform='translate(60 60)scale(1.35)' stroke='%23f2b632' stroke-width='1.5' stroke-dasharray='1 5' stroke-linecap='round'/%3E%3C/g%3E%3Cg fill='%23a51c4b'%3E%3Cuse href='%23h' transform='rotate(180)'/%3E%3Cuse href='%23h' transform='translate(120)rotate(180)'/%3E%3Cuse href='%23h' transform='translate(0 120)rotate(180)'/%3E%3Cuse href='%23h' transform='translate(120 120)rotate(180)'/%3E%3C/g%3E%3C/svg%3E")}
.hero{min-height:100svh;display:grid;place-items:center;padding:1.5rem 1rem}
.carte{background:var(--blanc);width:min(100%,35rem);padding:2rem 1.5rem 2.2rem;text-align:center;border-radius:17rem 17rem 1rem 1rem}
.hero .carte{padding-top:3.2rem}
.carte p{margin-inline:auto}
#couverture svg,#couverture img{width:min(56%,15rem)}
#couverture img{aspect-ratio:1;object-fit:cover;border-radius:50%;object-position:60% 20%}
#couverture svg{animation:coeur 1.1s .3s 2 ease-in-out}
@keyframes coeur{30%{transform:scale(1.06)}60%{transform:scale(1)}}
#salut{font-weight:700;color:#b51f4a;margin:0 auto;max-width:14rem;overflow-wrap:anywhere}
.intro{font-size:1.3rem;margin-top:.4rem}
.date{font-weight:700;margin-bottom:0}
.rebours{font-variant-numeric:tabular-nums;color:#a51c4b}
.btn{display:block;width:100%;max-width:22rem;margin:.8rem auto 0;padding:.8rem 1.4rem;border:2px solid var(--vin);border-radius:99px;background:var(--vin);color:#fff;font:700 1.15rem "Alegreya Sans",sans-serif;text-decoration:none;text-align:center;cursor:pointer}
.btn:hover{background:#8d1445}
.vide{background:none;color:var(--vin)}
.vide:hover{background:var(--poudre)}
.lien{display:inline-block;margin-top:.8rem;padding:.5rem 0;border:0;background:none;color:#a51c4b;font:700 1.1rem "Alegreya Sans",sans-serif;text-decoration:underline;text-underline-offset:.25em;cursor:pointer}
:focus-visible{outline:3px solid var(--or);outline-offset:3px;box-shadow:0 0 0 3px var(--vin)}
#merci:focus{outline:none;box-shadow:none}
section{padding:clamp(4rem,10vw,7rem) max(1.2rem,calc((100vw - 64rem)/2))}
.rose{background:var(--poudre)}
.jour{list-style:none;padding:0;margin:0 0 1rem}
.jour li{display:grid;grid-template-columns:clamp(4.5rem,18vw,9rem) 1fr;padding:1.3rem 0}
.jour time{font:400 clamp(1.5rem,5vw,2.4rem)/1.2 var(--script);color:var(--rose)}
.jour p{margin:0}
.jour a{display:inline-block;padding:.5rem 0;color:#a51c4b;font-weight:700}
.tenue{display:grid;gap:2.5rem}
.tissu{min-height:16rem;border-radius:0 0 12rem 12rem}
#reponse{display:grid;place-items:center}
.reponse{border-radius:1.5rem}
.reponse label,dialog label{display:block;text-align:left;font-weight:700;margin:1rem 0}
input,select,textarea{display:block;width:100%;margin-top:.3rem;padding:.75rem;border:1.5px solid #a65c78;border-radius:.6rem;background:#fff;color:inherit;font:400 1.15rem "Alegreya Sans",sans-serif}
details{border-bottom:1px solid #e9b4c0;max-width:46rem}
summary{padding:1rem 0;font-weight:700;cursor:pointer}
.fin{text-align:center}
.fin p{margin-inline:auto}
footer{background:var(--vin);color:#fff;text-align:center;padding:1.5rem 1.2rem 4rem}
footer .lien{color:#ffd5de}
.pub{margin-top:3rem}
.pub h2{color:#fff}
.pub p{margin-inline:auto}
.pub .btn{background:var(--or);border-color:var(--or);color:var(--encre)}
dialog{border:0;border-radius:1.2rem;width:min(94vw,36rem);max-height:90dvh;padding:2rem 1.4rem;color:inherit;background:var(--blanc)}
dialog::backdrop{background:#3a0a1ecc}
.fermer{float:right;width:44px;height:44px;border:0;background:none;font-size:2rem;cursor:pointer;color:var(--vin)}
.totaux{font-size:1.4rem;font-weight:700}
.note{font-size:1rem}
#liste{list-style:none;padding:0}
#liste li{padding:.8rem 0;border-bottom:1px solid #e9b4c0;overflow-wrap:anywhere}
#liste span{display:block}
#perso{margin-top:2rem}
#err{color:#b00020;font-weight:700}
#pout{overflow-wrap:anywhere;margin-top:1rem}
@media(min-width:760px){
.tenue{grid-template-columns:1fr 1.2fr;align-items:center;gap:5rem}
.tissu{height:32rem}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important}html{scroll-behavior:auto}}
#ouverture{position:fixed;inset:0;z-index:9;overflow:hidden}
.pan{position:absolute;inset:0 50% 0 0;transition:transform 1.7s cubic-bezier(.7,0,.2,1);box-shadow:0 0 40px #3a0a1e;background-position:right 0 top 0}
.pan.droit{inset:0 0 0 50%;background-position:0 0}
#ouverture button{position:absolute;inset:0;margin:auto;width:min(86vw,22rem);height:22rem;border:0;border-radius:50%;background:var(--blanc);color:var(--vin);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:2rem;font:400 1.15rem "Alegreya Sans",sans-serif;transition:transform .7s,opacity .7s}
#ouverture button{aspect-ratio:1;height:auto;max-height:22rem}
#ouverture svg{width:7rem;fill:var(--rose);animation:coeur 1.1s infinite ease-in-out}
#ouverture strong{font:400 1.45rem/1.35 var(--script);overflow-wrap:anywhere}
.ouvert .pan{transform:translateX(-105%) skewY(5deg)}
.ouvert .pan.droit{transform:translateX(105%) skewY(-5deg)}
#ouverture.ouvert{pointer-events:none}
#ouverture.ouvert button{transform:scale(1.5);opacity:0}
.petale{position:fixed;top:-30px;z-index:10;width:18px;height:22px;border-radius:90% 10% 90% 10%;pointer-events:none;animation:tombe 4.5s linear both}
@keyframes tombe{from{transform:scale(var(--s))}to{transform:translate(var(--d),110vh) rotate(600deg) scale(var(--s))}}
.fils{height:clamp(180px,25vw,260px);margin:0 calc(50% - 50vw) 2rem;overflow:hidden}
.fils svg{width:100%;height:100%}
.fils path{fill:none;stroke-width:5;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:var(--reste,0)}
.apercu{width:min(70%,14rem);display:block;margin:1.2rem auto 0;border-radius:.8rem}
@media(prefers-reduced-motion:reduce){.pan,#ouverture button{transition:none}}
main{overflow-x:clip}
.pluie{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:10}
.fils{height:max(180px,26vw)}
.tissu{width:100%;object-fit:cover}
img.tissu{height:24rem}
.commander{margin:1.5rem 0 0}
@media(max-width:759px){.commander{max-width:none}}

/* pack Complète */
.hero{padding:clamp(1rem,3vw,3rem) 1rem}
.hero .carte{width:min(100%,30rem);padding:.7rem .7rem 2rem;border-radius:17rem 17rem 1.2rem 1.2rem}
.hero #couverture{overflow:hidden;border-radius:16.5rem 16.5rem .8rem .8rem;aspect-ratio:1/1.08;background:var(--poudre)}
.hero #couverture img{display:block;width:100%;height:100%;aspect-ratio:auto;border-radius:0;object-fit:cover;object-position:60% 25%}
.hero #couverture svg{width:60%;margin-top:30%}
.mots{padding:1.2rem .8rem 0}
h1{font-size:clamp(2.6rem,11.5vw,3.6rem);line-height:1.15}
h1 .et{font-size:.6em;color:var(--rose)}
.intro{margin-bottom:.8rem}
.rebours{display:flex;justify-content:center;gap:clamp(.8rem,4vw,1.6rem);margin:1rem 0 1.4rem;color:var(--encre)}
.rebours span{font-size:1rem}
.rebours b{display:block;font:700 1.9rem/1.1 "Alegreya Sans",sans-serif;font-variant-numeric:tabular-nums lining-nums;color:#a51c4b}
.recit{display:grid;gap:clamp(3rem,8vw,6rem)}
.chapitre{display:grid;gap:1.3rem;align-items:center}
.chapitre p{font-size:clamp(1.35rem,2.4vw,1.75rem);line-height:1.45;max-width:28ch;margin:0}
.photo{display:block;width:100%;padding:0;border:0;background:var(--poudre);overflow:hidden;border-radius:14rem 14rem 1rem 1rem;aspect-ratio:4/5;cursor:zoom-in;color:#a51c4b;font:inherit}
.photo.large{aspect-ratio:5/4;border-radius:1rem 1rem 14rem 14rem}
.photo img{display:block;width:100%;height:100%;object-fit:cover}
.jour{position:relative;max-width:46rem}
.jour li{position:relative;grid-template-columns:4.5rem 1fr;column-gap:3rem;padding:1.6rem 0}
.jour li:before{content:"";position:absolute;left:5.9rem;top:0;bottom:0;border-left:3px solid var(--rose)}
.jour li:nth-child(2):before{border-color:var(--or)}
.jour li:first-child:before{top:2.4rem}.jour li:last-child:before{bottom:auto;height:2.4rem}
.jour li:after{content:"";position:absolute;left:4.95rem;top:1.65rem;width:2rem;height:2rem;background:var(--poudre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-30 -30 60 60'%3E%3Cpath fill='%23d62e5c' d='M0 24C-18 10-25 2-25-8c0-18 20-20 25-4C5-28 25-26 25-8 25 2 18 10 0 24Z'/%3E%3C/svg%3E")}
.jour time{text-align:right;white-space:nowrap;color:#b51f4a;font-size:1.7rem}
.faq{padding-bottom:clamp(5rem,10vw,8rem)}
.fin{display:grid;padding:0;background:var(--vin)}
.fin>*{grid-area:1/1}
#finale{height:max(36rem,56vw);max-height:54rem;overflow:hidden}
#finale img{width:100%;height:100%;display:block;object-fit:cover;object-position:60% 20%}
.fin .finmots{align-self:end;padding:9rem 1.2rem 3.5rem;background:linear-gradient(transparent,#3a0a1ed9 45%,#3a0a1e);color:#fff}
.fin h2{color:#fff;margin-bottom:.8rem}
.fin .btn{background:#fff;border-color:#fff;color:var(--vin)}
.signe{margin-top:2.2rem}
footer{padding-bottom:7rem}
.barre{position:fixed;z-index:8;inset:auto 0 0;display:flex;justify-content:center;gap:.3rem;padding:.5rem .6rem calc(.5rem + env(safe-area-inset-bottom));background:var(--blanc);box-shadow:0 -3px 18px #3a0a1e2e}
.barre a{padding:.7rem .6rem;font-weight:700;font-size:1.05rem;color:var(--vin);text-decoration:none}
.barre .oui{padding-inline:1rem;border-radius:99px;background:var(--vin);color:#fff}
section[id]{scroll-margin-top:0}
.totaux{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin:0 0 1rem}
.totaux div{display:flex;flex-direction:column-reverse;padding:.8rem .4rem;border-radius:.8rem;background:var(--poudre);text-align:center}
.totaux dt{font-size:.95rem;font-weight:400;line-height:1.2}
.totaux dd{margin:0;font-size:2.2rem;line-height:1.1;color:var(--vin);font-variant-numeric:lining-nums}
#zoom{width:auto;max-width:94vw;padding:0;background:none;overflow:visible}
#zoom img{display:block;max-width:92vw;max-height:84dvh;border-radius:1rem}
#zoom .fermer{position:absolute;right:.5rem;top:.5rem;float:none;border-radius:50%;background:var(--blanc);line-height:1}
@media(min-width:760px){
.chapitre{grid-template-columns:1fr 1fr;gap:5rem}
.chapitre:nth-child(even) .photo{order:2}
.chapitre:nth-child(even) p{justify-self:end}
.photo{max-height:36rem}
.jour li{grid-template-columns:7rem 1fr;column-gap:5rem}
.jour li:before{left:9.4rem}.jour li:after{left:8.45rem}
.jour time{font-size:2.2rem}
}
@media(min-width:960px){
.hero .carte{width:min(100%,66rem);display:grid;grid-template-columns:1fr 1.05fr;align-items:center;padding:1rem;border-radius:20rem 1.5rem 1.5rem 1.5rem}
.hero #couverture{aspect-ratio:auto;height:min(43rem,86vh);border-radius:19rem 1rem 1rem 1rem}
.mots{padding:1rem 2rem}
h1{font-size:clamp(3.4rem,5.4vw,5rem)}
}
@media(min-width:960px){
.hero .carte{border-radius:11rem 1.5rem 1.5rem 1.5rem}
.hero #couverture{border-radius:10rem 1rem 1rem 1rem}
.hero #couverture img{object-position:42% 25%}
}

.choix{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.3rem}
.choix button{padding:.65rem 1.2rem;border:2px solid var(--vin);border-radius:99px;background:none;color:var(--vin);font:700 1.1rem "Alegreya Sans",sans-serif;cursor:pointer}
.choix [aria-pressed=true]{background:var(--vin);color:#fff}
.plan{display:grid;gap:1.6rem}
#carte{width:100%;height:24rem;border:0;border-radius:1rem 1rem 10rem 1rem;background:var(--poudre)}
.adresse .btn{margin-inline:0;max-width:none}
@media(min-width:760px){.plan{grid-template-columns:1.6fr 1fr;align-items:center;gap:3.5rem}#carte{height:28rem}}

#accepte{margin-bottom:1.2rem;color:var(--vin)}
#accepte svg{display:block;width:8.5rem;margin:0 auto}
#accepte strong{display:inline-block;padding:.5rem 1.4rem;border-radius:99px;background:#1f7a45;color:#fff;font-size:1.3rem;animation:arrive .5s 1.1s both}
#accepte .coeur{fill:var(--rose);animation:pose .6s cubic-bezier(.3,1.6,.5,1) both}
#accepte .coche{fill:none;stroke:#fff;stroke-width:5.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;animation:trace .5s .6s both}
@keyframes pose{from{transform:scale(0)}}
@keyframes trace{from{stroke-dashoffset:1;opacity:0}1%{opacity:1}to{stroke-dashoffset:0}}
@keyframes arrive{from{opacity:0;transform:translateY(12px)}}
