/* Thème clair par défaut ; body.theme-dark = ambiance sombre (réglable dans l'admin) */
:root {
  --bg: #ffffff;
  --bg-2: #f7f2ea;
  --card: #ffffff;
  --line: rgba(22, 26, 46, .10);
  --line-strong: rgba(22, 26, 46, .28);
  --text: #3a3f57;
  --heading: #141830;
  --muted: #666c8a;
  --accent: #d11f28;
  --input-bg: #ffffff;
  --ph: #e8eaf2;
  --card-shadow: 0 12px 32px -14px rgba(20, 24, 50, .22);
  --img-shadow: 0 24px 50px -22px rgba(20, 24, 50, .45);
  --gold: #a87200;
  --ok: #17864a;
  --red: #e3262f;
  --red-2: #c81d25;
  --navy: #1b3b8f;
  --night: #11152a;
  --cream: #f7f2ea;
  --radius: 14px;
  --display: 'Alfa Slab One', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}
body.theme-dark {
  --bg: #0b0d17;
  --bg-2: #11152a;
  --card: #171c36;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .35);
  --text: #d6d9e6;
  --heading: #ffffff;
  --muted: #a3a9c2;
  --accent: #ff4b50;
  --input-bg: #171c36;
  --ph: #20264a;
  --card-shadow: none;
  --img-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  --gold: #f2b53a;
  --ok: #5fd38d;
  --red-2: #ff4b50;
}
/* Ambiance intermédiaire : bleu nuit adouci, tiré du bleu du logo */
body.theme-mid {
  --bg: #1c2242;
  --bg-2: #242b52;
  --card: #2b335e;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .4);
  --text: #dde1ee;
  --heading: #ffffff;
  --muted: #b0b6cf;
  --accent: #ff5a5f;
  --input-bg: #242b52;
  --ph: #354070;
  --card-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5);
  --img-shadow: 0 24px 50px -22px rgba(0, 0, 0, .6);
  --gold: #f5bf4f;
  --ok: #5fd38d;
  --red-2: #ff4b50;
}
/* Zones toujours sombres (photo de scène, menu, pied de page) */
.topbar, .hero, .page-head.has-img, .footer, .cta, .lightbox {
  --text: #e3e6f0;
  --heading: #ffffff;
  --muted: #b4b9cf;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .4);
  --accent: #ff5a5f;
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; color: var(--heading); }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1440px, 100% - clamp(32px, 8vw, 160px)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--red); color: #fff; text-decoration: none; font-weight: 700; padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--red); transition: transform .15s, background .15s; cursor: pointer; font: 700 16px/1.2 var(--sans); }
.btn:hover { background: var(--red-2); border-color: var(--red-2); transform: translateY(-2px); }
.btn-sm { padding: .55em 1.1em; font-size: 14px; }
.btn-lg { padding: 1em 1.8em; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover { background: transparent; border-color: var(--heading); }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: var(--cream); border-color: var(--cream); }
.link { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.link:hover { color: var(--accent); }

/* En-tête */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.topbar.solid, .topbar.open { background: color-mix(in srgb, var(--night) 96%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: #d8dbe8; position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--red); transition: right .2s; }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { right: 0; }
.nav a[aria-current] { color: #fff; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }
.topbar.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.topbar.open .burger span:nth-child(2) { opacity: 0; }
.topbar.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 64px; isolation: isolate; background: var(--night); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; filter: brightness(1.15) saturate(1.1); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,13,23,.85) 0%, rgba(11,13,23,.4) 55%, rgba(11,13,23,.05) 100%), linear-gradient(0deg, rgba(11,13,23,.55) 0%, transparent 35%); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); margin: 0 0 28px; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: 13px; margin: 0 0 12px; }
.kicker a { color: inherit; text-decoration: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-next { background: color-mix(in srgb, var(--night) 72%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 20px; padding: 28px; border-top: 4px solid var(--red); }
.hero-edition { font-family: var(--display); font-size: 30px; margin: 0 0 12px; line-height: 1.1; color: #fff; }
.hero-when, .hero-where { display: flex; gap: 10px; align-items: center; margin: 4px 0; color: #e6e8f2; }
.hero-when { font-weight: 700; }
.hero-when::first-letter, .event-date::first-letter { text-transform: uppercase; }
.hero-when svg, .hero-where svg { color: var(--accent); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.countdown span { background: rgba(255,255,255,.08); border-radius: 10px; text-align: center; padding: 10px 4px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* En-tête de page */
.page-head { position: relative; padding: 150px 0 60px; isolation: isolate; background: radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--red) 14%, transparent), transparent 55%), radial-gradient(ellipse at 90% 40%, color-mix(in srgb, var(--navy) 14%, transparent), transparent 55%), var(--bg-2); border-bottom: 1px solid var(--line); }
.page-head.has-img { padding: 190px 0 70px; background: var(--night); border-bottom: 0; }
.page-head-bg { position: absolute; inset: 0; z-index: -1; }
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-head-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,13,23,.8) 0%, rgba(11,13,23,.45) 100%); }
.page-head h1 { font-size: clamp(38px, 6vw, 72px); margin: 0; }
.page-head p:not(.kicker) { color: var(--text); font-size: 19px; max-width: 640px; margin: 12px 0 0; }

/* Sections */
.sec { padding: 88px 0; }
.sec-alt { background: var(--bg-2); }
.sec-light { background: var(--cream); color: #3a3f57; --heading: #141830; }
.sec-head { margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 48px); margin: 0; }
.sec-head h2::after { content: ''; display: block; width: 64px; height: 5px; background: var(--red); border-radius: 3px; margin-top: 16px; }
.center .sec-head h2::after, .center.sec-head h2::after { margin-inline: auto; }
.prose { color: var(--text); }
.prose h2, .prose h3 { font-size: 26px; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 22px; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--accent); }
.prose strong { color: var(--heading); }
.prose blockquote { border-left: 4px solid var(--red); margin: 1.5em 0; padding: .2em 0 .2em 1.2em; font-size: 20px; color: var(--heading); }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.empty { color: var(--muted); background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; text-align: center; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split.img-left .split-img { order: -1; }
.split-img img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--img-shadow); }
.split-img.portrait img { aspect-ratio: 4/5; object-position: top; max-height: 620px; }
.parrain .split { grid-template-columns: minmax(0, 500px) 1fr; }
.split-text { max-width: 640px; }
.split-text .btn { margin-top: 12px; }

