
@font-face {
  font-family: "Montreal";
  src: url("../typos/montreal-geometric-sans-serif-2026-05-19-04-36-13-utc/Montreal Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montreal";
  src: url("../typos/montreal-geometric-sans-serif-2026-05-19-04-36-13-utc/Montreal Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montreal";
  src: url("../typos/montreal-geometric-sans-serif-2026-05-19-04-36-13-utc/Montreal Bold.ttf") format("truetype");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
/* Malkist — touches serif sur certains titres */
@font-face {
  font-family: "Malkist";
  src: url("../typos/malkist-modern-serif-font-2026-04-07-06-14-56-utc/Malkist.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #183724;
  --forest-2: #254a32;
  --forest-3: #10442d;
  --leaf: #b8cc94;
  --gold: #d2b46e;
  --cream: #fff8ea;
  --paper: #f0e7d7;
  --sand: #e4dac7;
  --ink: #101510;
  --muted: #5b6258;
  --line: rgba(24, 55, 36, .16);
  --line-light: rgba(255, 248, 234, .16);
  --white: #fff;
  --radius: 3px;
  --maxw: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montreal", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--leaf);
  color: var(--forest-3);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p {
  color: var(--muted);
  font-size: clamp(.98rem, 1.03vw, 1.08rem);
  line-height: 1.8;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: "Montreal", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: .03em;
}

section[id] {
  scroll-margin-top: 100px;
}

/* ---------- Trame de base ---------- */

.layout {
  width: min(var(--maxw), calc(100% - 72px));
  margin: 0 auto;
}

.section {
  padding: clamp(40px, 5vw, 72px) 0;
  position: relative;
}

.section--paper {
  background: var(--paper);
}

/* ---------- Fond : halos lumineux doux ---------- */
.deco {
  position: relative;
  overflow: hidden;
}

.deco::before,
.deco::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(380px, 46vw, 680px);
  height: clamp(380px, 46vw, 680px);
  border-radius: 50%;
  pointer-events: none;
}

.deco::before {
  top: clamp(-280px, -24vw, -190px);
  right: clamp(-230px, -17vw, -150px);
  background: radial-gradient(closest-side, rgba(210, 180, 110, .18), rgba(210, 180, 110, 0) 72%);
}

.deco::after {
  bottom: clamp(-260px, -22vw, -170px);
  left: clamp(-210px, -16vw, -130px);
  background: radial-gradient(closest-side, rgba(184, 204, 148, .15), rgba(184, 204, 148, 0) 72%);
}

/* variante : halos inversés gauche/droite */
.deco--alt::before {
  right: auto;
  left: clamp(-230px, -17vw, -150px);
}

.deco--alt::after {
  left: auto;
  right: clamp(-210px, -16vw, -130px);
}

.display {
  font-family: "Montreal", sans-serif;
  font-weight: 600;
  color: var(--forest);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.07;
  text-wrap: balance;
}

.invert {
  color: var(--cream);
}

.nowrap {
  white-space: nowrap;
}

.lead-p {
  color: var(--forest-3);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  font-weight: 500;
}

.section-lead {
  max-width: 720px;
  margin-top: 24px;
}

/* ---------- Signature : chapitre numéroté ---------- */

.chapter {
  display: flex;
  align-items: center;
  gap: 18px;
}

.chapter-num {
  font-family: "Montreal", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--gold);
}

.chapter-kicker {
  position: relative;
  padding-left: 48px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--forest-2);
}

.chapter-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.chapter--invert .chapter-kicker {
  color: var(--leaf);
}

/* ---------- En-tête / navigation ---------- */

.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  padding: 22px clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 32, 21, .5) 0%, rgba(8, 32, 21, .14) 60%, transparent 100%);
}

.logo {
  pointer-events: auto;
  display: block;
  width: clamp(112px, 10vw, 148px);
}

.logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(8, 32, 21, .5));
}

.nav-toggle {
  display: none;
}

.main-nav {
  --nav-gap: clamp(14px, 1.6vw, 28px);
  pointer-events: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--nav-gap);
  list-style: none;
}

.nav-list > li {
  position: relative;
}

/* filet vertical séparateur entre les rubriques (masthead éditorial) */
.nav-list > li + li::before {
  content: "";
  position: absolute;
  left: calc(var(--nav-gap) / -2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg,
    rgba(210, 180, 110, 0),
    rgba(210, 180, 110, .7) 20%,
    rgba(210, 180, 110, .7) 80%,
    rgba(210, 180, 110, 0));
}

