:root {
  --violet: #360755;
  --violet-2: #4a1073;
  --violet-3: #22033a;
  --orange: #fd5406;
  --orange-ink: #c23c00;
  --bg: #ffffff;
  --surface: #ffffff;
  --mist: #f6f0fa;
  --line: #e8ddf0;
  --ink: #360755;
  --text: #3d2a55;
  --muted: #6b5a80;
  --logo-ink: #360755;
  --band: #360755;
  --on-band: #ffffff;
  --on-band-2: rgba(255, 255, 255, .76);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 22px 44px -28px rgba(54, 7, 85, .45);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1500px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) {
    --bg: #15051e;
    --surface: #1f0a2d;
    --mist: #230f33;
    --line: #3a1d52;
    --ink: #f5edfb;
    --text: #e4d7ee;
    --muted: #b9a6cd;
    --orange-ink: #ff8a52;
    --logo-ink: #ffffff;
    --band: #2c0747;
    --shadow: 0 22px 44px -28px rgba(0, 0, 0, .7);
  }
}

:root[data-theme="dark"] {
  --bg: #15051e;
  --surface: #1f0a2d;
  --mist: #230f33;
  --line: #3a1d52;
  --ink: #f5edfb;
  --text: #e4d7ee;
  --muted: #b9a6cd;
  --orange-ink: #ff8a52;
  --logo-ink: #ffffff;
  --band: #2c0747;
  --shadow: 0 22px 44px -28px rgba(0, 0, 0, .7);
}

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 90px);
  -webkit-text-size-adjust: 100%
}

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

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden
}

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

a {
  color: inherit;
  text-decoration: none
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit
}

button {
  cursor: pointer;
  background: none;
  border: 0
}

ul {
  list-style: none
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px)
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 300;
  background: var(--orange);
  color: var(--violet);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700
}

.skip:focus {
  top: calc(env(safe-area-inset-top, 0px) + 12px)
}

/* ---------- Logo ---------- */
.logo svg {
  height: 30px;
  width: auto;
  display: block
}

.lo {
  fill: var(--orange)
}

.lv {
  fill: var(--logo-ink)
}

.on-band .lv {
  fill: #fff
}

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-left: 60px;
  padding-right: 60px;
  transition: box-shadow .3s, background .3s
}

.hdr.scrolled {
  box-shadow: 0 10px 30px -22px rgba(54, 7, 85, .5)
}

.hdr-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  transition: height .3s var(--ease)
}

.hdr.scrolled .hdr-in {
  height: 66px
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav-list>li>a,
.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  border-radius: 10px
}

.nav-list>li>a::after,
.dd-btn::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 4px;
  border-radius: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease)
}

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

.dd {
  position: relative
}

.dd-btn svg {
  width: 12px;
  height: 12px;
  transition: transform .25s
}

.dd-btn[aria-expanded="true"] svg {
  transform: rotate(180deg)
}

.dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .25s var(--ease)
}

.dd-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none
}

.dd-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink)
}

.dd-menu a:hover,
.dd-menu a[aria-current="page"] {
  background: var(--mist);
  color: var(--orange-ink)
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px
}

.burger span {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--ink);
  transition: .3s var(--ease)
}

.burger span:nth-child(1),
.burger span:nth-child(3) {
  width: 20px
}

.burger span:nth-child(2) {
  width: 26px;
  background: var(--orange)
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  width: 24px
}

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

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  width: 24px
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
  white-space: nowrap
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--orange);
  color: #360755;
  box-shadow: 0 12px 26px -14px rgba(253, 84, 6, .8)
}

.btn-light {
  background: #fff;
  color: #360755
}

.btn-ghost {
  border: 1.5px solid currentColor;
  color: var(--ink)
}

.on-band .btn-ghost {
  color: #fff
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px
}

.link {
  font-weight: 700;
  color: var(--orange-ink);
  display: inline-flex;
  gap: 8px;
  align-items: center
}

.link:hover {
  text-decoration: underline;
  text-underline-offset: 4px
}

.on-band .link {
  color: #ffb28a
}

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #4a1073 0%, #2a0543 100%);
  color: rgba(255, 255, 255, .75)
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 22px, transparent 22px 44px)
}

