@font-face {
  font-family: "Kufam";
  src: url("../fonts/kufam.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DicotLight";
  src: url("../fonts/dicotlight.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Maven Pro";
  src: url("../fonts/maven-pro-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

@media (min-width: 721px) {
  html {
    zoom: 0.9;
  }
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.reveal-anim {
  animation-duration: 1.75s;
  animation-timing-function: cubic-bezier(0.16, 0.7, 0.28, 1);
  animation-fill-mode: both;
}

.reveal-up {
  animation-name: reveal-up;
}

.reveal-left {
  animation-name: reveal-left;
}

.reveal-fade {
  animation-name: reveal-fade;
  animation-duration: 2s;
}

.reveal-photo {
  animation-name: reveal-photo;
  animation-duration: 1.9s;
}

@keyframes reveal-photo {
  from {
    opacity: 1;
    translate: -70% 0;
  }

  to {
    opacity: 1;
    translate: none;
  }
}

@keyframes reveal-up {
  from {
    opacity: 0;
    translate: 0 56px;
  }

  to {
    opacity: 1;
    translate: none;
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    translate: -64px 0;
  }

  to {
    opacity: 1;
    translate: none;
  }
}

@keyframes reveal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Kufam", sans-serif;
  background: #eef3f8;
  color: #1c1a53;
}

/* Compense html { zoom: 0.9 } pour coller le footer au bas du viewport */
@media (min-width: 721px) {
  body {
    min-height: calc(100dvh / 0.9);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: #ffffff;
  background: transparent;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 20, 56, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 0;
  padding: 9px clamp(16px, 2.4vw, 36px);
}

.header-logo {
  display: flex;
  flex: 0 0 auto;
  order: 1;
}

.header-logo img {
  display: block;
  width: clamp(78px, 6.7vw, 100px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  animation: logo-intro 2.4s ease-in-out 0.5s;
}

@keyframes logo-intro {
  from {
    rotate: 0deg;
  }

  22%,
  42% {
    rotate: -8deg;
  }

  72% {
    rotate: 16deg;
  }

  to {
    rotate: 0deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-logo img {
    animation: none;
  }
}

.header-panel,
.header-end {
  display: contents;
}

.header-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: clamp(36px, 4.4vw, 88px);
}

.header-nav a {
  color: #ffffff;
  font-family: "DicotLight", sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  opacity: 0.72;
}

.nav-item.has-submenu {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 6;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(16, 20, 56, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(8, 10, 40, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item.has-submenu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.nav-item.has-submenu:hover .nav-submenu,
.nav-item.has-submenu:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  white-space: normal;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible,
.nav-submenu a.is-current {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.nav-submenu a.is-current::after,
.nav-submenu a[aria-current="page"]::after {
  display: none;
}

.header-social {
  order: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-social a {
  display: flex;
  line-height: 0;
}

.header-social img,
.lang-current img,
.lang-menu img {
  display: block;
  width: clamp(26px, 1.9vw, 32px);
  height: clamp(26px, 1.9vw, 32px);
  object-fit: contain;
}

.header-social a:hover,
.header-social a:focus-visible {
  opacity: 0.72;
}

.lang-switch {
  position: relative;
  order: 3;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.lang-current,
.lang-menu button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
}

.lang-chevron {
  width: 11px;
  height: 8px;
  margin-left: 2px;
}

.lang-switch.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 118px;
  background: rgba(16, 20, 56, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 10px;
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  width: 100%;
  justify-content: flex-start;
  padding: 8px 10px;
  border-radius: 7px;
}

.lang-menu button[aria-selected="true"],
.lang-menu button:hover,
.lang-menu button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  container-type: size;
  color: #ffffff;
  background: #10122e;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  z-index: 0;
  pointer-events: none;
}

.hero-video.is-front {
  z-index: 1;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(8, 12, 36, 0.18) 0%, rgba(8, 12, 36, 0) 42%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: max-content;
  max-width: calc(100% - 8vw);
  margin-left: 7vw;
  padding: 108px 0 140px;
}

.hero-brandblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  margin-left: 11vw;
}

.hero-kicker,
.hero-brand,
.hero-title {
  margin: 0;
}

.hero-kicker,
.hero-brand {
  white-space: nowrap;
}

.hero-kicker {
  color: #e8e8ec;
  font-family: "DicotLight", sans-serif;
  font-size: clamp(0.95rem, 1.45vw, 1.55rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.045em;
  line-height: 1;
}

.hero-brand {
  margin-top: 0.17em;
  color: #ffffff;
  font-family: "Maven Pro", sans-serif;
  font-size: clamp(1.85rem, 2.85vw, 3.05rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.9;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-top: 0.82em;
  color: #ffffff;
  font-size: clamp(2.7rem, 7.15vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.79;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-partners {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  padding: 8px 0 26px;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.hero-partners-track {
  display: flex;
  width: max-content;
  animation: hero-marquee 32s linear infinite;
}

.hero-partners:hover .hero-partners-track {
  animation-play-state: paused;
}

.hero-partners-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(40px, 11.2vw, 220px);
  margin: 0;
  padding: 0 clamp(40px, 11.2vw, 220px) 0 0;
  list-style: none;
}

.hero-partners img {
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.hero-partners .partner-logo-1 { height: 10.5cqh; }
.hero-partners .partner-logo-2 { height: 7.4cqh; }
.hero-partners .partner-logo-3 { height: 6.7cqh; }
.hero-partners .partner-logo-4 { height: 6cqh; }
.hero-partners .partner-logo-5 { height: 10.8cqh; }

@keyframes hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1120px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 92px;
    gap: 8px 14px;
    padding: 12px clamp(14px, 3.5vw, 28px);
  }

  .site-header.is-open .header-inner {
    /* Pas d’espace vertical : le panneau reste collé à la barre header. */
    row-gap: 0;
  }

  .header-logo img,
  .header-logo .custom-logo {
    width: 84px;
    max-width: 84px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .header-end {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 2;
    margin-left: auto;
  }

  .lang-switch {
    order: 0;
    margin-left: 0;
    gap: 8px;
  }

  .lang-current {
    min-height: 44px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    gap: 6px;
  }

  .nav-toggle span {
    width: 26px;
    height: 2.5px;
  }

  .header-panel {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    order: 3;
    margin: 0;
    padding: 8px 4px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.is-open .header-panel {
    display: flex;
  }

  /* Au repos : transparent. Au scroll / menu ouvert : barre perceptible. */
  .site-header:not(.is-scrolled):not(.is-open) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-scrolled {
    background: rgba(16, 20, 56, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .site-header.is-open {
    background: rgba(16, 20, 56, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  /* Pages claires sans bannière : icônes foncées tant qu’on n’a pas scrollé. */
  .page-news:not(.has-news-hero) .site-header:not(.is-scrolled):not(.is-open) .lang-current,
  .page-news-all .site-header:not(.is-scrolled):not(.is-open) .lang-current,
  .page-article .site-header:not(.is-scrolled):not(.is-open) .lang-current,
  .page-event-detail .site-header:not(.is-scrolled):not(.is-open) .lang-current {
    color: #1c1a53;
  }

  .page-news:not(.has-news-hero) .site-header:not(.is-scrolled):not(.is-open) .nav-toggle span,
  .page-news-all .site-header:not(.is-scrolled):not(.is-open) .nav-toggle span,
  .page-article .site-header:not(.is-scrolled):not(.is-open) .nav-toggle span,
  .page-event-detail .site-header:not(.is-scrolled):not(.is-open) .nav-toggle span {
    background: #1c1a53;
  }

  .page-news:not(.has-news-hero) .site-header:not(.is-scrolled):not(.is-open) .header-social img,
  .page-news-all .site-header:not(.is-scrolled):not(.is-open) .header-social img,
  .page-article .site-header:not(.is-scrolled):not(.is-open) .header-social img,
  .page-event-detail .site-header:not(.is-scrolled):not(.is-open) .header-social img {
    filter: brightness(0);
  }

  .hero-video {
    object-fit: cover;
    object-position: right center;
  }

  .header-nav {
    position: static;
    transform: none;
    order: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .header-nav > a,
  .header-nav .nav-item > a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 1.05rem;
  }

  .nav-item.has-submenu {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav-item.has-submenu > a {
    border-bottom: 0;
  }

  .nav-item.has-submenu::after {
    display: none;
  }

  .nav-submenu {
    position: static;
    left: auto;
    top: auto;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 6px 12px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-submenu a {
    padding: 10px 0;
    border-radius: 0;
    font-size: 0.98rem;
    opacity: 0.88;
  }

  .nav-submenu a.is-current,
  .nav-submenu a[aria-current="page"] {
    opacity: 1;
    font-weight: 600;
  }

  .header-social {
    order: 0;
    margin-top: 16px;
    gap: 16px;
  }

  .hero {
    min-height: 100dvh;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(8, 12, 36, 0.2) 0%, rgba(8, 12, 36, 0.38) 48%, rgba(8, 12, 36, 0.16) 100%);
  }

  .hero-content {
    margin-left: 6vw;
    padding: 96px 0 118px;
  }

  .hero-brandblock {
    margin-left: 4vw;
  }

  .hero-title {
    font-size: clamp(2.15rem, 11.5vw, 4.4rem);
  }

  .hero-partners {
    padding-bottom: 18px;
  }

  .hero-partners-group {
    gap: clamp(28px, 9vw, 72px);
    padding-right: clamp(28px, 9vw, 72px);
  }
}

@media (min-width: 721px) {
  .hero {
    height: calc(100dvh / 0.9);
    min-height: calc(100dvh / 0.9);
  }
}

@media (max-width: 420px) {
  .header-social img,
  .lang-current img,
  .lang-menu img {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-partners-track {
    animation: none;
  }

  .hero-partners-group[aria-hidden="true"] {
    display: none;
  }
}

.page {
  flex: 1 0 auto;
  background-color: #e7fbff;
}

.parcours {
  background-color: transparent;
  background-image: url("../assets/background-1.jpg");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: min(880px, 72vw) auto;
  padding: 52px 0 28px;
}

.parcours-inner {
  container-type: inline-size;
  width: min(1440px, calc(100% - clamp(28px, 7vw, 112px)));
  margin: 0 auto;
}

.parcours-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22em;
  margin: 0 0 0.55em;
  font-size: clamp(2rem, 4.9cqw, 4.4rem);
}

/* Pastilles rouges : rectangle incliné, texte droit (comme .locate-nous) */
.parcours-nos,
.partners-nos,
.track-badge,
.vie-badge,
.about-qui,
.about-values-les,
.programs-nos {
  position: relative;
  z-index: 0;
  background: transparent;
  transform: none;
  --defitech-plate: #fe0002;
}

.parcours-nos::before,
.partners-nos::before,
.track-badge::before,
.vie-badge::before,
.about-qui::before,
.about-values-les::before,
.programs-nos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--defitech-plate);
  transform: rotate(-8deg);
  pointer-events: none;
}

.partners-nos {
  --defitech-plate: #fc0014;
}

.parcours-nos {
  display: inline-block;
  color: #ffffff;
  font-size: clamp(1.75rem, 4.2cqw, 3.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  padding: 0.22em 0.28em 0.26em;
  border-radius: 0;
}

.parcours-word {
  color: #333399;
  font-size: clamp(2rem, 4.9cqw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.parcours-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  align-items: stretch;
}

.track {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.track-shape {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  color: #ffffff;
  clip-path: polygon(
    6cqw 0,
    100% 0,
    100% calc(100% - 12.7cqw),
    calc(100% - 15cqw) 100%,
    4.8cqw 100%,
    4.8cqw calc(100% - 5.3cqw),
    0 calc(100% - 5.3cqw),
    0 6cqw
  );
}

.track-licence .track-shape {
  background: #1c1a53;
}

.track-evening .track-shape {
  background: #333399;
}

.track-master .track-shape {
  background: #8baad0;
}

.track-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3cqw;
  min-height: 28cqw;
  padding: 5.8cqw 4.2cqw 4.2cqw 5.8cqw;
}

.track-top h3 {
  margin: 0;
  font-size: clamp(1.4rem, 7.8cqw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
}

.track-top h3 span {
  display: block;
  margin-top: 4px;
  font-size: 0.72em;
  font-weight: 600;
}

.track-badge {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: clamp(1rem, 6cqw, 1.7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  padding: 8px 10px 9px;
  border-radius: 0;
}

.track-photo {
  display: block;
  width: 100%;
  height: 52cqw;
  object-fit: cover;
  object-position: center 18%;
}

.track-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 4.8cqw 4.8cqw 11cqw 5.3cqw;
}

.track-lead {
  margin: 0 0 0.9em;
  font-size: clamp(0.82rem, 3.6cqw, 1.05rem);
  font-weight: 400;
  line-height: 1.4;
}

.track-list {
  margin: 0 0 1.2em;
  padding: 0 0 0 1.05em;
  font-size: clamp(0.72rem, 3.15cqw, 0.95rem);
  font-weight: 600;
  line-height: 1.45;
}

.track-list li {
  margin: 0 0 3px;
}

.track-list li::marker {
  color: #fe0002;
}

.track-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 58%;
  min-height: 12.5cqw;
  padding: 0.55em 1em;
  border-radius: 4.1cqw;
  background: #fe0002;
  color: #ffffff;
  font-size: clamp(0.95rem, 3.2cqw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.track-more:hover {
  background: #ff2a2a;
}

@media (max-width: 980px) {
  .parcours-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .track-photo {
    height: 58cqw;
  }

  .track-list {
    font-size: 0.8rem;
  }
}

@media (max-width: 520px) {
  .parcours {
    padding: 36px 0 24px;
    background-size: min(520px, 130vw) auto;
  }

  .parcours-inner {
    width: min(100% - 24px, 1440px);
  }

  .track-top {
    min-height: 96px;
    padding: 18px 14px 14px 18px;
  }
}

.partners {
  background-color: #e7fbff;
  background-image:
    linear-gradient(to bottom, #e7fbff 0%, rgba(231, 251, 255, 0) 200px),
    linear-gradient(to top, #e7fbff 0%, rgba(231, 251, 255, 0.65) 70px, rgba(231, 251, 255, 0) 240px),
    url("../assets/background-2.jpg");
  background-repeat: no-repeat;
  background-position: center top, center bottom, center top;
  background-size: 100% 220px, 100% 280px, cover;
  padding: 36px 0 56px;
}

.partners-inner {
  container-type: inline-size;
  width: min(1440px, calc(100% - clamp(28px, 7vw, 112px)));
  margin: 0 auto;
}

.partners-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 36px;
  align-items: center;
}

.partners-title {
  display: flex;
  align-items: center;
  gap: 0.22em;
  margin: 0;
  font-size: clamp(2rem, 4.9cqw, 4.4rem);
}

.partners-nos {
  display: inline-block;
  color: #ffffff;
  font-size: clamp(1.75rem, 4.2cqw, 3.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  padding: 0.22em 0.28em 0.26em;
  border-radius: 0;
}

.partners-word {
  color: #2f2e8a;
  font-size: clamp(2rem, 4.9cqw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.partners-lead {
  margin: 0;
  max-width: 48%;
  justify-self: end;
  color: #1c2748;
  font-size: clamp(0.82rem, 1.25cqw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
}

.partners-marquee {
  margin: 26px 0 34px;
  padding: 16px 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee-track {
  display: flex;
  width: max-content;
  animation: hero-marquee 32s linear infinite;
}

.partners-marquee:hover .partners-marquee-track {
  animation-play-state: paused;
}

.partners-logos,
.partners-logos-group {
  list-style: none;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(36px, 6vw, 96px);
  margin: 0;
  padding: 0 clamp(36px, 6vw, 96px) 0 0;
  background: transparent;
  border-radius: 0;
}

.partners-logos li {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.partners-logos img {
  display: block;
  height: clamp(48px, 5.3cqw, 84px);
  width: auto;
  max-width: none;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee-track {
    animation: none;
  }

  .partners-logos-group[aria-hidden="true"] {
    display: none;
  }

  .partners-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partners-marquee-track {
    width: 100%;
    justify-content: center;
  }

  .partners-logos-group {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
    gap: 20px 28px;
  }
}

.director-wrap {
  position: relative;
  container-type: inline-size;
}

.director {
  display: grid;
  grid-template-columns: minmax(0, 33.7%) minmax(0, 1fr);
  align-items: stretch;
  aspect-ratio: 3964 / 2223;
  background: #1c1a53;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: url("../assets/director-shape-mask.png");
  mask-image: url("../assets/director-shape-mask.png");
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.director-media {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: #1c1a53;
}

.director-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  opacity: 1;
  mix-blend-mode: normal;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Entrée depuis la gauche — sans fondu (évite l’effet transparent / voile bleu). */
html.reveal-on .director-media:not(.is-revealed) {
  opacity: 1 !important;
  translate: -70% 0;
}

.director-copy {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 5.2% 5% 4.6% 3.8%;
}

.director-copy p {
  margin: 0 0 0.7em;
  font-size: clamp(0.9rem, 1.35cqw, 1.08rem);
  font-weight: 400;
  line-height: 1.45;
}

.director-author {
  margin-top: 14px;
  margin-bottom: 2px;
}

.director-motto {
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.director-copy .director-name {
  margin: 0;
  color: #e7fbff;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
}

.director-copy .director-role {
  margin: 4px 0 0;
  color: #9ec3ea;
  font-size: 0.98rem;
  font-weight: 500;
}

@media (max-width: 860px) {
  .partners-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .partners-lead {
    justify-self: start;
    max-width: none;
  }

  .partners-marquee {
    padding: 14px 0;
  }

  .partners-logos,
  .partners-logos-group {
    gap: clamp(28px, 8vw, 56px);
    padding-right: clamp(28px, 8vw, 56px);
  }

  .partners-logos img {
    height: 48px;
  }

  .director {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    min-height: 0;
  }

  .director-media {
    min-height: 260px;
    max-height: 320px;
  }

  /* Respire hors des zigzags ; bas assez profond pour le rôle. */
  .director-copy {
    width: 100%;
    padding: 32px 12% 58px;
    overflow: visible;
  }

  .director-copy .director-role {
    margin-top: 6px;
    padding-bottom: 4px;
  }
}

@media (max-width: 520px) {
  .partners {
    padding: 28px 0 36px;
  }

  .partners-inner {
    width: min(100% - 24px, 1440px);
  }

  .partners-logos img {
    height: 42px;
  }

  .director-copy {
    padding: 28px 13% 68px;
  }

  .director-copy p {
    font-size: 0.86rem;
  }

  .director-copy .director-name {
    font-size: clamp(1.05rem, 5.2vw, 1.35rem);
  }

  .director-copy .director-role {
    font-size: 0.92rem;
  }
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: #1c1a53;
  color: #ffffff;
}

.footer-inner {
  width: min(1440px, calc(100% - clamp(28px, 7vw, 112px)));
  margin: 0 auto;
  padding: 36px 0 48px;
  display: grid;
  grid-template-columns: 1.7fr 0.9fr 1.05fr 1.3fr;
  column-gap: 32px;
  align-items: start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  display: block;
}

.brand-kicker {
  display: block;
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.15;
  color: #e4e4f6;
}

.brand-name {
  display: block;
  margin: 0;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.footer-phones {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.35;
}

.footer-col h2 {
  margin: 36px 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  color: #7bb6eb;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.35;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.footer-list a:hover,
.footer-phones a:hover {
  color: #d5dcff;
}

.site-footer a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    width: min(720px, calc(100% - 40px));
    padding: 32px 0 36px;
  }

  .footer-brand,
  .footer-contacts {
    grid-column: 1 / -1;
  }

  .footer-col h2 {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 520px);
    padding: 28px 0 32px;
    row-gap: 4px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .brand-kicker {
    font-size: 0.92rem;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .footer-phones {
    margin-top: 18px;
    font-size: 0.95rem;
  }

  .footer-col h2 {
    margin: 18px 0 10px;
    font-size: 1.02rem;
  }

  .footer-list {
    font-size: 0.95rem;
    gap: 6px;
  }

  .footer-list a,
  .footer-phones a {
    display: inline-block;
    padding: 3px 0;
  }
}

.page-news {
  background: #e7fbff;
}

@media (min-width: 1121px) {
  .page-news:not(.has-news-hero) .site-header:not(.is-scrolled):not(.is-open) .header-nav a,
  .page-news:not(.has-news-hero) .site-header:not(.is-scrolled):not(.is-open) .lang-current {
    color: #1c1a53;
  }

  .page-news:not(.has-news-hero) .site-header:not(.is-scrolled):not(.is-open) .nav-toggle span {
    background: #1c1a53;
  }

  .page-news:not(.has-news-hero) .site-header:not(.is-scrolled):not(.is-open) .header-social img {
    filter: brightness(0);
  }
}

.page-news .page {
  padding-top: clamp(128px, 11vw, 164px);
}

.page-news.has-news-hero .page {
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

.page-news.has-news-hero .vie {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.news-hero {
  position: relative;
  container-type: inline-size;
  margin-bottom: clamp(36px, 4.5vw, 72px);
  background: #191949;
}

.news-hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.news-hero-people {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
}

.news-hero-copy {
  position: absolute;
  z-index: 1;
  left: 4.35%;
  top: calc(10.5cqw + clamp(26px, 3.5vw, 54px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
}

.news-hero-kicker,
.news-hero-brand,
.news-hero-title,
.news-hero-sub {
  margin: 0;
  color: #ffffff;
}

.news-hero-kicker,
.news-hero-sub {
  font-family: "DicotLight", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
}

.news-hero-kicker {
  font-size: 1.68cqw;
  letter-spacing: 0.012em;
}

.news-hero-brand {
  margin-top: 0.42cqw;
  font-family: "Maven Pro", sans-serif;
  font-size: 3.16cqw;
  font-weight: 900;
  letter-spacing: 0.012em;
  line-height: 0.9;
}

.news-hero-title {
  margin-top: 3.6cqw;
  font-family: "Kufam", sans-serif;
  font-size: 6.73cqw;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.8;
}

.news-hero-title span {
  display: block;
  white-space: nowrap;
}

.news-hero-sub {
  margin-top: 1.15cqw;
  font-size: 2.34cqw;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.news-blog,
.news-list,
.vie-top,
.vie-columns {
  width: min(1440px, calc(100% - clamp(28px, 7vw, 112px)));
  margin-left: auto;
  margin-right: auto;
}

.news-blog {
  margin-bottom: clamp(40px, 5vw, 72px);
}

.news-list {
  container-type: inline-size;
  margin-bottom: clamp(56px, 8cqw, 120px);
}

.news-list .news-grid {
  row-gap: clamp(28px, 4.5cqw, 64px);
}

.news-grid > p {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(8px, 1.2vw, 16px) 0;
  color: #1c1a53;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 500;
  line-height: 1.45;
}

.news-pages {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1cqw, 14px);
  margin: clamp(40px, 5.2cqw, 76px) 0 0;
}

.news-pages button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 2.45em;
  min-height: 2.45em;
  padding: 0 0.35em;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1c1a53;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.news-pages button.is-current {
  background: #fe0002;
  color: #ffffff;
}

.news-pages button:hover:not(:disabled):not(.is-current) {
  color: #fe0002;
}

.news-pages button:disabled {
  opacity: 0.32;
  cursor: default;
}

.news-pages .news-page-arrow {
  min-width: 2.1em;
  font-size: 1.35em;
  font-weight: 500;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(22px, 2.8vw, 42px);
  align-items: stretch;
}

.news-card {
  container-type: inline-size;
  min-width: 0;
}

.news-shape {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #333399;
  color: #ffffff;
  clip-path: polygon(
    6cqw 0,
    100% 0,
    100% calc(100% - 12.7cqw),
    calc(100% - 15cqw) 100%,
    4.8cqw 100%,
    4.8cqw calc(100% - 5.3cqw),
    0 calc(100% - 5.3cqw),
    0 6cqw
  );
}

.news-shape h3 {
  margin: 0;
  padding: 5.4cqw 5cqw 4.2cqw 7.2cqw;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.15rem, 5.2cqw, 1.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.news-shape img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.39 / 1;
  object-fit: cover;
  object-position: center 18%;
}

.news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 4.4cqw 6cqw 8.5cqw 6.6cqw;
}

.news-date {
  margin: 0 0 0.75em;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.78rem, 3.05cqw, 0.95rem);
  font-weight: 500;
  line-height: 1.3;
}

.news-body p:last-of-type {
  margin: 0 0 1.15em;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.82rem, 3.25cqw, 1rem);
  font-weight: 400;
  line-height: 1.38;
}

.news-more {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 8.8cqw;
  padding: 0.4em 1.45em;
  border-radius: 3.2cqw;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.88rem, 3cqw, 1.05rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.news-more:hover {
  background: #ff2a2a;
}

.news-all {
  margin: clamp(16px, 1.8vw, 26px) 0.4vw 0;
  text-align: right;
}

.news-all a {
  color: #0d0c73;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.news-all a:hover {
  color: #333399;
}

.vie-top {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(18px, 2.4vw, 40px);
  align-items: center;
}

.vie-kicker {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 18px);
  margin: 0;
  min-width: 0;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.7rem, 3.15vw, 3.05rem);
  font-weight: 700;
  line-height: 1;
  color: #333399;
}

.vie-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0.08em 0.06em 0 0;
  padding: 0.2em 0.34em 0.24em;
  border-radius: 0;
  color: #ffffff;
  font-size: 1.42em;
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.03em;
}

.vie-sep {
  flex: 0 0 auto;
  font-weight: 500;
  line-height: 0.8;
}

.vie-name {
  min-width: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vie-quote {
  margin: 0;
  padding: clamp(18px, 1.7vw, 28px) clamp(18px, 1.9vw, 34px);
  border-radius: clamp(16px, 1.35vw, 26px);
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.92rem, 1.12vw, 1.18rem);
  font-weight: 600;
  line-height: 1.42;
}

.vie-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 36px);
  align-items: start;
  margin-top: clamp(22px, 2.6vw, 42px);
}

.vie-card,
.vie-note {
  min-width: 0;
  padding: clamp(26px, 2.5vw, 42px) clamp(22px, 2.4vw, 42px);
}

.vie-card {
  border-radius: clamp(18px, 1.7vw, 32px);
  background: #1c1a53;
  color: #ffffff;
}

.vie-card h3,
.vie-note h3 {
  margin: 0 0 0.7em;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.12rem, 1.62vw, 1.72rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.vie-note h3 {
  color: #fe0002;
}

.vie-card p,
.vie-note p {
  margin: 0;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.86rem, 0.95vw, 1.02rem);
  font-weight: 500;
  line-height: 1.48;
}

.vie-note p {
  color: #1c1a53;
  font-weight: 600;
}

.vie-band {
  position: relative;
  margin-top: clamp(48px, 6.2vw, 96px);
  margin-bottom: 0;
  background: #0e0c35;
  flex: 1 0 auto;
}

/* Assure la visibilité du footer même si un ancien cache reveal l’avait masqué */
.site-footer,
.site-footer .footer-inner,
.site-footer .footer-inner > * {
  opacity: 1 !important;
}

.vie-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: block;
  width: 100%;
  height: clamp(40px, 3.75vw, 78px);
  /* Chevauche la bande pour supprimer le trait blanc sous-pixel de la vague */
  transform: translateY(calc(-100% + 2px));
  pointer-events: none;
}

.vie-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(14px, 3.7vw, 58px);
  width: min(1440px, calc(100% - clamp(28px, 7vw, 112px)));
  margin: 0 auto;
  padding: clamp(18px, 2.4vw, 40px) 0 clamp(48px, 10vw, 160px);
}

.vie-photo {
  position: relative;
  container-type: inline-size;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(18px, 1.8vw, 34px);
  aspect-ratio: 1.31 / 1;
  background: #16143a;
  cursor: zoom-in;
  color: inherit;
  font: inherit;
}

.vie-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.35s ease;
}

.vie-photo:hover img,
.vie-photo:focus-visible img {
  transform: scale(1.04);
}

.vie-photo:focus-visible {
  outline: 2px solid #fe0002;
  outline-offset: 3px;
}

.vie-photo-caption,
.vie-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20%;
  margin: 0;
  padding: 0 4%;
  background: rgba(14, 12, 53, 0.46);
  color: #ffffff;
  text-align: center;
  font-family: "Kufam", sans-serif;
  font-size: 5.1cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
}

/* Lightbox */
body.lightbox-open {
  overflow: hidden;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 28, 0.88);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(1100px, 100%);
}

.lightbox-figure {
  margin: 0;
  text-align: center;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(78vh, 860px);
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  background: #10122e;
}

.lightbox-caption {
  margin: 12px 0 0;
  color: #fff;
  font-family: "Kufam", sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  z-index: 2;
  width: 44px;
  height: 44px;
}

.lightbox-prev,
.lightbox-next {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  background: #fe0002;
}

@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-blog:not(.news-list) .news-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 460px);
    justify-self: center;
  }

  .vie-photos {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .vie-top,
  .vie-columns {
    grid-template-columns: 1fr;
  }

  .vie-kicker {
    font-size: clamp(1.7rem, 6.4vw, 2.6rem);
  }

  .vie-quote,
  .vie-card p,
  .vie-note p {
    font-size: 0.98rem;
  }

  .vie-card h3,
  .vie-note h3 {
    font-size: clamp(1.2rem, 3.4vw, 1.6rem);
  }
}

@media (max-width: 720px) {
  /*
   * Bannières mobile (hors home) — composition unifiée :
   * image plein cadre centrée, texte ancré en bas (jamais sous la nav).
   */
  .about-hero,
  .contact-hero,
  .event-hero,
  .news-hero,
  .programs-hero,
  .licence-hero {
    --banner-x: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 54dvh;
    height: 54dvh;
    max-height: 520px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
  }

  .about-hero::after,
  .contact-hero::after,
  .event-hero::after,
  .news-hero::after,
  .programs-hero::after,
  .licence-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: 62%;
    background: linear-gradient(
      to top,
      rgba(10, 12, 40, 0.82) 0%,
      rgba(10, 12, 40, 0.45) 42%,
      rgba(10, 12, 40, 0) 100%
    );
    pointer-events: none;
  }

  .about-hero-bg,
  .contact-hero-bg,
  .event-hero-bg,
  .news-hero-bg,
  .programs-hero-bg,
  .licence-hero-bg,
  .about-hero-building,
  .about-hero-person,
  .contact-hero-people,
  .event-hero-people,
  .news-hero-people,
  .licence-hero-person,
  .licence-hero-person-cut {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    transform: none;
    pointer-events: none;
  }

  /* Recadrages pour garder les visages / sujets bien visibles. */
  .about-hero-building,
  .about-hero-person {
    object-position: 58% 28%;
  }

  .contact-hero-people {
    object-position: 72% 22%;
  }

  .news-hero-people {
    object-position: 55% 24%;
  }

  .event-hero-people {
    object-position: 78% 22%;
  }

  .programs-hero-bg {
    object-position: center 32%;
  }

  .licence-hero-bg {
    object-position: 30% 28%;
  }

  .about-hero-copy,
  .contact-hero-copy,
  .event-hero-copy,
  .news-hero-copy,
  .programs-hero-copy,
  .licence-hero-copy {
    position: relative;
    z-index: 2;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 var(--banner-x) 26px;
    box-sizing: border-box;
    color: #ffffff;
  }

  .about-hero .hero-partners {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6px 0 12px;
  }

  .about-hero-copy {
    padding-bottom: 58px;
  }

  .about-hero .partner-logo-1,
  .about-hero .partner-logo-2,
  .about-hero .partner-logo-3,
  .about-hero .partner-logo-4,
  .about-hero .partner-logo-5 {
    height: 28px;
  }

  .contact-hero-fade {
    display: none;
  }

  .page-news .page {
    padding-top: 118px;
  }

  .page-news.has-news-hero .page {
    padding-top: 0;
  }

  /* Typo bannières — tailles stables (plus de cqw trop petits). */
  .about-hero-kicker,
  .news-hero-kicker,
  .event-hero-kicker,
  .programs-hero-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .about-hero-brand,
  .news-hero-brand,
  .event-hero-brand,
  .programs-hero-brand {
    margin-top: 0.2em;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .news-hero-title,
  .programs-hero-title,
  .contact-hero-title,
  .licence-hero-title {
    margin-top: 0.45em;
    font-size: clamp(1.85rem, 9.2vw, 2.55rem);
    line-height: 0.95;
  }

  .news-hero-sub,
  .contact-hero-lead,
  .programs-hero-lead,
  .licence-hero-lead,
  .licence-hero-question {
    margin-top: 0.55em;
    max-width: 34em;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .programs-hero-lead + .programs-hero-lead {
    display: none;
  }

  .event-hero-title {
    margin: 0.55em 0 0;
    min-height: 0;
    max-width: 100%;
    padding: 0.28em 0.7em 0.32em;
    font-size: clamp(1.35rem, 6.8vw, 1.85rem);
    white-space: normal;
  }

  .licence-hero-kicker {
    position: static;
    display: block;
    margin: 0 0 0.2em;
    transform: none;
    font-size: 0.78rem;
  }

  .licence-hero-block {
    margin-top: 0.65em;
  }

  .news-blog {
    width: min(100% - 28px, 460px);
  }

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

  .news-blog:not(.news-list) .news-card:last-child {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .vie-top,
  .vie-columns,
  .vie-photos {
    width: min(100% - 28px, 560px);
  }

  .vie-kicker {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .vie-photos {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding-bottom: 40px;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }

  .lightbox-close {
    top: -48px;
    right: 0;
  }

  .vie-photo {
    aspect-ratio: 1.45 / 1;
  }

  .vie-wave {
    height: 46px;
  }
}

.page-events {
  background: #dfdfdf;
}

.page-events .page {
  padding-top: 0;
  background: #dfdfdf;
}

/* Desktop : hero clair → icônes foncées. Mobile : barre sombre → icônes blanches. */
@media (min-width: 1121px) {
  .page-events .site-header:not(.is-scrolled):not(.is-open) .header-nav a,
  .page-events .site-header:not(.is-scrolled):not(.is-open) .lang-current {
    color: #191949;
  }

  .page-events .site-header:not(.is-scrolled):not(.is-open) .nav-toggle span {
    background: #191949;
  }

  .page-events .site-header:not(.is-scrolled):not(.is-open) .header-social img {
    filter: brightness(0);
  }
}

.event-hero {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  background: #d5e4f0;
}

.event-hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.event-hero-people {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
}

.event-hero-copy {
  position: absolute;
  z-index: 1;
  left: 4.8%;
  top: calc(10.2cqw + clamp(40px, 4.6vw, 72px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 70%;
}

.event-hero-kicker,
.event-hero-brand {
  margin: 0;
  color: #191949;
}

.event-hero-kicker {
  font-family: "DicotLight", sans-serif;
  font-size: clamp(0.95rem, 1.12cqw, 1.4rem);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: 0.012em;
}

.event-hero-brand {
  margin-top: 0.42cqw;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.55rem, 3.25cqw, 3.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.event-hero-title {
  margin: 8.6cqw 0 0 calc(-4.8cqw - 3.67cqw);
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 7.34cqw;
  padding: 0 3.5cqw 0.04em 7.8cqw;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.35rem, 5.05cqw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.event-list {
  width: min(1440px, calc(100% - clamp(28px, 7vw, 112px)));
  margin-left: auto;
  margin-right: auto;
  padding-top: clamp(36px, 4.2vw, 64px);
}

.event-search {
  width: min(980px, 78%);
  margin: 0 auto;
}

.event-search input {
  display: block;
  width: 100%;
  height: clamp(58px, 6.3vw, 92px);
  padding: 0 1.4em;
  border: 1px solid #e6e6e6;
  border-radius: clamp(16px, 1.45vw, 28px);
  background: #ffffff;
  color: #191949;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.event-search input::placeholder {
  color: #7d7d7d;
  font-weight: 500;
  opacity: 1;
}

.event-search input::-webkit-search-decoration,
.event-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.event-search input:focus-visible {
  border-color: #191949;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(16px, 1.8vw, 28px);
  row-gap: clamp(22px, 2.6vw, 42px);
  margin-top: clamp(32px, 4vw, 58px);
  align-items: stretch;
}

.event-card {
  container-type: inline-size;
  min-width: 0;
  color: #111111;
}

.event-shape {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 167.8cqw;
  background: #ffffff;
  clip-path: polygon(
    6.35cqw 0,
    100% 0,
    100% calc(100% - 13cqw),
    calc(100% - 14.8cqw) 100%,
    4.95cqw 100%,
    4.95cqw calc(100% - 5.33cqw),
    0 calc(100% - 5.33cqw),
    0 6.35cqw
  );
}

.event-card h2 {
  margin: 0;
  padding: 9.2cqw 5cqw 13.5cqw 7.1cqw;
  font-family: "Kufam", sans-serif;
  font-size: 6.45cqw;
  font-weight: 700;
  line-height: 7.4cqw;
  letter-spacing: -0.03em;
}

.event-card img {
  display: block;
  width: 100%;
  height: 72.08cqw;
  object-fit: cover;
  object-position: center 22%;
}

.event-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 7.7cqw 5cqw 12.4cqw 7.3cqw;
}

.event-date {
  margin: 0 0 6.5cqw;
  color: #5c5c5c;
  font-family: "Kufam", sans-serif;
  font-size: 3.05cqw;
  font-weight: 500;
  line-height: 1.3;
}

.event-body p:last-of-type {
  margin: 0 0 5.1cqw;
  color: #1a1a1a;
  font-family: "Kufam", sans-serif;
  font-size: 3.82cqw;
  font-weight: 400;
  line-height: 5.26cqw;
  hyphens: auto;
}

.event-more {
  align-self: flex-start;
  margin-top: auto;
  margin-left: -0.57cqw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27.8cqw;
  height: 8.9cqw;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 4.5cqw;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.event-more:hover {
  background: #ff2a2a;
}

@media (max-width: 1100px) {
  .event-grid {
    grid-template-columns: 1fr 1fr;
  }

  .event-search {
    width: min(720px, 92%);
  }
}

@media (max-width: 720px) {
  .page-events .page {
    padding-top: 0;
  }

  /* Événements : aligné sur Actualités (styles desktop ne doivent plus écraser). */
  .event-hero {
    min-height: 58dvh;
    height: 58dvh;
    max-height: 560px;
  }

  .event-hero-bg,
  .event-hero-people {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% 22%;
    transform: scale(1.06);
    transform-origin: center center;
  }

  .event-hero-copy {
    position: relative;
    z-index: 2;
    top: auto;
    left: auto;
    right: auto;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 20px 28px;
    color: #ffffff;
  }

  .event-hero-kicker,
  .event-hero-brand {
    color: #ffffff;
  }

  .event-hero-kicker {
    font-size: 0.78rem;
  }

  .event-hero-brand {
    margin-top: 0.2em;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .event-hero-title {
    margin: 0.55em 0 0;
    min-height: 0;
    max-width: 100%;
    padding: 0.28em 0.75em 0.32em;
    font-size: clamp(1.45rem, 7.2vw, 2rem);
    white-space: normal;
  }

  .event-list {
    width: min(100% - 28px, 460px);
  }

  .event-search {
    width: 100%;
  }

  .event-search input {
    height: 58px;
  }

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

.page-event-detail .page,
.page-article .page,
.page-news-all .page {
  padding-top: clamp(118px, 15vw, 240px);
  padding-bottom: clamp(56px, 7vw, 120px);
}

.event-detail {
  container-type: inline-size;
  width: min(1500px, 93.2%);
  margin: 0 auto;
}

.event-back {
  display: inline-block;
  margin: 0 0 1.5cqw 3.6cqw;
  color: #fe0002;
  font-family: "Kufam", sans-serif;
  font-size: 2.5cqw;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.event-back:hover,
.event-back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.event-panel {
  padding: 4cqw 1.96cqw 3.2cqw 3.34cqw;
  border-radius: 1.25cqw;
  background: #ffffff;
}

.event-panel-head {
  padding-left: 0.45cqw;
}

.event-panel-head h1 {
  margin: 0;
  max-width: calc(37.08cqw + 4.74cqw + 36cqw);
  color: #191949;
  font-family: "Kufam", sans-serif;
  font-size: 4.05cqw;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.event-panel-date {
  margin: 0.2cqw 0 0;
  color: #000000;
  font-family: "Kufam", sans-serif;
  font-size: max(0.9rem, 1.39cqw);
  font-weight: 500;
  line-height: 1.3;
}

.event-panel-grid {
  display: grid;
  grid-template-columns: 37.08cqw minmax(0, 1fr);
  grid-template-areas:
    ". share"
    "photo text";
  column-gap: 4.74cqw;
  row-gap: 3cqw;
  align-items: start;
  margin-top: 1.67cqw;
}

.event-panel-main {
  display: contents;
}

.event-panel-photo {
  grid-area: photo;
  margin: 0;
  aspect-ratio: 1667 / 1688;
  overflow: hidden;
  border-radius: 1.1cqw;
}

.event-panel-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.event-share {
  grid-area: share;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.58cqw;
}

.event-share-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 11.25cqw;
  height: 2.11cqw;
  margin-right: 1.82cqw;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 1.36cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.event-share-link {
  display: block;
  width: 1.96cqw;
  height: 1.96cqw;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.event-share-link:hover,
.event-share-link:focus-visible {
  opacity: 0.85;
  transform: translateY(-2px);
}

.event-share-link svg {
  display: block;
  width: 100%;
  height: 100%;
}

.event-panel-text {
  grid-area: text;
  min-width: 0;
  margin-top: -0.45cqw;
  color: #1c1a53;
  font-family: "Kufam", sans-serif;
  font-size: max(0.95rem, 1.38cqw);
  font-weight: 500;
  line-height: 1.33;
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
}

.event-panel-text p {
  margin: 0 0 1.33em;
}

.event-panel-text p:last-child {
  margin-bottom: 0;
}

.event-more-list {
  margin-top: 7.6cqw;
}

.event-more-title {
  font-size: 3.42cqw;
  gap: 1.6cqw;
}

.event-more-title .vie-badge {
  font-size: 1.22em;
  padding: 0.24em 0.2em 0.28em;
}

.event-more-list .event-grid,
.event-more-list .news-grid {
  margin-top: 3cqw;
}

@media (max-width: 1100px) {
  .event-more-list .event-grid .event-card:nth-child(3),
  .event-more-list .news-grid .news-card:nth-child(3) {
    display: none;
  }
}

@media (max-width: 900px) {
  .event-detail {
    width: min(100% - 40px, 760px);
  }

  .event-back {
    margin: 0 0 16px 4px;
    font-size: clamp(1rem, 3.2cqw, 1.4rem);
  }

  .event-panel {
    padding: clamp(22px, 4.6cqw, 40px) clamp(18px, 4.2cqw, 40px) clamp(24px, 5cqw, 44px);
    border-radius: 14px;
  }

  .event-panel-head {
    padding-left: 0;
  }

  .event-panel-head h1 {
    max-width: none;
    font-size: clamp(1.55rem, 6.2cqw, 2.5rem);
  }

  .event-panel-date {
    margin-top: 6px;
    font-size: clamp(0.95rem, 2.6cqw, 1.15rem);
  }

  .event-panel-grid,
  .article-panel .event-panel-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "date"
      "share"
      "photo"
      "text";
    column-gap: 0;
    row-gap: clamp(18px, 4cqw, 30px);
    margin-top: clamp(16px, 3.4cqw, 26px);
  }

  .event-panel-photo {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .event-share {
    justify-content: flex-start;
    gap: 8px;
  }

  .event-share-label {
    width: auto;
    height: 34px;
    margin-right: 10px;
    padding: 0 18px;
    font-size: 0.95rem;
  }

  .event-share-link {
    width: 32px;
    height: 32px;
  }

  .event-panel-text {
    margin-top: 0;
    font-size: clamp(0.98rem, 2.5cqw, 1.12rem);
    line-height: 1.6;
  }

  .event-panel-text p {
    margin-bottom: 1.1em;
  }

  .event-more-list {
    margin-top: clamp(44px, 9cqw, 72px);
  }

  .event-more-title {
    font-size: clamp(1.7rem, 5.6cqw, 2.6rem);
    gap: 12px;
  }

  .event-more-list .event-grid,
  .event-more-list .news-grid {
    margin-top: clamp(26px, 5cqw, 40px);
  }
}

@media (max-width: 720px) {
  .page-event-detail .page,
  .page-article .page,
  .page-news-all .page {
    padding-top: 120px;
  }

  .event-detail {
    width: min(100% - 28px, 520px);
  }

  /* Single événement / actualité : une seule colonne. */
  .event-panel-grid,
  .article-panel .event-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "date"
      "share"
      "photo"
      "text";
    column-gap: 0;
  }

  .event-panel-photo,
  .event-share,
  .event-panel-text,
  .article-date {
    width: 100%;
    max-width: 100%;
  }

  .event-panel-photo {
    aspect-ratio: 4 / 3.4;
  }

  .event-more-list .event-grid,
  .event-more-list .news-grid {
    grid-template-columns: 1fr;
  }

  .event-more-list .event-grid .event-card:nth-child(3),
  .event-more-list .news-grid .news-card:nth-child(3) {
    display: block;
  }
}


.page-news-all .news-list > .vie-kicker {
  margin-top: clamp(4px, 0.6vw, 10px);
}

.page-article .page {
  padding-bottom: clamp(72px, 20vw, 320px);
}

.article-panel {
  padding-top: 0.2cqw;
  border-radius: 0;
  background: none;
}

.article-panel .event-panel-head h1 {
  /* Colonne photo + gouttière + colonne texte (2e bloc). */
  max-width: calc(37.08cqw + 4.74cqw + 36cqw);
  font-size: 4.2cqw;
  line-height: 1.01;
}

.article-panel .event-panel-grid {
  grid-template-areas:
    "date share"
    "photo text";
  margin-top: 1.9cqw;
}

.article-date {
  grid-area: date;
  align-self: center;
  margin: 0 0 0 0.75cqw;
  color: #fe0002;
  font-family: "Kufam", sans-serif;
  font-size: max(0.9rem, 1.4cqw);
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .page-article .event-back {
    margin-left: 0;
  }

  .article-panel {
    padding: 0;
  }

  .article-panel .event-panel-head h1 {
    max-width: none;
    font-size: clamp(1.45rem, 5.6cqw, 2.35rem);
    line-height: 1.08;
  }

  .article-panel .event-panel-grid {
    row-gap: clamp(14px, 3.4cqw, 26px);
  }

  .article-date {
    margin: 0;
    font-size: clamp(0.95rem, 2.6cqw, 1.1rem);
  }
}

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

.page-contact {
  background: #ffffff;
  overflow-x: hidden;
}

.page-contact .page {
  padding-top: 0;
  background: #ffffff;
}

.page-contact .header-nav a[aria-current="page"] {
  position: relative;
}

.page-contact .header-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  height: 3px;
  background: #fe0002;
}

.contact-hero {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #282631 0%,
    #262437 10%,
    #23213f 20%,
    #201e48 30%,
    #1c1b52 40%,
    #19175b 50%,
    #151465 60%,
    #11106f 70%,
    #0e0d79 80%,
    #0a0982 90%,
    #07068a 100%
  );
}

.contact-hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.contact-hero-people {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
}

.contact-hero-copy {
  position: absolute;
  z-index: 2;
  left: 13.3%;
  top: calc(8.8cqw + clamp(40px, 4.6vw, 72px));
  max-width: 58%;
  color: #ffffff;
}

.contact-hero-title {
  margin: 0;
  font-family: "Kufam", sans-serif;
  font-size: max(2.5rem, 6cqw);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.contact-hero-title span {
  display: block;
}

.contact-hero-lead {
  margin: 1.58cqw 0 0;
  max-width: 40cqw;
  font-family: "Kufam", sans-serif;
  font-size: max(0.85rem, 1.35cqw);
  font-weight: 500;
  line-height: 1.18;
}

.contact-hero-fade {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 21.4cqw;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.08) 22%,
    rgba(255, 255, 255, 0.28) 42%,
    rgba(255, 255, 255, 0.55) 62%,
    rgba(255, 255, 255, 0.8) 80%,
    rgba(255, 255, 255, 0.94) 92%,
    #ffffff 100%
  );
  pointer-events: none;
}

.contact-sheet {
  --u: min(1cqw, 16px);
  position: relative;
  overflow: hidden;
  container-type: inline-size;
}

.contact-sheet::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(13.9 * var(--u));
  left: calc(50% + 16 * var(--u));
  width: calc(54.6 * var(--u));
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e6f3fa;
  pointer-events: none;
}

.contact-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 2216fr) minmax(0, 1845fr);
  column-gap: calc(3.42 * var(--u));
  align-items: start;
  width: calc(100 * var(--u));
  margin: calc(-0.31 * var(--u)) auto 0;
  padding: 0 calc(8.96 * var(--u)) 0 calc(3.42 * var(--u));
}

.contact-card {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: 90%;
  container-type: inline-size;
}

.contact-card > img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.5);
}

.contact-card-copy {
  position: absolute;
  inset: 0;
  color: #ffffff;
  pointer-events: none;
}

.contact-card-copy a {
  pointer-events: auto;
}

.contact-block-address {
  position: absolute;
  top: 10.78%;
  left: 15.4%;
  right: 2.5%;
}

.contact-block-phones {
  position: absolute;
  top: 39.44%;
  left: 8.8%;
  right: 2.5%;
}

.contact-block-mail {
  position: absolute;
  top: 63.15%;
  left: 8.8%;
  right: 2.5%;
}

.contact-card h2 {
  margin: 0 0 0.3em;
  color: #7bb6eb;
  font-family: "Kufam", sans-serif;
  font-size: max(11.5px, 4.06cqw);
  font-weight: 900;
  line-height: 1.05;
}

.contact-block-phones h2,
.contact-block-mail h2 {
  margin-left: 6.6cqw;
}

.contact-block h2 {
  margin-top: 0;
}

.contact-card p,
.contact-lines,
.contact-lines a,
.contact-mail a {
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: max(10.5px, 3.75cqw);
  font-weight: 500;
  line-height: 1.16;
  text-decoration: none;
}

.contact-card p {
  max-width: 100%;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.22em;
  padding: 0;
  list-style: none;
}

.contact-lines li,
.contact-mail {
  display: flex;
  align-items: center;
  gap: 0.6em;
  max-width: 100%;
}

.contact-lines svg,
.contact-mail svg {
  flex: 0 0 auto;
  width: 1.12em;
  height: 1.12em;
  color: #fe0002;
}

.contact-lines a:hover,
.contact-mail a:hover {
  color: #7bb6eb;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: calc(1.8 * var(--u));
  padding-top: calc(6.34 * var(--u));
}

.contact-feedback {
  margin: 0 0 calc(0.4 * var(--u));
  padding: calc(1.4 * var(--u)) calc(1.8 * var(--u));
  border-radius: calc(0.8 * var(--u));
  font-family: "Kufam", sans-serif;
  font-size: max(0.95rem, 1.55 * var(--u));
  font-weight: 500;
  line-height: 1.4;
}

.contact-feedback--ok {
  background: #e8f7ee;
  color: #0f6b35;
  border: 1px solid #9fd4b3;
}

.contact-feedback--error {
  background: #fdecec;
  color: #9b1c1c;
  border: 1px solid #f0b4b4;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d9d9d9;
  border-radius: calc(0.93 * var(--u));
  background: #ffffff;
  color: #1c1a53;
  font-family: "Kufam", sans-serif;
  font-size: max(16px, 1.95 * var(--u));
  font-weight: 400;
  line-height: 1.4;
  padding: 0 calc(2.74 * var(--u));
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input {
  height: calc(6.1 * var(--u));
}

.contact-form textarea {
  display: block;
  height: calc(17.04 * var(--u));
  min-height: 140px;
  padding-top: calc(1.66 * var(--u));
  padding-bottom: calc(1.66 * var(--u));
  border-radius: 0;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #1a1a1a;
  font-weight: 400;
  opacity: 1;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: #333399;
}

.contact-form button {
  align-self: flex-start;
  width: calc(13.19 * var(--u));
  min-width: 128px;
  height: calc(3.23 * var(--u));
  min-height: 40px;
  margin-top: calc(0.65 * var(--u));
  border: 0;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: max(14px, 1.6 * var(--u));
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.contact-form button:hover {
  background: #ff2a2a;
}

.contact-locate {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: calc(6.55 * var(--u)) 0 0;
  text-align: center;
}

.contact-locate h2 {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.216em;
  margin: 0 0 calc(9.9 * var(--u));
  padding-right: calc(1 * var(--u));
  font-family: "Kufam", sans-serif;
  font-size: max(1.7rem, 4.65 * var(--u));
  font-weight: 700;
  line-height: 1;
}

.locate-nous {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: #e7fbff;
  font-size: 0.875em;
}

.locate-nous::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: calc(50% + 0.045em);
  width: 2.516em;
  height: 1.43em;
  background: #fe0002;
  translate: -50% -50%;
  rotate: -9.75deg;
}

.locate-word {
  color: #333399;
}

.contact-map {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #eef3f6;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: max(320px, 35.83 * var(--u));
  border: 0;
}

@media (max-width: 980px) {
  .contact-sheet::before {
    top: auto;
    bottom: 38%;
    left: 55%;
    width: 80%;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    row-gap: 36px;
    width: min(640px, calc(100% - 28px));
    margin-top: 28px;
    padding: 0;
  }

  .contact-card {
    justify-self: center;
  }

  .contact-form {
    gap: 16px;
    padding-top: 0;
  }

  .contact-form input,
  .contact-form textarea {
    border-radius: 14px;
    font-size: 1.05rem;
    padding: 0 1.15em;
  }

  .contact-form input {
    height: 58px;
  }

  .contact-form textarea {
    height: 180px;
    padding-top: 0.9em;
    padding-bottom: 0.9em;
    border-radius: 0;
  }

  .contact-form button {
    width: auto;
    height: auto;
    margin-top: 4px;
    padding: 0.95em 2.5em;
    font-size: 1rem;
  }

  .contact-locate {
    margin-top: 48px;
  }

  .contact-locate h2 {
    margin-bottom: 40px;
    padding-right: 0;
    font-size: clamp(1.5rem, 6.2vw, 2.65rem);
  }
}

@media (max-width: 720px) {
  .page-contact .page {
    padding-top: 0;
  }

  .contact-hero-bg,
  .contact-hero-people {
    object-position: 72% 22%;
  }

  /* Juste sous le logo header — ni collé, ni tout en bas. */
  .contact-hero-copy {
    position: absolute;
    z-index: 2;
    top: 162px;
    left: 20px;
    right: 20px;
    bottom: auto;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .contact-hero-title {
    font-size: clamp(1.85rem, 9.2vw, 2.55rem);
    line-height: 0.95;
  }

  .contact-hero-lead {
    margin-top: 0.55em;
    max-width: 34em;
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .contact-panel {
    margin-top: 0;
  }

  .contact-locate h2 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }
}

.page-about {
  background: #e7fbff;
  overflow-x: hidden;
}

.page-about .page {
  padding-top: 0;
  background: #e7fbff;
}

.page-about .header-nav a[aria-current="page"] {
  position: relative;
}

.page-about .header-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  height: 3px;
  background: #fe0002;
}

.about-hero {
  position: relative;
  container-type: inline-size;
  background: #191949;
  overflow: hidden;
}

.about-hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.about-hero-building,
.about-hero-person {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translateY(14%);
  pointer-events: none;
}

.about-hero-person {
  z-index: 1;
}

.about-hero-copy {
  position: absolute;
  z-index: 2;
  left: 9.3%;
  top: 37%;
  color: #ffffff;
}

.about-hero-kicker,
.about-hero-brand {
  margin: 0;
  color: #ffffff;
  white-space: nowrap;
}

.about-hero-kicker {
  font-family: "DicotLight", sans-serif;
  font-weight: 400;
  font-synthesis: none;
  font-size: 1.5cqw;
  letter-spacing: 0.04em;
  line-height: 1;
}

.about-hero-brand {
  margin-top: 0.85cqw;
  font-family: "Maven Pro", sans-serif;
  font-weight: 900;
  font-size: 3.32cqw;
  letter-spacing: 0.012em;
  line-height: 0.9;
}

.about-hero .hero-partners {
  z-index: 2;
}

.about-hero .partner-logo-1 { height: 4.86cqw; }
.about-hero .partner-logo-2 { height: 3.42cqw; }
.about-hero .partner-logo-3 { height: 3.1cqw; }
.about-hero .partner-logo-4 { height: 2.78cqw; }
.about-hero .partner-logo-5 { height: 5cqw; }

@media (max-width: 720px) {
  .page-about .page {
    padding-top: 0;
  }

  .about-hero-building,
  .about-hero-person {
    transform: scale(1.14);
    transform-origin: center bottom;
    object-position: 58% 78%;
  }

  /* Écrase le top: 37% desktop qui fuyait sur mobile. */
  .about-hero-copy {
    position: absolute;
    z-index: 2;
    top: auto;
    left: 20px;
    right: auto;
    bottom: 118px;
    width: auto;
    max-width: calc(100% - 40px);
    margin: 0;
    padding: 0;
  }

  .about-hero-kicker {
    font-size: 0.92rem;
    letter-spacing: 0.05em;
  }

  .about-hero-brand {
    margin-top: 0.22em;
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
}

.about-who {
  padding: clamp(28px, 3.4vw, 52px) 0 clamp(40px, 5vw, 72px);
}

.about-who-inner {
  container-type: inline-size;
  width: min(1440px, calc(100% - clamp(28px, 7vw, 112px)));
  margin: 0 auto;
}

.about-who-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.28em;
  margin: 0 0 clamp(22px, 3cqw, 48px);
  color: #333399;
  font-family: "Kufam", sans-serif;
  font-size: clamp(2rem, 5.1cqw, 4.5rem);
  font-weight: 700;
  line-height: 1;
}

.about-qui {
  display: inline-block;
  padding: 0.08em 0.18em 0.12em;
  color: #ffffff;
  border-radius: 0;
}

.about-who-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(220px, 0.9fr);
  gap: clamp(24px, 3.2cqw, 56px);
  align-items: start;
}

.about-who-copy h3,
.about-who-copy p,
.about-who-copy li {
  font-family: "Kufam", sans-serif;
  color: #1c1a53;
}

.about-who-copy h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.05;
}

.about-who-copy h3:first-child {
  color: #fe0002;
  font-size: clamp(1.45rem, 3.2cqw, 2.75rem);
}

.about-who-copy h3.about-vision {
  margin-top: 1.35em;
  color: #333399;
  font-size: clamp(1.35rem, 2.85cqw, 2.45rem);
}

.about-who-copy p,
.about-who-copy li {
  margin: 0;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.22cqw, 1.12rem);
  line-height: 1.45;
}

.about-lead {
  margin-top: 1.15em;
  padding-left: 7%;
}

.about-who-copy ul {
  margin: 0.7em 0 0;
  padding: 0 0 0 7%;
  list-style: none;
}

.about-who-copy li {
  position: relative;
  margin-top: 0.7em;
  padding-left: 1.15em;
}

.about-who-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: #fe0002;
}

.about-who-copy p {
  margin-top: 0.85em;
  padding-left: 7%;
}

.about-quote {
  margin-top: 1em;
}

.about-who-photo {
  margin: 0.35em 0 0;
  aspect-ratio: 344 / 482;
  clip-path: polygon(
    3.49% 0.62%,
    9.3% 2.49%,
    32.27% 1.24%,
    51.16% 2.9%,
    92.15% 0.62%,
    99.13% 3.32%,
    95.93% 7.26%,
    98.55% 14.94%,
    97.97% 48.76%,
    95.35% 57.68%,
    97.09% 67.22%,
    93.9% 83.82%,
    97.97% 99.17%,
    86.92% 99.79%,
    63.37% 94.61%,
    47.67% 99.79%,
    34.59% 97.93%,
    2.62% 99.38%,
    0.58% 90.46%,
    3.78% 84.23%,
    2.03% 64.52%,
    4.36% 35.27%,
    2.62% 26.35%,
    5.23% 12.86%,
    1.16% 1.45%
  );
}

.about-who-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
}

@media (max-width: 900px) {
  .about-who-grid {
    grid-template-columns: 1fr;
  }

  .about-who-photo {
    order: -1;
    max-width: min(440px, 100%);
    justify-self: center;
    margin-top: 0;
  }

  .about-lead,
  .about-who-copy ul,
  .about-who-copy p {
    padding-left: 0;
  }
}

.about-shift {
  background: linear-gradient(
    180deg,
    #e7fbff 0%,
    #e7fbff 16%,
    #e1f5fa 22%,
    #cddfe8 30%,
    #a3b1c3 38%,
    #83839d 46%,
    #5f5f81 54%,
    #404068 60%,
    #2e2e59 66%,
    #191949 74%,
    #191949 100%
  );
}

.about-goals {
  padding: 0;
}

.about-goals-inner {
  container-type: inline-size;
  width: min(1480px, calc(100% - clamp(20px, 4vw, 72px)));
  margin: 0 auto;
}

.about-goals-title {
  margin: 0 0 clamp(18px, 2.4cqw, 40px);
  color: #fe0002;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.7rem, 3.6cqw, 3.15rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.about-goals-panel {
  position: relative;
  container-type: inline-size;
  padding: 9cqw 6.5cqw 13cqw;
  margin-bottom: -7.3cqw;
  background: #72c5dd;
  color: #1c1a53;
  clip-path: polygon(
    4.4% 5.4cqw,
    19.5% 7.3cqw,
    31.2% 5.4cqw,
    40.5% 5.4cqw,
    52.2% 7.3cqw,
    67.3% 5.9cqw,
    78.5% 7.8cqw,
    99% 6.3cqw,
    99% calc(100% - 7.8cqw),
    75.6% calc(100% - 7.3cqw),
    69.8% calc(100% - 9.3cqw),
    54.6% calc(100% - 7.8cqw),
    30.7% calc(100% - 11.2cqw),
    6.8% calc(100% - 9.3cqw),
    2.4% calc(100% - 10.2cqw),
    2.4% 7.3cqw
  );
}

.about-goals-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100cqw;
  background: url("../assets/about-goals-pattern.png") center bottom / 100% auto no-repeat;
  pointer-events: none;
}

.about-goals-panel h3,
.about-goals-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Kufam", sans-serif;
}

.about-goals-panel h3 {
  margin-top: 1.35em;
  color: #ffffff;
  font-size: clamp(1.15rem, 2.05cqw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
}

.about-goals-panel h3:first-child {
  margin-top: 0;
}

.about-goals-panel p {
  margin-top: 0.75em;
  color: #1c1a53;
  font-size: clamp(0.95rem, 1.18cqw, 1.08rem);
  font-weight: 500;
  line-height: 1.45;
}

.about-values {
  background: transparent;
  color: #fff;
  padding: clamp(24px, 2.4vw, 40px) 0 clamp(12px, 1.6vw, 24px);
}

.about-values-inner {
  width: min(1380px, calc(100% - clamp(24px, 6vw, 96px)));
  margin-inline: auto;
  container-type: inline-size;
}

.about-values-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.32em;
  margin: 0 0 clamp(28px, 3.4vw, 52px);
  color: #fff;
  font-size: clamp(1.7rem, 4.4cqw, 3.35rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.about-values-les {
  display: inline-block;
  padding: 0.08em 0.28em 0.12em;
  color: #fff;
  border-radius: 0;
}

.about-values-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: clamp(28px, 3.6vw, 64px);
  align-items: center;
}

.about-values-figure {
  aspect-ratio: 482 / 344;
  margin: 0;
}

.about-values-shapes {
  display: block;
  width: 100%;
  height: 100%;
}

.about-values-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.72em;
}

.about-values-list li {
  color: #fff;
  font-size: clamp(0.92rem, 1.15cqw, 1.05rem);
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 860px) {
  .about-values-title {
    flex-wrap: wrap;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-values-figure {
    width: min(100%, 560px);
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .about-goals-inner {
    width: min(100% - 20px, 640px);
  }

  .about-goals-panel {
    padding: 11cqw 6cqw 15cqw;
  }

  .about-goals-panel h3 {
    font-size: clamp(1.05rem, 4.6cqw, 1.35rem);
  }

  .about-goals-panel p {
    font-size: 0.95rem;
  }
}

.about-gallery {
  background: #191949;
  padding: clamp(24px, 2.8vw, 44px) 0 clamp(28px, 3vw, 48px);
  overflow: hidden;
}

.about-gallery-title {
  margin: 0 0 clamp(26px, 3vw, 48px);
  color: #fff;
  font-size: clamp(1.8rem, 3.45vw, 3.15rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.about-gallery-stage {
  --card-w: min(40vw, 620px);
  --step: 52%;
  position: relative;
  height: calc(var(--card-w) * 0.68);
  touch-action: pan-y;
  outline: none;
}

.about-gallery-slide {
  --offset: 0;
  --scale: 0.68;
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--card-w);
  height: 100%;
  margin: 0;
  padding: 0;
  border: clamp(4px, 0.5vw, 8px) solid #389cde;
  border-radius: clamp(14px, 1.45vw, 22px);
  background: #16345a;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateX(calc(-50% + var(--offset) * var(--step))) scale(var(--scale));
  transform-origin: center center;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.48s ease, visibility 0.48s;
}

.about-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}

.about-gallery-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.34);
  transition: opacity 0.48s ease;
}

.about-gallery-slide[data-offset="0"] {
  --scale: 1;
  z-index: 5;
  opacity: 1;
  cursor: zoom-in;
  visibility: visible;
  box-shadow: 0 16px 36px rgba(8, 10, 32, 0.28);
}

.about-gallery-slide[data-offset="0"]::after {
  opacity: 0;
}

.about-gallery-slide[data-offset="1"] {
  --scale: 0.9;
  z-index: 4;
  opacity: 1;
  visibility: visible;
}

.about-gallery-slide[data-offset="2"] {
  --scale: 0.74;
  z-index: 3;
  opacity: 1;
  visibility: visible;
}

.about-gallery-slide[data-offset="2"]::after {
  background: rgba(236, 246, 252, 0.5);
}

.about-gallery-slide.is-instant {
  transition: none;
}

.about-gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .about-gallery-stage {
    --card-w: min(74vw, 340px);
    --step: 58%;
  }

  .about-gallery-slide {
    border-width: 4px;
    border-radius: 14px;
  }

  .about-gallery-slide[data-offset="2"] {
    visibility: hidden;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-gallery-slide {
    transition: none;
  }
}

.page-programs {
  background: #e7fbff;
  overflow-x: hidden;
}

.page-programs .page {
  padding-top: 0;
  background: #e7fbff;
}

.page-programs .header-nav a[aria-current="page"],
.page-licence .header-nav a[aria-current="page"],
.page-news .header-nav a[aria-current="page"],
.page-events .header-nav a[aria-current="page"],
.page-program .header-nav a[aria-current="page"] {
  position: relative;
}

.page-programs .header-nav a[aria-current="page"]::after,
.page-licence .header-nav a[aria-current="page"]::after,
.page-news .header-nav a[aria-current="page"]::after,
.page-events .header-nav a[aria-current="page"]::after,
.page-program .header-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  height: 3px;
  background: #fe0002;
}

.programs-hero {
  position: relative;
  container-type: inline-size;
  background: #191949;
  overflow: hidden;
}

.programs-hero-bg {
  display: block;
  width: 100%;
  height: auto;
}

.programs-hero-copy {
  position: absolute;
  z-index: 1;
  left: 6.2%;
  top: calc(9.2cqw + clamp(28px, 3.2vw, 52px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 62%;
  color: #ffffff;
}

.programs-hero-kicker,
.programs-hero-brand,
.programs-hero-title,
.programs-hero-lead {
  margin: 0;
}

.programs-hero-kicker {
  color: #ffffff;
  font-family: "DicotLight", sans-serif;
  font-size: clamp(0.92rem, 1.55cqw, 1.4rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.01em;
  line-height: 1;
}

.programs-hero-brand {
  margin-top: 0.35cqw;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.5rem, 3.28cqw, 3.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.92;
}

.programs-hero-title {
  margin-top: 4.2cqw;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(2.8rem, 6.8cqw, 6.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.86;
}

.programs-hero-title span {
  display: block;
}

.programs-hero-lead {
  max-width: 56cqw;
  margin-top: 1.15em;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.82rem, 1.12cqw, 1.05rem);
  font-weight: 500;
  line-height: 1.38;
}

.programs-hero-lead + .programs-hero-lead {
  margin-top: 0.95em;
}

@media (max-width: 720px) {
  .page-programs .page,
  .page-licence .page {
    padding-top: 0;
  }

  /* Texte sous le logo — le CSS desktop ne doit plus le remonter. */
  .programs-hero-copy {
    position: absolute;
    z-index: 2;
    top: 162px;
    left: 20px;
    right: 20px;
    bottom: auto;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .programs-hero-kicker {
    font-size: 0.78rem;
  }

  .programs-hero-brand {
    margin-top: 0.2em;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .programs-hero-title {
    margin-top: 0.45em;
    font-size: clamp(1.85rem, 9.2vw, 2.55rem);
    line-height: 0.95;
  }

  .programs-hero-lead {
    margin-top: 0.55em;
    max-width: 34em;
    font-size: 0.92rem;
    line-height: 1.35;
  }
}

.programs-flow {
  background: linear-gradient(
    180deg,
    #e7fbff 0%,
    #e7fbff 8%,
    #e2f5fb 12%,
    #ccdde7 22%,
    #aebec6 34%,
    #909bb1 44%,
    #6f7895 55%,
    #495178 66%,
    #282e60 76%,
    #191949 88%,
    #191949 100%
  );
}

.programs-tracks {
  padding: clamp(36px, 4.5vw, 72px) 0 0;
}

.programs-tracks-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em;
  margin: 0 0 clamp(4px, 0.5vw, 10px);
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 3.15rem);
  font-weight: 700;
  line-height: 0.95;
}

.programs-nos {
  display: inline-block;
  padding: 0.16em 0.28em 0.2em;
  color: #ffffff;
  border-radius: 0;
}

.programs-tracks-word {
  color: #333399;
}

.licence-card {
  position: relative;
  container-type: inline-size;
  width: min(1240px, calc(100% - clamp(24px, 6vw, 88px)));
  margin: -22px auto 0;
  transform: translateX(4%);
}

.licence-photo {
  position: relative;
  width: 100%;
}

.licence-photo svg {
  display: block;
  width: 100%;
  height: auto;
}

.licence-name {
  position: absolute;
  z-index: 1;
  top: 14.5%;
  left: 37%;
  margin: 0;
  color: #d0f4fe;
  font-family: "Kufam", sans-serif;
  font-size: clamp(2.8rem, calc(6.8vw / 0.9), 6.75rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.licence-panel {
  position: absolute;
  z-index: 2;
  left: -8%;
  top: 12%;
  display: flex;
  align-items: center;
  width: 33%;
  aspect-ratio: 591 / 827;
}

.licence-panel svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.licence-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 11% 0 12%;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.95rem, 1.9cqw, 1.45rem);
  font-weight: 500;
  line-height: 1.5;
}

.licence-more {
  position: absolute;
  z-index: 3;
  left: 27%;
  bottom: 12%;
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1.15em;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.05rem, 1.75cqw, 1.4rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.licence-more:hover,
.licence-more:focus-visible {
  background: #ff2a2a;
}

.evening-card {
  margin-top: clamp(-72px, -5.5vw, -28px);
  transform: translateX(-4%);
}

.evening-name {
  top: 11%;
  left: 26%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.evening-name span:last-child {
  font-size: 0.62em;
}

.evening-panel {
  left: auto;
  right: -8%;
}

.evening-more {
  left: auto;
  right: 36%;
}

.programs-finale {
  margin-top: -32px;
  padding: 0 0 clamp(40px, 5vw, 72px);
}

.master-card {
  margin-top: -16px;
}

.master-name {
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.programs-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1240px, calc(100% - clamp(24px, 6vw, 88px)));
  margin: clamp(28px, 3.2vw, 52px) auto 0;
  padding: 0;
  list-style: none;
}

.programs-stats li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  text-align: center;
}

.programs-stats li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: clamp(132px, 12.4vw, 176px);
  background: rgba(196, 200, 226, 0.8);
}

.stat-value {
  container-type: inline-size;
  display: grid;
  place-items: center;
  width: clamp(132px, 12.4vw, 176px);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.stat-value-red {
  background: #fe0002;
}

.stat-value-blue {
  background: #221f7e;
}

.stat-value-short {
  font-size: clamp(3.6rem, 7vw, 6.3rem);
}

.stat-value-wide {
  font-size: clamp(1.7rem, 3.4vw, 3.05rem);
}

.stat-label {
  max-width: 16em;
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .licence-card {
    transform: translateX(2%);
  }

  .licence-panel {
    left: -4%;
    top: 14%;
    width: 38%;
  }

  .licence-name {
    top: 14.5%;
    left: 42%;
  }

  .licence-more {
    left: 36%;
    bottom: 11%;
  }

  .evening-card {
    transform: translateX(-2%);
  }

  .evening-panel {
    left: auto;
    right: -4%;
  }

  .evening-name {
    left: 22%;
  }

.evening-more {
  left: auto;
  right: 42%;
}

.master-name {
  left: 50%;
  top: 11%;
  transform: translateX(-50%);
  white-space: nowrap;
}
}

@media (max-width: 680px) {
  .licence-card,
  .evening-card {
    transform: none;
  }

  .evening-card {
    margin-top: 20px;
  }

  .evening-panel,
  .evening-more {
    right: auto;
  }

  .evening-name {
    left: 6%;
  }

  .licence-photo {
    width: 100%;
    margin-left: 0;
  }

  .licence-panel {
    position: relative;
    left: auto;
    top: auto;
    justify-content: center;
    width: min(74%, 320px);
    margin: clamp(-56px, -8vw, -32px) auto 0;
  }

  .licence-panel p {
    width: 100%;
    padding: 8% 11% 22%;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .licence-name {
    left: 6%;
    top: 16%;
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

.licence-more {
  left: 50%;
  right: auto;
  bottom: 14%;
  transform: translateX(-50%);
}

.programs-tracks {
  padding-bottom: 28px;
}

.programs-finale {
  margin-top: 0;
}

.master-card {
  margin-top: 0;
}

.master-name {
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  font-size: clamp(2.15rem, 11vw, 3.25rem);
}

.programs-stats {
  grid-template-columns: 1fr 1fr;
  gap: 28px 8px;
  margin-top: 28px;
}

.programs-stats li::after {
  display: none;
}

.programs-tracks-title {
  margin-bottom: 14px;
}

.programs-tracks > .licence-card:not(.evening-card) {
  margin-top: 6px;
}
}

.page-licence {
  background: #e7fbff;
  overflow-x: hidden;
}

.page-licence .page {
  padding-top: 0;
  background: #e7fbff;
}

.licence-hero {
  position: relative;
  container-type: inline-size;
  background: #2a1464;
  overflow: hidden;
}

.licence-hero-bg {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1.7%;
}

.licence-hero-person {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(3.2%);
  pointer-events: none;
}

.licence-hero-person-cut {
  display: none;
}

.licence-hero-copy {
  position: absolute;
  z-index: 1;
  top: 36%;
  left: 10%;
  max-width: 62%;
  color: #ffffff;
}

.licence-hero-title {
  position: relative;
  display: inline-block;
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(3.4rem, 11.4cqw, 11.2rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.045em;
}

.licence-hero-kicker {
  position: absolute;
  top: -1.45em;
  left: 50%;
  right: auto;
  margin: 0;
  color: #ffffff;
  font-family: "DicotLight", sans-serif;
  font-size: 0.155em;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.licence-hero-sub {
  display: block;
  font-size: 0.565em;
  letter-spacing: -0.02em;
}

.page-master .licence-hero-kicker {
  left: 23.4%;
  transform: none;
}

.page-licence-evening .licence-hero-person {
  transform-origin: 73.2% 0;
  transform: translate(3.5%, 9.5%) scale(0.95);
}

.licence-hero-block {
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(32px, 4.8cqw, 84px);
}

.page-licence-evening .licence-hero-block {
  margin-top: clamp(28px, 4.45cqw, 80px);
}

.licence-hero-question {
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.2rem, 2.85cqw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.licence-hero-lead {
  margin: 0.55em 0 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.9rem, 1.55cqw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 900px) {
  .licence-hero-copy {
    top: max(32%, 168px);
    left: 5%;
    max-width: 62%;
  }

  .licence-hero-title {
    font-size: clamp(2.8rem, 10cqw, 6.5rem);
  }

  .licence-hero-question {
    font-size: clamp(1.15rem, 3.2cqw, 2.2rem);
  }

  .licence-hero-kicker {
    font-size: max(0.95rem, 0.155em);
    top: -1.7em;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .page-licence .page {
    padding-top: 0;
  }

  .licence-hero-person {
    display: none !important;
  }

  /* Découpe visible : bas de l’image aligné sur le bord de la section. */
  .licence-hero-person-cut {
    display: block !important;
    position: absolute;
    z-index: 1;
    top: auto;
    left: auto;
    right: 0;
    bottom: -2.5%;
    width: min(78%, 340px);
    height: auto;
    max-height: 90%;
    object-fit: contain;
    object-position: right bottom;
    transform: none;
    pointer-events: none;
  }

  .licence-hero-copy {
    position: absolute;
    z-index: 2;
    top: 162px;
    left: 20px;
    right: 42%;
    bottom: auto;
    max-width: none;
    width: auto;
    margin: 0;
    padding: 0;
  }

  .licence-hero-kicker {
    position: static;
    display: block;
    margin: 0 0 0.2em;
    transform: none;
    font-size: 0.78rem;
    white-space: normal;
  }

  .licence-hero-title {
    font-size: clamp(2rem, 11vw, 2.8rem);
    line-height: 0.9;
  }

  .licence-hero-block {
    margin-top: 0.75em;
  }

  .licence-hero-question {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
    text-align: left;
  }

  .licence-hero-lead {
    font-size: 0.9rem;
    text-align: left;
  }

  .licence-hero-lead br {
    display: none;
  }
}

.licence-why {
  background: linear-gradient(
    180deg,
    #e7fbff 0%,
    #d9f3fa 14%,
    #c5e0ea 28%,
    #a9c4d2 42%,
    #8496ab 58%,
    #53607f 74%,
    #2c335c 88%,
    #191949 100%
  );
}

.licence-why-grid {
  display: grid;
  grid-template-columns: 1.14fr 1.14fr 1fr;
  grid-template-areas:
    "quality mentor costs"
    "network goal costs"
    ". . costs";
  grid-template-rows: auto auto clamp(40px, 7.7vw, 128px);
  gap: clamp(14px, 1.55vw, 26px);
  width: min(1360px, calc(100% - clamp(16px, 3vw, 40px)));
  margin: 0 auto;
  padding: clamp(56px, 6.5vw, 104px) 0 clamp(48px, 6vw, 92px);
}

.why-card-navy { grid-area: quality; background: #1c1a53; }
.why-card-blue:nth-child(2) { grid-area: mentor; }
.why-card-cyan { grid-area: network; background: #299cc6; }
.why-card-blue:nth-child(4) { grid-area: goal; }
.why-card-blue { background: #1a3696; }

.why-card {
  border-radius: clamp(16px, 1.5vw, 24px);
  color: #ffffff;
  padding: clamp(28px, 2.8vw, 44px) clamp(22px, 2.2vw, 36px) clamp(40px, 4.2vw, 64px);
}

.why-card-head {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.1vw, 16px);
}

.why-card-head img {
  width: clamp(46px, 4.4vw, 62px);
  height: auto;
  flex: 0 0 auto;
}

.why-card h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.why-card p {
  margin: 1.35em 0 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.95rem, 1.05vw, 1.12rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.why-costs {
  position: relative;
  grid-area: costs;
  margin-top: 0.4em;
}

.why-costs-badge {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 92%;
  max-width: none;
  margin: 0;
  padding: 0.48em 0.7em;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.12rem, 1.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
}

.why-costs-panel {
  height: 100%;
  padding: clamp(36px, 3.4vw, 52px) clamp(22px, 2.2vw, 34px) clamp(28px, 2.6vw, 40px);
  border-radius: clamp(18px, 1.6vw, 26px);
  background: #ffffff;
  color: #1c1a53;
}

.why-costs-block + .why-costs-block {
  margin-top: 1.35em;
  padding-top: 1.35em;
  border-top: 1px solid #d7dbe8;
}

.why-costs h2 {
  margin: 0 0 0.7em;
  color: #1c1a53;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.05rem, 1.45vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.why-costs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-costs li {
  position: relative;
  margin: 0 0 0.25em;
  padding-left: 0.9em;
  color: #1c1a53;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.95rem, 1.38vw, 1.4rem);
  font-weight: 400;
  line-height: 1.35;
}

.why-costs li::before {
  content: ".";
  position: absolute;
  left: 0;
  font-weight: 400;
}

@media (max-width: 980px) {
  .licence-why-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "quality mentor"
      "network goal"
      "costs costs";
    grid-template-rows: none;
  }

  .why-costs {
    max-width: 560px;
    justify-self: center;
    width: 100%;
    margin-top: 18px;
  }
}

@media (max-width: 680px) {
  .licence-why-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "quality"
      "mentor"
      "network"
      "goal"
      "costs";
  }

  .why-card h2 {
    font-size: 1.2rem;
  }

  .why-card p,
  .why-costs li {
    font-size: 0.95rem;
  }

  .why-costs-badge {
    font-size: 1.05rem;
    white-space: normal;
  }
}

.licence-fields {
  background: #191949;
  padding: clamp(36px, 5vw, 84px) 0 clamp(20px, 3vw, 48px);
}

.licence-fields-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4vw;
  width: min(1520px, calc(100% - 6.2vw));
  margin: 0 auto;
}

.field-frame {
  container-type: inline-size;
  min-width: 0;
}

.field-card {
  position: relative;
  height: 167.3cqw;
  background: #333399;
  color: #ffffff;
  clip-path: polygon(
    6.65cqw 0,
    100% 0,
    100% 154.4cqw,
    85.3cqw 100%,
    5.2cqw 100%,
    5.2cqw 162cqw,
    0 162cqw,
    0 6.1cqw
  );
}

.field-card h2 {
  position: absolute;
  top: 8.1cqw;
  left: 6.9cqw;
  right: 4cqw;
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 6.5cqw;
  font-weight: 500;
  line-height: 8.3cqw;
  letter-spacing: 0;
}

.field-card img {
  position: absolute;
  top: 38.7cqw;
  left: 0;
  display: block;
  width: 100%;
  height: 73.2cqw;
  object-fit: cover;
}

.field-card p {
  position: absolute;
  top: 118.6cqw;
  left: 7.5cqw;
  right: 3.4cqw;
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 4.15cqw;
  font-weight: 400;
  line-height: 5.23cqw;
  hyphens: auto;
}

.field-more {
  position: absolute;
  top: 146.2cqw;
  left: 6.2cqw;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50.8cqw;
  height: 8.6cqw;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 4.4cqw;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.field-more:hover {
  background: #ff1a1c;
}

@media (max-width: 860px) {
  .licence-fields-grid {
    grid-template-columns: 1fr;
    width: min(460px, calc(100% - 20px));
    gap: 18px;
  }
}

.licence-tracks {
  background: #191949;
  padding: clamp(28px, 4vw, 72px) 0 clamp(36px, 5vw, 84px);
}

.licence-tracks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 0.95vw, 18px);
  width: min(1360px, calc(100% - clamp(20px, 8vw, 140px)));
  margin: 0 auto;
}

.track-frame {
  container-type: inline-size;
  min-width: 0;
}

.track-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 126cqw;
  padding: 10cqw 10% 16cqw 12.2%;
  color: #ffffff;
  background: linear-gradient(to top right, #242190 0%, #242190 22%, #1a1a4e 100%);
  clip-path: polygon(
    10.3% 0,
    92.4% 0,
    100% 10.8cqw,
    100% calc(100% - 6.4cqw),
    91.8% calc(100% - 6.4cqw),
    91% 100%,
    14.6% 100%,
    6.9% calc(100% - 7.3cqw),
    0 calc(100% - 7.3cqw),
    0 8.9cqw
  );
}

.track-card h2 {
  margin: 0;
  color: #d0f4fe;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.65rem, 11.2cqw, 3.45rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.track-duration {
  margin: 11cqw 0 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.02rem, 5.4cqw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
}

.track-card p:not(.track-duration) {
  margin: 5.2cqw 0 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.98rem, 5cqw, 1.32rem);
  font-weight: 500;
  line-height: 1.38;
}

.track-more {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 49cqw;
  height: 8.9cqw;
  min-height: 34px;
  margin-top: auto;
  padding: 0 0.4em;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.9rem, 4.5cqw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.track-more:hover {
  background: #ff1a1c;
}

@media (max-width: 760px) {
  .licence-tracks-grid {
    grid-template-columns: 1fr;
    width: min(440px, calc(100% - 20px));
    gap: 16px;
  }
}

.licence-faq {
  background: #191949;
  padding: clamp(10px, 1.6vw, 28px) 0 0;
}

.licence-faq-frame {
  container-type: inline-size;
  width: calc(100% - clamp(16px, 7.4vw, 150px));
  margin: 0 auto;
}

.licence-faq-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(ellipse 34% 28% at 14% 92%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 68%),
    radial-gradient(ellipse 22% 18% at 48% 96%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #54a4d9 0%, #5eafde 46%, #78c3e8 100%);
  clip-path: polygon(
    0% 1.86cqw,
    1.8% 0.09cqw,
    8% 0.72cqw,
    14% 1.55cqw,
    19.7% 2.33cqw,
    26% 1.2cqw,
    34% 0.07cqw,
    42% 0.78cqw,
    50.1% 1.95cqw,
    58% 1.45cqw,
    66.3% 0.96cqw,
    73% 1.85cqw,
    80.6% 2.86cqw,
    90% 2.05cqw,
    100% 1.52cqw,
    100% 100%,
    0% 100%
  );
}

.licence-faq-net {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: min(78%, 560px);
  pointer-events: none;
}

.licence-faq-content {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 8.2cqw, 118px) clamp(18px, 8cqw, 132px) clamp(56px, 8cqw, 108px);
}

.licence-faq-title {
  margin: 0 0 clamp(22px, 2.6cqw, 40px);
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(1.45rem, 3.15cqw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.licence-faq-list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.7cqw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.licence-faq-item {
  background: rgba(255, 255, 255, 0.2);
  transition: background-color 0.35s ease;
}

.licence-faq-item:hover,
.licence-faq-item:focus-within {
  background: rgba(255, 255, 255, 0.28);
}

.licence-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6cqw, 28px);
  width: 100%;
  min-height: clamp(52px, 5.4cqw, 78px);
  margin: 0;
  padding: 0.85em clamp(16px, 2cqw, 34px);
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.92rem, 1.25cqw, 1.2rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.005em;
  text-align: left;
  cursor: pointer;
}

.licence-faq-q:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -3px;
}

.licence-faq-q-text {
  flex: 1;
}

.licence-faq-chevron {
  flex: 0 0 auto;
  width: 14px;
  height: 22px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.licence-faq-item.is-open .licence-faq-chevron {
  transform: rotate(90deg);
}

.licence-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease;
}

.licence-faq-item.is-open .licence-faq-a {
  grid-template-rows: 1fr;
  opacity: 1;
}

.licence-faq-a-inner {
  overflow: hidden;
}

.licence-faq-a p {
  margin: 0;
  padding: 0 clamp(40px, 4.5cqw, 72px) 1.15em clamp(16px, 2cqw, 34px);
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: clamp(0.88rem, 1.08cqw, 1.05rem);
  font-weight: 400;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .licence-faq-frame {
    width: calc(100% - 16px);
  }

  .licence-faq-content {
    padding: 58px 12px 48px;
  }

  .licence-faq-title {
    margin-bottom: 16px;
    font-size: 1.28rem;
  }

  .licence-faq-list {
    gap: 10px;
  }

  .licence-faq-q {
    min-height: 48px;
    padding: 12px 12px;
    font-size: 0.92rem;
  }

  .licence-faq-a p {
    padding: 0 12px 12px;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .licence-faq-a,
  .licence-faq-chevron,
  .licence-faq-item {
    transition: none;
  }
}


.page-program {
  background: #e7fbff;
}

.page-program .page {
  padding-top: 0;
}

.prog-hero {
  position: relative;
  overflow: hidden;
  border-bottom: max(3px, 0.18vw) solid #299cc6;
  background:
    url("../assets/prog-hero-bg.jpg") center bottom / cover no-repeat,
    radial-gradient(ellipse 30% 58% at 36% 50%, rgba(32, 146, 200, 0.5), rgba(32, 146, 200, 0) 72%),
    linear-gradient(90deg, #236995 0%, #2376a3 12%, #1f80b1 24%, #1f7ab0 36%, #236caa 48%, #1b549d 61%, #173e91 73%, #132a86 85%, #10197c 100%);
}

.prog-hero-copy {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 1600px);
  aspect-ratio: 4534 / 1728;
  margin: 0 auto;
  padding: 0 4%;
  color: #ffffff;
  text-align: center;
}

.prog-hero-title {
  margin: 19.69cqw 0 0;
  font-family: "Kufam", sans-serif;
  font-size: 4.52cqw;
  font-weight: 700;
  line-height: 1.1;
}

.prog-hero-lead {
  margin: 2.2cqw 0 0;
  font-family: "Kufam", sans-serif;
  font-size: 1.81cqw;
  font-weight: 500;
  line-height: 1.28;
}

.prog-overview {
  --prog-pad: max(calc((100% - 1440px) / 2), clamp(14px, 3.5vw, 56px));
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  padding-inline: var(--prog-pad);
  background: #e7fbff;
}

.prog-overview::before {
  content: "";
  position: absolute;
  left: calc(var(--prog-pad) - 75.8cqw);
  top: -3.93cqw;
  width: 171.6cqw;
  aspect-ratio: 1;
  background: url("../assets/background-1.jpg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.prog-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 31.85cqw 31.85cqw 27.79cqw;
  column-gap: 1.52cqw;
  align-items: start;
  padding: 0 2.03cqw 2.51cqw 3.44cqw;
}

.prog-col {
  display: flex;
  flex-direction: column;
}

.prog-col:first-child {
  gap: 1.85cqw;
  padding-top: 4.9cqw;
}

.prog-col:nth-child(2) {
  gap: 2.03cqw;
  padding-top: 5.34cqw;
}

.prog-card {
  display: flex;
  flex-direction: column;
  padding: 3.8cqw 2.54cqw 2.2cqw;
  border-radius: 0.9cqw;
  color: #ffffff;
}

.prog-card-navy {
  min-height: 22.32cqw;
  padding-bottom: 1.5cqw;
  background: #1c1a53;
}

.prog-card-cyan {
  min-height: 22.23cqw;
  padding-bottom: 0.3cqw;
  background: #299cc6;
}

.prog-card-blue {
  min-height: 36.26cqw;
  background: #1a3696;
}

.prog-card-teal {
  min-height: 30.26cqw;
  padding-top: 1.78cqw;
  padding-bottom: 1.2cqw;
  background: #215c89;
}

.prog-card-title {
  display: flex;
  align-items: center;
  gap: 1.14cqw;
  margin: 0 0 0 -0.44cqw;
  font-family: "Kufam", sans-serif;
  font-size: 2.04cqw;
  font-weight: 600;
  line-height: 1.34;
}

.prog-card-title img {
  flex: 0 0 auto;
  width: 4.96cqw;
  height: 4.96cqw;
  object-fit: contain;
}

.prog-card p {
  margin: 2.23cqw 0 0;
  font-family: "Kufam", sans-serif;
  font-size: 1.3cqw;
  font-weight: 500;
  line-height: 1.51cqw;
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
}

.prog-card-teal p {
  margin-top: 4.25cqw;
  letter-spacing: -0.012em;
}

.prog-card-body {
  margin: 2.23cqw 0 0;
}

.prog-card-teal .prog-card-body {
  margin-top: 4.25cqw;
}

.prog-card-body .prog-card-intro {
  margin: 0 0 0.85cqw;
  text-align: left;
  hyphens: none;
}

.prog-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prog-card-list li {
  position: relative;
  margin: 0;
  padding-left: 1.35cqw;
  font-family: "Kufam", sans-serif;
  font-size: 1.3cqw;
  font-weight: 500;
  line-height: 1.55cqw;
  text-align: left;
}

.prog-card-list li + li {
  margin-top: 0.45cqw;
}

.prog-card-list li::before {
  content: "";
  position: absolute;
  top: 0.55cqw;
  left: 0;
  width: 0.4cqw;
  height: 0.4cqw;
  border-radius: 50%;
  background: #fe0002;
}

.prog-side {
  position: relative;
  display: flex;
  flex-direction: column;
}

.prog-duration {
  display: block;
  position: relative;
  z-index: 2;
  width: 20.49cqw;
  height: 20.49cqw;
  margin: 1.99cqw 0 0 3.73cqw;
  padding: 3.85cqw 0 0 2.27cqw;
  border-radius: 50%;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.prog-duration-num {
  font-size: 13.14cqw;
}

.prog-duration-unit {
  margin-left: 0.4cqw;
  font-size: 4.47cqw;
}

.prog-costs {
  position: relative;
  z-index: 1;
  min-height: 37.32cqw;
  margin-top: 0.9cqw;
  padding: 1.46cqw 1.7cqw 2.4cqw 2.38cqw;
  border-radius: 0.93cqw;
  background: #ffffff;
  color: #111111;
}

.prog-costs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24.04cqw;
  height: 3.57cqw;
  margin: 0 0 0 -0.64cqw;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 1.97cqw;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.prog-costs-block h2 {
  margin: 0;
  font-family: "Kufam", sans-serif;
  font-size: 1.507cqw;
  font-weight: 500;
  line-height: 1.3;
}

.prog-costs-block p {
  margin: 1.6cqw 0 0;
  font-family: "Kufam", sans-serif;
  font-size: 1.42cqw;
  font-weight: 400;
  line-height: 1.71cqw;
  hyphens: auto;
  overflow-wrap: break-word;
}

.prog-costs-block:first-of-type {
  margin-top: 3cqw;
  padding-bottom: 2.1cqw;
  border-bottom: 1px solid #a8a8a8;
  width: 22.7cqw;
}

.prog-costs-block + .prog-costs-block {
  margin-top: 1.22cqw;
}

.page-program .about-gallery {
  background: linear-gradient(180deg, #0e0c35 0%, #111a47 30%, #1d5d9b 100%);
  padding: clamp(32px, 5.9vw, 100px) 0 clamp(40px, 10vw, 160px);
}

.page-program .about-gallery-title {
  margin-bottom: clamp(24px, 3.3vw, 56px);
  font-size: clamp(1.8rem, 3.72vw, 3.4rem);
}

.page-program .about-gallery-stage {
  --card-w: min(46.7vw, 680px);
  height: calc(var(--card-w) * 0.715);
}

.prog-identity {
  padding: 0 max(calc((100% - 1440px) / 2), clamp(14px, 3.5vw, 56px));
  background: #e7fbff;
}

.prog-identity-inner {
  container-type: inline-size;
  padding: 1.25cqw 0 1.39cqw;
  text-align: center;
}

.prog-identity-title {
  margin: 0;
  color: #222083;
  font-family: "Kufam", sans-serif;
  font-size: 4.84cqw;
  font-weight: 700;
  line-height: 1.1;
}

.prog-identity-lead {
  margin: 2.3cqw 0 0;
  color: #0e0c35;
  font-family: "Kufam", sans-serif;
  font-size: 1.89cqw;
  font-weight: 500;
  line-height: 1.364;
}

.prog-identity-grid {
  display: grid;
  grid-template-columns: repeat(2, 31.91cqw);
  gap: 1.92cqw 1.61cqw;
  justify-content: center;
  margin-top: 2.05cqw;
  text-align: left;
}

.prog-id-card.prog-card {
  min-height: 19.72cqw;
  padding: 3.65cqw 2.54cqw 1.5cqw;
  border-radius: 1cqw;
}

.prog-id-card:nth-child(n + 3) {
  min-height: 18.46cqw;
  padding-top: 1.85cqw;
}

.prog-id-card.prog-card-red {
  background: #ed0000;
}

.prog-id-card .prog-card-title {
  display: block;
  margin: 0;
  padding-left: 5.69cqw;
}

.prog-id-card.prog-card-blue p,
.prog-id-card.prog-card-cyan p {
  margin-top: 3.1cqw;
}

.prog-identity .director-wrap {
  width: 90.2cqw;
  margin: 2.38cqw auto 0;
  text-align: left;
}

@media (max-width: 1100px) {
  .prog-identity {
    padding: 0;
  }

  .prog-identity-inner {
    width: min(100% - 40px, 960px);
    margin: 0 auto;
    padding: 48px 0 56px;
  }

  .prog-identity-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  .prog-identity-lead {
    margin-top: 14px;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.45;
  }

  .prog-identity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
  }

  .prog-id-card.prog-card,
  .prog-id-card:nth-child(n + 3) {
    min-height: 0;
    padding: clamp(22px, 3.4vw, 32px) clamp(20px, 3vw, 30px) clamp(24px, 3.4vw, 34px);
    border-radius: 14px;
  }

  .prog-id-card .prog-card-title {
    padding-left: 0;
  }

  .prog-id-card.prog-card-blue p,
  .prog-id-card.prog-card-cyan p {
    margin-top: clamp(14px, 2vw, 20px);
  }

  .prog-identity .director-wrap {
    width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 720px) {
  .prog-identity-inner {
    width: min(100% - 28px, 520px);
    padding: 40px 0 44px;
  }

  .prog-identity-lead br {
    display: none;
  }

  .prog-identity-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
  }

  .prog-id-card .prog-card-title br {
    display: none;
  }
}

@media (max-width: 1100px) {
  .prog-hero {
    aspect-ratio: auto;
    min-height: 54dvh;
    height: 54dvh;
    max-height: 520px;
  }

  .prog-hero-copy {
    width: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 20px 28px;
    box-sizing: border-box;
  }

  .prog-hero-title {
    margin-top: 0;
    font-size: clamp(1.9rem, 5.4vw, 3.2rem);
    line-height: 1.12;
  }

  .prog-hero-lead {
    margin-top: 16px;
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    line-height: 1.4;
  }

  .prog-overview {
    padding-inline: 0;
  }

  .prog-overview::before {
    left: -60%;
    top: -2%;
    width: 220%;
    opacity: 0.8;
  }

  .prog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: min(100% - 40px, 960px);
    margin: 0 auto;
    padding: 44px 0 56px;
  }

  .prog-col:first-child,
  .prog-col:nth-child(2) {
    gap: 20px;
    padding-top: 0;
  }

  .prog-card,
  .prog-card-teal {
    min-height: 0;
    padding: clamp(22px, 3.4vw, 32px) clamp(20px, 3vw, 30px) clamp(24px, 3.4vw, 34px);
    border-radius: 14px;
  }

  .prog-card-title {
    gap: 14px;
    margin-left: 0;
    font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  }

  .prog-card-title img {
    width: clamp(44px, 6vw, 60px);
    height: clamp(44px, 6vw, 60px);
  }

  .prog-card p,
  .prog-card-teal p {
    margin-top: clamp(14px, 2vw, 20px);
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.5;
  }

  .prog-card-body {
    margin-top: clamp(14px, 2vw, 20px);
  }

  .prog-card-teal .prog-card-body {
    margin-top: clamp(14px, 2vw, 20px);
  }

  .prog-card-body .prog-card-intro {
    margin-bottom: 10px;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.5;
  }

  .prog-card-list li {
    padding-left: 18px;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.5;
  }

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

  .prog-card-list li::before {
    top: 0.55em;
    width: 7px;
    height: 7px;
  }

  .prog-side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 4vw, 44px);
  }

  .prog-duration {
    flex: 0 0 auto;
    width: clamp(170px, 24vw, 240px);
    height: clamp(170px, 24vw, 240px);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding-top: clamp(30px, 4.3vw, 44px);
  }

  .prog-duration-num {
    font-size: clamp(6.2rem, 13vw, 8.8rem);
  }

  .prog-duration-unit {
    font-size: clamp(2.4rem, 5vw, 3.3rem);
  }

  .prog-costs {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 0;
    padding: 22px clamp(20px, 3vw, 32px) 28px;
    border-radius: 14px;
  }

  .prog-costs-badge {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-left: 0;
    padding: 0.42em 1em;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  }

  .prog-costs-block h2 {
    font-size: clamp(1rem, 1.9vw, 1.12rem);
  }

  .prog-costs-block p {
    margin-top: 10px;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.5;
  }

  .prog-costs-block:first-of-type {
    width: 100%;
    margin-top: 22px;
    padding-bottom: 18px;
  }

  .prog-costs-block + .prog-costs-block {
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .prog-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 54dvh;
    height: 54dvh;
    max-height: 520px;
    isolation: isolate;
    background-position: center 28%;
    background-size: cover;
  }

  .prog-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 0;
    height: 62%;
    background: linear-gradient(
      to top,
      rgba(10, 12, 40, 0.82) 0%,
      rgba(10, 12, 40, 0.45) 42%,
      rgba(10, 12, 40, 0) 100%
    );
    pointer-events: none;
  }

  .prog-hero-copy {
    position: relative;
    z-index: 1;
    padding: 0 20px 26px;
  }

  .prog-hero-title {
    margin-top: 0;
    font-size: clamp(1.7rem, 7.5vw, 2.3rem);
  }

  .prog-hero-lead {
    margin-top: 0.55em;
    font-size: 0.95rem;
  }

  .prog-hero-lead br {
    display: none;
  }

  .prog-overview::before {
    left: -95%;
    top: 0;
    width: 300%;
  }

  .prog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: min(100% - 28px, 520px);
    padding: 32px 0 44px;
  }

  .prog-col:first-child,
  .prog-col:nth-child(2) {
    gap: 16px;
  }

  .prog-side {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .prog-duration {
    align-self: center;
    width: 170px;
    height: 170px;
    padding-top: 36px;
  }

  .prog-duration-num {
    font-size: 6.2rem;
  }

  .prog-duration-unit {
    font-size: 2.4rem;
  }

  .prog-costs {
    margin-top: 14px;
    padding-top: 20px;
  }

  .prog-costs-badge {
    width: 100%;
  }

  .page-program .about-gallery-stage {
    --card-w: min(74vw, 340px);
  }
}

.prog-programme {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-inline: max(calc((100% - 1440px) / 2), clamp(14px, 3.5vw, 56px));
  background: #e7fbff;
}

.prog-programme-inner {
  container-type: inline-size;
  padding: 1px 0;
}

.prog-banner {
  position: relative;
  width: 92.63cqw;
  aspect-ratio: 4467 / 1321;
  margin: 10.6cqw 0 0 3.66cqw;
}

.prog-banner-photo {
  position: absolute;
  top: -37.09%;
  left: -0.31%;
  width: 101.39%;
  max-width: none;
  height: auto;
}

.prog-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.6% / 5.4%;
  background: linear-gradient(180deg, rgba(16, 26, 90, 0) 40%, rgba(16, 26, 90, 0.72) 100%);
  pointer-events: none;
}

.prog-banner-title {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 3.57cqw;
  left: 0;
  margin: 0;
  padding-left: 4.2cqw;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 4.85cqw;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.prog-programme-intro {
  margin: 3.95cqw 8.2cqw 0 5.91cqw;
  color: #1c1a53;
  font-family: "Kufam", sans-serif;
  font-size: 1.32cqw;
  font-weight: 400;
  line-height: 1.72cqw;
  text-align: justify;
  hyphens: auto;
}

.prog-programme:has(.prog-table-wrap[hidden]) .prog-programme-intro {
  margin-bottom: 4.06cqw;
}

.prog-table-wrap {
  position: relative;
  margin: 2.76cqw 0 4.06cqw;
}

.prog-table-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 19.87cqw;
  right: -50vw;
  bottom: -4.06cqw;
  left: -50vw;
  background: #ffffff;
}

.prog-table-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 92.7cqw;
  min-height: 39.5cqw;
  margin-left: 3.93cqw;
  color: #ffffff;
  background:
    radial-gradient(ellipse 34% 28% at 14% 92%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 68%),
    radial-gradient(ellipse 22% 18% at 48% 96%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #54a4d9 0%, #5eafde 46%, #78c3e8 100%);
  clip-path: polygon(
    0 2.56cqw,
    2.67% 0,
    20.63% 2.2cqw,
    23.84% 0.88cqw,
    36.22% 0,
    51.93% 1.83cqw,
    66.8% 0.86cqw,
    82.38% 2.71cqw,
    99.05% 1.43cqw,
    100% 1.87cqw,
    100% 100%,
    0 100%
  );
}

.prog-table-content {
  position: relative;
  z-index: 1;
  padding: 8.18cqw 0 4.87cqw;
}

.prog-years {
  display: grid;
  grid-template-columns: repeat(3, 26.42cqw);
  column-gap: 3.98cqw;
  margin-left: 2.51cqw;
}

.prog-year {
  height: 4.72cqw;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 2.81cqw;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.prog-year:hover {
  background: rgba(255, 255, 255, 0.18);
}

.prog-year[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.35);
}

.prog-year:focus-visible,
.prog-search input:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.prog-search {
  display: block;
  width: 47.11cqw;
  height: 4.59cqw;
  margin: 2.36cqw 0 0 21.37cqw;
}

.prog-search input {
  width: 100%;
  height: 100%;
  padding: 0 1em;
  border: 0;
  border-radius: 0.95cqw;
  background: #ffffff;
  color: #1c1a53;
  font-family: "Kufam", sans-serif;
  font-size: 1.26cqw;
  font-weight: 400;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}

.prog-search input::placeholder {
  color: #afafaf;
  opacity: 1;
}

.prog-table-scroll {
  margin: 3.44cqw 0 0 7.34cqw;
}

.prog-table {
  border-collapse: collapse;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 1.53cqw;
  font-weight: 400;
  text-align: left;
}

.prog-table th,
.prog-table td {
  padding: 0;
  font-weight: 400;
  line-height: 2.78cqw;
  vertical-align: top;
}

.prog-table th {
  padding-bottom: 3cqw;
}

.prog-table th:nth-child(1) {
  width: 16.21cqw;
}

.prog-table th:nth-child(2) {
  width: 38.02cqw;
}

.prog-table th:nth-child(3) {
  width: 14.14cqw;
}

.prog-table .prog-row-sub td {
  font-size: 0.85em;
  opacity: 0.85;
}

.prog-table .prog-row-sub td:nth-child(2) {
  padding-left: 1.5em;
}

.prog-table .prog-row-total td {
  padding-top: 0.4em;
  padding-bottom: 1.6em;
  font-weight: 700;
}

.prog-table-empty {
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 1.53cqw;
  line-height: 2.78cqw;
}

.prog-admission {
  padding-inline: max(calc((100% - 1440px) / 2), clamp(14px, 3.5vw, 56px));
  background: linear-gradient(180deg, #0e0c35 0%, #0e0c35 55.7%, #1e3a6b 76.4%, #2e67a0 90.2%, #3783c1 100%);
}

.prog-admission-inner {
  container-type: inline-size;
  padding: 1px 0;
}

.prog-pieces {
  display: flex;
  align-items: flex-start;
  margin-top: 3.22cqw;
}

.prog-pieces-photo {
  display: block;
  flex: 0 0 auto;
  width: 50.68cqw;
  height: auto;
  margin-left: 2.43cqw;
}

.prog-pieces-copy {
  min-width: 0;
  margin-left: 3.77cqw;
  padding-top: 8.57cqw;
  color: #ffffff;
}

.prog-pieces-title {
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 3.11cqw;
  font-weight: 700;
  line-height: 1.1;
}

.prog-pieces-list {
  margin: 2.2cqw 0 0 0.53cqw;
  padding: 0;
  list-style: none;
}

.prog-pieces-list li {
  position: relative;
  padding-left: 1.52cqw;
  font-family: "Kufam", sans-serif;
  font-size: 1.33cqw;
  font-weight: 400;
  line-height: 1.81cqw;
}

.prog-pieces-list li::before {
  content: "";
  position: absolute;
  top: 0.5cqw;
  left: 0;
  width: 0.4cqw;
  height: 0.4cqw;
  border-radius: 50%;
  background: #fe0002;
}

.prog-facts {
  display: grid;
  grid-template-columns: 27.88cqw 60.21cqw;
  column-gap: 3.86cqw;
  align-items: start;
  margin: 3.22cqw 0 2.93cqw 4.3cqw;
}

.prog-fees {
  min-height: 55.27cqw;
  padding: 1.52cqw 2.4cqw 2cqw 2.49cqw;
  border-radius: 1.59cqw;
  background: #ffffff;
  color: #000000;
}

.prog-fees-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25.21cqw;
  height: 3.77cqw;
  margin: 0 0 0 -0.64cqw;
  border-radius: 999px;
  background: #fe0002;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 2.12cqw;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.prog-fees-block {
  font-family: "Kufam", sans-serif;
  font-size: 1.53cqw;
  line-height: 1.72cqw;
}

.prog-fees-block:first-of-type {
  margin-top: 2.78cqw;
}

.prog-fees-block:not(:last-child) {
  padding-bottom: 1.98cqw;
  border-bottom: 1px solid #aaaaaa;
}

.prog-fees-block + .prog-fees-block {
  padding-top: 1.26cqw;
}

.prog-fees-block h3 {
  margin: 0 0 1.72cqw;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.prog-fees-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prog-fees-block li {
  font-size: 1.35cqw;
  hyphens: auto;
}

.prog-fees-block li::before {
  content: ". ";
}

.prog-best {
  padding-top: 0.25cqw;
  color: #ffffff;
  text-align: center;
}

.prog-best-title {
  margin: 0;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 3.12cqw;
  font-weight: 700;
  line-height: 3.29cqw;
}

.prog-best-lead {
  margin: 2.6cqw 0 0;
  font-family: "Kufam", sans-serif;
  font-size: 1.33cqw;
  font-weight: 400;
  line-height: 1.48cqw;
  text-align: justify;
  hyphens: auto;
}

.prog-stats {
  display: grid;
  grid-template-columns: repeat(2, 21.62cqw);
  row-gap: 4.08cqw;
  margin: 6.3cqw 0 0 10.72cqw;
  padding: 0;
  list-style: none;
}

.prog-stats li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prog-stat {
  display: grid;
  place-items: center;
  width: 11.03cqw;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  color: #ffffff;
  font-family: "Kufam", sans-serif;
  font-size: 3.6cqw;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.prog-stat-red {
  background: #fe0002;
}

.prog-stat-blue {
  background: #222083;
}

.prog-stat-label {
  margin: 0.5cqw 0 0;
  font-family: "Kufam", sans-serif;
  font-size: 1.23cqw;
  font-weight: 400;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .prog-programme,
  .prog-admission {
    padding-inline: 0;
  }

  .prog-programme-inner,
  .prog-admission-inner {
    width: min(100% - 40px, 960px);
    margin: 0 auto;
    padding: 44px 0 52px;
  }

  .prog-banner {
    width: 100%;
    margin: 10.97% 0 0;
  }

  .prog-banner-title {
    bottom: clamp(16px, 2.6vw, 26px);
    padding: 0 16px;
    font-size: clamp(1.75rem, 5vw, 3rem);
  }

  .prog-programme-intro {
    margin: 24px 0 0;
    font-size: clamp(0.95rem, 1.7vw, 1.05rem);
    line-height: 1.55;
  }

  .prog-programme:has(.prog-table-wrap[hidden]) .prog-programme-intro {
    margin-bottom: 40px;
  }

  .prog-table-wrap {
    margin: 28px 0 0;
  }

  .prog-pieces {
    margin-top: 0;
  }

  .prog-best {
    padding-top: 0;
  }

  .prog-table-wrap::before {
    display: none;
  }

  .prog-table-panel {
    width: 100%;
    min-height: 0;
    margin-left: 0;
  }

  .prog-table-content {
    padding: clamp(52px, 8vw, 72px) clamp(16px, 3vw, 32px) clamp(32px, 4vw, 44px);
  }

  .prog-years {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-left: 0;
  }

  .prog-year {
    height: auto;
    padding: 0.55em 0.3em;
    font-size: clamp(0.98rem, 2.6vw, 1.5rem);
  }

  .prog-search {
    width: min(100%, 520px);
    height: 48px;
    margin: 20px auto 0;
  }

  .prog-search input {
    border-radius: 12px;
    font-size: 1rem;
  }

  .prog-table-scroll {
    margin: 28px 0 0;
    overflow-x: auto;
  }

  .prog-table {
    width: 100%;
    min-width: 520px;
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  }

  .prog-table th,
  .prog-table td {
    padding-right: 16px;
    line-height: 1.55;
  }

  .prog-table th {
    padding-bottom: 14px;
  }

  .prog-table td {
    padding-bottom: 6px;
  }

  .prog-table th:nth-child(n) {
    width: auto;
  }

  .prog-table-empty {
    font-size: 1rem;
    line-height: 1.5;
  }

  .prog-pieces-photo {
    width: 50%;
    margin-left: 0;
  }

  .prog-pieces-copy {
    margin-left: clamp(20px, 3.5vw, 36px);
    padding-top: clamp(20px, 5vw, 56px);
  }

  .prog-pieces-title {
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  }

  .prog-pieces-list {
    margin: 16px 0 0;
  }

  .prog-pieces-list li {
    padding-left: 18px;
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
    line-height: 1.55;
  }

  .prog-pieces-list li::before {
    top: 0.6em;
    width: 7px;
    height: 7px;
  }

  .prog-facts {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 32px;
    margin: 40px 0 0;
  }

  .prog-fees {
    min-height: 0;
    padding: 22px clamp(18px, 2.4vw, 26px) 26px;
    border-radius: 18px;
  }

  .prog-fees-badge {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0.45em 0.8em;
    font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  }

  .prog-fees-block,
  .prog-fees-block li {
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
    line-height: 1.5;
  }

  .prog-fees-block:first-of-type {
    margin-top: 22px;
  }

  .prog-fees-block:not(:last-child) {
    padding-bottom: 16px;
  }

  .prog-fees-block + .prog-fees-block {
    padding-top: 14px;
  }

  .prog-fees-block h3 {
    margin-bottom: 10px;
  }

  .prog-best-title {
    font-size: clamp(1.55rem, 3.6vw, 2.4rem);
    line-height: 1.15;
  }

  .prog-best-lead {
    margin-top: 16px;
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
    line-height: 1.55;
  }

  .prog-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    margin: 32px 0 0;
  }

  .prog-stat {
    width: clamp(110px, 16vw, 150px);
    font-size: clamp(1.9rem, 4.8vw, 2.5rem);
  }

  .prog-stat-label {
    margin-top: 10px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
  }
}

@media (max-width: 720px) {
  .prog-programme-inner,
  .prog-admission-inner {
    width: min(100% - 28px, 520px);
    padding: 36px 0 44px;
  }

  .prog-banner-title {
    bottom: 7%;
    padding: 0 10px;
    font-size: clamp(1rem, 5.6vw, 1.75rem);
  }

  .prog-pieces {
    flex-direction: column;
    align-items: stretch;
  }

  .prog-pieces-photo {
    width: 100%;
  }

  .prog-pieces-copy {
    margin: 20px 0 0;
    padding-top: 0;
  }

  .prog-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .prog-best-title br {
    display: none;
  }
}

@media (max-width: 1120px) {
  .site-header .header-nav a[aria-current="page"] {
    text-decoration: underline 3px #fe0002;
    text-underline-offset: 0.35em;
  }

  .site-header .header-nav a[aria-current="page"]::after {
    display: none;
  }
}

/* WordPress theme helpers */
.header-logo .custom-logo-link{display:block;line-height:0}
.header-logo .custom-logo{width:clamp(78px,6.7vw,100px);height:auto}
.news-all-link{text-align:center;margin:28px 0 0}
.news-all-link a{color:#191949;font-family:Kufam,sans-serif;font-weight:700;text-decoration:underline}
@media (max-width:1120px){.header-logo .custom-logo{width:84px;max-width:84px;height:auto}}
