/* ══════════════════════════════════════════════════════════════
   Mort2Rire — direction « Affiche pop »
   Mur d'affiches : papier, scotch, encre noire, jaune et rose.
   ══════════════════════════════════════════════════════════════ */
:root {
  --wall: #e4ddcb;
  --wall-dot: rgba(0, 0, 0, .055);
  --paper: #fffdf6;
  --ink: #111111;
  --ink-2: #4a4539;
  --ink-3: #6e6757;
  --yellow: #ffd400;
  --pink: #ff2d7a;
  --pink-dark: #e0186a;
  --blue: #2e5bff;
  --green: #1f9d55;
  --tape: rgba(255, 244, 170, .8);
  --f-display: "Bowlby One", Impact, "Arial Black", sans-serif;
  --f-body: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Rubik", "Helvetica Neue", Arial, sans-serif;
  --shadow: 4px 4px 0 var(--ink);
  --gutter: 28px;
}

/* ── Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--wall); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.55; min-height: 100vh; overflow-x: hidden;
  background-image: radial-gradient(var(--wall-dot) 1px, transparent 1.3px), radial-gradient(rgba(0,0,0,.035) 1px, transparent 1.3px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.container { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); padding: 8px 14px; font-weight: 800; }
.skip-link:focus { top: 12px; }
mark { background: var(--yellow); color: var(--ink); padding: 0 4px; }
.empty-state { font-family: var(--f-hand); font-size: 20px; padding: 26px 0; color: var(--ink-2); }
.empty-state a { color: var(--pink); }

/* ── Boutons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 3px solid var(--ink); padding: 10px 18px; background: var(--yellow); color: var(--ink);
  font-family: var(--f-display); font-size: 15px; line-height: 1.1; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s, background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-pink, .btn-primary { background: var(--pink); color: #fff; }
.btn-white, .btn-outline, .btn-outline-white { background: var(--paper); color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-sm { font-size: 13px; padding: 7px 12px; box-shadow: 3px 3px 0 var(--ink); }
.btn-large { font-size: 18px; padding: 13px 24px; }
.btn-block { width: 100%; }
.btn-danger { background: #d8322b; color: #fff; }
.btn-google { background: #fff; color: #222; font-family: var(--f-body); font-weight: 700; text-transform: none; }

/* ── En-tête ─────────────────────────────────────────── */
.navbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--ink); color: #fff; }
.navbar-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 10px var(--gutter); }
.navbar-brand img { height: 44px; width: auto; }
.navbar-links { display: flex; align-items: center; gap: 20px; }
.nav-link { color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; border-bottom: 3px solid transparent; transition: color .15s; }
.nav-link:hover { color: var(--yellow); }
.nav-link.active { color: var(--yellow); border-color: var(--yellow); }
.admin-link { color: var(--pink); }
.nav-search { margin-left: auto; }
.nav-search input { width: 250px; background: #fff; color: var(--ink); border: 2px solid #fff; padding: 7px 12px; font-size: 14px; }
.nav-search input:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { color: #fff; font-weight: 700; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.nav-actions .btn { border-color: #fff; box-shadow: 3px 3px 0 #fff; }
.nav-toggle { display: none; margin-left: auto; background: var(--yellow); color: var(--ink); border: 2px solid #fff; font-family: var(--f-display); font-size: 14px; padding: 5px 12px; text-transform: uppercase; }
.mobile-menu-actions { display: none; }

/* ── Messages ───────────────────────────────────────── */
.flash { max-width: 1240px; margin: 18px auto 0; padding: 12px 16px; border: 3px solid var(--ink); box-shadow: var(--shadow); font-weight: 700; width: calc(100% - 2 * var(--gutter)); transform: rotate(-.4deg); transition: opacity .4s; }
.flash-success { background: #c9f2d6; }
.flash-error { background: #ffd0d8; }
.flash-info { background: #d6e2ff; }

/* ── Titres « affiche » ─────────────────────────────── */
.pop-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(56px, 10.5vw, 150px); line-height: .84; letter-spacing: -.01em; text-transform: uppercase; }
.pop-title .w { display: block; white-space: nowrap; }
.pop-title .pinkw { color: var(--pink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.pop-title .ch { display: inline-block; }
.is-ready .pop-title .ch { animation: drop .9s cubic-bezier(.3,1.6,.5,1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes drop { 0% { transform: translateY(-120%) rotate(var(--r, -20deg)); opacity: 0 } 60% { opacity: 1 } 100% { transform: translateY(0) rotate(var(--r2, 0deg)) } }
.page-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6.5vw, 86px); line-height: .9; text-transform: uppercase; }
.page-title .pinkw { color: var(--pink); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; }
.page-intro { max-width: 62ch; margin-top: 12px; font-weight: 500; color: var(--ink-2); }
.page-intro a, .legal-page a, .preview-note a, .faq-item a, .faq-more a, .auth-switch a, .stripe-note a, .pricing-login a, .comments-section p a, .rating-section p a, .comedian-bio a { color: var(--pink-dark); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.breadcrumb { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink); }
.breadcrumb span { color: var(--ink); }

/* ── Héros de l'accueil ─────────────────────────────── */
.hero { position: relative; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; padding: 22px var(--gutter) 26px; cursor: crosshair; overflow: hidden; }
.lead { max-width: 48ch; margin: 14px 0 18px; font-size: 18px; font-weight: 500; background: var(--paper); border: 3px solid var(--ink); padding: 12px 16px; transform: rotate(-.8deg); box-shadow: 5px 5px 0 var(--ink); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.poster-stack { position: relative; width: min(200px, 100%); aspect-ratio: 2/3; justify-self: center; }
.poster-stack .sheet { position: absolute; inset: 0; display: block; background: var(--paper); padding: 10px; box-shadow: 0 14px 26px rgba(0,0,0,.25); transition: transform .8s cubic-bezier(.3,1.3,.5,1); }
.poster-stack .sheet::before { content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(-4deg); background: var(--tape); z-index: 1; }
.poster-stack .sheet img { width: 100%; height: 100%; object-fit: cover; }
.poster-stack .sheet[data-depth="0"] { transform: rotate(3deg); z-index: 3; }
.poster-stack .sheet[data-depth="1"] { transform: rotate(-5deg) translate(-16px, 10px); z-index: 2; }
.poster-stack .sheet[data-depth="2"] { transform: rotate(7deg) translate(18px, 16px); z-index: 1; }
.poster-stack .sheet.peel { animation: peel .9s cubic-bezier(.6,0,.3,1); }
@keyframes peel { 45% { transform: translate(160px, -40px) rotate(24deg) } }
.hero-hint { position: absolute; left: var(--gutter); bottom: 8px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sticker { position: absolute; z-index: 6; font-family: var(--f-hand); font-size: 20px; padding: 9px 14px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); pointer-events: none; white-space: nowrap; }
.sticker.round { border-radius: 50%; width: 104px; height: 104px; display: grid; place-items: center; text-align: center; line-height: 1; padding: 8px; font-size: 18px; }
.sticker.fall { animation: stick .7s cubic-bezier(.3,1.5,.5,1) both; animation-delay: var(--d, 0s); }
@keyframes stick { 0% { transform: translateY(-140px) rotate(calc(var(--rot) - 40deg)) scale(1.3); opacity: 0 } 70% { opacity: 1 } 100% { transform: rotate(var(--rot)) scale(1) } }

.marquee { background: var(--ink); color: var(--yellow); overflow: hidden; margin: 8px 0 10px; border-block: 4px solid var(--ink); }
.marquee .track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee span { font-family: var(--f-display); font-size: 28px; padding: 7px 0; white-space: nowrap; }
.marquee em { font-style: normal; color: var(--pink); margin: 0 18px; }
@keyframes marquee { to { transform: translateX(-50%) } }

/* ── Sections et rangées ────────────────────────────── */
.home-sections { max-width: 1400px; margin: 0 auto; }
.sec { padding: 30px var(--gutter) 4px; max-width: 1400px; margin: 0 auto; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sec-head h2, .section-subtitle, .related-section h2, .comments-section h2 { display: inline-block; font-family: var(--f-display); font-weight: 400; font-size: 28px; text-transform: uppercase; background: var(--ink); color: #fff; padding: 2px 12px 5px; transform: rotate(-1deg); }
.sec-head h2.tag-yellow { background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); }
.sec-more { font-weight: 800; font-size: 14px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sec-intro { margin-top: 12px; font-weight: 500; color: var(--ink-2); }
.scroll-wrapper { position: relative; }
.scroll-row { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; padding: 24px 6px 20px; scrollbar-width: none; scroll-snap-type: x proximity; }
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row > * { flex: 0 0 auto; scroll-snap-align: start; }
.scroll-row, .trends-row { cursor: grab; }
.scroll-row.dragging { cursor: grabbing; }
.scroll-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border: 3px solid var(--ink); background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); font-family: var(--f-display); font-size: 24px; line-height: 1; display: grid; place-items: center; }
.scroll-arrow:hover { background: var(--pink); color: #fff; }
.scroll-arrow-left { left: -10px; }
.scroll-arrow-right { right: -10px; }

/* ── Affiche scotchée (carte spectacle) ─────────────── */
.spectacle-card { position: relative; display: block; width: 168px; background: var(--paper); padding: 8px 8px 10px; color: var(--ink); text-decoration: none; box-shadow: 0 8px 16px rgba(0,0,0,.16); transform: rotate(var(--t, 0deg)); transition: transform .3s cubic-bezier(.3,1.6,.5,1), box-shadow .3s; }
.spectacle-card::before { content: ""; position: absolute; top: -10px; left: 50%; width: 60px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: var(--tape); box-shadow: 0 1px 2px rgba(0,0,0,.12); z-index: 2; }
.spectacle-card:nth-child(4n+1) { --t: -1.4deg } .spectacle-card:nth-child(4n+2) { --t: 1deg } .spectacle-card:nth-child(4n+3) { --t: -.6deg } .spectacle-card:nth-child(4n+4) { --t: 1.5deg }
.spectacle-card:hover, .spectacle-card:focus-visible { transform: rotate(0) translateY(-8px) scale(1.04); box-shadow: 0 18px 28px rgba(0,0,0,.24); z-index: 3; }
.card-thumb { position: relative; aspect-ratio: 2/3; overflow: hidden; background: #d9d1bb; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-trailer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.spectacle-card:hover .card-trailer { opacity: 1; }
.card-overlay { display: none; }
.card-free-badge { position: absolute; top: 10px; right: -4px; z-index: 1; background: var(--pink); color: #fff; font-family: var(--f-display); font-size: 12px; padding: 3px 8px; border: 2px solid var(--ink); transform: rotate(8deg); }
.card-duration { position: absolute; right: 6px; bottom: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; }
.card-progress-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(0,0,0,.35); }
.card-progress-fill { height: 100%; background: var(--pink); }
.card-info { padding-top: 8px; }
.card-title { font-family: var(--f-body); font-size: 13px; font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.card-comedian { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.card-rating { display: flex; align-items: center; gap: 1px; margin-top: 4px; font-size: 12px; }
.star { color: #cfc6ad; }
.star.filled { color: var(--pink); }
.rating-count { font-size: 11px; color: var(--ink-3); margin-left: 4px; }
.row-wide .spectacle-card { width: 300px; }
.row-wide .card-thumb { aspect-ratio: 16/9; }
.slap { animation: slap .5s cubic-bezier(.3,1.5,.5,1) backwards; }
@keyframes slap { from { transform: scale(1.16) rotate(calc(var(--t, 0deg) * -2)); box-shadow: 0 30px 40px rgba(0,0,0,.3) } }

/* Top 5 */
.top5-row { gap: 6px; padding-bottom: 42px; margin-bottom: -22px; }
.top-item { display: flex; align-items: flex-end; }
.top-n { font-family: var(--f-display); font-size: 140px; line-height: .78; color: var(--yellow); -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); margin-right: -26px; position: relative; z-index: 0; }
.top-item .spectacle-card { width: 150px; z-index: 1; }

/* Humoristes */
.comedian-card { display: block; width: 150px; text-align: center; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 13px; text-transform: uppercase; }
.comedian-photo { width: 150px; height: 150px; object-fit: cover; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--ink), 5px 6px 0 3px var(--ink); transform: rotate(var(--t, -2deg)); transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.comedian-card:nth-child(3n+2) { --t: 2deg } .comedian-card:nth-child(3n) { --t: -1deg }
.comedian-card:hover .comedian-photo { transform: rotate(0) scale(1.06); }
.comedian-card .comedian-name { display: block; margin-top: 12px; }
.comedian-count { display: block; font-weight: 500; text-transform: none; color: var(--ink-3); margin-top: 2px; }

/* ── Bandeau abonnement, étapes, FAQ ────────────────── */
.offer-band { max-width: calc(1400px - 2 * var(--gutter)); margin: 40px auto 10px; width: calc(100% - 2 * var(--gutter)); background: var(--yellow); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 24px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; transform: rotate(-.5deg); }
.offer-band .price { font-family: var(--f-display); font-size: 60px; line-height: .9; }
.offer-band .price small { display: block; font-size: 15px; font-family: var(--f-body); font-weight: 700; margin-top: 6px; }
.stamps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.stamps li { border: 2px dashed var(--ink); padding: 4px 10px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.45); }
.stamps li:nth-child(odd) { transform: rotate(-1.5deg); } .stamps li:nth-child(even) { transform: rotate(1.2deg); }
.steps { max-width: 1400px; margin: 34px auto 0; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; background: var(--paper); border: 3px solid var(--ink); padding: 18px 18px 16px 70px; box-shadow: var(--shadow); }
.step:nth-child(2) { transform: rotate(.6deg); } .step:nth-child(3) { transform: rotate(-.5deg); }
.step-n { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--pink); color: #fff; border: 3px solid var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; }
.step h3 { font-family: var(--f-display); font-weight: 400; font-size: 18px; text-transform: uppercase; }
.step p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-top: 20px; }
.faq-item { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.faq-item:nth-child(4n+1) { transform: rotate(-.6deg) } .faq-item:nth-child(4n+2) { transform: rotate(.5deg) } .faq-item:nth-child(4n+3) { transform: rotate(.4deg) } .faq-item:nth-child(4n) { transform: rotate(-.4deg) }
.faq-item summary { cursor: pointer; list-style: none; padding: 13px 16px; font-weight: 800; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-display); color: var(--pink); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 16px 16px; color: var(--ink-2); }
.faq-more { margin-top: 18px; font-weight: 600; }
.faq-section { padding-bottom: 20px; }

/* ── Pied de page ───────────────────────────────────── */
.footer { background: var(--ink); color: #d8d1bd; margin-top: 56px; padding: 36px var(--gutter) 22px; }
.footer-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 30px; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 40ch; }
.footer-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-col h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.footer-col a, .footer-link-btn { color: #d8d1bd; text-decoration: none; font-size: 14px; background: none; border: 0; padding: 0; text-align: left; }
.footer-col a:hover, .footer-link-btn:hover { color: var(--yellow); }
.footer-copy { max-width: 1240px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid #333; font-size: 13px; text-align: center; color: #9d957f; }

/* ── Bandeau cookies (post-it) ──────────────────────── */
.cookie-banner { position: fixed; z-index: 250; right: 18px; bottom: 18px; max-width: 380px; background: #fff27a; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 16px 18px; transform: rotate(-1deg); }
.cookie-banner p { font-size: 14px; font-weight: 500; }
.cookie-banner a { color: var(--ink); font-weight: 700; }
.cookie-actions { display: flex; gap: 10px; margin-top: 12px; }

/* ── Transition de page « bandes d'affiche » ────────── */
.paper-wipe { position: fixed; inset: 0; z-index: 400; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; }
.paper-wipe span { transform: translateY(-101%); border-inline: 2px solid var(--ink); }
.paper-wipe span:nth-child(1), .paper-wipe span:nth-child(5) { background: var(--yellow); }
.paper-wipe span:nth-child(2) { background: var(--pink); }
.paper-wipe span:nth-child(3) { background: var(--ink); }
.paper-wipe span:nth-child(4) { background: var(--blue); }
.paper-wipe span:nth-child(2) { --k: 1; } .paper-wipe span:nth-child(3) { --k: 2; } .paper-wipe span:nth-child(4) { --k: 3; } .paper-wipe span:nth-child(5) { --k: 4; }
.paper-wipe.go span { animation: band-in .3s cubic-bezier(.5,0,.3,1.25) calc(var(--k, 0) * 45ms) both; }
.paper-wipe.out span { animation: band-out .3s cubic-bezier(.6,0,.4,1) calc(var(--k, 0) * 45ms) both; }
@keyframes band-in { from { transform: translateY(-101%) } to { transform: translateY(0) } }
@keyframes band-out { from { transform: translateY(0) } to { transform: translateY(101%) } }

/* ── Catalogue ──────────────────────────────────────── */
.catalogue-page { max-width: 1240px; margin: 0 auto; padding: 34px var(--gutter) 20px; }
.catalogue-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.catalogue-header h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 6.5vw, 86px); line-height: .9; text-transform: uppercase; }
.search-input { border: 3px solid var(--ink); background: #fff; padding: 10px 14px; width: 300px; box-shadow: var(--shadow); }
.catalogue-filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 8px; }
.catalogue-filters select { border: 3px solid var(--ink); background: var(--paper); padding: 8px 12px; font-family: var(--f-hand); font-size: 17px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.catalogue-filters select:nth-of-type(1) { transform: rotate(-1deg); } .catalogue-filters select:nth-of-type(2) { transform: rotate(1deg); } .catalogue-filters select:nth-of-type(3) { transform: rotate(-.6deg); }
.spectacles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 34px 20px; padding-top: 26px; }
.spectacles-grid .spectacle-card { width: auto; }

/* ── Page spectacle ─────────────────────────────────── */
.spectacle-page { max-width: 1240px; margin: 0 auto; padding: 26px var(--gutter) 10px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; align-items: start; }
.spectacle-page > .breadcrumb { grid-column: 1 / -1; margin-bottom: -10px; }
.player-container { position: relative; aspect-ratio: 16/9; background: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); overflow: hidden; }
.player-container iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(4px) brightness(.55); transform: scale(1.06); }
.preview-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; }
.overlay-content { background: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 20px 22px; max-width: 440px; text-align: center; transform: rotate(-1.2deg); }
.overlay-content h2 { font-family: var(--f-display); font-weight: 400; font-size: 24px; text-transform: uppercase; }
.overlay-content p { color: var(--ink-2); margin: 10px 0 16px; font-size: 15px; }
.overlay-content .btn { margin: 4px; }
.preview-note { margin-top: 16px; font-size: 14px; font-weight: 600; }
.spectacle-info h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 60px); line-height: .92; text-transform: uppercase; }
.spectacle-comedian { margin-top: 10px; font-family: var(--f-hand); font-size: 22px; }
.spectacle-comedian a { color: var(--blue); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.badge { display: inline-block; border: 3px solid var(--ink); padding: 3px 10px; font-weight: 800; font-size: 13px; background: var(--paper); }
.badge:nth-child(odd) { transform: rotate(-1.5deg); } .badge:nth-child(even) { transform: rotate(1.2deg); }
.badge-free { background: var(--pink); color: #fff; }
.badge-success { background: #c9f2d6; }
.badge-grey { background: #e9e3d2; }
.spectacle-desc { font-weight: 500; margin-bottom: 18px; }
.spectacle-actions { margin: 6px 0 20px; }
#favBtn { position: relative; }
.bit { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; pointer-events: none; animation: burst .8s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--dr)); opacity: 0 } }
.rating-section { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); padding: 14px 16px; }
.rating-title { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; font-family: var(--f-body); }
.star-rating { display: flex; gap: 4px; margin-top: 8px; }
.star-input { font-size: 36px; line-height: 1; color: #cfc6ad; cursor: pointer; transition: transform .1s; }
.star-input:hover { transform: scale(1.15); }
.star-input.active { color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); }
.star-input.stamp { animation: stamp .35s cubic-bezier(.3,1.8,.5,1) both; animation-delay: calc(var(--k, 0) * 50ms); }
@keyframes stamp { from { transform: scale(2.2) rotate(-20deg); opacity: 0 } }
.rating-message { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.avg-rating-display { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 2px dashed var(--ink); }
.avg-stars { font-family: var(--f-display); font-size: 32px; line-height: 1; }
.stars-display { display: flex; font-size: 18px; }
.related-section, .comments-section { max-width: 1240px; margin: 0 auto; padding: 32px var(--gutter) 0; }
.container > .related-section, .container > .comments-section { padding-inline: 0; }
.comment-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-top: 18px; }
.comment-form textarea { flex: 1 1 320px; min-height: 80px; border: 3px solid var(--ink); background: #fff; padding: 10px 12px; box-shadow: var(--shadow); resize: vertical; }
.comments-list { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 22px; }
.comment-row { width: 240px; min-height: 150px; padding: 16px 14px 12px; background: #fff27a; box-shadow: 0 10px 18px rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 8px; }
.comment-row:nth-child(3n+1) { transform: rotate(-1.5deg); } .comment-row:nth-child(3n+2) { background: #ffc4dc; transform: rotate(1.2deg); } .comment-row:nth-child(3n) { background: #c9e4ff; transform: rotate(-.6deg); }
.comment-row.new { animation: pin .5s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pin { from { transform: translateY(-60px) rotate(20deg) scale(1.2); opacity: 0 } }
.comment-avatar { display: none; }
.comment-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; order: 2; }
.comment-date { color: var(--ink-3); }
.comment-body { display: contents; }
.comment-body p { font-family: var(--f-hand); font-size: 17px; line-height: 1.3; order: 1; overflow-wrap: anywhere; }
.comment-body form { order: 3; }
.comment-delete { background: none; border: 0; font-size: 12px; text-decoration: underline; color: var(--ink-3); }
.comments-section > p { margin-top: 16px; font-weight: 600; }

/* ── Humoristes ─────────────────────────────────────── */
.comedians-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 36px 22px; padding-top: 28px; justify-items: center; }
.comedians-grid .comedian-card { width: 150px; }
.comedian-profile-header { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; margin-top: 8px; }
.comedian-profile-photo { width: 190px; height: 190px; object-fit: cover; border: 7px solid #fff; box-shadow: 0 0 0 3px var(--ink), 7px 8px 0 3px var(--ink); transform: rotate(-3deg); }
.comedian-profile-header h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 5.5vw, 72px); line-height: .9; text-transform: uppercase; }
.comedian-profile-count { font-family: var(--f-hand); font-size: 20px; color: var(--blue); margin-top: 6px; }
.comedian-bio { max-width: 68ch; margin-top: 12px; background: var(--paper); border: 3px solid var(--ink); padding: 12px 16px; box-shadow: var(--shadow); font-weight: 500; }
.section-subtitle { margin-top: 40px; }

/* ── Abonnement ─────────────────────────────────────── */
.abonnement-page { max-width: 900px; margin: 0 auto; padding: 36px var(--gutter) 10px; }
.abonnement-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 7vw, 90px); line-height: .9; text-transform: uppercase; }
.abonnement-hero .sub { font-size: 19px; font-weight: 500; margin-top: 14px; }
.pricing-card { position: relative; margin: 36px auto 0; max-width: 460px; background: var(--yellow); border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 34px 28px 24px; transform: rotate(-1deg); }
.pricing-badge { position: absolute; top: -18px; right: -14px; background: var(--pink); color: #fff; border: 3px solid var(--ink); font-family: var(--f-hand); font-size: 18px; padding: 6px 12px; transform: rotate(6deg); }
.price { font-family: var(--f-display); font-size: 72px; line-height: 1; }
.price span { font-size: 22px; }
.pricing-features { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; font-weight: 600; }
.stripe-note { margin-top: 14px; font-size: 13px; font-weight: 500; text-align: center; }
.pricing-login { text-align: center; margin-top: 12px; font-weight: 600; }
.free-offer { margin: 40px auto 0; max-width: 560px; text-align: center; background: var(--paper); border: 3px dashed var(--ink); padding: 20px; }
.free-offer p { margin-bottom: 14px; font-weight: 500; }
.already-subscribed { margin: 36px auto 0; max-width: 460px; background: #c9f2d6; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 26px; text-align: center; }
.success-icon { font-size: 54px; line-height: 1; margin-bottom: 8px; }
.abonnement-page .faq-section { padding-inline: 0; margin-top: 30px; }
.abonnement-page .faq-section h2 { display: inline-block; font-family: var(--f-display); font-weight: 400; font-size: 28px; text-transform: uppercase; background: var(--ink); color: #fff; padding: 2px 12px 5px; transform: rotate(-1deg); margin-bottom: 18px; }
.abonnement-page .faq-section .faq-item + .faq-item { margin-top: 14px; }

/* ── Pages simples (contact, légal, erreur…) ────────── */
.narrow-page { max-width: 780px; margin: 0 auto; padding: 36px var(--gutter) 10px; }
.narrow-page h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 6vw, 70px); line-height: .92; text-transform: uppercase; }
.contact-form { margin-top: 26px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 26px; transform: rotate(-.4deg); }
.form-group { display: grid; gap: 6px; margin-bottom: 16px; }
.form-group label { font-weight: 800; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select { border: 3px solid var(--ink); background: #fff; padding: 10px 12px; width: 100%; }
.form-group input:focus, .form-group textarea:focus, .search-input:focus, .comment-form textarea:focus { outline: 3px solid var(--pink); outline-offset: 0; }
.form-group small { color: var(--ink-3); font-size: 13px; }
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.legal-page h2 { font-family: var(--f-display); font-weight: 400; font-size: 22px; text-transform: uppercase; margin: 30px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-2); line-height: 1.7; }
.legal-page ul { padding-left: 20px; }
mark.todo { background: #ffe066; color: #7a5b00; padding: 1px 4px; }
.error-page { text-align: center; padding: 60px var(--gutter) 20px; }
.error-emoji { font-size: 70px; line-height: 1; }
.error-page h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 5vw, 56px); text-transform: uppercase; margin-top: 12px; }
.error-page .page-intro { margin: 12px auto 26px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Connexion / inscription ────────────────────────── */
.auth-page { display: grid; place-items: center; padding: 44px var(--gutter) 10px; }
.auth-card { width: min(440px, 100%); background: var(--paper); border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 28px 26px; transform: rotate(-.6deg); }
.auth-logo { height: 60px; width: auto; margin: 0 auto 10px; }
.auth-card h2 { font-family: var(--f-display); font-weight: 400; font-size: 34px; text-transform: uppercase; text-align: center; margin-bottom: 18px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-family: var(--f-hand); font-size: 18px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 3px dashed var(--ink); }
.auth-switch { text-align: center; margin-top: 16px; font-weight: 600; }

/* ── Profil ─────────────────────────────────────────── */
.profil-page { max-width: 1240px; margin: 0 auto; padding: 36px var(--gutter) 10px; }
.profil-header { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.profil-avatar-wrap { position: relative; cursor: pointer; }
.profil-avatar { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 3px var(--ink), 5px 6px 0 3px var(--ink); background: #d9d1bb; }
.avatar-edit-overlay { position: absolute; right: -4px; bottom: 0; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; }
.profil-header h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 5vw, 60px); line-height: .95; text-transform: uppercase; }
.profil-email { color: var(--ink-3); margin: 4px 0 8px; }
.profil-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.profil-actions form { display: contents; }
.badges-section, .profil-section { margin-top: 40px; }
.badges-section h2, .profil-section h2 { display: inline-block; font-family: var(--f-display); font-weight: 400; font-size: 24px; text-transform: uppercase; background: var(--ink); color: #fff; padding: 2px 12px 4px; transform: rotate(-1deg); margin-bottom: 18px; }
.badges-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 16px; }
.badge-card { background: var(--paper); border: 3px solid var(--ink); padding: 12px 8px; text-align: center; box-shadow: 3px 3px 0 var(--ink); }
.badge-card.earned { background: var(--yellow); }
.badge-card.locked { opacity: .5; filter: grayscale(1); box-shadow: none; }
.badge-icon { font-size: 30px; }
.badge-name { font-size: 12px; font-weight: 800; margin-top: 4px; }
.ratings-list { display: grid; gap: 10px; }
.rating-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; background: var(--paper); border: 3px solid var(--ink); padding: 8px 12px; text-decoration: none; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.rating-row img { width: 60px; height: 40px; object-fit: cover; }
.rating-row strong { display: block; }
.comedian-sm { font-size: 13px; color: var(--ink-3); }
.stars-sm { color: var(--pink); white-space: nowrap; }
.avatar-modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(17,17,17,.6); align-items: center; justify-content: center; padding: 16px; }
.avatar-modal { position: relative; width: min(520px, 100%); max-height: 90vh; overflow: auto; background: var(--paper); border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); padding: 24px; }
.avatar-modal h3 { font-family: var(--f-display); font-weight: 400; font-size: 24px; text-transform: uppercase; margin-bottom: 16px; }
.avatar-modal h4 { font-size: 14px; margin-bottom: 8px; }
.avatar-modal-option { margin-bottom: 18px; }
.avatar-modal-option form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.avatar-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; background: var(--ink); color: #fff; border: 0; }
.avatar-comedians-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 10px; }
.avatar-comedian-option button { border: 3px solid var(--ink); padding: 0; background: none; }
.avatar-comedian-option img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.loading-spinner { width: 32px; height: 32px; border: 4px solid var(--ink); border-top-color: var(--pink); border-radius: 50%; animation: spin .8s linear infinite; margin: 20px auto; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 1060px) {
  .nav-search input { width: 180px; }
}
@media (max-width: 900px) {
  :root { --gutter: 16px; }
  .navbar-inner { gap: 12px; padding-block: 8px; }
  .navbar-brand img { height: 36px; }
  .nav-search, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .navbar-links { position: fixed; inset: 0; z-index: 150; background: var(--yellow); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; padding: 80px 24px 24px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; }
  .navbar-links.open { visibility: visible; opacity: 1; transition: opacity .2s; }
  .navbar-links .nav-link { color: var(--ink); font-family: var(--f-display); font-size: 42px; letter-spacing: 0; line-height: 1.05; border: 0; padding: 2px 0; }
  .navbar-links .nav-link.active { color: var(--pink); }
  .navbar-links.open .nav-link { animation: drop .6s cubic-bezier(.3,1.6,.5,1) both; }
  .navbar-links.open .nav-link:nth-child(2) { animation-delay: .06s } .navbar-links.open .nav-link:nth-child(3) { animation-delay: .12s } .navbar-links.open .nav-link:nth-child(4) { animation-delay: .18s } .navbar-links.open .nav-link:nth-child(5) { animation-delay: .24s }
  .mobile-menu-actions { display: grid; gap: 12px; width: 100%; margin-top: 26px; }
  body.menu-open .nav-toggle { position: fixed; top: 14px; right: 16px; z-index: 160; background: var(--ink); color: #fff; }
  .hero { grid-template-columns: 1fr; padding-block: 28px 40px; }
  .pop-title { font-size: 15.5vw; }
  .hero { padding-bottom: 56px; }
  .poster-stack { position: absolute; right: 14px; bottom: 44px; width: 104px; }
  .poster-stack .sheet { padding: 5px; }
  .poster-stack .sheet::before { width: 44px; height: 14px; top: -7px; }
  .actions { flex-direction: column; align-items: flex-start; max-width: calc(100% - 130px); }
  .hero-hint { display: none; }
  .lead { font-size: 16px; }
  .marquee span { font-size: 22px; }
  .spectacle-card { width: 140px; }
  .row-wide .spectacle-card { width: 250px; }
  .top-n { font-size: 104px; margin-right: -20px; }
  .top-item .spectacle-card { width: 124px; }
  .comedian-card, .comedians-grid .comedian-card { width: 120px; }
  .comedian-photo { width: 120px; height: 120px; }
  .scroll-arrow { display: none; }
  .offer-band { grid-template-columns: 1fr; }
  .steps, .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .spectacle-page { grid-template-columns: 1fr; }
  .comedian-profile-header { grid-template-columns: 1fr; }
  .comedian-profile-photo { width: 150px; height: 150px; }
  .search-input { width: 100%; }
  .spectacles-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .comedians-grid { grid-template-columns: repeat(2, 1fr); }
  .comment-row { width: 100%; }
  .cookie-banner { left: 12px; right: 12px; max-width: none; }
  .rating-row { grid-template-columns: 50px 1fr; }
  .stars-sm { grid-column: 2; }
}

/* ── Mouvements réduits ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee .track { animation: none; }
}

/* Arrivée après la transition : les bandes couvrent déjà la page */
.wiping .paper-wipe span { transform: translateY(0); }

/* Les ancres ne se cachent pas sous l'en-tête collant */
[id] { scroll-margin-top: 84px; }
.mobile-search input { width: 100%; border: 3px solid var(--ink); background: #fff; padding: 11px 14px; box-shadow: var(--shadow); }

/* ══════════════════════════════════════════════════════
   ADMIN — même habillage « Affiche pop »
   ══════════════════════════════════════════════════════ */
/* Anciens noms de couleurs encore utilisés dans les pages admin (styles en ligne, page TikTok) */
:root {
  --bg: #ffffff; --bg2: var(--paper); --bg3: #efe8d6; --card-bg: var(--paper);
  --border: var(--ink); --text: var(--ink); --text-muted: var(--ink-3);
  --accent: var(--pink); --primary: var(--pink-dark); --success: var(--green); --danger: #d8322b;
  --font: var(--f-body); --font-title: var(--f-display); --radius: 0px;
}
.admin-layout { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px var(--gutter) 10px; align-items: start; }
.admin-sidebar { position: sticky; top: 84px; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); padding: 18px 14px; }
.admin-logo { font-family: var(--f-display); font-size: 22px; text-transform: uppercase; margin-bottom: 14px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 6px; }
.admin-sidebar nav a { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.admin-sidebar nav a:hover { border-color: var(--ink); background: #fff; }
.admin-sidebar nav a.active { background: var(--yellow); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.admin-sidebar nav a:last-child { margin-top: 10px; color: var(--ink-3); }
.badge-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; background: var(--pink); color: #fff; border: 2px solid var(--ink); border-radius: 11px; font-size: 12px; font-weight: 800; margin-left: 6px; }
.admin-main { min-width: 0; }
.admin-main h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: .95; text-transform: uppercase; margin-bottom: 24px; }
.admin-main h2 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin-bottom: 34px; }
.stat-card { background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); padding: 18px 16px; text-align: center; }
.stat-card:nth-child(odd) { transform: rotate(-.6deg); } .stat-card:nth-child(even) { transform: rotate(.5deg); }
.stat-card.accent { background: var(--yellow); }
.stat-number { font-family: var(--f-display); font-size: 40px; line-height: 1; color: var(--ink); }
.stat-label { font-weight: 700; font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.admin-section { margin-bottom: 36px; }
.admin-section-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-section-header h1, .admin-section-header h2 { margin: 0; }
.admin-section-header h2 { display: inline-block; font-size: 22px; background: var(--ink); color: #fff; padding: 2px 12px 4px; transform: rotate(-1deg); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); }
.admin-table th { background: var(--ink); color: #fff; text-align: left; padding: 10px 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.admin-table td { padding: 10px 12px; border-top: 2px solid #e4dcc6; font-size: 14px; vertical-align: middle; }
.admin-table tr:hover td { background: #fff8d6; }
.admin-table img { max-width: 70px; }
.actions-cell { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions-cell form { display: inline; }
.admin-form { max-width: 820px; background: var(--paper); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkbox-group label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; }
.checkbox-group input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--pink); }
.form-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.duration-inputs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.duration-field { display: flex; align-items: center; gap: 6px; }
.duration-field input { width: 70px; text-align: center; }
.duration-field span { color: var(--ink-3); font-weight: 700; }
.form-group input[type="file"] { background: #fff; }
/* Page TikTok : ses propres styles utilisent les couleurs ci-dessus ; quelques retouches */
.tt-cycle, .tt-card { border-width: 3px !important; box-shadow: var(--shadow); }
.tt-tabs a { text-decoration: none; font-weight: 700; }
.tt-tabs a.active { background: var(--yellow); }
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
  .admin-sidebar nav { flex-direction: row; overflow-x: auto; }
  .admin-sidebar nav a { flex: 0 0 auto; }
  .admin-sidebar nav a:last-child { margin-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .admin-table { display: block; overflow-x: auto; }
}

/* Titre de l'accueil « MORT2RIRE » sur une seule ligne, le 2 en rose comme le logo */
.brand-title { font-size: clamp(44px, 7vw, 96px); white-space: nowrap; }
.brand-title .w { display: inline; }
@media (max-width: 900px) { .pop-title.brand-title { font-size: 12.8vw; } }

/* Crédit photo (licences libres) sous le visuel de l'humoriste */
.comedian-figure { margin: 0; display: grid; gap: 10px; justify-items: center; }
.photo-credit { max-width: 210px; font-size: 11px; line-height: 1.35; color: var(--ink-3); text-align: center; }
.photo-credit a { color: var(--ink-2); }

/* Textes d'appoint : Rubik gras (remplace l'écriture manuscrite) */
.empty-state, .sticker, .catalogue-filters select, .spectacle-comedian, .comedian-profile-count, .pricing-badge, .divider { font-weight: 800; }
.sticker, .pricing-badge { text-transform: uppercase; letter-spacing: .02em; font-size: 16px; }
.sticker.round { font-size: 15px; }
.spectacle-comedian { font-size: 19px; }
.comment-body p { font-weight: 500; font-size: 16px; line-height: 1.45; }

/* Catalogue : spectacles offerts sur YouTube, en bas, vignettes 16:9 */
.catalogue-offered { margin-top: 64px; padding-top: 30px; border-top: 4px dashed var(--ink); }
.spectacles-grid.grid-wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-wide .card-thumb { aspect-ratio: 16/9; }
@media (max-width: 760px) { .spectacles-grid.grid-wide { grid-template-columns: 1fr; } }