.nav-list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 2px;
  color: var(--cream);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  white-space: nowrap;
  text-shadow: 0 1px 14px rgba(8, 32, 21, .55);
  transition: color .25s ease;
}

.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.nav-list > li:hover > a,
.nav-list > li:focus-within > a {
  color: var(--gold);
}

.nav-list > li:hover > a::after,
.nav-list > li:focus-within > a::after,
.nav-list > li > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list > li > a[aria-current="page"] {
  color: var(--gold);
}

/* chevron des rubriques à sous-menu */
.caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s ease;
}

.has-sub:hover > a .caret,
.has-sub:focus-within > a .caret {
  transform: translateY(1px) rotate(225deg);
}

/* sous-menu déroulant */
.subnav {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  left: auto;
  transform: translateY(8px);
  min-width: 250px;
  list-style: none;
  padding: 10px;
  border-radius: 12px;
  background: rgba(11, 28, 18, .94);
  border: 1px solid rgba(210, 180, 110, .26);
  box-shadow: 0 28px 70px rgba(8, 32, 21, .5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 50;
}

.subnav::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.has-sub:hover > .subnav,
.has-sub:focus-within > .subnav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.subnav a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  color: rgba(255, 248, 234, .85);
  text-decoration: none;
  font-family: "Montreal", sans-serif;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.3;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.subnav a:hover,
.subnav a:focus-visible {
  background: rgba(210, 180, 110, .16);
  color: var(--cream);
}


@media (max-width: 1120px) {
  .nav-toggle {
    pointer-events: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 13px;
    border: 1px solid rgba(210, 180, 110, .4);
    border-radius: 10px;
    background: rgba(13, 33, 21, .5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--cream);
    transition: transform .3s ease, opacity .3s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: clamp(14px, 4vw, 64px);
    right: clamp(14px, 4vw, 64px);
    max-height: 74vh;
    overflow-y: auto;
    padding: 12px;
    border-radius: 14px;
    background: rgba(11, 28, 18, .97);
    border: 1px solid rgba(210, 180, 110, .26);
    box-shadow: 0 30px 70px rgba(8, 32, 21, .55);
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li {
    border-top: 1px solid rgba(210, 180, 110, .14);
  }

  .nav-list > li:first-child {
    border-top: 0;
  }

  .nav-list > li + li::before {
    display: none;
  }

  .nav-list > li > a {
    display: flex;
    justify-content: space-between;
    padding: 13px 8px;
    font-size: .78rem;
    text-shadow: none;
  }

  .nav-list > li > a::after {
    display: none;
  }

  .caret {
    display: none;
  }

  .subnav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: 0;
    padding: 0 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .subnav::before {
    display: none;
  }

  .subnav a {
    padding: 8px 8px 8px 22px;
    font-size: .8rem;
    white-space: normal;
    color: rgba(255, 248, 234, .72);
  }

  .subnav a::before {
    content: "›";
    margin-right: 8px;
    color: var(--gold);
  }
}

/* ---------- Héro ---------- */

.hero {
  position: relative;
  min-height: 100vh;        /* repli navigateurs anciens */
  min-height: 100svh;       /* viewport réellement visible (mobile) */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(248px, 28vh, 320px) clamp(24px, 6vw, 90px) clamp(76px, 11vh, 132px);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("https://upload.wikimedia.org/wikipedia/commons/a/a5/Charleville-FR-08-Lyc%C3%A9e_Chanzy-a3.jpg")
    center/cover no-repeat;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 32, 21, .94) 0%, rgba(8, 32, 21, .7) 44%, rgba(8, 32, 21, .26) 100%),
    linear-gradient(0deg, rgba(8, 32, 21, .8), transparent 58%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16vh;
  background: linear-gradient(0deg, var(--cream), rgba(255, 248, 234, 0));
  z-index: -1;
}

.hero-inner {
  width: min(760px, 100%);
  border-left: 2px solid var(--gold);
  padding-left: clamp(20px, 2.4vw, 40px);
}

.eyebrow {
  color: var(--leaf);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .76rem;
  font-weight: 600;
}

.hero h1 {
  margin-top: 22px;
  color: var(--cream);
  font-size: clamp(3.2rem, 6.4vw, 5.9rem);
  line-height: 1.02;
}

.hero h1 .hero-line2 {
  white-space: nowrap;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--leaf);
}

.hero-lead {
  margin-top: 26px;
  max-width: 620px;
  color: rgba(255, 248, 234, .85);
  font-size: clamp(1.12rem, 1.45vw, 1.4rem);
  font-weight: 400;
  line-height: 1.7;
}

