@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--emerald:#123f34;--deep:#092d26;--soft-green:#526a59;--orange:#b6603d;--gold:#bb9a61;--ivory:#faf5ea;--paper:#fffaf0;--white:#fffdf8;--ink:#263a31;--muted:#6d786e;--line:#e3d8c3;--shadow:0 22px 70px #2a201a15;--serif:'Cormorant Garamond',Georgia,serif;--sans:'DM Sans',system-ui,-apple-system,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#f0e8d7;font-family:var(--sans);font-size:14px;line-height:1.65}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #c77b42;outline-offset:3px} [hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
h1,h2,h3,p{margin-top:0}.primary-button{border:1px solid var(--emerald);display:inline-flex;align-items:center;justify-content:center;gap:22px;border-radius:100px;padding:15px 25px;background:var(--emerald);color:var(--white);font-weight:600;letter-spacing:.06em;font-size:12px;transition:background .25s,transform .2s;box-shadow:0 11px 29px #143f3123}.primary-button:hover{background:var(--deep);transform:translateY(-2px)}.outline-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b0bcab;border-radius:100px;background:transparent;color:var(--emerald);font-weight:600;font-size:12px;padding:14px 22px}.outline-button:hover{background:#f0f1e8}.small-button{font-size:11px;padding:12px 16px;min-height:45px}.wide-button{width:100%;min-height:50px}.text-button{padding:9px 0;color:var(--emerald);border:0;background:transparent;text-decoration:underline;text-underline-offset:5px}
/* L'ouverture du livre */
.cover-screen{min-height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:28px 18px 40px;background:radial-gradient(ellipse at 50% -10%,#eee3cb,transparent 50%),repeating-linear-gradient(45deg,transparent 0 35px,#aa95510c 35px 36px),#e8decd;perspective:1600px;position:relative;isolation:isolate;overflow:hidden}
.cover-screen::before,.cover-screen::after{content:'❧';position:absolute;font:160px Georgia,serif;color:#7d825d18;pointer-events:none}.cover-screen::before{left:-20px;top:0;transform:rotate(-25deg)}.cover-screen::after{bottom:-110px;right:-10px;transform:rotate(150deg)}.cover-book-scene{height:min(70svh,700px);aspect-ratio: .81;max-width:calc(100vw - 52px);position:relative;filter:drop-shadow(13px 22px 22px #251f214a);z-index:1;perspective:1400px}.book-back{position:absolute;inset:0;border-radius:7px 16px 16px 7px;background:repeating-linear-gradient(0deg,#d7c49e 0 2px,#efe3cd 2px 5px);box-shadow:10px 4px 0 #eee0bd,13px 4px 0 #143f34,0 0 0 3px #184537;transform:translate(7px,4px)}.book-front{position:absolute;inset:0;border-radius:7px 14px 14px 7px;overflow:hidden;box-shadow:inset 22px 0 30px #051b1663, 0 0 0 3px #0a2f25;border:1px solid #c4aa6c;transform-origin:left center;transform-style:preserve-3d;backface-visibility:hidden;background:var(--deep);transition:transform 1.25s cubic-bezier(.44,.02,.21,1),opacity 1.15s .25s;isolation:isolate}.book-front::after{content:'';position:absolute;inset:15px;border:1px solid #e1bb7e9e;border-radius:2px 9px 9px 2px;z-index:3;pointer-events:none}.cover-screen.opening .book-front{transform:rotateY(-135deg);opacity:.18}.cover-screen.opening .open-area{opacity:0;transform:translateY(10px)}.cover-photo{position:absolute;inset:0;background:url('assets/tradition.webp') center 34%/cover;filter:grayscale(.14) saturate(.87)}.cover-shading{position:absolute;inset:0;background:linear-gradient(180deg,#06291d88 0%,#072d23c4 25%,#06271c50 45%,#09291b7c 70%,#071b16dd 100%);mix-blend-mode:multiply}.cover-type{position:absolute;z-index:4;top:12%;left:8%;right:8%;text-align:center;color:#fff9e9;text-shadow:0 3px 14px #000a}.cover-overline{font-size:9px;letter-spacing:.31em;font-weight:600;color:#eee5d2}.cover-type h1{margin:13px auto 12px;font:500 clamp(45px,5vw,67px)/.92 var(--serif);letter-spacing:-.025em}.cover-type h1 em{font-weight:400;color:#f2d8ad}.cover-hr{display:block;width:80px;margin:18px auto 15px;border-top:1px solid #dabb80}.cover-type p{font:italic 35px var(--serif);margin:0}.cover-type p span{color:#f5bd8e}.cover-type small{letter-spacing:.2em;font-size:9px}.top-ornament,.cover-bottom{position:absolute;z-index:4;color:#f9e8be;text-align:center;left:15px;right:15px;letter-spacing:.27em;font-size:9px}.top-ornament{top:22px}.cover-bottom{bottom:25px}.open-area{text-align:center;z-index:3;transition:opacity .5s,transform .5s}.open-button{padding:15px 30px;background:var(--orange);border-color:var(--orange);min-width:230px;box-shadow:0 10px 22px #ad6f4b2a}.open-button:hover{background:#964626}.opening-hint{font-size:10px;letter-spacing:.08em;color:#697068;margin:9px 0 0}
/* Livre ouvert */
.site{min-height:100svh;--offset-top:117px}.site-topbar{position:sticky;top:0;z-index:20;background:#fcf8efee;backdrop-filter:blur(17px);border-bottom:1px solid #dcd3c1}.masthead{min-height:66px;max-width:1210px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.mini-brand{background:none;border:none;display:flex;align-items:center;gap:11px;color:var(--emerald);font:italic 20px var(--serif);white-space:nowrap}.brand-seal{font:600 16px var(--serif);width:38px;height:38px;border-radius:50%;border:1px solid var(--gold);display:grid;place-items:center;letter-spacing:-.07em}.brand-seal span{color:var(--orange)}.brand-seal{white-space:nowrap;font-size:12px;letter-spacing:-.05em}.top-center{letter-spacing:.24em;font-size:9px;font-weight:600;color:#7b775f}.top-center span{color:var(--orange)}.sound-button{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--white);border-radius:100px;padding:9px 14px;color:var(--emerald);font-size:10px;letter-spacing:.04em;white-space:nowrap}.sound-icon{font-size:16px;line-height:1}.sound-button[aria-pressed="true"] .sound-icon{animation:soundPulse 2.6s infinite}@keyframes soundPulse{0%,100%{opacity:1}50%{opacity:.5}}
.chapter-tabs{display:flex;justify-content:center;gap:7px;overflow-x:auto;scrollbar-width:none;padding:7px 20px 12px;max-width:1200px;margin:auto}.chapter-tabs::-webkit-scrollbar{display:none}.chapter-tabs button{background:transparent;border:1px solid transparent;border-radius:100px;padding:7px 10px;font-size:10px;white-space:nowrap;color:#767a6b;display:flex;align-items:center;gap:6px}.chapter-tabs button span{font-weight:600}.chapter-tabs button.selected{border-color:#cad8c7;background:#e9eee4;color:var(--emerald)}.chapter-tabs button:hover:not(.selected){background:#f1eadf}
.paper-surround{min-height:calc(100svh - 205px);max-width:1270px;margin:27px auto 18px;padding:0 22px;position:relative}.page-paper{background:radial-gradient(circle at 17% 7%,#fffef9 0%,transparent 58%),radial-gradient(circle at 88% 91%,#f3e9d7 0%,transparent 55%),var(--paper);border:1px solid #d5c7ac;border-radius:6px 24px 24px 6px;position:relative;box-shadow:var(--shadow), inset 18px 0 26px #b6a58819;min-height:650px;overflow:hidden;padding:25px clamp(23px,5vw,68px) 17px}.page-paper::after{content:'';position:absolute;inset:10px;border:1px solid #d8c29881;border-radius:3px 15px 15px 3px;pointer-events:none}.book-binding{position:absolute;left:14px;top:10px;bottom:10px;width:22px;background:linear-gradient(90deg,#275a43 0,#164033 36%,#b9a167 38%,#193c30 46%,#f9edda 90%);border-radius:3px;box-shadow:3px 3px 10px #0002;z-index:2}.page-topline,.page-footer-line{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.21em;color:#a18a69;position:relative;z-index:1}.page-topline{padding:0 4px 16px;border-bottom:1px solid var(--line)}.page-footer-line{padding:14px 4px 0;border-top:1px solid var(--line)}.chapter-container{position:relative;z-index:1}.chapter{display:none;padding:40px 0 38px;min-height:540px;animation:pageAppear .4s ease both}.chapter.visible{display:block}.chapter.exiting{animation:pageTurn .25s ease-in both;pointer-events:none}@keyframes pageAppear{from{opacity:0;transform:perspective(800px) rotateY(-6deg) translateX(15px)}to{opacity:1;transform:none}}@keyframes pageTurn{to{opacity:.12;transform:perspective(800px) rotateY(-16deg) translateX(-10px)}}.chapter-marker{font-size:10px;color:var(--orange);letter-spacing:.22em;font-weight:700;text-align:center}.chapter h2{font:500 clamp(42px,5vw,65px)/1.0 var(--serif);color:var(--emerald);text-align:center;margin:13px 0 10px;letter-spacing:-.035em}.chapter h2 em{color:var(--orange);font-weight:400}.chapter-subtitle{font:italic clamp(18px,2vw,22px)/1.4 var(--serif);color:#727d71;max-width:660px;text-align:center;margin:0 auto 35px}.mini-kicker{font-size:9px;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:var(--orange)}.big-quote{font:italic clamp(25px,3vw,37px)/1.21 var(--serif);color:var(--emerald)}.tiny-note{font-size:11px;color:#9a8f7c;font-style:italic}.story-layout{display:grid;grid-template-columns:.91fr 1fr;align-items:center;gap:clamp(25px,5vw,75px);max-width:1010px;margin:0 auto}.story-photography{position:relative;padding:13px 13px 8px 7px}.story-photography::before{content:'';position:absolute;inset:27px 0 0 25px;border:1px solid #cdb58f;border-radius:190px 190px 8px 8px}.story-photography img{position:relative;border-radius:180px 180px 5px 5px;width:100%;height:390px;object-fit:cover;object-position:50% 42%;filter:contrast(1.02)}.photo-corner{position:absolute;bottom:26px;left:17px;background:#faf6eddc;padding:6px 10px;color:var(--emerald);font:italic 16px var(--serif)}.story-text{max-width:470px}.story-text p:not(.big-quote){font-size:13px;line-height:1.85;color:#5a675d}.story-text .big-quote{margin:14px 0 20px}.story-text strong{color:var(--emerald)}.calligraphy{font:italic 25px var(--serif);color:var(--orange)}
.portrait-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;max-width:1030px;margin:auto}.profile-card{display:grid;grid-template-columns:48% 52%;background:#f8f3e9;border:1px solid #e1d8c6;border-radius:5px;overflow:hidden;min-height:345px}.profile-image{position:relative;overflow:hidden}.profile-image img{width:100%;height:100%;min-height:345px;object-fit:cover;object-position:center 20%}.profile-image-tag{position:absolute;left:12px;bottom:15px;color:#fff;background:#123f34e1;font-size:10px;padding:5px 10px;letter-spacing:.15em}.profile-text{display:flex;flex-direction:column;justify-content:center;padding:24px 22px}.profile-text h3{font:italic 51px var(--serif);color:var(--emerald);margin:6px 0 16px}.profile-text p{font:italic 19px/1.3 var(--serif);color:#4c6255}.profile-text small{font-size:10px;color:#978b79;line-height:1.6}.little-line{width:36px;height:1px;background:var(--gold);margin:8px 0 13px}.soft-footer{text-align:center;color:#9c8a77;font:italic 20px var(--serif);margin:28px 0 0}
.together-main{display:grid;grid-template-columns:1.1fr .85fr;gap:clamp(25px,4vw,65px);max-width:1060px;margin:auto;align-items:center}.mosaic{display:grid;grid-template-columns:1.15fr .8fr;grid-template-rows:183px 183px;gap:8px}.mosaic-photo{padding:0;border:0;overflow:hidden;background:#e0d4bc;position:relative;border-radius:4px}.mosaic-photo.tall{grid-row:span 2}.mosaic-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.mosaic-photo:hover img{transform:scale(1.05)}.together-copy h3{font:italic clamp(48px,5.7vw,78px)/.85 var(--serif);color:var(--emerald);margin:18px 0 20px}.together-copy h3 i{color:var(--orange)}.together-copy p{color:#5a665b;font-size:13px;line-height:1.9}.together-copy strong{color:var(--emerald)}.quote-divider{font-size:24px;color:var(--gold)}.together-copy .together-quote{font:italic 25px var(--serif);color:var(--orange)}
.vision-feature{display:grid;grid-template-columns:.56fr 1fr;gap:35px;align-items:center;background:#f2eee5;border:1px solid #e4d8c7;max-width:990px;margin:auto;overflow:hidden}.vision-photo{height:224px;overflow:hidden}.vision-photo img{width:100%;height:100%;object-fit:cover;object-position:center 28%}.vision-feature-copy{padding:20px 29px 20px 0}.vision-feature-copy .big-quote{font-size:clamp(24px,3vw,32px);margin:12px 0}.vision-feature-copy p:last-child{font-size:12px;line-height:1.75;color:#647367}.values-grid{max-width:990px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:19px auto 0}.values-grid article{border-top:1px solid #cbb88f;padding:16px 15px 0}.values-grid article span{color:var(--orange);font-size:10px;letter-spacing:.15em}.values-grid article h3{font:italic 31px var(--serif);color:var(--emerald);margin:6px 0 4px}.values-grid article p{font-size:11px;color:#6b7568}
.invitation-fold{display:grid;grid-template-columns:.63fr 1fr;max-width:940px;margin:auto;min-height:400px;background:var(--white);box-shadow:0 15px 45px #251f1712;border:1px solid #d6c6ac}.invite-visual{background:#113e31;display:flex;flex-direction:column;align-items:center;color:#e9d7ae;padding:18px;position:relative;overflow:hidden}.invite-visual img{width:100%;height:100%;max-height:395px;object-fit:cover;object-position:center 36%;filter:grayscale(1);opacity:.89}.invite-visual:after{content:'';position:absolute;inset:0;border:10px solid #1a4c3c40;pointer-events:none}.mini-ornament{font:italic 21px var(--serif);text-align:center;letter-spacing:.12em;margin-bottom:10px}.invite-visual>span{font-size:10px;letter-spacing:.16em;padding-top:11px}.invitation-details{padding:29px clamp(22px,3.4vw,51px)}.letter-overline{letter-spacing:.25em;font-size:10px;color:var(--orange);font-weight:700}.invitation-details h3{font:500 51px/.9 var(--serif);color:var(--emerald);margin:10px 0 12px}.invitation-details h3 em{color:var(--orange)}.invite-family{font:italic 19px/1.32 var(--serif);color:#6a786d;margin-bottom:20px}.date-feature{display:flex;gap:18px;align-items:center;padding:14px 0;border-top:1px solid #e5ddce;border-bottom:1px solid #e5ddce}.date-feature>strong{font:500 56px/.8 var(--serif);color:var(--orange)}.date-feature b,.date-feature small{display:block}.date-feature b{letter-spacing:.12em;font-size:13px;color:var(--emerald)}.date-feature small{font-size:12px;color:#788373}.place-feature{color:var(--emerald);font-weight:600;font-size:13px;margin-top:16px}.place-feature span{color:#788274;font-weight:400;font-size:12px;padding-left:18px}.route-short{font-size:11px;color:#8c8578;margin:9px 0 11px}.countdown-row{display:flex;gap:17px;border-top:1px solid #e9e2d4;padding-top:13px;margin-top:13px}.countdown-row div{display:flex;flex-direction:column;align-items:flex-start}.countdown-row strong{font:600 23px var(--serif);color:var(--emerald)}.countdown-row span{font-size:9px;letter-spacing:.04em;color:#8a8f84}.invite-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}.personal-greeting{text-align:center;color:var(--orange);font:italic 25px var(--serif)}.personal-link{max-width:940px;margin:13px auto 0;font-size:12px;color:var(--emerald);border-bottom:1px solid var(--line);padding:10px}.personal-link summary{cursor:pointer}.inline-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin-top:12px}.inline-form label{font-size:11px}.inline-form input{display:block;width:min(300px,70vw);margin-top:7px;padding:11px;border:1px solid var(--line);border-radius:7px}.form-status{font-size:11px;color:#6c786c;line-height:1.55;margin:10px 0 0}
.form-layout{display:grid;grid-template-columns:.82fr 1fr;max-width:910px;margin:auto;border:1px solid #d9ccb6;background:#fffdf9;box-shadow:0 10px 35px #0000000a}.form-side{position:relative;min-height:480px;overflow:hidden}.form-side>img{width:100%;height:100%;object-fit:cover;object-position:center 28%}.form-side:after{position:absolute;inset:0;content:'';background:linear-gradient(0deg,#092f25ee,transparent 60%)}.form-side-overlay{position:absolute;bottom:25px;left:22px;right:22px;color:#fffdf7;z-index:2}.form-side-overlay p{font:italic 30px/1.05 var(--serif);margin:11px 0}.form-side-overlay span{font-size:11px;letter-spacing:.13em;color:#ead4ae}.kicker-light{font-size:10px;letter-spacing:.14em;color:#edd4b3}.rsvp-panel{padding:30px 38px}.rsvp-panel h3,.guestbook-form-card h3,.guestbook-posts h3{font:italic 39px var(--serif);color:var(--emerald);margin:8px 0 18px}.rsvp-panel label,.guestbook-form-card label{display:block;color:#52695a;font-size:11px;font-weight:700;margin:11px 0 5px}.rsvp-panel label span,.guestbook-form-card label span{color:var(--orange)}.rsvp-panel input,.rsvp-panel select,.rsvp-panel textarea,.guestbook-form-card input,.guestbook-form-card textarea{width:100%;border:1px solid #d6dacc;background:#fffefa;color:var(--ink);border-radius:5px;padding:11px 12px;font-size:13px;min-height:41px;outline-offset:1px}.rsvp-panel textarea,.guestbook-form-card textarea{resize:vertical}.rsvp-panel button{margin-top:18px}.guestbook-form-card{border:1px solid #e1d7c4;padding:27px 28px;background:#fffbf5;box-shadow:0 9px 30px #161e1408}.guestbook-layout{max-width:1030px;display:grid;grid-template-columns:.87fr 1fr;gap:33px;margin:0 auto;align-items:start}.guestbook-form-card h3,.guestbook-posts h3{font-size:33px}.guestbook-form-card button{margin-top:12px}.guestbook-messages{display:grid;gap:11px;max-height:400px;overflow-y:auto}.empty-messages{border:1px dashed #c5c9b6;background:#f7f4e9;min-height:255px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:26px}.empty-messages span{color:var(--gold);font:46px var(--serif)}.empty-messages p{max-width:290px;color:#7d8375;font:italic 19px var(--serif)}.guest-message{background:#fffdf8;border:1px solid #e4dbc7;padding:17px 19px;border-left:3px solid #bda166}.guest-message-header{display:flex;justify-content:space-between;gap:10px;align-items:center;color:var(--emerald)}.guest-message-header b{font:italic 22px var(--serif)}.guest-message-header time{font-size:10px;color:#958675}.guest-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;color:#556358;font-size:12px}.letter-count{text-align:right;color:#9a9384;font-size:10px}.moderation-note{font-size:10px;line-height:1.5;color:#8d897c;margin-top:12px}.last-page{text-align:center;margin:27px auto 0;color:var(--orange)}.last-page span{font-size:32px}.last-page p{font:italic 25px var(--serif);margin:0 0 2px}.last-page small{font-size:11px;letter-spacing:.11em}
.chapter-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;max-width:1150px;margin:0 auto;padding:12px 24px 20px}.page-control{border:1px solid #bfc8b5;background:#fffaf0;color:var(--emerald);padding:11px 18px;border-radius:100px;font-size:12px;display:flex;align-items:center;gap:10px;min-width:165px;justify-content:center}.page-control:hover{background:#e5eddf}.page-control:disabled{opacity:.35;cursor:default}.chapter-progress{text-align:center;font-size:9px;letter-spacing:.16em;color:#8e7f68;min-width:150px}.progress-rail{background:#d8d2c1;height:3px;border-radius:10px;overflow:hidden;margin-top:8px}.progress-rail span{height:100%;background:var(--orange);display:block;transition:width .3s}.site-bottom{text-align:center;font-size:10px;letter-spacing:.08em;color:#988976;padding-bottom:24px}.site-bottom span{color:var(--orange);padding:0 7px}
.photo-dialog{border:0;padding:10px;background:#fbf6ee;max-width:min(94vw,820px);max-height:94svh;border-radius:5px;box-shadow:0 20px 70px #000a}.photo-dialog::backdrop{background:#081d19d9}.photo-dialog img{max-height:76svh;max-width:100%;margin:auto}.photo-dialog p{text-align:center;font:italic 21px var(--serif);color:var(--emerald);margin:9px}.dialog-close{position:absolute;top:12px;right:12px;background:#fefdf7;padding:5px 9px;color:var(--emerald);border:1px solid var(--line);border-radius:100px}
@media(max-width:1020px){.top-center{display:none}.chapter-tabs{justify-content:flex-start}.portrait-grid{gap:12px}.profile-card{grid-template-columns:45% 55%}.profile-text{padding:19px 14px}.profile-text h3{font-size:42px}.profile-text p{font-size:17px}}
@media(max-width:720px){.site{--offset-top:104px}.masthead{padding:0 14px;min-height:62px}.mini-brand{font-size:18px}.brand-seal{width:34px;height:34px}.sound-button{padding:8px 10px;font-size:10px}.sound-button #sound-label{display:none}.chapter-tabs{padding:7px 9px 10px;gap:1px}.chapter-tabs button{font-size:10px;padding:7px 10px}.chapter-tabs button span{font-size:10px}.paper-surround{padding:0 8px 0 15px;margin:12px auto 4px;min-height:0}.book-binding{left:7px;width:12px;top:6px;bottom:6px}.page-paper{min-height:70svh;padding:18px 19px 10px;border-radius:4px 12px 12px 4px;box-shadow:0 9px 22px #342b1d1c}.page-paper::after{inset:5px}.page-topline,.page-footer-line{font-size:7px;letter-spacing:.15em}.page-topline{padding-bottom:11px}.chapter{padding:29px 0 25px;min-height:540px}.chapter-marker{font-size:8px;letter-spacing:.17em}.chapter h2{font-size:clamp(37px,10vw,54px);line-height:1.02;margin:11px 0}.chapter-subtitle{font-size:19px;margin-bottom:24px}.story-layout,.together-main,.guestbook-layout{grid-template-columns:1fr;gap:24px}.story-photography{padding:9px 18px 0;max-width:415px;width:100%;margin:auto}.story-photography::before{inset:25px 9px -6px 39px}.story-photography img{height:285px;object-position:center 38%;border-radius:140px 140px 5px 5px}.story-text{max-width:none}.story-text .big-quote{font-size:28px}.story-text p:not(.big-quote){font-size:12px}.portrait-grid{grid-template-columns:1fr;gap:15px}.profile-card{min-height:210px}.profile-image img{min-height:255px;height:255px}.profile-text h3{font-size:43px}.profile-text p{font-size:18px}.soft-footer{font-size:19px}.mosaic{grid-template-rows:154px 154px;max-width:480px;width:100%;margin:auto}.together-copy h3{font-size:52px;margin:14px 0}.together-copy p{font-size:12px}.vision-feature{grid-template-columns:1fr}.vision-photo{height:240px}.vision-feature-copy{padding:15px 22px 24px}.vision-feature-copy .big-quote{font-size:29px}.values-grid{grid-template-columns:1fr;gap:4px;margin-top:17px}.values-grid article{padding:10px 2px}.values-grid article h3{font-size:27px;margin:2px 0}.invitation-fold{grid-template-columns:1fr}.invite-visual{height:225px;flex-direction:row;justify-content:center}.invite-visual img{height:190px;width:210px;object-fit:cover;border-radius:130px 130px 5px 5px}.mini-ornament,.invite-visual>span{display:none}.invitation-details{padding:25px 23px}.invitation-details h3{font-size:46px}.date-feature strong{font-size:50px}.form-layout{grid-template-columns:1fr}.form-side{min-height:220px;height:220px}.form-side>img{object-position:center 43%}.form-side-overlay p{font-size:26px;max-width:240px}.rsvp-panel{padding:24px 22px}.rsvp-panel h3,.guestbook-form-card h3,.guestbook-posts h3{font-size:32px}.guestbook-form-card{padding:24px 18px}.empty-messages{min-height:170px}.chapter-controls{padding:8px 15px 17px;gap:6px}.page-control{font-size:10px;min-width:0;flex:1;padding:10px 8px;gap:5px}.chapter-progress{flex:0 0 85px;min-width:0;font-size:8px}.site-bottom{font-size:9px;padding:0 15px 22px}.cover-book-scene{height:min(69svh,590px)}.cover-type h1{font-size:clamp(43px,9vw,60px)}.cover-type p{font-size:30px}}
@media(max-width:400px){.cover-screen{gap:15px}.cover-type h1{font-size:43px}.chapter{padding-top:24px}.chapter h2{font-size:37px}.profile-text{padding:13px}.profile-text h3{font-size:36px}.profile-text p{font-size:16px}.profile-card{grid-template-columns:43% 57%}.profile-image img{min-height:240px;height:240px}.story-photography img{height:265px}.page-paper{padding-left:14px;padding-right:14px}.chapter-progress{flex-basis:70px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.cover-screen.opening .book-front{transform:none;opacity:0}}

/* V5 · L’histoire réelle d’Hector et Guinaelle */
.story-new-layout{margin-bottom:36px}
.timeline-heading{text-align:center;margin:41px auto 22px;max-width:650px}
.timeline-heading span{font-size:10px;letter-spacing:.21em;color:var(--orange);font-weight:700}
.timeline-heading p{font:italic 20px var(--serif);color:#777e6b;margin:8px 0 0}
.story-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;max-width:960px;margin:0 auto 28px}
.story-era{display:grid;grid-template-columns:86px 1fr;gap:16px;align-items:start;padding:21px;border:1px solid #e0d3bb;background:#fffdf9a6;border-radius:4px 15px 15px 4px;box-shadow:0 4px 20px #261b1207}
.story-era-year{font:italic 23px var(--serif);color:var(--orange);border-right:1px solid #e5d8c2;padding:1px 12px 8px 0;white-space:nowrap}
.story-era h3{font:600 23px/1.1 var(--serif);color:var(--emerald);margin:0 0 7px}
.story-era p{font:12px/1.7 var(--sans);color:#647064;margin:0}
.story-extended{max-width:960px;margin:12px auto 3px;border:1px solid #d8c9ac;background:#f9f5ed;border-radius:8px;overflow:hidden}
.story-extended>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 22px;color:var(--emerald);font-weight:600;font-size:12px;cursor:pointer;letter-spacing:.02em}
.story-extended>summary::-webkit-details-marker{display:none}
.story-extended>summary span{font:24px var(--serif);color:var(--orange)}
.story-extended[open]>summary{border-bottom:1px solid #e2d8c3}
.story-extended-body{max-width:750px;margin:0 auto;padding:15px 24px 26px}
.story-extended-body h3{font:italic 29px var(--serif);color:var(--emerald);margin:21px 0 9px}
.story-extended-body p{color:#546458;font-size:13px;line-height:1.82;margin-bottom:12px}
.story-closing{text-align:center;font:italic 26px/1.2 var(--serif);color:var(--orange);padding:23px 2px 5px}
@media(max-width:780px){.story-timeline{grid-template-columns:1fr}.story-era{grid-template-columns:86px 1fr}}
@media(max-width:480px){.story-timeline{gap:9px}.story-era{grid-template-columns:76px 1fr;gap:10px;padding:14px 11px}.story-era-year{font-size:20px;padding-right:8px}.story-era h3{font-size:21px}.story-era p{font-size:11px;line-height:1.62}.timeline-heading{margin-top:25px}.story-extended>summary{padding:15px 13px}.story-extended-body{padding:8px 14px 19px}.story-extended-body h3{font-size:27px}.story-extended-body p{font-size:12px}.story-closing{font-size:23px}}

/* Livre V7 · portraits authentiques */
.portrait-bonus{max-width:560px;margin:24px auto 0;padding:10px 16px;border:1px solid #e5d9c3;background:#fcf9f2;border-radius:7px;text-align:center}
.portrait-bonus summary{font:italic 17px Georgia,serif;color:#194a3d;cursor:pointer;padding:8px}
.portrait-bonus figure{margin:12px auto 2px;max-width:300px}
.portrait-bonus img{width:100%;max-height:340px;object-fit:contain;filter:none;border-radius:4px}
.portrait-bonus figcaption{color:#866c4c;font:italic 13px Georgia,serif;margin-top:8px}

/* V8: lecture plus confortable, tons simples */
.story-extended-body p{line-height:1.85;}
.story-era p{line-height:1.72;}
@media(max-width:720px){.story-extended-body p{font-size:13px;line-height:1.8}.story-era p{font-size:12px;line-height:1.7}}

/* Photographies souvenirs — édition V9 */
.album-heading{text-align:center;margin:2.7rem auto 1.1rem;max-width:540px;color:#214637}
.album-heading span{color:#b87035;font-size:1.3rem}
.album-heading h3{font-family:Georgia,serif;font-weight:normal;font-size:clamp(1.35rem,3.5vw,1.9rem);margin:.2rem 0}
.album-heading p{font-size:.87rem;opacity:.75;margin:.2rem}
.memory-album{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 auto 1.7rem;max-width:950px}
.memory-photo{cursor:pointer;display:block;position:relative;overflow:hidden;background:#f8f3e9;border:1px solid #e8ddc7;padding:7px;border-radius:7px;box-shadow:0 6px 20px #302a1b13;transition:transform .2s ease}
.memory-photo:hover{transform:translateY(-3px)}
.memory-photo img{width:100%;height:220px;object-fit:cover;display:block;filter:grayscale(1);border-radius:3px}
.memory-photo span{display:block;text-align:center;padding:9px 0 3px;letter-spacing:.1em;font-size:.65rem;text-transform:uppercase;color:#365443}
@media(max-width:640px){.memory-album{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.memory-photo{padding:5px}.memory-photo img{height:170px}}
@media(prefers-reduced-motion:reduce){.memory-photo{transition:none}}

/* V10 — souvenirs de famille, photos originales monochromes */
.family-memory{margin:45px auto 35px;padding:26px 18px 19px;border-top:1px solid #ded3bd;border-bottom:1px solid #ded3bd;background:#fffaf157;border-radius:8px}
.family-memory .album-heading{margin:0 auto 15px}
.family-intro{max-width:650px;text-align:center;margin:0 auto 22px;color:#58695b;font-size:13px;line-height:1.85}
.family-album{grid-template-columns:repeat(4,minmax(0,1fr));max-width:900px;margin-bottom:0}
.family-album .memory-photo img{height:200px;object-fit:cover;object-position:center 30%}
@media(max-width:640px){.family-memory{padding:18px 8px}.family-album{grid-template-columns:repeat(2,minmax(0,1fr))}.family-album .memory-photo img{height:180px}.family-intro{font-size:12px}}

/* V11 · Palette officielle vert émeraude, orange brûlé, or doux et ivoire */
:root{--emerald:#07523f;--deep:#09392d;--soft-green:#176e5d;--orange:#e66b29;--gold:#c3a165;--ivory:#fff7e8;--paper:#fffaf0;--white:#fffdf7;--ink:#283d33;--muted:#667568;--line:#e3d6b9}
.cover-screen{background:radial-gradient(ellipse at 25% 18%,#dbe9df 0%,transparent 50%),radial-gradient(ellipse at 80% 70%,#fadfc56e 0%,transparent 45%),#f7efdf}
.cover-photo{background:linear-gradient(180deg,#083c2c2a,#0b32267a),url('assets/portrait-fondu.webp') center 35%/cover;filter:grayscale(.85) contrast(1.05)}
.cover-shading{background:linear-gradient(180deg,#082b24b5 0%,#1236297a 35%,#102e2377 56%,#061e18e0 100%);mix-blend-mode:normal}
.cover-book-scene::before{content:"";position:absolute;inset:-8px;border:2px solid #c6a56e;border-radius:10px 18px 18px 10px;pointer-events:none;z-index:5}
.cover-type h1 em{color:#ffddbb}
.open-button{background:#ca5d2d;border-color:#ca5d2d}
.archive-intro{max-width:990px;margin:10px auto 39px;padding:27px 27px 22px;display:grid;grid-template-columns:.85fr 1.15fr;gap:25px;align-items:center;background:linear-gradient(120deg,#f8efe0,#fff9ee);border:1px solid #d9c5a2;border-left:5px solid var(--orange);border-radius:6px 26px 26px 6px}
.archive-intro-copy h3{font:italic 32px/1.1 Georgia,serif;color:var(--emerald);margin:15px 0}
.archive-intro-copy p{font-size:13px;line-height:1.8;color:#58665e}
.archive-intro-copy .archive-aside{font-style:italic;font-size:11px;color:#937656}
.archive-messages{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:12px}
.archive-messages figure{margin:0;background:white;padding:7px;border:1px solid #dfcfae;box-shadow:0 9px 18px #32251716;transform:rotate(-1.1deg)}
.archive-messages figure:nth-child(2){transform:rotate(1.2deg);margin-top:22px}
.archive-messages img{width:100%;aspect-ratio: .81;object-fit:cover;object-position:center top;display:block}
.archive-messages figcaption{font:italic 12px Georgia,serif;text-align:center;color:#7b6750;padding:8px 0 2px}
@media(max-width:720px){.archive-intro{grid-template-columns:1fr;padding:18px 13px;gap:15px}.archive-intro-copy h3{font-size:27px}.archive-intro-copy p{font-size:12px}.archive-messages{gap:7px}.archive-messages figure{padding:4px}.archive-messages figcaption{font-size:10px}}

/* V12 · Notre gratitude : transition délicate, photos originales préservées */
.gratitude-hero{background:linear-gradient(145deg,#0c3c2f,#155b48 62%,#0b3e31);color:#fff6e8;border-radius:18px;padding:38px 25px;text-align:center;position:relative;overflow:hidden;max-width:980px;margin:0 auto 32px;border:1px solid #bf9b64}
.gratitude-hero::before,.gratitude-hero::after{content:"✦";position:absolute;font-size:100px;color:#c29e6430}.gratitude-hero::before{left:-22px;top:-43px}.gratitude-hero::after{right:8px;bottom:-50px}
.gratitude-overline{letter-spacing:.3em;font:600 10px system-ui,sans-serif;color:#ead3a8}
.gratitude-thank{white-space:nowrap;font:italic clamp(40px,9vw,100px)/1.2 Georgia,serif;letter-spacing:-.06em;color:#fae1ad;display:inline-block;animation:merci-glide 10s ease-in-out infinite alternate;text-shadow:0 2px 9px #0005;margin:18px 0}
.gratitude-thank span{font:normal 22px Georgia,serif;color:#f38b45;vertical-align:middle;margin:0 12px}
.gratitude-hero p{max-width:650px;margin:5px auto 0;font:16px/1.85 system-ui,sans-serif;color:#f3e8d9}
@keyframes merci-glide{0%,8%{transform:translateX(14%)}90%,100%{transform:translateX(-14%)}}
.gratitude-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;max-width:980px;margin:auto}
.gratitude-card{border:0;background:#eaddca;min-height:220px;aspect-ratio:4/5;border-radius:12px;display:block;overflow:hidden;cursor:pointer;position:relative;padding:0;box-shadow:0 4px 17px #263e2a21}
.gratitude-card:nth-child(4n+2){aspect-ratio:4/4.7}.gratitude-card:nth-child(5){grid-column:span 2;aspect-ratio:8/4.7}
.gratitude-card img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.03);transition:transform .7s ease,filter .7s ease}
.gratitude-card:hover img,.gratitude-card:focus-visible img{transform:scale(1.035);filter:grayscale(.88) contrast(1.02)}
.gratitude-card:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0e2f2877);pointer-events:none}
.gratitude-veil{position:absolute;top:47%;left:0;right:0;font:italic clamp(28px,4vw,56px) Georgia,serif;color:#fff7e8;text-shadow:0 3px 10px #0008;letter-spacing:.08em;z-index:1;animation:merci-soft 6.5s ease-in-out infinite}
.gratitude-card:nth-child(2n) .gratitude-veil{animation-delay:-2.1s}.gratitude-card:nth-child(3n) .gratitude-veil{animation-delay:-4s}
@keyframes merci-soft{0%,16%,100%{opacity:.03;transform:translateY(13px)}40%,65%{opacity:.92;transform:translateY(0)}}
.gratitude-photo-num{position:absolute;z-index:2;bottom:12px;left:15px;color:#fff8e9;font:600 9px system-ui,sans-serif;letter-spacing:.16em}
.gratitude-end{text-align:center;margin:35px auto 10px;max-width:660px;color:#355646;font:italic 20px/1.7 Georgia,serif}.gratitude-end>span{color:#b76734;font-size:32px}.gratitude-end strong{display:block;font:600 12px system-ui,sans-serif;letter-spacing:.07em;margin-top:13px}
/* Cover: wedding palette, framed photographic original, no change to faces */
.cover-screen{background:radial-gradient(ellipse at 17% 18%,#f8d7b8,transparent 38%),radial-gradient(ellipse at 85% 80%,#bcd1bb,transparent 41%),#f7f0e3}
.cover-book-scene::after{content:"";position:absolute;pointer-events:none;inset:-8px;border:1px solid #c79b54;border-radius:12px;box-shadow:0 0 0 5px #ffffff30}
.book-front{box-shadow:0 18px 50px #123d322f,inset 0 0 0 2px #cba772}
@media(max-width:720px){.gratitude-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gratitude-card{min-height:145px}.gratitude-card:nth-child(5){grid-column:span 2;aspect-ratio:8/4}.gratitude-hero{padding:29px 13px}.gratitude-hero p{font-size:13px}.gratitude-thank{font-size:48px}.gratitude-thank span{font-size:15px;margin:0 5px}.gratitude-veil{font-size:32px}}
@media(prefers-reduced-motion:reduce){.gratitude-thank,.gratitude-veil{animation:none!important}.gratitude-veil{opacity:.8}}
