/* ==========================================================================
   Estelle & Yoann — feuille de style
   Esprit : papeterie de mariage. Papier aquarelle à grain, lavis pastel,
   calligraphie anglaise pour les noms et les titres, Bodoni pour les dates,
   Garamond pour le texte, ornements dorés gravés.
   ========================================================================== */

@font-face { font-family: "Pinyon Script"; src: url("../fonts/pinyon-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Calligraphies de rechange (chargées seulement si on les choisit dans --f-noms ci-dessous) */
@font-face { font-family: "Great Vibes"; src: url("../fonts/great-vibes.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Imperial Script"; src: url("../fonts/imperial-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Ballet"; src: url("../fonts/ballet.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
/* Texte courant : Cormorant Garamond (graisse « medium » pour le texte, « semi-bold » pour les petites capitales).
   size-adjust la grossit légèrement pour garder une lecture confortable. */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; size-adjust: 108%; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; size-adjust: 108%; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-600.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; size-adjust: 108%; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/eb-garamond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* Disposition : un carton d'invitation encadré en ouverture, puis une colonne
   centrée où alternent lavis, aquarelles et texte ; le chemin peint relie
   l'église, la ferme et le lendemain. */
:root {
  --papier: #F3ECDF;
  --papier-carte: #FBF7F0;
  --encre: #3A332D;
  --encre-douce: #685D53;
  --filet: #D8CCB8;
  --or: #9C8058;
  --or-clair: #C7B08A;
  --sauge: #8C9C7E;
  --sauge-fonce: #55684A;
  --lavande-fonce: #66578C;
  --lavande-pale: #ECE6F2;
  --surligneur: rgba(255, 224, 70, .55);
  --erreur: #9E4636;

  /* Calligraphie des prénoms et des titres. Pour essayer une autre écriture, remplacez
     "Pinyon Script" par "Great Vibes", "Imperial Script" ou "Ballet" (la plus ornée). */
  --f-noms: "Pinyon Script", "Snell Roundhand", cursive;
  --f-script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --f-titre: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  /* Texte courant. Pour revenir à l'écriture précédente, mettez "EB Garamond" en premier. */
  --f-texte: "Cormorant Garamond", "EB Garamond", "Garamond", "Iowan Old Style", Georgia, serif;

  --gouttiere-g: max(18px, env(safe-area-inset-left, 0px));
  --gouttiere-d: max(18px, env(safe-area-inset-right, 0px));
  --largeur: 1180px;
  --largeur-texte: 38rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier) url("../../images/decor/papier.webp") repeat;
  background-size: 800px 800px;
  color: var(--encre);
  font-family: var(--f-texte);
  font-variant-numeric: lining-nums;
  font-size: 1.14rem;
  line-height: 1.65;
  overflow-x: hidden;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
[hidden] { display: none !important; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
a { color: var(--lavande-fonce); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--encre); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--lavande-fonce); outline-offset: 4px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icone { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.noscript { padding: 2rem; text-align: center; }
.lien-evitement { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--encre); color: var(--papier); padding: .6rem 1rem; }
.lien-evitement:focus { top: 1rem; }

/* ---------- Typographie commune ---------- */
.surtitre {
  font-family: var(--f-texte); font-weight: 500;
  font-size: .74rem; letter-spacing: .36em; text-transform: uppercase;
  color: var(--or); margin: 0 0 .5rem;
}
.titre {
  font-family: var(--f-noms); font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 4.1rem); line-height: 1.28;
  color: var(--encre); padding: .1em .2em;
}
.titre--gauche { padding-left: 0; }
.sous-titre { font-family: var(--f-noms); font-weight: 400; font-size: clamp(2.2rem, 7vw, 2.9rem); line-height: 1.25; margin: 0 0 .6rem; text-align: center; }
.manuscrit { font-family: var(--f-script); font-size: 1.9rem; line-height: 1.1; color: var(--lavande-fonce); margin: 0; }
.signature { font-family: var(--f-noms); font-size: 2.9rem; line-height: 1.3; color: var(--encre); margin: .6rem 0 0; }
.signature .et, .pied-noms .et, .carte-papier-titre .et { font-family: var(--f-titre); font-style: italic; font-size: .5em; color: var(--or); margin: 0 .15em; vertical-align: .15em; }
.texte-centre { max-width: var(--largeur-texte); margin-inline: auto; text-align: center; }
.texte-doux { color: var(--encre-douce); font-style: italic; }
.note { font-size: .98rem; font-style: italic; color: var(--encre-douce); }
.fleuron { width: 200px; margin: .5rem auto 0; }
.section-date { font-family: var(--f-titre); font-style: italic; font-size: 1.35rem; margin: .8rem 0 0; }
.lettrine::first-letter {
  font-family: var(--f-titre); font-style: italic; float: left; font-size: 4.1em; line-height: .82;
  margin: .1em .14em 0 -.02em; color: var(--sauge-fonce);
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .85rem 2rem;
  font-family: var(--f-texte); font-weight: 500; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--encre); background: transparent;
  border: 1px solid var(--encre); border-radius: 0;
  text-decoration: none; cursor: pointer; position: relative;
  transition: background-color .3s, color .3s, border-color .3s;
}
.bouton:hover { background: var(--encre); color: var(--papier-carte); }
.bouton--plein { background: var(--encre); color: var(--papier-carte); }
.bouton--plein::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(251, 247, 240, .45); pointer-events: none; }
.bouton--plein:hover { background: var(--sauge-fonce); border-color: var(--sauge-fonce); color: var(--papier-carte); }
.bouton--petit { min-height: 2.75rem; padding: .55rem 1.05rem; font-size: .7rem; letter-spacing: .18em; border-color: var(--filet); background: rgba(251, 247, 240, .8); }
.bouton--petit:hover { border-color: var(--encre); }
.bouton[aria-busy="true"] { opacity: .7; cursor: progress; }
.boutons-ligne { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; }
.lien-bouton { background: none; border: 0; padding: .4rem 0; cursor: pointer; color: var(--lavande-fonce); text-decoration: underline; text-underline-offset: .22em; font-size: 1rem; }
.lien-fin {
  display: inline-block; margin-top: .2rem;
  font-weight: 500; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--encre); text-decoration: none; border-bottom: 1px solid var(--or); padding-bottom: .25rem;
}
.lien-carte { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--encre); text-decoration: none; border-bottom: 1px solid var(--or); padding-bottom: .15rem; margin-top: .7rem; }

/* ---------- Lavis de couleur (nuances du papier) ---------- */
.lavis { position: absolute; z-index: -1; pointer-events: none; max-width: none; mix-blend-mode: multiply; }

/* ==========================================================================
   En-tête et menu
   ========================================================================== */
.entete {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 236, 223, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  padding-top: env(safe-area-inset-top, 0px);
}
.entete.est-defile { border-bottom-color: rgba(156, 128, 88, .28); box-shadow: 0 8px 24px -22px rgba(58, 51, 45, .6); }
.entete-ligne {
  max-width: 1340px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-left: var(--gouttiere-g); padding-right: var(--gouttiere-d);
}
.monogramme { font-family: var(--f-noms); font-size: 2.1rem; line-height: 1; color: var(--encre); text-decoration: none; white-space: nowrap; padding-top: .2rem; }
.monogramme-et, .nav-monogramme span, .pied-monogramme span { font-family: var(--f-titre); font-style: italic; font-size: .5em; margin: 0 .12em; color: var(--or); vertical-align: .2em; }
.entete-outils { display: flex; align-items: center; gap: .6rem; }
.langues { display: flex; align-items: center; color: var(--or); font-size: .8rem; }
.langues button { background: none; border: 0; cursor: pointer; min-width: 2.4rem; min-height: 2.6rem; padding: 0 .3rem; font-size: .76rem; letter-spacing: .16em; color: var(--encre-douce); }
.langues button[aria-pressed="true"] { color: var(--encre); font-weight: 500; text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: .4em; }
.menu-bouton {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: 0 .2rem 0 .6rem;
  background: none; border: 0; cursor: pointer;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}
.menu-bouton svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.nav-liste { list-style: none; margin: 0; padding: 0; }
.nav-liste a { position: relative; display: inline-block; color: var(--encre); text-decoration: none; }
.nav-liste a[aria-current="true"]::before {
  content: ""; position: absolute; inset: -9px -16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M9 23C7 11 45 4 78 6c27 2 37 9 34 19-3 9-35 12-63 11C23 35 6 30 9 19c2-6 12-10 24-12' fill='none' stroke='%239C8058' stroke-width='1.1' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}
@media (max-width: 1099.98px) {
  .nav {
    position: fixed; inset: 0; z-index: 60;
    background: var(--papier) url("../../images/decor/papier.webp") repeat; background-size: 800px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem;
    padding: calc(2rem + env(safe-area-inset-top, 0px)) var(--gouttiere-d) calc(2rem + env(safe-area-inset-bottom, 0px)) var(--gouttiere-g);
    overflow-y: auto; overflow-x: hidden;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
  }
  .nav.est-ouvert { opacity: 1; visibility: visible; transition: opacity .35s; }
  .nav-tete { display: grid; justify-items: center; }
  .nav-monogramme { font-family: var(--f-noms); font-size: 3.4rem; line-height: 1.1; color: var(--encre); }
  .nav-fleuron { width: 170px; }
  .nav-liste { display: grid; gap: .25rem; text-align: center; position: relative; z-index: 1; }
  .nav-liste a { font-family: var(--f-titre); font-style: italic; font-size: 1.6rem; line-height: 1.45; padding: .1rem .4rem; }
  .nav-date { margin: .2rem 0 0; font-size: .78rem; letter-spacing: .32em; color: var(--or); }
  .nav-fleurs { position: absolute; left: -40px; bottom: -30px; width: 230px; opacity: .95; pointer-events: none; }
  .nav-fermer {
    position: absolute; top: calc(.8rem + env(safe-area-inset-top, 0px)); right: calc(.8rem + env(safe-area-inset-right, 0px));
    width: 2.9rem; height: 2.9rem; display: grid; place-items: center; background: none; border: 1px solid var(--filet); border-radius: 50%; cursor: pointer;
  }
  .nav-fermer svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
}
@media (min-width: 1100px) {
  .entete-ligne { height: 76px; }
  .menu-bouton, .nav-tete, .nav-date, .nav-fermer, .nav-fleurs { display: none; }
  .nav-liste { display: flex; gap: clamp(1.3rem, 2vw, 2.3rem); }
  .nav-liste a { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding: .3rem 0; }
  .nav-liste a:hover { color: var(--lavande-fonce); }
}

/* ==========================================================================
   Mise en page générale
   ========================================================================== */
main { position: relative; z-index: 0; padding-left: var(--gouttiere-g); padding-right: var(--gouttiere-d); overflow-x: clip; }
.section { position: relative; max-width: var(--largeur); margin: 0 auto; padding-block: clamp(5rem, 12vw, 8.5rem) 0; }
.section-tete { text-align: center; margin: 0 auto 2.2rem; max-width: 56rem; }

/* ==========================================================================
   1. Accueil : le carton d'invitation
   ========================================================================== */
.accueil { position: relative; max-width: 1300px; margin: 0 auto; }
.hero {
  position: relative; display: grid; gap: 1rem; text-align: center;
  margin: clamp(.8rem, 2.5vw, 1.8rem) auto 0; padding: clamp(2.6rem, 7vw, 4.5rem) clamp(1rem, 4vw, 4rem) clamp(2.6rem, 6vw, 4rem);
}
/* double filet doré façon carton gravé */
.hero-cadre { position: absolute; inset: 0; pointer-events: none; border: 1px solid var(--or-clair); }
.hero-cadre::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(199, 176, 138, .55); }
.coin { position: absolute; width: clamp(54px, 9vw, 92px); }
.coin--hg { top: -1px; left: -1px; }
.coin--hd { top: -1px; right: -1px; transform: scaleX(-1); }
.coin--bg { bottom: -1px; left: -1px; transform: scaleY(-1); }
.coin--bd { bottom: -1px; right: -1px; transform: scale(-1, -1); }

.hero-texte { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero .surtitre { margin: 0; }
.noms { font-family: var(--f-noms); font-weight: 400; color: var(--encre); display: flex; flex-direction: column; align-items: center; line-height: 1; margin: 1.1rem 0 .9rem; }
.nom { font-size: clamp(4.2rem, 19vw, 8rem); line-height: 1.2; padding: 0 .15em; }
.nom--1 { margin-right: .35em; }
.nom--2 { margin-left: .55em; }
.noms-et {
  display: flex; align-items: center; gap: .55em; margin: .05em 0 .1em 1.6em;
  font-family: var(--f-titre); font-style: italic; font-size: clamp(1.9rem, 6vw, 2.7rem); color: var(--or); line-height: 1; position: relative; z-index: 1;
}
.noms-et::before, .noms-et::after { content: ""; width: 1.6em; height: 1px; background: linear-gradient(90deg, transparent, var(--or-clair), transparent); }
.hero-invitation { font-weight: 500; font-size: .76rem; letter-spacing: .3em; text-transform: uppercase; color: var(--encre-douce); max-width: 22rem; margin: .5rem 0 0; text-wrap: balance; }
.hero .fleuron { width: 220px; margin-top: 1rem; }
.hero-date { font-family: var(--f-titre); font-style: italic; font-size: clamp(1.8rem, 6vw, 2.5rem); line-height: 1.2; margin: .7rem 0 .9rem; }
.hero-lieux { margin: 0; display: grid; gap: .55rem; }
.hero-lieux div { display: grid; gap: 0; }
.hero-lieux dt { font-weight: 500; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--or); }
.hero-lieux dd { margin: 0; font-size: 1.12rem; font-style: italic; }
.hero-action { margin-top: 1.8rem; display: grid; justify-items: center; gap: .8rem; }
.hero-limite {
  margin: 0; font-size: 1rem; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .1rem .4rem;
  padding: .45rem 1.1rem; border-top: 1px solid var(--or-clair); border-bottom: 1px solid var(--or-clair);
}
.hero-limite span { font-style: italic; color: var(--encre-douce); }
.hero-limite strong { font-family: var(--f-titre); font-weight: 400; font-style: italic; color: var(--encre); }

.hero-visuel { position: relative; width: min(80vw, 400px); margin: 1.6rem auto 2.8rem; }
.hero-visuel::before {
  content: ""; position: absolute; z-index: 0; inset: -22% -40% -10% -40%;
  background: url("../../images/decor/lavis-aube.webp") no-repeat center / contain;
  mix-blend-mode: multiply; opacity: .9; pointer-events: none;
}
.arche-cadre { position: relative; z-index: 1; }
.arche-cadre::before, .arche-cadre::after {
  content: ""; position: absolute; border: 1px solid var(--or-clair); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none;
}
.arche-cadre::before { inset: -10px -10px 0 -10px; }
.arche-cadre::after { inset: -16px -16px 0 -16px; border-color: rgba(199, 176, 138, .5); }
.arche { position: relative; border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 1000 / 1030; background: var(--papier-carte); }
.arche img { width: 100%; height: 100%; object-fit: cover; }
.hero-fleurs { position: absolute; z-index: 2; pointer-events: none; }
.hero-fleurs--g { width: 50%; left: -27%; bottom: -15%; }
.hero-fleurs--d { width: 34%; right: -15%; bottom: -13%; }
.compte {
  position: relative; z-index: 3; margin: -1.5rem auto 0; width: min(100%, 20rem);
  padding: .8rem 1rem .75rem; background: var(--papier-carte);
  border: 1px solid var(--filet); outline: 1px solid rgba(199, 176, 138, .55); outline-offset: -6px;
  box-shadow: 0 18px 34px -26px rgba(58, 51, 45, .6);
}
.compte-titre { font-family: var(--f-script); font-size: 1.6rem; line-height: 1; margin: 0 0 .3rem; color: var(--lavande-fonce); }
.compte-grille { display: grid; grid-template-columns: repeat(4, 1fr); }
.compte-grille p { display: grid; margin: 0; line-height: 1.05; }
.compte-grille p + p { border-left: 1px solid var(--filet); }
.compte-n { font-family: var(--f-titre); font-size: 1.7rem; font-variant-numeric: lining-nums tabular-nums; }
.compte-l { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); margin-top: .25rem; }
.compte-message { font-family: var(--f-script); font-size: 1.6rem; line-height: 1.15; margin: 0; color: var(--lavande-fonce); }