.hero-place {
  margin-top: 12px;
  color: var(--leaf);
  font-family: "Montreal", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: .01em;
}

.hero-foot {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-since {
  color: #fff;
  font-family: "Montreal", sans-serif;
  font-style: italic;
  font-size: 1.32rem;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: var(--radius);
  background: var(--leaf);
  color: var(--forest-3);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease,
    color .25s ease, border-color .25s ease;
}

.btn::after {
  content: "→";
  font-size: 1.05em;
  transition: transform .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--gold);
  box-shadow: 0 16px 40px rgba(8, 32, 21, .28);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn-light {
  background: var(--cream);
  color: var(--forest-3);
}

.btn-light:hover {
  background: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 248, 234, .42);
  color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(255, 248, 234, .1);
  border-color: var(--leaf);
  color: var(--cream);
}

/* Boutons du héro : pas d'animation au survol, seulement un léger changement de couleur */
.hero .btn,
.hero .btn::after {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.hero .btn:hover {
  transform: none;
  box-shadow: none;
}

.hero .btn:hover::after {
  transform: none;
}

/* ---------- Chiffres clés (bandeau ledger) ---------- */

.stats {
  background: var(--forest-3);
  color: var(--cream);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: clamp(40px, 5vw, 66px) clamp(22px, 3vw, 44px);
  border-left: 1px solid var(--line-light);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-num {
  display: block;
  font-family: "Montreal", sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1;
  color: #fff;
}

.stat-label {
  display: block;
  margin-top: 14px;
  max-width: 230px;
  color: rgba(255, 248, 234, .68);
  font-size: .92rem;
  line-height: 1.55;
}

/* ---------- 01 · Cadre de vie (split éditorial) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}

.split-text {
  max-width: 560px;
}

.split-text .display {
  margin: 24px 0 24px;
}

.split-text p + p {
  margin-top: 16px;
}

.split-media {
  position: relative;
}

.frame {
  overflow: hidden;
  border-radius: var(--radius);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
}

.frame:hover img {
  transform: scale(1.04);
}

.frame-lg {
  aspect-ratio: 4 / 5;
}

.frame-sm {
  position: absolute;
  right: -24px;
  bottom: -32px;
  width: 46%;
  aspect-ratio: 1 / 1;
  border: 8px solid var(--cream);
  box-shadow: 0 26px 60px rgba(8, 32, 21, .2);
}

/* ---------- 02 · Excellence (rangées alternées) ---------- */

.features {
  margin-top: clamp(34px, 4vw, 54px);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
  padding: clamp(38px, 5vw, 72px) 0;
  border-top: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-rev .feature-media {
  order: 2;
}

.feature-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s ease;
}

.feature:hover .feature-media img {
  transform: scale(1.04);
}

.feature-body .display {
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
}

.feature-body p {
  margin-top: 16px;
  max-width: 560px;
}

/* ---------- 03 · Vie lycéenne ---------- */

.life-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: stretch;
  margin-top: clamp(34px, 4vw, 54px);
}

.life-feature {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
}

.life-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.life-feature:hover img {
  transform: scale(1.04);
}

.life-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(8, 32, 21, .92), rgba(8, 32, 21, .05) 62%);
}

.life-feature figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: clamp(28px, 4vw, 48px);
}

.life-feature h3 {
  color: var(--cream);
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  text-wrap: balance;
}

.life-feature p {
  margin-top: 14px;
  max-width: 520px;
  color: rgba(255, 248, 234, .84);
}

.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: center;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line);
}

.news-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.news-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.news-item:hover .news-thumb img {
  transform: scale(1.06);
}

.news-item p {
  font-size: .92rem;
  line-height: 1.6;
}

/* ---------- 04 · Territoire (galerie) ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
  margin-top: clamp(36px, 4vw, 56px);
}

.gallery-item figure {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .85s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item h3 {
  color: var(--forest);
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  line-height: 1.16;
  margin-bottom: 14px;
  text-wrap: balance;
}

.gallery-item p {
  font-size: .95rem;
}

/* ---------- 05 · Actualités ---------- */

.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 42px);
  margin-top: clamp(36px, 4vw, 56px);
}

.post figure {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.post:hover img {
  transform: scale(1.04);
}

.post h3 {
  color: var(--forest);
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  line-height: 1.18;
  margin-bottom: 14px;
  text-wrap: balance;
}

.post p {
  font-size: .95rem;
}

/* ---------- 06 · Pourquoi nous (liste numérotée, fond forêt) ---------- */

.why {
  background: linear-gradient(160deg, #06180f 0%, #0d2a1a 55%, #173a26 100%);
  color: var(--cream);
}

.why-head {
  max-width: 760px;
  margin: 24px 0 clamp(34px, 5vw, 60px);
}

.reasons {
  list-style: none;
}

.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 3.2vw, 46px) 0;
  border-top: 1px solid var(--line-light);
}

