@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&display=swap');
:root{--navy:#061943;--gold:#d8b958;--cream:#fff1dd;--paper:#fffaf3;--peach:#ffdbb9;--blue:#2c6187}
body{background:var(--paper)}header{padding-top:25px}.brand{letter-spacing:.3px}.demo{background:#fff8e9b3;border-color:#cdaa59;border-radius:30px}
h1,h2,h3,.intro h1,.section-aside h2,.programme-title h2,.closing h2,.quote-section h2{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;letter-spacing:-1.5px}h2 em,.intro em{font-style:normal;color:inherit;font-weight:inherit}
.welcome{background:radial-gradient(ellipse at 50% 45%,#fffefa 10%,#fff3e5 45%,#ffdab9 100%);min-height:840px}.intro{margin-top:125px}.intro h1{font-size:clamp(58px,6.5vw,88px);line-height:.89;margin:24px 0}.intro-copy{margin-top:25px;color:var(--navy);opacity:.8}.intro .eyebrow{letter-spacing:2px}.halo{border:0;opacity:.35;background:radial-gradient(ellipse,#f3dca3,transparent 65%)}.halo:before,.halo:after{display:none}
.harvest{position:absolute;pointer-events:none;width:260px;height:620px;background:url('wheat.svg') center/contain no-repeat;z-index:0;transform-origin:bottom}.harvest-left{left:-95px;bottom:-120px;transform:rotate(35deg);filter:blur(1.5px)}.harvest-right{right:-40px;top:-190px;transform:rotate(155deg);opacity:.38}.welcome:after{content:'';position:absolute;right:-115px;bottom:-200px;width:300px;height:580px;background:url('wheat.svg') center/contain no-repeat;transform:rotate(-25deg);opacity:.65;pointer-events:none}
.envelope-button{margin-top:58px}.envelope-back{background:#e6cda9;border:1px solid #d8b57b}.envelope-front{background:linear-gradient(145deg,#fff7e8,#f0cd9f)}.envelope-front:after{background:linear-gradient(25deg,#f9dbb8,#fff8ed)}.flap{background:linear-gradient(165deg,#fffaf0,#f3d6af);filter:drop-shadow(0 2px 1px #8a612f20)}.envelope-caption{color:var(--navy);font-family:Manrope,Arial,sans-serif;font-size:12px;font-style:normal}.seal{box-shadow:0 6px 16px #7b511e35}.envelope{filter:drop-shadow(0 30px 24px #94663b30)}.invitation-peek{padding:0;overflow:hidden;border:0;background:#fff3e5}.invitation-peek img{width:100%;height:auto;display:block}.open-hint{margin-top:40px}.tiny{font-family:Manrope,Arial,sans-serif;font-style:normal;font-size:11px}
.invitation-section{grid-template-columns:1fr 1.2fr;gap:7%;padding:140px 10% 100px;background:radial-gradient(ellipse at 75% 40%,#fffefa 15%,#fff1e0 60%,#ffddbd 100%)}.main-card,.main-card.flying-card{padding:0;border:0;border-radius:3px;overflow:hidden;background:#ffe1c5;max-width:500px;aspect-ratio:4/5;height:auto;box-shadow:0 30px 65px #80562d30}.invitation-art{display:block;width:100%;height:auto;aspect-ratio:4/5}.main-card:after{display:none}.flying-card{height:auto!important;padding:0!important}.section-aside h2{font-size:62px;line-height:.98}.section-aside>p:not(.eyebrow){color:#3b4961}.vertical-word{font-family:'Barlow Condensed',sans-serif;color:#b28b3730;right:8px;font-size:80px}
.quote-section{background:linear-gradient(115deg,#061943,#153858 75%,#2c6187);min-height:650px}.quote-section h2{font-size:clamp(130px,23vw,280px);letter-spacing:-5px}.quote-section:after{content:'';position:absolute;right:-30px;bottom:-100px;width:260px;height:500px;background:url('wheat.svg') center/contain no-repeat;opacity:.18;transform:rotate(-25deg);pointer-events:none}.orbit{border-color:#ead7a532}.gratitude-ribbon{background:linear-gradient(90deg,#f6ecd4,#e4c657,#f5e7c6);padding:15px 0}.gratitude-ribbon span{font-size:11px;letter-spacing:3px}
.programme{background:linear-gradient(135deg,#fffaf4,#ffeedc);gap:10%}.programme-title h2{font-size:74px;line-height:.95}.chapter{border-color:#bb944c}.chapter-meta time{background:linear-gradient(110deg,#f7efdb,#e5c75d);padding:9px 15px;border-radius:5px;font-size:17px}.chapter h3{font-size:55px;line-height:.98}.chapter p{color:#34445c}.chapter-tag{color:#785c20}.chapter-symbol{color:#c4a146}.scene-photo{border-radius:75px 0 0 0;background:#f6e6ce}.scene-photo figcaption{color:#42516b}.closing{background:radial-gradient(ellipse at 40% 45%,#fff9ee,#ffdbb9)}.closing h2{font-size:96px}.closing-mark{font-size:0;width:300px;height:540px;background:url('wheat.svg') center/contain no-repeat;opacity:.5}.gold-button{border-radius:45px 0 0 0;background:linear-gradient(100deg,#061943,#2c6187)}footer{background:#fff6e8;padding-bottom:110px}.footer-brand{font-family:'Barlow Condensed',sans-serif}.sound-controls,.motion-controls{background:#fff7eb;color:#061943;border-color:#c6a35a;box-shadow:0 4px 20px #80562d12}
@media(max-width:760px){.welcome{min-height:780px}.intro{margin-top:145px}.intro h1{font-size:62px}.envelope-button{margin-top:65px}.harvest-left{width:170px;left:-95px;bottom:-200px}.harvest-right{width:185px;right:-70px;top:-270px}.welcome:after{width:150px;right:-85px;bottom:-280px}.invitation-section{padding:130px 7% 70px;gap:50px}.main-card{max-width:420px}.section-aside h2{font-size:54px}.programme-title h2{font-size:64px}.chapter h3{font-size:49px}.closing h2{font-size:76px}.closing-mark{right:-90px;width:250px}.quote-section{min-height:570px}.quote-section h2{font-size:160px}.scene-photo img{height:360px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Enveloppe bleu ECI, décor papier pêche. */
.envelope-back{background:#091f4d;border-color:#284571}.envelope-front{background:linear-gradient(145deg,#173366,#06183e)}.envelope-front:after{background:linear-gradient(25deg,#071b44,#193563)}.flap{background:linear-gradient(150deg,#1c396c,#102550)}.envelope-caption{color:#efdda9}.envelope{filter:drop-shadow(0 30px 24px #05194530)}
@media(max-width:760px){.harvest-left{opacity:.25;left:-135px}.welcome:after{opacity:.25;right:-115px}.open-hint{position:relative;z-index:2}.cinema-running .sound-controls,.cinema-running .motion-controls{opacity:0;pointer-events:none}}

.full-motion .chapter.reveal.visible h3{animation:none}.scene-reading img{object-position:center 60%}

.scene-assembly img{height:auto;aspect-ratio:16/9;object-fit:contain}.scene-speaking img{height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center}.scene-reading img{height:auto;aspect-ratio:3/4;object-fit:cover}

/* One small disclosure replaces the two persistent mobile bars. */
.compact-settings>summary,.settings-title{display:none}.settings-panel{display:contents}
@media(max-width:760px){
.compact-settings{position:fixed;right:8px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:65;color:var(--navy)}
.compact-settings>summary{display:grid;place-items:center;width:44px;height:44px;list-style:none;cursor:pointer;border:1px solid #bba36a66;border-radius:50%;background:#fff8eee8;box-shadow:0 2px 12px #05194512;-webkit-tap-highlight-color:transparent}
.compact-settings>summary::-webkit-details-marker{display:none}.compact-settings>summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.compact-settings[open]>summary{background:var(--cream)}
.compact-settings .settings-panel{position:absolute;display:flex;flex-direction:column;gap:6px;right:0;bottom:54px;width:min(280px,calc(100vw - 24px));padding:16px;border:1px solid #bba36a66;border-radius:16px;background:#fffaf3;box-shadow:0 10px 35px #05194520}
.compact-settings:not([open]) .settings-panel{display:none}
.settings-title{display:block;font-size:12px;font-weight:700;margin-bottom:5px}
.compact-settings .sound-controls,.compact-settings .motion-controls{position:static;border:0;border-radius:0;box-shadow:none;background:none;padding:0;display:flex;flex-wrap:wrap;gap:9px}
.compact-settings .sound-controls button,.compact-settings .motion-controls button{min-height:44px;font-size:12px;padding:8px 0;letter-spacing:0}
.compact-settings .sound-controls label{font-size:11px}.compact-settings .sound-controls input{width:80px;min-height:28px}
.cinema-running .compact-settings{visibility:hidden}
}

/* Photos fournies le 2 décembre 2026 : respecter leur cadrage intégral. */
.scene-photo img[src^="priere-eci.jpg"],.scene-reading img{height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center}
