:root {
  --craie: #f7f1ea;
  --papier: #fbf7f1;
  --calcaire: #efe6db;
  --encre: #3b1828;
  --prune: #6b2a45;
  --prune-nuit: #2f1220;
  --rose: #b4607e;
  --poudre: #ead5dc;
  --lichen: #8b9670;
  --doux: #7a6170;
  --filet: rgba(107, 42, 69, .18);

  --display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --texte: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --label: "Jost", system-ui, sans-serif;

  --marge: clamp(1.25rem, 5vw, 4.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--craie); color: var(--encre);
  font-family: var(--texte); font-size: clamp(1.12rem, 1rem + .35vw, 1.3rem); line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
::selection { background: var(--poudre); color: var(--prune); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body::after {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .09 0 0 0 0 .16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.label { font-family: var(--label); font-weight: 400; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--doux); }
.script { font-family: var(--script); font-weight: 400; }

/* ---------- Plantes au trait ---------- */
.plante { width: 100%; height: 100%; overflow: visible; }
.plante path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.t-epais { stroke-width: 1.35; }
.t-moyen { stroke-width: .85; }
.t-fin { stroke-width: .55; opacity: .85; }
.t-points circle { fill: var(--rose); }
.js .a-dessiner .plante path { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.js .a-dessiner .t-points circle { opacity: 0; }

/* ---------- En-tete ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 90; display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem var(--marge); transition: transform .6s var(--ease), background .4s, padding .4s;
}
.entete.fond { background: rgba(247, 241, 234, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-top: .75rem; padding-bottom: .75rem; }
.entete.cache { transform: translateY(-100%); }
.mono { font-family: var(--script); font-size: 1.9rem; line-height: 1; color: var(--prune); text-decoration: none; }
.mono i, .amp, .cachet-amp { font-family: var(--display); font-style: italic; font-weight: 300; }
.mono i { font-size: .72em; padding: 0 .06em; color: var(--rose); }
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav a { font-family: var(--label); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--encre); position: relative; padding: .4rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-rsvp { border: 1px solid var(--prune); color: var(--prune); padding: .7rem 1.3rem; border-radius: 999px; transition: background .4s, color .4s; }
.nav .nav-rsvp::after { display: none; }
.nav .nav-rsvp:hover, .nav .nav-rsvp[aria-current="page"] { background: var(--prune); color: var(--craie); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; font-family: var(--label); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--encre); padding: .6rem 0; }

.menu {
  position: fixed; inset: 0; z-index: 95; background: var(--prune-nuit); color: var(--craie);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--marge) 3rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); pointer-events: none;
}
.menu-ouvert .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu a { font-family: var(--display); font-weight: 300; font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.15; text-decoration: none; display: block; overflow: hidden; }
.menu a span { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
.menu-ouvert .menu a span { transform: none; }
.menu-ouvert .menu a:nth-child(2) span { transition-delay: .06s; }
.menu-ouvert .menu a:nth-child(3) span { transition-delay: .12s; }
.menu-ouvert .menu a:nth-child(4) span { transition-delay: .18s; }
.menu .label { color: rgba(247, 241, 234, .55); margin-top: 3rem; }
.menu-fermer { position: absolute; top: 1.3rem; right: var(--marge); background: none; border: 0; color: var(--craie); font-family: var(--label); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; cursor: pointer; }
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 6.5rem var(--marge) 0; display: flex; flex-direction: column; overflow: hidden; }
.hero-haut { display: flex; justify-content: space-between; gap: 1rem; position: relative; z-index: 3; }
.hero-noms {
  position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center;
  font-family: var(--display); font-weight: 300; color: var(--prune); line-height: .86; letter-spacing: -.01em;
  font-size: clamp(4.4rem, 15.5vw, 14rem); margin: 2rem 0 1rem;
}
.hero-noms .ligne { display: block; overflow: hidden; padding: .04em 0 .12em; }
.hero-noms .l1 { padding-left: 4vw; }
.hero-noms .l2 { text-align: right; padding-right: 3vw; margin-top: -.08em; }
.hero-noms .esperluette {
  display: inline-block; font-family: var(--display); font-style: italic; font-weight: 300; color: var(--rose); font-size: .72em; line-height: 1;
  margin-right: .14em; letter-spacing: 0;
}
.lettre { display: inline-block; will-change: transform; }
.hero-bas { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 1rem; padding-bottom: clamp(5rem, 11vw, 9rem); }
.hero-bas .invite { font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--doux); max-width: 22ch; line-height: 1.35; }
.hero-bas .defiler { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: .8rem; text-decoration: none; }
.defiler i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--prune), transparent); position: relative; overflow: hidden; }
.defiler i::after { content: ""; position: absolute; inset: 0; background: var(--craie); animation: goutte 2.2s var(--ease) infinite; }
@keyframes goutte { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

.rond { justify-self: end; position: relative; z-index: 4; width: clamp(108px, 11vw, 150px); aspect-ratio: 1; display: grid; place-items: center; color: var(--prune); text-decoration: none; border-radius: 50%; }
.rond::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: rgba(247, 241, 234, .94); box-shadow: 0 6px 24px -10px rgba(59, 24, 40, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rond > * { position: relative; }
.rond svg.anneau { position: absolute; }
.rond svg.anneau { position: absolute; inset: 0; width: 100%; height: 100%; animation: tourne 22s linear infinite; }
.rond svg.anneau text { font-family: var(--label); font-size: 9.6px; letter-spacing: 2.6px; text-transform: uppercase; fill: currentColor; }
.rond .coeur-rond { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--prune); color: var(--craie); display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.rond .coeur-rond svg { width: 34%; }
.rond:hover .coeur-rond { transform: scale(1.12); background: var(--rose); }
@keyframes tourne { to { transform: rotate(360deg); } }

.hero-plante { position: absolute; z-index: 1; color: var(--prune); pointer-events: none; transform-origin: 50% 100%; }
.hero-plante.p1 { left: -3vw; bottom: 2vh; width: clamp(180px, 22vw, 330px); aspect-ratio: 3 / 5; opacity: .5; }
.hero-plante.p2 { right: 14vw; bottom: 6vh; width: clamp(120px, 14vw, 220px); aspect-ratio: 3 / 5; opacity: .7; }
.hero-plante.p3 { right: -3vw; bottom: 0; width: clamp(160px, 20vw, 300px); aspect-ratio: 3 / 5; opacity: .55; }
.horizon-trait { position: absolute; left: 0; bottom: 0; width: 100%; max-width: none; height: clamp(80px, 11vw, 170px); z-index: 2; pointer-events: none; }
.horizon-trait path { fill: none; stroke: var(--prune); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .45; }
.horizon-trait path.fond-h { fill: var(--calcaire); stroke: none; opacity: 1; }
.horizon-trait path.fond-b { fill: var(--calcaire); stroke: none; opacity: .45; }
.horizon-trait path.trait-b { opacity: .2; }
@media (max-width: 700px) {
  .hero-noms { font-size: 21vw; }
  .hero-haut { flex-direction: column; gap: .35rem; }
  .hero-noms .l1 { padding-left: 0; }
  .hero-noms .l2 { padding-right: 0; }
  .hero-bas { grid-template-columns: 1fr auto; }
  .hero-bas .invite { padding-left: 0; }
  .hero-bas .defiler { display: none; }
  .hero-plante.p2 { display: none; }
  .hero-plante.p1 { width: 46vw; left: -12vw; opacity: .5; }
  .hero-plante.p3 { width: 40vw; right: -12vw; opacity: .4; }
}

.hero-photo { position: absolute; z-index: 2; right: calc(var(--marge) + 2vw); top: 19vh; width: clamp(220px, 23vw, 380px); margin: 0; }
.arche { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--calcaire); }
.arche img, .arche video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; left: -14px; right: 14px; top: 14px; aspect-ratio: 4 / 5; border: 1px solid rgba(180, 96, 126, .5); border-radius: 999px 999px 0 0; pointer-events: none; }
.hero-photo figcaption { margin-top: .9rem; text-align: left; }
@media (min-width: 701px) {
  .hero-noms { font-size: clamp(4.4rem, 11.5vw, 11rem); }
  .hero-noms .l1 { padding-left: 0; }
  .hero-noms .l2 { text-align: left; padding-left: 9vw; padding-right: 0; }
  .hero-plante.p2 { right: auto; left: 46vw; }
}
@media (max-width: 700px) {
  .hero-photo { position: relative; right: auto; top: auto; width: 58vw; margin: 0 auto 2rem; }
  .hero-noms { flex: none; margin-bottom: 2rem; }
}

/* ---------- Bandeau defilant ---------- */
.defilant { background: var(--calcaire); border-bottom: 1px solid var(--filet); overflow: hidden; padding: 1.3rem 0; }
.defilant-piste { display: flex; width: max-content; will-change: transform; }
.defilant-piste span { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(1.8rem, 4vw, 3.2rem); color: var(--prune); white-space: nowrap; display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; }
.defilant-piste svg { width: .7em; height: .7em; color: var(--rose); }

/* ---------- Chapitres ---------- */
.chapitre { position: relative; padding: clamp(5.5rem, 12vw, 10rem) var(--marge); }
.chapitre.calcaire { background: var(--calcaire); }
.chap-tete { display: flex; align-items: baseline; gap: 1.2rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.chap-tete .num { font-family: var(--display); font-weight: 300; font-size: 1rem; color: var(--rose); }
.chap-tete .trait { flex: 1; height: 1px; background: var(--filet); transform-origin: left; }
.titre-grand { font-family: var(--display); font-weight: 300; font-size: clamp(2.9rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.015em; color: var(--prune); }
.titre-grand em { font-style: italic; color: var(--rose); }
.titre-grand .ligne { display: block; overflow: hidden; padding-bottom: .1em; }
.titre-grand .ligne > span { display: block; }

.histoire { display: grid; gap: clamp(2.5rem, 6vw, 6rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .histoire { grid-template-columns: 5fr 6fr; } .histoire .colle { position: sticky; top: 7rem; align-self: start; } }
.histoire .plante-h { width: clamp(140px, 16vw, 220px); aspect-ratio: 3 / 5; color: var(--prune); margin-top: 2.5rem; opacity: .9; }
.prose p + p { margin-top: 1.1em; }
.prose .lettrine::first-letter { font-family: var(--script); font-size: 3.6em; float: left; line-height: .7; padding: .2em .32em 0 0; color: var(--rose); }
.citation-scrub { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(1.9rem, 3.8vw, 3.3rem); line-height: 1.18; color: var(--prune); margin: clamp(3.5rem, 8vw, 6rem) 0 0; }
.js .citation-scrub .mot { opacity: .16; }

.frise { list-style: none; margin: clamp(4.5rem, 9vw, 7rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.frise::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--prune); opacity: .35; transform: scaleX(var(--p, 1)); transform-origin: left; }
.frise li { padding: 1.6rem 1rem 0 0; position: relative; }
.frise li::before { content: ""; position: absolute; top: -4px; transform: scale(var(--pt, 1)); left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--craie); border: 1px solid var(--prune); }
.frise .annee { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--prune); line-height: 1; display: block; }
.frise .quoi { display: block; margin-top: .5rem; font-style: italic; color: var(--doux); font-size: 1.05rem; line-height: 1.4; }
@media (max-width: 640px) {
  .frise { grid-template-columns: 1fr; gap: 2.2rem; padding-left: 1.4rem; }
  .frise::before { top: 0; bottom: 0; left: 0; right: auto; width: 1px; height: auto; transform: scaleY(var(--p, 1)); transform-origin: top; }
  .frise li { padding: 0; }
  .frise li::before { left: calc(-1.4rem - 4px); top: .7rem; }
}

.programme { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filet); }
.moment { display: grid; grid-template-columns: minmax(7rem, 1.1fr) 2fr 1.3fr; gap: 1.5rem 2.5rem; align-items: baseline; padding: clamp(2rem, 4.5vw, 3.4rem) 0; border-bottom: 1px solid var(--filet); position: relative; isolation: isolate; }
.moment::before { content: ""; position: absolute; inset: 0 calc(var(--marge) * -1); background: var(--poudre); opacity: 0; transition: opacity .6s var(--ease); z-index: -1; }
.moment:hover::before { opacity: .45; }
.moment .heure { font-family: var(--display); font-weight: 300; font-size: clamp(3.4rem, 8vw, 7rem); line-height: .9; color: var(--prune); }
.moment .heure sup { font-size: .32em; vertical-align: top; margin-left: .08em; position: relative; top: .35em; color: var(--rose); }
.moment h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2.4rem); line-height: 1.1; color: var(--encre); }
.moment .detail { color: var(--doux); margin-top: .5rem; }
.moment .ou { text-align: right; }
.lien-fleche { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--label); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--prune); padding-bottom: .3rem; border-bottom: 1px solid currentColor; transition: gap .5s var(--ease); background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.lien-fleche:hover { gap: 1.1rem; }
.lien-fleche svg { width: 14px; height: 14px; }
.lien-fleche[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.programme-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2.6rem; }
@media (max-width: 760px) {
  .moment { grid-template-columns: 1fr; gap: .6rem; }
  .moment .ou { text-align: left; margin-top: .8rem; }
}

