/* =========================================================
   KMS — Three Roles. One Vision.
   Direction artistique : éditorial chocolat & ivoire,
   construite autour du fond marron des photographies.
   Les couleurs de l'école (bleu, blanc, rouge) vivent
   uniquement dans le logo.
   ========================================================= */

:root {
  /* Bruns — prolongent le fond studio des photos */
  --espresso: #160F0A;
  --chocolate: #24170F;
  --cocoa: #3A281C;
  --walnut: #5A3D2A;
  --caramel: #8F5F3C;      /* ton exact du fond photo */
  --taupe: #8C7869;
  --sand: #C9B6A2;
  --beige: #E6DACB;
  --ivory: #F4ECE2;
  --paper: #F8F3EC;

  /* Couleurs de l'école — réservées au logo */
  --school-blue: #0A1D4B;
  --school-red: #9E0E18;

  --ink: var(--chocolate);
  --hair-dark: rgba(244, 236, 226, .14);
  --hair-light: rgba(36, 23, 15, .12);

  /* Typographie */
  --f-serif: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  /* Formes */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;
  --r-pill: 999px;

  /* Rythme */
  --gutter: clamp(20px, 5.5vw, 72px);
  --max: 1280px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--chocolate);
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ivory);
  background: var(--chocolate);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 1.5px solid var(--sand); outline-offset: 4px; border-radius: 8px; }
::selection { background: var(--sand); color: var(--chocolate); }

/* =========================================================
   Typographie éditoriale
   ========================================================= */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--sand);
}
.on-light .label, .label.dark { color: var(--taupe); }
.label .idx { font-family: var(--f-serif); font-style: italic; font-size: 17px; letter-spacing: 0; text-transform: none; font-weight: 500; }
.label .rule { width: 36px; height: 1px; background: currentColor; opacity: .6; }

.display, .h1, .h2, .h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: -.02em;
}
.display { font-size: clamp(58px, 15vw, 176px); line-height: .88; }
.h1 { font-size: clamp(48px, 9.5vw, 112px); line-height: .92; }
.h2 { font-size: clamp(40px, 6.8vw, 84px); line-height: .96; }
.h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: -.01em; }
em, .it { font-style: italic; font-weight: 400; }
.display em, .h1 em, .h2 em { color: var(--sand); }
.on-light .display em, .on-light .h1 em, .on-light .h2 em { color: var(--walnut); }

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  max-width: 54ch;
  color: rgba(244, 236, 226, .78);
  margin: 0;
}
.on-light .lead { color: rgba(36, 23, 15, .72); }
.muted { opacity: .62; }

/* =========================================================
   Mise en page
   ========================================================= */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(88px, 13vw, 180px) 0; }
.section.tight { padding: clamp(64px, 9vw, 120px) 0; }

.on-light { color: var(--ink); }
.bg-paper { background: var(--paper); }
.bg-beige { background: var(--beige); }
.bg-chocolate { background: var(--chocolate); }
.bg-cocoa { background: var(--cocoa); }
.bg-espresso { background: var(--espresso); }

.head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.head-row { display: grid; gap: 22px; align-items: end; }
@media (min-width: 960px) { .head-row { grid-template-columns: 1.3fr 1fr; gap: 64px; } .head-row .lead { justify-self: end; } }

.hair { height: 1px; border: 0; margin: 0; background: var(--hair-dark); }
.on-light .hair { background: var(--hair-light); }

.split { display: grid; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; } }

/* =========================================================
   Logo — la seule touche bleu · blanc · rouge
   ========================================================= */
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo-word {
  font-family: var(--f-serif); font-weight: 600;
  font-size: 30px; line-height: 1; letter-spacing: .08em;
  color: var(--ivory);
}
.tricolor { display: inline-grid; grid-auto-flow: column; gap: 3px; }
.tricolor i { display: block; width: 4px; height: 22px; border-radius: 2px; }
.tricolor i:nth-child(1) { background: var(--school-blue); box-shadow: 0 0 0 .5px rgba(244, 236, 226, .35); }
.tricolor i:nth-child(2) { background: var(--ivory); }
.tricolor i:nth-child(3) { background: var(--school-red); }
.logo-sub {
  font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--sand); line-height: 1.4;
}

/* =========================================================
   Boutons & liens
   ========================================================= */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 30px;
  border-radius: var(--r-pill);
  font-family: var(--f-sans); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn:active { transform: scale(.97); }

/* principal : ivoire sur fond sombre, chocolat sur fond clair */
.btn-solid { background: var(--ivory); color: var(--chocolate); }
.btn-solid:hover { background: #fff; }
.on-light .btn-solid { background: var(--chocolate); color: var(--ivory); }
.on-light .btn-solid:hover { background: var(--cocoa); }

.btn-line { border: 1px solid rgba(244, 236, 226, .3); color: var(--ivory); }
.btn-line:hover { border-color: var(--ivory); }
.on-light .btn-line { border-color: rgba(36, 23, 15, .25); color: var(--chocolate); }
.on-light .btn-line:hover { border-color: var(--chocolate); }

.btn-sm { --h: 44px; padding: 0 22px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 4px;
  transition: background-size .5s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link:hover svg { transform: translateX(4px); }

.icon-btn {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 236, 226, .22);
  color: var(--ivory);
  transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease), opacity .35s;
}
.icon-btn:hover { background: var(--ivory); color: var(--chocolate); border-color: var(--ivory); }
.icon-btn:active { transform: scale(.92); }
.icon-btn:disabled { opacity: .25; pointer-events: none; }
.icon-btn svg { width: 20px; height: 20px; }
.on-light .icon-btn { border-color: rgba(36, 23, 15, .2); color: var(--chocolate); }
.on-light .icon-btn:hover { background: var(--chocolate); color: var(--ivory); border-color: var(--chocolate); }

/* Onglets éditoriaux : texte + soulignement */
.tabs {
  display: flex; gap: 28px;
  overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--hair-dark);
}
.tabs::-webkit-scrollbar { display: none; }
.on-light .tabs { border-color: var(--hair-light); }
.tab {
  position: relative; flex: none;
  padding: 0 0 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: currentColor; opacity: .5;
  transition: opacity .3s;
}
.tab:hover { opacity: .85; }
.tab.is-active { opacity: 1; }
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.tab.is-active::after { transform: scaleX(1); }
.tab .n { font-family: var(--f-serif); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; margin-right: 8px; font-weight: 500; }

/* =========================================================
   En-tête & navigation
   ========================================================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .6s var(--ease), border-color .6s;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid {
  background: rgba(22, 15, 10, .78);
  backdrop-filter: blur(20px) saturate(130%); -webkit-backdrop-filter: blur(20px) saturate(130%);
  border-bottom-color: var(--hair-dark);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: none; align-items: center; gap: 34px; }
.nav-links a {
  position: relative;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244, 236, 226, .7);
  padding: 8px 0;
  transition: color .3s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ivory); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.topbar .btn { display: none; }

/* Barre mobile façon application */
.bottom-nav {
  position: fixed; z-index: 60;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  height: 68px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 6px;
  border-radius: 28px;
  background: rgba(22, 15, 10, .82);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(244, 236, 226, .1);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: 22px;
  font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(244, 236, 226, .5);
  transition: color .3s, background-color .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav a[aria-current="page"] { color: var(--chocolate); background: var(--ivory); }
.bottom-nav a:active { transform: scale(.94); }
body.has-bottom-nav { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .topbar .btn { display: inline-flex; }
  .bottom-nav { display: none; }
  body.has-bottom-nav { padding-bottom: 0; }
}

/* =========================================================
   Intro — logo KMS + bandes bleu · blanc · rouge
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--chocolate);
  transition: opacity .9s var(--ease), visibility .9s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro-inner { display: grid; justify-items: center; gap: 22px; }
.intro-word { display: flex; gap: .06em; font-family: var(--f-serif); font-weight: 600; font-size: clamp(84px, 24vw, 200px); line-height: .9; letter-spacing: .04em; color: var(--ivory); }
.intro-word span { opacity: 0; transform: translateY(30%); animation: up 1s var(--ease) forwards; }
.intro-word span:nth-child(2) { animation-delay: .1s; }
.intro-word span:nth-child(3) { animation-delay: .2s; }
.intro .tricolor i { height: 0; width: 5px; animation: bar .8s var(--ease) forwards; }
.intro .tricolor i:nth-child(1) { animation-delay: .45s; }
.intro .tricolor i:nth-child(2) { animation-delay: .55s; }
.intro .tricolor i:nth-child(3) { animation-delay: .65s; }
.intro-tag { font-size: 11px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--sand); opacity: 0; animation: fade .8s .85s var(--ease) forwards; }
@keyframes up { to { opacity: 1; transform: none; } }
@keyframes bar { to { height: 34px; } }
@keyframes fade { to { opacity: 1; } }

/* =========================================================
   Hero — la photo du trio est le décor
   ========================================================= */
.hero { position: relative; background: var(--chocolate); overflow: hidden; }
.hero-media { position: relative; height: max(min(76svh, 680px), min(100vw, 760px)); overflow: hidden; background: var(--caramel); }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 16%;
  transform: scale(1.06);
  animation: settle 9s var(--ease) forwards;
}
@keyframes settle { to { transform: scale(1); } }
/* dégradé brun qui prolonge le fond studio, sans assombrir les visages */
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(36, 23, 15, .45) 0%, rgba(36, 23, 15, 0) 18%),
    linear-gradient(0deg, var(--chocolate) 0%, var(--chocolate) 3%, rgba(36, 23, 15, .75) 16%, rgba(36, 23, 15, 0) 40%);
}
.hero-content { position: relative; z-index: 2; margin-top: -110px; padding-bottom: clamp(56px, 8vw, 96px); }
.hero .display { margin: 20px 0 26px; }
.hero .display .l2 { display: block; }
.hero .lead { margin-bottom: 34px; }

