/* ==== Charte graphique Bokkidee ====
   Bleu Bokkidee #024aaa (couleur principale)   Bleu nuit #0b2a5c (titres, pied de page, fonds sombres)
   Jaune soleil #ffd014 (accent, appels à l'action)   Jaune doux #fff3bf   Bleu ciel #dbeafe   Fond #f6f9ff
   Titres : Fredoka (arrondie, comme le logo) ; texte : police système. Ne pas utiliser d'autres couleurs vives. */
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("../fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg: #f6f9ff; --surface: #fff; --text: #0f1b33; --muted: #5b6b86; --line: #dce4f2;
  --brand: #024aaa; --brand-dark: #013a85; --navy: #0b2a5c; --sky: #dbeafe;
  --accent: #ffd014; --accent-soft: #fff3bf; --danger: #b91c1c; --ok: #15803d;
  --radius: 14px; --shadow: 0 6px 20px rgba(2, 74, 170, .10); --shadow-lg: 0 14px 34px rgba(2, 74, 170, .18);
  --font-title: "Fredoka", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--brand); }
h1, h2, h3, .brand { font-family: var(--font-title); }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 1.2rem 0 .6rem; color: var(--navy); }
h2 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: .4rem 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 520px; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .92rem; margin: .2rem 0; }
.inline { display: inline; margin: 0; }
main { min-height: 70vh; padding-bottom: 32px; }

/* Header */
.topbar { transition: box-shadow .2s ease; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 56px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.3rem; color: var(--brand); text-decoration: none; }
.brand img { height: 32px; width: auto; display: block; }
.nav { display: none; width: 100%; flex-direction: column; gap: 4px; padding: 8px 0 12px; }
.nav.open { display: flex; }
.nav a, .linklike { color: var(--text); text-decoration: none; padding: 6px 2px; }
.nav a:hover, .linklike:hover { color: var(--brand); }
.linklike { background: none; border: 0; font: inherit; cursor: pointer; text-align: left; color: var(--muted); padding: 6px 2px; }
.lang { font-weight: 700; color: var(--muted) !important; }
.menu-toggle { background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 1.2rem; padding: 4px 10px; cursor: pointer; }
@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .nav { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; align-items: center; width: auto; gap: 6px 14px; padding: 0; }
}

/* Boutons */
.btn { display: inline-block; background: var(--brand); color: #fff !important; border: 1px solid var(--brand); border-radius: 10px;
  padding: 10px 18px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn { transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--navy) !important; }