.ph.o {
  background: linear-gradient(140deg, #fd5406 0%, #b93a00 100%)
}

.ph.m {
  background: linear-gradient(140deg, #e9dcf3 0%, #cdb5e2 100%);
  color: #4a1073
}

.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.ph .cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  z-index: 1
}

.ph .mk {
  position: absolute;
  right: -6%;
  top: 50%;
  width: 46%;
  max-width: 180px;
  transform: translateY(-50%);
  opacity: .18
}

.ph .mk .lo {
  fill: #fff
}

.ph .mk .lv {
  fill: #fff
}

.ph.o .mk .lo {
  fill: #360755
}

.ph.m .mk .lv {
  fill: #360755
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: 8px;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: min(84vh, 700px);
  background: var(--violet-3);
  color: #fff;
  isolation: isolate
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s
}

.slide.on {
  opacity: 1;
  visibility: visible
}

.slide .ph {
  position: absolute;
  inset: 0;
  transform: scale(1.08)
}

.slide.on .ph {
  animation: kb 9s linear forwards
}

@keyframes kb {
  from {
    transform: scale(1.08) translate(0, 0)
  }

  to {
    transform: scale(1.18) translate(-2%, -1%)
  }
}

.slide .ph .cap {
  left: auto;
  right: 24px;
  bottom: 22px;
  text-align: right;
  max-width: 240px
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(34, 3, 58, .94) 0%, rgba(34, 3, 58, .72) 45%, rgba(34, 3, 58, .1) 100%)
}

.slide-txt {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 80px);
  max-width: 760px
}

.slide-txt>* {
  opacity: 0;
  transform: translateY(26px)
}

.slide.on .slide-txt>* {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.slide.on .slide-txt>*:nth-child(2) {
  transition-delay: .12s
}

.slide.on .slide-txt>*:nth-child(3) {
  transition-delay: .24s
}

.slide.on .slide-txt>*:nth-child(4) {
  transition-delay: .36s
}

.kicker {
  font-weight: 600;
  font-size: 15px;
  color: #ffb28a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px
}

.kicker::before {
  content: "";
  width: 34px;
  height: 6px;
  border-radius: 6px;
  background: var(--orange)
}

.slide h1,
.slide h2 {
  color: #fff;
  font-size: clamp(34px, 5.6vw, 66px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em
}

.slide p {
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.6vw, 18.5px);
  margin: 22px 0 30px;
  max-width: 54ch
}

.slide .btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.hero-mark {
  position: absolute;
  right: clamp(-60px, -2vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(180px, 26vw, 340px);
  z-index: 1;
  pointer-events: none
}

.hero-mark path {
  fill: rgba(255, 255, 255, .1)
}

.hero-mark path.mid {
  fill: var(--orange);
  opacity: .95;
  transform: translateX(120%);
  animation: barIn 1.2s .35s var(--ease) forwards
}

@keyframes barIn {
  to {
    transform: none
  }
}

.dots {
  position: absolute;
  z-index: 3;
  left: clamp(32px, 6vw, 80px);
  bottom: 28px;
  display: flex;
  gap: 8px;
  align-items: center
}

.dots button {
  width: 28px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .3);
  position: relative;
  overflow: hidden;
  transition: width .4s var(--ease)
}

.dots button.on {
  width: 64px
}

.dots button.on i {
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform-origin: left;
  animation: fill 7s linear forwards
}

@keyframes fill {
  from {
    transform: scaleX(0)
  }

  to {
    transform: scaleX(1)
  }
}

.hero.paused .dots button.on i {
  animation-play-state: paused
}

/* ---------- Sections ---------- */
.sec {
  padding: clamp(64px, 9vw, 120px) 0
}

.sec.tight {
  padding-top: 0
}

.mist {
  background: var(--mist)
}

.h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.03em;
  max-width: 22ch
}

.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
  max-width: 60ch;
  margin-top: 16px
}

.eyebar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--orange-ink);
  margin-bottom: 14px;
  font-size: 15px
}

.eyebar::before {
  content: "";
  width: 28px;
  height: 6px;
  border-radius: 6px;
  background: var(--orange)
}

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center
}

.split .ph {
  aspect-ratio: 4/3.4;
  border-radius: var(--r-lg)
}

.prose p {
  margin-top: 16px;
  max-width: 62ch
}

.prose p:first-child {
  margin-top: 0
}

.prose strong {
  color: var(--ink)
}

/* Vision / mission */
.vm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.vm article {
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px
}

.vm .v {
  background: var(--band);
  color: var(--on-band-2)
}

.vm .v h3 {
  color: #fff
}

.vm .m {
  background: var(--orange);
  color: #360755
}

.vm .m h3 {
  color: #360755
}

.vm .lbl {
  font-weight: 600;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: center
}

.vm .lbl::before {
  content: "";
  width: 26px;
  height: 6px;
  border-radius: 6px;
  background: currentColor
}

.vm .v .lbl {
  color: #ffb28a
}

.vm h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em
}

.vm p {
  max-width: 48ch
}

.vm .m p {
  color: #3b0a58
}

.vm .foot {
  margin-top: auto;
  padding-top: 10px
}

