/* ==========================================================================
   Design system commun Ville + Eole — un seul socle, deux jeux de jetons.
   Maquette CRÉA2LINE, marché 2026-12.
   ========================================================================== */
:root {
  --f-body: "Barlow", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-cond: "Barlow Condensed", "Barlow", ui-sans-serif, system-ui, sans-serif;
  --maxw: 1240px;
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sh-1: 0 1px 2px rgba(6, 30, 42, .06), 0 2px 10px rgba(6, 30, 42, .06);
  --sh-2: 0 12px 34px rgba(6, 30, 42, .16);
}
[data-site="ville"] {
  --brand: #062B3A; --brand-2: #074A63; --brand-ink: #FFFFFF;
  --accent: #FDB913; --accent-ink: #1A1305; --hot: #E8724C; --hot-ink: #FFFFFF;
  --ink: #0E1A20; --ink-2: #3A4B54; --ink-3: #64757E;
  --paper: #FFFFFF; --paper-2: #F2F6F7; --line: #DCE5E9; --link: #075C7A;
  --gold: #DEAA51;
}
[data-site="eole"] {
  --brand: #0E0A14; --brand-2: #1B1424; --brand-ink: #F6F0E6;
  --accent: #FAB40A; --accent-ink: #160F04; --hot: #2EA5F4; --hot-ink: #08131C;
  --ink: #F6F0E6; --ink-2: #CFC6B8; --ink-3: #9B9284;
  --paper: #120D19; --paper-2: #1A1323; --line: #2E2538; --link: #FAB40A;
  --gold: #FAB40A;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font: 400 17px/1.55 var(--f-body); color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
:where(button) { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- barre supérieure ---------- */
.topbar { background: var(--brand); color: color-mix(in srgb, var(--brand-ink) 78%, transparent); font-size: 14px; border-bottom: 1px solid color-mix(in srgb, var(--brand-ink) 10%, transparent); }
.topbar .wrap { display: flex; gap: 18px; align-items: center; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.topbar a:hover { color: var(--brand-ink); }
.topbar .sp { flex: 1; }
.pill-ok { display: inline-flex; gap: 7px; align-items: center; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--brand-ink) 10%, transparent); color: var(--brand-ink); font-size: 13px; }
.pill-ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5FD39A; }
.sister { font-weight: 600; color: var(--brand-ink) !important; }

/* ---------- en-tête ---------- */
.head { background: var(--brand); color: var(--brand-ink); position: sticky; top: 0; z-index: 40; transition: box-shadow .3s; }
.head.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.head .wrap { display: flex; align-items: center; gap: 28px; min-height: 86px; }
.logo { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: inherit; text-decoration: none; font: 600 16px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; padding: 12px 12px; border-radius: var(--r-s); }
.nav a:hover { background: color-mix(in srgb, var(--brand-ink) 9%, transparent); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 99px; padding: 13px 22px; font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-acc { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-hot { background: var(--hot); color: var(--hot-ink); }
.btn-round { width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--brand-ink) 35%, transparent); background: transparent; color: inherit; display: inline-grid; place-items: center; }
.burger { display: none; }

