/* ════════════════════════════════════════════
   TOKENS (copie minimale du design system,
   page autonome publique)
═══════════════════════════════════════════ */
:root {
  --cream: #FAF8F5;
  --cream-2: #F2EEE8;
  --cream-3: #EDE9E3;
  --stone-100: #EDE9E3;
  --stone-200: #D8D2C8;
  --stone-300: #BAB3A6;
  --stone-400: #8C8478;
  --stone-500: #5C5650;
  --ink: #1A1916;
  --ink-soft: #4A4740;
  --accent: #7C6A52;
  --accent-light: #EDE0CF;
  --accent-mid: #B89E84;
  --sage: #7A9B80;
  --sage-light: #EBF2EC;
  --sage-deep: #4F6B54;
  --sage-pale: #F1F5EE;
  --gold: #B8962E;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ════════════════════════════════════════════
   DEMO STYLE SWITCHER — UNIQUEMENT POUR LA DÉMO
═══════════════════════════════════════════ */
.demo-switcher {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  background: rgba(26,25,22,.92);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 5px;
  display: flex;
  gap: 2px;
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
  font-family: var(--font-sans);
}
.demo-switcher-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.6);
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.demo-switcher-btn:hover { color: rgba(255,255,255,.9); }
.demo-switcher-btn.active {
  background: rgba(255,255,255,.95);
  color: var(--ink);
}
.demo-switcher-label {
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 0 12px 0 8px;
  display: flex; align-items: center;
  border-right: 1px solid rgba(255,255,255,.12);
}

/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  THÈME 1 — CLASSIQUE                                     │
   │  Photo sombre, serif centré, ornemental, romantique     │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.theme-classique { background: var(--cream); }

/* ── HERO ── */
.theme-classique .ms-hero {
  position: relative;
  min-height: 92vh;
  padding: 100px 32px 60px;
  background:
    linear-gradient(180deg, rgba(8,6,3,.25) 0%, rgba(8,6,3,.6) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
  background-size: cover; background-position: center;
  color: #fff;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.theme-classique .ms-hero-rings {
  position: absolute; top: 36px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.55);
}
.theme-classique .ms-hero-rings svg { width: 36px; height: 36px; }
.theme-classique .ms-hero-label {
  font-size: .82rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 24px;
}
.theme-classique .ms-hero-names {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: .005em;
}
.theme-classique .ms-hero-amp {
  /* Bloc atomique : seule occasion de coupure entre les prénoms (HeroSection n'écrit aucune espace entre ses <span>) ;
     sans elle, la ligne débordait à 390 px. */
  display: inline-block;
  font-style: italic;
  opacity: .82;
  padding: 0 18px;
  font-size: .85em;
}
.theme-classique .ms-hero-rule {
  width: 70px; height: 1px;
  background: rgba(255,255,255,.5);
  margin: 24px auto;
}
.theme-classique .ms-hero-date {
  font-size: .92rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.theme-classique .ms-hero-venue {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
  margin-top: 14px;
  font-style: italic;
  font-family: var(--font-serif);
}

/* Countdown classique */
.theme-classique .ms-countdown {
  display: flex; justify-content: center; gap: 18px;
  margin-top: 48px;
}
.theme-classique .ms-cd {
  min-width: 80px; padding: 16px 12px 13px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
}
.theme-classique .ms-cd-num {
  font-family: var(--font-serif);
  font-size: 2.2rem; line-height: 1;
}
.theme-classique .ms-cd-label {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}

/* ── SECTION GENERIC ── */
.theme-classique .ms-section {
  padding: 100px 32px;
  background: var(--cream);
}
.theme-classique .ms-section.alt { background: #fff; }
.theme-classique .ms-eyebrow {
  text-align: center;
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.theme-classique .ms-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.15;
}
.theme-classique .ms-title-rule {
  width: 50px; height: 1px;
  background: var(--accent-mid);
  margin: 0 auto 40px;
}
.theme-classique .ms-text {
  max-width: 600px; margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* Couple */
.theme-classique .ms-couple {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 760px; margin: 0 auto;
}
.theme-classique .ms-person { text-align: center; }
.theme-classique .ms-person-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background-size: cover; background-position: center;
  border: 6px solid #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.theme-classique .ms-person-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.theme-classique .ms-person-role {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.theme-classique .ms-person-bio {
  font-size: .95rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* Timeline */
.theme-classique .ms-timeline {
  max-width: 660px; margin: 0 auto; position: relative;
}
/* qa-global lot 13 (consigne 1, B) : la ligne est portée par chaque événement, plus par toute la frise — elle ne traverse
   plus l'en-tête du jour et reprend sous lui. */
.theme-classique .ms-tl::before {
  content: '';
  position: absolute;
  left: 110px; top: 0; bottom: 0;
  width: 1px; background: var(--accent-mid);
}
.theme-classique .ms-tl {
  display: flex; gap: 24px;
  padding-bottom: 28px;
  position: relative;
  align-items: flex-start;
}
.theme-classique .ms-tl-when {
  width: 100px; flex-shrink: 0; text-align: right;
  padding-top: 2px;
}
.theme-classique .ms-tl-date {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 4px;
  font-weight: 500;
}
.theme-classique .ms-tl-time {
  font-family: var(--font-serif);
  font-size: 1.4rem; color: var(--accent);
  line-height: 1;
}
.theme-classique .ms-tl-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--accent);
  flex-shrink: 0;
  margin-top: 18px;
  z-index: 1;
}
.theme-classique .ms-tl-content { flex: 1; padding-bottom: 4px; padding-top: 2px; }
.theme-classique .ms-tl-title {
  font-size: 1.1rem; font-weight: 600;
  color: var(--ink); margin-bottom: 4px;
}
.theme-classique .ms-tl-desc {
  font-size: .92rem; color: var(--stone-400);
  line-height: 1.55;
}

/* Day separator — Classique */
.theme-classique .ms-tl-daysep {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0 18px 0;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--stone-200);
  position: relative;
  z-index: 2;
  background: inherit;
}
.theme-classique .ms-tl-daysep:not(:first-child) { margin-top: 22px; }
.theme-classique .ms-tl-daysep-dow {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink);
}
.theme-classique .ms-tl-daysep-date {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-400);
  flex: 1;
}
.theme-classique .ms-tl-daysep-tag {
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent-mid);
  border-radius: 999px;
  font-weight: 600;
}
.theme-classique .ms-tl-daysep-tag.main {
  /* Neutralise `.main` de la coquille de l'application (globals.css : flex: 1, marge de la barre latérale) : la pastille
     « Jour J » prend la taille de son texte, comme « Le lendemain » (qa-global lot 13, consigne 1, B). */
  flex: none; margin-left: 0; min-height: auto; overflow: visible; display: inline-block; text-align: center;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* RSVP */
.theme-classique .ms-rsvp {
  text-align: center;
  padding: 100px 32px;
  background:
    linear-gradient(180deg, rgba(8,6,3,.55) 0%, rgba(8,6,3,.7) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
  color: #fff;
}
.theme-classique .ms-rsvp-eyebrow {
  font-size: .78rem; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}
.theme-classique .ms-rsvp-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 18px;
}
.theme-classique .ms-rsvp-text {
  font-size: 1rem; color: rgba(255,255,255,.8);
  margin-bottom: 36px; line-height: 1.7;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.theme-classique .ms-rsvp-btn {
  display: inline-block;
  background: #fff; color: var(--ink);
  padding: 16px 40px;
  border-radius: 999px;
  font-size: .9rem; font-weight: 500;
  letter-spacing: .06em;
}

/* Footer */
.theme-classique .ms-footer {
  background: var(--ink);
  padding: 40px 32px;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}
.theme-classique .ms-footer-rings {
  margin-bottom: 14px;
  color: rgba(255,255,255,.32);
}
.theme-classique .ms-footer-rings svg { width: 22px; height: 22px; }
.theme-classique .ms-footer a { color: rgba(255,255,255,.78); }


/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  THÈME 2 — NATURE                                        │
   │  Cream/sage, botanique, asymétrique doux                │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.theme-nature { background: linear-gradient(180deg, #f5f1e8 0%, #efeadf 100%); }

/* HERO Nature : pas de photo de fond, juste gradient + illustration */
.theme-nature .ms-hero {
  position: relative;
  min-height: 92vh;
  padding: 100px 32px 60px;
  background: linear-gradient(160deg, #f5f1e8 0%, #e8efe4 50%, #d5e0d1 100%);
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  color: #2d3a30;
}

/* Botanical decoration corners */
.theme-nature .ms-hero::before,
.theme-nature .ms-hero::after {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  background-image:
    radial-gradient(ellipse at center, rgba(122,155,128,.5) 0%, transparent 60%);
  pointer-events: none;
}
.theme-nature .ms-hero::before {
  top: -100px; left: -100px;
}
.theme-nature .ms-hero::after {
  bottom: -100px; right: -100px;
}

.theme-nature .ms-hero-leaves-tl,
.theme-nature .ms-hero-leaves-br {
  position: absolute;
  color: var(--sage);
  opacity: .85;
}
.theme-nature .ms-hero-leaves-tl { top: 40px; left: 40px; transform: rotate(-15deg); }
.theme-nature .ms-hero-leaves-br { bottom: 40px; right: 40px; transform: rotate(165deg); }
.theme-nature .ms-hero-leaves-tl svg,
.theme-nature .ms-hero-leaves-br svg { width: 90px; height: 90px; }

.theme-nature .ms-hero-rings { display: none; } /* On utilise les leaves à la place */
.theme-nature .ms-hero-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sage-deep);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.theme-nature .ms-hero-names {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: .95;
  color: #2a3a2c;
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
}
.theme-nature .ms-hero-amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .58em;
  color: var(--sage);
  margin: -.05em 0;
  font-weight: 400;
}
.theme-nature .ms-hero-rule { display: none; }
.theme-nature .ms-hero-date {
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-top: 36px;
  font-weight: 500;
  position: relative; z-index: 1;
}
.theme-nature .ms-hero-date::before,
.theme-nature .ms-hero-date::after {
  content: '✦';
  margin: 0 14px;
  color: var(--sage);
  font-size: .8em;
}
.theme-nature .ms-hero-venue {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sage-deep);
  margin-top: 12px;
  position: relative; z-index: 1;
  opacity: .85;
}

/* Countdown Nature : minimal sans bordures */
.theme-nature .ms-countdown {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 56px;
  position: relative; z-index: 1;
}
.theme-nature .ms-cd {
  text-align: center;
  min-width: 70px;
}
.theme-nature .ms-cd-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--sage-deep);
  line-height: 1;
}
.theme-nature .ms-cd-label {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 8px;
  font-weight: 500;
}

/* SECTIONS Nature */
.theme-nature .ms-section {
  padding: 100px 32px;
  position: relative;
}
.theme-nature .ms-section.alt {
  background: var(--sage-pale);
}

.theme-nature .ms-eyebrow {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sage);
  margin-bottom: 8px;
}
.theme-nature .ms-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  text-align: center;
  color: #2a3a2c;
  margin-bottom: 18px;
  font-weight: 400;
}
.theme-nature .ms-title-rule {
  display: block;
  width: 60px; height: 30px;
  margin: 0 auto 40px;
  background: none;
  position: relative;
}
.theme-nature .ms-title-rule::before {
  content: '';
  position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--sage);
  transform: translateY(-50%);
}
.theme-nature .ms-title-rule::after {
  content: '✦';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-55%);
  background: var(--cream);
  color: var(--sage);
  padding: 0 8px;
  font-size: .9rem;
}
.theme-nature .ms-section.alt .ms-title-rule::after { background: var(--sage-pale); }

.theme-nature .ms-text {
  max-width: 580px; margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #4a574d;
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
}

/* Couple Nature : photos rectangulaires aux coins doux */
.theme-nature .ms-couple {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 800px; margin: 0 auto;
}
.theme-nature .ms-person { text-align: center; }
.theme-nature .ms-person-photo {
  width: 100%; aspect-ratio: 4/5;
  margin-bottom: 24px;
  background-size: cover; background-position: center;
  border-radius: 200px 200px 8px 8px;
  border: none;
  box-shadow: 0 8px 30px rgba(74,87,77,.12);
  position: relative;
}
.theme-nature .ms-person-photo::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: inherit;
  pointer-events: none;
}
.theme-nature .ms-person-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #2a3a2c;
  margin-bottom: 4px;
}
.theme-nature .ms-person-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--sage);
  margin-bottom: 16px;
  letter-spacing: 0;
  text-transform: none;
}
.theme-nature .ms-person-bio {
  font-size: .95rem;
  line-height: 1.75;
  color: #4a574d;
}

/* Timeline Nature : alternance gauche/droite */
.theme-nature .ms-timeline {
  max-width: 660px; margin: 0 auto;
  position: relative;
}
.theme-nature .ms-timeline::before {
  content: '';
  position: absolute;
  left: 120px; top: 0; bottom: 0;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--sage) 0 6px, transparent 6px 12px);
}
.theme-nature .ms-tl {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  align-items: flex-start;
  position: relative;
}
.theme-nature .ms-tl-when {
  width: 110px;
  flex-shrink: 0;
  text-align: right;
  padding-top: 2px;
}
.theme-nature .ms-tl-date {
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6f8775;
  margin-bottom: 4px;
  font-weight: 500;
}
.theme-nature .ms-tl-time {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--sage-deep);
  line-height: 1;
}
.theme-nature .ms-tl-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--sage);
  flex-shrink: 0;
  margin: 18px 0 0;
  position: relative;
  z-index: 1;
}
.theme-nature .ms-tl-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--sage);
}
.theme-nature .ms-tl-content {
  flex: 1;
  padding-top: 4px;
  text-align: left;
}
.theme-nature .ms-tl-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #2a3a2c;
  margin-bottom: 4px;
}
.theme-nature .ms-tl-desc {
  font-size: .92rem;
  color: #5a6b5d;
  line-height: 1.6;
}

/* Day separator — Nature : feuille décorative + jour italique */
.theme-nature .ms-tl-daysep {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 18px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.theme-nature .ms-tl-daysep:not(:first-child) { margin-top: 24px; }
.theme-nature .ms-tl-daysep::before {
  content: '✦';
  color: var(--sage);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.theme-nature .ms-tl-daysep-dow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--sage-deep);
}
.theme-nature .ms-tl-daysep-date {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #6f8775;
  flex: 1;
}
.theme-nature .ms-tl-daysep-tag {
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  padding: 4px 10px;
  background: var(--sage-light);
  border-radius: 999px;
  font-weight: 600;
}
.theme-nature .ms-tl-daysep-tag.main {
  /* `.main` est aussi la classe de la coquille de l'application (globals.css : flex: 1, overflow: hidden, marge de la barre latérale
     dès 1024 px) : la pastille « Jour J » prend la taille de son texte, comme « Le lendemain » (qa-global lot 16, RG-REC-016-4). */
  flex: none; margin-left: 0; min-height: auto; overflow: visible; display: inline-block;
  background: var(--sage);
  color: #fff;
}

/* RSVP Nature */
.theme-nature .ms-rsvp {
  text-align: center;
  padding: 100px 32px;
  background: linear-gradient(135deg, var(--sage-pale) 0%, #e8efe4 100%);
  position: relative;
  overflow: hidden;
}
.theme-nature .ms-rsvp::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(122,155,128,.3) 0%, transparent 70%);
}
.theme-nature .ms-rsvp::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(122,155,128,.3) 0%, transparent 70%);
}
.theme-nature .ms-rsvp-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sage);
  margin-bottom: 14px;
  position: relative;
}
.theme-nature .ms-rsvp-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #2a3a2c;
  margin-bottom: 18px;
  position: relative;
}
.theme-nature .ms-rsvp-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: #5a6b5d;
  margin-bottom: 36px; line-height: 1.7;
  max-width: 460px; margin-left: auto; margin-right: auto;
  position: relative;
}
.theme-nature .ms-rsvp-btn {
  display: inline-block;
  background: var(--sage-deep); color: #fff;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: .9rem; font-weight: 500;
  letter-spacing: .06em;
  position: relative;
}

/* Footer Nature */
.theme-nature .ms-footer {
  background: #2a3a2c;
  padding: 40px 32px;
  text-align: center;
  color: rgba(255,255,255,.55);
  font-size: .82rem;
  font-family: var(--font-serif);
  font-style: italic;
}
.theme-nature .ms-footer-rings { display: none; }
.theme-nature .ms-footer-leaves {
  color: var(--sage);
  margin-bottom: 14px;
  opacity: .8;
}
.theme-nature .ms-footer-leaves svg { width: 26px; height: 26px; }
.theme-nature .ms-footer a { color: rgba(255,255,255,.8); }


/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  THÈME 3 — MODERNE                                       │
   │  Noir/blanc, sans-serif bold, numéros, asymétrique      │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.theme-moderne { background: #fff; }

/* HERO Moderne : grille noir/blanc, type énorme */
.theme-moderne .ms-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  grid-template-columns: 3fr 2fr;
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}
.theme-moderne .ms-hero-text {
  padding: 80px 60px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.theme-moderne .ms-hero-bar {
  width: 60px; height: 4px;
  background: var(--ink);
  margin-bottom: 30px;
}
.theme-moderne .ms-hero-rings { display: none; }
.theme-moderne .ms-hero-label {
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--stone-400);
  font-weight: 500;
  margin-bottom: 10px;
}
.theme-moderne .ms-hero-names {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: .9;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  display: flex; flex-direction: column;
  margin-top: 0;
}
.theme-moderne .ms-hero-amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: .55em;
  color: var(--accent);
  margin: 0;
  display: inline-block;
}
.theme-moderne .ms-hero-rule { display: none; }
.theme-moderne .ms-hero-bottom {
  margin-top: auto;
  display: flex; align-items: flex-end;
  justify-content: space-between;
  padding-top: 50px;
  gap: 24px;
}
.theme-moderne .ms-hero-date {
  font-size: .88rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center;
}
.theme-moderne .ms-hero-date::after {
  content: '';
  width: 60px; height: 1px;
  background: var(--ink);
  margin-left: 20px;
}
.theme-moderne .ms-hero-venue {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone-400);
  text-align: right;
  font-weight: 500;
}

/* Image dans hero moderne */
.theme-moderne .ms-hero-image {
  background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1200&q=85');
  background-size: cover; background-position: center;
  position: relative;
}
.theme-moderne .ms-hero-image::after {
  content: '01 / 06';
  position: absolute;
  top: 30px; right: 30px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: #fff;
  background: var(--ink);
  padding: 6px 12px;
}

/* Countdown Moderne : grille tight */
.theme-moderne .ms-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.theme-moderne .ms-cd {
  padding: 16px 4px 14px;
  text-align: left;
  border-right: 1px solid var(--stone-200);
}
.theme-moderne .ms-cd:last-child { border-right: none; }
.theme-moderne .ms-cd-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
}
.theme-moderne .ms-cd-label {
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-top: 6px;
  font-weight: 500;
}

/* SECTIONS Moderne : numérotation + alternance noir/blanc */
.theme-moderne .ms-section {
  padding: 100px 60px;
  position: relative;
  background: #fff;
}
.theme-moderne .ms-section.alt {
  background: var(--ink);
  color: #fff;
}
.theme-moderne .ms-section-num {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--stone-400);
  margin-bottom: 24px;
}
.theme-moderne .ms-section.alt .ms-section-num { color: rgba(255,255,255,.5); }

.theme-moderne .ms-eyebrow { display: none; }
.theme-moderne .ms-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
  color: var(--ink);
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  max-width: 800px;
}
.theme-moderne .ms-section.alt .ms-title { color: #fff; }
.theme-moderne .ms-title-rule { display: none; }
.theme-moderne .ms-text {
  max-width: 640px;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}
.theme-moderne .ms-section.alt .ms-text { color: rgba(255,255,255,.7); }

/* Section header avec layout grid */
.theme-moderne .ms-histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Couple Moderne : photos asymétriques pleine bleed */
.theme-moderne .ms-couple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: none; margin: 60px -60px 0;
}
.theme-moderne .ms-person {
  padding: 0;
  text-align: left;
  position: relative;
}
.theme-moderne .ms-person:nth-child(1) { padding-top: 60px; }
.theme-moderne .ms-person:nth-child(2) { padding-bottom: 60px; }

.theme-moderne .ms-person-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  border-radius: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
}
.theme-moderne .ms-person-content {
  padding: 30px 60px 0;
}
.theme-moderne .ms-person-num {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--stone-400);
  margin-bottom: 8px;
}
.theme-moderne .ms-section.alt .ms-person-num { color: rgba(255,255,255,.5); }
.theme-moderne .ms-person-name {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1;
}
.theme-moderne .ms-section.alt .ms-person-name { color: #fff; }
.theme-moderne .ms-person-role {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}
.theme-moderne .ms-person-bio {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 360px;
}
.theme-moderne .ms-section.alt .ms-person-bio { color: rgba(255,255,255,.7); }

/* Timeline Moderne : grille numérotée */
.theme-moderne .ms-timeline {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--stone-200);
}
.theme-moderne .ms-section.alt .ms-timeline {
  border-top-color: rgba(255,255,255,.18);
}
.theme-moderne .ms-tl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--stone-200);
  position: relative;
}
.theme-moderne .ms-section.alt .ms-tl {
  border-bottom-color: rgba(255,255,255,.18);
}
.theme-moderne .ms-tl-dot { display: none; }

