/* Bambino — design v2 « Une nuit chez Bambino »
   Couleurs et polices : exactement celles de l'ancien site bambino-angers.fr (relevées le 19/10/2026).
   Langage de mise en page inspiré de One Place (kicker, marquee, chiffres, sections numérotées), identité Bambino :
   stickers de la marque, bords festonnés, néons, boule à facettes. */

/* ---------- polices (hébergées sur le site) ---------- */
@font-face { font-family: "Special Gothic Expanded One"; src: url("../fonts/SpecialGothicExpandedOne.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Gotu"; src: url("../fonts/Gotu.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sacramento"; src: url("../fonts/Sacramento.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* ancien site */
  --vert: #004d38;
  --rouge: #e73931;
  --rose: #f9d3e6;
  --rose-pale: #fdedf5;
  --vert-clair: #69ba7e;
  --menthe: #dff0e4;
  --texte: #212529;
  --texte-2: #414b5a;
  --texte-3: #7e8c9f;
  --blanc: #ffffff;
  /* dérivé pour les sections de nuit (validé : « fond nuit » = vert de la marque assombri) */
  --vert-nuit: #00261c;

  --display: "Special Gothic Expanded One", "Arial Black", sans-serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --gotu: "Gotu", Georgia, serif;
  --script: "Sacramento", "Brush Script MT", cursive;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --neon: 0 0 4px #fff, 0 0 12px var(--rose), 0 0 26px var(--rouge), 0 0 48px rgba(231, 57, 49, .55);

  /* alias pour les pages intérieures (pages.css, version 1) */
  --verde: var(--vert); --verde-notte: var(--vert-nuit); --rosso: var(--rouge); --rosso-scuro: #c42a23; --rosso-btn: var(--rouge);
  --rosa: var(--rose); --rosa-chiaro: var(--rose-pale); --velluto: var(--vert-nuit); --verde-vivo: var(--vert-clair);
  --serif: var(--sans);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 500 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1; text-transform: uppercase; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 400; background: var(--rouge); color: #fff; padding: 10px 16px; border-radius: 30px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- typographie ---------- */
.kicker { display: inline-flex; align-items: center; gap: .8em; margin: 0 0 22px; font: 600 .75rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--vert); }
.kicker::before, .kicker::after { content: "✦"; font-size: 1.15em; letter-spacing: 0; color: var(--rouge); }
.h-xl { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .95; }
.h-l { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; }
.h-m { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.05; }
/* mot d'accent : Poppins italique (partout) ; écriture « La Dolce Angevine » (.script) : une ou deux fois par page */
.h-xl em, .h-l em, .h-m em { font-family: var(--sans); font-style: italic; font-weight: 500; text-transform: none; color: var(--rouge); letter-spacing: -.02em; }
.script { font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: 0; -webkit-text-stroke: .03em currentColor; }
.outline { color: transparent; -webkit-text-stroke: 2px var(--trait, #fff); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; font-weight: 500; max-width: 36em; }
.prose { max-width: 62ch; }
.gotu { font-family: var(--gotu); text-transform: uppercase; line-height: 1.25; }

/* ---------- boutons (ancien site, survols compris) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 10px 28px; border: 1px solid transparent; border-radius: 30px;
  font: 600 1.125rem/1.5 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn::before, .btn::after { content: "✦"; font-size: .8em; }
.btn--plain::before, .btn--plain::after { content: none; }
.btn:active { transform: scale(.98); }
.btn--vert { background: var(--vert); border-color: var(--vert); color: #fff; }
.btn--vert:hover, .btn--vert:focus-visible { background: transparent; color: var(--vert); }
.btn--vert-outline { background: transparent; border-color: var(--vert); color: var(--vert); }
.btn--vert-outline:hover, .btn--vert-outline:focus-visible { background: var(--vert); color: #fff; }
.btn--blanc-outline { background: transparent; border-color: #fff; color: #fff; }
.btn--blanc-outline:hover, .btn--blanc-outline:focus-visible { background: #fff; color: var(--vert); }
/* rouge #E73931 : texte en 700 / 19 px = « grand texte » (contraste 4,2:1 suffisant) */
.btn--rouge { background: var(--rouge); border-color: var(--rouge); color: #fff; font-weight: 700; font-size: 1.1875rem; }
.btn--rouge:hover, .btn--rouge:focus-visible { background: transparent; color: var(--rouge); }
.btn--rouge-outline { background: transparent; border-color: var(--rouge); color: var(--rouge); font-weight: 700; font-size: 1.1875rem; }
.btn--rouge-outline:hover, .btn--rouge-outline:focus-visible { background: var(--rouge); color: #fff; }
.btn--rose { background: var(--rose); border-color: var(--rose); color: var(--vert); }
.btn--rose:hover, .btn--rose:focus-visible { background: var(--vert); border-color: var(--rose); color: var(--rose); }
.on-dark .btn--rouge:hover, .on-dark .btn--rouge:focus-visible { background: #fff; border-color: #fff; color: var(--rouge); }
.btn--small { min-height: 40px; padding: 6px 18px; font-size: .9375rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.btn--small::before, .btn--small::after { content: none; }
.btn--small.btn--rouge { font-weight: 700; font-size: 1.1875rem; text-transform: none; letter-spacing: 0; padding-inline: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 599px) { .btn:not(.btn--small) { white-space: normal; text-align: center; } }
.dice__grid > *, .espaces__grid > *, .affiche > *, .cuisine2__head > *, .infos2__grid > * { min-width: 0; }
/* compatibilité pages v1 */
.btn--rosso { background: var(--rouge); border-color: var(--rouge); color: #fff; font-weight: 700; font-size: 1.1875rem; }
.btn--rosso:hover { background: transparent; color: var(--rouge); }
.btn--rosa { background: var(--rose); border-color: var(--rose); color: var(--vert); }
.btn--rosa:hover { background: var(--vert); color: var(--rose); border-color: var(--rose); }
.btn--verde { background: var(--vert); border-color: var(--vert); color: #fff; }
.btn--verde:hover { background: transparent; color: var(--vert); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }

/* ---------- logo (SVG coloré par la couleur du texte) ---------- */
.brand__logo { display: block; width: 92px; aspect-ratio: 126 / 98; background: currentColor; -webkit-mask: url("../img/logo.svg") center / contain no-repeat; mask: url("../img/logo.svg") center / contain no-repeat; }

/* ---------- en-tête : logo dans un médaillon suspendu, menu de part et d'autre (ancien site) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--blanc); color: var(--vert); box-shadow: 0 1px 0 rgba(0, 77, 56, .12); transition: background-color .35s, color .35s, box-shadow .35s; }
.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: var(--header-h); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.brand { position: relative; align-self: start; display: block; color: var(--vert); padding: 10px 20px 14px; background: var(--blanc); border-radius: 0 0 999px 999px; }
.brand .brand__logo { width: 78px; }
.nav-list { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.nav-list--right { justify-content: flex-end; }
.nav-list a:not(.btn) { font: 500 .9375rem/1.5 var(--sans); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; padding: 6px 0; position: relative; }
.nav-list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list a:not(.btn):hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list .sep { color: var(--rouge); font-size: .8rem; }
.nav__social, .burger { display: none; }
/* accueil : en-tête transparent au-dessus de la vidéo, blanc dès qu'on défile */
.page-accueil .site-header { position: absolute; left: 0; right: 0; background: transparent; color: #fff; box-shadow: none; }
.js .page-accueil .site-header { position: fixed; }
.page-accueil .site-header.is-solid { background: var(--blanc); color: var(--vert); box-shadow: 0 1px 0 rgba(0, 77, 56, .12); }
.page-accueil .site-header .btn--rouge:hover { background: #fff; border-color: #fff; }
.page-accueil .site-header.is-solid .btn--rouge:hover { background: transparent; border-color: var(--rouge); }

@media (max-width: 999px) {
  :root { --header-h: 64px; }
  .site-header__inner { grid-template-columns: auto 1fr auto auto; gap: 10px; }
  .brand { order: 0; padding: 6px 14px 10px; }
  .brand .brand__logo { width: 58px; }
  .site-header .header-resa { order: 2; justify-self: end; }
  .burger { order: 3; display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer; }
  .burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
  .burger__lines { position: relative; }
  .burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
  .burger__lines::before { top: -7px; }
  .burger__lines::after { top: 7px; }
  .burger[aria-expanded="true"] .burger__lines { background: transparent; }
  .burger[aria-expanded="true"] .burger__lines::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--vert); color: var(--rose); padding: 36px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav .nav-list { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav .nav-list a:not(.btn) { font: 400 clamp(1.7rem, 8vw, 2.4rem)/1.2 var(--display); }
  .nav .sep, .nav .nav-list .nav-resa { display: none; }
  .nav__social { display: flex; gap: 22px; list-style: none; margin: 40px 0 0; padding: 0; }
  .nav__social a { font-weight: 600; }
  body.nav-open { overflow: hidden; }
  .page-accueil .site-header.nav-is-open { background: var(--vert); color: var(--rose); }
}
@media (min-width: 1000px) {
  .nav { display: contents; }
  .nav .nav-list--left { grid-column: 1; grid-row: 1; }
  .nav .nav-list--right { grid-column: 3; grid-row: 1; }
  .brand { grid-column: 2; grid-row: 1; }
  .header-resa { display: none; }
  .nav-list a:not(.btn) { white-space: nowrap; }
}
/* 1.8.0 : jusqu'à trois liens de chaque côté du logo (Événements, Job) : menu plus serré sur les écrans moyens */
@media (min-width: 1000px) and (max-width: 1279px) {
  .site-header__inner { gap: 12px; }
  .nav-list { gap: 11px; }
  .nav-list a:not(.btn) { font-size: .8rem; letter-spacing: .01em; }
  .nav-list .sep { font-size: .6rem; }
  .nav-list .btn--small { padding-inline: 14px; }
}
@media (min-width: 1000px) and (max-width: 1119px) {
  .nav-list .sep { display: none; }
  .nav-list a:not(.btn) { font-size: .76rem; }
}

/* ---------- décor : grain, festons, stickers, polaroïds ---------- */
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* bord festonné (comme l'ancien site) : la couleur est celle de la section suivante */
.festons { position: relative; }
.festons::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 50% 100%, var(--feston, #fff) 9.5px, transparent 10px) 0 0 / 24px 14px repeat-x; }
.festons--haut::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 50% 0, var(--feston-haut, #fff) 9.5px, transparent 10px) 0 0 / 24px 14px repeat-x; }
.sticker { position: absolute; z-index: 2; pointer-events: none; width: var(--w, 140px); height: auto; filter: drop-shadow(0 6px 10px rgba(0, 38, 28, .22)); }
.spin { animation: tourne 28s linear infinite; }
.balance { animation: balance 5s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes balance { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(5deg); } }
.pola { background: #fff; padding: 10px 10px 40px; box-shadow: 0 22px 40px -20px rgba(0, 38, 28, .55); }
.pola img { width: 100%; height: 100%; object-fit: cover; }
.pola figcaption { font: 400 1.6rem/1 var(--script); color: var(--vert); text-align: center; margin-top: 10px; -webkit-text-stroke: .02em currentColor; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: defile var(--speed, 36s) linear infinite; }
.marquee__track > * { flex: none; display: flex; align-items: flex-start; }
/* pause au survol : seulement avec une vraie souris (sur écran tactile, le survol reste « collé » après un toucher) ;
   au toucher, la bande s'arrête tant que le doigt est posé (.is-tenu) ou qu'une assiette est ouverte (.is-arrete) */
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
.marquee.is-tenu .marquee__track { animation-play-state: paused; }
.marquee--inverse .marquee__track { animation-direction: reverse; }
@keyframes defile { to { transform: translateX(-50%); } }
.bande { padding-block: 18px; font: 400 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.bande span { display: inline-flex; align-items: center; gap: .7em; padding-right: .7em; }
.bande i { font-style: normal; font-size: .6em; }
.bande--rouge { background: var(--rouge); color: #fff; }
.bande--rose { background: var(--rose); color: var(--vert); padding-block: 26px; font-size: clamp(2.2rem, 6vw, 5.4rem); }
.bande--rose .outline { --trait: var(--vert); }
.bande--rose i { color: var(--rouge); }

/* ---------- apparitions au défilement ----------
   main.js masque seulement ce qui est sous la ligne de flottaison (is-pending) et retire la classe à l'arrivée.
   Sans JavaScript, avec le bouton pause ou après une erreur JavaScript, rien n'est masqué.
   translate/scale (et non transform) : la rotation propre des polaroïds reste intacte. */
[data-reveal].is-pending { opacity: 0; translate: 0 36px; }
[data-reveal="tilt"].is-pending { translate: 0 50px; scale: .92; }
[data-reveal].is-in { transition: opacity 1s var(--ease), translate 1.1s var(--ease), scale 1.1s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal].is-pending, [data-reveal="tilt"].is-pending { translate: none; scale: none; }
}
@media print { [data-reveal].is-pending { opacity: 1; translate: none; scale: none; } }

/* ---------- accueil : hero ---------- */
.hero2 { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; color: #fff; background: var(--vert-nuit); overflow: hidden; --feston: var(--blanc); }
.hero2__media, .hero2__media img, .hero2__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero2__video { opacity: 0; transition: opacity 1.2s; }
.hero2__video.is-playing { opacity: 1; }
.hero2__shade { position: absolute; inset: 0; background: linear-gradient(79deg, rgba(0, 77, 56, .96) 2%, rgba(0, 77, 56, .62) 38%, rgba(0, 77, 56, 0) 84%), linear-gradient(0deg, rgba(0, 38, 28, .7), rgba(0, 38, 28, 0) 45%); }
.hero2__content { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 64px) clamp(70px, 9vw, 120px); }
.hero2 .kicker { color: var(--rose); }
.hero2 .kicker::before, .hero2 .kicker::after { color: var(--rose); }
.hero2__title { font-size: clamp(2.9rem, 8.6vw, 8.4rem); line-height: .9; letter-spacing: -.01em; max-width: 11em; }
.hero2__title > span { display: block; }
.hero2__title .script { color: var(--rose); font-size: 1.12em; line-height: .8; margin: .02em 0 .1em .3em; transform: rotate(-6deg); transform-origin: left; text-shadow: 0 4px 0 rgba(231, 57, 49, .9); }
.hero2__lead { margin-top: 26px; max-width: 30em; color: rgba(255, 255, 255, .9); }
.statut { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .95rem; font-weight: 500; }
.statut::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); flex: none; }
.statut--open::before { background: var(--vert-clair); box-shadow: 0 0 0 4px rgba(105, 186, 126, .3); }
.hero2 .statut { margin-top: 26px; padding: 8px 16px; border-radius: 30px; background: rgba(0, 38, 28, .45); border: 1px solid rgba(249, 211, 230, .3); }
.hero2__piazza { --w: 150px; right: 6%; top: calc(var(--header-h) + 50px); }
.hero2__stamp { --w: 190px; right: 13%; bottom: 120px; transform: rotate(12deg); }
.hero2__scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: 44px; display: flex; align-items: center; gap: 12px; font: 600 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .8); writing-mode: vertical-rl; }
.hero2__scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(var(--rose), transparent); }
@media (max-width: 899px) {
  .hero2 { min-height: 92svh; }
  .hero2__shade { background: linear-gradient(0deg, rgba(0, 38, 28, .95) 8%, rgba(0, 77, 56, .55) 55%, rgba(0, 77, 56, .15) 100%); }
  .hero2__piazza { --w: 92px; right: 14px; top: calc(var(--header-h) + 24px); }
  .hero2__stamp, .hero2__scroll { display: none; }
  .hero2__title .script { margin: .18em 0 .14em .15em; }
}

/* ---------- accueil : manifeste (cadre rose de l'ancien site) ---------- */
.manif { padding-block: var(--section); }
.manif__box { position: relative; text-align: center; background: var(--rose-pale); border: 1px solid var(--vert); border-radius: 160px; padding: clamp(56px, 7vw, 96px) clamp(24px, 7vw, 110px) clamp(110px, 12vw, 160px); }
.manif__box::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(0, 77, 56, .35); border-radius: 150px; pointer-events: none; }
.manif__star { position: absolute; color: var(--vert); font-size: 1.6rem; line-height: 1; }
.manif__star--1 { left: 8%; top: 22px; } .manif__star--2 { right: 8%; top: 22px; } .manif__star--3 { left: 8%; bottom: 22px; } .manif__star--4 { right: 8%; bottom: 22px; }
.manif__text { font-size: clamp(1.35rem, 2.8vw, 2.5rem); color: var(--vert); max-width: 24em; margin: 0 auto; }
.manif__text strong { color: var(--rouge); font-weight: 400; }
.manif__hand { position: absolute; bottom: 30px; width: clamp(160px, 26vw, 340px); opacity: .9; pointer-events: none; }
.manif__hand--g { left: 2%; }
.manif__hand--d { right: 2%; }
.manif__vibrez { --w: 170px; left: -18px; top: -46px; transform: rotate(-12deg); }
.manif__espritz { --w: 120px; right: 4%; top: -60px; transform: rotate(9deg); }
.manif .actions { justify-content: center; }
@media (max-width: 699px) {
  .manif__box { border-radius: 60px; }
  .manif__box::before { border-radius: 52px; }
  .manif__hand { width: 44%; bottom: 18px; }
  .manif__vibrez { --w: 110px; left: -6px; top: -50px; }
  .manif__espritz { --w: 80px; top: -50px; }
}
/* polaroïds de travers : photo carrée comme un vrai polaroïd (1.4.0) */
.polas { position: relative; height: clamp(360px, 46vw, 560px); margin-top: clamp(60px, 8vw, 110px); }
.polas .pola { position: absolute; width: clamp(160px, 24vw, 320px); }
.polas .pola:nth-child(1) { left: 2%; top: 8%; --r: -8deg; transform: rotate(-8deg); }
.polas .pola:nth-child(2) { left: 36%; top: 0; --r: 3deg; transform: rotate(3deg); z-index: 2; }
.polas .pola:nth-child(3) { right: 3%; top: 12%; --r: 9deg; transform: rotate(9deg); }
.polas .pola img { height: auto; aspect-ratio: 1; }
.polas .pola:hover { z-index: 3; transform: rotate(0) scale(1.04); transition: transform .5s var(--ease); }
.polas__tomate { --w: 64px; left: 30%; bottom: 4%; transform: rotate(-14deg); }
/* téléphone : deux en haut, le troisième dessous au milieu, à peine posé sur les deux autres */
@media (max-width: 699px) {
  .polas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6%; height: auto; padding: 0 3%; }
  .polas .pola { position: relative; width: auto; left: auto; right: auto; top: auto; margin: 0; padding: 6px 6px 30px; }
  .polas .pola:nth-child(1) { inset: auto; margin-top: 14px; z-index: 1; }
  .polas .pola:nth-child(2) { inset: auto; z-index: 2; }
  .polas .pola:nth-child(3) { inset: auto; grid-column: 1 / -1; justify-self: center; width: 47%; margin-top: -10px; z-index: 3; --r: 4deg; transform: rotate(4deg); }
  .pola figcaption { font-size: 1.2rem; margin-top: 6px; }
  .polas__tomate { --w: 44px; left: 4%; bottom: 6%; }
  .polas .polas__verre { --w: 48px; right: 8%; top: auto; bottom: 14%; }
}
.polas__verre { --w: 64px; right: 30%; top: -6%; transform: rotate(16deg); }

/* chiffres */
.chiffres { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid rgba(0, 77, 56, .2); }
.chiffre { padding: 26px 18px 6px 0; }
.chiffre b { display: block; font: 400 clamp(2.4rem, 5vw, 4.4rem)/1 var(--display); color: var(--vert); font-variant-numeric: tabular-nums; }
.chiffre b small { font-size: .45em; }
.chiffre > span { display: block; margin-top: 10px; font-size: .9rem; color: var(--texte-2); max-width: 15em; }
@media (min-width: 900px) {
  .chiffres { grid-template-columns: repeat(5, 1fr); }
  /* 1.8.0 : de trois à six chiffres (Contenu du site > Chiffres clés) */
  .chiffres--3 { grid-template-columns: repeat(3, 1fr); } .chiffres--4 { grid-template-columns: repeat(4, 1fr); } .chiffres--6 { grid-template-columns: repeat(6, 1fr); }
  .chiffre { padding: 32px 24px 0; border-left: 1px solid rgba(0, 77, 56, .2); }
  .chiffre:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- accueil : les espaces (nuit, numérotés) ---------- */
.espaces { background: var(--vert-nuit); color: var(--rose-pale); padding-block: var(--section); --feston: var(--rose); }
.espaces .kicker { color: var(--rose); }
.espaces h2 { color: #fff; }
.espaces h2 em { color: var(--rose); }
.espaces__grid { display: grid; gap: 48px; margin-top: 56px; }
.esp { list-style: none; margin: 0; padding: 0; }
.esp li { border-top: 1px solid rgba(249, 211, 230, .2); }
.esp li:last-child { border-bottom: 1px solid rgba(249, 211, 230, .2); }
.esp a { display: grid; grid-template-columns: clamp(60px, 7vw, 96px) 1fr; gap: 6px 20px; padding: 26px 0; text-decoration: none; }
.esp__num { grid-row: span 2; font: 400 clamp(2rem, 4vw, 3.4rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--rose); transition: color .3s, -webkit-text-stroke-color .3s; }
.esp__nom { font: 400 clamp(1.5rem, 3vw, 2.5rem)/1.05 var(--display); text-transform: uppercase; color: #fff; transition: text-shadow .3s, color .3s; }
.esp__desc { color: rgba(253, 237, 245, .78); max-width: 34em; font-size: .98rem; }
.esp__niveau { display: block; margin-top: 8px; font: 600 .78rem/1.2 var(--sans); letter-spacing: .14em; color: var(--rose); text-shadow: none; }
.esp__thumb { grid-column: 1 / -1; margin-top: 14px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.esp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.esp a:hover .esp__num, .esp a:focus-visible .esp__num, .esp li.is-on .esp__num { color: var(--rouge); -webkit-text-stroke-color: var(--rouge); }
.esp a:hover .esp__nom, .esp a:focus-visible .esp__nom, .esp li.is-on .esp__nom { text-shadow: var(--neon); }
.espaces__media { display: none; }
@media (min-width: 900px) {
  .espaces__grid { grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: start; }
  .esp__thumb { display: none; }
  .espaces__media { display: block; position: sticky; top: calc(var(--header-h) + 30px); aspect-ratio: 4 / 5; }
  .espaces__media figure { position: absolute; inset: 0; margin: 0; border-radius: 999px 999px 24px 24px; overflow: hidden; opacity: 0; transform: scale(1.04); transition: opacity .6s, transform 1s var(--ease); box-shadow: 0 0 0 2px var(--rose), 0 0 30px rgba(249, 211, 230, .35), 0 0 80px rgba(231, 57, 49, .35); }
  .espaces__media figure.is-on { opacity: 1; transform: none; }
  .espaces__media img { width: 100%; height: 100%; object-fit: cover; }
  .espaces__neon { position: absolute; z-index: 2; left: -40px; bottom: 40px; font: 400 clamp(2.6rem, 4vw, 3.6rem)/1 var(--script); color: #fff; text-shadow: var(--neon); transform: rotate(-8deg); pointer-events: none; }
}

/* ---------- accueil : la cuisine (cartes défilantes lues dans menu.json) ---------- */
.cuisine2 { padding-block: var(--section) calc(var(--section) * .8); overflow: hidden; }
.cuisine2__head { display: grid; gap: 20px; align-items: end; margin-bottom: 48px; }
.cuisine2 h2 { color: var(--vert); }
@media (min-width: 900px) { .cuisine2__head { grid-template-columns: 1fr auto; } }
.cartes-defil { display: grid; gap: 22px; }
.dcard { flex: none; margin-right: 22px; color: var(--vert); text-decoration: none; transition: transform .45s var(--ease); }
.dcard { width: clamp(210px, 22vw, 280px); white-space: normal; }
.dcard__fig { position: relative; aspect-ratio: 1; display: grid; place-items: center; margin: 0; }
.dcard__fig::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: var(--rose-pale); }
.dcard:nth-child(even) .dcard__fig::before { background: var(--menthe); }
.dcard__fig::after { content: ""; position: absolute; inset: 0; background: url("../img/stickers/plats-photo.webp") center / contain no-repeat; opacity: .8; }
.dcard__fig img { position: relative; z-index: 1; width: 80%; height: 80%; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 38, 28, .12)); transition: transform .6s var(--ease); }
.dcard__nom { display: block; margin-top: 12px; font: 400 1.1rem/1.2 var(--gotu); text-transform: uppercase; text-align: center; }
.dcard__meta { display: flex; justify-content: center; gap: 10px; margin: 4px 0 0; font-size: .85rem; color: var(--texte-2); }
.dcard__meta b { color: var(--vert); font-weight: 700; }
.dcard__nom { margin: 12px 0 0; }
/* au survol (ordinateur), au clavier ou au toucher (.is-open, main.js) : l'assiette grossit un peu, une ligne de description
   et « Voir la carte » apparaissent. La place est réservée : rien ne bouge autour. Sans JavaScript, tout reste visible. */
.dcard__plus { display: grid; justify-items: center; gap: 6px; margin-top: 8px; min-height: 3.6em; text-align: center; }
.dcard__desc { display: block; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .84rem; line-height: 1.4; color: var(--texte-2); }
.dcard__lien { font: 600 .82rem/1 var(--sans); color: var(--rouge); text-decoration: underline; text-underline-offset: .25em; padding: 4px 6px; }
/* opacité 0 + clics ignorés (et non visibility: hidden) : « Voir la carte » reste atteignable au clavier, et le focus ouvre la carte */
.js .dcard__plus { opacity: 0; pointer-events: none; translate: 0 -4px; transition: opacity .3s ease, translate .3s ease; }
.js .dcard:focus-within .dcard__plus, .js .dcard.is-open .dcard__plus { opacity: 1; pointer-events: auto; translate: 0 0; }
@media print { .js .dcard__plus { opacity: 1; translate: none; } }
.dcard:focus-within, .dcard.is-open { transform: translateY(-4px); }
.dcard:focus-within .dcard__fig img, .dcard.is-open .dcard__fig img { transform: scale(1.08); }
/* survol seulement avec une vraie souris (sur écran tactile, :hover reste « collé » après un toucher) */
@media (hover: hover) {
  .js .dcard:hover .dcard__plus { opacity: 1; pointer-events: auto; translate: 0 0; }
  .dcard:hover { transform: translateY(-4px); }
  .dcard:hover .dcard__fig img { transform: scale(1.08); }
}
/* la bande des assiettes défile lentement et s'arrête au survol, au clavier ou quand une assiette est ouverte au toucher */
.cartes-defil .marquee { --speed: 42s; } /* 1.4.0 : deux fois plus vite qu'en 1.3.1 (84 s) ; mouvement réduit : × 1,6 = 67 s */
.cartes-defil .marquee:focus-within .marquee__track, .cartes-defil .marquee.is-arrete .marquee__track { animation-play-state: paused; }
/* photo envoyée depuis /admin (carré cadré) : un rond plein dans le cercle, au lieu d'une assiette détourée */
.dcard__fig img.is-envoi { width: 76%; height: 76%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 12px 22px -10px rgba(0, 38, 28, .45); filter: none; }
.cartes-defil .marquee { padding-block: 22px 10px; }

/* ---------- accueil : le dé à spritz ---------- */
.dice { position: relative; background: var(--rose); padding-block: var(--section); --feston: var(--rose-pale); --feston-haut: var(--blanc); }
.dice__grid { display: grid; gap: 48px; align-items: center; }
.dice h2 { color: var(--vert); }
.dice__btn { margin-top: 30px; }
.dice__btn::before, .dice__btn::after { content: none; }
.spritz-card { position: relative; background: #fff; border-radius: 30px; padding: 34px 34px 30px; box-shadow: 0 30px 60px -30px rgba(0, 38, 28, .5); transform: rotate(2deg); max-width: 520px; justify-self: center; width: 100%; }
.spritz-card__glass { position: absolute; right: 22px; top: -40px; width: 92px; height: auto; transform: rotate(14deg); transition: transform .5s var(--ease); }
.spritz-card__cat { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--vert); }
.spritz-card__nom { display: block; margin-top: 14px; font: 400 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--display); text-transform: uppercase; color: var(--rouge); min-height: 1em; }
.spritz-card__desc { margin-top: 14px; color: var(--texte-2); min-height: 3.2em; }
.spritz-card__prix { display: inline-block; margin-top: 16px; font: 400 2rem/1 var(--display); color: var(--vert); }
.spritz-card.is-spinning .spritz-card__nom { animation: brouille .09s linear infinite; }
.spritz-card.is-spinning .spritz-card__glass { transform: rotate(-20deg) scale(1.1); }
@keyframes brouille { 50% { filter: blur(2px); transform: translateY(2px); } }
.dice__vespa { --w: 130px; left: 3%; bottom: -30px; transform: rotate(-10deg); }
/* le cachet déborde sur la section suivante : la section du dé passe au-dessus, le cachet au-dessus de ses propres festons */
.dice { z-index: 2; }
.dice__vespa { z-index: 4; }
@media (min-width: 900px) { .dice__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- accueil : « Una notte da Bambino » (de 19 h à 2 h, une photo par heure) ----------
   Sans JavaScript, en pause et à l'impression : les neuf heures en bandes, du rose de l'apéritif au vert de la nuit.
   Avec JavaScript (.is-pinned, écran seulement) : scène fixe, l'horloge avance au défilement, les polaroïds tombent en pile. */
.nuit { position: relative; color: var(--rose-pale); background: linear-gradient(var(--rose-pale) 0 50%, var(--vert-nuit) 50% 100%);
  --c0: #fdedf5; --c1: #f6bfa9; --c2: #c42a23; --c3: #9a1d23; --c4: #6b1320; --c5: #3c0d1b; --c6: #00261c; --c7: #00261c; --c8: #00261c; }
.nuit__intro { color: var(--vert); padding-block: var(--section) clamp(24px, 4vw, 48px); }
.nuit__intro .lead { color: var(--texte-2); }
.nuit__moments { list-style: none; margin: 0; padding: 0; }
.nuit__moment { --bg: var(--c0); --fg: var(--vert); background: var(--bg); color: var(--fg); padding: clamp(48px, 7vw, 96px) var(--gutter);
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 30em); justify-content: center; align-items: center; gap: clamp(28px, 6vw, 96px); }
.nuit__moment:nth-child(2) { --bg: var(--c1); }
.nuit__moment:nth-child(3) { --bg: var(--c2); --fg: #fff; }
.nuit__moment:nth-child(4) { --bg: var(--c3); --fg: #fff; }
.nuit__moment:nth-child(5) { --bg: var(--c4); --fg: var(--rose-pale); }
.nuit__moment:nth-child(6) { --bg: var(--c5); --fg: var(--rose-pale); }
.nuit__moment:nth-child(n+7) { --bg: var(--c6); --fg: var(--rose-pale); }
.nuit__moment:nth-child(even) .nuit__pola { order: 2; }
.nuit__pola { --r: -4deg; margin: 0; width: min(340px, 78vw); justify-self: center; rotate: var(--r); }
.nuit__moment:nth-child(2) .nuit__pola { --r: 5deg; --x: -30%; --y: -8%; }
.nuit__moment:nth-child(3) .nuit__pola { --r: -6deg; --x: 28%; --y: -10%; }
.nuit__moment:nth-child(4) .nuit__pola { --r: 8deg; --x: -22%; --y: 10%; }
.nuit__moment:nth-child(5) .nuit__pola { --r: -9deg; --x: 30%; --y: 8%; }
.nuit__moment:nth-child(6) .nuit__pola { --r: 3deg; --x: -8%; --y: -14%; }
.nuit__moment:nth-child(7) .nuit__pola { --r: -3deg; --x: 18%; --y: 2%; }
.nuit__moment:nth-child(8) .nuit__pola { --r: 9deg; --x: -26%; --y: -2%; }
.nuit__moment:nth-child(9) .nuit__pola { --r: -2deg; --x: 6%; --y: 6%; }
.nuit__pola img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 32%; }
.nuit__pola figcaption { font-size: 1.9rem; }
.nuit__heure { margin: 0 0 8px; font: 400 clamp(2.6rem, 6vw, 4.6rem)/1 var(--display); letter-spacing: -.01em; }
.nuit__titre { font-size: clamp(1.5rem, 2.8vw, 2.4rem); margin-bottom: .45em; }
.nuit__texte p:last-child { font-size: 1.08rem; line-height: 1.55; max-width: 28em; }
.nuit__horloge, .nuit__disco, .nuit__halos, .nuit__frise { display: none; }
.nuit__fin { padding-block: clamp(48px, 6vw, 80px) var(--section); text-align: center; }
.nuit__tard { font: 400 clamp(1.25rem, 2.4vw, 1.9rem)/1.3 var(--gotu); text-transform: uppercase; margin-bottom: 26px; }
.nuit__fin .actions { justify-content: center; }
@media (max-width: 760px) {
  .nuit__moment { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .nuit__moment:nth-child(even) .nuit__pola { order: 0; }
  .nuit__texte p:last-child { margin-inline: auto; }
}

@media screen {
  .nuit.is-pinned { --pas: 72svh; }
  .nuit.is-pinned .nuit__piste { height: calc(9 * var(--pas) + 100svh); }
  .nuit.is-pinned .nuit__scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
    --bg: var(--c0); --fg: var(--vert); --accent: var(--rouge);
    background: var(--bg); color: var(--fg); transition: background-color 1s ease, color .6s ease;
    --pw: min(380px, 26vw, calc((100svh - 280px) * .74)); --px: 68%; --py: 55%; --etal: 1; }
  /* lumière de table sous la pile */
  .nuit.is-pinned .nuit__scene::before { content: ""; position: absolute; z-index: 0; left: var(--px); top: var(--py); width: calc(var(--pw) * 2.8); aspect-ratio: 1;
    translate: -50% -50%; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0)); }
  .nuit.is-pinned[data-moment="1"] .nuit__scene { --bg: var(--c1); }
  .nuit.is-pinned[data-moment="2"] .nuit__scene { --bg: var(--c2); --fg: #fff; --accent: var(--rose); }
  .nuit.is-pinned[data-moment="3"] .nuit__scene { --bg: var(--c3); --fg: #fff; --accent: var(--rose); }
  .nuit.is-pinned[data-moment="4"] .nuit__scene { --bg: var(--c4); --fg: var(--rose-pale); --accent: var(--rose); }
  .nuit.is-pinned[data-moment="5"] .nuit__scene { --bg: var(--c5); --fg: var(--rose-pale); --accent: var(--rose); }
  .nuit.is-pinned.is-minuit .nuit__scene { --bg: var(--c6); --fg: var(--rose-pale); --accent: var(--rose); }

  /* horloge */
  .nuit.is-pinned .nuit__horloge { display: block; position: absolute; z-index: 2; left: var(--gutter); top: calc(var(--header-h) + 4vh); margin: 0;
    font: 400 clamp(3.6rem, 10.5vw, 10.5rem)/.9 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums;
    -webkit-text-fill-color: transparent; -webkit-text-stroke: 2px var(--fg); transition: text-shadow .8s; }
  .nuit.is-pinned .nuit__horloge span { display: inline-block; }
  .nuit.is-pinned .nuit__horloge .is-tic { animation: tic .55s var(--ease); }
  .nuit.is-pinned.is-minuit .nuit__horloge { -webkit-text-fill-color: #fff; -webkit-text-stroke: 0; text-shadow: var(--neon); }
  @keyframes tic { from { opacity: 0; translate: 0 .22em; } }

  /* boule à facettes : elle descend à minuit */
  .nuit.is-pinned .nuit__disco { display: block; left: auto; right: calc(var(--gutter) - 8px); margin-left: 0; bottom: auto; top: -260px; transition: top 1.3s cubic-bezier(.3, 1.3, .5, 1); }
  .nuit.is-pinned .nuit__halos { display: block; opacity: 0; transition: opacity 1.4s; }
  .nuit.is-pinned.is-minuit .nuit__halos { opacity: .85; }
  .nuit.is-pinned.is-minuit .nuit__disco { top: calc(var(--header-h) + 22px); }

  /* les moments : une couche par heure, posées les unes sur les autres */
  .nuit.is-pinned .nuit__moments { position: absolute; inset: 0; }
  .nuit.is-pinned .nuit__moment { position: absolute; inset: 0; display: block; padding: 0; background: none; color: inherit; pointer-events: none; }
  .nuit.is-pinned .nuit__pola { position: absolute; z-index: 1; left: var(--px); top: var(--py); width: var(--pw); padding: 10px 10px 34px;
    translate: calc(-50% + var(--x, 0%) * var(--etal)) calc(-50% + var(--y, 0%) * var(--etal) - 125vh); rotate: calc(var(--r) + 24deg);
    transition: translate .95s cubic-bezier(.2, 1.15, .35, 1), rotate .95s cubic-bezier(.2, 1.15, .35, 1), scale .6s, filter .6s;
    box-shadow: 0 26px 40px -18px rgba(0, 0, 0, .55); }
  .nuit.is-pinned .is-past .nuit__pola, .nuit.is-pinned .is-current .nuit__pola { translate: calc(-50% + var(--x, 0%) * var(--etal)) calc(-50% + var(--y, 0%) * var(--etal)); rotate: var(--r); }
  .nuit.is-pinned .is-past .nuit__pola { scale: .94; filter: brightness(.82) saturate(.9); }
  .nuit.is-pinned .nuit__pola figcaption { font-size: 1.6rem; margin-top: 6px; }
  .nuit.is-pinned .nuit__texte { position: absolute; z-index: 2; left: var(--gutter); bottom: 92px; width: min(30em, 44%);
    opacity: 0; translate: 0 18px; transition: opacity .45s ease, translate .6s var(--ease); }
  .nuit.is-pinned .is-current .nuit__texte { opacity: 1; translate: 0 0; transition-delay: .15s; }
  .nuit.is-pinned .nuit__heure { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nuit.is-pinned .nuit__titre { color: var(--fg); }

  /* frise des heures */
  .nuit.is-pinned .nuit__frise { display: flex; justify-content: space-between; position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 16px;
    padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); }
  .nuit.is-pinned .nuit__frise::before { content: ""; position: absolute; left: 0; top: -2px; height: 3px; width: calc(var(--progress, 0) * 100%); background: var(--accent); border-radius: 3px; }
  .nuit__frise a { position: relative; padding: 6px 4px; font: 600 .78rem/1 var(--sans); letter-spacing: .06em; text-decoration: none; opacity: .6; transition: opacity .3s; }
  .nuit__frise a:hover, .nuit__frise a[aria-current] { opacity: 1; }
  .nuit__frise a[aria-current]::before { content: "✦"; position: absolute; left: 50%; top: -24px; translate: -50% 0; color: var(--accent); font-size: .9rem; }

  @media (max-width: 760px) {
    .nuit.is-pinned { --pas: 58svh; }
    .nuit.is-pinned .nuit__scene { --pw: min(60vw, calc((100svh - 420px) * .72)); --px: 50%; --py: 48%; --etal: .6; }
    .nuit.is-pinned .nuit__horloge { font-size: clamp(2.8rem, 13vw, 4.4rem); top: calc(var(--header-h) + 14px); -webkit-text-stroke-width: 1.5px; }
    .nuit.is-pinned .nuit__pola { padding: 7px 7px 26px; }
    .nuit.is-pinned .nuit__pola figcaption { font-size: 1.25rem; margin-top: 4px; }
    .nuit.is-pinned .nuit__disco { --d: 64px; left: auto; right: 14px; margin-left: 0; }
    .nuit.is-pinned.is-minuit .nuit__disco { top: calc(var(--header-h) + 18px); }
    .nuit.is-pinned .nuit__texte { left: var(--gutter); right: var(--gutter); width: auto; bottom: 64px; text-align: left; }
    .nuit.is-pinned .nuit__titre { font-size: 1.3rem; margin-bottom: .3em; }
    .nuit.is-pinned .nuit__texte p:last-child { font-size: .92rem; line-height: 1.45; }
    .nuit.is-pinned .nuit__frise a { font-size: .62rem; letter-spacing: 0; padding: 6px 1px; }
  }
}
/* mouvement réduit : les polaroïds apparaissent en fondu, sans chute ni rotation */
@media screen and (prefers-reduced-motion: reduce) {
  .nuit.is-pinned .nuit__pola { translate: calc(-50% + var(--x, 0%) * var(--etal)) calc(-50% + var(--y, 0%) * var(--etal)); rotate: var(--r); opacity: 0; transition: opacity .6s, scale .6s, filter .6s; }
  .nuit.is-pinned .is-past .nuit__pola, .nuit.is-pinned .is-current .nuit__pola { opacity: 1; }
  .nuit.is-pinned .nuit__horloge .is-tic { animation: none; }
  .nuit.is-pinned .nuit__disco { transition: none; }
}

/* ---------- accueil : la programmation (affiche de concert) ---------- */
.prog { position: relative; background: var(--vert-nuit); color: var(--rose-pale); padding-block: var(--section); overflow: hidden; --feston: var(--blanc); }
.prog::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 80% 10%, rgba(231, 57, 49, .28), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(249, 211, 230, .12), transparent 70%); }
.affiche { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; border: 2px solid var(--rose); border-radius: 28px; padding: clamp(28px, 5vw, 64px); box-shadow: 0 0 0 8px var(--vert-nuit), 0 0 0 9px rgba(249, 211, 230, .4); }
.affiche .kicker { color: var(--rose); }
.affiche__titre { font-size: clamp(2.4rem, 5.6vw, 5.2rem); color: #fff; line-height: .95; }
.affiche__titre .script { display: block; font-size: 1.55em; color: #fff; text-shadow: var(--neon); line-height: .9; margin-top: .05em; transform: rotate(-5deg); transform-origin: left; animation: neon 6s infinite; }
@keyframes neon { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: .55; } }
.affiche__musique { --w: 200px; right: -26px; top: -34px; transform: rotate(8deg); }
.tickets { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; }
.ticket { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; background: var(--rose); color: var(--vert); border-radius: 10px; min-height: 64px;
  -webkit-mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 9px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
  transition: transform .35s var(--ease); }
.ticket:nth-child(even) { background: #fff; transform: rotate(-.6deg); }
.ticket:nth-child(odd) { transform: rotate(.5deg); }
.ticket:hover { transform: rotate(0) translateX(8px); }
.ticket__nom { padding: 14px 22px; font: 400 clamp(1rem, 1.8vw, 1.35rem)/1.1 var(--display); text-transform: uppercase; }
.ticket__detail { display: block; margin-top: 4px; font: 600 .78rem/1.25 var(--sans); letter-spacing: .04em; text-transform: none; opacity: .8; }
/* ticket avec lien (1.6.0) : tout le ticket est cliquable */
.ticket__lien { color: inherit; text-decoration: none; }
.ticket__lien::after { content: ""; position: absolute; inset: 0; }
.ticket__lien:focus-visible { outline: none; }
.ticket--lien:focus-within { box-shadow: 0 0 0 3px var(--rouge); }
.ticket__talon { align-self: stretch; display: grid; place-items: center; padding: 0 20px; border-left: 2px dashed rgba(0, 77, 56, .45); font: 600 .7rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.affiche__scene { position: relative; justify-self: center; width: min(100%, 380px); }
.scene { position: relative; aspect-ratio: 9 / 15; border-radius: 999px 999px 26px 26px; overflow: hidden; background: #000; box-shadow: 0 0 0 3px var(--rose), 0 0 26px rgba(249, 211, 230, .6), 0 0 90px rgba(231, 57, 49, .5); }
.scene img, .scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene video { opacity: 0; transition: opacity .8s; }
.scene video.is-playing { opacity: 1; }
/* ---------- boule à facettes : une vraie boule du plafond du salon rouge (photo détourée), suspendue à un fil ----------
   Elle se place au-dessus de l'élément qui la contient (jamais sur la photo) ; le fil monte jusqu'au haut de la section.
   Mouvement : léger balancement, éclats qui scintillent sur les miroirs, reflet qui glisse (la boule semble tourner),
   taches de lumière qui tournent lentement sur le fond sombre (.disco-halos). Tout s'arrête avec le bouton pause. */
.disco { --d: 120px; position: absolute; z-index: 3; left: 50%; bottom: calc(100% + 18px); width: var(--d); height: var(--d); margin-left: calc(var(--d) / -2);
  pointer-events: none; transform-origin: 50% -640px; animation: tangue 7s ease-in-out infinite alternate; }
.disco::before { content: ""; position: absolute; left: 50%; bottom: calc(100% + 5px); width: 1.5px; height: 640px; margin-left: -.75px;
  background: linear-gradient(rgba(214, 222, 226, 0), rgba(214, 222, 226, .55) 55%, #dfe5e8); }
.disco::after { content: ""; position: absolute; left: 50%; bottom: calc(100% - 3px); width: 12px; height: 10px; margin-left: -6px; border-radius: 4px 4px 2px 2px;
  background: linear-gradient(90deg, #6f797e, #eef2f4 45%, #8b959a); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.disco__boule { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 34px rgba(249, 211, 230, .45), 0 0 90px rgba(231, 57, 49, .3), inset -8px -10px 22px rgba(0, 0, 0, .35); }
.disco__boule img { display: block; width: 100%; height: 100%; }
/* reflet clair qui glisse sur les miroirs */
.disco__boule::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%; mix-blend-mode: screen;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .38) 50%, rgba(255, 255, 255, 0) 62%) 100% 0 / 320% 100% no-repeat;
  animation: reflet 6.5s linear infinite; }
/* ombre sphérique : le bas et le bord droit plus sombres */
.disco__boule::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .38) 100%); }
/* éclats sur les miroirs : deux séries qui s'allument à tour de rôle */
.disco__eclats { position: absolute; inset: 0; z-index: 2; }
.disco__eclats::before, .disco__eclats::after { content: ""; position: absolute; inset: 0; opacity: 0; animation: eclats 2.8s ease-in-out infinite; mix-blend-mode: screen;
  background:
    radial-gradient(circle at 30% 26%, #fff 0 1.6px, rgba(255, 255, 255, .7) 2.4px, rgba(255, 255, 255, 0) 6px),
    radial-gradient(circle at 64% 40%, #fff 0 1.4px, rgba(255, 255, 255, .6) 2.2px, rgba(255, 255, 255, 0) 5px),
    radial-gradient(circle at 46% 70%, #fff 0 1.8px, rgba(249, 211, 230, .8) 2.6px, rgba(249, 211, 230, 0) 7px),
    radial-gradient(circle at 78% 64%, #fff 0 1.2px, rgba(255, 255, 255, .6) 2px, rgba(255, 255, 255, 0) 5px); }
.disco__eclats::after { animation-delay: 1.4s;
  background:
    radial-gradient(circle at 52% 18%, #fff 0 1.4px, rgba(255, 255, 255, .7) 2.2px, rgba(255, 255, 255, 0) 5px),
    radial-gradient(circle at 22% 54%, #fff 0 1.8px, rgba(249, 211, 230, .8) 2.6px, rgba(249, 211, 230, 0) 7px),
    radial-gradient(circle at 70% 82%, #fff 0 1.4px, rgba(255, 255, 255, .6) 2.2px, rgba(255, 255, 255, 0) 5px),
    radial-gradient(circle at 84% 34%, #fff 0 1.6px, rgba(255, 255, 255, .7) 2.4px, rgba(255, 255, 255, 0) 6px); }
@keyframes tangue { from { rotate: -1.3deg; } to { rotate: 1.3deg; } }
@keyframes reflet { to { background-position: 0 0; } }
@keyframes eclats { 0%, 100% { opacity: 0; } 45%, 55% { opacity: 1; } }
/* taches de lumière sur le fond sombre */
.disco-halos { position: absolute; z-index: 0; left: 50%; top: 50%; width: 1800px; height: 1800px; margin: -900px 0 0 -900px; pointer-events: none; opacity: .85;
  animation: tourne 90s linear infinite;
  background:
    radial-gradient(circle at 18% 22%, rgba(249, 211, 230, .5) 0 4px, rgba(249, 211, 230, 0) 12px),
    radial-gradient(circle at 34% 12%, rgba(255, 255, 255, .45) 0 3px, rgba(255, 255, 255, 0) 9px),
    radial-gradient(circle at 62% 18%, rgba(249, 211, 230, .45) 0 5px, rgba(249, 211, 230, 0) 14px),
    radial-gradient(circle at 84% 30%, rgba(255, 255, 255, .4) 0 3px, rgba(255, 255, 255, 0) 10px),
    radial-gradient(circle at 12% 52%, rgba(255, 255, 255, .4) 0 3px, rgba(255, 255, 255, 0) 9px),
    radial-gradient(circle at 42% 44%, rgba(249, 211, 230, .35) 0 4px, rgba(249, 211, 230, 0) 12px),
    radial-gradient(circle at 74% 56%, rgba(255, 255, 255, .45) 0 4px, rgba(255, 255, 255, 0) 11px),
    radial-gradient(circle at 90% 70%, rgba(249, 211, 230, .45) 0 3px, rgba(249, 211, 230, 0) 10px),
    radial-gradient(circle at 24% 80%, rgba(249, 211, 230, .5) 0 5px, rgba(249, 211, 230, 0) 13px),
    radial-gradient(circle at 56% 86%, rgba(255, 255, 255, .4) 0 3px, rgba(255, 255, 255, 0) 9px),
    radial-gradient(circle at 70% 36%, rgba(255, 255, 255, .3) 0 2px, rgba(255, 255, 255, 0) 7px),
    radial-gradient(circle at 30% 64%, rgba(255, 255, 255, .3) 0 2px, rgba(255, 255, 255, 0) 7px); }
@media (max-width: 760px) {
  .disco { --d: 92px; }
  .disco-halos { width: 1100px; height: 1100px; margin: -550px 0 0 -550px;
    background:
      radial-gradient(circle at 20% 24%, rgba(249, 211, 230, .5) 0 4px, rgba(249, 211, 230, 0) 11px),
      radial-gradient(circle at 66% 16%, rgba(255, 255, 255, .45) 0 3px, rgba(255, 255, 255, 0) 9px),
      radial-gradient(circle at 82% 58%, rgba(249, 211, 230, .45) 0 4px, rgba(249, 211, 230, 0) 11px),
      radial-gradient(circle at 30% 76%, rgba(255, 255, 255, .4) 0 3px, rgba(255, 255, 255, 0) 9px),
      radial-gradient(circle at 54% 46%, rgba(249, 211, 230, .35) 0 3px, rgba(249, 211, 230, 0) 9px),
      radial-gradient(circle at 12% 50%, rgba(255, 255, 255, .35) 0 2px, rgba(255, 255, 255, 0) 7px); }
}
@keyframes scintille { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
.affiche__trombone { --w: 110px; left: -40px; bottom: 30px; transform: rotate(-12deg); }
@media (min-width: 900px) { .affiche { grid-template-columns: 1.15fr .85fr; gap: 64px; } }
@media (max-width: 899px) { .affiche__musique { --w: 130px; right: -8px; top: -40px; } .affiche__scene { margin-top: 150px; } .affiche__scene .disco::before { height: 120px; } .affiche__trombone { --w: 80px; left: -10px; } }

/* ---------- accueil : galerie horizontale ---------- */
.galerie2 { padding-block: var(--section) calc(var(--section) * .7); overflow: hidden; }
.galerie2__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.galerie2 h2 { color: var(--vert); }
.galerie2__nav { display: flex; gap: 10px; }
.galerie2__nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--vert); background: #fff; color: var(--vert); font-size: 1.3rem; cursor: pointer; transition: background .25s, color .25s; }
.galerie2__nav button:hover { background: var(--vert); color: #fff; }
.hgal { display: flex; gap: clamp(18px, 2.4vw, 30px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 40px var(--gutter) 50px; margin-top: 10px; scrollbar-width: thin; scrollbar-color: var(--vert) transparent; cursor: grab; }
.hgal.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.hgal .pola { flex: none; scroll-snap-align: center; height: clamp(320px, 42vw, 500px); aspect-ratio: 2 / 3; padding-bottom: 12px; display: block; position: relative; transition: transform .45s var(--ease); }
/* formats et légende (1.4.0, /admin > Galerie) : le cadre suit le format de la photo */
.hgal .pola--carre { height: clamp(260px, 34vw, 420px); align-self: center; aspect-ratio: 1 / 1.05; }
.hgal .pola--paysage { height: clamp(220px, 30vw, 380px); align-self: center; max-width: 86vw; aspect-ratio: 3 / 2.1; }
.hgal .pola--legende { padding-bottom: 46px; }
.hgal .pola--portrait.pola--legende { aspect-ratio: 2 / 3.25; }
.hgal .pola--carre.pola--legende { aspect-ratio: 1 / 1.16; }
.hgal .pola--paysage.pola--legende { aspect-ratio: 3 / 2.35; }
.pola__legende { position: absolute; left: 10px; right: 10px; bottom: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; font: 400 1.6rem/1.2 var(--script); color: var(--vert); -webkit-text-stroke: .02em currentColor; }
.hgal .pola:nth-child(3n+1) { transform: rotate(-2.5deg); }
.hgal .pola:nth-child(3n+2) { transform: rotate(1.8deg) translateY(18px); }
.hgal .pola:nth-child(3n) { transform: rotate(-1deg) translateY(-8px); }
.hgal .pola:hover { transform: rotate(0) scale(1.03); }
.hgal img { pointer-events: none; -webkit-user-drag: none; }

/* ---------- accueil : privatisation ---------- */
.privat2 { position: relative; color: #fff; background: var(--vert); overflow: hidden; padding-block: var(--section); --feston: var(--menthe); }
.privat2__bg { position: absolute; inset: 0 0 0 40%; }
.privat2__bg img { width: 100%; height: 100%; object-fit: cover; }
.privat2__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(87deg, var(--vert) 0%, rgba(0, 77, 56, .75) 35%, rgba(0, 77, 56, .15) 100%); }
.privat2__content { position: relative; z-index: 2; max-width: 640px; }
.privat2 .kicker { color: var(--rose); }
.privat2 h2 { color: #fff; }
.privat2 h2 em { color: var(--rose); }
.privat2 ul { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.privat2 li { padding: 8px 16px; border: 1px solid rgba(249, 211, 230, .55); border-radius: 30px; font-size: .95rem; }
.privat2__espritz { --w: 150px; right: 8%; top: 12%; transform: rotate(10deg); }
.privat2__vespa { --w: 170px; right: 26%; bottom: 8%; transform: rotate(-8deg); }
@media (max-width: 899px) { .privat2__bg { inset: 0; opacity: .35; } .privat2__espritz { --w: 90px; right: 4%; top: 18px; } .privat2__vespa { display: none; } }

/* ---------- accueil : infos pratiques ---------- */
.infos2 { position: relative; background: var(--menthe); padding-block: calc(var(--section) * .8); --feston: var(--vert); }
.infos2__grid { display: grid; gap: 36px; }
.infos2 h2 { font-size: 1.15rem; color: var(--vert); margin-bottom: 16px; }
.infos2__lady { --w: 120px; right: 3%; top: -60px; transform: rotate(8deg); }
/* la dame déborde sur la section précédente (privatisation) : « Nous trouver » passe au-dessus de ses festons */
.infos2 { z-index: 4; }
.infos2__lady { z-index: 4; }
@media (min-width: 900px) { .infos2__grid { grid-template-columns: 1.35fr 1fr 1fr; gap: 0; } .infos2__col { padding-inline: 36px; border-left: 1px solid rgba(0, 77, 56, .25); } .infos2__col:first-child { padding-left: 0; border-left: 0; } }
.horaires { margin: 14px 0 0; }
.horaires div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dotted currentColor; }
.horaires dt { font-weight: 600; }
.horaires dd { margin: 0; text-align: right; }

/* ---------- Venir : plan « nuit néon » du quartier (tools/plan_angers.py, données OpenStreetMap) et boutons d'itinéraire ----------
   Sans JavaScript, avec « réduire les animations » ou en pause : plan à plat et complet. Avec JavaScript (main.js) :
   .plan--3d incline la carte (--rx, --ry), .plan--attente cache le tracé avant l'arrivée à l'écran, .plan--trace porte
   les transitions d'entrée (rues l'une après l'autre en 1,5 s, puis tram, chemin à pied, épingle qui tombe, ondes).
   Étiquettes, pictogrammes et épingle sont des « panneaux » HTML redressés face à l'écran : ils restent droits et lisibles. */
.plan { max-width: 520px; margin: 20px 0 0; }
.plan__scene { perspective: 1000px; padding-top: 4px; }
.plan__carte { position: relative; aspect-ratio: 520 / 300; border-radius: 20px; background: var(--vert-nuit); box-shadow: 0 0 0 1px rgba(143, 227, 176, .16), 0 28px 36px -22px rgba(0, 38, 28, .8), 0 10px 18px -12px rgba(0, 38, 28, .45); transform-style: preserve-3d; transform-origin: 50% 70%; }
.plan__carte::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: .3; transform: translateZ(.2px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .87 0 0 0 0 .94 0 0 0 0 .89 1.3 0 0 0 -.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.plan__svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 20px; }
.plan--3d .plan__carte { transform: rotateX(var(--rx, 24deg)) rotateY(var(--ry, 0deg)); }
.plan--3d { margin-top: 2px; } /* la carte inclinée paraît moins haute : on rapproche le texte au-dessus */
/* dessin (SVG dans la page) */
.plan__nuit { fill: var(--vert-nuit); }
.plan__grille path { fill: none; stroke: rgba(223, 240, 228, .07); stroke-width: .5; }
.plan__coord, .plan__echelle text, .plan__rose text { font: 500 5.5px var(--sans); letter-spacing: .1em; fill: rgba(223, 240, 228, .32); }
.plan__eau-fond { fill: rgba(105, 186, 126, .1); }
.plan__eau-rive { fill: none; stroke: #8fe3b0; stroke-width: 1; stroke-opacity: .85; stroke-linejoin: round; }
.plan__monument { fill: rgba(223, 240, 228, .05); stroke: rgba(223, 240, 228, .55); stroke-width: .8; stroke-linejoin: round; }
.plan__place { fill: rgba(249, 211, 230, .12); stroke: rgba(249, 211, 230, .6); stroke-width: .7; stroke-dasharray: 2 1.6; }
.plan__rue, .plan__tram { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.plan__rue { stroke: #cdf3da; stroke-opacity: .85; stroke-width: 1.15; }
.plan__rue--7, .plan__rue--8 { stroke-width: 1.7; stroke-opacity: .55; }
.plan__rue--bambino { stroke: var(--rose); stroke-opacity: 1; stroke-width: 1.6; }
.plan__tram { stroke: var(--rose); stroke-opacity: .5; stroke-width: 1; }
.plan__route { fill: none; stroke: #ff8fb1; stroke-width: 2.3; stroke-linecap: round; stroke-dasharray: 0 4.4; animation: plan-pas 1s linear infinite; }
.plan__halo { opacity: .9; }
.plan__onde { fill: none; stroke: #ff5a7a; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: plan-onde 2.4s ease-out infinite; }
.plan__onde--2 { animation-delay: 1.2s; }
.plan__rose path { fill: rgba(223, 240, 228, .3); }
.plan__rose .plan__rose-n { fill: var(--rouge); }
.plan__echelle path { fill: none; stroke: rgba(223, 240, 228, .4); stroke-width: .8; }
@keyframes plan-pas { to { stroke-dashoffset: -4.4; } }
@keyframes plan-onde { from { transform: scale(.6); opacity: .95; } to { transform: scale(3.6); opacity: 0; } }
@keyframes plan-onde-doux { from { transform: scale(.9); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
/* panneaux : un point sans taille posé sur le plan, redressé face à l'écran, le texte au-dessus */
.plan__pt { position: absolute; z-index: 2; width: 0; height: 0; }
.plan--3d .plan__pt { transform: translateZ(.5px) rotateY(calc(var(--ry, 0deg) * -1)) rotateX(calc(var(--rx, 24deg) * -1)); }
.plan__lbl { position: absolute; left: 0; bottom: 2px; padding-left: .28em; transform: translateX(-50%); white-space: nowrap; font: 600 8.5px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #dff0e4; text-shadow: 0 0 4px var(--vert-nuit), 0 0 10px var(--vert-nuit); }
.plan__lbl--g { transform: translateX(-100%); }
.plan__lbl--eau { color: #8fe3b0; letter-spacing: .5em; padding-left: .5em; }
.plan__lbl--rose { color: var(--rose); }
.plan__lbl--pied { font: italic 500 9px/1 var(--sans); letter-spacing: .04em; padding-left: 0; text-transform: none; color: #ffb3c9; }
.plan__ico { position: absolute; left: -7px; bottom: 0; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; font: 700 9px/1 var(--sans); color: var(--vert-nuit); background: #bfe8cc; box-shadow: 0 0 8px rgba(191, 232, 204, .5); }
.plan__ico--rose { background: var(--rose); box-shadow: 0 0 8px rgba(249, 211, 230, .6); }
.plan__pin { position: absolute; left: -10px; bottom: 0; width: 20px; height: 28px; }
.plan__pin svg { display: block; width: 20px; height: 28px; overflow: visible; filter: drop-shadow(0 0 3px #ff5a7a) drop-shadow(0 0 9px rgba(231, 57, 49, .75)); }
.plan__pin-corps { fill: var(--rouge); stroke: #ffd3e2; stroke-width: 1.2; }
.plan__pin-oeil { fill: #ffd3e2; }
.plan__nom { position: absolute; left: 17px; bottom: 13px; white-space: nowrap; font: 400 30px/1 var(--script); color: #ffd3e2; -webkit-text-stroke: .02em currentColor; text-shadow: 0 0 6px rgba(255, 90, 122, .95), 0 0 16px rgba(231, 57, 49, .75); }
/* petit écran : étiquettes un peu plus petites (après les règles de base, qu'elles remplacent) */
@media (max-width: 599px) { .plan__lbl { font-size: 7.5px; } .plan__lbl--pied { font-size: 8.5px; } .plan__nom { left: 14px; bottom: 12px; font-size: 23px; } }
/* entrée */
.plan--attente .plan__rue, .plan--attente .plan__tram { stroke-dashoffset: 1; }
.plan--attente :is(.plan__grille, .plan__rose, .plan__echelle, .plan__eau, .plan__monument, .plan__place, .plan__route, .plan__halo, .plan__ondes, .plan__lbl, .plan__ico, .plan__nom) { opacity: 0; }
.plan--attente .plan__pin { opacity: 0; transform: translateY(-48px); }
.plan--trace .plan__rue { transition: stroke-dashoffset .62s cubic-bezier(.5, 0, .2, 1); }
.plan--trace .plan__rue--2 { transition-delay: .12s; }
.plan--trace .plan__rue--3 { transition-delay: .24s; }
.plan--trace .plan__rue--4 { transition-delay: .36s; }
.plan--trace .plan__rue--5 { transition-delay: .48s; }
.plan--trace .plan__rue--6 { transition-delay: .6s; }
.plan--trace .plan__rue--7 { transition-delay: .72s; }
.plan--trace .plan__rue--8 { transition-delay: .84s; }
.plan--trace .plan__tram { transition: stroke-dashoffset .5s ease-out 1s; }
.plan--trace :is(.plan__grille, .plan__rose, .plan__echelle) { transition: opacity .8s ease; }
.plan--trace .plan__eau { transition: opacity 1s ease .1s; }
.plan--trace :is(.plan__monument, .plan__place) { transition: opacity .7s ease .5s; }
.plan--trace :is(.plan__lbl, .plan__ico) { transition: opacity .5s ease 1.15s; }
.plan--trace .plan__route { transition: opacity .4s ease 1.35s; }
.plan--trace .plan__pin { transition: transform .6s cubic-bezier(.3, 1.55, .5, 1) 1.5s, opacity .15s linear 1.5s; }
.plan--trace .plan__nom { transition: opacity .5s ease 1.9s; }
.plan--trace :is(.plan__halo, .plan__ondes) { transition: opacity .4s ease 1.95s; }
@media print {
  .plan--3d .plan__carte, .plan--3d .plan__pt { transform: none; }
  .plan__carte { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .plan--attente .plan__rue, .plan--attente .plan__tram { stroke-dashoffset: 0; }
  .plan--attente :is(.plan__grille, .plan__rose, .plan__echelle, .plan__eau, .plan__monument, .plan__place, .plan__route, .plan__halo, .plan__ondes, .plan__lbl, .plan__ico, .plan__nom, .plan__pin) { opacity: 1; transform: none; }
}
/* positions du plan : début (écrit par tools/plan_angers.py, ne pas modifier à la main) */
.plan__pt--maine { left: 24.1%; top: 20.1%; }
.plan__pt--chateau { left: 16.2%; top: 50.7%; }
.plan__pt--cathedrale { left: 42.6%; top: 65.7%; }
.plan__pt--ralliement { left: 55.3%; top: 40.5%; }
.plan__pt--tram { left: 60.5%; top: 49.8%; }
.plan__pt--parking { left: 56.7%; top: 51.4%; }
.plan__pt--bambino { left: 66.2%; top: 48.3%; }
.plan__pt--pied { left: 63.7%; top: 55.7%; }
/* positions du plan : fin */
.plan__credit { margin-top: 10px; font-size: .75rem; line-height: 1.4; opacity: .8; }
.itineraires { margin-top: 16px; }
.itineraires__titre { margin: 0 0 8px; font-weight: 600; }
.itineraires ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.itineraire { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border: 2px solid var(--vert); border-radius: 999px; background: #fff; color: var(--vert); font-weight: 600; font-size: .9375rem; line-height: 1.2; text-decoration: none; transition: background-color .2s, color .2s; }
.itineraire svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.itineraire:hover, .itineraire:focus-visible { background: var(--vert); color: var(--rose); }
.site-footer .itineraires { margin: 14px 0 18px; }
.site-footer .itineraires__titre { font-weight: 400; }
.site-footer .itineraire { min-height: 40px; padding: 6px 12px 6px 10px; border-color: rgba(253, 237, 245, .45); background: transparent; color: #fff; font-size: .875rem; }
.site-footer .itineraire:hover, .site-footer .itineraire:focus-visible { background: var(--rose); border-color: var(--rose); color: var(--vert); }

/* ---------- pied de page (vert, silhouette de la dame en filigrane comme l'ancien site) ---------- */
.site-footer { position: relative; background: var(--vert); color: #fff; padding-top: 90px; overflow: hidden; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; right: -40px; bottom: -30px; width: 460px; aspect-ratio: 545 / 398; background: url("../img/stickers/footer-bkg.webp") center / contain no-repeat; opacity: .5; pointer-events: none; }
.site-footer a:not(.btn) { color: inherit; }
.site-footer__grid { position: relative; display: grid; gap: 40px; padding-bottom: 56px; }
.brand__logo--footer { width: 130px; color: #fff; margin-bottom: 18px; }
.site-footer__motto { font: 400 2rem/1.05 var(--script); color: var(--rose); max-width: 14ch; margin-bottom: 22px; -webkit-text-stroke: .02em currentColor; }
.site-footer__title { font: 700 .95rem/1.2 var(--sans); text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer__links { list-style: none; padding: 0; margin: 0 0 20px; }
.site-footer__links li { margin-bottom: 6px; }
/* réseaux sociaux (1.6.0, /admin > Contenu du site) : icône d'un seul trait, couleur du texte */
.reseau { display: inline-flex; align-items: center; gap: 9px; }
.reseau__ico { flex: none; width: 20px; height: 20px; }
.site-footer__reseaux .reseau:hover, .site-footer__reseaux .reseau:focus-visible { color: var(--rose); }
.site-footer .horaires div { border-bottom-color: rgba(255, 255, 255, .25); }
/* fermetures exceptionnelles (1.5.0, /admin > Textes & horaires) : sous les horaires */
.fermetures { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.fermetures li { display: flex; gap: 8px; align-items: baseline; padding: 6px 10px; border-radius: 8px; background: var(--rose-pale); color: var(--vert); font-weight: 600; font-size: .92rem; }
.fermetures li::before { content: "✦"; color: var(--rouge); }
.site-footer .fermetures li { background: rgba(255, 255, 255, .1); color: #fff; }
.site-footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; border-top: 1px solid rgba(255, 255, 255, .18); padding-block: 22px 30px; font-size: .82rem; color: rgba(255, 255, 255, .8); }
.site-footer__bottom p { margin: 0; }
.pause-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid rgba(249, 211, 230, .5); border-radius: 30px; color: var(--rose); padding: 8px 16px; font: 600 .8rem/1 var(--sans); cursor: pointer; }
.pause-btn:hover { background: var(--rose); color: var(--vert); }
.pause-btn__on { display: none; }
.is-paused .pause-btn__on { display: inline; }
.is-paused .pause-btn__off { display: none; }
.is-paused .pause-btn { background: var(--rose); color: var(--vert); border-color: var(--rose); }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.1fr .9fr; gap: 48px; } }

/* ---------- compagnon du curseur (ordinateur avec souris seulement) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* par défaut : le petit médaillon de Bambino (la dame à lunettes), juste en bas à droite de la flèche */
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; width: 30px; height: 34px; margin: 8px 0 0 8px; opacity: 0; will-change: transform; transition: opacity .25s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease); }
  .cursor.is-visible { opacity: 1; }
  .cursor__logo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1 !important; filter: drop-shadow(0 3px 4px rgba(0, 38, 28, .3)); transition: opacity .2s; }
  .cursor.has-icon .cursor__logo { opacity: 0 !important; }
  .cursor img.cursor__icone { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .2s; }
  .cursor.has-icon { width: 46px; height: 46px; margin: 4px 0 0 10px; }
  .cursor.has-icon img.cursor__icone { opacity: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
  .cursor.is-mains { width: 78px; height: 44px; }
  .cursor.is-mains img.cursor__icone { background: #fff; border-radius: 30px; padding: 4px 8px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
  .cursor.is-pop img.cursor__icone { animation: pop .45s var(--ease); }
  .cursor.is-hidden { opacity: 0; }
  @keyframes pop { 0% { transform: scale(.3) rotate(-25deg); } 70% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }
}
.is-paused .cursor { display: none; }

/* ---------- visionneuse ---------- */
.lightbox { border: 0; padding: 0; margin: auto; background: transparent; color: var(--rose-pale); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 20, 14, .94); }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lightbox__caption { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; padding-inline: 72px; }
.lightbox__btn, .lightbox__close { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(253, 237, 245, .35); background: rgba(0, 38, 28, .6); color: inherit; font: 300 2rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.lightbox__btn:hover, .lightbox__close:hover { background: var(--rouge); border-color: var(--rouge); }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 16px; right: 16px; }

/* ---------- pause des animations : seul le bouton du pied de page arrête tout, sur le choix du visiteur ---------- */
.is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }
.is-paused [data-reveal] { opacity: 1 !important; translate: none !important; scale: none !important; }
/* « Réduire les animations » du système : tout reste en mouvement, en plus lent et plus doux */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation-duration: calc(var(--speed, 36s) * 1.6); }
  .spin { animation-duration: 50s; }
  .balance { animation-name: balance-doux; animation-duration: 7s; }
  .spritz-card.is-spinning .spritz-card__nom { animation: none; }
  .affiche__titre .script { animation: none; }
  .disco { animation-name: tangue-doux; animation-duration: 10s; }
  .disco__boule::before { animation-duration: 12s; }
  .disco__eclats::before, .disco__eclats::after { animation-duration: 5s; }
  .disco-halos { animation-duration: 180s; }
  .plan__onde { animation-name: plan-onde-doux; animation-duration: 5s; }
  .plan__onde--2 { animation-delay: 2.5s; }
  .plan__route { animation: none; }
}
@keyframes tangue-doux { from { rotate: -.5deg; } to { rotate: .5deg; } }
@keyframes balance-doux { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(2deg); } }

/* ---------- Agenda (1.7.0) : tickets des dates (accueil et page de l'agenda), barre de l'aperçu de /admin ---------- */
.evts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.evt { --encoche: var(--fond-evt, var(--blanc)); position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center;
  background: #fff; color: var(--vert); border: 2px solid var(--vert); border-radius: 16px; }
.evt::before, .evt::after { content: ""; position: absolute; left: 86px; width: 18px; height: 18px; border-radius: 50%; background: var(--encoche); border: 2px solid currentColor; border-color: inherit; }
.evt::before { top: -11px; clip-path: inset(50% 0 0 0); }
.evt::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
.evt__talon { grid-row: 1 / span 2; align-self: stretch; display: grid; place-content: center; gap: 2px; margin: 0; padding: 14px 6px; text-align: center; background: var(--vert); color: var(--rose); border-radius: 13px 0 0 13px; border-right: 2px dashed rgba(249, 211, 230, .65); }
.evt__jsem, .evt__mois { font: 600 .72rem/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.evt__jour { font: 400 2.5rem/1 var(--display); color: #fff; }
.evt__corps { min-width: 0; padding: 16px 22px; }
.evt__type { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 6px; font: 600 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #c42a23; }
.evt__coup { padding: 3px 10px; border-radius: 999px; background: #c42a23; color: #fff; letter-spacing: .06em; } /* rouge foncé : contraste AA pour les petits textes */
.evt__titre { margin: 0; font: 400 clamp(1.1rem, 2vw, 1.45rem)/1.1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; }
.evt__artiste { margin: 6px 0 0; font: 500 .95rem/1.45 var(--sans); color: var(--texte-2); }
.evt__infos { margin: 8px 0 0; font: 600 .86rem/1.4 var(--sans); }
.evt__infos span { color: var(--rouge); }
.evt__action { margin: 0; padding-right: 22px; min-width: 0; }
.evt__action .btn { max-width: 100%; white-space: normal; text-align: center; }
.evt--avant { border-color: var(--rouge); box-shadow: 0 0 0 4px var(--rose), 0 18px 40px -24px rgba(231, 57, 49, .7); }
.evt--avant .evt__talon { background: var(--rouge); color: #fff; border-right-color: rgba(255, 255, 255, .65); }
@media (max-width: 599px) {
  .evt { grid-template-columns: 70px minmax(0, 1fr); }
  .evt::before, .evt::after { left: 60px; }
  .evt__jour { font-size: 1.9rem; }
  .evt__corps { padding: 14px 16px; }
  .evt__action { grid-column: 2; padding: 0 16px 16px; }
}
.prochains { --fond-evt: var(--blanc); }
.prochains .h-l { color: var(--vert); }
.evts--accueil { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.evts--accueil .evt { height: 100%; }
.evts--accueil .evt__action { grid-column: 2 / -1; padding: 0 22px 18px; }
.evts--accueil .evt { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
@media (max-width: 599px) { .evts--accueil .evt { grid-template-columns: 70px minmax(0, 1fr); } .evts--accueil .evt__action { padding: 0 16px 16px; } }

.apercu-barre { position: fixed; z-index: 1000; left: 50%; bottom: 14px; translate: -50% 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px;
  width: max-content; max-width: calc(100% - 24px); padding: 10px 18px; border-radius: 999px; background: var(--rouge); color: #fff; font: 500 .85rem/1.3 var(--sans);
  box-shadow: 0 0 0 3px var(--rose), 0 16px 40px -12px rgba(0, 0, 0, .5); }
.apercu-barre a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.is-apercu .site-footer { padding-bottom: 90px; }
@media print { .apercu-barre { display: none; } }
