/* ═══════════════════════════════════════════════
   DORAH & OSCAR — « Aquarelle de glycine »
   Lilas pastel · Vert sauge · Ivoire — la houppa comme palette
   CelebraPlume
═══════════════════════════════════════════════ */

:root {
  /* Papier */
  --papier:       #faf7f1;
  --papier-2:     #f4eee4;
  --blanc:        #fffdf9;

  /* Lilas (glycine, lavande, delphinium) */
  --lilas-brume:  #f3eff7;
  --lilas-pale:   #e6dcf1;
  --lilas:        #c4b2e0;
  --glycine:      #9a82c4;
  --lilas-texte:  #6c5594;   /* lisible en petit texte (AA 5,8:1) */
  --prune:        #4b3d63;

  /* Sauge (eucalyptus, feuillages) */
  --sauge-brume:  #eff3ea;
  --sauge-pale:   #dfe7d6;
  --sauge:        #a9bc98;
  --sauge-mid:    #8ea47f;
  --sauge-texte:  #55704a;   /* AA 5,2:1 */

  /* Roses poudrées & lueur des bougies */
  --rose-pale:    #f7e6ec;
  --rose-poudre:  #eec5d4;
  --cire:         #d9bf8c;

  --encre:        #3b3346;
  --gris:         #6b6375;
  --ligne:        rgba(108, 85, 148, .18);
  --ligne-sauge:  rgba(85, 112, 74, .24);
  --ombre:        0 30px 60px -34px rgba(75, 61, 99, .38);

  /* Encre d'aquarelle (texte) : lilas qui coule vers la sauge */
  --ink: linear-gradient(100deg, #7a62a6 0%, #a088cb 22%, #6c5594 44%, #7f9a70 64%, #a088cb 82%, #7a62a6 100%);

  --serif:  "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", "Cormorant Garamond", cursive;
  --sans:   "Jost", system-ui, -apple-system, sans-serif;
  --hebrew: "Frank Ruhl Libre", "Times New Roman", serif;

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);
  --gutter:   20px;
  --nav-h:    64px;
}

/* ── Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; background: var(--papier); }
body {
  background: var(--papier) url("../img/papier.svg");
  color: var(--encre);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.js body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { list-style: none; }
sup { font-size: .6em; line-height: 0; }
::selection { background: var(--lilas-pale); color: var(--prune); }
:focus-visible { outline: 2px solid var(--lilas-texte); outline-offset: 3px; border-radius: 4px; }
[lang="he"] { font-family: var(--hebrew); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.ico--fill { fill: currentColor; stroke: none; }

.container { position: relative; z-index: 1; width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { position: relative; overflow: hidden; overflow: clip; padding: clamp(84px, 12vw, 150px) 0; }

/* Encre d'aquarelle qui coule lentement dans le texte */
.ink, .head__title em, .hero__amp, .intro__amp, .card__amp {
  background: var(--ink); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: inkflow 14s ease-in-out infinite alternate;
}
@keyframes inkflow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ── Taches d'aquarelle (SVG rastérisés une fois, animés en transform uniquement) ── */
.wash {
  position: absolute; z-index: 0; pointer-events: none;
  width: var(--w, 80vw); aspect-ratio: 1; opacity: var(--o, .55);
  background: center / contain no-repeat;
  animation: drift var(--dur, 26s) ease-in-out infinite alternate;
}
.wash--lilas { background-image: url("../img/tache-lilas.svg"); }
.wash--sauge { background-image: url("../img/tache-sauge.svg"); }
.wash--rose  { background-image: url("../img/tache-rose.svg"); }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  to   { transform: translate3d(3%, -4%, 0) rotate(8deg) scale(1.06); }
}

/* Ornement : filet — feuille de sauge & bouton de lilas — filet */
.orn { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto; width: 150px; height: 16px; }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--sauge-mid)); }
.orn::after { transform: scaleX(-1); }
.orn i {
  position: relative; width: 11px; height: 11px; transform: rotate(45deg);
  border-radius: 0 80% 0 80%; background: linear-gradient(135deg, var(--sauge), var(--sauge-mid));
}
.orn i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 12%, var(--lilas) 40%, var(--glycine));
}

/* ── Boutons ─────────────────────────── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn:active { transform: scale(.97); }
.btn--lilas {
  color: var(--blanc);
  background:
    radial-gradient(120% 150% at 12% 15%, rgba(255, 255, 255, .24), transparent 42%),
    radial-gradient(80% 130% at 92% 100%, rgba(127, 154, 112, .5), transparent 58%),
    linear-gradient(120deg, #6c5594, #7a63a3 55%, #6a5592);
  box-shadow: 0 16px 30px -14px rgba(108, 85, 148, .7), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn--lilas::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 1s var(--ease);
}
.btn--ghost { color: var(--prune); border: 1px solid rgba(108, 85, 148, .38); background: rgba(255, 253, 249, .6); backdrop-filter: blur(6px); }
.btn--line  { color: var(--sauge-texte); border: 1px solid var(--sauge); background: rgba(255, 253, 249, .5); }
.btn--sm    { min-height: 44px; padding: 11px 20px; font-size: 11.5px; letter-spacing: .16em; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
@media (hover: hover) {
  .btn--lilas:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(108, 85, 148, .75), inset 0 1px 0 rgba(255, 255, 255, .28); }
  .btn--lilas:hover::after { transform: translateX(120%); }
  .btn--ghost:hover { border-color: var(--lilas-texte); background: rgba(255, 253, 249, .9); }
  .btn--line:hover { border-color: var(--sauge-texte); background: var(--sauge-brume); }
}

/* ── En-têtes de section ─────────────── */
.head { text-align: center; margin-bottom: clamp(44px, 7vw, 72px); }
.head .orn { margin-bottom: 20px; }
.head__tag {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase;
  color: var(--sauge-texte);
}
.head__title {
  margin-top: 12px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 7.4vw, 70px); line-height: 1.05; letter-spacing: -.01em; color: var(--encre);
}
.head__title em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.12em; padding: 0 .14em .12em; }
.head__sub {
  max-width: 580px; margin: 18px auto 0; font-style: italic;
  font-size: clamp(18px, 2.4vw, 21px); color: var(--gris);
}

/* ── Progression + éclaboussures ─ */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 160;
  background: linear-gradient(90deg, var(--lilas), var(--glycine), var(--sauge)); transform-origin: 0 50%; transform: scaleX(0);
}
.splash { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 300; pointer-events: none; }

/* Lecteur YouTube : hors écran, jamais visible */
.yt { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }

/* ════════════════════════════════════════
   OUVERTURE — le sceau, la vidéo, l'éclosion
═══════════════════════════════════════════ */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden;
  background: #f7f6ef; color: var(--encre); cursor: pointer;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.intro.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.js .intro[hidden] { display: none; }

.intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Avant l'ouverture : quelques lavis posés sur le papier de la vidéo */
.intro__veil { position: absolute; inset: 0; pointer-events: none; transition: opacity 1.2s var(--ease); }
.intro__wash { opacity: 0; animation: washIn 2.4s var(--ease) forwards, drift 26s ease-in-out 2.4s infinite alternate; }
.intro__wash--1 { --w: 110vmin; left: -38vmin; top: -34vmin; animation-delay: .1s, 2.5s; }
.intro__wash--2 { --w: 100vmin; right: -40vmin; bottom: -36vmin; animation-delay: .4s, 2.8s; }
.intro__wash--3 { --w: 62vmin; right: -18vmin; top: 6vmin; animation-delay: .7s, 3.1s; }
@keyframes washIn { from { opacity: 0; transform: scale(.7) rotate(-6deg); } to { opacity: .62; transform: none; } }
.intro.is-playing .intro__veil { opacity: 0; }

/* Éclosion finale : le lavis lilas puis le papier ivoire se répandent depuis le centre */
.intro__bloom {
  position: absolute; left: 50%; top: 50%; z-index: 7; pointer-events: none;
  width: 62vmax; height: 62vmax; margin: -31vmax 0 0 -31vmax;
  background: center / contain no-repeat; opacity: 0; transform: scale(.08) rotate(-20deg);
}
.intro__bloom--lilas  { background-image: url("../img/eclosion-lilas.svg"); }
.intro__bloom--ivoire { background-image: url("../img/eclosion-ivoire.svg"); }
.intro.is-bloom .intro__bloom { will-change: transform; animation: bloom 1.5s var(--ease-io) forwards; }
.intro.is-bloom .intro__bloom--ivoire { animation-delay: .22s; }
@keyframes bloom {
  0%   { opacity: 0; transform: scale(.08) rotate(-20deg); }
  12%  { opacity: 1; }
  100% { opacity: 1; transform: scale(3.4) rotate(14deg); }
}

