/* Couleurs de la plaquette */
:root {
  --orange: #EC6724;
  --blue: #50A2DA;
  --green: #A6C239;
  --yellow: #FDCA19;

  --orange-dark: #C2501A;
  --blue-mid: #3D8FCB;
  --blue-dark: #2574AD;
  --green-dark: #5E7A12;
  --yellow-dark: #8A6A00;

  --orange-tint: #FDEBD0;
  --blue-tint: #DCEEFA;
  --green-tint: #EEF4D8;
  --yellow-tint: #FFF6D6;

  --purple: #9C27B0;
  --indigo: #3F51B5;
  --pink: #D81B60;
  --deep-orange: #E64A19;

  --navy: #2C3E50;
  --text: #455A64;
  --muted: #6B7C86;
  --bg: #F5F7FA;
  --line: #E3E8EE;

  --font: Calibri, Carlito, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(44, 62, 80, .06), 0 8px 24px rgba(44, 62, 80, .08);
  --container: 1180px;
  --header-h: 76px;
}

/* Couleur de chaque catégorie */
[data-cat="sport"]   { --cat: var(--orange);   --cat-ink: #fff;        --cat-dark: var(--orange-dark); --cat-tint: var(--orange-tint); }
[data-cat="culture"] { --cat: var(--blue-mid); --cat-ink: #fff;        --cat-dark: var(--blue-dark);   --cat-tint: var(--blue-tint); }
[data-cat="art"]     { --cat: var(--green);    --cat-ink: var(--navy); --cat-dark: var(--green-dark);  --cat-tint: var(--green-tint); }
[data-cat="anim"]    { --cat: var(--yellow);   --cat-ink: var(--navy); --cat-dark: var(--yellow-dark); --cat-tint: var(--yellow-tint); }
[data-cat="lieu"]    { --cat: var(--navy);     --cat-ink: #fff;        --cat-dark: var(--navy);        --cat-tint: var(--bg); }

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
html:has(.sheet[open]) { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; }

a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover { color: var(--orange-dark); }

:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.i {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.125em;
}

.color-strip {
  height: 6px;
  background: linear-gradient(90deg,
    var(--orange) 0 25%, var(--blue) 25% 50%, var(--green) 50% 75%, var(--yellow) 75% 100%);
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .75em 1.3em; border-radius: 8px;
  font: inherit; font-weight: 700; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn--primary { background: var(--orange-dark); color: #fff; }
.btn--primary:hover { background: #A9440F; color: #fff; }
.btn--small { padding: .5em .9em; font-size: .95rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.link-arrow .i { transition: transform .15s; }
.link-arrow:hover .i { transform: translateX(3px); }

.cbtn {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
  padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  font-weight: 700; font-size: .95rem; text-decoration: none; overflow-wrap: anywhere;
  transition: border-color .15s, background-color .15s;
}
.cbtn .i { color: var(--orange-dark); }
.cbtn:hover { border-color: var(--navy); color: var(--navy); }

/* En-tête et menu */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(1.4) blur(6px);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 12px rgba(44, 62, 80, .12); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 50px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; }
.brand__text span { font-size: .85rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; }
@media (max-width: 1150px) { .brand__text { display: none; } }
.nav a:not(.btn) {
  position: relative; padding: 8px 12px;
  color: var(--navy); font-weight: 700; text-decoration: none;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px;
  background: var(--orange); border-radius: 2px; transform: scaleX(0); transition: transform .2s;
}
.nav a:not(.btn):hover::after,
.nav a[aria-current]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 0; border-radius: 8px;
  background: var(--bg); color: var(--navy); font-size: 1.5rem; cursor: pointer;
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 960px) {
  .brand__text { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; background: #fff;
    box-shadow: 0 12px 20px rgba(44, 62, 80, .15);
    display: none;
  }
  .menu-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current] { color: var(--orange-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; }
}

/* Accueil */
.hero { background: #fff; padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 48px; }

.eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 3px 10px;
  background: var(--navy); color: #fff; border-radius: 6px;
  font-weight: 700; font-size: .85rem;
}
.hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); margin-bottom: 12px; letter-spacing: -.01em; }

.quartiers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 10px; }
.quartiers li { padding: 3px 12px; border-radius: 6px; font-size: 1rem; font-weight: 700; color: #fff; }
.quartiers li:nth-child(1) { background: var(--orange-dark); }
.quartiers li:nth-child(2) { background: var(--blue-dark); }
.quartiers li:nth-child(3) { background: var(--green); color: var(--navy); }

.tagline { font-size: 1.05rem; font-weight: 700; color: #546E7A; margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 92px); gap: 8px; list-style: none; padding: 0; margin-top: 18px; }
.stats li {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 68px; border-radius: 10px; color: #fff; font-size: .85rem; font-weight: 700; line-height: 1.2;
}
.stats strong { font-size: 1.4rem; line-height: 1.1; }
.stats--orange { background: var(--orange-dark); }
.stats--blue { background: var(--blue-dark); }
.stats--green { background: var(--green); color: var(--navy) !important; }
.stats--yellow { background: var(--yellow); color: var(--navy) !important; }


.hero__logo {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  width: 340px; aspect-ratio: 697 / 318;
}
.hero__logo span { border-radius: 4px; background: var(--orange); }
.hero__logo span + span { background: var(--blue); }
.hero__logo img {
  position: absolute; left: 50%; top: 12%; transform: translateX(-50%);
  width: 32%; padding: 3%; background: #fff; box-sizing: content-box;
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__logo { grid-row: 1; width: 200px; }
}
@media (max-width: 600px) {
  .hero { padding: 24px 0 28px; }
  .stats { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .stats strong { font-size: 1.3rem; }
}

/* Parties de la page */
.section { padding: 64px 0; }
.section--white { background: #fff; }

.section-head { max-width: 46em; margin-bottom: 28px; }
.section-head::before {
  content: ""; display: block; width: 64px; height: 6px; margin-bottom: 14px; border-radius: 3px;
  background: linear-gradient(90deg,
    var(--orange) 0 25%, var(--blue) 25% 50%, var(--green) 50% 75%, var(--yellow) 75% 100%);
}
.section-head h1,
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin-bottom: 8px; }
.section-head p { font-size: 1.15rem; margin: 0; }

.h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 14px; }
.h3 { font-size: 1.35rem; margin-bottom: 16px; }

/* En-tête des pages intérieures */
.page-head { background: #fff; padding: 40px 0 36px; border-bottom: 1px solid var(--line); }
.page-head .section-head { margin-bottom: 0; }
@media (max-width: 600px) { .page-head { padding: 28px 0 26px; } }

.note { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.note .i { color: var(--yellow-dark); margin-top: .25em; }

@media (max-width: 600px) { .section { padding: 48px 0; } }

/* Filtres */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: inherit; font-weight: 700; color: var(--navy); cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[data-cat] { background: var(--cat); border-color: var(--cat); color: var(--cat-ink); transition: opacity .15s, box-shadow .15s; }
.chip[data-cat]:hover { border-color: var(--cat-dark); }
.chip[data-cat][aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cat-dark); }
.chips:has(.chip[data-cat][aria-pressed="true"]) .chip[data-cat][aria-pressed="false"] { opacity: .5; }
.chips:has(.chip[data-cat][aria-pressed="true"]) .chip[data-cat][aria-pressed="false"]:hover { opacity: 1; }
@media (max-width: 560px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 5px 16px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; padding: 7px 14px; }
}

/* Vignettes des sections */
.tiles {
  display: grid; gap: 14px; list-style: none; padding: 0;
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.tiles li { display: flex; }
.tile {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 16px 16px 14px; text-align: left;
  font: inherit; color: var(--text); background: #fff; cursor: pointer;
  border: 1px solid var(--line); border-top: 5px solid var(--cat); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(44, 62, 80, .05);
  transition: transform .15s, box-shadow .15s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile__icon {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px;
  border-radius: 12px; background: var(--cat-tint); color: var(--cat-dark); font-size: 1.35rem;
}
.tile__name { font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.25; }
.tile__meta { font-size: .88rem; color: var(--muted); line-height: 1.35; padding-right: 18px; }
.tile__go { position: absolute; right: 12px; bottom: 14px; color: var(--cat-dark); transition: transform .15s; }
.tile:hover .tile__go { transform: translateX(3px); }
.tile::before { position: absolute; top: 18px; right: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--cat-dark); }
[data-cat="sport"] > .tile::before { content: "Sportive"; }
[data-cat="culture"] > .tile::before { content: "Culturelle"; }
[data-cat="art"] > .tile::before { content: "Artistique"; }
[data-cat="anim"] > .tile::before { content: "Animation"; }

@media (max-width: 560px) {
  .tile { padding: 12px 12px 12px; }
  .tile__name { font-size: 1rem; }
}

/* Fiches (fenêtres) */
.sheet {
  width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--text);
  box-shadow: 0 24px 60px rgba(34, 49, 63, .35);
}
.sheet--wide { width: min(780px, calc(100% - 32px)); }
.sheet[open] { display: flex; animation: sheet-in .2s ease-out; }
.sheet::backdrop { background: rgba(34, 49, 63, .55); backdrop-filter: blur(2px); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.sheet__inner { display: flex; flex-direction: column; width: 100%; max-height: inherit; }
.sheet__head {
  display: flex; align-items: center; gap: 12px; flex: none;
  padding: 14px 14px 14px 22px; background: var(--cat); color: var(--cat-ink);
}
.sheet__head h3 { flex: 1; margin: 0; color: inherit; font-size: 1.45rem; }
.sheet__icon {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px;
  border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: 1.3rem;
}
.sheet__close {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px;
  border: 0; border-radius: 50%; cursor: pointer; font-size: 1.25rem;
  background: rgba(255, 255, 255, .28); color: inherit;
}
.sheet__close:hover { background: rgba(255, 255, 255, .45); }
.sheet__body { padding: 22px; overflow-y: auto; overscroll-behavior: contain; }
.sheet__body:focus { outline: none; }
.sheet__body > :last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .sheet, .sheet--wide {
    width: 100%; max-width: 100%; max-height: 92dvh;
    margin: auto 0 0; border-radius: 18px 18px 0 0;
  }
  .sheet__body { padding: 18px 16px 24px; }
  .sheet__head h3 { font-size: 1.25rem; }
}

/* Photos des fiches */
.sheet__photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 18px; }
.sheet__photos a { display: block; border-radius: 10px; overflow: hidden; background: var(--bg); }
.sheet__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
.sheet__photos a:only-child img { aspect-ratio: 16 / 9; }
.sheet__photos a:hover img { transform: scale(1.04); }

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  list-style: none; padding: 0; margin: 0 0 18px;
}
.facts li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border-radius: 10px; background: var(--cat-tint);
  color: var(--navy); font-weight: 700; line-height: 1.35;
}
.facts .i { color: var(--cat-dark); font-size: 1.15rem; margin-top: .05em; }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-bottom: 16px; }
.info-grid h4 { font-size: 1.02rem; margin-bottom: .3em; }
.info-grid ul { padding-left: 1.1em; }
.info-grid p { margin: 0; }
@media (max-width: 480px) { .info-grid { grid-template-columns: 1fr; } }