.vercors { position: relative; background: var(--prune-nuit); color: var(--craie); overflow: hidden; padding: clamp(6rem, 14vw, 12rem) var(--marge) clamp(10rem, 18vw, 16rem); }
.vercors .chap-tete .num { color: var(--poudre); }
.vercors .chap-tete .trait { background: rgba(247, 241, 234, .2); }
.vercors .label { color: rgba(247, 241, 234, .6); }
.vercors .titre-grand { color: var(--craie); max-width: 20ch; }
.vercors .titre-grand em { color: var(--poudre); }
.vercors-grille { display: grid; gap: 3rem; grid-template-columns: 1fr; margin-top: clamp(2.5rem, 6vw, 4.5rem); position: relative; z-index: 2; }
@media (min-width: 900px) { .vercors-grille { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.vercors .prose { color: rgba(247, 241, 234, .82); }
.mots-cles { list-style: none; padding: 0; margin: 0; }
.mots-cles sup, .prose sup { font-size: .55em; }
.adresse-lieu { margin-top: 2.4rem; color: rgba(247, 241, 234, .82); }
.adresse-lieu .label { margin-bottom: .6rem; }
.adresse-lieu p + p { margin-bottom: 1.2rem; }
.lien-fleche.clair { color: var(--poudre); }
.mots-cles li { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.25; border-bottom: 1px solid rgba(247, 241, 234, .14); padding: .55rem 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.mots-cles li span { font-family: var(--label); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(247, 241, 234, .45); text-align: right; }
.cretes-nuit { position: absolute; left: 0; bottom: 0; height: clamp(120px, 20vw, 260px); width: 100%; max-width: none; }
.cretes-nuit path { fill: none; stroke: var(--poudre); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cretes-nuit .c-b { opacity: .22; }
.cretes-nuit .c-m { opacity: .42; }
.cretes-nuit .c-a { opacity: .8; }
.carotte-nuit { position: absolute; right: -4vw; bottom: -2vw; width: clamp(260px, 34vw, 560px); height: auto; opacity: .22; pointer-events: none; z-index: 1; }
.appel .plante-g.fp { width: clamp(180px, 26vw, 400px); aspect-ratio: auto; height: auto; left: -3vw; bottom: -3vw; opacity: .35; }
.vercors .herbes-nuit { position: absolute; right: 2vw; bottom: 0; width: clamp(160px, 22vw, 320px); aspect-ratio: 3 / 5; color: var(--poudre); opacity: .5; }
.vercors .herbes-nuit .t-points circle { fill: var(--poudre); }

.essentiel { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet); }
.essentiel article { padding: 2.4rem 2rem 2.4rem 0; border-right: 1px solid var(--filet); }
.essentiel article + article { padding-left: 2rem; }
.essentiel article:last-child { border-right: 0; }
.essentiel .label { color: var(--rose); }
.essentiel h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 1rem 0 .7rem; color: var(--prune); line-height: 1.1; }
.essentiel p { color: var(--doux); }
.essentiel p + p { margin-top: .7em; }
.essentiel strong { color: var(--encre); font-weight: 500; }
.essentiel .lien-fleche { margin-top: 1.4rem; }
@media (max-width: 860px) {
  .essentiel { grid-template-columns: 1fr; }
  .essentiel article, .essentiel article + article { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--filet); }
}

.faq { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .faq { grid-template-columns: 5fr 7fr; gap: 6rem; } }
.faq-liste { border-top: 1px solid var(--filet); }
.question { border-bottom: 1px solid var(--filet); }
.question button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: var(--encre); line-height: 1.25; }
.question button:focus-visible { outline: 1px solid var(--rose); outline-offset: 4px; }
.question .plus { width: 18px; height: 18px; flex: none; position: relative; }
.question .plus::before, .question .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--prune); transition: transform .6s var(--ease); }
.question .plus::after { transform: rotate(90deg); }
.question.ouverte .plus::after { transform: rotate(0); }
.js .question .reponse { height: 0; overflow: hidden; }
.question .reponse p { padding: 0 3rem 1.8rem 0; color: var(--doux); }
.question .reponse a { color: var(--prune); }

