/* Mise en page : invitation douce, rose poudré et lavande, une colonne centrée */
:root {
  --bg: #fbf1f3;
  --bg-2: #f3dde5;
  --rose: #e7b3c2;
  --rose-light: #f7dde5;
  --rose-deep: #c98aa0;
  --lav: #b39ddb;
  --lav-deep: #6f5a9a;
  --ink: #3f3350;
  --muted: #7f7090;
  --white: #ffffff;
  --f-script: "Great Vibes", "Brush Script MT", cursive;
  --f-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-body: "Lato", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2 { text-wrap: balance; margin: 0; font-weight: 400; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lav-deep); outline-offset: 3px; }

/* Fond doux avec paillettes */
.sky {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--lav) 30%, transparent), transparent 55%),
    radial-gradient(ellipse at 90% 100%, color-mix(in srgb, var(--rose) 45%, transparent), transparent 55%),
    var(--bg);
}
.sky canvas { width: 100%; height: 100%; display: block; }

/* ---------- Écran d'ouverture ---------- */
.gate {
  position: fixed; inset: 0; z-index: 20;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--bg-2), var(--bg) 50%, color-mix(in srgb, var(--lav) 25%, var(--bg)));
  padding: env(safe-area-inset-top, 0px) max(16px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(16px, env(safe-area-inset-left, 0px));
  transition: opacity .9s ease, visibility .9s;
}
.gate.is-open { opacity: 0; visibility: hidden; }
.gate { overflow-y: auto; }
.gate-inner {
  display: grid; justify-items: center; gap: 12px; text-align: center;
  /* l'enveloppe se réduit sur les petits écrans pour que le bouton reste visible */
  width: min(540px, 100%, calc((100vh - 340px) * 1.4));
  min-width: min(280px, 100%);
  padding-block: 16px;
}

/* ---------- Enveloppe au ruban ---------- */
.envelope {
  position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 7 / 5;
  padding: 0; border: 0; background: none; cursor: pointer;
  perspective: 1200px; margin: 6px 0 14px;
  filter: drop-shadow(0 20px 28px color-mix(in srgb, var(--lav-deep) 26%, transparent));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-6px); } }
.gate.opening .envelope { animation: none; }
.envelope > span { position: absolute; display: block; }