.intro__content {
  position: relative; z-index: 2; text-align: center; padding: 40px 24px calc(40px + env(safe-area-inset-bottom));
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s;
}
.intro.is-playing .intro__content { opacity: 0; transform: scale(1.04); filter: blur(6px); pointer-events: none; }

.seal {
  position: relative; display: block; margin: 0 auto; width: clamp(170px, 46vw, 220px); aspect-ratio: 1; border-radius: 50%;
  opacity: 0; animation: sealIn 1.6s var(--ease) .2s forwards;
  transition: transform .6s var(--ease);
}
@keyframes sealIn { from { opacity: 0; transform: scale(.82) rotate(-10deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.seal__halo {
  position: absolute; inset: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 253, 249, .95) 30%, rgba(243, 239, 247, .7) 52%, rgba(243, 239, 247, 0) 70%);
}
.seal__logo { position: relative; width: 100%; height: 100%; overflow: visible; }
.seal__ring {
  position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(154, 130, 196, .55);
  animation: ring 3s var(--ease) 1.6s infinite; opacity: 0;
}
.seal__ring--2 { border-color: rgba(142, 164, 127, .55); animation-delay: 3.1s; }
@keyframes ring { from { transform: scale(.96); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
@media (hover: hover) { .seal:hover { transform: scale(1.04) rotate(-2deg); } }
.seal:active { transform: scale(.96); }
.intro.is-playing .seal { animation: sealBloom .9s var(--ease-io) forwards; }
@keyframes sealBloom {
  0% { opacity: 1; transform: none; filter: none; }
  35% { transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.5); filter: blur(10px); }
}

.intro__tag {
  margin-top: 18px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--sauge-texte); opacity: 0; animation: rise 1.2s var(--ease) .55s forwards;
}
.intro__names {
  margin-top: 4px; font-family: var(--script); font-weight: 400; line-height: 1.05;
  font-size: clamp(54px, min(16vw, 10vh), 112px); display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap;
  color: var(--prune); filter: drop-shadow(0 2px 14px rgba(255, 253, 249, .95));
  opacity: 0; animation: rise 1.4s var(--ease) .75s forwards;
}
.intro__names > span:not(.intro__amp) { padding: 0 .14em .08em; }
.intro__amp { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .56em; margin: 0 .04em; }
.intro__he { margin-top: 2px; font-size: 19px; letter-spacing: .12em; color: var(--lilas-texte); opacity: 0; animation: rise 1.2s var(--ease) .9s forwards; }
.intro__date {
  margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(17px, 3.6vw, 21px); letter-spacing: .34em; color: var(--prune);
  opacity: 0; animation: rise 1.2s var(--ease) 1.05s forwards;
}
.intro__hint {
  margin-top: 22px; font-family: var(--sans); font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase; color: var(--gris);
  opacity: 0; animation: rise 1.2s var(--ease) 1.6s forwards, breathe 2.8s ease-in-out 2.8s infinite;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ── Bouton musique (dans la barre du haut) ── */
.sound {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  opacity: 0; transform: scale(.7); pointer-events: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.sound.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sound:active { transform: scale(.92); }
.sound__disc {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--prune); background: var(--blanc); border: 1px solid var(--ligne);
  box-shadow: 0 6px 14px -8px rgba(75, 61, 99, .5);
}
.sound__bars { display: flex; align-items: flex-end; gap: 2.5px; height: 13px; }
.sound__bars i { width: 2.5px; height: 100%; border-radius: 2px; background: var(--glycine); transform-origin: bottom; animation: bars 1.1s ease-in-out infinite; }
.sound__bars i:nth-child(2) { animation-delay: .25s; background: var(--sauge-mid); }
.sound__bars i:nth-child(3) { animation-delay: .5s; }
.sound__bars i:nth-child(4) { animation-delay: .15s; background: var(--sauge-mid); }
@keyframes bars { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.sound__mute { display: none; width: 17px; height: 17px; }
.sound.is-muted .sound__bars { display: none; }
.sound.is-muted .sound__mute { display: block; }

/* ════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 140;
  padding-top: env(safe-area-inset-top);
  transition: transform .6s var(--ease), background-color .5s, box-shadow .5s;
}
.nav.is-scrolled {
  background: rgba(250, 247, 241, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--ligne);
}
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner {
  width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 10px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; }
.nav__logo { width: 46px; height: 46px; overflow: visible; }
.nav__brand-txt { font-family: var(--script); font-size: 27px; line-height: 1; color: var(--prune); padding-top: 4px; }
.nav__brand-txt span { font-family: var(--serif); font-style: italic; font-size: .6em; color: var(--glycine); margin: 0 1px; }
.nav__links { display: none; gap: 30px; }
.nav__link {
  position: relative; font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--encre); padding: 6px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--lilas), var(--sauge)); opacity: .85;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
@media (hover: hover) {
  .nav__link:hover { color: var(--lilas-texte); }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
}
.nav__cta {
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px; color: var(--blanc);
  background: linear-gradient(120deg, #6c5594, #7a63a3);
  box-shadow: 0 8px 18px -8px rgba(108, 85, 148, .6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(108, 85, 148, .7); }

.burger { position: relative; width: 44px; height: 44px; margin-right: -10px; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--prune); border-radius: 2px;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.drawer-overlay {
  position: fixed; inset: 0; z-index: 135; background: rgba(59, 51, 70, .26); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 138; width: min(86vw, 360px);
  padding: calc(var(--nav-h) + 8px + env(safe-area-inset-top)) 32px calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; overflow-y: auto;
  background:
    url("../img/tache-lilas.svg") -60px 100% / 280px no-repeat,
    url("../img/tache-sauge.svg") 130% -40px / 240px no-repeat,
    var(--papier);
  border-left: 1px solid var(--ligne);
  box-shadow: -20px 0 50px -30px rgba(75, 61, 99, .45);
  transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease), visibility .6s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__logo { width: 92px; height: 92px; overflow: visible; }
.drawer__brand { margin-top: 4px; font-family: var(--script); font-size: 42px; line-height: 1.1; color: var(--prune); }
.drawer__brand span { font-family: var(--serif); font-style: italic; font-size: .5em; color: var(--glycine); }
.drawer__links { display: flex; flex-direction: column; margin-top: 18px; }
.drawer__links a {
  padding: 12px 0; font-family: var(--serif); font-size: 23px; color: var(--encre);
  border-bottom: 1px solid var(--ligne); transition: color .3s, padding-left .4s var(--ease);
}
.drawer__links a:hover { color: var(--lilas-texte); padding-left: 6px; }
.drawer__links .drawer__cta {
  margin-top: 24px; border: 0; text-align: center; padding: 15px; border-radius: 999px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--blanc);
  background: linear-gradient(120deg, #6c5594, #7a63a3);
}
.drawer__links .drawer__cta:hover { color: var(--blanc); padding-left: 15px; }
.drawer__foot { margin-top: auto; padding-top: 24px; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--sauge-texte); }

/* ════════════════════════════════════════
   HERO — leur film sous une arche de glycine
═══════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(to bottom, rgba(243, 239, 247, .6), rgba(250, 247, 241, 0) 40%);
}
.hero__sky { position: absolute; inset: 0; pointer-events: none; }
.hero__wash--1 { --w: 120vw; --o: .5; left: -55vw; top: -40vw; }
.hero__wash--2 { --w: 105vw; --o: .45; right: -55vw; top: 32%; --dur: 30s; }
.hero__wash--3 { --w: 70vw;  --o: .4;  left: -22vw; bottom: 8%; --dur: 22s; }

/* L'allée de chaises et de pétales, peinte, posée au pied du hero */
.hero__allee {
  position: absolute; left: 50%; bottom: 0; height: 26%; transform: translateX(-50%);
  pointer-events: none; opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 45%);
  mask-image: linear-gradient(to bottom, transparent, #000 45%);
}
.hero__allee img { height: 100%; width: auto; max-width: none; }

.hero__content {
  position: relative; z-index: 2; width: 100%;
  padding: calc(var(--nav-h) + 4px + env(safe-area-inset-top)) var(--gutter) 34px;
  display: flex; flex-direction: column; align-items: center;
}
.hero__content > * { opacity: 0; animation: rise 1.3s var(--ease) forwards; animation-play-state: paused; }
.is-open-site .hero__content > * { animation-play-state: running; }
html:not(.js) .hero__content > * { opacity: 1; animation: none; }

.hero__eyebrow { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .5em; text-transform: uppercase; color: var(--sauge-texte); animation-delay: .15s; }

/* L'arche : leur film, coiffé d'une guirlande de glycine peinte */
.hero__arch {
  position: relative; margin-top: 46px;
  height: min(36svh, 380px); aspect-ratio: 3 / 4.1;
  animation-delay: .3s;
}
.hero__arch::before, .hero__arch::after {
  content: ""; position: absolute; border-radius: 999px 999px 0 0; border: 1px solid var(--lilas); border-bottom: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 95%);
}
.hero__arch::before { inset: -10px -10px 0; }
.hero__arch::after { inset: -18px -18px 0; border-color: rgba(142, 164, 127, .55); }
.hero__film {
  position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--lilas-pale);
  -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 66%, transparent 100%);
}
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); transition: filter 1.8s var(--ease), transform 6s var(--ease);
}
.js .hero__video { filter: blur(10px) saturate(.8); }
.is-open-site .hero__video { filter: saturate(.92) contrast(.97); transform: scale(1); }
.hero__garland {
  position: absolute; left: 50%; top: -10%; width: 172%; transform: translateX(-50%);
  pointer-events: none;
}
.hero__garland img { width: 100%; height: auto; }