.appel { position: relative; text-align: center; padding: clamp(7rem, 15vw, 13rem) var(--marge); overflow: hidden; background: var(--poudre); }
.appel .titre-grand { font-size: clamp(3.2rem, 10vw, 9rem); }
.appel .script { display: block; font-size: clamp(1.8rem, 4vw, 3.2rem); color: var(--rose); margin-top: .6rem; line-height: 1.2; }
.appel .plante-g, .appel .plante-d { position: absolute; bottom: -2rem; width: clamp(150px, 22vw, 320px); aspect-ratio: 3 / 5; color: var(--prune); opacity: .5; }
.appel .plante-g { left: 1vw; }
.appel .plante-d { right: 1vw; }
.appel > *:not([class^="plante"]) { position: relative; z-index: 2; }

.bouton { display: inline-flex; align-items: center; gap: 1rem; margin-top: 3rem; padding: 1.25rem 2.4rem; border-radius: 999px; background: var(--prune); color: var(--craie); text-decoration: none; font-family: var(--label); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; position: relative; overflow: hidden; isolation: isolate; border: 0; cursor: pointer; }
.bouton::before { content: ""; position: absolute; inset: 0; background: var(--encre); transform: translateY(101%); transition: transform .7s var(--ease); z-index: -1; border-radius: inherit; }
.bouton:hover::before { transform: none; }
.bouton svg { width: 14px; height: 14px; transition: transform .6s var(--ease); }
.bouton:hover svg { transform: translateX(4px); }
.bouton[aria-disabled="true"], .bouton:disabled { opacity: .45; pointer-events: none; }
.bouton.clair { background: transparent; color: var(--prune); box-shadow: inset 0 0 0 1px var(--prune); }
.bouton.clair::before { background: var(--prune); }
.bouton.clair:hover { color: var(--craie); }