.hero-index { margin-top: 52px; display: grid; border-top: 1px solid var(--hair-dark); }
.hero-index a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--hair-dark);
  transition: padding .5s var(--ease), color .3s;
}
.hero-index a:hover { padding-left: 8px; }
.hero-index .l { font-family: var(--f-serif); font-size: 26px; font-weight: 600; line-height: 1; }
.hero-index .n { font-family: var(--f-serif); font-size: 22px; line-height: 1.1; }
.hero-index .r { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }

@media (min-width: 960px) {
  .hero { min-height: 100svh; display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0 0 0 40%; height: auto; }
  .hero-media img { object-position: center 14%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--chocolate) 0%, rgba(36, 23, 15, .55) 16%, rgba(36, 23, 15, 0) 42%),
      linear-gradient(0deg, rgba(36, 23, 15, .7) 0%, rgba(36, 23, 15, 0) 28%);
  }
  .hero-content { margin-top: 0; width: 100%; padding-top: calc(var(--nav-h) + 40px); }
  .hero-text { max-width: 660px; }
  .hero .display { font-size: clamp(84px, 8.6vw, 132px); }
}

/* Hero des pages intérieures — photo + titre */
.page-hero { position: relative; overflow: hidden; background: var(--chocolate); }
.page-hero-media { position: relative; height: min(56svh, 520px); overflow: hidden; background: var(--caramel); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transform: scale(1.06); animation: settle 9s var(--ease) forwards; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 23, 15, .5) 0%, rgba(36, 23, 15, 0) 24%), linear-gradient(0deg, var(--chocolate) 0%, var(--chocolate) 3%, rgba(36, 23, 15, .6) 24%, rgba(36, 23, 15, 0) 55%); }
.page-hero-content { position: relative; z-index: 2; margin-top: -90px; padding-bottom: clamp(56px, 8vw, 100px); }
.page-hero .h1 { margin: 18px 0 22px; }
@media (min-width: 960px) {
  .page-hero { min-height: 78svh; display: flex; align-items: flex-end; }
  .page-hero-media { position: absolute; inset: 0 0 0 46%; height: auto; }
  .page-hero-media::after { background: linear-gradient(90deg, var(--chocolate) 0%, rgba(36, 23, 15, .4) 22%, rgba(36, 23, 15, 0) 50%), linear-gradient(0deg, rgba(36, 23, 15, .6) 0%, rgba(36, 23, 15, 0) 30%); }
  .page-hero-content { margin-top: 0; width: 100%; padding-top: calc(var(--nav-h) + 80px); }
  .page-hero-content .inner { max-width: 620px; }
}

/* =========================================================
   Déclaration « Leading with purpose »
   ========================================================= */
.statement { padding: clamp(80px, 12vw, 160px) 0; }
.statement-text {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(34px, 6vw, 76px); line-height: 1.08; letter-spacing: -.015em;
  max-width: 18ch; margin: 26px 0 0;
}
.statement-text em { color: var(--walnut); }
.trinity { display: grid; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--hair-light); }
.trinity a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--hair-light);
  transition: padding .5s var(--ease);
}
.trinity a:hover { padding-left: 10px; }
.trinity .w { font-family: var(--f-serif); font-size: clamp(34px, 6vw, 64px); line-height: 1; font-style: italic; }
.trinity .who { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); text-align: right; }
@media (min-width: 960px) {
  .trinity { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 0; }
  .trinity a { grid-template-columns: 1fr; padding: 28px 32px 28px 0; border-bottom: 0; border-top: 1px solid var(--hair-light); }
  .trinity a + a { padding-left: 32px; border-left: 1px solid var(--hair-light); }
  .trinity a:hover { padding-left: 0; }
  .trinity a + a:hover { padding-left: 32px; }
  .trinity .who { text-align: left; }
}

/* =========================================================
   Carrousel — scroll-snap natif
   ========================================================= */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 16px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 32px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track.is-dragging * { pointer-events: none; user-select: none; }
.carousel-track > * { scroll-snap-align: start; flex: none; }
.carousel-track::after { content: ""; flex: 0 0 calc(var(--gutter) - 16px); }

.w-cover > * { width: min(80vw, 410px); }
.w-card > * { width: min(84vw, 390px); }
.w-wide > * { width: min(86vw, 600px); }
.w-mini > * { width: min(64vw, 270px); }

@media (min-width: 1280px) {
  .carousel-track { padding-left: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); }
}

.carousel-ui { display: flex; align-items: center; gap: 22px; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.carousel-progress { flex: 1; height: 1px; background: var(--hair-dark); position: relative; overflow: hidden; }
.on-light .carousel-progress { background: var(--hair-light); }
.carousel-progress i { position: absolute; left: 0; top: -.5px; height: 2px; width: 30%; background: currentColor; transition: transform .15s linear, width .3s; }
.carousel-count { font-family: var(--f-serif); font-style: italic; font-size: 18px; min-width: 60px; }
.carousel-arrows { display: flex; gap: 10px; }

/* =========================================================
   Couvertures des candidats
   ========================================================= */
.cover {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5.3;
  border-radius: var(--r-xl);
  background: var(--caramel);
  isolation: isolate;
}
.cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 12%;
  transition: transform 1.4s var(--ease);
}
.cover:hover img { transform: scale(1.045); }
.cover::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(22, 15, 10, .92) 0%, rgba(36, 23, 15, .5) 30%, rgba(36, 23, 15, 0) 55%);
}
.cover-top {
  position: absolute; z-index: 2; top: 22px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(244, 236, 226, .85);
}
.cover-top .l { font-family: var(--f-serif); font-size: 28px; font-weight: 600; letter-spacing: 0; line-height: 1; }
.cover-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 26px 26px; }
.cover-name { font-family: var(--f-serif); font-weight: 500; font-size: 46px; line-height: .92; letter-spacing: -.02em; margin: 0 0 10px; }
.cover-name em { display: block; font-size: .62em; color: var(--sand); }
.cover-sign { font-family: var(--f-serif); font-style: italic; font-size: 21px; color: rgba(244, 236, 226, .85); }
.cover-foot {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(244, 236, 226, .18);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 236, 226, .75);
}
.cover-foot .go { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--chocolate); transition: transform .6s var(--ease); }
.cover:hover .go { transform: rotate(-45deg); }
.cover-foot svg { width: 16px; height: 16px; }

/* =========================================================
   Innovations — cartes retournables
   ========================================================= */
.flip { perspective: 1600px; height: 480px; }
.flip-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex; flex-direction: column; align-items: stretch; text-align: left;
  overflow: hidden;
}
.flip-front > span, .flip-name > span { display: block; }
.flip-front > .flip-top, .flip-front > .flip-hint { display: flex; }
.flip-front { background: var(--ivory); color: var(--ink); border: 1px solid var(--hair-light); transition: border-color .4s; }
.flip-front:hover { border-color: rgba(36, 23, 15, .3); }
.flip-back { transform: rotateY(180deg); background: var(--chocolate); color: var(--ivory); }
.flip-top { display: flex; justify-content: space-between; align-items: baseline; }
.flip-num { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--taupe); }
.flip-k { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.flip-back .flip-k { color: var(--sand); }
.flip-problem { font-family: var(--f-serif); font-style: italic; font-size: 30px; line-height: 1.12; margin-top: 14px; max-width: 15ch; color: var(--walnut); }
.flip-name { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--hair-light); }
.flip-name .t { font-family: var(--f-serif); font-weight: 500; font-size: 36px; line-height: .98; letter-spacing: -.015em; margin-top: 8px; }
.flip-name .s { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--taupe); margin-top: 4px; }
.flip-hint { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.flip-hint svg { width: 16px; height: 16px; }
.flip-back h4 { font-family: var(--f-serif); font-weight: 500; font-size: 32px; line-height: 1; margin: 12px 0 14px; }
.flip-back p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(244, 236, 226, .82); }
.flip-scroll { overflow-y: auto; scrollbar-width: none; }
.flip-result { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--hair-dark); }
.flip-result p { font-family: var(--f-serif); font-style: italic; font-size: 20px; line-height: 1.3; color: var(--ivory); margin-top: 8px; }
.flip-back .link { margin-top: 18px; align-self: flex-start; color: var(--sand); }

