:root {
  --cream: #FBF6EE;
  --paper: #FFFDF9;
  --ink: #2C2A35;
  --muted: #6B6675;
  --line: rgba(44, 42, 53, .1);
  --coral: #E8634A;
  --coral-ink: #B8432D;
  --pink: #EE8FA6;
  --marigold: #F2B33D;
  --sage: #7FAE8A;
  --sea: #3F86B5;
  --sea-tint: #EEF3F4;
  --marigold-tint: #FBF3E4;
  --r-control: 10px;
  --r-card: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
::selection { background: #F6CFC4; color: var(--ink); }

.c-coral { --c: var(--coral); }
.c-pink { --c: var(--pink); }
.c-marigold { --c: var(--marigold); }
.c-sage { --c: var(--sage); }
.c-sea { --c: var(--sea); }
.c-lilac { --c: var(--pink); }

/* Top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 16px clamp(16px, 4vw, 40px);
  transition: background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.topbar.scrolled { background: var(--cream); box-shadow: 0 1px 0 var(--line); }
.brand { font: 600 22px var(--serif); text-decoration: none; }
.brand span { color: var(--coral); font-style: italic; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; transition: color 160ms var(--ease); }
.lang { display: flex; border: 1px solid var(--line); border-radius: var(--r-control); overflow: hidden; flex-shrink: 0; background: var(--paper); }
.lang button { border: 0; background: transparent; font: 600 13px var(--sans); padding: 8px 12px; cursor: pointer; color: var(--muted); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.lang button { transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.lang button:active, .tabs button:active { transform: scale(.97); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 112px 16px 144px; overflow: hidden;
  background: var(--cream);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.names { font-size: clamp(52px, 11vw, 124px); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; }
.names .amp { display: inline-block; font-style: italic; color: var(--coral); font-size: .8em; margin: 0 .05em; }
.hero-date { font: 600 clamp(20px, 3vw, 26px) var(--serif); margin: 24px 0 4px; }
.hero-place { color: var(--muted); margin: 0 0 32px; font-size: 17px; font-weight: 500; }

.countdown { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.cd { width: 112px; padding: 16px 8px 12px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; align-items: center; }
.cd-n { font: 500 36px/1 var(--serif); font-variant-numeric: tabular-nums; }
.cd-l { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 4px; }
.cd-done { font: 700 36px var(--hand); color: var(--coral-ink); }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: var(--r-control);
  background: var(--ink); color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

.hero-flowers { position: absolute; inset: 0; pointer-events: none; }
.hero-flowers svg { position: absolute; }
.f { width: 88px; height: 88px; }
.f1 { color: var(--pink); top: 16%; left: 7%; width: 120px; height: 120px; rotate: -8deg; }
.f2 { color: var(--marigold); top: 12%; right: 10%; rotate: 12deg; }
.f3 { color: var(--coral); bottom: 22%; left: 12%; width: 72px; height: 72px; rotate: 20deg; }
.f4 { color: var(--pink); bottom: 18%; right: 7%; width: 128px; height: 128px; rotate: -14deg; }
.f5 { color: var(--sea); top: 48%; left: 3%; width: 56px; height: 56px; }
.f6 { color: var(--coral); top: 40%; right: 4%; width: 60px; height: 60px; rotate: 30deg; }
.l { width: 60px; height: 100px; color: var(--sage); }
.l1 { top: 24%; left: 15%; transform: rotate(-25deg); }
.l2 { bottom: 26%; right: 16%; transform: rotate(30deg); }
.l3 { top: 8%; left: 44%; width: 40px; height: 72px; transform: rotate(80deg); opacity: .7; }

.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 72px; fill: var(--paper); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 16px; background: var(--paper); }
.tint-sea { background: var(--sea-tint); }
.tint-marigold { background: var(--marigold-tint); }
.wrap { max-width: 1080px; margin: 0 auto; }
.section h2 { font-size: clamp(36px, 6vw, 56px); font-weight: 400; letter-spacing: -.02em; text-align: center; }
.intro { text-align: center; color: var(--muted); max-width: 560px; margin: 16px auto 48px; }

/* Timeline: the hand-written times are the page's one signature */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 116px; top: 12px; bottom: 12px; width: 1px; background: var(--line); }
.step { display: grid; grid-template-columns: 100px 1fr; gap: 0 40px; position: relative; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.dot { position: absolute; left: 110px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.time { margin: 0; text-align: right; font: 700 28px/1.1 var(--hand); color: var(--coral-ink); }
.step-body h3 { font-size: 24px; font-weight: 500; }
.step-body .place { margin: 4px 0 8px; font-weight: 500; font-size: 15px; color: var(--muted); }
.step-body p { margin: 0; }
.step-body p:last-child { color: var(--muted); }

/* Venue */
.venue-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 28px 0 0; }
.text-link { font-weight: 600; font-size: 15px; text-underline-offset: 4px; }

/* Info cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.card-flower { display: none; }
.card h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.card p { margin: 0; }
.contacts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; }
.contacts span { color: var(--muted); }
.contacts a, .stay-links a, .callout a { color: var(--ink); text-decoration: none; font-weight: 600; word-break: break-word; transition: color 160ms var(--ease); }
a[href^="tel:"] { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Stays */
.callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 40px; }
.callout { border-radius: var(--r-card); padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.callout h3 { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.callout p { margin: 0; }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: var(--paper); padding: 8px 16px; min-height: 40px; border-radius: var(--r-control); font: 600 14px var(--sans); cursor: pointer; color: var(--ink); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tabs button { transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.stay-group, .stays { transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
@starting-style { .stay-group, .stays { opacity: 0; transform: translateY(4px); } }
.stay-group { font: 700 28px var(--hand); color: var(--coral-ink); margin: 32px 0 12px; }
.stay-group:first-child { margin-top: 0; }
.stays { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.stay { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.stay-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.stay h4 { font-size: 19px; font-weight: 500; }
.price { font-weight: 600; white-space: nowrap; color: var(--ink); font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.price small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.host { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.addr { margin: 8px 0; font-size: 14px; }
.stay-links { margin: 0; font-size: 14px; }
.more { text-align: center; margin: 32px 0 0; }
.more a { font-weight: 600; text-underline-offset: 4px; }

/* Visits */
.visits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.visit { position: relative; padding: 24px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.visit-dist { display: block; color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.visit h3 { font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.visit p { margin: 0; color: var(--muted); }

/* Footer */
.footer { background: var(--ink); color: var(--cream); text-align: center; padding: 64px 16px 56px; }
.footer-flower { width: 56px; height: 56px; color: var(--pink); }
.footer-names { font: 400 40px var(--serif); margin: 12px 0 0; }
.footer-date { font: 700 28px var(--hand); color: var(--marigold); margin: 4px 0 24px; }
.footer-contact p { margin: 0; color: rgba(251, 246, 238, .8); font-size: 15px; }
.footer-contact a { color: var(--cream); font-weight: 600; }

button, .btn, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover, .text-link:hover, .more a:hover,
  .contacts a:hover, .stay-links a:hover, .callout a:hover { color: var(--coral-ink); }
  .btn:hover { background: var(--coral-ink); }
  .btn-outline:hover { background: var(--ink); color: var(--cream); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stay-group, .stays { transition: opacity 200ms var(--ease); }
  @starting-style { .stay-group, .stays { transform: none; } }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .callouts, .visits { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .stays { grid-template-columns: 1fr; }
  .cd { width: 96px; padding: 12px 4px 8px; }
  .cd-n { font-size: 28px; }
  .f1, .f4 { width: 80px; height: 80px; }
  .f5, .f6, .l3 { display: none; }
  .timeline::before { left: 6px; }
  .step { grid-template-columns: 1fr; padding-left: 32px; }
  .dot { left: 0; }
  .time { text-align: left; margin-bottom: 4px; }
}

/* ===== V3 : profondeur, verre dépoli, mouvement ===== */

/* Premier écran : photo d'herbe, lumière, fleurs à deux profondeurs, pétales, carte en verre */
.hero { isolation: isolate; background: #1f2a19; padding-top: 120px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.04); }
.hero-light { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(255, 248, 232, .55), rgba(255, 248, 232, 0) 70%),
    linear-gradient(180deg, rgba(251, 246, 238, .18) 0%, rgba(251, 246, 238, 0) 35%, rgba(255, 253, 249, .35) 92%); }
.hero-flowers .far { z-index: -1; }
.hero-flowers .far { filter: blur(1.5px); opacity: .85; }
.hero-flowers .near { filter: blur(5px); z-index: 3; }
.hero-flowers svg { transform-origin: 50% 90%; }
.hero .f1 { top: 14%; left: 6%; }
.hero .f2 { top: 10%; right: 9%; }
.hero .f5 { top: 52%; left: 4%; }
.hero .f3 { bottom: 8%; left: 10%; width: 150px; height: 150px; }
.hero .f4 { bottom: 14%; right: 5%; width: 190px; height: 190px; }
.hero .l1 { top: 30%; left: 14%; }
.hero .l2 { bottom: 26%; right: 15%; width: 90px; height: 150px; }
.petals { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-glass {
  position: relative; z-index: 1; max-width: 680px; width: 100%;
  padding: 48px clamp(24px, 5vw, 64px) 40px; border-radius: 28px; text-align: center;
  background: linear-gradient(150deg, rgba(255, 253, 249, .78), rgba(255, 253, 249, .56));
  -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 40px 80px -36px rgba(20, 35, 15, .55), 0 8px 24px -12px rgba(20, 35, 15, .25);
}
.hero-glass .names { font-size: clamp(48px, 8.6vw, 104px); }
.hero-glass .cd { background: rgba(255, 253, 249, .7); }
@media (prefers-reduced-motion: no-preference) {
  .hero-flowers svg { animation: sway 9s cubic-bezier(.45, 0, .55, 1) infinite; }
  .hero .f2 { animation-duration: 11s; animation-delay: -3s; }
  .hero .f5 { animation-duration: 8s; animation-delay: -5s; }
  .hero .f4 { animation-duration: 12s; animation-delay: -2s; }
  .hero .l1, .hero .l2 { animation-duration: 10s; animation-delay: -6s; }
  .hero-bg { animation: breathe 24s ease-in-out infinite alternate; }
  .hero-glass > * { animation: rise 900ms var(--ease) both; }
  .hero-glass > :nth-child(2) { animation-delay: 80ms; }
  .hero-glass > :nth-child(3) { animation-delay: 140ms; }
  .hero-glass > :nth-child(4) { animation-delay: 220ms; }
  .hero-glass > :nth-child(5) { animation-delay: 300ms; }
}
@keyframes sway { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
@keyframes breathe { from { transform: scale(1.04); } to { transform: scale(1.1) translateY(-1%); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 560px) {
  .hero { padding: 96px 16px 120px; }
  .hero-glass { padding: 32px 20px 28px; border-radius: 22px; }
  .hero .f3 { width: 96px; height: 96px; }
  .hero .f4 { width: 120px; height: 120px; bottom: 6%; }
}

/* Programme : ligne qui se remplit, étapes qui glissent */
.timeline-wrap { position: relative; max-width: 720px; margin: 0 auto; }
.timeline-fill { position: absolute; left: 116px; top: 12px; bottom: 12px; width: 2px; background: var(--coral); transform: scaleY(0); transform-origin: top; border-radius: 1px; z-index: 1; }
.timeline .dot { z-index: 2; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 400ms var(--ease); }
.step.is-in .dot { background: var(--coral); border-color: var(--coral); }
.js .step { opacity: 0; transform: translateX(-24px); filter: blur(4px); transition: opacity 700ms var(--ease), transform 700ms var(--ease), filter 700ms var(--ease); }
.js .step .dot { transform: scale(.4); }
.js .step.is-in { opacity: 1; transform: none; filter: none; }
.js .step.is-in .dot { transform: scale(1); }
.step .time { font-size: 34px; }
@media (max-width: 560px) { .timeline-fill { left: 6px; } }
@media (prefers-reduced-motion: reduce) {
  .js .step { opacity: 1; transform: none; filter: none; transition: none; }
  .timeline-fill { display: none; }
}

/* Infos pratiques : liste dépliante */
.acc { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font: inherit; }
.acc-btn {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 4px; border: 0; background: none;
  color: var(--ink); text-align: left; cursor: pointer; font: inherit;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.acc-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.acc-text { flex: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; min-width: 0; }
.acc-title { font: 500 22px/1.25 var(--serif); }
.acc-hint { color: var(--muted); font-size: 15px; }
.acc-chev { flex: none; width: 20px; height: 20px; color: var(--muted); transition: transform 260ms var(--ease); }
.acc-item.is-open .acc-chev { transform: rotate(180deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-body { padding: 0 4px 24px 30px; opacity: 0; transform: translateY(-4px); transition: opacity 240ms var(--ease), transform 240ms var(--ease); }
.acc-item.is-open .acc-body { opacity: 1; transform: none; transition-delay: 60ms; }
.acc-body > p { margin: 0; max-width: 60ch; }
@media (hover: hover) and (pointer: fine) { .acc-btn:hover .acc-title { color: var(--coral-ink); } }
@media (max-width: 560px) {
  .acc-text { flex-direction: column; gap: 2px; }
  .acc-title { font-size: 20px; }
  .acc-body { padding-left: 4px; }
}

.people { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.person { display: flex; align-items: center; gap: 14px; }
.person-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--paper), 0 6px 16px -8px rgba(44, 42, 53, .5); }
.person span { color: var(--muted); }
.person a { color: var(--ink); font-weight: 600; text-decoration: none; }

.diet { margin-top: 20px; padding: 24px; border-radius: var(--r-card); background: var(--cream); border: 1px solid var(--line); }
.diet-title { margin: 0 0 16px; font: 500 20px var(--serif); }
.diet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); padding: 12px 14px; border-radius: var(--r-control);
  border: 1px solid rgba(44, 42, 53, .18); background: var(--paper); min-height: 48px; width: 100%;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral-ink); box-shadow: 0 0 0 3px rgba(232, 99, 74, .18); }
.field [aria-invalid="true"] { border-color: #C2412D; }
.field-err { color: #A8321F; font-weight: 500; }
.diet-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.diet-status { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 560px) { .diet-grid { grid-template-columns: 1fr; } .diet { padding: 20px 16px; } .diet-foot .btn { width: 100%; justify-content: center; } }

/* Hébergements : cartes avec photo */
.stays { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px 20px; }
.stay { padding: 0; border: 0; background: none; }
.stay-photo { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #e9e2d6; }
.stay-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.stay-body { padding: 12px 2px 0; }
.stay-head { align-items: baseline; }
.stay h4 { font: 600 16px/1.3 var(--sans); }
.stay .price { font-size: 15px; }
.stay .host { margin: 2px 0 0; }
.per { margin: 0; color: var(--muted); font-size: 13px; }
.stay-links { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .stay:hover .stay-photo img { transform: scale(1.04); } }
@media (max-width: 560px) { .stays { grid-template-columns: 1fr 1fr; gap: 20px 12px; } .stay h4 { font-size: 15px; } .stay-links { font-size: 13px; } }
@media (max-width: 380px) { .stays { grid-template-columns: 1fr; } }
.timeline .step { grid-template-columns: 136px 1fr; }
.timeline::before, .timeline-fill { left: 152px; }
.timeline .dot { left: 146px; }
.step .time { white-space: nowrap; }
@media (max-width: 560px) {
  .timeline .step { grid-template-columns: 1fr; }
  .timeline::before, .timeline-fill { left: 6px; }
  .timeline .dot { left: 0; }
}

/* Retours Kevin : dortoir, initiale des mariés, jour du brunch, champ piège */
.callout-dorm { grid-column: 1 / -1; background: var(--paper); border-style: dashed; }
.person-initial { display: inline-grid; place-items: center; background: var(--coral, #E8634A); color: #fff; font-family: "Fraunces", Georgia, serif; font-size: 24px; }
.step .time .day { display: block; font-family: "Manrope", system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0; color: var(--muted, #6B6675); margin-bottom: 2px; white-space: normal; }
.diet .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.people .person .person-initial { color: #fff; background: var(--coral-ink); font-size: 24px; line-height: 1; }
/* Le trait s'arrête au centre du dernier point (valeur calculée dans app.js) */
.timeline::before, .timeline-fill { bottom: var(--line-end, 12px); }

/* Contacts en bas de page */
.footer-contact { max-width: 880px; margin: 40px auto 0; padding-top: 40px; border-top: 1px solid rgba(251, 246, 238, .15); }
.footer-title { font: 400 30px var(--serif); color: var(--cream); margin: 0 0 8px; }
.footer-contact .footer-text { margin: 0 auto 32px; max-width: 46ch; color: rgba(251, 246, 238, .75); font-size: 16px; }
.footer-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 24px; }
.footer-people li { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.footer-people strong { font-size: 18px; color: var(--cream); margin-top: 8px; }
.footer-people .fp-role { font-size: 14px; color: rgba(251, 246, 238, .6); margin-bottom: 4px; }
.footer-people a { color: var(--cream); font-weight: 600; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; transition: color 160ms var(--ease); }
.fp-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(251, 246, 238, .15); }
.fp-initial { display: grid; place-items: center; background: var(--coral-ink); color: #fff; font: 400 28px var(--serif); }
@media (hover: hover) and (pointer: fine) { .footer-people a:hover { color: var(--marigold); } }
.footer-contact .footer-text { margin-bottom: 12px; }
.footer-contact .footer-mail { margin: 0 0 36px; }
.footer-mail a { color: var(--marigold); font-weight: 700; font-size: 17px; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .footer-mail a:hover { text-decoration: underline; } }

/* ---------- Téléphone : navigation en pastilles sous la barre du haut ---------- */
@media (max-width: 860px) {
  .topbar { flex-wrap: wrap; row-gap: 0; }
  .topbar .nav {
    order: 3; flex: 1 0 100%; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 0 clamp(16px, 4vw, 40px);
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    max-height: 0; opacity: 0; pointer-events: none;
    transition: max-height 240ms var(--ease), opacity 200ms var(--ease), padding 240ms var(--ease);
  }
  .topbar .nav::-webkit-scrollbar { display: none; }
  .topbar.scrolled .nav { max-height: 56px; opacity: 1; pointer-events: auto; padding-top: 10px; }
  .topbar .nav a {
    flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 600; white-space: nowrap;
    -webkit-user-select: none; user-select: none; touch-action: manipulation;
    transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
  }
  .topbar .nav a:active { transform: scale(.96); }
  .topbar .nav a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
  .topbar.scrolled { padding-bottom: 10px; }
  html { scroll-padding-top: 120px; }
}

/* ---------- Téléphone : cibles tactiles assez grandes ---------- */
@media (pointer: coarse) {
  .lang button { min-height: 40px; min-width: 44px; }
  .stay-links a, .callout a, .people a, .footer-people a, .footer-mail a, .text-link, .more a { display: inline-block; padding: 8px 0; }
  .stay-links { line-height: 1.2; }
}

/* ---------- Téléphone : hébergements en carrousel, comme sur une appli ---------- */
@media (max-width: 560px) {
  .stays {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 -16px; padding: 4px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  .stays::-webkit-scrollbar { display: none; }
  .stay { flex: 0 0 78%; scroll-snap-align: start; min-width: 0; }
  .stays .stay:only-child { flex-basis: 100%; }
  .stay h4 { font-size: 16px; }
  .stay .price { font-size: 15px; }
  .stay .host, .stay .per { font-size: 13px; }
  .stay-links { font-size: 14px; }
  .stay-group { font-size: 24px; margin: 28px 0 10px; }
  .callout { padding: 18px; }
  .visit { padding: 20px; }
}
.stay-count { display: none; }
@media (max-width: 560px) {
  .stay-group { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
  .stay-count { display: inline; font: 500 13px var(--sans); color: var(--muted); white-space: nowrap; }
}

/* Contacts : identité puis liens */
.footer-people .fp-id { margin: 8px 0 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.footer-people .fp-id strong { margin: 0; }
.footer-people .fp-links { margin: 0; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 560px) {
  .footer { padding: 48px 16px 40px; }
  .footer-contact { margin-top: 32px; padding-top: 32px; text-align: left; }
  .footer-title, .footer-contact .footer-text, .footer-contact .footer-mail { text-align: center; }
  .footer-contact .footer-mail { margin-bottom: 20px; }
  .footer-people { grid-template-columns: 1fr; gap: 0; }
  .footer-people li {
    display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center;
    padding: 12px 0; border-top: 1px solid rgba(251, 246, 238, .12);
  }
  .footer-people .fp-photo { width: 48px; height: 48px; grid-row: span 2; }
  .footer-people .fp-initial { font-size: 22px; }
  .footer-people .fp-id { margin: 0; flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
  .footer-people .fp-id strong { font-size: 16px; }
  .footer-people .fp-role { margin: 0; font-size: 13px; }
  .footer-people .fp-links { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 14px; }
  .footer-people .fp-links a { font-size: 14px; padding: 6px 0; }
}

/* Dortoir : photo + infos */
.callout-dorm { border-style: solid; padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.dorm-photo { min-height: 100%; background: #e9e2d6; }
.dorm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dorm-body { padding: 24px; }
.dorm-price { margin: 0 0 12px; color: var(--muted); }
.dorm-price strong { font: 500 30px var(--serif); color: var(--ink); margin-right: 6px; }
.dorm-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dorm-facts li { position: relative; padding-left: 18px; }
.dorm-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
@media (max-width: 860px) {
  .callout-dorm { grid-template-columns: 1fr; }
  .dorm-photo { aspect-ratio: 16 / 9; }
  .dorm-body { padding: 18px; }
}

/* ===== Retours Kevin (26/11) : réponse par e-mail, photos du domaine, carte statique ===== */
.tint-pink { background: #FBF0F1; }
.wrap-narrow { max-width: 720px; }

/* Réponse */
.rsvp { margin-top: 8px; padding: 24px; border-radius: var(--r-card); background: var(--paper); border: 1px solid var(--line); }
.choices { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.choices legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; flex: 1 1 200px; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 16px; text-align: center;
  border: 1px solid rgba(44, 42, 53, .18); border-radius: var(--r-control); background: var(--cream);
  font-weight: 600; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
  -webkit-user-select: none; user-select: none;
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.choice input:focus-visible + span { outline: 2px solid var(--coral-ink); outline-offset: 2px; }
.choice input:active + span { transform: scale(.98); }
.rsvp .diet-grid .choices { margin: 0; }
.rsvp-mail { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.rsvp-mail a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) { .rsvp { padding: 20px 16px; } .rsvp .diet-foot .btn { width: 100%; justify-content: center; } }

/* Photos du domaine */
.lieu-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 40px; aspect-ratio: 2.4 / 1; }
.lg-item { margin: 0; border-radius: 14px; overflow: hidden; background: #dfe6dd; min-height: 0; }
.lg-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-lead { grid-row: span 2; }
.lg-credit { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--muted); text-align: right; }
.lieu-gallery { grid-template-rows: repeat(2, minmax(0, 1fr)) auto; aspect-ratio: auto; }
.lieu-gallery .lg-item { aspect-ratio: 4 / 3; }
.lieu-gallery .lg-lead { aspect-ratio: auto; }
@media (max-width: 700px) {
  .lieu-gallery {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 -16px 32px; padding: 0 16px; scroll-padding-inline: 16px; flex-wrap: nowrap;
  }
  .lieu-gallery::-webkit-scrollbar { display: none; }
  .lieu-gallery .lg-item, .lieu-gallery .lg-lead { flex: 0 0 85%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .lg-credit { flex: 0 0 auto; align-self: flex-end; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; }
}

/* Carte statique */
.plan-static { margin: 0; border-radius: 20px; overflow: hidden; background: #E7EFE8; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -28px rgba(44, 42, 53, .45); }
.plan-static a { display: block; cursor: zoom-in; }
.plan-static img { display: block; width: 100%; height: auto; }
.plan-legend { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.plan-legend li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--muted); }
.plan-legend strong { color: var(--ink); font-size: 16px; }
.pl-key { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--k); color: var(--kf); font-weight: 700; font-size: 14px; box-shadow: 0 0 0 2px var(--paper); }
.pl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); }
@media (max-width: 860px) { .plan-legend { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plan-legend { grid-template-columns: 1fr; gap: 12px; } .plan-static { border-radius: 16px; } }
.choice { flex: 1 1 120px; }