/* ---------- info flash ---------- */
.flash { display: none; }
.flash.on { display: block; animation: drop .45s var(--ease); }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }
.flash .wrap { display: flex; align-items: center; gap: 18px; min-height: 52px; }
.flash .tag { display: inline-flex; gap: 8px; align-items: center; font: 700 14px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .3); }
.flash p { margin: 0; flex: 1; }
.flash a { color: inherit; font-weight: 700; }
.flash button { background: none; border: 0; color: inherit; padding: 8px; border-radius: 50%; }
.flash[data-niveau="alerte"] { background: #B23A2E; color: #fff; }
.flash[data-niveau="info"] { background: var(--brand-2); color: #fff; }
.flash[data-niveau="evenement"] { background: var(--accent); color: var(--accent-ink); }
.flash[data-niveau="evenement"] .tag { border-color: rgba(0, 0, 0, .2); }

/* ---------- pop-up ---------- */
.popup { border: 0; padding: 0; border-radius: var(--r-l); width: min(460px, calc(100% - 32px)); box-shadow: var(--sh-2); background: var(--paper); color: var(--ink); }
.popup::backdrop { background: rgba(5, 14, 20, .55); backdrop-filter: blur(3px); }
.popup .band { height: 10px; background: linear-gradient(90deg, var(--accent), var(--hot)); }
.popup .in { padding: 26px 28px 28px; }
.popup .kicker { font: 700 13px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.popup h2 { font: 700 30px/1.05 var(--f-cond); text-transform: uppercase; margin: 10px 0 10px; }
.popup p { margin: 0 0 20px; color: var(--ink-2); }
.popup .row { display: flex; gap: 10px; flex-wrap: wrap; }
.popup .x { position: absolute; right: 12px; top: 18px; background: none; border: 0; padding: 8px; color: var(--ink-3); }

/* ---------- héros recherche (Ville) ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--brand-2) 90%, #fff 6%), transparent 60%), var(--brand); color: var(--brand-ink); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -45% auto; width: 680px; height: 680px; border-radius: 50%; border: 1px solid rgba(222, 170, 81, .22); box-shadow: 0 0 0 60px rgba(222, 170, 81, .05), 0 0 0 140px rgba(222, 170, 81, .03); pointer-events: none; }
.hero .wrap { padding: 66px 0 120px; position: relative; z-index: 1; }
.hero-ph { position: absolute; inset: 0; }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-ph:not(:empty)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--brand) 92%, transparent) 0%, color-mix(in srgb, var(--brand) 78%, transparent) 46%, color-mix(in srgb, var(--brand) 12%, transparent) 100%), linear-gradient(0deg, color-mix(in srgb, var(--brand) 85%, transparent) 0%, transparent 30%); }
@media (max-width: 760px) { .hero-ph:not(:empty)::after { background: color-mix(in srgb, var(--brand) 80%, transparent); } }
.hero .hello { font: italic 400 22px/1 var(--f-body); color: var(--gold); margin: 0 0 12px; }
.hero h1 { font: 700 clamp(44px, 6.4vw, 86px)/.92 var(--f-cond); text-transform: uppercase; margin: 0 0 18px; letter-spacing: -.01em; }
.hero .lead { max-width: 560px; font-size: 19px; color: color-mix(in srgb, var(--brand-ink) 82%, transparent); margin: 0 0 30px; }
.search { position: relative; max-width: 720px; }
.search .box { display: flex; align-items: center; gap: 12px; background: #fff; color: #0E1A20; border-radius: 99px; padding: 8px 8px 8px 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.search input { flex: 1; border: 0; outline: 0; font-size: 18px; padding: 10px 0; background: transparent; min-width: 0; }
.search .box:focus-within { box-shadow: 0 0 0 4px var(--accent), 0 18px 50px rgba(0, 0, 0, .25); }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 10px); background: #fff; color: #0E1A20; border-radius: var(--r-m); box-shadow: var(--sh-2); list-style: none; margin: 0; padding: 8px; display: none; z-index: 5; }
.sugg.on { display: block; animation: drop .2s var(--ease); }
.sugg li a { display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: var(--r-s); color: inherit; text-decoration: none; }
.sugg li a:hover, .sugg li a[aria-selected="true"] { background: #F2F6F7; }
.sugg .src { margin-left: auto; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #EAF2F5; color: #074A63; white-space: nowrap; }
.sugg .src.eole { background: #FFF2D1; color: #6B4A00; }
.sugg .src.pdf { background: #F4E9FF; color: #5B2C8A; }
.sugg .fix { padding: 8px 12px 4px; font-size: 14px; color: #64757E; }
.sugg .fix b { color: #0E1A20; }
.hint { margin: 14px 0 0; font-size: 14px; color: color-mix(in srgb, var(--brand-ink) 66%, transparent); }

/* ---------- accès rapides ---------- */
.quick { margin-top: -64px; position: relative; z-index: 2; }
.quick ul { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--sh-2); }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 16px; border-radius: var(--r-m); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; text-align: center; line-height: 1.2; transition: background .2s, transform .2s var(--ease); }
.quick a:hover { background: var(--paper-2); transform: translateY(-2px); }
.quick .ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 22%, #fff); color: var(--brand); }
.quick .ic .ico { width: 24px; height: 24px; }

/* ---------- sections ---------- */
.sec { padding: 84px 0; }
.sec.alt { background: var(--paper-2); }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.kick { font: 700 14px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--hot); margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.sec h2 { font: 700 clamp(34px, 4vw, 52px)/.95 var(--f-cond); text-transform: uppercase; margin: 0; }
.more { font: 700 15px/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--hot); padding-bottom: 6px; }

