*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#3d292e;background:#fffaf8;font-family:"Montserrat",sans-serif}.hero{min-height:100vh;position:relative;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(43,19,31,.2),rgba(50,20,31,.68)),radial-gradient(circle at 50% 25%,rgba(255,220,215,.3),transparent 32%),linear-gradient(135deg,#4c2532 0%,#a95d6b 48%,#e7aaa1 100%);color:#fff}.hero:before{content:"";position:absolute;width:520px;height:520px;border:1px solid rgba(255,255,255,.12);border-radius:50%;left:50%;top:44%;transform:translate(-50%,-50%)}.hero:after{content:"愛";position:absolute;right:5vw;bottom:2vh;font-family:serif;font-size:clamp(8rem,20vw,20rem);opacity:.045;pointer-events:none}nav{width:min(1180px,90%);margin:0 auto;padding:28px 0;display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2}nav a,.logo{color:#fff;text-decoration:none}.logo{font-family:"Cormorant Garamond",serif;font-size:1.4rem;letter-spacing:.08em}.logo span{color:#ffd0d1;margin:0 8px}nav a{font-size:.7rem;text-transform:uppercase;letter-spacing:.2em;opacity:.9}.hero-content{width:min(1000px,90%);margin:auto;text-align:center;position:relative;z-index:1}.eyebrow{font-size:.66rem;letter-spacing:.3em;font-weight:600;margin:0 0 18px;opacity:.72}.tiny-heart{font-family:serif;font-size:2rem;color:#ffd6d6;margin-bottom:15px}h1,h2,h3{font-family:"Cormorant Garamond",serif;font-weight:500}h1{font-size:clamp(4rem,10vw,8.7rem);line-height:.8;margin:0;letter-spacing:-.035em}h1 em{font-weight:400;color:#ffe0dc}.intro{margin:35px auto;line-height:1.9;font-size:.95rem;opacity:.88}.countdown-wrap{margin-top:44px}.countdown-wrap>p{font-size:.62rem;letter-spacing:.3em;opacity:.65}.countdown{display:flex;justify-content:center;align-items:center;gap:clamp(10px,3vw,38px);margin-top:16px}.countdown div{min-width:68px}.countdown strong{display:block;font-family:"Cormorant Garamond",serif;font-size:clamp(2.6rem,6vw,4.8rem);line-height:1;font-weight:500}.countdown span{display:block;margin-top:8px;font-size:.56rem;letter-spacing:.2em;text-transform:uppercase;opacity:.65}.countdown i{font-style:normal;color:#f6bfc1;opacity:.55}.scroll{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:#fff;text-decoration:none;opacity:.65}.section{width:min(1120px,88%);margin:0 auto}.letter{padding:125px 0 110px;text-align:center;max-width:900px}.love-mark{width:54px;height:54px;border:1px solid #e8c4c2;border-radius:50%;display:grid;place-items:center;margin:0 auto 28px;color:#b35e69;font-size:1.5rem}.letter .eyebrow,.gallery-section .eyebrow,.japan .eyebrow,.promise .eyebrow{color:#b45f69;opacity:1}h2{font-size:clamp(2.8rem,6vw,5.3rem);line-height:.92;margin:0 0 32px}.letter-paper{position:relative;max-width:720px;margin:45px auto 0;padding:55px 65px;background:#fff;box-shadow:0 20px 70px rgba(91,45,52,.08);border:1px solid #f2e3df}.letter-paper:before{content:"“";position:absolute;top:12px;left:25px;font-family:"Cormorant Garamond",serif;font-size:6rem;color:#f0d4d0;line-height:1}.letter-paper p{position:relative;line-height:2;font-family:"Cormorant Garamond",serif;font-size:1.2rem;color:#685258}.letter-paper .signature{font-size:1.45rem;font-style:italic;color:#a45360;margin-top:30px}.date{display:block;margin-top:22px;font-size:.62rem;letter-spacing:.25em;color:#aa9295;text-transform:uppercase}.promise{padding:30px 0 120px;text-align:center}.promise h2{margin-bottom:55px}.promise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;text-align:left}.promise article{padding:38px 34px 34px;border-top:1px solid #e7c7c5;background:linear-gradient(180deg,#fff,#fff8f6)}.promise article span{font-family:"Cormorant Garamond",serif;color:#c9898d;font-size:1rem}.promise h3{font-size:2rem;margin:18px 0 8px}.promise article p{font-size:.78rem;line-height:1.8;color:#806d71}.gallery-section{padding:30px 0 125px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:45px}.section-heading h2{margin-bottom:0}.album-note{max-width:270px;color:#927c80;font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.1rem;line-height:1.6;text-align:right}.gallery{columns:3 250px;column-gap:20px}.photo{width:100%;display:block;margin:0 0 20px;break-inside:avoid;border:8px solid #fff;box-shadow:0 12px 35px rgba(68,33,39,.11);transition:transform .4s ease,box-shadow .4s ease}.photo:nth-child(3n+1){transform:rotate(-.5deg)}.photo:nth-child(3n+2){transform:rotate(.5deg)}.photo:hover{transform:translateY(-6px) rotate(0);box-shadow:0 22px 48px rgba(68,33,39,.17)}.empty{padding:75px 25px;text-align:center;border:1px dashed #d9b9b7;color:#8b7378;border-radius:8px}.empty span{font-size:2.5rem;color:#bf7078}.empty h3{font-size:2rem;margin:15px 0 8px}.empty p{font-size:.8rem;line-height:1.7}code{background:#f4e8e5;padding:3px 6px;border-radius:4px}.japan{padding:15px 0 130px}.japan-card{min-height:350px;padding:55px 70px;display:flex;align-items:center;gap:70px;border-radius:3px;background:linear-gradient(120deg,rgba(55,26,38,.95),rgba(135,66,78,.88)),linear-gradient(135deg,#3a2530,#c57b7d);color:#fff;overflow:hidden;position:relative}.japan-card:after{content:"桜";position:absolute;right:-10px;bottom:-70px;font-family:serif;font-size:15rem;opacity:.04}.japan-card .eyebrow{color:#f5c6c4}.japan-card h2{margin-bottom:20px}.japan-card h2 em{color:#f8d3d0}.japan-card p:last-child{line-height:1.8;opacity:.78}.sun{flex:0 0 190px;width:190px;height:190px;border-radius:50%;background:#e8a19e;display:grid;place-items:center;box-shadow:0 0 0 18px rgba(255,255,255,.035)}.sun span{font-family:serif;font-size:5rem;color:rgba(255,255,255,.75)}footer{padding:34px 6%;border-top:1px solid #eddcda;display:flex;justify-content:space-between;color:#947e82;font-size:.65rem;letter-spacing:.1em}.petals{position:fixed;inset:0;pointer-events:none;z-index:5;overflow:hidden}.petal{position:absolute;top:-30px;width:9px;height:13px;border-radius:80% 20% 80% 20%;background:rgba(255,190,198,.62);animation:fall linear forwards}@keyframes fall{to{transform:translate3d(var(--drift),110vh,0) rotate(600deg)}}@media(max-width:700px){nav a{display:none}.hero:before{width:330px;height:330px}.countdown{gap:7px}.countdown div{min-width:54px}.countdown i{display:none}.letter{padding-top:90px}.letter-paper{padding:42px 26px}.promise-grid{grid-template-columns:1fr}.section-heading{display:block}.album-note{text-align:left;margin-top:20px}.japan-card{padding:42px 28px;display:block}.sun{width:115px;height:115px;min-width:115px;margin-bottom:30px}.sun span{font-size:3.2rem}footer{display:block;line-height:2}}