.pied { background: var(--prune-nuit); color: var(--craie); padding: clamp(4rem, 9vw, 7rem) var(--marge) 1.8rem; overflow: hidden; }
.pied-noms { font-family: var(--display); font-weight: 300; font-size: clamp(3rem, 12.5vw, 12rem); line-height: .95; letter-spacing: -.02em; white-space: nowrap; }
.pied-noms .amp { color: var(--poudre); font-size: .8em; padding: 0 .1em; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(247, 241, 234, .16); }
.pied-bas .label { color: rgba(247, 241, 234, .55); }
.pied-bas a { color: rgba(247, 241, 234, .8); text-decoration: none; }

/* ---------- Photographies ---------- */
.paysage { position: relative; height: 115vh; background: var(--craie); }
.paysage-cadre { position: sticky; top: 0; height: 100vh; margin: 0; overflow: hidden; }
.paysage-cadre img, .paysage-cadre video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; will-change: transform; }
.paysage-cadre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47, 18, 32, .05) 30%, rgba(47, 18, 32, .55) 100%); }
.paysage figcaption { position: absolute; left: var(--marge); right: var(--marge); bottom: clamp(2.5rem, 7vw, 5rem); z-index: 2; color: var(--craie); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.paysage-texte { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 1; letter-spacing: -.01em; }
.paysage-texte .ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.paysage-texte .ligne > span { display: block; }
.paysage-texte em { color: var(--poudre); }
.paysage .label { color: rgba(247, 241, 234, .75); }

.galerie { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; margin-top: clamp(5rem, 10vw, 9rem); }
.g-photo { margin: 0; }
.g-cadre { position: relative; overflow: hidden; }
.g-cadre img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; max-width: none; object-fit: cover; will-change: transform; }
.g-photo figcaption { margin-top: .9rem; color: rgba(247, 241, 234, .55); }
.g1 { grid-column: 1 / 8; }
.g1 .g-cadre { aspect-ratio: 3 / 2; }
.g2 { grid-column: 9 / 13; margin-top: 9rem; }
.g2 .g-cadre { aspect-ratio: 3 / 4; }
.g3 { grid-column: 3 / 9; margin-top: -3rem; }
.g3 .g-cadre { aspect-ratio: 16 / 10; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .g1 { grid-column: 1 / 7; }
  .g2 { grid-column: 3 / 7; margin-top: 1rem; }
  .g3 { grid-column: 1 / 6; margin-top: 1rem; }
}

.bandeau-photo { margin: 0 var(--marge) clamp(3.5rem, 7vw, 5.5rem); }
.bandeau-photo .g-cadre { aspect-ratio: 21 / 8; }
.bandeau-photo figcaption { margin-top: .9rem; }
@media (max-width: 700px) { .bandeau-photo .g-cadre { aspect-ratio: 4 / 3; } }
.credits { margin-top: 1.4rem; font-family: var(--label); font-size: .6rem; letter-spacing: .14em; color: rgba(247, 241, 234, .35); }