.theme-moderne .ms-tl-when {
  text-align: left;
}
.theme-moderne .ms-tl-date {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--stone-400);
  font-weight: 600;
  margin-bottom: 6px;
}
.theme-moderne .ms-section.alt .ms-tl-date { color: rgba(255,255,255,.55); }
.theme-moderne .ms-tl-time {
  display: block;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1;
}
.theme-moderne .ms-section.alt .ms-tl-time { color: #fff; }
.theme-moderne .ms-tl-content { padding-top: 8px; }
.theme-moderne .ms-tl-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.theme-moderne .ms-section.alt .ms-tl-title { color: #fff; }
.theme-moderne .ms-tl-desc {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.theme-moderne .ms-section.alt .ms-tl-desc { color: rgba(255,255,255,.65); }

/* Day separator — Moderne : barre pleine largeur */
.theme-moderne .ms-tl-daysep {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 0 14px;
  border-bottom: 1px solid var(--stone-200);
}
.theme-moderne .ms-tl-daysep:first-child { padding-top: 0; }
.theme-moderne .ms-tl-daysep:not(:first-child) { padding-top: 48px; }
.theme-moderne .ms-section.alt .ms-tl-daysep { border-bottom-color: rgba(255,255,255,.18); }
.theme-moderne .ms-tl-daysep-dow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -.01em;
  color: var(--ink);
  text-transform: uppercase;
}
.theme-moderne .ms-section.alt .ms-tl-daysep-dow { color: #fff; }
.theme-moderne .ms-tl-daysep-date {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone-400);
  flex: 1;
  font-weight: 500;
}
.theme-moderne .ms-section.alt .ms-tl-daysep-date { color: rgba(255,255,255,.55); }
.theme-moderne .ms-tl-daysep-tag {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 5px 12px;
  border: 1px solid var(--stone-300);
  font-weight: 600;
}
.theme-moderne .ms-tl-daysep-tag.main {
  /* `.main` est aussi la classe de la coquille de l'application (globals.css : flex: 1, overflow: hidden, marge de la barre latérale
     dès 1024 px) : la pastille « Jour J » prend la taille de son texte, comme « Le lendemain » (qa-global lot 16, RG-REC-016-4). */
  flex: none; margin-left: 0; min-height: auto; overflow: visible; display: inline-block;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.theme-moderne .ms-section.alt .ms-tl-daysep-tag { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.3); }
.theme-moderne .ms-section.alt .ms-tl-daysep-tag.main { background: #fff; color: var(--ink); border-color: #fff; }

/* RSVP Moderne : noir massif */
.theme-moderne .ms-rsvp {
  background: var(--ink);
  color: #fff;
  padding: 100px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}
.theme-moderne .ms-rsvp-content { max-width: 640px; }
.theme-moderne .ms-rsvp-eyebrow {
  font-size: .78rem;
  letter-spacing: .15em;
  font-weight: 600;
  color: var(--accent-mid);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.theme-moderne .ms-rsvp-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.theme-moderne .ms-rsvp-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 0;
}
.theme-moderne .ms-rsvp-btn {
  display: inline-block;
  background: #fff; color: var(--ink);
  padding: 22px 32px;
  border-radius: 0;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Footer Moderne */
.theme-moderne .ms-footer {
  background: #fff;
  padding: 40px 60px;
  text-align: left;
  color: var(--stone-400);
  font-size: .78rem;
  border-top: 1px solid var(--stone-100);
  display: flex; align-items: center; justify-content: space-between;
  letter-spacing: .05em;
  font-weight: 500;
}
.theme-moderne .ms-footer-rings { display: none; }
.theme-moderne .ms-footer-leaves { display: none; }
.theme-moderne .ms-footer a { color: var(--ink); font-weight: 600; }

/* Cache du décoratif Nature dans le HTML pour Classique/Moderne */
.theme-classique .ms-hero-leaves-tl,
.theme-classique .ms-hero-leaves-br,
.theme-classique .ms-footer-leaves,
.theme-moderne .ms-hero-leaves-tl,
.theme-moderne .ms-hero-leaves-br,
.theme-moderne .ms-footer-leaves { display: none; }

/* Cache aussi le ms-section-num et ms-person-num pour les autres thèmes */
.theme-classique .ms-section-num,
.theme-classique .ms-person-num,
.theme-classique .ms-hero-bar,
.theme-classique .ms-hero-image,
.theme-nature .ms-section-num,
.theme-nature .ms-person-num,
.theme-nature .ms-hero-bar,
.theme-nature .ms-hero-image { display: none; }

/* Pour Classique/Nature: le hero n'est PAS en grid, donc texte centré */
.theme-classique .ms-hero-text,
.theme-nature .ms-hero-text {
  padding: 0;
  display: contents;
}
.theme-classique .ms-hero-bottom,
.theme-nature .ms-hero-bottom { display: contents; }

/* Histoire grid pour Classique/Nature : pas de grid */
.theme-classique .ms-histoire-grid,
.theme-nature .ms-histoire-grid { display: block; }

/* Person content : différent selon thème */
.theme-classique .ms-person-content,
.theme-nature .ms-person-content { padding: 0; }

/* Mobile responsive */
@media (max-width: 768px) {
  .theme-moderne .ms-hero {
    grid-template-columns: 1fr;
  }
  .theme-moderne .ms-hero-image {
    min-height: 300px;
    order: -1;
  }
  .theme-moderne .ms-hero-text {
    padding: 50px 30px;
  }
  .theme-moderne .ms-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .theme-moderne .ms-section { padding: 60px 30px; }
  .theme-moderne .ms-couple {
    grid-template-columns: 1fr;
    margin: 30px -30px 0;
  }
  .theme-moderne .ms-person:nth-child(1) { padding-top: 0; }
  .theme-moderne .ms-person:nth-child(2) { padding-bottom: 0; }
  .theme-moderne .ms-person-content { padding: 24px 30px 0; }
  .theme-moderne .ms-histoire-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .theme-moderne .ms-tl {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .theme-moderne .ms-tl-time { font-size: 2rem; }
  .theme-moderne .ms-rsvp {
    grid-template-columns: 1fr;
    padding: 60px 30px;
    text-align: left;
  }
  .theme-moderne .ms-rsvp-btn { justify-self: start; }

  .theme-classique .ms-section,
  .theme-nature .ms-section { padding: 60px 24px; }
  .theme-classique .ms-couple,
  .theme-nature .ms-couple { grid-template-columns: 1fr; gap: 40px; }
  .theme-classique .ms-rsvp,
  .theme-nature .ms-rsvp { padding: 60px 24px; }

  /* Mobile : timeline plus compacte — date redondante (déjà dans daysep) */
  .theme-classique .ms-tl-when,
  .theme-nature .ms-tl-when,
  .theme-cote .ms-tl-when { width: 70px; }
  .theme-classique .ms-tl-date,
  .theme-nature .ms-tl-date,
  .theme-cote .ms-tl-date { display: none; }
  .theme-classique .ms-tl::before { left: 84px; }
  .theme-nature .ms-timeline::before { left: 94px; }
  .theme-classique .ms-tl-daysep-date,
  .theme-nature .ms-tl-daysep-date,
  .theme-moderne .ms-tl-daysep-date,
  .theme-cote .ms-tl-daysep-date { font-size: .65rem; }

  /* Moderne mobile : alléger le daysep "VENDREDI" trop bold */
  .theme-moderne .ms-tl-daysep { flex-wrap: wrap; gap: 8px 14px; }
  .theme-moderne .ms-tl-daysep-dow { font-size: 1.4rem; }
  .theme-moderne .ms-tl-daysep-date { flex: 0 0 auto; }
  .theme-moderne .ms-tl-daysep-tag { order: 3; margin-left: auto; }
  .theme-moderne .ms-tl-daysep-tag.main { margin-left: auto; }
  .theme-moderne .ms-tl { grid-template-columns: 1fr; gap: 8px; }
  .theme-moderne .ms-tl-time { font-size: 2rem; }

  .demo-switcher { bottom: 10px; right: 10px; padding: 4px; }
  .demo-switcher-btn { padding: 6px 10px; font-size: .7rem; }
  .demo-switcher-label { display: none; }
}

/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  ADDITIONS — Lieu de réception · Menu · Décompte XL      │
   │  + variantes de couleurs par thème                       │
   │                                                          │
   │  ⚠️ Aucune règle existante n'est modifiée. Tout est       │
   │     additif et utilise des classes nouvelles.            │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   LIEU DE RÉCEPTION
─────────────────────────────────────────────── */

/* Photo : Classique + Nature */
.theme-classique .ms-venue-photo,
.theme-nature .ms-venue-photo {
  width: 100%;
  max-width: 880px;
  margin: 40px auto 36px;
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
}
.theme-classique .ms-venue-photo {
  box-shadow: 0 12px 50px rgba(0,0,0,.14);
}
.theme-nature .ms-venue-photo {
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(74,87,77,.14);
  position: relative;
}
.theme-nature .ms-venue-photo::after {
  content: '';
  position: absolute; inset: 8px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 10px;
  pointer-events: none;
}

/* Infos : Classique + Nature */
.theme-classique .ms-venue-info,
.theme-nature .ms-venue-info { text-align: center; }
.theme-classique .ms-venue-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  color: var(--ink);
  margin-bottom: 10px;
}
.theme-classique .ms-venue-address {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px;
}
.theme-classique .ms-venue-address svg { width: 14px; height: 14px; color: var(--accent); }
.theme-nature .ms-venue-name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.8vw, 2rem);
  color: #2a3a2c;
  margin-bottom: 10px;
}
.theme-nature .ms-venue-address {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #5a6b5d;
  display: inline-flex; align-items: center; gap: 8px;
}
.theme-nature .ms-venue-address svg { width: 14px; height: 14px; color: var(--sage); }

/* Moderne : grille asymétrique photo+texte */
.theme-moderne .ms-section.ms-venue {
  display: grid;
  grid-template-columns: 5fr 4fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 60px;
  align-items: start;
}
.theme-moderne .ms-section.ms-venue > .ms-venue-photo {
  grid-column: 1;
  grid-row: 1 / -1;
  width: 100%; height: 100%;
  min-height: 480px;
  background-size: cover; background-position: center;
  margin: 0;
}
.theme-moderne .ms-section.ms-venue > .ms-section-num,
.theme-moderne .ms-section.ms-venue > .ms-title,
.theme-moderne .ms-section.ms-venue > .ms-venue-info {
  grid-column: 2;
}
.theme-moderne .ms-section.ms-venue > .ms-venue-info {
  align-self: end;
  padding-top: 24px;
  border-top: 1px solid var(--stone-200);
}
.theme-moderne .ms-section.alt.ms-venue > .ms-venue-info {
  border-top-color: rgba(255,255,255,.18);
}
.theme-moderne .ms-venue-name {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ink);
  margin-bottom: 10px;
}
.theme-moderne .ms-section.alt .ms-venue-name { color: #fff; }
.theme-moderne .ms-venue-address {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.theme-moderne .ms-section.alt .ms-venue-address { color: rgba(255,255,255,.7); }
.theme-moderne .ms-venue-address svg { width: 12px; height: 12px; color: var(--accent); }


/* ──────────────────────────────────────────────
   MENU
─────────────────────────────────────────────── */

/* Plats : liste sans puces ni retrait (balisage <ul class="ms-menu-items"> de MenuSection.tsx). */
.theme-classique .ms-menu-items,
.theme-nature .ms-menu-items,
.theme-moderne .ms-menu-items,
.theme-cote .ms-menu-items { list-style: none; margin: 0; padding: 0; }

/* Classique : liste centrée ornementale */
.theme-classique .ms-menu-courses {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}
.theme-classique .ms-menu-course { padding: 28px 0; }
.theme-classique .ms-menu-course-name {
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.theme-classique .ms-menu-items {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.55;
}
.theme-classique .ms-menu-items li + li { margin-top: 4px; }
/* Séparateur entre deux services : filet coupé d'une étoile, dessiné sans fond (sections claires ou crème). */
.theme-classique .ms-menu-course + .ms-menu-course::before {
  content: '✦';
  display: block;
  width: 60px;
  margin: -28px auto 28px;
  font-size: .8rem;
  line-height: 1;
  color: var(--accent-mid);
  background:
    linear-gradient(var(--accent-mid), var(--accent-mid)) left center / 20px 1px no-repeat,
    linear-gradient(var(--accent-mid), var(--accent-mid)) right center / 20px 1px no-repeat;
}

/* Nature : 2 colonnes avec étoile florale */
.theme-nature .ms-menu-courses {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 60px;
}
.theme-nature .ms-menu-course {
  text-align: center;
  position: relative;
}
.theme-nature .ms-menu-course::before {
  content: '✦';
  display: block;
  color: var(--sage);
  font-size: .95rem;
  margin-bottom: 10px;
  opacity: .7;
}
.theme-nature .ms-menu-course-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sage);
  margin-bottom: 12px;
}
.theme-nature .ms-menu-items {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #2a3a2c;
  line-height: 1.6;
}

/* Moderne : grille numérotée 2 colonnes */
.theme-moderne .ms-menu-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--stone-200);
  max-width: 900px;
  counter-reset: menucourse;
}
.theme-moderne .ms-section.alt .ms-menu-courses {
  border-top-color: rgba(255,255,255,.18);
}
.theme-moderne .ms-menu-course {
  padding: 32px 48px 32px 0;
  border-bottom: 1px solid var(--stone-200);
  counter-increment: menucourse;
}
.theme-moderne .ms-section.alt .ms-menu-course {
  border-bottom-color: rgba(255,255,255,.18);
}
.theme-moderne .ms-menu-course:nth-child(odd) {
  border-right: 1px solid var(--stone-200);
}
.theme-moderne .ms-section.alt .ms-menu-course:nth-child(odd) {
  border-right-color: rgba(255,255,255,.18);
}
.theme-moderne .ms-menu-course:nth-child(even) {
  padding-left: 48px; padding-right: 0;
}
.theme-moderne .ms-menu-course::before {
  content: counter(menucourse, decimal-leading-zero);
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}
.theme-moderne .ms-menu-course-name {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.theme-moderne .ms-section.alt .ms-menu-course-name { color: #fff; }
.theme-moderne .ms-menu-items {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 320px;
}
.theme-moderne .ms-section.alt .ms-menu-items { color: rgba(255,255,255,.7); }


/* ──────────────────────────────────────────────
   DÉCOMPTE XL (countdown statement, full section)
─────────────────────────────────────────────── */

/* Classique : photo de fond romantique */
.theme-classique .ms-cdxl {
  padding: 110px 32px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8,6,3,.55) 0%, rgba(8,6,3,.7) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
  color: #fff;
}
.theme-classique .ms-cdxl-eyebrow {
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.theme-classique .ms-cdxl-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 48px;
  color: rgba(255,255,255,.92);
}
.theme-classique .ms-cdxl-grid {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.theme-classique .ms-cdxl-item {
  min-width: 120px;
  padding: 28px 18px 22px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
}
.theme-classique .ms-cdxl-num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1;
  color: #fff;
}
.theme-classique .ms-cdxl-lbl {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 12px;
}

/* Nature : gradient sauge avec halos */
.theme-nature .ms-cdxl {
  padding: 110px 32px;
  text-align: center;
  background: linear-gradient(160deg, #f1f5ee 0%, #d8e5d3 50%, #b9cebb 100%);
  position: relative;
  overflow: hidden;
}
.theme-nature .ms-cdxl::before,
.theme-nature .ms-cdxl::after {
  content: '';
  position: absolute;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(122,155,128,.35) 0%, transparent 65%);
  pointer-events: none;
}
.theme-nature .ms-cdxl::before { top: -80px; left: -80px; }
.theme-nature .ms-cdxl::after { bottom: -80px; right: -80px; }
.theme-nature .ms-cdxl-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--sage);
  margin-bottom: 10px;
  position: relative;
}
.theme-nature .ms-cdxl-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #2a3a2c;
  margin-bottom: 48px;
  position: relative;
  font-weight: 400;
}
.theme-nature .ms-cdxl-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.theme-nature .ms-cdxl-item {
  min-width: 90px;
  text-align: center;
}
.theme-nature .ms-cdxl-num {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--sage-deep);
  line-height: 1;
}
.theme-nature .ms-cdxl-lbl {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: var(--sage);
  margin-top: 10px;
}

/* Moderne : noir massif typographie XXL */
.theme-moderne .ms-cdxl {
  padding: 110px 60px;
  background: var(--ink);
  color: #fff;
}
.theme-moderne .ms-cdxl-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 18px;
}
.theme-moderne .ms-cdxl-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: .95;
  color: #fff;
  margin-bottom: 56px;
  max-width: 800px;
}
.theme-moderne .ms-cdxl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.theme-moderne .ms-cdxl-item {
  padding: 32px 12px 28px;
  border-right: 1px solid rgba(255,255,255,.15);
  text-align: left;
}
.theme-moderne .ms-cdxl-item:last-child { border-right: none; }
.theme-moderne .ms-cdxl-num {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
}
.theme-moderne .ms-cdxl-lbl {
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-top: 14px;
  font-weight: 500;
}
/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  THÈME 6 — CÔTE                                           │
   │                                                          │
   │  Parti pris structurel : POSTCARD de voyage.             │
   │  Hero photo plein bleed avec overlay sombre,             │
   │  body fond sable, sections en cartes blanches            │
   │  flottantes (border-radius + ombre), vagues SVG entre    │
   │  hero et body, coordonnées GPS comme stamp décoratif.    │
   │  Type AS UPPERCASE wide letter-spacing comme un          │
   │  passport / boarding-pass.                               │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.theme-cote {
  --t-accent: #4A7390;
  --t-accent-mid: #7A9AB1;
  --t-accent-light: #D6E1EB;
  --t-coral: #E8A893;             /* décor seulement (filets, points du hero sur photo sombre) : 2,0:1 sur blanc */
  --t-coral-ink: #9C4A35;         /* corail assombri pour le TEXTE : 6,1:1 sur blanc, 4,6:1 sur sable */
  --t-bg: #ECDFC0;                /* SABLE — visible entre les cartes */
  --t-bg-alt: #ECDFC0;
  --t-text: #2B4254;
  --t-text-soft: #5C7184;
  --t-text-muted: #9DA8B4;
  background: var(--t-bg);
}

/* HERO — full-bleed photo + overlay sombre, type centré.
   Voile = teinte de la variante (--cote-tint, marine par défaut ; variantes en bas de fichier), assez dense pour que le
   texte blanc tienne le contraste AA même sur le pixel le plus clair d'une photo (qa-global, lot 3, RG-MS-002 :
   l'ancien voile .35 → .6 laissait le titre à 2,6:1 sur le ciel de la photo). */
.theme-cote { --cote-tint: 43 66 84; --cote-coral-on-photo: #F6CDBF; /* corail éclairci : 3:1 en grand texte sur le voile */ }
.theme-cote .ms-hero {
  min-height: 92vh;
  padding: 100px 40px;
  background:
    linear-gradient(180deg, rgb(var(--cote-tint) / .8) 0%, rgb(var(--cote-tint) / .86) 100%),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80');
  background-size: cover; background-position: center;
  color: #fff;
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
}
.theme-cote .ms-hero-leaves-tl,
.theme-cote .ms-hero-leaves-br,
.theme-cote .ms-hero-rings,
.theme-cote .ms-hero-bar,
.theme-cote .ms-hero-image { display: none; }

/* Stamp coordonnées GPS en coin haut droite */
.theme-cote .ms-hero::after {
  content: '⊹ 43°35′N · 1°26′W';
  position: absolute;
  top: 36px; right: 40px;
  font-size: .65rem; letter-spacing: .15em;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  padding: 8px 14px;
  transform: rotate(2deg);
  font-family: var(--font-sans);
}
/* Vague SVG en bas du hero (transition vers body sable) */
.theme-cote .ms-hero::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 80px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'><path d='M0,40 C300,80 600,0 900,40 C1050,60 1150,30 1200,40 L1200,80 L0,80 Z' fill='%23ECDFC0'/></svg>");
  background-size: cover; background-position: bottom;
  pointer-events: none;
}

.theme-cote .ms-hero-text { padding: 0; display: contents; }
.theme-cote .ms-hero-bottom { display: contents; }

.theme-cote .ms-hero-label {
  font-size: .65rem; letter-spacing: .55em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px; font-weight: 600;
  padding-left: .55em;
  border-top: 1px solid rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-top: 12px; padding-bottom: 12px;
}
.theme-cote .ms-hero-names {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 1; font-weight: 400;
  color: #fff;
}
.theme-cote .ms-hero-amp {
  /* Bloc atomique : seule occasion de coupure entre les prénoms (HeroSection n'écrit aucune espace entre ses <span>) ;
     sans elle, la ligne débordait à 390 px. */
  display: inline-block;
  font-style: italic; color: var(--cote-coral-on-photo);
  padding: 0 18px; font-size: .82em;
}
.theme-cote .ms-hero-rule { display: none; }
.theme-cote .ms-hero-date {
  font-size: .82rem; letter-spacing: .4em;
  text-transform: uppercase; color: #fff;
  font-weight: 600;
  margin-top: 32px;
  padding-left: .4em;
}
.theme-cote .ms-hero-date::before {
  content: '·'; margin-right: 12px; color: var(--t-coral);
}
.theme-cote .ms-hero-date::after {
  content: '·'; margin-left: 12px; color: var(--t-coral);
}
.theme-cote .ms-hero-venue {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.05rem; color: #fff;
  margin-top: 12px;
}

.theme-cote .ms-countdown {
  display: flex; justify-content: center; gap: 0;
  margin-top: 48px;
  border: 1px solid rgba(255,255,255,.4);
}
.theme-cote .ms-cd {
  text-align: center;
  padding: 18px 26px; min-width: 88px;
  background: none; backdrop-filter: none;
  border: none;
  border-radius: 0;
  border-right: 1px solid rgba(255,255,255,.3);
}
.theme-cote .ms-cd:last-child { border-right: none; }
.theme-cote .ms-cd-num {
  font-family: var(--font-serif);
  font-size: 2rem; color: #fff; line-height: 1;
}
.theme-cote .ms-cd-label {
  font-size: .58rem; letter-spacing: .25em;
  text-transform: uppercase; color: #fff;
  margin-top: 8px; font-weight: 600;
  padding-left: .25em;
}

/* SECTIONS — cartes blanches flottantes sur fond sable */
.theme-cote .ms-section {
  background: #fff;
  margin: 32px clamp(20px, 4vw, 80px);
  padding: 90px 60px;
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(43,66,84,.1);
  position: relative;
  text-align: center;
}
.theme-cote .ms-section.alt {
  background: #fff;
}
/* Stamp décoratif "WEDDING" en haut de chaque section */
.theme-cote .ms-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: var(--t-coral);
}
.theme-cote .ms-section-num { display: none; }
.theme-cote .ms-eyebrow {
  font-size: .68rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--t-accent);
  margin-bottom: 16px; font-weight: 600;
  padding-left: .4em;
}
.theme-cote .ms-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400; color: var(--t-text);
  margin-bottom: 14px;
}
.theme-cote .ms-title-rule {
  width: 50px; height: 2px;
  background: var(--t-coral);
  margin: 0 auto 44px;
  display: block;
}
.theme-cote .ms-title-rule::before,
.theme-cote .ms-title-rule::after { display: none; }
.theme-cote .ms-text {
  max-width: 580px; margin: 0 auto;
  font-size: 1.02rem; line-height: 1.85;
  color: var(--t-text-soft);
}
.theme-cote .ms-histoire-grid { display: block; }

/* COUPLE */
.theme-cote .ms-couple {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; max-width: 720px; margin: 56px auto 0;
}
.theme-cote .ms-person { text-align: center; }
.theme-cote .ms-person-photo {
  width: 100%; aspect-ratio: 4/5; max-width: 280px;
  margin: 0 auto 24px;
  background-size: cover; background-position: center;
  border-radius: 4px;
  border: 8px solid #fff;
  box-shadow: 0 8px 24px rgba(43,66,84,.18);
  height: auto;
}
.theme-cote .ms-person-photo::after { display: none; }
.theme-cote .ms-person-num { display: none; }
.theme-cote .ms-person-content { padding: 0; }
.theme-cote .ms-person-name {
  font-family: var(--font-serif);
  font-size: 1.7rem; color: var(--t-text);
  margin-bottom: 4px;
}
.theme-cote .ms-person-role {
  font-size: .66rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--t-coral-ink);
  margin-bottom: 16px; font-weight: 600;
  padding-left: .35em;
}
.theme-cote .ms-person-bio {
  font-size: .95rem; line-height: 1.7;
  color: var(--t-text-soft);
  max-width: 320px; margin: 0 auto;
}

/* Petits écrans (qa-global, lot 3) : sans ces règles, le compte à rebours (4 × 88 px min.) et les mariés côte à côte
   (gap 60 px) débordaient de 13 px à 360 px, et les sections-cartes (marge 20 px + padding 60 px de chaque côté) ne
   laissaient que 200 px au contenu. Mêmes réglages que Classique et Nature. */
