/* ==========================================================================
   Faire-part de mariage — style.css
   Palette extraite du faire-part papier (cf. 1.svg)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600&family=Jost:wght@300;400;500;600&family=Sacramento&display=swap');

:root {
  /* Couleurs — extraites du faire-part */
  --cream: #ffede2;
  --cream-soft: #fff6f0;
  --coral: #ffb384;
  --orange: #ff8c00;
  --orange-2: #ff6a1a;
  --magenta: #d42367;
  --yellow: #ffd700;
  --pink: #ffb6c1;
  --purple: #9370db;
  --blue: #7ec8e3;
  --ink: #2b2018;
  --ink-soft: #6b5a4c;
  --white: #fffdfb;

  /* Typo */
  --font-script: 'Sacramento', cursive;
  --font-display: 'Fraunces', serif;
  --font-body: 'Jost', sans-serif;

  /* Rythme */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;

  --radius: 18px;
  --max-width: 840px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); margin: 0 0 var(--space-2); font-weight: 600; }

p { margin: 0 0 var(--space-2); }

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

/* Accessibilité : focus visible clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Bandeaux floraux (signature visuelle du site)
   -------------------------------------------------------------------------- */
.floral-band {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--cream);
}
.floral-band img { width: 100%; height: auto; }
.floral-band--top { margin-bottom: -1px; }
.floral-band--bottom { margin-top: -1px; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 237, 226, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(212, 35, 103, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-1) var(--space-3);
  max-width: var(--max-width);
  margin-inline: auto;
}

.nav__monogram {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.nav__monogram-img {
  height: 64px;
  width: 64px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.nav__monogram:hover .nav__monogram-img { transform: scale(1.06); }

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav__toggle span,
.nav__toggle::before,
.nav__toggle::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--magenta);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Barres du haut/bas repliées sur la barre du milieu (span) pour former le X */
.nav__toggle[aria-expanded="true"] span { opacity: 0; }
.nav__toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }

.nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream-soft);
  padding: var(--space-3);
  border-bottom: 1px solid rgba(212, 35, 103, 0.12);
}
.nav__links[data-open="true"] { display: flex; }

.nav__links a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  display: block;
  padding: var(--space-1) 0;
}
.nav__links a[aria-current="page"] { color: var(--magenta); }

@media (min-width: 640px) {
  .nav__toggle { display: none; }
  .nav__links {
    display: flex;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    border: none;
    gap: var(--space-4);
  }
}

/* --------------------------------------------------------------------------
   Arche décorative — élément signature repris du faire-part
   -------------------------------------------------------------------------- */
.arch {
  position: relative;
  border: 3px solid var(--coral);
  border-bottom: none;
  border-radius: 140px 140px 0 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: var(--cream-soft);
}

.arch-frame {
  border: 3px solid var(--coral);
  border-bottom: none;
  border-radius: 160px 160px 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 440px;
  margin-inline: auto;
  background: var(--white);
}
.arch-frame img,
.arch-frame .placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arch-frame .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: center;
  padding: var(--space-2);
  background: repeating-linear-gradient(135deg, var(--cream) 0 12px, var(--cream-soft) 12px 24px);
}

/* Accents floraux en coin, façon "la fleur dépasse de derrière la photo" :
   le wrapper reste en overflow visible (contrairement à .arch-frame) pour
   laisser les fleurs déborder, et passe derrière le cadre (z-index) qui les
   recouvre partiellement. mix-blend-mode: multiply efface le fond blanc plein
   des visuels aquarelle (assets/flowers/*.avif) en le fondant dans le fond
   crème de la page — sans avoir besoin d'un fichier détouré/transparent. */
.arch-frame-wrap {
  position: relative;
}
.arch-frame-wrap .arch-frame {
  position: relative;
  z-index: 1;
}
/* max-width identique à celui de .arch-frame (et son override desktop
   ci-dessous) plutôt que "width: fit-content" : avec un enfant en
   aspect-ratio + width:auto, le shrink-to-fit du fit-content se calcule de
   façon incohérente selon la largeur du viewport, ce qui désalignait les
   fleurs du coin de l'arche en mobile. Un max-width fixe et identique aux
   deux niveaux élimine cette ambiguïté. */
