/* ══════════════════════════════════════════════════════
   TEMPLATE-04 — Emma & Théo — ShinNO
   Palette : Rose poudré · Sauge · Ivoire blanc
   ══════════════════════════════════════════════════════ */

/* ── 0. Reset & Tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:    #c97b7b;
  --rose2:   #dea5a5;
  --rose3:   #f2d4d4;
  --rose4:   #fce9e9;
  --vert:    #6b9080;
  --vert2:   #8fada0;
  --vert3:   #c8ddd8;
  --vert4:   #e8f2ef;
  --blanc:   #faf8f5;
  --creme:   #f5ede0;
  --ink:     #3d3330;
  --ink2:    #5c4e4a;
  --muted:   rgba(61,51,48,.55);
  --line:    rgba(201,123,123,.2);
  --line-v:  rgba(107,144,128,.2);

  --shadow-sm: 0 4px 20px rgba(61,51,48,.06);
  --shadow-md: 0 12px 40px rgba(61,51,48,.10);
  --shadow-lg: 0 24px 70px rgba(61,51,48,.14);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --script:'Great Vibes', cursive;
  --sans:  'Jost', system-ui, sans-serif;

  --r:  18px;
  --r2: 12px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--blanc);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── 1. Intro ── */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#petal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.intro-seal {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  animation: seal-in .8s var(--ease) both;
}
.seal-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  position: absolute;
  animation: seal-spin 12s linear infinite;
}
.seal-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--rose);
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
@keyframes seal-in { from { opacity:0; transform:scale(.6); } to { opacity:1; transform:scale(1); } }

.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.intro-eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--vert);
  opacity: 0;
  animation: fade-up .8s .4s var(--ease) forwards;
}
.intro-names {
  font-family: var(--script);
  font-size: clamp(3.5rem, 12vw, 8rem);
  color: var(--rose);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fade-up 1s .7s var(--ease) forwards;
}
.intro-amp {
  font-family: var(--serif);
  font-size: 40%;
  font-style: italic;
  color: var(--vert);
  font-weight: 400;
}
.intro-date-text {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--ink2);
  opacity: 0;
  animation: fade-up .8s 1.1s var(--ease) forwards;
}
.intro-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rose2);
  opacity: 0;
  animation: fade-up .6s 1.4s var(--ease) forwards;
}
.intro-divider span {
  display: block;
  width: 50px;
  height: 1px;
  background: currentColor;
}

.reveal-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  height: 52px;
  border-radius: 999px;
  background: var(--rose);
  border: none;
  color: #fff;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  opacity: 0;
  animation: fade-up .8s 1.8s var(--ease) forwards;
  overflow: hidden;
  transition: background .3s, transform .3s;
}
.reveal-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rose2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.reveal-btn:hover { transform: translateY(-2px); }
.reveal-btn:hover::before { transform: scaleX(1); }
.reveal-btn-text, .reveal-btn svg { position: relative; z-index: 1; }
.reveal-btn-envelope { display: none; }

@keyframes fade-up {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Dissolve */
.intro-dissolve {
  position: absolute;
  inset: 0;
  background: var(--blanc);
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
}
.intro-dissolve.active { opacity: 1; }

/* ── 2. Audio btn ── */
.audio-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 7000;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--rose2);
  background: rgba(250,248,245,.9);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  transition: transform .3s, background .3s;
  box-shadow: var(--shadow-sm);
}
.audio-btn:hover { transform: scale(1.12); background: var(--rose4); }
.audio-btn.playing { animation: pulse-rose 2.2s ease-out infinite; }
@keyframes pulse-rose {
  0%   { box-shadow: 0 0 0 0 rgba(201,123,123,.4); }
  70%  { box-shadow: 0 0 0 12px rgba(201,123,123,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,123,123,0); }
}

