/* =========================================================
   Lycée Yves Leborgne · Erasmus+
   Feuille de style institutionnelle, inspirée du Système de
   Design de l'État (DSFR) : Marianne, bleu France, aplats,
   angles sobres, hiérarchie stricte.
   ========================================================= */

@font-face { font-family: "Marianne"; src: url("../fonts/Marianne-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Marianne"; src: url("../fonts/Marianne-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Marianne"; src: url("../fonts/Marianne-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Marianne"; src: url("../fonts/Marianne-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --blue: #000091;            /* bleu France */
  --blue-hover: #1212ff;
  --blue-active: #2323ff;
  --blue-tint: #ececfe;
  --blue-tint-2: #f4f4fd;
  --eu-blue: #003399;
  --eu-gold: #ffcc00;
  --ink: #161616;
  --ink-2: #3a3a3a;
  --muted: #666666;
  --muted-2: #929292;
  --line: #e5e5e5;
  --line-2: #dddddd;
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --bg-dark: #1e1e1e;
  --radius: 0.25rem;
  --shadow: 0 1px 3px rgba(0, 0, 18, .08);
  --shadow-hover: 0 2px 8px rgba(0, 0, 18, .12);
  --container: 78rem;
  --font: "Marianne", "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .75rem; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
code { font-family: "Courier New", monospace; background: var(--bg-alt); border: 1px solid var(--line); padding: .1rem .35rem; border-radius: var(--radius); font-size: .92em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip-link:focus { left: 0; }

/* ---------------- liens & boutons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font); font-size: .95rem; font-weight: 500;
  padding: .55rem 1.15rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue-tint); color: var(--blue-hover); }
.btn-tertiary { background: var(--bg-alt); color: var(--ink); border-color: var(--line-2); }
.btn-tertiary:hover { background: var(--line); color: var(--ink); }
.btn-sm { padding: .35rem .8rem; font-size: .88rem; }
.btn-block { width: 100%; justify-content: center; }

.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--blue-hover); }

/* ---------------- header ---------------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-band { border-bottom: 1px solid var(--line); }
.header-band-in { display: flex; align-items: center; gap: 1.25rem; padding: .9rem 1.5rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-logo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-text strong { font-size: 1.12rem; font-weight: 700; letter-spacing: .01em; }
.brand-text em { font-style: normal; font-size: .82rem; color: var(--blue); font-weight: 500; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: .9rem; }

.lang-switch {
  display: inline-flex; align-items: stretch; border: 1px solid var(--line-2);
  border-radius: var(--radius); overflow: hidden; background: #fff;
}
.lang-switch a {
  padding: .38rem .7rem; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; color: var(--ink-2); background: #fff;
}
.lang-switch a:hover { background: var(--bg-alt); color: var(--blue); }
.lang-switch a.on { background: var(--blue); color: #fff; }
.lang-switch span { align-self: center; color: var(--muted-2); font-size: .8rem; padding: 0 .1rem; }

.site-nav { background: #fff; }
.nav-in { display: flex; align-items: center; gap: 1rem; padding: 0 1.5rem; }
.nav-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.nav-list a {
  display: block; padding: .8rem .85rem; font-size: .95rem; font-weight: 500;
  color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent;
}
.nav-list a:hover { color: var(--blue); background: var(--blue-tint-2); }
.nav-list li.is-active a { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.nav-toggle { display: none; }
.lang-switch-nav {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 700; color: var(--blue); text-decoration: none;
  padding: .45rem .7rem; border: 1px solid var(--blue); border-radius: var(--radius);
}
.lang-switch-nav:hover { background: var(--blue-tint); }
.ls-globe { width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.ls-globe::before { content: ""; position: absolute; inset: -2px auto -2px 50%; width: 2px; background: currentColor; transform: translateX(-50%); }
.ls-globe::after { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 2px; background: currentColor; transform: translateY(-50%); }

/* ---------------- sections ---------------- */
.band { padding: 3.4rem 0; }
.band-alt { background: var(--bg-alt); }
.band-blue { background: var(--blue-tint); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.sec-head h2 { margin-bottom: .35rem; }
.sec-lead { color: var(--muted); max-width: 62ch; margin: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 .6rem;
}
.kicker::before { content: ""; width: 22px; height: 3px; background: var(--blue); }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 68ch; }

.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 2.6rem 0 2.4rem; }
.page-head .lead { margin-top: .4rem; }
.page-head-compact { padding: 2rem 0 1.8rem; }
.crumbs { font-size: .82rem; color: var(--muted); margin: 0 0 .9rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { padding: 0 .3rem; color: var(--muted-2); }

/* ---------------- ouverture (accueil) ---------------- */
.opening { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.opening-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 3.2rem 1.5rem 3.4rem; }
.opening-text h1 { margin-bottom: 1rem; }
.opening-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.opening-media { margin: 0; }
.opening-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.opening-media figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }

/* ---------------- appel eTwinning ---------------- */
.etw { background: var(--blue); color: #fff; }
.etw-in { display: flex; align-items: center; gap: 1.6rem; padding: 1.5rem; flex-wrap: wrap; }
.etw-badge {
  flex: none; width: 74px; height: 74px; border-radius: 50%;
  background: var(--eu-gold); color: var(--blue); display: grid; place-items: center;
  font-weight: 700; font-size: .68rem; text-align: center; line-height: 1.15; padding: .4rem;
}
.etw-text { flex: 1 1 30rem; }
.etw-text h2 { color: #fff; font-size: 1.2rem; margin-bottom: .3rem; }
.etw-text p { margin: 0; color: #e3e3fd; font-size: .95rem; }
.etw .btn { background: #fff; color: var(--blue); }
.etw .btn:hover { background: var(--blue-tint); }

/* ---------------- chiffres ---------------- */
.stats-band { border-bottom: 1px solid var(--line); background: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.6rem 1.4rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-size: 2.1rem; font-weight: 700; color: var(--blue); line-height: 1.1; }
.stat span { display: block; font-size: .92rem; font-weight: 500; color: var(--ink); margin-top: .2rem; }
.stat em { display: block; font-style: normal; font-size: .8rem; color: var(--muted); }

/* ---------------- accréditation ---------------- */
.accred { padding: 3.4rem 0; }
.accred-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.6rem; align-items: start; }
.accred-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--eu-blue);
  border-radius: var(--radius); padding: 1.8rem 1.9rem; box-shadow: var(--shadow);
}
.accred-head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1rem; }
.eu-emblem { width: 74px; flex: none; }
.eu-emblem svg { width: 100%; height: auto; border-radius: 2px; }
.accred-lead { color: var(--ink-2); }
.accred-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; margin: 1.2rem 0 1.4rem; }
.accred-dl div { border-top: 1px solid var(--line); padding-top: .55rem; }
.accred-dl dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.accred-dl dd { margin: .15rem 0 0; font-size: .95rem; font-weight: 500; }
.accred-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.accred-visual { margin: 0; }
.accred-visual img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.accred-visual figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }

/* ---------------- cartes projets ---------------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pcard {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: box-shadow .18s, transform .18s;
}
.pcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pcard.is-hidden { display: none; }
.pcard-media { position: relative; aspect-ratio: 16/10; background: var(--bg-alt); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pcard-meta { display: flex; align-items: center; gap: .55rem; font-size: .8rem; color: var(--muted); font-weight: 500; }
.pcard-meta .flag { width: 22px; height: 15px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.pcard-meta .flag svg { width: 100%; height: 100%; display: block; }
.pcard h3 { margin: 0; font-size: 1.06rem; }
.pcard-sub { color: var(--muted); font-size: .9rem; margin: 0; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .1rem; }
.tag {
  font-size: .72rem; font-weight: 500; color: var(--ink-2); background: var(--bg-alt);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: .12rem .5rem;
}
.tag-blue { background: var(--blue-tint); border-color: #c9c9fb; color: var(--blue); }
.pcard-link { margin-top: auto; padding-top: .6rem; color: var(--blue); font-weight: 700; font-size: .9rem; display: inline-flex; gap: .4rem; align-items: center; }

/* ---------------- fiches projet ---------------- */
.project-head-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .4rem 0 1rem; }
.project-hero { margin: 0 0 2rem; }
.project-hero img { width: 100%; max-height: 26rem; object-fit: cover; border-radius: var(--radius); }
.editorial { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2.6rem; align-items: start; }
.editorial-main > p { color: var(--ink-2); }
.facts { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; position: sticky; top: 7.5rem; }
.facts h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .9rem; }
.facts dl { margin: 0; display: grid; gap: .8rem; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.facts dd { margin: .1rem 0 0; font-size: .95rem; }
.facts .flag { width: 24px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: .4rem; }
.facts .flag svg { width: 100%; height: 100%; }

.block { margin: 2.4rem 0; }
.block > h2 { font-size: 1.3rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: .85rem; height: .5rem;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.quote-block {
  margin: 1.6rem 0; padding: 1.2rem 1.5rem; background: var(--blue-tint-2);
  border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0;
}
.quote-block p { font-size: 1.12rem; font-style: italic; color: var(--ink); margin: 0 0 .4rem; }
.quote-block cite { font-size: .82rem; color: var(--muted); font-style: normal; }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.photo-strip figcaption { font-size: .76rem; color: var(--muted); margin-top: .4rem; }
.photo-strip-3 { grid-template-columns: repeat(3, 1fr); }
.photo-strip-2 { grid-template-columns: repeat(2, 1fr); }
.photo-strip-1 { grid-template-columns: 1fr; }

.partner-card {
  display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.3rem;
}
.partner-card .flag { width: 34px; height: 23px; flex: none; margin-top: .15rem; box-shadow: 0 0 0 1px var(--line); }
.partner-card .flag svg { width: 100%; height: 100%; }
.partner-card h3 { margin-bottom: .2rem; font-size: 1.02rem; }
.partner-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.related-band { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 2.6rem 0; }

/* ---------------- filtres & recherche ---------------- */
.filterbar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.searchbox { display: flex; gap: .6rem; align-items: center; }
.searchbox input[type="search"] {
  flex: 1; font-family: var(--font); font-size: 1rem; padding: .6rem .9rem;
  border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--ink); background: #fff;
}
.searchbox input[type="search"]:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.filter-selects { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: .9rem; }
.filter-selects label { display: flex; flex-direction: column; gap: .3rem; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.filter-selects select {
  font-family: var(--font); font-size: .92rem; padding: .5rem .6rem; border: 1px solid var(--line-2);
  border-radius: var(--radius); background: #fff; color: var(--ink);
}
.filter-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; flex-wrap: wrap; }
.f-count { font-size: .88rem; color: var(--muted); font-weight: 500; }
.empty-state { padding: 2.4rem 1rem; text-align: center; color: var(--muted); background: var(--bg-alt); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------------- frise ---------------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--line-2); display: grid; gap: 1.8rem; }
.tl-item { position: relative; }
.tl-marker { position: absolute; left: -1.4rem; top: .35rem; width: 13px; height: 13px; background: var(--blue); transform: translateX(-50%) rotate(45deg); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.tl-card h3 { margin-bottom: .3rem; }
.tl-card p { color: var(--muted); font-size: .94rem; margin-bottom: .7rem; }
.tl-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 0 0 .7rem; padding: 0; }
.tl-stats li { display: flex; flex-direction: column; }
.tl-stats strong { font-size: 1.3rem; color: var(--blue); }
.tl-stats span { font-size: .78rem; color: var(--muted); }
.tl-filter { background: none; border: 0; padding: 0; font: inherit; font-size: .92rem; font-weight: 700; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.tl-filter:hover { color: var(--blue-hover); text-decoration: underline; }

/* ---------------- mobilités / destinations ---------------- */
.dest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.dest-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.dest-card .flag { width: 30px; height: 20px; display: block; margin-bottom: .6rem; box-shadow: 0 0 0 1px var(--line); }
.dest-card .flag svg { width: 100%; height: 100%; }
.dest-card strong { display: block; font-size: 1rem; }
.dest-card span { display: block; font-size: .82rem; color: var(--muted); }
.dest-card em { display: block; font-style: normal; font-size: .78rem; color: var(--blue); font-weight: 700; margin-top: .35rem; }
.mob-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.mob-type { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.mob-type h3 { font-size: 1.02rem; }
.mob-type p { font-size: .9rem; color: var(--muted); margin: 0; }
.hosting-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.hosting-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .95rem 1.2rem; display: flex; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.hosting-list .when { font-weight: 700; color: var(--blue); font-size: .9rem; min-width: 11rem; }
.hosting-list .what { color: var(--ink-2); font-size: .95rem; flex: 1; }

/* ---------------- partenaires ---------------- */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.partner-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; }
.partner-tile .flag { width: 32px; height: 21px; box-shadow: 0 0 0 1px var(--line); margin-bottom: .4rem; }
.partner-tile .flag svg { width: 100%; height: 100%; }
.partner-tile h3 { font-size: 1.05rem; margin: 0; }
.partner-tile .city { color: var(--muted); font-size: .88rem; }
.partner-tile .proj { font-size: .88rem; color: var(--ink-2); margin-top: .4rem; }
.partner-tile .proj a { font-weight: 500; }

/* ---------------- actualités ---------------- */
.news-list { display: grid; gap: 1.2rem; }
.news-card {
  display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: box-shadow .18s;
}
.news-card:hover { box-shadow: var(--shadow-hover); }
.news-card img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.2rem 1.4rem 1.3rem 0; }
.news-date { font-size: .8rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.news-body h3 { margin: .3rem 0 .4rem; font-size: 1.15rem; }
.news-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.article-body { max-width: 46rem; font-size: 1.03rem; color: var(--ink-2); }
.article-body p { margin-bottom: 1.15rem; }
.article-figure { margin: 1.8rem 0; }
.article-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.article-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* ---------------- galerie ---------------- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  font-family: var(--font); font-size: .86rem; font-weight: 500; padding: .38rem .95rem;
  border: 1px solid var(--line-2); border-radius: 1rem; background: #fff; color: var(--ink-2); cursor: pointer;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-grid { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-grid li.is-hidden { display: none; }
.gal-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.gal-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .2s; }
.gal-item:hover img { transform: scale(1.02); }
.gal-item figcaption, .gal-cap { display: block; font-size: .78rem; color: var(--muted); margin-top: .45rem; }
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: min(72rem, 94vw); width: auto; }
dialog#lightbox::backdrop { background: rgba(10, 10, 30, .82); }
.lb-in { position: relative; background: #fff; border-radius: var(--radius); padding: .8rem; }
.lb-in img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 2px; }
.lb-in figcaption { font-size: .85rem; color: var(--ink-2); padding: .6rem .2rem .2rem; max-width: 60rem; }
.lb-close { position: absolute; top: -2.6rem; right: 0; background: #fff; border: 0; border-radius: var(--radius); padding: .4rem .8rem; font-family: var(--font); font-weight: 700; cursor: pointer; }

/* ---------------- lycée ---------------- */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.8rem; align-items: start; }
.split-side .facts { position: static; }
.logo-frame { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.logo-frame img { max-height: 15rem; margin: 0 auto; border-radius: 0; border: 0; box-shadow: none; }
.id-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.id-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.id-card h3 { font-size: 1.02rem; }
.id-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------------- contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: start; }
.contact-dl { margin: 1.4rem 0 0; display: grid; gap: 1.1rem; }
.contact-dl div { border-top: 1px solid var(--line); padding-top: .7rem; }
.contact-dl dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.contact-dl dd { margin: .2rem 0 0; font-size: .98rem; }
.contact-side { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.contact-side h2 { font-size: 1.15rem; }
.contact-side ul { margin: 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .95rem; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--bg-alt); border-top: 2px solid var(--blue); margin-top: 3.5rem; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.2rem; padding: 2.6rem 1.5rem 2rem; }
.footer-in h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: .8rem; }
.footer-in ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-in a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.footer-in a:hover { color: var(--blue); text-decoration: underline; }
.footer-brand p { font-size: .92rem; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line-2); }
.footer-bottom-in { padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .8rem; color: var(--muted); }

