/* ==========================================================================
   Mélissa & Glodi — 23 & 24 octobre 2026
   Feuille de style unique. Mobile first, largeur de référence 390px.
   Sommaire : 1 tokens · 2 reset · 3 coquille · 4 typo · 5 primitives
              · 6 décor · 7 animations · 8 nav · 9 accueil · 10 programme
              · 11 y aller · 12 dormir · 13 cadeau · 14 photos · 15 motion
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */
:root {
  /* couleurs */
  --green: #689D71;
  --green-soft: #C9D6CC;
  --green-deep: #4d6b57;
  --green-light: #7fa588;
  --dark: #1E2A24;
  --cream: #FBF9F5;
  --sand: #e7e3da;
  --text: #4A5450;
  --muted: #6B7269;
  --line: rgba(30, 42, 36, .12);
  --tint: rgba(104, 157, 113, .12);

  /* dégradés */
  --grad-cta: linear-gradient(135deg, #75A97E, #689D71 55%, #54855E);
  --grad-hero-fallback: linear-gradient(165deg, #8aa993, #4d6b57);
  --grad-gift: linear-gradient(155deg, #7fa588, #4d6b57);

  /* rayons */
  --r-card: 20px;
  --r-block: 22px;
  --r-img: 16px;
  --r-pill: 999px;

  /* ombres */
  --sh-card: 0 2px 12px rgba(30, 42, 36, .04);
  --sh-cta: 0 6px 18px rgba(104, 157, 113, .3);
  --sh-nav: 0 12px 30px rgba(30, 42, 36, .32);

  /* easing */
  --ease: cubic-bezier(.22, .68, .32, 1);

  /* gabarit */
  --app-w: 480px;
  --pad: 22px;
}

/* --- 2. Reset ----------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; min-width: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(120% 80% at 50% 0%, #f2efe8 0%, #e2ddd2 100%);
  background-attachment: fixed;
  font-family: Jost, system-ui, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure { margin: 0; }

img { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  margin: 0;
  cursor: pointer;
}

a { color: var(--green); }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- 3. Coquille de l'application --------------------------------------- */
.app {
  position: relative;
  max-width: var(--app-w);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  overflow-x: hidden;
}

.screen {
  padding-bottom: 110px;              /* place pour la nav flottante */
  animation: fadeUp .5s ease both;
}

.pad { padding: 0 var(--pad); }

.screen-head {
  position: relative;
  padding: 58px var(--pad) 20px;
  overflow: hidden;                    /* le monogramme reste dans le bloc */
}

.screen-head .rule {
  width: 54px;
  height: 1px;
  margin: 12px 0;
  background: var(--green);
  transform-origin: left;
  animation: drawLine .8s .2s var(--ease) both;
}

.stack {
  display: flex;
  flex-direction: column;
}

/* --- 4. Typographie ----------------------------------------------------- */
.h1, .h2, .h3 {
  font-family: Marcellus, Georgia, serif;
  font-weight: 400;
  color: var(--dark);
}

.h1 { font-size: 46px; line-height: 1.05; }
.h2 { font-size: 26px; line-height: 1.2; }
.h3 { font-size: 19px; line-height: 1.25; }

.body {
  font: 300 14px/1.7 Jost, sans-serif;
  color: var(--text);
}

.small {
  font: 300 12.5px/1.6 Jost, sans-serif;
  color: var(--muted);
}

.eyebrow {
  font: 500 10px Jost, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  /* --green-deep et non --green : à 10px le vert de marque tombe à 3,15:1 sur blanc */
  color: var(--green-deep);
}

.label {
  font: 500 11px Jost, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono { font: 400 13.5px/1.6 ui-monospace, Menlo, monospace; }

.quote {
  font: 300 14px/1.7 Jost, sans-serif;
  font-style: italic;
  color: var(--muted);
}

/* --- 5. Primitives ------------------------------------------------------ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
  box-shadow: var(--sh-card);
}

.card--flat {
  background: rgba(30, 42, 36, .04);
  border: none;
  box-shadow: none;
}

/* bouton plein largeur, avec reflet */
.cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: var(--r-pill);
  background: var(--grad-cta);
  color: #fff;
  box-shadow: var(--sh-cta);
  font: 500 13px Jost, sans-serif;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  display: block;
}

.cta > span { position: relative; }

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 255, 255, .32) 50%, transparent 60%);
  background-size: 220% 100%;
  animation: shimmer 4.6s 1.2s ease-in-out infinite;
  pointer-events: none;
}