/* =========================================================
   Nouvelles activités — cartes photo
   ========================================================= */
.act {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 560px; padding: 30px;
  border-radius: var(--r-xl); background: var(--caramel);
}
.act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform 1.4s var(--ease); }
.act:hover img { transform: scale(1.045); }
.act::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(22, 15, 10, .94) 8%, rgba(36, 23, 15, .55) 42%, rgba(36, 23, 15, 0) 68%); }
.act > *:not(img) { position: relative; z-index: 2; }
.act .k { position: absolute; top: 26px; left: 30px; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory); }
.act h3 { font-family: var(--f-serif); font-weight: 500; font-size: 42px; line-height: .95; letter-spacing: -.015em; margin: 0 0 12px; }
.act h3 em { display: block; font-size: .55em; color: var(--sand); margin-top: 6px; }
.act p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: rgba(244, 236, 226, .8); max-width: 44ch; }

/* =========================================================
   Calendrier
   ========================================================= */
.cal {
  position: relative; display: flex; flex-direction: column;
  min-height: 300px; padding: 26px;
  border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--hair-light);
}
.cal .when { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.cal .tagline { font-family: var(--f-serif); font-style: italic; font-size: 16px; color: var(--walnut); margin-top: 6px; }
.cal h3 { font-family: var(--f-serif); font-weight: 500; font-size: 34px; line-height: .98; letter-spacing: -.01em; margin: auto 0 10px; }
.cal p { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(36, 23, 15, .66); }
.cal.is-spot { background: var(--cocoa); color: var(--ivory); border-color: transparent; }
.cal.is-spot .when { color: var(--sand); }
.cal.is-spot .tagline { color: var(--sand); }
.cal.is-spot p { color: rgba(244, 236, 226, .72); }
.cal.is-surprise { background: var(--chocolate); color: var(--ivory); border-color: transparent; justify-content: center; align-items: flex-start; }
.cal.is-surprise .q { font-family: var(--f-serif); font-style: italic; font-size: 110px; line-height: .8; color: var(--sand); }
.cal.is-surprise h3 { margin: 18px 0 6px; }
.cal.is-surprise p { color: rgba(244, 236, 226, .66); }

/* =========================================================
   SRC Connect — étapes
   ========================================================= */
.steps { display: grid; border-top: 1px solid var(--hair-dark); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--hair-dark); }
.step .n { font-family: var(--f-serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--sand); }
.step b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: 28px; line-height: 1.05; margin-bottom: 4px; }
.step span { font-size: 15px; color: rgba(244, 236, 226, .7); }
@media (min-width: 900px) { .steps.row { grid-template-columns: repeat(3, 1fr); border-top: 0; } .steps.row .step { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--hair-dark); padding-right: 28px; } }

/* =========================================================
   Équipe
   ========================================================= */
.photo-frame { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--beige); }
.photo-frame img { width: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.photo-frame figcaption {
  position: absolute; left: 18px; bottom: 18px;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: rgba(244, 236, 226, .88); color: var(--chocolate);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}

.member {
  border-radius: var(--r-lg); padding: 26px;
  background: var(--ivory); color: var(--ink);
  border: 1px solid var(--hair-light);
  display: grid; gap: 4px; align-content: start;
  transition: border-color .4s;
}
.member:hover { border-color: rgba(36, 23, 15, .3); }
.initials {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px;
  display: grid; place-items: center;
  font-family: var(--f-serif); font-weight: 600; font-size: 22px; letter-spacing: .02em;
  background: var(--beige); color: var(--walnut);
}
.member .post { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.member .who { font-family: var(--f-serif); font-weight: 500; font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.member .who em { display: block; font-size: .72em; color: var(--walnut); }
.member .meta { font-size: 13px; color: rgba(36, 23, 15, .6); margin-top: 10px; }

.dept { border-radius: var(--r-lg); padding: 28px; background: rgba(244, 236, 226, .05); display: grid; gap: 22px; align-content: start; }
.dept-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--hair-dark); }
.dept-head h3 { font-family: var(--f-serif); font-weight: 500; font-size: 34px; line-height: 1; margin: 0; }
.dept-head span { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.person { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.person .initials { margin: 0; width: 52px; height: 52px; font-size: 19px; background: var(--cocoa); color: var(--sand); }
.person.sub .initials { width: 44px; height: 44px; font-size: 16px; }
.person .post { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.person .who { font-family: var(--f-serif); font-size: 24px; line-height: 1.05; }
.person .who em { color: var(--sand); }
.person .meta { font-size: 12px; color: rgba(244, 236, 226, .55); }

/* =========================================================
   Pages candidats — chapitres façon stories
   ========================================================= */
.story { background: var(--chocolate); min-height: 100svh; padding-top: var(--nav-h); }
.story-bar { position: sticky; top: var(--nav-h); z-index: 5; display: flex; gap: 6px; padding: 14px var(--gutter) 12px; background: linear-gradient(180deg, var(--chocolate) 55%, rgba(36, 23, 15, 0)); }
.story-bar button { flex: 1; height: 22px; display: flex; align-items: center; }
.story-bar button i { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: rgba(244, 236, 226, .18); overflow: hidden; }
.story-bar button i::after { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.story-bar button.is-seen i::after, .story-bar button.is-active i::after { transform: scaleX(1); }

.story-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 26px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
.story-track::-webkit-scrollbar { display: none; }
.chapter {
  position: relative; flex: none; overflow: hidden;
  width: calc(100vw - 2 * var(--gutter)); max-width: 1000px;
  min-height: calc(100svh - var(--nav-h) - 170px);
  scroll-snap-align: center;
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 64px);
  display: flex; flex-direction: column;
}
@media (min-width: 1120px) { .story-track { padding-inline: calc((100vw - 1000px) / 2); scroll-padding-inline: calc((100vw - 1000px) / 2); } .chapter { width: 1000px; } }

.ch-paper { background: var(--paper); color: var(--ink); }
.ch-beige { background: var(--beige); color: var(--ink); }
.ch-cocoa { background: var(--cocoa); color: var(--ivory); }
.ch-espresso { background: var(--espresso); color: var(--ivory); }
.chapter .label { margin-bottom: 22px; }
.ch-paper .label, .ch-beige .label { color: var(--taupe); }
.chapter h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(40px, 7.5vw, 76px); line-height: .95; letter-spacing: -.02em; margin: 0 0 24px; }
.ch-paper h2 em, .ch-beige h2 em { color: var(--walnut); }
.ch-cocoa h2 em, .ch-espresso h2 em { color: var(--sand); }
.chapter p { font-size: clamp(16px, 1.7vw, 18px); line-height: 1.75; max-width: 58ch; margin: 0 0 16px; opacity: .85; }
.ch-num { position: absolute; top: clamp(24px, 4vw, 48px); right: clamp(24px, 4vw, 52px); font-family: var(--f-serif); font-style: italic; font-size: 20px; opacity: .5; }

.ch-cover { padding: 0; justify-content: flex-end; background: var(--caramel); min-height: calc(100svh - var(--nav-h) - 130px); }
.ch-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.ch-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(22, 15, 10, .95) 4%, rgba(36, 23, 15, .45) 36%, rgba(36, 23, 15, 0) 60%); }
.ch-cover .inner { position: relative; z-index: 2; padding: clamp(28px, 5vw, 60px); }
.ch-cover .cover-top { top: clamp(24px, 4vw, 40px); left: clamp(28px, 5vw, 60px); right: clamp(28px, 5vw, 60px); }
.ch-cover h1 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(60px, 15vw, 132px); line-height: .86; letter-spacing: -.025em; margin: 14px 0 14px; }
.ch-cover h1 em { display: block; font-size: .5em; color: var(--sand); }
.ch-cover .sign { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 4.5vw, 36px); color: rgba(244, 236, 226, .88); }
.ch-cover .hint { margin-top: 26px; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 236, 226, .6); display: flex; align-items: center; gap: 10px; }
.ch-cover .hint svg { width: 16px; height: 16px; }

.big-num { font-family: var(--f-serif); font-weight: 500; font-size: clamp(96px, 24vw, 220px); line-height: .8; letter-spacing: -.04em; margin: 8px 0 18px; }
.big-num small { font-size: .26em; letter-spacing: .02em; font-style: italic; color: var(--sand); margin-left: 8px; }
.big-cap { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); max-width: 34ch; line-height: 1.6; margin-bottom: 28px; }