.env-back { inset: 0; border-radius: 8px; background: color-mix(in srgb, var(--lav) 28%, var(--white)); }
.letter {
  left: 6%; right: 6%; top: 6%; bottom: 6%; z-index: 1;
  display: grid !important; place-content: center; justify-items: center; gap: 4px;
  background: var(--white); border-radius: 4px;
  outline: 1px solid var(--rose); outline-offset: -6px;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.letter-eyebrow { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.letter-photo { width: 22%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 60px 60px 3px 3px; border: 1px solid var(--lav); }
.letter-names { font-family: var(--f-script); font-size: clamp(20px, 5vw, 30px); color: var(--lav-deep); line-height: 1.2; }
.letter-date { font-family: var(--f-display); font-size: 14px; color: var(--muted); letter-spacing: .12em; }

.env-pocket {
  inset: 0; z-index: 2; border-radius: 8px;
  background: linear-gradient(180deg, var(--white), color-mix(in srgb, var(--rose) 14%, var(--white)));
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
}
.env-lines { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.env-lines path { fill: none; stroke: color-mix(in srgb, var(--lav) 75%, transparent); stroke-width: 1.1; vector-effect: non-scaling-stroke; }

.env-flap { left: 0; right: 0; top: 0; height: 60%; z-index: 3; transform-origin: top center; transform-style: preserve-3d;
  transition: transform .8s ease, z-index 0s; }
.flap-face { position: absolute; inset: 0; display: block; backface-visibility: hidden; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.flap-front { background: linear-gradient(160deg, color-mix(in srgb, var(--rose) 55%, var(--white)), color-mix(in srgb, var(--lav) 70%, var(--white))); }
/* Doublure lavande à petits pois, visible quand le rabat est ouvert */
.flap-liner {
  transform: rotateX(180deg);
  background:
    radial-gradient(circle, color-mix(in srgb, var(--white) 80%, transparent) 1.5px, transparent 2.2px) 0 0 / 14px 14px,
    radial-gradient(circle, var(--rose) 1.5px, transparent 2.2px) 7px 7px / 14px 14px,
    var(--lav);
}

/* Ruban de satin */
.rib { z-index: 5; transition: transform .8s cubic-bezier(.6,0,.3,1), opacity .8s ease; }
.rib-h { top: 55%; height: 13%; width: 51%;
  background:
    linear-gradient(180deg, transparent 8%, color-mix(in srgb, var(--white) 55%, transparent) 9%, transparent 11%, transparent 89%, color-mix(in srgb, var(--white) 55%, transparent) 90%, transparent 92%),
    linear-gradient(180deg, var(--rose-deep), var(--rose) 35%, var(--rose-light) 50%, var(--rose) 65%, var(--rose-deep));
  box-shadow: 0 2px 4px color-mix(in srgb, var(--rose-deep) 40%, transparent); }
.rib-left { left: -1%; }
.rib-right { right: -1%; }
.rib-v { left: 50%; width: 9%; margin-left: -4.5%; height: 52%;
  background:
    linear-gradient(90deg, transparent 8%, color-mix(in srgb, var(--white) 55%, transparent) 9%, transparent 12%, transparent 88%, color-mix(in srgb, var(--white) 55%, transparent) 91%, transparent 92%),
    linear-gradient(90deg, var(--rose-deep), var(--rose) 35%, var(--rose-light) 50%, var(--rose) 65%, var(--rose-deep));
  box-shadow: 0 2px 4px color-mix(in srgb, var(--rose-deep) 40%, transparent); }
.rib-top { top: -1%; }
.rib-bottom { bottom: -1%; }

/* Nœud et étiquette */
.bow { position: absolute; z-index: 6; left: 50%; top: 61.5%; width: 50%; aspect-ratio: 4 / 3; height: auto;
  transform: translate(-50%, -48%); overflow: visible; pointer-events: none;
  filter: drop-shadow(0 4px 5px color-mix(in srgb, var(--rose-deep) 45%, transparent)); }
.bow g, .bow rect { transform-box: fill-box; transition: transform .6s ease, opacity .6s ease; }
.bow-loop-l { transform-origin: right center; }
.bow-loop-r { transform-origin: left center; }
.bow-tails { transform-origin: top center; }
.bow-knot { transform-origin: center; }
.tag {
  z-index: 7; left: 50%; top: 61.5%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  display: grid !important; place-items: center;
  background: var(--white); border: 1.5px solid var(--lav-deep);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--rose), 0 4px 10px color-mix(in srgb, var(--lav-deep) 30%, transparent);
  font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 21px; line-height: 1; white-space: nowrap; color: var(--lav-deep);
  transition: transform .5s ease, opacity .4s ease;
}
.envelope:hover .tag { transform: scale(1.08); }

/* Séquence d'ouverture : étiquette, nœud, ruban, rabat, carte */
.gate.opening .tag { opacity: 0; transform: scale(.4) rotate(-30deg); }
.gate.opening .bow-loop-l { transform: rotate(-35deg) scale(.2); opacity: 0; transition-delay: .2s; }
.gate.opening .bow-loop-r { transform: rotate(35deg) scale(.2); opacity: 0; transition-delay: .2s; }
.gate.opening .bow-knot { transform: scale(0); opacity: 0; transition-delay: .3s; }
.gate.opening .bow-tails { transform: translateY(40%) rotate(8deg); opacity: 0; transition-delay: .3s; }
.gate.opening .rib-left { transform: translateX(-110%); opacity: 0; transition-delay: .55s; }
.gate.opening .rib-right { transform: translateX(110%); opacity: 0; transition-delay: .55s; }
.gate.opening .rib-top { transform: translateY(-110%); opacity: 0; transition-delay: .55s; }
.gate.opening .rib-bottom { transform: translateY(110%); opacity: 0; transition-delay: .55s; }
.gate.opening .env-flap { transform: rotateX(180deg); z-index: 0; transition-delay: 1.3s; }
.gate.opening .letter { transform: translateY(-46%); transition-delay: 2s; }
.gate.opening .gate-names, .gate.opening .gate-date, .gate.opening .btn, .gate.opening .eyebrow { opacity: 0; }
.gate-names, .gate-date, .gate .btn, .gate .eyebrow { transition: opacity .5s ease; }

@media (max-width: 420px) {
  .tag { width: 56px; height: 56px; margin: -28px 0 0 -28px; font-size: 16px; }
  .letter-eyebrow { font-size: 7px; }
  .letter-date { font-size: 11px; }
}
.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--lav-deep);
}
.gate-names { font-family: var(--f-script); font-size: clamp(38px, 9vw, 52px); line-height: 1.1; color: var(--lav-deep); }
.gate-date { font-family: var(--f-display); font-size: 20px; color: var(--muted); }

.btn {
  display: inline-block; cursor: pointer;
  font: 600 14px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  background: var(--lav-deep); color: var(--white); border: 1px solid var(--lav-deep);
  transition: background .25s, color .25s;
}
.btn:hover { background: var(--ink); }
.btn.ghost { background: transparent; color: var(--lav-deep); }
.btn.ghost:hover { background: color-mix(in srgb, var(--lav) 18%, transparent); }

/* ---------- Page ---------- */
main { max-width: 760px; margin: 0 auto; }
section { padding-block: 72px; text-align: center; }

.hero { display: grid; justify-items: center; gap: 22px; padding-top: 56px; }
.photo {
  width: min(320px, 100%); aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: 200px 200px 6px 6px;
  border: 1px solid var(--lav);
  outline: 1px solid var(--rose);
  outline-offset: 7px;
  background: linear-gradient(160deg, var(--rose), var(--lav));
  display: grid; place-items: center;
  color: var(--white); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.names {
  font-family: var(--f-script); color: var(--lav-deep);
  font-size: clamp(54px, 13vw, 92px); line-height: 1.05;
}
.names .amp { font-family: var(--f-display); font-style: italic; font-size: .55em; color: var(--rose); padding: 0 .15em; }
.tagline { font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--muted); margin: 0; }
.when {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px;
  font-family: var(--f-display); font-size: 22px; letter-spacing: .06em;
}
.when .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }

/* Compte à rebours */
.section-title { font-family: var(--f-display); font-size: clamp(30px, 6vw, 42px); color: var(--ink); margin-top: 8px; }
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 36px auto 0; max-width: 560px;
}
.unit {
  display: grid; gap: 4px; padding-block: 20px;
  background: color-mix(in srgb, var(--white) 65%, transparent);
  border-top: 2px solid var(--lav); border-bottom: 2px solid var(--rose);
}
.unit b {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(34px, 8vw, 54px); line-height: 1;
  font-variant-numeric: tabular-nums; color: var(--lav-deep);
}
.unit span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.done-msg { font-family: var(--f-display); font-size: 26px; color: var(--lav-deep); margin-top: 32px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }

@media (max-width: 420px) {
  .countdown { gap: 6px; }
  .unit span { font-size: 9px; letter-spacing: .14em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gate, .gate *, .bow g, .bow rect { transition: none !important; animation: none !important; }
}

/* Bouton musique flottant */
.music {
  position: fixed; z-index: 15;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: var(--lav-deep); color: var(--white); border: 2px solid var(--rose);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--lav-deep) 35%, transparent);
  font-size: 22px;
}
.music.playing { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }
.photo .ph { padding: 16px; }
@media (prefers-reduced-motion: reduce) { .music.playing { animation: none; } }