.cta--ghost {
  background: transparent;
  color: var(--dark);
  box-shadow: inset 0 0 0 1px var(--line);
}

.cta--ghost::after { content: none; }

/* pilule pleine largeur (bascule de jour) */
.pill {
  flex: 1;
  min-height: 44px;
  padding: 11px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font: 400 13px Jost, sans-serif;
  letter-spacing: .04em;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.pill[aria-pressed="true"] {
  border-color: transparent;
  background: var(--dark);
  color: #fff;
}

/* puce de mode */
.chip {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--muted);
  font: 400 12.5px Jost, sans-serif;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.chip[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--tint);
  color: #3D5744;
}

/* lien texte discret (copier, tout voir) */
.link {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: none;
  font: 400 12px Jost, sans-serif;
  color: var(--green);
}

/* cible tactile de 44px sans changer la hauteur visuelle du lien */
.link::after {
  content: "";
  position: absolute;
  inset: -13px -8px;
}

/* petit bouton fantôme (« Comment y aller ») */
.btn-ghost {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: transparent;
  font: 400 12px Jost, sans-serif;
  color: var(--dark);
}

/* rond d'accordéon − / + */
.toggle-sign {
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 300 15px Jost, sans-serif;
  color: var(--muted);
}

/* --- 6. Décor ----------------------------------------------------------- */
.monogram {
  position: absolute;
  pointer-events: none;
  max-width: 100%;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 4px 0;
  --divider-color: rgba(104, 157, 113, .55);
  --divider-w: 108px;
  --divider-delay: 0s;
}

.divider i {
  width: calc(var(--divider-w) / 2);
  height: 1px;
  animation: drawLine .9s var(--divider-delay) var(--ease) both;
}

.divider i:first-child {
  background: linear-gradient(90deg, transparent, var(--divider-color));
  transform-origin: right;
}

.divider i:last-child {
  background: linear-gradient(90deg, var(--divider-color), transparent);
  transform-origin: left;
}

.divider svg {
  flex: none;
  stroke: var(--divider-color);
  animation: fadeUp .8s calc(var(--divider-delay) + .25s) ease both;
}

.divider--light {
  --divider-color: rgba(255, 255, 255, .55);
  --divider-w: 92px;
}

.petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petals i {
  position: absolute;
  top: 0;
  border-radius: 60% 60% 60% 0;
  filter: blur(.2px);
  animation-name: petalFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* --- 7. Animations ------------------------------------------------------ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
@keyframes riseIn   { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes heroZoom { from { transform: scale(1.12) }                 to { transform: scale(1) } }
@keyframes drawLine { from { transform: scaleX(0) }                   to { transform: scaleX(1) } }
@keyframes letterIn { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: none } }
@keyframes shimmer  { 0% { background-position: -160% 0 } 60%, 100% { background-position: 260% 0 } }
@keyframes petalFall {
  0%   { opacity: 0; transform: translate3d(0, -60px, 0) rotate(0deg) }
  6%   { opacity: 1 }
  92%  { opacity: 1 }
  100% { opacity: 0; transform: translate3d(var(--dx), var(--fall), 0) rotate(var(--spin)) }
}

.stagger > * { animation: riseIn .62s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: .05s }
.stagger > *:nth-child(2) { animation-delay: .13s }
.stagger > *:nth-child(3) { animation-delay: .21s }
.stagger > *:nth-child(4) { animation-delay: .29s }
.stagger > *:nth-child(5) { animation-delay: .37s }
.stagger > *:nth-child(6) { animation-delay: .45s }
.stagger > *:nth-child(7) { animation-delay: .53s }
.stagger > *:nth-child(8) { animation-delay: .61s }

.tapz { transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease; }
.tapz:active { transform: scale(.975); }

@media (hover: hover) {
  .lift:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(30, 42, 36, .10); }
  a:hover { color: #4d7955; }
}

/* --- 8. Barre de navigation --------------------------------------------- */
/* Flottante au-dessus du contenu : chaque .screen garde padding-bottom:110px. */
.nav {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(var(--app-w) - 28px), calc(100% - 28px));
  height: 62px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: rgba(30, 42, 36, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-nav);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 20;
}

.nav-tab {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border: none;
  border-radius: var(--r-pill);
  background: none;
  color: rgba(255, 255, 255, .62);
  opacity: .78;
  display: grid;
  place-items: center;
}

.nav-tab .nav-label { display: none; }