.vm .m .link {
  color: #360755
}

/* Domaines */
.dom {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch
}

.dom-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line)
}

.dom-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--muted);
  transition: color .25s
}

.dom-btn .bar {
  flex: 0 0 auto;
  width: 14px;
  height: 8px;
  border-radius: 8px;
  background: var(--line);
  transition: width .45s var(--ease), background .3s
}

.dom-btn:hover {
  color: var(--ink)
}

.dom-btn[aria-selected="true"] {
  color: var(--ink)
}

.dom-btn[aria-selected="true"] .bar {
  width: 46px;
  background: var(--orange)
}

.dom-panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 380px;
  display: flex
}

.dom-panel .ph {
  position: absolute;
  inset: 0
}

.dom-panel .txt {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(0deg, rgba(34, 3, 58, .95), rgba(34, 3, 58, 0));
  width: 100%;
  color: #fff
}

.dom-panel h3 {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 8px
}

.dom-panel p {
  color: rgba(255, 255, 255, .85);
  max-width: 44ch
}

.dom-panel .txt>* {
  animation: up .6s var(--ease) both
}

@keyframes up {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.dom-desc-m {
  display: none
}

.dom-desc-m[hidden] {
  display: none !important
}

/* Approche (parcours) */
.path {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 48px;
  counter-reset: s
}

.path li {
  counter-increment: s
}

.path .n {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted)
}

.path .n::before {
  content: counter(s, decimal-leading-zero)
}

.path .track {
  height: 10px;
  border-radius: 10px;
  background: var(--line);
  margin: 12px 0 16px;
  overflow: hidden
}

.path .track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 10px;
  background: var(--violet)
}

.path li:nth-child(even) .track i {
  background: var(--orange)
}

.path.in .track i {
  width: 100%;
  transition: width .7s var(--ease)
}

.path.in li:nth-child(2) .track i {
  transition-delay: .25s
}

.path.in li:nth-child(3) .track i {
  transition-delay: .5s
}

.path.in li:nth-child(4) .track i {
  transition-delay: .75s
}

.path.in li:nth-child(5) .track i {
  transition-delay: 1s
}

.path.in li:nth-child(6) .track i {
  transition-delay: 1.25s
}

.path h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3
}

:root .band .path .track {
  background: rgba(255, 255, 255, .15)
}

.band .path .track i {
  background: #fff
}

.band .path li:nth-child(even) .track i {
  background: var(--orange)
}

.band .path h4 {
  color: #fff
}

.band .path .n {
  color: rgba(255, 255, 255, .6)
}

.band {
  background: var(--band);
  color: var(--on-band-2)
}

.band h2,
.band h3 {
  color: #fff
}

.band .lead {
  color: var(--on-band-2)
}

.band .eyebar {
  color: #ffb28a
}

/* Programmes rail */
.rail-wrap {
  position: relative
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 31%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent
}

.prog {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s
}

.prog:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.prog .ph {
  aspect-ratio: 16/10
}

.prog .ph .nm {
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  z-index: 1;
  color: #fff
}

.prog .ph.m .nm {
  color: #360755
}

.prog .ph.o .nm {
  color: #360755
}

.prog .b {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1
}

.prog h3 {
  font-size: 17px;
  line-height: 1.35
}

.prog p {
  font-size: 14.5px;
  color: var(--muted)
}

.prog .link {
  margin-top: auto;
  font-size: 14.5px
}

.rail-ctrl {
  display: flex;
  gap: 10px
}

.rail-ctrl button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: .2s
}

.rail-ctrl button:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink)
}

.rail-ctrl svg {
  width: 18px;
  height: 18px
}

/* Events */
.ev-list {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.ev {
  display: grid;
  grid-template-columns: 92px 1fr 160px;
  gap: 22px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color .25s, transform .3s var(--ease)
}

.ev:hover {
  border-color: var(--orange);
  transform: translateX(4px)
}

.cal {
  border-radius: 14px;
  background: var(--band);
  color: #fff;
  text-align: center;
  padding: 12px 6px;
  line-height: 1.1
}

.cal b {
  display: block;
  font-size: 30px;
  font-weight: 800
}

.cal span {
  font-size: 13px;
  font-weight: 600;
  color: #ffb28a;
  text-transform: lowercase
}

.ev.past .cal {
  background: var(--mist);
  color: var(--ink)
}

.ev.past .cal span {
  color: var(--muted)
}

.ev h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 4px
}

.ev .meta {
  font-size: 14px;
  color: var(--muted)
}

.ev p {
  font-size: 14.5px;
  margin-top: 6px
}

.ev .ph {
  aspect-ratio: 4/3;
  border-radius: 12px
}

.ev .ph .cap {
  font-size: 10.5px
}