/* Galerie */
.gallery {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.g-item {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--bg-2);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.05); }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Visionneuse */
.lightbox {
  position: fixed; inset: 0; z-index: 30;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  padding: calc(56px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(56px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-btn {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: color-mix(in srgb, var(--white) 18%, transparent); color: var(--white);
  border: 1px solid color-mix(in srgb, var(--white) 40%, transparent); font-size: 28px; line-height: 1;
}
.lb-close { top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); }
.lb-prev { left: calc(10px + env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: calc(10px + env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (prefers-reduced-motion: reduce) { .g-item img { transition: none; } }

/* =================== Sections d'information =================== */
section + section { border-top: 1px solid color-mix(in srgb, var(--lav) 30%, transparent); }
.prose { max-width: 58ch; margin: 18px auto 0; color: var(--muted); }
.prose p { margin: 0 0 10px; }
.prose strong { color: var(--ink); }
h3 { font-family: var(--f-display); font-weight: 600; font-size: 22px; margin: 0; color: var(--ink); text-wrap: balance; }

/* Faits clés (Jour J, Infos pratiques) */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; text-align: left; }
.facts > div { padding: 16px 18px; background: color-mix(in srgb, var(--white) 70%, transparent); border-left: 2px solid var(--lav); }
.facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 20px; color: var(--ink); line-height: 1.3; }
.mini-prog { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; counter-reset: p; }
.mini-prog li { counter-increment: p; padding: 8px 14px; border: 1px solid var(--rose); border-radius: 999px; font-size: 14px; color: var(--lav-deep); background: var(--white); }
.mini-prog li::before { content: counter(p) ". "; color: var(--muted); }

/* Liste de cadeaux */
.gifts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; text-align: left; }
.gift { display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--white); border: 1px solid color-mix(in srgb, var(--rose) 70%, transparent); border-radius: 6px; transition: border-color .25s, box-shadow .25s; }
.gift p { margin: 0; color: var(--muted); font-size: 14px; }
.gift .price { font-family: var(--f-display); font-size: 18px; color: var(--lav-deep); }
.gift-btn { justify-self: start; margin-top: 6px; cursor: pointer; font: 600 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--lav-deep); background: transparent; color: var(--lav-deep); }
.gift.is-picked { border-color: var(--lav-deep); box-shadow: 0 0 0 2px color-mix(in srgb, var(--lav) 45%, transparent); }
.gift.is-picked .gift-btn { background: var(--lav-deep); color: var(--white); }
.selection { margin-top: 20px; color: var(--lav-deep); font-weight: 600; }