.xp-list { display: grid; border-top: 1px solid var(--hair-light); margin-top: 8px; }
.xp { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--hair-light); }
.xp b { font-family: var(--f-serif); font-weight: 500; font-size: 26px; line-height: 1.1; }
.xp .k { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.xp span { font-size: 15px; line-height: 1.6; opacity: .75; }
.ch-cocoa .xp-list, .ch-cocoa .xp, .ch-espresso .xp-list, .ch-espresso .xp { border-color: var(--hair-dark); }
.ch-cocoa .xp .k, .ch-espresso .xp .k { color: var(--sand); }

.words { margin-top: auto; display: grid; border-top: 1px solid var(--hair-dark); }
.words span { font-family: var(--f-serif); font-size: clamp(30px, 5.5vw, 52px); line-height: 1.1; padding: 12px 0; border-bottom: 1px solid var(--hair-dark); }
.words span:nth-child(even) { font-style: italic; color: var(--sand); padding-left: clamp(24px, 8vw, 120px); }

.quote, .chapter .quote { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: clamp(34px, 6.4vw, 64px); line-height: 1.1; letter-spacing: -.01em; margin: auto 0; max-width: 18ch; opacity: 1; }
.quote::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--walnut); }
.ch-cocoa .quote::before, .ch-espresso .quote::before { color: var(--sand); }
.quote-by { margin-top: 28px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }

.story-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 var(--gutter) 34px; max-width: 1060px; margin: 0 auto; }
.next-cand { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 1px solid var(--hair-dark); transition: padding .5s var(--ease); }
.next-cand:hover { padding-left: 10px; }
.next-cand .l { font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--sand); }
.next-cand .n { font-family: var(--f-serif); font-size: clamp(30px, 5vw, 48px); line-height: 1.05; }

/* =========================================================
   Blocs divers
   ========================================================= */
.panel { border-radius: var(--r-xl); padding: clamp(28px, 4.5vw, 56px); background: rgba(244, 236, 226, .05); }
.on-light .panel, .panel.light { background: var(--ivory); color: var(--ink); border: 1px solid var(--hair-light); }

.axis-list { display: grid; border-top: 1px solid var(--hair-light); }
.axis-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--hair-light); }
.axis-row .n { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--walnut); line-height: 1.1; }
.axis-row b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: 30px; line-height: 1.05; }
.axis-row span { font-size: 14px; color: rgba(36, 23, 15, .6); }
@media (min-width: 960px) { .axis-list { grid-template-columns: repeat(4, 1fr); border-top: 0; } .axis-row { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--hair-light); padding-right: 28px; } }

.feature { display: grid; gap: 32px; align-items: center; padding: clamp(36px, 6vw, 72px) 0; border-top: 1px solid var(--hair-dark); scroll-margin-top: 90px; }
.feature-img { border-radius: var(--r-xl); overflow: hidden; background: var(--caramel); }
.feature-img img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: center 20%; }
.feature .k { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); }
.feature h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(44px, 7vw, 80px); line-height: .94; letter-spacing: -.02em; margin: 16px 0 8px; }
.feature .sub { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--sand); margin: 0 0 18px; }
@media (min-width: 900px) { .feature { grid-template-columns: .85fr 1.15fr; gap: 80px; } .feature:nth-of-type(even) .feature-img { order: 2; } }

.accordion { display: grid; border-top: 1px solid var(--hair-dark); margin-top: 32px; }
.accordion details { border-bottom: 1px solid var(--hair-dark); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--f-serif); font-size: 24px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-family: var(--f-sans); font-weight: 300; font-size: 26px; line-height: 1; transition: transform .5s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .body { padding: 0 0 24px; font-size: 15px; line-height: 1.7; color: rgba(244, 236, 226, .75); }
.q-list { counter-reset: q; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.q-list li { counter-increment: q; display: grid; grid-template-columns: 36px 1fr; gap: 10px; }
.q-list li::before { content: "0" counter(q); font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--sand); }

.pdf-frame { display: none; width: 100%; height: 80vh; min-height: 560px; border: 0; border-radius: var(--r-lg); background: #fff; margin-top: 36px; }
@media (min-width: 900px) { .pdf-frame { display: block; } }

.values { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--hair-light); }
.values span { flex: 1 1 50%; padding: 16px 0; border-bottom: 1px solid var(--hair-light); font-family: var(--f-serif); font-size: 24px; font-style: italic; color: var(--walnut); }

.soon { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.chapter .soon { font-size: 11px; opacity: 1; }

.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: rgba(244, 236, 226, .06); font-size: 14px; line-height: 1.6; color: rgba(244, 236, 226, .8); }
.on-light .note { background: var(--beige); color: rgba(36, 23, 15, .78); }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; opacity: .8; }

/* =========================================================
   Formulaires
   ========================================================= */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 10px; }
.field label { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px;
  color: var(--ivory);
  background: rgba(244, 236, 226, .05);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 17px 18px;
  transition: border-color .35s, background-color .35s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9B6A2' stroke-width='1.6'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px; }
.field select option { color: var(--chocolate); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: rgba(201, 182, 162, .6); background: rgba(244, 236, 226, .08); }
.field ::placeholder { color: rgba(244, 236, 226, .35); }
.form-row { display: grid; gap: 22px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 13px; color: rgba(244, 236, 226, .55); margin: 0; }

.toast {
  position: fixed; z-index: 120; left: 50%;
  bottom: calc(104px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px);
  width: max-content; max-width: calc(100vw - 32px);
  padding: 15px 24px; border-radius: var(--r-pill);
  background: var(--ivory); color: var(--chocolate);
  font-size: 14px; font-weight: 500;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 960px) { .toast { bottom: 32px; } }

/* =========================================================
   Pied de page
   ========================================================= */
.footer { background: var(--espresso); padding: clamp(80px, 11vw, 140px) 0 40px; }
.footer-word { display: flex; align-items: flex-end; gap: clamp(14px, 2.5vw, 28px); }
.footer-word .w { font-family: var(--f-serif); font-weight: 600; font-size: clamp(96px, 24vw, 280px); line-height: .78; letter-spacing: .02em; }
.footer-word .tricolor { margin-bottom: clamp(10px, 2vw, 26px); }
.footer-word .tricolor i { width: clamp(5px, .8vw, 9px); height: clamp(44px, 9vw, 110px); }
.footer-tag { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 3.6vw, 38px); color: var(--sand); margin: 18px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 20px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--hair-dark); font-size: 15px; }
.footer-grid > :first-child { grid-column: 1 / -1; }
.footer h4 { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: rgba(244, 236, 226, .75); transition: color .3s; }
.footer ul a:hover { color: var(--ivory); }
.logo-slots { display: flex; gap: 10px; flex-wrap: wrap; }
.logo-slot { height: 52px; min-width: 88px; padding: 0 18px; display: grid; place-items: center; border-radius: var(--r-sm); background: rgba(244, 236, 226, .05); font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--sand); }
.footer-bottom { margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--hair-dark); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 12px; color: rgba(244, 236, 226, .45); letter-spacing: .04em; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: auto; } }

/* =========================================================
   Animations discrètes
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }

.curtain { position: relative; overflow: hidden; }
.curtain::after { content: ""; position: absolute; inset: 0; z-index: 4; background: var(--beige); transform-origin: top; transition: transform 1.2s var(--ease-io); }
.bg-chocolate .curtain::after, .bg-cocoa .curtain::after, .bg-espresso .curtain::after { background: var(--cocoa); }
.curtain.in::after { transform: scaleY(0); }

.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.split-words.in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .curtain::after { display: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Notre engagement — la voix commune
   ========================================================= */
.commit { display: grid; gap: 40px; align-items: center; }
.commit > * { min-width: 0; }
.commit-text { font-family: var(--f-serif); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.5; color: rgba(36, 23, 15, .8); margin: 26px 0 0; max-width: 34ch; }
.commit-line { display: grid; margin-top: 36px; border-top: 1px solid var(--hair-light); }
.commit-line span { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; padding: 14px 0; border-bottom: 1px solid var(--hair-light); color: var(--walnut); }
.commit-photo img { aspect-ratio: 4 / 3.2; object-fit: cover; object-position: center 30%; }
@media (min-width: 960px) { .commit { grid-template-columns: 1.05fr 1fr; gap: 88px; } }

/* =========================================================
   Programme en 5 priorités — lecture verticale
   ========================================================= */
.prio-list { display: grid; border-top: 1px solid var(--hair-light); }
.prio { display: grid; gap: 18px; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--hair-light); }
.prio-head { display: flex; align-items: baseline; gap: 18px; }
.prio-head .n { font-family: var(--f-serif); font-style: italic; font-size: 24px; color: var(--taupe); min-width: 36px; }
.prio-head h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(32px, 4.4vw, 48px); line-height: 1; letter-spacing: -.015em; margin: 0; }
.prio-cols { display: grid; gap: 18px; padding-left: 54px; }
.prio-cols .k { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.prio-cols p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(36, 23, 15, .78); }
.prio-cols .plan p { color: var(--ink); }
.prio-projects { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-left: 54px; }
.prio-projects a { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--walnut); border-bottom: 1px solid rgba(90, 61, 42, .3); transition: border-color .3s; }
.prio-projects a:hover { border-color: var(--walnut); }
@media (min-width: 900px) {
  .prio { grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 40px; align-items: start; }
  .prio-cols { grid-template-columns: repeat(3, 1fr); gap: 32px; padding-left: 0; }
  .prio-projects { grid-column: 2; padding-left: 0; }
}

