/* ============ Frigossip Girl — direction artistique ============ */
:root {
  --rose: #f5b8cb;        /* rose principal (doux) */
  --rose-soft: #fde6ee;   /* rose très clair */
  --rose-mid: #ee98b6;    /* rose moyen */
  --rose-deep: #d8457e;   /* rose accent (avec parcimonie) */
  --ink: #140b10;         /* noir */
  --cream: #fff6f9;
  --muted: #7d5566;
  --line: #140b10;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-block: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--rose-soft); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 64px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.script { font-family: var(--font-script); font-weight: 400; }
.eyebrow { font-family: var(--font-block); letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; background: var(--ink); color: var(--rose); transition: transform .15s, box-shadow .15s; box-shadow: 4px 4px 0 var(--ink); }
.btn:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn.pink { background: var(--rose); color: var(--ink); }
.btn.light { background: var(--cream); color: var(--ink); }
.btn.ghost { background: transparent; color: inherit; box-shadow: none; }
.btn.small { min-height: 36px; padding: 7px 14px; font-size: 12px; box-shadow: 3px 3px 0 var(--ink); }

/* stickers "SPOTTED" */
.spotted { position: absolute; font-family: var(--font-block); font-size: 26px; letter-spacing: 1px; background: var(--rose-deep); color: var(--ink); padding: 6px 18px 4px; transform: rotate(-8deg);
  clip-path: polygon(0 8%, 6% 0, 12% 6%, 20% 0, 30% 5%, 40% 0, 52% 6%, 62% 0, 74% 5%, 84% 0, 93% 6%, 100% 2%, 98% 50%, 100% 96%, 92% 100%, 82% 94%, 70% 100%, 58% 95%, 46% 100%, 34% 94%, 22% 100%, 12% 95%, 4% 100%, 0 92%, 2% 50%); }
.sticker { display: inline-block; border: 2.5px solid var(--ink); border-radius: 16px; padding: 6px 18px; background: var(--rose); }

/* bandeau du haut + en-tête */
.topline { background: var(--ink); color: var(--rose); font-family: var(--font-block); letter-spacing: 2px; font-size: 11px; display: flex; justify-content: space-between; padding: 7px 40px; }
.site-header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 14px 40px; background: rgba(253, 230, 238, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 2px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-serif); font-weight: 900; font-size: 20px; line-height: 1; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); }
.brand small { display: block; font-family: var(--font-script); font-weight: 400; color: var(--rose-deep); font-size: 18px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 13px; font-weight: 600; }
.nav a:hover { color: var(--rose-deep); }
.menu-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 50%; width: 40px; height: 40px; align-items: center; justify-content: center; }

/* accueil */
.hero { background: var(--rose); position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(20, 11, 16, .12) 1.2px, transparent 1.3px); background-size: 22px 22px; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 70px 0 80px; }
.hero h1 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(64px, 8.4vw, 124px); line-height: .9; letter-spacing: -2px; margin: 18px 0 22px; }
.hero h1 .script { display: block; font-size: .85em; color: var(--rose-deep); letter-spacing: 0; margin-top: 4px; -webkit-text-stroke: 1px var(--ink); }
.hero .kicker { display: inline-flex; gap: 10px; align-items: center; }
.hero-slogan { font-family: var(--font-serif); font-size: 24px; font-weight: 700; font-style: italic; line-height: 1.3; max-width: 520px; }
.hero-intro { margin-top: 14px; max-width: 470px; font-size: 15px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.logo-ring { width: min(440px, 92%); aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); overflow: hidden; background: var(--ink); animation: float 6s ease-in-out infinite; }
.logo-ring img { width: 100%; height: 100%; object-fit: cover; }
.sparkle { position: absolute; color: var(--cream); font-size: 34px; text-shadow: 0 0 12px #fff; animation: twinkle 2.4s ease-in-out infinite; }
.hero-art .spotted:nth-of-type(1) { top: 6%; right: 2%; }
.hero-art .spotted:nth-of-type(2) { bottom: 8%; left: 0; transform: rotate(6deg); }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.7); } }