.nav-tab[aria-current="page"] {
  padding: 10px 15px 10px 11px;
  background: #fff;
  color: var(--dark);
  opacity: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  gap: 7px;
  animation: riseIn .4s var(--ease) both;
}

.nav-tab[aria-current="page"] .nav-label {
  display: block;
  font: 500 12.5px Jost, sans-serif;
  letter-spacing: .02em;
  white-space: nowrap;
}

.nav-tab[aria-current="page"] svg { width: 19px; height: 19px; }

/* --- 9. Écran Accueil --------------------------------------------------- */
.hero {
  position: relative;
  height: 520px;
  padding: 0 26px 42px;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background: var(--grad-hero-fallback);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  opacity: 0;
  transform: scale(1);
}

/* Les transitions ne sont armées qu'après le premier rendu : sans cela le zoom
   de la première photo agrandit l'élément pendant 6 s et repousse le LCP. */
.hero.is-ready .hero-slide {
  transition-property: opacity, transform;
  transition-duration: 1.6s, 6s;
  transition-timing-function: ease, var(--ease);
}

.hero-slide.is-on { opacity: 1; transform: scale(1.06); }

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 30, 24, .74) 0%, rgba(20, 30, 24, .16) 45%, rgba(20, 30, 24, .05) 100%);
}

.hero-halo {
  position: absolute;
  inset: 0;
  opacity: .82;
  background: radial-gradient(70% 45% at 50% 100%, rgba(104, 157, 113, .75), transparent 72%);
}

.hero-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.hero-eyebrow {
  font: 300 10px Jost, sans-serif;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  animation: letterIn .9s .1s var(--ease) both;
}

.hero-title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(15, 24, 18, .35);
}

.hero-title span { display: block; }
.hero-title span:nth-child(1) { animation: letterIn 1s .28s var(--ease) both; }
.hero-title span:nth-child(2) { animation: letterIn 1s .46s var(--ease) both; }

.hero-divider { animation: fadeUp .9s .7s ease both; --divider-delay: .7s; }

.hero-date {
  font: 300 12px Jost, sans-serif;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .92);
  animation: letterIn .9s .82s var(--ease) both;
}

.hero-city {
  font: 300 11px Jost, sans-serif;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .66);
  animation: letterIn .9s .94s var(--ease) both;
}

.hero-dots {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.hero-dots button {
  position: relative;
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .45);
  transition: width .4s ease, background .4s ease;
}

/* cible tactile pleine hauteur, sans chevaucher la puce voisine */
.hero-dots button::after {
  content: "";
  position: absolute;
  inset: -19px -3px;
}

.hero-dots button[aria-current="true"] { width: 18px; background: #fff; }

.home-body {
  position: relative;
  padding: 26px var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
}

.next-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-color: rgba(104, 157, 113, .35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.next-card .glow {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 157, 113, .16), transparent 70%);
}

.next-card .eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
}

.next-card .dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.next-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.next-actions > * { flex: 1; min-width: 0; }

.photos-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.thumb {
  position: relative;
  padding: 0;
  border: none;
  background: none;
  border-radius: var(--r-img);
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--r-img);
  border: 1px solid rgba(30, 42, 36, .08);
}

.thumb .more {
  position: absolute;
  inset: 0;
  border-radius: var(--r-img);
  background: rgba(30, 42, 36, .5);
  display: grid;
  place-items: center;
  font: 400 13px Jost, sans-serif;
  letter-spacing: .06em;
  color: #fff;
}

.home-closing {
  padding-top: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-closing .quote { padding: 0 12px; }

.signature {
  font: 400 22px Marcellus, Georgia, serif;
  letter-spacing: .14em;
  color: var(--green);
}

/* --- 10. Écran Programme ------------------------------------------------ */
.program-head { padding: 58px var(--pad) 18px; }
.program-head .h2 { position: relative; animation: letterIn .7s .05s var(--ease) both; }
.program-head .rule { margin: 12px 0 0; }

.day-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.day-panel { animation: riseIn .55s var(--ease) both; }

.venue-frame {
  padding: 7px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(104, 157, 113, .28), rgba(104, 157, 113, .06));
  margin-bottom: 22px;
}

.venue-frame img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(30, 42, 36, .08);
}

/* Photo verticale : on remonte le cadrage pour garder la coupole éclairée. */
.venue-frame img.crop-high { object-position: center 32%; }

.step { display: flex; gap: 16px; }

