@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
/* ==========================================================
   Fur'Sud-Est — feuille de style principale
   ========================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #fbf5ec;
  --paper: #fffaf3;
  --sand: #f3e6d3;
  --ink: #1f1a2e;
  --ink-soft: #544d63;
  --plum: #2a2040;
  --plum-2: #3a2d57;
  --orange: #f08a24;
  --orange-deep: #b95a0b;
  --sun: #ffc857;
  --line: rgba(31, 26, 46, .12);

  --font-title: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31,26,46,.06), 0 12px 32px -12px rgba(31,26,46,.22);
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 16px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--sun); color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.on-dark .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--plum); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 236, .9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 16px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 36px; width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: .5em .9em; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem;
}
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.nav .nav-cta a { background: var(--orange); color: var(--ink); margin-left: 6px; }
.nav .nav-cta a:hover { background: var(--sun); }

.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--ink); border-radius: 999px;
  padding: .45em 1em; font: 700 .95rem var(--font-title); color: var(--ink); cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: .8em 1em; }
  .nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--plum); color: #f4eefc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: var(--sun); }

.eyebrow {
  display: inline-block;
  font: 800 .78rem/1 var(--font-title);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1.1em;
}
.section-dark .eyebrow { color: var(--sun); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.section-dark .lead { color: #d9cfe9; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Héros (accueil) ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { margin-bottom: 1.8em; }

.polaroids { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: center; width: 100%; }
.polaroid {
  position: absolute;
  background: #fff; padding: 10px 10px 40px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  width: 62%;
}
.polaroid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--sand); border-radius: 3px; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: 10px;
  text-align: center; font: 700 .9rem var(--font-title); color: var(--ink-soft);
}
.polaroid:nth-child(1) { top: 0; left: 0; transform: rotate(-5deg); }
.polaroid:nth-child(2) { top: 18%; right: 0; transform: rotate(4deg); z-index: 2; }
.polaroid:nth-child(3) { bottom: 0; left: 12%; transform: rotate(-1.5deg); z-index: 3; }
.sticker {
  position: absolute; z-index: 4; right: 4%; bottom: 8%;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--sun); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font: 800 .95rem/1.15 var(--font-title);
  transform: rotate(10deg);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .polaroids { max-width: 440px; }
}

/* ---------- Bandeau des valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.value p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--orange); color: var(--ink);
  margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Blocs texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo {
  border-radius: var(--radius); overflow: hidden; background: var(--sand);
  box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.photo.tall img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1a2e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-dark .checklist li::before { background-color: var(--sun); }

/* ---------- Cartes génériques ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-soft); }
.section-dark .card { background: var(--plum-2); border-color: rgba(255,255,255,.1); }
.section-dark .card p { color: #d9cfe9; }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } }

/* ---------- Fur'Evasion (bandeau accueil) ---------- */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--plum); color: #f4eefc;
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
}
.feature-body { padding: clamp(32px, 5vw, 64px); }
.feature-body h2 { color: #fff; }
.feature-body .lead { color: #d9cfe9; }
.feature-photo { background: var(--plum-2); min-height: 320px; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-photo { order: -1; min-height: 0; }
  .feature-photo img { aspect-ratio: 16 / 10; }
}

/* ---------- Bureau ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 260px)); gap: 24px; justify-content: center; }
.member { text-align: center; }
.member img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; background: var(--sand);
  border: 6px solid var(--paper); box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.member h3 { margin-bottom: .2em; }
.role {
  display: inline-block; font: 800 .75rem var(--font-title); letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-deep);
}

/* ---------- Appel à l'action ---------- */
.cta {
  background: var(--orange); color: var(--ink);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta .btn-primary { background: var(--ink); color: #fff; }
.cta .btn-primary:hover { background: var(--plum-2); color: #fff; }
.cta .btn-ghost:hover { background: var(--ink); color: var(--orange); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- Réseaux ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .7em 1.2em; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 800;
}
.social:hover { background: var(--ink); color: var(--cream); }
.social .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; }
.contact-card .big {
  font: 750 clamp(1.15rem, 2.4vw, 1.5rem) var(--font-title);
  color: var(--ink); text-decoration: none; word-break: break-word;
}
.contact-card .big:hover { color: var(--orange-deep); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Événements ---------- */
.empty {
  border: 2px dashed rgba(31,26,46,.22); border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px); text-align: center; background: var(--paper);
}
.empty p { color: var(--ink-soft); max-width: 52ch; margin-inline: auto; }
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.event {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px;
}
.event-date {
  background: var(--orange); border-radius: 16px; text-align: center; padding: 10px 6px;
  font-family: var(--font-title); line-height: 1;
}
.event-date strong { display: block; font-size: 2rem; }
.event-date span { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.event h3 { margin-bottom: .25em; }
.event p { margin: 0; color: var(--ink-soft); }
.calendar-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.calendar-embed iframe { display: block; width: 100%; height: 600px; border: 0; }

/* ---------- Pages légales ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose .updated { color: var(--ink-soft); font-style: italic; margin-top: 2.5em; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #cfc7dc; padding: 64px 0 32px; margin-top: clamp(64px, 9vw, 112px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; margin: 0; }
.site-footer h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 1.2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 48px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .92rem;
}
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* Petites utilités */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.note { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 520px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .member h3 { font-size: 1.1rem; }
}

/* Utilitaires (remplacent les anciens style="" pour une CSP stricte) */
.on-dark .eyebrow { color: var(--sun); }
.pos-fursuit { object-position: 40% 8%; }
.pos-fursuit-tall { object-position: 35% 40%; }
.pos-elfa { object-position: 42% 35%; }
.photo img.banner { aspect-ratio: 21 / 9; }
.mt-sm { margin-top: 12px; }
.mt-lg { margin-top: 24px; }
.contact-card .eyebrow { margin-bottom: 0; }
.empty .icon { margin-inline: auto; }
.empty h2 { font-size: 1.6rem; }
.empty .btn-row { justify-content: center; }
.event h3 a { color: inherit; text-decoration: none; }
.event h3 a:hover { color: var(--orange-deep); }

/* Infos clés (Fur'Evasion) */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.fact dt { font: 800 .75rem var(--font-title); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 6px; }
.fact dd { margin: 0; font: 700 1.1rem/1.35 var(--font-title); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* SPLASH-START — intro animée (~2 s) */
.splash {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--cream);
  animation: splash-out .5s ease 1.5s forwards;
  cursor: pointer;
}
.splash img {
  width: min(70vw, 440px); height: auto;
  animation: splash-logo 1.5s cubic-bezier(.2,.8,.2,1) both;
}
.splash.is-skip { animation: splash-out .25s ease forwards; }
@keyframes splash-logo {
  0%   { opacity: 0; transform: translateY(14px) scale(.86); filter: blur(4px); }
  55%  { opacity: 1; transform: none; filter: none; }
  100% { opacity: 1; transform: scale(1.04); }
}
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* SPLASH-END */

/* EFFETS-START */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

.polaroid { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.polaroid:hover { transform: rotate(0deg) scale(1.07); z-index: 5; box-shadow: 0 2px 4px rgba(31,26,46,.08), 0 24px 48px -16px rgba(31,26,46,.35); }

.countdown {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 1.2em; padding: .45em 1em; border-radius: 999px;
  background: var(--sun); color: var(--ink);
  font: 800 .95rem var(--font-title); letter-spacing: .01em;
}
.countdown::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 1.6s ease-in-out infinite; }
.countdown:empty { display: none; }
@keyframes pulse { 50% { opacity: .25; } }

.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header .wrap { transition: min-height .3s ease; }
.brand img { transition: height .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(31,26,46,.35); background: rgba(251,245,236,.97); }
.site-header.is-scrolled .wrap { min-height: 60px; }
.site-header.is-scrolled .brand img { height: 30px; }

.sticker { animation: wiggle 6s ease-in-out 2.5s infinite; }
@keyframes wiggle {
  0%, 88%, 100% { transform: rotate(10deg); }
  91% { transform: rotate(0deg) scale(1.08); }
  94% { transform: rotate(18deg) scale(1.08); }
  97% { transform: rotate(6deg); }
}

.value:hover .icon, .card:hover .icon { animation: hop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes hop { 40% { transform: translateY(-6px) rotate(-6deg); } }
/* EFFETS-END */

/* ANIM-DOUCES — mode « animations réduites » : effets gardés mais adoucis */
@media (prefers-reduced-motion: reduce) {
  .reveal.soft { transform: none; }
  .sticker { animation-iteration-count: 1; }
}

/* LIEU-PATTE */
.fact { position: relative; }
.fact-link a { color: inherit; text-decoration: none; }
.fact-link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fact-link a span { color: var(--orange-deep); }
.fact-link:hover { border-color: var(--orange); background: #fff; }
.fact-link:hover dd { color: var(--orange-deep); }

.icon { transition: background-color .25s ease, box-shadow .25s ease; }
.value:hover .icon, .card:hover .icon {
  background: var(--sun);
  box-shadow: 0 0 0 6px rgba(255, 200, 87, .35), 0 6px 18px -4px rgba(240, 138, 36, .6);
}

/* POLAROID-ZOOM */
.polaroid-link { display: block; cursor: zoom-in; border-radius: 3px; }
.polaroid-link:focus-visible { outline-offset: 2px; }

/* ZOOM-PARTOUT */
.zoom-link { display: block; cursor: zoom-in; }
.photo .zoom-link, .feature-photo .zoom-link { height: 100%; }
.photo img, .feature-photo img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.photo:hover img, .feature-photo:hover img { transform: scale(1.04); }
.member .zoom-link { display: inline-block; width: 100%; }
.member img { transition: transform .3s ease; }
.member .zoom-link:hover img { transform: scale(1.04); }

/* PERSO-START */
/* 1. Traces de pattes */
.paw-print {
  position: fixed; z-index: 2000; width: 26px; height: 26px; margin: -13px 0 0 -13px;
  color: var(--orange); pointer-events: none; animation: paw .9s ease-out forwards;
}
.paw-print svg { width: 100%; height: 100%; display: block; }
@keyframes paw {
  0%   { opacity: 0;  transform: rotate(var(--r)) scale(.4); }
  20%  { opacity: .9; transform: rotate(var(--r)) scale(1.1); }
  100% { opacity: 0;  transform: rotate(var(--r)) scale(1) translateY(-6px); }
}

/* 3. Retour en haut */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: grid; place-items: center; align-content: center;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--orange); color: #1f1a2e; box-shadow: var(--shadow); cursor: pointer;
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
}
.to-top svg { width: 24px; height: 24px; }
.to-top span { font: 800 .6rem/1 var(--font-title); text-transform: uppercase; letter-spacing: .08em; margin-top: 1px; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top.is-shown:hover { background: var(--sun); transform: translateY(-3px); }

/* 5. Bouton thème */
.site-header .wrap { justify-content: flex-start; }
.brand { margin-right: auto; }
.theme-toggle {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.theme-toggle:hover { border-color: var(--orange); background: var(--sand); }
.theme-toggle svg { width: 20px; height: 20px; }


/* 5. Mode sombre */
:root[data-theme="dark"] {
  --cream: #16121f; --paper: #211a2e; --sand: #2a2140;
  --ink: #f3ecfb; --ink-soft: #c2b6d6; --line: rgba(255,255,255,.12);
  --plum: #241b38; --plum-2: #3a2d57; --orange-deep: #ffa45c;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px -12px rgba(0,0,0,.65);
  color-scheme: dark;
}
[data-theme="dark"] .site-header { background: rgba(22,18,31,.88); }
[data-theme="dark"] .site-header.is-scrolled { background: rgba(22,18,31,.97); }
[data-theme="dark"] .site-footer { background: #0f0b16; }
[data-theme="dark"] .btn-primary, [data-theme="dark"] .nav .nav-cta a, [data-theme="dark"] .icon,
[data-theme="dark"] .countdown, [data-theme="dark"] .event-date, [data-theme="dark"] .sticker,
[data-theme="dark"] .cta { color: #1f1a2e; }
[data-theme="dark"] .countdown::before { background: #1f1a2e; }
[data-theme="dark"] .cta .btn-primary { background: #1f1a2e; color: #fff; }
[data-theme="dark"] .cta .btn-ghost { border-color: #1f1a2e; color: #1f1a2e; }
[data-theme="dark"] .cta .btn-ghost:hover { background: #1f1a2e; color: var(--orange); }
[data-theme="dark"] .polaroid { background: #f4efe6; }
[data-theme="dark"] .polaroid figcaption { color: #544d63; }
[data-theme="dark"] .empty { border-color: rgba(255,255,255,.2); }
[data-theme="dark"] .fact-link:hover { background: var(--sand); }
[data-theme="dark"] a:not(.btn):hover { color: #fff; }

/* 6. Page 404 */
.notfound { text-align: center; padding-bottom: clamp(64px, 9vw, 112px); }
.notfound .lead { margin: 0 auto 1.8em; }
.notfound .btn-row { justify-content: center; }
.big404 {
  font: 800 clamp(5rem, 18vw, 10rem)/1 var(--font-title); letter-spacing: -.04em;
  color: var(--orange); margin: 0 0 .1em;
}
.paw-trail { display: flex; justify-content: center; gap: 18px; margin-bottom: 24px; color: var(--orange); }
.paw-trail svg { width: 30px; height: 30px; opacity: 0; animation: step 2.4s ease-in-out infinite; }
.paw-trail svg:nth-child(odd)  { transform: rotate(-15deg) translateY(6px); }
.paw-trail svg:nth-child(even) { transform: rotate(15deg) translateY(-6px); }
.paw-trail svg:nth-child(2) { animation-delay: .3s; }
.paw-trail svg:nth-child(3) { animation-delay: .6s; }
.paw-trail svg:nth-child(4) { animation-delay: .9s; }
.paw-trail svg:nth-child(5) { animation-delay: 1.2s; }
@keyframes step { 0%, 100% { opacity: 0; } 20%, 60% { opacity: 1; } }
/* PERSO-END */

/* REMONTER */
.to-top.is-launch svg { animation: decolle .6s cubic-bezier(.3,1.5,.5,1); }
@keyframes decolle { 40% { transform: translateY(-7px) scale(1.15); } }

/* TOUCHE-2026 ------------------------------------------------------- */
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
picture { display: contents; }

/* 1. Transitions entre les pages */
@view-transition { navigation: auto; }
.site-header { view-transition-name: entete; }
.page-hero h1, .hero h1 { view-transition-name: titre; }
::view-transition-old(root) { animation: vt-out .28s ease both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(14px); } }

/* 2. Scrapbook */
.polaroid::before {                       /* morceau de scotch */
  content: ""; position: absolute; top: -12px; left: 50%; z-index: 2;
  width: 92px; height: 26px; margin-left: -46px;
  background: rgba(255, 238, 190, .72);
  border-left: 2px dashed rgba(0,0,0,.05); border-right: 2px dashed rgba(0,0,0,.05);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transform: rotate(-4deg);
}
.polaroid:nth-child(2)::before { transform: rotate(5deg); left: 38%; }
.polaroid:nth-child(3)::before { transform: rotate(-2deg); left: 62%; }
.note-hand {
  font: 700 1.7rem/1 "Caveat", cursive; color: var(--orange-deep);
  margin: 0; pointer-events: none; white-space: nowrap;
}
.note-hero { position: absolute; z-index: 5; left: -6%; bottom: 4%; transform: rotate(-8deg); display: flex; align-items: flex-end; gap: 4px; }
.note-hero svg { width: 64px; height: 40px; margin-bottom: 14px; }
.note-banner { margin: 14px 0 0 12px; transform: rotate(-2deg); }
.hero h1 .accent {                         /* soulignement dessiné à la main */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 60 4, 140 4, 297 10' fill='none' stroke='%23ffc857' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") left 92% / 100% .32em no-repeat;
  padding-bottom: .06em;
}
@media (max-width: 860px) { .note-hero { left: 0; bottom: -2%; font-size: 1.4rem; } }

/* 3. Grille bento */
.values.bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(170px, auto); }
.bento .value-hero {
  grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 360px; border: 0; color: #fff;
}
.bento .value-hero .value-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.bento .value-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31,26,46,0) 30%, rgba(31,26,46,.85)); }
.bento .value-hero > :not(.value-bg) { position: relative; z-index: 2; }
.bento .value-hero h3 { color: #fff; font-size: 1.7rem; }
.bento .value-hero p { color: #efe7f7; font-size: 1.05rem; max-width: 34ch; }
.bento .value-hero:hover .value-bg { transform: scale(1.05); }
.bento .value:nth-child(2) { grid-column: span 2; background: var(--plum); color: #f4eefc; border-color: transparent; }
.bento .value:nth-child(2) h3 { color: #fff; }
.bento .value:nth-child(2) p { color: #d9cfe9; }
@media (max-width: 960px) {
  .values.bento { grid-template-columns: repeat(2, 1fr); }
  .bento .value-hero { grid-row: span 1; min-height: 300px; }
}
@media (max-width: 520px) {
  .values.bento { grid-template-columns: 1fr; }
  .bento .value-hero, .bento .value:nth-child(2) { grid-column: span 1; }
}

/* 4. En-tête en verre dépoli */
.site-header {
  background: rgba(251, 245, 236, .62);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  box-shadow: inset 0 -1px 0 rgba(31,26,46,.06);
}
.site-header.is-scrolled { background: rgba(251, 245, 236, .72); }
[data-theme="dark"] .site-header { background: rgba(22, 18, 31, .58); border-bottom-color: rgba(255,255,255,.08); }
[data-theme="dark"] .site-header.is-scrolled { background: rgba(22, 18, 31, .72); }
/* TOUCHE-2026-END */

/* BUREAU-MINI */
.bureau-mini { padding: 28px 0; }
.bureau-mini .wrap {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 32px;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.bureau-mini .eyebrow { margin: 0; color: var(--ink-soft); }
.bureau-mini .team { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: center; }
.bureau-mini .member {
  display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; text-align: left;
}
.bureau-mini .member > a, .bureau-mini .member > img, .bureau-mini .member > picture { grid-row: span 2; width: auto; }
.bureau-mini .member img {
  width: 44px; height: 44px; margin: 0; border-width: 2px; box-shadow: none;
}
.bureau-mini .member h3 { font-size: .95rem; margin: 0; align-self: end; line-height: 1.2; }
.bureau-mini .role { font-size: .66rem; align-self: start; letter-spacing: .1em; color: var(--ink-soft); }

/* CONTACT-V2 */
.contact-link { text-decoration: none; color: inherit; }
.contact-link .eyebrow { margin: 0; }
.contact-link .big span { color: var(--orange-deep); }
.contact-link:hover { border-color: var(--orange); }
.contact-link:hover .icon { background: var(--sun); }
.contact-team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-person { display: flex; align-items: center; gap: 20px; }
.contact-person img {
  width: 96px; height: 96px; flex: none; border-radius: 50%; object-fit: cover;
  background: var(--sand); border: 4px solid var(--paper); box-shadow: var(--shadow);
}
.contact-person h3 { margin: 0 0 .1em; }
.contact-person p { margin: .4em 0 0; }
@media (max-width: 760px) { .contact-team { grid-template-columns: 1fr; } }

/* LOGOS-RESEAUX */
.social-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.social-ico svg { width: 18px; height: 18px; }
.ico-instagram { color: #d6249f; } .ico-discord { color: #5865f2; } .ico-telegram { color: #26a5e4; }
.social:hover .social-ico { color: inherit; }

.contact-link .icon.brand { color: #fff; }
.contact-link .icon.brand svg { width: 26px; height: 26px; }
.brand-discord, .contact-link:hover .brand-discord { background: #5865f2; }
.brand-telegram, .contact-link:hover .brand-telegram { background: #26a5e4; }

.social-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 16px; }
.social-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.social-card:hover { border-color: var(--orange); box-shadow: var(--shadow); color: var(--ink); }
.social-card .logo {
  display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; color: #fff;
  transition: transform .25s cubic-bezier(.3,1.5,.5,1);
}
.social-card:hover .logo { transform: rotate(-6deg) scale(1.08); }
.social-card .logo svg { width: 28px; height: 28px; }
.logo-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.logo-x { background: #000; }
[data-theme="dark"] .logo-x { background: #fff; color: #000; }
.social-card strong { display: block; font: 700 1.1rem var(--font-title); }
.social-card .handle { color: var(--ink-soft); font-size: .95rem; }
.social-card .go { margin-left: auto; color: var(--orange-deep); font-weight: 800; font-size: 1.2rem; }
@media (max-width: 640px) { .social-cards { grid-template-columns: 1fr; } }

/* CONTACT-CADRES */
.brand-instagram, .contact-link:hover .brand-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.brand-x, .contact-link:hover .brand-x { background: #000; }
[data-theme="dark"] .contact-link .icon.brand-x, [data-theme="dark"] .contact-link:hover .icon.brand-x { background: #fff; color: #000; }

/* FOOT-ICO */
.site-footer li a { display: inline-flex; align-items: center; gap: 10px; }
.foot-ico { display: inline-grid; place-items: center; width: 18px; height: 18px; opacity: .85; }
.foot-ico svg { width: 16px; height: 16px; }
.site-footer li a:hover .foot-ico { opacity: 1; }

/* PAGE-VR */
.vr-hero {
  position: relative; overflow: hidden; color: #f4eefc;
  padding: clamp(72px, 10vw, 132px) 0 clamp(64px, 9vw, 112px);
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(0, 220, 255, .28), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(240, 138, 36, .35), transparent 60%),
    radial-gradient(70% 90% at 50% 50%, #3a2463, #160f26);
}
.vr-hero::after {                 /* grille façon « holodeck » */
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background:
    linear-gradient(transparent 0 calc(100% - 1px), rgba(0,220,255,.25) 0) 0 0 / 100% 36px,
    linear-gradient(90deg, transparent 0 calc(100% - 1px), rgba(0,220,255,.25) 0) 0 0 / 36px 100%;
  transform: perspective(380px) rotateX(58deg); transform-origin: bottom;
  mask-image: linear-gradient(transparent, #000 70%); -webkit-mask-image: linear-gradient(transparent, #000 70%);
  pointer-events: none;
}
.vr-hero .wrap { position: relative; z-index: 1; }
.vr-hero h1 { color: #fff; max-width: 14ch; }
.vr-hero .lead { color: #d9cfe9; margin-bottom: 1.8em; }
.vr-hero .eyebrow { color: #6ee7ff; }
.vr-hero .btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.vr-hero .btn-ghost:hover { background: #fff; color: #2a2040; }
.neon { color: #6ee7ff; text-shadow: 0 0 12px rgba(110, 231, 255, .8), 0 0 32px rgba(110, 231, 255, .5); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--plum-2); border-radius: var(--radius); padding: 28px 26px; display: grid; gap: 6px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #1f1a2e; font: 800 1.2rem var(--font-title); margin-bottom: 8px;
}
.steps strong { color: #fff; font: 700 1.15rem var(--font-title); }
.steps span { color: #d9cfe9; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Galerie + visionneuse */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery:empty { display: none; }
.gallery:not(:empty) + .gallery-empty { display: none; }
.gallery-item { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); cursor: zoom-in; aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center;
  background: rgba(10, 7, 18, .92); opacity: 0; transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox button {
  position: absolute; border: 0; cursor: pointer; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem;
}
.lightbox button:hover { background: var(--orange); color: #1f1a2e; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; margin-top: -26px; }
.lb-next { right: 18px; top: 50%; margin-top: -26px; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #d9cfe9; font-weight: 700; }

.nav a { white-space: nowrap; }

/* DIAPORAMA-START */
.vr-frame {
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  background: var(--paper); padding: clamp(10px, 1.6vw, 18px); box-shadow: var(--shadow);
}
.slideshow { position: relative; display: block; }
.slideshow .slides {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: #160f26;
}
.slideshow .slide {
  position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s; cursor: zoom-in; aspect-ratio: auto; border-radius: 0;
}
.slideshow .slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease, visibility 0s; }
.slideshow .slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow .slide.is-active img { animation: kenburns 6s ease-out both; }
@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .slideshow .slide.is-active img { animation: none; } }
.ss-btn {
  position: absolute; top: 50%; z-index: 3; margin-top: -26px;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(22, 15, 38, .55); color: #fff; font-size: 1.8rem; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s ease, transform .2s ease;
}
.ss-btn:hover { background: var(--orange); color: #1f1a2e; transform: scale(1.08); }
.ss-prev { left: 14px; } .ss-next { right: 14px; }
.ss-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.ss-dots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ss-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: var(--line); transition: width .3s ease, background-color .3s ease; }
.ss-dot.is-active { width: 28px; background: var(--orange); }
.ss-count { font: 700 .85rem var(--font-title); color: var(--ink-soft); min-width: 4.5em; text-align: center; }
.ss-progress { position: absolute; left: 0; bottom: 0; z-index: 3; height: 3px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.slideshow.is-playing .ss-progress { animation: ss-progress var(--ss-interval, 5s) linear; }
@keyframes ss-progress { to { transform: scaleX(1); } }
@media (max-width: 640px) { .ss-btn { width: 42px; height: 42px; margin-top: -21px; font-size: 1.4rem; } }
/* DIAPORAMA-END */
/* EVENEMENTS-DISCORD-START */
.ev-frame {
  margin-top: clamp(28px, 4vw, 44px); position: relative;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  background: var(--paper); padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow);
}
.ev-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 22px; }
.ev-head h2 { margin: .15em 0 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ev-head p { margin: 0; max-width: 44ch; color: var(--ink-soft); font-size: .95rem; }

/* Carrousel */
.ev-carousel { position: relative; }
.ev-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 3); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 6px 2px 10px; margin: -6px -2px -10px;
}
.ev-track::-webkit-scrollbar { display: none; }
.ev-track > * { scroll-snap-align: start; }
@media (max-width: 980px) { .ev-track { grid-auto-columns: calc((100% - 18px) / 2); } }
@media (max-width: 640px) { .ev-track { grid-auto-columns: 86%; } }
.ev-nav {
  position: absolute; top: 34%; z-index: 3; display: grid; place-items: center;
  width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(22, 15, 38, .62); color: #fff; font-size: 1.7rem; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}
.ev-nav:hover { background: var(--orange); color: #1f1a2e; transform: scale(1.08); }
.ev-nav[disabled] { opacity: 0; pointer-events: none; }
.ev-prev { left: -16px; } .ev-next { right: -16px; }
.ev-carousel:not(.has-more) .ev-nav { display: none; }
@media (max-width: 640px) { .ev-nav { display: none !important; } }
.ev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; min-height: 9px; }
.ev-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; cursor: pointer; background: var(--line); transition: width .3s ease, background-color .3s ease; }
.ev-dots button.is-active { width: 26px; background: var(--orange); }

/* Carte */
.ev-card {
  display: flex; flex-direction: column; overflow: hidden; min-width: 0;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ev-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(240, 138, 36, .45); }
.ev-visual { position: relative; aspect-ratio: 16 / 7; overflow: hidden; display: grid; place-items: center; background: var(--sand); }
.ev-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ev-card:hover .ev-visual img { transform: scale(1.06); }
.ev-tone-0 { background: linear-gradient(135deg, #f08a24, #ffc857); }
.ev-tone-1 { background: linear-gradient(135deg, #7b3fd1, #e05a9c); }
.ev-tone-2 { background: linear-gradient(135deg, #1f8a8a, #6ee7c8); }
.ev-tone-3 { background: linear-gradient(135deg, #2a2040, #6b4fb3); }
.ev-visual[class*="ev-tone-"]::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background: radial-gradient(circle at 20% 30%, #fff 0 2px, transparent 3px) 0 0 / 26px 26px;
}
.ev-emoji { position: relative; font-size: clamp(2.6rem, 4vw, 3.4rem); line-height: 1; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); transition: transform .4s ease; }
.ev-card:hover .ev-emoji { transform: scale(1.12) rotate(-6deg); }
.ev-stamp {
  position: absolute; left: 14px; bottom: 12px; z-index: 1; min-width: 58px; padding: 7px 8px 6px;
  border-radius: 14px; text-align: center; background: var(--orange); color: #1f1a2e;
  font-family: var(--font-title); line-height: 1; box-shadow: 0 6px 16px -6px rgba(0,0,0,.45);
}
.ev-stamp strong { display: block; font-size: 1.35rem; }
.ev-stamp span { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ev-live {
  position: absolute; top: 12px; right: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px;
  background: #e5484d; color: #fff; font: 800 .68rem/1.4 var(--font-title); text-transform: uppercase; letter-spacing: .08em;
  animation: ev-pulse 1.8s ease-in-out infinite;
}
@keyframes ev-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); } 50% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); } }
.ev-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; flex: 1; }
.ev-when { margin: 0; color: var(--orange-deep); font: 800 .8rem var(--font-title); letter-spacing: .02em; }
.ev-when::first-letter { text-transform: uppercase; }
.ev-title {
  margin: 0; font-size: 1.06rem; line-height: 1.3; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ev-excerpt {
  margin: 2px 0 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ev-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.ev-open {
  border: 2px solid var(--ink); background: transparent; color: var(--ink); border-radius: 999px; cursor: pointer;
  padding: .45em 1.1em; font: 700 .85rem var(--font-title); transition: background-color .15s ease, color .15s ease;
}
.ev-open:hover { background: var(--ink); color: var(--cream); }
.ev-discord { font: 700 .82rem var(--font-title); color: var(--ink-soft); text-decoration: none; }
.ev-discord:hover { color: var(--orange-deep); }
.ev-note { margin: 18px 0 0; text-align: center; color: var(--ink-soft); font-size: .88rem; }

/* Fiche détaillée (fenêtre) */
.ev-dialog {
  width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; overflow: auto;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.ev-dialog::backdrop { background: rgba(15, 10, 25, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ev-dialog[open] { animation: ev-in .25s ease; }
@keyframes ev-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.ev-d-img { display: block; width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.ev-d-body { padding: 24px 26px 26px; }
.ev-d-body h3 { margin: .3em 0 .7em; font-size: 1.4rem; line-height: 1.25; }
.ev-desc { color: var(--ink-soft); font-size: .96rem; overflow-wrap: anywhere; margin-bottom: 20px; }
.ev-desc p { margin: 0 0 .7em; }
.ev-x {
  position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(22, 15, 38, .6); color: #fff; font-size: 1.4rem; line-height: 1;
}
.ev-x:hover { background: var(--orange); color: #1f1a2e; }
.ev-dialog .btn-ghost { background: transparent; cursor: pointer; }
.ev-dialog .btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* Accueil : prochain rendez-vous */
.ev-next-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
}
.ev-next-card .ev-visual { aspect-ratio: auto; min-height: 260px; height: 100%; }
.ev-next-card .ev-emoji { font-size: clamp(3.5rem, 7vw, 5.5rem); }
.ev-next-card .ev-stamp { left: 18px; bottom: 18px; min-width: 70px; }
.ev-next-card .ev-stamp strong { font-size: 1.7rem; }
.ev-next-card .ev-body { justify-content: center; gap: 10px; padding: clamp(24px, 3.5vw, 40px); }
.ev-next-card .eyebrow { margin: 0; }
.ev-next-card .ev-title { font-size: clamp(1.35rem, 2.4vw, 1.8rem); -webkit-line-clamp: 3; }
.ev-next-card .ev-excerpt { -webkit-line-clamp: 3; font-size: .95rem; }
.ev-next-card .btn-row { margin-top: 8px; }
@media (max-width: 860px) {
  .ev-next-card { grid-template-columns: 1fr; }
  .ev-next-card .ev-visual { aspect-ratio: 16 / 7; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-card, .ev-card:hover, .ev-card:hover .ev-emoji, .ev-card:hover .ev-visual img { transform: none; }
  .ev-live, .ev-dialog[open] { animation: none; }
  .ev-track { scroll-behavior: auto; }
}
[data-theme="dark"] .ev-card { background: var(--sand); }
[data-theme="dark"] .ev-stamp, [data-theme="dark"] .ev-nav:hover, [data-theme="dark"] .ev-x:hover { color: #1f1a2e; }
/* EVENEMENTS-DISCORD-END */

/* PERSON-LINK : cadre du bureau cliquable */
a.person-link { text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.person-link:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); color: inherit; }
.person-site { display: block; margin-top: .35em; font: 700 .85rem var(--font-title); color: var(--orange-deep); }
a.person-link:hover .person-site { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { a.person-link:hover { transform: none; } }
/* PERSON-LINK-END */

/* SAISON-START — Halloween, Noël, Jour de l'an, janvier (voir js/saison.js) — aucune couleur de texte modifiée */
[data-saison="halloween"] { --s-a: rgba(139, 92, 246, .28); --s-b: rgba(255, 122, 26, .20); }
[data-saison="noel"]      { --s-a: rgba(224, 72, 62, .20); --s-b: rgba(47, 158, 91, .18); }
[data-saison="nouvelan"]  { --s-a: rgba(227, 167, 47, .28); --s-b: rgba(255, 215, 106, .22); }

/* Scotch des polaroids */
[data-saison] .polaroid::before { opacity: .9; border: 0; }
[data-saison="halloween"] .polaroid::before { background: repeating-linear-gradient(-45deg, #1f1a2e 0 7px, #ff7a1a 7px 14px); }
[data-saison="noel"] .polaroid::before      { background: repeating-linear-gradient(-45deg, #e0483e 0 7px, #fff 7px 14px); }
[data-saison="nouvelan"] .polaroid::before  { background: radial-gradient(circle, #fff6d0 0 1.2px, transparent 1.6px) 0 0 / 7px 7px, linear-gradient(90deg, #e3a72f, #ffd76a, #e3a72f); }

/* Lueur « aurora » derrière le titre */
[data-saison] .hero { position: relative; isolation: isolate; }
[data-saison] .hero::before {
  content: ""; position: absolute; z-index: -1; inset: -25% -10% auto -10%; height: 130%; pointer-events: none;
  background: radial-gradient(38% 45% at 22% 38%, var(--s-a), transparent 70%), radial-gradient(34% 40% at 78% 30%, var(--s-b), transparent 70%);
  filter: blur(30px); animation: saison-aurora 18s ease-in-out infinite alternate;
}
@keyframes saison-aurora { to { transform: translate3d(4%, 3%, 0) scale(1.08); } }

/* Soulignement de « ensemble. » (le dessin change, pas le texte) */
[data-saison="halloween"] .hero h1 .accent { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12 L 22 6 L 40 14 L 60 5 L 80 14 L 100 6 L 120 14 L 140 5 L 160 14 L 180 6 L 200 14 L 220 5 L 240 14 L 260 6 L 280 13 L 297 8' fill='none' stroke='%238b5cf6' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
[data-saison="noel"] .hero h1 .accent      { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 6 Q 40 18 75 8 T 150 8 T 225 8 T 297 6' fill='none' stroke='%232f9e5b' stroke-width='4' stroke-linecap='round'/%3E%3Ccircle cx='38' cy='13' r='3.5' fill='%23e0483e'/%3E%3Ccircle cx='112' cy='13' r='3.5' fill='%23ffd76a'/%3E%3Ccircle cx='188' cy='13' r='3.5' fill='%23e0483e'/%3E%3Ccircle cx='262' cy='13' r='3.5' fill='%23ffd76a'/%3E%3C/svg%3E"); }

/* Mascotte animée à côté du logo */
.site-header .brand { gap: 10px; }
.mascotte { display: inline-block; flex: none; line-height: 0; pointer-events: none; }
.mascotte svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mascotte-citrouille { width: 38px; height: 38px; transform-origin: 50% 90%; animation: m-balance 2.6s ease-in-out infinite; }
.mascotte-citrouille .m-visage { animation: m-lueur 1.8s ease-in-out infinite; }
.mascotte-traineau { width: 96px; height: 39px; animation: m-vol 2.8s ease-in-out infinite; }
.mascotte-traineau .m-pattes-av, .mascotte-traineau .m-pattes-ar { transform-box: fill-box; transform-origin: 50% 0; animation: m-galop .45s ease-in-out infinite alternate; }
.mascotte-traineau .m-pattes-ar { animation-delay: -.22s; }
.mascotte-traineau .m-nez { animation: m-nez 1.4s ease-in-out infinite; }
.mascotte-traineau .m-etoiles circle { animation: m-scintille 1.2s ease-in-out infinite; }
.mascotte-traineau .m-etoiles circle:nth-child(2) { animation-delay: .4s; }
.mascotte-traineau .m-etoiles circle:nth-child(3) { animation-delay: .8s; }
.mascotte-bonhomme { width: 32px; height: 41px; }
.mascotte-bonhomme .m-bras-d { transform-box: view-box; transform-origin: 32px 34px; animation: m-coucou 1.6s ease-in-out infinite; }
.mascotte-bonhomme .m-chapeau { transform-box: view-box; transform-origin: 22px 15px; animation: m-chapeau 3.2s ease-in-out infinite; }
.mascotte-bonhomme svg { filter: drop-shadow(0 1px 1.5px rgba(40, 70, 120, .25)); }
@keyframes m-balance { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg) translateY(-2px); } }
@keyframes m-lueur { 0%, 100% { fill: #ffd34d; filter: drop-shadow(0 0 1px #ffb020); } 50% { fill: #fff3b0; filter: drop-shadow(0 0 4px #ffb020); } }
@keyframes m-vol { 0%, 100% { transform: translateY(1px) rotate(-2deg); } 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes m-galop { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes m-nez { 0%, 100% { filter: drop-shadow(0 0 1px #ff3b3b); } 50% { filter: drop-shadow(0 0 5px #ff3b3b); } }
@keyframes m-scintille { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes m-coucou { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-16deg); } 75% { transform: rotate(10deg); } }
@keyframes m-chapeau { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg) translateY(-1px); } }
@media (max-width: 480px) { .mascotte-traineau { width: 70px; height: 29px; } }

/* Traces au clic : chauves-souris à Halloween, flocons blancs en décembre et janvier */
[data-trace="chauvesouris"] .paw-print { color: #8b5cf6; width: 38px; height: 20px; margin: -10px 0 0 -19px; }
[data-theme="dark"][data-trace="chauvesouris"] .paw-print { color: #b48cf0; }
[data-trace="flocon"] .paw-print { color: #fff; }
[data-trace="flocon"] .paw-print svg { filter: drop-shadow(0 0 1.5px rgba(40, 70, 120, .7)) drop-shadow(0 1px 3px rgba(40, 70, 120, .35)); }
[data-theme="dark"][data-trace="flocon"] .paw-print svg { filter: drop-shadow(0 0 4px rgba(255, 255, 255, .6)); }

/* MASCOTTE-MOBILE : sur petit écran, la mascotte se pose sur le logo au lieu de pousser le bouton Menu */
@media (max-width: 600px) {
  .site-header .brand { position: relative; }
  .site-header .mascotte { position: absolute; z-index: 2; }
  .site-header .mascotte-citrouille { width: 24px; height: 24px; right: -10px; top: -9px; }
  .site-header .mascotte-traineau  { width: 46px; height: 19px; right: -4px; top: -11px; }
  .site-header .mascotte-bonhomme  { width: 19px; height: 24px; right: -12px; top: -11px; }
}
/* MASCOTTE-MOBILE-END */
/* SAISON-END */