/* ── 3. Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background .4s, padding .4s, box-shadow .4s;
}
.nav.scrolled {
  padding: 14px 40px;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--rose);
  transition: opacity .3s;
}
.nav-logo:hover { opacity: .75; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink2);
  transition: color .3s;
}
.nav-link:hover { color: var(--rose); }
.nav-cta {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--rose);
  color: var(--rose);
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--rose); color: #fff; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; }

/* Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 6500;
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.nav-drawer.open { transform: none; }
.drawer-close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: none;
  color: var(--ink2); opacity: .6;
}
.drawer-couple {
  font-family: var(--script);
  font-size: 2.2rem;
  color: var(--rose);
}
.drawer-link {
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink2);
  transition: color .3s;
}
.drawer-link:hover { color: var(--rose); }
.drawer-cta {
  padding: 10px 28px;
  border: 1.5px solid var(--rose);
  border-radius: 999px;
  color: var(--rose);
}
.drawer-date {
  font-size: .75rem;
  letter-spacing: .2em;
  color: var(--rose2);
}
.drawer-overlay {
  position: fixed; inset: 0; z-index: 6400;
  background: rgba(61,51,48,.3);
  display: none;
}
.drawer-overlay.visible { display: block; }

/* ── 4. Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── 5. Section common ── */
.section-header { text-align: center; margin-bottom: clamp(40px,7vw,70px); }
.section-kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1.2;
}

/* ── 6. Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg { position: absolute; inset: 0; will-change: transform; }
.hero-bg img { object-position: center top; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(250,248,245,.15) 0%,
    rgba(61,51,48,.4)   40%,
    rgba(61,51,48,.65)  100%
  );
}

/* Botanical corner frames */
.hero-frame { position: absolute; inset: 28px; pointer-events: none; }
.hf {
  position: absolute;
  width: 60px; height: 60px;
  border-color: rgba(250,248,245,.45);
  border-style: solid;
  border-width: 0;
}
.hf-tl { top:0; left:0; border-top-width:1px; border-left-width:1px; }
.hf-tr { top:0; right:0; border-top-width:1px; border-right-width:1px; }
.hf-bl { bottom:0; left:0; border-bottom-width:1px; border-left-width:1px; }
.hf-br { bottom:0; right:0; border-bottom-width:1px; border-right-width:1px; }

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(250,248,245,.8);
}
.eyebrow-line { display: block; width: 32px; height: 1px; background: currentColor; }
.hero-names {
  font-family: var(--script);
  font-size: clamp(4rem, 14vw, 10rem);
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 2vw, 24px);
  text-shadow: 0 2px 30px rgba(61,51,48,.3);
}
.hero-amp {
  font-family: var(--serif);
  font-size: 35%;
  font-style: italic;
  font-weight: 400;
  color: var(--rose3);
}
.hero-date {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-style: italic;
  color: rgba(250,248,245,.9);
  letter-spacing: .04em;
}
.hero-lieu {
  font-size: .8rem;
  letter-spacing: .18em;
  color: rgba(250,248,245,.65);
  text-transform: uppercase;
}

/* Countdown */
.hero-countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(6px, 2vw, 20px);
  margin-top: 6px;
}
.cd-item { display: flex; flex-direction: column; align-items: center; min-width: 52px; }
.cd-num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.cd-lbl {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(250,248,245,.55);
  margin-top: 4px;
}
.cd-dot {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--rose2);
  opacity: .7;
  margin-top: 4px;
}

.hero-cta {
  display: inline-flex;
  padding: 12px 32px;
  border-radius: 999px;
  background: rgba(250,248,245,.18);
  border: 1.5px solid rgba(250,248,245,.6);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-top: 8px;
  transition: background .3s, border-color .3s;
}
.hero-cta:hover { background: rgba(250,248,245,.3); border-color: #fff; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .55;
}
.scroll-track { width: 1px; height: 44px; background: rgba(250,248,245,.25); position: relative; overflow: hidden; }
.scroll-dot {
  position: absolute;
  top: -100%; width: 100%; height: 100%;
  background: rgba(250,248,245,.8);
  animation: scroll-fall 1.9s ease-in-out infinite;
}
@keyframes scroll-fall { 0%{ top:-100%; } 100%{ top:200%; } }

/* ── 7. Annonce ── */
.annonce {
  background: var(--blanc);
  padding: clamp(60px,10vw,120px) clamp(20px,6vw,60px);
  position: relative;
  text-align: center;
}
.annonce-deco {
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--blanc));
  position: relative;
}
.deco-top { background: linear-gradient(to bottom, var(--creme), var(--blanc)); }
.deco-bottom { background: linear-gradient(to bottom, var(--blanc), var(--creme)); }

.annonce-card {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: clamp(40px,6vw,70px) clamp(32px,5vw,60px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201,123,123,.12);
}
.annonce-leaf {
  position: absolute;
  font-size: 2rem;
  opacity: .35;
  user-select: none;
}
.annonce-leaf-l { top: 20px; left: 20px; transform: rotate(-30deg); }
.annonce-leaf-r { top: 20px; right: 20px; transform: rotate(30deg) scaleX(-1); }