.step-rail {
  width: 12px;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-dot {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

.step--soft .step-dot {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--green);
}

.step-line {
  flex: 1;
  width: 1px;
  margin-top: 6px;
  background: linear-gradient(180deg, rgba(104, 157, 113, .45), rgba(104, 157, 113, .12));
  transform-origin: top;
  animation: drawLine .8s .2s ease both;
}

.step-body {
  flex: 1;
  padding-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step:last-child .step-body { padding-bottom: 0; }

.step--soft .eyebrow { color: #A9B2AC; }

.step-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.step-icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(104, 157, 113, .13);
  display: grid;
  place-items: center;
  color: var(--green);
}

.step--soft .step-icon { background: rgba(30, 42, 36, .05); color: #8E968F; }
.step--soft .h3 { color: #63706A; }

.dress {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dress .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mention capitale : elle doit se voir sans être cherchée. */
.invite-note {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  border-color: rgba(104, 157, 113, .45);
  background: rgba(104, 157, 113, .10);
  box-shadow: none;
}

.invite-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--green);
}

.invite-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.invite-line {
  font: 500 14px/1.45 Jost, sans-serif;
  color: var(--dark);
}

/* --- 11. Écran Y aller -------------------------------------------------- */
.route-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.venue {
  border: 1px solid var(--line);
  border-radius: var(--r-block);
  background: #fff;
  overflow: hidden;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.venue.is-open {
  border-color: rgba(104, 157, 113, .4);
  box-shadow: 0 4px 20px rgba(30, 42, 36, .06);
}

.venue-head {
  width: 100%;
  min-height: 44px;
  padding: 18px;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: background .22s var(--ease);
}

.venue.is-open .venue-head { background: rgba(104, 157, 113, .08); }

.venue-head-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.venue-head-title {
  font: 400 18px Marcellus, Georgia, serif;
  color: var(--dark);
}

.venue-body {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.venue-place {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.venue-place strong {
  font: 500 14px Jost, sans-serif;
  color: var(--dark);
}

.map-frame {
  position: relative;
  height: 168px;
  border-radius: var(--r-img);
  overflow: hidden;
  border: 1px solid rgba(30, 42, 36, .08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.modes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.contacts {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-group-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-role {
  font: 300 11.5px Jost, sans-serif;
  color: var(--muted);
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}

.contact .whatsapp { flex: none; fill: var(--green); }

.contact-id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-name {
  font: 500 13px Jost, sans-serif;
  color: var(--dark);
}

.contact-tel {
  font: 400 12.5px ui-monospace, Menlo, monospace;
  color: var(--muted);
}

.contact-call {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(104, 157, 113, .14);
  display: grid;
  place-items: center;
  color: var(--green);
}

/* --- 12. Écran Où dormir ------------------------------------------------ */
.hotels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hotel {
  padding: 14px;
  display: flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
}

.hotel img {
  width: 62px;
  height: 62px;
  flex: none;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(30, 42, 36, .08);
}

.hotel-id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hotel-name { font: 500 13.5px/1.3 Jost, sans-serif; color: var(--dark); }
.hotel-addr { font: 300 11.5px/1.4 Jost, sans-serif; color: var(--muted); }
.hotel-walk { font: 400 11.5px Jost, sans-serif; color: var(--green); }

.hotel-go {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint);
  display: grid;
  place-items: center;
  color: var(--green);
}

.others {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  overflow: hidden;
}

.others-head {
  width: 100%;
  min-height: 44px;
  padding: 16px 18px;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  font: 400 13.5px Jost, sans-serif;
  color: var(--dark);
}

.others-sign { font: 300 15px Jost, sans-serif; color: var(--muted); }

.others-body {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.others-body li {
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  font: 300 13px/1.6 Jost, sans-serif;
  color: var(--text);
}

.others-body ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }

/* --- 13. Écran Cadeau --------------------------------------------------- */
.gift-head {
  position: relative;
  height: 260px;
  padding: 0 34px;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.gift-head .bg {
  position: absolute;
  inset: 0;
  background: var(--grad-gift);
  animation: heroZoom 10s var(--ease) both;
}

.gift-head .eyebrow,
.gift-head .h2,
.gift-head .divider { position: relative; }

.gift-head .eyebrow {
  font: 300 10px Jost, sans-serif;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .78);
  animation: letterIn .8s .05s var(--ease) both;
}

.gift-head .h2 {
  font-size: 28px;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 20px rgba(15, 24, 18, .3);
  animation: letterIn .9s .2s var(--ease) both;
}

.gift-head .divider { --divider-color: rgba(255, 255, 255, .5); --divider-w: 80px; --divider-delay: .5s; }

.gift-body {
  padding: 26px var(--pad) 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gift-body .card { display: flex; flex-direction: column; gap: 14px; }

.holder { font: 500 14px Jost, sans-serif; color: var(--dark); }

.iban-box {
  background: rgba(104, 157, 113, .08);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iban-box .label { font-size: 10px; color: #8C948F; }

.iban {
  font: 400 13.5px/1.6 ui-monospace, Menlo, monospace;
  color: var(--dark);
  letter-spacing: .02em;
  word-break: break-word;
}

.bic-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.bic { font: 400 13px ui-monospace, Menlo, monospace; color: var(--dark); }

.bic-row .link { align-self: auto; }

.gift-closing {
  padding: 6px 10px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- 14. Écran Photos --------------------------------------------------- */
.gallery-head {
  padding: 56px var(--pad) 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.back {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--dark);
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-hero img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 45%;
  border-radius: var(--r-card);
  border: 1px solid rgba(30, 42, 36, .08);
}

.gallery-hero { border-radius: var(--r-card); overflow: hidden; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gallery-grid figure {
  border-radius: var(--r-img);
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--r-img);
  border: 1px solid rgba(30, 42, 36, .08);
}

.gallery-grid figure:nth-child(1) { animation: riseIn .6s .12s var(--ease) both; }
.gallery-grid figure:nth-child(2) { animation: riseIn .6s .19s var(--ease) both; }
.gallery-grid figure:nth-child(3) { animation: riseIn .6s .26s var(--ease) both; }
.gallery-grid figure:nth-child(4) { animation: riseIn .6s .33s var(--ease) both; }

.gallery-closing {
  padding-top: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* 17 pétales : table recopiée de la maquette de référence.
   Les délais sont NÉGATIFS — la pluie est déjà en cours au chargement. */
.hero .petals      { --fall: 640px; }   /* hauteur du hero 520 + 120 */
.gift-head .petals { --fall: 380px; }   /* hauteur de l'en-tête 260 + 120 */

.petals i:nth-child(1) {
  left: 3%;
  width: 8px;
  height: 10.8px;
  background: rgba(255,255,255,.62);
  --dx: 26px;
  --spin: 320deg;
  animation-duration: 9s;
  animation-delay: -0s;
}
.petals i:nth-child(2) {
  left: 9%;
  width: 6px;
  height: 8.1px;
  background: rgba(201,214,204,.5);
  --dx: -22px;
  --spin: -300deg;
  animation-duration: 12s;
  animation-delay: -5.8s;
}
.petals i:nth-child(3) {
  left: 14%;
  width: 7px;
  height: 9.45px;
  background: rgba(255,255,255,.5);
  --dx: 18px;
  --spin: 280deg;
  animation-duration: 10.5s;
  animation-delay: -2.2s;
}
.petals i:nth-child(4) {
  left: 20%;
  width: 6px;
  height: 8.1px;
  background: rgba(104,157,113,.5);
  --dx: -18px;
  --spin: -260deg;
  animation-duration: 11s;
  animation-delay: -3.4s;
}
.petals i:nth-child(5) {
  left: 26%;
  width: 9px;
  height: 12.15px;
  background: rgba(255,255,255,.55);
  --dx: 24px;
  --spin: 300deg;
  animation-duration: 9.5s;
  animation-delay: -7.2s;
}
.petals i:nth-child(6) {
  left: 32%;
  width: 9px;
  height: 12.15px;
  background: rgba(201,214,204,.55);
  --dx: 20px;
  --spin: 300deg;
  animation-duration: 10s;
  animation-delay: -1.6s;
}
.petals i:nth-child(7) {
  left: 38%;
  width: 6px;
  height: 8.1px;
  background: rgba(104,157,113,.42);
  --dx: -20px;
  --spin: 260deg;
  animation-duration: 12.5s;
  animation-delay: -8.4s;
}
.petals i:nth-child(8) {
  left: 44%;
  width: 7px;
  height: 9.45px;
  background: rgba(255,255,255,.5);
  --dx: -24px;
  --spin: 280deg;
  animation-duration: 12s;
  animation-delay: -5.2s;
}
.petals i:nth-child(9) {
  left: 50%;
  width: 8px;
  height: 10.8px;
  background: rgba(201,214,204,.5);
  --dx: 16px;
  --spin: -280deg;
  animation-duration: 10s;
  animation-delay: -2.9s;
}
.petals i:nth-child(10) {
  left: 56%;
  width: 6px;
  height: 8.1px;
  background: rgba(255,255,255,.55);
  --dx: 22px;
  --spin: 320deg;
  animation-duration: 11s;
  animation-delay: -6.8s;
}
.petals i:nth-child(11) {
  left: 62%;
  width: 7px;
  height: 9.45px;
  background: rgba(104,157,113,.48);
  --dx: -16px;
  --spin: -300deg;
  animation-duration: 9.5s;
  animation-delay: -4s;
}
.petals i:nth-child(12) {
  left: 68%;
  width: 8px;
  height: 10.8px;
  background: rgba(255,255,255,.48);
  --dx: 20px;
  --spin: 280deg;
  animation-duration: 12s;
  animation-delay: -9.2s;
}
.petals i:nth-child(13) {
  left: 74%;
  width: 8px;
  height: 10.8px;
  background: rgba(201,214,204,.52);
  --dx: -20px;
  --spin: 260deg;
  animation-duration: 11.5s;
  animation-delay: -6.4s;
}
.petals i:nth-child(14) {
  left: 80%;
  width: 6px;
  height: 8.1px;
  background: rgba(255,255,255,.6);
  --dx: 24px;
  --spin: 300deg;
  animation-duration: 10.5s;
  animation-delay: -1.2s;
}
.petals i:nth-child(15) {
  left: 86%;
  width: 7px;
  height: 9.45px;
  background: rgba(104,157,113,.45);
  --dx: 22px;
  --spin: 320deg;
  animation-duration: 10.5s;
  animation-delay: -4.2s;
}
.petals i:nth-child(16) {
  left: 92%;
  width: 6px;
  height: 8.1px;
  background: rgba(255,255,255,.5);
  --dx: -16px;
  --spin: -280deg;
  animation-duration: 12.5s;
  animation-delay: -7.6s;
}
.petals i:nth-child(17) {
  left: 97%;
  width: 7px;
  height: 9.45px;
  background: rgba(201,214,204,.5);
  --dx: -24px;
  --spin: 300deg;
  animation-duration: 11s;
  animation-delay: -3s;
}

/* --- 15. Respect du réglage système ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --- 16. Positions du monogramme filigrane ------------------------------ */
.monogram--home  { top: 96px; right: 16px; transform: rotate(-8deg); }
.monogram--prog  { top: 44px; right: 18px; transform: rotate(6deg); }
.monogram--head  { top: 46px; right: 18px; transform: rotate(6deg); }

.photos-band {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* image pas encore branchée : aplat discret plutôt qu'un texte alternatif nu */
img[data-src] {
  background: var(--green-soft);
  color: transparent;
}

/* Les flèches sont des SVG et non des caractères : sur iOS, Jost n'a pas ces
   glyphes et le système retombe sur Apple Color Emoji. */
.arrow-right { flex: none; }

/* Ces éléments ne doivent jamais basculer en présentation emoji (✓, −, +). */
.toggle-sign,
.others-sign,
.link,
.cta {
  font-variant-emoji: text;
}

/* --- 17. Bascule français / italien ------------------------------------- */
/* Les deux langues sont dans le markup ; on masque celle qui n'est pas active.
   Aucun texte n'est construit en JavaScript. */
:root[data-lang="fr"] [lang="it"],
:root[data-lang="it"] [lang="fr"] {
  display: none;
}

.lang-switch {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: max(14px, calc(50% - var(--app-w) / 2 + 14px));
  z-index: 30;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(251, 249, 245, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(30, 42, 36, .18);
}

.lang-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 6px 11px;
  border: none;
  border-radius: var(--r-pill);
  background: transparent;
  display: grid;
  place-items: center;
  transition: background .22s var(--ease);
}

/* Drapeaux dessinés en SVG : l'emoji drapeau n'existe pas sur toutes les
   plateformes et se dégrade en deux lettres. */
.lang-btn .flag {
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(30, 42, 36, .18);
  opacity: .5;
  transition: opacity .22s var(--ease);
}

.lang-btn[aria-pressed="true"] {
  background: var(--dark);
}

.lang-btn[aria-pressed="true"] .flag {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
}

/* Retour de copie : les deux libellés sont en dur, on bascule la classe. */
.copy-done { display: none; }
.is-copied .copy-idle { display: none; }
.is-copied .copy-done { display: inline; }