@media (min-width: 960px) {
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem; min-height: min(calc(100vh - 100px), 900px); }
  .hero-visuel { width: min(100%, 420px); margin: 3rem auto 3rem; }
  .nom { font-size: clamp(6rem, 8.2vw, 7.8rem); line-height: 1.16; }
  .noms { margin: .7rem 0 .6rem; }
  .compte { position: absolute; right: -21%; top: 9%; width: 12.8rem; margin: 0; transform: rotate(2deg); }
  .compte-grille { grid-template-columns: 1fr 1fr; row-gap: .5rem; }
  .compte-grille p:nth-child(3) { border-left: 0; }
}
/* Téléphone : l'aquarelle s'intercale entre les noms et la date */
@media (max-width: 959.98px) {
  .hero { display: flex; flex-direction: column; align-items: center; gap: 0; }
  .hero-texte { display: contents; }
  .hero .surtitre { order: 1; }
  .noms { order: 2; }
  .hero-invitation { order: 3; }
  .hero-visuel { order: 4; }
  .hero .fleuron { order: 5; margin-top: .6rem; }
  .hero-date { order: 6; }
  .hero-lieux { order: 7; }
  .hero-action { order: 8; }
}

/* ---------- Bienvenue ---------- */
.bienvenue { display: grid; gap: 2.8rem; align-items: center; padding-block: clamp(5rem, 12vw, 8rem) 0; max-width: 1080px; margin: 0 auto; }
.bienvenue-photos { position: relative; width: min(100%, 480px); margin: 0 auto; padding-bottom: 2rem; }
.polaroid { margin: 0; background: #FFFDF8; padding: 12px 12px 0; box-shadow: 0 2px 4px rgba(58, 51, 45, .06), 0 24px 44px -30px rgba(58, 51, 45, .55); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid figcaption { font-family: var(--f-script); font-size: 1.55rem; color: var(--encre-douce); text-align: center; padding: .45rem .3rem .65rem; line-height: 1.2; }
.polaroid--1 { width: 84%; margin-top: 4.4rem; transform: rotate(-3deg); }
.polaroid--2 { position: absolute; width: 50%; right: -3%; top: 0; transform: rotate(4deg); }
.polaroid--2 img { aspect-ratio: 1; }
.polaroid--2 figcaption { font-size: 1.35rem; }
.bienvenue-fleurs { position: absolute; width: 62%; right: -12%; bottom: -8%; pointer-events: none; }
.bienvenue-texte { text-align: left; max-width: 34rem; margin: 0 auto; }
.bienvenue-texte .titre { font-size: clamp(2.5rem, 8vw, 3.5rem); margin-bottom: 1.2rem; }
@media (min-width: 900px) { .bienvenue { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }

/* ==========================================================================
   2. Programme : le chemin peint
   ========================================================================== */
.section--chemin { max-width: 1240px; }
.lavis--prairie { width: min(1500px, 140vw); left: 50%; transform: translateX(-50%); top: 22%; opacity: .4; }
.chemin { position: relative; margin: 1rem auto 0; padding: 1rem 0 clamp(12rem, 30vw, 21rem); }
.chemin-trace { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% + 10px); overflow: visible; pointer-events: none; z-index: 0; }
.haltes { position: relative; z-index: 1; display: grid; gap: clamp(6rem, 16vw, 8.5rem); }
.halte { display: grid; justify-items: center; gap: .8rem; text-align: center; }
.halte-illu { margin: 0; width: var(--illu, 320px); max-width: 100%; position: relative; z-index: 1; }
.halte--ceremonie { --illu: min(340px, 82vw); }
.halte--reception { --illu: min(600px, 100%); }
.halte--lendemain { --illu: min(240px, 60vw); }
.halte-texte {
  position: relative; z-index: 2; max-width: 24rem; padding: .6rem 1rem 1rem;
  background: radial-gradient(closest-side, rgba(243, 236, 223, .9) 55%, rgba(243, 236, 223, 0));
}
.halte-jour { font-weight: 500; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin: 0 0 .1rem; }
.halte-titre { font-family: var(--f-noms); font-size: clamp(2.6rem, 9vw, 3.4rem); line-height: 1.2; }
.halte-heure { font-family: var(--f-titre); font-size: 2.1rem; line-height: 1.1; margin: .1rem 0 .3rem; font-variant-numeric: lining-nums; }
.halte-moment { font-style: italic; margin: 0 0 .2rem; }
.halte-lieu { font-weight: 500; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; margin: .3rem 0 0; }
.halte-adresse { font-style: italic; color: var(--encre-douce); margin: .1rem 0 0; }
.halte-note { margin: .55rem 0 0; font-family: var(--f-titre); font-style: italic; font-size: 1.05rem; }
.moments { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .4rem; text-align: left; }
.moments li { display: flex; align-items: baseline; gap: .5rem; }
.moment-heure { font-family: var(--f-titre); font-size: 1.2rem; white-space: nowrap; font-variant-numeric: lining-nums; }
.moment-pointilles { flex: 1 1 0; min-width: .8rem; border-bottom: 1px dotted var(--or); transform: translateY(-.3em); }
.moment-nom { flex: 0 1 auto; font-style: italic; text-align: right; }
.chemin-fleurs { position: absolute; z-index: 2; bottom: -2rem; pointer-events: none; }
.chemin-fleurs--g { left: calc(-1 * var(--gouttiere-g)); width: min(40vw, 340px); }
.chemin-fleurs--d { right: calc(-1 * var(--gouttiere-d)); width: min(40vw, 330px); }

@media (min-width: 760px) {
  /* ordinateur : le dessin d'un côté, le texte de l'autre, en alternance (plus de colonne vide) */
  .haltes { gap: 2.6rem; }
  .halte { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 2.4rem; text-align: left; }
  .halte-illu, .halte-texte { grid-row: 1; }
  .halte--texte-droite .halte-illu { grid-column: 1; justify-self: end; }
  .halte--texte-droite .halte-texte { grid-column: 2; justify-self: start; }
  .halte--texte-gauche .halte-illu { grid-column: 2; justify-self: start; }
  .halte--texte-gauche .halte-texte { grid-column: 1; justify-self: end; text-align: right; }
  .halte--texte-gauche .moments li { flex-direction: row; }
  .halte--ceremonie { --illu: min(470px, 100%); }
  .halte--reception { --illu: min(600px, 100%); }
  .halte--lendemain { --illu: min(330px, 100%); }
  .chemin { padding-bottom: clamp(10rem, 16vw, 14rem); }
  .halte-texte { padding: 1rem 1.2rem; background: radial-gradient(closest-side, rgba(243, 236, 223, .55) 50%, rgba(243, 236, 223, 0)); }
}

/* ==========================================================================
   3. Infos pratiques
   ========================================================================== */
.adresses { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.adresse {
  text-align: center; padding: 1.6rem 1.2rem 1.5rem;
  background: rgba(251, 247, 240, .72); border: 1px solid var(--filet);
  outline: 1px solid rgba(199, 176, 138, .35); outline-offset: -7px;
}
.adresse-role { font-weight: 500; font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--or); margin: 0; }
.adresse-nom { font-family: var(--f-titre); font-style: italic; font-size: 1.85rem; line-height: 1.25; margin: .35rem 0 .1rem; }
.adresse-rue { font-style: italic; color: var(--encre-douce); margin: 0 0 1rem; }
@media (min-width: 760px) { .adresses { grid-template-columns: 1fr 1fr; } }
.carte { position: relative; margin-top: 1.4rem; aspect-ratio: 16 / 9; max-width: 100%; border: 1px solid var(--filet); background: var(--papier-carte); }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 960px) { .carte { aspect-ratio: 21 / 8; } }