.btn-accent:hover { background: #ffdc4d; }
.btn-ghost { background: transparent; color: var(--brand) !important; }
.btn-ghost:hover { background: var(--sky); }
.btn-small { padding: 6px 12px; font-size: .9rem; }

/* Formulaires */
.form { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.form label, fieldset { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .95rem; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; background: var(--surface); }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; width: 100%; color: var(--text); }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .linklike:focus-visible { outline: 3px solid #93c5fd; outline-offset: 1px; }
.check, .chip { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 400 !important; }
.check input, .chip input { width: auto; }
.field-err { color: var(--danger); margin: -6px 0 0; font-size: .88rem; }
.form-inline { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.form-inline label { display: flex; flex-direction: column; font-weight: 600; font-size: .9rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.filters { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 12px 0 20px; }
@media (min-width: 700px) { .filters { grid-template-columns: 2fr 1fr 1fr auto; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); cursor: pointer; }
.chip:has(input:checked) { background: #dbeafe; border-color: var(--brand); }

/* Cartes et listes */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 14px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card > :not(.card-visual) { margin-left: 14px; margin-right: 14px; }
.card-visual { height: 96px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; background: linear-gradient(135deg, var(--c1, #024aaa), var(--c2, #0b2a5c)); position: relative; overflow: hidden; }
.card-visual::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 208, 20, .28); right: -30px; top: -40px; }
.card-visual span { position: relative; z-index: 1; transition: transform .3s ease; }
.card:hover .card-visual span { transform: scale(1.18) rotate(-6deg); }
.card-tags { margin-top: 12px; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--brand); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: #dbeafe; color: var(--brand-dark); }
.tag-city { background: var(--accent-soft); color: #6b4e00; }
.tag-score { background: #e0e7ff; color: #3730a3; }
.tag-warn, .tag-pending { background: #fff3bf; color: #92400e; }
.tag-paid, .tag-confirmed, .tag-published { background: #dcfce7; color: var(--ok); }
.tag-cancelled { background: #fee2e2; color: var(--danger); }
.list { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; flex-wrap: wrap; }
.row p { margin: 2px 0; }
.row-link { text-decoration: none; color: inherit; }
.row-link:hover { border-color: var(--brand); }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin: 16px 0; }
.prose { margin: 14px 0; }
.report { margin-top: 12px; font-size: .92rem; }
.report summary { cursor: pointer; color: var(--muted); }

/* Accueil */
.hero { background: linear-gradient(135deg, #dbeafe, #fff3bf); border-radius: 18px; padding: 32px 20px; margin: 18px 0; text-align: center; }
.lead { font-size: 1.1rem; max-width: 620px; margin: 0 auto 16px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 24px 0; }
.steps > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: transform .2s ease, box-shadow .2s ease; }
.steps > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--navy); font-family: var(--font-title); font-weight: 700; align-items: center; justify-content: center; margin-right: 8px; }

/* Messages */
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; height: 55vh;
  overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.bubble { max-width: 80%; align-self: flex-start; background: #f1f5f9; border-radius: 14px 14px 14px 4px; padding: 8px 12px; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: #dbeafe; border-radius: 14px 14px 4px 14px; }
.bubble time { display: block; font-size: .7rem; color: var(--muted); margin-top: 2px; }
.chat-form { display: flex; gap: 8px; margin-top: 10px; }
.chat-tools { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-top: 10px; }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; color: var(--brand); }
.stat span { color: var(--muted); font-size: .85rem; }

/* Messages flash */
.flash { padding: 10px 14px; border-radius: 10px; margin: 12px 0; border: 1px solid transparent; }
.flash-success { background: #dcfce7; border-color: #86efac; color: #14532d; }
.flash-error { background: #fee2e2; border-color: #fca5a5; color: #7f1d1d; }
.flash-info { background: #e0f2fe; border-color: #7dd3fc; color: #0c4a6e; }

.footer { background: var(--navy); border-top: 4px solid var(--accent); padding: 22px 0; color: #cfdcf5; font-size: .92rem; text-align: center; }

/* Administration */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin: 14px 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.subnav a { padding: 5px 11px; border-radius: 999px; text-decoration: none; color: var(--text); font-size: .9rem; border: 1px solid transparent; }
.subnav a:hover { border-color: var(--line); background: var(--surface); }
.subnav a.active { background: var(--brand); color: #fff; }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 18px 0; }
.todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 12px 0; }
.todo a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; }
.todo a strong { font-size: 1.5rem; }
.todo a.alert { border-color: #f59e0b; background: #fffbeb; }
.todo a.alert strong { color: #b45309; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th, table.t td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { background: #f1f5f9; font-weight: 600; white-space: nowrap; }
table.t tr:last-child td { border-bottom: 0; }
table.t .num { text-align: right; white-space: nowrap; }
.filters-admin { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; align-items: end; }
.filters-admin label { display: flex; flex-direction: column; font-size: .8rem; font-weight: 600; gap: 2px; }
.filters-admin input, .filters-admin select { width: auto; min-width: 120px; padding: 7px 10px; }
.tag-refund-due, .tag-refund-processing { background: #ffedd5; color: #9a3412; }
.tag-refund-done { background: #e2e8f0; color: #334155; }
.tag-rejected, .tag-suspended { background: #fee2e2; color: var(--danger); }
.tag-alert { background: #fff3bf; color: #92400e; }
.ctx { margin-top: 8px; font-size: .92rem; }
.ctx summary { cursor: pointer; color: var(--brand); }
.quote { border-left: 3px solid var(--line); padding-left: 10px; margin: 6px 0; color: #334155; }
.msglist { margin: 4px 0; padding-left: 18px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.reasonbox { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.reasonbox input { width: 220px; padding: 6px 10px; }
.note-box { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.qr { background: #fff; padding: 8px; display: inline-block; border: 1px solid var(--line); border-radius: 10px; }
.qr svg { display: block; width: 200px; height: 200px; }
.codes { columns: 2; font-family: ui-monospace, monospace; background: #f1f5f9; padding: 12px 16px; border-radius: 10px; list-style: none; margin: 8px 0; }
.bell { position: relative; }
.badge { background: var(--danger); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 6px; margin-left: 2px; }
.notif { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; text-decoration: none; color: var(--text); }
.notif.unread { border-left: 4px solid var(--brand); background: #eff6ff; }
.sidebyside { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.sidebyside .panel { margin: 0; }
pre.raw { background: #0f172a; color: #e2e8f0; padding: 12px; border-radius: 10px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; font-size: .8rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 6px 0; }
.kv dt { color: var(--muted); font-size: .9rem; } .kv dd { margin: 0; overflow-wrap: anywhere; }
.pm-form { display: flex; flex-wrap: wrap; gap: 6px; align-items: end; }
.pm-form input, .pm-form select { width: auto; padding: 6px 8px; font-size: .9rem; }

/* Œil mot de passe */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 46px; }
.eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 8px; line-height: 0; border-radius: 8px; }
.eye:hover { color: var(--brand); }
.eye:focus-visible { outline: 3px solid #93c5fd; }
.hero-logo { display: block; margin: 0 auto 8px; height: auto; max-width: 60%; }

/* ---- Slider d'accueil ---- */
.hero-slider { position: relative; margin: 14px 0 22px; border-radius: 22px; overflow: hidden; min-height: 460px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); isolation: isolate; }
.hs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hs-slide.active { opacity: 1; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hs-slide.active img { animation: kenburns 9s ease-out forwards; }
.hero-slider::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(11, 42, 92, .92) 0%, rgba(11, 42, 92, .70) 45%, rgba(11, 42, 92, .15) 100%); }
.hs-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 460px; padding: 32px 22px 70px; max-width: 640px; }
.hs-content h1 { color: #fff; font-size: clamp(1.9rem, 5.5vw, 3rem); margin: 0; }
.hs-content h1 em { font-style: normal; color: var(--accent); }
.hs-content .lead { margin: 0; color: #e5edff; font-size: 1.1rem; }
.hs-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.hs-cta .btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.hs-cta .btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.hs-cities { color: #cfdcf5; font-size: .92rem; margin: 0; }
.hs-caption { position: absolute; z-index: 2; right: 16px; bottom: 54px; background: var(--accent); color: var(--navy); font-weight: 700; font-family: var(--font-title); border-radius: 999px; padding: 6px 14px; font-size: .92rem; animation: popin .5s ease both; }
.hs-dots { position: absolute; z-index: 3; left: 22px; bottom: 18px; display: flex; gap: 8px; }
.hs-dots button { width: 11px; height: 11px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; padding: 0; transition: width .3s ease, background .3s ease; }
.hs-dots button.active { width: 30px; background: var(--accent); }
.hs-nav { position: absolute; z-index: 3; bottom: 10px; right: 14px; display: flex; gap: 8px; }
.hs-nav button, .rail-nav button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); transition: transform .15s ease, background .15s ease; }
.hs-nav button:hover, .rail-nav button:hover { transform: scale(1.1); background: var(--accent); }
@media (max-width: 700px) {
  .hero-slider::before { background: linear-gradient(180deg, rgba(11, 42, 92, .55) 0%, rgba(11, 42, 92, .92) 70%); }
  .hs-caption { display: none; }
  .hs-content { padding-bottom: 80px; }
}

/* ---- Catégories (bandeau défilant) et rail d'activités ---- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 26px; }
.section-head h2 { margin: 0 0 4px; font-size: 1.5rem; color: var(--navy); }
.section-head a { font-weight: 600; text-decoration: none; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { background: #fff; border: 1px solid var(--line); }
.cats, .rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 2px 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.cats::-webkit-scrollbar, .rail::-webkit-scrollbar { display: none; }
.cats { scroll-snap-type: none; }
.cat { flex: 0 0 auto; width: 96px; text-align: center; text-decoration: none; color: var(--text); font-size: .85rem; font-weight: 600; }
.cat-ico { display: flex; width: 68px; height: 68px; margin: 0 auto 6px; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.9rem; background: var(--sky); border: 2px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.cat:hover .cat-ico { transform: translateY(-4px) scale(1.06); background: var(--accent-soft); border-color: var(--accent); }
.rail .card { flex: 0 0 min(78vw, 290px); scroll-snap-align: start; }
.rail-empty { padding: 18px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 26px 0 8px; }
.trust > div { background: var(--navy); color: #e5edff; border-radius: var(--radius); padding: 16px; }
.trust strong { display: block; font-family: var(--font-title); color: var(--accent); font-size: 1.05rem; margin-bottom: 4px; }
.trust span { font-size: .92rem; }

/* ---- Animations ---- */
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes popin { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 208, 20, 0)); } 50% { filter: drop-shadow(0 0 7px rgba(255, 208, 20, .9)); } }
.hs-content > * { animation: rise .7s ease both; }
.hs-content > :nth-child(2) { animation-delay: .1s; } .hs-content > :nth-child(3) { animation-delay: .2s; }
.hs-content > :nth-child(4) { animation-delay: .3s; } .hs-content > :nth-child(5) { animation-delay: .4s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.brand img { animation: glow 4s ease-in-out infinite; transition: transform .3s ease; }
.brand:hover img { transform: rotate(-12deg) scale(1.1); }
.topbar.scrolled { box-shadow: 0 4px 18px rgba(2, 74, 170, .12); }
.flash { animation: rise .4s ease both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.card:not(:has(.card-visual)) { padding-top: 14px; }

/* ---- Photos d'activité ---- */
.card-photo { display: block; height: 150px; background: var(--sky); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card-photo img { transform: scale(1.06); }
.card-photo::after { display: none; }
.detail-cover { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin: 8px 0 4px; display: block; }
.cover-field { display: flex; flex-direction: column; gap: 8px; }
.cover-preview { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.admin-thumb { float: right; margin: 0 0 8px 12px; border-radius: 8px; height: auto; max-width: 30%; }

/* ---- Accessibilité / SEO ---- */
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; z-index: 100; }
.skip:focus { left: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--accent); }
.crumbs { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.crumbs a { text-decoration: none; }
.lead-left { font-size: 1.08rem; max-width: 760px; }
a.chip { text-decoration: none; color: var(--text); }
a.chip:hover { background: var(--accent-soft); border-color: var(--accent); }

/* Pages légales et crédit du pied de page */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-bottom: 10px; font-size: .85rem; }
.footer .footer-legal a { color: #cfdcf5; text-decoration: underline; text-underline-offset: 3px; }
.footer .footer-legal a:hover { color: var(--accent); }
.footer .copyright { margin: 8px 0 0; font-size: .82rem; opacity: .85; }
.legal { max-width: 780px; margin: 0 auto; }
.legal h2 { margin: 28px 0 8px; font-size: 1.15rem; color: var(--navy); }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2rem; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.legal-nav a { padding: 6px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .88rem; }
.legal-nav a:hover { background: var(--accent-soft); }

/* Places réservées, infos pratiques */
.seats { margin-top: 8px; width: 100%; }
.seats-bar { height: 7px; border-radius: 999px; background: var(--sky); overflow: hidden; }
.seats-bar span { display: block; height: 100%; border-radius: 999px; background: var(--brand); transition: width .6s ease; }
.seats.low .seats-bar span { background: #ea580c; }
.seats.full .seats-bar span { background: #94a3b8; }
.seats-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 5px; font-size: .84rem; flex-wrap: wrap; }
.seats-badge { padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: #92400e; font-size: .8rem; }
.seats.full .seats-badge { background: #e2e8f0; color: #475569; }
.seats-big .seats-bar { height: 10px; }
.seats-big .seats-line { font-size: .95rem; }
.tag-soon { background: var(--accent); color: var(--navy); font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 18px 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.facts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #5b6b8a); margin-bottom: 3px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.facts dd a { display: block; font-size: .85rem; font-weight: 500; }
.know { margin: 18px 0; padding: 14px 16px; background: var(--sky); border-radius: var(--radius); }
.know h2 { margin: 0 0 6px; font-size: 1.05rem; }
.know ul { margin: 0; padding-left: 1.1rem; }
.know li { margin: 4px 0; line-height: 1.5; font-size: .92rem; }

/* Avis, détails pratiques, agenda */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.reviews { margin: 22px 0; }
.rating-sum { margin-left: 8px; color: #b45309; font-size: 1rem; }
.card-rating { margin: 2px 0 0; font-size: .88rem; color: #b45309; font-weight: 700; }
.review-form { margin-bottom: 14px; }
.stars { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-direction: row-reverse; justify-content: flex-end; flex-wrap: wrap; }
.stars legend { float: left; width: 100%; margin-bottom: 4px; font-weight: 600; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 1.9rem; line-height: 1; color: #cbd5e1; cursor: pointer; padding: 0 2px; transition: color .15s ease, transform .15s ease; }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: #f5b301; }
.stars input:focus-visible + label { outline: 3px solid var(--brand); border-radius: 6px; }
.review-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.review-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; }
.review-list p { margin: 4px 0 0; }
.stars-ro { color: #f5b301; margin: 0 8px; letter-spacing: 1px; }
.stars-ro .off { color: #cbd5e1; }
.know-details { background: var(--accent-soft); }

.chat-rule { font-size: .82rem; margin: 6px 0 0; }

/* ---- Téléphone : les activités s'empilent comme des cartes à jouer ---- */
@media (max-width: 700px) {
  .grid.stack { display: block; padding-bottom: 12px; }
  .grid.stack > .card { position: sticky; top: calc(76px + var(--k, 0) * 9px); margin-bottom: 22px; box-shadow: 0 -6px 18px rgba(11, 42, 92, .14), 0 8px 22px rgba(11, 42, 92, .12); border-color: rgba(11, 42, 92, .12); }
  .grid.stack > .card:nth-child(4n+1) { --k: 0; }
  .grid.stack > .card:nth-child(4n+2) { --k: 1; }
  .grid.stack > .card:nth-child(4n+3) { --k: 2; }
  .grid.stack > .card:nth-child(4n+4) { --k: 3; }
  .grid.stack > .card:hover { transform: none; }
}
@media (max-width: 700px) {
  .rail-nav-up { display: none; }
  .rail.rail-stack { display: block; overflow: visible; scroll-snap-type: none; padding: 10px 0 12px; }
  .rail.rail-stack > .card { position: sticky; top: calc(76px + var(--k, 0) * 9px); margin-bottom: 22px; box-shadow: 0 -6px 18px rgba(11, 42, 92, .14), 0 8px 22px rgba(11, 42, 92, .12); }
  .rail.rail-stack > .card:nth-child(4n+1) { --k: 0; }
  .rail.rail-stack > .card:nth-child(4n+2) { --k: 1; }
  .rail.rail-stack > .card:nth-child(4n+3) { --k: 2; }
  .rail.rail-stack > .card:nth-child(4n+4) { --k: 3; }
}

/* ---- Boutons de partage ---- */
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.share-label { font-weight: 700; color: var(--navy); margin-right: 2px; }
.sh { width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 2px 6px rgba(11, 42, 92, .18); }
.sh svg { width: 21px; height: 21px; }
.sh:hover, .sh:focus-visible { transform: translateY(-2px) scale(1.08); box-shadow: 0 6px 14px rgba(11, 42, 92, .25); }
.sh-wa { background: #25d366; } .sh-fb { background: #1877f2; } .sh-tt { background: #111; }
.sh-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.sh-cp { background: var(--navy); }
.share-compact { margin: 8px 0 0; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.share-compact .sh { width: 32px; height: 32px; box-shadow: none; }
.share-compact .sh svg { width: 17px; height: 17px; }
.card > .share-compact { margin-left: 14px; margin-right: 14px; }
.share-toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; box-shadow: var(--shadow-lg); max-width: 90vw; text-align: center; }

/* ---- Raccourci « Nouvelle activité » flottant (téléphone) ---- */
.fab { display: none; }
@media (max-width: 700px) {
  .fab { display: inline-flex; position: fixed; right: 14px; bottom: 16px; z-index: 40; background: var(--accent); color: var(--navy) !important; font-weight: 800; text-decoration: none; padding: 13px 20px; border-radius: 999px; box-shadow: 0 8px 22px rgba(11, 42, 92, .35); }
  .fab:active { transform: scale(.96); }
  main { padding-bottom: 80px; }
}

/* ---- Activités régulières ---- */
.regular { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 14px; }
.regular legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.days { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day span { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; font-weight: 800; background: var(--sky); color: var(--navy); border: 2px solid transparent; cursor: pointer; }
.day input:checked + span { background: var(--accent); border-color: var(--navy); }
.day input:focus-visible + span { outline: 3px solid var(--brand); }
.sessions { display: grid; gap: 8px; margin: 10px 0; }
.session { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.session input { margin: 0; }
.session strong { flex: 1; }
.session:has(input:checked) { border-color: var(--brand); background: var(--sky); }
.session.is-full { opacity: .55; cursor: not-allowed; }
.rec-days { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.rec-days span { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: var(--sky); color: #8aa0c4; }
.rec-days span.on { background: var(--accent); color: var(--navy); }

.slots { display: grid; gap: 8px; margin: 6px 0 10px; }
.slot { display: flex; align-items: center; gap: 8px; }
.slot input { flex: 1; min-width: 0; }
.kinds { display: grid; gap: 12px; margin-top: 14px; }
.kind { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; padding: 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--text); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.kind:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: var(--shadow); }
.kind-ico { grid-row: 1 / span 2; font-size: 2.2rem; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--sky); }
.kind strong { color: var(--navy); font-size: 1.1rem; }
.kind-badge { margin: 0 0 6px; }
.session-day { margin: 10px 0 2px; font-weight: 800; color: var(--navy); }

/* ---- Vérification d'identité ---- */
.id-photos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 14px 0; }
.id-photos figure { margin: 0; }
.id-photos figcaption { font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.id-photos img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.badge-verified { display: inline-flex; align-items: center; gap: 4px; background: #dcfce7; color: #166534; font-weight: 800; font-size: .78rem; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.badge-verified svg { width: 14px; height: 14px; }
.safety-tips { background: #fff8e1; border: 1px solid #f5d77a; border-radius: var(--radius); padding: 12px 16px; margin: 14px 0; }
.safety-tips h2 { margin: 0 0 6px; font-size: 1.05rem; color: var(--navy); }
.safety-tips ul { margin: 0; padding-left: 18px; }

/* Billet, reçu, contrôle */
.ticket,.receipt{max-width:420px;margin:0 auto 16px;background:#fff;border:1px solid #dbe4f2;border-radius:20px;padding:0 20px 20px;box-shadow:0 8px 30px rgba(11,42,92,.08);overflow:hidden}
.ticket-head{display:flex;justify-content:space-between;background:#0b2a5c;color:#fff;font-weight:800;margin:0 -20px 16px;padding:14px 20px}
.ticket h1{font-size:1.5rem;margin:0 0 10px}
.ticket-list{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:10px 0}
.ticket-list dt{color:#5b6b85;font-size:.9rem}.ticket-list dd{margin:0;font-weight:700;color:#0b2a5c;overflow-wrap:anywhere}
.ticket-qr{width:230px;max-width:70%;margin:14px auto 6px;border:1px solid #dbe4f2;border-radius:12px;padding:4px;background:#fff}
.ticket-qr svg{display:block;width:100%;height:auto}
.ticket-ref,.ticket-help{text-align:center;margin:4px 0}
.receipt-note{font-size:.85rem;margin-top:14px}
.checkin{border-radius:16px;padding:16px;margin:12px 0;border:2px solid #dbe4f2;background:#fff}
.checkin-ok{border-color:#22a45d;background:#effaf3}.checkin-used{border-color:#e0a100;background:#fff9e8}.checkin-invalid{border-color:#d33;background:#fdeeee}
.checkin-state{font-size:1.4rem;font-weight:800;margin:0 0 8px}
@media print{header,footer,nav,.fab,.no-print,.flash:not(.flash-info){display:none!important}body{background:#fff!important}.ticket,.receipt{box-shadow:none;border:1px solid #999}}

/* Comment ça marche, bloc organisateurs, liens du slider */
.how h1{margin-bottom:6px}.how h2{margin:34px 0 4px;scroll-margin-top:80px}.lead-text{font-size:1.1rem;max-width:62ch}
.how-tabs,.how-cta{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:12px 16px;margin:10px 0}
.faq summary{cursor:pointer;font-weight:700;color:var(--navy)}.faq details p{margin:10px 0 2px}
.steps-more{margin:-8px 0 18px}
.org-strip{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;background:linear-gradient(135deg,#0b2a5c,#024aaa);color:#fff;border-radius:var(--radius);padding:22px;margin:26px 0}
.org-strip h2{margin:0 0 6px;color:#fff}.org-strip p{margin:0 0 8px;color:#e5edff}.org-strip ul{margin:0;padding-left:18px;color:#e5edff}
.org-strip-cta{display:flex;flex-direction:column;gap:10px}
@media(max-width:700px){.org-strip{grid-template-columns:1fr}}
.hs-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0 0;font-size:.95rem}.hs-links a{color:#fff;text-decoration:underline}
.org-strip .btn-ghost{color:#fff !important;border-color:rgba(255,255,255,.75);background:transparent}
.org-strip .btn-ghost:hover{background:rgba(255,255,255,.15)}

/* Catégories de billets */
.is-tiered .single-price{display:none}
.tiers-box{border:1px solid var(--line,#dbe4f2);border-radius:var(--radius);padding:14px;margin:14px 0}
.tiers-box legend{font-weight:700;padding:0 6px}
.tiers-box .check{display:flex;gap:8px;align-items:center;font-weight:600}
.tiers-rows{display:none;margin-top:10px}
.is-tiered .tiers-rows{display:block}
.tier-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;padding:10px 0;border-top:1px dashed #dbe4f2}
.tier-row .tier-desc{grid-column:1/-1}
@media(max-width:560px){.tier-row{grid-template-columns:1fr 1fr}.tier-row label:first-of-type{grid-column:1/-1}}
.tier-pick{width:100%;border-collapse:collapse;margin:8px 0}
.tier-pick td{padding:10px 6px;border-top:1px solid #e6edf8;vertical-align:middle}
.tier-pick tr:first-child td{border-top:0}
.tier-pick .tp-name{font-weight:700}
.tier-pick .tp-desc{display:block;font-size:.88rem;color:#5b6b85;font-weight:400}
.tier-pick .tp-price{white-space:nowrap;font-weight:700}
.tier-pick select{min-width:64px}
.tier-pick .is-out{opacity:.6}
.tier-total{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 12px;font-size:1.05rem}
.tier-total strong{font-size:1.2rem}
/* Billets individuels (un QR par personne) */
.ticket-sub{font-size:1rem;margin:14px 0 0;text-align:center;color:#0b2a5c}
.ticket-people{max-width:900px;margin:22px auto}
.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin-top:10px}
.person-ticket{background:#fff;border:1px solid #dbe4f2;border-radius:16px;padding:0 14px 14px;overflow:hidden;box-shadow:0 6px 20px rgba(11,42,92,.07);text-align:center}
.person-ticket .ticket-head{margin:0 -14px 10px;padding:10px 14px;font-size:.92rem}
.person-title{margin:4px 0}
.ticket-qr-small{width:170px;max-width:80%;margin:8px auto}
.checkin-seats{list-style:none;padding:0;margin:14px 0;color:#5b6b85}
.checkin-seats li{padding:6px 0;border-top:1px solid #e6edf8}
@media print{.person-ticket{break-inside:avoid;box-shadow:none;border:1px solid #999}.ticket-people{max-width:none}}

.admin-bar { background: #fff8db; border: 1px solid #f5c518; border-radius: var(--radius); padding: 10px 14px; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.admin-bar .row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.detail-ph { height: 200px; max-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; background: linear-gradient(135deg, var(--c1, #024aaa), var(--c2, #0b2a5c)); position: relative; overflow: hidden; }
.detail-ph::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 208, 20, .25); right: -50px; top: -80px; }
.detail-ph span { font-size: 4rem; position: relative; z-index: 1; }
.detail-ph small { font-weight: 700; letter-spacing: .5px; position: relative; z-index: 1; }

/* Parrainage Hostinger : bannière organisateurs + badge du pied de page */
.host-banner{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;background:var(--surface);border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 22px;margin:26px 0}
.host-banner img{flex:none;display:block;width:128px;height:auto}
.host-banner .host-text{flex:1 1 320px;min-width:0}
.host-banner h2{margin:0 0 6px;font-size:1.2rem;color:var(--navy)}
.host-banner p{margin:0;color:var(--muted)}
.host-banner .host-promo{margin-top:10px;color:var(--navy);font-weight:600}
.host-banner .host-promo span{display:inline-block;margin-right:4px;padding:1px 8px;border-radius:999px;background:var(--accent);color:var(--navy);font-weight:700}
.host-banner .btn{flex:none}
.host-banner small{flex-basis:100%;font-size:.78rem;color:var(--muted)}
@media(max-width:600px){.host-banner .btn{width:100%;text-align:center}}
.footer-partner{margin:6px 0 10px}
.footer-partner img{display:inline-block;width:120px;height:auto;vertical-align:middle}
