/* ==========================================================================
   Thibaut & Paloma — charte « Arc atlantique » (sobre)
   60 % ivoire (fonds) · 30 % ardoise (textes) · 10 % brique (accents)
   Bleu hortensia et vert : illustrations et petits détails uniquement.
   ========================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url(fonts/cormorant-garamond-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/raleway-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/raleway-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/raleway-latin-600-normal.woff2) format("woff2"); }

:root {
  --ivoire: #F6F2EA; --papier: #FBF9F4; --lin: #EFE8DC;
  --ardoise: #2F465A; --ardoise-2: #5B6E7E; --ardoise-3: #8696A3;
  --brique: #B8705C; --brique-f: #9A5A48; --brique-pale: #F1E2DA;
  --ligne: #E0D8CA; --hortensia: #8FA9C4; --hortensia-f: #5E7FA6; --vert: #6E8B67;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --head: 68px;
}
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); }
html.locked, html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--ivoire) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .18 0 0 0 0 .27 0 0 0 0 .35 0 0 0 .055 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); color: var(--ardoise); font: 400 17px/1.75 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 3.8rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 400; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-color: var(--brique); text-underline-offset: 3px; }
a:hover { color: var(--brique-f); }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--hortensia-f); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; background: var(--ardoise); color: var(--ivoire); padding: .4rem .8rem; border-radius: 6px; z-index: 100; }
.skip:focus { top: .8rem; }
.eyebrow { font: 500 .74rem/1.4 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ardoise-2); margin: 0 0 .8rem; }
.lead { font-size: 1.05rem; color: var(--ardoise-2); max-width: 640px; margin: 0 auto 1.5rem; }
.small { font-size: .82rem; color: var(--ardoise-2); }
main { overflow-x: clip; }

/* -------------------------------------------------- boutons */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--brique); color: #fff; border: 0; border-radius: 99px; padding: .9rem 2rem; font: 500 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { background: var(--brique-f); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px -8px rgba(154, 90, 72, .6); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-ghost { display: inline-flex; align-items: center; gap: .45rem; background: transparent; border: 1px solid var(--ligne); color: var(--ardoise); border-radius: 99px; padding: .55rem 1rem; font: 500 .82rem var(--sans); text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.btn-ghost:hover { border-color: var(--brique); color: var(--brique-f); background: var(--papier); }
.btn-ghost .ico { width: 17px; height: 17px; }
.link-btn { background: none; border: 0; color: var(--brique-f); font: 400 .85rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }

/* -------------------------------------------------- en-tête */
.top { position: sticky; top: 0; z-index: 30; height: var(--head); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 4vw, 2.5rem); background: rgba(246, 242, 234, 0); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
.top.scrolled, .menu-open .top { background: rgba(246, 242, 234, .92); border-bottom-color: var(--ligne); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ardoise); }
.brand-mono { width: 42px; height: 42px; flex-shrink: 0; }
.brand-mono svg, .foot-mono svg, .gate-mono svg, .hero-mono svg, .nf-mono svg { display: block; width: 100%; height: 100%; }
.brand-name { font: 500 1.35rem/1 var(--serif); }
.brand-name em, .names em, .gate-names em, .foot-names em { font-style: italic; font-weight: 300; color: var(--brique); padding: 0 .08em; }
.brand-name em.amp, .names em.amp, .gate-names em.amp, .foot-names em.amp { font-style: italic; font-weight: 400; padding: 0 .08em; }
nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; text-decoration: none; font-size: .86rem; letter-spacing: .04em; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brique); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links .nav-rsvp { color: var(--brique-f); font-weight: 500; }
.langs { display: flex; gap: .15rem; padding-left: 1.2rem; border-left: 1px solid var(--ligne); }
.langs a { font: 500 .72rem var(--sans); letter-spacing: .12em; text-decoration: none; padding: .3rem .45rem; border-radius: 6px; color: var(--ardoise-3); }
.langs a:hover { color: var(--ardoise); }
.langs a[aria-current] { color: var(--ardoise); background: var(--lin); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--ardoise); transition: transform .3s var(--ease), opacity .2s; content: ""; }
.menu-lines { top: 21px; } .menu-lines::before { left: 0; top: -7px; } .menu-lines::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------- illustrations (tracé animé) */
.illus { display: block; width: 100%; height: auto; overflow: visible; }
.hero-art .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) forwards; }
.hero-art .washes { opacity: 0; animation: fadein 1.8s 1.5s ease forwards; }
.hero-t .ln { animation-delay: .35s; } .hero-t .washes { animation-delay: 1.85s; }
html.locked .hero-art * { animation-play-state: paused; }
html.vu .hero-art .ln { animation: none; stroke-dashoffset: 0; }
html.vu .hero-art .washes { animation: none; opacity: 1; }
@keyframes fadein { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }

/* -------------------------------------------------- hero */
.hero { position: relative; min-height: min(calc(100svh - var(--head)), 860px); display: grid; place-items: center; text-align: center; padding: 2rem 1.5rem 7rem; margin-top: calc(-1 * var(--head)); padding-top: calc(var(--head) + 2rem); }
.hero-art { position: absolute; bottom: 2.2rem; width: clamp(170px, 23vw, 330px); opacity: .9; pointer-events: none; }
.hero-o { left: clamp(.5rem, 4vw, 4rem); }
.hero-t { right: clamp(.5rem, 4vw, 4rem); width: clamp(190px, 26vw, 370px); }
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-mono { width: 112px; height: 112px; margin: 0 auto 1.4rem; }
.names { font-size: clamp(3.2rem, 7.4vw, 5.6rem); font-weight: 400; line-height: 1; margin: 0 0 1.6rem; }
.names em { display: inline-block; }
.hero-dates { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 0 1.4rem; }
.hd { display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: .3rem .4rem; border-radius: 8px; transition: transform .25s var(--ease); }
.hd:hover { transform: translateY(-2px); color: inherit; }
.hd-city { font: italic 400 1.5rem/1.1 var(--serif); }
.hd-date { font: 500 .78rem var(--sans); letter-spacing: .22em; color: var(--ardoise-2); }
.hd-route { width: 80px; color: var(--brique); }
.hd-route svg { display: block; fill: var(--brique); }
.countdown { color: var(--ardoise-2); font-size: .9rem; margin: 0 0 1.8rem; }
.countdown strong { font: 500 1.7rem var(--serif); color: var(--ardoise); }
.scroll-cue { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 1px solid var(--ardoise-3); border-radius: 12px; opacity: .6; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ardoise-2); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.rise { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) var(--d, 0s) forwards; }
html.vu .rise { animation-duration: .5s; animation-delay: 0s; }
html.locked .rise { animation-play-state: paused; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* -------------------------------------------------- apparition au défilement */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* -------------------------------------------------- sections accueil */
section { padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 5vw, 2rem); }
.section-title { text-align: center; }
.section-title::after, .page-head h1::after { content: ""; display: block; width: 92px; height: 16px; margin: .8rem auto 0; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 16'><path d='M4 8.5 C 24 6, 66 6, 86 8.5' fill='none' stroke='%23B8705C' stroke-width='.8' stroke-linecap='round'/><g fill='%236E8B67' opacity='.85'><path d='M20 7.2 q4 -5 9 -3 q-4 4 -9 3z'/><path d='M30 7 q4 4 9 2.5 q-4 -4.5 -9 -2.5z'/><path d='M70 7.2 q-4 -5 -9 -3 q4 4 9 3z'/><path d='M60 7 q-4 4 -9 2.5 q4 -4.5 9 -2.5z'/></g><circle cx='45' cy='6.9' r='2.4' fill='%238FA9C4'/><circle cx='45' cy='6.9' r='1' fill='%23F6F2EA'/></svg>") center / contain no-repeat; }
.invite { max-width: 680px; margin: 0 auto; text-align: center; }
.invite p { font: 400 1.32rem/1.65 var(--serif); color: var(--ardoise); text-align: left; }
.invite .dropcap::first-letter { font: 500 3.2em/.8 var(--serif); color: var(--brique); float: left; margin: .08em .1em 0 0; }
.invite .signature { text-align: center; }
.signature { font: italic 400 1.6rem var(--serif) !important; color: var(--brique-f) !important; margin-top: 1.5rem; }
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 1020px; margin: 0 auto; padding-top: 0; }
.event { position: relative; background: var(--papier); border: 1px solid var(--ligne); border-radius: 18px; padding: 2.2rem 2rem 1.8rem; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.event:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(47, 70, 90, .35); }
.event-art { display: block; width: calc(100% + 1rem); margin: -1rem -.5rem 1.2rem; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.event:hover .event-art { transform: scale(1.02); }
.event-kind { font: 500 .72rem var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brique-f); margin: 0 0 .3rem; }
.event-city { font: italic 400 2.6rem/1 var(--serif); margin: 0 0 .6rem; }
.event-date { font: 500 1.25rem var(--serif); margin: 0 0 .7rem; }
.event-date::first-letter { text-transform: uppercase; }
.event-place { font-size: .95rem; margin: 0 0 .8rem; }
.event-place span { color: var(--ardoise-2); font-size: .88rem; }
.event-text { color: var(--ardoise-2); font-size: .95rem; max-width: 30ch; }
.event-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; position: relative; }
.cta { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-flower { width: 120px; margin: 0 auto 1rem; animation: sway 7s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.cta p { color: var(--ardoise-2); }
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; max-width: 1020px; margin: 0 auto; padding-top: 0; }
.more-card { position: relative; display: block; text-decoration: none; padding: 1.6rem 1.6rem 2.6rem; border-top: 1px solid var(--ardoise); transition: background .3s; border-radius: 0 0 12px 12px; }
.more-card:hover { background: var(--papier); color: inherit; }
.more-card p { color: var(--ardoise-2); font-size: .93rem; margin: 0; }
.more-arrow { position: absolute; left: 1.6rem; bottom: 1rem; width: 22px; color: var(--brique); transition: transform .3s var(--ease); }
.more-card:hover .more-arrow { transform: translateX(6px); }
.ico { width: 22px; height: 22px; display: block; }

/* -------------------------------------------------- en-tête de page */
.page-head { text-align: center; padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.2rem, 5vw, 2rem) 1.5rem; max-width: 820px; margin: 0 auto; }
.page-head h1 { margin-bottom: 1.2rem; }
.deadline { display: inline-block; margin-top: .6rem; font-weight: 500; color: var(--brique-f); }