/* Événements */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.event-card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--card-shadow); display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.event-card:hover { transform: translateY(-4px); border-color: rgba(227,38,47,.5); }
.event-img { position: relative; aspect-ratio: 4/5; background: var(--ph); overflow: hidden; }
.event-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.event-card:hover .event-img img { transform: scale(1.04); }
.event-when { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.event-when .event-date { margin: 0; }
.date-badge { flex: none; background: var(--red); color: #fff; border-radius: 10px; padding: 6px 10px; text-align: center; font-size: 12px; text-transform: uppercase; font-weight: 700; line-height: 1.1; min-width: 52px; }
.date-badge b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; }
.event-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.event-date { color: var(--accent); font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.event-body h3 { font-family: var(--sans); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.event-body h3 a { text-decoration: none; }
.event-place { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.event-actions { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.events.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
/* Agenda : les spectacles restent centrés quel que soit leur nombre (dernière ligne incomplète comprise),
   sauf si un nombre de colonnes a été réglé à la main sur la partie */
section:not([data-cols]) .events:not(.solo):not(.small) { display: flex; flex-wrap: wrap; justify-content: center; }
section:not([data-cols]) .events:not(.solo):not(.small) > .event-card { flex: 0 1 280px; min-width: 0; }
@media (max-width: 640px) { section:not([data-cols]) .events:not(.solo):not(.small) > .event-card { flex-basis: 100%; } }
.events.small .event-body h3 { font-size: 16px; }
.events.small .event-img { aspect-ratio: 1; }
.events.solo { grid-template-columns: minmax(0, 1fr); }
.events.solo .event-card { flex-direction: row; }
.events.solo .event-img { width: 42%; flex: none; aspect-ratio: auto; min-height: 340px; }
.events.solo .event-img img { object-position: center; }
.events.solo .event-body { padding: 32px; justify-content: center; }
.events.solo .event-body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.events.solo .event-date { font-size: 16px; }
.events.solo .event-actions { margin-top: 12px; }
@media (max-width: 640px) { .events.solo .event-card { flex-direction: column; } .events.solo .event-img { width: 100%; min-height: 0; aspect-ratio: 4/3; } .events.solo .event-img img { object-position: left top; } .events.solo .event-body { padding: 22px; } }
.archive { margin-top: 72px; }
.archive details { border-top: 1px solid var(--line); }
.archive summary { cursor: pointer; padding: 18px 0; font-family: var(--display); font-size: 26px; color: var(--heading); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary span { font: 500 14px var(--sans); color: var(--muted); }
.archive summary::after { content: '+'; font-family: var(--sans); color: var(--accent); margin-left: 12px; }
.archive details[open] summary::after { content: '–'; }
.archive details > .events { padding-bottom: 32px; }

/* Humoristes */
.artists { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; margin-bottom: 36px; }
.artist { text-decoration: none; display: block; }
.artist[hidden] { display: none; } /* masquée par la recherche */
.artist-photo { display: block; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--ph); position: relative; box-shadow: var(--card-shadow); }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.artist:hover .artist-photo img { transform: scale(1.05); }
.artist-photo::after { content: ''; position: absolute; inset: auto 0 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.artist:hover .artist-photo::after { transform: scaleX(1); }
.artist-name { display: block; font-weight: 700; margin-top: 12px; font-size: 17px; color: var(--heading); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--night)); }
.initials { font-family: var(--display); font-size: 42px; color: rgba(255,255,255,.75); }
.initials.big { aspect-ratio: 3/4; border-radius: 20px; font-size: 90px; }
.search { margin-bottom: 28px; }
.search input { width: min(420px, 100%); background: var(--input-bg); border: 1px solid var(--line-strong); color: var(--heading); font: inherit; padding: 12px 18px; border-radius: 999px; }
.search input:focus { outline: 2px solid var(--red); outline-offset: 1px; }

/* Palmarès */
.palmares { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.palm { background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: var(--radius); padding: 22px; }
.palm p { margin: 0 0 10px; font-weight: 700; color: var(--heading); }
.palm small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.palm-ed { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 400 !important; font-size: 22px; color: var(--gold) !important; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px !important; }
.palm-prize { margin: 0 0 14px; }
.palm-prize small { margin-bottom: 8px; }
.palm-winner { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-weight: 700; color: var(--heading); text-decoration: none; }
a.palm-winner:hover span:last-child { color: var(--gold); }
.palm-photo { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); display: grid; place-items: center; background: var(--line); }
.palm-photo img { width: 100%; height: 100%; object-fit: cover; }
.palm-photo .ph { font-size: 26px; }
.palm-ed em { margin-left: auto; font: 500 14px var(--sans); color: var(--muted); }

/* Galerie */
.gallery { columns: 5 220px; column-gap: 14px; }
.g-item { display: block; margin-bottom: 14px; border-radius: 10px; overflow: hidden; break-inside: avoid; }
.g-item img { width: 100%; transition: transform .4s, opacity .3s; }
.g-item:hover img { transform: scale(1.04); opacity: .9; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,6,12,.95); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 34px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { background: var(--red); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-cap { position: absolute; bottom: 16px; color: var(--muted); margin: 0; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 20px; }
.member { text-align: center; }
.member-photo { display: block; width: 150px; height: 150px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; border: 3px solid var(--red); background: var(--ph); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member-photo .initials { font-size: 38px; }
.member-name { font-weight: 700; margin: 0; text-transform: capitalize; color: var(--heading); }
.member-role { color: var(--muted); margin: 0; font-size: 14px; }

/* Équipe en organigramme */
.org { --line-org: var(--line-strong); display: grid; justify-items: center; }
.org-level { display: grid; justify-items: center; width: 100%; }
.org-level + .org-level, .org-poles { margin-top: 44px; }
.org-title { margin: 0 0 14px; color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: 13px; }
.org-row { --w: 170px; position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.org-row > .member { width: var(--w); position: relative; }
.org-lvl-top .member-photo { width: 190px; height: 190px; border-width: 4px; }
.org-lvl-top .member-name { font-size: 21px; }
/* chaque pôle sur sa ligne : le nom au-dessus, les membres côte à côte */
.org-poles { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.org-pole { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--red); box-shadow: var(--card-shadow); border-radius: var(--radius); padding: 18px 22px 22px; }
.org-pole-title { font-size: 22px; text-align: left; margin: 0 0 16px; }
.org-pole-members { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 18px 22px; min-height: 60px; }
.org-pole-members > .member { width: 130px; }
.org-pole .member-photo { width: 96px; height: 96px; border-width: 2px; }
.org-pole .member-name { font-size: 15px; }
.org-pole .member-role { font-size: 13px; }
[data-photo] .org .member-photo { width: var(--blk-photo); height: var(--blk-photo); }
@media (max-width: 700px) {
  .org-row { --w: 140px; }
  .org-pole-members > .member { width: calc(50% - 11px); }
  .org-lvl-top .member-photo { width: 150px; height: 150px; }
}

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.partners > * { background: #fff; border: 1px solid rgba(22,26,46,.08); border-radius: 12px; display: grid; place-items: center; padding: 16px; aspect-ratio: 3/2; }
.partners img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.partners > *:hover img { filter: none; opacity: 1; }

/* Appel à l'action */
.cta { background: linear-gradient(120deg, var(--red) 0%, var(--red-2) 60%, var(--navy) 140%); border-radius: 24px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(200, 29, 37, .6); }
.cta::before { content: ''; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); }
.cta h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 6px; }
.cta p { margin: 0; color: rgba(255,255,255,.9); font-size: 18px; max-width: 560px; }

/* Instagram */
.insta h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 20px; }
.insta p { color: var(--muted); font-size: 19px; margin: 0; }
.insta-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: #fff; padding: 10px 20px; border-radius: 999px; background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.insta-link svg { width: 22px; height: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--heading); }
.contact-form small { color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form textarea { background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--heading); font: inherit; font-weight: 400; padding: 12px 14px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 700; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--accent); }
.contact-info { display: grid; gap: 14px; }
.contact-info > * { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; margin: 0; color: var(--heading); }
.contact-info svg { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.contact-info small { display: block; color: var(--muted); font-size: 13px; }

/* Page protégée */
.unlock { max-width: 460px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: 20px; padding: 36px; text-align: center; display: grid; gap: 14px; }
.unlock > svg { width: 44px; height: 44px; color: var(--accent); margin: 0 auto; }
.unlock h2 { font-size: 30px; margin: 0; }
.unlock p { color: var(--muted); margin: 0; }
.unlock-field { display: grid; gap: 6px; text-align: left; font-weight: 700; font-size: 15px; color: var(--heading); }
.unlock-field input { background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--heading); font: inherit; padding: 12px 14px; }
.unlock-field input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.unlock .btn { justify-content: center; }
.nav .lock { width: .85em; height: .85em; vertical-align: -1px; opacity: .7; }

.admin-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; width: min(760px, calc(100% - 32px)); display: flex; gap: 12px; align-items: flex-start; background: #fff3dc; color: #5c3b00; border: 1px solid #f1c77d; border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.45; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.admin-banner svg { width: 20px; height: 20px; color: #a86400; margin-top: 1px; }

/* Fiche détail */
.detail { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 56px; align-items: start; }
.detail-img img { border-radius: 20px; width: 100%; box-shadow: var(--img-shadow); }
.detail-img.portrait img { aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.facts { background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: var(--radius); padding: 22px; margin-bottom: 32px; display: grid; gap: 14px; color: var(--heading); }
.facts p { display: flex; gap: 12px; margin: 0; }
.facts svg { color: var(--accent); width: 22px; height: 22px; margin-top: 3px; }
.facts small { display: block; color: var(--muted); font-size: 13px; }
.facts span { text-transform: none; }
.facts .btn { justify-self: start; }
.video { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }

/* Pied de page */
.footer { background: var(--night); border-top: 4px solid var(--red); padding: 64px 0 24px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 54px; width: auto; margin-bottom: 14px; }
.footer h3 { font-family: var(--sans); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .12em; }
.footer a { display: block; text-decoration: none; margin: 6px 0; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.social { display: grid !important; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); margin: 0 !important; }
.social:hover { background: var(--red); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; font-size: 13px; }
.footer-bottom a { display: inline; }

/* Photo seule */
.single-img { margin: 0 auto; text-align: center; }
.single-img.size-small { max-width: 420px; }
.single-img.size-medium { max-width: 860px; }
.single-img img { width: 100%; border-radius: 20px; box-shadow: var(--img-shadow); }
.single-img.square img { border-radius: 0; }
.single-img figcaption { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Cases */
.intro { max-width: 760px; margin-bottom: 32px; }
.cards { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-box { background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 22px; margin: 0; }
.card-body p { margin: 0; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card-box.no-img { border-top: 4px solid var(--red); }

/* Commentaires / avis */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; font-size: 18px; color: var(--heading); font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption small { display: block; color: var(--muted); font-size: 14px; }
.quote b { color: var(--heading); }
.quote-photo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid var(--red); }
.quote-photo img { width: 100%; height: 100%; object-fit: cover; }
.stars { margin: 0; color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.stars span { opacity: .25; }

/* Encadré libre */
.fbox { margin-inline: auto; max-width: 720px; border-radius: var(--radius); }
.fbox.size-small { max-width: 480px; }
.fbox.size-large { max-width: 1000px; }
.fbox.size-full { max-width: none; }
.fbox.frame-card { background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); padding: clamp(22px, 4vw, 40px); }
.fbox.frame-outline { border: 2px solid var(--red); padding: clamp(22px, 4vw, 40px); }
.fbox.frame-accent { background: var(--red); color: #fff; padding: clamp(22px, 4vw, 40px); }
.fbox.frame-accent :is(h3, blockquote, .kicker) { color: #fff; }
.fbox.frame-accent .btn:not(.btn-ghost, .btn-light) { background: #fff; color: var(--red); border-color: #fff; }
.fbox.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.fbox.side:not(.size-small, .size-full) { max-width: 1000px; }
.fbox.side.img-right .fbox-media { order: 2; }
.fbox-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fb-el { margin: 0; }
.fb-image { width: 100%; }
.fb-image[data-size=medium] { max-width: 420px; }
.fb-image[data-size=small] { max-width: 200px; }
.fb-image img { width: 100%; border-radius: calc(var(--radius) * .8); display: block; }
.fb-image[data-round] img { aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.fb-image .ed-img { min-height: 160px; }
.fb-title { font-size: 28px; }
.fb-title[data-size=big] { font-size: clamp(30px, 4vw, 44px); }
.fb-title[data-size=small] { font-size: 21px; }
.fb-kicker .kicker { margin: 0; }
.fb-text .prose > :first-child { margin-top: 0; }
.fb-text .prose > :last-child { margin-bottom: 0; }
.fb-quote blockquote { margin: 0; font-size: 20px; font-style: italic; color: var(--heading); }
.fb-quote figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }
.fbox.frame-accent .fb-quote figcaption { color: #fff; opacity: .8; }
.fb-line hr { margin: 0; border: 0; border-top: 1px solid var(--line); width: 100%; }
.fbox.frame-accent .fb-line hr { border-top-color: rgba(255, 255, 255, .4); }
[data-align=center] .fbox-col { text-align: center; align-items: center; }
[data-align=center] .fb-el { margin-inline: auto; }
[data-align=right] .fbox-col { text-align: right; }
[data-align=right] .fb-el { margin-left: auto; }
/* « Texte + photo » : deux colonnes de zones (texte, photo, encadré) qu'on peut déplacer */
.split-col { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.split.one { grid-template-columns: 1fr; }
.split.one > .split-col:empty { display: none; }
.fb-hint { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) {
  .fbox.side { grid-template-columns: 1fr; }
  .fbox.side.img-right .fbox-media { order: 0; }
}

/* Boutons, espace, code libre */
.sec-btns { padding: 32px 0; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.spacer > .wrap { display: flex; flex-direction: column; justify-content: center; }
.spacer hr { width: 100%;  border: 0; border-top: 1px solid var(--line-strong); margin: 0; }
.free-html iframe { max-width: 100%; }

/* Apparence d'une partie (réglée dans l'admin) */
[data-bg] { background: var(--blk-bg) !important; }
[data-bg=alt] { --blk-bg: var(--bg-2); }
[data-bg=light] { --blk-bg: #ffffff; --text: #3a3f57; --heading: #141830; --muted: #666c8a; --card: #ffffff; --line: rgba(22,26,46,.10); --line-strong: rgba(22,26,46,.28); --input-bg: #fff; }
[data-bg=dark] { --blk-bg: var(--night); --text: #e3e6f0; --heading: #ffffff; --muted: #b4b9cf; --card: rgba(255,255,255,.06); --line: rgba(255,255,255,.12); --line-strong: rgba(255,255,255,.4); }
[data-bg=accent] { --blk-bg: var(--red); --text: #fff; --heading: #fff; --muted: rgba(255,255,255,.85); --accent: #fff; --line: rgba(255,255,255,.25); --line-strong: rgba(255,255,255,.6); }
[data-bg=accent] .sec-head h2::after { background: #fff; }
[data-fg] { --text: var(--blk-fg); --heading: var(--blk-fg); --muted: var(--blk-fg); color: var(--blk-fg); }
/* Bandeau : le fond et la couleur du texte choisis s'appliquent au bandeau lui-même, pas à la bande derrière */
section[data-type=cta][data-bg] { background: none !important; }
section[data-type=cta][data-bg] .cta { background: var(--blk-bg); box-shadow: none; }
section[data-type=cta][data-bg=light] .cta { --heading: #141830; --text: #3a3f57; }
section[data-type=cta][data-bg=light] .cta p { color: var(--text); }
section[data-type=cta][data-fg] .cta { --heading: var(--blk-fg); --text: var(--blk-fg); color: var(--blk-fg); }
section[data-type=cta][data-fg] .cta :is(h2, p) { color: var(--blk-fg); }
/* les bannières toujours sombres (photo, titre de page) prennent aussi la couleur de texte choisie */
section[data-type][data-fg] { --text: var(--blk-fg); --heading: var(--blk-fg); --muted: var(--blk-fg); color: var(--blk-fg); }
[data-align=center] .sec-head, [data-align=center] .prose, [data-align=center] .split-text, [data-align=center] .cta > div, [data-align=center] .card-body, [data-align=center] .intro { text-align: center; margin-inline: auto; }
[data-align=center] .sec-head h2::after { margin-inline: auto; }
[data-align=center] .btn-row, [data-align=center] .hero-cta { justify-content: center; }
[data-align=center] .card-body .btn { align-self: center; }
[data-align=right] .sec-head, [data-align=right] .prose, [data-align=right] .split-text, [data-align=right] .card-body, [data-align=right] .intro { text-align: right; margin-left: auto; }
[data-align=right] .sec-head h2::after { margin-left: auto; }
[data-align=right] .btn-row { justify-content: flex-end; }
[data-align=right] .card-body .btn { align-self: flex-end; }
.sec[data-space=none] { padding: 0; }
.sec[data-space=small] { padding: 36px 0; }
.sec[data-space=large] { padding: 140px 0; }
[data-width=narrow] .wrap { width: min(820px, 100% - 32px); }
[data-width=full] .wrap { width: calc(100% - 32px); }

/* Dimensions réglées avec les curseurs du mode édition */
[data-maxw] .wrap { width: min(var(--blk-maxw), 100% - 32px); }
.sec[data-pad] { padding-block: var(--blk-pad); }
[data-cols] :is(.palmares, .artists, .team, .events, .cards, .quotes, .partners) { grid-template-columns: repeat(var(--blk-cols), minmax(0, 1fr)); }
[data-cols] .gallery { columns: var(--blk-cols); }
[data-photo] :is(.palm-photo, .member-photo, .quote-photo) { width: var(--blk-photo); height: var(--blk-photo); }
[data-photo] .artist-photo { width: var(--blk-photo); height: auto; margin-inline: auto; }
[data-imgw] :is(.single-img, .split-img) { max-width: var(--blk-imgw); margin-inline: auto; }
[data-imgw] .split-img img { width: 100%; }
[data-ts] :is(.sec-head h2, h1, .cta h2, .insta h2) { font-size: var(--blk-ts); }
[data-fs] { font-size: var(--blk-fs); }
[data-fs] :is(.prose, .card-body p, .cta p, .page-head p, .quote blockquote) { font-size: var(--blk-fs); }
[data-gap] :is(.palmares, .artists, .team, .events, .cards, .quotes, .partners) { gap: var(--blk-gap); }
[data-gap] .gallery { column-gap: var(--blk-gap); }
[data-gap] .g-item { margin-bottom: var(--blk-gap); }
@media (max-width: 640px) {
  [data-cols] :is(.palmares, .artists, .team, .events, .partners) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-cols] :is(.cards, .quotes) { grid-template-columns: 1fr; }
  [data-cols] .gallery { columns: 2; }
  [data-maxw] .wrap { width: calc(100% - 32px); }
}

/* Photos recadrées / zoomées en mode édition : le cadre coupe ce qui dépasse */
:is(.split-img, .detail-img, .card-img, .hero-bg, .page-head-bg, .single-frame, .g-item):has(> img[data-crop]) { overflow: hidden; }
:is(.split-img, .detail-img, .single-frame):has(> img[data-crop]) { border-radius: 20px; }
.single-frame { display: block; }
.single-img.square .single-frame { border-radius: 0; }
img[data-crop] { box-shadow: none !important; }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { transition: none !important; scroll-behavior: auto !important; } }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto; background: color-mix(in srgb, var(--night) 98%, transparent); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px; max-height: calc(100svh - 76px); overflow: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s; }
  .topbar.open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero-inner, .split, .parrain .split, .contact-grid, .detail { grid-template-columns: 1fr; gap: 36px; }
  .split.img-left .split-img { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cards.cols-3, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .hero { padding-top: 100px; }
  .hero-next { padding: 20px; }
  .countdown b { font-size: 24px; }
  .artists { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .member-photo { width: 120px; height: 120px; }
  .cta { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; }
  .sec[data-space=large] { padding: 90px 0; }
  .brand img { height: 38px; }
}

/* Concours : page de participation (pensée pour le téléphone) */
.contest .wrap.narrow { width: min(620px, 100% - 32px); }
.contest-prize { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 14px 18px; font-weight: 700; color: var(--heading); margin: 0 0 22px; }
.contest-form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: 20px; padding: clamp(20px, 5vw, 34px); }
.contest-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contest-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--heading); }
.contest-form input:not([type=checkbox]) { background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--heading); font: inherit; font-weight: 400; font-size: 17px; padding: 14px 14px; width: 100%; }
.contest-form input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.contest-form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; line-height: 1.45; color: var(--text); cursor: pointer; }
.contest-form .check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--red); }
.contest-form .check a { color: var(--accent); }
.contest-form .check .req { color: var(--accent); font-weight: 700; font-size: 13px; }
.contest-form .check small { color: var(--muted); }
.contest-form .btn { justify-content: center; width: 100%; }
.contest-form .btn[disabled] { opacity: .6; pointer-events: none; }
.contest-privacy { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.contest-done { text-align: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: 20px; padding: 40px 24px; }
.contest-done h2 { font-size: clamp(24px, 6vw, 32px); margin: 14px 0 8px; }
.contest-done p { color: var(--muted); margin: 0; }
.contest-ok { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 38px; font-weight: 700; }
.contest-ok.closed { background: var(--line-strong); }
@media (max-width: 480px) { .contest-form .two { grid-template-columns: 1fr; } }

/* Vote du public (téléphone) */
.vote-page { padding: 110px 0 120px; min-height: 80vh; }
.vote-page .wrap.narrow { width: min(640px, 100% - 28px); }
.vote-app h1 { font-size: clamp(32px, 8vw, 52px); margin: 0 0 8px; }
.vote-sub { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.vote-loading { color: var(--muted); }
.vote-card { background: var(--card); border: 1px solid var(--line); box-shadow: var(--card-shadow); border-radius: 20px; padding: 30px 22px; text-align: center; display: grid; gap: 10px; margin-top: 18px; }
.vote-card h2 { font-size: clamp(22px, 6vw, 30px); margin: 0; }
.vote-card p { margin: 0; color: var(--muted); }
.vote-ico { font-size: 44px; line-height: 1; }
.vote-ico.ok { display: inline-grid; place-items: center; width: 74px; height: 74px; margin: 0 auto; border-radius: 50%; background: var(--ok); color: #fff; font-size: 38px; font-weight: 700; }
.vote-code { text-align: left; }
.vote-code label { font-weight: 700; color: var(--heading); }
.vote-code input { background: var(--input-bg); border: 2px solid var(--line-strong); border-radius: 14px; color: var(--heading); font: 700 30px/1 var(--sans); letter-spacing: .3em; text-align: center; text-transform: uppercase; padding: 16px; width: 100%; }
.vote-code input:focus { outline: 0; border-color: var(--red); }
.vote-code .btn, .vote-confirm .btn { width: 100%; justify-content: center; }
.vote-list { display: grid; gap: 12px; padding-bottom: 170px; }
.vote-cand { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 12px; cursor: pointer; font: inherit; color: var(--heading); transition: border-color .15s, transform .1s, background .15s; }
.vote-cand:active { transform: scale(.98); }
.vote-cand.on { border-color: var(--red); background: color-mix(in srgb, var(--red) 14%, var(--card)); }
.vote-ph { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex: none; background: var(--ph); border: 2px solid var(--red); display: grid; place-items: center; }
.vote-ph img { width: 100%; height: 100%; object-fit: cover; }
.vote-ph .ini { font-family: var(--display); font-size: 24px; color: var(--muted); }
.vote-nm { flex: 1; display: grid; gap: 2px; }
.vote-nm b { font-size: 19px; }
.vote-nm small { color: var(--muted); font-size: 14px; }
.vote-tick { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; color: transparent; font-weight: 700; flex: none; }
.vote-cand.on .vote-tick { background: var(--red); border-color: var(--red); color: #fff; }
.vote-confirm { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 8px; text-align: center; }
.vote-confirm[hidden] { display: none; }
.vote-confirm p { margin: 0; color: var(--text); }
.vote-confirm .form-status:empty { display: none; }
.vote-podium { margin-top: 26px; display: grid; gap: 10px; }
.vote-podium h2 { font-size: 26px; margin: 0 0 6px; }
.vote-res { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; }
.vote-rank { font-size: 30px; width: 40px; text-align: center; }
.vote-res .vote-ph { width: 58px; height: 58px; }

.vote-podium h2 { text-align: center; }
.vp { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 8px; margin-top: 10px; }
.vp-step { display: grid; justify-items: center; text-align: center; }
.vp-who { display: grid; justify-items: center; gap: 6px; margin-bottom: 8px; }
.vp-who > span { display: inline-grid; }
.vp-who .vote-ph { width: 64px; height: 64px; }
.vp1 .vp-who .vote-ph { width: 84px; height: 84px; border-color: var(--gold); box-shadow: 0 0 24px color-mix(in srgb, var(--gold) 50%, transparent); }
.vp-who b { font-size: 15px; line-height: 1.2; color: var(--heading); }
.vp1 .vp-who b { color: var(--gold); font-size: 17px; }
.vp-who small { color: var(--muted); font-size: 12px; }
.vp-block { width: 100%; border-radius: 10px 10px 0 0; display: grid; place-items: start center; padding-top: 8px; font-family: var(--display); font-size: 30px; color: #fff; background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 55%, #000)); }
.vp1 .vp-block { height: 110px; background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold) 55%, #000)); color: #3b2a00; }
.vp2 .vp-block { height: 78px; }
.vp3 .vp-block { height: 56px; }
.vp-who > .vp-phs { display: flex; justify-content: center; gap: 4px; }
.vp-who.multi .vote-ph { width: 46px; height: 46px; }
.vp1 .vp-who.multi .vote-ph { width: 58px; height: 58px; }

.contest-form input.bad { border-color: var(--accent) !important; outline: 2px solid var(--accent); outline-offset: 1px; }
.contest-form .suggest { margin-top: 8px; display: inline-block; border: 0; background: var(--accent); color: #fff; font: 700 14px var(--sans); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.contest-form .suggest.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.contest-privacy a, .vote-privacy a { color: var(--accent); }
.vote-privacy { margin: 28px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Bandeau : second bouton facultatif ---------- */
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Grande présentation avec portrait (titre principal de la page) ---------- */
.phero { position: relative; isolation: isolate; padding: clamp(120px, 13vw, 168px) 0 clamp(48px, 6vw, 80px);
  background: radial-gradient(ellipse at 85% 35%, color-mix(in srgb, var(--red) 22%, transparent), transparent 55%), radial-gradient(ellipse at 10% 0%, color-mix(in srgb, var(--red) 10%, transparent), transparent 50%); }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.phero h1 { font-size: clamp(40px, 6.2vw, 84px); line-height: 1.02; margin: 0 0 22px; text-wrap: balance; }
.phero-sub { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: var(--text); max-width: 34ch; margin: 0 0 32px; }
.phero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.phero-img { margin: 0; justify-self: center; width: min(100%, 480px); position: relative; }
.phero-img::before { content: ''; position: absolute; inset: 8% -6% -6% 8%; z-index: -1; border-radius: 28px; background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--red) 55%, transparent), transparent 70%); filter: blur(40px); opacity: .55; }
.phero-frame { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; border: 1px solid color-mix(in srgb, var(--red) 55%, transparent);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--red) 10%, transparent), 0 40px 80px -30px rgba(0,0,0,.8); }
.phero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.phero-frame::after { content: ''; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, rgba(0,0,0,.45), transparent); pointer-events: none; }
@media (max-width: 860px) {
  .phero-grid { grid-template-columns: 1fr; }
  .phero-img { order: -1; width: min(72%, 300px); }
  .phero-text { text-align: center; }
  .phero-sub { margin-inline: auto; }
  .phero-btns { justify-content: center; }
}
@media (max-width: 480px) { .phero-btns .btn { width: 100%; justify-content: center; } }

/* ---------- Encadré mis en avant ---------- */
.callout { position: relative; max-width: 900px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--card) 100%, #fff 3%), var(--bg-2)); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.callout-mark { position: absolute; top: -.18em; right: .08em; font: 400 clamp(160px, 22vw, 260px)/1 Georgia, 'Times New Roman', serif; color: var(--red); opacity: .16; pointer-events: none; }
.callout .sec-head { margin-bottom: 24px; position: relative; }
.callout .prose { font-size: 1.1em; line-height: 1.8; max-width: 68ch; position: relative; }
.callout-quote { margin: 28px 0 0; padding: 20px 24px; border-left: 3px solid var(--red); background: color-mix(in srgb, var(--red) 7%, transparent); border-radius: 0 12px 12px 0; }
.callout-quote p { margin: 0; font-size: 1.2em; font-style: italic; color: var(--heading); }
.callout-quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--muted); }
.ed-hint small, p.ed-hint { color: var(--muted); font-size: 13px; }

/* ---------- Pastilles avec icône ---------- */
.icards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.icard { position: relative; padding: 26px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.icard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--red) 60%, transparent); box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--red) 70%, transparent); }
.icard-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: 16px; font-size: 22px; color: var(--red);
  background: color-mix(in srgb, var(--red) 12%, transparent); border: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.icard-ico svg { width: 22px; height: 22px; }
.icard h3 { font-size: 21px; margin: 0 0 8px; line-height: 1.2; }
.icard p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- Frise chronologique ---------- */
.tline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(var(--tl-n), minmax(0, 1fr)); gap: 24px; }
.tline::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: linear-gradient(90deg, var(--red), color-mix(in srgb, var(--red) 25%, transparent)); }
.tl-step { position: relative; padding-top: 38px; }
.tl-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); border: 3px solid var(--red); box-shadow: 0 0 0 5px color-mix(in srgb, var(--red) 15%, transparent); }
.tl-step:last-child .tl-dot { background: var(--red); }
.tl-date { margin: 0 0 6px; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.tl-step h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.25; }
.tl-step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) {
  .tline { grid-template-columns: 1fr; gap: 28px; padding-left: 36px; }
  .tline::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 25%, transparent)); }
  .tl-step { padding-top: 0; }
  .tl-dot { left: -36px; top: 2px; }
}