.arch-frame-wrap--center {
  max-width: 440px;
  margin-inline: auto;
}
@media (min-width: 820px) {
  .arch-frame-wrap--center { max-width: 520px; }
}
.arch-frame-wrap__flower {
  position: absolute;
  z-index: 0;
  width: 110px;
  opacity: 0.92;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.arch-frame-wrap__flower--tl { top: -5px; left: -10px; }
.arch-frame-wrap__flower--tr { top: -5px; right: -10px; transform: scaleX(-1); }
/* bouquet-rond.avif a beaucoup plus de marge blanche autour du bouquet que
   bouquet-coin.avif (dont les fleurs/feuilles touchent déjà le bord) : il lui
   faut un décalage bien plus grand pour que la partie visible tombe sur le
   bouquet et non sur cette marge. */
.arch-frame-wrap__flower--bl { bottom: -50px; left: -46px; }
.arch-frame-wrap__flower--br { bottom: -50px; right: -46px; transform: scaleX(-1); }
@media (min-width: 640px) {
  .arch-frame-wrap__flower { width: 150px; }
  /* tl/tr séparés : donner "left" ET "right" au même élément fait gagner
     "left" (élément sur-contraint), ce qui renvoyait --tr à gauche. */
  .arch-frame-wrap__flower--tl { top: -36px; left: -36px; }
  .arch-frame-wrap__flower--tr { top: -36px; right: -36px; }
  .arch-frame-wrap__flower--bl, .arch-frame-wrap__flower--br { bottom: -62px; }
}
@media (min-width: 820px) {
  .arch-frame-wrap__flower { width: 175px; }
  .arch-frame-wrap__flower--tl { top: -28px; left: -28px; }
  .arch-frame-wrap__flower--tr { top: -28px; right: -28px; }
  .arch-frame-wrap__flower--bl, .arch-frame-wrap__flower--br { bottom: -72px; }
}

/* --------------------------------------------------------------------------
   Hero (page d'accueil)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  text-align: center;
}

.hero__content {
  padding-block: var(--space-4) var(--space-5);
}

/* --------------------------------------------------------------------------
   Enveloppe d'ouverture — écran d'entrée animé qui recouvre toute la page
   (y compris le header) et s'ouvre au clic/tap (ou Entrée/Espace au clavier)
   pour révéler le contenu en dessous. Position fixed + z-index > header (50) :
   indépendante du contexte de positionnement de son parent dans le DOM.
   C'est un vrai <button> : focusable et activable au clavier nativement,
   sans code supplémentaire pour gérer Entrée/Espace.
   -------------------------------------------------------------------------- */
.envelope {
  position: fixed;
  inset: 0;
  display: block;
  min-height: 100svh;
  z-index: 100;
  overflow: hidden;
  border: 0;
  margin: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
  cursor: pointer;
  perspective: 1400px;
  transition: opacity 0.7s ease 0.2s, visibility 0.7s ease 0.2s;
}
.envelope--open {
  opacity: 0;
  visibility: hidden;
}

.envelope__flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: min(42vh, 280px);
  background: linear-gradient(155deg, var(--coral) 0%, var(--orange-2) 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  box-shadow: 0 18px 30px -12px rgba(43, 32, 24, 0.35);
  transition: transform 1s cubic-bezier(.65, 0, .35, 1), opacity 1s ease;
}
.envelope--unsealing .envelope__flap {
  transform: rotateX(-152deg);
  opacity: 0.92;
}

.envelope__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: min(42vh, 280px);
}

.envelope__seal {
  width: 76px;
  height: 76px;
  margin-top: -38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, var(--magenta) 0%, #9c1c52 70%, #7c1642 100%);
  box-shadow: 0 8px 18px rgba(43, 32, 24, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.25);
  font-family: var(--font-script);
  color: var(--cream-soft);
  font-size: 1.5rem;
  transition: transform 0.3s ease, opacity 0.5s ease, box-shadow 0.3s ease;
}
/* Micro-interaction : le cachet réagit au survol/focus pour signaler qu'il est cliquable */
.envelope:not(.envelope--unsealing):hover .envelope__seal,
.envelope:not(.envelope--unsealing):focus-visible .envelope__seal {
  transform: scale(1.08);
  box-shadow: 0 10px 22px rgba(43, 32, 24, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.25);
}
.envelope--unsealing .envelope__seal {
  transform: scale(0.3) rotate(-35deg);
  opacity: 0;
}

.envelope__text {
  margin-top: var(--space-3);
  text-align: center;
  padding-inline: var(--space-3);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.envelope--unsealing .envelope__text {
  opacity: 0;
  transform: translateY(-10px);
}
.envelope__eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-1);
}
.envelope__names {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  margin: 0 0 0.35rem;
}
.envelope__date {
  font-family: var(--font-display);
  color: var(--magenta);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin: 0;
}
.envelope__hint {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: var(--space-3) 0 0;
  animation: envelope-hint-pulse 2.2s ease-in-out infinite;
}
@keyframes envelope-hint-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.hero__eyebrow {
  font-family: var(--font-body);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: var(--space-2);
}