/* --- Edition anniversaire Manon, 31 ans --- */
.birthday{background:linear-gradient(180deg,#fff8fa,#fff);text-align:center}.birthday-card{max-width:900px;margin:auto;padding:56px 28px;border:1px solid rgba(130,40,65,.16);border-radius:28px;background:rgba(255,255,255,.88);box-shadow:0 24px 70px rgba(90,30,50,.10);position:relative;overflow:hidden}.birthday-card h2{font-size:clamp(2.5rem,7vw,5rem);margin:.15em 0}.birthday-card h2 em{color:#a33b5c}.birthday-age{font-family:'Cormorant Garamond',serif;font-size:1.45rem}.gift-btn,.envelope-btn{border:0;border-radius:999px;padding:14px 24px;background:#8f294a;color:white;font:600 .82rem Montserrat,sans-serif;letter-spacing:.08em;cursor:pointer;box-shadow:0 10px 30px rgba(143,41,74,.22)}.gift-btn:hover,.envelope-btn:hover{transform:translateY(-2px)}.surprise{display:none;margin:30px auto 0;max-width:620px;padding:28px;border-radius:20px;background:#fff1f5}.surprise.show{display:block;animation:reveal .55s ease}.surprise .big{font-size:3rem;margin:0}.envelopes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}.envelope{padding:26px 18px;border-radius:18px;background:#fff;border:1px solid rgba(143,41,74,.13)}.envelope .icon{font-size:2rem}.envelope p{min-height:72px}.confetti-piece{position:fixed;top:-20px;width:10px;height:16px;border-radius:3px;z-index:9999;pointer-events:none;animation:confettiFall 3.5s linear forwards;background:hsl(var(--hue),70%,65%)}@keyframes confettiFall{to{transform:translate(var(--x),110vh) rotate(900deg);opacity:.2}}@keyframes reveal{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@media(max-width:700px){.envelopes{grid-template-columns:1fr}.birthday-card{padding:38px 18px}.envelope p{min-height:0}}


/* --- Mini-jeu itinéraire Japon --- */
.travel-game{padding:20px 0 120px}.game-card{padding:55px 48px;text-align:center;border-radius:28px;background:linear-gradient(145deg,#3f2330,#8f4658);color:#fff;box-shadow:0 24px 70px rgba(75,30,45,.16);position:relative;overflow:hidden}.game-card:after{content:"旅";position:absolute;right:-20px;bottom:-70px;font-family:serif;font-size:14rem;opacity:.045;pointer-events:none}.game-card .eyebrow{color:#ffd4d6;opacity:1}.game-card h2{margin-bottom:16px}.game-intro{max-width:700px;margin:0 auto 30px;line-height:1.8;opacity:.85}.route-progress{max-width:620px;margin:0 auto 30px;font-size:.72rem;letter-spacing:.14em}.route-progress>div{height:7px;background:rgba(255,255,255,.14);border-radius:99px;margin-top:10px;overflow:hidden}.route-progress i{display:block;width:0;height:100%;background:#f3b9bd;border-radius:99px;transition:width .35s ease}.city-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:760px;margin:0 auto}.city-buttons button,.game-reset,.game-gift{min-height:46px;border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:12px 20px;background:rgba(255,255,255,.09);color:#fff;font:600 .78rem Montserrat,sans-serif;cursor:pointer;transition:.2s ease}.city-buttons button:hover,.game-reset:hover,.game-gift:hover{background:rgba(255,255,255,.17);transform:translateY(-2px)}.city-buttons button.correct{background:#fff;color:#74394a;border-color:#fff}.city-buttons button.wrong{animation:gameShake .32s ease;background:rgba(255,185,185,.18)}.route-answer{margin:28px auto 16px;min-height:78px}.route-answer p{font-family:'Cormorant Garamond',serif;font-size:1.3rem}.route-cities{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.route-cities span{font-size:.7rem;padding:7px 11px;border-radius:99px;background:rgba(255,255,255,.11)}.game-reset{font-size:.68rem;opacity:.8}.game-surprise{display:none;max-width:650px;margin:30px auto 0;padding:28px;border-radius:22px;background:#fff7f8;color:#4b3037}.game-surprise.show{display:block;animation:reveal .55s ease}.game-surprise h3{font-size:2.2rem;margin:5px 0}.game-surprise strong{display:block;line-height:1.7;color:#8f294a}.game-heart{font-size:2.6rem;color:#a33b5c}.game-gift{margin-top:20px;background:#8f294a;border-color:#8f294a}.bonus-message{display:none;margin:20px 0 0;padding:18px;border-radius:14px;background:#f8e5ea;font-family:'Cormorant Garamond',serif;font-size:1.2rem;line-height:1.6}.bonus-message.show{display:block;animation:reveal .45s ease}@keyframes gameShake{25%{transform:translateX(-5px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}@media(max-width:700px){.travel-game{padding-bottom:90px}.game-card{padding:40px 18px}.city-buttons{display:grid;grid-template-columns:1fr 1fr}.city-buttons button{padding:10px 8px}.route-cities{align-items:center}}


/* --- V5 : Quiz Japon plus difficile --- */
[hidden]{display:none!important}
.route-mini h3,.japan-quiz h3,.quiz-result h3{font-size:2rem;margin:8px 0 24px}
.quiz-top{max-width:700px;margin:0 auto 10px;display:flex;justify-content:space-between;gap:16px;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}
.quiz-meter{max-width:700px;height:7px;margin:0 auto 30px;background:rgba(255,255,255,.14);border-radius:99px;overflow:hidden}
.quiz-meter i{display:block;width:0;height:100%;background:#f3b9bd;border-radius:99px;transition:width .35s ease}
.quiz-city{margin:0 0 8px;color:#ffd4d6;font-size:.66rem;font-weight:700;letter-spacing:.28em}
.japan-quiz h3{max-width:720px;margin:0 auto 26px;line-height:1.25}
.quiz-answers{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:760px;margin:0 auto}
.quiz-answers button,.quiz-next{min-height:54px;border:1px solid rgba(255,255,255,.24);border-radius:16px;padding:13px 16px;background:rgba(255,255,255,.09);color:#fff;font:600 .78rem Montserrat,sans-serif;cursor:pointer;transition:.2s ease}
.quiz-answers button:hover:not(:disabled),.quiz-next:hover{background:rgba(255,255,255,.17);transform:translateY(-2px)}
.quiz-answers button.correct{background:#fff;color:#74394a;border-color:#fff}
.quiz-answers button.wrong{background:rgba(255,170,180,.25);border-color:#ffc1c8}
.quiz-answers button:disabled{cursor:default}
.quiz-feedback{max-width:700px;min-height:48px;margin:22px auto 10px;line-height:1.6;font-family:'Cormorant Garamond',serif;font-size:1.15rem}
.quiz-next{border-radius:999px;background:#fff;color:#74394a;border-color:#fff;padding-left:24px;padding-right:24px}
.quiz-result{max-width:650px;margin:12px auto 0;padding:30px;border-radius:22px;background:#fff7f8;color:#4b3037}
.quiz-result .final-score{font-family:'Cormorant Garamond',serif;font-size:4rem;line-height:1;margin:8px 0 18px;color:#8f294a}
.quiz-result>p:not(.final-score):not(.bonus-message){line-height:1.75}
.quiz-result .game-reset{color:#74394a;border-color:#d9b6bf;background:#fff;margin:18px 6px 0}
.quiz-result .game-gift{margin:18px 6px 0}
@media(max-width:700px){
  .quiz-answers{grid-template-columns:1fr}
  .quiz-top{font-size:.62rem}
  .japan-quiz h3,.route-mini h3{font-size:1.65rem}
}


/* --- V6 : mini GeoJapan --- */
.geojapan-card{overflow:hidden}
.geo-game{max-width:800px;margin:28px auto 0}
.geo-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:9px;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase}
.geo-progress{height:7px;background:rgba(255,255,255,.14);border-radius:99px;overflow:hidden;margin-bottom:18px}
.geo-progress i{display:block;width:0;height:100%;background:#f4c0c4;border-radius:99px;transition:width .35s ease}
.geo-photo{position:relative;min-height:300px;border:8px solid #fff;border-bottom-width:48px;border-radius:4px;overflow:hidden;background:linear-gradient(#c9dce7 0 52%,#d9c5ae 52%);box-shadow:0 16px 40px rgba(28,8,14,.22)}
.geo-sky{position:absolute;inset:0;background:radial-gradient(circle at 78% 18%,rgba(255,255,255,.9) 0 5%,transparent 5.5%),linear-gradient(155deg,transparent 58%,rgba(86,65,54,.18) 58% 63%,transparent 63%)}
.geo-scene{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:25px;font-size:clamp(3rem,10vw,6.5rem);letter-spacing:.04em;text-shadow:0 8px 16px rgba(0,0,0,.12);white-space:pre-wrap}
.geo-stamp{position:absolute;right:15px;top:15px;border:2px solid rgba(111,50,66,.58);border-radius:50%;padding:9px 8px;color:rgba(111,50,66,.7);font-size:.55rem;letter-spacing:.08em;transform:rotate(9deg);background:rgba(255,255,255,.3)}
.geo-photo-label{position:absolute;left:0;right:0;bottom:-39px;color:#6f3242;font-family:'Cormorant Garamond',serif;font-size:1.25rem;font-weight:700}
.geo-clue{margin:18px 0;padding:15px 18px;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.07);text-align:left}
.geo-clue span{font-size:.62rem;letter-spacing:.18em;color:#ffd4d8;font-weight:700}
.geo-clue p{margin:5px 0 0;line-height:1.55}
.geo-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.geo-choices button{min-height:52px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.09);color:#fff;font-weight:700;cursor:pointer;transition:.2s}
.geo-choices button:hover:not(:disabled){background:rgba(255,255,255,.18);transform:translateY(-2px)}
.geo-choices button.correct{background:#fff;color:#74394a;border-color:#fff}
.geo-choices button.wrong{background:rgba(255,154,167,.24);border-color:#ffc1c9}
.geo-feedback{min-height:30px;margin:16px 0 8px;font-family:'Cormorant Garamond',serif;font-size:1.2rem}
@media(max-width:650px){
  .geo-photo{min-height:230px}
  .geo-choices{grid-template-columns:1fr}
  .geo-scene{font-size:3.2rem}
}

/* V6.1 — galerie façon album romantique */
.memories-v2{padding-top:90px;padding-bottom:90px}.memories-v2 .section-heading{max-width:720px;margin:0 auto 42px;text-align:center}
.memory-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:22px;align-items:start}
.memory-card{grid-column:span 4;margin:0;padding:9px 9px 36px;background:#fffdfa;border:1px solid rgba(105,61,73,.08);box-shadow:0 14px 36px rgba(62,31,39,.13);position:relative;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.memory-card:nth-child(7n+1){grid-column:span 5;transform:rotate(-1deg)}.memory-card:nth-child(7n+2){grid-column:span 3;transform:rotate(1.2deg);margin-top:34px}.memory-card:nth-child(7n+3){grid-column:span 4;transform:rotate(-.5deg);margin-top:10px}.memory-card:nth-child(7n+4){grid-column:span 3;transform:rotate(.8deg)}.memory-card:nth-child(7n+5){grid-column:span 5;transform:rotate(-.7deg);margin-top:24px}.memory-card:nth-child(7n+6),.memory-card:nth-child(7n+7){grid-column:span 4}
.memory-card img{display:block;width:100%;height:280px;object-fit:cover;background:#eee}.memory-card:nth-child(7n+1) img,.memory-card:nth-child(7n+5) img{height:350px}
.memory-card figcaption{position:absolute;left:8px;right:8px;bottom:8px;text-align:center;color:#7d5260;font-family:'Cormorant Garamond',serif;font-style:italic}.memory-card:focus-visible{outline:3px solid #9c5267;outline-offset:4px}
@media(hover:hover) and (pointer:fine){.memory-card:hover{transform:rotate(0) translateY(-5px);box-shadow:0 20px 44px rgba(62,31,39,.18)}}
.album-ending{text-align:center;margin:42px 0 0;color:#7d5260;font-family:'Cormorant Garamond',serif;font-size:1.3rem}
.memory-viewer{position:fixed;inset:0;z-index:9999;background:rgba(24,11,16,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:28px}.memory-viewer img{max-width:min(100%,1000px);max-height:78vh;object-fit:contain;border:8px solid white;box-shadow:0 20px 70px rgba(0,0,0,.4)}.memory-viewer p{color:white;font-family:'Cormorant Garamond',serif;font-size:1.25rem}.memory-viewer-close{position:absolute;right:20px;top:18px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(0,0,0,.2);color:white;font-size:2rem;cursor:pointer}
@media(max-width:760px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-card,.memory-card:nth-child(n){grid-column:span 1;margin-top:0;transform:none;padding:7px 7px 30px}.memory-card img,.memory-card:nth-child(n) img{height:220px}.memory-card:nth-child(3n+1){grid-column:span 2}.memory-card:nth-child(3n+1) img{height:310px}}
@media(max-width:430px){.memory-grid{grid-template-columns:1fr}.memory-card,.memory-card:nth-child(n){grid-column:1}.memory-card img,.memory-card:nth-child(n) img{height:auto;max-height:430px}}

/* V6.3 — bouton musique d'ambiance */
.music-toggle{
  position:fixed;right:18px;bottom:18px;z-index:9000;
  display:flex;align-items:center;gap:9px;
  min-height:48px;padding:0 17px;border-radius:999px;
  border:1px solid rgba(126,72,86,.22);
  background:rgba(255,250,248,.94);color:#74394a;
  box-shadow:0 8px 28px rgba(55,25,34,.16);
  backdrop-filter:blur(10px);cursor:pointer;font:inherit;font-weight:700;
  transition:transform .2s ease,box-shadow .2s ease;
}
.music-toggle:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(55,25,34,.2)}
.music-toggle .music-icon{font-size:1.25rem;line-height:1}
.music-toggle.playing .music-icon{animation:musicPulse 1.4s ease-in-out infinite}
@keyframes musicPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}
@media(max-width:520px){
  .music-toggle{right:12px;bottom:12px;padding:0;width:48px;justify-content:center}
  .music-toggle .music-label{display:none}
}

/* V6.6 — cartes manga "Des moments à vivre ensemble" */
.moment-card{cursor:pointer;position:relative;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.moment-card:after{content:"♡";position:absolute;right:18px;top:14px;font-family:"Cormorant Garamond",serif;font-size:2rem;color:#e4b6b9;opacity:.65}
.moment-card small{display:inline-block;margin-top:15px;color:#b45f69;font-size:.62rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.moment-card:hover{transform:translateY(-6px);box-shadow:0 18px 45px rgba(76,35,45,.12);border-top-color:#c87982}
.moment-card:focus-visible{outline:3px solid #b45f69;outline-offset:4px}
.moment-viewer{position:fixed;inset:0;z-index:10000;background:rgba(27,13,18,.94);display:flex;align-items:center;justify-content:center;padding:28px;animation:reveal .3s ease}
.moment-viewer-inner{max-width:1180px;width:100%;text-align:center}
.moment-viewer img{display:block;max-width:100%;max-height:82vh;margin:auto;object-fit:contain;border:7px solid #fffaf8;box-shadow:0 25px 80px rgba(0,0,0,.42)}
.moment-viewer p{margin:15px 0 0;color:#fff;font-family:"Cormorant Garamond",serif;font-size:1.5rem}
.moment-viewer-close{position:absolute;top:18px;right:20px;width:48px;height:48px;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(0,0,0,.25);color:#fff;font-size:2rem;cursor:pointer;z-index:2}
body.moment-open{overflow:hidden}
@media(max-width:700px){.moment-viewer{padding:16px}.moment-viewer img{border-width:4px}.moment-viewer-close{top:10px;right:10px}}

/* V6.7 — cartes inspirées des carnets de voyage japonais */
.japan-moments-wrap{
  position:relative;
  max-width:1180px;
  margin:30px auto 0;
  padding:28px 18px 12px;
  border-radius:26px;
  background:
    radial-gradient(circle at 92% 4%,rgba(180,54,54,.10) 0 64px,transparent 65px),
    repeating-radial-gradient(circle at -8% 40%,transparent 0 18px,rgba(151,100,83,.055) 19px 21px,transparent 22px 38px),
    linear-gradient(135deg,#fffaf1,#f8eee2);
  border:1px solid rgba(116,57,74,.10);
  box-shadow:inset 0 0 60px rgba(139,92,65,.045);
}
.japan-moments-deco{
  display:flex;align-items:center;justify-content:space-between;
  max-width:1060px;margin:0 auto 18px;color:#9f3540;
  font-family:"Cormorant Garamond",serif;
}
.mini-torii{font-size:2rem}
.sun-fuji{font-size:.9rem;letter-spacing:.13em;opacity:.82}
.japanese-moment-grid{gap:22px;align-items:stretch}
.japanese-card{
  padding:0 0 18px!important;
  border:1px solid #9c6a52!important;
  border-top:1px solid #9c6a52!important;
  border-radius:8px!important;
  background:
    linear-gradient(rgba(255,250,240,.95),rgba(255,247,235,.97)),
    repeating-linear-gradient(0deg,transparent 0 3px,rgba(80,40,30,.02) 4px 5px)!important;
  box-shadow:0 13px 24px rgba(83,47,37,.16),inset 0 0 0 5px rgba(255,255,255,.42)!important;
  color:#4a2926;
}
.japanese-card:after{display:none!important}
.japanese-card:hover{transform:translateY(-6px) rotate(-.25deg)!important;box-shadow:0 20px 34px rgba(83,47,37,.22)!important}
.japanese-card:nth-child(2):hover{transform:translateY(-6px) rotate(.25deg)!important}
.japanese-card-top{
  height:42px;display:flex;align-items:center;justify-content:space-between;
  padding:8px 15px 0;color:#a6383d;font-weight:700;
}
.japanese-number{
  display:grid;place-items:center;width:29px;height:29px;
  border:1px solid #b44d4e;border-radius:4px;
  font-family:serif;background:#fff8ec;
}
.japanese-symbol{font-size:1.25rem}
.japanese-card h3{
  margin:2px 16px 2px!important;
  color:#3c2422!important;
  font-family:"Cormorant Garamond",serif!important;
  font-size:clamp(1.65rem,2.4vw,2.15rem)!important;
  font-style:italic;
}
.japanese-subtitle{
  min-height:0!important;margin:0 15px 14px!important;
  color:#72534c!important;font-family:"Cormorant Garamond",serif;
  font-style:italic;font-size:1rem!important;
}
.japanese-preview{
  position:relative;margin:0 11px 13px;padding:5px;
  background:#fff;border:1px solid rgba(110,63,49,.25);
  overflow:visible;
}
.japanese-preview img{
  display:block;width:100%;height:245px;object-fit:cover;
  filter:saturate(.94) contrast(.98);
}
.kanji-tag{
  position:absolute;left:-7px;bottom:16px;
  display:grid;place-items:center;min-width:42px;min-height:70px;
  padding:7px 6px;background:#fff8eb;color:#a12f35;
  border:2px solid #a12f35;box-shadow:0 4px 8px rgba(65,30,24,.15);
  writing-mode:vertical-rl;font-family:serif;font-size:1.15rem;font-weight:700;
}
.japanese-open{
  margin:0 13px;padding:11px 13px;border:1px solid #ad5a4e;
  background:rgba(255,250,239,.78);color:#7b342f;
  display:flex;align-items:center;gap:9px;justify-content:center;
  font-family:"Cormorant Garamond",serif;font-size:1.05rem;
  transition:background .2s ease,color .2s ease;
}
.japanese-open b{margin-left:auto;font-size:1.2rem}
.japanese-card:hover .japanese-open{background:#8e3137;color:#fff}
.japanese-corner{
  position:absolute;right:0;top:0;width:54px;height:54px;pointer-events:none;
  background:
    radial-gradient(circle at 8px 8px,#c34b4c 0 2px,transparent 3px) 0 0/12px 12px,
    linear-gradient(135deg,transparent 48%,rgba(181,57,62,.13) 49%);
  opacity:.75;
}
.japan-moments-quote{
  display:flex;align-items:center;justify-content:center;gap:15px;
  margin:28px auto 6px;color:#6f4840;text-align:center;
}
.japan-moments-quote:before,.japan-moments-quote:after{
  content:"";height:1px;max-width:190px;flex:1;background:#a85b53;
}
.japan-moments-quote span{color:#ad3f45;font-size:1.3rem}
.japan-moments-quote p{
  margin:0;font-family:"Cormorant Garamond",serif;font-style:italic;
  font-size:1.05rem;line-height:1.45;
}
@media(max-width:800px){
  .japanese-preview img{height:220px}
  .japan-moments-quote:before,.japan-moments-quote:after{max-width:60px}
}
@media(max-width:600px){
  .japan-moments-wrap{padding:18px 10px 10px}
  .japanese-preview img{height:auto;aspect-ratio:16/10}
  .japan-moments-quote:before,.japan-moments-quote:after{display:none}
}

/* V6.8 — photos des cartes sans étirement ni recadrage */
.japanese-preview{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  background:#f3e8dc;
}
.japanese-preview img,
.japanese-card .japanese-preview img{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  display:block;
}
@media(max-width:600px){
  .japanese-preview img,
  .japanese-card .japanese-preview img{
    width:100% !important;
    height:auto !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
  }
}

/* V6.9 — aperçu mystère : photo floutée dans la carte */
.japanese-preview{
  overflow:hidden;
  position:relative;
}

/* Le léger agrandissement évite de voir les bords créés par le blur. */
.japanese-preview img,
.japanese-card .japanese-preview img{
  filter:blur(13px) brightness(.82) saturate(.8) !important;
  transform:scale(1.055);
  transition:filter .3s ease, transform .3s ease;
}

/* Petit voile pour donner envie de cliquer. */
.japanese-preview::after{
  content:"Cliquer pour découvrir ♡";
  position:absolute;
  inset:0;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  text-align:center;
  color:#fff;
  font-family:"Cormorant Garamond",serif;
  font-size:1.15rem;
  font-style:italic;
  letter-spacing:.03em;
  text-shadow:0 2px 12px rgba(0,0,0,.75);
  background:rgba(50,25,28,.10);
  pointer-events:none;
}

/* Le kanji reste visible au-dessus du flou. */
.japanese-preview .kanji-tag{
  z-index:4;
}

/* Dans la fenêtre ouverte, l'image reste parfaitement nette. */
.moment-viewer img{
  filter:none !important;
  transform:none !important;
}

/* V6.10 — petit mot final */
.final-love-note{
  padding-top:35px;
  padding-bottom:105px;
  text-align:center;
}
.final-love-inner{
  position:relative;
  max-width:720px;
  margin:0 auto;
  padding:38px 28px 32px;
  background:linear-gradient(145deg,rgba(255,250,246,.96),rgba(250,236,232,.92));
  border:1px solid rgba(151,78,91,.18);
  border-radius:24px;
  box-shadow:0 16px 45px rgba(82,38,49,.08);
}
.final-love-heart{
  display:block;
  margin-bottom:8px;
  color:#a94e60;
  font-family:"Cormorant Garamond",serif;
  font-size:2.2rem;
}
.final-love-inner p{
  margin:0;
  color:#633945;
  font-family:"Cormorant Garamond",serif;
  font-size:clamp(1.5rem,3vw,2.15rem);
  font-style:italic;
  line-height:1.5;
}
.final-love-signature{
  display:block;
  margin-top:17px;
  color:#a36a76;
  font-size:.7rem;
  letter-spacing:.16em;
  text-transform:uppercase;
}
