@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url("../polices/great-vibes-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../polices/lora-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("../polices/lora-italique-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --fond: #f7eedf;
  --papier: #fbf6ee;
  --encre: #3a2a22;
  --doux: #5f4b3f;
  --foret: #314e38;
  --foret-fonce: #253d2b;
  --creme: #fbf6ee;
  --or: #c9a45c;
  --sauge: #819d86;
  --trait: rgba(58, 42, 34, 0.14);
  --rouille: #314e38;
  --titre: #314e38;
  --terracotta: #314e38;
  --signature: "Great Vibes", cursive;
  --texte: "Lora", Georgia, serif;
  --haut-bande: 34px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); }
body { overflow-x: clip; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--foret); }
.bande { position: sticky; top: 0; z-index: 40; min-height: var(--haut-bande); display: flex; align-items: center; justify-content: center; padding: 6px 12px; background: #2e2420; color: #f5ede1; font: 500 12.5px/1.25 system-ui, "Segoe UI", sans-serif; text-align: center; }
.entete { position: sticky; top: var(--haut-bande); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px clamp(16px, 4vw, 48px); background: var(--fond); border-bottom: 1px solid var(--trait); }
.marque { display: block; line-height: 0; flex-shrink: 0; }
.marque img { display: block; height: 53px; width: auto; max-width: none; flex-shrink: 0; }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.menu > a:not(.rdv) { color: var(--foret); text-decoration: none; font-size: 16px; }
.menu > a:not(.rdv):hover { text-decoration: underline; text-underline-offset: 6px; }
.menu > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.rdv { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--foret); color: var(--creme); text-decoration: none; font: 500 16px/1 var(--texte); white-space: nowrap; }
.rdv:hover { background: var(--foret-fonce); }
.rdv .court { display: none; }
.soleil { width: 16px; height: 16px; flex: none; animation: soleil 9s linear infinite; }
@keyframes soleil { to { transform: rotate(360deg); } }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--foret); outline-offset: 3px; }
.bouton-a { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 14px; padding: 14px 30px 14px 24px; border-radius: 999px; background: var(--foret); color: var(--creme); text-decoration: none; text-align: left; border: 0; cursor: pointer; font-family: var(--texte); }
.bouton-a:hover { background: var(--foret-fonce); }
.bouton-a:focus-visible { outline-offset: -5px; outline-color: var(--creme); }
.bouton-a .soleil { width: 20px; height: 20px; grid-row: 1 / span 2; }
.bouton-a b { font: 600 19px/1.2 var(--texte); }
.bouton-a small { font: 400 14.5px/1.35 var(--texte); }
.appel { text-align: center; padding: 8px 16px 0; }
.titre-signature { font: 400 clamp(44px, 5.2vw, 66px)/1.12 var(--signature); color: var(--foret); margin: 0; text-wrap: balance; }
.section { max-width: 1080px; margin: 0 auto; padding: clamp(48px, 9vh, 96px) clamp(16px, 4vw, 48px); position: relative; }
.section h2 { font: 400 clamp(44px, 4.8vw, 60px)/1.1 var(--signature); color: var(--foret); text-align: center; margin: 0 0 28px; }
.orne { position: absolute; pointer-events: none; user-select: none; height: auto; z-index: 0; }
.descendre { margin: 22px 0 0; font-size: 15px; color: var(--foret); text-align: center; }
.descendre span { display: inline-block; animation: descendre 2.4s ease-in-out infinite; }
@keyframes descendre { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.a-valider { font-size: 14px; color: var(--doux); }
.etapes-bloc { background: var(--papier); border-radius: 14px; max-width: 960px; margin: 0 auto; padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 56px); }
.etapes-bloc h2 { margin-bottom: 20px; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; margin: 0 auto; gap: 18px 40px; counter-reset: etape; }
.etapes li { display: flex; align-items: center; gap: 14px; font-size: 18px; line-height: 1.35; counter-increment: etape; }
.etapes li::before { content: counter(etape); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ecdcc4; color: var(--foret); font: 600 15px/1 var(--texte); }
.pied { padding: 36px 20px 48px; text-align: center; color: var(--doux); font-size: 14.5px; line-height: 1.7; }
.pied a { color: var(--foret); }
.pied .credit { display: inline-block; margin-top: 10px; font-size: 13px; }
.pied .facebook { display: inline-block; margin: 6px 0 2px; line-height: 0; }
.pied .facebook img { display: block; width: 28px; height: 28px; }
@media (max-width: 760px) {
  .entete { position: relative; top: 0; padding: 8px 16px; }
  .marque img { height: 44px; }
  .menu > a:not(.rdv) { display: none; }
  .rdv { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .entete .rdv .long { display: none; }
  .entete .rdv .court { display: inline; }
  .etapes { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .etapes li { font-size: 17px; }
  .bouton-a { padding: 13px 24px 13px 20px; }
  .bouton-a b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .soleil, .descendre span { animation: none; }
}
.heros { margin: 0; position: relative; }
.heros-scene { position: relative; margin: 0; height: min(68vh, 620px); overflow: hidden; background: #f0dcc5; }
.heros-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.heros-scene .scene-toile { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; }
.heros-cadre { position: relative; height: min(68vh, 620px); overflow: hidden; background: #d9c3a6; }
.heros-cadre img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .heros-scene, .heros-cadre { height: 56vh; }
}
.retour { margin: 0; padding: 12px clamp(16px, 4vw, 48px); font-size: 15.5px; }
.retour a { color: var(--foret); text-decoration: none; font-weight: 500; }
.retour a:hover { text-decoration: underline; text-underline-offset: 5px; }
.evenement { text-align: center; max-width: 780px; margin: 0 auto; padding: clamp(28px, 5vh, 52px) 20px 8px; }
.service-nom { margin: 0 0 6px; font-size: 13px; font-weight: inherit; line-height: inherit; letter-spacing: .22em; text-transform: uppercase; color: var(--doux); text-wrap: balance; }
.evenement p { font-size: 18px; line-height: 1.6; margin: 14px auto 0; max-width: 36em; }
.evenement .a-valider { margin-top: 10px; }
.haut { position: sticky; top: 0; z-index: 40; }
.haut .bande, .haut .entete { position: static; }
.entete .courriel { margin-left: 2px; margin-right: auto; font-size: 15px; font-weight: 600; color: var(--foret); text-decoration: none; white-space: nowrap; }
.lieu, .insecable { white-space: nowrap; }
.entete .courriel:hover { color: var(--foret); text-decoration: underline; text-underline-offset: 4px; }
.heros-cadre .oiseaux { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
@media (max-width: 760px) {
  .entete { flex-wrap: wrap; row-gap: 2px; padding: 6px 16px 6px; }
  .marque img { height: 36px; }
  .entete .courriel { order: 3; flex: 1 0 100%; margin: 0; text-align: center; font-size: 13.5px; line-height: 1.5; }
}
.portes-lien { color: var(--foret); text-decoration: none; font-size: 16px; white-space: nowrap; }
.portes-lien:hover, .portes-lien[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.haut .bande { position: relative; z-index: 2; }
.haut .entete { position: relative; z-index: 1; gap: clamp(14px, 2.2vw, 28px); transition: transform .32s ease, background-color .25s ease, border-color .25s ease; }
.haut.cache .entete { transform: translateY(calc(-100% - 90px)); }
body.page-evenement .haut { position: fixed; left: 0; right: 0; top: 0; }
body.page-evenement { --entete-texte: var(--foret); }
body.page-evenement[data-scene="destination"] { --entete-texte: #22170f; }
body.page-evenement.sur-scene .entete { background: transparent; border-bottom-color: transparent; }
html:not(.ev) body.page-evenement .haut { position: sticky; }
html:not(.ev) body.page-evenement .haut .entete { top: auto; }
html:not(.ev) body.page-evenement.sur-scene .entete { background: var(--fond); border-bottom-color: var(--trait); }
body.sur-scene:not(.page-evenement) .haut .entete { background: transparent; border-bottom-color: transparent; }
html:not(.tete-prete) body:has(main > .invitation) .haut .entete { background: transparent; border-bottom-color: transparent; }
body.page-evenement.sur-scene .entete .courriel, body.page-evenement.sur-scene .portes-lien { color: var(--entete-texte); font-weight: 600; }
.entete .menu > a.langue { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--foret); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-decoration: none; }
.entete .menu > a.langue:hover, .entete .menu > a.langue:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
.entete .menu > .langue-ici { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 2px; color: var(--foret); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
body.page-evenement.sur-scene .entete .menu > .langue-ici { color: var(--entete-texte); }
@media (max-width: 1023px) {
  .entete .menu > .langue-ici { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .entete .rdv .long { display: none; }
  .entete .rdv .court { display: inline; }
}
@media (min-width: 761px) and (max-width: 1023px) {
  html .entete, html .haut .entete { gap: 10px; }
  html .entete .menu { gap: 10px; }
}
@media (max-width: 380px) {
  html .haut .entete, html .entete { column-gap: 8px; }
  .entete .menu { gap: 6px; }
  .entete .rdv { padding: 0 12px; gap: 6px; }
}
body.page-evenement.sur-scene .entete .menu > a.langue { color: var(--entete-texte); }
body.page-evenement .heros-scene, body.page-evenement .scene-papier, body.page-evenement .heros-cadre { height: 100vh; height: 100svh; aspect-ratio: auto; }
.scene-papier .ampoules { inset: auto 0 0 0; aspect-ratio: 1440 / 560; }
.scene-papier .ampoules.tel { aspect-ratio: 390 / 420; }
@media (max-width: 760px) {
  .haut .entete { display: grid; grid-template-columns: auto auto; grid-template-areas: "logo bouton" "portes courriel"; justify-content: space-between; align-items: center; column-gap: 12px; row-gap: 2px; padding: 6px 16px; }
  .entete .marque { grid-area: logo; }
  .entete .menu { grid-area: bouton; justify-self: end; }
  .entete .portes-lien { grid-area: portes; font-size: 13.5px; }
  .entete .courriel { grid-area: courriel; justify-self: end; text-align: right; order: 0; flex: none; margin: 0; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { .haut .entete { transition: none; } }
.marque img { height: 110px; }
@media (min-width: 761px) and (max-width: 1023px) { .marque img { height: 88px; } }
@media (max-width: 760px) { .marque img { height: 69px; } }
.portes-bas { margin: 0; padding: clamp(28px, 6vh, 56px) 20px clamp(36px, 7vh, 64px); text-align: center; }
.portes-bas a { font: 500 13px/1.4 var(--texte); letter-spacing: .22em; text-transform: uppercase; color: var(--foret); text-decoration: none; }
.portes-bas a:hover, .portes-bas a:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 760px) {
  .haut .entete .portes-lien { display: none; }
  .haut .entete { grid-template-areas: "logo bouton" "courriel courriel"; }
  .haut .entete .courriel { grid-area: courriel; justify-self: start; text-align: left; margin: 0 0 2px; font-size: 13.5px; }
}
.portes-bas a { color: #26402d; }
.haut .entete .menu, .haut .entete .courriel, .haut .entete .portes-lien { align-self: center; margin-top: 0; }
@media (max-width: 760px) { .haut .entete .menu { align-self: start; margin-top: 10px; } .haut .entete .courriel { align-self: flex-start; } }
@media (max-width: 760px) { .haut .entete .menu { margin-top: 1px; } .haut .entete .courriel { margin-top: 0; } }
@media (max-height: 430px) {
  .haut .entete { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo courriel bouton"; justify-content: space-between; align-items: center; column-gap: 12px; padding: 4px 16px; }
  .entete .marque { grid-area: logo; }
  .entete .menu { grid-area: bouton; justify-self: end; }
  .haut .entete .portes-lien { display: none; }
  .haut .entete .courriel { display: block; grid-area: courriel; justify-self: start; align-self: center; margin: 0; font-size: 13.5px; }
  .marque img { height: 44px; }
  .rdv { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .entete .rdv .long { display: none; }
  .entete .rdv .court { display: inline; }
  .haut .entete .menu { align-self: center; margin-top: 0; }
}
@media (max-width: 760px), (max-height: 430px) {
  .haut .entete .courriel { display: none; }
}
@media (max-width: 760px) {
  .portes-bas a { display: inline-block; padding: 14px 10px; font-size: 16px; }
  .pied a:not(.facebook) { display: inline-block; padding: 12px 0; line-height: 20px; }
  .pied .facebook { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: 0; }
}
.invitation { position: relative; overflow: clip; padding: clamp(20px, 4vh, 44px) 16px clamp(28px, 5vh, 56px); text-align: center; }
.inv-scene { position: relative; z-index: 1; display: grid; place-items: center; }
.inv-carte { --l: min(84vw, 400px, calc((100svh - 300px) * 0.82)); position: relative; z-index: 2; width: max(250px, var(--l)); container-type: inline-size; margin: 0 auto; padding: 0; background: var(--papier); box-shadow: 0 20px 36px -24px rgba(58, 42, 34, 0.55), 0 1px 2px rgba(58, 42, 34, 0.12); }
.inv-int { position: relative; padding: 31cqi 8cqi 10cqi; }
.inv-int::before { content: ""; position: absolute; inset: 3.4cqi; border: 1.5px solid var(--or); pointer-events: none; }
.inv-coin { position: absolute; top: 4cqi; height: auto; pointer-events: none; }
.inv-int > :not(.inv-coin) { position: relative; }
.inv-invites { margin: 0; font: italic 400 max(15px, 5.6cqi)/1.3 var(--texte); color: var(--doux); }
.inv-carte h1 { margin: 2cqi 0 0; font: 400 13.5cqi/1.08 var(--signature); color: var(--foret); }
.inv-nom { margin: 5cqi 0 0; font: 400 max(17px, 6.4cqi)/1.25 var(--texte); color: var(--encre); }
.inv-services { margin: 3cqi 0 0; font: 400 max(14px, 4.4cqi)/1.45 var(--texte); color: var(--doux); text-wrap: balance; }
.inv-ville { margin: 3cqi 0 0; font: italic 400 max(14px, 4.6cqi)/1.3 var(--texte); color: var(--doux); }
.inv-appel { position: relative; z-index: 3; margin-top: clamp(18px, 3.2vh, 30px); }
.portes { padding: clamp(48px, 8vh, 88px) 0 clamp(32px, 6vh, 64px); }
.portes h2 { font: 400 clamp(42px, 4.6vw, 60px)/1.12 var(--signature); color: var(--foret); text-align: center; margin: 0 16px 6px; }
.portes-aide { text-align: center; margin: 0 16px 22px; color: var(--doux); font-size: 16px; }
.portes-liste { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: min(100%, max(1240px, 92vw), 1640px); }
.porte a { display: block; color: var(--encre); text-decoration: none; }
.porte-vue { position: relative; display: block; aspect-ratio: 720 / 1332; perspective: 1100px; perspective-origin: 50% 50%; overflow: hidden; }
.porte-decor { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.porte-cadre { position: absolute; transform-style: preserve-3d; }
.porte-cadre::before, .porte-cadre::after { content: ""; position: absolute; z-index: 2; left: 0; top: 21.9%; width: 3.4%; height: 6.2%; margin-left: -2.2%; border-radius: 1.5px; background: linear-gradient(180deg, transparent 31%, rgba(70, 40, 6, .55) 31% 35%, transparent 35% 65%, rgba(70, 40, 6, .55) 65% 69%, transparent 69%), linear-gradient(90deg, #5d3409 0%, #9a6a24 34%, #d6ae60 60%, #81591c 100%); box-shadow: .5px 1px 1.5px rgba(40, 22, 4, .45); transform: translateZ(1px); pointer-events: none; }
.porte-cadre::after { top: 71.9%; }
.porte-battant { --ouv: 0deg; --pose-avant: translateX(calc(-1 * var(--axe))); --pose-apres: scale(1.032, 1.025); position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform-origin: var(--axe) 50%; transform: var(--pose-avant) rotateY(var(--ouv)) var(--pose-apres); filter: brightness(calc(1 - var(--sombre, 0))); transition: transform .55s cubic-bezier(.3, .6, .2, 1), filter .55s; will-change: transform; }
.porte-texte { display: block; text-align: center; padding: 16px 10px 0; }
.porte-nom { display: block; font: 400 clamp(28px, 13.5cqi, 44px)/1.1 var(--signature); color: var(--foret); text-wrap: balance; }
.porte-phrase { display: block; margin-top: 8px; font-size: clamp(15px, 6cqi, 19px); line-height: 1.5; color: var(--encre); }
.porte-ouvrir { display: inline-block; margin-top: 10px; font: 600 clamp(15px, 6cqi, 18px)/1.3 var(--texte); color: var(--foret); text-decoration: underline; text-underline-offset: 5px; }
@media (hover: hover) {
  .porte a:hover .porte-battant { --ouv: 26deg; --sombre: .1; }
}
.porte a:focus-visible { outline: none; }
.porte a:focus-visible .porte-battant { --ouv: 26deg; --sombre: .1; }
.porte a:focus-visible .porte-ouvrir { outline: 3px solid var(--foret); outline-offset: 4px; }
.portes-liste .porte.ouvre a .porte-battant { --ouv: 84deg; --sombre: .22; transition-duration: .6s; }
.porte.passe .porte-vue { transform: scale(var(--zoom, 3)); transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .5s cubic-bezier(.5, 0, .7, .4); }
.porte.passe { position: relative; z-index: 5; }
.portes-glisser { display: none; }
@media (max-width: 760px) {
  .portes-liste { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 18vw; padding: 0 18vw; scrollbar-width: none; }
  .portes-liste::-webkit-scrollbar { display: none; }
  .porte { flex: 0 0 64vw; scroll-snap-align: center; }
  .porte.en-vue .porte-battant { --ouv: 14deg; --sombre: .06; }
  .porte .porte-texte { transition: opacity .25s ease; }
  .portes-liste:has(.en-vue) .porte:not(.en-vue):not(:has(:focus-visible)) .porte-texte { opacity: 0; }
  .porte-nom { font-size: 34px; }
  .portes h2 { font-size: 38px; }
  .porte-phrase { font-size: 16px; }
  .porte-ouvrir { font-size: 16px; }
  .portes-glisser { display: block; text-align: center; margin: 14px 16px 0; color: var(--doux); font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .porte-battant { transition: none; --ouv: 16deg; --sombre: .05; }
  .porte a:hover .porte-battant, .porte a:focus-visible .porte-battant, .porte.en-vue .porte-battant { --ouv: 16deg; }
  .porte .porte-texte { transition: none; }
}
.scene-papier { position: relative; overflow: hidden; background: #f0dcc5; aspect-ratio: 1440 / 560; height: auto; }
.scene-papier .avant-plan { position: absolute; inset: auto auto 0 0; object-fit: fill; width: 100%; height: auto; z-index: 2; }
.scene-papier .avant-plan.tel { display: none; }
.ampoules { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ampoule { position: absolute; width: var(--r); aspect-ratio: 12 / 14; transform: translate(-50%, -50%); border-radius: 50% 50% 46% 46%; background: #d6c4a0; transition: background .5s ease, box-shadow .5s ease; }
.ampoules.allumees .ampoule { background: #fff0c8; box-shadow: 0 0 14px 6px rgba(255, 214, 140, 0.55); transition-delay: calc(var(--i) * 90ms); }
.ampoules.ordi { display: block; }
.ampoules.tel { display: none; }
@media (max-width: 760px) {
  .scene-papier { aspect-ratio: 390 / 420; }
  .scene-papier .avant-plan.ordi, .ampoules.ordi { display: none; }
  .scene-papier .avant-plan.tel, .ampoules.tel { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .ampoule { transition: none !important; }
}
html.par-porte .ampoule { transition: none !important; }
.globe-etiquette { text-shadow: none !important; }
.voyage { --voyage-trait: #314e38; --voyage-trait-fait: #c9a45c; --voyage-point: #314e38; }
.rdv-page { max-width: 640px; margin: 0 auto; padding: clamp(32px, 6vh, 64px) 16px 24px; }
.rdv-page > h1 { text-align: center; }
.rdv-page .sous { text-align: center; font-size: 18px; margin: 10px 0 6px; }
.note-maquette { margin: 16px 0 26px; padding: 12px 16px; border: 1.5px dashed #b9a58c; border-radius: 10px; font-size: 15px; line-height: 1.5; color: var(--encre); background: var(--papier); }
.champ { margin: 0 0 18px; }
.champ label, .champ legend { display: block; font: 600 15.5px/1.35 var(--texte); margin: 0 0 6px; color: var(--encre); }
.champ .facultatif { font-weight: 400; color: var(--doux); }
.champ input[type="text"], .champ input[type="date"], .champ select, .champ textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #a8957d; border-radius: 9px; background: #fffdf9; color: var(--encre); font: 400 16px/1.4 var(--texte); }
.champ textarea { min-height: 110px; resize: vertical; }
.champ [aria-invalid="true"] { border-color: #8b1e2b; }
.erreur { margin: 6px 0 0; color: #8b1e2b; font-size: 14.5px; }
.envoi-refus { margin: 4px 0 14px; color: #8b1e2b; font-size: 15.5px; line-height: 1.45; }
.piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.case, .champ label.case { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.case input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--foret); }
.envoyer { margin-top: 10px; text-align: center; }
.recap { margin-top: 8px; background: var(--papier); border-radius: 14px; padding: 24px clamp(18px, 4vw, 32px); }
.recap h2 { font: 400 44px/1.1 var(--signature); color: var(--foret); margin: 0 0 14px; text-align: center; }
.recap dl { margin: 0; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 8px 16px; font-size: 16px; line-height: 1.45; }
.recap dt { color: var(--doux); }
.recap dd { margin: 0; overflow-wrap: anywhere; }
.recap .rien-parti { margin: 20px 0 0; font-weight: 600; }
.recap button { margin-top: 18px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--foret); background: transparent; color: var(--foret); font: 500 16px/1 var(--texte); cursor: pointer; }
@media (max-width: 520px) {
  .recap dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .recap dd { margin-bottom: 10px; }
}
.mission-texte { text-align: center; font-size: 18px; line-height: 1.65; max-width: 34em; margin: -6px auto 26px; }
.descendre { transition: opacity .4s; }
.a-defile .invitation .descendre { opacity: 0; }
.etapes-destinations { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 17px; }
.porte { container-type: inline-size; }
.porte-vue { perspective: 375cqi; }
@media (max-width: 760px) {
  .portes { padding-top: 20px; }
  .invitation { padding-bottom: 24px; }
}
.globe .globe-etiquette { color: #1f1510; font-weight: 700; }
.scene-papier[data-scene="bokeh"]::after { content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 70%; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 30%, rgba(255, 214, 150, 0.55), rgba(255, 214, 150, 0) 65%); opacity: 0.3; animation: respire 7s ease-in-out infinite alternate; will-change: opacity; }
@keyframes respire { to { opacity: 0.85; } }
.scene-papier[data-scene="bokeh"] .ampoules.allumees .ampoule::after { content: ""; position: absolute; inset: -70%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 232, 170, 0.9), rgba(255, 232, 170, 0) 68%); opacity: 0.25; animation: scintille 4.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.73s); will-change: opacity; }
.scene-papier[data-scene="bokeh"] .ampoules.allumees .ampoule:nth-child(3n)::after { animation-duration: 3.7s; }
.scene-papier[data-scene="bokeh"] .ampoules.allumees .ampoule:nth-child(3n + 1)::after { animation-duration: 5.3s; }
@keyframes scintille { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .scene-papier[data-scene="bokeh"]::after, .scene-papier[data-scene="bokeh"] .ampoules.allumees .ampoule::after { animation: none; }
}
body.page-evenement .heros-cadre img { object-position: 50% 0; scale: 1.6; transform-origin: 50% 0; }
@media (max-width: 760px) {
  body.page-evenement .heros-cadre img { object-position: 100% 0; scale: 1.6; }
}
@media (max-width: 760px) and (max-height: 700px) {
  body.page-evenement .heros-cadre img { scale: 1.8; }
}
@media (max-width: 760px) {
  body.page-evenement .heros-cadre img { object-position: 50% 0; scale: 1.6; transform-origin: 50% 0; }
}
@media (max-width: 760px) and (max-height: 700px) {
  body.page-evenement .heros-cadre img { scale: 1.8; }
}
.ev-anim.ev-anim-43 { aspect-ratio: 4 / 3; overflow: clip; }
.ev-calque[data-geste="de"] { transform-origin: var(--ox, 50%) var(--oy, 50%); transition: opacity calc(var(--t, 1.2s) * .5) ease var(--d, 0s), transform var(--t, 1.2s) cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
html.ev .ev-anim:not(.ev-vu) .ev-calque[data-geste="de"] { opacity: 0; transform: translate(var(--dx, 0%), var(--dy, 0%)) rotate(var(--rot, 0deg)) scale(var(--s0, 1)); }
.ev-signature { margin: 4px 0 14px; font: 400 clamp(30px, 2.6vw, 38px)/1.15 var(--signature); color: var(--foret); }
.ev-texte .ev-groupe + .ev-etapes { margin-top: 2px; }
.ev-texte .ev-groupe { margin: 34px 0 0; }
.ev-groupe { font: 600 12.5px/1.4 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--foret); }
.ev-texte .ev-note { font-size: 15px; }
.ev-sous-phrase { margin: 10px 0 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--encre); }
html.ev .ev-fond .heros-cadre { position: absolute; inset: 0; height: auto; }
html.ev .ev-tete .ev-titre { top: max(var(--ev-titre-haut, 6vh), calc(var(--haut-h, 130px) + 12px)); }
html.ev .ev-tete .ev-titre:not(.ev-titre-pose) { visibility: hidden; animation: ev-titre-filet 0s 2s forwards; }
@keyframes ev-titre-filet { to { visibility: visible; } }
html.ev body.page-evenement:not(.sur-scene) .haut .entete { background: var(--fond); border-bottom-color: var(--trait); }
html.ev .ev-fond[data-scene="petales"] .ev-descendre { color: var(--encre); }
.inv-valider { margin: 2.4cqi 0 0; font: 500 max(12px, 3cqi)/1.4 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
.porte-valider { display: block; margin-top: 4px; font-size: clamp(12px, 4.6cqi, 14px); letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
.ev-confettis { display: none; }
html.ev .ev-confettis { position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100svh; z-index: 1; display: block; overflow: clip; pointer-events: none; opacity: calc(1 - var(--ev-fondu, 0)); --chute: 108vh; }
.ev-confetti { position: absolute; top: 0; width: 11px; height: 11px; transform: translateY(calc(var(--chute) * var(--y) / 100)) rotate(var(--r0)); animation: ev-chute var(--t) linear var(--d) infinite; will-change: transform; }
.ev-confetti b { display: block; width: 100%; height: 100%; animation: ev-tourne calc(var(--t) / 6) ease-in-out var(--d) infinite alternate; }
.ev-confetti.rond b { border-radius: 50%; }
.ev-confetti.ruban { width: 6px; height: 15px; }
.ev-confetti.triangle b { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ev-confetti.or b { background: linear-gradient(135deg, #d8b871 0 50%, #b89248 50% 100%); }
.ev-confetti.corail b { background: linear-gradient(135deg, #ee9d80 0 50%, #d97c5f 50% 100%); }
.ev-confetti.sauge b { background: linear-gradient(135deg, #a9b99c 0 50%, #8a9c7e 50% 100%); }
@keyframes ev-chute { from { transform: translateY(-6vh) translateX(0) rotate(var(--r0)); } 50% { transform: translateY(calc(var(--chute) * .5)) translateX(14px) rotate(calc(var(--r0) + 140deg)); } to { transform: translateY(var(--chute)) translateX(-6px) rotate(calc(var(--r0) + 280deg)); } }
@keyframes ev-tourne { from { transform: rotateX(0deg) rotateY(0deg); } to { transform: rotateX(160deg) rotateY(50deg); } }
.ev-fond:not(.scene-prete) .ev-confetti, .ev-fond:not(.scene-prete) .ev-confetti b { animation: none; }
@media (max-width: 760px) {
  html.ev .ev-confettis { top: auto; bottom: 0; height: 52vh; height: 52svh; --chute: 56svh; }
  .ev-confetti:nth-child(3n) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ev-confetti, .ev-confetti b { animation: none; } }
.ev-texte h2.ev-long { font-size: clamp(30px, 2.85vw, 44px); }
@media (max-width: 760px) { .ev-texte h2.ev-long { font-size: clamp(23px, 6.6vw, 28px); } }
.ev-texte h2.ev-fin { font: italic 400 clamp(22px, 1.8vw, 27px)/1.45 var(--texte); letter-spacing: .01em; text-transform: none; }
@media (max-width: 760px) { .ev-texte h2.ev-fin { font-size: clamp(20px, 5.4vw, 23px); } }
@media (min-width: 761px) { html.ev .ev-confettis { top: var(--haut-h, 130px); height: calc(100vh - var(--haut-h, 130px)); } }
.inv-a, .pB { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
  --fibres: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .32' numOctaves='2' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .26 0 0 0 .26 -.11'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23f)'/%3E%3C/svg%3E");
  --grain-env: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='e'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .14 0 0 0 0 .22 0 0 0 0 .16 0 0 0 .2 -.02'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23e)'/%3E%3C/svg%3E");
  --bronze: #6f531c; --cire-creux: #5c4318; --doublure: radial-gradient(circle, rgba(184, 146, 72, .62) 1.1px, transparent 1.5px) 0 0 / 11px 11px, radial-gradient(circle, rgba(184, 146, 72, .3) .8px, transparent 1.2px) 5.5px 5.5px / 11px 11px, linear-gradient(170deg, #f3e8cf, #e7d4ab); }
.inv-a .inv-scene { --lc: max(250px, min(84vw, 400px, calc((100svh - 300px) * .82))); --el: calc(var(--lc) * 1.04); --eh: calc(var(--lc) * .6587); }
.inv-a .inv-carte { background: var(--fibres), var(--grain), var(--creme); border-radius: 3px; box-shadow: 0 1px 1px rgba(58, 42, 34, .1), 0 14px 34px rgba(58, 42, 34, .2); }
.inv-a .inv-int { padding: 17cqi 11cqi 21cqi; }
.inv-a .inv-int::before { display: none; }
.inv-a .inv-cadre { position: absolute; display: block; pointer-events: none; }
.inv-a .inv-cadre.l1 { inset: calc(3.2cqi - 1.1px); --e: 2.2px; --dorure: #e9cf8c, #c9a45c 30%, #8a6a2a 52%, #f0d89a 70%, #c9a45c; }
.inv-a .inv-cadre.l2 { inset: calc(5.4cqi - .5px); --e: 1px; }
.inv-a .inv-cadre i { position: absolute; display: block; }
.inv-a .inv-cadre i.h { left: 0; right: 0; top: 0; height: var(--e); transform-origin: 0 50%; }
.inv-a .inv-cadre i.d { top: 0; bottom: 0; right: 0; width: var(--e); transform-origin: 50% 0; }
.inv-a .inv-cadre i.b { left: 0; right: 0; bottom: 0; height: var(--e); transform-origin: 100% 50%; }
.inv-a .inv-cadre i.g { top: 0; bottom: 0; left: 0; width: var(--e); transform-origin: 50% 100%; }
.inv-a .inv-cadre.l1 i.h { background: linear-gradient(90deg, var(--dorure)); }
.inv-a .inv-cadre.l1 i.d { background: linear-gradient(180deg, #c9a45c, #8a6a2a 40%, #f0d89a 75%, #c9a45c); }
.inv-a .inv-cadre.l1 i.b { background: linear-gradient(90deg, #c9a45c, #8a6a2a 35%, #f0d89a 70%, #c9a45c); }
.inv-a .inv-cadre.l1 i.g { background: linear-gradient(180deg, var(--dorure)); }
.inv-a .inv-cadre.l2 i { background: rgba(150, 116, 52, .8); }
.inv-a .inv-coin { position: absolute; width: 30cqi; height: auto; pointer-events: none; }
.inv-a .inv-coin.haut { top: 4.4cqi; left: 4.8cqi; }
.inv-a .inv-coin.bas { top: auto; right: 4.8cqi; bottom: 4.4cqi; transform: rotate(180deg); }
.inv-a .inv-soleil { display: block; width: max(28px, 8.4cqi); height: auto; margin: 0 auto 3cqi; color: #a8843c; }
.inv-a .inv-invites { font: 500 max(12px, 3.4cqi)/1.3 var(--texte); font-style: normal; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.inv-a .inv-carte h1 { margin: 3cqi 0 0; font-size: 13cqi; }
.inv-a .inv-rameau { display: block; width: 62%; height: auto; margin: 2cqi auto 1cqi; }
.inv-a .inv-nom { margin: 2cqi 0 0; font: 600 max(13px, 3.8cqi)/1.3 var(--texte); letter-spacing: .2em; text-transform: uppercase; }
.inv-a .inv-services { font: italic 400 max(14px, 4cqi)/1.5 var(--texte); }
.inv-a .inv-ville { font: 500 max(12px, 3.4cqi)/1.3 var(--texte); font-style: normal; text-wrap: balance; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); }
.inv-eclat { display: none; }
.inv-env { display: none; }
.inv-passer { display: none; }
html.inv-ouvre .inv-a .inv-env { display: block; position: absolute; left: 50%; top: 50%; width: var(--el); height: var(--eh); margin: calc(var(--eh) / -2) 0 0 calc(var(--el) / -2); pointer-events: none; }
html.inv-ouvre .inv-a .inv-carte { opacity: 0; }
html.inv-ouvre .inv-a .inv-appel, html.inv-ouvre .inv-a .descendre { opacity: 0; }
html.inv-ouvre .inv-a .inv-eclat { display: block; position: absolute; inset: 0; z-index: 3; overflow: hidden; border-radius: 3px; pointer-events: none; }
.inv-eclat b { position: absolute; top: -10%; bottom: -10%; left: 0; width: 46%; background: linear-gradient(100deg, rgba(255, 249, 232, 0) 0, rgba(255, 249, 232, .5) 46%, rgba(255, 236, 190, .62) 50%, rgba(255, 249, 232, .5) 54%, rgba(255, 249, 232, 0) 100%); transform: translateX(-110%) skewX(-12deg); }
html.inv-ouvre.inv-partie .inv-a .inv-passer { display: block; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; padding: 10px 18px; border: 1px solid rgba(58, 42, 34, .35); border-radius: 999px; background: var(--creme); color: var(--encre); font: 500 14px/1 var(--texte); cursor: pointer; }
.inv-env > * { position: absolute; display: block; }
.inv-env .env-dos { inset: 0; width: 100%; height: 100%; z-index: 1; filter: drop-shadow(0 3px 3px rgba(44, 30, 24, .16)) drop-shadow(0 16px 22px rgba(44, 30, 24, .2)); }
.inv-env .env-doublure { left: 3%; right: 3%; top: 2.6%; bottom: 8%; z-index: 2; border-radius: 2px; background: var(--doublure); box-shadow: inset 0 6px 10px -6px rgba(60, 44, 20, .35); }
.inv-env .env-poche { inset: 0; z-index: 5; }
.env-poche > *, .env-rabat .face > * { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.env-poche .pli { -webkit-mask: url("../images/formulaire/env-poche.png") 0 0 / 100% 100%; mask: url("../images/formulaire/env-poche.png") 0 0 / 100% 100%; }
.env-poche .pli.g { clip-path: polygon(0 0, 50.5% 60.5%, 0 100%); background: linear-gradient(96deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .02) 70%); }
.env-poche .pli.d { clip-path: polygon(100% 0, 49.5% 60.5%, 100% 100%); background: linear-gradient(264deg, rgba(28, 46, 33, .13), rgba(28, 46, 33, .03) 70%); }
.env-poche .pli.b { clip-path: polygon(0 100%, 50% 60%, 100% 100%); background: linear-gradient(180deg, rgba(28, 46, 33, .16), rgba(28, 46, 33, 0) 22%), linear-gradient(0deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 60%); }
.env-poche .grain, .env-rabat .avant .grain { background: var(--grain-env); }
.env-poche .grain { -webkit-mask: url("../images/formulaire/env-poche.png") 0 0 / 100% 100%; mask: url("../images/formulaire/env-poche.png") 0 0 / 100% 100%; }
.inv-env .env-rabat { left: 0; top: 0; width: 100%; height: 71.97%; z-index: 6; transform-origin: 50% 0; transform-style: preserve-3d; }
.env-rabat .face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.env-rabat .avant img { filter: drop-shadow(0 2px 2px rgba(24, 40, 28, .3)); }
.env-rabat .avant .ombre { background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 40%, rgba(24, 40, 28, .1)); -webkit-mask: url("../images/formulaire/env-rabat.png") 0 0 / 100% 100%; mask: url("../images/formulaire/env-rabat.png") 0 0 / 100% 100%; }
.env-rabat .avant .grain { -webkit-mask: url("../images/formulaire/env-rabat.png") 0 0 / 100% 100%; mask: url("../images/formulaire/env-rabat.png") 0 0 / 100% 100%; }
.env-rabat .arriere { transform: rotateY(180deg); background: linear-gradient(180deg, rgba(60, 44, 20, .18), rgba(60, 44, 20, 0) 30%), var(--doublure); -webkit-mask: url("../images/formulaire/env-rabat.png") 0 0 / 100% 100%; mask: url("../images/formulaire/env-rabat.png") 0 0 / 100% 100%; }
.inv-env .env-sceau { left: 50%; top: 57%; z-index: 7; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; }
.env-sceau > * { position: absolute; inset: 0; display: block; }
.env-sceau .moitie img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.env-sceau .moitie b { position: absolute; left: 50%; top: 50%; transform: translate(calc(-50% - .093em), calc(-46% + .126em)); font: 400 calc(var(--el) * .0818)/1 var(--signature); color: var(--cire-creux); text-shadow: 0 1px 0 rgba(255, 238, 196, .75), 0 -1px 0 rgba(60, 40, 10, .45); opacity: 0; transition: opacity .3s; }
html.s-pret .env-sceau .moitie b { opacity: 1; }
.env-sceau .moitie.g, .env-sceau .moitie.d { opacity: 0; }
.env-sceau .moitie.g { clip-path: polygon(0 0, 51% 0, 46% 18%, 53% 33%, 45% 50%, 54% 66%, 47% 82%, 52% 100%, 0 100%); }
.env-sceau .moitie.d { clip-path: polygon(51% 0, 100% 0, 100% 100%, 52% 100%, 47% 82%, 54% 66%, 45% 50%, 53% 33%, 46% 18%); }
.env-sceau .reflet { overflow: hidden; -webkit-mask: url("../images/formulaire/cachet.png") 0 0 / 100% 100%; mask: url("../images/formulaire/cachet.png") 0 0 / 100% 100%; }
.env-sceau .reflet b { position: absolute; top: -20%; bottom: -20%; left: -60%; width: 34%; background: linear-gradient(90deg, rgba(255, 248, 222, 0), rgba(255, 248, 222, .8), rgba(255, 248, 222, 0)); transform: rotate(18deg) translateX(0); }
.env-sceau .miette { inset: auto; left: 46%; top: 46%; width: 9%; height: 7%; background: linear-gradient(135deg, #d9b56a, #7a5523); clip-path: polygon(10% 20%, 70% 0, 100% 60%, 40% 100%, 0 70%); opacity: 0; }
.env-sceau .miette:nth-child(odd) { width: 6%; height: 8%; background: linear-gradient(135deg, #8a6a2a, #5c4318); }
.inv-env .env-rameau { left: -12%; bottom: -14%; width: 30%; height: auto; z-index: 8; }
.inv-env .env-poudre { left: 50%; top: 2%; width: 0; height: 0; z-index: 4; }
.env-poudre i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle, #fff3cf 0, #e0be70 38%, rgba(201, 164, 92, 0) 70%); opacity: 0; }
.env-poudre i:nth-child(3n) { width: 5px; height: 5px; left: -2.5px; top: -2.5px; }
.env-poudre i:nth-child(4n + 1) { width: 11px; height: 11px; left: -5.5px; top: -5.5px; }
.inv-carte h1[tabindex="-1"]:focus { outline: none; }
.inv-tenir { display: none; }
html.inv-ouvre .inv-a .inv-tenir { display: block; position: absolute; left: 50%; top: 50%; z-index: 12; width: var(--el); height: var(--eh); margin: calc(var(--eh) / -2) 0 0 calc(var(--el) / -2); cursor: pointer; touch-action: pan-y; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; transition: opacity .45s; }
html.inv-ouvre .inv-a .inv-tenir.partie { opacity: 0; pointer-events: none; }
.inv-tenir .anneau { position: absolute; left: 50%; top: 57%; width: 31%; aspect-ratio: 1; padding: 0; border: 0; background: none; color: var(--foret); cursor: pointer; transform: translate(-50%, -50%); -webkit-tap-highlight-color: transparent; }
.inv-tenir .anneau:focus-visible { outline: 2px solid var(--foret); outline-offset: 6px; border-radius: 50%; }
.inv-tenir svg { display: block; width: 100%; height: 100%; overflow: visible; }
.inv-tenir circle { fill: none; stroke-width: 1.4; }
.inv-tenir .piste { stroke: rgba(37, 61, 43, .78); }
.inv-tenir .plein { stroke: var(--foret-fonce); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 50% 50%; }
.inv-tenir .mot { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; font: 500 14px/1.2 var(--texte); letter-spacing: .02em; color: var(--encre); pointer-events: none; }
main { position: relative; z-index: 1; }
.fond-jardin { position: absolute; left: 0; top: 0; width: 100%; height: 100vh; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
.fond-jardin svg { position: absolute; display: block; overflow: visible; will-change: transform; }
.pt-piece { position: fixed; inset: 0; z-index: 60; pointer-events: none; clip-path: inset(calc(100% - 1px) 0 0 calc(100% - 1px)); overflow: hidden; background: #f7eedf; }
.pt-piece.ouverte { pointer-events: auto; }
.pt-salle { position: absolute; inset: 0; transform-origin: 50% 50%; will-change: transform; }
.pt-salle iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.pt-chambranle { position: fixed; z-index: 61; display: block; pointer-events: none; will-change: transform; }
.pt-battant { position: fixed; z-index: 62; pointer-events: none; will-change: transform; transform-style: preserve-3d; }
.pt-battant img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: transform; }
.pt-battant::before, .pt-battant::after { content: ""; position: absolute; z-index: 2; left: 0; top: 21.9%; width: 3.4%; height: 6.2%; margin-left: -2.2%; border-radius: 1.5px; background: linear-gradient(180deg, transparent 31%, rgba(70, 40, 6, .55) 31% 35%, transparent 35% 65%, rgba(70, 40, 6, .55) 65% 69%, transparent 69%), linear-gradient(90deg, #5d3409 0%, #9a6a24 34%, #d6ae60 60%, #81591c 100%); box-shadow: .5px 1px 1.5px rgba(40, 22, 4, .45); transform: translateZ(1px); pointer-events: none; }
.pt-battant::after { top: 71.9%; }
.porte a { -webkit-tap-highlight-color: transparent; }
.haut.pt-dessus { z-index: 70; pointer-events: none; }
.haut.pt-dessus .bande { pointer-events: auto; }
html { overflow: auto; }
body { overflow: clip; }
.porte-fond { position: absolute; display: block; pointer-events: none; background-repeat: no-repeat; }
.section.mission { padding-left: 0; padding-right: 0; max-width: none; }
.pB { --w: 196px; --h: 128px; position: relative; }
.pB-scene { display: flex; flex-direction: column; align-items: center; padding: 0 24px; box-sizing: border-box; }
.pB-tete { text-align: center; max-width: 40em; }
.pB-tete h2 { margin: 0 0 14px; }
.pB-tete .mission-texte { margin: 0 auto; font-size: 18px; line-height: 1.65; color: var(--encre); max-width: 36em; }
.pB-table { position: relative; list-style: none; margin: clamp(22px, 4vh, 40px) 0 0; padding: 0; width: min(1120px, 100%); display: grid; grid-template-columns: repeat(5, minmax(0, var(--w))); grid-auto-rows: var(--h); column-gap: clamp(12px, 2vw, 30px); row-gap: calc(var(--h) * .2); justify-content: center; }
.pB-carton { position: relative; transform: rotate(var(--r)); }
.pB-ombre { position: absolute; inset: 6px 4px -2px; border-radius: 3px; box-shadow: 0 10px 18px rgba(70, 48, 22, .16), 0 2px 3px rgba(70, 48, 22, .14); }
.pB-papier { position: absolute; inset: 0; background: var(--fibres), var(--grain), var(--creme); border: 1px solid var(--or); box-shadow: 0 1px 1px rgba(70, 48, 22, .12); display: grid; place-content: center; text-align: center; gap: calc(var(--h) * .045); padding: 0 12px; }
.pB-papier::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 164, 92, .55); pointer-events: none; }
.pB-num { font: 400 calc(var(--h) * .265)/1 var(--signature); color: var(--foret); }
.pB-mot { font: 400 clamp(15px, calc(var(--h) * .14), 18px)/1.25 var(--texte); color: var(--encre); text-wrap: balance; }
@media (min-width: 1000px) {
  .pB-papier { container-type: inline-size; }
  .pB-mot { font-size: clamp(12px, 15.5cqi, 18px); }
  .pB.vivant { height: 330vh; }
  .pB.vivant .pB-scene { position: sticky; top: 0; height: 100vh; height: 100svh; justify-content: center; padding-top: clamp(64px, 10vh, 110px); padding-bottom: clamp(16px, 3vh, 32px); }
  .pB.vivant .pB-table { padding-bottom: calc(var(--h) * 1.42); }
  .pB.vivant .pB-carton { transform: translate(var(--px, 0px), var(--py, 0px)) rotate(var(--r)); transition: transform .8s cubic-bezier(.22, .7, .2, 1); }
  .pB.vivant .pB-carton.pose { transform: rotate(var(--r)); }
  .pB.vivant .pB-ombre { opacity: 0; transition: opacity .5s ease-out .45s; }
  .pB.vivant .pB-carton.pose .pB-ombre { opacity: 1; }
}
@media (max-width: 999px) {
  .pB { --h: 112px; }
  .pB-scene { padding: 0; align-items: stretch; }
  .pB-tete { padding: 0 20px; }
  .pB-tete .mission-texte { font-size: 17px; }
  .pB-table { width: auto; margin-top: 30px; display: grid; grid-template-columns: none; grid-auto-rows: auto; gap: 16px; }
  .pB-carton { width: 74vw; height: var(--h); }
  .pB-carton:nth-child(odd) { margin-left: 6vw; --dx: -36px; }
  .pB-carton:nth-child(even) { margin-left: 20vw; --dx: 36px; }
  .pB-mot { font-size: 17px; }
  .pB.vivant .pB-carton { transform: translateX(var(--dx)) rotate(var(--r)); opacity: 0; transition: transform .6s cubic-bezier(.22, .7, .2, 1), opacity .45s ease-out; will-change: transform, opacity; }
  .pB.vivant .pB-carton.pose { transform: rotate(var(--r)); opacity: 1; }
}
.pB.calme .pB-carton, .pB.calme .pB-ombre { transition: none; }
.pB .plf { display: block; pointer-events: none; user-select: none; }
.pB .plf img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 1000px) {
  .pB-scene { position: relative; }
  .pB { --tw: clamp(min(700px, calc(100vw - 380px)), calc(100vw - 650px), 940px); --pw: min(317px, calc(min(54vh, 430px) * .7368), calc((100vw - var(--tw)) / 2 - 44px)); }
  .pB .plf { position: absolute; left: calc(50% - var(--tw) / 2 - var(--pw) - 20px); bottom: clamp(12px, 3vh, 30px); width: var(--pw); height: auto; aspect-ratio: 280 / 380; z-index: 3; }
  .pB .pB-table { width: var(--tw); margin-left: auto; margin-right: auto; }
  .pB:not(.vivant) .pB-scene { min-height: calc(min(54vh, 430px) + 60px); justify-content: center; }
  .pB.vivant.plf-pret .pB-carton { transition: transform .8s cubic-bezier(.22, .7, .2, 1), opacity .18s linear; }
  .pB.vivant.plf-pret .pB-carton:not(.pose) { transform: translate(var(--hx, 0px), var(--hy, 0px)) scale(.2) rotate(-6deg); opacity: 0; }
  .pB.vivant.plf-pret .pB-carton.pose { opacity: 1; }
}
@media (max-width: 999px) {
  .pB .plf { width: 128px; height: 174px; margin: 10px auto 0; }
}
:root {
  --or: #c9a45c;
  --duree-douce: 1.4s;
  --courbe-douce: cubic-bezier(.22, .61, .36, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .23  0 0 0 0 .16  0 0 0 0 .13  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

body { background-image: var(--grain); }

.section { padding-top: clamp(64px, 12vh, 128px); padding-bottom: clamp(64px, 12vh, 128px); }
.section h2, .portes h2 { font: 500 clamp(22px, 2vw, 27px)/1.3 var(--texte); font-variant-caps: all-small-caps; letter-spacing: .2em; color: var(--foret); }
.section h2::after, .portes h2::after { content: ""; display: block; width: 64px; height: 1px; margin: 18px auto 0; background: var(--or); }
.service-nom { font-variant-caps: all-small-caps; text-transform: none; letter-spacing: .22em; font-size: 17px; }
.etapes-bloc { background-color: transparent; border-top: 1px solid var(--or); border-bottom: 1px solid var(--or); border-radius: 0; }
.etapes li::before { background: transparent; border: 1px solid var(--or); }
.entete { border-bottom: 1px solid rgba(201, 164, 92, .55); }
.pied { border-top: 1px solid var(--or); margin: 0 clamp(16px, 6vw, 96px); padding-top: 48px; }
.pied::before { content: ""; display: block; width: 72px; height: 72px; margin: 0 auto 18px; background: url(../motifs/sceau.svg) center / contain no-repeat; }

.porte-battant { transition-duration: 1.1s, 1.1s; transition-timing-function: var(--courbe-douce); }
.portes-liste .porte.ouvre a .porte-battant { transition-duration: 1.2s; }
.soleil { animation-duration: 18s; }
.descendre span { animation-duration: 3.6s; }
.rdv, .bouton-a, .menu > a { transition: background-color .6s var(--courbe-douce), color .6s var(--courbe-douce); }
.ampoules.allumees .ampoule { transition-duration: 1.2s; transition-delay: calc(var(--i) * 160ms); }

@media (prefers-reduced-motion: reduce) {
  .porte-battant, .rdv, .bouton-a, .menu > a, .ampoules.allumees .ampoule { transition: none; }
}
html.ev .pied { margin: 0; }
body:has(.ev-rdv) .pied::before { display: none; }
.d-valider { margin: 10px 0 0; font: 500 12px/1.4 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--encre); text-align: center; }