/* News */
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow)
}

.card .ph {
  aspect-ratio: 16/10
}

.card .b {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1
}

.card .top {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted)
}

.tag {
  display: inline-block;
  background: var(--mist);
  color: var(--ink);
  font-weight: 600;
  font-size: 12.5px;
  padding: 4px 10px;
  border-radius: 999px
}

.card h3 {
  font-size: 18px;
  line-height: 1.35
}

.card p {
  font-size: 14.5px;
  color: var(--muted)
}

.card .link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14.5px
}

.demo {
  display: inline-block;
  border: 1.5px dashed var(--orange);
  color: var(--orange-ink);
  font-weight: 600;
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 999px
}

.todo {
  border-bottom: 2px dashed var(--orange);
  color: var(--muted);
  font-style: italic
}

.band .todo,
.ftr .todo {
  color: rgba(255, 255, 255, .7)
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px
}

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  transition: .2s;
  background: var(--surface)
}

.chip:hover {
  border-color: var(--ink)
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink)
}

.chip small {
  opacity: .65;
  margin-left: 4px
}

.empty {
  border: 1.5px dashed var(--line);
  border-radius: var(--r-lg);
  padding: 40px 28px;
  text-align: center;
  color: var(--muted)
}

.empty h3 {
  font-size: 19px;
  margin-bottom: 8px
}

.empty .btn {
  margin-top: 18px
}

/* Join */
.join {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.jp {
  position: relative;
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  transition: border-color .25s, transform .3s var(--ease);
  min-height: 210px
}

.jp:hover {
  transform: translateY(-4px);
  border-color: var(--orange)
}

.jp .bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px
}

.jp .bars i {
  display: block;
  height: 7px;
  border-radius: 7px;
  background: var(--line);
  width: 34px
}

.jp .bars i.hot {
  background: var(--orange);
  width: 44px
}

.jp h3 {
  font-size: 19px
}

.jp p {
  font-size: 14.5px;
  color: var(--muted)
}

.jp .link {
  margin-top: auto;
  font-size: 14.5px
}

.jp[aria-pressed="true"] {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 7%, var(--surface))
}

/* Partners */
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px
}

.logos div {
  aspect-ratio: 3/2;
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 8px
}

/* Page hero */
.phero {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  border-radius: var(--r-lg);
  background: var(--band);
  color: var(--on-band-2);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 72px)
}

.phero .crumbs {
  font-size: 14px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .65)
}

.phero .crumbs a:hover {
  color: #fff;
  text-decoration: underline
}

.phero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 18ch;
  position: relative;
  z-index: 1
}

.phero .lead {
  color: var(--on-band-2);
  position: relative;
  z-index: 1
}

.phero .deco {
  position: absolute;
  right: clamp(-40px, 2vw, 40px);
  bottom: -10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  opacity: .9
}

.phero .deco i {
  display: block;
  height: 26px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .08)
}

.phero .deco i:nth-child(1) {
  width: clamp(120px, 20vw, 260px)
}

.phero .deco i:nth-child(2) {
  width: clamp(150px, 25vw, 320px);
  background: var(--orange);
  transform: translateX(110%);
  animation: barIn 1s .2s var(--ease) forwards
}

.phero .deco i:nth-child(3) {
  width: clamp(120px, 20vw, 260px)
}

.phero>*:not(.deco) {
  animation: up .8s var(--ease) both
}

.phero h1 {
  animation-delay: .08s !important
}

.phero .lead {
  animation-delay: .16s !important
}

.phero .ph-tag {
  display: inline-flex;
  margin-bottom: 16px
}

.subnav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 28px 0 0
}

.subnav a {
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border: 1.5px solid var(--line)
}

.subnav a:hover {
  border-color: var(--ink)
}

.subnav a[aria-current="page"] {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink)
}

.statement {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  line-height: 1.2;
  max-width: 24ch
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px
}

.item {
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line)
}

.item .bar {
  display: block;
  width: 34px;
  height: 7px;
  border-radius: 7px;
  background: var(--orange);
  margin-bottom: 16px
}

.item:nth-child(3n+2) .bar {
  background: var(--violet)
}

:root[data-theme="dark"] .item:nth-child(3n+2) .bar {
  background: #cdb5e2
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) .item:nth-child(3n+2) .bar {
    background: #cdb5e2
  }
}

.item h3 {
  font-size: 19px;
  margin-bottom: 6px
}

.item p {
  font-size: 15px;
  color: var(--muted)
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  margin-top: 24px
}

.checks li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.checks li::before {
  content: "";
  flex: 0 0 18px;
  height: 6px;
  border-radius: 6px;
  background: var(--orange);
  transform: translateY(-3px)
}

