@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/libre-baskerville-400.ttf') format('truetype')}
@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/libre-baskerville-700.ttf') format('truetype')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/montserrat-500.ttf') format('truetype')}
:root{--bg:#f6f3eb;--ink:#354332;--muted:#777b6d;--line:#d9ddcf}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.7 Arial,sans-serif}a{color:inherit;text-decoration:none}aside{background:#e6eadc;display:flex;justify-content:space-between;align-items:center;padding:10px 5%;font-size:10px;letter-spacing:1px}aside label{letter-spacing:0;font-size:12px}select{padding:5px;background:transparent;border:1px solid #aeb79e;color:var(--ink)}header,main,footer{max-width:1180px;margin:auto;padding-left:45px;padding-right:45px}header{display:flex;align-items:center;justify-content:space-between;padding-top:28px;padding-bottom:28px;border-bottom:1px solid var(--line)}header>a,footer{font-family:Georgia,serif;font-size:27px}small{display:block;color:var(--muted);font:11px/1.7 Arial,sans-serif}header small{font-size:9px;letter-spacing:2px;margin-top:7px}nav{display:flex;gap:26px;font-size:12px}section{padding:55px 0;border-bottom:1px solid var(--line)}.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:50px;padding:70px 0 45px}.eyebrow{font-size:10px;letter-spacing:2px;color:#ab623f;margin:0 0 23px}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.16;margin:0}h1{font-size:59px;letter-spacing:-2px}h1 em{font-size:.86em}h2{font-size:41px;letter-spacing:-1px}h3{font-size:24px}p{color:var(--muted)}.hero p:not(.eyebrow){margin:25px 0}.button{display:inline-block;background:var(--ink);color:white;font-size:12px;padding:14px 22px;border:1px solid var(--ink);border-radius:3px}.button:hover{background:#59694e}.outline{background:transparent;color:var(--ink)}.caption{margin-top:36px;font-size:9px;letter-spacing:1.8px}.illustration{text-align:center;padding:0 25px}.arch{position:relative;overflow:hidden;max-width:330px;height:360px;border-radius:180px 180px 3px 3px;background:#e4d7bb;box-shadow:15px 12px #e9e7db}.sun{position:absolute;top:75px;left:95px;width:90px;height:90px;border-radius:50%;background:#c98255}.hill{position:absolute;width:480px;height:300px;border-radius:50%}.one{left:-210px;top:215px;background:#a7b38d;transform:rotate(15deg)}.two{left:0;top:255px;background:#728161;transform:rotate(-20deg)}.arch>span{position:absolute;bottom:5px;right:25px;font-size:130px;color:#3b5239}.illustration p{font:italic 16px Georgia,serif;color:var(--ink)}.invitation{display:flex;align-items:center;justify-content:space-between;padding:30px 0;gap:20px}.invitation .eyebrow{margin-bottom:8px}.invitation h2{font-size:30px}#tabs{display:flex;gap:5px;border:1px solid var(--line);padding:5px;border-radius:4px}button{cursor:pointer;background:none;border:0;color:var(--ink);padding:13px 17px;font-size:12px;border-radius:3px}button[aria-pressed=true]{background:var(--ink);color:white}.event{display:flex;justify-content:space-between;background:#e8ecdf;padding:13px 20px;font-size:12px;border-radius:3px}.place{display:grid;grid-template-columns:.65fr 1.75fr 1fr;gap:30px}.place h2{font-size:35px}.note{background:#e8ecdf;padding:22px;border-radius:3px}.note span{font-size:37px}.note p{font-size:12px}.split{display:grid;grid-template-columns:1fr 1.1fr;gap:80px}.split>div:nth-child(2){align-self:center}.split article{padding:18px 0;border-bottom:1px solid var(--line)}.split article h3{margin-top:5px}#schedule>h3{margin:16px 0}#schedule>small,#dishes>small{color:#ab623f;letter-spacing:1.5px}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:35px;padding-bottom:35px}footer a{font:11px Arial,sans-serif}[hidden]{display:none!important}:focus-visible{outline:3px solid #b96f49;outline-offset:4px}@media(max-width:760px){header,main,footer{padding-left:22px;padding-right:22px}aside{align-items:start;flex-direction:column;gap:6px}header{align-items:start;flex-direction:column;gap:20px}nav{gap:20px}.hero{grid-template-columns:1fr;gap:30px;padding-top:40px}h1{font-size:46px}.arch{height:280px;margin:auto;max-width:280px}.sun{top:55px;left:80px}.one{top:170px}.two{top:205px}.arch>span{font-size:100px}.invitation{align-items:start;flex-direction:column}#tabs{width:100%}button{flex:1;padding:12px 7px}.place,.split{grid-template-columns:1fr;gap:25px}section{padding:38px 0}.place>.eyebrow{margin:0}.note span{float:right}.note h3{margin:0}.event{font-size:11px;gap:12px}footer{flex-wrap:wrap}footer small{order:3;width:100%}h2{font-size:36px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

:root{--accent:#a66340;--soft:#e8ecdf}
body[data-theme=france]{--bg:#f1f5fa;--ink:#304969;--muted:#63748b;--line:#d2deed;--accent:#486d9b;--soft:#e1eafa}
body[data-theme=italie]{--bg:#f6f3eb;--ink:#354332;--muted:#777b6d;--line:#d9ddcf;--accent:#a66340;--soft:#e8ecdf}
.eyebrow,#schedule>small,#dishes>small{color:var(--accent)}aside,.event,.note{background:var(--soft)}
body[data-theme=france] .arch{background:#d8e7f7;box-shadow:15px 12px #e5ecf5}
body[data-theme=france] .sun{background:#d5ad77}body[data-theme=france] .one{background:#96b5d6}body[data-theme=france] .two{background:#6486b0}body[data-theme=france] .arch>span{color:#3f5e84}
.button:hover{background:var(--accent)}.outline:hover{color:white}
#login{max-width:480px;margin:8vh auto;padding:38px 28px;border:1px solid var(--line);border-radius:8px}
#login h1{font-size:44px}#login label{display:block;margin:17px 0 5px;font-size:13px}#login input{width:100%;padding:12px;border:1px solid #aab29e;border-radius:3px;font:inherit;background:white;color:var(--ink)}
#login-submit{margin-top:25px;width:100%}#login-error,#session-error{color:#a12f28;font-size:13px}button:disabled{opacity:.6;cursor:wait}
#tabs button:first-child{border-bottom:3px solid #6486b0}#tabs button:last-child:not(:first-child){border-bottom:3px solid #8b9f73}

.language-bar{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:12px 5%;border-bottom:1px solid var(--line);font-size:12px}.language-bar select{font:inherit;border-radius:3px;padding:7px 10px}#login{margin-top:5vh}nav{flex-wrap:wrap}button,.button{white-space:normal}

/* Mariage en France : palette du lotus, du jasmin et des ornements dorés. */
body[data-theme=france]{--bg:#fbf8f1;--ink:#43533e;--muted:#6f7667;--line:#e2dfd0;--accent:#9a5265;--soft:#eef0e4}
body[data-theme=france] .hero{grid-template-columns:1fr 1.2fr;gap:36px;align-items:center;padding-top:55px}
body[data-theme=france] h1 em{color:#9a5265}
body[data-theme=france] .eyebrow{color:#8b6940}
body[data-theme=france] .event{border-left:3px solid #bd995e}
body[data-theme=france] .note{background:#f2ece1;border:1px solid #e2d7c4}
body[data-theme=france] .note>span{color:#ac8750}
body[data-theme=france] .button{border-color:#657457}
body[data-theme=france] .button:hover{background:#9a5265;border-color:#9a5265}
body[data-theme=france] #tabs button:first-child{border-bottom-color:#bd995e}
body[data-theme=france] #tabs button[aria-selected=true]{background:#526347;color:#fff}
.france-visual{min-width:0;text-align:center}
.france-visual img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border:1px solid #d6c7a9;border-radius:90px 6px 90px 6px;box-shadow:10px 12px 0 #eeeadf}
.france-visual p{font:italic 16px Georgia,serif;margin:26px 0 0;color:#6f7667}
@media(max-width:760px){body[data-theme=france] .hero{grid-template-columns:1fr;gap:28px;padding-top:35px}.france-visual{padding:0 4px 8px}.france-visual img{border-radius:55px 4px 55px 4px;box-shadow:6px 8px 0 #eeeadf}.france-visual p{font-size:14px;margin-top:22px}}

/* Italie : bleu du lac, vert des oliviers et blanc ivoire. */
body[data-theme=italie]{--bg:#fafbf7;--ink:#344f59;--muted:#66797b;--line:#d9e4df;--accent:#547c8d;--soft:#eaf2f3}
body[data-theme=italie] .hero{grid-template-columns:1fr 1.2fr;gap:36px;align-items:center;padding-top:55px}
body[data-theme=italie] h1 em{color:#668269}
body[data-theme=italie] .eyebrow{color:#557386}
body[data-theme=italie] .event{background:#e7f0f4;border-left:3px solid #8aadb9}
body[data-theme=italie] .note{background:#edf2e8;border:1px solid #dce5d4}
body[data-theme=italie] .note>span{color:#799171}
body[data-theme=italie] .button{background:#486b7a;border-color:#486b7a}
body[data-theme=italie] .outline{background:transparent;color:#486b7a}
body[data-theme=italie] .button:hover{background:#5b765d;border-color:#5b765d;color:#fff}
body[data-theme=italie] #tabs button:last-child{border-bottom-color:#8aadb9}
body[data-theme=italie] #tabs button[aria-selected=true]{background:#486b7a;color:#fff}
.italy-visual{min-width:0;text-align:center}
.italy-visual img{display:block;width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;border:1px solid #cfddd7;border-radius:6px 80px 6px 80px;box-shadow:10px 12px 0 #e8f0ec}
.italy-visual p{font:italic 16px Georgia,serif;margin:26px 0 0;color:#66797b}
@media(max-width:760px){body[data-theme=italie] .hero{grid-template-columns:1fr;gap:28px;padding-top:35px}.italy-visual{padding:0 4px 8px}.italy-visual img{border-radius:4px 45px 4px 45px;box-shadow:6px 8px 0 #e8f0ec}.italy-visual p{font-size:14px;margin-top:22px}}


/* France : coucher de soleil, pêche, jaune tendre, rose lotus et ivoire. */
body[data-theme=france]{--bg:#fffaf5;--ink:#674947;--muted:#806666;--line:#eedcd2;--accent:#a65b67;--soft:#fff0e1}
body[data-theme=france] h1 em{color:#aa596b}
body[data-theme=france] .eyebrow{color:#976239}
body[data-theme=france] aside{background:#fff0e1}
body[data-theme=france] .event{background:#fff1d9;border-left:3px solid #d69a60}
body[data-theme=france] .note{background:#fcebe8;border:1px solid #efd4cd}
body[data-theme=france] .note>span{color:#bd8150}
body[data-theme=france] .button{background:#98566a;border-color:#98566a;color:#fff}
body[data-theme=france] .outline{background:transparent;color:#98566a}
body[data-theme=france] .button:hover{background:#8c5741;border-color:#8c5741;color:#fff}
body[data-theme=france] #tabs button:first-child{border-bottom-color:#d69a60}
body[data-theme=france] #tabs button[aria-selected=true]{background:#98566a;color:#fff}
body[data-theme=france] .france-visual img{aspect-ratio:1672/941;border-color:#e7c7ad;box-shadow:10px 12px 0 #f8e7d9}
body[data-theme=france] .france-visual p{color:#806666}
@media(max-width:760px){body[data-theme=france] .france-visual img{box-shadow:6px 8px 0 #f8e7d9}}

.couple-heading{display:flex;align-items:center;gap:22px}.couple-heading h1{flex:1;min-width:0;font-size:clamp(36px,4.2vw,55px)}.couple-photo{display:block;width:clamp(100px,12vw,145px);height:auto;aspect-ratio:3/4;object-fit:contain;flex-shrink:0;border-radius:70px 70px 6px 6px;border:1px solid var(--line);padding:4px;background:#fff;box-shadow:6px 7px 0 var(--soft)}@media(max-width:760px){.couple-heading{gap:18px}.couple-heading h1{font-size:clamp(32px,8vw,46px)}.couple-photo{width:clamp(95px,27vw,140px)}}@media(max-width:360px){.couple-heading{gap:12px}.couple-photo{width:86px}.couple-heading h1{font-size:30px}}

.couple-open{position:relative;display:block;padding:0;flex-shrink:0;border:0;border-radius:70px 70px 6px 6px;background:transparent;cursor:zoom-in}.photo-zoom{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff;color:#444;font-size:18px;box-shadow:0 1px 5px #0003}
.gallery-open{overflow:hidden}#photo-gallery{padding:0;border:1px solid #ffffff30;border-radius:12px;background:#171918;color:#fff;width:min(900px,95vw);max-width:95vw;max-height:94dvh}#photo-gallery::backdrop{background:#101311df}.gallery-content{padding:15px}.gallery-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px}.gallery-toolbar h2{font-size:20px;letter-spacing:0}.gallery-toolbar button,.gallery-stage button{color:white;background:#ffffff16;font-size:32px;border-radius:50%;width:44px;height:44px;padding:0;line-height:1}.gallery-toolbar button:hover,.gallery-stage button:hover{background:#ffffff30}.gallery-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:15px;align-items:center;margin-top:15px}.gallery-stage img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(94dvh - 140px);object-fit:contain;justify-self:center;touch-action:pan-y pinch-zoom;border-radius:3px}#gallery-counter{text-align:center;margin:12px 0 0;color:#eee;font-size:13px}
@media(max-width:600px){.gallery-content{padding:10px}.gallery-toolbar h2{font-size:16px}.gallery-stage{gap:5px;grid-template-columns:32px minmax(0,1fr) 32px}.gallery-stage button{width:32px;height:40px;font-size:30px}.gallery-toolbar button{width:36px;height:36px}.gallery-stage img{max-height:calc(94dvh - 120px)}}


/* Invitation animée : tous les éléments restent nets à toute taille d'écran. */
body{--flower-color:#fffaf2;--gold-color:#c89c59;--curtain-light:#f7dec3;--curtain-mid:#edb09b;--curtain-shadow:#d99985}
body[data-theme=italie]{--flower-color:#fffdf7;--gold-color:#b5a377;--curtain-light:#f4f5ed;--curtain-mid:#c6dce4;--curtain-shadow:#91b5c5}
body[data-theme=france]{--flower-color:#ffe4da;--curtain-light:#fff1d8;--curtain-mid:#f6c6ac;--curtain-shadow:#dca091}
.invitation-locked{overflow:hidden}
#invitation-opening{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:0;background:transparent;overflow:hidden;color:var(--ink)}
#invitation-opening::backdrop{background:transparent}
.curtain{position:absolute;top:0;bottom:0;width:50.2%;background:repeating-linear-gradient(90deg,transparent 0%,#ffffff36 3%,transparent 8%,#00000009 12%,transparent 16%),linear-gradient(90deg,var(--curtain-shadow),var(--curtain-light) 20%,var(--curtain-mid) 45%,var(--curtain-light) 70%,var(--curtain-mid));box-shadow:inset 0 -12px 0 #ffffff24;transition:transform 1.25s cubic-bezier(.65,0,.25,1);will-change:transform}
.curtain-left{left:0;border-right:1px solid #ffffff60}.curtain-right{right:0;background-position:right center;transform:scaleX(-1)}
.curtain::after{content:'';position:absolute;inset:0 5% 0 auto;width:1px;background:#ffffff66;box-shadow:6px 0 0 #ffffff33,-6px 0 0 #ffffff33}
.curtain-cord{position:absolute;left:6%;right:8%;top:23%;height:50px;border-bottom:2px solid var(--gold-color);border-radius:0 0 50% 50%;opacity:.7}
.opening-card{position:absolute;top:50%;left:50%;width:min(90vw,540px);text-align:center;transform:translate(-50%,-50%);transition:opacity .35s,transform .55s;z-index:2}
.opening-card h2{font-size:clamp(32px,5vw,52px);line-height:1.15}.opening-card .eyebrow{margin-bottom:18px}.opening-card p{color:var(--ink)}
#seal-open{position:relative;display:block;margin:28px auto 18px;width:124px;height:124px;padding:0;border-radius:50%;border:1px solid var(--gold-color);outline-offset:7px;background:var(--bg);color:var(--ink);box-shadow:0 0 0 5px #ffffff4a,0 0 0 6px var(--gold-color),0 12px 30px #67494716;transition:scale .2s}
#seal-open:hover{scale:1.05}.seal-monogram{font-family:Georgia,serif;font-size:48px;letter-spacing:-6px;padding-right:6px}.seal-flower{position:absolute;right:3px;bottom:2px;font-size:32px;color:var(--accent);background:var(--bg);border-radius:50%;line-height:1}
.opening-hint{font-size:12px;letter-spacing:1px}
#skip-opening{position:absolute;z-index:3;bottom:max(25px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);border:1px solid #ffffff90;background:var(--bg);color:var(--ink);font-size:12px;border-radius:30px;min-height:44px;padding:10px 22px}
#invitation-opening.opening .curtain-left{transform:translateX(-105%)}#invitation-opening.opening .curtain-right{transform:translateX(105%) scaleX(-1)}
#invitation-opening.opening .opening-card{opacity:0;transform:translate(-50%,-50%) scale(.93);pointer-events:none}
#invitation-opening.opening #skip-opening{opacity:.7}
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
[data-reveal].is-visible{opacity:1;transform:translateY(0)}
.floral-frieze{display:flex;justify-content:center;padding:24px 0 6px;color:var(--accent);pointer-events:none}
.floral-frieze svg{width:210px;height:38px;max-width:60vw}
#wedding-panel{position:relative;padding-left:42px}
.journey-thread{position:absolute;left:0;top:60px;bottom:30px;width:24px;pointer-events:none}
.journey-thread svg{width:100%;height:100%;overflow:visible}
.journey-thread path{fill:none;vector-effect:non-scaling-stroke;stroke-width:1.3}
.journey-base{stroke:var(--line)}
#journey-progress{stroke:var(--accent);stroke-dasharray:1000;stroke-dashoffset:1000}
#schedule{position:relative;padding-left:30px!important;--thread-progress:0}
#schedule::before,#schedule::after{content:'';position:absolute;top:0;left:4px;bottom:0;width:1.5px;background:var(--line)}
#schedule::after{background:var(--accent);transform:scaleY(var(--thread-progress));transform-origin:top}
#schedule article{position:relative;padding-left:12px}
#schedule article::before{content:'';position:absolute;left:-29px;top:25px;width:7px;height:7px;border-radius:50%;background:var(--bg);border:1.5px solid var(--accent);z-index:1}
html.instant-scroll{scroll-behavior:auto!important}
@media(max-width:760px){#wedding-panel{padding-left:23px}.journey-thread{width:14px}.floral-frieze{padding-top:18px}.opening-card{top:47%}.curtain-cord{top:17%;height:35px}#seal-open{width:110px;height:110px}.seal-monogram{font-size:44px}}
@media(prefers-reduced-motion:reduce){.curtain,.opening-card,[data-reveal],#seal-open{transition:none!important}[data-reveal]{opacity:1;transform:none}#journey-progress{stroke-dashoffset:0!important}#schedule::after{transform:none}}


/* Le tissu se relève en courbe, fixé en haut, au lieu de coulisser. */
.curtain{background:none;box-shadow:none;border:0;transition:opacity .3s ease;will-change:auto;overflow:visible}
.curtain svg{width:100%;height:100%;display:block;overflow:visible}
.curtain::after{display:none}
#invitation-opening.opening .curtain-left{transform:none;animation:drape-fade 2.6s both}
#invitation-opening.opening .curtain-right{transform:scaleX(-1);animation:drape-fade 2.6s both}
@keyframes drape-fade{0%,85%{opacity:1}100%{opacity:0}}
#schedule{padding-top:0!important}
#schedule>small{display:block;font-size:9px;letter-spacing:1.3px;margin:0 0 20px;padding-left:12px}
#schedule article{padding-top:24px;padding-bottom:26px;border-bottom:none;min-height:95px}
#schedule article h3{font-size:25px;margin:0}
#schedule article::before{top:32px}
#schedule::before,#schedule::after{left:4px;top:40px}
#dishes{background:var(--bg);border:1px solid var(--line);border-radius:70px 70px 5px 5px;padding:38px 28px;text-align:center}
#dishes>small{display:block;font-size:9px;line-height:1.8;letter-spacing:1.3px;margin-bottom:24px}
#dishes>p{font-family:Georgia,serif;font-size:19px;line-height:1.6;padding:17px 0;margin:0;border-bottom:1px solid var(--line)}
#dishes>p:last-child{border-bottom:0}
@media(prefers-reduced-motion:reduce){#invitation-opening.opening .curtain{animation:none}}


/* Premier écran : les mariés, le choix du mariage, puis son illustration. */
#site>aside{flex-direction:row;align-items:center;gap:10px;padding:4px 5%;min-height:30px}
#site>aside button{flex:none;padding:4px 10px;min-height:30px}
.language-bar{padding:6px 5%;min-height:40px}
#site main>.first-screen,body[data-theme=france] .first-screen,body[data-theme=italie] .first-screen{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:12px;align-items:stretch;height:calc(100svh - var(--utility-height,90px));min-height:0;padding:14px 0 22px;border-bottom:none}
.hero-heading{text-align:center;align-self:center}
.first-screen .eyebrow{margin:0 0 8px;font-size:9px;letter-spacing:1.8px}
.first-screen .couple-heading{justify-content:center;gap:22px}
.first-screen .couple-heading h1{flex:0 1 auto;font-size:clamp(30px,4vw,50px);letter-spacing:-1.5px;line-height:1.15}
.first-screen h1 br{display:none}
.first-screen h1 em{font-size:1em;white-space:nowrap;margin-left:.16em}
.first-screen .couple-photo{width:clamp(62px,10svh,92px);border-radius:50px 50px 5px 5px;box-shadow:4px 5px 0 var(--soft)}
.first-screen .invitation{padding:0;border:0;margin:0;justify-content:center;align-items:center;flex-direction:row}
.first-screen #tabs{width:auto;min-width:220px;padding:4px}
.first-screen #tabs button{min-width:110px;padding:8px 16px;min-height:38px}
.scene-stage{display:flex;min-height:0;justify-content:center;padding:0 8px 10px}
.scene-stage>div{height:100%;min-height:0;width:100%;padding:0}
.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;aspect-ratio:auto;box-shadow:none;border:0;border-radius:12px}
#site main>header{padding:25px 0;max-width:none}
.welcome-note{padding:8px 0 20px;font-size:14px;max-width:650px}
#names:focus{outline:none}
@media(max-width:760px){#site main>.first-screen,body[data-theme=france] .first-screen,body[data-theme=italie] .first-screen{gap:12px;padding:12px 0 16px}.first-screen .couple-heading{gap:14px}.first-screen .couple-heading h1{font-size:clamp(26px,6.5vw,42px)}.first-screen .eyebrow{font-size:8px;letter-spacing:1.2px}.first-screen .couple-photo{width:clamp(57px,9svh,78px)}#site main>header{gap:16px}.first-screen #tabs{min-width:210px}.scene-stage{padding:0 0 7px}#site>aside{font-size:9px}.language-bar select{padding:4px 8px}#site main>header nav{gap:16px}}
@media(max-height:500px){#site main>.first-screen,body[data-theme=france] .first-screen,body[data-theme=italie] .first-screen{gap:5px;padding:5px 0 8px}.first-screen .couple-photo{width:42px}.first-screen .couple-heading h1{font-size:29px}.first-screen .eyebrow{margin-bottom:3px;font-size:8px}.first-screen #tabs button{min-height:30px;padding:4px 12px}.scene-stage{padding-bottom:0}}

#site main>.first-screen,body[data-theme=france] .first-screen,body[data-theme=italie] .first-screen{height:auto;grid-template-rows:auto auto auto}.first-screen .scene-stage{height:var(--scene-height,40svh)}.first-screen .couple-open{flex:0 0 auto}.first-screen h1 em{margin-left:.22em}

/* Barre unique, invitation personnalisée et décor floral plus fourni. */
body{--leaf-color:#7c8a65;--petal-outline:#d7bca4}
body[data-theme=france]{--leaf-color:#8a906a;--petal-outline:#dbafa5;--flower-color:#ffe3d8}
body[data-theme=italie]{--leaf-color:#819477;--petal-outline:#d1dace;--flower-color:#fffdf6}
.language-bar{justify-content:flex-end;gap:10px;min-height:50px;padding:5px max(20px,5%)}
.language-bar>label{margin-left:auto}
.logout-icon{display:grid;place-items:center;width:40px;height:40px;padding:8px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--ink);flex:0 0 auto}
.logout-icon:hover{background:var(--soft)}
#session-error{font-size:11px;max-width:45%;margin:0}
#session-error:empty{display:none}
.first-screen .couple-photo{width:clamp(98px,15svh,124px);padding:5px;border-color:var(--petal-outline);box-shadow:5px 6px 0 var(--soft)}
.first-screen .couple-heading{gap:25px}
.invitation-sentence{max-width:640px;margin:14px auto 0!important;font-size:14px;line-height:1.7;color:var(--ink);text-wrap:balance}
.floral-frieze svg{width:320px;height:58px;max-width:78vw}
.floral-frieze{padding:22px 0 4px}
.hero-flourish{padding:4px 0 0}
.hero-flourish svg{width:160px;height:29px}
#wedding-panel{padding-left:0}
.place>.note{border-radius:36px 5px 36px 5px}
#site main>header{border-top:1px solid var(--line)}
@media(max-width:760px){.first-screen .couple-photo{width:96px}.first-screen .couple-heading{gap:15px}.first-screen .couple-heading h1{font-size:clamp(23px,6vw,38px)}.invitation-sentence{font-size:12px;max-width:350px;margin-top:12px!important}.language-bar{padding-left:18px;padding-right:18px}.floral-frieze svg{width:280px;height:50px}.hero-flourish svg{width:145px;height:26px}}
@media(max-width:360px){.first-screen .couple-photo{width:82px}.first-screen .couple-heading{gap:10px}.first-screen .couple-heading h1{font-size:22px}}
@media(max-height:500px){.first-screen .couple-photo{width:65px}.invitation-sentence{margin-top:5px!important;font-size:11px}.hero-flourish{display:none}.first-screen .couple-heading h1{font-size:28px}}

/* Ornements Angkor et Renaissance : illustrations et détails propres à chaque célébration. */
body[data-theme=france]{--gold-color:#bd9259;--flower-color:#f8c9bd;--curtain-light:#ffead7;--curtain-mid:#efbdab;--curtain-shadow:#dca58e}
body[data-theme=italie]{--gold-color:#b09a67;--curtain-light:#edf3ed;--curtain-mid:#b9cfda;--curtain-shadow:#8da7ad}
body[data-theme=italie] .curtain-right{--curtain-light:#eef1e5;--curtain-mid:#c2cbb3;--curtain-shadow:#94a28c}
body[data-theme=france] .curtain-right{--curtain-light:#fff0df;--curtain-mid:#edc0be;--curtain-shadow:#cf9e9b}
#tabs{border-radius:30px}
#tabs button{border-radius:25px}
.scene-stage{padding:0}
.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{border-radius:0;object-fit:cover}
.floral-frieze:not(.hero-flourish){padding:22px 0 4px;overflow:hidden}
.floral-frieze:not(.hero-flourish) svg{width:100%;max-width:100%;height:46px}
.hero-flourish svg{width:180px;height:32px}
#schedule{padding-left:48px!important}
#schedule::before,#schedule::after{left:19px;width:1px;top:55px;bottom:40px}
#schedule::after{background:var(--gold-color)}
#schedule article{min-height:110px;padding:24px 0 30px 8px}
#schedule article::before{display:none}
.thread-medallion{position:absolute;width:36px;height:36px;left:-46px;top:21px;z-index:1}
.thread-medallion svg{display:block;width:100%;height:100%}
#dishes{position:relative;border-radius:3px;border:1px solid var(--gold-color);outline:1px solid var(--line);outline-offset:5px;padding:24px 28px 34px;background:linear-gradient(135deg,var(--soft),var(--bg) 35%,var(--bg) 70%,var(--soft))}
#dishes::before,#dishes::after{content:'';position:absolute;width:20px;height:20px;border-color:var(--gold-color);border-style:solid;pointer-events:none}
#dishes::before{top:9px;left:9px;border-width:1px 0 0 1px}
#dishes::after{bottom:9px;right:9px;border-width:0 1px 1px 0}
body[data-theme=france] #dishes::before,body[data-theme=france] #dishes::after{width:25px;height:25px;box-shadow:3px 3px 0 -2px var(--gold-color)}
body[data-theme=italie] #dishes{border-radius:20px 3px 20px 3px}
body[data-theme=italie] #dishes::before,body[data-theme=italie] #dishes::after{border-radius:12px 0}
.menu-ornament svg{display:block;width:min(100%,290px);height:58px;margin:0 auto 12px}
.seal-flower{width:43px;height:36px;right:0;bottom:0;display:grid;place-items:center}
.seal-flower svg{width:100%;height:100%}
#seal-open{border:3px double var(--gold-color);background:radial-gradient(circle at 35% 30%,var(--bg),var(--soft));box-shadow:0 0 0 4px #ffffff70,0 0 0 5px var(--gold-color),0 10px 25px #67494720}
@media(max-width:760px){
 .first-screen .scene-stage{margin-left:-22px;margin-right:-22px;width:calc(100% + 44px)}
 .floral-frieze:not(.hero-flourish) svg{height:40px}
 #schedule article{min-height:100px}
 #dishes{margin:6px;padding:20px 20px 28px}
 .hero-flourish svg{width:145px;height:26px}
}
/* Illustrations fournies : marges et contours fondus dans le fond de la page. */
.first-screen .scene-stage{margin-left:0;margin-right:0;width:100%;padding:0 12px}
.scene-stage>div{position:relative}
.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{object-fit:contain;border-radius:0;mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 9%,#000 91%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 9%,#000 91%,transparent);-webkit-mask-composite:source-in}
body[data-theme=france] .curtain-right{--curtain-light:#ffead7;--curtain-mid:#efbdab;--curtain-shadow:#dca58e}
body[data-theme=italie] .curtain-right{--curtain-light:#edf3ed;--curtain-mid:#b9cfda;--curtain-shadow:#8da7ad}
@media(max-width:760px){.first-screen .scene-stage{margin-left:0;margin-right:0;width:100%;padding:0 3px}}
.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{width:auto;max-width:100%;height:100%;margin:auto;aspect-ratio:1672/941}
.rsvp-cta{text-align:center;padding:8px 0 30px}
.rsvp-cta .button{border-radius:28px;padding:14px 28px}
.rsvp-modal-open{overflow:hidden}
#rsvp-dialog{width:min(560px,calc(100vw - 30px));max-height:90dvh;overflow:auto;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--bg);color:var(--ink)}
#rsvp-dialog::backdrop{background:#26332d99;backdrop-filter:blur(4px)}
.rsvp-content{padding:28px}
.rsvp-toolbar{display:flex;align-items:start;gap:15px;justify-content:space-between}
.rsvp-toolbar h2{font-size:29px;letter-spacing:-.5px}
.rsvp-toolbar button{font-size:27px;padding:0;min-width:36px;min-height:36px;border:1px solid var(--line);border-radius:50%;flex:none}
#rsvp-event{font-size:12px;color:var(--accent);margin:16px 0 24px}
.rsvp-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.rsvp-fields label{display:block;font-size:12px;margin-bottom:5px}
.rsvp-fields input{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);font:16px Arial,sans-serif}
.rsvp-note{font-size:12px;line-height:1.6}
#rsvp-submit{width:100%;margin-top:12px}
#rsvp-status{font-size:14px;color:var(--ink)}
#rsvp-status:empty{display:none}
@media(max-width:420px){.rsvp-content{padding:20px}.rsvp-fields{grid-template-columns:1fr}.rsvp-toolbar h2{font-size:25px}}
.shared-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.shared-photo{display:block;padding:0;overflow:hidden;border-radius:6px;border:1px solid var(--line);background:var(--soft);cursor:zoom-in}
.shared-photo img{display:block;width:100%;height:140px;object-fit:cover}
#admin-back{font-size:11px;color:var(--accent)}
[data-i18n]{white-space:pre-line}
@media(max-width:500px){.shared-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.shared-photo img{height:120px}}
#opening-date{font-family:Georgia,serif;font-size:clamp(20px,3vw,27px);line-height:1.5;margin:22px 0}
/* Boutons sobres, portrait agrandi et typographie uniforme des prénoms. */
button,.button,#tabs,#tabs button,.first-screen #tabs,.first-screen #tabs button,#skip-opening{border-radius:6px}
#seal-open,.logout-icon{border-radius:50%}
#names,#names em,#login h1,#login h1 em{font-family:Georgia,serif;font-style:normal}
#names em,#login h1 em{font-size:1em}
#login h1{font-size:44px}
.first-screen .couple-photo{width:clamp(125px,19svh,158px)}
#photo-gallery .gallery-toolbar h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.gallery-toolbar{justify-content:flex-end}
@media(max-width:760px){.first-screen .couple-photo{width:122px}.first-screen .couple-heading h1{font-size:clamp(22px,6vw,38px)}}
@media(max-width:360px){.first-screen .couple-photo{width:104px}.first-screen .couple-heading{gap:10px}.first-screen .couple-heading h1{font-size:21px}}
@media(max-height:500px){.first-screen .couple-photo{width:78px}.first-screen .couple-heading h1{font-size:28px}}
.gallery-toolbar button{flex:0 0 44px;margin-left:auto}
.gallery-toolbar button,.gallery-stage button,.rsvp-toolbar button,.logout-icon{border-radius:6px}
@media(max-width:600px){.gallery-toolbar button{flex-basis:36px}}
.rsvp-cta .button{border-radius:6px}

/* Sceaux AK et frises fournies, adaptés aux deux célébrations. */
#seal-open{width:144px;height:144px;padding:0;border:0;background-color:transparent;background-size:contain;background-position:center;background-repeat:no-repeat;box-shadow:none}
#seal-open .seal-monogram,#seal-open .seal-flower{display:none}
.floral-frieze img{display:block;width:min(100%,540px);height:auto;object-fit:contain}
.hero-flourish img{width:175px;height:32px;object-fit:contain}
.floral-frieze:not(.hero-flourish){padding-top:20px;padding-bottom:4px}
@media(max-width:760px){.hero-flourish img{width:145px;height:26px}.floral-frieze:not(.hero-flourish) img{max-width:100%}#seal-open{width:130px;height:130px}}

/* Noms centrés et accès discret au carrousel. */
.first-screen .couple-heading{flex-direction:column;align-items:center;gap:8px;text-align:center;width:100%}
.first-screen .couple-heading h1{width:100%;margin:0;text-align:center}
.first-screen .couple-open{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;flex:0 0 auto;border:0;border-radius:6px;background:transparent;color:var(--accent);cursor:pointer;opacity:.75;box-shadow:none}
.first-screen .couple-open:hover,.first-screen .couple-open:focus-visible{opacity:1;background:var(--soft)}
.first-screen .couple-open svg{display:block;width:23px;height:23px}

/* Album intégré et choix de célébration avant la phrase d’invitation. */
.hero-heading>.invitation{display:flex;justify-content:center;margin:18px auto 12px;padding:0;border:0}
.hero-heading>.invitation[hidden]{display:none}
.shared-photo{margin:0;cursor:default;background:transparent;border:0}
.shared-photo img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;border-radius:6px}
@media(max-width:500px){.shared-photos{grid-template-columns:1fr;gap:18px}.shared-photo img{height:auto;max-height:70svh}}

button.shared-photo{cursor:zoom-in;width:100%;padding:0;min-width:0}#tabs{min-width:min(100%,310px)}#tabs button{white-space:nowrap}

#page-drape{display:block;width:min(100%,680px);height:clamp(48px,11svh,88px);object-fit:contain;margin:0 auto 10px}
#invitation-opening[data-destination=france],#invitation-opening[data-destination=france] .curtain-right{--curtain-light:#ffead7;--curtain-mid:#efbdab;--curtain-shadow:#dca58e}
#invitation-opening[data-destination=italie],#invitation-opening[data-destination=italie] .curtain-right{--curtain-light:#edf3ed;--curtain-mid:#b9cfda;--curtain-shadow:#8da7ad}
#invitation-opening.closing .opening-card,#invitation-opening.closing #skip-opening{visibility:hidden;pointer-events:none}
#invitation-opening.closing .curtain{animation:curtain-arrive 1.8s both}
@keyframes curtain-arrive{0%{opacity:0}20%,100%{opacity:1}}

/* Drapé bord à bord et album présenté sous forme de pile. */
#page-drape{position:relative;left:50%;transform:translateX(-50%);width:var(--page-width,100%);max-width:none;height:clamp(80px,16vw,200px);object-fit:fill;margin:0 0 14px}
.shared-photos{display:flex;justify-content:center;padding:24px 18px 30px;overflow:visible}
button.shared-photo.photo-stack{position:relative;isolation:isolate;width:min(100%,260px);border:8px solid #fff;border-radius:3px;background:#fff;box-shadow:0 9px 24px #00000016;overflow:visible;transform:rotate(-3deg);transition:transform .25s ease}
.photo-stack::before,.photo-stack::after{content:'';position:absolute;inset:-8px;z-index:-1;background:#fff;border:1px solid var(--line);border-radius:3px;box-shadow:0 4px 12px #00000010;pointer-events:none}
.photo-stack::before{transform:translate(7px,5px) rotate(5deg)}
.photo-stack::after{transform:translate(-5px,2px) rotate(-4deg)}
.photo-stack img{position:relative;display:block;aspect-ratio:3/4;width:100%;height:auto;max-height:none;object-fit:cover;border-radius:1px;background:var(--soft)}
button.photo-stack:hover{transform:rotate(0deg) translateY(-3px)}
@media(prefers-reduced-motion:reduce){button.photo-stack{transition:none}}

.rsvp-cta{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.rsvp-message-field{grid-column:1/-1}.rsvp-message-field textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink);font:inherit;resize:vertical}

body[data-theme=roumanie]{--bg:#fffdf7;--soft:#f0eadf;--ink:#4c5147;--accent:#9d4c48;--line:#e3d9c8;--gold-color:#b59a68;--flower-color:#fffaf4;--leaf-color:#7c8b69;--petal-outline:#dfd2bd}
#invitation-opening[data-destination=roumanie],#invitation-opening[data-destination=roumanie] .curtain-right{--curtain-light:#fffefb;--curtain-mid:#eae5dc;--curtain-shadow:#c9c3b9}
body[data-theme=roumanie] .note{background:var(--soft);border:1px solid var(--line)}
#tabs{max-width:100%;min-width:0}#tabs button{flex:1;min-width:0;padding:10px 14px}
@media(max-width:500px){#tabs{width:100%}#tabs button{font-size:11px;padding:10px 6px}.hero-heading>.invitation{width:100%}}

.first-screen .couple-heading h1{font-size:clamp(34px,4.4vw,55px)}
#site main>header{align-items:center;flex-wrap:wrap;gap:18px}.guest-book-heading{flex:1 1 100%}.guest-book-heading h2{font-size:clamp(29px,3.4vw,38px)}.guest-book-heading .welcome-note{padding:0;max-width:650px}.guest-book-heading .welcome-note p{margin:12px 0 0}#site main>.rsvp-cta{padding:0 0 20px}
@media(max-width:760px){.first-screen .couple-heading h1{font-size:clamp(26px,7vw,42px)}}

/* Icônes communes : elles héritent du contraste et de la palette de chaque thème. */
.info-icon{display:inline-block;width:24px;height:24px;flex:0 0 auto;vertical-align:middle;margin-right:9px;color:inherit}.first-screen #tabs button{display:flex;align-items:center;justify-content:center;gap:7px}.first-screen #tabs .info-icon{width:27px;height:27px;margin:0}.rsvp-cta .button{display:flex;align-items:center;justify-content:center;gap:10px}.rsvp-cta .info-icon{width:27px;height:27px;margin:0}#venue .info-icon{color:var(--accent);width:30px;height:30px}.invitation-sentence .info-icon{width:20px;height:20px;color:var(--accent)}nav .info-icon{width:19px;height:19px;margin-right:5px}.language-bar .info-icon{width:19px;height:19px;margin-right:6px}.note h3 .info-icon{width:25px;height:25px;color:var(--accent)}
@media(max-width:480px){.first-screen #tabs button{flex-direction:column;gap:3px;padding:6px 4px}.first-screen #tabs .info-icon{width:23px;height:23px}.rsvp-cta .button{padding:12px 10px}.rsvp-cta .info-icon{width:23px;height:23px}}

/* Invitation illustrée pleine largeur et carte de célébration. */
#site main>.first-screen{display:block;padding-bottom:0;margin-bottom:0}.first-screen .hero-heading{padding-bottom:20px}.first-screen .scene-stage{position:relative;display:block;width:var(--page-width,100vw);height:auto;margin:0;left:50%;transform:translateX(-50%);padding:0}.scene-stage>div{height:auto}.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{display:block;width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:1672/941;object-fit:cover;margin:0;border:0;border-radius:0;box-shadow:none;mask-image:linear-gradient(to bottom,transparent,#000 12%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%);mask-composite:add;-webkit-mask-composite:source-over}.first-screen .scene-stage .invitation{position:absolute;bottom:-26px;left:50%;transform:translateX(-50%);width:calc(100% - 36px);max-width:900px;z-index:2;margin:0;padding:0}.first-screen #tabs{width:100%;min-width:0;background:var(--bg);border:1px solid var(--gold-color);box-shadow:0 4px 14px #00000014;padding:5px}.first-screen #tabs button{flex:1;min-width:0;flex-direction:row;padding:10px 8px}.marriage-card{text-align:center;position:relative;margin:52px auto 0;padding:30px 22px 32px;border:1px solid var(--line);background:linear-gradient(135deg,var(--bg),var(--soft),var(--bg));border-radius:6px;max-width:1000px}.marriage-eyebrow{font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:var(--accent);margin:0 0 10px}.marriage-card h2{font-size:clamp(36px,5vw,56px);color:var(--ink)}.marriage-rule{display:flex;align-items:center;gap:12px;justify-content:center;color:var(--gold-color);margin:18px auto;width:min(300px,70%)}.marriage-rule:before,.marriage-rule:after{content:'';height:1px;background:var(--gold-color);flex:1}.marriage-facts{display:grid;grid-template-columns:1fr 1fr;max-width:700px;margin:22px auto 28px}.marriage-fact{padding:0 18px}.marriage-fact+.marriage-fact{border-left:1px solid var(--line)}.marriage-fact .info-icon{width:30px;height:30px;margin:0;color:var(--accent)}.marriage-fact p{font:20px/1.5 Georgia,serif;color:var(--ink);margin:10px 0 0}.marriage-card #invitation-sentence{display:none}.marriage-card .rsvp-cta{padding:0;flex-wrap:nowrap;align-items:stretch}.marriage-card .rsvp-cta button{flex:1;max-width:340px}.guest-book-heading{text-align:center}.guest-book-heading .welcome-note{margin:auto}
@media(max-width:600px){.first-screen .scene-stage .invitation{width:calc(100% - 24px);bottom:-30px}.first-screen #tabs button{font-size:11px;gap:5px;padding:9px 4px}.first-screen #tabs .info-icon{width:24px;height:24px}.marriage-card{margin-top:56px;padding:25px 12px}.marriage-fact{padding:0 10px}.marriage-fact p{font-size:17px}.marriage-card .rsvp-cta{gap:10px}.marriage-card .rsvp-cta button{font-size:12px;padding:12px 9px}}

/* Nouveaux packs : superposition des prénoms et cadres transparents. */
.first-screen .hero-heading{padding:0}.first-screen #page-drape{height:clamp(80px,15vw,170px);object-fit:fill;margin:0;opacity:.85}.scene-stage .names-overlay{position:absolute;z-index:1;top:-28px;left:50%;transform:translateX(-50%);width:min(620px,74%);height:clamp(170px,24vw,310px);display:grid;place-items:center;padding:20px 0 40px;isolation:isolate;pointer-events:none}.names-overlay::before{content:'';position:absolute;inset:0;background:var(--name-wash) center/100% 100% no-repeat;opacity:.95;z-index:-1}.first-screen .names-overlay .couple-heading h1{font-size:clamp(37px,5.2vw,68px);line-height:1.04;letter-spacing:-1px}.names-overlay #names span,.names-overlay #names em{display:block}.names-overlay #names br{display:none}.names-overlay #names em{margin:8px 0 0;font-size:.9em}.scene-stage .names-overlay .couple-heading{gap:0}.marriage-card{isolation:isolate;padding-top:44px;padding-bottom:44px}.marriage-card::before,.marriage-card::after{content:'';position:absolute;top:0;bottom:0;width:clamp(80px,20%,190px);background:var(--frame-top) left top/100% auto no-repeat,var(--frame-bottom) left bottom/100% auto no-repeat;opacity:.42;z-index:-1;pointer-events:none}.marriage-card::before{left:0}.marriage-card::after{right:0;transform:scaleX(-1)}.marriage-rule{height:28px;width:min(330px,75%);font-size:0;background:var(--frame-separator) center/contain no-repeat}.marriage-rule::before,.marriage-rule::after{display:none}#site main{position:relative;isolation:isolate}#wedding-panel{position:relative;isolation:isolate}#wedding-panel::before,#wedding-panel::after{content:'';position:absolute;top:0;bottom:0;width:clamp(65px,18vw,230px);background:var(--frame-side) left 20%/100% auto no-repeat,var(--frame-flower) left bottom/100% auto no-repeat;opacity:.1;z-index:-1;pointer-events:none}#wedding-panel::before{left:-22px}#wedding-panel::after{right:-22px;transform:scaleX(-1)}#dishes{isolation:isolate;padding:35px 32px 60px}#dishes::before,#dishes::after,body[data-theme=france] #dishes::before,body[data-theme=france] #dishes::after{border:0;box-shadow:none;border-radius:0;width:110px;height:100%;top:0;bottom:0;background:var(--frame-top) left top/100% auto no-repeat,var(--frame-flower) left bottom/100% auto no-repeat;opacity:.3;z-index:-1}#dishes::before{left:0}#dishes::after{right:0;transform:scaleX(-1)}#dishes .menu-ornament{height:65px;background:var(--frame-emblem) center/contain no-repeat;opacity:.65;margin-bottom:12px}#dishes .menu-ornament svg{display:none}
@media(max-width:600px){.scene-stage .names-overlay{top:-20px;width:75%;height:170px;padding:12px 0 30px}.first-screen .names-overlay .couple-heading h1{font-size:36px}.names-overlay #names em{margin-top:4px}.marriage-card{padding-top:36px}.marriage-card::before,.marriage-card::after{opacity:.32}#dishes{padding:30px 25px 55px}}

/* Ouverture illustrée sans frise, monogramme sur trois lignes. */
#site main>.first-screen{padding-top:0}.first-screen .hero-heading{display:none}.scene-stage .names-overlay{top:0;height:clamp(230px,29vw,380px);padding:18px 0 24px;width:min(620px,78%)}.names-overlay .couple-heading{display:flex;flex-direction:column;align-items:center;gap:0}.names-emblem{display:block;width:clamp(35px,5vw,64px);height:clamp(35px,5vw,64px);background:var(--frame-emblem) center/contain no-repeat;margin-bottom:8px}.first-screen .names-overlay .couple-heading h1{font-size:clamp(33px,4.8vw,63px);line-height:1}.names-overlay #names span:nth-child(2){font-size:.6em;color:var(--accent);line-height:1.15;margin:4px 0}.names-overlay #names em{margin:0;font-size:1em}.language-bar label[for=language]{display:flex;align-items:center}.language-bar label[for=language] .info-icon{margin:0;width:21px;height:21px}
@media(max-width:600px){.scene-stage .names-overlay{top:-3px;height:220px;width:80%;padding:8px 0 14px}.names-emblem{height:34px;width:34px;margin-bottom:4px}.first-screen .names-overlay .couple-heading h1{font-size:34px}.names-overlay #names span:nth-child(2){margin:2px 0}.first-screen .scene-stage img{aspect-ratio:1.1;object-fit:cover;object-position:center}}

/* Prénoms sur une ligne et image alignée au contenu sur ordinateur. */
.first-screen .names-overlay .couple-heading h1{display:flex;justify-content:center;align-items:baseline;gap:.2em;white-space:nowrap;font-size:clamp(26px,4vw,52px);letter-spacing:-1px}.names-overlay #names span,.names-overlay #names em{display:inline;margin:0;font-size:1em}.names-overlay #names span:nth-child(2){font-size:.85em;margin:0;line-height:1}.scene-stage .names-overlay{width:min(740px,96%);height:clamp(160px,22vw,260px);padding:14px 5px 22px}
@media(min-width:761px){.first-screen .scene-stage{width:100%;left:auto;transform:none;margin:0 auto}.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{mask-image:linear-gradient(to bottom,transparent,#000 12%),linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);mask-composite:intersect;-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%),linear-gradient(to right,transparent,#000 7%,#000 93%,transparent);-webkit-mask-composite:source-in}}
@media(max-width:600px){.first-screen .names-overlay .couple-heading h1{font-size:clamp(25px,7vw,32px);gap:.15em;letter-spacing:-.7px}.scene-stage .names-overlay{height:160px;width:96%;padding:8px 4px 18px}}

/* Carte à deux volets articulés, conservant les palettes et les sceaux. */
#site main>.first-screen{padding-top:72px}.scene-stage .names-overlay{top:-95px}.marriage-card{padding:25px 18px 24px;margin-top:44px}.marriage-card h2{font-size:clamp(31px,4.2vw,44px)}.marriage-eyebrow{font-size:9px;margin-bottom:6px}.marriage-rule{margin:10px auto;height:20px}.marriage-facts{margin:13px auto 17px}.marriage-fact p{font-size:18px;line-height:1.35;margin-top:6px}.marriage-fact .info-icon{width:25px;height:25px}.marriage-card .rsvp-cta button{padding:11px 14px;font-size:11px}
#invitation-opening{perspective:1600px;--left-angle:0deg;--right-angle:0deg;--panel-opacity:1}#invitation-opening .curtain{width:50%;background:linear-gradient(135deg,var(--curtain-light),var(--curtain-mid));border:1px solid var(--gold-color);box-shadow:inset 0 0 0 8px #ffffff33,0 0 25px #00000016;backface-visibility:hidden;transform-style:preserve-3d;transition:none;animation:none;opacity:var(--panel-opacity);will-change:transform}#invitation-opening .curtain svg{display:none}#invitation-opening .curtain-left,#invitation-opening.opening .curtain-left{left:0;transform-origin:left center;transform:rotateY(var(--left-angle));animation:none}#invitation-opening .curtain-right,#invitation-opening.opening .curtain-right{right:0;transform-origin:right center;transform:rotateY(var(--right-angle));animation:none}#invitation-opening .curtain::before,#invitation-opening .curtain::after{content:'';display:block;position:absolute;width:clamp(100px,28vw,330px);height:clamp(120px,30vw,350px);background-repeat:no-repeat;background-size:contain;opacity:.3;pointer-events:none;box-shadow:none}#invitation-opening .curtain::before{top:14px;left:14px;background-image:var(--card-top)}#invitation-opening .curtain::after{bottom:14px;left:14px;right:auto;inset:auto auto 14px 14px;background-image:var(--card-bottom);background-position:left bottom}#invitation-opening .curtain-right::before,#invitation-opening .curtain-right::after{left:auto;right:14px;transform:scaleX(-1)}.card-emblem{display:block;margin:0 auto 20px;width:80px;height:80px;background:var(--card-emblem) center/contain no-repeat;opacity:.85}.opening-card h2{font-size:clamp(30px,4.8vw,48px)}
@media(max-width:600px){#site main>.first-screen{padding-top:55px}.scene-stage .names-overlay{top:-65px}.marriage-card{padding:22px 12px;margin-top:44px}.marriage-fact p{font-size:15px}.marriage-card h2{font-size:33px}.card-emblem{width:60px;height:60px;margin-bottom:15px}}

/* Fondus plus légers et séparateurs propres à chaque thème. */
.names-overlay::before{opacity:.76}.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),#000 7%);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),#000 7%)}.names-separator,.card-separator{display:block;flex:none;width:min(260px,65%);height:25px;margin:12px auto 0;background-position:center;background-size:contain;background-repeat:no-repeat;opacity:.85}.names-separator{background-image:var(--frame-separator)}.card-separator{background-image:var(--card-separator);margin:16px auto 0;width:min(290px,72%)}
@media(min-width:761px){.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),#000 7%),linear-gradient(to right,rgba(0,0,0,.3),#000 4%,#000 96%,rgba(0,0,0,.3));-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.45),#000 7%),linear-gradient(to right,rgba(0,0,0,.3),#000 4%,#000 96%,rgba(0,0,0,.3));mask-composite:intersect;-webkit-mask-composite:source-in}}
@media(max-width:600px){.names-separator{height:19px;margin-top:8px;width:55%}.card-separator{height:22px;margin-top:12px}}

/* Typographie commune : seules les graisses 400, 700 et Montserrat 500 sont chargées. */
body,h1,h2,h3,h4,p,small,button,.button,input,textarea,select,label,nav,header,footer,header small,.illustration p,.france-visual p,.italy-visual p,#names,#names em,#login h1,#login h1 em,.opening-card h2,.marriage-fact p,.seal-monogram,.rsvp-fields input{font-family:'Libre Baskerville',Georgia,serif;font-weight:400}strong,b{font-weight:700}button[aria-selected=true],button[aria-pressed=true]{font-weight:700}#marriage-title{font-family:'Montserrat',Arial,sans-serif;font-weight:500;text-transform:uppercase;letter-spacing:.3em;font-size:clamp(23px,3.1vw,34px);line-height:1.45;padding-left:.3em;overflow-wrap:normal}.marriage-fact p{line-height:1.5}.rsvp-cta .button{line-height:1.5}.first-screen #tabs button{line-height:1.4}.first-screen .names-overlay .couple-heading h1{font-size:clamp(24px,3.6vw,46px)}
@media(max-width:600px){.first-screen .names-overlay .couple-heading h1{font-size:clamp(22px,6.1vw,29px);letter-spacing:-.8px}#marriage-title{font-size:clamp(20px,5vw,25px)}.marriage-fact p{font-size:14px}.marriage-card .rsvp-cta button{font-size:11px;padding:11px 8px}.first-screen #tabs button{font-size:10px}.first-screen #tabs .info-icon{width:21px;height:21px}.opening-card h2{font-size:clamp(25px,7vw,38px)}}

/* Cadrage mobile sans recadrage latéral et espace réservé aux ornements. */
.scene-stage .names-overlay{top:-108px}.marriage-card .rsvp-cta{width:84%;max-width:600px;margin:0 auto;gap:12px}.marriage-card .rsvp-cta button{min-width:0;max-width:285px}
@media(max-width:760px){.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img{width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;object-position:center}.scene-stage .names-overlay{top:-78px;height:150px}.marriage-card .rsvp-cta{width:82%;gap:9px}.marriage-card .rsvp-cta button{padding:10px 7px;font-size:10px;gap:6px}.marriage-card .rsvp-cta .info-icon{width:19px;height:19px}}

@media(max-width:760px){.first-screen .scene-stage{width:calc(100% + 44px);left:50%;transform:translateX(-50%)}.first-screen .scene-stage img,body[data-theme=france] .first-screen .scene-stage img,body[data-theme=italie] .first-screen .scene-stage img{width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain;object-position:center}}

.scene-stage img,body[data-theme=france] .scene-stage img,body[data-theme=italie] .scene-stage img,.first-screen .scene-stage img,body[data-theme=france] .first-screen .scene-stage img,body[data-theme=italie] .first-screen .scene-stage img{aspect-ratio:auto;height:auto;object-fit:contain}

.opening-card .seal-instruction{font-size:11px;letter-spacing:.08em;margin:20px 0 8px;color:var(--ink);animation:seal-instruction-appear 1.4s ease .65s both}#invitation-opening.opening .seal-instruction,#invitation-opening.closing .seal-instruction{visibility:hidden}@keyframes seal-instruction-appear{from{opacity:0;transform:translateY(5px)}to{opacity:.7;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.opening-card .seal-instruction{animation:none;opacity:.7}}



#emergency-message{display:block;margin:48px auto 0;padding:19px 24px;max-width:1000px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:5px;background:var(--soft);color:var(--ink);letter-spacing:normal;font-size:14px}#emergency-message h2{font-size:22px;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}#emergency-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:var(--ink)}#emergency-message:not([hidden])+.marriage-card{margin-top:22px}@media(max-width:600px){#emergency-message{padding:16px 18px}#emergency-message h2{font-size:19px}}

/* Avoid the native touch highlight around the transparent seal image. */
#seal-open{-webkit-tap-highlight-color:transparent;appearance:none;-webkit-appearance:none}
#seal-open:focus:not(:focus-visible){outline:none;box-shadow:none}
#seal-open:focus-visible{outline:2px solid var(--gold-color);outline-offset:7px}

.additional-location{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.additional-location h3{display:flex;align-items:center;gap:10px;font-size:22px}.additional-location .info-icon{width:24px;height:24px;flex-shrink:0}.additional-location p{overflow-wrap:anywhere}

/* Keep all guest navigation links on one row on phones. */
@media(max-width:760px){#site main>header nav{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;width:100%;gap:clamp(2px,.8vw,6px);font-size:clamp(8px,2.4vw,11px)}#site main>header nav a{display:inline-flex;align-items:center;flex:0 0 auto;white-space:nowrap;gap:clamp(2px,.6vw,4px);min-height:44px;line-height:1.3}#site main>header nav .info-icon{width:clamp(10px,3vw,14px);height:clamp(10px,3vw,14px);margin:0}}