.hero__names {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: clamp(2.25rem, 9vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 var(--space-2);
  white-space: nowrap;
}

.hero__date {
  font-family: var(--font-display);
  color: var(--magenta);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-4);
}

.hero__intro {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--ink-soft);
}

/* Compte à rebours */
.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
  max-width: 420px;
  margin: var(--space-4) auto;
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fenêtre qui masque le défilement des chiffres.
   La police est posée ici (pas sur .countdown__item) pour que `ch` se calcule
   dans le même contexte que les chiffres qu'elle contient — sinon `ch` hérite
   de la police du corps de texte et le min-width devient trop petit, ce qui
   tronque les chiffres. */
.countdown__digit-window {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 1.9rem;
  min-width: 2.6ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  font-variant-numeric: tabular-nums;
}
.countdown__item:first-child .countdown__digit-window { min-width: 3.9ch; } /* "jours" peut passer sur 3 chiffres */

.countdown__number {
  position: absolute;
  inset: 0;
  display: block;
  font: inherit;
  line-height: 1.9rem;
  color: var(--magenta);
  text-align: center;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0.35, 1), opacity 0.5s ease;
}
/* Nouveau chiffre : part du bas, hors champ */
.countdown__number--enter { transform: translateY(100%); opacity: 0; }
/* Ancien chiffre : sort par le haut */
.countdown__number--exit { transform: translateY(-100%); opacity: 0; }

.countdown__sep {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.9rem;
  color: var(--magenta);
  opacity: 0.35;
}
.countdown__label {
  margin-top: 0.4rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* Desktop : le hero est entièrement centré, donc élargir le conteneur seul ne
   suffit pas — ces éléments ont une largeur fixe qui doit grandir avec lui. */
@media (min-width: 820px) {
  .arch-frame { max-width: 520px; }
  .hero__names { font-size: clamp(3.5rem, 6vw, 4.75rem); }
  .hero__date { font-size: 1.3rem; }
  .hero__intro { max-width: 58ch; font-size: 1.05rem; }
  .countdown { max-width: 480px; gap: 0.5rem; }
  .countdown__digit-window { height: 2.2rem; font-size: 1.9rem; min-width: 2.8ch; }
  .countdown__item:first-child .countdown__digit-window { min-width: 4.2ch; }
  .countdown__number { line-height: 2.2rem; }
  .countdown__sep { font-size: 1.9rem; line-height: 2.2rem; }
  .countdown__label { font-size: 0.7rem; }
}

/* --------------------------------------------------------------------------
   Boutons / CTA
   -------------------------------------------------------------------------- */
.actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 320px;
  margin: var(--space-4) auto 0;
}
@media (min-width: 480px) {
  .actions { flex-direction: row; justify-content: center; max-width: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(212, 35, 103, 0.28);
}
.btn--ghost {
  background: transparent;
  border-color: var(--magenta);
  color: var(--magenta);
}

/* --------------------------------------------------------------------------
   Notre histoire (page d'accueil) — photo plein cadre en fond de section,
   texte en surimpression. .story__bg porte l'image (z-index -2) ; ::before
   pose un dégradé sombre par-dessus (z-index -1) pour garder le texte blanc
   lisible quelle que soit la photo. isolation: isolate confine ces z-index
   négatifs à l'intérieur de .story, sans interférer avec le reste de la page.
   -------------------------------------------------------------------------- */
.story {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 55vh;
  padding-block: var(--space-5);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(43, 32, 24, 0.4), rgba(43, 32, 24, 0.62));
}
.story__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.story__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
/* Sélecteur composé pour l'emporter sur .section__title (même spécificité,
   mais défini plus loin dans la cascade) sans dépendre de l'ordre des règles. */
.story .section__title { color: var(--white); }
.story__text {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--white);
  opacity: 0.92;
  text-align: justify;
}
.story .section__title {
  color: var(--white);
  text-align: center;
}

@media (min-width: 820px) {
  .story { min-height: 65vh; }
  .story__text { font-size: 1.05rem; max-width: 72ch; }
}

/* --------------------------------------------------------------------------
   Sections communes (page Infos)
   -------------------------------------------------------------------------- */
.section {
  padding-block: var(--space-4);
  border-top: 1px solid rgba(212, 35, 103, 0.12);
}
.section:first-of-type { border-top: none; }

.section__title {
  color: var(--magenta);
  font-size: 1.5rem;
}

/* Lieu — texte + photo en arche (cf. hero) */
.venue {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
  align-items: center;
}
@media (min-width: 640px) {
  .venue {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-4);
  }
}
@media (min-width: 820px) {
  .venue { grid-template-columns: 1fr 1fr; }
}