.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.pills li { padding: 4px 12px; border-radius: 999px; background: var(--cat-tint); color: var(--navy); font-weight: 700; font-size: .95rem; }

.contacts { display: grid; gap: 10px; margin-top: 18px; }
.contact { padding: 14px 16px; border-radius: 10px; background: var(--bg); }
.contact__name { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.contact__role { font-weight: 400; color: var(--muted); }
.contact__who { margin: -4px 0 8px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 8px; }

.planning { display: grid; gap: 10px; margin: 0 0 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 700px) { .planning { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.planning__day { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.planning__day h4 { margin: 0; padding: 5px 8px; background: var(--orange); color: #fff; text-align: center; font-size: 1.1rem; }
.planning__day ul { list-style: none; padding: 8px 10px 10px; font-size: .92rem; line-height: 1.35; }
.planning__day li + li { margin-top: 6px; }
.planning__day time { display: block; font-weight: 700; color: var(--navy); }
.planning__day small { color: var(--muted); }

.kid-list { display: grid; gap: 10px; }
.kid-item { padding: 10px 14px; border-left: 4px solid var(--orange); border-radius: 0 10px 10px 0; background: var(--bg); }
.kid-item h4 { margin: 0 0 .2em; color: var(--orange-dark); font-size: 1.05rem; }
.kid-item p { margin: 0; font-size: .97rem; }

.kids { display: grid; gap: 10px; margin: 0 0 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 600px) { .kids { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kid {
  --k: var(--orange);
  display: flex; flex-direction: column; text-align: center;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
}
.kid--deep-orange { --k: var(--deep-orange); }
.kid--indigo { --k: var(--indigo); }
.kid--purple { --k: var(--purple); }
.kid h4, .kid__age { margin: 0; padding: 6px 6px; background: var(--k); color: #fff; font-size: 1.05rem; font-weight: 700; }
.kid__when { padding: 8px 6px; flex: 1; font-size: .93rem; }
.kid__when strong { display: block; color: var(--k); font-size: 1.05rem; line-height: 1.3; }

/* Qui sommes-nous */
.perks {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  list-style: none; padding: 0; margin: 0;
}
@media (max-width: 960px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }
.perks li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: #fff; }
.perks p { margin: 0; line-height: 1.45; }
.perks strong { color: var(--navy); }
.perks__icon {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px;
  border-radius: 10px; background: var(--green-tint); color: var(--green-dark); font-size: 1.2rem;
}

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.panel { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }

.board { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; list-style: none; padding: 0; margin: 0 0 18px; }
.board li { display: flex; gap: 12px; align-items: center; }
.board img { width: 60px; height: 60px; flex: none; object-fit: cover; border-radius: 50%; border: 3px solid var(--orange); }
.board li:nth-child(2) img { border-color: var(--blue); }
.board li:nth-child(3) img { border-color: var(--green); }
.board li:nth-child(4) img { border-color: var(--yellow); }
.board span { font-weight: 700; color: var(--navy); line-height: 1.25; }
.board small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
@media (max-width: 420px) { .board { grid-template-columns: 1fr; } }

/* Page L'association */
.about-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; margin-bottom: 36px; }
@media (max-width: 860px) { .about-intro { grid-template-columns: 1fr; } }
.prose { max-width: 42em; }
.prose p { font-size: 1.08rem; }
.prose .h3 { margin-top: 28px; margin-bottom: 8px; }
.partners-title { margin-top: 28px; margin-bottom: 8px; }
.partners-title + p { max-width: 46em; }
.values { padding: 22px 24px; border-radius: var(--radius); background: var(--blue-tint); }
.values .h3 { margin-bottom: 10px; }
.values p { margin-bottom: .6em; }
.values p:last-child { margin-bottom: 0; }

.missions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; }
@media (max-width: 860px) { .missions { grid-template-columns: 1fr; } }
.missions li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--bg); }
.missions p { margin: 0; line-height: 1.45; }
.missions strong { color: var(--navy); }
.missions__icon {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px;
  border-radius: 10px; background: var(--orange-tint); color: var(--orange-dark); font-size: 1.2rem;
}

.project { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } }
.orientations { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; counter-reset: o; }
.orientations li {
  display: flex; gap: 12px; align-items: center; padding: 10px 14px;
  border-radius: 10px; background: #fff; font-weight: 700; color: var(--navy); counter-increment: o;
}
.orientations li::before {
  content: counter(o); display: grid; place-items: center; flex: none; width: 30px; height: 30px;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: .95rem;
}
.orientations li:nth-child(4n+1)::before { background: var(--orange-dark); }
.orientations li:nth-child(4n+2)::before { background: var(--blue-dark); }
.orientations li:nth-child(4n+3)::before { background: var(--green); color: var(--navy); }
.orientations li:nth-child(4n+4)::before { background: var(--yellow); color: var(--navy); }

.callout { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--green); }
.callout__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px;
  border-radius: 12px; background: var(--green-tint); color: var(--green-dark); font-size: 1.4rem;
}
.callout .h3 { margin-bottom: 8px; }

/* Lieux */
.places { display: grid; gap: 12px; list-style: none; padding: 0; }
.place {
  display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 14px; width: 100%;
  padding: 8px 14px 8px 8px; text-align: left; font: inherit; color: var(--text); cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.place:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.place img { width: 112px; height: 72px; object-fit: cover; border-radius: 8px; }
.place__text strong { display: block; color: var(--navy); line-height: 1.3; }
.place__text span { display: block; font-size: .92rem; line-height: 1.35; }
.place__go { color: var(--orange-dark); transition: transform .15s; }
.place:hover .place__go { transform: translateX(3px); }
@media (max-width: 480px) {
  .place { grid-template-columns: 80px 1fr auto; gap: 10px; }
  .place img { width: 80px; height: 58px; }
}

.place-map { width: 100%; border-radius: 10px; margin-bottom: 14px; }
.place-address { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--navy); }
.place-address .i { color: var(--orange-dark); margin-top: .25em; }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
@media (max-width: 600px) { .rooms { grid-template-columns: 1fr; } }
.rooms > div { padding: 12px 14px; border-radius: 10px; background: var(--bg); }
.rooms h4 { font-size: 1.02rem; margin-bottom: 8px; }
.room-sections { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.room-sections a {
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 700; color: var(--navy);
}
.room-sections a { display: inline-block; text-decoration: none; }
.room-sections a:hover { border-color: var(--navy); color: var(--navy); }

/* Actualités */
.news-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .news-layout { grid-template-columns: 1fr; } }
.news-list { display: grid; gap: 24px; }

.news { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.news__body { padding: 24px 26px; }
.news__date { margin-bottom: 6px; color: var(--orange-dark); font-weight: 700; font-size: .95rem; }
.news h3 { font-size: 1.6rem; margin-bottom: 4px; }
.news__tagline { font-weight: 700; color: var(--navy); }
.news__place { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--navy); }
.news__place .i { color: var(--orange-dark); margin-top: .25em; }

.news--poster { display: grid; grid-template-columns: minmax(0, 280px) 1fr; }
.news__poster { display: block; background: var(--bg); }
.news__poster img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .news--poster { grid-template-columns: 1fr; }
  .news__poster img { height: auto; }
}