@media (max-width: 768px) {
  .theme-cote .ms-couple { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 480px) {
  .theme-cote .ms-section { margin: 20px 12px; padding: 60px 22px; }
  .theme-cote .ms-countdown { margin-top: 32px; }
  .theme-cote .ms-cd { min-width: 0; flex: 1; padding: 12px 4px 10px; }
  .theme-cote .ms-cd-num { font-size: 1.6rem; }
  .theme-cote .ms-cd-label { font-size: .54rem; letter-spacing: .08em; }
}

/* TIMELINE — comme un boarding pass (lignes pointillées) */
.theme-cote .ms-timeline {
  max-width: 640px; margin: 56px auto 0;
  position: relative;
}
.theme-cote .ms-timeline::before { display: none; }
.theme-cote .ms-tl {
  display: flex; gap: 24px; padding: 16px 0;
  align-items: center;
  border-bottom: 1px dashed var(--t-accent-light);
  grid-template-columns: none;
}
.theme-cote .ms-tl:last-child { border-bottom: none; }
.theme-cote .ms-tl-when {
  width: 130px; flex-shrink: 0;
}
.theme-cote .ms-tl-date {
  display: block;
  font-family: var(--font-sans);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-text-muted);
  margin-bottom: 3px;
  font-weight: 500;
}
.theme-cote .ms-tl-time {
  font-family: var(--font-serif);
  font-size: 1.3rem; color: var(--t-accent);
  text-align: left; padding: 0;
  line-height: 1;
}
.theme-cote .ms-tl-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--t-coral);
  flex-shrink: 0; margin: 0; border: none;
}
.theme-cote .ms-tl-dot::after { display: none; }
.theme-cote .ms-tl-content { flex: 1; padding: 0; text-align: left; }
.theme-cote .ms-tl-title {
  font-size: .98rem; font-weight: 600;
  color: var(--t-text); margin-bottom: 2px;
  letter-spacing: .01em;
}
.theme-cote .ms-tl-desc {
  font-size: .82rem; color: var(--t-text-soft);
  line-height: 1.5;
}

/* Day separator — Côte : barre coral */
.theme-cote .ms-tl-daysep {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0 14px;
  border-bottom: 2px solid var(--t-coral);
}
.theme-cote .ms-tl-daysep:not(:first-child) { padding-top: 32px; }
.theme-cote .ms-tl-daysep-dow {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--t-text);
}
.theme-cote .ms-tl-daysep-date {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-text-muted);
  flex: 1;
  font-weight: 500;
}
.theme-cote .ms-tl-daysep-tag {
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-accent);
  padding: 4px 10px;
  background: var(--t-accent-light);
  border-radius: 4px;
  font-weight: 600;
}
.theme-cote .ms-tl-daysep-tag.main {
  /* `.main` est aussi la classe de la coquille de l'application (globals.css : flex: 1, overflow: hidden, marge de la barre latérale
     dès 1024 px) : la pastille « Jour J » prend la taille de son texte, comme « Le lendemain » (qa-global lot 16, RG-REC-016-4). */
  flex: none; margin-left: 0; min-height: auto; overflow: visible; display: inline-block;
  background: var(--t-accent);
  color: #fff;
}

/* LIEU */
.theme-cote .ms-venue-photo {
  width: 100%; max-width: 820px;
  margin: 40px auto 32px;
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  border-radius: 4px;
  border: 8px solid #fff;
  box-shadow: 0 12px 40px rgba(43,66,84,.18);
}
.theme-cote .ms-venue-photo::after { display: none; }
.theme-cote .ms-venue-info { text-align: center; }
.theme-cote .ms-venue-name {
  font-family: var(--font-serif);
  font-size: 1.7rem; color: var(--t-text);
  margin-bottom: 10px;
}
.theme-cote .ms-venue-address {
  font-size: .68rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--t-text-soft);
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-style: normal;
  font-family: var(--font-sans);
  padding-left: .25em;
}
.theme-cote .ms-venue-address svg {
  width: 12px; height: 12px; color: var(--t-coral);
}

/* MENU — colonnes simples avec wave dividers */
.theme-cote .ms-menu-courses {
  max-width: 540px; margin: 56px auto 0;
  text-align: center; display: block;
}
.theme-cote .ms-menu-course { padding: 24px 0; }
.theme-cote .ms-menu-course::before { display: none; }
.theme-cote .ms-menu-course-name {
  font-size: .68rem; letter-spacing: .35em;
  text-transform: uppercase; color: var(--t-accent);
  margin-bottom: 12px; font-weight: 600;
  padding-left: .35em;
}
.theme-cote .ms-menu-items {
  font-family: var(--font-serif);
  font-size: 1.1rem; color: var(--t-text);
  line-height: 1.6;
}
.theme-cote .ms-menu-items li + li { margin-top: 4px; }
/* Vague entre deux services (le balisage n'a pas d'élément séparateur). */
.theme-cote .ms-menu-course + .ms-menu-course::before {
  content: '';
  display: block;
  width: 100%; max-width: 360px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 12'><path d='M0,6 Q30,2 60,6 T120,6 T180,6 T240,6 T300,6 T360,6' fill='none' stroke='%234A7390' stroke-width='1.2' opacity='.35'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  margin: -24px auto 24px;
}

/* DÉCOMPTE XL — pas en carte (occupe la largeur), gradient mer */
.theme-cote .ms-cdxl {
  margin: 32px 0;
  padding: 110px 32px;
  background:
    linear-gradient(180deg, rgba(43,66,84,.5) 0%, rgba(43,66,84,.75) 100%),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80');
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}
.theme-cote .ms-cdxl::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 50px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'><path d='M0,30 C300,0 600,50 900,20 C1050,5 1150,25 1200,15 L1200,0 L0,0 Z' fill='%23ECDFC0'/></svg>");
  background-size: cover; background-position: top;
  pointer-events: none;
}
.theme-cote .ms-cdxl::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 50px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 50' preserveAspectRatio='none'><path d='M0,20 C300,50 600,0 900,30 C1050,45 1150,15 1200,25 L1200,50 L0,50 Z' fill='%23ECDFC0'/></svg>");
  background-size: cover; background-position: bottom;
  pointer-events: none;
}
.theme-cote .ms-cdxl-eyebrow {
  font-size: .68rem; letter-spacing: .4em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  margin-bottom: 16px; font-weight: 600;
  position: relative; z-index: 1;
  padding-left: .4em;
}
.theme-cote .ms-cdxl-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff; margin-bottom: 48px;
  font-weight: 400; position: relative; z-index: 1;
}
.theme-cote .ms-cdxl-grid {
  display: flex; justify-content: center; gap: 0;
  position: relative; z-index: 1;
  border: 1px solid rgba(255,255,255,.4);
  max-width: 720px; margin: 0 auto;
}
.theme-cote .ms-cdxl-item {
  padding: 26px 18px; min-width: 130px;
  background: none; backdrop-filter: none;
  border: none;
  border-right: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
}
.theme-cote .ms-cdxl-item:last-child { border-right: none; }
.theme-cote .ms-cdxl-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 400;
  color: #fff; line-height: 1;
}
.theme-cote .ms-cdxl-lbl {
  font-size: .62rem; letter-spacing: .25em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
  margin-top: 10px; font-weight: 600;
  padding-left: .25em;
}

/* RSVP — carte avec stamp wedding */
.theme-cote .ms-rsvp {
  margin: 32px clamp(20px, 4vw, 80px);
  padding: 90px 60px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(43,66,84,.1);
  position: relative;
  text-align: center;
  color: var(--t-text);
  display: block;
}
.theme-cote .ms-rsvp::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 4px;
  background: var(--t-coral);
}
.theme-cote .ms-rsvp::after {
  content: '⊹ R.S.V.P';
  position: absolute;
  top: 30px; right: 40px;
  font-size: .65rem; letter-spacing: .35em;
  font-weight: 600;
  color: var(--t-coral-ink);
  border: 1px solid var(--t-coral-ink);
  padding: 8px 14px;
  transform: rotate(3deg);
  font-family: var(--font-sans);
}
.theme-cote .ms-rsvp-content { max-width: 540px; margin: 0 auto; }
.theme-cote .ms-rsvp-eyebrow {
  font-size: .68rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--t-accent);
  margin-bottom: 16px; font-weight: 600;
  padding-left: .4em;
}
.theme-cote .ms-rsvp-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--t-text);
  margin-bottom: 18px;
}
.theme-cote .ms-rsvp-text {
  font-size: 1rem; color: var(--t-text-soft);
  margin-bottom: 36px; line-height: 1.7;
  max-width: 460px; margin-left: auto; margin-right: auto;
}
.theme-cote .ms-rsvp-btn {
  display: inline-block;
  /* Texte bleu nuit sur corail : 5,2:1 (le blanc donnait 2,0:1). */
  background: var(--t-coral); color: var(--t-text);
  padding: 16px 42px; border-radius: 4px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding-left: calc(42px + .25em);
}

/* FOOTER */
.theme-cote .ms-footer {
  background: var(--t-text); padding: 40px 32px;
  text-align: center;
  color: rgba(255,255,255,.7);
  font-size: .68rem; letter-spacing: .25em;
  text-transform: uppercase; font-weight: 500;
  flex-direction: column;
  font-family: var(--font-sans);
  padding-left: calc(32px + .25em);
}
.theme-cote .ms-footer-rings,
.theme-cote .ms-footer-leaves { display: none; }
.theme-cote .ms-footer a {
  color: #fff; font-weight: 600;
}
/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  VARIANTES DE COULEURS — 7 palettes × 7 thèmes           │
   │                                                          │
   │  Défaut par thème (= sans classe variant-*) :            │
   │  · Classique  → champagne    · Nature     → sauge        │
   │  · Moderne    → encre        · Côte       → bleu         │
   │  · Romantique (aquarelle) → terracotta rosé #C9826E      │
   │  · Vignoble (minimal)     → bordeaux du domaine #7A2E3B  │
   │                                                          │
   │  Les 7 palettes : champagne · rose · bleu · sauge ·      │
   │  terracotta · bordeaux · encre                           │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   PALETTE PARTAGÉE
   Override --t-accent* utilisé par les 4 nouveaux thèmes.
   Pour les anciens thèmes, overrides spécifiques en dessous.