/* bandeau défilant */
.ticker { background: var(--ink); color: var(--rose); overflow: hidden; border-bottom: 2px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: scroll 32s linear infinite; }
.ticker span { font-family: var(--font-block); font-size: 26px; letter-spacing: 2px; padding: 12px 0; white-space: pre; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* compte à rebours */
.countdown-band { padding: 46px 0; }
.countdown-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); padding: 28px 34px; }
.countdown-card h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 900; margin-top: 6px; }
.countdown-card .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.countdown { display: flex; gap: 12px; }
.countdown div { min-width: 82px; text-align: center; background: var(--rose); border: 2.5px solid var(--ink); border-radius: 14px; padding: 8px 6px 6px; }
.countdown strong { display: block; font-family: var(--font-block); font-size: 44px; line-height: 1.05; }
.countdown small { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }

/* titres de section */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.section-head h2 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(42px, 5vw, 70px); line-height: 1; letter-spacing: -1px; margin-top: 12px; }
.section-head h2 .script { color: var(--rose-deep); font-size: 1.05em; -webkit-text-stroke: .6px var(--ink); }
.section-head > p { max-width: 360px; font-size: 14px; color: var(--muted); }
.bg-rose { background: var(--rose); }
.bg-soft { background: var(--rose-soft); }
.bg-mid { background: var(--rose-mid); }
.bg-ink { background: var(--ink); color: var(--rose-soft); }
.bg-ink .section-head > p { color: #d7a9bb; }
.bg-ink .section-head h2 .script { -webkit-text-stroke: 0; }
.bordered { border-bottom: 2px solid var(--ink); }

/* filtres */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { border: 2px solid var(--ink); background: transparent; border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600; }
.chip.active { background: var(--ink); color: var(--rose); }

/* équipe : style "Pôle com" */
.members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.member-card { background: none; border: 0; padding: 0; text-align: center; }
.member-photo { position: relative; width: 82%; margin: 0 auto; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); background: var(--rose-mid); overflow: hidden; box-shadow: 0 0 0 7px var(--rose-deep), 0 0 0 10px var(--ink); transition: transform .2s; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-photo .initial { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 900; font-size: 84px; color: var(--ink); }
.member-card:hover .member-photo { transform: rotate(-4deg) scale(1.03); }
.member-ribbon { display: inline-block; margin-top: -18px; position: relative; background: var(--ink); color: var(--rose); font-family: var(--font-serif); font-weight: 900; font-size: 19px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 20px; border-radius: 6px; transform: rotate(-2deg); }
.member-role { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; }
.member-pole { display: block; font-family: var(--font-script); font-size: 20px; color: var(--rose-deep); line-height: 1.1; }

/* programme */
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.proposal { background: var(--cream); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); padding: 30px; display: flex; flex-direction: column; min-height: 260px; }
.proposal .num { font-family: var(--font-block); font-size: 15px; letter-spacing: 1px; color: var(--rose-deep); }
.proposal h3 { font-family: var(--font-serif); font-weight: 900; font-size: 30px; line-height: 1.1; margin: 10px 0 12px; }
.proposal p { white-space: pre-wrap; font-size: 14px; }
.proposal .foot { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: var(--rose); }
.tag.dark { background: var(--ink); color: var(--rose); }
.tag.light { background: var(--cream); }