.reason:last-child {
  border-bottom: 1px solid var(--line-light);
}

.reason-num {
  font-family: "Montreal", sans-serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--leaf);
}

.reason h3 {
  color: var(--cream);
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  margin-bottom: 12px;
  text-wrap: balance;
}

.reason p {
  max-width: 760px;
  color: rgba(255, 248, 234, .74);
}

.reason-list {
  list-style: none;
  max-width: 760px;
}

.reason-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 248, 234, .74);
  font-size: clamp(.98rem, 1.03vw, 1.08rem);
  line-height: 1.7;
}

.reason-list li + li {
  margin-top: 8px;
}

.reason-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--leaf);
}

/* ---------- Parcoursup / CTA (bande forêt scindée) ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--forest-3);
  color: var(--cream);
  padding: clamp(70px, 9vw, 130px) 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(8, 32, 21, .95), rgba(24, 55, 36, .82)),
    url("https://upload.wikimedia.org/wikipedia/commons/a/a5/Charleville-FR-08-Lyc%C3%A9e_Chanzy-a3.jpg")
    center/cover no-repeat;
  opacity: .5;
  z-index: 0;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-col {
  padding: clamp(8px, 2vw, 24px) clamp(28px, 4vw, 60px);
}

.cta-col:first-child {
  padding-left: 0;
}

.cta-col:last-child {
  padding-right: 0;
  border-left: 1px solid var(--line-light);
}

.cta-col .eyebrow {
  margin-bottom: 18px;
}

.cta-col h2 {
  color: var(--cream);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.06;
  text-wrap: balance;
}

.cta-col p {
  margin-top: 16px;
  max-width: 460px;
  color: rgba(255, 248, 234, .8);
}

.cta-col .btn {
  margin-top: 30px;
}

/* ---------- Pied de page ---------- */

.footer {
  background: var(--forest-3);
  color: var(--cream);
  padding: clamp(58px, 7vw, 92px) 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .8fr) minmax(220px, .8fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand h2 {
  color: var(--cream);
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.footer-brand p {
  max-width: 460px;
  margin-top: 16px;
  color: rgba(255, 248, 234, .66);
}

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--leaf);
  font-family: "Montreal", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-col a,
.footer-col span {
  display: block;
  color: rgba(255, 248, 234, .66);
  text-decoration: none;
  font-size: .94rem;
  line-height: 1.9;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 28px 0 4px;
}

.footer-partners-label {
  color: rgba(255, 248, 234, .5);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.footer-partner {
  padding: 8px 16px;
  border: 1px solid rgba(255, 248, 234, .2);
  border-radius: 6px;
  color: rgba(255, 248, 234, .78);
  font-size: .85rem;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 248, 234, .45);
  font-size: .84rem;
}

.footer-bottom a {
  color: rgba(255, 248, 234, .7);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--cream);
}

/* =========================================================
   Pages intérieures (sous-pages)
   ========================================================= */

.subhead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(11, 28, 18, .96);
  border-bottom: 1px solid rgba(210, 180, 110, .26);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.subhead .logo {
  width: clamp(94px, 9vw, 124px);
}

.subhead .logo img {
  filter: none;
}

.subnav-bar {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 24px);
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-bar::-webkit-scrollbar {
  display: none;
}

.subnav-bar a {
  color: rgba(255, 248, 234, .85);
  text-decoration: none;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: color .2s ease;
}

.subnav-bar a:hover,
.subnav-bar a[aria-current="page"] {
  color: var(--gold);
}

.page-hero {
  position: relative;
  padding: clamp(116px, 14vw, 168px) clamp(20px, 6vw, 90px) clamp(48px, 6vw, 84px);
  background: linear-gradient(160deg, #06180f 0%, #0d2a1a 55%, #173a26 100%);
  color: var(--cream);
  overflow: hidden;
}

.page-hero .eyebrow {
  color: var(--leaf);
}

.page-hero h1 {
  margin-top: 14px;
  color: var(--cream);
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  max-width: 18ch;
}

.page-hero p {
  margin-top: 18px;
  max-width: 660px;
  color: rgba(255, 248, 234, .82);
}

.prose {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) 0;
}

.prose-wide {
  width: min(940px, calc(100% - 40px));
}

.prose > .lead {
  color: var(--forest-3);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 24px;
}