.hero__title {
  position: relative; z-index: 1; margin-top: -.5em;
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; line-height: 1.1;
  font-family: var(--script); font-weight: 400; font-size: clamp(52px, 15vw, 64px); color: var(--prune);
  filter: drop-shadow(0 2px 12px rgba(250, 247, 241, .98)); animation-delay: .5s;
}
.hero__name { padding: 0 .12em .06em; }
.hero__amp { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .58em; margin: 0 .08em; padding: 0 .06em; }
.hero__he { margin-top: -2px; font-size: 18px; letter-spacing: .1em; color: var(--lilas-texte); animation-delay: .6s; }
.hero__he span { font-family: var(--serif); font-style: italic; color: var(--sauge-texte); margin: 0 .3em; }
.hero__orn { margin-top: 12px; animation-delay: .65s; }
.hero__date { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 4.4vw, 28px); letter-spacing: .04em; color: var(--encre); animation-delay: .75s; }
.hero__place { margin-top: 2px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--sauge-texte); animation-delay: .85s; }
.hero__cta { margin-top: 22px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; animation-delay: 1s; }
.hero__cta .btn { width: min(100%, 320px); }

/* Compteur */
.hero__cd {
  margin-top: 20px; width: min(100%, 320px); display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 11px 0 10px; border-radius: 18px;
  background: rgba(255, 253, 249, .62); box-shadow: inset 0 0 0 1px var(--ligne);
  animation-delay: 1.15s;
}
.hcd { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hcd + .hcd::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--ligne-sauge); }
.hcd__num { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--prune); font-variant-numeric: tabular-nums lining-nums; }
.hcd__label { margin-top: 5px; font-family: var(--sans); font-size: 9.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sauge-texte); }

/* Pétales de glycine qui tombent (suite de l'ouverture) */
.hero__petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

/* ════════════════════════════════════════
   VERSET
═══════════════════════════════════════════ */
.verse { background: linear-gradient(to bottom, rgba(250, 247, 241, 0), var(--lilas-brume) 30%, var(--lilas-brume) 70%, rgba(250, 247, 241, 0)); }
.verse__wash { --w: 95vw; --o: .42; right: -40vw; top: 4%; }
.verse__grid { display: grid; gap: 44px; align-items: center; justify-items: center; }
.verse__photo {
  position: relative; width: min(78vw, 360px); aspect-ratio: 3 / 4;
  transform: rotate(-2deg);
}
/* Lavis sauge derrière la photo, comme une tache posée avant le collage */
.verse__photo::before {
  content: ""; position: absolute; inset: -16% -22%; z-index: -1;
  background: url("../img/tache-sauge.svg") center / contain no-repeat; opacity: .65;
}
.verse__photo img {
  width: 100%; height: 100%; object-fit: cover; filter: sepia(.12) saturate(.85) hue-rotate(-6deg);
  -webkit-mask: url("../img/masque-aquarelle.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../img/masque-aquarelle.svg") 0 0 / 100% 100% no-repeat;
  transition: transform 8s var(--ease);
}
.verse__photo.is-visible img { transform: scale(1.04); }
.verse__text { position: relative; isolation: isolate; text-align: center; max-width: 560px; }
.verse__he {
  position: relative; font-size: clamp(44px, 11vw, 76px); font-weight: 400; line-height: 1.35; color: var(--prune);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .28em; direction: rtl;
}
.verse__he::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 150%; transform: translate(-50%, -48%) rotate(-4deg); z-index: -1;
  background: url("../img/tache-lilas.svg") center / 100% 100% no-repeat; opacity: .55;
}
.verse__he span { display: inline-block; }
.js .verse__he span { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease), filter 1.1s; }
.js .verse__he.is-visible span { opacity: 1; transform: none; filter: none; }
.verse__he span:nth-child(2) { transition-delay: .35s; }
.verse__he span:nth-child(3) { transition-delay: .7s; }
.verse__he span:nth-child(4) { transition-delay: 1.05s; }
.verse__text .orn { margin: 22px auto; }
.verse__fr { font-style: italic; font-size: clamp(22px, 3.6vw, 30px); line-height: 1.4; color: var(--encre); text-wrap: balance; }
.verse__ref { margin-top: 14px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--sauge-texte); }

/* ════════════════════════════════════════
   LA HOUPPA — l'aquarelle en toile de fond, le faire-part posé dessus
═══════════════════════════════════════════ */
.houppa { position: relative; isolation: isolate; overflow-x: clip; }
.houppa__stage {
  position: sticky; top: 0; z-index: -1; overflow: hidden;
  height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
}
.houppa__stage picture { position: absolute; inset: 0; }
.houppa__img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  animation: houppaBreath 26s ease-in-out infinite alternate;
}
@keyframes houppaBreath { from { transform: scale(1.02); } to { transform: scale(1.09) translate3d(0, -1%, 0); } }
.houppa__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--papier) 0%, rgba(250, 247, 241, .6) 10%, rgba(250, 247, 241, 0) 28%, rgba(250, 247, 241, 0) 78%, rgba(250, 247, 241, .55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 46%, rgba(250, 247, 241, .2), transparent 70%);
}