.next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 28px 32px;
  border-radius: var(--r-lg);
  background: var(--mist)
}

.next span {
  color: var(--muted);
  font-size: 14px
}

.next b {
  display: block;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -.02em
}

/* Program detail */
.pd {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start
}

.pd .ph {
  aspect-ratio: 4/3;
  border-radius: var(--r-lg)
}

.pd h2 {
  font-size: 22px;
  margin: 36px 0 10px
}

.pd h2:first-child {
  margin-top: 0
}

.aside {
  position: sticky;
  top: 110px;
  border-radius: var(--r-lg);
  padding: 28px;
  background: var(--mist);
  display: flex;
  flex-direction: column;
  gap: 14px
}

.aside h3 {
  font-size: 20px
}

.aside p {
  font-size: 15px;
  color: var(--muted)
}

/* Article */
.art {
  max-width: 760px;
  margin: 0 auto
}

.art .ph {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  margin: 36px 0
}

.art .body p {
  font-size: 17.5px;
  line-height: 1.8;
  margin-top: 20px;
  max-width: 66ch
}

.share {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line)
}

.share b {
  color: var(--ink);
  margin-right: 6px
}

.share a,
.share button {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink)
}

.share a:hover,
.share button:hover {
  border-color: var(--ink)
}

/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.pers .ph {
  aspect-ratio: 1/1.1;
  border-radius: var(--r-lg)
}

.pers .ini {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -.04em;
  z-index: 1
}

.pers h3 {
  font-size: 19px;
  margin-top: 16px
}

.pers .role {
  color: var(--orange-ink);
  font-weight: 600;
  font-size: 14.5px
}

.pers p {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 8px
}

/* Forms */
.form-card {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow)
}

.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px
}

.fgrid .full {
  grid-column: 1/-1
}

.field label,
.field legend {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px
}

.field .opt {
  color: var(--muted);
  font-weight: 400
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 15.5px;
  transition: border-color .2s, box-shadow .2s
}

.field textarea {
  resize: vertical;
  min-height: 110px
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 18%, transparent)
}

.field.bad input,
.field.bad select,
.field.bad textarea {
  border-color: #d4183a
}

.field .err {
  display: none;
  color: #d4183a;
  font-size: 13.5px;
  margin-top: 6px;
  font-weight: 500
}

:root[data-theme="dark"] .field .err {
  color: #ff7d93
}

@media (prefers-color-scheme:dark) {
  :root:not([data-theme="light"]) .field .err {
    color: #ff7d93
  }
}

.field.bad .err {
  display: block
}

fieldset.field {
  border: 0
}

.pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.pick label {
  margin: 0;
  display: inline-flex
}

.pick input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px
}

.pick span {
  padding: 9px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: .2s;
  color: var(--ink)
}

.pick input:checked+span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink)
}

.pick input:focus-visible+span {
  outline: 3px solid var(--orange);
  outline-offset: 2px
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text)
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--orange);
  flex: 0 0 auto
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px
}

.note {
  font-size: 13px;
  color: var(--muted)
}

.done {
  text-align: center;
  padding: 24px 8px
}

.done .ok {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  animation: pop .5s var(--ease)
}

@keyframes pop {
  from {
    transform: scale(.4);
    opacity: 0
  }
}

.done .ok svg {
  width: 30px;
  height: 30px;
  stroke: #360755
}

.done h3 {
  font-size: 24px;
  margin-bottom: 8px
}

.done p {
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start
}

.coords {
  border-radius: var(--r-lg);
  background: var(--band);
  color: var(--on-band-2);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.coords h3 {
  color: #fff;
  font-size: 22px
}

.coords dt {
  font-size: 13px;
  color: #ffb28a;
  font-weight: 600
}

.coords dd {
  color: #fff;
  font-weight: 500
}

.coords dd a:hover {
  text-decoration: underline
}

.soc {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.soc a {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff
}

.soc a:hover {
  background: var(--orange);
  color: #360755
}

/* Footer */
.ftr {
  margin-top: clamp(64px, 8vw, 110px);
  background: var(--band);
  color: var(--on-band-2);
  border-radius: var(--r-lg) var(--r-lg) 0 0
}

.nl {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(40px, 6vw, 64px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.nl h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px)
}

.nl p {
  margin-top: 8px
}

.nl form {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 10px
}

.nl input {
  padding: 14px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 15px
}

.nl input::placeholder {
  color: rgba(255, 255, 255, .55)
}

.nl input:focus {
  outline: none;
  border-color: var(--orange)
}

.nl .msg {
  grid-column: 1/-1;
  font-size: 14px;
  color: #ffb28a;
  min-height: 1em
}

.fcols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: clamp(40px, 6vw, 60px) 0
}

.fcols .tagl {
  color: #fff;
  font-weight: 600;
  margin: 18px 0 10px;
  font-size: 15px
}

.fcols p {
  font-size: 14px;
  max-width: 34ch
}

.fcols h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px
}