/* cartes d'actualité */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* actualités de la Ville : une grande « à la une » et trois plus petites, comme un journal */
.cards.une { grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 18px; }
.cards.une .card:first-child { grid-row: span 3; }
.cards.une .card:first-child .vis { aspect-ratio: 16/10; }
.cards.une .card:first-child .bd { padding: 24px 28px 28px; }
.cards.une .card:first-child h3 { font: 700 clamp(26px, 2.6vw, 34px)/1.05 var(--f-cond); text-transform: uppercase; }
.cards.une .card:first-child p { font-size: 17px; }
.cards.une .card:not(:first-child) { flex-direction: row; }
.cards.une .card:not(:first-child) .vis { aspect-ratio: auto; width: 40%; flex: none; min-height: 140px; }
.cards.une .card:not(:first-child) .cat { left: 10px; bottom: 10px; font-size: 11px; }
.cards.une .card:not(:first-child) .bd { padding: 14px 18px; justify-content: center; gap: 6px; }
.cards.une .card:not(:first-child) h3 { font-size: 18px; }
.cards.une .card:not(:first-child) p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; }
.card { background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.card .vis { aspect-ratio: 4/3; position: relative; overflow: hidden; }
.card .vis svg { width: 100%; height: 100%; }
.ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .cat { position: absolute; left: 14px; bottom: 14px; font: 700 12px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; background: rgba(6, 43, 58, .88); color: #fff; padding: 7px 10px; border-radius: 6px; }
.card .bd { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card time { font-size: 14px; color: var(--ink-3); }
.card h3 { font: 700 21px/1.12 var(--f-body); margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.new { position: absolute; top: 14px; right: 14px; background: var(--accent); color: var(--accent-ink); font: 700 12px/1 var(--f-cond); letter-spacing: .12em; padding: 6px 9px; border-radius: 6px; text-transform: uppercase; animation: pulse 1.6s var(--ease) 3; }
@keyframes pulse { 50% { transform: scale(1.12); } }

/* agenda */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 99px; padding: 8px 15px; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip .n { font-size: 12px; opacity: .75; }
.agenda { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.ev:hover { box-shadow: var(--sh-1); }
.ev .evis { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--brand); }
.ev .evis svg { width: 100%; height: 100%; display: block; }
.ev .evis .dt { position: absolute; left: 12px; top: 12px; min-width: 58px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.ev .evb { padding: 14px 16px 16px; }
.ev:hover { border-color: var(--hot); transform: translateY(-2px); }
.ev .dt { background: var(--brand); color: var(--brand-ink); border-radius: var(--r-s); text-align: center; padding: 10px 4px; }
.ev .dt b { display: block; font: 700 32px/1 var(--f-cond); }
.ev .dt span { font: 600 13px/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; }
.ev h3 { font-size: 18px; line-height: 1.2; margin: 2px 0 6px; }
.ev p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.src-b { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; margin-top: 8px; }
.src-b.mapado { background: #FFF2D1; color: #6B4A00; }
.src-b.ticketingcine { background: #E3F2FD; color: #0B4F86; }
.src-b.mediatheque { background: #EEF7DC; color: #3F5A10; }
.src-b.cms { background: #EAF2F5; color: #074A63; }
.ciné-row { margin-top: 34px; }
.cine-h { display: flex; gap: 14px; align-items: center; margin: 34px 0 14px; }
.cine-h h3 { margin: 0; font: 700 26px/1 var(--f-cond); text-transform: uppercase; }
.films { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.film { border-radius: var(--r-m); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.film .aff { aspect-ratio: 2/3; position: relative; }
.film .aff svg { width: 100%; height: 100%; }
.film .bd { padding: 12px 14px 14px; }
.film h4 { margin: 0 0 4px; font-size: 16px; line-height: 1.15; }
.film .g { font-size: 13px; color: var(--ink-3); margin: 0 0 10px; }
.seances { display: flex; gap: 6px; flex-wrap: wrap; }
.seances a { font-size: 13px; font-weight: 700; padding: 5px 8px; border-radius: 6px; background: var(--paper-2); color: var(--ink); text-decoration: none; border: 1px solid var(--line); }
.seances a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* carte interactive */
.mapwrap { display: grid; grid-template-columns: 320px 1fr; gap: 0; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-1); border: 1px solid var(--line); background: var(--paper); min-height: 560px; }
.mapside { padding: 20px; border-right: 1px solid var(--line); overflow: auto; max-height: 560px; }
.mapside h3 { margin: 0 0 4px; font: 700 20px/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .04em; }
.mapside .s { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; }
.cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cats label { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); cursor: pointer; font-size: 15px; }
.cats label:hover { background: var(--paper-2); }
.cats input { width: 18px; height: 18px; accent-color: var(--brand-2); }
.cats .dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.cats .n { margin-left: auto; font-size: 13px; color: var(--ink-3); }
#map { min-height: 560px; z-index: 1; }
.mk { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.mk span { transform: rotate(45deg); color: #fff; font: 700 13px/1 var(--f-body); }
.mk.trv { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 50% { transform: rotate(-45deg) translate(2px, -2px); } }
.leaflet-popup-content { font: 15px/1.4 var(--f-body); margin: 14px 16px; }
.leaflet-popup-content b { font-size: 16px; }
.leaflet-popup-content .tr { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: #FDEEE8; color: #7A2E14; font-size: 14px; }
.maplist { margin-top: 10px; }
.maplist summary { cursor: pointer; font-weight: 700; }

/* démarches */
.demarches { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: stretch; }
.panel { background: var(--paper); border-radius: var(--r-l); padding: 30px; box-shadow: var(--sh-1); }
.panel h3 { margin: 0 0 8px; font: 700 28px/1 var(--f-cond); text-transform: uppercase; }
.panel p { color: var(--ink-2); }
.panel ul.links { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.panel ul.links a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-m); background: var(--paper-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.panel ul.links a:hover { background: color-mix(in srgb, var(--accent) 30%, #fff); }
.panel ul.links small { margin-left: auto; color: var(--ink-3); font-weight: 500; }
.panel.dark { background: var(--brand); color: var(--brand-ink); position: relative; overflow: hidden; }
.panel.dark p { color: color-mix(in srgb, var(--brand-ink) 78%, transparent); }
.stat { font: 700 64px/1 var(--f-cond); color: var(--accent); }

/* newsletter */
.nl { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%); color: var(--brand-ink); }
.nl .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 60px 0; }
.nl h2 { font: 700 44px/.95 var(--f-cond); text-transform: uppercase; margin: 0 0 10px; }
.nl form { display: flex; gap: 10px; background: #fff; border-radius: 99px; padding: 7px; }
.nl input { flex: 1; border: 0; outline: 0; padding: 10px 16px; color: #0E1A20; min-width: 0; background: transparent; }
.nl .ok { margin-top: 12px; font-weight: 600; min-height: 1.5em; }

/* pied de page */
.foot { background: #04202B; color: rgba(255, 255, 255, .78); padding: 56px 0 30px; font-size: 15px; }
[data-site="eole"] .foot { background: #08060C; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h3 { color: #fff; font: 700 16px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: inherit; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* ruban de démonstration */
.demo-tag { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; gap: 10px; align-items: center; background: #3B3636; color: #F7F1E8; border-radius: 99px; padding: 8px 8px 8px 16px; font: 600 13px/1.2 "Figtree", var(--f-body); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.demo-tag a { color: #3B3636; background: #E57834; color: #fff; text-decoration: none; padding: 7px 12px; border-radius: 99px; font-weight: 700; }
.demo-tag a.alt { background: #F7F1E8; color: #3B3636; }
.demo-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: #E57834; box-shadow: 0 0 0 4px rgba(229, 120, 52, .25); }

/* apparition au défilement */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- ÉOLE ---------- */
[data-site="eole"] .head { background: rgba(14, 10, 20, .86); backdrop-filter: blur(10px); }
.e-logo { display: flex; align-items: baseline; gap: 12px; }
.e-logo b { font: 700 34px/1 var(--f-cond); letter-spacing: .06em; color: var(--brand-ink); }
.e-logo b i { font-style: normal; color: var(--accent); }
.e-logo span { font: 600 12px/1.25 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.e-hero { position: relative; min-height: 640px; display: grid; align-items: end; overflow: hidden; background: #0E0A14; }
.e-hero .bg { position: absolute; inset: 0; }
.e-hero .bg svg { width: 100%; height: 100%; }
.e-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0E0A14 6%, rgba(14, 10, 20, .55) 45%, rgba(14, 10, 20, .1) 100%), linear-gradient(90deg, rgba(14, 10, 20, .7), rgba(14, 10, 20, 0) 65%); }
.e-hero .wrap { position: relative; padding: 0 0 70px; }
.e-hero .saison { display: inline-flex; gap: 10px; align-items: center; font: 700 14px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 9px 14px; border-radius: 99px; }
.e-hero .saison::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.e-hero h1 { font: 700 clamp(56px, 9vw, 132px)/.86 var(--f-cond); text-transform: uppercase; margin: 22px 0 16px; max-width: 900px; }
.e-hero p { max-width: 560px; font-size: 19px; color: var(--ink-2); margin: 0 0 8px; }
.e-hero .meta { font-weight: 600; color: var(--ink); margin: 14px 0 26px; }
.e-hero .row { display: flex; gap: 12px; flex-wrap: wrap; }
.shows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.show { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 420px; display: flex; align-items: end; isolation: isolate; color: #fff; text-decoration: none; }
.show .aff { position: absolute; inset: 0; z-index: -1; transition: transform .6s var(--ease); }
.show:hover .aff { transform: scale(1.05); }
.show .aff svg { width: 100%; height: 100%; }
.show .bd { padding: 24px; background: linear-gradient(0deg, rgba(10, 6, 14, .92), rgba(10, 6, 14, 0)); width: 100%; }
.show .k { font: 700 13px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.show h3 { font: 700 34px/.95 var(--f-cond); text-transform: uppercase; margin: 8px 0 8px; }
.show p { margin: 0 0 12px; color: #E6DED2; font-size: 15px; }
.show .d { font-weight: 700; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 22px; }
.days button { flex: none; border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: var(--r-m); padding: 10px 16px; text-align: center; min-width: 86px; }
.days button b { display: block; font: 700 26px/1 var(--f-cond); }
.days button span { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.days button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.days button[aria-pressed="true"] span { color: var(--accent-ink); }
[data-site="eole"] .film { background: var(--paper-2); }
[data-site="eole"] .seances a { background: transparent; color: var(--ink); }
.pratique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pratique .panel { background: var(--paper-2); color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.pratique .panel p { color: var(--ink-2); }
[data-site="eole"] .nl { background: linear-gradient(120deg, #2A1C06, #4A2E00); }
[data-site="eole"] .card { background: var(--paper-2); }
[data-site="eole"] .card .cat { background: rgba(250, 180, 10, .92); color: #160F04; }

/* ---------- espace association ---------- */
.asso-page { background: var(--paper-2); min-height: 100vh; }
.asso-box { max-width: 980px; margin: 40px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select { border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 11px 12px; background: #fff; }
.field input:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--accent) 60%, transparent); border-color: var(--brand-2); }
.doclist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doclist a { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: var(--paper-2); border-radius: var(--r-s); color: var(--ink); text-decoration: none; }
.doclist small { margin-left: auto; color: var(--ink-3); }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 95; background: #0E1A20; color: #fff; padding: 14px 18px; border-radius: var(--r-m); box-shadow: var(--sh-2); transform: translateY(140%); transition: transform .35s var(--ease); max-width: 360px; }
.toast.on { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .agenda { grid-template-columns: repeat(2, 1fr); }
  .films { grid-template-columns: repeat(3, 1fr); }
  .quick ul { grid-template-columns: repeat(4, 1fr); }
  .nav { display: none; }
  .burger { display: inline-grid; margin-left: auto; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--brand); padding: 8px 20px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
  .nav.open a { padding: 16px 4px; border-bottom: 1px solid color-mix(in srgb, var(--brand-ink) 12%, transparent); font-size: 20px; }
  .head .btn-acc { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar .hide-s { display: none; }
  .head .wrap { min-height: 70px; gap: 12px; }
  .logo img { height: 42px; }
  .hero .wrap { padding: 40px 0 100px; }
  .cards.une { grid-template-columns: 1fr; grid-template-rows: none; } .cards.une .card:first-child { grid-row: auto; }
  .cards, .agenda, .shows, .pratique, .demarches, .nl .wrap, .foot .cols, .asso-box { grid-template-columns: 1fr; }
  .films { grid-template-columns: repeat(2, 1fr); }
  .quick ul { grid-template-columns: repeat(2, 1fr); }
  .mapwrap { grid-template-columns: 1fr; }
  .mapside { max-height: none; border-right: 0; border-bottom: 1px solid var(--line); }
  #map { min-height: 420px; }
  .flash .tag { display: none; }
  .sec { padding: 60px 0; }
  .demo-tag { left: 10px; right: 10px; bottom: 10px; justify-content: space-between; gap: 6px; padding-left: 12px; font-size: 12px; }
  .demo-tag .t { flex: 1; min-width: 0; line-height: 1.15; }
  .demo-tag .t .l { display: none; }
  .demo-tag a { padding: 7px 10px; }
  body { padding-bottom: 64px; }
}

/* captures du mémoire : aucune animation figée à mi-course */
.capture *, .capture *::before, .capture *::after { transition: none !important; animation: none !important; }