/* ---------- Album de la page ---------- */
.album { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; align-items: start; max-width: 920px; margin-inline: auto; }
.album-item { margin: 0; }
.album-item a { display: block; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.album-item img { width: 100%; height: auto; display: block; transition: transform .35s ease; }
.album-item a:hover img { transform: scale(1.03); }
.album-item a:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.album-item figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.album.solo { grid-template-columns: minmax(0, 520px); justify-content: center; }
.album-video { margin-top: 40px; max-width: 900px; margin-inline: auto; }
.album-video h3 { font-size: 22px; }

/* ---------- Page Smaïn : confort de lecture ---------- */
[data-page="smain"] .prose h3 { margin-top: 1.8em; }
[data-page="smain"] .phero + .sec { padding-top: clamp(16px, 3vw, 32px); }
@media (prefers-reduced-motion: reduce) { .icard:hover, .album-item a:hover img { transform: none; } }

/* ---------- Bandeau avec photo de scène (ex : appel au casting) : texte sur le rouge à gauche, photo visible à droite ---------- */
.cta.has-img { background: linear-gradient(110deg, var(--red) 0%, color-mix(in srgb, var(--red) 70%, #000) 45%, #050505 100%); }
.cta.has-img .cta-bg { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.cta.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.15) 100%); pointer-events: none; }
.cta.has-img > :not(.cta-bg) { position: relative; z-index: 1; }
.cta.has-img h2, .cta.has-img p { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
@media (max-width: 760px) {
  .cta.has-img .cta-bg { width: 100%; opacity: .45; -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 90%); mask-image: linear-gradient(0deg, #000 10%, transparent 90%); }
}

/* ---------- Ancres de section : le titre n'est pas caché sous le menu fixe ---------- */
section[id] { scroll-margin-top: 84px; }
/* ---------- Grande présentation : variante photo en paysage + paragraphe ---------- */
.phero-text-p { color: var(--text); font-size: 17px; line-height: 1.75; max-width: 54ch; margin: -14px 0 30px; }
.phero-wide .phero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.phero-wide .phero-img { width: 100%; }
.phero-wide .phero-frame { aspect-ratio: 4 / 3; }
.phero-wide .phero-frame img { object-position: center; }
@media (max-width: 860px) { .phero-wide .phero-grid { grid-template-columns: 1fr; } .phero-wide .phero-img { width: 100%; } .phero-text-p { margin-inline: auto; } }
/* ---------- Phrase sous une frise ou des pastilles ---------- */
.block-note { margin: 36px auto 0; max-width: 760px; padding: 18px 22px; border-radius: 14px; text-align: center; color: var(--heading);
  background: color-mix(in srgb, var(--red) 9%, var(--card)); border: 1px solid color-mix(in srgb, var(--red) 30%, var(--line)); line-height: 1.7; }
/* ---------- Frise numérotée ---------- */
.tl-numbered .tl-dot { width: 40px; height: 40px; top: -10px; display: grid; place-items: center; font: 400 18px/1 var(--display); color: #fff; background: var(--red); border-width: 3px; }
.tl-numbered .tl-step { padding-top: 46px; }
@media (max-width: 900px) {
  .tl-numbered { padding-left: 58px; }
  .tl-numbered::before { left: 19px; }
  .tl-numbered .tl-step { padding-top: 0; }
  .tl-numbered .tl-dot { left: -58px; top: -6px; }
}
/* ---------- Pastilles compactes (icône + titre sur une ligne) ---------- */
.icards.pills { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.icards.pills .icard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.icards.pills .icard-ico { margin: 0; flex: none; }
.icards.pills .icard h3 { margin: 0; font-size: 18px; }
/* ---------- Pages Smaïn et École : confort de lecture et focus ---------- */
[data-page="ecole"] .phero + .sec { padding-top: clamp(24px, 4vw, 48px); }
[data-page="ecole"] .split-text .prose h3 { font-size: 20px; margin: 1.4em 0 .4em; color: var(--heading); }
[data-page="ecole"] .split-text .prose ul { padding-left: 1.2em; }
[data-page="ecole"] .split-text .prose li + li { margin-top: 4px; }

/* ---------- En-tête de page « grand » (photo, voile, accroche, texte, boutons) ---------- */
.page-head-lg.has-img { min-height: min(86svh, 760px); display: flex; align-items: flex-end; padding: 150px 0 clamp(48px, 7vw, 88px); }
.page-head-lg .page-head-bg::after { background: linear-gradient(90deg, rgba(5,5,8,.92) 0%, rgba(5,5,8,.72) 38%, rgba(5,5,8,.15) 75%), linear-gradient(0deg, rgba(5,5,8,.85) 0%, transparent 45%); }
.page-head-lg h1 { font-size: clamp(44px, 7.5vw, 104px); line-height: 1; }
.page-head-sub { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px) !important; color: var(--heading) !important; line-height: 1.25; margin-top: 18px !important; max-width: 22ch !important; }
.page-head-text { color: var(--text); font-size: 18px; line-height: 1.7; max-width: 52ch; margin: 16px 0 0; }
.page-head-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
@media (max-width: 760px) {
  .page-head-lg.has-img { min-height: 0; padding-top: 130px; }
  .page-head-lg .page-head-bg::after { background: linear-gradient(0deg, rgba(5,5,8,.95) 0%, rgba(5,5,8,.75) 55%, rgba(5,5,8,.35) 100%); }
  .page-head-btns .btn { width: 100%; justify-content: center; }
}

/* ---------- Chiffres clés ---------- */
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.stat { padding: 24px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--red); text-align: center; }
.stat-value { display: block; font-family: var(--display); font-size: clamp(34px, 4.4vw, 52px); line-height: 1; color: var(--heading); }
.stat-value b { font-weight: 400; }
.stat-label { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- Palmarès en cartes ---------- */
.palm-intro { color: var(--text); max-width: 60ch; margin: -18px 0 24px; }
.palm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 26px; }
.palm-filter label { font-weight: 700; color: var(--heading); }
.palm-filter select { min-height: 46px; padding: 10px 38px 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--heading); font: 400 15px var(--sans); -webkit-appearance: none; appearance: none; cursor: pointer;
  background: var(--input-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; }
.palm-count { margin: 0; color: var(--muted); font-size: 14px; }
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; align-items: start; }
.pc { padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.pc:hover { border-color: color-mix(in srgb, var(--red) 55%, transparent); }
.pc[hidden] { display: none; }
.pc-ed { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 14px; font-size: 22px; }
.pc-ed span { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.pc-winners { display: grid; gap: 10px; }
.pw { display: flex; align-items: center; gap: 14px; padding: 8px; margin: -8px; border-radius: 12px; text-decoration: none; color: inherit; }
a.pw:hover { background: color-mix(in srgb, var(--red) 10%, transparent); }
.pw-photo { flex: none; width: 64px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid color-mix(in srgb, var(--red) 65%, transparent); }
.pw-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pw-photo .ph { width: 100%; height: 100%; display: grid; place-items: center; font: 400 20px var(--display); color: #fff; background: linear-gradient(140deg, var(--red), color-mix(in srgb, var(--red) 40%, #000)); }
.pw-text { display: grid; min-width: 0; }
.pw-text small { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.pw-text b { color: var(--heading); font-size: 17px; overflow-wrap: anywhere; }
.pw-link { font-size: 13px; color: var(--muted); }
a.pw:hover .pw-link { color: var(--heading); }
.pc-none { padding: 14px 20px; background: transparent; border-style: dashed; }
.pc-none .pc-ed { margin: 0 0 4px; font-size: 18px; }
.pc-none p, .pc-wait { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Galerie : filtre par édition ---------- */
.g-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.g-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--heading); font: 700 14px var(--sans); cursor: pointer; }
.g-chip[aria-pressed=true] { background: var(--red); border-color: var(--red); color: #fff; }
.gallery .g-item[hidden] { display: none; }

/* ---------- Visionneuse ---------- */
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 12px; }
.lb-cap { position: static; color: #e6e8f2; font-size: 15px; text-align: center; max-width: 80vw; }
.lb-cap:empty { display: none; }
.lb-count { position: absolute; top: 22px; left: 24px; margin: 0; color: #c9cbd6; font-size: 14px; }
.lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.lightbox button[hidden] { display: none; }

/* ---------- Page « Le festival » : confort de lecture et focus ---------- */

/* Frise longue (plus de 6 étapes) : verticale et centrée, plus lisible */
.tline.tl-long { grid-template-columns: 1fr; gap: 26px; padding-left: 36px; max-width: 760px; margin-inline: auto; }
.tline.tl-long::before { left: 9px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--red), color-mix(in srgb, var(--red) 25%, transparent)); }
.tline.tl-long .tl-step { padding-top: 0; }
.tline.tl-long .tl-dot { left: -36px; top: 2px; }
/* Éditions sans concours : une ligne discrète sous les cartes */
.pc-nones { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pc-nones .pc-none { padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; }
.pc-nones .pc-none b { color: var(--heading); font-weight: 700; }
.pc-nones .pc-none:hover { border: 0; }

/* menu mobile ouvert : la page derrière ne défile plus */
html.menu-open, html.menu-open body { overflow: hidden; }
[data-ticket][hidden], .countdown[hidden] { display: none !important; }
.hero-info { margin: 6px 0 0; color: #e6e8f2; font-size: 15px; }
.hero-past { margin: 14px 0 0; font-weight: 700; color: #fff; }
.ev-past, .ev-status { margin: 8px 0; padding: 12px 16px; border-radius: 12px; font-weight: 700; color: var(--heading); background: color-mix(in srgb, var(--red) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--red) 35%, var(--line)); }
.ev-sub { font-size: 22px; margin: 32px 0 10px; }

/* =====================================================================
   Système graphique commun : toutes les pages utilisent ces valeurs
   (couleurs, espacements, largeurs, rayons, ombres, transitions, focus)
   ===================================================================== */
:root {
  --space-section: clamp(56px, 7vw, 96px);   /* entre deux parties */
  --space-head: clamp(28px, 4vw, 44px);      /* sous un titre de partie */
  --container: 1320px;                        /* largeur maximale du contenu */
  --measure: 720px;                           /* largeur de lecture d'un texte */
  --radius-card: 18px;
  --radius-pill: 999px;
  --shadow-hover: 0 18px 40px -24px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s;
  --t: .3s;
  --focus-ring: 0 0 0 7px color-mix(in srgb, var(--red) 70%, transparent);
}
/* thème sombre : gris neutres (sans teinte bleue), doré réservé aux prix */
body.theme-dark { --text: #e9e9ec; --muted: #b8b8b8; --line: rgba(255, 255, 255, .10); --line-strong: rgba(255, 255, 255, .32); --gold: #d5a11e; --ph: #1a1a1a; --input-bg: #141414; }

.wrap { width: min(var(--container), 100% - clamp(32px, 6vw, 120px)); }
.narrow { width: min(var(--measure), 100% - 32px); }
.sec { padding: var(--space-section) 0; }
.sec-head { margin-bottom: var(--space-head); }
.prose { line-height: 1.75; }

/* focus clavier identique partout */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: var(--focus-ring); }
:where(.btn, .g-chip, .hum-reset, .hum-toggle, .social):focus-visible { border-radius: var(--radius-pill); }

/* boutons : zones tactiles d'au moins 44 px */
.btn { min-height: 44px; transition: transform var(--t-fast) var(--ease), background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.btn-ghost:hover, .btn-outline-light:hover { background: rgba(255, 255, 255, .08); }

/* cartes : même rayon, même bordure, même réaction au survol */
.event-card, .card-box, .icard, .pc, .stat, .member-card, .callout, .hum-bar, .hum-empty, .m-info { border-radius: var(--radius-card); }
.event-card, .card-box, .icard, .pc { transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t); }
.event-card:hover, .card-box:hover, .icard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--red) 55%, transparent); box-shadow: var(--shadow-hover); }

/* doré : seulement pour les prix et le palmarès */
.badge-prize.jury, .badge-prize.public { border-color: color-mix(in srgb, var(--gold) 60%, transparent); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.badge-prize.jury::before, .badge-prize.public::before { color: var(--gold); }
.pw-text small, .pc-ed span, .palm-prize small { color: var(--gold); }
.pw-photo { border-color: color-mix(in srgb, var(--gold) 70%, transparent); }
.palm-ed svg, .icard-ico svg[data-gold] { color: var(--gold); }

/* photo manquante : visuel officiel aux couleurs du festival */
.ph { background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--red) 65%, #000), #0b0b0b 78%); }
.initials { color: #fff; }

@media (prefers-reduced-motion: reduce) { .event-card:hover, .card-box:hover, .icard:hover, .btn:hover { transform: none; } }

.contact-form select { background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: 10px; color: var(--heading); font: inherit; font-weight: 400; padding: 12px 14px; min-height: 48px; }
.contact-form [aria-invalid=true] { border-color: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 25%, transparent); }
.form-privacy { margin: 0; color: var(--muted); font-size: 14px; }
.form-privacy a { color: var(--heading); }
.subject-other[hidden] { display: none; }
.palm-more { margin-top: 28px; }

/* fiche d'un humoriste : éditions et prix, boutons, autres artistes */
.artist-main { min-width: 0; }
.artist-facts { margin-bottom: 28px; padding: 18px 20px; border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line); }
.artist-facts-title { font-size: 18px; margin: 0 0 10px; }
.artist-eds { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.artist-eds li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.artist-eds li > span:not(.badge-prize) { color: var(--muted); }
.artist-cta { margin-top: 28px; }
.badge-prize { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; border: 1px solid var(--line-strong); color: var(--heading); }
.badge-prize::before { content: '★'; font-size: 11px; color: var(--gold); }
.badge-prize.finalist::before { content: '✦'; color: var(--muted); }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; gap: 28px; } .detail-img.portrait { max-width: 360px; } }
/* les effets décoratifs (halo du portrait) ne doivent jamais créer de défilement horizontal */
.phero { overflow-x: clip; }

/* ---------- Festivals : pages des festivals et page « Nos festivals » ---------- */
.fest-hero { position: relative; padding: 140px 0 72px; isolation: isolate; background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%), var(--night); color: #fff; }
.fest-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fest-title { font-size: clamp(42px, 7vw, 92px); margin: 0 0 18px; color: #fff; }
.fest-title.has-logo { line-height: 0; }
.fest-logo { display: block; width: min(440px, 100%); height: auto; }
.fest-tagline { font-size: clamp(18px, 2vw, 22px); color: #e6e8f2; margin: 0 0 24px; max-width: 34em; }
.fest-next { display: inline-block; background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 16px; padding: 18px 22px; margin-bottom: 26px; }
.fest-next-label { font-family: var(--display); font-size: 24px; line-height: 1.15; margin: 0 0 8px; color: #fff; }
.fest-next .hero-where small { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.fest-poster { display: block; justify-self: center; width: min(420px, 100%); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7); transform: rotate(1.5deg); transition: transform .3s; }
.fest-poster:hover { transform: rotate(0) translateY(-4px); }
.fest-poster img { display: block; width: 100%; height: auto; }
.fest-eds { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.fest-ed { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fest-ed-img img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.fest-ed-body { padding: 18px 20px 22px; }
.fest-ed-body h3 { font-size: 24px; margin: 0 0 6px; }
.fest-ed-body h3 span { color: var(--muted); font-size: .7em; }
.fest-ed-body p { margin: 0 0 12px; }
.fest-ed-meta { color: var(--accent); font-weight: 700; font-size: 14px; }
.fest-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.fest-card { --fc: var(--accent); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--fc); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s; }
.fest-card:hover { transform: translateY(-4px); }
.fest-card-img img, .fest-card-img .ph { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.fest-card-body { display: grid; gap: 4px; padding: 18px 20px 22px; }
.fest-card-body b { font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.1; color: var(--heading); }
.fest-card-body small { color: var(--muted); font-size: 15px; }
.fest-card:hover .link { color: var(--fc); }
/* VilleurVanne : écriture pinceau pour les petits titres, ombre turquoise comme le logo */
.fest-vv .kicker, .fest-vv .fest-tagline, .fest-vv .fest-next-label { font-family: var(--script, inherit); text-transform: none; letter-spacing: 0; }
.fest-vv .kicker { font-size: 22px; font-weight: 400; }
.fest-vv .sec-head h2 { font-family: var(--sans); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; text-shadow: 3px 3px 0 color-mix(in srgb, var(--accent) 70%, transparent); }
/* Vaulx Mieux en Rire : capitales très grasses, bandeau blanc incliné comme sur l'affiche */
.fest-vmr h1, .fest-vmr h2, .fest-vmr h3, .fest-vmr .fest-card-body b { text-transform: uppercase; letter-spacing: 0; }
.fest-vmr .fest-next { background: #fff; color: #0a0a0a; border: 0; border-radius: 4px; transform: rotate(-2deg); }
.fest-vmr .fest-next-label, .fest-vmr .fest-next .hero-when, .fest-vmr .fest-next .hero-where, .fest-vmr .fest-next svg { color: #0a0a0a; }
.fest-vmr .fest-next .hero-where small { color: #555; }
@media (max-width: 860px) {
  .fest-hero { padding: 110px 0 48px; }
  .fest-hero-inner { grid-template-columns: 1fr; }
  .fest-poster { width: min(320px, 85%); }
}

/* ---------- Presse : revue de presse et espace journalistes ---------- */
.press-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.press-filters input, .press-filters select { font: inherit; font-size: 15px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); }
.press-filters input { flex: 1 1 240px; }
.press-count { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 14px; }
.press-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.press-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.press-card.is-featured { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.press-img img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.press-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.press-body h3 { font-size: 21px; margin: 0; line-height: 1.2; }
.press-meta { margin: 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.press-meta b { color: var(--heading); }
.press-type, .press-star { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 11px; color: var(--accent); }
.press-star { background: var(--accent); color: #fff; padding: 2px 8px; border-radius: 999px; }
.press-fests { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.press-fests span { font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); }
.press-sum { margin: 0; flex: 1; }
.press-gone { margin: 0; font-size: 14px; color: var(--muted); font-style: italic; }
.press-body .btn { align-self: flex-start; margin-top: 4px; }
.kit-intro { max-width: 46em; margin: -12px 0 28px; }
.kit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.kit-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.kit-group h3 { font-size: 20px; margin: 0 0 12px; }
.kit-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kit-group li a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.kit-group li a:hover b { color: var(--accent); }
.kit-group li small { display: block; color: var(--muted); font-size: 13px; }
.kit-thumb { flex: none; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.kit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kit-file { font-size: 12px; font-weight: 700; color: var(--accent); }
.kit-contact a { display: inline-flex; gap: 8px; align-items: center; color: var(--heading); }
.kit-contact svg { width: 18px; height: 18px; color: var(--accent); }
.kit-info { color: var(--muted); font-size: 14px; }

/* ---------- Albums : galerie publique par festival et par édition ---------- */
.album-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.album-card { --fc: var(--accent); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s; }
.album-card:hover { transform: translateY(-4px); }
.album-cover { position: relative; display: block; }
.album-cover img, .album-cover .ph { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.album-star { position: absolute; top: 12px; left: 12px; background: var(--fc); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; }
.album-body { display: grid; gap: 4px; padding: 16px 20px 20px; border-top: 4px solid var(--fc); }
.album-body small { color: var(--muted); font-size: 13px; }
.album-body b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.15; color: var(--heading); }
.album-count { color: var(--muted); font-size: 14px; }
.alb-meta { color: var(--accent); font-weight: 700; margin: 0; }
.alb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.alb-best { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.alb-item { display: block; position: relative; border-radius: 10px; overflow: hidden; background: var(--card); }
.alb-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.alb-best .alb-item img { aspect-ratio: 4/3; }
a.alb-item:hover img { transform: scale(1.04); }
.alb-video { grid-column: span 2; }
.alb-video video, .alb-video .vid-frame, .alb-video .vid-tile { display: block; width: 100%; aspect-ratio: 16/9; border: 0; background: #000; }
.alb-cap { margin: 0; padding: 8px 10px; font-size: 14px; color: var(--muted); }
.vid-tile { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; cursor: pointer; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 35%, #111), #050505); color: #fff; overflow: hidden; }
.vid-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.vid-play { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); font-size: 26px; padding-left: 5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.vid-note { position: absolute; left: 12px; bottom: 10px; font-size: 13px; opacity: .85; }
.vid-tile:hover .vid-play { transform: scale(1.08); }
.alb-recap .vid-frame, .alb-recap .vid-tile, .alb-recap video { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; }
@media (max-width: 600px) { .alb-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .alb-video { grid-column: 1 / -1; } }

/* ---------- Newsletter « Le Courrier des Lions » ---------- */
.nl-page .m-check { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.nl-mini { margin-top: 22px; max-width: 360px; }
.nl-mini-title { font-family: var(--display); font-size: 18px; color: #fff; margin: 0 0 8px; }
.nl-mini-row { display: flex; gap: 6px; }
.nl-mini-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; }
.nl-mini-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.nl-mini-consent a { color: inherit; }
.nl-mini .hp { position: absolute; left: -9999px; }
.nl-mini .form-status { font-size: 13px; margin: 6px 0 0; }

/* ---------- Page Presse (présentation magazine) : tout est isolé sous .px ---------- */
.px { --px-bg: #0a0a0a; --px-s1: #151515; --px-s2: #1c1c1c; --px-line: rgba(255, 255, 255, .09); --px-ink: #f4f1ea; --px-text: #c9c7c1; --px-muted: #9a978f; background: var(--px-bg); color: var(--px-text); }
.px .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; }
.px h1, .px h2, .px h3 { color: var(--px-ink); }
.px a:focus-visible, .px button:focus-visible, .px input:focus-visible, .px select:focus-visible, .px textarea:focus-visible, .px summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.px-sec { padding: clamp(56px, 8vw, 104px) 0; }
.px-h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 0 0 28px; letter-spacing: .01em; }
.px-h2::after { content: ''; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: 16px; border-radius: 2px; }
.px-intro { font-size: clamp(17px, 1.6vw, 20px); color: var(--px-text); max-width: 40em; margin: 0 0 24px; }
.px-meta { margin: 0; font-size: 13px; color: var(--px-muted); letter-spacing: .02em; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.px-meta b { color: var(--px-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.px-link { color: var(--px-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; align-self: flex-start; }
.px-link:hover { color: #fff; border-color: #fff; }
.px-credit { font-size: 12px; color: var(--px-muted); margin: 8px 0 0; }
.px-gone { font-size: 14px; color: var(--px-muted); font-style: italic; }
.px-gone a { color: inherit; }
.px-fests { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.px-fests span, .px-tag { font-size: 12px; padding: 2px 10px; border: 1px solid var(--px-line); border-radius: 999px; color: var(--px-text); }
/* bandeau */
.px-hero { position: relative; isolation: isolate; min-height: clamp(460px, 72vh, 720px); display: flex; align-items: flex-end; padding: 140px 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.px-hero-bg { position: absolute; inset: 0; z-index: -1; }
.px-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.px-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .35) 0%, rgba(10, 10, 10, .55) 45%, rgba(10, 10, 10, .94) 100%), linear-gradient(90deg, rgba(10, 10, 10, .75), rgba(10, 10, 10, 0) 70%); }
.px-kicker { color: var(--accent); filter: brightness(1.45); font-weight: 700; letter-spacing: .22em; font-size: 13px; margin: 0 0 14px; }
.px-hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 1; margin: 0 0 18px; max-width: 12ch; }
.px-hero .px-intro { color: #e7e4dd; }
.px-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.px-hero .px-credit { position: absolute; right: 16px; bottom: 10px; }
/* à la une */
.px-feats { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.px-feat { display: flex; flex-direction: column; background: var(--px-s1); border: 1px solid var(--px-line); border-radius: 14px; overflow: hidden; }
.px-feat.is-main { grid-row: span 2; }
.px-feat-img { display: block; overflow: hidden; background: var(--px-s2); }
.px-feat-img img, .px-feat-img .ph { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .5s; }
.px-feat.is-main .px-feat-img img { aspect-ratio: 4/3; }
.px-feat:hover .px-feat-img img { transform: scale(1.03); }
.px-feat-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.px-feat h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; margin: 0; }
.px-feat.is-main h3 { font-size: clamp(24px, 3vw, 34px); }
/* revue complète */
.px-filters { margin: 0 0 22px; padding: 16px; background: var(--px-s1); border: 1px solid var(--px-line); border-radius: 14px; display: grid; gap: 12px; }
.px-filters-main { display: flex; flex-wrap: wrap; gap: 10px; }
.px-field { display: grid; gap: 4px; font-size: 13px; color: var(--px-muted); }
.px-search { flex: 1 1 260px; }
.px-field input, .px-field select { font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--px-line); background: var(--px-s2); color: var(--px-ink); min-height: 44px; }
.px-more-btn, .px-reset, .px-reset-link { font: inherit; font-size: 14px; font-weight: 600; color: var(--px-ink); background: transparent; border: 1px solid var(--px-line); border-radius: 10px; padding: 0 16px; min-height: 44px; cursor: pointer; }
.px-more-btn[aria-expanded="true"] { border-color: var(--accent); }
.px-more { display: flex; flex-wrap: wrap; gap: 10px; }
.px-more[hidden] { display: none; }
.px-more .px-field { flex: 1 1 200px; }
.px-filters-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.px-count { margin: 0; color: var(--px-text); font-size: 14px; }
.px-reset-link { min-height: 36px; margin-left: 8px; }
.px-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--px-line); }
.px-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--px-line); }
.px-row[hidden] { display: none; }
.px-row-img { flex: none; width: 160px; border-radius: 10px; overflow: hidden; background: var(--px-s2); align-self: flex-start; }
.px-row-img img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.px-row-body { display: grid; gap: 8px; min-width: 0; }
.px-row h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.25; margin: 0; }
.px-row h3 a { color: var(--px-ink); text-decoration: none; }
.px-row h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.px-type { margin-left: auto; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; color: var(--px-muted); }
.px-sum { margin: 0; max-width: 60em; }
.px-row-foot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.px-row-foot .px-link { margin-left: auto; font-size: 14px; }
.px-empty { padding: 28px; text-align: center; background: var(--px-s1); border: 1px dashed var(--px-line); border-radius: 12px; }
.px-load { margin-top: 24px; }
/* espace journalistes */
.px-space { padding: clamp(56px, 8vw, 104px) 0; background: linear-gradient(180deg, #121212, #0d0d0d); border-top: 1px solid var(--px-line); border-bottom: 1px solid var(--px-line); }
.px-space-head .px-intro { margin-bottom: 32px; }
.px-space-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-bottom: 18px; }
.px-box { background: var(--px-s2); border: 1px solid var(--px-line); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.px-box h3 { font-size: 22px; margin: 0; }
.px-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.px-missing { margin: 0; color: var(--px-muted); }
.px-doc { margin: 0; display: grid; gap: 2px; } .px-doc-date, .px-doc-cap { font-size: 13px; color: var(--px-muted); }
.px-comm-title { margin: 2px 0 6px; color: var(--px-ink); font-weight: 600; }
.px-dl { display: inline-flex; gap: 10px; align-items: baseline; color: var(--px-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.px-dl-info { font-weight: 400; font-size: 12px; color: var(--px-muted); }
.px-contact a:not(.btn) { color: var(--px-ink); }
.px-hook { margin: 6px 0 0; font-family: var(--display); font-size: 20px; color: var(--px-ink); }
.px-vis-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.px-vis { display: grid; gap: 6px; align-content: start; }
.px-vis-img { display: grid; place-items: center; background: var(--px-s1); border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.px-vis-img img { width: 100%; height: 100%; object-fit: cover; }
.px-vis-file { font-weight: 700; color: var(--px-muted); }
.px-vis-title { margin: 0; color: var(--px-ink); font-weight: 600; }
.px-vis-cap, .px-vis-credit, .px-vis-terms { margin: 0; font-size: 13px; color: var(--px-muted); }
/* demandes */
.px-form { display: grid; gap: 14px; margin-top: 8px; }
.px-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.px-form label { display: grid; gap: 6px; font-size: 14px; color: var(--px-ink); }
.px-form input, .px-form select, .px-form textarea { font: inherit; font-size: 15px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--px-line); background: var(--px-s2); color: var(--px-ink); min-height: 44px; }
.px-form [aria-invalid="true"] { border-color: #ff6b6b; }
.px-form small { color: var(--px-muted); font-weight: 400; }
.px-check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; }
.px-check input { min-height: 0; margin-top: 4px; }
.px-req-legend, .px-privacy { font-size: 13px; color: var(--px-muted); margin: 0; }
.px-privacy a { color: inherit; }
.px-form .req { color: #ff8a8a; }
.px-hp { position: absolute; left: -9999px; }
.px-status { margin: 0; min-height: 1.4em; } .px-status.err { color: #ff8a8a; } .px-status.ok { color: #9be39b; }
.px-done { padding: 22px 24px; background: var(--px-s2); border: 1px solid var(--px-line); border-left: 4px solid var(--accent); border-radius: 12px; }
.px-done p { margin: 0 0 6px; }
@media (max-width: 860px) {
  .px-feats { grid-template-columns: 1fr; } .px-feat.is-main { grid-row: auto; }
  .px-hero { min-height: 70vh; padding-top: 110px; } .px-hero-bg img { object-position: 60% 30%; }
  .px-row-img { width: 96px; }
}
@media (max-width: 520px) { .px-row { gap: 14px; } .px-row-img { width: 76px; } .px-type { margin-left: 0; width: 100%; } .px-row-foot .px-link { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .px-feat-img img { transition: none; } .px-feat:hover .px-feat-img img { transform: none; } }