.venue__name {
  font-family: var(--font-script);
  color: var(--orange);
  font-size: 2rem;
  margin-bottom: var(--space-2);
}

.venue__address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: var(--space-3);
}

.venue__pin {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  color: var(--magenta);
}

.venue__photo {
  max-width: 360px;
  width: 100%;
  margin-inline: auto;
}
@media (min-width: 640px) {
  .venue__photo { margin-inline: 0; }
}
@media (min-width: 820px) {
  .venue__photo { max-width: 440px; }
}

/* Palette dress code — reprend les 7 pastilles du faire-part */
.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: var(--space-3) 0;
}
.palette__dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(43, 32, 24, 0.15);
}

/* Timeline programme */
.timeline {
  --tl-icon-size: 56px;
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--tl-icon-size) / 2);
  width: 2px;
  background: var(--coral);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: var(--tl-icon-size) 1fr;
  column-gap: var(--space-2);
  padding-bottom: var(--space-4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline__item.is-visible { opacity: 1; transform: translateY(0); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__icon {
  grid-column: 1;
  grid-row: 1;
  width: var(--tl-icon-size);
  height: var(--tl-icon-size);
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-2);
  z-index: 1;
}
.timeline__icon svg { width: 26px; height: 26px; }
.timeline__icon i { font-size: 32px; line-height: 1; }
.timeline__content { grid-column: 2; grid-row: 1; }
.timeline__time {
  display: block;
  font-family: var(--font-display);
  color: var(--magenta);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.timeline__title {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.timeline__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}
@media (min-width: 820px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline__item {
    grid-template-columns: 1fr var(--tl-icon-size) 1fr;
    column-gap: var(--space-3);
    align-items: center;
  }
  .timeline__icon { grid-column: 2; }
  .timeline__content { grid-column: 1; text-align: right; }
  .timeline__item:nth-child(even) .timeline__content {
    grid-column: 3;
    text-align: left;
  }
}

/* Cartes hébergement */
.cards {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
@media (min-width: 560px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--space-3);
  border: 1px solid rgba(212, 35, 103, 0.12);
}
.card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 0.4rem; }
.card p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.card a { color: var(--magenta); text-decoration: underline; }

.card--centered { text-align: center; }

/* --------------------------------------------------------------------------
   FAQ (accordéon natif details/summary)
   -------------------------------------------------------------------------- */
.faq {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.faq__item {
  background: var(--white);
  border: 1px solid rgba(212, 35, 103, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  transition: color 0.15s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--magenta);
  transition: transform 0.25s ease;
}
.faq__item[open] summary { color: var(--magenta); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  padding: 0 var(--space-3) var(--space-3);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.faq__answer p:last-child { margin-bottom: 0; }
.faq__answer a { color: var(--magenta); text-decoration: underline; }

/* --------------------------------------------------------------------------
   RSVP
   -------------------------------------------------------------------------- */
.rsvp-wrap {
  position: relative;
  padding: var(--space-4) 0;
}
.rsvp-decor {
  position: absolute;
  top: -20px;
  width: 130px;
  opacity: 0.85;
  pointer-events: none;
}
.rsvp-decor--left { left: -30px; }
.rsvp-decor--right { right: -30px; transform: scaleX(-1); }
@media (min-width: 640px) {
  .rsvp-decor { width: 190px; }
}

.form {
  background: var(--white);
  border: 2px solid var(--coral);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  position: relative;
}

.field {
  margin-bottom: var(--space-3);
}
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid rgba(212, 35, 103, 0.25);
  background: var(--cream-soft);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }

.radio-group {
  display: flex;
  gap: var(--space-2);
}
.radio-option {
  flex: 1;
  position: relative;
}
.radio-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.radio-option span {
  display: block;
  text-align: center;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1.5px solid rgba(212, 35, 103, 0.25);
  background: var(--cream-soft);
  font-size: 0.92rem;
}
.radio-option input:checked + span {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}
.radio-option input:focus-visible + span {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

.form__submit {
  width: 100%;
  border: none;
}

.form__status {
  margin-top: var(--space-2);
  font-size: 0.9rem;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: none;
}
.form__status[data-state="success"] {
  display: block;
  background: rgba(147, 112, 219, 0.15);
  color: #5d3fa3;
}
.form__status[data-state="error"] {
  display: block;
  background: rgba(212, 35, 103, 0.1);
  color: var(--magenta);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  text-align: center;
  padding: var(--space-3) var(--space-3) var(--space-4);
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.site-footer strong { font-family: var(--font-script); font-size: 1.3rem; color: var(--orange); display: block; margin-bottom: 0.3rem; }