/* ---------------- apparitions sobres ---------------- */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition: none !important; animation: none !important; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .cards-grid, .partners-grid, .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4, .mob-types, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-selects { grid-template-columns: repeat(3, 1fr); }
  .editorial { grid-template-columns: 1fr; }
  .facts { position: static; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .id-cards { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .opening-in, .accred-in, .split, .contact-grid { grid-template-columns: 1fr; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .news-card { grid-template-columns: 1fr; }
  .news-body { padding: 0 1.2rem 1.2rem; }
  .news-card img { max-height: 13rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem; background: none; border: 0;
    font-family: var(--font); font-size: .95rem; font-weight: 700; color: var(--ink); padding: .8rem 0; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
  .bars::before { position: absolute; top: -6px; }
  .bars::after { position: absolute; top: 6px; }
  .nav-list { display: none; width: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-bottom: .8rem; }
  body.nav-open .nav-list { display: flex; }
  .nav-list a { border-bottom: 0; border-left: 3px solid transparent; padding: .65rem .8rem; }
  .nav-list li.is-active a { border-left-color: var(--blue); background: var(--blue-tint-2); }
  .nav-in { flex-wrap: wrap; }
  .lang-switch-nav { margin-left: auto; }
}
@media (max-width: 620px) {
  .cards-grid, .cards-grid-2, .cards-grid-4, .mob-types, .gallery-grid, .photo-strip, .photo-strip-3, .photo-strip-2, .dest-grid, .partners-grid { grid-template-columns: 1fr; }
  .filter-selects { grid-template-columns: 1fr 1fr; }
  .stats-in { grid-template-columns: 1fr; }
  .stat { border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .header-band-in { flex-wrap: wrap; gap: .8rem; }
  .header-tools { margin-left: 0; width: 100%; justify-content: space-between; }
  .accred-dl { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .etw-in { flex-direction: column; align-items: flex-start; }
}

/* ---------------- compatibilités (gabarits hérités) ---------------- */
.band-filters { padding-bottom: 1.6rem; }
.searchbox-lg input[type="search"] { font-size: 1.05rem; padding: .75rem 1rem; }
.sb-icon { display: none; }
.filter-count { margin: .9rem 0 0; font-size: .88rem; color: var(--muted); font-weight: 500; }
.badge { font-size: .72rem; font-weight: 700; padding: .14rem .55rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line-2); color: var(--ink-2); }
.badge-year { background: var(--blue); border-color: var(--blue); color: #fff; }
.badge-type { background: var(--blue-tint); border-color: #c9c9fb; color: var(--blue); }
.pcard-meta { flex-wrap: wrap; }
.pcard-facts { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; font-size: .82rem; color: var(--muted); }
.pcard-excerpt { margin: 0; font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-flag { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .5rem; background: var(--blue-tint-2); color: var(--blue); font-weight: 700; font-size: .9rem; }
.pcard-flag svg { width: 44px; height: 30px; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard h3 a:hover { color: var(--blue); }
.sec-title { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0 0 .8rem; }
.sec-sub { margin: 2rem 0 .8rem; }
.mt-lg { margin-top: 2.4rem; }
.wide-text { max-width: 70ch; color: var(--ink-2); font-size: 1.03rem; }
.obj-grid { list-style: none; counter-reset: obj; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.obj-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.1rem 3.4rem; position: relative; }
.obj-grid .obj-num { position: absolute; left: 1rem; top: 1rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.obj-grid p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.prio-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.prio-chips li { background: var(--blue-tint); border: 1px solid #c9c9fb; color: var(--blue); font-weight: 500; border-radius: 1rem; padding: .4rem 1rem; font-size: .92rem; }
.plan-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; max-width: 60ch; }
.plan-steps li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: .9rem 1.2rem; }
.plan-steps .plan-years { display: block; color: var(--blue); font-size: .9rem; letter-spacing: .04em; }
.plan-steps p { margin: .2rem 0 0; color: var(--ink-2); font-size: .95rem; }
.charter-grid, .id-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.charter-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.charter-card h3 { font-size: 1.02rem; }
.charter-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.charter-visual, .wide-figure { margin: 1.8rem 0 0; }
.charter-visual img, .wide-figure img { width: 100%; max-height: 24rem; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.charter-visual figcaption, .wide-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
.stat-list { list-style: none; margin: 0; padding: 1.3rem 1.4rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .9rem; }
.stat-list li { display: flex; align-items: baseline; gap: .8rem; }
.stat-list strong { font-size: 1.5rem; color: var(--blue); min-width: 4.5rem; }
.stat-list span { color: var(--ink-2); font-size: .93rem; }
.ph-logo { margin: 0; }
.ph-logo img { width: 100%; max-width: 16rem; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.page-head-split-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: center; }
.ed-main-wide { max-width: 46rem; }
.ncard-date { font-size: .82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 1080px) { .obj-grid, .charter-grid, .id-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .obj-grid, .charter-grid, .id-cards, .page-head-split-in { grid-template-columns: 1fr; } }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-tint); color: var(--blue-hover); }
.eu-emblem-lg { width: 96px; }

.charter-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; }
.charter-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.charter-list h3 { font-size: 1rem; }
.charter-list ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 860px) { .charter-lists { grid-template-columns: 1fr; } }