.fcols li {
  margin-bottom: 9px;
  font-size: 14.5px
}

.fcols a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px
}

.legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .6)
}

.legal a:hover {
  color: #fff
}

/* WhatsApp */
.wa {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease)
}

.wa:hover {
  transform: scale(1.08)
}

.wa svg {
  width: 30px;
  height: 30px;
  fill: #0b3d1f
}

/* Wipe transition */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr
}

.wipe span {
  display: block;
  background: var(--violet);
  transform: translateX(-101%)
}

.wipe span:nth-child(2) {
  background: var(--orange)
}

.wipe.in {
  pointer-events: auto
}

.wipe.in span {
  transform: none;
  transition: transform .45s var(--ease)
}

.wipe.in span:nth-child(2) {
  transition-delay: .06s
}

.wipe.in span:nth-child(3) {
  transition-delay: .12s
}

.wipe.out span {
  transform: translateX(101%);
  transition: transform .5s var(--ease)
}

.wipe.out span:nth-child(2) {
  transition-delay: .06s
}

.wipe.out span:nth-child(3) {
  transition-delay: .12s
}

/* Reveal */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.rv.in {
  opacity: 1;
  transform: none
}

.rv.d1 {
  transition-delay: .1s
}

.rv.d2 {
  transition-delay: .2s
}

.rv.d3 {
  transition-delay: .3s
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, calc(100% + 60px));
  visibility: hidden;
  z-index: 260;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 20px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease);
  max-width: calc(100vw - 32px)
}

.toast.on {
  transform: translate(-50%, 0);
  visibility: visible
}

.toast a {
  text-decoration: underline;
  margin-left: 8px;
  color: inherit
}

/* Admin */
.adm {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start
}

.adm-nav {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: var(--r-md);
  background: var(--mist)
}

.adm-nav button {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center
}

.adm-nav button[aria-selected="true"] {
  background: var(--surface);
  box-shadow: 0 6px 16px -10px rgba(54, 7, 85, .4)
}

.adm-nav .cnt {
  font-size: 12px;
  background: var(--orange);
  color: #360755;
  border-radius: 999px;
  padding: 1px 8px
}

.banner {
  border: 1.5px dashed var(--orange);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 22px;
  color: var(--text)
}

.composer {
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden
}

.cp-top {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 20px 22px 0
}

.av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--violet);
  display: grid;
  place-items: center;
  flex: 0 0 auto
}

.av svg {
  width: 20px
}

.av .lv {
  fill: #fff
}

.cp-type {
  display: flex;
  gap: 6px
}

.cp-body {
  padding: 16px 22px 8px
}

.cp-body .ttl {
  width: 100%;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  padding: 10px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  background: transparent
}

.cp-body .ttl:focus {
  outline: none;
  border-color: var(--orange)
}

.cp-body textarea {
  width: 100%;
  border: 0;
  min-height: 130px;
  padding: 14px 0;
  font-size: 17px;
  resize: vertical;
  background: transparent
}

.cp-body textarea:focus {
  outline: none
}

.cp-prev {
  position: relative;
  margin: 0 22px 12px;
  border-radius: 14px;
  overflow: hidden;
  display: none
}

.cp-prev.on {
  display: block
}

.cp-prev img {
  width: 100%;
  max-height: 340px;
  object-fit: cover
}

.cp-prev button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  font-size: 18px
}

.cp-extra {
  padding: 0 22px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

.cp-extra .field label {
  font-size: 13px
}

.cp-extra .field input,
.cp-extra .field select {
  padding: 10px 12px;
  font-size: 14.5px
}

.cp-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  background: var(--mist)
}

.cp-add {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.cp-add label,
.cp-add button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink)
}

.cp-add label:hover,
.cp-add button:hover {
  background: var(--surface)
}

.cp-add svg {
  width: 20px;
  height: 20px
}

.cp-act {
  display: flex;
  gap: 8px
}

.plist {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.prow {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface)
}

.prow .ph {
  width: 72px;
  height: 56px;
  border-radius: 10px
}

.prow .ph .cap {
  display: none
}

.prow h4 {
  font-size: 15.5px;
  line-height: 1.3
}

.prow .meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center
}

.st {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink)
}

.st.draft {
  background: transparent;
  border: 1.5px dashed var(--muted)
}

.prow .acts {
  display: flex;
  gap: 6px
}

.prow .acts button,
.prow .acts a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--line)
}