/* Pétales qui tombent sur la houppa (CSS pur, transform uniquement) */
.houppa__petal {
  position: absolute; top: -4%; left: var(--x); width: 13px; height: 17px;
  border-radius: 80% 0 80% 6%; opacity: .85;
  background: radial-gradient(circle at 30% 30%, #f6f0fb, var(--lilas) 55%, var(--glycine));
  animation: petalFall var(--d) linear var(--t) infinite; will-change: transform;
}
.houppa__petal--w { background: radial-gradient(circle at 30% 30%, #fff, #f3eef6 60%, #dcd0ea); }
.houppa__petal--r { background: radial-gradient(circle at 30% 30%, #fff4f8, var(--rose-poudre) 60%, #d79fb6); }
@keyframes petalFall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(var(--s)); }
  25%  { transform: translate3d(28px, 28vh, 0) rotate(140deg) scale(var(--s)); }
  50%  { transform: translate3d(-12px, 56vh, 0) rotate(270deg) scale(var(--s)); }
  75%  { transform: translate3d(34px, 84vh, 0) rotate(400deg) scale(var(--s)); }
  100% { transform: translate3d(6px, 112vh, 0) rotate(540deg) scale(var(--s)); }
}

/* Premier écran : le mot « houppa » en hébreu, posé sur l'arche fleurie */
.houppa__opening {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 20px) var(--gutter) 70px;
}
.houppa__opening::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 78% 46% at 50% 50%, rgba(250, 247, 241, .93) 0%, rgba(250, 247, 241, .8) 46%, rgba(250, 247, 241, .36) 74%, rgba(250, 247, 241, 0) 100%);
}
.houppa__word {
  font-weight: 300; font-size: clamp(84px, 26vw, 168px); line-height: 1.05; color: var(--prune);
  text-shadow: 0 2px 30px rgba(255, 253, 249, .9);
}
.houppa__kicker {
  margin-top: 2px; font-family: var(--script); font-size: clamp(38px, 10vw, 58px); line-height: 1.1;
  color: var(--lilas-texte); text-shadow: 0 2px 18px rgba(255, 253, 249, .95);
}
.houppa__verse {
  margin-top: 24px; display: flex; flex-direction: column; gap: 2px;
  font-size: clamp(25px, 6.4vw, 36px); line-height: 1.4; color: var(--encre);
}
.houppa__verse-fr { margin-top: 14px; font-style: italic; font-size: clamp(18px, 4.6vw, 22px); line-height: 1.45; color: var(--encre); max-width: 34ch; }
.houppa__ref { margin-top: 10px; font-family: var(--sans); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--sauge-texte); }
.houppa__down {
  position: absolute; left: 50%; bottom: 24px; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%;
  display: grid; place-items: center; color: var(--lilas-texte);
  background: rgba(255, 253, 249, .78); box-shadow: 0 10px 24px -12px rgba(75, 61, 99, .5), inset 0 0 0 1px var(--ligne);
  animation: nudge 2.6s ease-in-out infinite;
}
.houppa__down .ico { width: 22px; height: 22px; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.houppa > .container { padding-bottom: 42vh; padding-bottom: 42svh; }

/* La carte du faire-part : papier ivoire translucide sur l'aquarelle */
.card {
  position: relative; max-width: 880px; margin: 0 auto; text-align: center;
  padding: clamp(78px, 11vw, 112px) clamp(22px, 7vw, 80px) clamp(52px, 8vw, 80px);
  background: rgba(251, 248, 242, .9);
  box-shadow: 0 50px 100px -50px rgba(59, 51, 70, .55), 0 0 0 1px rgba(255, 255, 255, .7);
}
.card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--ligne-sauge); pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(196, 178, 224, .45); pointer-events: none; }
.card__garland {
  position: absolute; left: 50%; top: -10px; width: min(110%, 760px); transform: translateX(-50%) translateY(-38%);
  pointer-events: none; z-index: 1;
}
.card__garland img { width: 100%; height: auto; }
.card__bsd { position: absolute; top: 28px; right: 30px; font-size: 15px; color: var(--lilas-texte); letter-spacing: .04em; }
.card__blessing { margin-bottom: 26px; font-size: 21px; letter-spacing: .06em; color: var(--lilas-texte); opacity: .85; }

.families { display: grid; gap: 26px; }
.family__house {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--lilas-texte); padding-bottom: 10px; margin-bottom: 14px;
  background: linear-gradient(90deg, transparent, var(--lilas), transparent) bottom / 100% 1px no-repeat;
}
.family__role {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--sauge-texte);
  margin-top: 14px;
}
.family__house + .family__role { margin-top: 0; }
.family__names { margin-top: 4px; font-size: clamp(19px, 2.5vw, 21px); line-height: 1.45; color: var(--encre); }
.family__names + .family__names { margin-top: 2px; }
.sc { font-variant: small-caps; letter-spacing: .06em; font-weight: 600; color: var(--prune); }
.amp { font-style: italic; color: var(--glycine); }
.families__sep { display: flex; align-items: center; justify-content: center; }
.families__sep i { display: block; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--sauge-mid), transparent); }

.card__heart { display: inline-grid; place-items: center; margin-top: 30px; color: var(--rose-poudre); }
.card__heart .ico { width: 15px; height: 15px; }
.card__kicker { max-width: 30ch; margin: 10px auto 0; font-family: var(--script); font-size: clamp(24px, 5.4vw, 31px); line-height: 1.35; color: var(--lilas-texte); text-wrap: balance; }
.card__names {
  margin: 18px 0 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0 .12em;
  font-family: var(--script); font-weight: 400; font-size: clamp(64px, 17vw, 128px); line-height: 1.02; color: var(--prune);
}
.card__name { display: inline-flex; flex-direction: column; align-items: center; padding: 0 .1em; }
.card__he {
  margin-top: .12em; font-size: .24em; line-height: 1; letter-spacing: .06em; color: var(--gris); font-weight: 400;
}
.card__amp { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .5em; margin: -.1em 0 -.12em; padding: 0 .06em; }
.card__full { margin-top: 10px; font-family: var(--sans); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gris); }
.card .orn { margin: 30px auto; }
.card__text { font-size: clamp(19px, 2.6vw, 22px); line-height: 1.65; color: var(--encre); text-wrap: balance; }
.card__text + .card__text { margin-top: 18px; }
.card__text br { display: none; }
.card__text strong { font-weight: 600; color: var(--prune); }
.card__note { margin-top: 14px; font-family: var(--sans); font-size: 12.5px; letter-spacing: .06em; color: var(--lilas-texte); }
.card__note:empty { display: none; }

/* Le faire-part en hébreu */
.card__hebrew {
  position: relative; margin: 40px auto 0; padding: 34px 18px 30px; max-width: 560px;
  font-size: clamp(19px, 4.8vw, 23px); line-height: 1.7; color: var(--encre);
}
.card__hebrew::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/tache-lilas.svg") center / 115% 125% no-repeat; opacity: .3;
}
.card__hebrew::after {
  content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glycine), transparent);
  box-shadow: 0 calc(100% + 0px) 0 transparent;
}
.card__hebrew-lead { font-size: .9em; color: var(--lilas-texte); }
.card__hebrew-names { margin: 6px 0; font-size: 1.7em; line-height: 1.3; color: var(--prune); }
.card__hebrew-names span { font-family: var(--serif); font-style: italic; color: var(--glycine); font-size: .8em; margin: 0 .2em; }
.card__hebrew-date { font-weight: 500; color: var(--sauge-texte); }
.card__hebrew-luck { margin-top: 6px; font-size: .9em; color: var(--lilas-texte); }

.card__cta { margin-top: 38px; }

/* Pensée pour ceux qui nous ont quittés */
.memory {
  margin-top: 46px; padding: 40px 20px 34px; position: relative;
  border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne);
  background: radial-gradient(ellipse at 50% 0%, rgba(217, 191, 140, .14), transparent 65%);
}
.memory__title { margin-top: 14px; font-family: var(--script); font-size: clamp(32px, 6vw, 40px); line-height: 1.2; color: var(--prune); }
.memory__title span { font-family: var(--hebrew); font-size: .6em; color: var(--lilas-texte); margin-left: 6px; }
.memory__text { margin-top: 6px; font-size: 18px; line-height: 1.55; font-style: italic; color: var(--gris); text-wrap: balance; }
.memory__list { margin-top: 24px; display: grid; gap: 16px; }
.memory__list li { display: flex; flex-direction: column; }
.memory__name { font-size: 21px; color: var(--encre); }
.memory__rel { font-family: var(--sans); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--sauge-texte); margin-top: 2px; }