/* Détail des projets (Manifesto) */
.proj-list { display: grid; gap: 14px; }
.proj { border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); background: var(--ivory); border: 1px solid var(--hair-light); display: grid; gap: 18px; scroll-margin-top: 100px; }
.proj-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.proj h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 42px); line-height: 1; margin: 0; }
.proj h3 em { display: block; font-size: .55em; color: var(--taupe); margin-top: 6px; }
.proj .k { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.proj-grid { display: grid; gap: 18px; }
.proj-grid p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: rgba(36, 23, 15, .8); }
.proj-grid .problem p { font-family: var(--f-serif); font-style: italic; font-size: 22px; line-height: 1.25; color: var(--walnut); }
@media (min-width: 900px) { .proj-grid { grid-template-columns: .9fr 1.3fr 1fr; gap: 36px; } }

/* =========================================================
   Une seule équipe — cartes de même rang
   ========================================================= */
.team-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--beige); }
.team-hero img { transition: opacity .6s var(--ease); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; }
@media (max-width: 700px) { .team-hero img { aspect-ratio: 4 / 3.4; } }

.pole {
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ivory); color: var(--ink);
  border: 1px solid var(--hair-light);
  display: flex; flex-direction: column;
}
.pole-media { aspect-ratio: 4 / 3; background: var(--beige); position: relative; overflow: hidden; }
.pole-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.pole-media .duo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.pole-media .duo span {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-serif); font-weight: 600; font-size: 30px; color: var(--walnut);
  background: var(--paper); border: 1px solid var(--hair-light);
}
.pole-media .duo span + span { margin-left: -22px; background: var(--ivory); }
.pole-body { padding: 24px 24px 26px; display: grid; gap: 14px; flex: 1; align-content: start; }
.pole-body h3 { font-family: var(--f-serif); font-weight: 500; font-size: 34px; line-height: 1; margin: 0; }
.pole-body .does { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(36, 23, 15, .75); }
.pole-people { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--hair-light); }
.pole-people div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pole-people b { font-family: var(--f-serif); font-weight: 500; font-size: 21px; line-height: 1.1; }
.pole-people span { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); text-align: right; flex: none; }
.pole-people small { display: block; font-size: 12px; color: rgba(36, 23, 15, .55); margin-top: 2px; }

/* carte candidat dans la page équipe : même gabarit que les pôles */
.pole.is-cand .pole-media { aspect-ratio: 4 / 4.4; background: var(--caramel); }
.pole.is-cand .pole-media img { object-position: center 12%; }
.pole .tag-role { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }

/* =========================================================
   Activités : ligne « avec qui »
   ========================================================= */
.act .who { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin: -4px 0 18px; }
.feature .who { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin: 0 0 18px; }

/* Calendrier avec image */
.cal.has-img { background: var(--caramel); color: var(--ivory); border-color: transparent; overflow: hidden; }
.cal.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cal.has-img { min-height: 400px; }
.cal.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(22, 15, 10, .7) 0%, rgba(36, 23, 15, 0) 26%), linear-gradient(0deg, rgba(22, 15, 10, .92) 12%, rgba(36, 23, 15, .1) 60%); }
.act { min-height: 600px; }
.act::before { background: linear-gradient(180deg, rgba(22, 15, 10, .55) 0%, rgba(36, 23, 15, 0) 18%), linear-gradient(0deg, rgba(22, 15, 10, .96) 12%, rgba(36, 23, 15, .55) 46%, rgba(36, 23, 15, 0) 70%) !important; }
.cal.has-img > *:not(img) { position: relative; z-index: 2; }
.cal.has-img .when, .cal.has-img .tagline { color: var(--sand); }
.cal.has-img p { color: rgba(244, 236, 226, .78); }
.cal.is-surprise.has-img img { filter: blur(14px) saturate(.8); transform: scale(1.2); }
.cal.is-surprise.has-img::before { background: rgba(36, 23, 15, .55); }

/* =========================================================
   Parle-nous — actions visibles
   ========================================================= */
.actions { display: grid; border-top: 1px solid var(--hair-dark); }
.action {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--hair-dark);
  transition: padding .5s var(--ease);
}
.action:hover { padding-left: 10px; }
.action b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; }
.action small { display: block; font-size: 14px; color: rgba(244, 236, 226, .65); margin-top: 4px; }
.action .icon-btn { pointer-events: none; }
.action:hover .icon-btn { background: var(--ivory); color: var(--chocolate); border-color: var(--ivory); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.talk-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; }

/* Jour du vote */
.vote-grid { display: grid; gap: 0; border-top: 1px solid var(--hair-light); margin-top: 36px; }
.vote-grid div { padding: 22px 0; border-bottom: 1px solid var(--hair-light); }
.vote-grid .k { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; }
.vote-grid b { font-family: var(--f-serif); font-weight: 500; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; }
.vote-grid b.tbc { font-style: italic; color: var(--taupe); font-weight: 400; }
@media (min-width: 900px) { .vote-grid { grid-template-columns: repeat(3, 1fr); border-top: 0; } .vote-grid div { border-bottom: 0; border-top: 1px solid var(--hair-light); padding-right: 28px; } }

/* =========================================================
   Cartes image (programme, nouveautés) — peu de texte
   ========================================================= */
.pcard, .act {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  text-align: left; color: var(--ivory);
  border-radius: var(--r-xl); background: var(--caramel);
  isolation: isolate;
}
.pcard { aspect-ratio: 4 / 5.2; padding: 26px; }
.pcard img, .act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; transition: transform 1.4s var(--ease); z-index: -1; }
.pcard:hover img, .act:hover img { transform: scale(1.045); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22, 15, 10, .94) 6%, rgba(36, 23, 15, .45) 40%, rgba(36, 23, 15, 0) 62%); }
.pcard-n { position: absolute; top: 20px; left: 26px; font-family: var(--f-serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--ivory); }
.pcard-body { display: grid; gap: 10px; }
.pcard-t { font-family: var(--f-serif); font-weight: 500; font-size: 40px; line-height: .95; letter-spacing: -.015em; }
.pcard-l { font-size: 15px; line-height: 1.5; color: rgba(244, 236, 226, .82); }
.pcard-go { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(244, 236, 226, .2); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.pcard-go .go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); color: var(--chocolate); transition: transform .6s var(--ease); }
.pcard-go svg { width: 16px; height: 16px; }
.pcard:hover .go, .act:hover .go, .mini:hover .go { transform: rotate(-45deg); }

.act { min-height: 560px; padding: 30px; }
.act::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22, 15, 10, .94) 8%, rgba(36, 23, 15, .5) 42%, rgba(36, 23, 15, 0) 68%); }
.act .k { position: absolute; top: 26px; left: 30px; }
.act-t { font-family: var(--f-serif); font-weight: 500; font-size: 44px; line-height: .95; letter-spacing: -.015em; margin-bottom: 10px; }
.act-t em { display: block; font-size: .5em; color: var(--sand); margin-top: 6px; }
.act-l { font-size: 16px; line-height: 1.5; color: rgba(244, 236, 226, .85); margin-bottom: 12px; }
.act .who { margin: 0; }

.mini {
  display: flex; flex-direction: column; text-align: left;
  min-height: 300px; padding: 26px;
  border-radius: var(--r-lg);
  background: var(--ivory); color: var(--ink); border: 1px solid var(--hair-light);
  transition: border-color .4s;
}
.mini:hover { border-color: rgba(36, 23, 15, .3); }
.mini-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mini-top .k { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.mini-top .n { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--taupe); }
.mini-t { font-family: var(--f-serif); font-weight: 500; font-size: 34px; line-height: 1; margin-top: auto; padding-top: 30px; }
.mini-l { font-family: var(--f-serif); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--walnut); margin-top: 10px; }
.mini .pcard-go { border-top-color: var(--hair-light); }
.mini .pcard-go .go { background: var(--chocolate); color: var(--ivory); }