.annonce-kicker {
  font-size: .82rem;
  letter-spacing: .14em;
  color: var(--vert);
  margin-bottom: 20px;
}
.annonce-familles {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 10px;
}
.annonce-familles em { color: var(--rose); font-style: normal; }
.annonce-corps {
  font-size: .9rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 20px;
}
.annonce-noms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.an-prenom {
  font-family: var(--script);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--rose);
  line-height: 1;
}
.an-et {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--vert);
}
.annonce-quand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.annonce-ou {
  font-size: .85rem;
  color: var(--vert);
  letter-spacing: .1em;
  margin-bottom: 24px;
}
.annonce-quote {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.75;
}
.annonce-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--muted);
  font-family: var(--sans);
}

/* ── 8. Notre Histoire ── */
.histoire {
  background: var(--creme);
  padding: clamp(60px,10vw,120px) clamp(20px,6vw,60px);
}
.tl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.tl-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tl-year-badge {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--rose3);
  border: 1px solid var(--rose2);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--rose);
}
.tl-year-special { background: var(--rose); color: #fff; border-color: var(--rose); }
.tl-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 3px solid #fff;
}
.tl-photo-final {
  background: linear-gradient(135deg, var(--rose4) 0%, var(--vert4) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.tl-final-icon { font-size: 2.5rem; }
.tl-final-text {
  font-family: var(--serif);
  font-size: .95rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  text-align: center;
}
.tl-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.tl-text {
  font-size: .85rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── 9. Programme ── */
.programme {
  background: var(--blanc);
  padding: clamp(60px,10vw,120px) clamp(20px,6vw,60px);
}
.prog-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto 40px;
}
.prog-card {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
  position: relative;
  overflow: hidden;
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prog-card-main {
  border-color: var(--rose2);
  overflow: hidden;
  padding: 0;
}
.prog-photo-bg {
  position: absolute;
  inset: 0;
}
.prog-photo-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(250,248,245,.1) 0%, rgba(250,248,245,.92) 55%);
}
.prog-card-inner {
  position: relative;
  z-index: 1;
  padding: 200px 28px 36px;
}
.prog-icon-wrap {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.prog-label {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--vert);
  background: var(--vert4);
  border: 1px solid var(--vert3);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.prog-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}
.prog-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.prog-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--ink2);
  line-height: 1.55;
}
.prog-list svg { flex-shrink: 0; color: var(--rose); margin-top: 2px; }
.prog-btn {
  display: inline-flex;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--vert2);
  color: var(--vert);
  font-size: .78rem;
  letter-spacing: .1em;
  transition: background .3s, color .3s;
}
.prog-btn:hover { background: var(--vert); color: #fff; border-color: var(--vert); }
.prog-btn-rose { border-color: var(--rose2); color: var(--rose); }
.prog-btn-rose:hover { background: var(--rose); color: #fff; border-color: var(--rose); }

.dresscode {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
  background: var(--rose4);
  border: 1px solid var(--rose3);
  border-radius: var(--r2);
  padding: 18px 20px;
  font-size: .88rem;
  color: var(--ink2);
  line-height: 1.7;
}
.dresscode-icon { font-size: 1.2rem; flex-shrink: 0; }
.dresscode strong { color: var(--rose); }

/* ── 10. Galerie ── */
.galerie {
  background: var(--creme);
  padding: clamp(60px,10vw,120px) clamp(20px,6vw,60px);
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 14px;
  max-width: 1040px;
  margin: 0 auto;
}
.gal-portrait { grid-row: span 2; }
.gal-landscape { grid-column: span 2; }

.gal-item {
  position: relative;
  border-radius: var(--r2);
  overflow: hidden;
  cursor: pointer;
  /* Polaroid effect */
  background: #fff;
  padding: 8px 8px 28px;
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
  transition: transform .4s var(--ease), box-shadow .4s;
}
.gal-item:nth-child(odd)  { --rot: -0.6deg; }
.gal-item:nth-child(even) { --rot:  0.5deg; }
.gal-item:hover { transform: scale(1.03) rotate(0deg); box-shadow: var(--shadow-md); }
.gal-item img { border-radius: 6px; }

.gal-caption {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  text-align: center;
  font-family: var(--script);
  font-size: 1rem;
  color: var(--rose);
}

/* ── 11. RSVP ── */
.rsvp {
  background: var(--blanc);
  padding: clamp(60px,10vw,120px) clamp(20px,6vw,60px);
  position: relative;
}
.rsvp-deco {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--rose3), var(--vert3), var(--rose3));
}
.rsvp-wrap {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.rsvp-title {
  font-family: var(--script);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--rose);
  margin-bottom: 10px;
  line-height: 1.1;
}
.rsvp-sub {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.7;
}
.rsvp-sub strong { color: var(--rose); font-weight: 500; }