.prow .acts button:hover,
.prow .acts a:hover {
  border-color: var(--ink)
}

.prow .acts .del:hover {
  border-color: #d4183a;
  color: #d4183a
}

.inbox .prow {
  grid-template-columns: 1fr auto
}

.inbox dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  font-size: 13.5px;
  margin-top: 8px
}

.inbox dt {
  color: var(--muted)
}

.inbox dd {
  color: var(--text);
  word-break: break-word
}

/* Mentions */
.dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px 24px;
  margin-top: 24px
}

.dl dt {
  font-weight: 600;
  color: var(--ink)
}

/* ---------- Responsive ---------- */
@media (max-width:1120px) {
  .burger {
    display: flex
  }

  .nav {
    position: fixed;
    inset: 0;
    top: calc(66px + env(safe-area-inset-top, 0px));
    background: var(--bg);
    padding: 24px clamp(16px, 4vw, 32px) calc(40px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .3s var(--ease)
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none
  }

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

  .nav-list>li {
    border-bottom: 1px solid var(--line)
  }

  .nav-list>li>a,
  .dd-btn {
    font-size: 22px;
    padding: 16px 4px;
    width: 100%;
    justify-content: space-between
  }

  .nav-list>li>a::after,
  .dd-btn::after {
    display: none
  }

  .nav-list>li>a[aria-current="page"],
  .dd-btn.current {
    color: var(--orange-ink)
  }

  .dd-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 12px 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent
  }

  .dd-menu.open {
    display: block
  }

  .dd-menu a {
    font-size: 17px
  }

  .nav.open .nav-list>li {
    animation: up .45s var(--ease) both
  }

  .nav.open .nav-list>li:nth-child(2) {
    animation-delay: .04s
  }

  .nav.open .nav-list>li:nth-child(3) {
    animation-delay: .08s
  }

  .nav.open .nav-list>li:nth-child(4) {
    animation-delay: .12s
  }

  .nav.open .nav-list>li:nth-child(5) {
    animation-delay: .16s
  }

  .nav.open .nav-list>li:nth-child(6) {
    animation-delay: .2s
  }

  .nav.open .nav-list>li:nth-child(7) {
    animation-delay: .24s
  }

  body.lock {
    overflow: hidden
  }

  .hdr-in,
  .hdr.scrolled .hdr-in {
    height: 66px
  }

  .fcols {
    grid-template-columns: 1fr 1fr 1fr
  }

  .fcols>div:first-child {
    grid-column: 1/-1
  }
}

@media (max-width:960px) {

  .split,
  .dom,
  .pd,
  .contact,
  .nl {
    grid-template-columns: 1fr
  }

  .vm {
    grid-template-columns: 1fr
  }

  .news,
  .team,
  .grid-3 {
    grid-template-columns: 1fr 1fr
  }

  .join {
    grid-template-columns: 1fr 1fr
  }

  .logos {
    grid-template-columns: repeat(3, 1fr)
  }

  .path {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px
  }

  .rail {
    grid-auto-columns: minmax(260px, 46%)
  }

  .ev {
    grid-template-columns: 80px 1fr
  }

  .ev .ph {
    display: none
  }

  .aside {
    position: static
  }

  .adm {
    grid-template-columns: 1fr
  }

  .adm-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto
  }

  .dom-panel {
    display: none
  }

  .dom-desc-m {
    display: block;
    font-size: 15px;
    color: var(--muted);
    font-weight: 400;
    padding: 0 0 18px 64px
  }

  .dom-btn[aria-selected="true"] {
    border-bottom: 0
  }
}