/* =========================================================
   Fenêtre de détail
   ========================================================= */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 680px;
  max-height: 88svh; overflow: auto;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .5);
}
.sheet::backdrop { background: rgba(22, 15, 10, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetUp .6s var(--ease); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet-inner { position: relative; padding: 34px clamp(24px, 5vw, 48px) calc(36px + env(safe-area-inset-bottom)); }
.sheet-close { position: absolute; top: 18px; right: 18px; color: var(--chocolate); border-color: rgba(36, 23, 15, .2); }
.sheet-close:hover { background: var(--chocolate); color: var(--ivory); }
.sheet .label { color: var(--taupe); }
.sheet h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(36px, 6vw, 52px); line-height: 1; letter-spacing: -.015em; margin: 14px 48px 24px 0; }
.sheet h2 em { color: var(--walnut); }
.sheet-row { padding: 18px 0; border-top: 1px solid var(--hair-light); }
.sheet-row .k { font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.sheet-row p { margin: 6px 0 0; font-size: 15px; line-height: 1.65; color: rgba(36, 23, 15, .82); }
.sheet-row.is-problem p { font-family: var(--f-serif); font-style: italic; font-size: 22px; line-height: 1.25; color: var(--walnut); }
.sheet .q-list { margin-top: 10px; font-size: 15px; }
.sheet .q-list li::before { color: var(--walnut); }
@media (min-width: 760px) { .sheet { margin: auto; border-radius: var(--r-xl); } }

/* =========================================================
   Diaporama en fondu
   ========================================================= */
.slides { position: absolute; inset: 0; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; opacity: 0; transition: opacity 1.6s var(--ease-io); }
.slides img.on { opacity: 1; }

/* =========================================================
   Page Candidats — grandes doubles pages
   ========================================================= */
.spread { display: grid; gap: 32px; align-items: center; padding: clamp(40px, 7vw, 96px) 0; border-top: 1px solid var(--hair-light); }
.spread > * { min-width: 0; }
.spread-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--caramel); }
.spread-photo img { width: 100%; aspect-ratio: 4 / 4.9; object-fit: cover; object-position: center 12%; transition: transform 1.4s var(--ease); }
.spread-photo:hover img { transform: scale(1.03); }
.spread-photo .letter { position: absolute; top: 18px; left: 24px; font-family: var(--f-serif); font-weight: 600; font-size: 44px; line-height: 1; color: var(--ivory); }
.spread h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(56px, 9vw, 110px); line-height: .86; letter-spacing: -.025em; margin: 16px 0 14px; }
.spread h2 em { display: block; font-size: .48em; color: var(--walnut); }
.spread .sign { font-family: var(--f-serif); font-style: italic; font-size: clamp(26px, 3.4vw, 38px); color: var(--walnut); }
.spread .contrib { font-size: 17px; line-height: 1.6; color: rgba(36, 23, 15, .78); margin: 18px 0 0; max-width: 40ch; }
.facts { display: grid; margin: 28px 0 32px; border-top: 1px solid var(--hair-light); }
.facts span { padding: 13px 0; border-bottom: 1px solid var(--hair-light); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
@media (min-width: 960px) {
  .spread { grid-template-columns: 1fr 1fr; gap: 88px; }
  .spread:nth-of-type(even) .spread-photo { order: 2; }
}

/* =========================================================
   Trois prises de parole — portrait + déclaration
   ========================================================= */
.voices { display: grid; }
.voice { display: grid; gap: 28px; align-items: center; padding: clamp(36px, 6vw, 80px) 0; border-top: 1px solid var(--hair-light); }
.voice:first-child { border-top: 0; padding-top: 0; }
.voice > * { min-width: 0; }
.voice-photo { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--caramel); }
.voice-photo img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; object-position: center 14%; }
.voice-n { display: block; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--taupe); margin-bottom: 14px; }
.voice-quote { margin: 0; }
.voice-quote p {
  margin: 0;
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(22px, 5.6vw, 26px); line-height: 1.42; letter-spacing: -.005em;
  color: var(--ink);
}
.voice-by { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--hair-light); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.voice-by b { font-family: var(--f-serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.05; color: var(--school-blue); }
.voice-by span { font-size: clamp(13px, 1.3vw, 15px); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--school-red); }
/* titre de la section des prises de parole : bleu de l'école */
.voices-title, .voices-title em { color: var(--school-blue); }
.on-light .voices-title em { color: var(--school-blue); }

/* tablette : portrait et texte côte à côte */
@media (min-width: 700px) {
  .voice { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 44px; }
  .voice-photo img { aspect-ratio: 4 / 5; }
  .voice-quote p { font-size: clamp(21px, 2.6vw, 30px); }
  .voice:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
  .voice:nth-child(even) .voice-photo { order: 2; }
}
/* ordinateur : composition généreuse */
@media (min-width: 1100px) {
  .voice { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 96px; }
  .voice:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .voice:nth-child(even) .voice-text { justify-self: end; }
  .voice-quote p { font-size: 31px; line-height: 1.38; }
  .voice-text { max-width: 640px; }
}

/* =========================================================
   L'équipe — transition après les trois prises de parole
   Taupe chaud très clair : relie l'ivoire au fond gris de la photo
   ========================================================= */
.team-band { --ink: #30231D; background: #E8E1D8; color: #30231D; }
.team-band .h2 em { color: var(--walnut); }
.team-band .btn-solid { background: #30231D; color: var(--ivory); }
.team-band .btn-solid:hover { background: var(--cocoa); }

/* photo entière, sans recadrage ni filtre : personne ne disparaît */
.team-full { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: #D3D5DD; }
.team-full img { width: 100%; height: auto; }

.team-band-text { display: grid; gap: 22px; margin-top: clamp(32px, 5vw, 64px); }
.team-band-text > * { min-width: 0; }
.team-band-text p { margin: 0 0 14px; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.75; color: rgba(48, 35, 29, .82); max-width: 56ch; }
.team-band-text .btn { white-space: normal; height: auto; min-height: 54px; padding-top: 14px; padding-bottom: 14px; text-align: left; line-height: 1.3; }
.team-band-title { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 16ch; }
@media (min-width: 960px) {
  .team-band-text { max-width: 760px; }
}

/* Section équipe : titre long + introduction */
.team-band .team-band-title { max-width: 22ch; margin-bottom: 20px; }
.team-band-intro { margin: 0 0 clamp(28px, 4vw, 48px); max-width: 58ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; color: rgba(48, 35, 29, .82); }
.team-band-text { margin-top: clamp(24px, 3vw, 36px); }

/* =========================================================
   Catégories du programme : innovation, nouveau rendez-vous, tradition
   ========================================================= */
.pcard-tag {
  display: inline-flex; align-items: center; align-self: flex-start;
  height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
}
.pcard-tag.is-inn { background: var(--ivory); color: var(--chocolate); }
.pcard-tag.is-new { background: var(--sand); color: var(--chocolate); }
.pcard-tag.is-trad { background: transparent; color: var(--ivory); border: 1px solid rgba(244, 236, 226, .5); }
.pcard .pcard-tag { position: absolute; top: 20px; left: 22px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--walnut);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-tbc { color: #A8733E; }
.status.is-tbc::before { background: transparent; border: 1.5px solid currentColor; width: 5px; height: 5px; }
.status.is-trad::before { border-radius: 2px; }
.status-legend { display: grid; gap: 0; border-top: 1px solid var(--hair-dark); }
.status-legend div { padding: 16px 0; border-bottom: 1px solid var(--hair-dark); display: grid; gap: 4px; }
.status-legend .status { color: var(--sand); }
.status-legend .status.is-tbc { color: #D9A86C; }
.status-legend p { margin: 0; font-size: 14px; color: rgba(244, 236, 226, .7); }
@media (min-width: 900px) { .status-legend { grid-template-columns: repeat(3, 1fr); border-top: 0; } .status-legend div { border-bottom: 0; border-top: 1px solid var(--hair-dark); padding-right: 24px; } }

/* cartes d'innovation */
.mini { min-height: 330px; }
.mini-top .kind { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.mini-t em { display: block; font-size: .56em; color: var(--taupe); margin-top: 4px; }
.mini-l { font-family: var(--f-sans); font-style: normal; font-size: 15px; line-height: 1.55; color: rgba(36, 23, 15, .78); }
@media (min-width: 960px) {
  .inno-grid .carousel-track { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); cursor: default; }
  .inno-grid .carousel-track > * { width: auto; }
  .inno-grid .carousel-track::after { display: none; }
  .inno-grid .carousel-ui { display: none; }
}

/* traditions */
.cal .trad { position: absolute; top: 22px; right: 22px; z-index: 2; font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); border: 1px solid rgba(244, 236, 226, .5); border-radius: var(--r-pill); padding: 5px 10px; }
.cal:not(.has-img) .trad { color: var(--taupe); border-color: var(--hair-light); }

/* =========================================================
   Page Équipe — direction puis pôles, contact sur chacun
   ========================================================= */
.pole .pole-media { aspect-ratio: 4 / 4; display: block; }
.pole .pole-media img { object-position: center 24%; }
.pole.is-cand .pole-media { aspect-ratio: 4 / 4; }
.pole.is-cand .pole-media img { object-position: center 14%; }
.pole-people div { align-items: center; }
.pole-people small { text-transform: none; letter-spacing: 0; }

.contact-icons { display: inline-flex !important; gap: 6px; flex: none; text-transform: none !important; letter-spacing: 0 !important; }
.ci {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(36, 23, 15, .18); color: var(--chocolate);
  transition: background-color .3s, color .3s, border-color .3s;
}
.ci svg { width: 15px; height: 15px; }
a.ci:hover { background: var(--school-blue); border-color: var(--school-blue); color: var(--ivory); }
.ci.is-off { opacity: .4; cursor: default; }

.team-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--hair-light); }
.team-sub h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; margin: 0; color: var(--chocolate); }
.team-sub span { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--walnut); }