.prose h2 {
  color: var(--forest);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  margin: clamp(30px, 4vw, 52px) 0 14px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  color: var(--forest-2);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  margin: 28px 0 10px;
}

.prose p {
  margin-bottom: 14px;
}

.prose ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
}

.stat-inline {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  margin: 26px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-inline div {
  flex: 1 1 140px;
}

.stat-inline b {
  display: block;
  font-family: "Montreal", sans-serif;
  font-weight: 600;
  color: var(--forest);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.stat-inline span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
}

.faq {
  margin-top: 8px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: "Montreal", sans-serif;
  font-weight: 600;
  color: var(--forest);
  font-size: 1.04rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details > *:not(summary) {
  margin-top: 12px;
}

.back-cta {
  margin-top: 36px;
  background: var(--forest);
  color: var(--cream);
}

.back-cta:hover {
  background: var(--gold);
  color: var(--forest-3);
}

.subfoot {
  background: var(--forest-3);
  color: rgba(255, 248, 234, .7);
  text-align: center;
  padding: 34px 20px;
  font-size: .9rem;
  line-height: 1.7;
}

.subfoot a {
  color: var(--leaf);
  text-decoration: none;
}

.subfoot a:hover {
  color: var(--cream);
}

/* ---------- Touches Malkist (accents serif sur les titres) ---------- */
h1 em,
h2 em,
h3 em,
.display em,
.hero h1 em,
.stat-num,
.reason-num,
.chapter-num,
.page-hero h1 em {
  font-family: "Malkist", serif;
}

/* ---------- Page « Cadre de vie » ---------- */
.cadre-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: clamp(150px, 18vw, 220px) 0 clamp(54px, 7vw, 96px);
  color: var(--cream);
}

.cadre-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("https://upload.wikimedia.org/wikipedia/commons/a/a5/Charleville-FR-08-Lyc%C3%A9e_Chanzy-a3.jpg") center/cover no-repeat;
  transform: scale(1.06);
  animation: cadreKenBurns 22s ease-in-out infinite alternate;
}

@keyframes cadreKenBurns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.18) translate(-2%, -2%); }
}

.cadre-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(112deg, rgba(6, 24, 15, .92) 0%, rgba(6, 24, 15, .55) 46%, rgba(6, 24, 15, .22) 100%),
    linear-gradient(to top, rgba(6, 24, 15, .9) 0%, rgba(6, 24, 15, 0) 52%);
}

.cadre-hero-inner {
  width: min(var(--maxw), calc(100% - 72px));
  margin: 0 auto;
}

.cadre-hero-text {
  border-left: 3px solid var(--gold);
  padding-left: clamp(20px, 2.4vw, 40px);
  max-width: 780px;
}

.cadre-hero .eyebrow {
  color: var(--gold);
  margin-bottom: clamp(14px, 2vw, 22px);
}

.cadre-hero h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(2.7rem, 7vw, 6rem);
  line-height: 1.03;
  letter-spacing: .02em;
  text-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}

.cadre-hero-lead {
  margin-top: clamp(20px, 2.4vw, 30px);
  max-width: 640px;
  color: rgba(255, 248, 234, .9);
  font-size: clamp(1.08rem, 1.35vw, 1.34rem);
  line-height: 1.75;
}

.cadre-hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 46px);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--cream);
  transition: color .25s ease;
}

.cadre-hero-scroll::after {
  content: "\2193";
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 248, 234, .55);
  border-radius: 50%;
  font-size: 1rem;
  letter-spacing: 0;
  animation: cadreScrollBounce 1.8s ease-in-out infinite;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}

.cadre-hero-scroll:hover {
  color: var(--gold);
}

.cadre-hero-scroll:hover::after {
  border-color: var(--gold);
  color: var(--forest-3);
  background: var(--gold);
}

@keyframes cadreScrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

.lieux-show {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(210px, auto);
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(32px, 4vw, 52px);
}

.lieux-show .feat { grid-column: span 2; grid-row: span 2; }
.lieux-show .wide { grid-column: span 2; }
.lieux-show .span-all { grid-column: 1 / -1; }

.lieu-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 2vw, 32px);
  color: var(--cream);
  text-decoration: none;
}

.lieu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img, linear-gradient(160deg, #1d3b29, #10442d)) center/cover no-repeat;
  transition: transform 1s ease;
}

.lieu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(6, 24, 15, .94) 0%, rgba(6, 24, 15, .5) 46%, rgba(6, 24, 15, .12) 100%);
}

a.lieu-card:hover::before {
  transform: scale(1.06);
}