/* Formulaire de réponse */
.rsvp, .preview { max-width: 520px; margin: 32px auto 0; display: grid; gap: 16px; text-align: left; padding: 24px; background: var(--white); border: 1px solid color-mix(in srgb, var(--rose) 70%, transparent); border-radius: 8px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0; }
.rsvp input[type="text"], .rsvp select, .rsvp textarea, .preview textarea {
  width: 100%; font: 16px/1.4 var(--f-body); color: var(--ink); padding: 11px 12px;
  border: 1px solid color-mix(in srgb, var(--lav) 70%, transparent); border-radius: 6px; background: var(--bg);
}
.rsvp input:focus, .rsvp select:focus, .rsvp textarea:focus, .preview textarea:focus { outline: 2px solid var(--lav); outline-offset: 1px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.choice label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.choice input { accent-color: var(--lav-deep); width: 18px; height: 18px; }
.form-gifts { margin: 0; font-size: 14px; color: var(--lav-deep); }
.form-error { margin: 0; font-size: 14px; color: #a2334f; }
.rsvp .btn, .preview .btn { justify-self: center; }
.preview h3 { text-align: center; }
.preview .fine { text-align: center; margin: 0; }
.preview .actions { margin-top: 4px; }

/* Lettres */
.letters { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 32px; text-align: left; }
.letter-card { padding: 28px 26px; background: var(--white); border: 1px solid color-mix(in srgb, var(--rose) 70%, transparent); outline: 1px solid color-mix(in srgb, var(--lav) 50%, transparent); outline-offset: -8px; border-radius: 4px; }
.letter-card h3 { font-family: var(--f-script); font-weight: 400; font-size: 36px; color: var(--lav-deep); margin: 4px 0 12px; }
.letter-card p { margin: 0 0 12px; color: var(--ink); }
.letter-card .sign { font-family: var(--f-script); font-size: 24px; color: var(--lav-deep); text-align: right; margin: 8px 0 0; }

/* Lecteur de musique */
.player { display: inline-flex; align-items: center; gap: 16px; margin-top: 28px; padding: 14px 22px 14px 14px; background: var(--white); border: 1px solid color-mix(in srgb, var(--rose) 70%, transparent); border-radius: 999px; text-align: left; }
.player strong { display: block; font-family: var(--f-display); font-size: 19px; }
.player span { font-size: 13px; color: var(--muted); }
.play { width: 52px; height: 52px; border-radius: 50%; cursor: pointer; border: 0; background: var(--lav-deep); color: var(--white); font-size: 18px; flex: none; }

/* Programme */
.timeline { list-style: none; padding: 0; margin: 36px auto 0; max-width: 520px; text-align: left; display: grid; }
.timeline li { position: relative; display: grid; grid-template-columns: 82px 1fr; column-gap: 22px; padding-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; left: 92px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--lav-deep); }
.timeline li::after { content: ""; position: absolute; left: 98px; top: 22px; bottom: 0; width: 1px; background: color-mix(in srgb, var(--lav) 60%, transparent); }
.timeline li:last-child::after { display: none; }
.timeline time { grid-row: span 2; font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--lav-deep); font-variant-numeric: tabular-nums; }
.timeline h3, .timeline p { grid-column: 2; padding-left: 14px; }
.timeline p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }

/* Lieux */
.venues { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.venues li { display: grid; gap: 8px; justify-items: center; padding: 26px 20px; background: var(--white); border: 1px solid color-mix(in srgb, var(--rose) 70%, transparent); border-radius: 6px; }
.venues p { margin: 0 0 8px; color: var(--muted); }
.tag-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--lav-deep); }

/* Hôtels */
.hotels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 30px; text-align: left; }
.hotels h3 { border-bottom: 1px solid var(--rose); padding-bottom: 6px; }
.hotels ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 2px; }
.hotels a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 2px; text-decoration: none; color: var(--ink); border-bottom: 1px dashed color-mix(in srgb, var(--lav) 50%, transparent); }
.hotels a::after { content: "Carte ↗"; font-size: 12px; color: var(--lav-deep); white-space: nowrap; }
.hotels a:hover { color: var(--lav-deep); }

/* Contacts */
.contacts { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contacts li { display: grid; gap: 4px; padding: 20px; background: var(--white); border: 1px solid color-mix(in srgb, var(--rose) 70%, transparent); border-radius: 6px; }
.contacts span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contacts a { font-family: var(--f-display); font-size: 22px; color: var(--lav-deep); text-decoration: none; font-variant-numeric: tabular-nums; user-select: all; }

/* Pied de page */
.site-footer { text-align: center; padding-block: 48px 90px; border-top: 1px solid color-mix(in srgb, var(--lav) 30%, transparent); max-width: 760px; margin: 0 auto; }
.site-footer p { margin: 4px 0; color: var(--muted); }
.foot-names { font-family: var(--f-script); font-size: 38px; color: var(--lav-deep) !important; }

@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 64px 1fr; column-gap: 16px; }
  .timeline li::before { left: 70px; }
  .timeline li::after { left: 76px; }
  .rsvp, .preview { padding: 18px; }
}