/* -------------------------------------------------- programme */
.days { max-width: 1020px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 2rem) 3rem; }
.day { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 4rem); padding: 3rem 0; border-top: 1px solid var(--ligne); }
.day-head { position: sticky; top: calc(var(--head) + 1.5rem); align-self: start; }
.day-art { display: block; width: 100%; max-width: 380px; margin: 0 0 1.2rem -6px; mix-blend-mode: multiply; }
.day-city { font: 500 .74rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--brique-f); margin: 0 0 .3rem; }
.day-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.day-place { color: var(--ardoise-2); font: italic 400 1.15rem var(--serif); }
.day-brunch .day-head h2 { font-size: 1.6rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--brique), var(--ligne)); }
.timeline li { position: relative; padding: 0 0 2rem 4.2rem; }
.tl-icon { position: absolute; left: 0; top: 0; width: 43px; height: 43px; border-radius: 50%; background: var(--ivoire); border: 1px solid var(--brique); color: var(--brique-f); display: grid; place-items: center; }
.tl-icon .ico { width: 20px; height: 20px; }
.tl-time { margin: 0; font: 500 .8rem var(--sans); letter-spacing: .18em; color: var(--ardoise-2); }
.timeline h3 { margin: .1rem 0 .2rem; }
.timeline p { margin: 0; color: var(--ardoise-2); }

/* -------------------------------------------------- météo */
.wx { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.2rem; padding: .9rem 1rem; border-radius: 14px; background: rgba(239, 232, 220, .6); border: 1px solid var(--ligne); position: relative; }
.wx-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--papier); color: var(--brique); display: grid; place-items: center; }
.wx-ico .ico { width: 24px; height: 24px; }
.wx-body p { margin: 0; }
.wx-head { font-size: .85rem; color: var(--ardoise-2); }
.wx-label { font: 500 .68rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ardoise-2); margin-right: .3rem; }
.wx-max { font: 500 1.35rem var(--serif); color: var(--ardoise); }
.wx-sep { margin: 0 .15rem; color: var(--ardoise-3); }
.wx-min { font: 400 1.1rem var(--serif); color: var(--ardoise-2); }
.wx-rain { font-size: .8rem; }
.wx-tip { font-size: .88rem; margin-top: .3rem !important; }
.wx-tip > span:first-child { font-weight: 500; color: var(--brique-f); }
.wx-note { font-size: .74rem; color: var(--ardoise-3); margin-top: .35rem !important; }
.wx.live .wx-label { color: var(--vert); }