/* Bougie du souvenir */
.candle { position: relative; width: 26px; height: 64px; margin: 0 auto; }
.candle__body {
  position: absolute; left: 50%; bottom: 0; width: 16px; height: 36px; transform: translateX(-50%);
  background: linear-gradient(90deg, #ebe3ef, #fffcf7 45%, #e3dbe8); border-radius: 3px 3px 2px 2px;
  box-shadow: inset 0 -6px 8px rgba(108, 85, 148, .12), 0 4px 10px -4px rgba(75, 61, 99, .3);
}
.candle__wick { position: absolute; left: 50%; bottom: 35px; width: 1.5px; height: 6px; transform: translateX(-50%); background: #3b3025; border-radius: 1px; }
.candle__flame {
  position: absolute; left: 50%; bottom: 39px; width: 10px; height: 20px; margin-left: -5px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(ellipse at 50% 75%, #fff8e1 0 22%, #ffd36b 45%, #f09a3e 75%, transparent 78%);
  transform-origin: 50% 90%; animation: flicker 2.4s ease-in-out infinite;
}
.candle__glow {
  position: absolute; left: 50%; bottom: 30px; width: 70px; height: 70px; margin-left: -35px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 110, .38), transparent 65%); animation: glow 2.4s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { transform: rotate(-1.5deg) scaleY(1); }
  25% { transform: rotate(2deg) scaleY(1.06); }
  50% { transform: rotate(-1deg) scaleY(.95); }
  75% { transform: rotate(1.5deg) scaleY(1.04); }
}
@keyframes glow { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* ════════════════════════════════════════
   NOTRE CARTE DU MONDE — carnet de voyage peint
═══════════════════════════════════════════ */
.travel { background: linear-gradient(to bottom, var(--papier), var(--sauge-brume) 55%, var(--papier)); }
.travel__wash--1 { --w: 90vw; --o: .4; left: -40vw; top: 6%; }
.travel__wash--2 { --w: 70vw; --o: .35; right: -30vw; bottom: 10%; --dur: 32s; }
.travel .head { margin-bottom: clamp(28px, 5vw, 48px); }

.map { position: relative; margin: 0 calc(var(--gutter) * -1); }
.map__paper {
  position: relative; overflow: hidden; padding: 18px 0 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.map__track {
  position: relative; width: max(100%, 900px); aspect-ratio: 1000 / 376;
  transition: transform 1.2s var(--ease);
}
.map__land { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map__arcs path[data-arc] {
  fill: none; stroke: var(--glycine); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 2 6;
  vector-effect: non-scaling-stroke; opacity: .5; transition: opacity .6s;
}
.map__arcs path[data-arc].is-active { opacity: .2; }
/* Le tracé « peint » du vol en cours */
.map__trail {
  fill: none; stroke: var(--lilas-texte); stroke-width: 2.2; stroke-linecap: round;
  vector-effect: non-scaling-stroke; opacity: .8;
  stroke-dasharray: 100 100; stroke-dashoffset: 100;
}
.map__trail.is-drawing { animation: trail 1.8s var(--ease-io) forwards; }
@keyframes trail { to { stroke-dashoffset: 0; } }
.map__plane { filter: drop-shadow(0 2px 2px rgba(75, 61, 99, .3)); transition: opacity .4s; }
.map__plane.is-parked { opacity: 0; }

.map__compass {
  position: absolute; left: 22px; bottom: 6px; width: 66px; height: 66px; opacity: .9;
  animation: compass 12s ease-in-out infinite alternate;
}
@keyframes compass { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.map__legend {
  position: absolute; right: 26px; bottom: 12px;
  font-family: var(--script); font-size: 26px; line-height: 1; color: var(--lilas-texte);
}
.map__legend span { display: inline-block; animation: legend .8s var(--ease) both; }
@keyframes legend { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.pin {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  display: grid; place-items: center; z-index: 1;
}
/* Goutte de lilas */
.pin__dot {
  position: relative; width: 14px; height: 14px;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(circle at 34% 30%, #fff 0 10%, var(--lilas) 34%, var(--glycine) 72%, var(--lilas-texte));
  box-shadow: 0 0 0 3px rgba(255, 253, 249, .85), 0 4px 10px rgba(75, 61, 99, .35);
  transition: transform .5s var(--ease);
}
.pin__dot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 188, 152, .55), rgba(169, 188, 152, 0) 70%);
  opacity: 0; transform: scale(.6);
}
.pin.is-active { z-index: 2; }
.pin.is-active .pin__dot { transform: scale(1.35); }
.pin.is-active .pin__dot::after { animation: pinPulse 2s var(--ease) infinite; }
@keyframes pinPulse { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(2.4); } }
.pin--home .pin__dot { background: radial-gradient(circle at 34% 30%, #fff 0 10%, var(--sauge) 34%, var(--sauge-mid) 72%, var(--sauge-texte)); }
.pin__label {
  position: absolute; left: 50%; bottom: calc(100% - 6px); transform: translate(-50%, 4px);
  padding: 4px 12px 2px; border-radius: 999px; white-space: nowrap;
  font-family: var(--script); font-size: 21px; line-height: 1.2; color: var(--prune);
  background: rgba(255, 253, 249, .92); box-shadow: 0 6px 16px -6px rgba(75, 61, 99, .4), inset 0 0 0 1px var(--ligne);
  opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s var(--ease);
}
.pin.is-active .pin__label, .pin--home .pin__label { opacity: 1; transform: translate(-50%, 0); }
.pin.is-active .pin__label { color: var(--blanc); background: var(--lilas-texte); box-shadow: 0 8px 18px -6px rgba(108, 85, 148, .6); }
.pin--home:not(.is-active) .pin__label { top: calc(100% - 6px); bottom: auto; }
@media (hover: hover) { .pin:hover .pin__label { opacity: 1; transform: translate(-50%, 0); } }

.travel__stats {
  margin: 18px auto 0; text-align: center; font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gris);
}
.travel__stats strong { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0; color: var(--prune); margin-right: 2px; }
.travel__stats i { font-style: normal; color: var(--sauge-mid); margin: 0 8px; font-size: 9px; }
.travel__stats em { font-family: var(--script); font-style: normal; text-transform: none; font-size: 27px; letter-spacing: 0; color: var(--lilas-texte); }

/* Cartes postales sur papier aquarelle */
.postcards-wrap { position: relative; margin-top: 36px; }
.postcards {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 10px calc(50% - min(41%, 170px)) 30px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.postcards::-webkit-scrollbar { display: none; }
.postcard {
  scroll-snap-align: center; position: relative; display: flex; flex-direction: column;
  background: var(--blanc) url("../img/papier.svg"); color: var(--encre); padding: 14px 14px 22px;
  box-shadow: 0 28px 50px -30px rgba(75, 61, 99, .5), 0 0 0 1px var(--ligne);
  transform: scale(.92) rotate(var(--tilt, 0deg)); opacity: .6;
  transition: transform .7s var(--ease), opacity .6s;
}
.postcard:nth-child(odd) { --tilt: -1.2deg; }
.postcard:nth-child(even) { --tilt: 1deg; }
.postcard.is-active { transform: scale(1) rotate(0deg); opacity: 1; }
.postcard__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lilas-pale);
  -webkit-mask: url("../img/masque-aquarelle.svg") 0 0 / 100% 100% no-repeat;
  mask: url("../img/masque-aquarelle.svg") 0 0 / 100% 100% no-repeat;
}
.postcard__media--duo { display: grid; grid-template-rows: 1.25fr 1fr; gap: 6px; background: transparent; }
.shot { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--lilas-pale); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .shot:hover img, .shot:hover video { transform: scale(1.05); } }
.shot__badge {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-family: var(--sans); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--prune); background: rgba(255, 253, 249, .85);
}
.shot__badge .ico { width: 10px; height: 10px; color: var(--lilas-texte); }
.postcard__body { position: relative; padding: 16px 6px 0; text-align: center; }
.postcard__country { font-family: var(--sans); font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--sauge-texte); }
.postcard__city { margin-top: 2px; font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.1; color: var(--prune); }
.postcard__quote { margin-top: 6px; font-family: var(--script); font-size: 25px; line-height: 1.3; color: var(--lilas-texte); }

/* Carte « lettre » (sans photo) : timbre + tampon */
.postcard__media--stamp {
  display: grid; place-items: center;
  background:
    url("../img/tache-lilas.svg") -30% 120% / 80% no-repeat,
    url("../img/tache-sauge.svg") 130% -20% / 70% no-repeat,
    var(--lilas-brume);
}
.stamp {
  position: relative; width: 58%; aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25), transparent 50%), linear-gradient(160deg, #7a63a3, #6c5594 60%, #5f7553);
  color: var(--blanc); padding: 14px;
  -webkit-mask: radial-gradient(circle 5px at 5px 5px, transparent 98%, #000) -5px -5px / 14px 14px round;
  mask: radial-gradient(circle 5px at 5px 5px, transparent 98%, #000) -5px -5px / 14px 14px round;
  transform: rotate(-4deg);
}
.stamp::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 253, 249, .55); }
.stamp__num { font-family: var(--sans); font-size: 10px; letter-spacing: .3em; color: var(--lilas-pale); }
.stamp__city { margin-top: 6px; font-family: var(--script); font-size: 30px; line-height: 1.1; color: var(--blanc); text-align: center; }
.stamp__heart { margin: 8px 0; color: var(--rose-poudre); }
.stamp__heart .ico { width: 22px; height: 22px; }
.stamp__country { font-family: var(--sans); font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--blanc); }
.postmark {
  position: absolute; right: 8%; bottom: 10%; width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; line-height: 1.25;
  font-family: var(--sans); font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(85, 112, 74, .85);
  border: 1.5px solid rgba(85, 112, 74, .55); transform: rotate(14deg);
  box-shadow: inset 0 0 0 5px rgba(243, 239, 247, .6), inset 0 0 0 6px rgba(85, 112, 74, .4);
}
.postmark b { font-weight: 400; font-size: 11px; }