─────────────────────────────────────────────── */
.variant-champagne  { --t-accent: #B89E84; --t-accent-mid: #D4C8B8; --t-accent-light: #F2EEE8; }
.variant-rose       { --t-accent: #C28B8E; --t-accent-mid: #D4ABAD; --t-accent-light: #F4E3E4; }
.variant-bleu       { --t-accent: #4A7390; --t-accent-mid: #7A9AB1; --t-accent-light: #D6E1EB; }
.variant-sauge      { --t-accent: #7A9B80; --t-accent-mid: #A3BFA7; --t-accent-light: #D6E4D9; }
.variant-terracotta { --t-accent: #C97456; --t-accent-mid: #D89479; --t-accent-light: #FCEBE0; }
.variant-bordeaux   { --t-accent: #8B3A47; --t-accent-mid: #A85462; --t-accent-light: #ECCBCF; }
.variant-encre      { --t-accent: #3A3A3A; --t-accent-mid: #6B6B6B; --t-accent-light: #D4D4D4; }


/* ─── CÔTE — la mer reste, teintée par la variante (qa-global, lot 3, RG-MS-002) ───
   Avant : chaque variante sauf « bleu » remplaçait tout le fond du hero par un dégradé pâle (photo perdue, texte blanc
   illisible) et la vague du bas par un halo. Comme Classique : un voile sombre de la couleur de la variante PAR-DESSUS la
   photo de mer — seule la teinte change ici, le voile est celui du hero (.theme-cote .ms-hero) ; la vague (::before)
   n'est plus touchée ; « bleu » garde la teinte marine du thème. Mesuré par e2e/minisite/cote-variantes.spec.ts (photo
   présente, vague, contraste AA du texte du hero sur le pixel le plus clair). */
.theme-cote.variant-champagne  { --cote-tint: 74 58 36; }
.theme-cote.variant-rose       { --cote-tint: 86 40 50; }
.theme-cote.variant-sauge      { --cote-tint: 36 60 44; }
.theme-cote.variant-terracotta { --cote-tint: 92 42 24; }
.theme-cote.variant-bordeaux   { --cote-tint: 64 16 28; }
.theme-cote.variant-encre      { --cote-tint: 30 30 30; }


/* ════════════════════════════════════════════════════════════
   ANCIENS THÈMES — variantes spécifiques
   (overrides --accent/--sage/--ink + éléments hardcodés)
═══════════════════════════════════════════════════════════ */

/* ─── CLASSIQUE (default = champagne) ─── */
.theme-classique.variant-rose       { --accent: #B8767C; --accent-mid: #D4A0A4; --accent-light: #F5E5E6; }
.theme-classique.variant-rose .ms-hero,
.theme-classique.variant-rose .ms-rsvp,
.theme-classique.variant-rose .ms-cdxl {
  background:
    linear-gradient(180deg, rgba(60,15,25,.55) 0%, rgba(60,15,25,.7) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
}
.theme-classique.variant-rose .ms-hero {
  background:
    linear-gradient(180deg, rgba(60,15,25,.30) 0%, rgba(60,15,25,.65) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
  background-size: cover; background-position: center;
}

.theme-classique.variant-bleu       { --accent: #2C3E50; --accent-mid: #5D7691; --accent-light: #DCE4ED; }
.theme-classique.variant-bleu .ms-hero,
.theme-classique.variant-bleu .ms-rsvp,
.theme-classique.variant-bleu .ms-cdxl {
  background:
    linear-gradient(180deg, rgba(10,20,35,.6) 0%, rgba(10,20,35,.75) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
}
.theme-classique.variant-bleu .ms-hero {
  background:
    linear-gradient(180deg, rgba(10,20,35,.35) 0%, rgba(10,20,35,.7) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
  background-size: cover; background-position: center;
}

.theme-classique.variant-sauge      { --accent: #6B8C72; --accent-mid: #9DB89F; --accent-light: #DAE5D6; }
.theme-classique.variant-sauge .ms-hero,
.theme-classique.variant-sauge .ms-rsvp,
.theme-classique.variant-sauge .ms-cdxl {
  background:
    linear-gradient(180deg, rgba(20,40,28,.55) 0%, rgba(20,40,28,.7) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
}
.theme-classique.variant-sauge .ms-hero {
  background:
    linear-gradient(180deg, rgba(20,40,28,.30) 0%, rgba(20,40,28,.65) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
  background-size: cover; background-position: center;
}

.theme-classique.variant-terracotta { --accent: #B5664A; --accent-mid: #D49380; --accent-light: #FCEBE0; }
.theme-classique.variant-terracotta .ms-hero,
.theme-classique.variant-terracotta .ms-rsvp,
.theme-classique.variant-terracotta .ms-cdxl {
  background:
    linear-gradient(180deg, rgba(60,28,15,.55) 0%, rgba(60,28,15,.7) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
}
.theme-classique.variant-terracotta .ms-hero {
  background:
    linear-gradient(180deg, rgba(60,28,15,.30) 0%, rgba(60,28,15,.65) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
  background-size: cover; background-position: center;
}

.theme-classique.variant-bordeaux   { --accent: #8B3A47; --accent-mid: #A85462; --accent-light: #ECCBCF; }
.theme-classique.variant-bordeaux .ms-hero,
.theme-classique.variant-bordeaux .ms-rsvp,
.theme-classique.variant-bordeaux .ms-cdxl {
  background:
    linear-gradient(180deg, rgba(48,15,22,.55) 0%, rgba(48,15,22,.7) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
}
.theme-classique.variant-bordeaux .ms-hero {
  background:
    linear-gradient(180deg, rgba(48,15,22,.30) 0%, rgba(48,15,22,.65) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
  background-size: cover; background-position: center;
}

.theme-classique.variant-encre      { --accent: #3A3A3A; --accent-mid: #6B6B6B; --accent-light: #D4D4D4; }
.theme-classique.variant-encre .ms-hero,
.theme-classique.variant-encre .ms-rsvp,
.theme-classique.variant-encre .ms-cdxl {
  background:
    linear-gradient(180deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,.8) 100%),
    url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1600&q=80');
  background-size: cover; background-position: center;
}
.theme-classique.variant-encre .ms-hero {
  background:
    linear-gradient(180deg, rgba(10,10,10,.4) 0%, rgba(10,10,10,.75) 100%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1600&q=80');
  background-size: cover; background-position: center;
}


/* ─── NATURE (default = sauge) ─── */
/* helper : Nature utilise --sage, --sage-deep, --sage-pale + des verts hardcodés */
.theme-nature.variant-champagne { --sage: #B89E84; --sage-deep: #7C6A52; --sage-pale: #F4EFE5; }
.theme-nature.variant-champagne { background: linear-gradient(180deg, #FBF5E8 0%, #F0E5C9 100%); }
.theme-nature.variant-champagne .ms-hero { background: linear-gradient(160deg, #FBF5E8 0%, #ECDBB5 50%, #D6BB7C 100%); }
.theme-nature.variant-champagne .ms-hero::before,
.theme-nature.variant-champagne .ms-hero::after { background-image: radial-gradient(ellipse at center, rgba(184,158,132,.45) 0%, transparent 60%); }
.theme-nature.variant-champagne .ms-hero-names,
.theme-nature.variant-champagne .ms-title,
.theme-nature.variant-champagne .ms-person-name,
.theme-nature.variant-champagne .ms-tl-title,
.theme-nature.variant-champagne .ms-rsvp-title,
.theme-nature.variant-champagne .ms-venue-name,
.theme-nature.variant-champagne .ms-menu-items,
.theme-nature.variant-champagne .ms-cdxl-title { color: #4A3D2A; }
.theme-nature.variant-champagne .ms-cdxl { background: linear-gradient(160deg, #F4EFE5 0%, #E0D2A8 50%, #B89E84 100%); }
.theme-nature.variant-champagne .ms-cdxl-num { color: #7C6A52; }
.theme-nature.variant-champagne .ms-rsvp { background: linear-gradient(135deg, #F8F1E2 0%, #ECDDB8 100%); }
.theme-nature.variant-champagne .ms-footer { background: #4A3D2A; }

.theme-nature.variant-rose { --sage: #C28B8E; --sage-deep: #8B4248; --sage-pale: #FCF1F2; }
.theme-nature.variant-rose { background: linear-gradient(180deg, #FCF1F2 0%, #F4DDDE 100%); }
.theme-nature.variant-rose .ms-hero { background: linear-gradient(160deg, #FCF1F2 0%, #F4D5D7 50%, #E5A8AC 100%); }
.theme-nature.variant-rose .ms-hero::before,
.theme-nature.variant-rose .ms-hero::after { background-image: radial-gradient(ellipse at center, rgba(194,139,142,.5) 0%, transparent 60%); }
.theme-nature.variant-rose .ms-hero-names,
.theme-nature.variant-rose .ms-title,
.theme-nature.variant-rose .ms-person-name,
.theme-nature.variant-rose .ms-tl-title,
.theme-nature.variant-rose .ms-rsvp-title,
.theme-nature.variant-rose .ms-venue-name,
.theme-nature.variant-rose .ms-menu-items,
.theme-nature.variant-rose .ms-cdxl-title { color: #4A1F26; }
.theme-nature.variant-rose .ms-cdxl { background: linear-gradient(160deg, #FCF1F2 0%, #E5B0B4 50%, #B86E76 100%); }
.theme-nature.variant-rose .ms-cdxl-num { color: #8B4248; }
.theme-nature.variant-rose .ms-rsvp { background: linear-gradient(135deg, #FBE9EA 0%, #F2C9CC 100%); }
.theme-nature.variant-rose .ms-footer { background: #4A1F26; }

.theme-nature.variant-bleu { --sage: #4A7390; --sage-deep: #2A4258; --sage-pale: #F1F4F8; }
.theme-nature.variant-bleu { background: linear-gradient(180deg, #F1F4F8 0%, #DCE5EE 100%); }
.theme-nature.variant-bleu .ms-hero { background: linear-gradient(160deg, #F1F4F8 0%, #C4D4E1 50%, #8FA8BD 100%); }
.theme-nature.variant-bleu .ms-hero::before,
.theme-nature.variant-bleu .ms-hero::after { background-image: radial-gradient(ellipse at center, rgba(74,115,144,.5) 0%, transparent 60%); }
.theme-nature.variant-bleu .ms-hero-names,
.theme-nature.variant-bleu .ms-title,
.theme-nature.variant-bleu .ms-person-name,
.theme-nature.variant-bleu .ms-tl-title,
.theme-nature.variant-bleu .ms-rsvp-title,
.theme-nature.variant-bleu .ms-venue-name,
.theme-nature.variant-bleu .ms-menu-items,
.theme-nature.variant-bleu .ms-cdxl-title { color: #1F2E3D; }
.theme-nature.variant-bleu .ms-cdxl { background: linear-gradient(160deg, #F1F4F8 0%, #B5C8D7 50%, #6B89A3 100%); }
.theme-nature.variant-bleu .ms-cdxl-num { color: #2A4258; }
.theme-nature.variant-bleu .ms-rsvp { background: linear-gradient(135deg, #EAF0F6 0%, #BBCEDC 100%); }
.theme-nature.variant-bleu .ms-footer { background: #1F2E3D; }

.theme-nature.variant-terracotta { --sage: #C97456; --sage-deep: #8C4A33; --sage-pale: #FAF0EA; }
.theme-nature.variant-terracotta { background: linear-gradient(180deg, #FDF5EE 0%, #F4DDC8 100%); }
.theme-nature.variant-terracotta .ms-hero { background: linear-gradient(160deg, #FDF5EE 0%, #F2D2B6 50%, #D9986E 100%); }
.theme-nature.variant-terracotta .ms-hero::before,
.theme-nature.variant-terracotta .ms-hero::after { background-image: radial-gradient(ellipse at center, rgba(201,116,86,.5) 0%, transparent 60%); }
.theme-nature.variant-terracotta .ms-hero-names,
.theme-nature.variant-terracotta .ms-title,
.theme-nature.variant-terracotta .ms-person-name,
.theme-nature.variant-terracotta .ms-tl-title,
.theme-nature.variant-terracotta .ms-rsvp-title,
.theme-nature.variant-terracotta .ms-venue-name,
.theme-nature.variant-terracotta .ms-menu-items,
.theme-nature.variant-terracotta .ms-cdxl-title { color: #5a3326; }
.theme-nature.variant-terracotta .ms-cdxl { background: linear-gradient(160deg, #faf0ea 0%, #ecd2c0 50%, #d9a787 100%); }
.theme-nature.variant-terracotta .ms-cdxl-num { color: #8C4A33; }
.theme-nature.variant-terracotta .ms-rsvp { background: linear-gradient(135deg, #faf0ea 0%, #f4ddd0 100%); }
.theme-nature.variant-terracotta .ms-footer { background: #5a3326; }

.theme-nature.variant-bordeaux { --sage: #8B3A47; --sage-deep: #5C1F2A; --sage-pale: #F8EBED; }
.theme-nature.variant-bordeaux { background: linear-gradient(180deg, #F8EBED 0%, #EAD0D5 100%); }
.theme-nature.variant-bordeaux .ms-hero { background: linear-gradient(160deg, #F8EBED 0%, #E1B2BA 50%, #B8717D 100%); }
.theme-nature.variant-bordeaux .ms-hero::before,
.theme-nature.variant-bordeaux .ms-hero::after { background-image: radial-gradient(ellipse at center, rgba(139,58,71,.45) 0%, transparent 60%); }
.theme-nature.variant-bordeaux .ms-hero-names,
.theme-nature.variant-bordeaux .ms-title,
.theme-nature.variant-bordeaux .ms-person-name,
.theme-nature.variant-bordeaux .ms-tl-title,
.theme-nature.variant-bordeaux .ms-rsvp-title,
.theme-nature.variant-bordeaux .ms-venue-name,
.theme-nature.variant-bordeaux .ms-menu-items,
.theme-nature.variant-bordeaux .ms-cdxl-title { color: #2A0A10; }
.theme-nature.variant-bordeaux .ms-cdxl { background: linear-gradient(160deg, #F8EBED 0%, #D4A0A8 50%, #8B4854 100%); }
.theme-nature.variant-bordeaux .ms-cdxl-num { color: #5C1F2A; }
.theme-nature.variant-bordeaux .ms-rsvp { background: linear-gradient(135deg, #F4DDE0 0%, #DAA8AF 100%); }
.theme-nature.variant-bordeaux .ms-footer { background: #2A0A10; }

.theme-nature.variant-encre { --sage: #3A3A3A; --sage-deep: #1A1A1A; --sage-pale: #F4F4F4; }
.theme-nature.variant-encre { background: linear-gradient(180deg, #F4F4F4 0%, #DCDCDC 100%); }
.theme-nature.variant-encre .ms-hero { background: linear-gradient(160deg, #F4F4F4 0%, #BFBFBF 50%, #6E6E6E 100%); }
.theme-nature.variant-encre .ms-hero::before,
.theme-nature.variant-encre .ms-hero::after { background-image: radial-gradient(ellipse at center, rgba(58,58,58,.4) 0%, transparent 60%); }
.theme-nature.variant-encre .ms-hero-names,
.theme-nature.variant-encre .ms-title,
.theme-nature.variant-encre .ms-person-name,
.theme-nature.variant-encre .ms-tl-title,
.theme-nature.variant-encre .ms-rsvp-title,
.theme-nature.variant-encre .ms-venue-name,
.theme-nature.variant-encre .ms-menu-items,
.theme-nature.variant-encre .ms-cdxl-title { color: #0F0F0F; }
.theme-nature.variant-encre .ms-cdxl { background: linear-gradient(160deg, #F4F4F4 0%, #ABABAB 50%, #4A4A4A 100%); }
.theme-nature.variant-encre .ms-cdxl-num { color: #1A1A1A; }
.theme-nature.variant-encre .ms-rsvp { background: linear-gradient(135deg, #EBEBEB 0%, #B8B8B8 100%); }
.theme-nature.variant-encre .ms-footer { background: #0F0F0F; }


/* ─── MODERNE (default = encre) ─── */
/* Moderne utilise --ink comme couleur dominante (RSVP, CDXL alt, hero image badge) */
.theme-moderne.variant-champagne { --ink: #7C6A52; --ink-soft: #9D8869; --accent: #B89E84; --accent-mid: #D4C8B8; }
.theme-moderne.variant-champagne .ms-hero-names,
.theme-moderne.variant-champagne .ms-hero-date,
.theme-moderne.variant-champagne .ms-title,
.theme-moderne.variant-champagne .ms-person-name,
.theme-moderne.variant-champagne .ms-tl-time,
.theme-moderne.variant-champagne .ms-tl-title,
.theme-moderne.variant-champagne .ms-venue-name,
.theme-moderne.variant-champagne .ms-menu-course-name,
.theme-moderne.variant-champagne .ms-cd-num { color: var(--ink); }
.theme-moderne.variant-champagne .ms-section.alt,
.theme-moderne.variant-champagne .ms-rsvp,
.theme-moderne.variant-champagne .ms-cdxl { background: var(--ink); }
.theme-moderne.variant-champagne .ms-hero-image::after,
.theme-moderne.variant-champagne .ms-hero-bar,
.theme-moderne.variant-champagne .ms-hero-date::after { background: var(--ink); }
.theme-moderne.variant-champagne .ms-countdown { border-color: var(--ink); }

.theme-moderne.variant-rose { --ink: #8B4248; --ink-soft: #A4575E; --accent: #C28B8E; --accent-mid: #D4ABAD; }
.theme-moderne.variant-rose .ms-hero-names,
.theme-moderne.variant-rose .ms-hero-date,
.theme-moderne.variant-rose .ms-title,
.theme-moderne.variant-rose .ms-person-name,
.theme-moderne.variant-rose .ms-tl-time,
.theme-moderne.variant-rose .ms-tl-title,
.theme-moderne.variant-rose .ms-venue-name,
.theme-moderne.variant-rose .ms-menu-course-name,
.theme-moderne.variant-rose .ms-cd-num { color: var(--ink); }
.theme-moderne.variant-rose .ms-section.alt,
.theme-moderne.variant-rose .ms-rsvp,
.theme-moderne.variant-rose .ms-cdxl { background: var(--ink); }
.theme-moderne.variant-rose .ms-hero-image::after,
.theme-moderne.variant-rose .ms-hero-bar,
.theme-moderne.variant-rose .ms-hero-date::after { background: var(--ink); }
.theme-moderne.variant-rose .ms-countdown { border-color: var(--ink); }

.theme-moderne.variant-bleu { --ink: #0F2545; --ink-soft: #2A4068; --accent: #6B86A8; --accent-mid: #9CB0CA; }
.theme-moderne.variant-bleu .ms-hero-names,
.theme-moderne.variant-bleu .ms-hero-date,
.theme-moderne.variant-bleu .ms-title,
.theme-moderne.variant-bleu .ms-person-name,
.theme-moderne.variant-bleu .ms-tl-time,
.theme-moderne.variant-bleu .ms-tl-title,
.theme-moderne.variant-bleu .ms-venue-name,
.theme-moderne.variant-bleu .ms-menu-course-name,
.theme-moderne.variant-bleu .ms-cd-num { color: var(--ink); }
.theme-moderne.variant-bleu .ms-section.alt,
.theme-moderne.variant-bleu .ms-rsvp,
.theme-moderne.variant-bleu .ms-cdxl { background: var(--ink); }
.theme-moderne.variant-bleu .ms-hero-image::after,
.theme-moderne.variant-bleu .ms-hero-bar,
.theme-moderne.variant-bleu .ms-hero-date::after { background: var(--ink); }
.theme-moderne.variant-bleu .ms-countdown { border-color: var(--ink); }

.theme-moderne.variant-sauge { --ink: #2D4A32; --ink-soft: #4A6B50; --accent: #7A9B80; --accent-mid: #A3BFA7; }
.theme-moderne.variant-sauge .ms-hero-names,
.theme-moderne.variant-sauge .ms-hero-date,
.theme-moderne.variant-sauge .ms-title,
.theme-moderne.variant-sauge .ms-person-name,
.theme-moderne.variant-sauge .ms-tl-time,
.theme-moderne.variant-sauge .ms-tl-title,
.theme-moderne.variant-sauge .ms-venue-name,
.theme-moderne.variant-sauge .ms-menu-course-name,
.theme-moderne.variant-sauge .ms-cd-num { color: var(--ink); }
.theme-moderne.variant-sauge .ms-section.alt,
.theme-moderne.variant-sauge .ms-rsvp,
.theme-moderne.variant-sauge .ms-cdxl { background: var(--ink); }
.theme-moderne.variant-sauge .ms-hero-image::after,
.theme-moderne.variant-sauge .ms-hero-bar,
.theme-moderne.variant-sauge .ms-hero-date::after { background: var(--ink); }
.theme-moderne.variant-sauge .ms-countdown { border-color: var(--ink); }

.theme-moderne.variant-terracotta { --ink: #8C4A33; --ink-soft: #A8624A; --accent: #C97456; --accent-mid: #D89479; }
.theme-moderne.variant-terracotta .ms-hero-names,
.theme-moderne.variant-terracotta .ms-hero-date,
.theme-moderne.variant-terracotta .ms-title,
.theme-moderne.variant-terracotta .ms-person-name,
.theme-moderne.variant-terracotta .ms-tl-time,
.theme-moderne.variant-terracotta .ms-tl-title,
.theme-moderne.variant-terracotta .ms-venue-name,
.theme-moderne.variant-terracotta .ms-menu-course-name,
.theme-moderne.variant-terracotta .ms-cd-num { color: var(--ink); }
.theme-moderne.variant-terracotta .ms-section.alt,
.theme-moderne.variant-terracotta .ms-rsvp,
.theme-moderne.variant-terracotta .ms-cdxl { background: var(--ink); }
.theme-moderne.variant-terracotta .ms-hero-image::after,
.theme-moderne.variant-terracotta .ms-hero-bar,
.theme-moderne.variant-terracotta .ms-hero-date::after { background: var(--ink); }
.theme-moderne.variant-terracotta .ms-countdown { border-color: var(--ink); }

.theme-moderne.variant-bordeaux { --ink: #5C1F2A; --ink-soft: #7A3340; --accent: #C77F84; --accent-mid: #A85462; }
.theme-moderne.variant-bordeaux .ms-hero-names,
.theme-moderne.variant-bordeaux .ms-hero-date,
.theme-moderne.variant-bordeaux .ms-title,
.theme-moderne.variant-bordeaux .ms-person-name,
.theme-moderne.variant-bordeaux .ms-tl-time,
.theme-moderne.variant-bordeaux .ms-tl-title,
.theme-moderne.variant-bordeaux .ms-venue-name,
.theme-moderne.variant-bordeaux .ms-menu-course-name,
.theme-moderne.variant-bordeaux .ms-cd-num { color: var(--ink); }
.theme-moderne.variant-bordeaux .ms-section.alt,
.theme-moderne.variant-bordeaux .ms-rsvp,
.theme-moderne.variant-bordeaux .ms-cdxl { background: var(--ink); }
.theme-moderne.variant-bordeaux .ms-hero-image::after,
.theme-moderne.variant-bordeaux .ms-hero-bar,
.theme-moderne.variant-bordeaux .ms-hero-date::after { background: var(--ink); }
.theme-moderne.variant-bordeaux .ms-countdown { border-color: var(--ink); }


/* ─── MINIMAL : RAS — `--t-accent` du shared palette suffit ─── */
/* ─── CLASSIQUE.variant-champagne : RAS — c'est le défaut ─── */
/* ─── NATURE.variant-sauge : RAS — c'est le défaut ─── */
/* ─── MODERNE.variant-encre : RAS — c'est le défaut ─── */
/* ─── AQUARELLE.variant-terracotta : RAS — c'est le défaut ─── */
/* ─── CÔTE.variant-bleu : RAS — c'est le défaut ─── */
/* ─── ROMANTIQUE.variant-rose : RAS — c'est le défaut ─── */


/* ──────────────────────────────────────────────
   RESPONSIVE — additions pour les nouvelles sections
─────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Lieu — Moderne passe en colonne unique */
  .theme-moderne .ms-section.ms-venue {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 24px;
  }
  .theme-moderne .ms-section.ms-venue > .ms-venue-photo {
    grid-column: 1; grid-row: auto;
    min-height: 320px;
    aspect-ratio: 4/3;
  }
  .theme-moderne .ms-section.ms-venue > .ms-section-num,
  .theme-moderne .ms-section.ms-venue > .ms-title,
  .theme-moderne .ms-section.ms-venue > .ms-venue-info {
    grid-column: 1;
  }

  /* Menu */
  .theme-nature .ms-menu-courses { grid-template-columns: 1fr; gap: 28px; }
  .theme-moderne .ms-menu-courses { grid-template-columns: 1fr; }
  .theme-moderne .ms-menu-course:nth-child(odd) { border-right: none; }
  .theme-moderne .ms-menu-course { padding: 28px 0 !important; }

  /* Décompte XL */
  .theme-classique .ms-cdxl,
  .theme-nature .ms-cdxl,
  .theme-moderne .ms-cdxl { padding: 70px 24px; }
  .theme-classique .ms-cdxl-grid,
  .theme-nature .ms-cdxl-grid { gap: 14px; }
  .theme-classique .ms-cdxl-item { min-width: 0; flex: 1 0 40%; padding: 20px 8px 16px; }
  .theme-moderne .ms-cdxl-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-moderne .ms-cdxl-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .theme-moderne .ms-cdxl-item:nth-child(even) { border-right: none; }
  .theme-moderne .ms-cdxl-item:nth-child(1),
  .theme-moderne .ms-cdxl-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.15); }
}

@media (max-width: 480px) {
  .theme-classique .ms-venue-photo,
  .theme-nature .ms-venue-photo { margin: 24px auto 24px; }
  .theme-moderne .ms-section.ms-venue > .ms-venue-photo { min-height: 240px; }

  .theme-classique .ms-menu-items,
  .theme-nature .ms-menu-items { font-size: 1rem; }

  .theme-classique .ms-cdxl-grid { gap: 8px; }
  .theme-classique .ms-cdxl-item { padding: 16px 4px 12px; min-width: 0; }
  .theme-classique .ms-cdxl-num { font-size: 2rem; }
  .theme-classique .ms-cdxl-lbl { font-size: .58rem; letter-spacing: .12em; }
  .theme-nature .ms-cdxl-grid { gap: 18px; }
  .theme-nature .ms-cdxl-num { font-size: 2.4rem; }
  .theme-moderne .ms-cdxl-num { font-size: 2.8rem; }
  .theme-moderne .ms-cdxl-item { padding: 22px 10px 18px; }
}


/* ──────────────────────────────────────────────
   DEMO — Sélecteur de variante (palette de couleurs)
   ⚠️ UNIQUEMENT POUR LA DÉMO. En production le couple
   choisit thème + variante dans le wizard mini-site.
─────────────────────────────────────────────── */
.demo-switcher.with-variants {
  flex-direction: column;
  align-items: stretch;
  padding: 8px;
  gap: 6px;
  border-radius: 20px;
}
.demo-switcher.with-variants .demo-switcher-row {
  display: flex; gap: 2px; align-items: center;
}
.demo-switcher.with-variants .demo-switcher-row.variants {
  padding-top: 7px;
  margin-top: 1px;
  border-top: 1px solid rgba(255,255,255,.12);
  justify-content: center;
  gap: 9px;
}
.demo-variant-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
  transition: all .15s;
}
.demo-variant-btn:hover { transform: scale(1.12); }
.demo-variant-btn.active {
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 0 0 2px rgba(255,255,255,.18);
}

/* ── Très petits écrans (≤480px) ── */
@media (max-width: 480px) {
  /* Hero Classique : countdown plus serré */
  .theme-classique .ms-hero { padding: 60px 18px 40px; min-height: 88vh; }
  .theme-classique .ms-hero-rings { top: 22px; }
  .theme-classique .ms-hero-rings svg { width: 26px; height: 26px; }
  .theme-classique .ms-hero-label { font-size: .68rem; letter-spacing: .2em; margin-bottom: 16px; }
  .theme-classique .ms-hero-amp { padding: 0 8px; }
  .theme-classique .ms-hero-rule { margin: 18px auto; width: 50px; }
  .theme-classique .ms-hero-date { font-size: .78rem; letter-spacing: .15em; }
  .theme-classique .ms-hero-venue { font-size: .8rem; }
  .theme-classique .ms-countdown { gap: 8px; margin-top: 32px; }
  .theme-classique .ms-cd { min-width: 0; flex: 1; padding: 12px 6px 10px; }
  .theme-classique .ms-cd-num { font-size: 1.6rem; }
  .theme-classique .ms-cd-label { font-size: .54rem; letter-spacing: .08em; }

  /* Hero Nature : leaves plus petites */
  .theme-nature .ms-hero { padding: 60px 18px 40px; min-height: 88vh; }
  .theme-nature .ms-hero-leaves-tl,
  .theme-nature .ms-hero-leaves-br {
    top: 14px; left: 14px;
  }
  .theme-nature .ms-hero-leaves-br { top: auto; bottom: 14px; right: 14px; left: auto; }
  .theme-nature .ms-hero-leaves-tl svg,
  .theme-nature .ms-hero-leaves-br svg { width: 50px; height: 50px; }
  .theme-nature .ms-hero-label { font-size: 1rem; }
  .theme-nature .ms-hero-date { font-size: .72rem; letter-spacing: .2em; margin-top: 24px; }
  .theme-nature .ms-hero-date::before,
  .theme-nature .ms-hero-date::after { margin: 0 8px; }
  .theme-nature .ms-hero-venue { font-size: .9rem; }
  .theme-nature .ms-countdown { gap: 14px; margin-top: 32px; }
  .theme-nature .ms-cd { min-width: 0; flex: 1; }
  .theme-nature .ms-cd-num { font-size: 1.7rem; }
  .theme-nature .ms-cd-label { font-size: .56rem; letter-spacing: .12em; }

  /* Hero Moderne : on enlève l'image et on optimise le texte */
  .theme-moderne .ms-hero-text { padding: 40px 22px; }
  .theme-moderne .ms-hero-image { min-height: 220px; }
  .theme-moderne .ms-hero-image::after { font-size: .65rem; padding: 4px 9px; top: 18px; right: 18px; }
  .theme-moderne .ms-hero-bar { width: 40px; height: 3px; margin-bottom: 18px; }
  .theme-moderne .ms-hero-label { font-size: .65rem; letter-spacing: .25em; }
  .theme-moderne .ms-hero-bottom { padding-top: 30px; gap: 14px; }
  .theme-moderne .ms-hero-date { font-size: .76rem; }
  .theme-moderne .ms-hero-date::after { width: 30px; margin-left: 12px; }
  .theme-moderne .ms-hero-venue { font-size: .7rem; text-align: left; }
  .theme-moderne .ms-countdown { margin-top: 24px; }
  .theme-moderne .ms-cd { padding: 10px 4px 8px; }
  .theme-moderne .ms-cd-num { font-size: 1.5rem; }
  .theme-moderne .ms-cd-label { font-size: .5rem; }

  /* Sections : padding réduit, titres plus petits */
  .theme-classique .ms-section,
  .theme-nature .ms-section,
  .theme-moderne .ms-section { padding: 50px 20px; }
  /* Les mariés pleine largeur suivent le padding de section (−20 px, et non −30 px du bloc 768 : 10 px de débordement à
     390 px, rsvp-visuel lot 1ter). */
  .theme-moderne .ms-couple { margin: 30px -20px 0; }
  .theme-classique .ms-title,
  .theme-nature .ms-title { font-size: 1.7rem; }
  .theme-moderne .ms-title { font-size: 2rem; margin-bottom: 24px; }
  .theme-moderne .ms-text { font-size: 1rem; }
  .theme-classique .ms-text,
  .theme-nature .ms-text { font-size: .95rem; line-height: 1.75; }

  /* Couple : photos plus petites */
  .theme-classique .ms-person-photo { width: 150px; height: 150px; }
  .theme-classique .ms-person-name,
  .theme-nature .ms-person-name { font-size: 1.4rem; }
  .theme-moderne .ms-person-name { font-size: 2rem; }
  .theme-classique .ms-couple,
  .theme-nature .ms-couple { gap: 30px; }

  /* Timeline : gap réduit */
  .theme-classique .ms-tl { gap: 18px; padding-bottom: 22px; }
  .theme-classique .ms-tl-title { font-size: .95rem; }
  .theme-classique .ms-tl-desc { font-size: .82rem; }

  /* RSVP */
  .theme-classique .ms-rsvp,
  .theme-nature .ms-rsvp,
  .theme-moderne .ms-rsvp { padding: 50px 20px; }
  .theme-classique .ms-rsvp-title,
  .theme-nature .ms-rsvp-title { font-size: 1.7rem; }
  .theme-moderne .ms-rsvp-title { font-size: 2rem; }
  .theme-classique .ms-rsvp-btn,
  .theme-nature .ms-rsvp-btn { padding: 13px 28px; font-size: .82rem; }
  .theme-moderne .ms-rsvp-btn { padding: 16px 22px; font-size: .74rem; }

  /* Footer */
  .theme-moderne .ms-footer {
    flex-direction: column; gap: 8px;
    text-align: center; align-items: center;
    padding: 28px 20px; font-size: .72rem;
  }
}

/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  NAV HEADER — Topbar sticky partagée par les 4 pages     │
   │                                                          │
   │  Présent sur : minisite-public, minisite-travel,         │
   │  minisite-rsvp, minisite-album.                          │
   │                                                          │
   │  Structure :                                             │
   │  ┌──────────────┬─────────────────┬─────────────────────┐
   │  │ Monogramme   │ Liens (4 max)   │ CTA RSVP (variant)  │
   │  └──────────────┴─────────────────┴─────────────────────┘
   │                                                          │
   │  Chaque thème surcharge polices/couleurs/ornements pour  │
   │  rester cohérent avec le hero. Les noms de classes .ms-  │
   │  nav-* sont partagés ; le CSS spécifique au thème        │
   │  attaque depuis .theme-X .ms-nav-*                       │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */

/* ── BASE COMMUNE ──────────────────────────────────────── */
.ms-nav {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 14px 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding .2s ease;
}
.ms-nav > nav {
  justify-self: end;
}

.ms-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.ms-nav-brand em {
  font-style: italic;
  padding: 0 4px;
}
.ms-nav-brand-date {
  display: none;  /* visible en Moderne, Romantique (aquarelle) et Vignoble (minimal) via overrides */
  font-family: var(--font-sans);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stone-400);
  padding-left: 12px;
  margin-left: 8px;
  border-left: 1px solid var(--stone-200);
}

.ms-nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.ms-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .005em;
  color: var(--ink-soft);
  transition: background .15s, color .15s;
  cursor: pointer;
}
.ms-nav-link svg {
  width: 14px; height: 14px;
  opacity: .75;
}
.ms-nav-link:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.ms-nav-link.active {
  color: var(--ink);
  background: rgba(0,0,0,.06);
  font-weight: 600;
}

.ms-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent, #7C6A52);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .15s, background .15s;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.ms-nav-cta:hover { transform: translateY(-1px); }
.ms-nav-cta svg { width: 13px; height: 13px; }

.ms-nav-burger {
  display: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--stone-200);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.ms-nav-burger svg { width: 18px; height: 18px; }

/* ── CLASSIQUE — fond crème, accent champagne ─────────── */
.theme-classique .ms-nav {
  background: rgba(250,248,245,.88);
  border-bottom: 1px solid var(--stone-100);
}
.theme-classique .ms-nav-brand em { color: var(--accent); }
.theme-classique .ms-nav-link.active { background: rgba(124,106,82,.10); color: var(--accent); }
.theme-classique .ms-nav-cta { background: var(--accent); }
.theme-classique .ms-nav-cta:hover { background: var(--ink); }

/* ── NATURE — fond cream/sage, accent sauge ───────────── */
.theme-nature .ms-nav {
  background: rgba(245,241,232,.90);
  border-bottom: 1px solid rgba(122,155,128,.18);
}
.theme-nature .ms-nav-brand { color: #2a3a2c; }
.theme-nature .ms-nav-brand em { color: var(--sage); font-family: var(--font-serif); font-style: italic; }
.theme-nature .ms-nav-link { color: #5a6b5d; }
.theme-nature .ms-nav-link:hover { color: #2a3a2c; background: rgba(122,155,128,.08); }
.theme-nature .ms-nav-link.active { background: rgba(122,155,128,.18); color: var(--sage-deep); }
.theme-nature .ms-nav-cta { background: var(--sage); }
.theme-nature .ms-nav-cta:hover { background: var(--sage-deep); }

/* ── MODERNE — fond blanc cassé, monogramme bold ──────── */
.theme-moderne .ms-nav {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--stone-100);
  padding: 16px 40px;
}
.theme-moderne .ms-nav-brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.theme-moderne .ms-nav-brand em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--accent);
  letter-spacing: 0;
}
.theme-moderne .ms-nav-brand-date {
  display: inline-block;
}
.theme-moderne .ms-nav-link {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .70rem;
  font-weight: 600;
  padding: 9px 13px;
  border-radius: 0;
}
.theme-moderne .ms-nav-link:hover { background: transparent; color: var(--ink); }
.theme-moderne .ms-nav-link.active {
  background: transparent;
  color: var(--ink);
  position: relative;
}
.theme-moderne .ms-nav-link.active::after {
  content: '';
  position: absolute;
  left: 13px; right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--ink);
}
.theme-moderne .ms-nav-cta {
  background: var(--ink);
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  font-weight: 600;
  padding: 12px 18px;
  box-shadow: none;
}
.theme-moderne .ms-nav-cta:hover { background: var(--accent); transform: none; }

/* ── CÔTE — fond bleu clair, accent navy ──────────────── */
.theme-cote .ms-nav {
  background: rgba(241,247,250,.90);
  border-bottom: 1px solid rgba(74,115,144,.16);
}
.theme-cote .ms-nav-brand em { color: var(--t-accent, #4A7390); }
.theme-cote .ms-nav-link.active {
  background: var(--t-accent-light, rgba(74,115,144,.12));
  color: var(--t-accent, #4A7390);
}
.theme-cote .ms-nav-cta {
  background: var(--t-accent, #4A7390);
}

/* ── MOBILE : burger menu ──────────────────────────────── */
@media (max-width: 860px) {
  .ms-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
  }
  .ms-nav > nav { display: contents; }
  .ms-nav-links {
    display: none;
  }
  .ms-nav-burger { display: inline-flex; }
  .ms-nav-cta { display: none; }
  .ms-nav-brand-date { display: none !important; }

  /* Mobile menu opened : panel under topbar */
  .ms-nav.open .ms-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--stone-100);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    padding: 14px 20px 18px;
  }
  .theme-moderne .ms-nav.open .ms-nav-links { background: #fff; }
  .theme-nature .ms-nav.open .ms-nav-links { background: #fdfaf2; }
  .theme-cote .ms-nav.open .ms-nav-links { background: #F1F7FA; }
  .ms-nav.open .ms-nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 8px;
  }
  .ms-nav.open .ms-nav-cta {
    display: inline-flex;
    position: absolute;
    top: 100%; left: 20px; right: 20px;
    margin-top: calc(14px + 4 * (12px + 14px*1.4) + 6px);
    justify-content: center;
    z-index: 1;
  }
}
/* Aperçu de l'éditeur (rsvp-visuel, lot 1ter) : même disposition mobile quand l'APERÇU (#ms-preview, conteneur posé
   par minisite-editor.css) fait ≤ 860 px, la fenêtre restant large. Copie jumelée du bloc @media ci-dessus, sélecteurs
   préfixés par :where(#ms-preview) (spécificité inchangée) ; garde : src/tools/minisite-nav-container-twin.test.ts.
   Sans conteneur ni #ms-preview, la page publique ne l'applique jamais. */
@container (max-width: 860px) {
  :where(#ms-preview) .ms-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
  }
  :where(#ms-preview) .ms-nav > nav { display: contents; }
  :where(#ms-preview) .ms-nav-links {
    display: none;
  }
  :where(#ms-preview) .ms-nav-burger { display: inline-flex; }
  :where(#ms-preview) .ms-nav-cta { display: none; }
  :where(#ms-preview) .ms-nav-brand-date { display: none !important; }

  /* Mobile menu opened : panel under topbar */
  :where(#ms-preview) .ms-nav.open .ms-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--stone-100);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    padding: 14px 20px 18px;
  }
  :where(#ms-preview).theme-moderne .ms-nav.open .ms-nav-links { background: #fff; }
  :where(#ms-preview).theme-nature .ms-nav.open .ms-nav-links { background: #fdfaf2; }
  :where(#ms-preview).theme-cote .ms-nav.open .ms-nav-links { background: #F1F7FA; }
  :where(#ms-preview) .ms-nav.open .ms-nav-link {
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: 8px;
  }
  :where(#ms-preview) .ms-nav.open .ms-nav-cta {
    display: inline-flex;
    position: absolute;
    top: 100%; left: 20px; right: 20px;
    margin-top: calc(14px + 4 * (12px + 14px*1.4) + 6px);
    justify-content: center;
    z-index: 1;
  }
}

/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  PAGE HEROES — Compact heroes for secondary pages         │
   │  (Travel, RSVP, Album).                                   │
   │  Réutilise les tokens des thèmes mais avec moins de       │
   │  hauteur, pas de countdown, et un eyebrow + titre + lead. │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.ms-pagehero {
  padding: 80px 32px 60px;
  text-align: center;
  position: relative;
}
.ms-pagehero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--accent, #7C6A52);
}
.ms-pagehero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 14px;
}
.ms-pagehero-rule {
  width: 50px; height: 1px;
  background: var(--accent-mid, #B89E84);
  margin: 0 auto 22px;
}
.ms-pagehero-lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* Theme overrides */
.theme-classique .ms-pagehero { background: var(--cream); }
.theme-classique .ms-pagehero-eyebrow { color: var(--accent); }

.theme-nature .ms-pagehero {
  background: linear-gradient(160deg, #f5f1e8 0%, #e8efe4 100%);
  position: relative;
  overflow: hidden;
}
.theme-nature .ms-pagehero::before,
.theme-nature .ms-pagehero::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(ellipse at center, rgba(122,155,128,.35) 0%, transparent 60%);
  pointer-events: none;
}
.theme-nature .ms-pagehero::before { top: -80px; left: -80px; }
.theme-nature .ms-pagehero::after { bottom: -80px; right: -80px; }
.theme-nature .ms-pagehero-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sage-deep);
}
.theme-nature .ms-pagehero-title { color: #2a3a2c; }
.theme-nature .ms-pagehero-rule { background: var(--sage); }
.theme-nature .ms-pagehero-lead { color: #5a6b5d; }

.theme-moderne .ms-pagehero {
  background: #fff;
  text-align: left;
  padding: 80px 60px 50px;
  border-bottom: 1px solid var(--stone-100);
}
.theme-moderne .ms-pagehero-eyebrow {
  font-size: .68rem;
  letter-spacing: .35em;
  color: var(--stone-400);
  font-weight: 600;
}
.theme-moderne .ms-pagehero-title {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}
.theme-moderne .ms-pagehero-rule {
  margin: 0 0 22px;
  width: 60px; height: 3px;
  background: var(--ink);
}
.theme-moderne .ms-pagehero-lead {
  margin: 0;
  max-width: 620px;
}

.theme-cote .ms-pagehero {
  background: linear-gradient(180deg, #F1F7FA 0%, #DCE9F0 100%);
  position: relative;
}
.theme-cote .ms-pagehero-eyebrow {
  color: var(--t-accent, #4A7390);
  font-weight: 600;
}
.theme-cote .ms-pagehero-title { color: #2a3a4a; }
.theme-cote .ms-pagehero-rule { background: var(--t-accent, #4A7390); }

@media (max-width: 768px) {
  .ms-pagehero { padding: 60px 24px 40px; }
  .theme-moderne .ms-pagehero { padding: 60px 30px 40px; }
}

/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  TRAVEL PAGE — Cartes hôtels + bloc transport + maps      │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.ms-travel-section {
  padding: 70px 32px;
  background: #fff;
}
.theme-classique .ms-travel-section { background: var(--cream); }
.theme-classique .ms-travel-section.alt { background: #fff; }
.theme-nature .ms-travel-section { background: linear-gradient(180deg, #f5f1e8 0%, #efeadf 100%); }
.theme-nature .ms-travel-section.alt { background: #fdfaf2; }
.theme-moderne .ms-travel-section { background: #fff; }
.theme-moderne .ms-travel-section.alt { background: var(--ink); color: #fff; }
.theme-cote .ms-travel-section { background: linear-gradient(180deg, #F1F7FA 0%, #fff 100%); }
.theme-cote .ms-travel-section.alt { background: #fff; }

.ms-travel-section-header {
  text-align: center;
  margin-bottom: 50px;
}
.theme-moderne .ms-travel-section-header { text-align: left; padding-left: 28px; }
.theme-moderne .ms-travel-section.alt .ms-travel-section-header { color: #fff; }

.ms-travel-section-num {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 16px;
}
.theme-classique .ms-travel-section-num,
.theme-nature .ms-travel-section-num { display: none; }
.theme-moderne .ms-travel-section.alt .ms-travel-section-num { color: var(--stone-300); }

/* Cards grid (hôtels) */
.ms-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.ms-card {
  background: #fff;
  border: 1px solid var(--stone-100);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.theme-classique .ms-card,
.theme-nature .ms-card { border-radius: 8px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.theme-nature .ms-card { background: #fdfaf2; }
.theme-moderne .ms-card { border-radius: 0; border: 1px solid var(--stone-200); }
.theme-moderne .ms-travel-section.alt .ms-card { background: #232220; border-color: rgba(255,255,255,.10); color: #fff; }
.theme-cote .ms-card { border-radius: 12px; background: #fff; border: 1px solid rgba(74,115,144,.14); box-shadow: 0 4px 18px rgba(74,115,144,.08); }

.ms-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.10); }

.ms-card-image {
  width: 100%; height: 180px;
  background-size: cover; background-position: center;
}
.ms-card-body { padding: 22px 22px 24px; }
.ms-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--ink);
}
.theme-moderne .ms-card-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -.005em;
}
.theme-moderne .ms-travel-section.alt .ms-card-title { color: #fff; }

.ms-card-subtitle {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent, #7C6A52);
  margin-bottom: 12px;
  font-weight: 500;
}
.theme-nature .ms-card-subtitle { color: var(--sage-deep); font-style: italic; font-family: var(--font-serif); letter-spacing: 0; text-transform: none; }
.theme-cote .ms-card-subtitle { color: var(--t-accent, #4A7390); }
.theme-moderne .ms-travel-section.alt .ms-card-subtitle { color: rgba(255,255,255,.7); }

.ms-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.theme-moderne .ms-travel-section.alt .ms-card-meta { color: rgba(255,255,255,.75); }
.ms-card-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.ms-card-meta svg { width: 13px; height: 13px; opacity: .65; }

.ms-card-desc {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.theme-moderne .ms-travel-section.alt .ms-card-desc { color: rgba(255,255,255,.78); }

.ms-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ms-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid var(--stone-200);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
}
.ms-card-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ms-card-btn svg { width: 12px; height: 12px; }
.ms-card-btn.primary {
  background: var(--accent, #7C6A52);
  color: #fff;
  border-color: var(--accent, #7C6A52);
}
.ms-card-btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.theme-nature .ms-card-btn.primary { background: var(--sage); border-color: var(--sage); }
.theme-nature .ms-card-btn.primary:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.theme-moderne .ms-card-btn { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .70rem; }
.theme-moderne .ms-card-btn.primary { background: var(--ink); border-color: var(--ink); }
.theme-moderne .ms-travel-section.alt .ms-card-btn { color: #fff; border-color: rgba(255,255,255,.3); }
.theme-moderne .ms-travel-section.alt .ms-card-btn.primary { background: #fff; color: var(--ink); border-color: #fff; }
.theme-cote .ms-card-btn.primary { background: var(--t-accent, #4A7390); border-color: var(--t-accent, #4A7390); }

/* Distance badge (à X km) */
.ms-card-badge {
  display: inline-block;
  padding: 3px 9px;
  background: var(--accent-light, #EDE0CF);
  color: var(--accent, #7C6A52);
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: 2px;
}
.theme-nature .ms-card-badge { background: var(--sage-light); color: var(--sage-deep); }
.theme-moderne .ms-card-badge { background: var(--ink); color: #fff; border-radius: 0; padding: 2px 8px; }
.theme-moderne .ms-travel-section.alt .ms-card-badge { background: #fff; color: var(--ink); }
.theme-cote .ms-card-badge { background: var(--t-accent-light, #DCE9F0); color: var(--t-accent, #4A7390); }

/* Info block — full-width avec icône + texte */
.ms-info-block {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.ms-info-item {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: 6px;
}
.theme-nature .ms-info-item { border-radius: 12px; background: #fdfaf2; border-color: rgba(122,155,128,.18); }
.theme-moderne .ms-info-item { border-radius: 0; border-color: var(--stone-200); }
.theme-moderne .ms-travel-section.alt .ms-info-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.10); color: #fff; }
.theme-cote .ms-info-item { border-radius: 12px; background: #fff; border-color: rgba(74,115,144,.14); }

.ms-info-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-light, #EDE0CF);
  color: var(--accent, #7C6A52);
  display: flex; align-items: center; justify-content: center;
}
.theme-nature .ms-info-icon { background: var(--sage-light); color: var(--sage-deep); }
.theme-moderne .ms-info-icon { background: var(--ink); color: #fff; border-radius: 0; }
.theme-moderne .ms-travel-section.alt .ms-info-icon { background: #fff; color: var(--ink); }
.theme-cote .ms-info-icon { background: var(--t-accent-light, #DCE9F0); color: var(--t-accent, #4A7390); }
.ms-info-icon svg { width: 18px; height: 18px; }

.ms-info-content { flex: 1; }
.ms-info-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.theme-moderne .ms-travel-section.alt .ms-info-title { color: #fff; }
.ms-info-text {
  font-size: .9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.theme-moderne .ms-travel-section.alt .ms-info-text { color: rgba(255,255,255,.75); }

/* Carte / Map embed */
.ms-map-wrap {
  max-width: 1100px;
  margin: 40px auto 0;
  aspect-ratio: 16/9;
  background: var(--stone-100);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-400);
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(0,0,0,.04) 49%, rgba(0,0,0,.04) 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(0,0,0,.04) 49%, rgba(0,0,0,.04) 51%, transparent 51%);
  background-size: 28px 28px;
}
.theme-moderne .ms-map-wrap { border-radius: 0; }
.theme-nature .ms-map-wrap { border-radius: 14px; }
.ms-map-placeholder {
  text-align: center;
  font-size: .85rem;
  background: rgba(255,255,255,.9);
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--stone-200);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ms-map-placeholder svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
  .ms-travel-section { padding: 50px 24px; }
  .ms-card-grid { grid-template-columns: 1fr; gap: 18px; }
  .ms-info-block { grid-template-columns: 1fr; gap: 14px; }
}

/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  RSVP PAGE — Forme single-page (vs mockup multi-screens)  │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.ms-rsvp-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 50px 32px 100px;
}
@media (max-width: 768px) { .ms-rsvp-page { padding: 36px 22px 80px; } }

/* Wrapper enveloppant pour donner un fond cohérent au formulaire RSVP */
.ms-rsvp-page-bg { background: transparent; }
.theme-classique .ms-rsvp-page-bg { background: var(--cream); }
.theme-nature .ms-rsvp-page-bg { background: linear-gradient(180deg, #f5f1e8 0%, #efeadf 100%); }
.theme-moderne .ms-rsvp-page-bg { background: #fff; }
.theme-cote .ms-rsvp-page-bg { background: #fff; margin: 32px clamp(20px, 4vw, 80px) 60px; border-radius: 8px; box-shadow: 0 16px 50px rgba(43,66,84,.1); }

/* Bloc "Votre invitation" */
.ms-rsvp-card {
  background: #fff;
  border: 1px solid var(--stone-100);
  padding: 36px 36px 32px;
  margin-bottom: 26px;
  border-radius: 6px;
}
.theme-nature .ms-rsvp-card { border-radius: 14px; background: #fdfaf2; border-color: rgba(122,155,128,.20); box-shadow: 0 4px 22px rgba(74,87,77,.06); }
.theme-moderne .ms-rsvp-card { border-radius: 0; border-color: var(--stone-200); }
.theme-cote .ms-rsvp-card { border-radius: 12px; background: #fff; border-color: rgba(74,115,144,.14); box-shadow: 0 4px 18px rgba(74,115,144,.08); }
@media (max-width: 768px) { .ms-rsvp-card { padding: 26px 22px 24px; } }

.ms-rsvp-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.theme-moderne .ms-rsvp-card-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

.ms-rsvp-card-sub {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

/* Liste personnes invitées */
.ms-rsvp-people {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.ms-rsvp-person-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 6px;
  background: var(--cream-2, #F2EEE8);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--ink);
}
.ms-rsvp-person-chip-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-mid, #B89E84);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .64rem;
  font-weight: 700;
}
.theme-nature .ms-rsvp-person-chip { background: var(--sage-light); }
.theme-nature .ms-rsvp-person-chip-avatar { background: var(--sage); }
.theme-moderne .ms-rsvp-person-chip { border-radius: 0; background: var(--stone-100); }
.theme-moderne .ms-rsvp-person-chip-avatar { border-radius: 0; background: var(--ink); }
.theme-cote .ms-rsvp-person-chip { background: var(--t-accent-light, #DCE9F0); }
.theme-cote .ms-rsvp-person-chip-avatar { background: var(--t-accent, #4A7390); }

/* Events checklist */
.ms-rsvp-events {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ms-rsvp-event {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream, #FAF8F5);
  border-radius: 6px;
  border: 1px solid var(--stone-100);
}
.theme-nature .ms-rsvp-event { background: #f5f1e8; border-color: rgba(122,155,128,.12); border-radius: 12px; }
.theme-moderne .ms-rsvp-event { border-radius: 0; }
.theme-cote .ms-rsvp-event { background: #F1F7FA; border-color: rgba(74,115,144,.12); border-radius: 10px; }

.ms-rsvp-event-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent, #7C6A52);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--stone-100);
}
.ms-rsvp-event-icon svg { width: 14px; height: 14px; }
.theme-moderne .ms-rsvp-event-icon { border-radius: 0; background: var(--ink); color: #fff; border-color: var(--ink); }
.theme-nature .ms-rsvp-event-icon { color: var(--sage-deep); }
.theme-cote .ms-rsvp-event-icon { color: var(--t-accent, #4A7390); }

.ms-rsvp-event-body { flex: 1; }
.ms-rsvp-event-title { font-weight: 600; color: var(--ink); font-size: .94rem; }
.ms-rsvp-event-time { font-size: .8rem; color: var(--ink-soft); }

.ms-rsvp-event-toggle {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.ms-rsvp-radio {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--stone-200);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--stone-400);
  transition: all .15s;
}
.ms-rsvp-radio svg { width: 14px; height: 14px; }
.ms-rsvp-radio:hover { border-color: var(--ink); color: var(--ink); }
.ms-rsvp-radio.active.yes { background: #22C55E; color: #fff; border-color: #22C55E; }
.ms-rsvp-radio.active.no { background: #EF4444; color: #fff; border-color: #EF4444; }
.theme-moderne .ms-rsvp-radio { border-radius: 0; }

/* Form fields */
.ms-rsvp-field { margin-bottom: 14px; }
.ms-rsvp-field-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 6px;
}
.ms-rsvp-field-input,
.ms-rsvp-field-textarea {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--stone-200);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--ink);
}
.theme-moderne .ms-rsvp-field-input,
.theme-moderne .ms-rsvp-field-textarea { border-radius: 0; }
.theme-nature .ms-rsvp-field-input,
.theme-nature .ms-rsvp-field-textarea { border-radius: 10px; }
.ms-rsvp-field-textarea { min-height: 100px; resize: vertical; }
.ms-rsvp-field-input:focus,
.ms-rsvp-field-textarea:focus { outline: none; border-color: var(--accent, #7C6A52); }

/* Big CTA submit */
.ms-rsvp-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--accent, #7C6A52);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.ms-rsvp-submit:hover { background: var(--ink); transform: translateY(-1px); }
.theme-nature .ms-rsvp-submit { background: var(--sage); border-radius: 12px; }
.theme-nature .ms-rsvp-submit:hover { background: var(--sage-deep); }
.theme-moderne .ms-rsvp-submit { background: var(--ink); border-radius: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.theme-moderne .ms-rsvp-submit:hover { background: var(--accent); }
.theme-cote .ms-rsvp-submit { background: var(--t-accent, #4A7390); border-radius: 10px; }

.ms-rsvp-deadline {
  text-align: center;
  font-size: .82rem;
  color: var(--ink-soft);
  margin-top: 18px;
  font-style: italic;
}

/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  ALBUM PAGE — Galerie photo adaptée aux 6 thèmes          │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.ms-album-section {
  padding: 40px 32px 80px;
  max-width: 1280px;
  margin: 0 auto;
  background: transparent;
}
@media (max-width: 768px) { .ms-album-section { padding: 28px 18px 60px; } }

/* Wrapper enveloppe : applique le fond du thème à la zone gallerie */
.ms-album-page-bg {
  background: var(--cream, #FAF8F5);
}
.theme-classique .ms-album-page-bg { background: var(--cream); }
.theme-nature .ms-album-page-bg { background: linear-gradient(180deg, #f5f1e8 0%, #efeadf 100%); }
.theme-moderne .ms-album-page-bg { background: #fff; }
.theme-cote .ms-album-page-bg { background: #fff; margin: 32px clamp(20px, 4vw, 80px) 60px; border-radius: 8px; box-shadow: 0 16px 50px rgba(43,66,84,.1); }

/* Toolbar : filtres à gauche + CTA Ajouter à droite */
.ms-album-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

/* Filters */
.ms-album-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ms-album-filter {
  padding: 9px 18px;
  background: #fff;
  border: 1px solid var(--stone-100);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.ms-album-filter svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.ms-album-filter:hover { color: var(--ink); border-color: var(--stone-200); }
.ms-album-filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.ms-album-filter-count {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(0,0,0,.06);
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: .70rem;
  font-weight: 600;
}
/* Pastille du compteur sur le filtre actif : voile sombre (le voile blanc d'origine ne tenait que sur l'encre noire ; sur la
   couleur du thème, il tombait sous 4,5:1 — rsvp-visuel, lot 1ter). */
.ms-album-filter.active .ms-album-filter-count { background: rgba(0,0,0,.18); color: #fff; }
/* Filtre actif (rsvp-visuel, lot 1ter) : jamais l'encre noire générique du socle ci-dessus — la couleur du thème, assombrie
   là où, pure, elle ne tient pas 4,5:1 avec le texte blanc. Garde : e2e/minisite/galerie-filtre-actif.spec.ts. */
.theme-classique .ms-album-filter.active {
  background: color-mix(in srgb, var(--accent) 80%, var(--ink));
  border-color: color-mix(in srgb, var(--accent) 80%, var(--ink));
}
.theme-moderne .ms-album-filter { border-radius: 0; }
/* Moderne : son --ink est l'encre générique sans déclinaison — d'où un mélange avec l'encre fixe, pas avec --ink. */
.theme-moderne .ms-album-filter.active {
  background: color-mix(in srgb, var(--accent) 60%, #1A1916);
  border-color: color-mix(in srgb, var(--accent) 60%, #1A1916);
}
.theme-nature .ms-album-filter { background: #fdfaf2; }
.theme-nature .ms-album-filter.active { background: var(--sage-deep); border-color: var(--sage-deep); }
/* Déclinaison encre : son --sage-deep est #1A1A1A, un noir ; son --sage (#3A3A3A) tient déjà 11:1. */
.theme-nature.variant-encre .ms-album-filter.active { background: var(--sage); border-color: var(--sage); }
.theme-cote .ms-album-filter.active { background: var(--t-accent, #4A7390); border-color: var(--t-accent, #4A7390); }
.theme-cote.variant-champagne .ms-album-filter.active,
.theme-cote.variant-rose .ms-album-filter.active,
.theme-cote.variant-sauge .ms-album-filter.active,
.theme-cote.variant-terracotta .ms-album-filter.active {
  background: color-mix(in srgb, var(--t-accent) 62%, var(--ink));
  border-color: color-mix(in srgb, var(--t-accent) 62%, var(--ink));
}

/* CTA Ajouter mes photos — bouton à part, à droite de la toolbar */
.ms-album-upload-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, background .15s;
  white-space: nowrap;
}
.ms-album-upload-cta:hover {
  background: var(--accent, #7C6A52);
  border-color: var(--accent, #7C6A52);
  transform: translateY(-1px);
}
.ms-album-upload-cta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.theme-moderne .ms-album-upload-cta { border-radius: 0; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; padding: 12px 18px; }
.theme-nature .ms-album-upload-cta { background: var(--sage); border-color: var(--sage); }
.theme-nature .ms-album-upload-cta:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.theme-cote .ms-album-upload-cta { background: var(--t-accent, #4A7390); border-color: var(--t-accent, #4A7390); border-radius: 10px; }

/* Stats row */
.ms-album-stats {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--ink-soft);
  margin-top: 16px;
}
.ms-album-stats strong { color: var(--ink); font-weight: 600; }
.ms-album-stats-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--stone-300); }
/* État vide de la grille (ex-style inline de GaleriePageClient, mêmes valeurs) : une classe, pour qu'un thème le recolore. */
.ms-album-empty { text-align: center; padding: 60px 0; color: var(--stone-400); font-size: .88rem; }

/* Grid */
.ms-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px;
}
@media (max-width: 768px) {
  .ms-album-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}

.ms-album-photo {
  position: relative;
  aspect-ratio: 1;
  background: var(--stone-100);
  overflow: hidden;
  cursor: pointer;
  /* Cellule = bouton (ouvre la visionneuse, qa-global lot 2) : sans le cadre ni la marge d'un bouton natif. */
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
}
.ms-album-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.ms-album-photo:hover img { transform: scale(1.04); }
.theme-classique .ms-album-photo,
.theme-nature .ms-album-photo { border-radius: 4px; }
.theme-nature .ms-album-photo { border-radius: 8px; }
.theme-moderne .ms-album-photo { border-radius: 0; }

.ms-album-photo-badge {
  position: absolute;
  top: 8px; right: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--gold, #B8962E);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.ms-album-photo-badge svg { width: 12px; height: 12px; }

.ms-album-photo-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 10px 8px;
  background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, transparent 100%);
  color: #fff;
  font-size: .72rem;
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ms-album-photo:hover .ms-album-photo-overlay { opacity: 1; }
.ms-album-photo-uploader { display: flex; align-items: center; gap: 4px; }
.ms-album-photo-uploader svg { width: 11px; height: 11px; }

/* Load more */
.ms-album-loadmore {
  display: block;
  margin: 36px auto 0;
  padding: 12px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}
.ms-album-loadmore:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.theme-moderne .ms-album-loadmore { border-radius: 0; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; padding: 13px 24px; }
.ms-album-loadmore-error { margin: 12px auto 0; text-align: center; font-size: .85rem; color: var(--stone-600); }


/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  THÈME 5 — ROMANTIQUE / ROMANTIC (code interne           │
   │  `aquarelle`, inchangé)                                   │
   │                                                          │
   │  Une ambiance, pas un lieu : un carnet peint à           │
   │  l'aquarelle. Ivoire rosé, rose poudré, pêche,           │
   │  terracotta adouci ; titres en Cormorant Garamond        │
   │  italique ; quelques lavis d'aquarelle très doux, posés  │
   │  en lisière, jamais sous le texte ; une fleur au trait   │
   │  fin (masque SVG teinté par l'accent) au lieu du ✿.      │
   │  Mise en page de carnet : texte calé à gauche, lavis à   │
   │  droite. Aucune rotation, aucun bouton penché, aucune    │
   │  photo de lieu : seule la photo de couverture du couple  │
   │  s'affiche, dans le médaillon du hero, si elle existe.       │
   │                                                          │
   │  Couleur : TOUT découle de --t-accent (posée par les     │
   │  déclinaisons .variant-*) ; sans déclinaison,            │
   │  terracotta rosé #C9826E. Ce bloc ne pose JAMAIS         │
   │  --t-accent lui-même. Textes et boutons dérivés          │
   │  (assombris) : ≥ 4,5:1 pour aucune déclinaison et les 7. │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
.theme-aquarelle {
  --rm-serif: 'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
  --rm-accent: var(--t-accent, #C9826E);                                      /* lavis, filets, fleur */
  --rm-accent-ink: color-mix(in oklab, var(--rm-accent) 54%, #3A1E1A);       /* accent lisible (texte) */
  --rm-btn: color-mix(in oklab, var(--rm-accent) 64%, #3A1E1A);              /* bouton plein, texte blanc */
  --rm-btn-hover: color-mix(in oklab, var(--rm-accent) 50%, #3A1E1A);
  --rm-paper: #FFF9F5;                                                       /* ivoire rosé */
  --rm-card: #FFFDFB;
  --rm-blush: color-mix(in oklab, var(--rm-accent) 12%, #FCEDE6);            /* rose poudré : sections alternées */
  --rm-soft: color-mix(in oklab, var(--rm-accent) 16%, #FFF6F1);             /* fond d'un élément actif */
  --rm-peach: color-mix(in oklab, var(--rm-accent) 30%, #F7CDB5);            /* pêche, seulement en lavis */
  --rm-wash: color-mix(in srgb, var(--rm-accent) 26%, transparent);
  --rm-wash-peach: color-mix(in srgb, var(--rm-peach) 55%, transparent);
  --rm-line: color-mix(in srgb, var(--rm-accent) 45%, transparent);
  --rm-line-faint: color-mix(in srgb, var(--rm-accent) 22%, transparent);
  --rm-ink: #4A2C26;                                                         /* encre prune chaude */
  --rm-ink-soft: #6E4C43;
  --rm-muted: #6F5048;
  --rm-sec-bg: var(--rm-paper);
  /* Une rose au trait fin, dessinée en masque : la couleur vient de l'accent, jamais un clip-art */
  --rm-flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M32 20c-6 0-10 4-10 9s4 9 10 9 10-4 10-9'/%3E%3Cpath d='M32 25c-3 0-5 2-5 4.5s2 4.5 5 4.5 5-2 5-4.5-2-3.5-4-3.5'/%3E%3Cpath d='M22 29c-5-2-8 1-8 5 0 5 6 9 18 9s18-4 18-9c0-4-3-7-8-5'/%3E%3Cpath d='M32 43v16'/%3E%3Cpath d='M32 53c-5-1-9-4-10-8 5 0 9 3 10 8z'/%3E%3Cpath d='M32 50c4-1 7-4 8-7-4 0-7 3-8 7z'/%3E%3C/svg%3E");
  background: var(--rm-paper);
  color: var(--rm-ink);
}

/* ── La fleur au trait (ornement commun) : un élément vide teinté par l'accent ── */
.theme-aquarelle .ms-hero-rule,
.theme-aquarelle .ms-title-rule,
.theme-aquarelle .ms-pagehero-rule {
  display: block;
  width: 72px; height: 1px;
  background: var(--rm-line);
  opacity: 1;
  position: relative;
}
.theme-aquarelle .ms-hero-rule::before,
.theme-aquarelle .ms-title-rule::before,
.theme-aquarelle .ms-pagehero-rule::before,
.theme-aquarelle .ms-hero-rule::after,
.theme-aquarelle .ms-title-rule::after,
.theme-aquarelle .ms-pagehero-rule::after { content: none; display: none; }

/* ════ BARRE DU MINI-SITE ════ */
.theme-aquarelle .ms-nav {
  background: color-mix(in srgb, var(--rm-paper) 92%, transparent);
  border-bottom: 1px solid var(--rm-line-faint);
}
.theme-aquarelle .ms-nav-brand {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--rm-ink);
}
.theme-aquarelle .ms-nav-brand em { font-style: italic; color: var(--rm-accent-ink); }
.theme-aquarelle .ms-nav-brand-date {
  display: inline-block;
  font-size: .64rem;
  letter-spacing: .18em;
  color: var(--rm-muted);
  border-left-color: var(--rm-line);
}
.theme-aquarelle .ms-nav-link {
  border-radius: 999px;
  color: var(--rm-ink-soft);
  font-size: .86rem;
}
.theme-aquarelle .ms-nav-link:hover { background: var(--rm-blush); color: var(--rm-ink); }
.theme-aquarelle .ms-nav-link.active {
  background: var(--rm-soft);
  color: var(--rm-accent-ink);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--rm-line-faint);
}
.theme-aquarelle .ms-nav-link:focus-visible,
.theme-aquarelle .ms-nav-cta:focus-visible,
.theme-aquarelle .ms-nav-burger:focus-visible,
.theme-aquarelle .ms-nav-brand:focus-visible {
  outline: 2px solid var(--rm-accent-ink);
  outline-offset: 3px;
}
.theme-aquarelle .ms-nav-cta {
  background: var(--rm-btn);
  color: #fff;
  border-radius: 999px;
  box-shadow: none;
  transform: none;
}
.theme-aquarelle .ms-nav-cta:hover { background: var(--rm-btn-hover); transform: none; }
.theme-aquarelle .ms-nav-burger { border-radius: 999px; border-color: var(--rm-line); color: var(--rm-ink); }

/* ════ HERO — page de carnet : texte calé à gauche, lavis en médaillon ovale à droite ════ */
.theme-aquarelle .ms-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: 72px clamp(24px, 7vw, 104px);
  /* Fond papier : la photo du couple ne va que dans le médaillon (.ms-hero-image, style en ligne posé par HeroSection). */
  background: var(--rm-paper);
  color: var(--rm-ink);
  text-align: left;
  overflow: hidden;
}
/* Deux lavis seulement, en lisière : haut gauche (rose) et bas centre (pêche), jamais sous les prénoms */
.theme-aquarelle .ms-hero::before,
.theme-aquarelle .ms-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(28px);
  z-index: 0;
}
.theme-aquarelle .ms-hero::before {
  top: -120px; left: -120px;
  width: 340px; height: 300px;
  background: radial-gradient(circle, var(--rm-wash) 0%, transparent 68%);
}
.theme-aquarelle .ms-hero::after {
  bottom: -140px; left: 42%;
  width: 360px; height: 260px;
  background: radial-gradient(circle, var(--rm-wash-peach) 0%, transparent 68%);
}
.theme-aquarelle .ms-hero-leaves-tl,
.theme-aquarelle .ms-hero-leaves-br,
.theme-aquarelle .ms-hero-rings,
.theme-aquarelle .ms-hero-bar { display: none; }

.theme-aquarelle .ms-hero-text {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0;
  background: none;
  text-align: left;
}
.theme-aquarelle .ms-hero-bottom { display: block; }
.theme-aquarelle .ms-hero-label {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--rm-accent-ink);
  margin: 0 0 18px;
}
.theme-aquarelle .ms-hero-names {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.005em;
  color: var(--rm-ink);
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
}
.theme-aquarelle .ms-hero-amp {
  font-style: italic;
  font-weight: 400;
  font-size: .5em;
  line-height: 1.35;
  color: var(--rm-accent-ink);
  margin: 0 0 0 .7em;
  padding: 0;
}
.theme-aquarelle .ms-hero-rule { margin: 30px 0 26px; }
.theme-aquarelle .ms-hero-date {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rm-ink);
}
.theme-aquarelle .ms-hero-venue {
  font-family: var(--rm-serif);
  font-style: italic;
  font-size: 1.22rem;
  color: var(--rm-ink-soft);
  margin-top: 6px;
}

/* Compte à rebours : chiffres en italique, alignés sur le texte */
.theme-aquarelle .ms-countdown {
  display: flex; justify-content: flex-start; flex-wrap: wrap;
  gap: 8px 30px;
  margin-top: 46px;
}
.theme-aquarelle .ms-cd {
  min-width: 0;
  padding: 0;
  background: none; border: none;
  backdrop-filter: none;
  text-align: left;
}
.theme-aquarelle .ms-cd-num {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--rm-accent-ink);
  font-variant-numeric: lining-nums;
}
.theme-aquarelle .ms-cd-label {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rm-muted);
  margin-top: 8px;
}

/* Le médaillon ovale (camée) : un lavis d'aquarelle (rose, pêche, ivoire) qui tient la place d'une photo, avec la rose au
   trait fin. Si le couple a déposé sa photo (lue en direct sur le mariage, posée en ligne sur .ms-hero-image par
   HeroSection), elle remplace le lavis et la rose s'efface. */
.theme-aquarelle .ms-hero-image {
  display: block;
  position: relative; z-index: 1;
  width: 100%;
  max-width: 420px;
  justify-self: center;
  aspect-ratio: 4 / 5;
  max-height: 70vh;
  border-radius: 50%;
  background-color: var(--rm-blush);
  background-image:
    radial-gradient(ellipse 70% 55% at 42% 36%, color-mix(in srgb, var(--rm-accent) 34%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 75% 50% at 62% 74%, var(--rm-wash-peach) 0%, transparent 68%),
    radial-gradient(ellipse 45% 40% at 28% 70%, rgba(255,255,255,.75) 0%, transparent 70%),
    linear-gradient(170deg, var(--rm-paper) 0%, var(--rm-blush) 55%, var(--rm-peach) 100%);
  background-size: cover;
  background-position: center;
  filter: none;
  transform: none;
  box-shadow: 0 0 0 10px var(--rm-paper), 0 0 0 11px var(--rm-line-faint);
}
.theme-aquarelle .ms-hero-image::before { content: none; }
.theme-aquarelle .ms-hero-image::after {
  content: '';
  position: absolute;
  left: 50%; top: 46%;
  width: 92px; height: 92px;
  transform: translate(-50%, -50%);
  background: var(--rm-accent-ink);
  opacity: .62;
  -webkit-mask: var(--rm-flower) center / contain no-repeat;
  mask: var(--rm-flower) center / contain no-repeat;
  pointer-events: none;
}
.theme-aquarelle .ms-hero-image[style*="url("]::after { display: none; }

/* ════ SECTIONS ════ */
.theme-aquarelle .ms-section {
  position: relative;
  padding: 112px 40px;
  background: var(--rm-paper);
  overflow: hidden;
  text-align: left;
}
.theme-aquarelle .ms-section.alt { --rm-sec-bg: var(--rm-blush); background: var(--rm-blush); }
.theme-aquarelle .ms-section::before,
.theme-aquarelle .ms-section::after { content: none; display: none; }
/* Un seul lavis, sur les sections alternées, en lisière droite, sous le contenu */
.theme-aquarelle .ms-section.alt::before {
  content: '';
  display: block;
  position: absolute;
  top: -60px; right: -110px;
  width: 300px; height: 260px;
  border-radius: 50%;
  filter: blur(26px);
  background: radial-gradient(circle, var(--rm-wash-peach) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.theme-aquarelle .ms-section > * { position: relative; z-index: 1; }
.theme-aquarelle .ms-section-num,
.theme-aquarelle .ms-person-num { display: none; }

.theme-aquarelle .ms-eyebrow {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--rm-accent-ink);
  margin: 0 auto 8px;
  max-width: 880px;
  text-align: left;
  padding: 0;
}
.theme-aquarelle .ms-title {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw, 3.5rem);
  line-height: 1.04;
  color: var(--rm-ink);
  margin: 0 auto;
  max-width: 880px;
  text-align: left;
  padding: 0;
  text-wrap: balance;
}
.theme-aquarelle .ms-title-rule { margin: 22px auto 44px; max-width: 880px; width: auto; background: none; }
.theme-aquarelle .ms-title-rule::before {
  content: '';
  display: block;
  width: 72px; height: 1px;
  background: var(--rm-line);
}
.theme-aquarelle .ms-text {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
  font-family: var(--rm-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--rm-ink-soft);
}
.theme-aquarelle .ms-text > * { max-width: 600px; }

/* Histoire (et section libre) */
.theme-aquarelle .ms-histoire-grid { display: block; max-width: 880px; margin: 0 auto; } /* la colonne des titres et du texte : l'image libre s'y aligne */
.theme-aquarelle .ms-custom-image {
  max-width: 560px;
  margin: 0 auto 32px 0;
  border-radius: 18px;
  overflow: hidden;
}
.theme-aquarelle .ms-custom-image img { display: block; width: 100%; height: auto; }

/* ════ LES MARIÉS : deux médaillons ovales, droits et alignés ════ */
.theme-aquarelle .ms-couple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 760px;
  margin: 8px auto 0;
}
.theme-aquarelle .ms-person { text-align: center; transform: none; }
.theme-aquarelle .ms-person:nth-child(1),
.theme-aquarelle .ms-person:nth-child(2) { transform: none; }
.theme-aquarelle .ms-person-photo {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 28px;
  border: none;
  border-radius: 50%;
  background-color: var(--rm-blush);
  background-image: linear-gradient(160deg, var(--rm-paper) 0%, var(--rm-blush) 55%, var(--rm-peach) 100%);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 8px var(--rm-sec-bg), 0 0 0 9px var(--rm-line-faint);
}
.theme-aquarelle .ms-person-photo::after { content: none; }
.theme-aquarelle .ms-person-content { padding: 0; }
.theme-aquarelle .ms-person-name {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 2.2rem;
  line-height: 1.1;
  color: var(--rm-ink);
  margin-bottom: 4px;
}
.theme-aquarelle .ms-person-role {
  font-family: var(--rm-serif);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rm-accent-ink);
  margin-bottom: 14px;
}
.theme-aquarelle .ms-person-bio {
  font-size: .95rem;
  line-height: 1.7;
  color: var(--rm-ink-soft);
  max-width: 300px;
  margin: 0 auto;
}

/* ════ LE PROGRAMME : une frise fine, heure en italique à gauche ════ */
.theme-aquarelle .ms-timeline {
  position: relative;
  max-width: 880px;
  margin: 8px auto 0;
  text-align: left;
}
.theme-aquarelle .ms-timeline::before {
  content: '';
  position: absolute;
  left: 129px; right: auto;
  top: 10px; bottom: 10px;
  width: 1px;
  background: var(--rm-line);
  opacity: 1;
}
.theme-aquarelle .ms-tl {
  position: relative;
  display: grid;
  grid-template-columns: 110px 40px minmax(0, 1fr);
  align-items: start;
  gap: 0;
  padding: 12px 0 18px;
  text-align: left;
  flex-direction: row;
}
.theme-aquarelle .ms-tl-when { width: auto; text-align: right; padding: 2px 0 0; }
.theme-aquarelle .ms-tl-date {
  font-family: var(--font-sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rm-muted);
  margin-bottom: 4px;
}
.theme-aquarelle .ms-tl-time {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--rm-accent-ink);
  font-variant-numeric: lining-nums;
}
.theme-aquarelle .ms-tl-dot {
  justify-self: center;
  width: 11px; height: 11px;
  margin: 20px 0 0;
  border-radius: 50%;
  background: var(--rm-soft);
  border: 1.5px solid var(--rm-accent-ink);
  box-shadow: 0 0 0 4px var(--rm-sec-bg);
  position: relative; z-index: 1;
  transform: none;
}
.theme-aquarelle .ms-tl-dot::after { display: none; }
.theme-aquarelle .ms-tl-content { padding: 16px 0 0 4px; text-align: left; }
.theme-aquarelle .ms-tl-title {
  font-family: var(--rm-serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--rm-ink);
  margin-bottom: 4px;
}
.theme-aquarelle .ms-tl-desc { font-size: .92rem; line-height: 1.55; color: var(--rm-ink-soft); }
.theme-aquarelle .ms-tl-empty {
  font-family: var(--rm-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rm-muted);
  padding: 12px 0 12px 150px;
}
/* Séparateur de jour : jour en italique, date en capitales, étiquette en pilule */
.theme-aquarelle .ms-tl-daysep {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0 0 6px;
  padding: 10px 0 12px 150px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--rm-line-faint);
  text-align: left;
}
.theme-aquarelle .ms-tl-daysep:not(:first-child) { margin-top: 26px; }
.theme-aquarelle .ms-tl-daysep-dow {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--rm-ink);
}
.theme-aquarelle .ms-tl-daysep-date {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rm-muted);
  flex: 0 0 auto;
  text-align: left;
}
.theme-aquarelle .ms-tl-daysep-tag {
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--rm-soft);
  color: var(--rm-accent-ink);
  border: 1px solid var(--rm-line-faint);
}
.theme-aquarelle .ms-tl-daysep-tag.main { background: var(--rm-btn); border-color: var(--rm-btn); color: #fff; }
/* `.main` est aussi la classe de la coquille de l'application (globals.css : flex: 1, marge de la barre latérale dès 1024 px) :
   dans ce séparateur en rangée flex, la pastille « Jour J » s'étirait sur toute la ligne. */
.theme-aquarelle .ms-tl-daysep-tag.main { flex: none; margin-left: 0; min-height: auto; overflow: visible; display: inline-block; }

/* ════ LE LIEU (section lieu, si présente) : médaillon ovale + texte, sans rotation ════ */
.theme-aquarelle .ms-section.ms-venue,
.theme-aquarelle .ms-venue-info { text-align: left; }
.theme-aquarelle .ms-venue-photo {
  border-radius: 50%;
  transform: none;
  max-width: 460px;
}
.theme-aquarelle .ms-venue-name { font-family: var(--rm-serif); font-style: italic; font-size: 1.9rem; color: var(--rm-ink); margin-bottom: 10px; }
.theme-aquarelle .ms-venue-address { font-family: var(--rm-serif); font-style: italic; font-size: 1.1rem; color: var(--rm-ink-soft); }
.theme-aquarelle .ms-venue-address svg { color: var(--rm-accent-ink); }

/* ════ LE MENU : une carte écrite à la main, une petite rose au trait par plat ════ */
.theme-aquarelle .ms-menu-courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px 56px;
  max-width: 880px;
  margin: 8px auto 0;
  padding: 0;
  background: none;
  border: none;
  text-align: left;
}
.theme-aquarelle .ms-menu-course { text-align: left; padding: 0; transform: none; }
.theme-aquarelle .ms-menu-course:nth-child(odd),
.theme-aquarelle .ms-menu-course:nth-child(even) { transform: none; }
.theme-aquarelle .ms-menu-course::before {
  content: '';
  display: block;
  width: 26px; height: 26px;
  margin: 0 0 10px;
  background: var(--rm-accent-ink);
  opacity: .7;
  -webkit-mask: var(--rm-flower) center / contain no-repeat;
  mask: var(--rm-flower) center / contain no-repeat;
}
.theme-aquarelle .ms-menu-course-name {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rm-accent-ink);
  margin-bottom: 6px;
  padding: 0;
}
.theme-aquarelle .ms-menu-items { list-style: none; margin: 0; padding: 0; }
.theme-aquarelle .ms-menu-items li {
  font-family: var(--rm-serif);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--rm-ink);
}
.theme-aquarelle .ms-menu-items li + li { margin-top: 2px; }

/* ════ GRAND COMPTE À REBOURS (si présent) : clair, lavis doux ════ */
.theme-aquarelle .ms-cdxl {
  position: relative;
  padding: 104px 40px;
  background: linear-gradient(160deg, var(--rm-paper) 0%, var(--rm-blush) 60%, color-mix(in oklab, var(--rm-blush) 60%, var(--rm-peach)) 100%);
  overflow: hidden;
  text-align: left;
}
.theme-aquarelle .ms-cdxl::before,
.theme-aquarelle .ms-cdxl::after { content: none; display: none; }
.theme-aquarelle .ms-cdxl-eyebrow { font-family: var(--rm-serif); font-style: italic; font-size: 1.2rem; color: var(--rm-accent-ink); max-width: 880px; margin: 0 auto 8px; padding: 0; text-align: left; }
.theme-aquarelle .ms-cdxl-title { font-family: var(--rm-serif); font-style: italic; font-weight: 400; font-size: clamp(2.3rem, 4.5vw, 3.3rem); color: var(--rm-ink); max-width: 880px; margin: 0 auto 44px; padding: 0; text-align: left; line-height: 1.05; }
.theme-aquarelle .ms-cdxl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; border: none; }
.theme-aquarelle .ms-cdxl-item { text-align: left; padding: 0; background: none; border: none; min-width: 0; }
.theme-aquarelle .ms-cdxl-num { font-family: var(--rm-serif); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--rm-accent-ink); line-height: 1; }
.theme-aquarelle .ms-cdxl-lbl { font-family: var(--rm-serif); font-style: italic; font-size: 1.05rem; color: var(--rm-ink-soft); margin-top: 8px; }

/* ════ BLOC RSVP : une page lavée de rose et de pêche, centrée, sans photo ════ */
.theme-aquarelle .ms-rsvp {
  position: relative;
  display: block;
  padding: 112px 24px;
  text-align: center;
  color: var(--rm-ink);
  background: linear-gradient(165deg, var(--rm-blush) 0%, color-mix(in oklab, var(--rm-blush) 55%, var(--rm-peach)) 100%);
  overflow: hidden;
}
/* Deux lavis aux coins opposés, loin du texte */
.theme-aquarelle .ms-rsvp::before,
.theme-aquarelle .ms-rsvp::after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.theme-aquarelle .ms-rsvp::before {
  top: -90px; left: -90px;
  width: 300px; height: 260px;
  background: radial-gradient(circle, var(--rm-wash) 0%, transparent 68%);
}
.theme-aquarelle .ms-rsvp::after {
  bottom: -100px; right: -80px;
  width: 320px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.7) 0%, transparent 68%);
}
.theme-aquarelle .ms-rsvp-content {
  position: relative; z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: none;
}
/* La rose au trait, au-dessus du sur-titre */
.theme-aquarelle .ms-rsvp-content::before {
  content: '';
  display: block;
  width: 46px; height: 46px;
  margin: 0 auto 14px;
  background: var(--rm-accent-ink);
  opacity: .7;
  -webkit-mask: var(--rm-flower) center / contain no-repeat;
  mask: var(--rm-flower) center / contain no-repeat;
}
.theme-aquarelle .ms-rsvp-eyebrow {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--rm-accent-ink);
  margin-bottom: 8px;
  padding: 0;
}
.theme-aquarelle .ms-rsvp-title {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  line-height: 1.05;
  color: var(--rm-ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.theme-aquarelle .ms-rsvp-title::after { content: none; }
.theme-aquarelle .ms-rsvp-text {
  font-family: var(--rm-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--rm-ink-soft);
  max-width: 460px;
  margin: 0 auto 32px;
}
.theme-aquarelle .ms-rsvp-btn {
  display: inline-block;
  padding: 16px 38px;
  background: var(--rm-btn);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  transform: none;
  justify-self: auto;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--rm-accent) 24%, transparent);
  transition: background .15s;
}
.theme-aquarelle .ms-rsvp-btn:hover { background: var(--rm-btn-hover); }
.theme-aquarelle .ms-rsvp-btn:focus-visible { outline: 2px solid var(--rm-accent-ink); outline-offset: 4px; }

/* ════ EN-TÊTE DES PAGES SECONDAIRES (transport, galerie, RSVP) ════ */
.theme-aquarelle .ms-pagehero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--rm-blush) 0%, var(--rm-paper) 100%);
  border-bottom: 1px solid var(--rm-line-faint);
}
.theme-aquarelle .ms-pagehero::before {
  content: '';
  position: absolute;
  top: -80px; left: calc(50% - 300px);
  width: 260px; height: 200px;
  border-radius: 50%;
  filter: blur(26px);
  background: radial-gradient(circle, var(--rm-wash) 0%, transparent 68%);
  pointer-events: none;
}
.theme-aquarelle .ms-pagehero > * { position: relative; }
.theme-aquarelle .ms-pagehero-eyebrow {
  font-family: var(--rm-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--rm-accent-ink);
}
.theme-aquarelle .ms-pagehero-title { font-family: var(--rm-serif); font-style: italic; font-weight: 400; color: var(--rm-ink); }
.theme-aquarelle .ms-pagehero-rule { margin: 16px auto 22px; }
.theme-aquarelle .ms-pagehero-lead { color: var(--rm-ink-soft); }

/* ════ TRANSPORT & HÉBERGEMENT ════ */
.theme-aquarelle .ms-travel-section { background: var(--rm-paper); }
.theme-aquarelle .ms-travel-section.alt { background: var(--rm-blush); }
.theme-aquarelle .ms-travel-section-num { display: none; }
.theme-aquarelle .ms-card {
  border-radius: 18px;
  background: var(--rm-card);
  border: 1px solid var(--rm-line-faint);
  box-shadow: 0 8px 28px rgba(74,44,38,.05);
}
.theme-aquarelle .ms-card:hover { transform: none; border-color: var(--rm-line); }
.theme-aquarelle .ms-card-title { font-family: var(--rm-serif); font-style: italic; font-weight: 500; font-size: 1.45rem; color: var(--rm-ink); }
.theme-aquarelle .ms-card-subtitle { color: var(--rm-accent-ink); }
.theme-aquarelle .ms-card-btn { border-radius: 999px; }
.theme-aquarelle .ms-card-btn.primary { background: var(--rm-btn); border-color: var(--rm-btn); color: #fff; }
.theme-aquarelle .ms-card-btn.primary:hover { background: var(--rm-btn-hover); border-color: var(--rm-btn-hover); }
.theme-aquarelle .ms-card-badge { background: var(--rm-soft); color: var(--rm-accent-ink); border-radius: 999px; }
.theme-aquarelle .ms-info-item { border-radius: 18px; background: var(--rm-card); border-color: var(--rm-line-faint); }
.theme-aquarelle .ms-info-icon { background: var(--rm-soft); color: var(--rm-accent-ink); }
.theme-aquarelle .ms-info-title { font-family: var(--rm-serif); font-style: italic; font-weight: 500; font-size: 1.2rem; color: var(--rm-ink); }
.theme-aquarelle .ms-map-wrap { border-radius: 18px; }

/* ════ ANCIENNE PAGE RSVP DU MINI-SITE (.ms-rsvp-page) ════ */
.theme-aquarelle .ms-rsvp-page-bg { background: linear-gradient(180deg, var(--rm-paper) 0%, var(--rm-blush) 100%); }
.theme-aquarelle .ms-rsvp-card { border-radius: 18px; background: var(--rm-card); border-color: var(--rm-line-faint); box-shadow: 0 8px 28px rgba(74,44,38,.05); }
.theme-aquarelle .ms-rsvp-card-title { font-family: var(--rm-serif); font-style: italic; font-weight: 400; color: var(--rm-ink); }
.theme-aquarelle .ms-rsvp-person-chip { background: var(--rm-soft); }
.theme-aquarelle .ms-rsvp-person-chip-avatar { background: var(--rm-btn); }
.theme-aquarelle .ms-rsvp-event { background: var(--rm-blush); border-radius: 14px; border-color: var(--rm-line-faint); }
.theme-aquarelle .ms-rsvp-event-icon { color: var(--rm-accent-ink); }
.theme-aquarelle .ms-rsvp-submit { background: var(--rm-btn); color: #fff; border-radius: 999px; }
.theme-aquarelle .ms-rsvp-submit:hover { background: var(--rm-btn-hover); transform: none; }

/* ════ GALERIE ════ */
.theme-aquarelle .ms-album-page-bg { background: var(--rm-paper); }
.theme-aquarelle .ms-album-filter { border-radius: 999px; background: var(--rm-card); border-color: var(--rm-line-faint); }
.theme-aquarelle .ms-album-filter.active { background: var(--rm-btn); border-color: var(--rm-btn); color: #fff; }
.theme-aquarelle .ms-album-upload-cta { background: var(--rm-btn); border-color: var(--rm-btn); color: #fff; border-radius: 999px; }
.theme-aquarelle .ms-album-photo { border-radius: 12px; }
/* Textes discrets de la galerie : le gris pierre générique tombait à 3,5:1 sur le papier rosé. */
.theme-aquarelle .ms-album-filter-count { color: var(--rm-ink-soft); }
/* Filtre actif : la pastille générique (blanc 20 %) éclaircissait le fond du bouton sous un texte blanc (3,7:1) ; ici elle fonce. */
.theme-aquarelle .ms-album-filter.active .ms-album-filter-count { background: rgba(0, 0, 0, .16); }
.theme-aquarelle .ms-album-empty { color: var(--rm-muted); }

/* ════ PIED : rose poudré, signature en italique, petite rose au trait ════ */
.theme-aquarelle .ms-footer {
  position: relative;
  padding: 44px 32px 46px;
  background: var(--rm-blush);
  border-top: 1px solid var(--rm-line-faint);
  color: var(--rm-ink-soft);
  text-align: center;
  font-family: var(--rm-serif);
  font-style: italic;
  font-size: 1.2rem;
  overflow: hidden;
}
.theme-aquarelle .ms-footer::before {
  content: '';
  display: block;
  width: 30px; height: 30px;
  margin: 0 auto 10px;
  background: var(--rm-accent-ink);
  opacity: .6;
  -webkit-mask: var(--rm-flower) center / contain no-repeat;
  mask: var(--rm-flower) center / contain no-repeat;
  filter: none;
  position: static;
}
.theme-aquarelle .ms-footer-rings,
.theme-aquarelle .ms-footer-leaves { display: none; }
.theme-aquarelle .ms-footer a { color: var(--rm-accent-ink); }

/* ════ MOBILE ════ */
@media (max-width: 860px) {
  .theme-aquarelle .ms-nav.open .ms-nav-links {
    background: var(--rm-paper);
    border-top-color: var(--rm-line-faint);
    border-bottom: 1px solid var(--rm-line-faint);
    box-shadow: 0 14px 24px rgba(74,44,38,.07);
  }
  .theme-aquarelle .ms-nav.open .ms-nav-link { border-radius: 12px; }
  .theme-aquarelle .ms-nav.open .ms-nav-link.active { box-shadow: inset 2px 0 0 var(--rm-accent-ink); }
  .theme-aquarelle .ms-nav-brand { font-size: 1.2rem; }
}
@container (max-width: 860px) {
  :where(#ms-preview).theme-aquarelle .ms-nav.open .ms-nav-links {
    background: var(--rm-paper);
    border-top-color: var(--rm-line-faint);
    border-bottom: 1px solid var(--rm-line-faint);
    box-shadow: 0 14px 24px rgba(74,44,38,.07);
  }
  :where(#ms-preview).theme-aquarelle .ms-nav.open .ms-nav-link { border-radius: 12px; }
  :where(#ms-preview).theme-aquarelle .ms-nav.open .ms-nav-link.active { box-shadow: inset 2px 0 0 var(--rm-accent-ink); }
  :where(#ms-preview).theme-aquarelle .ms-nav-brand { font-size: 1.2rem; }
}
@media (max-width: 768px) {
  /* Hero : le médaillon passe au-dessus, réduit ; le texte reste calé à gauche */
  .theme-aquarelle .ms-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    min-height: 0;
    padding: 40px 20px 48px;
  }
  .theme-aquarelle .ms-hero::before { top: -90px; left: -110px; width: 240px; height: 220px; }
  .theme-aquarelle .ms-hero::after { bottom: -110px; left: 30%; width: 240px; height: 200px; }
  .theme-aquarelle .ms-hero-image {
    order: -1;
    width: 62%;
    max-width: 240px;
    max-height: none;
    justify-self: center;
    box-shadow: 0 0 0 7px var(--rm-paper), 0 0 0 8px var(--rm-line-faint);
  }
  .theme-aquarelle .ms-hero-image::after { width: 64px; height: 64px; }
  .theme-aquarelle .ms-hero-names { font-size: 3.3rem; }
  .theme-aquarelle .ms-hero-label { font-size: 1.15rem; margin-bottom: 12px; }
  .theme-aquarelle .ms-hero-rule { margin: 24px 0 20px; }
  .theme-aquarelle .ms-hero-date { letter-spacing: .18em; font-size: .74rem; }
  .theme-aquarelle .ms-countdown { margin-top: 30px; gap: 8px 20px; }
  .theme-aquarelle .ms-cd-num { font-size: 1.9rem; }
  .theme-aquarelle .ms-cd-label { letter-spacing: .12em; font-size: .58rem; }

  .theme-aquarelle .ms-section { padding: 72px 20px; }
  .theme-aquarelle .ms-section.alt::before { right: -150px; width: 240px; height: 200px; }
  .theme-aquarelle .ms-title-rule { margin: 18px auto 32px; }
  .theme-aquarelle .ms-text { font-size: 1.2rem; }

  .theme-aquarelle .ms-couple { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .theme-aquarelle .ms-person-photo { max-width: 210px; }

  /* Frise : heure 62 px, pastille, contenu */
  .theme-aquarelle .ms-timeline::before { left: 74px; right: auto; }
  .theme-aquarelle .ms-tl { grid-template-columns: 62px 24px minmax(0, 1fr); padding: 10px 0 14px; }
  .theme-aquarelle .ms-tl-when { width: auto; padding-right: 0; }
  .theme-aquarelle .ms-tl-date { display: none; }
  .theme-aquarelle .ms-tl-time { font-size: 1.4rem; padding-top: 1px; }
  .theme-aquarelle .ms-tl-dot { margin-top: 7px; }
  .theme-aquarelle .ms-tl-content { padding: 0 0 0 10px; }
  .theme-aquarelle .ms-tl-title { font-size: 1.22rem; }
  .theme-aquarelle .ms-tl-daysep { padding-left: 0; gap: 2px 10px; }
  .theme-aquarelle .ms-tl-daysep-date { font-size: .62rem; }
  .theme-aquarelle .ms-tl-empty { padding-left: 0; }

  .theme-aquarelle .ms-menu-courses { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .theme-aquarelle .ms-menu-items li { font-size: 1.2rem; }

  .theme-aquarelle .ms-cdxl { padding: 72px 20px; }
  .theme-aquarelle .ms-cdxl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .theme-aquarelle .ms-rsvp { padding: 72px 20px; }
  .theme-aquarelle .ms-rsvp::before { top: -80px; left: -120px; width: 220px; height: 200px; }
  .theme-aquarelle .ms-rsvp::after { right: -120px; width: 220px; height: 200px; }
  .theme-aquarelle .ms-rsvp-title { font-size: 2.4rem; }
  .theme-aquarelle .ms-rsvp-btn { padding: 15px 28px; }
  .theme-aquarelle .ms-pagehero::before { left: -90px; }
}


/* ════════════════════════════════════════════════════════════
   ┌──────────────────────────────────────────────────────────┐
   │  THÈME 4 — MINIMAL  →  style « VIGNOBLE »                │
   │  Domaine viticole, chai. Refonte 2026-10-21.             │
   │                                                          │
   │  Une étiquette de grand cru posée sur les rangs de vigne │
   │  au soleil couchant : papier vergé crème, capitales      │
   │  d'étiquette (Marcellus), filets fins, un seul sarment   │
   │  (feuille de vigne + vrille) comme ornement récurrent.   │
   │  Lie-de-vin profond pour l'encre, vert de vigne pour la  │
   │  feuille, pierre de chai pour les sections alternées,    │
   │  bandeau final couleur de bouteille.                     │
   │                                                          │
   │  Le code interne reste « minimal » (aucune migration).   │
   │                                                          │
   │  Déclinaisons : les valeurs par défaut sont posées en    │
   │  :where(.theme-minimal) (spécificité nulle) → les règles │
   │  génériques .variant-… les remplacent toujours. Tout ce  │
   │  qui porte du TEXTE passe par --vg-deep / --vg-night,    │
   │  assombris depuis --t-accent par color-mix : lisibles    │
   │  quelle que soit la déclinaison (rose, champagne…).      │
   │  --t-accent brut ne sert qu'aux filets et ornements.     │
   └──────────────────────────────────────────────────────────┘
═══════════════════════════════════════════════════════════ */
:where(.theme-minimal) {
  --t-accent: #7A2E3B;          /* bordeaux du domaine (défaut) */
  --t-accent-mid: #B5727D;
  --t-accent-light: #F1E1E0;
  --t-bg: #F6F1E7;              /* papier vergé crème */
  --t-bg-alt: #ECE3D4;          /* pierre de chai */
  --t-text: #2B1A1C;            /* encre lie-de-vin très foncée */
  --t-text-soft: #54483F;
  --t-text-muted: #6B5D52;      /* ≥ 4,5:1 sur les deux fonds */

  --vg-paper: #FBF8F1;          /* étiquette */
  --vg-vine: #5F6B3C;           /* vert de la vigne (feuille, coche « présent ») */
  --vg-ocre: #E2C89A;           /* ocre pâle, sur fond sombre uniquement */
  --vg-deep: color-mix(in srgb, var(--t-accent) 55%, #1E0E10);   /* texte, boutons */
  --vg-night: color-mix(in srgb, var(--t-accent) 34%, #1C1013);  /* bandeau bouteille */
  --vg-line: color-mix(in srgb, var(--t-accent) 55%, transparent); /* filets */
  --vg-hair: rgba(60, 40, 30, .14);
  --vg-label: 'Marcellus', 'DM Serif Display', Georgia, serif;
  /* papier vergé : lignes de chaîne très fines */
  --vg-verge: repeating-linear-gradient(90deg, rgba(110, 85, 55, .028) 0 1px, transparent 1px 5px);
  /* feuille de vigne (trait), et sarment = filet + feuille + vrille — utilisés en masque, teintés par background */
  --vg-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M24 40C20 38 17 36 15 34L10 33C6 31 4 28 4 26C7 25 10 24 12 23C8 20 6 15 7 11C11 11 15 13 17 15C18 10 21 6 24 4C27 6 30 10 31 15C33 13 37 11 41 11C42 15 40 20 36 23C38 24 41 25 44 26C44 28 42 31 38 33L33 34C31 36 28 38 24 40Z'/%3E%3Cpath d='M24 46V12M24 30L14 20M24 30L34 20M24 35L10 29M24 35L38 29' stroke-width='1.1'/%3E%3C/svg%3E");
  --vg-sarment: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 13H82M122 13H198' stroke-width='1.1'/%3E%3Cg transform='translate(88 1) scale(.5)' stroke-width='2.6'%3E%3Cpath d='M24 40C20 38 17 36 15 34L10 33C6 31 4 28 4 26C7 25 10 24 12 23C8 20 6 15 7 11C11 11 15 13 17 15C18 10 21 6 24 4C27 6 30 10 31 15C33 13 37 11 41 11C42 15 40 20 36 23C38 24 41 25 44 26C44 28 42 31 38 33L33 34C31 36 28 38 24 40Z'/%3E%3Cpath d='M24 46V14M24 30L15 21M24 30L33 21' stroke-width='1.8'/%3E%3C/g%3E%3Cpath d='M110 22C114 24 119 22 119 18C119 15 116 14 114.5 15.5C113 17 114.5 19 116 18.5' stroke-width='1.1'/%3E%3C/svg%3E");
}
.theme-minimal {
  background: var(--t-bg);
  color: var(--t-text);
}

/* ══ BARRE DU MINI-SITE ═══════════════════════════════════════ */
.theme-minimal .ms-nav {
  background: rgba(246, 241, 231, .94);
  border-bottom: 1px solid var(--vg-hair);
  padding: 16px 40px;
}
.theme-minimal .ms-nav-brand {
  font-family: var(--vg-label);
  font-size: 1rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--t-text);
}
.theme-minimal .ms-nav-brand em {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--vg-deep);
  padding: 0 6px;
}
.theme-minimal .ms-nav-brand-date {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .64rem;
  letter-spacing: .2em;
  color: var(--t-text-muted);
  border-left: 1px solid var(--vg-line);
}
.theme-minimal .ms-nav-link {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--t-text-soft);
  padding: 8px 12px;
  border-radius: 0;
}
.theme-minimal .ms-nav-link:hover { background: transparent; color: var(--t-text); }
.theme-minimal .ms-nav-link.active {
  background: transparent;
  color: var(--vg-deep);
  font-weight: 600;
  box-shadow: inset 0 -1px 0 var(--vg-line);
}
.theme-minimal .ms-nav-link:focus-visible,
.theme-minimal .ms-nav-cta:focus-visible,
.theme-minimal .ms-rsvp-btn:focus-visible,
.theme-minimal .ms-nav-burger:focus-visible { outline: 2px solid var(--vg-deep); outline-offset: 2px; }
.theme-minimal .ms-nav-cta {
  background: var(--vg-deep);
  color: var(--vg-paper);
  border: 1px solid var(--vg-deep);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .7rem;
  font-weight: 600;
  padding: 9px 16px;
  box-shadow: none;
}
.theme-minimal .ms-nav-cta:hover { background: transparent; color: var(--vg-deep); transform: none; }
.theme-minimal .ms-nav-burger { border-radius: 2px; border-color: var(--vg-hair); color: var(--t-text); }

/* ══ HERO : l'étiquette posée sur les rangs de vigne ═════════ */
.theme-minimal .ms-hero {
  position: relative;
  min-height: 92vh;
  padding: 96px 32px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--t-text);
  background-color: #4A3328; /* secours si la photo ne charge pas */
  background-image:
    linear-gradient(180deg, rgba(28, 14, 16, .30) 0%, rgba(28, 14, 16, .12) 45%, rgba(28, 14, 16, .50) 100%),
    url('https://images.unsplash.com/photo-1504279577054-acfeccf8fc52?w=1600&q=80');
  background-size: cover;
  background-position: center 60%;
}
.theme-minimal .ms-hero::before,
.theme-minimal .ms-hero::after { display: none; }
.theme-minimal .ms-hero-rings,
.theme-minimal .ms-hero-image,
.theme-minimal .ms-hero-leaves-tl,
.theme-minimal .ms-hero-leaves-br { display: none; }
.theme-minimal .ms-hero-text {
  position: relative;
  width: 100%; max-width: 580px;
  padding: 52px 48px 40px;
  background: var(--vg-verge), var(--vg-paper);
  outline: 1px solid rgba(251, 248, 241, .7);
  outline-offset: 8px;
  box-shadow: 0 24px 60px rgba(20, 8, 10, .28);
}
/* filet d'étiquette intérieur */
.theme-minimal .ms-hero-text::before {
  content: ''; position: absolute; inset: 10px;
  border: 1px solid var(--vg-line);
  pointer-events: none;
}
.theme-minimal .ms-hero-bottom { display: block; }
/* la barre devient la feuille de vigne qui couronne l'étiquette */
.theme-minimal .ms-hero-bar {
  display: block;
  width: 30px; height: 30px; margin: 0 auto 18px;
  background: var(--vg-vine);
  -webkit-mask: var(--vg-leaf) center / contain no-repeat;
          mask: var(--vg-leaf) center / contain no-repeat;
}
.theme-minimal .ms-hero-label {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--vg-deep);
  margin-bottom: 22px;
  padding-left: .32em;
}
.theme-minimal .ms-hero-names {
  font-family: var(--vg-label);
  font-size: clamp(2.3rem, 4.6vw, 3.3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t-text);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.theme-minimal .ms-hero-names > span { padding-left: .08em; }
.theme-minimal .ms-hero-amp {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-size: .62em;
  line-height: 1.1;
  color: var(--vg-deep);
}
.theme-minimal .ms-hero-rule {
  width: 168px; height: 22px; margin: 24px auto 20px;
  background: var(--t-accent);
  -webkit-mask: var(--vg-sarment) center / contain no-repeat;
          mask: var(--vg-sarment) center / contain no-repeat;
}
.theme-minimal .ms-hero-date {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--t-text);
  padding-left: .3em;
}
.theme-minimal .ms-hero-venue {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--t-text-soft);
  margin-top: 8px;
}
.theme-minimal .ms-countdown {
  display: flex; justify-content: center; gap: 30px;
  margin: 28px auto 0; padding-top: 22px;
  border-top: 1px solid var(--vg-hair);
  max-width: 360px;
}
.theme-minimal .ms-cd { text-align: center; min-width: 0; padding: 0; background: none; border: none; }
.theme-minimal .ms-cd-num {
  font-family: var(--vg-label);
  font-size: 1.6rem; line-height: 1;
  color: var(--vg-deep);
}
.theme-minimal .ms-cd-label {
  font-size: .6rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--t-text-muted);
  margin-top: 8px;
}

/* ══ SECTIONS ═════════════════════════════════════════════════ */
.theme-minimal .ms-section {
  position: relative;
  padding: 112px 40px;
  background: var(--t-bg);
  text-align: center;
}
.theme-minimal .ms-section.alt { background: var(--t-bg-alt); }
.theme-minimal .ms-section::before,
.theme-minimal .ms-section::after { display: none; }
.theme-minimal .ms-section-num { display: none; } /* volontaire : le sur-titre dit déjà la même chose */
.theme-minimal .ms-eyebrow {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--vg-deep);
  margin-bottom: 16px;
  padding-left: .3em;
}
.theme-minimal .ms-title {
  font-family: var(--vg-label);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--t-text);
  margin: 0;
}
/* le filet sous chaque titre = le sarment, unique ornement récurrent */
.theme-minimal .ms-title-rule {
  display: block;
  width: 150px; height: 20px; margin: 20px auto 0;
  background: var(--t-accent);
  -webkit-mask: var(--vg-sarment) center / contain no-repeat;
          mask: var(--vg-sarment) center / contain no-repeat;
}
.theme-minimal .ms-text {
  max-width: 580px; margin: 36px auto 0;
  font-size: 1rem; line-height: 1.95;
  color: var(--t-text-soft);
}

/* Histoire : une colonne centrée */
.theme-minimal .ms-histoire-grid { display: block; max-width: 640px; margin: 0 auto; }

/* Mariés : deux médaillons ovales, comme sur une étiquette */
.theme-minimal .ms-couple {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; max-width: 760px; margin: 56px auto 0;
}
.theme-minimal .ms-person { text-align: center; }
.theme-minimal .ms-person-photo {
  width: 168px; height: 212px;
  border-radius: 50%;
  margin: 0 auto 28px;
  background-color: var(--t-bg);
  background-size: cover; background-position: center;
  border: none;
  box-shadow: 0 0 0 6px var(--t-bg-alt), 0 0 0 7px var(--vg-line);
}
.theme-minimal .ms-section:not(.alt) .ms-person-photo { box-shadow: 0 0 0 6px var(--t-bg), 0 0 0 7px var(--vg-line); }
.theme-minimal .ms-person-num { display: none; }
.theme-minimal .ms-person-content { padding: 0; }
.theme-minimal .ms-person-name {
  font-family: var(--vg-label);
  font-size: 1.5rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--t-text);
  padding-left: .1em;
}
.theme-minimal .ms-person-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--vg-deep);
  margin: 4px 0 14px;
}
.theme-minimal .ms-person-bio {
  font-size: .93rem; line-height: 1.8;
  color: var(--t-text-soft);
  max-width: 320px; margin: 0 auto;
}

/* Programme : heure d'étiquette · grain sur un fil · texte */
.theme-minimal .ms-timeline {
  max-width: 620px; margin: 52px auto 0;
  position: relative; text-align: left;
}
.theme-minimal .ms-timeline::before { display: none; }
.theme-minimal .ms-tl {
  display: grid;
  grid-template-columns: 104px 11px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
  padding: 0;
}
.theme-minimal .ms-tl-when { width: auto; text-align: right; padding-top: 1px; }
.theme-minimal .ms-tl-date {
  display: block;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--t-text-muted);
  margin-bottom: 2px;
}
.theme-minimal .ms-tl-time {
  font-family: var(--vg-label);
  font-size: 1.2rem; line-height: 1.2;
  color: var(--vg-deep);
}
.theme-minimal .ms-tl-dot {
  position: relative; align-self: stretch;
  width: 11px; height: auto; margin: 0;
  background: none; border: none; border-radius: 0;
}
.theme-minimal .ms-tl-dot::before {
  content: ''; position: absolute; top: 9px; left: 1px;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--t-accent);
  background: var(--t-accent-light);
}
.theme-minimal .ms-tl-dot::after {
  content: ''; display: block; position: absolute;
  top: 22px; bottom: 4px; left: 5px; width: 1px;
  background: var(--vg-line);
}
.theme-minimal .ms-tl:last-child .ms-tl-dot::after,
.theme-minimal .ms-tl:has(+ .ms-tl-daysep) .ms-tl-dot::after { display: none; }
.theme-minimal .ms-tl-content { padding: 0 0 26px; }
.theme-minimal .ms-tl-title {
  font-size: 1rem; font-weight: 600;
  color: var(--t-text);
  margin-bottom: 2px;
}
.theme-minimal .ms-tl-desc {
  font-size: .9rem; line-height: 1.6;
  color: var(--t-text-soft);
}
.theme-minimal .ms-tl-daysep {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
  padding: 34px 0 12px; margin-bottom: 20px;
  border-bottom: 1px solid var(--vg-hair);
}
.theme-minimal .ms-tl-daysep:first-child { padding-top: 0; }
.theme-minimal .ms-tl-daysep-dow {
  font-family: var(--vg-label);
  font-size: 1.15rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--t-text);
}
.theme-minimal .ms-tl-daysep-date {
  flex: 1;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--t-text-soft);
}
.theme-minimal .ms-tl-daysep-tag {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--vg-line);
  border-radius: 0;
  background: transparent;
  color: var(--vg-deep);
}
.theme-minimal .ms-tl-daysep-tag.main {
  /* Neutralise `.main` de la coquille de l'application (globals.css : flex: 1, marge de la barre latérale). */
  flex: none; margin-left: 0; min-height: auto; overflow: visible; display: inline-block;
  background: var(--vg-deep);
  border-color: var(--vg-deep);
  color: var(--vg-paper);
}

/* Lieu (section facultative) */
.theme-minimal .ms-venue-photo {
  width: 100%; max-width: 620px; aspect-ratio: 3 / 2;
  margin: 52px auto 32px;
  background-color: var(--t-bg-alt);
  background-size: cover; background-position: center;
  outline: 1px solid var(--vg-line); outline-offset: 6px;
  box-shadow: none; border-radius: 0;
}
.theme-minimal .ms-venue-photo::after { display: none; }
.theme-minimal .ms-venue-info { text-align: center; }
.theme-minimal .ms-venue-name {
  font-family: var(--vg-label);
  font-size: 1.4rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--t-text); margin-bottom: 10px;
}
.theme-minimal .ms-venue-address {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-style: normal;
  font-size: .9rem; color: var(--t-text-soft);
}
.theme-minimal .ms-venue-address svg { width: 14px; height: 14px; color: var(--vg-deep); }

/* Menu : une carte de table sur papier vergé, filet intérieur */
.theme-minimal .ms-menu-courses {
  display: block;
  max-width: 520px; margin: 52px auto 0;
  padding: 40px 36px;
  background: var(--vg-verge), var(--vg-paper);
  box-shadow: 0 0 0 1px var(--vg-hair);
  outline: 1px solid var(--vg-line); outline-offset: -10px;
  text-align: center;
}
.theme-minimal .ms-menu-course { padding: 16px 0; }
.theme-minimal .ms-menu-course::before { display: none; }
.theme-minimal .ms-menu-course + .ms-menu-course { border-top: 1px solid var(--vg-hair); }
.theme-minimal .ms-menu-course-name {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--vg-deep);
  margin-bottom: 8px;
  padding-left: .3em;
}
.theme-minimal .ms-menu-items { list-style: none; margin: 0; padding: 0; }
.theme-minimal .ms-menu-items li {
  font-family: var(--font-serif);
  font-size: 1.15rem; line-height: 1.55;
  color: var(--t-text);
}

/* Décompte XL (section facultative) */
.theme-minimal .ms-cdxl {
  position: relative;
  padding: 104px 40px;
  background: var(--t-bg-alt);
  text-align: center;
}
.theme-minimal .ms-cdxl::before,
.theme-minimal .ms-cdxl::after { display: none; }
.theme-minimal .ms-cdxl-eyebrow {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--vg-deep); margin-bottom: 16px; padding-left: .3em;
}
.theme-minimal .ms-cdxl-title {
  font-family: var(--vg-label);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  letter-spacing: .04em;
  color: var(--t-text); margin-bottom: 44px;
}
.theme-minimal .ms-cdxl-grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  max-width: 560px; margin: 0 auto;
  border: none;
}
.theme-minimal .ms-cdxl-item {
  flex: 1 1 0; min-width: 96px;
  padding: 6px 12px; background: none; border: none;
  text-align: center;
}
.theme-minimal .ms-cdxl-item + .ms-cdxl-item { border-left: 1px solid var(--vg-line); }
.theme-minimal .ms-cdxl-num {
  font-family: var(--vg-label);
  font-size: 2.8rem; line-height: 1;
  color: var(--vg-deep);
}
.theme-minimal .ms-cdxl-lbl {
  font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--t-text-muted); margin-top: 12px;
}

/* ══ BLOC RSVP : bandeau couleur de bouteille ════════════════ */
.theme-minimal .ms-rsvp {
  position: relative;
  padding: 112px 40px;
  background: var(--vg-night);
  color: var(--vg-paper);
  text-align: center;
}
.theme-minimal .ms-rsvp::after { display: none; }
.theme-minimal .ms-rsvp::before {
  content: ''; display: block;
  width: 150px; height: 20px; margin: 0 auto 26px;
  background: var(--vg-ocre);
  -webkit-mask: var(--vg-sarment) center / contain no-repeat;
          mask: var(--vg-sarment) center / contain no-repeat;
}
.theme-minimal .ms-rsvp-content { max-width: 520px; margin: 0 auto; }
.theme-minimal .ms-rsvp-eyebrow {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--vg-ocre);
  margin-bottom: 14px; padding-left: .3em;
}
.theme-minimal .ms-rsvp-title {
  font-family: var(--vg-label);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  letter-spacing: .04em; line-height: 1.2;
  color: var(--vg-paper);
  margin-bottom: 16px;
}
.theme-minimal .ms-rsvp-text {
  font-size: 1rem; line-height: 1.8;
  color: rgba(251, 248, 241, .84);
  margin-bottom: 36px;
}
.theme-minimal .ms-rsvp-btn {
  display: inline-block;
  padding: 16px 34px 16px calc(34px + .2em);
  border-radius: 2px;
  border: 1px solid var(--vg-paper);
  background: var(--vg-paper);
  color: var(--vg-deep);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.theme-minimal .ms-rsvp-btn:hover { background: transparent; color: var(--vg-paper); }
.theme-minimal .ms-rsvp-btn:focus-visible { outline-color: var(--vg-ocre); }

/* ══ PIED ═════════════════════════════════════════════════════ */
.theme-minimal .ms-footer {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 40px 32px 44px;
  background: var(--vg-night);
  border-top: 1px solid rgba(251, 248, 241, .12);
  text-align: center;
  font-family: var(--vg-label);
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(251, 248, 241, .8);
}
.theme-minimal .ms-footer::before { display: none; }
.theme-minimal .ms-footer-rings { display: none; }
/* la feuille du pied devient une feuille de vigne (le SVG d'origine est masqué) */
.theme-minimal .ms-footer-leaves {
  display: block;
  width: 22px; height: 22px; margin: 0 auto 12px;
  background: var(--vg-ocre);
  -webkit-mask: var(--vg-leaf) center / contain no-repeat;
          mask: var(--vg-leaf) center / contain no-repeat;
}
.theme-minimal .ms-footer-leaves svg { display: none; }
.theme-minimal .ms-footer a { color: var(--vg-paper); font-weight: 500; }

/* ══ PAGES SECONDAIRES ═══════════════════════════════════════ */
/* En-tête : bandeau photo d'un domaine sur sa colline, voile sombre */
.theme-minimal .ms-pagehero {
  padding: 92px 32px 72px;
  background-color: #3A2A22;
  background-image:
    linear-gradient(180deg, rgba(28, 14, 16, .64) 0%, rgba(28, 14, 16, .72) 100%),
    url('https://images.unsplash.com/photo-1596142332133-327e2a0ff006?w=1600&q=80');
  background-size: cover; background-position: center 40%;
  color: var(--vg-paper);
}
.theme-minimal .ms-pagehero-eyebrow {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--vg-ocre);
}
.theme-minimal .ms-pagehero-title {
  font-family: var(--vg-label);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.2rem);
  letter-spacing: .05em;
  color: var(--vg-paper);
}
.theme-minimal .ms-pagehero-rule {
  width: 150px; height: 20px; margin: 4px auto 18px;
  background: var(--vg-ocre);
  -webkit-mask: var(--vg-sarment) center / contain no-repeat;
          mask: var(--vg-sarment) center / contain no-repeat;
}
.theme-minimal .ms-pagehero-lead { color: rgba(251, 248, 241, .88); }

/* Transport & hébergement */
.theme-minimal .ms-travel-section { background: var(--t-bg); }
.theme-minimal .ms-travel-section.alt { background: var(--t-bg-alt); }
/* Numéro de rubrique : le gris pierre générique tombait à 2,9:1 sur la pierre de chai. */
.theme-minimal .ms-travel-section-num { color: var(--t-text-muted); }
.theme-minimal .ms-card {
  border-radius: 0;
  background: var(--vg-paper);
  border: 1px solid var(--vg-hair);
  box-shadow: none;
}
.theme-minimal .ms-card:hover { transform: none; box-shadow: 0 8px 24px rgba(43, 26, 28, .08); }
.theme-minimal .ms-card-title {
  font-family: var(--vg-label);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: var(--t-text);
}
.theme-minimal .ms-card-btn {
  border-radius: 2px;
  border-color: var(--vg-line);
  color: var(--vg-deep);
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .7rem; font-weight: 600; padding: 9px 16px;
}
.theme-minimal .ms-card-btn:hover { background: var(--vg-deep); border-color: var(--vg-deep); color: var(--vg-paper); }
.theme-minimal .ms-card-btn.primary { background: var(--vg-deep); border-color: var(--vg-deep); color: var(--vg-paper); }
.theme-minimal .ms-card-btn.primary:hover { background: var(--t-text); border-color: var(--t-text); }
.theme-minimal .ms-card-badge {
  border-radius: 0;
  background: var(--t-accent-light);
  color: var(--vg-deep);
}
.theme-minimal .ms-info-item { border-radius: 0; background: var(--vg-paper); border-color: var(--vg-hair); }
.theme-minimal .ms-info-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent;
  border: 1px solid var(--vg-line);
  color: var(--vg-deep);
}

/* Page RSVP historique (.ms-rsvp-page) */
.theme-minimal .ms-rsvp-page-bg { background: var(--t-bg); }
.theme-minimal .ms-rsvp-card {
  border-radius: 0; box-shadow: none;
  background: var(--vg-paper);
  border-color: var(--vg-hair);
}
.theme-minimal .ms-rsvp-card-title {
  font-family: var(--vg-label);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--t-text);
}
.theme-minimal .ms-rsvp-submit {
  background: var(--vg-deep);
  color: var(--vg-paper);
  border-radius: 2px;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .8rem; font-weight: 600;
}

/* Galerie */
.theme-minimal .ms-album-page-bg { background: var(--t-bg); }
.theme-minimal .ms-album-upload-cta {
  border-radius: 2px;
  background: var(--vg-deep); border-color: var(--vg-deep); color: var(--vg-paper);
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
}
.theme-minimal .ms-album-upload-cta:hover { background: var(--t-text); border-color: var(--t-text); }
.theme-minimal .ms-album-photo { border-radius: 0; }
.theme-minimal .ms-album-filter.active { background: var(--vg-deep); border-color: var(--vg-deep); color: #fff; }
/* Compteur du bandeau : posé sur la photo du domaine voilée, il passe en clair (l'encre générique y tombait à 1,6:1). */
.theme-minimal .ms-album-stats { color: rgba(251, 248, 241, .88); }
.theme-minimal .ms-album-stats strong { color: var(--vg-paper); }
.theme-minimal .ms-album-stats-dot { background: var(--vg-ocre); }
.theme-minimal .ms-album-empty { color: var(--t-text-muted); }
.theme-minimal .ms-album-loadmore {
  border-radius: 2px;
  border-color: var(--vg-line); color: var(--vg-deep);
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem;
}

/* ══ MOBILE ═══════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .theme-minimal .ms-nav { padding: 12px 20px; }
  .theme-minimal .ms-nav-brand { font-size: .9rem; letter-spacing: .12em; }
  .theme-minimal .ms-nav.open .ms-nav-links {
    background: var(--t-bg);
    border-top: 1px solid var(--vg-hair);
    box-shadow: 0 14px 28px rgba(43, 26, 28, .12);
  }
  .theme-minimal .ms-nav.open .ms-nav-link { border-radius: 0; }
  .theme-minimal .ms-nav.open .ms-nav-link.active { box-shadow: inset 2px 0 0 var(--vg-deep); }
}
@container (max-width: 860px) {
  :where(#ms-preview).theme-minimal .ms-nav { padding: 12px 20px; }
  :where(#ms-preview).theme-minimal .ms-nav-brand { font-size: .9rem; letter-spacing: .12em; }
  :where(#ms-preview).theme-minimal .ms-nav.open .ms-nav-links {
    background: var(--t-bg);
    border-top: 1px solid var(--vg-hair);
    box-shadow: 0 14px 28px rgba(43, 26, 28, .12);
  }
  :where(#ms-preview).theme-minimal .ms-nav.open .ms-nav-link { border-radius: 0; }
  :where(#ms-preview).theme-minimal .ms-nav.open .ms-nav-link.active { box-shadow: inset 2px 0 0 var(--vg-deep); }
}
@media (max-width: 768px) {
  .theme-minimal .ms-hero { min-height: 0; padding: 64px 18px; background-position: 40% center; }
  .theme-minimal .ms-hero-text { padding: 40px 22px 30px; outline-offset: 5px; }
  .theme-minimal .ms-hero-text::before { inset: 7px; }
  .theme-minimal .ms-hero-label { font-size: .62rem; letter-spacing: .24em; padding-left: .24em; }
  .theme-minimal .ms-hero-names { font-size: 2.15rem; letter-spacing: .06em; }
  .theme-minimal .ms-hero-date { font-size: .72rem; letter-spacing: .2em; padding-left: .2em; }
  .theme-minimal .ms-countdown { gap: 18px; }
  .theme-minimal .ms-cd-num { font-size: 1.35rem; }
  .theme-minimal .ms-cd-label { font-size: .56rem; letter-spacing: .12em; }

  .theme-minimal .ms-section,
  .theme-minimal .ms-cdxl,
  .theme-minimal .ms-rsvp { padding: 68px 22px; }
  .theme-minimal .ms-title { font-size: 1.75rem; }
  .theme-minimal .ms-text { margin-top: 28px; font-size: .96rem; }

  .theme-minimal .ms-couple { grid-template-columns: 1fr; gap: 48px; margin-top: 44px; }
  .theme-minimal .ms-person-photo { width: 148px; height: 186px; }

  .theme-minimal .ms-timeline { margin-top: 40px; }
  .theme-minimal .ms-tl { grid-template-columns: 52px 11px minmax(0, 1fr); column-gap: 12px; }
  .theme-minimal .ms-tl-date { display: none; } /* la date est déjà dans le séparateur de jour */
  .theme-minimal .ms-tl-time { font-size: 1.05rem; }
  .theme-minimal .ms-tl-daysep-dow { font-size: 1rem; }
  .theme-minimal .ms-tl-daysep-date { font-size: .92rem; }

  .theme-minimal .ms-menu-courses { padding: 30px 22px; margin-top: 40px; outline-offset: -7px; }
  .theme-minimal .ms-menu-items li { font-size: 1.05rem; }

  .theme-minimal .ms-cdxl-item { min-width: 0; padding: 6px 6px; }
  .theme-minimal .ms-cdxl-num { font-size: 2rem; }
  .theme-minimal .ms-cdxl-lbl { font-size: .56rem; letter-spacing: .12em; }

  .theme-minimal .ms-rsvp-btn { padding: 15px 22px 15px calc(22px + .16em); letter-spacing: .16em; }
  .theme-minimal .ms-footer { font-size: .74rem; letter-spacing: .14em; padding: 34px 20px 38px; }

  .theme-minimal .ms-pagehero { padding: 64px 22px 48px; }
}

/* ════════════════════════════════════════════
   HEURE DE LA FRISE (qa-global, lot 3) — commun aux six thèmes : en anglais, « p.m. » est un morceau à part
   (TimelineSection), plus petit, qui passe sous l'horloge quand la colonne de l'heure (taillée pour « 19h30 ») est trop
   étroite, au lieu de déborder sur le rond et le trait de la frise.
═══════════════════════════════════════════ */
.ms-tl-clock,
.ms-tl-period { white-space: nowrap; }
.ms-tl-period { font-size: .62em; letter-spacing: .04em; }

/* ════════════════════════════════════════════
   BLOC GALERIE DE L'ACCUEIL (qa-global, lot 3, RG-MS-005)
   Commun aux six thèmes : la section prend le style du thème (ms-section, ms-eyebrow, ms-title, alternance) ;
   vignettes et liens suivent la couleur du texte de la section (currentColor) — jamais un aplat d'encre.
═══════════════════════════════════════════ */
.ms-gallery-teaser { text-align: center; }
.ms-gallery-teaser .ms-gallery-lead { max-width: 560px; margin-left: auto; margin-right: auto; }
.ms-gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 28px auto 0;
}
.ms-gallery-grid a,
.ms-gallery-grid button { display: block; }
/* Aperçu sans slug : les liens sont des boutons (MinisiteGalleryTeaser) — même rendu qu'un lien. */
.ms-gallery-grid button { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
button.ms-gallery-link { font-family: inherit; color: inherit; cursor: pointer; }
.ms-gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}
.ms-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.ms-gallery-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: transparent;
  transition: background .15s;
}
.ms-gallery-link:hover { background: rgba(124, 106, 82, .12); }
@media (max-width: 600px) {
  .ms-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* Aperçu de l'éditeur : photos de l'album non lues (RG-MS-005, aucun échec silencieux). */
.ms-gallery-preview-error {
  margin: 0;
  padding: 16px 24px;
  text-align: center;
  font-size: .85rem;
  color: #8a3b2e;
  background: #fbefe9;
}
.ms-pagehero .ms-gallery-link { margin-top: 20px; }

/* qa-global lot 13 (RG-REC-007) : moments affichés sous leur événement, dans le texte secondaire du thème (.ms-tl-desc). */
.ms-timeline .ms-tl-moments { list-style: none; margin: 6px 0 0; padding: 0; }
.ms-tl-moments .ms-tl-moment { margin: 2px 0 0; }
.ms-tl-moment .ms-tl-moment-time { font-variant-numeric: tabular-nums; }
