/* MPVE — thème propre à MPVE : bordeaux, or et ivoire (rouge des affiches, filet d'or du logo). Mobile d'abord.
   Polices : Playfair Display, Great Vibes et Inter (licence OFL), servies par ce site. */
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/playfair-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: italic; font-display: swap; src: url("/fonts/playfair-display-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Great Vibes"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/great-vibes-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --ivoire: #fbf5e9; --creme: #f2e6cd; --papier: #fffdf8;
  --bordeaux: #3d0710; --bordeaux2: #5e0c19; --rouge: #a4161f; --rouge-vif: #c11f2b;
  --or: #b8872f; --or-clair: #e6c06a; --or-vif: #d4a84a;
  --encre: #2a1214; --doux: #6e564c; --ligne: #e3d3b0; --alerte: #a4161f;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rayon: 16px;
  --or-degrade: linear-gradient(120deg, #f6dc94, #d4a84a 50%, #a67a28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivoire); color: var(--encre); font: 400 1rem/1.65 var(--sans); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--rouge); }
.saut { position: absolute; left: -999px; top: 0; background: var(--or-vif); color: #000; padding: 8px 12px; z-index: 100; }
.saut:focus { left: 8px; top: 8px; }
.enveloppe { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 680px; }
.centre { text-align: center; }

/* Emblème (provisoire, en attendant le logo de MPVE) */
.embleme { height: 40px; width: auto; display: block; }
.embleme-hero { height: auto; width: min(300px, 74vw); margin: 0 auto 18px; filter: drop-shadow(0 8px 24px #00000066); }
.embleme-pied { height: auto; width: 200px; margin: 0 auto 10px; }
.marque { display: inline-block; line-height: 0; text-decoration: none; }
.marque-page { margin-bottom: 18px; }

/* En-tête */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 50; background: #2a050b; border-bottom: 1px solid #e6c06a33; }
.entete-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a:not(.btn) { display: none; color: #f6e9d0; text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .9; }
.menu a:not(.btn):hover { opacity: 1; color: var(--or-clair); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px; font: 700 .95rem/1 var(--sans); color: #2a0a0e; background: var(--or-degrade); box-shadow: 0 6px 22px #d4a84a55; text-decoration: none; cursor: pointer; min-height: 44px; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px #d4a84a80; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--rouge-vif); outline-offset: 3px; }
.hero a:focus-visible, .sombre a:focus-visible, .pied a:focus-visible, .entete a:focus-visible { outline-color: var(--or-clair); }
.btn-sm { padding: 9px 16px; min-height: 38px; font-size: .85rem; }
.btn-grand { padding: 16px 30px; font-size: 1.05rem; min-height: 54px; }
.btn-plein { width: 100%; }
.btn-ligne { background: transparent; color: var(--rouge); border: 1.5px solid var(--or); box-shadow: none; }
.btn-ligne:hover { background: #b8872f1f; box-shadow: none; }
.sombre .btn-ligne, .hero .btn-ligne { color: var(--or-clair); border-color: var(--or-clair); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 92px 0 44px; overflow: hidden; color: #fbefd8; background: radial-gradient(110% 70% at 50% 0%, #8a1425 0%, #5e0c19 38%, #2a050b 100%); }
.halo { position: absolute; inset: -30%; background: conic-gradient(from 0deg at 50% 36%, #e6c06a00, #e6c06a2e 10%, #e6c06a00 24%, #ff8a7a1f 42%, #e6c06a00 58%, #e6c06a2e 78%, #e6c06a00); filter: blur(46px); animation: tourne 48s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.cadre { position: absolute; inset: 12px; border: 1px solid #e6c06a66; border-radius: 22px; pointer-events: none; }
.cadre::before { content: ""; position: absolute; inset: 6px; border: 1px solid #e6c06a2e; border-radius: 17px; }
.etincelles i { position: absolute; width: 5px; height: 5px; background: var(--or-clair); transform: rotate(45deg); opacity: 0; animation: scintille 5s ease-in-out infinite; }
.etincelles i:nth-child(1) { left: 8%; top: 18%; animation-delay: .2s; }
.etincelles i:nth-child(2) { left: 22%; top: 70%; animation-delay: 1.4s; width: 7px; height: 7px; }
.etincelles i:nth-child(3) { left: 36%; top: 12%; animation-delay: 2.6s; }
.etincelles i:nth-child(4) { left: 52%; top: 82%; animation-delay: .8s; }
.etincelles i:nth-child(5) { left: 66%; top: 22%; animation-delay: 3.2s; width: 7px; height: 7px; }
.etincelles i:nth-child(6) { left: 78%; top: 64%; animation-delay: 1.9s; }
.etincelles i:nth-child(7) { left: 90%; top: 14%; animation-delay: 4s; }
.etincelles i:nth-child(8) { left: 12%; top: 46%; animation-delay: 3.6s; width: 3px; height: 3px; }
.etincelles i:nth-child(9) { left: 84%; top: 40%; animation-delay: 2.2s; width: 3px; height: 3px; }
.etincelles i:nth-child(10) { left: 44%; top: 52%; animation-delay: 4.4s; width: 3px; height: 3px; }
@keyframes scintille { 0%, 100% { opacity: 0; transform: rotate(45deg) scale(.4); } 50% { opacity: .95; transform: rotate(45deg) scale(1.2); } }
.hero-in { position: relative; z-index: 2; text-align: center; }
.surtitre { margin: 0 0 6px; font: 400 clamp(1.5rem, 6vw, 2.2rem)/1.2 var(--script); color: var(--or-clair); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0; }
.hero h1 { font-size: clamp(2.4rem, 10.5vw, 5.2rem); font-weight: 800; color: #fff6e2; text-shadow: 0 4px 30px #00000066; text-wrap: balance; }
.hero h1::after { content: ""; display: block; width: 120px; height: 3px; margin: 18px auto 0; background: var(--or-degrade); border-radius: 3px; }
.accroche { max-width: 34em; margin: 18px auto 0; font-size: 1.08rem; color: #f3dfc0; text-wrap: balance; }
.quand { list-style: none; padding: 0; margin: 26px auto 0; display: grid; gap: 10px; max-width: 760px; }
.quand li { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid #e6c06a55; border-radius: var(--rayon); background: #2a050b88; backdrop-filter: blur(4px); }
.lbl { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-clair); }
.quand strong { font-family: var(--serif); font-size: 1rem; text-align: right; color: #fff6e2; }
.cta { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.des { color: #e8cfa8; font-size: .9rem; }
.compte { margin: 26px auto 0; display: flex; justify-content: center; gap: 12px; }
.compte div { min-width: 78px; padding: 12px 8px; border-radius: var(--rayon); border: 1px solid #e6c06a55; background: #2a050b88; }
.compte b { display: block; font: 800 1.9rem/1 var(--serif); color: var(--or-clair); font-variant-numeric: tabular-nums; }
.compte span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #e8cfa8; }

/* Sections */
.bloc { padding: 78px 0; }
.creme { background: var(--creme); }
.sombre { background: radial-gradient(120% 90% at 50% 0%, var(--bordeaux2), var(--bordeaux)); color: #fbefd8; }
.kicker { margin: 0 0 8px; font: 400 1.6rem/1.1 var(--script); color: var(--or); letter-spacing: 0; text-transform: none; }
.sombre .kicker { color: var(--or-clair); }
h2 { font-size: clamp(1.8rem, 6.5vw, 2.8rem); font-weight: 700; text-wrap: balance; color: var(--bordeaux2); }
.sombre h2 { color: #fff6e2; }
.intro { margin: 14px 0 0; color: var(--doux); max-width: 40em; }
.orn { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; max-width: 220px; }
.orn::before, .orn::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, #00000000, var(--or-vif)); }
.orn::after { background: linear-gradient(270deg, #00000000, var(--or-vif)); }
.orn i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--or-vif); }
.centre .orn { margin-inline: auto; }
.apropos { margin: 22px auto 0; font: 700 italic clamp(1.15rem, 4vw, 1.5rem)/1.5 var(--serif); color: var(--bordeaux2); text-wrap: balance; }

.piliers { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pilier { padding: 22px 14px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--papier); text-align: center; box-shadow: 0 8px 24px #5e0c190d; }
.pilier:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pilier h3 { font-size: 1.1rem; margin-top: 12px; color: var(--bordeaux2); }
.pilier p { margin: 8px 0 0; color: var(--doux); font-size: .92rem; }
.ico { padding: 9px; border-radius: 50%; color: #f6dc94; background: linear-gradient(140deg, var(--rouge), var(--bordeaux2)); box-sizing: content-box; width: 24px; height: 24px; }

.invites { margin-top: 34px; display: grid; gap: 14px; }
.invite { padding: 24px 20px; border: 1px solid #e6c06a55; border-radius: var(--rayon); background: #2a050b99; display: grid; justify-items: center; text-align: center; gap: 4px; }
.portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; border: 3px solid var(--or-vif); box-shadow: 0 0 0 7px #e6c06a2e, 0 10px 30px #0006; }
.monogramme { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font: 800 1.6rem var(--serif); color: #2a0a0e; background: var(--or-degrade); margin-bottom: 10px; box-shadow: 0 0 0 6px #e6c06a2e; }
.invite h3 { font-size: 1.22rem; color: #fff6e2; }
.role { margin: 0; color: var(--or-clair); font-weight: 600; font-size: .92rem; }
.circ { margin: 0; color: #e8cfa8; font-size: .9rem; }
.bio { margin: 8px 0 0; color: #e8cfa8; font-size: .92rem; }

.offres { margin-top: 34px; display: grid; gap: 14px; }
.offre { position: relative; padding: 26px 22px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--papier); display: flex; flex-direction: column; gap: 4px; box-shadow: 0 10px 30px #5e0c1912; }
.offre.vedette { color: #fbefd8; border-color: var(--or-vif); background: radial-gradient(120% 90% at 50% 0%, var(--rouge), var(--bordeaux2)); box-shadow: 0 0 0 1px var(--or-vif), 0 20px 50px #a4161f40; }
.offre h3 { font-size: 1.3rem; color: var(--bordeaux2); }
.offre.vedette h3 { color: #fff6e2; }
.prix { margin: 6px 0 0; font: 800 2.6rem/1 var(--serif); color: var(--rouge); }
.vedette .prix { color: var(--or-clair); }
.detail { margin: 0; color: var(--or); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.vedette .detail { color: #f6dc94; }
.desc { margin: 10px 0 18px; color: var(--doux); font-size: .95rem; flex: 1; }
.vedette .desc { color: #f3dfc0; }
.vedette .btn-ligne { color: #fff6e2; border-color: var(--or-clair); }

.lieu { display: grid; gap: 40px; }
.lieu h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
.adresse { margin: 10px 0 18px; color: var(--encre); font-size: 1.05rem; }
.limite { color: var(--rouge); font-weight: 600; }

/* Formulaire */
.formulaire { margin-top: 28px; padding: 22px 18px; border: 1px solid var(--ligne); border-radius: 20px; background: var(--papier); box-shadow: 0 18px 50px #5e0c1914; display: grid; gap: 16px; }
.formulaire label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--bordeaux2); }
.opt { color: var(--doux); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--ligne); background: #fff; color: var(--encre); font: 400 1rem/1.3 var(--sans); min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--rouge); }
.choix { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choix legend { font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; color: var(--bordeaux2); }
.choix-carte { cursor: pointer; }
.choix-carte input { position: absolute; opacity: 0; pointer-events: none; }
.choix-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--ligne); border-radius: 12px; background: #fff; font-weight: 400; transition: border-color .2s, background .2s; }
.choix-in b { font-family: var(--serif); font-size: 1.05rem; color: var(--bordeaux2); }
.choix-in span { color: var(--doux); font-size: .9rem; text-align: right; }
.choix-carte input:checked + .choix-in { border-color: var(--rouge); background: #a4161f0d; box-shadow: 0 0 0 1px var(--rouge); }
.choix-carte input:focus-visible + .choix-in { outline: 3px solid var(--rouge-vif); outline-offset: 2px; }
.ligne { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end; }
.total { margin: 0 0 8px; text-align: right; color: var(--doux); }
.total b { display: block; font: 800 1.8rem/1.1 var(--serif); color: var(--rouge); }
.js .champ-kiosque { display: none; }
.js .champ-kiosque.on { display: grid; }
.consent { grid-template-columns: 24px 1fr !important; align-items: start; font-weight: 400 !important; color: var(--doux) !important; }
.consent input { width: 22px; height: 22px; accent-color: var(--rouge); margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alerte { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--alerte); color: var(--alerte); background: #a4161f12; font-weight: 600; }

details { border-bottom: 1px solid #e6c06a44; padding: 6px 0; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--or-clair); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "–"; }
summary::-webkit-details-marker { display: none; }
details p { margin: 0 0 14px; color: #e8cfa8; }
details a { color: var(--or-clair); }

.pied { padding: 48px 0 110px; text-align: center; color: #e8cfa8; font-size: .9rem; background: #240409; }
.pied p { margin: 4px 0; }
.pied a { color: var(--or-clair); }

.barre-cta { position: fixed; inset: auto 0 0 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(#3d071000, #3d0710f2 45%); display: flex; justify-content: center; transform: translateY(120%); transition: transform .3s; pointer-events: none; }
.barre-cta.on { transform: none; }
.barre-cta .btn { pointer-events: auto; width: 100%; max-width: 420px; }

/* Pages simples (commande, confidentialité) */
.page-simple { padding: 56px 0 80px; min-height: 100vh; background: var(--ivoire); }
.page-simple .kicker { margin-top: 6px; }
.h1-simple { font-size: clamp(2rem, 8vw, 3rem); margin: 4px 0 16px; color: var(--bordeaux2); }
.h2-simple { font-size: 1.35rem; margin: 30px 0 10px; color: var(--bordeaux2); }
.etat { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; border: 1px solid var(--or); color: var(--or); background: #b8872f14; }
.etat-payee { background: #2f6b3a1f; border-color: #3f8f4f; color: #2f6b3a; }
.etat-annulee { border-color: var(--alerte); color: var(--alerte); background: #a4161f12; }
.recap { margin: 22px 0; display: grid; gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.recap div { display: grid; gap: 2px; padding: 14px 16px; background: var(--papier); }
.recap dt { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.recap dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ref { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: var(--rouge); }
.etapes { padding-left: 22px; display: grid; gap: 10px; }
.note { color: var(--doux); font-size: .92rem; }
.texte p { color: var(--encre); }

/* Révélation au défilement (le contenu reste visible sans JavaScript) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .menu a:not(.btn) { display: inline; }
  .quand { grid-template-columns: repeat(3, 1fr); }
  .quand li { flex-direction: column; justify-content: center; align-items: stretch; padding: 14px 18px; gap: 2px; }
  .quand strong { font-size: 1.15rem; text-align: center; }
  .quand .lbl { text-align: center; }
  .cta { flex-direction: row; justify-content: center; gap: 18px; }
  .piliers { grid-template-columns: repeat(5, 1fr); }
  .pilier:last-child:nth-child(odd) { grid-column: auto; }
  .invites { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .offres { grid-template-columns: repeat(4, 1fr); }
  .lieu { grid-template-columns: 1fr 1fr; }
  .formulaire { padding: 32px; }
  .barre-cta { display: none; }
  .pied { padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .halo, .etincelles i { animation: none; }
  .etincelles i { opacity: .6; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn, .barre-cta { transition: none; }
}
@media print { .entete, .barre-cta, .halo, .etincelles, .cadre { display: none; } .hero { min-height: 0; color: #000; background: #fff; } }
.sombre .adresse { color: #f3dfc0; }
.sombre .limite { color: var(--or-clair); }
