@font-face { font-family: 'DM Sans'; src: url('assets/fonts/sans.woff2') format('woff2'); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('assets/fonts/serif.woff2') format('woff2'); font-style: normal; font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('assets/fonts/serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Allura'; src: url('assets/fonts/handwriting.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root { --paper: #fbf3e5; --ink: #593c31; --rust: #9f4b35; --muted: #816550; --clay: #a9523b; --gold: #a87635; --line: #dfcbb2; --serif: 'Cormorant', Georgia, serif; --sans: 'DM Sans', system-ui, sans-serif; --script: 'Allura', cursive; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body { margin: 0; background: var(--paper); background-image: radial-gradient(ellipse at 15% 5%, #f0dcc172, transparent 40%), radial-gradient(ellipse at 95% 35%, #efd3bd55, transparent 35%); color: var(--ink); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .065; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23775b3e' filter='url(%23n)' opacity='.5' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
body.is-viewing { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button, input { border-radius: 0; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--clay); outline-offset: 5px; }
button:focus:not(:focus-visible) { outline: none; }
::selection { background: #eac7aa; color: var(--ink); }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
em { font-weight: inherit; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: middle; }
.page-width { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; padding: 14px 20px; background: var(--rust); color: white; }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; z-index: 20; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.monogram { display: inline-flex; align-items: baseline; font-family: var(--serif); font-weight: 500; letter-spacing: -.065em; font-size: 36px; white-space: nowrap; line-height: 1; }
.monogram > span { padding-inline: 4px; font-size: 25px; color: var(--clay); font-style: italic; }
.monogram .monogram-dot { padding-left: 1px; padding-right: 0; font-size: 36px; }
.main-nav { display: flex; align-items: center; gap: 38px; margin-left: 35px; }
.main-nav a { font-size: 12px; color: #7e5b47; padding-block: 10px; transition: color .2s; }
.main-nav a:hover { color: var(--clay); }
.header-date { display: flex; align-items: center; gap: 18px; font-size: 11px; letter-spacing: .15em; }
.header-date img { width: 39px; height: 35px; }
.hero { display: grid; grid-template-columns: 1fr 1.08fr; gap: 40px; align-items: center; padding-block: 72px 110px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 5px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 10px; line-height: 1.6; letter-spacing: .2em; font-weight: 500; }
.little-line { display: block; width: 25px; height: 1px; background: var(--clay); }
h1 { margin-top: 23px; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(64px, 6.65vw, 96px); line-height: .99; letter-spacing: -.047em; font-weight: 400; }
h1 em { color: var(--clay); white-space: nowrap; letter-spacing: -.045em; }
.couple-names { font-family: var(--script); font-size: 39px; line-height: 1.2; color: var(--gold); margin-top: 24px; }
.hero-description { color: var(--muted); line-height: 1.95; font-size: 14px; margin-top: 25px; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; border: 1px solid var(--rust); border-radius: 2px; padding: 17px 25px; font-size: 12px; font-weight: 500; line-height: 1.5; transition: background .2s, transform .2s; }
.primary-button { background: var(--rust); color: var(--paper); margin-top: 30px; box-shadow: 3px 4px 0 #c99e7640; transform: rotate(-1deg); }
.primary-button .icon { width: 17px; height: 17px; }
.primary-button:hover { background: #853f2c; transform: rotate(0) translateY(-2px); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 27px; color: #a86b4b; font-family: var(--script); font-size: 25px; }
.heart-trail { width: 73px; height: 35px; stroke: #b97859; stroke-width: 1.2; fill: none; stroke-linecap: round; }
.hero-visual { position: relative; min-width: 0; padding: 1px 22px 0 23px; isolation: isolate; }
.hero-visual::before { content: ''; position: absolute; z-index: -1; inset: 18px 8px -25px 35px; background: #edcbb67a; border-radius: 49% 45% 50% 42%; transform: rotate(-4deg); }
.hero-photo-frame { position: relative; width: 100%; height: clamp(430px, 39vw, 555px); border-radius: 2px; padding: 13px 13px 53px; background: #fffaf0; box-shadow: 2px 8px 22px #72502e21, 0 0 0 1px #dbc7aa50; transform: rotate(2deg); }
.hero-photo-frame::before { content: ''; position: absolute; z-index: 2; left: 39%; top: -13px; width: 107px; height: 31px; background: #d4ad7277; transform: rotate(-5deg); clip-path: polygon(0 3%, 100% 0, 97% 13%, 100% 27%, 98% 42%, 100% 55%, 97% 70%, 100% 86%, 98% 100%, 0 97%, 2% 82%, 0 67%, 2% 51%, 0 35%, 2% 19%); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 51% center; }
.hero-photo-caption { position: absolute; z-index: 1; right: 25px; bottom: 9px; text-align: right; color: #a86c4f; font-family: var(--script); font-size: 29px; transform: rotate(-2deg); }
.hero-photo-caption strong { font-weight: 400; }
.love-note { position: absolute; z-index: 3; right: -3px; top: -33px; display: flex; flex-direction: column; align-items: center; width: 122px; transform: rotate(10deg); }
.love-note img { width: 90px; height: 80px; }
.love-note span { font-family: var(--script); color: #995b40; font-size: 25px; margin-top: -6px; white-space: nowrap; }
.polaroid { position: absolute; z-index: 2; left: -21px; bottom: -37px; width: 171px; padding: 8px 8px 9px; background: #fffaf0; box-shadow: 0 7px 22px #73502c26; transform: rotate(-9deg); }
.polaroid img { width: 100%; height: 155px; object-fit: cover; object-position: 40% center; }
.polaroid figcaption { font-family: var(--script); font-size: 20px; text-align: center; margin-top: 9px; color: #a06c4d; }
.hero-bouquet { position: absolute; z-index: 2; width: 150px; height: auto; right: -8px; bottom: -55px; transform: rotate(14deg); pointer-events: none; }
.memory-strip { display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 13px; font-family: var(--serif); font-size: 24px; color: #9b7150; }
.memory-strip::before, .memory-strip::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.memory-strip p { text-align: center; }
.memory-strip em { color: var(--rust); }
.memory-strip img { width: 45px; height: 40px; margin-left: -10px; }
.album-section { padding-top: 81px; padding-bottom: 78px; scroll-margin-top: 15px; }
.album-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; }
h2 { font-family: var(--serif); font-size: 57px; font-weight: 400; letter-spacing: -.035em; line-height: 1.12; }
.album-heading h2 { margin-top: 10px; }
h2 em { color: var(--clay); }
.album-introduction { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 15px; }
.album-heading-note { padding: 0 12px 2px 0; text-align: center; transform: rotate(5deg); }
.handwritten-note { font-family: var(--script); color: #a56b47; font-size: 28px; line-height: .95; }
.filter-bar { position: sticky; top: 86px; z-index: 15; padding-block: 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-block: 1px solid var(--line); background: var(--paper); }
.moment-filters { display: flex; align-items: center; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.moment-filters::-webkit-scrollbar { display: none; }
.filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; white-space: nowrap; border: 1px solid #d9bea0; background: #f2e3ce; padding: 11px 15px; border-radius: 2px; color: #80573e; font-size: 12px; transition: background .2s, color .2s; }
.filter-button .icon { width: 14px; height: 14px; }
.filter-button:hover { background: #ecd6bb; color: #713d2c; }
.filter-button.is-active { color: #fff6e9; background: var(--rust); border-color: var(--rust); box-shadow: 2px 2px 0 #c7a57d44; }
.favorites-filter { border-color: transparent; background: transparent; color: #98543e; }
.favorites-filter.has-favorites .icon { fill: currentColor; }
.album-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 20px 37px; font-size: 11px; color: var(--muted); }
.album-meta > span { display: flex; align-items: center; gap: 10px; }
.album-meta .icon { width: 13px; height: 13px; }
.gallery-group { padding-bottom: 46px; content-visibility: auto; contain-intrinsic-size: auto 500px; }
.moment-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.moment-heading-main { display: flex; align-items: center; gap: 17px; }
.moment-flower { align-self: start; width: 28px; height: 28px; color: #b48045; stroke-width: .8; margin-top: 6px; }
.moment-heading h3 { font-family: var(--script); font-size: 39px; font-weight: 400; line-height: 1; color: #99543d; }
.moment-heading p { color: var(--muted); font-size: 11px; margin-top: 6px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 16px; }
.gallery-group[data-moment="amoureux"] .gallery-grid, .gallery-group[data-moment="reception"] .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-card { position: relative; min-width: 0; padding: 9px 9px 5px; background: #fffaf0; border: 1px solid #dfccb366; border-radius: 1px; aspect-ratio: .81; isolation: isolate; box-shadow: 1px 3px 8px #79573314; transform: rotate(var(--tilt, -.6deg)); }
.photo-card:nth-child(2n) { --tilt: .7deg; }
.photo-card:nth-child(3n) { --tilt: -.3deg; }
.gallery-group[data-moment="amoureux"] .photo-card, .gallery-group[data-moment="reception"] .photo-card { aspect-ratio: 1.12; }
.photo-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; text-align: left; background: transparent; }
.photo-image-wrap { position: relative; display: block; height: 100%; overflow: hidden; background: #eadbc5; }
.photo-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.photo-open:hover img, .photo-open:focus-visible img { transform: scale(1.045); }
.photo-open:focus-visible { outline-offset: -5px; outline-color: white; }
.photo-overlay { display: flex; align-items: end; justify-content: end; position: absolute; inset: 55% 0 0; padding: 17px; color: #fff6e8; background: linear-gradient(transparent, #51322273); opacity: 0; transition: opacity .25s; pointer-events: none; }
.photo-overlay .icon { width: 16px; height: 16px; margin-bottom: 2px; }
.photo-card:hover .photo-overlay, .photo-card:focus-within .photo-overlay { opacity: 1; }
.photo-favorite { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; top: 17px; right: 17px; color: #a46145; background: #fff7e9; border-radius: 50%; border: 0; transition: transform .2s, background .2s; }
.photo-favorite .icon { width: 15px; height: 15px; }
.photo-favorite:hover { transform: scale(1.1); background: #ffeacd; }
.photo-favorite.is-saved { color: var(--clay); }
.photo-favorite.is-saved .icon { fill: currentColor; }
.photo-error { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; padding: 20px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; }
.photo-error .icon { width: 28px; height: 28px; }
.gallery-loader { text-align: center; padding-block: 10px 20px; min-height: 100px; }
.secondary-button { background: #f2e3ce; font-size: 12px; padding: 14px 23px; gap: 20px; border-color: #c7a17a; }
.secondary-button:hover { background: #ecd6bb; }
.secondary-button .icon { width: 15px; height: 15px; }
.album-end { display: flex; flex-direction: column; align-items: center; gap: 15px; margin-top: 5px; color: var(--muted); font-family: var(--serif); font-size: 21px; font-style: italic; text-align: center; }
.album-end .icon { width: 19px; height: 19px; color: var(--clay); stroke-width: 1.1; }
.empty-state { padding: 50px 20px 60px; text-align: center; }
.empty-state > span { display: block; font-size: 54px; color: #bba38a; }
.empty-state h3 { font-family: var(--serif); font-size: 34px; font-weight: 400; margin-top: 15px; }
.empty-state p { color: var(--muted); line-height: 1.9; font-size: 12px; margin-top: 15px; }
.text-button { display: inline-flex; align-items: center; gap: 14px; padding: 0 0 5px; border: 0; border-bottom: 1px solid #c8a07c; background: transparent; font-size: 12px; margin-top: 25px; }
.text-button .icon { width: 15px; height: 15px; }
.noscript-note { padding: 20px; border: 1px solid var(--line); }
.noscript-note a { text-decoration: underline; }
.thank-you { overflow: hidden; position: relative; background: #efdfc8; background-image: radial-gradient(ellipse at 50% 20%, #fcf2e280, transparent 70%); border-block: 1px solid #ddc6a8; text-align: center; padding: 41px 24px 58px; }
.thanks-inner { position: relative; z-index: 1; }
.thanks-hearts { width: 106px; height: 94px; margin: 0 auto 20px; }
.thank-you .eyebrow { justify-content: center; color: #8f6749; font-size: 9px; }
.thank-you h2 { font-size: 88px; margin-top: 15px; }
.thank-you p:not(.eyebrow):not(.thanks-signature):not(.thanks-with-love) { font-size: 13px; line-height: 2.1; color: #80614b; margin-top: 20px; }
.thanks-with-love { font-family: var(--script); font-size: 29px; color: #a26544; margin-top: 27px; }
.thanks-signature { font-family: var(--script); color: #985439; font-size: 41px; margin-top: 2px; }
.thanks-bouquet { position: absolute; width: 170px; height: auto; left: max(5%, calc((100% - 1100px) / 2)); bottom: 35px; transform: rotate(-15deg); opacity: .85; }
.van-note { position: absolute; right: max(4%, calc((100% - 1190px) / 2)); bottom: 80px; width: 215px; transform: rotate(5deg); }
.van-note img { width: 100%; height: auto; }
.van-note figcaption { font-family: var(--script); font-size: 24px; color: #9c6c48; margin-top: -4px; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding-block: 30px 23px; }
.site-footer .monogram { font-size: 28px; justify-self: start; }
.site-footer .monogram > span { font-size: 20px; }
.site-footer > p { color: #8d7057; font-size: 10px; }
.back-to-top { display: flex; align-items: center; gap: 12px; justify-self: end; font-size: 10px; color: #8f5e42; }
.back-to-top .icon { width: 14px; height: 14px; }
.site-footer small { grid-column: 1 / -1; text-align: center; font-size: 9px; color: #94765c; }
.site-footer small a { text-decoration: underline; text-underline-offset: 2px; }

/* La visionneuse utilise un vrai <dialog> : focus piégé et arrière-plan inerte. */
.lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; border: 0; padding: 0; margin: 0; background: #352820; color: #fcf0dd; overflow: hidden; }
.lightbox::backdrop { background: #352820; }
.lightbox-shell { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox-header { height: 79px; padding: 15px 30px; display: flex; align-items: center; justify-content: space-between; }
.lightbox-header > div { display: flex; align-items: center; gap: 25px; }
.lightbox-brand { font-family: var(--serif); font-size: 26px; letter-spacing: -.03em; }
.lightbox-moment { font-size: 11px; color: #c7ae95; padding-left: 25px; border-left: 1px solid #735b46; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #8d6d50; border-radius: 50%; color: #f5e6ce; background: #433127; transition: background .2s; }
.icon-button .icon { width: 19px; height: 19px; }
.icon-button:hover { background: #634733; }
.icon-button:disabled { opacity: .2; }
.icon-button.is-saved { color: #d5a48a; }
.icon-button.is-saved .icon { fill: currentColor; }
.lightbox-stage { min-height: 0; display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; align-items: center; gap: 12px; padding: 5px 18px; }
.lightbox-stage > button { justify-self: center; }
.lightbox-figure { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; touch-action: pan-y pinch-zoom; }
.lightbox-figure img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
.lightbox-image-status { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: #433127; border-radius: 3px; padding: 6px 10px; font-size: 10px; white-space: nowrap; }
.lightbox-image-status:empty { display: none; }
.lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 110px 28px; }
.lightbox-caption h2 { font-family: var(--serif); font-size: 29px; letter-spacing: 0; }
.lightbox-caption p { margin-top: 7px; color: #c7ae95; font-size: 10px; }
.lightbox-actions { display: flex; align-items: center; gap: 12px; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 26px; transform: translate(-50%, 15px); display: flex; align-items: center; gap: 12px; border-radius: 3px; background: var(--rust); color: #fff5e5; padding: 14px 21px; box-shadow: 0 4px 20px #66402622; font-size: 11px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px); width: max-content; }
.toast .icon { width: 16px; height: 16px; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (hover: hover) and (pointer: fine) { .photo-favorite:not(.is-saved) { opacity: 0; } .photo-card:hover .photo-favorite, .photo-card:focus-within .photo-favorite { opacity: 1; } }
@media (min-width: 1600px) { .hero { padding-block: 80px 105px; } }
@media (max-width: 1180px) {
  .page-width { width: calc(100% - 72px); }
  .hero { gap: 28px; padding-block: 55px 80px; }
  h1 { font-size: 7.05vw; }
  .hero-visual { padding-right: 12px; padding-left: 10px; }
  .hero-photo-frame { height: 470px; }
  .love-note { right: -2px; width: 105px; }
  .love-note img { width: 75px; height: 67px; }
  .love-note span { font-size: 23px; }
  .polaroid { width: 147px; left: -10px; }
  .polaroid img { height: 135px; }
  .polaroid figcaption { font-size: 18px; }
  .hero-bouquet { right: 0; width: 125px; }
  .filter-button { padding-inline: 10px; font-size: 11px; gap: 6px; }
  .favorites-filter { padding-left: 13px; }
  .moment-filters { gap: 2px; }
}
@media (max-width: 960px) {
  .page-width { width: calc(100% - 56px); }
  .hero { gap: 20px; }
  .hero-photo-frame { height: 450px; }
  h1 { font-size: 7.2vw; }
  .couple-names { font-size: 32px; }
  .hero-description { font-size: 12px; }
  .hero-note { font-size: 21px; gap: 8px; }
  .heart-trail { width: 55px; }
  .hero-bouquet { right: 4px; width: 115px; transform: rotate(10deg); }
  .header-date { font-size: 10px; gap: 10px; }
  .main-nav { gap: 24px; margin-left: 10px; }
  .main-nav a { font-size: 11px; }
  .handwritten-note { font-size: 25px; }
  h2 { font-size: 49px; }
  .filter-bar { gap: 8px; }
  .moment-filters { flex: 1 1 auto; }
  .favorites-filter { border-left: 0; background: #f2e3ce; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-group[data-moment="amoureux"] .gallery-grid, .gallery-group[data-moment="reception"] .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-card { aspect-ratio: 1.12; }
  .gallery-group[data-moment="amoureux"] .photo-card, .gallery-group[data-moment="reception"] .photo-card { aspect-ratio: .85; }
  .van-note { position: relative; right: auto; bottom: auto; width: 165px; margin: 25px auto 0; }
  .van-note figcaption { font-size: 22px; }
  .thanks-bouquet { width: 130px; left: 24px; bottom: 38px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .page-width { width: calc(100% - 40px); }
  .header-inner { height: 70px; }
  .monogram { font-size: 31px; }
  .monogram > span { font-size: 22px; }
  .main-nav { margin-left: auto; margin-right: 23px; gap: 20px; }
  .main-nav a { font-size: 10px; }
  .main-nav a:first-child { display: none; }
  .header-date { gap: 0; }
  .header-date > span { display: none; }
  .header-date img { width: 32px; height: 29px; }
  .hero { grid-template-columns: 1fr; gap: 55px; padding-block: 39px 85px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; font-size: 9px; }
  h1 { margin-top: 20px; font-size: clamp(59px, 11vw, 84px); line-height: .99; }
  .couple-names { font-size: 35px; margin-top: 20px; }
  .hero-description { font-size: 12px; line-height: 1.85; margin-top: 16px; }
  .primary-button { margin-top: 25px; padding: 15px 21px; font-size: 11px; }
  .hero-note { justify-content: center; margin-top: 20px; font-size: 23px; }
  .hero-visual { width: min(510px, 92%); justify-self: center; padding: 0 9px 0 18px; }
  .hero-photo-frame { height: clamp(355px, 82vw, 490px); padding: 9px 9px 43px; }
  .hero-photo-frame::before { width: 83px; height: 24px; top: -11px; }
  .polaroid { width: 127px; left: -6px; bottom: -26px; padding: 6px 6px 7px; }
  .polaroid img { height: 115px; }
  .polaroid figcaption { font-size: 16px; margin-top: 7px; }
  .love-note { width: 90px; right: -3px; top: -38px; }
  .love-note img { width: 66px; height: 59px; }
  .love-note span { font-size: 21px; }
  .hero-photo-caption { right: 16px; bottom: 8px; font-size: 24px; }
  .hero-bouquet { width: 105px; right: -4px; bottom: -42px; transform: rotate(14deg); }
  .memory-strip { gap: 9px; padding-block: 15px; font-size: 20px; }
  .memory-strip p { max-width: 220px; line-height: 1.3; }
  .memory-strip img { width: 33px; height: 30px; margin-left: -7px; }
  .album-section { padding-top: 49px; padding-bottom: 55px; }
  .album-heading { align-items: start; gap: 15px; margin-bottom: 24px; }
  .album-heading .eyebrow { font-size: 9px; }
  h2 { font-size: clamp(40px, 8vw, 54px); }
  .album-heading h2 { margin-top: 9px; }
  .album-heading-note { display: none; }
  .album-introduction { font-size: 11px; margin-top: 12px; }
  .filter-bar { top: 70px; gap: 10px; padding-block: 11px; flex-wrap: nowrap; }
  .moment-filters { flex: 1 1 auto; gap: 3px; padding: 3px 1px; }
  .filter-button { padding: 10px 11px; font-size: 11px; }
  .favorites-filter { padding: 12px; }
  .favorites-filter > span { display: none; }
  .favorites-filter .icon { width: 15px; height: 15px; }
  .album-meta { margin-block: 17px 27px; font-size: 9px; }
  .album-meta > span { font-size: 8px; gap: 6px; }
  .album-meta .icon { width: 11px; height: 11px; }
  .gallery-group { padding-bottom: 32px; contain-intrinsic-size: auto 550px; }
  .moment-heading { margin-bottom: 15px; }
  .moment-heading-main { gap: 11px; }
  .moment-flower { width: 23px; height: 23px; margin-top: 3px; }
  .moment-heading h3 { font-size: 34px; }
  .moment-heading p { font-size: 10px; max-width: 250px; }
  .gallery-grid, .gallery-group[data-moment="amoureux"] .gallery-grid, .gallery-group[data-moment="reception"] .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-card, .gallery-group[data-moment="amoureux"] .photo-card, .gallery-group[data-moment="reception"] .photo-card { aspect-ratio: .84; }
  .photo-card { padding: 6px 6px 3px; }
  .photo-favorite { width: 30px; height: 30px; top: 12px; right: 12px; }
  .photo-favorite .icon { width: 14px; height: 14px; }
  .photo-overlay { padding: 13px; }
  .photo-overlay .icon { display: none; }
  .album-end { font-size: 18px; line-height: 1.5; gap: 11px; }
  .thank-you { padding: 44px 24px 40px; }
  .thank-you h2 { font-size: 73px; }
  .thank-you p:not(.eyebrow):not(.thanks-signature):not(.thanks-with-love) { font-size: 12px; }
  .thank-you .eyebrow { font-size: 8px; letter-spacing: .15em; }
  .thanks-signature { font-size: 34px; }
  .thanks-bouquet { width: 90px; left: 7px; bottom: 25px; }
  .thanks-hearts { width: 92px; height: 82px; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-block: 25px 20px; gap: 16px; }
  .site-footer > p { grid-row: 2; grid-column: 1 / -1; text-align: center; font-size: 9px; }
  .site-footer small { font-size: 8px; line-height: 1.7; }
  .lightbox-header { height: 69px; padding: 12px 16px; }
  .lightbox-brand { font-size: 23px; }
  .lightbox-header > div { gap: 17px; }
  .lightbox-moment { padding-left: 17px; font-size: 10px; }
  .lightbox-stage { position: relative; display: block; padding: 0; }
  .lightbox-figure { width: 100%; height: 100%; }
  .lightbox-stage > button { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: #433127; }
  .lightbox-previous { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-footer { padding: 22px 20px max(25px, env(safe-area-inset-bottom)); gap: 15px; }
  .lightbox-caption h2 { font-size: 25px; }
  .keyboard-hint { display: none; }
  .lightbox-actions { gap: 8px; }
  .lightbox-actions .icon-button { width: 40px; height: 40px; }
  .lightbox-image-status { max-width: calc(100vw - 40px); white-space: normal; text-align: center; }
}
@media (max-width: 370px) {
  .page-width { width: calc(100% - 32px); }
  .main-nav { margin-right: 15px; gap: 15px; }
  h1 { font-size: 55px; }
  .couple-names { font-size: 32px; }
  .hero-description { font-size: 11px; }
  .hero-photo-frame { height: 325px; }
  .hero-bouquet { width: 88px; right: 0; }
  .album-meta > span { display: none; }
  .moment-heading p { max-width: 190px; }
  .lightbox-caption h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Des tirages sans légende : seule la photographie reste dans le cadre. */
.hero-photo-frame { padding: 13px; }
.polaroid { padding: 8px; }
.photo-card { padding: 9px; }
.lightbox-footer { justify-content: flex-end; }
@media (max-width: 760px) {
  .hero-photo-frame { padding: 9px; }
  .polaroid, .photo-card { padding: 6px; }
}