/* -------------------------------------------------- venir & se loger */
.city-tabs { display: inline-flex; gap: .4rem; padding: .3rem; border: 1px solid var(--ligne); border-radius: 99px; margin-top: .5rem; }
.city-tabs a { text-decoration: none; padding: .45rem 1.1rem; border-radius: 99px; font: italic 500 1.15rem var(--serif); transition: background .2s; }
.city-tabs a span { font: 500 .7rem var(--sans); letter-spacing: .14em; color: var(--ardoise-2); margin-left: .3rem; }
.city-tabs a:hover { background: var(--papier); }
.city { max-width: 1120px; margin: 0 auto; padding-top: 2.5rem; }
.city-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; border-bottom: 1px solid var(--ligne); margin-bottom: 1.5rem; }
.city-venue { width: clamp(180px, 34vw, 340px); margin-bottom: -2px; mix-blend-mode: multiply; }
.city-head h2 { font-style: italic; margin: 0; font-size: clamp(2.2rem, 5vw, 3rem); }
.city-date { margin: 0; color: var(--ardoise-2); font-size: .9rem; }
.map-wrap { position: relative; }
.map { height: clamp(320px, 52vh, 480px); border-radius: 16px; border: 1px solid var(--ligne); background: var(--lin); overflow: hidden; z-index: 0; }
.map .leaflet-tile-pane { filter: grayscale(.75) sepia(.28) saturate(.9) contrast(.92) brightness(1.04); }
.map-hint { font-size: .78rem; color: var(--ardoise-3); text-align: right; margin: .4rem .2rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--ligne); background: var(--papier); color: var(--ardoise); border-radius: 99px; padding: .4rem .9rem; font: 500 .8rem var(--sans); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ardoise-3); }
.chip.on { background: var(--ardoise); border-color: var(--ardoise); color: var(--ivoire); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-venue { background: var(--brique); } .dot-transport { background: var(--ardoise); } .dot-hotel { background: var(--hortensia-f); } .dot-visit { background: var(--vert); }
.chip.on .dot-transport { background: var(--ivoire); }
.pin-wrap { background: none; border: 0; }
.pin { display: block; width: 100%; height: 100%; background: var(--c); border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 3px 8px rgba(47, 70, 90, .35); transition: transform .2s; }
.pin::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: #fff; }
.pin-wrap:hover .pin { transform: rotate(-45deg) scale(1.12); }
.pin-venue { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 112, 92, .45), 0 3px 8px rgba(47, 70, 90, .35); } 70% { box-shadow: 0 0 0 14px rgba(184, 112, 92, 0), 0 3px 8px rgba(47, 70, 90, .35); } 100% { box-shadow: 0 0 0 0 rgba(184, 112, 92, 0), 0 3px 8px rgba(47, 70, 90, .35); } }
.pop .leaflet-popup-content-wrapper { border-radius: 12px; background: var(--papier); color: var(--ardoise); box-shadow: 0 10px 30px -12px rgba(47, 70, 90, .4); }
.pop .leaflet-popup-content { margin: .8rem 1rem; font: 400 .88rem/1.5 var(--sans); display: grid; gap: .25rem; }
.pop strong { font: 500 1.1rem var(--serif); }
.pop span { color: var(--ardoise-2); }
.pop a { color: var(--brique-f); font-weight: 500; }
.leaflet-container { font-family: var(--sans); }
.leaflet-control-zoom a { color: var(--ardoise) !important; }
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); margin-top: 2.5rem; }
.block h3 { font-size: 1.6rem; font-style: italic; font-weight: 400; }
.block h3.mt { margin-top: 2rem; }
.block > p { color: var(--ardoise-2); }
.come { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ligne); }
.come:last-child { border-bottom: 0; }
.come-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--lin); color: var(--ardoise); display: grid; place-items: center; }
.come h4 { margin: .2rem 0 .2rem; font-size: 1.15rem; }
.come p { margin: 0; color: var(--ardoise-2); font-size: .95rem; }
.places { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.place { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; text-align: left; background: var(--papier); border: 1px solid var(--ligne); border-radius: 12px; padding: .75rem 1rem; color: var(--ardoise); font: inherit; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.place:hover { border-color: var(--brique); transform: translateX(3px); }
.place strong { display: block; font: 500 1.08rem/1.2 var(--serif); }
.place small { display: block; color: var(--ardoise-2); font-size: .82rem; }
.place .ico { width: 18px; height: 18px; color: var(--ardoise-3); }
.between { display: flex; gap: 1.2rem; align-items: flex-start; max-width: 760px; margin: 1rem auto 0; padding: 1.6rem 1.8rem; background: var(--papier); border: 1px dashed var(--brique); border-radius: 16px; }
.between-ico { color: var(--brique); flex-shrink: 0; }
.between h3 { margin: 0 0 .3rem; font-size: 1.35rem; }
.between p { margin: 0; color: var(--ardoise-2); }

/* -------------------------------------------------- FAQ */
.faq-wrap { max-width: 780px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 2rem) 4rem; }
.faq-group { padding: 1.5rem 0 1rem; }
.faq-group h2 { font-size: 1.7rem; font-style: italic; color: var(--brique-f); margin-bottom: .6rem; }
.faq { border-bottom: 1px solid var(--ligne); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; padding: 1rem 0; font: 500 1.22rem/1.35 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: var(--brique); transition: transform .3s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq[open] .faq-plus::after { transform: rotate(0); }
.faq-a { overflow: hidden; transition: height .28s var(--ease); }
.faq-a p { color: var(--ardoise-2); margin: 0 0 1.1rem; max-width: 64ch; }

/* -------------------------------------------------- formulaire RSVP */
.rsvp-wrap { max-width: 720px; margin: 0 auto; padding-top: 0; }
.form { background: var(--papier); border: 1px solid var(--ligne); border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem); }
.form label { display: block; margin-bottom: 1.1rem; font-size: .88rem; color: var(--ardoise-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input:not([type=radio]):not([type=checkbox]), .form textarea, .form select { display: block; width: 100%; margin-top: .35rem; padding: .75rem .9rem; border: 1px solid var(--ligne); border-radius: 10px; background: var(--ivoire); font: 400 1rem var(--sans); color: var(--ardoise); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--hortensia-f); box-shadow: 0 0 0 3px rgba(143, 169, 196, .3); }
.form fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.form legend { font: 500 1.2rem var(--serif); color: var(--ardoise); margin-bottom: .7rem; }
.pill { display: inline-block !important; margin: 0 .4rem .5rem 0 !important; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: .6rem 1.2rem; border: 1px solid var(--ligne); border-radius: 99px; background: var(--ivoire); color: var(--ardoise); font-size: .95rem; cursor: pointer; transition: all .2s; }
.pill:hover span { border-color: var(--ardoise-3); }
.pill input:checked + span { background: var(--ardoise); border-color: var(--ardoise); color: var(--ivoire); }
.pill input:focus-visible + span { outline: 2px solid var(--hortensia-f); outline-offset: 2px; }
.check { display: flex !important; align-items: center; gap: .6rem; color: var(--ardoise) !important; font-size: .95rem !important; }
.check input { accent-color: var(--brique); width: 18px; height: 18px; }
#if-yes[hidden] { display: none; }
.person { background: var(--ivoire); border: 1px solid var(--ligne); border-radius: 14px; padding: 1rem 1rem .5rem; margin-bottom: .8rem; animation: rise .4s var(--ease); }
.person-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.person-row label { margin-bottom: .7rem; }
.person input:not([type=checkbox]), .person select { background: var(--papier) !important; }
.person-foot { display: flex; justify-content: space-between; align-items: center; padding-bottom: .5rem; }
.person-foot .check { margin: 0; }
.form-msg { min-height: 1.4em; margin: 0 0 1rem; font-size: .95rem; }
.form-msg.ok { color: var(--vert); } .form-msg.err { color: var(--brique-f); }

/* -------------------------------------------------- cadeaux */
.gifts { padding-bottom: 5rem; }
.gifts-flower { width: 150px; margin: 0 auto 1rem; animation: sway 7s ease-in-out infinite; transform-origin: 50% 90%; }
.soon { display: inline-block; border: 1px dashed var(--brique); border-radius: 99px; padding: .55rem 1.2rem; color: var(--brique-f); font-size: .9rem; }

.photos-arts { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.5rem, 3vw, 2rem); margin-bottom: 1rem; }
.photos-art { width: clamp(110px, 18vw, 170px); display: block; mix-blend-mode: multiply; }

/* -------------------------------------------------- photos des invités */
.photos-wrap { max-width: 960px; margin: 0 auto; padding-top: 0; }
.up { max-width: 620px; margin: 0 auto clamp(3rem, 8vw, 5rem); text-align: center; }
.up-who { text-align: left; }
.up-drop { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: .7rem; padding: 1.9rem 1rem 1.6rem; margin: .2rem 0 1rem !important; border: 1.5px dashed var(--ligne); border-radius: 16px; background: var(--ivoire); cursor: pointer; transition: border-color .2s, background .2s; }
.up-drop:hover, .up.drag .up-drop { border-color: var(--brique); background: #fff; }
.form .up-drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.up-drop:focus-within { box-shadow: 0 0 0 3px rgba(143, 169, 196, .35); }
.up-drop .btn { pointer-events: none; }
.up-drop .btn .ico { width: 19px; height: 19px; }
.up-hint { font-size: .85rem; color: var(--ardoise-3); }
@media (hover: none) { .up-hint { display: none; } }
.up-status { min-height: 1.4em; margin: 0 0 .6rem; color: var(--vert); font-size: .95rem; }
.up-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .45rem; text-align: left; max-height: 360px; overflow-y: auto; }
.up-list:empty { display: none; }
.up-item { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: .8rem; padding: .4rem .7rem .4rem .4rem; border: 1px solid var(--ligne); border-radius: 12px; background: var(--ivoire); font-size: .86rem; animation: rise .35s var(--ease); }
.up-thumb { width: 42px; height: 42px; border-radius: 8px; background: var(--lin) center / cover no-repeat; }
.up-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ardoise-2); }
.up-state { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--ardoise-3); white-space: nowrap; }
.up-item.busy .up-state::before { content: ""; width: 11px; height: 11px; border: 2px solid var(--ligne); border-top-color: var(--brique); border-radius: 50%; animation: spin .8s linear infinite; }
.up-item.ok .up-state { color: var(--vert); }
.up-item.ok .up-state::before { content: "✓"; font-weight: 600; }
.up-item.err .up-state { color: var(--brique-f); white-space: normal; text-align: right; }
.up-retry { background: none; border: 0; padding: 0; color: var(--brique-f); font: inherit; text-decoration: underline; cursor: pointer; }
.up-note { margin: 0; font-size: .82rem; color: var(--ardoise-3); }
@keyframes spin { to { transform: rotate(360deg); } }
.album { text-align: center; }
.album-sub { color: var(--ardoise-2); margin: -.4rem 0 1.6rem; }
.album-count { color: var(--ardoise-3); }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.album-tile { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--lin); cursor: zoom-in; animation: rise .4s var(--ease); }
.album-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.album-tile:hover img { transform: scale(1.04); }
.album-tile span { position: absolute; inset: auto 0 0 0; padding: 1.4rem .55rem .4rem; background: linear-gradient(transparent, rgba(28, 36, 44, .6)); color: #fff; font-size: .74rem; text-align: left; opacity: 0; transition: opacity .25s; }
.album-tile:hover span, .album-tile:focus-visible span { opacity: 1; }
.album-empty { color: var(--ardoise-3); font-style: italic; }
.album-more { margin-top: 1.5rem; }
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(24, 32, 40, .9); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-width: min(94vw, 1500px); max-height: 84dvh; border-radius: 6px; box-shadow: 0 24px 60px -20px #000; }
.lb-cap { margin-top: .7rem; color: #E9E4DA; font-size: .85rem; }
.lb-close, .lb-prev, .lb-next { position: fixed; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .28); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: calc(50% - 23px); }
.lb-next { right: 1rem; top: calc(50% - 23px); }

/* -------------------------------------------------- pied de page */
.foot { text-align: center; padding: 3.5rem 1.5rem 3rem; border-top: 1px solid var(--ligne); color: var(--ardoise-2); font-size: .88rem; }
.foot-mono { width: 64px; height: 64px; margin: 0 auto .8rem; }
.foot-names { font: 400 1.6rem var(--serif); color: var(--ardoise); margin: 0 0 .2rem; }
.foot-route { letter-spacing: .25em; text-transform: uppercase; font-size: .7rem; }
.foot-langs a, .gate-langs a { margin: 0 .5rem; color: var(--ardoise-3); text-decoration: none; font-size: .8rem; }
.foot-langs a[aria-current], .gate-langs a[aria-current] { color: var(--ardoise); text-decoration: underline; }

/* -------------------------------------------------- page d'accès */
.gate { position: fixed; inset: 0; z-index: 60; background: var(--ivoire); display: grid; place-items: center; padding: 1.5rem; overflow-y: auto; transition: opacity .6s var(--ease); }
.gate[hidden] { display: none; }
.gate.leaving { opacity: 0; }
.gate-box { position: relative; width: min(100%, 420px); text-align: center; padding: 1rem 0 2rem; }
.gate-art { position: fixed; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 3vw 1.5rem; pointer-events: none; opacity: .55; z-index: -1; }
.ga { width: clamp(120px, 20vw, 260px); }
.gate-mono { width: 96px; height: 96px; margin: 0 auto 1.2rem; }
.gate-names { font-size: clamp(2.4rem, 8vw, 3.4rem); margin-bottom: 1rem; }
.gate-text { color: var(--ardoise-2); }
.gate-box input { width: 100%; margin: .4rem 0 1rem; padding: .85rem 1rem; border: 1px solid var(--ligne); border-radius: 99px; font: 400 1rem var(--sans); text-align: center; letter-spacing: .1em; background: var(--papier); color: var(--ardoise); }
.gate-box input:focus { outline: none; border-color: var(--hortensia-f); box-shadow: 0 0 0 3px rgba(143, 169, 196, .3); }
.gate-error { color: var(--brique-f); font-size: .9rem; margin-top: .8rem; }
.gate-langs { margin-top: 1.4rem; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* -------------------------------------------------- 404 */
.nf { max-width: 520px; margin: 0 auto; padding: 5rem 1.5rem; text-align: center; }
.nf-mono { width: 96px; height: 96px; margin: 0 auto 2rem; }
.nf section { padding: 1rem 0; border-bottom: 1px solid var(--ligne); }
.nf h1 { font-size: 1.8rem; }

/* -------------------------------------------------- mobile */
@media (max-width: 920px) {
  .menu-btn { display: block; z-index: 2; }
  nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--head)); overflow-y: auto; border-top: 1px solid var(--ligne); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem; padding: 2rem 1.8rem; background: var(--ivoire); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { display: block; font: 400 1.9rem/1.2 var(--serif); padding: .55rem 0; border-bottom: 1px solid var(--ligne); letter-spacing: 0; }
  .nav-links a::after { display: none; }
  .langs { border: 0; padding: 0; gap: .4rem; }
  .langs a { font-size: .85rem; padding: .5rem .8rem; border: 1px solid var(--ligne); }
  .day { grid-template-columns: 1fr; }
  .day-head { position: static; }
  .city-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1.15rem; }
  .brand-mono { width: 36px; height: 36px; }
  .hero { padding-bottom: calc(52vw + 4rem); align-items: start; min-height: 0; }
  .hero-inner { padding-top: 1.5rem; }
  .hero-art { width: 38vw; bottom: 3rem; opacity: .8; }
  .hero-o { left: -4vw; } .hero-t { right: -4vw; }
  .hero-mono { width: 88px; height: 88px; }
  .hero-dates { gap: .5rem; }
  .hd-route { width: 46px; }
  .hd-city { font-size: 1.3rem; }
  .invite p { font-size: 1.18rem; }
  .field-row, .person-row { grid-template-columns: 1fr; gap: 0; }
  .event { padding: 1.8rem 1.4rem 1.5rem; }
  .between { flex-direction: column; }
  .city-tabs a { font-size: 1rem; padding: .4rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1; transform: none; }
  .hero-art .ln { stroke-dashoffset: 0; }
  .hero-art .washes { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* remise hôtels */
.promo { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; margin: 0 0 1rem; border: 1px dashed var(--brique); border-radius: 12px; background: rgba(184, 112, 92, .06); font-size: .92rem; color: var(--ardoise); }
.promo .ico { width: 20px; height: 20px; flex-shrink: 0; color: var(--brique); margin-top: .1rem; }
.promo strong { letter-spacing: .06em; color: var(--brique-f); }
.place .tag { font-style: normal; font: 600 .72rem var(--sans); color: #fff; background: var(--brique); border-radius: 99px; padding: .25rem .5rem; white-space: nowrap; }
.pop-promo { display: inline-block; margin: .1rem 0 .4rem; font: 600 .72rem var(--sans); font-style: normal; color: #fff; background: var(--brique); border-radius: 99px; padding: .2rem .55rem; }