.rsvp-form { text-align: left; }
.hp { position: absolute; left: -9999px; visibility: hidden; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.field {
  position: relative;
  margin-bottom: 28px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(201,123,123,.25);
  padding: 14px 0 8px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--rose); }
.field label, .select-lbl {
  position: absolute;
  top: 14px; left: 0;
  font-size: .9rem;
  font-weight: 300;
  color: var(--muted);
  pointer-events: none;
  transition: top .25s var(--ease), font-size .25s, color .25s;
}
.field input:not(:placeholder-shown) ~ label,
.field input:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field select:focus ~ .select-lbl {
  top: 0; font-size: .7rem; color: var(--rose);
}
.field-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--rose);
  transition: width .35s var(--ease);
}
.field input:focus ~ .field-line,
.field textarea:focus ~ .field-line,
.field select:focus ~ .field-line { width: 100%; }
.field select option { background: var(--blanc); }
.field-ta textarea { min-height: 76px; resize: none; }

/* Presence */
.field-presence {
  border: none;
  margin-bottom: 28px;
}
.field-presence legend {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 14px;
  display: block;
}
.presence-btns { display: flex; gap: 12px; }
.pres-btn { flex: 1; cursor: pointer; }
.pres-btn input { position: absolute; opacity: 0; pointer-events: none; }
.pres-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--r2);
  border: 1.5px solid var(--rose3);
  font-size: .88rem;
  color: var(--ink2);
  transition: border-color .3s, background .3s, color .3s;
}
.pres-btn input:checked ~ span {
  border-color: var(--rose);
  background: var(--rose4);
  color: var(--rose);
}

/* Captcha */
.captcha-wrap {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.captcha-label {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
  flex-shrink: 0;
}
.captcha-label strong { color: var(--rose); font-weight: 600; }
.field-captcha { flex: 1; }

/* Submit */
.rsvp-submit {
  width: 100%;
  height: 54px;
  border-radius: 999px;
  background: var(--rose);
  border: none;
  color: #fff;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 4px 20px rgba(201,123,123,.3);
}
.rsvp-submit:hover {
  background: var(--rose2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,123,123,.35);
}
.rsvp-submit:disabled { opacity: .6; pointer-events: none; }

.rsvp-feedback {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--r2);
  font-size: .88rem;
  display: none;
}
.rsvp-feedback.ok {
  display: block;
  background: #f0faf3;
  border: 1px solid #b3ddc0;
  color: #2e7d32;
}
.rsvp-feedback.err {
  display: block;
  background: var(--rose4);
  border: 1px solid var(--rose2);
  color: var(--rose);
}

/* ── 12. Footer ── */
.footer {
  background: var(--creme);
  border-top: 1px solid var(--line);
  padding: 60px 24px 40px;
  text-align: center;
}
.footer-leaves {
  font-size: 1.2rem;
  margin-bottom: 20px;
  letter-spacing: 8px;
}
.footer-names {
  font-family: var(--script);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--rose);
  margin-bottom: 8px;
}
.footer-date {
  font-size: .78rem;
  letter-spacing: .28em;
  color: var(--vert);
  margin-bottom: 4px;
}
.footer-lieu {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.footer-divider {
  width: 60px; height: 1px;
  background: var(--line);
  margin: 0 auto 16px;
}
.footer-credit { font-size: .75rem; color: var(--muted); }
.footer-credit span { color: var(--rose); font-weight: 500; }

/* ── 13. Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .tl { grid-template-columns: repeat(2, 1fr); }
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card-inner { padding: 180px 24px 28px; }

  .gal-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gal-portrait { grid-row: span 1; }
  .gal-landscape { grid-column: span 1; }
  .gal-item { aspect-ratio: 1; }

  .form-row { grid-template-columns: 1fr; }
  .captcha-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .nav { padding: 18px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .tl { grid-template-columns: 1fr 1fr; gap: 16px; }
  .annonce-card { padding: 32px 24px; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item { aspect-ratio: 3/2; }
  .hero-countdown { gap: 8px; }
  .cd-item { min-width: 40px; }
}