.postcards__nav {
  display: none; position: absolute; top: 40%; z-index: 2; width: 50px; height: 50px; border-radius: 50%;
  place-items: center; color: var(--prune); background: rgba(255, 253, 249, .92); border: 1px solid var(--ligne);
  box-shadow: 0 10px 24px -10px rgba(75, 61, 99, .4); transition: background-color .3s, opacity .3s;
}
.postcards__nav:hover { background: var(--lilas-brume); }
.postcards__nav[disabled] { opacity: .3; cursor: default; }
.postcards__nav .ico { width: 22px; height: 22px; }
.postcards__nav--prev { left: 0; }
.postcards__nav--next { right: 0; }
.postcards__dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
.postcards__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--lilas); opacity: .5; transition: opacity .4s, transform .4s var(--ease), background-color .4s; }
.postcards__dots span.is-active { opacity: 1; background: var(--lilas-texte); transform: scale(1.4); }

/* ════════════════════════════════════════
   PROGRAMME — un trait d'aquarelle qui se remplit
═══════════════════════════════════════════ */
.program__wash { --w: 100vw; --o: .35; right: -50vw; top: 20%; }
.program .head__tag::first-letter { text-transform: uppercase; }
.timeline { position: relative; max-width: 980px; margin: 0 auto; --fill: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 10px; bottom: 10px; left: 16px; width: 3px; border-radius: 3px; }
.timeline::before { background: var(--lilas-pale); opacity: .8; }
.timeline::after {
  background: linear-gradient(to bottom, var(--lilas), var(--glycine) 45%, var(--sauge));
  transform-origin: top; transform: scaleY(var(--fill));
}
.step { position: relative; padding-left: 52px; }
.step + .step { margin-top: 26px; }
.step__gem {
  position: absolute; left: 7px; top: 24px; width: 21px; height: 21px; z-index: 1;
  border-radius: 50% 50% 50% 50% / 56% 56% 44% 44%;
  background: radial-gradient(circle at 34% 30%, #fff 0 12%, var(--lilas-pale) 40%, var(--lilas));
  box-shadow: 0 0 0 4px var(--papier);
  transition: transform .8s var(--ease), box-shadow .6s, background .6s;
}
.step.is-lit .step__gem {
  background: radial-gradient(circle at 34% 30%, #fff 0 12%, var(--lilas) 38%, var(--glycine) 70%, var(--lilas-texte));
  transform: scale(1.15); box-shadow: 0 0 0 4px var(--papier), 0 0 18px rgba(154, 130, 196, .7);
}
.step__card {
  position: relative; background: rgba(255, 253, 249, .88); padding: 28px 24px 26px;
  border: 1px solid var(--ligne); box-shadow: 0 24px 50px -32px rgba(75, 61, 99, .38);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.step--houppa .step__card {
  background:
    radial-gradient(circle at 100% 0, rgba(196, 178, 224, .42), transparent 48%),
    radial-gradient(circle at 0 100%, rgba(169, 188, 152, .32), transparent 46%),
    rgba(255, 253, 249, .92);
}
@media (hover: hover) { .step__card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(75, 61, 99, .45); } }
.step__time {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--lilas-texte); background: var(--lilas-brume);
}
.step__time .ico { width: 14px; height: 14px; color: var(--glycine); }
.step__icon {
  position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; color: var(--sauge-texte);
  background: url("../img/tache-sauge.svg") center / 140% no-repeat;
}
.step__icon .ico { width: 24px; height: 24px; }
.step__title { margin-top: 16px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 34px); line-height: 1.1; color: var(--prune); }
.step__he { font-weight: 400; font-size: .72em; color: var(--lilas-texte); margin-inline-start: .3em; }
.step__place { margin-top: 6px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--sauge-texte); }
.step__text { margin-top: 12px; font-size: 18.5px; line-height: 1.6; color: var(--gris); }
.step__text strong { color: var(--encre); font-weight: 600; }
.program__cal { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ════════════════════════════════════════
   LIEUX
═══════════════════════════════════════════ */
.venues { background: linear-gradient(to bottom, var(--papier), var(--lilas-brume) 50%, var(--papier)); }
.venues__wash { --w: 90vw; --o: .35; left: -45vw; bottom: 0; }
.venues__grid { display: flex; flex-direction: column; align-items: stretch; max-width: 1060px; margin: 0 auto; }
.venue { background: var(--blanc); border: 1px solid var(--ligne); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 26px 50px -34px rgba(75, 61, 99, .45); }
.venue__map { position: relative; height: 230px; background: var(--lilas-pale); }
.venue__map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: sepia(.3) hue-rotate(205deg) saturate(.55) brightness(1.05) contrast(.94);
}
.venue__map::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(to top, var(--blanc), transparent); pointer-events: none; }
.venue__body { padding: 22px 24px 28px; }
.venue__kind { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--lilas-texte); }
.venue__title { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 38px); line-height: 1.1; color: var(--prune); }
.venue__addr { margin-top: 6px; font-size: 18px; color: var(--gris); }
.venue__tip { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 13px; color: var(--sauge-texte); }
.venue__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }

.route { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.route__line { width: 2px; height: 34px; background-image: linear-gradient(to bottom, var(--glycine) 50%, transparent 50%); background-size: 2px 8px; opacity: .6; }
.route__gem {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--blanc);
  background: radial-gradient(circle at 34% 30%, var(--lilas) 0 20%, var(--glycine) 60%, var(--lilas-texte));
  box-shadow: 0 0 0 7px rgba(196, 178, 224, .3);
}
.route__gem .ico { width: 22px; height: 22px; }
.route__label { font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sauge-texte); text-align: center; }

/* ════════════════════════════════════════
   INFOS PRATIQUES
═══════════════════════════════════════════ */
.infos__grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.info {
  background: rgba(255, 253, 249, .85); padding: 30px 26px; text-align: center;
  border: 1px solid var(--ligne); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
@media (hover: hover) { .info:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(75, 61, 99, .38); } }
.info__ico {
  width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center;
  color: var(--lilas-texte); background: url("../img/tache-lilas.svg") center / 130% no-repeat;
}
.info:nth-child(even) .info__ico { color: var(--sauge-texte); background-image: url("../img/tache-sauge.svg"); }
.info:nth-child(3n) .info__ico { color: var(--lilas-texte); background-image: url("../img/tache-rose.svg"); }
.info__ico .ico { width: 24px; height: 24px; }
.info__title { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.15; color: var(--prune); }
.info__text { margin-top: 10px; font-size: 18px; line-height: 1.6; color: var(--gris); }
.info__text strong { color: var(--encre); font-weight: 600; }
.info__text a { color: var(--lilas-texte); border-bottom: 1px solid var(--lilas); }