.acces { display: grid; gap: 2.6rem; margin-top: 3.4rem; align-items: start; }
.plan { margin: 0; }
.plan-cadre { position: relative; }
.plan-cadre img { width: 100%; }
.plan-calque { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plan-chemin { fill: none; stroke: #4A4038; stroke-width: 2; stroke-linecap: round; stroke-dasharray: .5 7; }
.plan-point, .plan-p-rond { fill: var(--lavande-fonce); stroke: var(--papier-carte); stroke-width: 2.5; }
.plan-p { font-family: var(--f-texte); font-weight: 500; font-size: 17px; fill: #FFFFFF; }
.plan-etiquette { font-family: var(--f-texte); font-weight: 500; font-size: 17px; letter-spacing: .14em; text-transform: uppercase; fill: var(--encre); paint-order: stroke; stroke: rgba(253, 251, 247, .9); stroke-width: 4px; stroke-linejoin: round; }
.plan-etiquette--doux { font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 17px; fill: var(--encre-douce); }
.plan-route { font-family: var(--f-texte); font-style: italic; font-size: 16px; fill: var(--encre-douce); paint-order: stroke; stroke: rgba(253, 251, 247, .85); stroke-width: 3.5px; }
.plan-nom { font-family: var(--f-titre); font-style: italic; font-size: 30px; fill: var(--encre); paint-order: stroke; stroke: rgba(253, 251, 247, .9); stroke-width: 6px; stroke-linejoin: round; }
.plan-nord path { fill: none; stroke: var(--encre); stroke-width: 1.2; stroke-linejoin: round; }
.plan-nord text { font-family: var(--f-titre); font-size: 14px; fill: var(--encre); }
.plan figcaption { text-align: center; margin-top: .6rem; font-style: italic; color: var(--encre-douce); }
@media (max-width: 600px) {
  .plan-etiquette { font-size: 24px; stroke-width: 5px; }
  .plan-etiquette--doux { font-size: 22px; }
  .plan-route { font-size: 22px; }
  .plan-nom { font-size: 38px; stroke-width: 8px; }
  .plan-nord text { font-size: 20px; }
  .plan-cadre { margin-inline: calc(-1 * var(--gouttiere-g) + 4px) calc(-1 * var(--gouttiere-d) + 4px); }
}
.moyens { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.moyen { display: grid; grid-template-columns: 2.8rem 1fr; gap: 1rem; align-items: start; }
.moyen-icone { width: 2.6rem; height: 2.6rem; fill: none; stroke: var(--sauge-fonce); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.moyen-titre { font-family: var(--f-noms); font-size: 2.3rem; line-height: 1.2; margin: -.2rem 0 .3rem; }
.moyen p { margin: 0 0 .6rem; }
.taxis { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .7rem; font-size: 1.04rem; }
.taxis li { border-bottom: 1px dotted var(--filet); padding-bottom: .55rem; }
.taxis p { margin: 0; }
.taxi-tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .7rem; }
.taxi-nom { font-family: var(--f-titre); font-style: italic; font-size: 1.15rem; }
.taxi-ville { font-weight: 500; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--or); }
.taxi-liens { margin-top: .1rem !important; overflow-wrap: anywhere; }
.taxi-liens .sep { color: var(--or-clair); }
.taxis a { color: var(--encre); text-decoration-color: rgba(156, 128, 88, .55); font-variant-numeric: lining-nums tabular-nums; }
.taxis a:hover { color: var(--lavande-fonce); }
/* surlignage jaune : information à compléter */
.a-completer { background: linear-gradient(100deg, transparent 0 .4%, var(--surligneur) 1.5% 98%, transparent 99.5%); padding: .1rem .35rem; border-bottom-color: transparent !important; }
.a-completer a { color: var(--encre); }
@media (min-width: 960px) { .acces { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; } }

/* ---------- Cartes papier (covoiturage, RSVP) ---------- */
.carte-papier {
  position: relative; max-width: 46rem; margin: 4.5rem auto 0;
  padding: clamp(2.2rem, 6vw, 3.4rem) clamp(1.3rem, 5vw, 3.4rem);
  background: var(--papier-carte) url("../../images/decor/papier.webp") repeat; background-size: 800px;
  border: 1px solid var(--filet); outline: 1px solid rgba(199, 176, 138, .45); outline-offset: -9px;
  box-shadow: 0 34px 60px -46px rgba(58, 51, 45, .65);
}
.carte-papier::before { content: ""; position: absolute; inset: 0; background: rgba(255, 253, 248, .55); pointer-events: none; }
.carte-papier > * { position: relative; }
.carte-papier-fleurs { position: absolute !important; width: clamp(140px, 32vw, 230px); right: -40px; top: -112px; pointer-events: none; z-index: 2; }
.carte-papier-fleurs--gauche { right: auto; left: -64px; top: -170px; width: clamp(110px, 24vw, 165px); }
@media (max-width: 759.98px) {
  .carte-papier-fleurs { width: 118px; right: -14px; top: -64px; }
  .carte-papier-fleurs--gauche { width: 84px; left: -12px; top: -92px; }
  .nuancier { max-width: 22rem; margin-inline: auto; gap: .8rem .35rem; }
}
.carte-papier-titre { font-family: var(--f-noms); font-size: clamp(2.4rem, 8vw, 3rem); text-align: center; line-height: 1.25; margin-bottom: .4rem; }
.carte-papier-intro { text-align: center; max-width: 32rem; margin: 0 auto 2rem; color: var(--encre-douce); }
.rsvp-manuscrit { text-align: right; margin: -1.2rem 0 1.4rem; transform: rotate(-3deg); font-size: 1.8rem; }
.carte-papier--rsvp { padding-top: clamp(4rem, 10vw, 4.6rem); }
@media (min-width: 760px) { #covoiturage { margin-top: 7rem; } }

/* ---------- Formulaires ---------- */
.formulaire { display: grid; gap: 1.7rem; }
.formulaire fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.bloc { display: grid; gap: 1.1rem; }
.bloc-titre { font-family: var(--f-noms); font-size: 2.2rem; line-height: 1.2; padding: 0; margin-bottom: .2rem; }
.champs-2 { display: grid; gap: 1.1rem 1.6rem; }
@media (min-width: 560px) { .champs-2 { grid-template-columns: 1fr 1fr; } }
.champs-2--fixe { grid-template-columns: 1fr 1fr; }
.champs-2:not(:has(> :not([hidden]))) { display: none; }
.champ { display: grid; gap: .25rem; min-width: 0; }
.champ label, .choix legend, .choix-libelle { font-weight: 500; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--encre); padding: 0; }
.choix legend { margin-bottom: .55rem; line-height: 1.5; }
.choix-libelle { margin: 0 0 .5rem; }
.facultatif { font-weight: 400; text-transform: none; letter-spacing: 0; font-style: italic; color: var(--encre-douce); font-size: .95rem; }
.facultatif::before { content: "("; } .facultatif::after { content: ")"; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 2.9rem; padding: .45rem .1rem;
  font: inherit; font-size: 1.12rem; color: var(--encre);
  background: transparent; border: 0; border-bottom: 1px solid rgba(58, 51, 45, .35); border-radius: 0;
  transition: border-color .2s;
}
textarea { resize: vertical; min-height: 4.5rem; border: 1px solid rgba(58, 51, 45, .25); padding: .6rem .8rem; background: rgba(255, 255, 255, .5); }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23685D53' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right .2rem center / 1.1rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lavande-fonce); box-shadow: 0 1px 0 0 var(--lavande-fonce); }
[aria-invalid="true"] { border-color: var(--erreur) !important; }
.champ-aide { font-size: .96rem; font-style: italic; color: var(--encre-douce); margin: .2rem 0 .3rem; }
.champ-erreur { color: var(--erreur); font-size: .96rem; margin: .1rem 0 0; }
.champ-erreur:empty { display: none; }
.pilules { display: flex; flex-wrap: wrap; gap: .55rem; }
.pilules--colonne { flex-direction: column; align-items: flex-start; }
.champ .pilule, .pilule { position: relative; display: inline-flex; cursor: pointer; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 1rem; color: var(--encre); }
.pilule input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pilule span {
  display: inline-flex; align-items: center; min-height: 2.85rem; padding: .45rem 1.2rem;
  border: 1px solid rgba(58, 51, 45, .3); border-radius: 999px; background: rgba(255, 255, 255, .55);
  font-size: 1.05rem; line-height: 1.3; transition: background-color .2s, color .2s, border-color .2s;
}
.pilule:hover span { border-color: var(--encre); }
.pilule input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--papier-carte); }
.pilule input:focus-visible + span { outline: 1.5px solid var(--lavande-fonce); outline-offset: 3px; }
.pilule--case span::before { content: ""; width: .8rem; height: .8rem; border: 1px solid currentColor; margin-right: .55rem; flex: none; }
.pilule--case input:checked + span::before { background: currentColor; box-shadow: inset 0 0 0 2px var(--encre); }
.choix[aria-invalid="true"] .pilule span { border-color: var(--erreur); }
.rsvp-details { display: grid; gap: 1.9rem; padding-top: .4rem; }
.ages { display: grid; gap: 1rem 1.4rem; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); margin-top: .4rem; }
.regimes { display: grid; gap: 1rem; margin-top: 1rem; }
.regimes-liste { display: grid; gap: 1rem; }
.regime { border: 1px solid var(--filet) !important; padding: 1rem 1.1rem .6rem !important; background: rgba(236, 230, 242, .35); display: grid; gap: .9rem; }
.regime-titre { font-family: var(--f-script); font-size: 1.6rem; line-height: 1; padding: 0 .4rem; color: var(--lavande-fonce); }
.regime-retirer { justify-self: end; font-size: .95rem; color: var(--encre-douce); }
.materiel { margin-top: 1rem; padding-left: 1rem; border-left: 1px solid var(--or-clair); }
.bouton-ajout {
  justify-self: start; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .4rem 1.1rem;
  background: transparent; border: 1px dashed var(--lavande-fonce); color: var(--lavande-fonce); cursor: pointer;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
}
.bouton-ajout:hover { background: var(--lavande-pale); }
/* Code d'invitation, posé sur le chemin sous la réception */
.code-chemin { position: relative; z-index: 2; display: flex; justify-content: center; }
.code-carte {
  width: min(100%, 25rem); padding: 1.1rem 1.3rem .9rem; text-align: left;
  background: var(--papier-carte) url("../../images/decor/papier.webp") repeat; background-size: 800px;
  border: 1px solid var(--filet); outline: 1px solid rgba(199, 176, 138, .45); outline-offset: -6px;
  box-shadow: 0 22px 40px -32px rgba(58, 51, 45, .6);
}
.code-libelle { display: block; font-weight: 500; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--encre); }
.code-carte .champ-aide { margin: .45rem 0 0; }
.code-chemin.est-valide .champ-aide { display: none; }
.apparition-halte { animation: apparition-douce 1.2s ease both; }
.code-ligne { display: flex; gap: .7rem; align-items: end; }
.code-ligne input { flex: 1; text-transform: uppercase; letter-spacing: .14em; }
.code-statut { margin: .2rem 0 0; font-size: .98rem; }
.code-statut:empty { display: none; }
.code-statut.est-ok { color: var(--sauge-fonce); }
.code-statut.est-erreur { color: var(--erreur); }
.pot-de-miel { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-pied { display: grid; justify-items: center; gap: .7rem; text-align: center; margin-top: .6rem; }
.form-statut { margin: 0; font-size: 1rem; }
.form-statut.est-erreur { color: var(--erreur); }
.merci { text-align: center; padding: 1rem 0; display: grid; justify-items: center; gap: .3rem; }
.merci:focus { outline: none; }
.merci-titre { font-family: var(--f-noms); font-size: 3.2rem; line-height: 1.2; margin: 0 0 .4rem; }
.merci-texte { max-width: 30rem; font-size: 1.12rem; }

/* ==========================================================================
   4. Logements
   ========================================================================== */
.logements { margin-top: 2.4rem; }
/* onglets façon étiquettes de papeterie */
.onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .6rem; margin: 0 auto 1.8rem; }
.onglet {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .45rem 1.15rem;
  background: rgba(251, 247, 240, .7); border: 1px solid var(--filet); border-radius: 999px; cursor: pointer;
  font-family: var(--f-titre); font-style: italic; font-size: 1.08rem; color: var(--encre);
  transition: background-color .25s, border-color .25s, color .25s;
}
.onglet:hover { border-color: var(--or); }
.onglet[aria-selected="true"] { background: var(--encre); border-color: var(--encre); color: var(--papier-carte); }
.onglet-n { font-family: var(--f-texte); font-style: normal; font-size: .72rem; letter-spacing: .08em; min-width: 1.5rem; height: 1.5rem; display: inline-grid; place-items: center; border-radius: 999px; background: rgba(156, 128, 88, .16); color: var(--or); }
.onglet[aria-selected="true"] .onglet-n { background: rgba(251, 247, 240, .18); color: var(--or-clair); }
.fiches { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.fiches:focus-visible { outline-offset: 8px; }
.fiche {
  position: relative; padding: 1.35rem 1.4rem 1.25rem; display: grid; gap: .15rem; align-content: start;
  background: rgba(251, 247, 240, .82); border: 1px solid var(--filet);
  outline: 1px solid rgba(199, 176, 138, .3); outline-offset: -6px;
}
.fiche-ville { margin: 0; font-weight: 500; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--or); }
.fiche-nom { font-family: var(--f-titre); font-style: italic; font-size: 1.42rem; line-height: 1.25; margin: .1rem 0 0; }
.fiche-hotes { margin: 0; font-style: italic; color: var(--encre-douce); font-size: 1rem; }
.fiche-infos { list-style: none; margin: .65rem 0 0; padding: .65rem 0 0; border-top: 1px dotted var(--filet); display: grid; gap: .32rem; font-size: 1rem; }
.fiche-infos li { display: grid; grid-template-columns: 1.05rem 1fr; align-items: start; gap: .55rem; line-height: 1.4; }
.fiche-infos .icone { color: var(--sauge-fonce); margin-top: .18em; }
.fiche-infos a { color: var(--encre); text-decoration-color: rgba(156, 128, 88, .55); }
.fiche-infos a:hover { color: var(--lavande-fonce); }
.fiche-infos .sep { color: var(--or-clair); }
.fiche-email { overflow-wrap: anywhere; }
@media (min-width: 760px) { .fiches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .fiches { grid-template-columns: repeat(3, 1fr); } }
.grange { position: relative; margin: 4rem auto 0; max-width: 58rem; display: grid; gap: 1.6rem; align-items: center; justify-items: center; text-align: center; padding: 2rem clamp(.5rem, 4vw, 2rem); }
.lavis--grange { inset: -12% -6%; width: 112%; height: 124%; opacity: .75; }
.grange-illu { margin: 0; width: min(100%, 340px); }
.grange-illu img { width: 100%; border: 10px solid #FFFDF8; box-shadow: 0 22px 40px -30px rgba(58, 51, 45, .55); transform: rotate(-2deg); }
.grange-titre { font-family: var(--f-noms); font-size: clamp(2.6rem, 8vw, 3.2rem); line-height: 1.2; margin-bottom: .4rem; }
.grange-materiel { font-family: var(--f-titre); font-style: italic; }
.grange-texte p:last-child { margin-bottom: 0; }
@media (min-width: 760px) { .grange { grid-template-columns: 300px 1fr; text-align: left; justify-items: start; } }

/* ==========================================================================
   5. RSVP
   ========================================================================== */
.lavis--rsvp { width: min(1200px, 130vw); left: 50%; transform: translateX(-50%); top: 8%; opacity: .34; }
.rsvp-intro { font-family: var(--f-titre); font-style: italic; font-size: 1.2rem; }

/* ==========================================================================
   6. Liste de mariage
   ========================================================================== */
.section--cagnotte { padding-bottom: 2rem; }
.lavis--cagnotte { width: min(1000px, 120vw); left: 50%; transform: translateX(-50%); top: 6%; opacity: .3; }
.cagnotte { max-width: 34rem; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: .8rem; }
.cagnotte-texte { font-size: 1.2rem; line-height: 1.75; margin-bottom: 1rem; }
.cagnotte .note { margin: 0; }
.cagnotte .note:empty { display: none; }

/* ==========================================================================
   7. FAQ & dress code
   ========================================================================== */
.dress { display: grid; gap: 1.6rem; align-items: center; margin: 0 auto 4.5rem; }
.dress-illu { margin: 0; }
.dress-illu img { width: 100%; }
.dress-texte { text-align: center; }
.dress-principal { font-family: var(--f-titre); font-style: italic; font-size: 1.35rem; margin-bottom: .5rem; }
.nuancier { list-style: none; margin: .8rem 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem .5rem; }
.nuancier li { display: grid; justify-items: center; gap: .35rem; width: 4.6rem; font-style: italic; font-size: .95rem; color: var(--encre-douce); line-height: 1.2; text-align: center; }
.tache { width: 3.7rem; height: 3.4rem; display: block; overflow: visible; }
.nuancier li:nth-child(2n) .tache { transform: rotate(70deg) scale(.96); }
.nuancier li:nth-child(3n) .tache { transform: rotate(150deg); }
@media (max-width: 759.98px) { .nuancier li { width: 4rem; font-size: .9rem; } .tache { width: 3.3rem; height: 3.05rem; } }
@media (min-width: 960px) { .dress { grid-template-columns: 1.25fr 1fr; gap: 3rem; } .dress-texte { text-align: left; } .nuancier { justify-content: flex-start; max-width: 26rem; } }
.accordeon { max-width: 46rem; margin: 0 auto; border-top: 1px solid rgba(156, 128, 88, .35); }
.accordeon details { border-bottom: 1px solid rgba(156, 128, 88, .35); }
.accordeon summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem .2rem; font-family: var(--f-titre); font-style: italic; font-size: 1.25rem; line-height: 1.35;
}
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary::after { content: ""; flex: none; width: .9rem; height: .9rem; background: linear-gradient(var(--or), var(--or)) center / 100% 1px no-repeat, linear-gradient(var(--or), var(--or)) center / 1px 100% no-repeat; transition: transform .3s; }
.accordeon details[open] summary::after { transform: rotate(45deg); }
.accordeon .reponse { padding: 0 .2rem 1.3rem; color: var(--encre-douce); }
.accordeon .reponse p { margin: 0; }
.contact { text-align: center; margin: 4.5rem auto 0; max-width: 40rem; }
.contact-liste { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; justify-items: center; }
.contact-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem .7rem; font-size: 1.12rem; }
.contact-liste .icone { color: var(--sauge-fonce); }
.contact-liste a { word-break: break-word; }
.contact-nom { color: var(--encre-douce); font-style: italic; }
.contact-nom::before { content: "("; } .contact-nom::after { content: ")"; }
.contact-nom:empty { display: none; }
.copier { border: 1px solid var(--filet); background: var(--papier-carte); padding: .2rem .8rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; min-height: 2.2rem; }
.copier:hover { border-color: var(--encre); }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.pied { position: relative; margin-top: clamp(5rem, 12vw, 8rem); text-align: center; overflow: hidden; min-height: clamp(320px, 42vw, 460px); display: grid; align-items: end; }
.pied-fleurs { position: absolute; bottom: 0; pointer-events: none; }
.pied-fleurs--g { left: 0; width: min(44vw, 420px); }
.pied-fleurs--d { right: 0; width: min(46vw, 460px); }
.pied-contenu { position: relative; z-index: 1; padding: 1rem var(--gouttiere-d) calc(2.6rem + env(safe-area-inset-bottom, 0px)) var(--gouttiere-g); }
.pied-monogramme { font-family: var(--f-noms); font-size: 3.4rem; line-height: 1.1; margin: 0; }
.pied .fleuron { width: 170px; margin: 0 auto .4rem; }
.pied-noms { font-family: var(--f-noms); font-size: 2.6rem; line-height: 1.3; margin: 0; }
.pied-date { font-weight: 500; font-size: .76rem; letter-spacing: .32em; color: var(--or); margin: .2rem 0 .5rem; }
.pied-texte { font-style: italic; color: var(--encre-douce); margin: 0; }
@media (max-width: 700px) {
  .pied { min-height: 0; }
  .pied-contenu { padding-bottom: calc(11.5rem + env(safe-area-inset-bottom, 0px)); }
  .pied-fleurs--g { width: 40vw; }
  .pied-fleurs--d { width: 46vw; }
}

/* ==========================================================================
   Apparition de l'accueil (une seule fois)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-texte > *, .hero .arche-cadre, .hero-fleurs, .compte { animation: apparition 1.3s cubic-bezier(.2, .7, .2, 1) both; }
  .noms { animation-delay: .15s !important; }
  .hero-invitation, .hero .fleuron, .hero-date, .hero-lieux { animation-delay: .35s !important; }
  .hero-action { animation-delay: .5s !important; }
  .hero-fleurs { animation-name: apparition-douce; animation-delay: .5s; animation-duration: 1.8s; }
  .compte { animation-name: apparition-douce; animation-delay: .9s; }
}
@keyframes apparition { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes apparition-douce { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .compte { animation-name: apparition-compte; }
}
@keyframes apparition-compte { from { opacity: 0; transform: rotate(2deg); } to { opacity: 1; transform: rotate(2deg); } }

@media print {
  .entete, .formulaire, .carte, .carte-papier-fleurs { display: none !important; }
  body { background: #fff; }
}
