:root {
  --ink: #243038;
  --muted: #5d6c74;
  --paper: #f7f9fc;
  --card: #ffffff;
  --blue: #1f8fd0;
  --magenta: #e23d78;
  --amber: #e8980a;
  --green: #1c7a46;
  --clay: #b85a3d;
  --line: #e6edf3;
  --shadow: 0 20px 50px rgba(36, 48, 56, 0.12);
  --radius: 22px;
  --font: "Outfit", "Avenir Next", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 320px at 100% -8%, rgba(31, 143, 208, 0.08), transparent 55%),
    radial-gradient(700px 280px at -8% 12%, rgba(226, 61, 120, 0.06), transparent 50%),
    var(--paper);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; font-weight: 560; }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: #fff; padding: .5rem 1rem;
}
.skip:focus { top: 1rem; z-index: 5; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 1rem; padding: .7rem 4vw;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; justify-self: start; }
.brand img { height: 52px; width: auto; }
.site-nav { display: flex; gap: .15rem; flex-wrap: wrap; justify-content: center; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500;
  padding: .45rem .85rem; border-radius: 999px;
}
.site-nav a[aria-current="page"], .site-nav a:hover { background: #eef6fb; color: var(--magenta); }
.header-actions { display: flex; align-items: center; gap: .55rem; justify-self: end; }
.header-facebook {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #1877f2; color: #fff;
}
.header-facebook svg { width: 20px; height: 20px; fill: currentColor; }
.header-facebook:hover { filter: brightness(1.08); }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem .9rem; font: inherit;
}
.admin-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; row-gap: .45rem; }
.admin-header .site-nav { flex-wrap: wrap; justify-content: flex-end; }
.is-admin { background: #eef3f8; }
.is-admin h1 { margin: 0 0 1rem; font-size: 2rem; }
.admin-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
  position: sticky; top: 0; height: 100vh; overflow: auto;
  display: flex; flex-direction: column; gap: 1.2rem;
  padding: 1.1rem .85rem 1rem; background: #1b2830; color: #d7e0e6;
}
.admin-brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; padding: 0 .35rem; }
.admin-brand img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 12px; padding: .2rem; }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand small { color: #9aadb8; font-size: .78rem; font-weight: 400; }
.admin-nav { display: flex; flex-direction: column; gap: .2rem; }
.admin-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  color: #d7e0e6; text-decoration: none; font-weight: 500;
  padding: .62rem .8rem; border-radius: 12px;
}
.admin-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav a[aria-current="page"] { background: #fff; color: #1b2830; }
.nav-count { min-width: 1.4rem; padding: .05rem .4rem; border-radius: 999px; background: var(--magenta); color: #fff; font-size: .75rem; text-align: center; }
.admin-nav a[aria-current="page"] .nav-count { background: var(--magenta); color: #fff; }
.admin-side-foot { margin-top: auto; display: grid; gap: .35rem; padding: .8rem .35rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.admin-side-foot a { color: #d7e0e6; text-decoration: none; font-weight: 500; }
.admin-side-foot a:hover { color: #fff; }
.admin-side-foot p { margin: .2rem 0; color: #9aadb8; font-size: .85rem; }
.admin-scrim { display: none; }
.admin-top { display: none; }
.admin-workspace { min-width: 0; }
.is-admin .admin-main { width: min(1040px, calc(100% - 3rem)); margin: 0 auto; padding: 1.7rem 0 3rem; }
.admin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
  margin: 0 0 1.1rem; position: static;
}
.update-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "state title link" ". meta link";
  gap: .15rem .75rem; align-items: center;
}
.update-state { grid-area: state; display: flex; align-items: center; gap: .35rem; }
.update-row .point-title { grid-area: title; }
.update-row small { grid-area: meta; }
.update-row > a:last-child { grid-area: link; white-space: nowrap; }
.update-row .point-title { color: inherit; text-decoration: none; }
.update-row .point-title:hover { color: var(--magenta); }
.admin-filters { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 0 0 1rem; }
.admin-filters input, .admin-filters select {
  border: 1px solid var(--line); border-radius: 999px; padding: .5rem .8rem; font: inherit; background: #fff;
}
.admin-filters input { min-width: min(280px, 100%); }
.admin-cats { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; }
.admin-cats button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .75rem;
  font: inherit; color: var(--ink); cursor: pointer;
}
.admin-cats button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.admin-group h2 { margin: 0 0 .4rem; font-size: 1.35rem; }
.admin-point {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: .35rem .8rem; align-items: center;
  padding: .7rem 0;
}
.admin-point .point-title { color: inherit; text-decoration: none; font-weight: 500; }
.admin-point .point-title:hover { color: var(--magenta); }
.admin-point-links { grid-column: 2; display: flex; gap: .8rem; flex-wrap: wrap; }
.status-form { margin: 0; }
.status-form select {
  width: 100%; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .65rem; font: inherit; background: #fff;
}
.admin-point[data-status="fait"] { background: #f4fbf6; border-radius: 12px; padding-left: .5rem; padding-right: .5rem; }

.hero { position: relative; min-height: 86vh; display: grid; align-items: end; overflow: hidden; }
.hero-center { align-items: center; justify-items: center; }
.hero-video, .hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-shade {
  position: absolute; inset: 0;
  background: rgba(90, 91, 92, .62);
}
.home-video {
  width: min(980px, 92vw);
  margin: 4.5rem auto 0;
}
.home-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.hero-copy { position: relative; color: #fff; padding: 8vh 6vw 12vh; max-width: 760px; }
.hero-center .hero-copy { text-align: center; max-width: 860px; padding: 12vh 6vw; }
.hero-logo { width: min(460px, 86vw); margin: 0 auto 1rem; filter: drop-shadow(0 10px 24px rgba(0,0,0,.28)); }
.hero-center .hero-actions { justify-content: center; }
.eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 650; color: var(--magenta); margin: 0 0 .4rem; }
.hero .eyebrow { color: #ffd27a; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0 0 .6rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, var(--blue), var(--magenta));
  color: #fff; text-decoration: none; border: 0; border-radius: 999px;
  padding: .8rem 1.2rem; font: inherit; font-weight: 650; cursor: pointer;
}
.button-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.button-small { padding: .45rem .8rem; }
.button-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
  margin: -3.2rem 4vw 2rem; position: relative;
}
.stats-admin { margin: 0 0 1.1rem; width: 100%; }
.stat {
  background: var(--card); border-radius: var(--radius); padding: 1rem 1.1rem;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  border-top: 4px solid var(--line);
}
.stat strong { display: block; font-family: var(--display); font-size: 2.4rem; }
.stat-a_faire { border-top-color: #9aa8b1; }
.stat-en_cours { border-top-color: var(--blue); }
.stat-fait { border-top-color: var(--green); }
.stat-ne_sera_pas_fait { border-top-color: var(--clay); }

.band, .section, .page-head, .category, .article, .profile, .contact-form, .admin-main, .cards, .member-grid, .toolbox, .cat-jump {
  margin-left: auto; margin-right: auto;
}
.band, .section, .page-head { width: min(1120px, 92vw); }
.band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.prose p, .panel { font-size: 1.05rem; }
.panel, .admin-block, .card, .login-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
.panel { padding: 1.3rem; }
.muted, small, time { color: var(--muted); }
.mini-cats { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.mini-cats a { display: flex; justify-content: space-between; color: inherit; text-decoration: none; font-weight: 650; }
.bar-row { display: flex; align-items: center; gap: .6rem; margin-top: .35rem; }
.bar-percent { flex: none; min-width: 3rem; text-align: right; font-weight: 650; font-size: .95rem; }
.bar { display: flex; flex: 1; height: 8px; border-radius: 999px; overflow: hidden; background: #ece7dc; margin: 0; }
.bar span { display: block; height: 100%; }
.bar-fait { background: var(--green); }
.bar-en_cours { background: var(--blue); }
.bar-a_faire { background: var(--amber); }
.bar-ne_sera_pas_fait { background: var(--clay); }

.section { margin: 2.5rem auto; }
.section-head, .page-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1rem; }
.section-head h2, .page-head h1 { margin: 0; }
.cards { width: min(1120px, 92vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.news-mosaic {
  width: min(1120px, 92vw);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 1rem;
}
.section .news-mosaic { width: 100%; margin-bottom: 0; }
.news-tile { position: relative; overflow: hidden; border-radius: 18px; background: #d9e3ea; box-shadow: var(--shadow); min-height: 200px; }
.news-tile a { display: flex; height: 100%; color: #fff; text-decoration: none; }
.news-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-tile-body {
  position: relative; z-index: 1; margin-top: auto; width: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem;
  padding: 2.4rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(18, 28, 36, .88));
}
.news-tile h2 { margin: 0; font-family: var(--font); font-weight: 650; font-size: 1.15rem; line-height: 1.25; color: #fff; }
.news-tile-big h2 { font-size: 1.55rem; }
.news-tile time { color: rgba(255,255,255,.86); font-size: .85rem; }
.news-tile .button { background: #fff; color: var(--ink); margin-top: .25rem; }
.news-tile-big { grid-column: span 2; grid-row: span 2; }
.news-tile-wide { grid-column: span 2; }
.news-tile-tall { grid-row: span 2; }
.cards-news { grid-template-columns: repeat(2, 1fr); margin-bottom: 3rem; }
.card { overflow: hidden; }
.card img { height: 190px; width: 100%; object-fit: cover; }
.card div, .point { padding: 1rem 1.1rem 1.2rem; }
.card h2, .card h3 { margin: .2rem 0; font-size: 1.35rem; }
.card a { text-decoration: none; }
.intro, .section-intro {
  width: min(720px, 92vw);
  margin: 4.5rem auto 1rem;
  text-align: center;
}
.intro p, .section-intro p { color: var(--muted); font-size: 1.12rem; }
.intro h2, .section-intro h1, .section-intro h2 { margin: .2rem 0 .8rem; font-size: clamp(2rem, 4vw, 3rem); }
.page-intro { padding-top: 1.2rem; }
.roster {
  width: min(1180px, 94vw);
  margin: 1.5rem auto 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 1.2rem;
}
.roster-card { text-align: center; }
.roster-photo { display: block; overflow: hidden; border-radius: 18px; background: #eef3f7; }
.roster-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform .45s ease;
}
.roster-card:hover img { transform: scale(1.04); }
.roster-name { margin: .75rem 0 .15rem; }
.roster-name a { color: inherit; text-decoration: none; font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.roster-name span { display: block; font-family: var(--font); font-size: .95rem; font-weight: 500; color: var(--muted); }
.roster-job, .roster-village, .roster-role { margin: 0; }
.roster-job { font-weight: 500; }
.roster-village { color: var(--muted); font-size: .95rem; }
.roster-role { margin-top: .35rem; color: var(--blue); font-size: .88rem; font-weight: 650; }
.roster-video {
  display: inline-flex; margin-top: .45rem; color: #e23d4a;
}
.roster-video svg { width: 28px; height: 28px; fill: currentColor; }
.contact-wrap { width: min(760px, 92vw); margin: 1.5rem auto 4rem; }
.contact-form {
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.4rem;
  margin-top: 1rem;
}
.contact-form .button { justify-self: center; min-width: 180px; }
.people-row { display: grid; grid-auto-flow: column; grid-auto-columns: 140px; gap: .8rem; overflow-x: auto; padding-bottom: .4rem; }
.person { text-decoration: none; color: inherit; }
.person img { height: 170px; width: 140px; object-fit: cover; border-radius: 18px; }
.person strong, .person span { display: block; }
.person span { color: var(--muted); font-size: .9rem; }
.cta {
  width: min(1120px, 92vw); margin: 2rem auto 3rem; padding: 1.4rem 1.5rem;
  border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: #243038; color: #fff;
}
.cta p { color: #d5dde2; }
.cta .button { background: #fff; color: var(--ink); }

.page-head { padding-top: 1.5rem; }
.toolbox { width: min(1120px, 92vw); display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; position: sticky; top: 74px; z-index: 5; background: var(--paper); padding: .6rem 0; }
.search input, .form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .8rem; font: inherit; background: #fff;
}
.segmented { display: flex; flex-wrap: wrap; gap: .35rem; }
.segmented button, .row-actions button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .45rem .75rem; font: inherit; cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-jump { width: min(1120px, 92vw); display: flex; gap: .4rem; flex-wrap: wrap; margin: .4rem auto 1rem; }
.cat-jump a, .chip { text-decoration: none; background: #fff; border-radius: 999px; padding: .3rem .7rem; color: var(--ink); border: 1px solid var(--line); }
.viewer { width: min(1120px, 92vw); margin: .4rem auto 1.6rem; }
.viewer h2 { margin: 0 0 .8rem; font-size: 1.7rem; }
.viewer-frame iframe { width: 100%; height: min(78vh, 820px); border: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.viewer-frame iframe:not([src]) { display: none; }
.consent-note { margin: .8rem 0 0; color: var(--muted); }
.category { width: min(1120px, 92vw); margin: .6rem auto .4rem; }
.category-head { display: grid; grid-template-columns: 1fr minmax(180px, 240px); gap: 1rem; align-items: end; }
.category[hidden] { display: none; }
.point-count { width: min(1120px, 92vw); margin: .2rem auto .6rem; color: var(--muted); }
.point-list {
  width: min(1120px, 92vw); margin: 0 auto 1rem; padding: 0; list-style: none;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden;
}
.point {
  display: grid; grid-template-columns: 7.4rem minmax(0, 1fr) 9.2rem; gap: .7rem 1rem; align-items: start;
  padding: 1.05rem 1.15rem; border-bottom: 1px solid var(--line); border-left: 4px solid #c5ced4;
}
.point:last-child { border-bottom: 0; }
.point[data-status="en_cours"] { border-left-color: var(--blue); }
.point[data-status="fait"] { border-left-color: var(--green); background: #f4fbf6; }
.point-check {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--green); color: #fff;
  font-size: 1.7rem; font-weight: 700; line-height: 1;
}
.point-check-small { width: 1.7rem; height: 1.7rem; font-size: 1.05rem; display: inline-grid; vertical-align: middle; margin-right: .35rem; }
.pill-fait { background: var(--green); color: #fff; }
.point[data-status="ne_sera_pas_fait"] { border-left-color: var(--clay); }
.point[hidden] { display: none; }
.point-meta { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.point-cat { color: var(--blue); font-size: .78rem; font-weight: 650; }
.point-list.is-one-category .point-cat { display: none; }
.point { scroll-margin-top: 5.5rem; }
.point h3 { margin: 0; font-family: var(--font); font-weight: 400; font-size: 1.05rem; line-height: 1.45; }
.point-detail { margin: .4rem 0 0; color: var(--muted); font-weight: 400; font-size: .95rem; }
.point-aside {
  border: 1px solid var(--line); border-radius: 14px; background: #f7f9fc;
  padding: .7rem; display: grid; gap: .45rem; align-content: center; min-height: 4.2rem;
}
.point-aside .button { width: 100%; font-size: .88rem; padding: .5rem .7rem; }
.point-aside p { margin: 0; text-align: center; color: var(--muted); font-size: .88rem; font-weight: 400; }
.admin-point[hidden], .admin-group[hidden] { display: none; }
.point-body p { margin: .45rem 0 0; }
.pager { width: min(1120px, 92vw); margin: .4rem auto 2.5rem; display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center; }
.pager button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; min-width: 2.4rem;
  padding: .4rem .7rem; font: inherit; cursor: pointer;
}
.pager button[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat-jump button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .3rem .7rem;
  font: inherit; color: var(--ink); cursor: pointer;
}
.cat-jump button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill, .badge { border-radius: 999px; padding: .15rem .55rem; font-size: .78rem; font-weight: 650; }
.pill-a_faire { background: #e7edf0; }
.pill-en_cours { background: #d9f0fb; color: #0c5278; }
.point-body .point-remark {
  margin: .75rem 0 0; padding: .65rem .85rem;
  background: #fff3d6; border-radius: 12px; color: #5c4310;
  font-weight: 400;
}
.remark-kicker {
  display: flex; align-items: center; gap: .35rem;
  margin-bottom: .2rem; font-size: .72rem; font-weight: 650;
  letter-spacing: .06em; text-transform: uppercase;
}
.remark-kicker svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.remark-text { display: block; font-weight: 400; line-height: 1.45; }
.pill-ne_sera_pas_fait { background: #f8e4dc; color: #7a3422; }
.badge { background: linear-gradient(90deg, var(--amber), var(--magenta)); color: #fff; }
blockquote { margin: .8rem 0 0; padding: .7rem .9rem; background: #f3f7fb; border-radius: 14px; }
.proofs { padding-left: 1.1rem; }
.category.is-empty { display: none; }

.member-grid { width: min(1120px, 92vw); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3rem; }
.member-card { display: grid; grid-template-columns: 110px 1fr; gap: .8rem; background: var(--card); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.member-card img { height: 150px; width: 110px; object-fit: cover; }
.member-card div { padding: .8rem .8rem .8rem 0; }
.member-card span, .member-card em { display: block; color: var(--muted); font-style: normal; }
.profile { width: min(1000px, 92vw); display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; margin: 1.5rem auto 3rem; }
.profile img { border-radius: 24px; width: 100%; object-fit: cover; }
.role-list { list-style: none; padding: 0; }
.role-list li { margin-bottom: .8rem; }
.role-list span { display: block; color: var(--muted); }
.video { margin-top: 1rem; aspect-ratio: 16/9; }
.video iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; }
.article { width: min(760px, 92vw); margin: 1.5rem auto 3rem; }
.article-cover { border-radius: 20px; max-height: 420px; width: 100%; object-fit: cover; }
.linked { background: var(--card); padding: 1rem; border-radius: 18px; }
.contact-form, .form { width: min(680px, 92vw); display: grid; gap: .8rem; margin-bottom: 3rem; }
.admin-main .form { width: min(860px, 100%); }
.form label, .check { display: grid; gap: .25rem; font-weight: 500; }
.check { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.flash { padding: .7rem 1rem; border-radius: 12px; background: #e5f6ea; }
.flash-error { background: #fde8e4; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.inline-form { grid-template-columns: 1fr auto; align-items: end; }
.admin-main { width: min(1000px, 92vw); padding-bottom: 3rem; }
.admin-block { padding: 1rem; margin: 1rem 0; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.row-actions { display: flex; gap: .4rem; flex-wrap: wrap; margin: .5rem 0; }
.danger { background: #fff; color: var(--clay); border: 1px solid var(--clay); border-radius: 999px; padding: .4rem .7rem; cursor: pointer; }
.thumb { width: 180px; border-radius: 12px; }
.thumb.portrait { width: 120px; }
.is-unread { outline: 2px solid var(--amber); }
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.login-card { width: min(420px, 100%); padding: 1.6rem 1.5rem 1.4rem; }
.login-card img { height: 64px; width: auto; }
.login-card .form { width: 100%; margin: 0; }
.login-card .button { width: 100%; }
.legal h2 { margin-top: 1.6rem; font-size: 1.45rem; }
.site-footer { margin-top: 2rem; background: #fff; }
.cookie-banner {
  position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; max-width: 62ch; }
.cookie-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.to-top {
  position: fixed; z-index: 30; right: 1.1rem; bottom: 1.1rem;
  border: 0; border-radius: 999px; padding: .65rem .9rem; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-weight: 650;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
body:has(.cookie-banner:not([hidden])) .to-top { bottom: 7.2rem; }
.swoosh { height: 8px; background: linear-gradient(90deg, var(--blue), var(--magenta), var(--amber)); }
.footer-inner {
  width: min(720px, 92vw); margin: 0 auto; padding: 1.6rem 0 1.1rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem;
}
.footer-inner img { height: 58px; margin-bottom: .35rem; }
.footer-inner p { margin: 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; margin-top: .7rem; }
.points-lead {
  width: min(1120px, 92vw); margin: .2rem auto 1.4rem;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; align-items: center;
}
.points-lead h2 { margin: .2rem 0 .5rem; }
.progress-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 1.1rem 1.2rem; }
.progress-card .bar-row { margin-top: .75rem; }
.progress-card .bar { height: 14px; }
.progress-legend { list-style: none; display: flex; gap: .9rem; flex-wrap: wrap; padding: 0; margin: .85rem 0 0; }
.progress-legend li { display: flex; align-items: center; gap: .35rem; }
.dot { width: .7rem; height: .7rem; border-radius: 50%; display: inline-block; }
.dot-fait { background: var(--green); }
.dot-en_cours { background: var(--blue); }
.dot-a_faire { background: var(--amber); }
.footer-credit {
  margin: 0; padding: .85rem 1rem 1.3rem; text-align: center;
  color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.empty-filter { width: min(1120px, 92vw); margin: 0 auto 2rem; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: auto 1fr auto auto; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: .6rem 1rem 1rem; flex-direction: column; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .header-actions .button { padding: .4rem .7rem; }
  .stats, .band, .cards, .cards-news, .news-mosaic, .member-grid, .roster, .profile, .category-head, .split, .inline-form, .point, .points-lead { grid-template-columns: 1fr; }
  .news-tile, .news-tile-big, .news-tile-wide, .news-tile-tall { grid-column: auto; grid-row: auto; min-height: 240px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .roster { grid-template-columns: repeat(2, 1fr); }
  .stats { margin-top: 1rem; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-point, .admin-point-links { grid-template-columns: 1fr; }
  .admin-point-links { grid-column: 1; }
  .cta, .page-head, .section-head { flex-direction: column; align-items: start; }
  .hero { min-height: 88vh; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-top {
    display: flex; align-items: center; gap: .8rem; position: sticky; top: 0; z-index: 20;
    padding: .7rem 1rem; background: #fff; border-bottom: 1px solid var(--line);
  }
  .admin-top span { font-weight: 650; }
  .admin-side {
    position: fixed; z-index: 40; inset: 0 auto 0 0; width: min(280px, 88vw);
    transform: translateX(-105%); transition: transform .2s ease;
  }
  .admin-side.is-open { transform: none; }
  .admin-scrim.is-open { display: block; position: fixed; inset: 0; z-index: 35; border: 0; background: rgba(20, 28, 34, .45); }
  .is-admin .admin-main { width: min(1040px, calc(100% - 1.6rem)); padding-top: 1.1rem; }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .roster { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .roster-photo img { animation: none; transition: none; }
  html { scroll-behavior: auto; }
}