/* partenaires */
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.partner-card { background: var(--cream); border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 6px 6px 0 var(--ink); }
.partner-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.partner-logo { width: 78px; height: 78px; border-radius: 50%; border: 2.5px solid var(--ink); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; font-family: var(--font-serif); font-weight: 900; font-size: 34px; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.partner-head h3 { font-family: var(--font-serif); font-weight: 900; font-size: 28px; margin-top: 6px; }
.partner-card p { white-space: pre-wrap; font-size: 14px; }
.partner-offer { margin: 18px 0; padding: 16px 18px; background: var(--rose); border: 2px solid var(--ink); border-radius: 12px; font-weight: 600; white-space: pre-wrap; }
.partner-small { font-size: 12px !important; color: var(--muted); margin-top: 10px; }
.partner-info p { display: flex; gap: 8px; margin-top: 6px; font-size: 13px; }
.partner-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* events */
.events-list { display: flex; flex-direction: column; gap: 20px; }
.event-row { display: flex; gap: 28px; align-items: flex-start; background: var(--cream); border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 6px 6px 0 var(--ink); }
.event-row.past { opacity: .6; }
.event-date { flex-shrink: 0; width: 86px; text-align: center; background: var(--rose); border: 2.5px solid var(--ink); border-radius: 12px; padding: 8px 4px; }
.event-date strong { display: block; font-family: var(--font-block); font-size: 42px; line-height: 1.05; }
.event-date span { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.event-info { flex: 1; min-width: 0; }
.event-info h3 { font-family: var(--font-serif); font-weight: 900; font-size: 27px; line-height: 1.15; margin: 8px 0; }
.event-info p { white-space: pre-wrap; font-size: 14px; }
.event-cover { width: 100%; max-height: 320px; object-fit: cover; border: 2px solid var(--ink); border-radius: 10px; margin-bottom: 14px; }
.event-details { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; font-weight: 600; }
.event-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

/* commandes */
.food-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: start; }
.food-intro { font-size: 15px; margin-top: 18px; max-width: 460px; }
.badges { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.badges > div { display: flex; gap: 14px; align-items: center; background: var(--cream); border: 2px solid var(--ink); border-radius: 12px; padding: 12px 16px; max-width: 420px; }
.badges b { display: block; font-size: 14px; }
.badges small { color: var(--muted); font-size: 12px; }
.badges .off { opacity: .45; }
.stamp { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 116px; height: 116px; border-radius: 50%; border: 3px solid var(--ink); background: var(--rose-deep); font-family: var(--font-block); font-size: 40px; line-height: 1; transform: rotate(-12deg); margin-top: 30px; box-shadow: 5px 5px 0 var(--ink); }
.stamp small { font-size: 11px; letter-spacing: 1px; margin-top: 4px; }
.panel { background: var(--cream); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 8px 8px 0 var(--ink); padding: 28px; }
.panel-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 2px dashed var(--ink); margin-bottom: 6px; }
.panel-title h3 { font-family: var(--font-serif); font-weight: 900; font-size: 26px; }
.product-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1.5px solid #e6c3cf; }
.product-row h4 { font-size: 16px; }
.product-row p { font-size: 13px; color: var(--muted); }
.product-row small { font-size: 11px; color: var(--muted); }
.product-row.sold-out h4, .product-row.sold-out p { opacity: .5; }
.stock-label { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rose-deep); }
.stock-label.out { color: var(--ink); text-decoration: line-through; }
.qty { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; flex-shrink: 0; background: #fff; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; font-weight: 700; }
.qty span { width: 26px; text-align: center; font-weight: 700; }
.refresh { background: none; border: 0; padding: 0; margin: 12px 0 18px; font-size: 12px; text-decoration: underline; color: var(--muted); }
.mode-toggle { display: flex; gap: 6px; padding: 5px; background: var(--rose-soft); border: 2px solid var(--ink); border-radius: 999px; margin-bottom: 18px; }
.mode-toggle button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 10px; font-size: 13px; font-weight: 700; }
.mode-toggle button.selected { background: var(--ink); color: var(--rose); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; font-size: 12px; font-weight: 700; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-size: 14px; font-weight: 400; }
textarea { min-height: 110px; resize: vertical; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.error { margin: 14px 0; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #ffd0d0; font-size: 13px; font-weight: 600; }
.note { font-size: 11px; color: var(--muted); margin-top: 12px; }
.success { text-align: center; padding: 40px 10px; }
.success .big { font-size: 54px; }
.success h3 { font-family: var(--font-serif); font-weight: 900; font-size: 30px; margin: 10px 0; }
.success .ref { font-family: var(--font-block); letter-spacing: 2px; margin: 12px 0 20px; }
.soon { text-align: center; padding: 50px 10px 40px; }
.soon h4 { font-family: var(--font-serif); font-weight: 900; font-size: 30px; margin-top: 10px; }
.soon p { color: var(--muted); margin-top: 10px; }
.pickup-info { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; margin-bottom: 16px; padding: 12px 14px; background: var(--rose-soft); border-radius: 12px; border: 2px dashed var(--ink); }

/* jeu */
.game-section { background: var(--ink); color: var(--rose-soft); }
.game-box { position: relative; border: 3px solid var(--rose); border-radius: 20px; overflow: hidden; box-shadow: 10px 10px 0 var(--rose-deep); background: #1a0d17; }
.game-box canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.game-help { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 18px; font-size: 13px; color: #d7a9bb; }

/* potins (envies) */
.wishes-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.wish-examples { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.wish-examples button { text-align: left; background: var(--cream); border: 2px solid var(--ink); border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.wish-examples button:hover { background: var(--rose-soft); }
.cat-toggle { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

/* contact */
.contact-section { background: var(--ink); color: var(--rose-soft); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-section h2 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(46px, 5.5vw, 76px); line-height: 1; margin-top: 12px; }
.contact-section h2 .script { color: var(--rose); }
.contact-section p { color: #d7a9bb; margin-top: 18px; }
.contact-section .panel { color: var(--ink); }
.socials { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

footer { background: var(--ink); color: var(--rose); border-top: 2px solid var(--rose); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0; }
footer p { font-family: var(--font-script); font-size: 26px; }
footer small { display: block; font-size: 12px; color: #d7a9bb; }
footer a { font-size: 12px; color: #d7a9bb; }

/* fiche membre */
dialog.member-dialog { border: 3px solid var(--ink); border-radius: 22px; padding: 40px 34px 34px; width: min(460px, 100% - 32px); background: var(--cream); box-shadow: 10px 10px 0 var(--ink); text-align: center; }
dialog.member-dialog::backdrop { background: rgba(20, 11, 16, .6); backdrop-filter: blur(4px); }
dialog .member-photo { width: 180px; }
dialog h2 { font-family: var(--font-serif); font-weight: 900; font-size: 42px; margin-top: 20px; }
dialog p.bio { white-space: pre-wrap; margin-top: 14px; font-size: 14px; text-align: left; }
dialog .close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); background: var(--rose); font-weight: 700; }
.contact-line { margin-top: 16px; font-size: 14px; }
.contact-line a { font-weight: 700; word-break: break-all; }

.empty { text-align: center; padding: 50px 20px; border: 2.5px dashed var(--ink); border-radius: var(--radius); }
.empty .big { font-size: 40px; }
.empty h3 { font-family: var(--font-serif); font-weight: 900; font-size: 26px; margin-top: 8px; }
.empty p { color: var(--muted); margin-top: 6px; font-size: 14px; }
.demo-banner { position: fixed; bottom: 14px; right: 14px; z-index: 90; background: var(--ink); color: var(--rose); border: 2px solid var(--rose); padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.loading { min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: var(--font-script); font-size: 34px; color: var(--rose-deep); }

/* ============ responsive ============ */
@media (max-width: 1100px) {
  .members-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 14px; }
  .nav a { font-size: 12px; }
}
@media (max-width: 900px) {
  .hero-inner, .food-layout, .wishes-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { min-height: 360px; }
  .program-grid, .partners-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 20px; background: var(--rose-soft); border-bottom: 2px solid var(--ink); margin: 0; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; font-size: 16px; }
  .nav .btn { margin-top: 8px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .topline { padding: 6px 18px; font-size: 9px; }
  .topline .extra { display: none; }
  .site-header { padding: 10px 18px; }
  .hero-inner { padding: 40px 0 56px; }
  .hero h1 { font-size: clamp(56px, 17vw, 88px); }
  .hero-slogan { font-size: 20px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head > p { margin-top: 14px; }
  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .member-ribbon { font-size: 15px; padding: 5px 12px; }
  .event-row { flex-direction: column; gap: 14px; padding: 18px; }
  .event-date { display: flex; gap: 10px; align-items: baseline; width: auto; padding: 6px 14px; }
  .event-date strong { font-size: 30px; }
  .event-actions { flex-direction: row; flex-wrap: wrap; }
  .countdown div { min-width: 64px; }
  .countdown strong { font-size: 32px; }
  .countdown-card { padding: 22px; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .panel { padding: 20px; }
  .spotted { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ============ nouvelles sections ============ */
.food-title { font-family: var(--font-serif); font-weight: 900; font-size: clamp(42px, 5vw, 68px); line-height: 1; margin-top: 12px; }
.food-title .script { color: var(--cream); -webkit-text-stroke: 1px var(--ink); }

/* billetterie */
.tickets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ticket { display: flex; flex-direction: column; background: var(--cream); border: 2.5px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); overflow: hidden; position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%; background: var(--rose-soft); border: 2.5px solid var(--ink); transform: translateY(-50%); }
.ticket::before { left: -15px; } .ticket::after { right: -15px; }
.bg-rose .ticket::before, .bg-rose .ticket::after { background: var(--rose); }
.ticket img { width: 100%; max-height: 260px; object-fit: cover; border-bottom: 2.5px dashed var(--ink); }
.ticket-body { padding: 26px 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ticket-body h3 { font-family: var(--font-serif); font-weight: 900; font-size: 30px; line-height: 1.1; }
.ticket-body p { white-space: pre-wrap; font-size: 14px; }
.ticket-body .event-details { margin-top: 0; }

/* gossip du soir */
.gossip-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.gossip-card { background: var(--cream); border: 2.5px solid var(--ink); border-radius: 16px; padding: 22px 22px 18px; box-shadow: 6px 6px 0 var(--ink); transform: rotate(var(--r, 0deg)); display: flex; flex-direction: column; gap: 12px; transition: transform .2s; }
.gossip-card:hover { transform: rotate(0) scale(1.02); }
.gossip-card:nth-child(3n+2) { background: #fff; }
.gossip-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gossip-top small { font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.gossip-card p { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 19px; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
.gossip-sign { font-family: var(--font-script); font-size: 22px; color: var(--rose-deep); align-self: flex-end; }

/* boîte à gossip */
.gossip-box-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.gossip-box-layout .section-head { display: block; margin: 0; }
.gossip-box-layout .section-head > p { margin-top: 18px; max-width: 440px; font-size: 15px; }
.gossip-panel textarea { font-size: 16px; }

/* les dossiers */
.albums-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.album-card { background: #fff; border: 2.5px solid var(--ink); padding: 12px 12px 18px; text-align: left; box-shadow: 6px 6px 0 var(--ink); transform: rotate(var(--r, 0deg)); transition: transform .2s; }
.album-card:hover { transform: rotate(0) translateY(-3px); }
.album-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 2px solid var(--ink); background: var(--rose); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-count { position: absolute; bottom: 8px; right: 8px; background: var(--ink); color: var(--rose); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.album-card h3 { font-family: var(--font-serif); font-weight: 900; font-size: 22px; margin-top: 12px; line-height: 1.15; }
.album-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
dialog.album-dialog { border: 3px solid var(--ink); border-radius: 22px; padding: 26px; width: min(1100px, 100% - 24px); max-height: 92vh; background: var(--cream); box-shadow: 10px 10px 0 var(--ink); }
dialog.album-dialog::backdrop { background: rgba(20, 11, 16, .7); backdrop-filter: blur(4px); }
.album-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.album-head h2 { font-family: var(--font-serif); font-weight: 900; font-size: 36px; line-height: 1.05; margin-top: 4px; }
.album-head small { color: var(--muted); font-weight: 600; }
.album-head .close { position: static; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); background: var(--rose); font-weight: 700; }
.album-desc { margin: 10px 0 0; font-size: 14px; white-space: pre-wrap; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 20px; }
.photo-grid button { padding: 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--rose); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.photo-grid button:hover img { transform: scale(1.05); }
.lightbox { margin-top: 18px; }
.lightbox img { max-height: 68vh; width: 100%; object-fit: contain; background: var(--ink); border-radius: 12px; }
.lightbox-bar { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 12px; font-weight: 700; }

/* en-tête : menu sur deux lignes sur les écrans moyens */
@media (min-width: 901px) and (max-width: 1280px) {
  .site-header { flex-wrap: wrap; row-gap: 8px; }
  .site-header .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
}
@media (max-width: 900px) {
  .tickets-grid, .gossip-wall, .gossip-box-layout { grid-template-columns: 1fr; }
  .albums-grid { grid-template-columns: repeat(2, 1fr); }
  .gossip-box-layout { gap: 26px; }
}
@media (max-width: 680px) {
  .albums-grid { gap: 16px; }
  .album-card h3 { font-size: 17px; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  dialog.album-dialog { padding: 16px; }
  .album-head h2 { font-size: 26px; }
  .gossip-card { transform: none; }
  .ticket-body { padding: 20px; }
}

/* TW boîte à gossip */
.tw { background: var(--ink); color: var(--rose-soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.tw b { color: var(--rose); }
.tw p { font-size: 13px; margin-top: 6px; line-height: 1.55; }
.tw p b { color: #fff; }
label.check-line { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 13px; }
label.check-line input { width: 20px; height: 20px; min-height: 0; flex-shrink: 0; margin-top: 1px; accent-color: var(--rose-deep); }

/* nos réseaux */
.socials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.social-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-decoration: none; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 20px; padding: 26px; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s, box-shadow .15s; }
.social-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.social-icon { font-size: 40px; line-height: 1; width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 18px; border: 2.5px solid var(--ink); background: var(--rose); }
.social-card.snap .social-icon { background: #fffc00; }
.social-card.tiktok .social-icon { background: var(--ink); }
.social-name { font-family: var(--font-serif); font-weight: 900; font-size: 30px; line-height: 1.1; margin-top: 6px; }
.social-handle { font-weight: 700; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.social-card .btn { margin-top: 8px; }

/* aperçu du jeu sur l'accueil */
.game-teaser { display: block; transition: transform .2s; }
.game-teaser:hover { transform: translateY(-3px); }
.game-teaser canvas { cursor: pointer; touch-action: auto; }
.game-section .game-help { align-items: center; }

/* page du jeu */
body.game-page { background: var(--ink); color: var(--rose-soft); min-height: 100vh; }
.game-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 32px; border-bottom: 2px solid var(--rose); }
.game-header .brand small { color: var(--rose); }
.game-main { width: min(1120px, 100% - 32px); margin: 0 auto; padding: 34px 0 60px; }
.game-title { margin-bottom: 26px; }
.game-title h1 { font-family: var(--font-serif); font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: 1; margin-top: 10px; }
.game-title h1 .script { color: var(--rose); }
.game-title > p:last-child { color: #d7a9bb; margin-top: 12px; max-width: 620px; }
.game-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.game-controls > div { border: 2px solid var(--rose); border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.game-controls b { color: var(--rose); font-family: var(--font-block); letter-spacing: 1px; font-weight: 400; text-transform: uppercase; }
kbd { display: inline-block; background: var(--rose-soft); color: var(--ink); border-radius: 6px; padding: 0 7px; font-family: inherit; font-weight: 700; font-size: 12px; border-bottom: 3px solid var(--rose-deep); }
.game-tip { color: #d7a9bb; font-size: 14px; margin-top: 18px; }
.game-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
/* records de la semaine */
.score-form { margin-top: 20px; background: var(--rose); color: var(--ink); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 10px; }
.score-form small { color: var(--muted); }
.score-row { display: flex; gap: 10px; flex-wrap: wrap; }
.score-row input { flex: 1 1 220px; border: 2px solid var(--ink); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: 16px; background: var(--cream); }
.score-msg { margin-top: 14px; color: var(--rose); font-weight: 700; }
.leaderboard { margin-top: 26px; border: 2px solid var(--rose); border-radius: var(--radius); padding: 18px 20px; }
.leaderboard h2 { font-family: var(--font-block); font-weight: 400; letter-spacing: 1px; text-transform: uppercase; color: var(--rose); font-size: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.leaderboard h2 span { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13px; color: #d7a9bb; }
.leaderboard ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.leaderboard li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(245,184,203,.08); }
.leaderboard li.first { background: var(--rose); color: var(--ink); font-weight: 700; }
.leaderboard li.first .rank { font-family: inherit; font-size: 20px; }
.leaderboard .rank { font-family: 'Press Start 2P', monospace; font-size: 12px; text-align: center; }
.leaderboard .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard .pts { font-family: 'Press Start 2P', monospace; font-size: 12px; }
.lb-empty { margin-top: 10px; color: #d7a9bb; }
@media (max-width: 680px) {
  .game-header { padding: 10px 16px; }
  .game-main { padding-top: 20px; }
  .game-controls { grid-template-columns: 1fr; }
}

/* commandes : carte, composition, panier, suivi */
.muted { color: var(--muted); font-size: 13px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; font-size: 12px; text-decoration: underline; color: var(--muted); cursor: pointer; }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.cat-tabs button { border: 2px solid var(--ink); border-radius: 999px; background: #fff; padding: 7px 14px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.cat-tabs button.on { background: var(--ink); color: var(--rose); }
.product-row .product-info { flex: 1; min-width: 0; }
.product-photo { width: 58px; height: 58px; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); flex-shrink: 0; }
.product-row .price { font-weight: 700; color: var(--rose-deep); font-size: 14px; white-space: nowrap; }
.cart { margin: 18px 0 16px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; }
.cart h4 { font-size: 15px; margin-bottom: 8px; }
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed #e6c3cf; font-size: 14px; }
.cart-line small { display: block; color: var(--muted); font-size: 12px; }
.cart-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.cart-total { display: flex; justify-content: space-between; border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 6px; font-size: 16px; }
dialog.compose { border: 3px solid var(--ink); border-radius: 22px; padding: 0; width: min(520px, 100% - 24px); max-height: 92vh; background: var(--cream); box-shadow: 10px 10px 0 var(--ink); }
dialog.compose::backdrop { background: rgba(20, 11, 16, .6); backdrop-filter: blur(4px); }
.compose-inner { padding: 30px 26px 24px; position: relative; }
.compose-inner h3 { font-family: var(--font-serif); font-weight: 900; font-size: 30px; padding-right: 40px; }
.compose-photo { width: 100%; height: 170px; object-fit: cover; border-radius: 14px; border: 2px solid var(--ink); margin-bottom: 14px; }
.opt-group { border: 0; padding: 0; margin: 18px 0 0; }
.opt-group legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.opt-group legend small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 6px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-opt { border: 2px solid var(--ink); border-radius: 999px; background: #fff; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; }
.chip-opt small { color: var(--muted); font-size: 11px; }
.chip-opt.on { background: var(--rose-deep); color: #fff; }
.chip-opt.on small { color: #ffe4ef; }
.chip-opt:disabled { opacity: .4; cursor: not-allowed; }
.compose-foot { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 16px; border-top: 2px dashed var(--ink); }
.compose-foot .btn { flex: 1; }
.tracker { background: var(--ink); color: var(--rose-soft); border-radius: 16px; padding: 14px 18px; margin-bottom: 18px; box-shadow: 6px 6px 0 var(--rose-deep); }
.tracker-top { display: flex; justify-content: space-between; align-items: center; }
.tracker-top .linklike { color: var(--rose); }
.tracker-status { font-size: 18px; font-weight: 700; margin: 6px 0 10px; display: flex; gap: 8px; align-items: center; }
.tracker-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.tracker-bar i { height: 6px; border-radius: 3px; background: rgba(245,184,203,.25); }
.tracker-bar i.on { background: var(--rose); }
.tracker small { color: #d7a9bb; }