.lc-num {
  font-family: "Malkist", serif;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: auto;
}

.lieu-card h3 {
  color: var(--cream);
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
  margin: 0 0 8px;
  text-wrap: balance;
}

.lieux-show .feat h3 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.lieu-card p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 248, 234, .82);
  font-size: .92rem;
  line-height: 1.6;
}

.lieu-card .go {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--leaf);
}

a.lieu-card .go::after {
  content: "→";
  transition: transform .3s ease;
}

a.lieu-card:hover .go {
  color: var(--gold);
}

a.lieu-card:hover .go::after {
  transform: translateX(5px);
}

.lieu-card .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 248, 234, .14);
  border: 1px solid rgba(255, 248, 234, .3);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}

@media (max-width: 900px) {
  .lieux-show { grid-template-columns: repeat(2, 1fr); }
  .lieux-show .feat { grid-column: span 2; grid-row: span 1; min-height: 280px; }
  .lieux-show .wide { grid-column: span 2; }
  .lieux-show .span-all { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .lieux-show { grid-template-columns: 1fr; }
  .lieux-show .feat,
  .lieux-show .wide,
  .lieux-show .span-all { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Cadre de vie : sections détaillées (éditorial) ---------- */
.zones {
  width: min(820px, 100%);
  margin: clamp(10px, 2vw, 24px) auto 0;
}

.zone {
  scroll-margin-top: 100px;
  padding-top: clamp(36px, 5vw, 64px);
}

.zone:first-child {
  padding-top: clamp(16px, 2.6vw, 30px);
}

.zone + .zone {
  border-top: 1px solid var(--line);
}

.zone-head {
  margin-bottom: clamp(16px, 2.2vw, 26px);
}

.zone-head h2 {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  color: var(--forest);
  font-size: clamp(1.4rem, 2.6vw, 2.25rem);
  line-height: 1.16;
}

.zone-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
}

.zone-body > .lead {
  color: var(--forest-3);
  font-size: clamp(1.06rem, 1.4vw, 1.28rem);
  line-height: 1.65;
  font-weight: 500;
  margin-bottom: 22px;
}

.zone-body h3 {
  color: var(--forest-2);
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  margin: 30px 0 8px;
}

.zone-body p {
  margin-bottom: 14px;
}

/* FAQ en cartes-accordéon */
.faq--cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.faq--cards details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--cream);
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.faq--cards details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq--cards details[open] {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 16px 34px -28px rgba(16, 33, 22, .7);
}

.faq--cards summary {
  padding: 16px clamp(16px, 2vw, 22px);
}

.faq--cards summary:hover {
  color: var(--forest-2);
}

.faq--cards details > *:not(summary) {
  margin-top: 0;
  padding: 0 clamp(16px, 2vw, 22px) 18px;
}

/* Ancrage : les vignettes ciblées par le menu (Permanence, Infirmerie…) */
.lieu-card[id] {
  scroll-margin-top: 110px;
}

/* ---------- Apparition au scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .split,
  .feature,
  .feature-rev,
  .life-grid,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .feature-rev .feature-media {
    order: 0;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .gallery,
  .posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .frame-sm {
    right: 16px;
    bottom: -28px;
    width: 40%;
  }

  .cta-col:last-child {
    border-left: 0;
    border-top: 1px solid var(--line-light);
    padding-top: 40px;
    margin-top: 8px;
  }

  .cta-col:first-child {
    padding-bottom: 8px;
  }
}

@media (max-width: 680px) {
  .layout {
    width: min(100% - 36px, var(--maxw));
  }

  .header {
    padding: 16px;
  }

  .logo {
    width: clamp(120px, 34vw, 160px);
  }

  .hero {
    min-height: 92vh;
    min-height: 92svh;
    /* padding-top moins extrême : 248px tassait le contenu vers le bas,
       au plus près de la bande des chiffres */
    padding-top: clamp(132px, 24vh, 190px);
    padding-bottom: clamp(64px, 10vh, 96px);
  }

  /* éviter les coupures de titres sur petits écrans :
     on autorise le retour à la ligne et on évite qu'un mot
     insécable n'élargisse une colonne de grille */
  .hero h1 {
    font-size: clamp(2.6rem, 10.5vw, 5.9rem);
  }

  .hero h1 .hero-line2,
  .nowrap {
    white-space: normal;
  }

  .split-text,
  .split-media,
  .feature > *,
  .life-grid > * {
    min-width: 0;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:first-child {
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--line-light);
  }

  .stat:first-child {
    border-top: 0;
    /* on garde un padding-top : à 0, le « 91 % » (police Malkist,
       line-height 1) était collé au bord haut de .stats (overflow:hidden)
       et le sommet des chiffres se faisait rogner */
    padding-top: 30px;
  }

  .stat-label {
    max-width: none;
  }

  .gallery,
  .posts {
    grid-template-columns: 1fr;
  }

  .life-feature {
    min-height: 440px;
  }

  .frame-sm {
    position: static;
    width: 60%;
    margin: -28px 0 0 auto;
    border-width: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* =========================================================
   Mot du proviseur (accueil) — encart éditorial
   ========================================================= */
.proviseur {
  position: relative;
  padding: clamp(40px, 6vw, 88px) 0;
}

.proviseur-inner {
  width: min(1060px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
  background: var(--forest);
  color: var(--cream);
  border-radius: 6px;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px);
}

.proviseur-aside {
  position: relative;
}

.proviseur-aside .chapter {
  margin-bottom: 30px;
}

.proviseur-aside .chapter-kicker {
  padding-left: 0;
}

.proviseur-aside .chapter-kicker::before {
  display: none;
}

.proviseur-quote {
  position: relative;
  margin: 0 0 26px;
  font-family: "Malkist", serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.16;
  color: var(--cream);
  text-wrap: balance;
}

.proviseur-quote::before {
  content: "\201C";
  display: block;
  font-family: "Malkist", serif;
  font-size: clamp(3.4rem, 6vw, 5rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: -18px;
}

.proviseur-body {
  padding-left: clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--line-light);
}

.proviseur-body p {
  color: rgba(255, 248, 234, .82);
  line-height: 1.78;
  font-size: 1.02rem;
}

.proviseur-body p + p {
  margin-top: 18px;
}

.proviseur-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 3vw, 38px);
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .02em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  transition: gap .25s ease, color .25s ease;
}

