/* MYKOLLECTOR V12 — finition publique, sans dépendance JS */
:root {
  color-scheme: dark;
  --v12-focus: #c8a66a;
}
:focus-visible { outline: 2px solid var(--v12-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  a, button, [role="button"], input, select, textarea { transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
}
img, video { max-width: 100%; }
button, input, select, textarea { font: inherit; }
::selection { background: rgba(200,166,106,.28); }

/* ═══ V12.1 · Pied de page : logo, trois colonnes de liens, mentions en bas (remplace l'ancien pied centré) ═══ */
html body footer.pied-site.pied-mko { display: block; max-width: none; width: 100%; margin: 48px 0 0; padding: 0; text-align: left; border-top: 1px solid rgba(150,231,233,.16); background: linear-gradient(180deg, rgba(8,20,34,0) 0%, rgba(8,20,34,.55) 100%); color: #9db9c4; font-size: .92rem; box-sizing: border-box; }
html body footer.pied-mko .pm-in { width: min(100% - 40px, 1240px); margin: 0 auto; padding: 36px 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.1fr; gap: 28px 32px; }
html body footer.pied-mko .pm-logo { display: inline-flex; align-items: center; gap: 12px; padding: 0; text-decoration: none; color: #eaf6f8; }
html body footer.pied-mko .pm-logo img { width: 40px; height: 40px; flex: none; }
html body footer.pied-mko .pm-logo span { display: grid; line-height: 1.1; }
html body footer.pied-mko .pm-logo b { font-size: 1.1rem; font-weight: 600; letter-spacing: .06em; }
html body footer.pied-mko .pm-logo small { font-size: .66rem; letter-spacing: .34em; color: #6fa6b3; margin-top: 3px; }
html body footer.pied-mko .pm-marque p { margin: 14px 0 0; max-width: 30ch; line-height: 1.5; color: #8fb2bd; }
html body footer.pied-mko .pm-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
html body footer.pied-mko .pm-col h3 { margin: 0 0 8px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #35d6d9; }
html body footer.pied-mko .pm-col a { display: inline-block; padding: 7px 0; min-height: 0; color: #c4d9df; text-decoration: none; font-weight: 500; font-size: .94rem; line-height: 1.3; opacity: 1; }
html body footer.pied-mko .pm-col a:hover, html body footer.pied-mko .pm-col a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #35d6d9; }
html body footer.pied-mko .pm-bas { width: min(100% - 40px, 1240px); margin: 0 auto; padding: 16px 0 28px; border-top: 1px solid rgba(150,231,233,.1); font-size: .8rem; color: #6f8f9b; }
@media (max-width: 820px) {
  html body footer.pied-mko .pm-in { grid-template-columns: 1fr 1fr; gap: 26px 24px; padding-top: 30px; }
  html body footer.pied-mko .pm-marque { grid-column: 1 / -1; }
  html body footer.pied-mko .pm-col a { padding: 9px 0; }
  html body footer.pied-mko .pm-col:last-of-type { grid-column: 1 / -1; }
  html body footer.pied-mko .pm-col:last-of-type a { display: inline-block; margin-right: 20px; }
}

/* ═══ V12.1 · Pied de page « aurore boréale et lucioles » (limité au pied : rien d'animé ailleurs sur la page) ═══ */
html body footer.pied-mko { position: relative; overflow: hidden; isolation: isolate; }
html body footer.pied-mko > .pm-in, html body footer.pied-mko > .pm-bas { position: relative; z-index: 2; }
html body footer.pied-mko .pm-lucioles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
html body footer.pied-mko::before, html body footer.pied-mko::after { content: ""; position: absolute; inset: -30% -10% 10%; z-index: 0; pointer-events: none; mix-blend-mode: screen; filter: blur(34px); transform: translateZ(0); }
html body footer.pied-mko::before {
  background:
    radial-gradient(ellipse 40% 34% at 22% 30%, rgba(53,209,212,.34), transparent 72%),
    radial-gradient(ellipse 36% 32% at 55% 14%, rgba(44,205,208,.26), transparent 72%),
    radial-gradient(ellipse 32% 34% at 84% 30%, rgba(131,111,234,.30), transparent 72%);
  animation: aurore-voile-a 19s ease-in-out infinite alternate;
}
html body footer.pied-mko::after {
  background:
    linear-gradient(112deg, transparent 8%, rgba(74,214,217,0) 19%, rgba(74,214,217,.24) 28%, rgba(86,217,219,.07) 39%, transparent 49%),
    linear-gradient(103deg, transparent 35%, rgba(92,176,227,0) 44%, rgba(92,176,227,.20) 55%, rgba(151,134,238,.09) 66%, transparent 78%);
  animation: aurore-voile-b 24s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) { html body footer.pied-mko::before, html body footer.pied-mko::after { animation: none; } }

html body footer.pied-mko .pm-bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 20px; }
html body footer.pied-mko .pm-propulse { color: #8fb2bd; }
html body footer.pied-mko .pm-propulse b { font-weight: 700; color: #eaf6f8; letter-spacing: .02em; }
html body footer.pied-mko .pm-propulse i { font-style: normal; color: #35d6d9; }

/* V12.1 · Pied de page compact sur mobile */
@media (max-width: 820px) {
  html body footer.pied-site.pied-mko { margin-top: 32px; }
  html body footer.pied-mko .pm-in { padding: 22px 0 10px; gap: 14px 20px; }
  html body footer.pied-mko .pm-logo img { width: 32px; height: 32px; }
  html body footer.pied-mko .pm-logo b { font-size: 1rem; }
  html body footer.pied-mko .pm-marque p { margin: 8px 0 0; font-size: .84rem; max-width: none; }
  html body footer.pied-mko .pm-col h3 { margin-bottom: 2px; font-size: .66rem; }
  html body footer.pied-mko .pm-col a { padding: 6px 0; font-size: .9rem; }
  html body footer.pied-mko .pm-col:last-of-type { flex-direction: row; flex-wrap: wrap; gap: 0 16px; padding-top: 6px; border-top: 1px solid rgba(150,231,233,.1); }
  html body footer.pied-mko .pm-col:last-of-type h3 { flex: 0 0 100%; margin: 8px 0 0; }
  html body footer.pied-mko .pm-col:last-of-type a { margin: 0; padding: 5px 0; font-size: .8rem; color: #9db9c4; }
  html body footer.pied-mko .pm-bas { padding: 10px 0 16px; font-size: .74rem; flex-direction: column; align-items: flex-start; gap: 2px; border-top: 0; }
}

/* V12.1 · Mobile : on ne garde que le logo, les liens légaux et la mention de bas de page (le menu du haut couvre déjà « Découvrir » et « Créateurs »). */
@media (max-width: 820px) {
  html body footer.pied-mko .pm-col:not(:last-of-type) { display: none; }
  html body footer.pied-mko .pm-col:last-of-type { border-top: 0; padding-top: 0; }
  html body footer.pied-mko .pm-col:last-of-type h3 { display: none; }
  html body footer.pied-mko .pm-in { padding-bottom: 4px; gap: 10px; }
}

/* ── Parcours d'exemple : ruban rouge en coin sur les cartes, languette rouge sur le côté gauche des pages ── */
.ruban-demo { position: relative; overflow: hidden; }
.ruban-demo::before { content: 'Exemple'; position: absolute; z-index: 6; top: 22px; left: -42px; width: 150px; padding: 3px 0; text-align: center; transform: rotate(-45deg); background: #d6212b; color: #fff; font: 700 11px/1.5 system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); pointer-events: none; }
.demo-cote { position: fixed; z-index: 60; right: 0; top: 42%; padding: 14px 7px; background: #d6212b; color: #fff; font: 700 12px/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); border-radius: 0 8px 8px 0; box-shadow: 2px 0 8px rgba(0, 0, 0, .35); pointer-events: none; }

/* ═══ V12.25 · Pied de page : le FOND occupe toute la largeur de l'écran, le texte reste dans la colonne du site (1240 px) ═══ */
html body.nuit.sobre footer.pied-site.pied-mko, html body footer.pied-site.pied-mko { max-width: none; width: 100%; margin: 48px 0 0; padding: 0; box-sizing: border-box; }
html body footer.pied-mko .pm-in, html body footer.pied-mko .pm-bas { width: min(100% - 40px, 1240px); }

/* ═══ V12.25 · Couverture d'une expérience : la hauteur s'adapte au titre (un long titre sur 3 lignes n'est plus coupé sous l'en-tête) ═══ */
html body.nuit.sobre .couverture, html body .couverture { height: auto; min-height: min(40vh, 360px); box-sizing: border-box; }
html body.nuit.sobre .couverture .in { padding-top: 112px; }

/* V12.56 · Pied de page : marque selon la charte (MyKollect léger + Or turquoise + ®), liens légaux en grille, moins de vide au-dessus */
html body footer.pied-mko .pm-logo b { font-family: 'Montserrat', system-ui, sans-serif; font-weight: 300; letter-spacing: .09em; color: #fff; }
html body footer.pied-mko .pm-logo b i { font-style: normal; font-weight: 500; color: #35d6d9; }
html body footer.pied-mko .pm-logo b sup, html body footer.pied-mko .pm-propulse b sup { font-size: .55em; font-weight: 400; margin-left: 2px; color: rgba(255,255,255,.7); vertical-align: super; letter-spacing: 0; }
html body footer.pied-mko .pm-propulse b { font-weight: 400; letter-spacing: .06em; }
@media (max-width: 820px) {
  html body footer.pied-site.pied-mko { margin-top: 8px; }
  html body footer.pied-mko .pm-col:last-of-type { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 4px 0 0; border-top: 1px solid rgba(150,231,233,.1); }
  html body footer.pied-mko .pm-col:last-of-type a { margin: 0; padding: 9px 0; font-size: .78rem; white-space: nowrap; border-bottom: 1px solid rgba(150,231,233,.07); }
  html body footer.pied-mko .pm-bas { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 0 18px; border-top: 0; }
  html body.nuit.sobre .page-billet { padding-bottom: 24px; }
}

/* V12.56 · Menu principal : six liens sur une seule ligne sur grand écran (en dessous, il passe à la ligne comme avant) */
@media (min-width: 1200px) {
  html body.nuit header.entete.nav .in.nav-in { gap: 12px; }
  html body.nuit header.entete.nav .menu { flex-wrap: nowrap; gap: 0; }
  html body.nuit header.entete.nav .menu a { padding: 8px 9px; font-size: .84rem; white-space: nowrap; }
}

.ruban-demo.petit::before{width:116px;top:15px;left:-36px;font-size:9.5px}
.creator-mark-box{position:relative;display:inline-block;line-height:0;border-radius:28px;overflow:hidden}.creator-mark-box .creator-mark{display:block}
@media(max-width:650px){.creator-mark-box{border-radius:18px}.creator-mark-box.ruban-demo::before{width:86px;top:10px;left:-28px;font-size:8px;padding:2px 0}}

.onglets-exp{display:flex;gap:6px;margin:0 0 22px;padding:5px;border:1px solid rgba(150,231,233,.22);border-radius:999px;width:max-content;max-width:100%;background:rgba(255,255,255,.04)}.onglets-exp a{padding:9px 22px;border-radius:999px;color:#cfe3ee;font-weight:700;font-size:.95rem;text-decoration:none}.onglets-exp a:hover{color:#fff}.onglets-exp a[aria-current=page]{background:#20bfc2;color:#06222a}
@media(max-width:520px){.onglets-exp{width:100%}.onglets-exp a{flex:1;text-align:center;padding:9px 10px}}

.onglets-sol{flex-wrap:wrap;border-radius:22px}.onglets-sol a{padding:9px 16px}@media(max-width:520px){.onglets-sol{width:100%}.onglets-sol a{flex:1 1 30%;padding:9px 8px;font-size:.88rem}}
.sol-cartes{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.sol-cartes li{position:relative;padding:22px 20px;border:1px solid rgba(53,214,217,.28);border-radius:16px;background:linear-gradient(160deg,#0d1f33,#08121f);display:flex;flex-direction:column;gap:8px}.sol-cartes .n{position:absolute;top:16px;right:18px;font-weight:800;font-size:.78rem;color:#35d6d9}.sol-cartes b{font-size:1.1rem;color:#fff;padding-right:24px}.sol-cartes li>span:last-child{color:#cfdbe8;line-height:1.55;font-size:.95rem}
@media(max-width:900px){.sol-cartes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.sol-cartes{grid-template-columns:minmax(0,1fr)}}
.ac .onglets-exp,.ac.pv .onglets-exp{margin-top:20px}

/* V12.71 : onglets Expériences et La solution strictement identiques, quelle que soit la page */
html body nav.onglets-exp{display:flex;flex-wrap:wrap;gap:4px;box-sizing:border-box;width:max-content;max-width:100%;margin:28px 0 30px;padding:5px;border:1px solid rgba(150,231,233,.22);border-radius:999px;background:rgba(255,255,255,.04);font-family:inherit}
html body nav.onglets-exp a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:42px;padding:0 20px;border-radius:999px;font-size:15px;font-weight:700;line-height:1;letter-spacing:0;color:#cfe3ee;text-decoration:none;white-space:nowrap}
html body nav.onglets-exp a:hover{color:#fff;background:rgba(255,255,255,.05)}
html body nav.onglets-exp a[aria-current=page]{background:#20bfc2;color:#06222a}
@media(max-width:560px){html body nav.onglets-exp{width:100%;border-radius:22px;margin:18px 0 22px}html body nav.onglets-exp a{flex:1 1 30%;height:40px;padding:0 8px;font-size:14px}}

.onglets-barre{box-sizing:border-box;max-width:1240px;margin:0 auto;padding:26px 24px 0}
html body .onglets-barre nav.onglets-exp{margin:0}
@media(max-width:560px){.onglets-barre{padding:16px 14px 0}}

/* V12.71 : même gabarit pour les pages à onglets (Expériences et La solution) : largeur alignée sur l'en-tête, mêmes espaces en haut et en bas */
html body.nuit.sobre .onglets-barre,
html body.nuit.sobre .onglets-barre + main.pv,
html body.nuit.sobre .onglets-barre + main.ac,
html body.nuit.sobre .onglets-barre + main.page-pub{width:min(100% - 2 * var(--mk-g), var(--mk-w));max-width:var(--mk-w);margin-inline:auto;padding-inline:0;box-sizing:border-box}
html body.nuit.sobre .onglets-barre{padding:28px 0 32px}
html body.nuit.sobre .onglets-barre + main{padding-top:0!important;margin-top:0!important}
html body.nuit.sobre .onglets-barre + main > :first-child{margin-top:0!important}
html body.nuit.sobre .onglets-barre + main{padding-bottom:64px!important}
@media(max-width:560px){html body.nuit.sobre .onglets-barre{padding:16px 0 22px}}

/* V12.72 : onglets centrés ; en-têtes des 6 pages de La solution dans le même cadre (carte arrondie, 600 px) */
html body.nuit.sobre .onglets-barre{display:flex;justify-content:center}
html body.nuit.sobre .onglets-barre nav.onglets-exp{margin-inline:auto;justify-content:center}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:44px;align-items:center;box-sizing:border-box;min-height:600px;padding:44px 52px;border:1px solid rgba(150,231,233,.16);border-radius:28px;background:linear-gradient(135deg,rgba(12,26,45,.95),rgba(7,15,24,.95));overflow:hidden}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero .ac-photo{height:100%;min-height:440px;max-height:520px;aspect-ratio:auto;border-radius:22px}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero h1{font-size:clamp(2.2rem,4.4vw,3.4rem);line-height:1.04}
html body.nuit.sobre .onglets-barre + main.pv > .pv-hero{min-height:600px}
@media(max-width:1000px){html body.nuit.sobre .onglets-barre + main.ac > .ac-hero{grid-template-columns:minmax(0,1fr);gap:26px;min-height:0;padding:30px 24px}html body.nuit.sobre .onglets-barre + main.ac > .ac-hero .ac-photo{min-height:0;height:auto;max-height:none;aspect-ratio:16/11}}
@media(max-width:560px){html body.nuit.sobre .onglets-barre + main.ac > .ac-hero{padding:22px 16px;border-radius:22px}}
/* V12.96 : bandeau de tête des pages Créer / Billetterie / Régie / Partage / Tarifs = même style que Présentation (photo qui remplit la carte, sans cadre doré) */
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero{position:relative;isolation:isolate;display:flex;align-items:flex-end;gap:0;padding:0;min-height:600px;background:#09182a;border-radius:28px;overflow:hidden}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(7,20,38,.94) 0%,rgba(7,20,38,.82) 42%,rgba(7,20,38,.1) 72%),linear-gradient(180deg,rgba(7,20,38,0) 55%,rgba(7,20,38,.7) 100%)}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero .ac-photo{position:absolute;inset:0;z-index:-2;height:auto;min-height:0;max-height:none;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero .ac-photo .puce{display:none}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero > div:first-child{box-sizing:border-box;padding:44px 34px 40px;max-width:590px}
@media(max-width:640px){
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero{display:flex;flex-direction:column-reverse;align-items:stretch;min-height:0;border-radius:22px}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero::after{display:none}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero .ac-photo{position:relative;inset:auto;z-index:auto;display:block;height:260px}
html body.nuit.sobre .onglets-barre + main.ac > .ac-hero > div:first-child{padding:22px 20px 24px;max-width:none}
}
/* V12.98 : captures d'écran du back-office dans les pages Créer / Billetterie / Régie / Partage */
.ac-vitrine{display:grid;gap:52px;margin-top:56px}
.ac-vit{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;align-items:center}
.ac-vit.inv{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}
.ac-vit.inv figure{order:2}
.ac-vit figure{margin:0;min-width:0;border-radius:18px;overflow:hidden;border:1px solid rgba(150,231,233,.18);box-shadow:0 24px 60px rgba(0,0,0,.45);background:#09182a}
.ac-vit figure img{display:block;width:100%;height:auto}
.ac-vit figcaption{padding:9px 14px;font-size:.78rem;color:#8fa6bd;border-top:1px solid rgba(150,231,233,.12)}
.ac-vit.tel figure{max-width:300px;width:100%;justify-self:center}
.ac-vit.aff figure{max-width:380px;width:100%;justify-self:center}
.ac-vit > div{min-width:0}
.ac-vit .eyebrow{margin:0 0 6px}
.ac-vit h3{margin:0 0 10px;font-size:1.5rem;line-height:1.15;text-wrap:balance}
.ac-vit p{margin:0 0 12px;color:#cfe0ee;line-height:1.55}
.ac-vit ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ac-vit li{position:relative;padding-left:24px;color:#b9cde0;line-height:1.45}
.ac-vit li::before{content:"✓";position:absolute;left:0;top:0;color:#35d6d9;font-weight:800}
@media(max-width:900px){.ac-vit,.ac-vit.inv{grid-template-columns:minmax(0,1fr);gap:18px}.ac-vit.inv figure{order:0}.ac-vitrine{gap:42px}}
/* V12.73 : bloc final (CTA) — marges internes rétablies, boutons jamais collés aux bords */
html body.nuit.sobre main .pv-fin{box-sizing:border-box;padding:48px 32px!important}
html body.nuit.sobre main .pv-fin .acts{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:4px 0 0}
@media(max-width:640px){html body.nuit.sobre main .pv-fin{padding:34px 18px!important}html body.nuit.sobre main .pv-fin .acts{flex-direction:column;align-items:stretch}html body.nuit.sobre main .pv-fin .acts .btn{width:100%;max-width:none;margin:0;box-sizing:border-box}}
/* V12.77 : photo d'en-tête de Devenir créateur */
html body .titre-page.dc-tete{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:40px;align-items:center}
html body .dc-tete .dc-photo{border-radius:22px;overflow:hidden;aspect-ratio:3/2;border:1px solid rgba(150,231,233,.16)}
html body .dc-tete .dc-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
@media(max-width:900px){html body .titre-page.dc-tete{grid-template-columns:minmax(0,1fr);gap:22px}}
/* V12.81 : pied de page sans traits intérieurs */
html body footer.pied-mko *{border-top:0!important;border-bottom:0!important}
/* V12.90 : bandeau « Essayez en 5 minutes » vers la simulation guidée */
html body a.essai-bande{display:flex;align-items:center;gap:18px;box-sizing:border-box;width:100%;max-width:100%;margin:34px 0 0;padding:20px 24px;border-radius:20px;border:1px solid rgba(246,210,122,.55);background:linear-gradient(120deg,rgba(246,210,122,.16),rgba(32,191,194,.10));color:#eaf6f8;text-decoration:none;transition:transform .2s,box-shadow .2s}
html body a.essai-bande:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(0,0,0,.3)}
html body a.essai-bande .eb-ic{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#f6d27a,#e0a93b);color:#2a1b00;font-size:1.2rem}
html body a.essai-bande .eb-tx{flex:1;min-width:0}html body a.essai-bande .eb-tx b{display:block;font-size:1.2rem;color:#fff}html body a.essai-bande .eb-tx span{display:block;margin-top:3px;color:#c4d9df;line-height:1.45}
html body a.essai-bande .eb-go{flex:none;font-weight:800;color:#f6d27a;white-space:nowrap}
html body .pv a.essai-bande{margin:56px 0 0}
@media(max-width:640px){html body a.essai-bande{flex-wrap:wrap;padding:18px}html body a.essai-bande .eb-go{flex-basis:100%;white-space:normal}}
@media(prefers-reduced-motion:reduce){html body a.essai-bande{transition:none}}