@media (min-width: 960px) {
  .grid-3 .carousel-track, .grid-4 .carousel-track { display: grid; overflow: visible; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); cursor: default; }
  .grid-3 .carousel-track { grid-template-columns: repeat(3, 1fr); }
  .grid-4 .carousel-track { grid-template-columns: repeat(2, 1fr); }
  .grid-4 .pole .pole-media { aspect-ratio: 4 / 3; }
  .grid-4 .pole .pole-media img { object-position: center 10%; }
  .grid-3 .carousel-track > *, .grid-4 .carousel-track > * { width: auto; }
  .grid-3 .carousel-track::after, .grid-4 .carousel-track::after { display: none; }
  .grid-3 .carousel-ui, .grid-4 .carousel-ui { display: none; }
}

/* icônes LinkedIn et email : bleu de l'école, bien visibles sur fond clair */
.ci { color: var(--school-blue); border: 1.5px solid rgba(10, 29, 75, .45); background: rgba(10, 29, 75, .06); }
a.ci:hover, a.ci:focus-visible { background: var(--school-blue); border-color: var(--school-blue); color: #fff; outline: none; box-shadow: 0 0 0 3px rgba(10, 29, 75, .25); }
.ci.is-off { opacity: .55; }

/* Accueil : aperçu du programme réduit à l'essentiel */
.prog-teaser { display: grid; gap: 22px; justify-items: start; max-width: 860px; }
.prog-teaser .h2 { margin: 0; }

/* Accueil : « Parlez-nous » — composition typographique, sans portrait */
.dialogue { position: relative; min-height: 340px; border-radius: var(--r-xl); background: var(--chocolate); overflow: hidden; }
.dialogue::before { content: "“"; position: absolute; right: 6%; top: -8%; font-family: var(--f-serif); font-size: clamp(220px, 30vw, 360px); line-height: 1; color: rgba(244, 236, 226, .07); }
.bubble { position: absolute; padding: 14px 22px; border-radius: 26px; font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1; }
.bubble.b1 { left: 8%; top: 14%; background: var(--ivory); color: var(--chocolate); border-bottom-left-radius: 6px; }
.bubble.b2 { right: 8%; top: 36%; background: var(--sand); color: var(--chocolate); border-bottom-right-radius: 6px; font-style: italic; }
.bubble.b3 { left: 14%; top: 58%; background: var(--walnut); color: var(--ivory); border-bottom-left-radius: 6px; }
.bubble.b4 { right: 12%; bottom: 10%; background: transparent; color: var(--ivory); border: 1px solid rgba(244, 236, 226, .4); border-bottom-right-radius: 6px; font-style: italic; }

/* Programme : nouveaux rendez-vous en cartes compactes, sans photo */
.new-list { display: grid; gap: 14px; }
@media (min-width: 900px) { .new-list { grid-template-columns: repeat(3, 1fr); } }
.new-card {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  padding: 26px; border-radius: var(--r-lg);
  background: rgba(244, 236, 226, .06); border: 1px solid var(--hair-dark); color: var(--ivory);
  transition: background-color .35s, border-color .35s;
}
.new-card:hover, .new-card:focus-visible { background: rgba(244, 236, 226, .1); border-color: rgba(244, 236, 226, .35); }
.new-n { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--sand); }
.new-kind { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); }
.new-t { font-family: var(--f-serif); font-weight: 500; font-size: 34px; line-height: 1; }
.new-t em { display: block; font-size: .56em; color: var(--sand); margin-top: 6px; }
.new-l { font-size: 15px; line-height: 1.6; color: rgba(244, 236, 226, .78); }
.new-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hair-dark); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.new-foot .status { color: #D9A86C; }
.new-go { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.new-go svg { width: 15px; height: 15px; }

/* Programme : les rendez-vous de GSM en étiquettes arrondies */
.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: var(--r-pill); background: var(--ivory); color: var(--chocolate); border: 1px solid var(--hair-light); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* Histoire d'un candidat : bouton de fermeture visible dès le début */
.story-close-wrap { position: sticky; top: var(--nav-h); z-index: 6; display: flex; justify-content: center; padding: 12px var(--gutter) 0; background: var(--chocolate); }
.story-close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--r-pill); background: var(--ivory); color: var(--chocolate); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.story-close:hover { background: #fff; }
.story-close:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.story-close .x svg { width: 16px; height: 16px; }
.story-close .sep { opacity: .5; }
.story-bar { top: calc(var(--nav-h) + 56px); }

/* =========================================================
   Accent miel : réservé aux actions prioritaires de l'accueil
   ========================================================= */
.btn-honey { background: #D9A441; color: #1E140D; transition: background-color .25s ease, color .25s ease, transform .25s var(--ease); }
.btn-honey:hover { background: #111; color: #fff; }
.btn-honey:focus-visible { outline: 3px solid #F4D58A; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(17, 17, 17, .55); }

/* =========================================================
   Sélecteur de langue permanent (en-tête)
   ========================================================= */
.top-actions { display: flex; align-items: center; gap: 12px; }
.topbar .top-cta { display: none; }
@media (min-width: 960px) { .topbar .top-cta { display: inline-flex; } }
.lang-switch { display: inline-flex; padding: 3px; border-radius: var(--r-pill); border: 1px solid rgba(244, 236, 226, .28); }
.lang-switch button { min-width: 40px; height: 34px; padding: 0 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: rgba(244, 236, 226, .75); transition: background-color .25s, color .25s; }
.lang-switch button[aria-pressed="true"] { background: var(--ivory); color: var(--chocolate); }
.lang-switch button:hover { color: var(--ivory); }
.lang-switch button[aria-pressed="true"]:hover { color: var(--chocolate); }

/* Fenêtre de choix de langue (première visite) */
.lang-modal { border: 0; padding: 0; width: min(92vw, 520px); border-radius: var(--r-xl); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.lang-modal::backdrop { background: rgba(22, 15, 10, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lang-modal[open] { animation: sheetUp .5s var(--ease); }
.lang-inner { padding: clamp(28px, 6vw, 48px); display: grid; gap: 22px; text-align: center; justify-items: center; }
.lang-logo .logo-word { color: var(--chocolate); font-size: 34px; }
.lang-modal h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(26px, 5vw, 34px); line-height: 1.15; margin: 0; display: grid; gap: 8px; }
.lang-modal h2 [lang="en"] { font-style: italic; color: var(--walnut); font-size: .8em; }
.lang-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.lang-choices .btn { width: 100%; font-size: 14px; }
.lang-note { margin: 0; font-size: 13px; color: rgba(36, 23, 15, .62); display: grid; gap: 2px; }
.lang-note [lang="en"] { font-style: italic; }

/* =========================================================
   Bouton « Revenir en haut »
   ========================================================= */
.to-top {
  position: fixed; z-index: 55; right: 16px;
  bottom: calc(96px + env(safe-area-inset-bottom));   /* au-dessus de la barre mobile */
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(22, 15, 10, .82); color: var(--ivory);
  border: 1px solid rgba(244, 236, 226, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .25s;
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--chocolate); }
.to-top:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
@media (min-width: 960px) { .to-top { right: 24px; bottom: 24px; } }
.has-cookie-bar .to-top { bottom: calc(190px + env(safe-area-inset-bottom)); }

/* =========================================================
   Cookies (seulement si des services facultatifs existent)
   ========================================================= */
.foot-link { color: rgba(244, 236, 226, .75); text-align: left; transition: color .3s; }
.foot-link:hover { color: var(--ivory); }
.cookie-bar { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(92px + env(safe-area-inset-bottom)); padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); display: grid; gap: 12px; }
.cookie-bar p { margin: 0; font-size: 14px; }
@media (min-width: 960px) { .cookie-bar { left: auto; right: 24px; bottom: 24px; max-width: 460px; } }
.cookie-row { display: flex; gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--hair-light); font-size: 15px; }

/* =========================================================
   Page Équipe — cartes harmonisées
   Même structure pour tous : photo entière dans une zone de hauteur commune, puis la présentation.
   ========================================================= */
.page-team { --max: 1400px; }   /* conteneur élargi sur grand écran */
.tcard {
  border-radius: var(--r-lg); overflow: hidden;
  background: #FBF7F1; color: var(--ink);
  border: 1px solid var(--hair-light);
  display: flex; flex-direction: column;
  height: 100%;
}
.tcard-photo { position: relative; margin: 0; overflow: hidden; background: var(--cocoa); }
/* fond complémentaire : la même photo, floutée, comble l'espace sans rien couper */
.tcard-fill { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) saturate(.9) brightness(.85); transform: scale(1.1); }
.tcard-photo img { position: relative; display: block; width: 100%; height: auto; }
@media (min-width: 700px) {
  .tcard-photo { height: var(--photo-h, 380px); }
  .tcard-photo img { width: 100%; height: 100%; object-fit: contain; }   /* image entière, proportions naturelles */
  .team-rows { --photo-h: clamp(340px, 30vw, 440px); }
  .pole-rows { --photo-h: clamp(300px, 26vw, 400px); }
}
.tcard-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tcard-body .tag-role { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--walnut); }
.tcard-body h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.02; margin: 0; color: var(--chocolate); }
.tcard-body .does { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(36, 23, 15, .78); }
.tpeople { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--hair-light); margin-top: auto; }   /* zones de contact alignées en bas */
.tperson { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.tperson b { display: block; font-family: var(--f-serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.tperson small { display: block; font-size: 13px; color: rgba(36, 23, 15, .62); margin-top: 3px; }

.team-rows, .pole-rows { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 700px) { .team-rows { grid-template-columns: repeat(3, 1fr); } .pole-rows { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 699px) { .tcard { height: auto; } }

/* =========================================================
   Page Contact — marron dominant, orange en accent, ivoire pour lire
   ========================================================= */
.theme-contact { --c-orange: #C4521C; --c-orange-dk: #A34215; }   /* orange foncé : texte blanc lisible (contraste ≥ 4,5:1) */
.theme-contact .label { color: #F0A070; }
.theme-contact .h1 em, .theme-contact .h2 em { color: #F0A070; }
.theme-contact .step .n { color: #F0A070; }
.theme-contact .btn-solid { background: var(--c-orange); color: #fff; }
.theme-contact .btn-solid:hover { background: var(--c-orange-dk); }
.theme-contact .btn-solid:focus-visible { outline: 3px solid #F6C29E; outline-offset: 3px; }
.theme-contact .topbar .btn-solid { background: var(--c-orange); color: #fff; }
.theme-contact .bottom-nav a[aria-current="page"] { background: var(--c-orange); color: #fff; }
.theme-contact .tab.is-active { color: #F0A070; }
.theme-contact .field label { color: #F0A070; }
.theme-contact .field input:focus, .theme-contact .field textarea:focus, .theme-contact .field select:focus { border-color: var(--c-orange); }
.theme-contact .field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23F0A070' stroke-width='1.6'><path d='m6 9 6 6 6-6'/></svg>"); }
.theme-contact .note svg { color: #F0A070; }
.theme-contact .link, .theme-contact a:not(.btn):not(.ci):hover { color: #F0A070; }

/* =========================================================
   Ajustements de lecture : téléphone, tablette, ordinateur
   ========================================================= */
/* titres moins massifs sur petit écran, sans césure maladroite */
.h1 { font-size: clamp(40px, 9vw, 112px); }
.h2 { font-size: clamp(32px, 6.4vw, 84px); text-wrap: balance; }
.display { text-wrap: balance; }
.lead { text-wrap: pretty; }
@media (max-width: 420px) {
  .h2 { font-size: clamp(30px, 8.6vw, 36px); line-height: 1.02; }
  .section { padding: 72px 0; }
  .section.tight { padding: 56px 0; }
}

/* bouton vers l'organisation : largeur adaptée au texte */
.team-band-text { justify-items: start; }
.team-band-text .btn { width: auto; justify-self: start; padding-left: 30px; padding-right: 30px; }

/* Invitations à échanger : flèches en pastille miel, toute la ligne cliquable */
.action .icon-btn { background: #D9A441; border-color: #D9A441; color: #24170F; }
.action .icon-btn svg { stroke-width: 1.8; }
.action:hover .icon-btn { background: #F0C46A; border-color: #F0C46A; color: #160F0A; }
.action:focus-visible { outline: none; }
.action:focus-visible .icon-btn { box-shadow: 0 0 0 3px var(--cocoa), 0 0 0 6px #F4D58A; }
.action:focus-visible b { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Page Candidats : une seule équipe — titre, photo entière, texte, bouton */
.together { display: grid; gap: 28px; grid-template-areas: "head" "photo" "text"; }
.together-head { grid-area: head; display: grid; gap: 18px; }
.together-head .h2 { margin: 0; max-width: 18ch; }
.together-photo { grid-area: photo; margin: 0; border-radius: var(--r-xl); overflow: hidden; background: #D3D5DD; }
.together-photo img { width: 100%; height: auto; display: block; }   /* photo entière : aucun membre coupé */
.together-text { grid-area: text; display: grid; gap: 26px; justify-items: start; }
.together-text .words { margin: 0; width: 100%; }
.together-text .words span { font-size: clamp(26px, 2.8vw, 38px); white-space: nowrap; }
.together-text .words span:nth-child(even) { padding-left: clamp(16px, 3vw, 44px); }
@media (max-width: 380px) { .together-text .words span { white-space: normal; } }
.together-all {
  margin: 0; max-width: 34ch;
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35;
  color: var(--ivory);
}
@media (min-width: 960px) {
  .together { grid-template-columns: 1fr 1.05fr; grid-template-areas: "head photo" "text photo"; column-gap: 72px; row-gap: 32px; align-items: start; }
  .together-photo { align-self: center; }
}

/* boutons à libellé long : ils passent à la ligne sur petit écran au lieu de déborder */
@media (max-width: 560px) {
  .btn { white-space: normal; height: auto; min-height: var(--h); padding-top: 12px; padding-bottom: 12px; line-height: 1.3; text-align: left; max-width: 100%; }
}

/* Utilitaires */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hide { display: none !important; }

/* ---------- Participer : choix, talents, cases ---------- */
[hidden] { display: none !important; }
.anchor { position: relative; top: -40px; display: block; height: 0; }
.steps.four .step b { font-size: 24px; }
@media (min-width: 900px) { .steps.row.four { grid-template-columns: repeat(4, 1fr); } }
.choices { display: grid; gap: 12px; }
.choice { display: grid; gap: 4px; text-align: left; padding: 20px 22px; border-radius: var(--r-md); border: 1px solid rgba(244, 236, 226, .16); background: rgba(244, 236, 226, .04); color: var(--ivory); cursor: pointer; transition: border-color .3s, background .3s; font: inherit; }
.choice b { font-family: var(--f-serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.choice span { font-size: 14px; color: rgba(244, 236, 226, .65); }
.choice:hover { border-color: rgba(244, 236, 226, .4); }
.choice.is-active { border-color: #F0A070; background: rgba(196, 82, 28, .14); }
.choice.is-active b { color: #F0A070; }
.choice:focus-visible, .linkish:focus-visible, .chip input:focus-visible + span, .check input:focus-visible { outline: 3px solid #F6C29E; outline-offset: 3px; }
.choice-more { margin: 18px 0 0; font-size: 14px; color: rgba(244, 236, 226, .65); }
.linkish { background: none; border: 0; padding: 4px 2px; font: inherit; color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.linkish.is-active { color: #F0A070; }
.form-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(28px, 4vw, 36px); line-height: 1.05; margin: 0; }
.init-chip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 999px; background: rgba(244, 236, 226, .08); font-size: 14px; justify-self: start; }
.init-chip .linkish { text-decoration: none; font-size: 18px; line-height: 1; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 10px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #F0A070; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(244, 236, 226, .2); font-size: 14px; transition: background .25s, border-color .25s; }
.chip input:checked + span { background: var(--c-orange, #C4521C); border-color: transparent; color: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: rgba(244, 236, 226, .82); cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: #C4521C; }
.on-light .check { color: rgba(36, 23, 15, .8); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fenêtre de détail : contribuer et partager ---------- */
.sheet-row.contrib p { font-family: var(--f-serif); font-size: 21px; line-height: 1.3; color: var(--chocolate); }
.sheet-row.contrib .interest { font-family: var(--f-sans, inherit); font-size: 13px; line-height: 1.55; color: var(--taupe); margin: 10px 0 16px; padding-left: 12px; border-left: 2px solid #D9A441; }
.sheet .btn-line { border-color: rgba(36, 23, 15, .25); color: var(--chocolate); }
.sheet .btn-line:hover { border-color: var(--chocolate); }
.share-url { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--beige); font-size: 13px; word-break: break-all; user-select: all; }

/* ---------- Vos idées, leurs avancées ---------- */
.status-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 30px; padding: 0; font-size: 13px; color: rgba(244, 236, 226, .75); }
.status-legend li { display: flex; align-items: center; gap: 8px; }
.status-legend li::before, .track-item .st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex: none; }
.st-recu { --dot: #C9B6A2; } .st-etude { --dot: #D9A441; } .st-retenue { --dot: #7FB27A; } .st-non_retenue { --dot: #B98272; }
.track-list { display: grid; gap: 14px; }
@media (min-width: 760px) { .track-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .track-list { grid-template-columns: repeat(3, 1fr); } }
.track-item { padding: 22px 24px; border-radius: var(--r-md); background: rgba(244, 236, 226, .06); border: 1px solid rgba(244, 236, 226, .1); min-width: 0; }
.track-item .st { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 236, 226, .8); }
.track-item h3 { font-family: var(--f-serif); font-weight: 500; font-size: 26px; line-height: 1.1; margin: 12px 0 8px; }
.track-item p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: rgba(244, 236, 226, .78); }
.track-item .next b { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #D9A441; margin-bottom: 2px; }
.track-item .by { font-size: 13px; color: rgba(244, 236, 226, .55); }
.track-empty { margin: 0; padding: 22px 24px; border-radius: var(--r-md); border: 1px dashed rgba(244, 236, 226, .22); color: rgba(244, 236, 226, .7); font-size: 15px; }