/* ---------- Pages internes ---------- */
.page-hero { position: relative; padding: clamp(9rem, 18vw, 13rem) var(--marge) clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.page-hero .titre-grand { font-size: clamp(3.6rem, 11vw, 10rem); position: relative; z-index: 2; }
.page-hero .chapo { margin-top: 2rem; max-width: 34ch; font-style: italic; color: var(--doux); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.4; position: relative; z-index: 2; }
.page-hero .plante-ph { position: absolute; right: 3vw; bottom: -1rem; width: clamp(140px, 20vw, 280px); aspect-ratio: 3 / 5; color: var(--prune); opacity: .7; }

.rubriques { padding: 0 var(--marge) clamp(5rem, 10vw, 8rem); }
.rubrique { display: grid; grid-template-columns: 1fr; gap: 1rem 4rem; padding: clamp(2.2rem, 5vw, 3.6rem) 0; border-top: 1px solid var(--filet); }
@media (min-width: 860px) { .rubrique { grid-template-columns: 4fr 8fr; } }
.rubrique h2 { font-family: var(--display); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; color: var(--prune); }
.rubrique h2 .label { display: block; margin-bottom: .9rem; color: var(--rose); }
.rubrique .contenu p + p, .rubrique .contenu ul + p { margin-top: .9em; }
.rubrique ul { list-style: none; margin: 0; padding: 0; }
.rubrique li { padding: .75rem 0; border-bottom: 1px solid var(--filet); display: flex; gap: 1.2rem; }
.rubrique li:first-child { padding-top: 0; }
.rubrique li .n { font-family: var(--display); color: var(--rose); min-width: 1.6rem; }
.rubrique .grand { font-family: var(--display); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; color: var(--encre); }
.rubrique .grand a { text-decoration: none; }
.rubrique .attente { font-style: italic; color: var(--doux); }
.rubrique .lien-fleche { margin-top: 1.4rem; }
.rubrique .contenu p + ul { margin-top: 1.2rem; }
.heberg h3.label { color: var(--rose); margin: 2.4rem 0 .4rem; }
.heberg h3.label:first-child { margin-top: 0; }
.heberg .adresse { padding: 1.1rem 0; border-bottom: 1px solid var(--filet); }
.heberg .adresse p + p { margin-top: .35em; }
.heberg .nom { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.6rem); color: var(--prune); line-height: 1.2; }
.heberg .coord { color: var(--doux); font-size: .95em; overflow-wrap: anywhere; }
.heberg .note { margin-top: 1.1rem; font-style: italic; color: var(--doux); }
.nuancier { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem 1rem; margin-top: 1.8rem !important; }
.nuancier li { display: block; padding: 0; border: 0; font-family: var(--label); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); line-height: 1.4; }
.nuancier li::before { content: ""; display: block; aspect-ratio: 4 / 3; margin-bottom: .55rem; background: var(--c); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
@media (max-width: 600px) { .nuancier { grid-template-columns: repeat(3, 1fr); } }
.plan { margin-top: 2rem; aspect-ratio: 16 / 9; width: 100%; border: 0; filter: grayscale(.5) sepia(.25) contrast(.95); }

.formulaire { padding: 0 var(--marge) clamp(5rem, 10vw, 8rem); }
.form-grille { display: grid; grid-template-columns: 1fr; gap: 0 4rem; }
@media (min-width: 860px) { .form-grille { grid-template-columns: 4fr 8fr; } }
.form-cote { padding-top: 2.4rem; border-top: 1px solid var(--filet); margin-bottom: 2rem; }
.form-cote .grand-date { font-family: var(--display); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4rem); color: var(--prune); line-height: 1; margin-top: .8rem; }
.form-cote p { color: var(--doux); margin-top: 1.4rem; }
form { border-top: 1px solid var(--filet); padding-top: 1rem; }
.champ { position: relative; padding-top: 1.6rem; }
.champ label.flottant { position: absolute; left: 0; top: 2.65rem; font-family: var(--display); font-size: 1.4rem; color: var(--doux); pointer-events: none; transform-origin: left top; transition: transform .5s var(--ease), color .3s, top .5s var(--ease); }
.champ input, .champ textarea, .champ select { width: 100%; border: 0; border-bottom: 1px solid rgba(107, 42, 69, .3); background: transparent; border-radius: 0; font-family: var(--display); font-size: 1.5rem; color: var(--encre); padding: 1rem 0 .7rem; outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none; }
.champ textarea { min-height: 7rem; resize: vertical; line-height: 1.4; }
.champ input:focus + label.flottant, .champ input:not(:placeholder-shown) + label.flottant,
.champ textarea:focus + label.flottant, .champ textarea:not(:placeholder-shown) + label.flottant { top: 1rem; transform: scale(.62); color: var(--rose); }
.champ .trait-focus { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--prune); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.champ input:focus ~ .trait-focus, .champ textarea:focus ~ .trait-focus, .champ select:focus ~ .trait-focus { transform: scaleX(1); }
.champ .label-fixe { display: block; margin-bottom: .2rem; }
.champ select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b2a45' stroke-width='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .2rem center; background-size: 12px; }
.champ.presence { padding-top: 2.6rem; }
.choix-presence { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.choix-presence label { position: relative; cursor: pointer; display: block; }
.choix-presence input { position: absolute; opacity: 0; pointer-events: none; }
.choix-presence span { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1.4rem 1.3rem; border: 1px solid rgba(107, 42, 69, .25); border-radius: 2px; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; color: var(--encre); transition: background .5s var(--ease), color .5s, border-color .5s; }
.choix-presence span small { font-family: var(--label); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--doux); transition: color .5s; }
.choix-presence input:checked + span { background: var(--prune); border-color: var(--prune); color: var(--craie); }
.choix-presence input:checked + span small { color: var(--poudre); }
.choix-presence input:focus-visible + span { outline: 1px solid var(--rose); outline-offset: 3px; }
.si-present { overflow: hidden; }
.si-present[hidden] { display: none; }
.deux-col { display: grid; grid-template-columns: 1fr; gap: 0 2rem; }
@media (min-width: 620px) { .deux-col { grid-template-columns: 1fr 1fr; } }
.pot { position: absolute; left: -9999px; }
.envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 2.5rem; }
.envoi .bouton { margin-top: 0; }
.message-form { font-style: italic; color: var(--doux); }
.message-form.erreur { color: #9b2c48; }
.merci { padding: 3rem 0; }
.merci .titre-grand { font-size: clamp(3rem, 8vw, 6rem); }
.merci p { margin-top: 1.4rem; color: var(--doux); max-width: 40ch; }

.liste-grande { padding: 0 var(--marge) clamp(5rem, 10vw, 8rem); }
.liste-grande .citation-scrub { margin: 0 0 clamp(3rem, 7vw, 5rem); max-width: 22ch; }
.liens-grands { border-top: 1px solid var(--filet); }
.lien-grand { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: clamp(1.8rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--filet); text-decoration: none; color: var(--prune); }
.lien-grand .n { font-family: var(--display); color: var(--rose); font-size: 1.1rem; }
.lien-grand .t { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1; transition: transform .7s var(--ease); display: block; }
.lien-grand .s { font-family: var(--label); font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; color: var(--doux); display: block; margin-top: .6rem; }
.lien-grand svg { width: 28px; height: 28px; transition: transform .7s var(--ease); }
.lien-grand:hover .t { transform: translateX(1.2rem); }
.lien-grand:hover svg { transform: rotate(-45deg); }
.lien-grand[aria-disabled="true"] { pointer-events: none; }
.lien-grand[aria-disabled="true"] .t { opacity: .45; }
.qr-cagnotte { display: flex; align-items: center; gap: 2rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.qr-cagnotte img { width: 140px; height: 140px; padding: 12px; background: #fff; border-radius: 4px; flex: none; }
.qr-cagnotte .label { color: var(--rose); margin-bottom: .6rem; }
.qr-cagnotte p:last-child { color: var(--doux); max-width: 32ch; }

/* ---------- Rideau et curseur ---------- */
.rideau { position: fixed; inset: 0; z-index: 250; background: var(--prune-nuit); pointer-events: none; transform: translateY(100%); visibility: hidden; display: grid; place-items: center; }
.rideau .mono { color: var(--poudre); font-size: 3rem; }
.curseur { position: fixed; left: 0; top: 0; z-index: 280; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--prune); border-radius: 50%; pointer-events: none; opacity: 0; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .4s, border-color .4s, opacity .3s; }
.curseur.actif { opacity: .7; }
body.intro-active .curseur { opacity: 0 !important; }
.curseur.survol { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(180, 96, 126, .14); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .curseur { display: none; } }

/* ---------- Son ---------- */
.bouton-son {
  position: fixed; left: var(--marge); bottom: 1.4rem; z-index: 260; display: flex; align-items: center; gap: .7rem;
  background: rgba(247, 241, 234, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(107, 42, 69, .22); border-radius: 999px; padding: .55rem .95rem .55rem .8rem; cursor: pointer; color: var(--prune);
  transition: background .4s, border-color .4s;
}
.bouton-son:hover { border-color: var(--prune); }
.bouton-son .label { color: var(--prune); font-size: .6rem; }
.barres { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.barres i { display: block; width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .4s; }
.bouton-son.joue .barres i { animation: barre 1.1s ease-in-out infinite; }
.bouton-son.joue .barres i:nth-child(2) { animation-delay: -.35s; }
.bouton-son.joue .barres i:nth-child(3) { animation-delay: -.7s; }
.bouton-son.joue .barres i:nth-child(4) { animation-delay: -.2s; }
@keyframes barre { 0%, 100% { height: 3px; } 50% { height: 12px; } }
.bouton-son[aria-pressed="false"] .barres i { height: 2px; opacity: .5; }

/* ---------- Intro enveloppe ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; background-color: #e6dacb; background-image: radial-gradient(85% 70% at 20% 8%, rgba(255, 250, 242, .9), rgba(255, 250, 242, 0) 60%), radial-gradient(150% 120% at 55% 45%, rgba(74, 44, 34, 0) 50%, rgba(74, 44, 34, .26) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .95' numOctaves='2' seed='2'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .24 0 0 0 .16 -.03'/%3E%3C/filter%3E%3Cfilter id='b'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95 .018' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .24 0 0 0 .13 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23b)'/%3E%3C/svg%3E"); }
.intro[hidden] { display: none; }
html.intro-on .intro[hidden] { display: grid; }
html.intro-on body { overflow: hidden; }
html.intro-on .intro-scene { opacity: 0; }
body.intro-active { overflow: hidden; }
.intro-scene { position: relative; perspective: 1500px; perspective-origin: 50% 40%; display: flex; flex-direction: column; align-items: center; gap: clamp(2rem, 5vh, 3.2rem); }
.intro-ombre { position: absolute; width: clamp(420px, 52vw, 820px); right: -14vw; top: -30vh; transform: rotate(-32deg); transform-origin: 70% 100%; filter: brightness(0) blur(9px); opacity: .1; mix-blend-mode: multiply; pointer-events: none; animation: ombre-vent 11s ease-in-out infinite alternate; }
@keyframes ombre-vent { from { transform: rotate(-32deg) skewX(0deg); } to { transform: rotate(-29.5deg) skewX(-2deg); } }
@media (max-width: 700px) { .intro-ombre { width: 120vw; right: -50vw; top: -20vh; } }

.enveloppe { position: relative; width: min(86vw, 560px); aspect-ratio: 3 / 2; cursor: pointer; outline: none; transform-style: preserve-3d; -webkit-tap-highlight-color: transparent; touch-action: pan-y; }
.enveloppe:focus-visible { outline: 1px dashed var(--rose); outline-offset: 12px; }

.env-dos, .env-poche { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.env-dos { z-index: 1; }
.env-poche { z-index: 3; pointer-events: none; }
.env-mention { font-family: var(--label); font-size: 9px; letter-spacing: 4.5px; text-transform: uppercase; fill: var(--rose); opacity: .7; }
.env-carte { position: absolute; left: 4.5%; right: 4.5%; top: 5%; height: 90%; z-index: 2; container-type: inline-size; filter: drop-shadow(0 1px 1px rgba(59, 24, 40, .14)) drop-shadow(0 10px 18px rgba(59, 24, 40, .16)); }
.carte-int {
  position: absolute; inset: 0; overflow: hidden;
  background-color: #fcf8f2;
  background-image:
    radial-gradient(120% 90% at 30% 20%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='8'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .35' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .35 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  -webkit-mask: url("img/carte-bord.svg") center / 100% 100% no-repeat; mask: url("img/carte-bord.svg") center / 100% 100% no-repeat;
}
.carte-int::before, .carte-int::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(180, 96, 126, .42); }
.carte-int::before { inset: 4.2cqw; }
.carte-int::after { inset: 5.1cqw; border-color: rgba(180, 96, 126, .22); }
.carte-coin { position: absolute; height: auto; opacity: .5; pointer-events: none; }
.carte-coin .t-points circle { fill: var(--rose); }
.carte-coin.c-hg { width: 21cqw; left: -4cqw; top: -15cqw; transform: rotate(158deg); }
.carte-coin.c-bd { width: 17cqw; right: -2cqw; bottom: -18cqw; transform: rotate(-12deg); }
.carte-texte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 12cqw; }
.carte-texte p { color: var(--prune); text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 -.5px 0 rgba(59, 24, 40, .12); }
.carte-date { font-family: var(--display); font-style: italic; font-size: 4.4cqw; line-height: 1.1; margin-top: 2.2cqw; color: var(--prune); }
.carte-noms { font-family: var(--display); font-weight: 300; font-size: 8.4cqw; line-height: 1; margin: 0 0 2.6cqw; letter-spacing: -.01em; }
.carte-noms span { font-family: var(--display); font-style: italic; font-weight: 300; color: var(--rose); padding: 0 .08em; }
.carte-invite { font-family: var(--display); font-style: italic; font-size: max(2.9cqw, 10.5px); line-height: 1.45; color: var(--doux) !important; }
.carte-crete { width: 30cqw; height: auto; margin: 2.6cqw auto 2cqw; opacity: .85; }
.carte-crete path { fill: none; stroke: var(--rose); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .8; }
.carte-lieu { font-family: var(--label); font-size: max(1.75cqw, 7px); letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }

.env-rabat { position: absolute; left: 0; right: 0; top: 0; height: 67.5%; z-index: 4; transform-origin: 50% 0; transform-style: preserve-3d; }
.env-rabat svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.env-rabat .rabat-int { transform: rotateX(180deg); }

.env-cachet { position: absolute; left: 39.5%; top: 45.25%; width: 21%; aspect-ratio: 1; z-index: 6; transform-style: preserve-3d; }
.env-cachet svg, .cachet-morceau { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cachet-entier, .cachet-morceau { filter: drop-shadow(.8px 1.4px .8px rgba(40, 10, 20, .45)) drop-shadow(3px 5px 5px rgba(40, 10, 20, .2)); }
.cachet-morceau { visibility: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.env-rabat .m-haut { inset: auto; left: 39.5%; top: 67.04%; width: 21%; height: auto; aspect-ratio: 1; transform: translateZ(1px); }
.env-rabat .brin-pos { position: absolute; left: 39.5%; top: 67.04%; width: 21%; aspect-ratio: 1; transform: translateZ(.5px); }
.cachet-brin { position: absolute; width: 175%; aspect-ratio: 3 / 5; left: -37.5%; top: -169%; color: #7d8a62; transform: rotate(36deg); transform-origin: 50% 76%; }
.cachet-brin .t-points circle { fill: #c9a24f; }
.brin-pos, .cachet-brin, .cachet-brin svg { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.intro.fendu .cachet-entier { visibility: hidden; }
.intro.fendu .cachet-morceau { visibility: visible; }
.env-cachet .miette { position: absolute; width: 5.5%; height: auto; inset: auto; opacity: 0; filter: drop-shadow(.5px .8px .4px rgba(40, 10, 20, .4)); }

.intro-aide { font-family: var(--label); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--doux); display: flex; align-items: center; gap: 1rem; }
.intro-aide::before, .intro-aide::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; }
.intro-passer { position: absolute; right: var(--marge); bottom: 1.6rem; background: none; border: 0; cursor: pointer; font-family: var(--label); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--doux); opacity: .8; }
.intro-passer:hover { color: var(--prune); }

@media (prefers-reduced-motion: reduce) {
  .rond svg.anneau, .defiler i::after { animation: none; }
}

@media (max-width: 899px) {
  .histoire { gap: 2rem; }
  .histoire .colle { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
  .histoire .plante-h { flex: none; width: clamp(80px, 24vw, 130px); margin: 0 -.5rem -1rem 0; }
}

.mots-cles .mc-t { font-style: normal; }

@media (hover: hover) and (pointer: fine) { .hero-photo { cursor: pointer; will-change: transform; } .hero-photo .arche { box-shadow: 0 30px 60px -30px rgba(59, 24, 40, .35); } }

.hero-noms { pointer-events: none; }
.hero-photo { cursor: pointer; }
.video-plein { position: fixed; inset: 0; z-index: 270; display: grid; place-items: center; cursor: zoom-out; }
.video-plein video { width: 100%; height: 100%; object-fit: cover; }
@media (orientation: portrait) { .video-plein video { object-fit: contain; } }
.video-fermer { position: absolute; top: 1.2rem; right: var(--marge); background: rgba(247, 241, 234, .9); border: 0; border-radius: 999px; padding: .7rem 1.2rem; font-family: var(--label); font-size: .65rem; letter-spacing: .24em; text-transform: uppercase; color: var(--prune); cursor: pointer; }

/* ---------- Enveloppe en 3D ---------- */
.env-dos, .env-poche, .env-carte, .env-cachet > svg, .env-reflet { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.env-tranche { position: absolute; background: linear-gradient(90deg, #e4d8c9 0%, #f7f0e6 20%, #dccfbf 50%, #f4ece1 78%, #d9ccbb 100%); }
.env-tranche.t-g { left: 0; top: 0; width: 9px; height: 100%; transform-origin: 0 50%; transform: rotateY(90deg); }
.env-tranche.t-d { right: 0; top: 0; width: 9px; height: 100%; transform-origin: 100% 50%; transform: rotateY(-90deg); }
.env-tranche.t-h { left: 0; top: 0; width: 100%; height: 9px; transform-origin: 50% 0; transform: rotateX(-90deg); background: linear-gradient(180deg, #e4d8c9 0%, #f7f0e6 20%, #dccfbf 50%, #f4ece1 78%, #d9ccbb 100%); }
.env-tranche.t-b { left: 0; bottom: 0; width: 100%; height: 9px; transform-origin: 50% 100%; transform: rotateX(90deg); background: linear-gradient(180deg, #e4d8c9 0%, #f7f0e6 20%, #dccfbf 50%, #f4ece1 78%, #d9ccbb 100%); }
.env-verso { position: absolute; inset: 0; transform: translateZ(-9px) rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.env-verso svg { width: 100%; height: 100%; display: block; }
.verso-pour { font-family: var(--script); font-size: 50px; fill: #4d282f; }
.verso-noms { font-family: var(--display); font-style: italic; font-size: 21px; fill: #4d282f; }
.verso-lieu { font-family: var(--display); font-style: italic; font-size: 16px; fill: #4d282f; opacity: .72; }
.timbre-txt { font-family: var(--label); font-size: 7px; letter-spacing: 1px; fill: #4d282f; }
.poste-txt { font-family: var(--label); font-size: 7.5px; letter-spacing: 1.6px; fill: #4d282f; }
.env-sol { position: absolute; left: calc(50% + 12px); top: calc(50% + 20px); width: min(86vw, 560px); aspect-ratio: 3 / 2; margin: calc(min(86vw, 560px) * -1 / 3) 0 0 calc(min(86vw, 560px) * -.5); border-radius: 6px; background: rgba(58, 32, 26, .5); filter: blur(18px); pointer-events: none; }
.env-reflet { position: absolute; inset: 0; pointer-events: none; z-index: 7; mix-blend-mode: soft-light; opacity: .32; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .9) 48%, rgba(255, 255, 255, 0) 62%); background-size: 260% 100%; background-position: var(--reflet, 50%) 0; }
.intro-geste { position: absolute; left: 0; right: 0; top: calc(100% + clamp(2rem, 5vh, 3rem)); text-align: center; font-family: var(--label); font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: #8a6f66; opacity: 0; pointer-events: none; }
.intro-entrer { position: absolute; left: 50%; bottom: clamp(2.5rem, 9vh, 5rem); transform: translateX(-50%); background: none; border: 0; border-bottom: 1px solid currentColor; padding: .4rem .2rem; cursor: pointer; font-family: var(--label); font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--prune); opacity: 0; visibility: hidden; }
.env-carte.lue { filter: drop-shadow(0 1px 1px rgba(59, 24, 40, .12)) drop-shadow(10px 26px 30px rgba(59, 24, 40, .22)); }
.env-rabat .rabat-int { opacity: 0; }
.intro.ouvre .env-rabat .rabat-int { opacity: 1; }

.fp-img { height: auto !important; aspect-ratio: auto !important; object-fit: contain; pointer-events: none; }
.hero-plante.fp-img { opacity: .75; }
.hero-plante.p1.fp-img { width: clamp(200px, 21vw, 340px); left: -3vw; bottom: 0; }
.hero-plante.p2.fp-img { width: clamp(90px, 9vw, 150px); bottom: 7vh; opacity: .6; }
.hero-plante.p3.fp-img { width: clamp(150px, 15vw, 250px); right: -2vw; bottom: 0; opacity: .55; }
.plante-h.fp-img { opacity: .8; }
.plante-ph.fp-img { opacity: .55; bottom: -2rem; }
@media (max-width: 700px) { .hero-plante.p1.fp-img { width: 44vw; opacity: .45; } .hero-plante.p3.fp-img { width: 34vw; opacity: .35; } }
.hero-plante.p1.fp-img { width: clamp(170px, 15vw, 260px); left: -4vw; opacity: .45; }
.hero-plante.p2.fp-img { width: clamp(80px, 7vw, 120px); opacity: .45; }
.fp-img { -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
@media (max-width: 700px) { .hero-bas { padding-bottom: 8.5rem; } .bouton-son { bottom: 1rem; } }

.credits a { color: rgba(247, 241, 234, .7); text-decoration: underline; text-underline-offset: 2px; }
.credits a:hover { color: var(--poudre); }
.appel .script { color: var(--prune); text-shadow: 0 0 10px var(--poudre), 0 0 18px var(--poudre), 0 0 3px var(--poudre); }
.appel .plante-g, .appel .plante-d { z-index: 0; }
@media (max-width: 700px) {
  .appel .script { font-size: 1.75rem; max-width: 16ch; margin-left: auto; margin-right: auto; }
  .appel .plante-g, .appel .plante-d { width: 40vw !important; opacity: .22 !important; bottom: -3rem !important; }
}