.proviseur-link span {
  color: var(--gold);
  transition: transform .25s ease;
}

.proviseur-link:hover {
  color: var(--gold);
}

.proviseur-link:hover span {
  transform: translateX(5px);
}

@media (max-width: 860px) {
  .proviseur-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .proviseur-body {
    border-left: 0;
    padding-left: 0;
  }
}

/* =========================================================
   Page Formations — parcours par année, mise en page aérée
   ========================================================= */

/* --- barre de parcours (wayfinding sticky) --- */
.parcours {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 32, 18, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
}

.parcours-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 38px);
  padding: 15px 0;
}

.parcours-label {
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .68rem;
  font-weight: 600;
  color: var(--gold);
}

.parcours a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 248, 234, .82);
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  padding: 4px 0;
  white-space: nowrap;
  transition: color .25s ease;
}

.parcours a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.parcours a:hover {
  color: var(--gold);
}

.parcours a:hover::after {
  transform: scaleX(1);
}

/* --- intro --- */
.formations-intro {
  padding: clamp(48px, 7vw, 96px) 0 clamp(8px, 2vw, 24px);
}

.formations-intro-lead {
  max-width: 62ch;
  font-family: "Montreal", sans-serif;
  font-weight: 400;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.55;
  color: var(--forest-3);
  text-wrap: balance;
}

/* --- bandes année --- */
.year {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 128px) 0;
}

.year--cream {
  background: var(--cream);
}

.year--paper {
  background: var(--paper);
}

.year--dark {
  background: var(--forest);
  color: var(--cream);
}

.year-inner {
  position: relative;
  z-index: 1;
}

/* folio géant en filigrane */
.year-watermark {
  position: absolute;
  z-index: 0;
  top: clamp(24px, 4vw, 72px);
  right: clamp(-10px, 1vw, 40px);
  font-family: "Malkist", serif;
  font-weight: 400;
  line-height: .85;
  font-size: clamp(9rem, 22vw, 20rem);
  color: var(--forest);
  opacity: .055;
  pointer-events: none;
  user-select: none;
}

.year-watermark sup {
  font-size: .34em;
  vertical-align: super;
}

.year--right .year-watermark {
  right: auto;
  left: clamp(-20px, 1vw, 40px);
}

.year--dark .year-watermark {
  color: var(--gold);
  opacity: .09;
}

.year--center .year-watermark {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  top: clamp(-20px, 0vw, 30px);
}

/* en-tête année */
.year-head {
  max-width: 760px;
  margin-bottom: clamp(34px, 4vw, 56px);
}

.year--center .year-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.year-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
}

.year-title {
  margin-top: 14px;
  font-family: "Montreal", sans-serif;
  font-weight: 600;
  color: var(--forest);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: .02em;
}