/* Agenda */
.agenda { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.agenda ol { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.event { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; }
.event strong { display: block; color: var(--navy); line-height: 1.3; }
.event > span + span { font-size: .93rem; line-height: 1.4; }
.event a { display: inline-flex; align-items: center; gap: 4px; }

.date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 56px; border-radius: 10px; background: var(--orange-dark); color: #fff;
  font-size: .78rem; font-weight: 700; line-height: 1.1; text-transform: uppercase;
}
.date b { font-size: 1.35rem; text-transform: none; }
.date--blue { background: var(--blue-dark); }
.date--pink { background: var(--pink); }
.date--yellow { background: var(--yellow); color: var(--navy); }
.date--green { background: var(--green); color: var(--navy); }

.event .event__fb { display: flex; width: fit-content; margin-top: 4px; color: #1877F2; font-weight: 700; }
.event .event__fb .i { width: 1em; height: 1em; }

/* Sans actualité à la une */
.news-layout--solo { grid-template-columns: 1fr; }
@media (min-width: 761px) {
  .news-layout--solo .agenda ol { display: block; columns: 2; column-gap: 40px; }
  .news-layout--solo .event { break-inside: avoid; margin-bottom: 14px; }
}

/* Événements passés */
.past-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 760px) { .past-events { grid-template-columns: 1fr; } }
.past-events .event {
  grid-template-columns: 56px 1fr auto; padding: 14px; border-radius: var(--radius);
  background: var(--bg); align-items: start;
}
.event__image { display: block; width: 76px; border-radius: 8px; overflow: hidden; background: #fff; }
.event__image img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }

.agenda__follow { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.agenda__follow p { margin-bottom: 10px; font-weight: 700; color: var(--navy); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem;
}
.social:hover { color: #fff; filter: brightness(1.1); }
.social--fb { background: #1877F2; }
.social--ig { background: #C13584; }

/* Blocs de l'accueil */
.welcome { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .welcome { grid-template-columns: 1fr; } }
.welcome p { font-size: 1.08rem; }
.agenda__more { margin: 16px 0 0; }

.universes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; }
@media (max-width: 960px) { .universes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .universes { grid-template-columns: 1fr; } }
.universes li { display: flex; }
.universe {
  flex: 1; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.universe:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.universe__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 14px 16px; background: var(--cat); color: var(--cat-ink); }
.universe__name { font-size: 1.25rem; font-weight: 700; }
.universe__count { font-size: .9rem; font-weight: 700; opacity: .9; }
.universe__list { flex: 1; padding: 14px 16px 6px; line-height: 1.5; }
.universe__go { display: flex; align-items: center; gap: 6px; padding: 8px 16px 16px; font-weight: 700; color: var(--cat-dark); }
.universe:hover .universe__go .i { transform: translateX(3px); }
.universe__go .i { transition: transform .15s; }

.story-teaser { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.story-teaser__year {
  margin: 0; font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--orange) 0 25%, var(--blue) 25% 50%, var(--green) 50% 75%, var(--yellow-dark) 75% 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.story-teaser p:not(.story-teaser__year) { font-size: 1.08rem; max-width: 46em; }
@media (max-width: 700px) { .story-teaser { grid-template-columns: 1fr; } }

/* Notre histoire */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding-bottom: 26px; }
.timeline li::before {
  content: ""; position: absolute; left: 124px; top: 10px; bottom: -6px; width: 3px; border-radius: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline li > div { position: relative; padding-left: 22px; }
.timeline li > div::before {
  content: ""; position: absolute; left: -12px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px #fff;
}
.timeline li:nth-child(4n+2) > div::before { background: var(--blue); }
.timeline li:nth-child(4n+3) > div::before { background: var(--green); }
.timeline li:nth-child(4n+4) > div::before { background: var(--yellow); }
.timeline__year { margin: 0; text-align: right; font-size: 1.6rem; font-weight: 700; line-height: 1.1; color: var(--navy); }
.timeline__year--text { font-size: 1.05rem; padding-top: 2px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 4px; }
.timeline p:not(.timeline__year) { margin: 0; max-width: 46em; }
@media (max-width: 600px) {
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 26px; }
  .timeline li::before { left: 6px; top: 12px; }
  .timeline li > div { padding-left: 0; }
  .timeline li > div::before { left: -26px; top: -24px; }
  .timeline__year { text-align: left; font-size: 1.3rem; }
  .timeline__year--text br { display: none; }
}

.archives-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding-left: 134px; }
@media (max-width: 600px) { .archives-links { padding-left: 0; } }

.memories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .memories { grid-template-columns: 1fr; } }
.panel--white { background: #fff; }
.panel--white p { margin: 0; }
.tags-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags-list li { padding: 4px 12px; border-radius: 999px; background: var(--bg); color: var(--navy); font-weight: 700; font-size: .93rem; }
.panel--white .tags-list li { background: var(--blue-tint); }

.years { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.years a {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--navy); font-weight: 700; text-decoration: none;
}
.years a:hover { border-color: var(--navy); color: var(--navy); }
.year-title { margin: 32px 0 14px; font-size: 1.6rem; scroll-margin-top: calc(var(--header-h) + 16px); }

.blog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; }
@media (max-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px)  { .blog-grid { grid-template-columns: 1fr; } }
.blog-grid li { display: flex; }
.blog-card {
  flex: 1; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--text); }
.blog-card img, .blog-card__noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); }
.blog-card__noimg { display: grid; place-items: center; color: var(--muted); font-size: 2.2rem; }
.blog-card__text { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.blog-card time { font-size: .85rem; font-weight: 700; color: var(--orange-dark); }
.blog-card strong { color: var(--navy); line-height: 1.3; }

/* Article du blog */
.post__inner { max-width: 820px; }
.post__back { margin-bottom: 18px; }
.post__date { margin: 0 0 6px; font-weight: 700; color: var(--orange-dark); }
.post__head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 12px; }
.post__head { margin-bottom: 24px; }
.post__body { font-size: 1.08rem; overflow-wrap: anywhere; }
.post__body h3 { font-size: 1.3rem; margin-top: 1.2em; }
.post__body ul, .post__body ol { margin: 0 0 1em; }
.post__body blockquote { margin: 0 0 1em; padding: 12px 18px; border-left: 4px solid var(--green); background: #fff; border-radius: 0 10px 10px 0; }
.post__gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 1.2em; }
.post__gallery--single { grid-template-columns: 1fr; }
.post__gallery a { display: block; border-radius: 10px; overflow: hidden; background: #fff; }
.post__gallery img { width: 100%; height: 100%; object-fit: cover; }
.post__gallery--single img { height: auto; max-height: 80vh; object-fit: contain; }
@media (max-width: 460px) { .post__gallery { grid-template-columns: 1fr; } }
.post__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.post__nav a {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: #fff;
  border: 1px solid var(--line); color: var(--navy); font-weight: 700; text-decoration: none; line-height: 1.3;
}
.post__nav a:hover { border-color: var(--navy); color: var(--navy); }
.post__nav small { font-weight: 400; color: var(--muted); }
.post__next { grid-column: 2; text-align: right; }
@media (max-width: 560px) { .post__nav { grid-template-columns: 1fr; } .post__next { grid-column: 1; } }

/* Pied de page */
.site-footer { background: var(--navy); color: #CFD8DC; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.footer-logo { width: 150px; background: #fff; padding: 10px; border-radius: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { margin-top: .3em; color: var(--yellow); }
.footer-bottom { padding: 16px 0 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Page 404 */
.page { padding: 56px 0 80px; }
.page h1 { font-size: 2.2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