/* ════════════════════════════════════════
   FORMULAIRES
═══════════════════════════════════════════ */
.rsvp { background: linear-gradient(to bottom, var(--papier), var(--sauge-brume) 60%, var(--papier)); }
.rsvp__wash--1 { --w: 85vw; --o: .4; left: -40vw; top: 18%; }
.rsvp__wash--2 { --w: 75vw; --o: .38; right: -36vw; bottom: 4%; --dur: 30s; }
.form {
  position: relative; max-width: 740px; margin: 0 auto; padding: 64px 20px 30px;
  background: rgba(255, 253, 249, .94); border: 1px solid var(--ligne);
  box-shadow: 0 40px 80px -44px rgba(75, 61, 99, .5);
}
.form::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(169, 188, 152, .35); pointer-events: none; }
.form__garland {
  position: absolute; left: 50%; top: 0; width: min(106%, 620px); transform: translate(-50%, -52%);
  pointer-events: none;
}
.form__garland img { width: 100%; height: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { position: relative; display: flex; flex-direction: column; margin-bottom: 22px; border: 0; min-width: 0; }
.field > label, .field > legend {
  margin-bottom: 10px; padding: 0; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--lilas-texte);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 12px;
  font-family: var(--serif); font-size: 19px; color: var(--encre);
  background: var(--blanc); border: 1px solid rgba(108, 85, 148, .26);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236c5594' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(59, 51, 70, .4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--glycine); background-color: #fff; box-shadow: 0 0 0 4px rgba(196, 178, 224, .35);
}
.field .is-invalid { border-color: #b0443e !important; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
.field__count { position: absolute; right: 12px; bottom: 8px; font-family: var(--sans); font-size: 11px; color: var(--gris); }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg__opt { position: relative; }
.seg__opt input, .pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg__opt span {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px; border-radius: 12px;
  font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: var(--gris);
  background: var(--blanc); border: 1px solid rgba(108, 85, 148, .26); cursor: pointer; transition: all .35s var(--ease);
}
.seg__opt input:checked + span {
  color: var(--blanc); border-color: transparent; font-weight: 500;
  background: radial-gradient(90% 130% at 90% 100%, rgba(127, 154, 112, .45), transparent 60%), linear-gradient(120deg, #6c5594, #7a63a3);
}
.seg__opt--no input:checked + span { color: var(--encre); background: var(--sauge-brume); border-color: var(--sauge-mid); }
.seg__opt input:focus-visible + span, .pick input:focus-visible + .pick__box { outline: 2px solid var(--lilas-texte); outline-offset: 2px; }

/* Côté de l'invité : la kalla (Dorah), le hatan (Oscar) ou les deux */
.sides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.side { position: relative; display: flex; cursor: pointer; }
.side input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.side__box {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 92px; padding: 10px 6px;
  border-radius: 14px; text-align: center; background: var(--blanc); border: 1px solid rgba(108, 85, 148, .26);
  transition: background-color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.side__he { font-size: 20px; line-height: 1.1; color: var(--glycine); }
.side__box strong { font-family: var(--script); font-weight: 400; font-size: clamp(22px, 6.6vw, 27px); white-space: nowrap; line-height: 1.15; color: var(--prune); }
.side__box em { font-family: var(--sans); font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.side input:checked + .side__box {
  border-color: var(--glycine); transform: translateY(-2px);
  background: radial-gradient(circle at 50% 0%, rgba(196, 178, 224, .45), transparent 70%), var(--lilas-brume);
  box-shadow: 0 12px 24px -16px rgba(108, 85, 148, .6);
}
.side--both input:checked + .side__box { border-color: var(--sauge-mid); background: radial-gradient(circle at 50% 0%, rgba(169, 188, 152, .45), transparent 70%), var(--sauge-brume); }
.side input:checked + .side__box .side__he { color: var(--lilas-texte); }
.side input:focus-visible + .side__box { outline: 2px solid var(--lilas-texte); outline-offset: 2px; }
#sideField.is-invalid .side__box { border-color: #b0443e; }

#attendBlock { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease), opacity .4s; }
#attendBlock > .attend-inner { overflow: hidden; }
#attendBlock.is-collapsed { grid-template-rows: 0fr; opacity: 0; }

.picks { display: grid; gap: 10px; }
.pick { cursor: pointer; }
.pick__box {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px; border-radius: 12px;
  border: 1px solid rgba(108, 85, 148, .26); background: var(--blanc);
  transition: border-color .35s, background-color .35s;
}
.pick__ico { width: 24px; height: 24px; color: var(--glycine); }
.pick__txt { display: flex; flex-direction: column; line-height: 1.25; }
.pick__txt strong { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--prune); }
.pick__txt em { margin-top: 2px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .03em; color: var(--gris); }
.pick__check {
  margin-left: auto; width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  color: transparent; border: 1px solid rgba(108, 85, 148, .4); transition: all .35s var(--ease);
}
.pick input:checked + .pick__box { border-color: var(--glycine); background: var(--lilas-brume); }
.pick input:checked + .pick__box .pick__check { color: var(--blanc); background: var(--lilas-texte); border-color: var(--lilas-texte); }

.form__legal { margin-top: 14px; text-align: center; font-family: var(--sans); font-size: 12px; line-height: 1.5; color: var(--gris); }
.form__status { min-height: 24px; margin-top: 16px; text-align: center; font-family: var(--sans); font-size: 15px; line-height: 1.5; }
.form__status.is-error { color: #a4322a; }
.form__status.is-success { color: var(--sauge-texte); }
.form.is-sent .form__fields { display: none; }

.thanks { display: none; text-align: center; padding: 20px 0 10px; }
.form.is-sent .thanks { display: block; animation: rise 1s var(--ease) both; }
.thanks__title { font-family: var(--script); font-size: clamp(56px, 12vw, 80px); line-height: 1.2; padding: 0 .1em; }
.thanks__text { margin-top: 10px; font-size: 20px; color: var(--gris); text-wrap: balance; }
.thanks__actions { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* ════════════════════════════════════════
   LIVRE D'OR
═══════════════════════════════════════════ */
.guestbook__wash { --w: 90vw; --o: .35; right: -45vw; top: 10%; }
.gb { display: grid; gap: 30px; max-width: 1060px; margin: 0 auto; align-items: start; }
.gb__form {
  position: relative; padding: 30px 20px 22px;
  background:
    url("../img/tache-sauge.svg") 120% -30% / 70% no-repeat,
    var(--sauge-brume);
  border: 1px solid var(--ligne-sauge);
}
.gb__form::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255, 253, 249, .85); pointer-events: none; }
.gb__wall { display: grid; gap: 14px; }
.gb__empty { padding: 34px 20px; text-align: center; font-style: italic; font-size: 20px; color: var(--gris); border: 1px dashed var(--lilas); background: rgba(255, 253, 249, .8); }
.gb__more { justify-self: center; }
.note {
  position: relative; padding: 26px 22px 20px; background: var(--blanc) url("../img/papier.svg");
  border: 1px solid var(--ligne); box-shadow: 0 18px 40px -30px rgba(75, 61, 99, .45);
  animation: rise .9s var(--ease) both;
}
.note:nth-child(odd) { transform: rotate(-.4deg); }
.note:nth-child(even) { transform: rotate(.4deg); }
.note::before {
  content: "“"; position: absolute; top: -10px; left: 14px; font-family: var(--serif); font-size: 66px; line-height: 1;
  color: var(--glycine); opacity: .8;
}
.note::after {
  content: ""; position: absolute; right: -10px; top: -14px; width: 70px; height: 70px; pointer-events: none;
  background: url("../img/tache-lilas.svg") center / contain no-repeat; opacity: .45;
}
.note:nth-child(3n)::after { background-image: url("../img/tache-sauge.svg"); }
.note:nth-child(3n+1)::after { background-image: url("../img/tache-rose.svg"); }
.note__text { position: relative; font-size: 19px; line-height: 1.6; color: var(--encre); white-space: pre-line; overflow-wrap: anywhere; }
.note__meta { margin-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.note__author { font-family: var(--script); font-size: 27px; line-height: 1.1; color: var(--lilas-texte); }
.note__date { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.note.is-new { box-shadow: 0 0 0 2px var(--lilas), 0 18px 40px -30px rgba(75, 61, 99, .45); }

/* ════════════════════════════════════════
   FOOTER — l'allée de pétales
═══════════════════════════════════════════ */
.footer {
  position: relative; overflow: hidden; text-align: center;
  padding: 90px 0 calc(clamp(170px, 30vw, 300px) + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, var(--papier), var(--lilas-brume) 45%, #f1ebf5);
}
.footer__allee {
  position: absolute; left: 50%; bottom: 0; height: clamp(190px, 34vw, 420px); transform: translateX(-50%);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%);
  mask-image: linear-gradient(to bottom, transparent, #000 40%);
}
.footer__allee img { height: 100%; width: auto; max-width: none; }
.footer__inner { position: relative; z-index: 2; width: min(680px, 100% - var(--gutter) * 2); margin-inline: auto; }
.footer__logo { width: 150px; height: 150px; margin: 0 auto 6px; overflow: visible; }
.footer__he { font-size: 22px; color: var(--lilas-texte); }
.footer__names { margin-top: 2px; font-family: var(--script); font-size: clamp(60px, 14vw, 90px); line-height: 1.15; color: var(--prune); }
.footer__names span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: .45em; color: var(--glycine); }
.footer__date { margin-top: 4px; font-family: var(--sans); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--sauge-texte); }
.footer .orn { margin: 26px auto 18px; }
.footer__thanks { font-style: italic; font-size: clamp(20px, 3vw, 24px); color: var(--encre); }
.footer__music { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; font-family: var(--sans); font-size: 12.5px; line-height: 1.5; color: var(--gris); }
.footer__music a { color: var(--lilas-texte); border-bottom: 1px solid var(--lilas); }
.footer__music .ico { color: var(--glycine); }
.footer__promo { margin-top: 48px; padding: 30px 22px; border: 1px solid var(--ligne); background: rgba(255, 253, 249, .88); }
.footer__promo-q { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 27px); color: var(--prune); }
.footer__promo-sub { margin: 8px 0 20px; font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.footer__credit { margin-top: 26px; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--gris); }
.footer__credit a { color: var(--lilas-texte); border-bottom: 1px solid var(--lilas); }

/* ════════════════════════════════════════
   VISIONNEUSE
═══════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 250; display: grid; place-items: center;
  background: rgba(43, 36, 56, .94); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video {
  max-width: min(92vw, 1200px); max-height: 84vh; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); outline: 1px solid rgba(196, 178, 224, .5); outline-offset: 8px;
  animation: lbIn .5s var(--ease) both;
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .3s, border-color .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(196, 178, 224, .35); border-color: var(--lilas); }
.lightbox__close { top: calc(16px + env(safe-area-inset-top)); right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox .ico { width: 22px; height: 22px; }

/* ════════════════════════════════════════
   APPARITIONS AU SCROLL — comme un lavis qui sèche
═══════════════════════════════════════════ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .verse__photo.reveal { transform: translateY(28px) rotate(-2deg); }
.js .verse__photo.reveal.is-visible { transform: rotate(-2deg); }
.js .head__title, .js .houppa__word { transition: filter 1.4s var(--ease); }
.js .reveal:not(.is-visible) .head__title, .js .houppa__word.reveal:not(.is-visible) { filter: blur(6px); }

/* ════════════════════════════════════════
   ≥ 600px
═══════════════════════════════════════════ */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .hero__cta { flex-direction: row; justify-content: center; }
  .hero__cta .btn { width: auto; }
  .hero__title { font-size: clamp(64px, 11vw, 96px); }
  .hero__arch { height: min(40svh, 410px); }
  .form { padding: 76px 48px 40px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .infos__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .families { grid-template-columns: 1fr auto 1fr; align-items: start; gap: 30px; }
  .card__names { flex-direction: row; align-items: flex-start; }
  .card__amp { align-self: center; margin: -.5em 0 0; }
  .card__text br { display: inline; }
  .families__sep { align-self: stretch; }
  .families__sep i { width: 1px; height: 100%; min-height: 140px; background: linear-gradient(180deg, transparent, var(--sauge-mid), transparent); }
  .memory { padding: 44px 40px 38px; }
  .memory__list { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .thanks__actions { flex-direction: row; justify-content: center; }
  .gb__form { padding: 36px 32px 26px; }
  .gb__wall { grid-template-columns: 1fr 1fr; }
  .gb__wall .gb__empty, .gb__wall .gb__more { grid-column: 1 / -1; }
  .hero__allee { height: 30%; }
}

/* ════════════════════════════════════════
   ≥ 768px
═══════════════════════════════════════════ */
@media (min-width: 768px) {
  .verse__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .verse__text { text-align: left; }
  .verse__he { justify-content: flex-end; }
  .verse__text .orn { margin: 26px 0; }

  .families { text-align: left; }
  .family:last-child { text-align: right; }
  .family__house { background-position: bottom left; background-image: linear-gradient(90deg, var(--lilas), transparent); }
  .family:last-child .family__house { background-image: linear-gradient(90deg, transparent, var(--lilas)); }

  .map { margin: 0; }
  .map__paper { -webkit-mask-image: none; mask-image: none; }
  .map__track { width: 100%; transform: none !important; }
  .postcards { grid-auto-columns: 320px; padding-inline: calc(50% - 160px); }
  .postcards__nav { display: grid; }

  /* Timeline centrée, étapes en quinconce */
  .timeline::before, .timeline::after { left: calc(50% - 1.5px); }
  .step { width: 50%; padding-left: 0; padding-right: 56px; }
  .step + .step { margin-top: -80px; }
  .step:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 56px; }
  .step__gem { left: auto; right: -10.5px; top: 30px; }
  .step:nth-child(even) .step__gem { right: auto; left: -10.5px; }
  .step:nth-child(odd) .step__card { text-align: right; }
  .step:nth-child(odd) .step__icon { right: auto; left: 22px; }
  .step__card { padding: 32px 30px 30px; }

  .venue__map { height: 260px; }
  .houppa__opening::before { background: radial-gradient(ellipse 46% 50% at 50% 50%, rgba(250, 247, 241, .93) 0%, rgba(250, 247, 241, .8) 46%, rgba(250, 247, 241, .36) 74%, rgba(250, 247, 241, 0) 100%); }
}

/* ════════════════════════════════════════
   ≥ 1024px
═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .nav__links { display: flex; margin-right: 14px; }
  .burger { display: none; }
  .nav__cta { padding: 11px 20px; font-size: 11.5px; }
  .venues__grid { flex-direction: row; align-items: center; }
  .venue { flex: 1; }
  .route {
    flex: 0 0 170px; padding: 0 6px;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px 8px;
  }
  .route__line { width: 100%; height: 2px; background-image: linear-gradient(to right, var(--glycine) 50%, transparent 50%); background-size: 8px 2px; }
  .route__line:first-child { grid-area: 1 / 1; }
  .route__gem { grid-area: 1 / 2; }
  .route__line:last-child { grid-area: 1 / 3; }
  .route__label { grid-area: 2 / 1 / 3 / 4; }
  .infos__grid { grid-template-columns: repeat(3, 1fr); }
  .gb { grid-template-columns: 380px 1fr; gap: 40px; }
  .gb__form { position: sticky; top: calc(var(--nav-h) + 20px); }
  .postcards { grid-auto-columns: 340px; padding-inline: calc(50% - 170px); gap: 22px; }
  .wash { --w: 60vw; }
  .hero__wash--1 { --w: 70vw; left: -26vw; top: -26vw; }
  .hero__wash--2 { --w: 62vw; right: -24vw; top: 30%; }
  .hero__allee { height: 38%; }
  .hero__allee, .footer__allee { width: 100%; height: auto; }
  .hero__allee { opacity: .42; }
  .hero__allee img, .footer__allee img { width: 100%; height: auto; }
}

/* Hero en deux colonnes : l'arche à gauche, le texte à droite */
@media (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .hero__content {
    display: grid; grid-template-columns: auto minmax(0, 540px); column-gap: clamp(56px, 7vw, 110px);
    grid-template-rows: 1fr repeat(8, auto) 1fr; justify-content: center; justify-items: center;
    min-height: 100vh; max-width: 1200px; margin-inline: auto; padding-bottom: 40px;
  }
  .hero__arch { grid-column: 1; grid-row: 1 / -1; align-self: center; height: min(66vh, 600px); margin-top: 40px; }
  .hero__content > :not(.hero__arch) { grid-column: 2; }
  .hero__eyebrow { grid-row: 2; } .hero__title { grid-row: 3; } .hero__he { grid-row: 4; } .hero__orn { grid-row: 5; }
  .hero__date { grid-row: 6; } .hero__place { grid-row: 7; } .hero__cta { grid-row: 8; } .hero__cd { grid-row: 9; }
  .hero__title { margin-top: 12px; flex-direction: column; align-items: center; font-size: clamp(88px, 8vw, 128px); line-height: 1; }
  .hero__amp { font-size: .4em; margin: -.2em 0 -.08em; }
}

/* Petits écrans */
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .step__card { padding: 24px 18px; }
  .step__icon { display: none; }
  .card__bsd { top: 22px; right: 24px; }
  .nav__brand-txt { display: none; }
}

/* Écrans peu hauts (paysage mobile) */
@media (max-height: 560px) {
  .intro__content { padding: 16px 24px; }
  .seal { width: 120px; }
  .intro__tag { margin-top: 8px; }
  .intro__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ink, .head__title em, .hero__amp, .intro__amp, .card__amp, .wash, .houppa__img, .map__compass { animation: none; }
  .houppa__petal, .candle__flame, .candle__glow { animation: none; }
  .houppa__petal { display: none; }
  .intro__wash { opacity: .62; }
}