.year--dark .year-title {
  color: var(--cream);
}

.year-lead {
  margin-top: 18px;
  max-width: 54ch;
  font-family: "Montreal", sans-serif;
  font-weight: 400;
  font-size: clamp(1.12rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: var(--forest-3);
  text-wrap: balance;
}

.year--dark .year-lead {
  color: var(--leaf);
}

.year-lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* colonnes de contenu */
.year-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

/* sous-titre : tiret doré, pas de filet pleine largeur */
.mini-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-family: "Malkist", serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  color: var(--forest-2);
  letter-spacing: .01em;
}

.mini-head--spaced {
  margin-top: clamp(28px, 3vw, 40px);
}

.mini-head--center {
  justify-content: center;
  margin-top: clamp(30px, 4vw, 48px);
  margin-bottom: 22px;
}

.year--dark .mini-head {
  color: var(--leaf);
}

/* horaires : peu de filets, beaucoup d'air */
.hours {
  margin: 6px 0 0;
}

.hours > div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
}

.hours > div + div {
  border-top: 1px solid rgba(24, 55, 36, .09);
}

.hours dt {
  flex: 1 1 auto;
  font-weight: 500;
  color: var(--forest);
}

.hours dd {
  flex: none;
  font-family: "Malkist", serif;
  font-size: 1.1rem;
  color: var(--gold);
  white-space: nowrap;
}

.note {
  margin-top: 14px;
  font-size: .85rem;
  font-style: italic;
  color: var(--muted);
}

/* listes de disciplines : losange doré, sans bordures */
.flow {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.flow--2 {
  columns: 2;
  column-gap: clamp(28px, 4vw, 56px);
}

.flow--3 {
  columns: 3;
  column-gap: clamp(28px, 4vw, 56px);
}

.flow li {
  position: relative;
  break-inside: avoid;
  padding: 9px 0 9px 24px;
  color: var(--forest-2);
  font-weight: 500;
  line-height: 1.45;
}

.flow li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .85em;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1.5px solid var(--gold);
}

.flow li em {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: .82rem;
  color: var(--muted);
  margin-top: 2px;
}

.flow--card li {
  padding: 12px 14px 12px 32px;
  border-radius: 4px;
  transition: background .2s ease;
}

.flow--card li::before {
  left: 14px;
  top: 1.25em;
}

.flow--card li:hover {
  background: rgba(24, 55, 36, .05);
}

.year--dark .flow li {
  color: var(--cream);
}

.year--dark .flow li em {
  color: var(--leaf);
}

/* chiffres mis en avant (terminale) */
.year-figures {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 60px);
  margin: 4px 0 clamp(28px, 4vw, 44px);
}

.year-figures > div {
  text-align: left;
}

.year-figures b {
  display: block;
  font-family: "Malkist", serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--gold);
}

.year-figures span {
  display: block;
  margin-top: 10px;
  font-size: .9rem;
  color: rgba(255, 248, 234, .78);
}

.year-figures-sep {
  width: 1px;
  align-self: stretch;
  min-height: 60px;
  background: var(--line-light);
}

/* titres de sections standard sur la page */
.formations-h2 {
  margin-top: 14px;
  color: var(--forest);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

.formations-sub {
  max-width: 60ch;
  margin: 14px 0 8px;
}

/* ressources à venir */
.soon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 5vw, 64px);
}

.soon-grid article {
  padding: clamp(20px, 2.5vw, 30px) 0 clamp(20px, 2.5vw, 30px) clamp(22px, 2.5vw, 32px);
  border-left: 2px solid var(--gold);
}

.soon-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .66rem;
  font-weight: 600;
  color: var(--gold);
}

.soon-tag::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--gold);
}

.formations-foot {
  text-align: center;
  padding: clamp(48px, 6vw, 88px) 0;
}

.formations-foot .back-cta {
  margin-top: 0;
}

@media (max-width: 860px) {
  .parcours-label {
    display: none;
  }

  .parcours-inner {
    justify-content: flex-start;
    overflow-x: auto;
  }
}

@media (max-width: 820px) {
  .year {
    padding: clamp(48px, 9vw, 72px) 0;
  }

  .year-cols {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .flow--2,
  .flow--3 {
    columns: 1;
  }

  .year-watermark {
    font-size: clamp(8rem, 40vw, 14rem);
  }

  .soon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  /* les chiffres passent en colonne : le filet vertical n'a plus de sens.
     sélecteur volontairement spécifique pour passer devant
     « .year-figures span { display: block } » */
  .year-figures .year-figures-sep {
    display: none;
  }
}