@media (max-width:640px) {

  .news,
  .team,
  .grid-3,
  .grid-2,
  .join,
  .checks,
  .fgrid,
  .cp-extra {
    grid-template-columns: 1fr
  }

  .path {
    grid-template-columns: 1fr 1fr
  }

  .rail {
    grid-auto-columns: 84%
  }

  .nl form {
    grid-template-columns: 1fr
  }

  .fcols {
    grid-template-columns: 1fr 1fr
  }

  .hero {
    min-height: 620px
  }

  .slide::after {
    background: linear-gradient(0deg, rgba(34, 3, 58, .96) 0%, rgba(34, 3, 58, .75) 55%, rgba(34, 3, 58, .35) 100%)
  }

  .slide-txt {
    justify-content: flex-end;
    padding-bottom: 80px
  }

  .hero-mark {
    top: 18%;
    width: 150px
  }

  .head-row {
    margin-bottom: 28px
  }

  .prow {
    grid-template-columns: 56px 1fr
  }

  .prow .ph {
    width: 56px;
    height: 48px
  }

  .prow .acts {
    grid-column: 1/-1
  }

  .dl {
    grid-template-columns: 1fr;
    gap: 4px
  }

  .dl dd {
    margin-bottom: 12px
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

  .rv {
    opacity: 1;
    transform: none
  }

  .slide.on .ph {
    animation: none
  }
}

/* ---------- Ajouts version finale ---------- */
.slide .ph .cap {
  display: none
}

.ph img {
  z-index: 1
}

.arrive .wipe span {
  transform: none;
  animation: wOut .55s var(--ease) .05s forwards
}

.arrive .wipe span:nth-child(2) {
  animation-delay: .11s
}

.arrive .wipe span:nth-child(3) {
  animation-delay: .17s
}

@keyframes wOut {
  to {
    transform: translateX(101%)
  }
}

.form-msg {
  grid-column: 1/-1;
  font-size: 14.5px;
  font-weight: 500;
  color: #d4183a;
  min-height: 0
}

.btn[disabled] {
  opacity: .6;
  pointer-events: none
}

.hp {
  position: absolute;
  left: -9999px
}

@media (prefers-reduced-motion:reduce) {
  .arrive .wipe span {
    animation: none;
    transform: translateX(101%)
  }
}

.dom-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column
}

.dom-slide[hidden] {
  display: none
}

.dom-slide .txt>* {
  animation: up .6s var(--ease) both
}

[data-hide-empty].is-empty {
  display: none
}

/* ---------- Blog ---------- */
.blog-tools {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px
}

.blog-tools .chips {
  margin-bottom: 0
}

.search {
  position: relative;
  max-width: 520px
}

.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted)
}

.search input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 15.5px;
  color: var(--ink)
}

.search input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 18%, transparent)
}

.feat {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 22px;
  transition: transform .35s var(--ease), box-shadow .35s
}

.feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.feat .ph {
  min-height: 320px;
  height: 100%
}

.feat .b {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center
}

.feat .une {
  font-weight: 700;
  font-size: 13px;
  color: var(--orange-ink);
  display: flex;
  gap: 10px;
  align-items: center
}

.feat .une::before {
  content: "";
  width: 24px;
  height: 6px;
  border-radius: 6px;
  background: var(--orange)
}

.feat h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.03em
}

.feat p {
  color: var(--muted)
}

.card .meta2,
.feat .meta2 {
  font-size: 13px;
  color: var(--muted)
}

.more-wrap {
  text-align: center;
  margin-top: 36px
}

.art .byline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 18px
}

.art .byline b {
  color: var(--ink);
  font-weight: 600
}

.art .body h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 44px
}

.art .body h3 {
  font-size: 20px;
  margin-top: 32px
}

.art .body ul,
.art .body ol {
  margin: 18px 0 0 1.3em;
  font-size: 17.5px;
  line-height: 1.8;
  max-width: 66ch
}

.art .body ul {
  list-style: disc
}

.art .body li {
  margin-top: 6px
}

.art .body li::marker {
  color: var(--orange)
}

.art .body blockquote {
  margin: 28px 0;
  padding: 6px 0 6px 22px;
  border-left: 6px solid var(--orange);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink)
}

.art .body blockquote p {
  font-size: inherit;
  margin: 0
}

.art .body img {
  border-radius: var(--r-md);
  margin: 28px 0;
  width: 100%;
  height: auto
}

.art .body a {
  color: var(--orange-ink);
  text-decoration: underline;
  text-underline-offset: 3px
}

.art .body strong {
  color: var(--ink)
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--orange);
  z-index: 120;
  width: 0;
  transform-origin: left
}

@media (max-width:760px) {
  .feat {
    grid-template-columns: 1fr
  }

  .feat .ph {
    min-height: 200px
  }
}

/* ---------- Programmes (fiches) ---------- */
.prog .tags,
.prog-body .tags {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--orange-ink);
  letter-spacing: .01em
}

.prog .ph .stt {
  position: absolute;
  right: 12px;
  top: 14px;
  z-index: 2;
  background: #fff;
  color: #360755;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px
}

.stt-i {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  margin-left: 6px
}

.path .pd {
  font-size: 13.5px;
  margin-top: 6px;
  opacity: .85;
  line-height: 1.5
}

.band .path .pd {
  color: rgba(255, 255, 255, .78)
}

.tbl-glance {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface)
}

.tbl-glance table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px
}

.tbl-glance th {
  background: var(--mist);
  color: var(--ink);
  text-align: left;
  padding: 12px 14px;
  font-size: 13px
}

.tbl-glance td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top
}

.prog-body h2 {
  font-size: 22px;
  margin: 32px 0 10px
}

.prog-body .prose p {
  font-size: 17px;
  line-height: 1.75
}