/* === Artyco Programme Styles (externalized) ===
   Source: programme.html (converted to external CSS)
   Palette from provided PDF/SVGs:
   --primary: #4B0BD4; (blue-violet) main & background
   --contrast: #FFFFFF; (white) text/contrast
   --tertiary: #EFCB1B; (yellow) accent only
   --decor-green: #22A571; (decor via SVG)
   --ink: #1D1D1B; (strokes)
   --off: #DEE7E2; (light bg from assets)
   Fonts: Filson Soft (Typekit) for headings, Luciole (Google) for body.
*/
:root {
  --bg: #4B0BD4;
  --text: #FFFFFF;
  --muted: rgba(255,255,255,.78);
  --green : #208767;
  --accent: #ffda00;
  --card: color-mix(in srgb, var(--bg), #000 12%);
  --chip: color-mix(in srgb, var(--bg), #000 22%);
  --stroke: color-mix(in srgb, var(--bg), #000 35%);

  --font-head: "filson-soft", "Filson Soft", system-ui, -apple-system, "Segoe UI", Roboto, "Luciole", sans-serif;
  --font-body: "Luciole", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-repeat: no-repeat;
  background-size: min(1400px, 95vw);
  background-position: right -120px top -80px;
  background-color: var(--bg);
}

.container { width: min(960px, 92vw); margin-inline: auto; }

a { color: var(--text); text-underline-offset: .2em; }
a[href^="#"] { text-decoration: none; }

.btn {
  display: inline-block; padding: .85rem 1rem; border-radius: 999px;
  background: var(--accent); color: #000; font-weight: 700;
  box-shadow: 0 2px 0 0 rgba(0,0,0,.25);
}

.chip {
  display: inline-block; padding: .35rem .7rem; border-radius: 999px;
  background: var(--chip); color: var(--muted); font-size: .95rem;
}

#btn-itineraire{
  background: none; border: none; color: var(--accent); cursor: pointer; padding: 8px 16px 14px 0px;text-decoration: underline; font-family: filson-soft;font-size:18px;
}

header { position: relative; isolation: isolate; padding: clamp(2rem,6vw,4rem) 0; }
header::before {
  content: ""; position: absolute; inset: 0;
  z-index: -1;
}

h1, h2, h3 { font-family: var(--font-head); }
h1 { font-size: clamp(2rem, 7vw, 4rem); line-height: 1.1; margin: 0 0 .5rem; letter-spacing: .005em; }
.lead { font-size: 1.125rem; color: var(--muted); }

nav {
  position: sticky; top: 0;
  backdrop-filter: saturate(130%) blur(8px);
  background: color-mix(in srgb, var(--bg), transparent 10%);
  border-bottom: 1px solid var(--stroke);
  z-index: 10;
  padding-bottom : 8px;
  padding-top : 8px;
}
nav .navwrap { display:flex; gap:.8rem; align-items:center; justify-content:space-between; padding:.6rem 0 }
nav a { color: var(--text); }
nav .links { display:flex; gap:.8rem; overflow:auto; scrollbar-width:none }

section { padding: clamp(2rem,6vw,3rem) 0; }
section h2 { font-size: clamp(1.4rem,3.8vw,2.2rem); margin: 0 0 .5rem }

.grid { display:grid; gap:1rem; }
.cards { display:grid; gap:1rem; grid-template-columns:repeat(auto-fit, minmax(260px,1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 1rem; border-radius: 16px;
}
.card h3 { margin:.2rem 0 .2rem; }

.sub { color: var(--muted); margin: 0; margin-top:8px; }
.kicker { letter-spacing:.10em; color: var(--accent); font-size: 1.4rem; font-family: filson-soft; font-weight: bold; margin-bottom:0 !important;}

.two-col { display:grid; gap:1rem; }
@media (min-width: 880px) { .two-col { grid-template-columns: 1fr .9fr; } }

ul.clean { list-style: none; padding: 0; margin: 0; }

.hours li {
  display: grid; grid-template-columns: auto 1fr; gap:.6rem;
  padding:.6rem 0; border-bottom: 1px dashed rgba(255,255,255,.25) ;
}

ul li{
  font-size : 18px;
}

.event {
  display:grid; gap:.4rem; grid-template-columns:1fr;
  padding:.9rem; border-radius: 16px;
  background: white;
  border:1px solid var(--stroke);
  align-content: flex-start;
  color : var(--bg);
  font-family: filson-soft;
}
.event .when { display:flex; gap:.5rem; align-items:center; font-size: 16px; font-weight: 600;}
.event .when time { font-variant-numeric: tabular-nums; background-color: var(--bg); color: var(--text); padding: 8px 12px 8px 12px;border-radius : 50px;}
.event .title { font-weight: 1000; color: var(--green); font-size: 22px;}
.event .desc { color: black; }
.event a { color : black}

/* Deux colonnes égales pour LSF + Illustrateurs */
.split-2 { display: grid; gap: 1rem; }
@media (min-width: 880px) {
  .split-2 { grid-template-columns: 1fr 1fr; align-items: start; }
  .split-2 > section { min-width: 0; } /* évite tout débordement */
}

.people { display:grid; gap:1rem; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); }
.person { padding:1rem; border-radius:16px; background: var(--card); border:1px solid var(--stroke); }
.person h3 { margin:.2rem 0; }
.person .role { color: var(--muted); }

.illustrator { font-variant-numeric: tabular-nums; background-color: var(--text); color: var(--bg); padding: 6px 16px 6px 16px;border-radius : 50px; width: fit-content;}
.illustrator a { color: var(--bg); text-decoration:none;}
#illustrateurs { font-family: filson-soft; }
#illustrateurs ul li { align-items: center;font-weight: bold;}

.links a {
  display:inline-flex; align-items:center; gap:.4rem; padding:.45rem .7rem;
  background: var(--chip); border-radius: 999px; font-size: .95rem;
}
.links a:hover { transform: translateY(-1px); box-shadow: 0 2px 0 rgba(0,0,0,.25); }

.logo-arty { inline-size: 48px; block-size: auto; vertical-align: middle; }

footer { padding:3rem 0 4rem; color: var(--muted); }
.footergrid { display:grid; gap:1rem; }
@media (min-width:700px) { .footergrid { grid-template-columns:1fr auto; } }

/* Focus visibles */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* Decorative only — do not rely on for meaning */
.decor-star {
  width: 28px; height: 28px; background: url("Star Small.svg") no-repeat center / contain; display: inline-block;
}
