/*
  Ecoles Reverend KIM - main site stylesheet

  Organization
  1. Design tokens and global primitives
  2. Header, navigation, and hero
  3. Shared components and content sections
  4. Footer
  5. Homepage refinements and section themes
  6. Responsive and reduced-motion rules

  The homepage refinement layer intentionally comes after the shared styles
  so it can theme existing components without changing other pages.
*/

/* 1. Design tokens and global primitives */
:root {
  /* Legacy aliases (keep for body sections) */
  --blue: #032A65;
  --blue900: #032A65;
  --blue700: #032A65;
  --blue300: #4a90e2;
  --blue100: #d6e8ff;
  --blue50: #eff6ff;
  --red: #cc1a1b;
  --red900: #8b1112;
  --red300: #e85c5d;
  --red100: #fed7d7;
  --red50: #fff5f5;
  --ink: #0f172a;
  --text: #1e293b;
  --muted: #475569;
  --line: #e2e8f0;
  --soft: #f1f5f9;
  --page: #f8fafc;
  --white: #fff;
  --scroll: 0px;
  /* New design tokens — Université Révérend KIM look & feel (header/nav/flash/footer) */
  --pck-navy-dark: #022252;
  --pck-navy-900: #032a65;
  --pck-navy-700: #032a65;
  --pck-navy-500: #032a65;
  --pck-navy-100: #eaf1f8;
  --pck-navy-50: #f5f8fc;
  --pck-logo-blue: #032a65;
  --pck-logo-red: #c9001c;
  --pck-white: #ffffff;
  --pck-off-white: #f7f7f5;
  --pck-cream: #fbfaf8;
  --pck-text: #111111;
  --pck-muted: #4f4f4a;
  --pck-border: #e8e5df;
  --pck-error: #b42318;
  --pck-success: #16794a;
  --color-primary: var(--pck-navy-900);
  --color-secondary: var(--pck-navy-700);
  --color-accent-blue: var(--pck-logo-blue);
  --color-accent-red: var(--pck-logo-red);
  --color-bg: var(--pck-white);
  --color-bg-alt: var(--pck-off-white);
  --color-bg-soft: var(--pck-navy-50);
  --color-text: var(--pck-text);
  --color-muted: var(--pck-muted);
  --color-border: var(--pck-border);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Source Sans 3", sans-serif;
  --font-mono: "JetBrains Mono", "DM Mono", "Courier New", monospace;
  --container: min(1180px, calc(100vw - 32px));
  --header-height: 150px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* Harmonized typographic scale — modern editorial */
  --text-kicker: 0.72rem;
  --text-kicker-ls: 0.14em;
  --text-h1: clamp(2.75rem, 5vw + 0.5rem, 4.6rem);
  --text-h2: clamp(1.9rem, 3.4vw, 3rem);
  --text-h3: clamp(1.1rem, 1.7vw, 1.4rem);
  --leading-tight: 0.98;
  --tracking-display: -0.03em;
}

/* Campus map section imported from map-section, adapted for the school network */
.campuses-section {
  position: relative;
  overflow: hidden;
}

.campuses-section.home-section.section-pad--lg {
  padding-bottom: 0;
}

.campuses-section .container {
  width: var(--container);
  margin-inline: auto;
}

.campuses-section.home-section > .container {
  position: relative;
  z-index: 1;
}

.section-bg-text {
  position: absolute;
  top: clamp(-0.25rem, 0.8vw, 0.75rem);
  right: max(1rem, calc((100vw - var(--container)) / 2));
  z-index: 0;
  color: color-mix(in srgb, var(--color-primary) 92%, transparent);
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 10vw, 10rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.8;
  letter-spacing: -0.035em;
  opacity: 0.06;
  pointer-events: none;
  text-shadow: 0 1.5rem 3.5rem color-mix(in srgb, var(--color-primary) 12%, transparent);
  white-space: nowrap;
  user-select: none;
}

.kicker,
.overline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: var(--text-kicker);
  font-weight: 700;
  letter-spacing: var(--text-kicker-ls);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.9rem;
  color: var(--color-accent-red);
}
.kicker::before,
.overline::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--color-accent-red);
}
.overline { margin-bottom: 0.85rem; }
.overline.blue,
.kicker--blue { color: var(--color-primary); }
.overline.red-text,
.kicker--red { color: var(--color-accent-red); }

.text-link {
  display: inline-block;
  color: var(--color-accent-blue);
  font-weight: 700;
  border-bottom: 1px solid var(--color-accent-red);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--color-accent-blue);
}

.campuses-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.campuses-heading {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.campuses-intro__description {
  max-width: 580px;
  color: var(--color-text);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.72;
}

.campuses-intro__description p:last-of-type {
  margin-bottom: 1.4rem;
}

.campuses-explorer {
  position: relative;
  width: 100vw;
  min-height: 640px;
  height: 76vh;
  max-height: 880px;
  margin-left: calc(50% - 50vw);
  background: #f2f3f1;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  clip-path: inset(0 0 0 0);
}

.campuses-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #f2f3f1;
}

.campuses-map .leaflet-container {
  width: 100%;
  height: 100%;
}

.campuses-map .leaflet-tile-pane {
  filter: grayscale(0.85) saturate(0.45) brightness(1.08) contrast(0.88);
}

.campuses-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 0;
  box-shadow: none;
}

.campuses-map .leaflet-control-zoom a {
  width: 42px;
  height: 42px;
  line-height: 42px;
  color: var(--color-primary);
  border-bottom-color: var(--color-border);
}

.campuses-map .leaflet-control-attribution {
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.86);
}

.campus-marker {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 3px solid var(--pck-white);
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--pck-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.campus-marker.is-focused {
  width: 44px;
  height: 44px;
  background: var(--color-accent-red);
  transform: translate(-5px, -5px);
}

.campus-marker.is-focused::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(201, 0, 28, 0.42);
  border-radius: 50%;
  animation: markerPulse 1.8s infinite;
}

.campus-marker-shell {
  background: transparent;
  border: 0;
}

.campus-marker:focus-visible,
.campus-marker:focus {
  box-shadow: 0 0 0 3px var(--pck-white), 0 0 0 6px var(--color-accent-red);
}

.campus-marker-tooltip {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  color: var(--color-primary);
  font-family: var(--font-body);
  overflow: hidden;
  white-space: normal;
  box-shadow: 0 18px 40px rgba(11, 42, 74, 0.2);
}

.campus-marker-tooltip__card {
  width: min(250px, 70vw);
  background: var(--pck-white);
}

.campus-marker-tooltip__card img {
  width: 100%;
  height: 118px;
  display: block;
  object-fit: cover;
}

.campus-marker-tooltip__card div {
  padding: 0.75rem 0.85rem 0.8rem;
}

.campus-marker-tooltip__card strong,
.campus-marker-tooltip__card span {
  display: block;
}

.campus-marker-tooltip__card strong {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
  line-height: 1.25;
}

.campus-marker-tooltip__card span {
  color: var(--color-text);
  font-size: 0.82rem;
  line-height: 1.35;
}

@keyframes markerPulse {
  0% { opacity: 0.7; transform: scale(0.78); }
  100% { opacity: 0; transform: scale(1.35); }
}

.campus-map-panel {
  position: absolute;
  z-index: 5;
  top: clamp(1.25rem, 3vw, 2.25rem);
  left: clamp(1.25rem, 3vw, 2.25rem);
  width: min(300px, calc(100% - 2.5rem));
  padding: clamp(1rem, 1.6vw, 1.25rem);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--color-border);
}

.campus-map-panel::before {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 0.75rem;
  background: var(--color-accent-red);
  transform-origin: left;
  animation: campusPanelLine 2.8s var(--ease) infinite;
}

@keyframes campusPanelLine {
  0%, 100% { transform: scaleX(0.45); }
  50% { transform: scaleX(1); }
}

.campus-map-panel__label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-accent-red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.campus-map-panel h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--color-primary);
}

.campus-map-panel p,
.campus-map-panel__meta {
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.campus-map-panel a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 700;
}

.campus-map-panel a span {
  margin-left: 0.35rem;
  transition: transform 0.25s var(--ease);
}

.campus-map-panel a:hover span,
.campus-map-panel a:focus-visible span {
  transform: translateX(4px);
}

.campuses-carousel-wrapper {
  position: absolute;
  z-index: 4;
  right: clamp(1rem, 3vw, 2.25rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 1rem;
  width: min(820px, calc(100% - 2 * clamp(1rem, 3vw, 2.25rem)));
  pointer-events: none;
}

.campuses-swiper,
.campuses-controls {
  pointer-events: auto;
}

.campuses-swiper {
  max-width: min(900px, calc(100vw - 8rem));
  overflow: visible;
  padding: 0.75rem 0 1.75rem;
  margin: 0;
}

.campuses-swiper .swiper-slide {
  width: clamp(300px, 28vw, 420px);
  height: auto;
}

.campus-card {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: #07162d;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--pck-white);
  box-shadow: 0 16px 38px rgba(3, 42, 101, 0.18);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.campus-card.is-active {
  transform: translateY(-6px);
  border-color: var(--pck-white);
  box-shadow: 0 22px 54px rgba(3, 42, 101, 0.28);
}

.campus-card__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #07162d;
}

.campus-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 10, 24, 0.05) 0%, rgba(2, 10, 24, 0.36) 38%, rgba(2, 10, 24, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 10, 24, 0.5), transparent 58%);
  pointer-events: none;
}

.campus-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s var(--ease);
}

.campus-card:hover .campus-card__media img,
.campus-card:focus-within .campus-card__media img {
  transform: scale(1.06);
}

.campus-card__content {
  position: absolute;
  right: 0;
  bottom: 40px;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  max-height: 100%;
  padding: clamp(1.05rem, 1.7vw, 1.35rem);
}

.campus-card__eyebrow {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.campus-card.is-active .campus-card__eyebrow {
  color: #ffced3;
}

.campus-card h3 {
  margin: 0;
  color: var(--pck-white);
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.48);
}

.campus-card.is-active h3,
.campus-card.is-active p,
.campus-card.is-active .campus-card__address {
  color: var(--pck-white);
}

.campus-card p,
.campus-card__faculties,
.campus-card__link {
  display: none;
}

.campus-card__address {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.campuses-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: auto;
  padding: 6px;
  margin-left: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(3, 42, 101, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.campuses-control {
  --campus-progress: 0%;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: conic-gradient(var(--color-accent-red) var(--campus-progress), var(--color-border) 0);
  color: var(--color-primary);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.campuses-control::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--pck-white);
}

.campuses-control svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
}

.campuses-control:hover,
.campuses-control:focus-visible {
  color: var(--color-accent-red);
  transform: translateY(-2px);
}

.campuses-control--nav {
  --campus-progress: 0%;
  width: 42px;
  height: 42px;
  background: var(--pck-white);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
}

.campuses-control--nav::before {
  display: none;
}

.campuses-control--nav:hover,
.campuses-control--nav:focus-visible {
  background: var(--pck-white);
  border-color: var(--color-accent-red);
  color: var(--color-accent-red);
  transform: translateY(-1px);
}

.campuses-control--nav:active {
  transform: translateY(0);
}

.campuses-control--nav svg {
  width: 18px;
  height: 18px;
}

.campuses-control__play,
.campuses-control.is-paused .campuses-control__pause,
.campuses-control--toggle.is-paused .campuses-control__pause {
  display: none;
}

.campuses-control.is-paused .campuses-control__play,
.campuses-control--toggle.is-paused .campuses-control__play {
  display: block;
}

@media (max-width: 1023px) {
  .campuses-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .campuses-explorer {
    width: 100vw;
    min-height: 680px;
    height: auto;
    max-height: none;
    padding-top: 0;
  }

  .campuses-map {
    position: absolute;
    height: 100%;
    bottom: 0;
  }

  .campus-map-panel {
    top: 1rem;
    left: 1rem;
  }

  .campuses-carousel-wrapper {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 6;
    padding: 0;
  }

  .campuses-swiper .swiper-slide {
    width: min(76vw, 420px);
  }

  .campuses-controls {
    width: auto;
    margin-left: 0;
  }
}

@media (max-width: 767px) {
  .campuses-heading {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    line-height: 1.02;
  }

  .campuses-explorer {
    min-height: 680px;
    padding-top: 0;
    background: #f2f3f1;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
  }

  .campuses-map {
    position: absolute;
    inset: 0;
    height: 100%;
    border: 0;
  }

  .campus-map-panel {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    margin: 0;
  }

  .campuses-carousel-wrapper {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: auto;
    padding: 0;
  }

  .campuses-swiper {
    overflow: visible;
    padding-bottom: 1.75rem;
  }

  .campuses-swiper .swiper-slide {
    width: 84vw;
  }

  .campus-card {
    min-height: 340px;
  }

  .campuses-control {
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .campus-marker.is-focused::after,
  .campus-map-panel::before {
    animation: none !important;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
p { font-family: var(--font-body); line-height: 1.7; text-wrap: pretty; }
small, .eyebrow, .meta { font-family: var(--font-body); }
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Shared content container and section rhythm */
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: auto;
}
.section {
  padding: 112px 0;
  scroll-margin-top: 88px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 999;
  background: white;
  color: var(--blue900);
  padding: 12px 18px;
}
.skip-link:focus {
  top: 15px;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
a:focus-visible {
  outline-color: var(--blue700);
}
.site-header a:focus-visible,
.hero a:focus-visible,
.admission a:focus-visible {
  outline-color: white;
}
.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.overline:before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}
.overline.blue {
  color: var(--blue);
}
.overline.white {
  color: white;
}
.red-text {
  color: var(--red);
}
h1,
h2,
h3 {
  margin-top: 0;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: var(--text-h2); font-weight: 700; }
h3 { font-size: var(--text-h3); line-height: 1.25; font-weight: 700; }
.lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
}
/* 2. Header, navigation, and hero */
/* Header and navigation support both legacy and homepage markup. */
.utility-bar,
.topbar {
  background: var(--pck-navy-900);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 38px;
}
.utility-bar__inner,
.topbar .wrap {
  min-height: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--container);
  margin-inline: auto;
}
.utility-bar__links,
.topbar-links,
.topbar-langs {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.topbar-links { gap: 24px; font-weight: 600; }
.utility-bar__links a,
.topbar a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.utility-bar__links a:hover,
.utility-bar__links a:focus-visible,
.utility-bar__links a[aria-current="true"],
.topbar a:hover,
.topbar a:focus-visible {
  color: white;
}
.utility-bar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}
.utility-bar__links a:hover::after { width: 100%; }
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: white;
  background: var(--pck-navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.25s var(--ease), top 0.3s var(--ease), background 0.3s var(--ease);
}
/* Keep SPIP admin shortcuts clickable above the fixed header and mobile drawer. */
.spip-admin-bloc,
.spip-admin-float {
  z-index: 10000 !important;
}
/* Homepage hero override — inline <style> makes header fixed transparent; keep sticky fallback solid */
body:has(.hero) .site-header { position: fixed; }
.site-header.is-scrolled,
.site-header.scrolled {
  box-shadow: 0 12px 32px rgba(0, 30, 84, 0.18);
}
.main-nav { position: relative; z-index: 5; background: transparent; border-bottom: 1px solid rgba(255,255,255,0.12); }
.main-nav__inner,
.nav-wrap {
  min-height: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  transition: min-height 0.25s var(--ease);
  width: var(--container);
  margin-inline: auto;
}
.is-scrolled .main-nav__inner,
.scrolled .nav-wrap { min-height: 62px; height: 62px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  min-width: max-content;
  padding-right: clamp(0.6rem, 1.5vw, 1.1rem);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.brand__logo-wrap { height: 90px; display: grid; place-items: center; transition: width 0.5s var(--ease), height 0.5s var(--ease); }
.brand__logo, .brand img {
  height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
  padding: 0.25rem 0rem;
  flex: 0 0 auto;
}
.is-scrolled .brand__logo-wrap { height: 68px; }
.is-scrolled .brand__logo, .is-scrolled .brand img { height: 68px; }
.scrolled .brand__logo, .scrolled .brand img { height: 68px; }
.brand > span:last-child { display: grid; gap: 2px; }
.brand small { display: block; color: white; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.brand strong { font-size: 1rem; line-height: 1.15; display: block; color: white; }
.brand em { font-family: var(--font-display); color: #d6e8ff; font-size: 12px; }
footer .brand { gap: 6px; }
footer .brand img { width: 70px; height: 70px; flex-basis: 70px; border: none; }
.site-header nav,
.main-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
  padding: 0.25rem;
  margin-top: 0; margin-bottom: 0;
  border: 1px solid transparent;
}
.site-header nav > a,
.site-header nav button,
.main-menu a,
.main-menu button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.94);
  background: none;
  border: 0;
  padding: 0.6rem 0.7rem;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.2;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.main-menu a:hover, .main-menu button:hover, .has-dropdown:focus-within > button,
.site-header nav > a:hover, .site-header nav button:hover { background: rgba(255,255,255,0.1); color: white; }
.site-header nav > a.active:after,
.site-header nav button.active:after,
.main-menu .is-active { box-shadow: inset 0 -3px 0 white; }
.main-menu .is-active, .main-menu .is-active > a, .main-menu .is-active > button { color: white; }
.nav-dropdown,
.nav-group,
.has-dropdown {
  position: relative;
}
.has-dropdown { position: static; }
.nav-dropdown > button,
.has-dropdown > button {
  transition: color 0.2s;
}
.nav-dropdown > button:hover,
.nav-dropdown.is-open > button,
.has-dropdown:hover > button,
.has-dropdown:focus-within > button {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav-chevron {
  font-size: 11px;
  display: inline-block;
  transition: transform 0.2s var(--ease);
  transform: translateY(-1px);
}
.has-dropdown > button span {
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.nav-dropdown.is-open .nav-chevron { transform: translateY(-1px) rotate(180deg); }
.has-dropdown:hover > button span,
.has-dropdown:focus-within > button span,
.has-dropdown.is-open > button span { transform: translateY(1px) rotate(225deg); }
/* Mega menus and navigation overlays */
.mega-menu,
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 12px);
  width: min(1080px, calc(100vw - 32px));
  min-width: min(1080px, calc(100vw - 32px));
  max-width: min(1080px, calc(100vw - 32px));
  background: white;
  color: var(--pck-text);
  border: 1px solid rgba(0, 74, 173, 0.1);
  border-top: 4px solid var(--pck-logo-red);
  box-shadow: 0 24px 60px rgba(0, 30, 84, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease) 0.12s, transform 0.25s var(--ease) 0.12s, visibility 0.25s var(--ease) 0.12s;
  z-index: 20;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
}
.has-dropdown:hover .mega-menu,
.has-dropdown:focus-within .mega-menu { opacity:1; visibility:visible; transform:translate(-50%,0); transition-delay:0s; }
.mega-menu--wide {
  width: min(1080px, calc(100vw - 32px));
  max-width: min(1080px, calc(100vw - 32px));
}
/* Provided mega inner cols */
.mega-menu__intro { padding: 1.2rem; color: white; background: var(--pck-logo-blue); }
.mega-menu__intro .kicker, .mega-menu__intro h2, .mega-menu__intro p { color: white; }
.mega-menu__intro .kicker::before { background: white; }
.mega-menu__intro h2 { font-family: var(--font-body); font-size: clamp(1.35rem,2vw,2rem); font-weight:700; margin-bottom:0.7rem; }
.mega-menu__intro p { margin-bottom:0; }
.mega-menu__cols { display:grid; grid-template-columns: repeat(3,1fr); gap:1.2rem; }
.mega-menu__cols > div { padding:0.6rem; }
.mega-menu__cols h3 { font-family: var(--font-body); font-size:0.8rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--color-primary); margin-bottom:0.8rem; padding-bottom:0.5rem; border-bottom:1px solid var(--color-border); }
.mega-menu__cols a { display:flex; align-items:center; justify-content:space-between; gap:0.5rem; padding:0.55rem 0.4rem 0.55rem 0.6rem; color:var(--color-text); font-weight:500; font-size:0.95rem; border-left:2px solid transparent; transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease); }
.mega-menu__cols a::after { content:"→"; opacity:0; transform:translateX(-4px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.mega-menu__cols a:hover, .mega-menu__cols a:focus-visible { color:var(--pck-logo-blue); background:#f0f6ff; border-left-color:var(--pck-logo-blue); }
.mega-menu__cols a:hover::after, .mega-menu__cols a:focus-visible::after { opacity:1; transform:translateX(0); }
/* inner layout */
.mega-menu__inner {
  padding: 28px 28px 22px;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.mega-grid--3 {
  grid-template-columns: 1fr 1fr 0.95fr;
}
.mega-col--accent {
  background: var(--soft);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--line);
}
.mega-col--cta {
  display: flex;
}
.mega-heading {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue900);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--blue900);
  color: white;
  border-radius: 6px;
  font-size: 11px;
}
.mega-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.mega-links--compact {
  gap: 2px;
  margin-bottom: 16px;
}
.mega-links a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, transform 0.15s;
  border: 1px solid transparent;
}
.mega-links--compact a {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 12.5px;
  padding: 9px 12px;
}
.mega-links a:hover,
.mega-links a:focus-visible {
  background: var(--blue50);
  color: var(--blue900);
  border-color: #dbeafe;
  outline: none;
  transform: translateX(2px);
}
.mega-link-title {
  font-weight: 700;
  font-size: 13px;
}
.mega-link-meta {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
}
.mega-feature {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
}
.mega-feature img {
  width: 112px;
  height: 78px;
  border-radius: 8px;
  object-fit: cover;
}
.mega-feature strong {
  font-size: 13px;
  color: var(--ink);
}
.mega-feature p {
  font-size: 11.5px;
  color: var(--muted);
  margin: 4px 0 8px;
  line-height: 1.5;
}
.mega-feature-link {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--red) !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  flex-direction: row !important;
}
.mega-feature-link:hover {
  color: var(--red900) !important;
  transform: none !important;
}
.mega-cta-card {
  background: var(--blue900);
  color: white;
  border-radius: 14px;
  padding: 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mega-cta-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
}
.mega-cta-card h5 {
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin: 0;
  line-height: 1.3;
}
.mega-cta-card p {
  font-size: 12px;
  color: #cbd5e1;
  margin: 0 0 14px;
}
.mega-cta-btn {
  width: 100%;
  justify-content: center;
  border-radius: 10px;
  padding: 12px 16px !important;
  font-size: 12.5px !important;
}
.mega-cta-btn:hover {
  transform: translateY(-1px) !important;
}
.mega-cta-alt {
  text-align: center;
  font-size: 12px !important;
  color: #cbd5e1 !important;
  margin-top: 8px;
  padding: 6px !important;
  background: none !important;
  border: 0 !important;
}
.mega-cta-alt:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.mega-news {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mega-news:hover {
  border-color: #dbeafe;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.mega-news-badge {
  align-self: flex-start;
  background: var(--red);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
}
.mega-news strong {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
}
.mega-news span:last-child {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.mega-news-link {
  display: inline-flex !important;
  margin-top: 10px;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: var(--blue900) !important;
  padding: 8px 0 !important;
  background: none !important;
  border: 0 !important;
}
.mega-news-link:hover {
  color: var(--red) !important;
}
/* show state — hover + focus-within + is-open (unified for legacy and new) */
.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.is-open .mega-menu,
.nav-group:hover .dropdown,
.nav-group:focus-within .dropdown,
.nav-group.expanded .dropdown,
.has-dropdown.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
/* overlay when any mega is open — below flash ticker */
.site-header.has-mega-open::after {
  content: "";
  position: fixed;
  top: calc(100% + 46px);
  left: 0;
  right: 0;
  height: 100vh;
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 39;
  pointer-events: none;
}
/* Legacy mega with inner — inner carries the grid */
.mega-menu:has(.mega-menu__inner) { display:block; padding:0; }
.mega-menu:has(.mega-menu__inner) .mega-menu__inner { padding:1.6rem; display:grid; grid-template-columns:minmax(220px,0.8fr) 1.5fr; gap:1.6rem; }
.mega-menu:has(.mega-menu__inner).mega-menu--wide .mega-menu__inner { grid-template-columns: 1fr 1fr 0.95fr; }
/* Header actions */
.nav-actions { display:none; flex:0 0 auto; align-items:center; gap:0.55rem; padding-left: clamp(0.55rem,1vw,0.9rem); border-left:1px solid rgba(255,255,255,0.16); }
@media (min-width: 992px){ .nav-actions{display:flex;} }
.icon-button { border:1px solid var(--color-border); background:white; color:var(--color-primary); min-width:42px; min-height:42px; display:inline-grid; place-items:center; }
.nav-search { display:inline-flex; align-items:center; justify-content:center; flex:0 0 42px; width:42px; height:42px; gap:0.45rem; padding:0; border:1px solid rgba(255,255,255,0.18); border-radius:999px; background:transparent; color:white; font-weight:600; font-size:0.95rem; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.nav-search svg{ width:24px; height:24px; } .nav-search:hover{ background:var(--pck-navy-dark); }
.btn--primary.nav-apply, .header-cta.nav-apply { min-height:42px; padding-inline:1.05rem; color:var(--pck-logo-blue); background:white; border:1px solid white; font-weight:700; box-shadow:none; }
.btn--primary.nav-apply:hover, .header-cta.nav-apply:hover { background:#e6f0ff; color:#003380; border-color:#e6f0ff; }
@media (min-width: 992px) and (max-width: 1120px){
  .nav-actions { gap:0.4rem; padding-left:0.45rem; }
  .header-cta.nav-apply { min-height:40px; padding-inline:0.78rem; font-size:0.72rem; }
  .header-cta.nav-apply span { display:none; }
  .nav-search { flex-basis:40px; width:40px; height:40px; }
  .nav-search svg { width:21px; height:21px; }
}
/* Flash info ticker — new look */
.flash-info { position:relative; z-index:1; min-height:46px; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:stretch; background:#002a66; color:white; border-top:1px solid rgba(255,255,255,0.1); border-bottom:1px solid rgba(255,255,255,0.1); overflow:hidden; }
.flash-info__label { position:relative; z-index:2; display:inline-flex; align-items:center; gap:0.55rem; padding:0 clamp(0.9rem,2vw,1.4rem); background:var(--pck-logo-red); color:white; white-space:nowrap; }
.flash-info__label span{ width:7px; height:7px; border-radius:50%; background:white; box-shadow:0 0 0 4px rgba(249,247,247,0.15); }
.flash-info__label strong{ color:white; text-transform:uppercase; font-size:0.8rem; letter-spacing:0.12em; }
.flash-info__viewport{ position:relative; min-width:0; display:flex; align-items:center; overflow:hidden; }
.flash-info__viewport::before, .flash-info__viewport::after{ content:""; position:absolute; top:0; bottom:0; z-index:1; width:56px; pointer-events:none; }
.flash-info__viewport::before{ left:0; background:linear-gradient(90deg,#002a66, rgba(0,42,102,0)); }
.flash-info__viewport::after{ right:0; background:linear-gradient(270deg,#002a66, rgba(0,42,102,0)); }
.flash-info__track{ display:flex; width:max-content; will-change:transform; animation:flashMarquee 34s linear infinite; }
.flash-info:hover .flash-info__track, .flash-info:focus-within .flash-info__track{ animation-play-state:paused; }
.flash-info__group{ display:flex; align-items:center; gap:0; flex:0 0 auto; min-width:max-content; }
.flash-info__group a{ position:relative; display:inline-flex; align-items:center; min-height:46px; padding-inline:1.65rem; color:rgba(255,255,255,0.9); font-weight:600; font-size:0.9rem; white-space:nowrap; transition:color 0.2s var(--ease); }
.flash-info__group a:hover, .flash-info__group a:focus-visible{ color:white; }
.flash-info__group a::after{ content:""; position:absolute; top:50%; right:0; width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,0.26); transform:translate(50%, -50%); }
.flash-info__group a::before{ content:""; position:absolute; left:1.65rem; right:1.65rem; bottom:10px; height:1px; background:currentColor; transform:scaleX(0); transform-origin:left center; transition:transform 0.25s var(--ease); }
.flash-info__group a:hover::before, .flash-info__group a:focus-visible::before{ transform:scaleX(1); }
@keyframes flashMarquee{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
@media (max-width: 767px){
  .flash-info{ min-height:42px; grid-template-columns:auto minmax(0,1fr); }
  .flash-info__label{ padding-inline:0.75rem; } .flash-info__label strong{ font-size:0.68rem; letter-spacing:0.08em; } .flash-info__label span{ width:6px; height:6px; }
  .flash-info__viewport::before, .flash-info__viewport::after{ width:26px; }
  .flash-info__track{ animation-duration:24s; }
  .flash-info__group a{ min-height:42px; padding-inline:1.15rem; font-size:0.9rem; }
  .flash-info__group a::before{ left:1.15rem; right:1.15rem; bottom:8px; }
}
@media (max-width: 991px){
  .main-nav__inner, .nav-wrap{ min-height:72px; height:72px; }
  .brand{ min-width:0; gap:0.55rem; padding-right:0; border-right:0; }
  .brand__logo, .brand img{ height:60px; max-width:160px; }
}
.header-cta {
  background: var(--red);
  color: white;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--red900);
}
.header-cta span {
  margin-left: 8px;
}
.menu-toggle,
.mobile-toggle {
  display: none;
}
.mobile-toggle { margin-left:auto; width:46px; height:46px; display:none; place-content:center; gap:5px; }
.mobile-toggle span:not(:last-child){ width:22px; height:2px; background:white; border-radius:1px; }
.mobile-toggle span:last-child{ width:auto; height:auto; background:transparent; color:white; font-size:8px; font-weight:800; letter-spacing:0.08em; line-height:1; text-transform:uppercase; }
.mobile-toggle span:not(:last-child){ transition: transform 0.22s var(--ease), opacity 0.22s var(--ease); }
.mobile-toggle:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.45); }
.mobile-toggle.is-open { background: transparent; border-color: rgba(255,255,255,0.32); }
.mobile-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2){ opacity: 0; }
.mobile-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 991px){ .mobile-toggle{display:grid;} }
.hero {
  min-height: clamp(560px, 92svh, 860px);
  height: auto;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue900);
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--blue900);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(1.06) contrast(1.04) brightness(0.98);
  background: var(--blue900);
}
/* Indicateur de chargement de la vidéo d'accueil */
.hero-video-loader {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  background: rgba(3, 28, 66, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.hero-video-loader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero-video-loader__ring {
  flex: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hero-video-spin 0.8s linear infinite;
}
.hero-video-loader__text {
  letter-spacing: 0.02em;
}
@keyframes hero-video-spin {
  to { transform: rotate(360deg); }
}
@media (max-width: 860px) {
  .hero-video {
    object-position: center 28%;
  }
  .hero-video-loader {
    font-size: 11px;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 75% at 18% 32%, rgba(0, 51, 128, 0.55) 0%, transparent 62%),
    linear-gradient(90deg, rgba(0, 18, 48, 0.92) 0%, rgba(0, 32, 84, 0.82) 36%, rgba(0, 38, 96, 0.34) 68%, rgba(0, 51, 128, 0.08) 100%),
    linear-gradient(180deg, rgba(2, 12, 32, 0.58) 0%, rgba(2, 12, 32, 0) 42%, rgba(2, 12, 32, 0.72) 100%);
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 78% at 50% 100%, transparent 58%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: left;
  text-align: left;
  gap: 0;
  width: 100%;
  min-height: clamp(560px, 92svh, 860px);
  padding: clamp(132px, 14vh + 88px, 220px) 0 clamp(48px, 6vh, 88px);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6e8ff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 9px 14px;
  border-radius: 999px;
}
.hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(204, 26, 27, 0.28);
  flex: 0 0 auto;
}
.hero h1 {
  font-family: var(--font-body);
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: white;
  margin: 18px 0 14px;
  text-wrap: balance;
  max-width: 720px;
}
.hero h1 span {
  position: relative;
  z-index: 1;
}
.hero h1 span:after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 1px;
  height: 10px;
  background: var(--red);
  z-index: -1;
  opacity: 0.96;
  clip-path: polygon(
    0 35%,
    10% 19%,
    21% 49%,
    35% 22%,
    48% 48%,
    60% 22%,
    73% 45%,
    86% 20%,
    100% 38%,
    99% 74%,
    86% 63%,
    70% 81%,
    54% 67%,
    38% 83%,
    20% 65%,
    1% 76%
  );
}
.hero-content > p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.7;
  color: #e4edfa;
  max-width: 620px;
  margin: 14px 0 30px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cta-primary {
  box-shadow: 0 12px 28px rgba(139, 17, 18, 0.32);
}
.hero .btn.glass {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero .btn.glass:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}
.btn-play {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--blue900);
  border-radius: 50%;
  font-size: 10px;
  flex: 0 0 auto;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 620px;
  flex-wrap: wrap;
}
.hero-trust span {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #d6e8ff;
}
.hero-trust b {
  color: white;
  font-weight: 800;
}
.hero-trust i {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.22);
  flex: 0 0 auto;
}
.hero-pause {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.44);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 9px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.hero-pause:hover {
  background: rgba(15, 23, 42, 0.62);
}
.hero-pause-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.2s;
}
.btn.red {
  background: var(--red);
  color: white;
}
.btn.red:hover {
  background: var(--red900);
  transform: translateY(-2px);
}
.btn.transparent {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: white;
}
.btn.transparent b {
  font-size: 11px;
}
.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 51, 128, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-bottom .wrap {
  height: 104px;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
}
.hero-bottom .wrap > div {
  padding: 21px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-bottom b {
  display: block;
  font:
    700 28px/1 var(--font-mono),
    monospace;
  color: white;
}
.hero-bottom span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d6e8ff;
  margin-top: 7px;
}
.hero-bottom > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.hero-bottom > a span {
  color: white;
  font-size: 18px;
  margin: 0;
}
.promoter-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}
.promoter-photo {
  height: 600px;
  position: relative;
  margin: 0;
}
.promoter-photo:before {
  content: "";
  position: absolute;
  left: -18px;
  top: -18px;
  width: 90%;
  height: 90%;
  border: 6px solid var(--blue100);
  z-index: -1;
}
.promoter-photo img {
  height: 100%;
}
.promoter-photo figcaption {
  position: absolute;
  left: -28px;
  bottom: 34px;
  background: var(--red);
  color: white;
  padding: 22px 28px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promoter h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 51px);
  margin: 22px 0 26px;
}
.promoter p {
  color: var(--muted);
}
.promoter .lead {
  color: var(--text);
  font-weight: 500;
}
.signature {
  border-left: 3px solid var(--red);
  padding-left: 17px;
  margin: 26px 0;
  display: grid;
}
.signature strong {
  color: var(--blue900);
}
.signature span {
  font-size: 13px;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  gap: 20px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding-bottom: 5px;
}
.text-link span {
  color: var(--red);
}
.missions {
  background: var(--blue);
  color: white;
}
.section-head {
  margin-bottom: 52px;
}
.section-head.centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head.centered p {
  margin: 15px auto 0;
}
.missions .section-head h2,
.missions .section-head p,
.schools .section-head h2,
.schools .section-head p {
  color: white;
}
.section-head p {
  max-width: 560px;
  color: var(--muted);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.mission-grid article {
  min-height: 280px;
  padding: 40px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  position: relative;
}
.mission-grid article:last-child {
  border: 0;
}
.mission-grid article > span {
  position: absolute;
  right: 18px;
  top: 14px;
  font:
    500 11px var(--font-mono),
    monospace;
  color: #9dc2f5;
}
.mission-grid i {
  display: block;
  font-style: normal;
  font-size: 35px;
  color: white;
}
.mission-grid article:nth-child(even) i {
  color: var(--red100);
}
.mission-grid h3 {
  font-size: 24px;
  color: white;
  margin: 28px 0 10px;
}
.mission-grid p {
  font-size: 14px;
  color: #d6e8ff;
}
.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.section-head.split h2 {
  margin: 10px 0 0;
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.journey-grid article {
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--pck-navy-900);
  background: white;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.journey-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 51, 128, 0.14);
}
.journey-grid article:nth-child(even) {
  border-color: var(--red);
}
.journey-grid article > div {
  display: flex;
  justify-content: space-between;
}
.journey-grid article > div span {
  font-size: 11px;
  font-weight: 700;
  background: var(--blue100);
  color: var(--blue900);
  padding: 4px 9px;
}
.journey-grid article > div b {
  font:
    600 12px var(--font-mono),
    monospace;
  color: var(--muted);
}
.journey-grid article > i {
  font-style: normal;
  font-size: 43px;
  color: var(--blue);
  margin: 38px 0 20px;
}
.journey-grid article:nth-child(even) > i {
  color: var(--red);
}
.journey-grid h3 {
  font-size: 26px;
  margin-bottom: 9px;
}
.journey-grid p {
  font-size: 14px;
  color: var(--muted);
}
.journey-grid a {
  margin-top: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.journey-options {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(240px, 1fr) minmax(320px, 1.4fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 26px 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #fffcf5 0%, var(--pck-cream) 100%);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.journey-options .overline {
  color: var(--pck-logo-red);
}
.journey-options h3 {
  margin: 7px 0 0;
  color: var(--pck-navy-900);
  font-size: 1.2rem;
  line-height: 1.2;
}
.journey-options p {
  margin: 0;
  color: var(--pck-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.journey-options ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey-options li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px 9px 14px;
  border: 1px solid var(--pck-border);
  background: #fff;
  color: var(--pck-navy-900);
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.schools {
  overflow: clip;
}
.schools .wrap {
  position: relative;
}
.school-carousel {
  position: relative;
  width: 100%;
  background: transparent;
}
.schools .section-head.split {
  padding-right: 116px;
  align-items: flex-start;
  gap: 24px;
}
.school-card {
  background: transparent;
}
.school-img {
  height: 255px;
  position: relative;
  overflow: hidden;
}
.school-img img {
  height: 100%;
  transition: 0.45s;
}
.school-card:hover img {
  transform: scale(1.04);
}
.school-img span {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font:
    600 11px var(--font-mono),
    monospace;
}
.school-card > div:last-child {
  padding: 25px;
}
.school-card small {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
}
.school-card h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 9px 0;
}
.school-card p {
  font-size: 12px;
  color: var(--muted);
}
.school-card a,
.school-card .school-address {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue900);
}
.school-card .school-address {
  margin-bottom: 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.owl-nav {
  position: absolute;
  right: 0;
  top: -78px;
  display: flex;
  gap: 10px;
  z-index: 2;
}
#ecoles .owl-nav button {
  width: 44px;
  height: 44px !important;
  border: 1px solid var(--color-border) !important;
  background: #fff !important;
  color: var(--pck-navy-900) !important;
  font-size: 16px !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 18px rgba(3,42,101,.08);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s !important;
}
#ecoles .owl-nav button:hover {
  background: var(--pck-navy-900) !important;
  border-color: var(--pck-navy-900) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.owl-stage {
  padding: 16px 0;
}
.owl-item .school-card,
.owl-item:hover .school-card {
  box-shadow: none;
}
.owl-nav button {
  width: 46px;
  height: 46px !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white !important;
  font-size: 18px !important;
  border-radius: 999px !important;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s !important;
}
.owl-nav button:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-1px);
}
.owl-nav button:active {
  transform: translateY(0);
}
.owl-nav button.disabled {
  opacity: 0.35;
  pointer-events: none;
}
.owl-dots {
  text-align: center;
  padding-top: 28px;
  margin-right: 0;
}
.owl-dot span {
  display: block;
  width: 6px;
  height: 6px;
  background: #7da2d0;
  border-radius: 50%;
  margin: 4px;
}
.owl-dot.active span {
  width: 26px;
  border-radius: 4px;
  background: var(--red);
}

.schools-premium {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(740px 420px at 0% 18%, rgba(3, 42, 101, 0.09), transparent 62%),
    radial-gradient(560px 360px at 94% 5%, rgba(3, 42, 101, 0.06), transparent 64%),
    linear-gradient(180deg, #fff 0%, #f7f7f5 100%);
  color: var(--pck-text);
}
.schools-premium .wrap {
  position: relative;
}
.schools-premium__header {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(24px, 3.2vw, 38px);
}
.schools-premium__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  color: var(--pck-logo-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.schools-premium__label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}
.schools-premium__heading h2 {
  max-width: 820px;
  margin: 0;
  color: var(--pck-navy-900);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.schools-premium__heading p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #334155;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}
.schools-showcase {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: schools;
}
.school-portal {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(3, 42, 101, 0.1);
  border-radius: 0;
  color: var(--pck-text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 45px rgba(3, 42, 101, 0.08);
  counter-increment: schools;
  transform: translateY(0);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.school-portal::before {
  content: counter(schools, decimal-leading-zero);
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  bottom: -0.2em;
  z-index: 0;
  color: rgba(3, 42, 101, 0.045);
  font-size: clamp(88px, 13vw, 184px);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.72;
  pointer-events: none;
}
.school-portal:nth-child(even) {
  background: rgba(248, 250, 252, 0.9);
}
.school-portal > a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 32%) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3.4vw, 42px);
  min-height: 188px;
  padding: 0 clamp(18px, 2.8vw, 30px) 0 0;
  color: inherit;
  text-decoration: none;
}
.school-portal__media {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 188px;
  height: 100%;
  overflow: hidden;
  background: var(--pck-navy-900);
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}
.school-portal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 42, 101, 0.05), rgba(3, 42, 101, 0.32));
  opacity: 0.78;
  transition: opacity 0.35s var(--ease);
}
.school-portal img {
  width: 100%;
  height: calc(100% + 42px);
  object-fit: cover;
  transform: translate3d(0, var(--school-parallax, 0px), 0) scale(1.08);
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
  will-change: transform;
}
.school-portal__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
.school-portal__media:has(img) .school-portal__placeholder { display: none; }
.school-portal__content {
  position: relative;
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 0;
}
.school-portal__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  color: var(--pck-logo-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.school-portal__location svg,
.school-portal__cta svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.4;
}
.school-portal strong {
  max-width: none;
  color: var(--pck-navy-900);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.school-portal__text {
  max-width: none;
  color: #526174;
  font-size: 13px;
  line-height: 1.5;
}
.school-portal__address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: none;
  margin: 2px 0 0;
  color: #475569;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
}
.school-portal__address svg,
.school-portal__address i svg,
.school-portal__address [data-lucide] {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--pck-navy-700);
  opacity: 0.72;
}
.school-portal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}
.school-portal__meta--program {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 4px 10px 4px 5px;
  border: 1px solid rgba(3, 42, 101, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--pck-logo-blue);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(3, 42, 101, 0.07);
}
.school-portal__meta--program img {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(3, 42, 101, 0.1);
}
/* Overlay CALI badge on the portal image */
.school-portal img.school-portal__cali {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(3, 42, 101, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.4);
  object-fit: contain;
  transform: none;
  transition: transform 0.35s var(--ease);
}
.school-portal:hover img.school-portal__cali,
.school-portal:focus-visible img.school-portal__cali,
.school-portal:focus-within img.school-portal__cali {
  transform: scale(1.06);
}
.school-portal__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  justify-self: end;
  min-height: 40px;
  padding: 0 16px 0 18px;
  border: 1px solid rgba(3, 42, 101, 0.12);
  border-radius: 0;
  background: var(--pck-navy-900);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(3, 42, 101, 0.14);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.school-portal__cta svg {
  color: white;
  transition: transform 0.35s var(--ease);
}
.school-portal:hover,
.school-portal:focus-visible,
.school-portal:focus-within {
  border-color: rgba(3, 42, 101, 0.2);
  background: white;
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(180, 190, 205, 0.55),
    0 20px 55px rgba(3, 42, 101, 0.15);
}
.school-portal:hover img,
.school-portal:focus-visible img,
.school-portal:focus-within img {
  transform: translate3d(0, var(--school-parallax, 0px), 0) scale(1.12);
  filter: saturate(1.06) contrast(1.03);
}
.school-portal:hover .school-portal__media::after,
.school-portal:focus-visible .school-portal__media::after,
.school-portal:focus-within .school-portal__media::after {
  opacity: 0.42;
}
.school-portal:hover .school-portal__cta,
.school-portal:focus-visible .school-portal__cta,
.school-portal:focus-within .school-portal__cta {
  background: #061f49;
  box-shadow: 0 14px 32px rgba(3, 42, 101, 0.22);
}
.school-portal:hover .school-portal__cta svg,
.school-portal:focus-visible .school-portal__cta svg,
.school-portal:focus-within .school-portal__cta svg {
  transform: translateX(4px);
}
/* Desktop : grille de cartes compactes (3 colonnes), média au-dessus du contenu. */
@media (min-width: 1101px) {
  .schools-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .school-portal > a {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
  }
  .school-portal__media {
    min-height: 0;
    height: 190px;
    clip-path: none;
  }
  .school-portal__content {
    padding: 18px 20px 14px;
    gap: 8px;
  }
  .school-portal strong {
    font-size: 22px;
  }
  .school-portal__address {
    margin: 0;
  }
  .school-portal__cta {
    justify-self: start;
    margin: 0 20px 16px;
  }
  .school-portal::before {
    right: 18px;
    bottom: auto;
    top: 128px;
    font-size: 96px;
    color: rgba(255, 255, 255, 0.14);
  }
}
.school-finder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px solid rgba(3, 42, 101, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 34px rgba(3, 42, 101, 0.08);
}
.school-finder strong {
  display: block;
  color: var(--pck-navy-900);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}
.school-finder span {
  display: block;
  margin-top: 4px;
  color: #526174;
  font-size: 13px;
}
.school-picker {
  position: relative;
  flex: 0 0 auto;
}
.school-picker summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 0;
  background: var(--pck-navy-900);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.school-picker summary:hover {
  background: linear-gradient(135deg, #0a3a8a 0%, #05265c 100%);
  box-shadow: 0 0 0 1px rgba(180, 190, 205, 0.55);
}
.school-picker summary::-webkit-details-marker {
  display: none;
}
.school-picker summary span {
  margin: 0;
  color: white;
  transition: transform 0.25s var(--ease);
}
.school-picker[open] summary span {
  transform: rotate(-90deg);
}
.school-picker__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 10;
  width: min(310px, calc(100vw - 48px));
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: white;
  box-shadow: 0 24px 60px rgba(3, 42, 101, 0.18);
}
.school-picker__menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 16px;
  color: var(--pck-text);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border);
}
.school-picker__menu a:last-child {
  border-bottom: 0;
}
.school-picker__menu a::after {
  content: "→";
  color: var(--pck-logo-red);
  transition: transform 0.2s var(--ease);
}
.school-picker__menu a:hover,
.school-picker__menu a:focus-visible {
  color: var(--pck-navy-900);
  background: var(--pck-navy-50);
}
.school-picker__menu a:hover::after,
.school-picker__menu a:focus-visible::after {
  transform: translateX(3px);
}
.facilities {
  background: white;
}
.facility-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 22px;
}
.facility-grid article {
  position: relative;
  overflow: hidden;
}
.facility-grid .facility-large {
  grid-row: 1/3;
}
.facility-grid article:after {
  content: "";
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(transparent, rgba(0, 35, 88, 0.92));
}
.facility-grid article img {
  height: 100%;
  transition: 0.5s;
}
.facility-grid article:hover img {
  transform: scale(1.04);
}
.facility-grid article > div {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 24px;
  color: white;
}
.facility-grid article span {
  font:
    600 11px var(--font-mono),
    monospace;
  background: var(--red);
  padding: 5px 8px;
}
.facility-grid h3 {
  color: white;
  font-size: 26px;
  margin: 10px 0 4px;
}
.facility-grid p {
  margin: 0;
  color: #e7eef8;
  font-size: 14px;
  max-width: 520px;
}
.digital {
  background: var(--blue50);
}
.digital-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}
.tablet-photo {
  height: 590px;
  position: relative;
}
.tablet-photo img {
  height: 100%;
}
.tablet-photo:after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 70%;
  height: 45%;
  border: 6px solid var(--blue100);
  z-index: -1;
}
.digital-badge {
  position: absolute;
  right: -32px;
  bottom: 34px;
  background: var(--red);
  color: white;
  width: 155px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}
.digital-badge b {
  font:
    800 34px var(--font-mono),
    monospace;
}
.digital-badge span {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
}
.digital h2 {
  margin: 18px 0;
}
.digital p {
  color: var(--muted);
}
.digital ul {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}
.digital li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.digital li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  flex: 0 0 auto;
}
.digital li div {
  display: grid;
}
.digital li b {
  font-size: 14px;
  color: var(--ink);
}
.digital li small {
  color: var(--muted);
}
/* 3. Shared content sections */
/* English program, refactored from the older .digital section */
.cali {
  background: white;
  overflow: hidden;
}
.cali-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}
.cali-photo {
  height: 590px;
  position: relative;
}
.cali-photo img {
  height: 100%;
  object-position: center top;
}
.cali-photo:after {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 70%;
  height: 45%;
  border: 6px solid var(--blue100);
  z-index: -1;
}
.cali-badge {
  position: absolute;
  right: -32px;
  bottom: 34px;
  background: var(--red);
  color: white;
  width: 155px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(204, 26, 27, 0.25);
}
.cali-badge b {
  font:
    800 30px var(--font-mono),
    monospace;
  letter-spacing: 0.08em;
}
.cali-badge span {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.95;
}
.cali h2 {
  margin: 18px 0;
  line-height: 1.1;
}
.cali .lead strong {
  color: var(--ink);
  font-weight: 800;
}
.cali p {
  color: var(--muted);
}
.cali ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 28px;
}
.cali li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cali li:last-child {
  border-bottom: none;
}
.cali li > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  font-size: 12px;
  flex: 0 0 auto;
  margin-top: 2px;
}
.cali li div {
  display: grid;
  gap: 2px;
}
.cali li b {
  font-size: 14px;
  color: var(--ink);
}
.cali li small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.cali-cta {
  margin-top: 4px;
}
.blue-btn {
  background: var(--blue);
  color: white;
}
.blue-btn:hover {
  background: var(--blue900);
}
.activities {
  background: white;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.activity-grid article {
  border: 1px solid var(--line);
  background: white;
  transition: 0.25s;
}
.activity-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}
.activity-grid img {
  height: 230px;
}
.activity-grid article > div {
  padding: 21px;
}
.activity-grid span {
  font:
    600 10px var(--font-mono),
    monospace;
  color: var(--red);
}
.activity-grid h3 {
  font-size: 21px;
  margin: 6px 0;
}
.activity-grid p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.news {
  background: #f8fafc;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-grid article {
  background: white;
}
.news-img {
  height: 250px;
  position: relative;
  display: block;
  overflow: hidden;
}
.news-img img {
  height: 100%;
  transition: 0.45s;
}
.news-grid article:hover img {
  transform: scale(1.04);
}
.news-img > span,
.news-date {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 68px;
  height: 68px;
  background: var(--pck-logo-red);
  color: white;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
}
.news-img span b,
.news-date b {
  display: block;
  font: 700 22px/1 var(--font-mono), monospace;
}
.news-grid article > div,
.news-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.news-card{ display:flex; flex-direction:column; border-top: 3px solid transparent; }
.news-card:hover{ border-top-color: var(--pck-logo-red); }
.news-meta{
  display:flex; align-items:center; gap:0.45rem;
  font-size:0.72rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
  color: var(--pck-muted);
}
.news-meta small{ font-size:0.72rem; letter-spacing:0.08em; color:var(--pck-logo-red); }
.news-meta time{ font-family: var(--font-mono); font-size:0.72rem; font-weight:600; color:var(--pck-muted); }
.news-body h3{
  margin: 10px 0 14px;
  font-family: var(--font-body); font-weight:700;
  font-size: clamp(1.05rem,1.6vw,1.35rem); line-height:1.25; letter-spacing:-0.02em;
}
.news-body h3 a{ color:inherit; display:block; transition: color .2s var(--ease); }
.news-body h3 a:hover{ color: var(--pck-logo-blue); }
.news-link{
  margin-top:auto; display:inline-flex; align-items:center; gap:0.35rem;
  padding-top:0.85rem; border-top:1px solid var(--color-border);
  font-size:0.82rem; font-weight:700; color:var(--color-primary);
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.news-link:hover{ color:var(--pck-logo-red); gap:0.55rem; }
.news-link span{ transition: transform .2s var(--ease); }
.news-link:hover span{ transform: translateX(3px); }
.news-header + .news-grid{ align-items:stretch; }
@media (max-width: 860px){
  .news-header{ flex-direction:column; align-items:flex-start; }
  .news-header__cta{ align-self:flex-start; }
}
.admission {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--blue);
  color: white;
}
.admission-image {
  background: url("https://images.unsplash.com/photo-1529390079861-591de354faf5?auto=format&fit=crop&w=1300&q=90")
    center/cover;
}
.admission > div:last-child {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 70px max(45px, calc((100vw - 1200px) / 2)) 70px 70px;
}
.admission h2 {
  color: white;
  font-size: clamp(38px, 4vw, 52px);
  margin: 18px 0;
}
.admission p {
  color: #d6e8ff;
  max-width: 550px;
}
.admission > div > div {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.white-btn {
  background: white;
  color: var(--blue900);
}
/* 4. Footer */
footer, .site-footer {
  position: relative;
  background-color: var(--pck-navy-900);
  color: #ffffff;
  padding: 72px 0 32px;
  overflow: hidden;
}
.footer-col .brand {
  display: flex;
  align-items: center;
  border-right: none;
  gap: 8px;
}
.footer-col .brand img {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  margin-right: 8px;
  padding-right: 8px;
}
.footer-col .brand span > small {
  font-size: 16pt;
}
.footer-col .brand span > strong {
  font-size: 22pt;
}
.footer-container, footer .wrap {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr 0.95fr 1.2fr;
  gap: 48px 32px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}
.footer-col, .footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-grid > div:first-child, .footer-col--brand { gap: 14px; }
.footer-col--contact { gap: 10px; }
.footer-grid > div:first-child .brand {
  display: flex;
  height: 96px;
}
.footer-grid > div:first-child .brand img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.footer-brand__desc {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.65;
  max-width: 300px;
}
.footer-motto {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.footer-social-block { margin-top: 6px; }
.footer-social-block__title { margin-bottom: 10px !important; }
.footer-copyright, .footer-rights, .footer-bottom, .footer-bottom div { font-size: 13px; }
.footer-heading, .footer-grid h3 {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 0;
  padding: 0;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer-address {
  margin: 0;
  font-style: normal;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.65;
}
.footer-address p { margin: 0; }
.footer-contact-line {
  margin: 0;
  font-style: normal;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.6;
}
.footer-contact-line a, .footer-grid > div > a, .footer-col nav a {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 250ms ease, transform 250ms ease;
}
.footer-contact-line a::after, .footer-grid > div > a::after, .footer-col nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.footer-contact-line a:hover, .footer-contact-line a:focus-visible, .footer-grid > div > a:hover, .footer-col nav a:hover { color: #ffffff; transform: translateX(4px); }
.footer-contact-line a:hover::after, .footer-grid > div > a:hover::after, .footer-col nav a:hover::after { transform: scaleX(1); }
.footer-hours {
  margin: 6px 0 0;
  color: rgba(255,255,255,0.52);
  font-size: 13px;
  line-height: 1.5;
}
.footer-social, .social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social a, .social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  transition: color 250ms ease, border-color 250ms ease, transform 250ms ease, background 250ms ease;
}
.footer-social a:hover, .social a:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}
.footer-social svg, .social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.52);
  font-size: 13px;
}
.footer-bottom__copyright { margin: 0; color: rgba(255,255,255,0.52); font-size: 13px; line-height: 1.5; }
.footer-bottom__links, .footer-bottom div { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-bottom__links a, .footer-bottom a {
  position: relative;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  text-decoration: none;
  transition: color 250ms ease;
}
.footer-bottom__links a:hover, .footer-bottom a:hover { color: #ffffff; }
@media (max-width: 1024px) {
  footer, .site-footer { padding: 56px 0 28px; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
    padding-bottom: 36px;
  }
}
@media (max-width: 640px) {
  footer, .site-footer { padding: 48px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-bottom__links { gap: 16px; }
}
/* 5. Homepage refinements and section themes */
/* CALI - dark navy, light text */
#english-program{ background: #032a65; color:#eaf1f8; position:relative; overflow:hidden; }
#english-program::before{ content:""; position:absolute; inset:-18% -12%; background: radial-gradient(circle at 78% 0%, rgba(255,255,255,.13), transparent 32%), radial-gradient(circle at 22% 100%, rgba(255,255,255,.08), transparent 28%); opacity:.62; pointer-events:none; }
#english-program > .wrap{ position:relative; z-index:1; }
#english-program h2{ color:#fff; }
#english-program h3, #english-program h2 span{ color:#fff; }
#english-program .overline{ color: #cbd5e1; }
#english-program .overline::before{ background: var(--pck-logo-red); }
#english-program .lead, #english-program p{ color: #dbeafe; }
#english-program .cali-content ul li b{ color:#fff; }
#english-program .cali-content ul li small{ color: #cbd5e1; }
#english-program .btn{ background:#fff; color: var(--pck-navy-900); border-color:#fff; }
#english-program .btn:hover{ background:#eaf1f8; border-color:#eaf1f8; }
.cali-badge{ background:#fff; color:var(--pck-navy-900); box-shadow:0 12px 30px rgba(0,0,0,.18); border:1px solid var(--color-border); }
.cali-badge span{ color: var(--pck-muted); }
.cali-content ul li span[aria-hidden="true"]{ background:#fff; color:var(--pck-navy-900); }
/* Mission values - compact rail with parallax background */
.values-section {
  --missions-parallax: 0px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(38px, 5vw, 64px) 0;
  color: #eaf1f8;
  background: var(--pck-navy-900);
}
.values-bg {
  position: absolute;
  inset: -15% 0;
  background:
    radial-gradient(620px 480px at 16% 0%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(780px 620px at 88% 100%, rgba(255,255,255,.05), transparent 62%),
    var(--pck-navy-900);
  transform: translate3d(0, calc(var(--missions-parallax) * 0.22), 0);
  will-change: transform;
  z-index: 0;
}
.values-section > .wrap {
  position: relative;
  z-index: 1;
}
.values-header {
  text-align: center;
  margin: 0 auto clamp(22px, 3vw, 34px);
}
.values-header .overline {
  color: rgba(255,255,255,.55);
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.values-header .overline::before {
  background: var(--pck-logo-red);
  width: 24px;
}
.values-header h2 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 0;
}
.values-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  /* border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10); */
  transform: translate3d(0, calc(var(--missions-parallax) * 0.08), 0);
  will-change: transform;
}
.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(24px, 3vw, 38px) clamp(18px, 2.4vw, 30px);
  background: transparent;
  border: none;
  border-radius: 0;
  color: #eaf1f8;
  overflow: visible;
  transition: transform .5s var(--ease);
}
.value-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 62%;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.14) 15%, rgba(255,255,255,.14) 85%, transparent 100%);
  pointer-events: none;
}
.value-card:hover {
  transform: translateY(-4px);
}
.value-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  flex: 0 0 auto;
  transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.value-card:hover .value-icon {
  transform: scale(1.08);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.24);
}
.value-icon svg,
.value-icon .lucide,
.value-icon .lucide-icon {
  width: 28px;
  height: 28px;
  display: block;
  stroke-width: 1.5;
}
.value-card h3 {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.25;
  color: #fff;
  margin: 0 0 6px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.value-card p {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(234,241,248,.60);
  margin: 0;
  max-width: 26ch;
}
@media (max-width: 640px) {
  .values-rail { grid-template-columns: 1fr; }
  .value-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 18px 16px;
  }
  .value-card:not(:last-child)::after {
    right: auto;
    left: 20px;
    bottom: 0;
    top: auto;
    width: calc(100% - 40px);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.10) 10%, rgba(255,255,255,.10) 90%, transparent 100%);
  }
  .value-icon { width: 52px; height: 52px; }
  .value-icon svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .values-bg, .values-rail { transform: none; }
  .value-card:hover { transform: none; }
}
/* Facilities - white, dark text */
.facilities{ background: #fff; color: var(--pck-text); border-top:1px solid var(--color-border); }
.facilities .section-head h2{ color: var(--color-primary); }
.facilities .section-head p{ color: var(--pck-muted); }
.facilities .overline{ color: var(--color-primary); }
.facility-grid{ gap:18px; }
.facility-grid article{ border-radius:18px; overflow:hidden; border:1px solid var(--color-border); box-shadow:0 16px 40px rgba(3,42,101,.08); background:#fff; color: var(--pck-text); }
.facility-grid article h3{ color: var(--color-primary); }
.facility-grid article p{ color: var(--pck-muted); }
.facility-grid article span{ color: var(--pck-logo-red); }
.facility-large img{ filter: saturate(1.03) contrast(1.02); }
/* Schools - fixed background/foreground and premium carousel cards */
#ecoles {
  position: relative;
  overflow: hidden;
  background: #f5f8fc;
  color: var(--pck-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
#ecoles::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(620px 380px at 92% 8%, rgba(3,42,101,.06), transparent 60%);
  pointer-events:none;
}
#ecoles > .wrap {
  position: relative;
  z-index: 1;
}
#ecoles .section-head{ gap:24px; align-items:end; }
#ecoles .section-head h2 {
  color: var(--color-primary);
}
#ecoles .overline{
  color: var(--pck-logo-red);
}
#ecoles .overline::before{ background: var(--pck-logo-red); }
.school-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  color: var(--pck-text);
  box-shadow: 0 10px 28px rgba(3, 42, 101, 0.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.school-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(3, 42, 101, 0.14);
  border-color: rgba(3, 42, 101, .14);
}
.school-img {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: #eaf1f8;
}
.school-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.school-card:hover .school-img img {
  transform: scale(1.08);
}
.school-img span {
  display: none;
}
.school-card > div:last-child {
  display: flex;
  flex-direction: column;
  padding: 26px;
}
.school-card small {
  display: inline-block;
  color: var(--pck-logo-red);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.school-card h3 {
  color: var(--color-primary);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.school-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--pck-muted);
  margin: 0 0 6px;
}
.school-card p:first-of-type {
  font-weight: 700;
  color: var(--pck-navy-900);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.school-card .school-address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--pck-muted);
  overflow-wrap: anywhere;
}
.school-card .school-address svg,
.school-card .school-address .lucide,
.school-card .school-address .lucide-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  stroke-width: 2;
  color: var(--pck-navy-900);
}
.owl-dots .owl-dot span{ background: #d6dbe5 !important; }
#ecoles .owl-dot.active span{ background: var(--pck-navy-900) !important; width:22px; border-radius:0 !important; }

/* Activities - premium cards with hover animation */
.activities {
  background: var(--pck-off-white);
  color: var(--pck-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.activities .section-head h2 {
  color: var(--color-primary);
}
.activities .section-head p {
  color: var(--pck-muted);
}
.activities .overline {
  color: var(--pck-logo-red);
}
.activities .overline::before {
  background: var(--pck-logo-red);
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.activity-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(3, 42, 101, 0.06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.activity-grid article:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 26px 56px rgba(3, 42, 101, 0.14);
}
.activity-grid figure {
  position: relative;
  height: 220px;
  margin: 0;
  overflow: hidden;
  background: #eaf1f8;
}
.activity-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(2, 14, 32, .22) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.activity-grid article:hover figure::after {
  opacity: 1;
}
.activity-grid img,
.activity-grid article > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.activity-grid article:hover img,
.activity-grid article:hover > img {
  transform: scale(1.10);
}
.activity-grid article > div {
  padding: 22px 24px 24px;
}
.activity-grid h3 {
  color: var(--color-primary);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.2;
  margin: 0 0 8px;
}
.activity-grid p {
  color: var(--pck-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
/* Promoter message - premium layout with refined typography */
#promoteur {
  background:
    radial-gradient(circle at 8% 12%, rgba(3, 42, 101, 0.06), transparent 28%),
    #ffffff;
  color: var(--pck-text);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 108px) 0;
}
#promoteur > .wrap {
  position: relative;
  z-index: 1;
}
#promoteur .overline {
  color: var(--color-primary);
}
#promoteur .overline::before {
  background: var(--pck-logo-red);
}
.promoter-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}
.promoter-photo {
  height: clamp(420px, 45vw, 520px);
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--pck-navy-50);
  box-shadow: 0 26px 62px rgba(3, 42, 101, 0.13);
}
.promoter-photo::before {
  display: none;
}
.promoter-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.promoter-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 18, 48, 0.42));
  pointer-events: none;
}
.promoter-photo figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--pck-navy-900);
  color: #fff;
  padding: 18px 22px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  z-index: 1;
}
.promoter-copy {
  max-width: 620px;
}
.promoter h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  color: var(--color-primary);
  margin: 18px 0 22px;
  text-wrap: balance;
}
.promoter .lead {
  color: var(--pck-text);
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.65;
  margin: 0 0 16px;
}
.promoter p {
  color: var(--pck-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 20px;
  margin-top: 28px;
  border-top: 1px solid var(--color-border);
}
.signature strong {
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
}
.signature span {
  font-size: 13px;
  color: var(--pck-muted);
}
/* News — premium editorial (sharp, no radius) */
#actualites{ background: var(--pck-white); color: var(--pck-text); border-top:1px solid var(--color-border); }
#campuses{ background: var(--pck-navy-50); color: var(--pck-text); border-top:1px solid var(--color-border); }
.news--premium{ position:relative; overflow:hidden; }
.news--premium::before{
  content:""; position:absolute; inset:0 0 auto 0; height:1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  pointer-events:none;
}
.news-header{
  display:flex; align-items:end; justify-content:space-between; gap: clamp(1.5rem,4vw,3rem);
  margin-bottom: clamp(1.75rem,3.5vw,2.5rem); padding-bottom: 1.25rem;
}
.news-header__title{ max-width: 680px; }
.news-header__title h2{
  margin:0; color:var(--color-primary);
  font-family:var(--font-body); font-weight:800;
  font-size: clamp(2rem,4vw,3.1rem); line-height:0.98; letter-spacing:-0.025em;
}
.news-header__title p{ margin:0.7rem 0 0; color:var(--pck-muted); font-size: clamp(0.95rem,1.2vw,1.05rem); line-height:1.65; max-width:58ch; }
.news-header__title .kicker{ margin-bottom:0.7rem; }
.news-header__cta{
  flex:0 0 auto; display:inline-flex; align-items:center; gap:0.4rem;
  padding:0.65rem 0; color:var(--color-primary); font-weight:700; font-size:0.92rem;
  border-bottom:1px solid var(--color-accent-red); transition: color .2s var(--ease), gap .2s var(--ease);
}
.news-header__cta:hover{ color:var(--color-accent-red); gap:0.6rem; }
.news-grid article{ background:var(--pck-white); border:1px solid var(--color-border); border-radius:0; overflow:hidden; box-shadow:none; color: var(--pck-text); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.news-grid article h3{ color: var(--color-primary); }
.news-grid article small{ color: var(--pck-logo-red); }
.news-grid article:hover{ transform:none; box-shadow:0 10px 30px rgba(3,42,101,.08); border-color: rgba(3,42,101,.16); }
.news-img{ display:block; position:relative; overflow:hidden; background:#e8e5df; }
.news-img img{ transition: transform .6s var(--ease); }
.news-grid article:hover .news-img img{ transform: scale(1.04); }
.section-head h2{ letter-spacing:-0.02em; }

/* Actualités — cartes style page école (school-actualite), adaptées aux tokens de la home */
.school-actualites-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.school-actualite-card{ display:flex; flex-direction:column; min-width:0; background:var(--pck-white); border:1px solid var(--color-border); transition:transform .25s var(--ease),box-shadow .25s var(--ease); }
.school-actualite-card:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(3,42,101,.09); }
.school-actualite-media{ display:block; min-height:170px; background:var(--pck-navy-50); overflow:hidden; }
.school-actualite-media img{ width:100%; height:170px; object-fit:cover; transition:transform .35s var(--ease); }
.school-actualite-card:hover .school-actualite-media img{ transform:scale(1.03); }
.school-actualite-body{ display:flex; flex:1; flex-direction:column; padding:20px; }
.school-actualite-meta{ margin:0 0 10px; color:var(--pck-logo-red); font-size:.68rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.school-actualite-body h3{ margin:0 0 9px; color:var(--pck-navy-900); font:700 1.2rem/1.25 var(--font-body); letter-spacing:-.01em; }
.school-actualite-body h3 a{ color:inherit; text-decoration:none; }
.school-actualite-body h3 a:hover{ text-decoration:underline; text-underline-offset:3px; }
.school-actualite-body>p:not(.school-actualite-meta){ margin:0; color:var(--pck-muted); font-size:.9rem; line-height:1.6; }
.school-actualite-link{ display:inline-flex; align-items:center; gap:7px; margin-top:auto; padding-top:18px; color:var(--pck-navy-900); font-size:.8rem; font-weight:800; text-decoration:none; }
.school-actualite-link span{ transition:transform .2s var(--ease); }
.school-actualite-link:hover{ color:var(--pck-logo-red); }
.school-actualite-link:hover span{ transform:translateX(3px); }
.school-actualites-more{ display:inline-flex; align-items:center; gap:10px; margin-top:24px; min-height:46px; padding:0 22px; border:1px solid var(--color-border); color:var(--pck-navy-900); font-size:.82rem; font-weight:800; text-decoration:none; transition:border-color .25s var(--ease),color .25s var(--ease),transform .25s var(--ease); }
.school-actualites-more:hover{ border-color:var(--pck-navy-900); color:var(--pck-navy-900); transform:translateY(-2px); }
@media (max-width:900px){
  .school-actualites-grid{ grid-template-columns:1fr; }
  .school-actualite-media, .school-actualite-media img{ min-height:190px; height:190px; }
}

/* About page — editorial pro */
.about-hero{ position:relative; background: var(--pck-white); color:var(--pck-text); border-bottom:1px solid var(--color-border); padding: 96px 0 0; overflow:hidden; }
.about-hero .wrap{ position:relative; }
.about-hero__breadcrumb{ display:flex; gap:0.5rem; align-items:center; font-size:0.78rem; font-weight:600; color: var(--pck-muted); margin-bottom:1.1rem; letter-spacing:0.02em; }
.about-hero__breadcrumb a{ color:var(--pck-muted); text-decoration:none; border-bottom:1px solid transparent; padding-bottom:1px; }
.about-hero__breadcrumb a:hover{ color:var(--pck-navy-900); border-bottom-color: var(--color-border); }
.about-hero__breadcrumb span[aria-current]{ color: var(--pck-navy-900); font-weight:700; }
.about-hero--editorial .about-hero__grid{ display:grid; grid-template-columns: 1.08fr 0.92fr; gap:0; align-items:center; min-height: 560px; border-top:1px solid var(--color-border); }
.about-hero__copy{ padding: 48px 44px 44px 0; display:flex; flex-direction:column; justify-content:center; border-right:1px solid var(--color-border); }
.about-hero__eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:0.74rem; font-weight:700; letter-spacing:0.11em; text-transform:uppercase; color: var(--pck-logo-red); margin-bottom:16px; }
.about-hero__eyebrow::before{ content:""; width:28px; height:1px; background: var(--pck-logo-red); }
.about-hero h1{ color:var(--pck-navy-900); font-family: var(--font-display); font-size: clamp(2.6rem, 4.8vw, 4.2rem); line-height:0.92; letter-spacing:-0.035em; font-weight:700; margin:0 0 18px; max-width: 560px; }
.about-hero h1 em{ font-style:italic; font-weight:400; color: var(--pck-navy-900); }
.about-hero p.lead{ color:var(--pck-text); max-width: 480px; margin:0; font-size: 1.05rem; line-height:1.65; font-weight:400; }
.about-hero__meta{ display:flex; align-items:center; gap:14px; margin-top:28px; padding-top:18px; border-top:1px solid var(--color-border); font-size:0.82rem; font-weight:600; color: var(--pck-muted); flex-wrap:wrap; }
.about-hero__meta i{ width:1px; height:14px; background: var(--color-border); flex:0 0 auto; }
.about-hero__meta strong{ color: var(--pck-navy-900); font-weight:800; }
.about-hero__actions{ display:flex; gap:12px; margin-top:26px; flex-wrap:wrap; }
.about-hero__actions .btn{ min-height:44px; padding:0 20px; }
.about-hero__actions .text-link{ align-self:center; font-size:0.92rem; }
.about-hero__media{ position:relative; background:#f2f3f1; overflow:hidden; display:flex; flex-direction:column; align-items: center; }
.about-hero__media img{ width:100%; height:100%; object-fit:cover; display:block; min-height: 420px; }
.about-hero__media figcaption{ position:absolute; left:0; right:0; bottom:0; background: rgba(255,255,255,0.96); border-top:1px solid var(--color-border); padding:12px 16px; display:flex; justify-content:space-between; gap:12px; font-size:0.82rem; line-height:1.4; color: var(--pck-muted); }
.about-hero__media figcaption strong{ color: var(--pck-navy-900); font-weight:700; font-size:0.82rem; }
.about-hero__media figcaption span{ text-align:right; }

/* About — history (pro, light editorial with hairline) */
.about-history {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: clamp(2rem, 5vw, 64px);
  align-items: start;
}
.about-history__photo {
  position: relative;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: #f2f3f1;
}
.about-history__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-history__caption {
  margin: 0;
  padding: 12px 14px;
  background: var(--pck-white);
  border-top: 1px solid var(--color-border);
  color: var(--pck-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  display:flex; justify-content:space-between; gap:12px;
}
.about-history__caption strong{ color: var(--pck-navy-900); font-weight:700; }
.about-history__body h3 {
  color: var(--pck-navy-900);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height:1.05;
  letter-spacing:-0.02em;
  margin: 0 0 14px;
}
.about-history__body h4 {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--pck-logo-red);
  font-weight:700;
  margin: 28px 0 12px;
  padding-top:14px;
  border-top:1px solid var(--color-border);
}
.about-history__body p {
  color: var(--pck-text);
  line-height: 1.7;
  margin: 0 0 14px;
  font-size:0.98rem;
}
.about-sites {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top:1px solid var(--color-border);
}
.about-sites li{ border-bottom:1px solid var(--color-border); }
.about-sites a {
  display: flex;
  align-items: center;
  justify-content:space-between;
  gap:12px;
  padding:13px 0;
  color: var(--pck-navy-900);
  font-weight: 600;
  font-size:0.96rem;
  text-decoration: none;
}
.about-sites a span:last-child{ color: var(--pck-muted); font-weight:500; font-size:0.84rem; }
.about-sites a:hover{ color: var(--pck-logo-red); }
.about-sites a:hover span:last-child{ color: var(--pck-logo-red); }
.about-history__note {
  font-size: 0.88rem;
  color: var(--pck-muted);
  line-height:1.5;
  padding-top:12px;
  border-top:1px solid var(--color-border);
  margin-top:4px;
}

/* About — founder (pro, quiet editorial) */
.about-founder {
  background: var(--pck-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.about-founder__inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 6vw, 64px);
  align-items: start;
}
.about-founder__photo {
  position: relative;
  border:1px solid var(--color-border);
  background:#f2f3f1;
  overflow:hidden;
}
.about-founder__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}
.about-founder__photo figcaption{
  padding:10px 14px;
  background: var(--pck-white);
  border-top:1px solid var(--color-border);
  font-size:0.82rem;
  color: var(--pck-muted);
  display:flex; justify-content:space-between; gap:12px;
}
.about-founder__photo figcaption strong{ color: var(--pck-navy-900); font-weight:700; }
.about-founder__kicker{ font-size:0.74rem; letter-spacing:0.11em; text-transform:uppercase; color: var(--pck-logo-red); font-weight:700; }
.about-founder__body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height:0.95;
  letter-spacing:-0.02em;
  color: var(--pck-navy-900);
  margin: 10px 0 16px;
}
.about-founder__body h2 em{ font-style:italic; font-weight:400; }
.about-founder__body p {
  color: var(--pck-text);
  line-height: 1.72;
  margin: 0 0 14px;
  font-size:0.98rem;
}
.about-founder__body strong {
  color: var(--pck-navy-900);
}
.about-founder__vision {
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--color-border);
  color: var(--pck-text);
  font-size:1.02rem;
  line-height:1.6;
}
.about-founder__vision strong {
  font-weight: 700;
  color: var(--pck-navy-900);
}
.about-founder__meta{ display:flex; gap:18px; margin-top:18px; padding-top:16px; border-top:1px solid var(--color-border); font-size:0.84rem; color: var(--pck-muted); }
.about-founder__meta span{ display:flex; gap:6px; align-items:center; }
.about-founder__meta i{ width:1px; height:14px; background: var(--color-border); }

/* About — commitment (pro, light close with rule) */
.about-commit {
  background: var(--pck-off-white);
  color: var(--pck-text);
  border-top:1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.about-commit .section-head{ text-align:left; align-items:start; }
.about-commit .section-head h2 {
  color: var(--pck-navy-900);
  font-family: var(--font-display);
  letter-spacing:-0.02em;
}
.about-commit .section-head p {
  color: var(--pck-text);
  max-width: 640px;
}
.about-commit__text {
  margin-top: 1rem;
  color: var(--pck-text);
}
.about-commit__motto {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height:0.95;
  letter-spacing:-0.02em;
  color: var(--pck-navy-900);
  margin-top: 18px;
  padding-top:16px;
  border-top:1px solid var(--color-border);
}
.about-commit__motto em{ font-style:italic; font-weight:400; }
.about-commit__actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.about-commit__link {
  color: var(--pck-navy-900);
  border-bottom:1px solid var(--color-border);
  padding-bottom:2px;
  font-weight:600;
}
.about-commit__link:hover {
  color: var(--pck-logo-red);
  border-bottom-color: var(--pck-logo-red);
}

@media (max-width: 980px) {
  .about-hero--editorial .about-hero__grid{ grid-template-columns: 1fr; min-height:auto; }
  .about-hero__copy{ border-right:0; border-bottom:1px solid var(--color-border); padding:28px 0 28px; }
  .about-hero__media img{ min-height: 320px; }
  .about-history,
  .about-founder__inner {
    grid-template-columns: 1fr;
  }
  .about-founder__photo {
    max-width: 520px;
  }
}

#lottie-mark {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  pointer-events: none;
  opacity: 0.45;
  z-index: 2;
}
/* Shared responsive layout rules */
@media (max-width: 1100px) {
  .site-header nav {
    gap: 10px;
    font-size: 10.5px;
  }
  .header-cta {
    display: none;
  }
  .promoter-grid,
  .digital-grid,
  .cali-grid {
    gap: 50px;
  }
  .journey-grid,
  .activity-grid {
    grid-template-columns: 1fr 1fr;
  }
  .schools .section-head.split {
    padding-right: 0;
  }
  .school-portal {
    min-height: 0;
  }
}
@media (max-width: 860px) {
  .topbar {
    display: none;
  }
  .site-header {
    top: 0;
  }
  .nav-wrap {
    height: 76px;
  }
  .menu-toggle {
    margin-left: auto;
    display: flex;
    background: none;
    border: 0;
    color: white;
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .menu-toggle i {
    width: 25px;
    height: 2px;
    background: currentColor;
  }
  .menu-toggle span {
    font-size: 8px;
    text-transform: uppercase;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    color: var(--ink);
    padding: 16px 24px;
    max-height: calc(100vh - 76px);
    overflow: auto;
  }
  .site-header nav.open {
    display: block;
  }
  .site-header nav > a,
  .site-header nav button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .site-header nav > a.active:after,
  .site-header nav button.active:after {
    display: none;
  }
  .nav-dropdown {
    width: 100%;
  }
  /* Mobile mega: accordion — override desktop 1080px grid */
  .mega-menu,
  .dropdown {
    position: static !important;
    display: grid !important;
    grid-template-rows: 0fr;
    grid-template-columns: none !important;
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--pck-logo-red);
    padding: 0 0 0 12px !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    left: auto !important;
    border-radius: 0;
    transition: grid-template-rows 0.28s ease, opacity 0.2s ease, padding 0.28s ease, visibility 0.28s;
    overflow: hidden;
    gap: 0 !important;
  }
  .mega-menu__inner {
    overflow: hidden;
    padding: 0 !important;
    display: block !important;
    gap: 0 !important;
  }
  .mega-grid,
  .mega-grid--3,
  .mega-menu__cols {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .mega-col--accent {
    padding: 16px;
  }
  .mega-feature {
    grid-template-columns: 1fr;
  }
  .mega-feature img {
    width: 100%;
    height: 140px;
  }
  .nav-dropdown--wide .mega-menu {
    min-width: 0;
  }
  .nav-dropdown.is-open .mega-menu,
  .nav-dropdown:focus-within .mega-menu,
  .has-dropdown.is-open .mega-menu,
  .has-dropdown:focus-within .mega-menu {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    padding: 12px 0 8px 12px !important;
  }
  .nav-dropdown.is-open .mega-menu .mega-menu__inner,
  .has-dropdown.is-open .mega-menu .mega-menu__inner {
    padding: 4px 0 !important;
    display: grid !important;
  }
  .site-header.has-mega-open::after {
    display: none;
  }
  .site-header nav,
  .main-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav.open { max-height: calc(100vh - 76px); overflow:auto; }
  .hero {
    min-height: clamp(520px, 92svh, 760px);
  }
  .hero-content {
    min-height: clamp(520px, 92svh, 760px);
    padding-top: clamp(112px, 12vh + 76px, 168px);
    padding-bottom: 56px;
  }
  .hero-kicker {
    font-size: 9px;
    max-width: 100%;
  }
  .hero-trust {
    gap: 10px 14px;
    margin-top: 24px;
  }
  .hero-trust span {
    font-size: 10px;
  }
  .hero-pause {
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
  }
  .hero-bottom .wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-bottom .wrap > a {
    display: none;
  }
  .promoter-grid,
  .digital-grid,
  .cali-grid {
    grid-template-columns: 1fr;
  }
  .promoter-grid {
    gap: 34px;
  }
  .promoter-photo,
  .tablet-photo,
  .cali-photo {
    height: 500px;
  }
  .mission-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mission-grid article:nth-child(2) {
    border-right: 0;
  }
  .section-head.split {
    display: block;
  }
  .facility-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 420px 300px 300px;
  }
  .facility-grid .facility-large {
    grid-row: auto;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-grid article:last-child {
    display: none;
  }
  .admission {
    grid-template-columns: 1fr;
  }
  .admission-image {
    min-height: 360px;
  }
  .schools .section-head.split {
    padding-right: 0;
  }
  .schools-premium__header {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .schools-showcase {
    gap: 12px;
  }
  .school-portal {
    border-radius: 0;
  }
  .school-portal > a {
    grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
    gap: 18px;
    min-height: 150px;
    padding: 0 16px 0 0;
  }
  .school-portal__media {
    min-height: 158px;
    height: 100%;
  }
  .school-portal__cta {
    grid-column: 2;
    justify-self: start;
  }
  .school-finder {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
  }
  .school-picker,
  .school-picker summary {
    width: 100%;
  }
  .school-picker__menu {
    right: auto;
    left: 0;
    bottom: calc(100% + 10px);
    width: 100%;
  }
  .owl-nav {
    position: static;
    justify-content: center;
    margin-top: 22px;
    transform: none;
  }
  .owl-dots {
    padding-top: 18px;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: min(100% - 32px, 1200px);
  }
  .section {
    padding: 80px 0;
  }
  .brand {
    min-width: auto;
  }
  .brand img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .hero,
  .hero-content {
    min-height: clamp(520px, 92svh, 680px);
  }
  .hero-content {
    padding-top: clamp(108px, 11vh + 76px, 148px);
    padding-bottom: 40px;
  }
  .hero h1 {
    font-size: clamp(32px, 8vw, 42px);
  }
  .hero-content > p {
    font-size: clamp(15px, 3.6vw, 16px);
    margin: 12px 0 24px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-kicker {
    padding: 7px 11px;
  }
  .hero-trust {
    gap: 10px;
  }
  .hero-trust span {
    font-size: 10px;
  }
  .hero-trust i {
    display: none;
  }
  .hero-pause {
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
  }
  .hero-bottom .wrap > div {
    padding: 16px 8px;
  }
  .hero-bottom b {
    font-size: 22px;
  }
  .hero-bottom span {
    font-size: 8px;
  }
  .promoter-photo,
  .tablet-photo,
  .cali-photo {
    height: 380px;
  }
  .promoter-photo figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 14px 16px;
  }
  .mission-grid,
  .journey-grid,
  .activity-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .mission-grid article {
    border-right: 0;
    min-height: 230px;
  }
  .news-grid article:last-child {
    display: block;
  }
  .facility-grid {
    grid-template-rows: 360px 280px 280px;
  }
  .digital-badge,
  .cali-badge {
    right: -4px;
    width: 125px;
    height: 125px;
  }
  .admission-image {
    min-height: 300px;
  }
  .admission > div:last-child {
    padding: 60px 24px;
  }
  .admission > div > div {
    align-items: flex-start;
    flex-direction: column;
  }
  .schools-premium__heading h2 {
    font-size: clamp(34px, 10vw, 48px);
  }
  .schools-premium__heading p {
    font-size: 15px;
  }
  .school-portal {
    border-radius: 0;
  }
  .school-portal::before {
    right: 12px;
    bottom: -0.12em;
    font-size: clamp(82px, 30vw, 128px);
  }
  .school-portal > a {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 16px;
  }
  .school-portal__media {
    min-height: 220px;
    height: 220px;
    clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  }
  .school-portal__content {
    padding: 0 16px;
  }
  .school-portal strong {
    font-size: 25px;
  }
  .school-portal__cta {
    justify-self: stretch;
    width: 100%;
    justify-content: center;
    margin: 0 16px;
    width: auto;
  }
  .school-finder {
    margin-top: 16px;
    padding: 16px;
  }
  #lottie-mark {
    display: none;
  }
}

/* Final adaptive pass for the homepage shell, header, footer, and dense sections. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

/* Mobile nav consolidated below at 5994 — early 991 block removed to prevent clipping duplication */

@media (max-width: 640px) {
  .wrap,
  .footer-container,
  footer .wrap {
    width: min(100% - 28px, 1200px);
  }

  .section {
    padding: 68px 0;
  }

  .hero-content {
    padding-top: 96px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .hero-content > p {
    max-width: 30rem;
  }

  .values-rail,
  .mission-grid,
  .journey-grid,
  .activity-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .schools-premium__header,
  .schools-premium__heading,
  .section-head.split {
    display: grid;
    grid-template-columns: 1fr;
  }

  .school-portal__address {
    align-items: flex-start;
  }

  .school-portal__meta {
    font-size: 10.5px;
  }

  .campuses-section .container,
  .campuses-section .wrap {
    width: min(100% - 28px, 1200px);
  }

  .campuses-explorer {
    min-height: 720px;
  }

  .campus-map-panel {
    top: 0.8rem;
    left: 0.8rem;
    width: calc(100% - 1.6rem);
  }

  .campuses-carousel-wrapper {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .campuses-swiper .swiper-slide {
    width: min(86vw, 360px);
  }

  .campus-card {
    min-height: 320px;
  }

  .footer-col .brand,
  .footer-bottom,
  .footer-bottom__links {
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .main-nav__inner,
  .nav-wrap,
  .is-scrolled .main-nav__inner,
  .scrolled .nav-wrap {
    width: min(100% - 20px, 1200px);
  }

  .brand__logo,
  .brand img,
  .is-scrolled .brand__logo,
  .is-scrolled .brand img,
  .scrolled .brand__logo,
  .scrolled .brand img {
    height: 50px;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .flash-info {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .flash-info__label {
    min-height: 42px;
    padding-inline: 0.65rem;
  }

  .campuses-swiper .swiper-slide {
    width: calc(100vw - 52px);
  }
}
/* Global reduced-motion fallback */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-video {
    display: none;
  }
  .hero-video-loader {
    display: none;
  }
  .hero {
    background: url("../images/spot-poster.jpg") center/cover;
  }
  .hero-media {
    background: url("../images/spot-poster.jpg") center/cover;
  }
}

/* 6. Legacy content helpers and final responsive overrides */
/* Overline - clean label; chalk decoration is opt-in via .chalk. */
.overline {
  position: relative;
}
/* Chalk — used sparingly: hero highlight + headings with .chalk class */
h2.chalk {
  position: relative;
  display: inline-block;
  z-index: 1;
}
h2.chalk:after {
  content: "";
  position: absolute;
  left: 0;
  width: 48%;
  height: 8px;
  bottom: -8px;
  background: var(--red);
  z-index: -1;
  opacity: 0.82;
  clip-path: polygon(
    0 38%,
    9% 18%,
    21% 54%,
    34% 22%,
    48% 50%,
    63% 20%,
    78% 52%,
    90% 19%,
    100% 43%,
    99% 76%,
    85% 65%,
    69% 88%,
    52% 66%,
    35% 86%,
    18% 64%,
    1% 80%
  );
}
.history h2.chalk:after {
  background: var(--blue300);
}
/* legacy hero size removed — premium hero uses isolation hero above */

/* History component defaults, retained for shared/test pages. */
.history {
  background: var(--soft);
}
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.history-photo {
  height: 590px;
  position: relative;
}
.history-photo:before {
  content: "";
  position: absolute;
  left: -16px;
  top: -16px;
  width: 55%;
  height: 55%;
  border: 6px solid var(--blue100);
  z-index: -1;
}
.history-photo img {
  height: 100%;
}
.history-photo blockquote {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  margin: 0;
  background: rgba(0, 51, 128, 0.94);
  color: white;
  padding: 25px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.45;
}
.timeline {
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 81px;
  top: 14px;
  bottom: 16px;
  width: 2px;
  background: var(--blue100);
}
.timeline article {
  display: grid;
  grid-template-columns: 58px 18px 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.timeline article > time {
  font:
    600 12px var(--font-mono),
    monospace;
  color: var(--red);
  text-align: right;
  padding-top: 4px;
}
.timeline article > span {
  width: 14px;
  height: 14px;
  border: 3px solid var(--blue);
  background: white;
  border-radius: 50%;
  margin-top: 4px;
  z-index: 1;
}
.timeline h3 {
  font-size: 21px;
  margin-bottom: 5px;
}
.timeline p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Journey cards - full-color premium cards with hover animation */
#parcours {
  --parcours-parallax: 0px;
  background: #f8fafc;
  border-top: 1px solid var(--color-border);
  color: var(--pck-text);
  position: relative;
  overflow: hidden;
}
#parcours::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 92% 6%, rgba(3, 42, 101, .05), transparent 28%);
  transform: translateY(calc(var(--parcours-parallax) * -0.28));
  pointer-events: none;
}
#parcours > .wrap {
  position: relative;
  z-index: 1;
}
#parcours .section-head h2 {
  color: var(--color-primary);
  letter-spacing: -0.025em;
}
#parcours .section-head p {
  color: var(--pck-muted);
}
#parcours .overline {
  color: var(--color-primary);
}
#parcours .overline::before {
  background: var(--pck-logo-red);
}
.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.journey-grid article {
  --journey-accent: #032a65;
  --journey-text: #ffffff;
  --journey-soft: rgba(255, 255, 255, 0.16);
  position: relative;
  min-height: 460px;
  padding: 0 0 26px;
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 20px;
  background: var(--journey-accent);
  color: var(--journey-text);
  box-shadow: 0 16px 40px rgba(3, 42, 101, 0.12);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.journey-grid article:nth-child(1) { --journey-accent: #f5b400; --journey-text: #0f172a; --journey-soft: rgba(0, 0, 0, 0.10); }
.journey-grid article:nth-child(2) { --journey-accent: #12a878; }
.journey-grid article:nth-child(3) { --journey-accent: #2f7de1; }
.journey-grid article:nth-child(4) { --journey-accent: #d93255; }
.journey-grid article:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 30px 70px rgba(3, 42, 101, 0.22);
}
.journey-grid figure {
  height: 230px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.journey-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .7s var(--ease);
}
.journey-grid article:hover figure img {
  transform: scale(1.10);
}
.journey-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .25) 100%);
  pointer-events: none;
}
.journey-grid figure i {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--journey-accent);
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
  z-index: 1;
  transition: transform .4s var(--ease);
}
.journey-grid article:hover figure i {
  transform: scale(1.12) rotate(8deg);
}
.journey-grid article > div {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 22px;
  padding: 0 26px;
}
.journey-grid article > div span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--journey-soft);
  color: var(--journey-text);
  padding: 5px 10px;
  border-radius: 999px;
}
.journey-grid article > div b {
  display: none;
}
.journey-grid article h3 {
  color: var(--journey-text);
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.1;
  margin: 12px 0 0;
  padding: 0 26px;
}
.journey-grid article p {
  color: var(--journey-text);
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0 0;
  padding: 0 26px;
  opacity: 0.88;
}
.journey-grid a {
  margin: auto 26px 0;
  color: var(--journey-text);
  font-weight: 700;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap .2s var(--ease), opacity .2s var(--ease);
  width: max-content;
  opacity: 0.92;
}
.journey-grid a:hover {
  gap: 10px;
  opacity: 1;
}
@media (max-width: 991px) {
  .journey-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .journey-grid { grid-template-columns: 1fr; }
  .journey-grid article { min-height: auto; }
  .journey-options {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #parcours::before,
  .journey-grid figure img,
  .journey-grid article:hover figure img,
  .journey-grid article,
  .journey-grid article:hover figure i {
    transform: none;
  }
}

/* Facilities image mosaic - navy, squared, and parallax-enabled */
.facilities {
  --facilities-parallax: 0px;
  background: #031f4a;
  color: #ffffff;
  border-top: 0;
  border-bottom: 0;
  position: relative;
  overflow: hidden;
}
.facilities::before {
  display: none;
}
.facilities .wrap {
  position: relative;
  z-index: 1;
}
.facilities .section-head h2 {
  color: #ffffff;
}
.facilities .overline.blue {
  color: rgba(255, 255, 255, 0.72);
}
.facilities .overline.blue::before {
  background: var(--pck-logo-red);
}
.facility-grid {
  gap: 20px;
}
.facility-grid article {
  border: 0;
  border-radius: 0;
  background: #062b62;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}
.facility-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 31, 74, 0.04) 8%, rgba(3, 31, 74, 0.5) 46%, rgba(1, 12, 31, 0.94) 100%);
  z-index: 1;
  pointer-events: none;
}
.facility-grid article::after {
  display: none;
}
.facility-grid article img {
  height: 100%;
  filter: saturate(1.08) contrast(1.06);
  transform: translateY(calc(var(--facilities-parallax) * -0.08)) scale(1.08);
  transition: transform 0.7s var(--ease), filter 0.45s var(--ease);
}
.facility-grid article:hover img {
  transform: translateY(calc(var(--facilities-parallax) * -0.08)) scale(1.14);
  filter: saturate(1.18) contrast(1.08);
}
.facility-grid article > div {
  z-index: 4;
  left: 30px;
  right: 30px;
  bottom: 34px;
}
.facility-grid h3 {
  color: #ffffff !important;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 6px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}
.facility-grid p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.28);
}
@media (prefers-reduced-motion: reduce) {
  .facility-grid article img,
  .facility-grid article:hover img {
    transform: none;
  }
}
@media (max-width: 860px) {
  .history-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .history-photo {
    height: 480px;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 650px;
  }
  .history-photo {
    height: 390px;
  }
  .history-photo blockquote {
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 18px;
    font-size: 17px;
  }
  .timeline:before {
    left: 72px;
  }
  .timeline article {
    grid-template-columns: 49px 18px 1fr;
  }
  .journey-grid article {
    min-height: 470px;
  }
}

/* Shared CALI visual language for the promoter and history sections. */
#promoteur,
#historique {
  position: relative;
  overflow: hidden;
  background: #032a65;
  color: #eaf1f8;
  border-top: 0;
  border-bottom: 0;
}
#promoteur::before,
#historique::before {
  content: "";
  position: absolute;
  inset: -18% -12%;
  background:
    radial-gradient(circle at 78% 0%, rgba(255, 255, 255, 0.13), transparent 32%),
    radial-gradient(circle at 22% 100%, rgba(255, 255, 255, 0.08), transparent 28%);
  opacity: 0.62;
  pointer-events: none;
}
#promoteur > .wrap,
#historique > .wrap {
  position: relative;
  z-index: 1;
}

/* Promoter: image-led introduction with CALI's dark treatment. */
#promoteur .promoter-grid {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
}
#promoteur .promoter-photo {
  height: 590px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#promoteur .promoter-photo::before {
  display: block;
  left: -18px;
  top: -18px;
  width: 70%;
  height: 45%;
  border: 6px solid var(--blue100);
  z-index: -1;
}
#promoteur .promoter-photo img {
  object-position: center top;
}
#promoteur .promoter-photo::after {
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(2, 14, 32, 0.55));
}
#promoteur .promoter-photo figcaption {
  left: auto;
  right: -32px;
  bottom: 34px;
  background: #ffffff;
  color: var(--pck-navy-900);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
#promoteur .promoter-copy {
  max-width: none;
}
#promoteur .overline,
#historique .overline {
  color: #cbd5e1;
}
#promoteur .overline::before,
#historique .overline::before {
  background: var(--pck-logo-red);
}
#promoteur h2,
#historique .section-head h2 {
  color: #ffffff;
}
#promoteur h2.chalk::after {
  display: none;
}
#historique h2.chalk::after {
  display: block;
  background: var(--pck-logo-red);
}
#promoteur .lead,
#promoteur p,
#historique .section-head p {
  color: #dbeafe;
}
#promoteur .signature {
  border-top-color: rgba(255, 255, 255, 0.18);
}
#promoteur .signature strong {
  color: #ffffff;
}
#promoteur .signature span {
  color: #cbd5e1;
}

/* About — historique: override shared dark CALI treatment to light editorial */
#historique {
  background: var(--pck-white);
  color: var(--pck-text);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
#historique::before { display: none; }
#historique .overline { color: var(--pck-logo-red); }
#historique .overline::before { background: var(--pck-logo-red); }
#historique .section-head h2 { color: var(--pck-navy-900); }
#historique h2.chalk::after { background: var(--pck-logo-red); }
#historique .section-head p { color: var(--pck-text); }

/* About page — section color rhythm: paper, ink, and school-blue light. */
.about-hero {
  background: #f7f8f6;
  border-bottom-color: #dfe5ea;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(201, 0, 28, 0.06), transparent 24rem);
  pointer-events: none;
}
.about-hero__grid,
.about-hero__breadcrumb,
.about-hero > .wrap {
  position: relative;
  z-index: 1;
}

#historique {
  background: #f1f0eb;
  border-top-color: #deddd5;
  border-bottom-color: #deddd5;
}
#historique .about-history__photo,
#historique .about-history__caption {
  border-color: #d8d8d0;
}
#historique .about-sites,
#historique .about-sites li,
#historique .about-history__body h4,
#historique .about-history__note {
  border-color: #d8d8d0;
}

.about-founder {
  position: relative;
  overflow: hidden;
  background: #062b62;
  color: #e8f0f8;
  border-top: 0;
  border-bottom: 0;
}
.about-founder::before {
  content: "";
  position: absolute;
  width: min(42rem, 70vw);
  height: min(42rem, 70vw);
  top: -18rem;
  right: -12rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, 0.025), 0 0 0 8rem rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.about-founder__inner {
  position: relative;
  z-index: 1;
}
.about-founder__photo {
  border-color: rgba(255, 255, 255, 0.22);
  background: #031f4a;
}
.about-founder__photo figcaption {
  background: #f7f8f6;
  border-top-color: #dfe5ea;
}
.about-founder__kicker {
  color: #ff6b6d;
}
.about-founder__body h2,
.about-founder__body strong,
.about-founder__vision strong {
  color: #ffffff;
}
.about-founder__body p,
.about-founder__vision {
  color: #dbeafe;
}
.about-founder__vision,
.about-founder__meta {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.about-founder__meta {
  color: #c5d6e8;
}
.about-founder__meta i {
  background: rgba(255, 255, 255, 0.25);
}

.about-commit {
  position: relative;
  overflow: hidden;
  background: #eaf1f8;
  border-top-color: #d3e0ec;
  border-bottom-color: #d3e0ec;
}
.about-commit::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -12rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(3, 42, 101, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(3, 42, 101, 0.025), 0 0 0 6rem rgba(3, 42, 101, 0.02);
  pointer-events: none;
}
.about-commit > .wrap {
  position: relative;
  z-index: 1;
}
.about-commit .section-head p,
.about-commit__text {
  color: #18324f;
}
.about-commit__motto {
  border-top-color: #c7d7e7;
}

/* School detail pages */
.school-page .site-header {
  position: sticky;
  top: 0;
  background: var(--pck-navy-900);
}
.school-hero {
  position: relative;
  min-height: clamp(420px, 62svh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background: var(--pck-navy-900);
}
.school-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.school-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.school-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(2, 13, 42, 0.28) 0%, rgba(2, 18, 52, 0.62) 52%, rgba(2, 18, 52, 0.96) 100%);
}
.school-hero__content {
  width: var(--container);
  margin-inline: auto;
  padding: clamp(72px, 10vh, 120px) 0 clamp(38px, 6vh, 64px);
}
.school-hero__content > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d6e8ff;
}
.school-hero__content > span::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--pck-logo-red);
}
.school-hero h1 {
  max-width: 820px;
  margin: 14px 0 16px;
  color: white;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.school-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
}
.school-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.school-info-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--pck-navy-900);
  border-radius: 0;
  background: white;
  box-shadow: 0 10px 28px rgba(3, 42, 101, 0.06);
}
.school-info-card:nth-child(even) {
  border-top-color: var(--pck-logo-red);
}
.school-info-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--pck-navy-900);
}
.school-info-card h3 i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pck-navy-50);
  color: var(--pck-navy-900);
}
.school-info-card p,
.school-info-card li {
  margin: 0;
  color: var(--pck-muted);
  font-size: 14px;
  line-height: 1.65;
}
.school-info-card ul {
  margin: 0;
  padding-left: 18px;
}
.school-info-card li + li {
  margin-top: 8px;
}
.school-info-card .btn {
  margin-top: auto;
  padding: 12px 18px;
  font-size: 12px;
}
.school-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.school-news-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--color-border);
  background: white;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.school-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(3, 42, 101, 0.1);
}
.school-news-card time {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pck-logo-red);
}
.school-news-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--pck-navy-900);
  line-height: 1.3;
}
.school-news-card p {
  margin: 0;
  color: var(--pck-muted);
  font-size: 14px;
  line-height: 1.6;
}
.school-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.school-contact-info {
  display: grid;
  gap: 22px;
}
.school-contact-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.school-contact-block i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--pck-navy-50);
  color: var(--pck-navy-900);
}
.school-contact-block strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--pck-navy-900);
}
.school-contact-block p,
.school-contact-block a {
  margin: 0;
  color: var(--pck-muted);
  font-size: 14px;
  line-height: 1.6;
}
.school-contact-block a:hover {
  color: var(--pck-navy-900);
  text-decoration: underline;
}
.school-contact-form {
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: white;
  box-shadow: 0 14px 38px rgba(3, 42, 101, 0.08);
}
.school-contact-form h3 {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
  color: var(--pck-navy-900);
}
.school-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.school-contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--pck-navy-900);
}
.school-contact-form input,
.school-contact-form textarea,
.school-contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--pck-cream);
  color: var(--pck-text);
  font-size: 14px;
  font-family: inherit;
}
.school-contact-form input:focus,
.school-contact-form textarea:focus,
.school-contact-form select:focus {
  outline: 2px solid var(--pck-navy-900);
  outline-offset: 2px;
}
.school-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.school-map {
  position: relative;
  min-height: 320px;
  margin-top: 28px;
  border-radius: 0;
  overflow: hidden;
  background: var(--pck-navy-50);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.school-map p {
  margin: 0;
  color: var(--pck-muted);
}
.school-map strong {
  display: block;
  margin-bottom: 6px;
  color: var(--pck-navy-900);
  font-size: 16px;
}
@media (max-width: 1100px) {
  .school-info-grid,
  .school-news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .school-contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .school-info-grid,
  .school-news-grid {
    grid-template-columns: 1fr;
  }
  .school-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  #promoteur .promoter-grid,
  #historique .history-grid {
    gap: 50px;
  }
}
@media (max-width: 860px) {
  #promoteur .promoter-grid,
  #historique .history-grid {
    grid-template-columns: 1fr;
  }
  #promoteur .promoter-photo,
  #historique .history-photo {
    height: 500px;
  }
}
@media (max-width: 600px) {
  #promoteur,
  #historique {
    padding: 72px 0;
  }
  #promoteur .promoter-photo,
  #historique .history-photo {
    height: 380px;
  }
  #promoteur .promoter-photo figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

/* Authoritative responsive overrides for the homepage header/footer shell. */
@media (max-width: 991px) {
  .topbar,
  .utility-bar {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .footer-bottom,
  .footer-bottom__links {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  /* Footer brand — scale down the header-sized lockup on phones */
  .footer-grid > div:first-child .brand {
    height: auto;
  }
  .footer-grid > div:first-child .brand img {
    height: 56px;
  }
  .footer-col .brand span > small {
    font-size: 0.68rem;
  }
  .footer-col .brand span > strong {
    font-size: 1.05rem;
  }
}

/* Mobile navigation actions (hidden on desktop) */
.main-menu__actions,
.main-menu__cta,
.main-menu__search {
  display: none;
}

/* ==========================================================
   Mobile Premium Enhancements — simple but premium
   Added for squelettes/sommaire.html responsiveness
   ========================================================== */

/* --- 1. Header mobile fix consolidated into authoritative 991px block above (premium) --- */

/* --- 2. Hero: premium but breathable on mobile --- */
@media (max-width: 640px) {
  .hero, .hero-content { min-height: 560px; }
  .hero-content { padding-top: 88px; padding-bottom: 28px; justify-content: center; }
  .hero h1 { max-width: 14ch; font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.02; }
  .hero h1 span:after { height: 8px; bottom: 2px; }
  .hero-content > p { font-size: 0.98rem; line-height: 1.65; margin: 12px 0 18px; max-width: 32ch; }
  .hero-trust { gap: 10px 12px; margin-top: 20px; padding-top: 14px; }
  .hero-trust span { font-size: 10px; letter-spacing: 0.06em; }
  .hero-video { object-position: center 30%; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.4rem); }
}

/* --- 3. Section rhythm: earlier stacking (860px) = simple premium --- */
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cali-grid, .promoter-grid, .facility-grid,
  .schools-premium__header, .campuses-intro {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .cali-photo, .promoter-photo, .tablet-photo, .history-photo { height: 420px; }
  .cali-badge, .promoter-photo figcaption { right: 12px; bottom: 12px; width: 128px; height: 128px; padding: 14px; }
  .facility-grid { grid-template-rows: auto !important; }
  .facility-grid article { min-height: 260px; }
}

/* --- 4. Journey / Activities / News: compact premium cards --- */
@media (max-width: 860px) {
  .journey-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 16px; }
  .activity-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 14px; }
}
@media (max-width: 640px) {
  .journey-grid, .activity-grid, .news-grid { grid-template-columns: 1fr !important; }
  .journey-grid article { min-height: auto; padding-bottom: 18px; }
  .journey-grid figure { height: 190px; }
  .journey-grid figure i { width: 42px; height: 42px; font-size: 16px; }
  .activity-grid img { height: 190px; }
  .news-img { height: 210px; }
  .news-body h3 { font-size: 1.15rem; }
}

/* --- 5. Schools-premium: single column earlier, no clip-path squeeze --- */
@media (max-width: 860px) {
  .school-portal > a {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    gap: 0 !important;
    min-height: 0 !important;
  }
  .school-portal__media {
    clip-path: none !important;
    min-height: 220px !important;
    height: 220px !important;
  }
  .school-portal img { height: 100% !important; }
  .school-portal img.school-portal__cali { height: 48px !important; top: 12px; right: 12px; width: 48px; }
  .school-portal__content { padding: 18px 16px 16px !important; gap: 6px; }
  .school-portal strong { font-size: 1.35rem; }
  .school-portal__cta { grid-column: auto; justify-self: start; margin: 4px 16px 16px; }
  .school-portal::before { font-size: 96px; right: 12px; }
}

/* --- 6. Campuses explorer: remove 100vw + absolute overlap on mobile --- */
@media (max-width: 860px) {
  .campuses-explorer {
    width: 100% !important;
    margin-left: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: grid !important;
    gap: 14px;
    padding: 14px;
    background: #f2f3f1;
    clip-path: none !important;
  }
  .campuses-map {
    position: relative !important;
    inset: auto !important;
    height: 420px !important;
    min-height: 420px;
    border: 1px solid var(--color-border);
  }
  .campus-map-panel {
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .campuses-carousel-wrapper {
    position: static !important;
    width: 100% !important;
    left: auto !important; right: auto !important; bottom: auto !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px;
    padding: 0 !important;
  }
  .campuses-swiper { max-width: 100% !important; padding-bottom: 8px; }
  .campuses-swiper .swiper-slide { width: 84vw !important; max-width: 360px; }
  .campuses-controls { justify-self: center; }
}
@media (max-width: 640px) {
  .campuses-map { height: 380px !important; min-height: 380px; }
  .campuses-swiper .swiper-slide { width: calc(100vw - 48px) !important; }
}

/* --- 7. Global mobile polish: no horizontal scroll, better tap targets --- */
html, body { overflow-x: clip; }
img { max-width: 100%; }
@media (max-width: 640px) {
  .wrap, .footer-container, footer .wrap, .campuses-section .container { width: min(100% - 24px, 1200px) !important; }
  .section { padding: 56px 0 !important; }
  .btn, .header-cta { min-height: 44px; }
  .footer-grid > div:first-child .brand img { height: 56px !important; }
}
@media (max-width: 390px) {
  .flash-info__label strong { font-size: 0.68rem; }
  .school-portal__meta { font-size: 10px; letter-spacing: 0.06em; }
}

/* body lock when mobile drawer open - premium */
@media (max-width: 991px) {
  body:has(.site-header nav.open), body:has(.main-menu.open) { overflow: hidden; }
}

/* Header mobile menu: simple premium drawer — fixed per spec (no clipped heights, natural accordion, scrollable, CTA padding-reserved) */
@media (max-width: 991px) {
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0; right: 0;
    z-index: 100;
    background: rgba(3, 42, 101, 0.98) !important;
    box-shadow: 0 12px 34px rgba(2, 10, 24, 0.18);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .main-nav {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .main-nav__inner,
  .nav-wrap,
  .is-scrolled .main-nav__inner,
  .scrolled .nav-wrap {
    width: min(100% - 28px, 1180px) !important;
    min-height: 68px !important;
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .brand {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    max-width: calc(100% - 62px);
    gap: 0.6rem;
  }

  .brand__logo-wrap,
  .brand__logo,
  .brand img,
  .is-scrolled .brand__logo-wrap,
  .is-scrolled .brand__logo,
  .is-scrolled .brand img,
  .scrolled .brand__logo,
  .scrolled .brand img {
    height: 56px !important;
    width: auto !important;
    flex: 0 0 auto;
  }

  .brand small { font-size: 0.64rem; }
  .brand strong { font-size: clamp(0.78rem, 3.2vw, 0.92rem); line-height: 1.1; }

  /* Close/menu button — 44×44 accessible, chrome libre (pas de pastille) */
  .mobile-toggle {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 44px;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px; min-height: 44px;
    border-radius: 0;
    background: transparent;
    border: 0;
  }
  .mobile-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .mobile-toggle:hover, .mobile-toggle.is-open { background: transparent; border: 0; }

  /* Drawer — occupies viewport below header, scrolls independently, no fixed accordion heights */
  .site-header nav,
  .main-menu {
    position: fixed !important;
    top: 68px !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    z-index: 120 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    height: auto !important;
    /* hug content; grow to available viewport height, then scroll independently */
    max-height: calc(100vh - 68px) !important;
    max-height: calc(100dvh - 68px) !important;
    margin: 0 !important;
    padding: 12px 0 16px !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 24px 48px rgba(3,42,101,0.14);
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s var(--ease) !important;
  }

  .site-header nav.open,
  .main-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  /* Top-level items — consistent padding + separators, navy typography on white */
  .site-header nav > a,
  .main-menu > a,
  .main-menu > .nav-dropdown > button {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 48px;
    padding: 14px 22px !important;
    border: 0 !important;
    border-bottom: 1px solid #eef2f7 !important;
    background: #fff !important;
    color: var(--pck-navy-900) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.3;
    text-align: left;
    white-space: normal !important;
    box-shadow: none !important;
  }

  .main-menu > a.active,
  .main-menu > a[aria-current="page"] {
    color: var(--pck-logo-blue) !important;
    background: #f8fafc !important;
  }

  .nav-dropdown { width: 100% !important; border-bottom: 1px solid #eef2f7; }

  /* Dropdown buttons: the .nav-dropdown container already draws the separator */
  .main-menu > .nav-dropdown > button {
    border-bottom: 0 !important;
  }

  /* Chevron — right-aligned, rotates on expand */
  .site-header nav button .nav-chevron,
  .main-menu > .nav-dropdown > button .nav-chevron {
    position: relative;
    flex: 0 0 12px;
    width: 12px; height: 12px;
    margin-left: 12px;
    font-size: 0 !important; line-height: 0;
  }
  .site-header nav button .nav-chevron::before,
  .main-menu > .nav-dropdown > button .nav-chevron::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 7px; height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform 0.22s var(--ease);
    opacity: 0.75;
  }
  .nav-dropdown.is-open .nav-chevron::before { transform: translate(-50%, -30%) rotate(-135deg); opacity: 1; }

  /* Accordion panels — natural height, no clipping, smooth grid transition */
  .mega-menu,
  .dropdown {
    position: static !important;
    display: grid !important;
    grid-template-rows: 0fr !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    transition: grid-template-rows 0.28s var(--ease) !important;
  }
  .nav-dropdown.is-open .mega-menu,
  .has-dropdown.is-open .mega-menu { grid-template-rows: 1fr !important; }

  .mega-menu__inner {
    min-height: 0;
    display: block !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: #f8fafc !important;
  }
  .mega-menu:has(.mega-menu__inner) .mega-menu__inner,
  .mega-menu:has(.mega-menu__inner).mega-menu--wide .mega-menu__inner {
    display: block !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }

  .mega-menu__intro { display: none !important; }

  /* Submenu groups — indented with left border, distinct background, consistent spacing */
  .mega-menu__cols {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 10px 0 8px !important;
    border: 0 !important;
    background: #f8fafc !important;
  }
  .mega-menu__cols > div {
    display: grid; gap: 0;
    padding: 6px 0 !important;
    margin: 0 16px 0 12px;
    padding-left: 14px !important;
    border-left: 2px solid #e2e8f0;
  }
  .mega-menu__cols > div + div { border-top: 0 !important; margin-top: 4px; }

  .mega-menu__cols h3 { display: none !important; }
  .mega-menu__cols h3::before { display: none !important; }

  .mega-menu__cols a,
  .mega-menu a,
  .dropdown a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 44px !important;
    padding: 10px 6px 10px 4px !important;
    border: 0 !important;
    border-bottom: 1px solid #eef2f7 !important;
    background: transparent !important;
    color: #1f2f46 !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    overflow-wrap: anywhere;
  }
  .mega-menu__cols > div a:last-child { border-bottom: 0 !important; }
  .mega-menu__cols a::after { content: "→"; color: var(--pck-logo-red); opacity: 0.9; flex: 0 0 auto; margin-left: 8px; }
  .mega-menu__cols a:hover,
  .mega-menu a:hover { color: var(--pck-navy-900) !important; background: #fff !important; border-radius: 8px; }

  /* Backdrop scrim — focuses attention on the open menu, tap anywhere to dismiss */
  body::after {
    content: "";
    position: fixed;
    inset: 68px 0 0;
    z-index: 90;
    background: rgba(3, 20, 45, 0.48);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s var(--ease);
  }
  body:has(.main-menu.open)::after,
  body:has(.site-header nav.open)::after { opacity: 1; pointer-events: auto; }

  /* Drawer actions — visible in-flow, balanced, safe on small screens */
  .main-menu__actions {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100% - 32px) !important;
    margin: 16px auto 0 !important;
    padding-top: 14px;
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #eef2f7;
  }

  .site-header nav .main-menu__search,
  .main-menu .main-menu__search {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    color: var(--pck-navy-900) !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    box-shadow: none !important;
  }
  .main-menu__search svg { width:20px; height:20px; flex:0 0 20px; }
  .main-menu__search:hover,
  .main-menu__search:focus-visible {
    background: #eef4ff !important;
    border-color: rgba(0,51,128,0.28) !important;
    color: #003380 !important;
  }

  /* Mobile CTA — simple, not loud */
  .site-header nav .main-menu__cta,
  .main-menu .main-menu__cta {
    position: static !important;
    z-index: 2;
    display: flex !important;
    align-items: center; justify-content: center; gap: 8px;
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    border: 1px solid rgba(3,42,101,0.22) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--pck-navy-900) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-align: center;
    box-shadow: none !important;
    flex-shrink: 0;
  }
  .header-cta.main-menu__cta span { color: inherit; font-weight: inherit; }
  .site-header nav .main-menu__cta:hover,
  .site-header nav .main-menu__cta:focus-visible,
  .main-menu .main-menu__cta:hover,
  .main-menu .main-menu__cta:focus-visible { background: #f0f6ff !important; border-color: var(--pck-logo-blue) !important; color: #003380 !important; }

  @media (prefers-reduced-motion: reduce) {
    .site-header nav,
    .main-menu,
    body::after { transition-duration: 0s !important; }
  }

  .site-header nav > a:focus-visible,
  .site-header nav button:focus-visible,
  .main-menu > a:focus-visible,
  .main-menu > .nav-dropdown > button:focus-visible,
  .mega-menu a:focus-visible {
    outline: 2px solid var(--pck-navy-900);
    outline-offset: -2px;
    border-radius: 6px;
  }
}

@media (max-width: 420px) {
  .main-nav__inner,
  .nav-wrap,
  .is-scrolled .main-nav__inner,
  .scrolled .nav-wrap {
    width: min(100% - 20px, 1180px) !important;
  }

  .site-header nav,
  .main-menu {
    padding-inline: 16px !important;
  }

  .brand > span:last-child {
    max-width: 152px;
  }

  .site-header nav > a,
  .site-header nav button,
  .main-menu > a,
  .main-menu > .nav-dropdown > button {
    min-height: 50px;
    font-size: 0.98rem !important;
  }

  .mega-menu__cols a,
  .mega-menu a,
  .dropdown a {
    font-size: 0.92rem !important;
  }

  .mega-menu__inner,
  .mega-menu:has(.mega-menu__inner) .mega-menu__inner {
    padding-left: 16px !important;
  }
}

/* Article editorial template — Pro Edition */
.article-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:120;pointer-events:none;background:transparent}
.article-progress span{display:block;height:100%;width:0;background:var(--pck-logo-red);transition:width .12s linear}
.article-page-body{background:#fff;color:var(--pck-text)}
.article-page{padding-top:114px;background:#fff}
.article-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;width:var(--container);margin-inline:auto;align-items:start}
.article-main-column{min-width:0}
/* Hero — white paper with hairline separation */
.article-hero{padding:56px 0 0px;background:#fff;}
.article-hero-inner{max-width:1200px;margin-inline:auto}
.article-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:30px;color:var(--pck-muted);font-size:.78rem;font-weight:600}
.article-breadcrumb a{color:var(--pck-muted);border-bottom:1px solid transparent}
.article-breadcrumb a:hover{color:var(--pck-navy-900);border-bottom-color:var(--pck-navy-900)}
.article-breadcrumb span[aria-current]{color:var(--pck-navy-900);font-weight:700}
.article-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px}
.article-kicker-label{display:inline-flex;align-items:center;padding:6px 12px;border:1px solid #1a3a6b;background:var(--pck-navy-900);color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.article-kicker-dot{width:4px;height:4px;border-radius:50%;background:#c6ccd6}
.article-kicker-meta{color:var(--pck-muted);font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.article-hero h1{margin:0;color:var(--pck-navy-900);font:700 clamp(2.15rem,4.6vw,3.85rem)/1.04 var(--font-display);letter-spacing:-.035em;text-wrap:balance}
.article-dek{max-width:58ch;margin:18px 0 0;color:#2b3a54;font:400 clamp(1.02rem,1.8vw,1.22rem)/1.6 var(--font-body);text-wrap:pretty}
.article-meta-bar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:26px}
.article-meta{display:flex;flex-wrap:wrap;gap:12px;align-items:center;color:var(--pck-muted);font-size:.84rem}
.article-meta-dot{width:4px;height:4px;border-radius:50%;background:#c6ccd6}
.article-meta a{color:var(--pck-navy-900);font-weight:700;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}
.article-meta a:hover{text-decoration-color:var(--pck-navy-900)}
.article-author{color:#1a2a4a;font-weight:700}
.article-share{display:flex;gap:8px;align-items:center}
.article-share-btn{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid var(--pck-border);background:#fff;color:var(--pck-navy-900);font-size:.78rem;font-weight:700;border-radius:999px;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.article-share-btn:hover{border-color:var(--pck-navy-900);background:#f7f8fb;transform:translateY(-1px)}
.article-share-btn--ghost{background:#fff}
.article-rule{margin:28px 0 0;border:0;border-top:1px solid #ece9e3}
/* Cover — editorial frame */
.article-cover{display:block;margin:0}
.article-cover-frame{display:grid;place-items:center;height:320px;overflow:hidden;border:1px solid #ece9e3;box-shadow:0 24px 64px rgba(2,34,82,.13);background:#f2f3f1}
.article-cover img{width:100%;height:100%;object-fit:contain;display:block}
.article-cover figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:12px;padding:0 2px;color:var(--pck-muted);font-size:.74rem;line-height:1.45}
.article-cover-caption{max-width:68ch}
.article-cover-credit{flex:none;color:#8a94a6;font-weight:600;letter-spacing:.04em;text-transform:uppercase;font-size:.68rem}
/* Body — white paper + subtle layout grid */
.article-body{background:#fff}
.article-layout{display:block;padding:56px 0 72px}
.article-page-layout>.article-sidebar{position:sticky;top:114px;align-self:start;padding-top:56px}
.article-sidebar-sticky{display:grid;gap:18px}
.article-sidebar-card{background:#f7f7f5;border:1px solid #ece9e3;padding:18px 18px 16px}
.article-sidebar-label{display:block;margin-bottom:12px;color:var(--pck-logo-red);font-size:.66rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.article-school-ad{padding:22px;background:var(--pck-navy-900);color:#fff;box-shadow:0 18px 40px rgba(2,34,82,.14)}
.article-school-ad .article-sidebar-label{color:#f1a3ab}
.article-school-ad h2{margin:0;color:#fff;font:700 1.5rem/1.08 var(--font-display);letter-spacing:-.02em}
.article-school-ad>p{margin:10px 0 20px;color:#d2e1f3;font-size:.84rem;line-height:1.5}
.article-school-list{display:grid;gap:9px}
.article-school-link{display:grid;grid-template-columns:64px minmax(0,1fr);gap:10px;align-items:center;padding:7px;background:rgba(255,255,255,.09);color:#fff;transition:background .2s ease,transform .2s ease}
.article-school-link:hover{background:rgba(255,255,255,.16);transform:translateX(2px)}
.article-school-link img{width:64px;height:52px;object-fit:cover;background:#dbe5f0}
.article-school-link span{display:grid;gap:4px;min-width:0}
.article-school-link strong{font-size:.78rem;line-height:1.2}
.article-school-link small{color:#c9d8ec;font-size:.68rem;line-height:1.2}
.article-school-link small span{display:inline;color:#f1a3ab;font-size:.9rem}
.article-school-more{display:inline-flex;align-items:center;gap:7px;margin-top:18px;color:#fff;font-size:.76rem;font-weight:800;border-bottom:1px solid #f1a3ab;padding-bottom:3px}
.article-school-more span{color:#f1a3ab}
.article-toc nav{display:grid;gap:9px}
.article-toc a{color:var(--pck-navy-900);font-size:.82rem;font-weight:600;line-height:1.35;border-left:2px solid transparent;padding-left:10px;margin-left:-2px}
.article-toc a:hover{border-left-color:var(--pck-navy-900)}
.article-info-rubrique{display:inline-flex;padding:6px 11px;border:1px solid var(--pck-border);border-radius:999px;background:#fff;color:var(--pck-navy-900);font-size:.78rem;font-weight:800;margin-bottom:10px}
.article-info-date{margin:0;color:var(--pck-muted);font-size:.8rem;line-height:1.5}
.article-info-date span{color:var(--pck-muted)}
.article-info-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;color:var(--pck-navy-900);font-size:.8rem;font-weight:800;border-bottom:1px solid var(--pck-logo-red);padding-bottom:2px}
.article-sidebar-share{background:#fff;border:1px solid #ece9e3;padding:16px 18px}
.article-sidebar-actions{display:flex;flex-wrap:wrap;gap:8px}
.article-content{max-width:740px;min-width:0;margin-inline:0}
.article-lead{display:grid;grid-template-columns:1fr;gap:28px;margin-bottom:34px}
.article-lead-copy{min-width:0}
.article-content .article-meta-bar{margin-top:0;padding-bottom:18px;border-bottom:1px solid #ece9e3}
.article-content .article-meta{font-size:.78rem}
.article-share-footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:34px;padding-top:22px;border-top:1px solid #ece9e3}
.article-share-label{margin-right:5px;color:var(--pck-muted);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.article-intro{margin-bottom:32px;padding:22px 22px 20px;background:#fbfaf8;border:1px solid #ece9e3;border-top:2px solid var(--pck-logo-red);color:var(--pck-navy-900);font:600 clamp(1.08rem,1.8vw,1.32rem)/1.58 var(--font-body);text-wrap:pretty}
.article-intro p{margin:0 0 1em}
.article-intro p:last-child{margin-bottom:0}
.article-prose{color:#1e293b;font:400 1.04rem/1.88 var(--font-body)}
.article-prose > *:first-child{margin-top:0}
.article-prose h2{margin:2.4em 0 .6em;color:var(--pck-navy-900);font:700 clamp(1.55rem,2.7vw,2.15rem)/1.12 var(--font-display);letter-spacing:-.02em;text-wrap:balance;padding-bottom:.45em;border-bottom:1px solid #ece9e3}
.article-prose h3{margin:2em 0 .55em;color:var(--pck-navy-900);font:700 1.24rem/1.28 var(--font-display)}
.article-prose p{margin:0 0 1.32em}
.article-prose a{color:var(--pck-navy-900);font-weight:700;text-decoration:underline;text-decoration-color:var(--pck-logo-red);text-underline-offset:4px;text-decoration-thickness:1.5px}
.article-prose a:hover{text-decoration-color:var(--pck-navy-900)}
.article-prose strong{color:#0f1f3d}
.article-prose ul,.article-prose ol{margin:0 0 1.4em;padding-left:1.35em}
.article-prose li+li{margin-top:.42em}
.article-prose li::marker{color:var(--pck-logo-red)}
.article-prose hr{margin:2.4em 0;border:0;border-top:1px solid #ece9e3}
.article-prose blockquote{position:relative;margin:2.4em 0;padding:18px 22px 18px 22px;background:#f7f7f5;border-left:3px solid var(--pck-navy-900);color:var(--pck-navy-900);font:600 1.22rem/1.5 var(--font-display);text-wrap:balance}
.article-prose blockquote p{margin:0 0 .7em}
.article-prose blockquote p:last-child{margin-bottom:0}
.article-prose blockquote cite{display:block;margin-top:10px;color:var(--pck-muted);font:600 .8rem var(--font-body);letter-spacing:.06em;text-transform:uppercase}
.article-prose img{display:block;width:100%;height:auto;margin:2.2em 0;border-radius:12px;border:1px solid #ece9e3}
.article-prose figure{margin:2.2em 0}
.article-prose figure img{margin:0 0 10px}
.article-prose figcaption{color:var(--pck-muted);font-size:.76rem;line-height:1.5;text-align:center}
.article-prose table{width:100%;margin:1.8em 0;border-collapse:collapse;font-size:.92rem}
.article-prose th,.article-prose td{padding:10px 12px;border:1px solid #ece9e3;text-align:left}
.article-prose th{background:#f7f7f5;color:var(--pck-navy-900);font-weight:700}
.article-tags{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:32px;padding:18px 0 0;border-top:1px solid #ece9e3}
.article-tags-label{color:var(--pck-muted);font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.article-tags ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.article-tags a{display:inline-flex;padding:6px 12px;border:1px solid #ece9e3;background:#f7f7f5;color:var(--pck-navy-900);font-size:.78rem;font-weight:700;border-radius:999px}
.article-tags a:hover{background:#fff;border-color:var(--pck-navy-900)}
.article-footer{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px 24px;margin-top:56px;padding-top:28px;border-top:1px solid #ece9e3}
.article-footer::before{content:"";position:absolute;top:-1px;left:0;width:56px;height:3px;background:var(--pck-logo-red)}
.article-footer-meta{display:flex;align-items:center;gap:14px;min-width:260px;flex:1 1 280px}
.article-footer-meta::before{content:"RK";display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--pck-navy-900);color:#fff;font:800 .72rem var(--font-display);letter-spacing:.04em}
.article-footer-meta{display:flex;align-items:center;gap:14px;min-width:260px;flex:1 1 280px;color:var(--pck-muted);font-size:.82rem;line-height:1.4}
.article-footer-meta span{display:block}
.article-footer-meta strong{color:var(--pck-navy-900);font-weight:800}
.article-footer-meta a{color:var(--pck-navy-900);font-weight:700;text-decoration:underline;text-decoration-color:rgba(3,42,101,.18);text-underline-offset:3px}
.article-footer-meta a:hover{text-decoration-color:var(--pck-navy-900)}
.article-footer-meta .article-footer-date{margin-top:2px}
.article-footer-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end;flex:1 1 260px}
.article-back-link{display:inline-flex;gap:9px;align-items:center;padding:9px 14px;border:1px solid var(--pck-border);border-radius:999px;background:#fff;color:var(--pck-navy-900);font-size:.82rem;font-weight:800;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.article-back-link:hover{border-color:var(--pck-navy-900);background:#f7f8fb;transform:translateY(-1px)}
.article-back-link span{color:var(--pck-logo-red);font-size:1.05rem;transition:transform .2s ease}
.article-back-link:hover span{transform:translateX(-3px)}
.article-rubrique-link{padding:10px 16px;border:1px solid var(--pck-navy-900);border-radius:999px;background:var(--pck-navy-900);color:#fff;font-size:.78rem;font-weight:800;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.article-rubrique-link:hover{background:#031c42;border-color:#031c42;transform:translateY(-1px)}
/* Related — off-white section to separate from paper */
.article-related{background:var(--pck-off-white);border-top:1px solid #ece9e3;border-bottom:1px solid #ece9e3;padding:56px 0}
.article-related-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:16px;margin-bottom:32px}
.article-related-head h2{margin:6px 0 0;color:var(--pck-navy-900);font:700 clamp(1.5rem,2.6vw,2.2rem)/1.1 var(--font-display);letter-spacing:-.02em}
.article-related-more{color:var(--pck-navy-900);font-size:.84rem;font-weight:800;border-bottom:1px solid var(--pck-logo-red);padding-bottom:2px}
.article-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.article-related-card{background:#fff;border:1px solid #ece9e3;overflow:hidden;display:flex;flex-direction:column;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.article-related-card:hover{border-color:rgba(3,42,101,.18);transform:translateY(-3px);box-shadow:0 14px 36px rgba(3,42,101,.1)}
.article-related-media{position:relative;display:block;aspect-ratio:1.55;overflow:hidden;background:#eef1f4}
.article-related-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.article-related-card:hover .article-related-media img{transform:scale(1.04)}
.article-related-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#eef1f4 0%,#e2e8f0 100%)}
.article-related-date{position:absolute;left:12px;bottom:12px;display:inline-flex;flex-direction:column;align-items:center;min-width:46px;padding:8px 6px;background:var(--pck-navy-900);color:#fff;line-height:1;text-transform:uppercase}
.article-related-date b{font-size:1.05rem;font-weight:800}
.article-related-date{font-size:.64rem;font-weight:700;letter-spacing:.08em}
.article-related-body{padding:18px 18px 16px;flex:1;display:flex;flex-direction:column;gap:10px}
.article-related-meta{margin:0;color:var(--pck-logo-red);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.article-related-meta time{color:var(--pck-muted);font-weight:600;letter-spacing:0;text-transform:none}
.article-related-body h3{margin:0;color:var(--pck-navy-900);font:700 1.06rem/1.32 var(--font-display);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-related-body h3 a:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--pck-logo-red)}
.article-related-excerpt{margin:0;color:var(--pck-muted);font-size:.84rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-related-link{margin-top:auto;color:var(--pck-navy-900);font-size:.82rem;font-weight:800}
.article-related-link span{color:var(--pck-logo-red);transition:transform .2s ease;display:inline-block}
.article-related-card:hover .article-related-link span{transform:translateX(4px)}
/* Next — navy CTA */
.article-next{background:var(--pck-navy-900);color:#fff}
.article-next-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-top:58px;padding-bottom:58px}
.article-next-copy{max-width:640px}
.article-next-kicker{display:inline-flex;margin-bottom:12px;color:#8fb0e0;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.article-next h2{max-width:620px;margin:0;color:#fff;font:700 clamp(1.65rem,2.9vw,2.45rem)/1.08 var(--font-display);letter-spacing:-.02em;text-wrap:balance}
.article-next-copy p{margin:12px 0 0;color:#d2e1f3;font-size:.95rem;line-height:1.55;max-width:58ch}
.article-next-link{display:inline-flex;flex:none;gap:12px;align-items:center;padding:15px 22px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:transparent;color:#fff;font-size:.82rem;font-weight:800;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.article-next-link:hover{background:rgba(255,255,255,.1);border-color:#fff;transform:translateY(-1px)}
.article-next-link span{color:#f1a3ab;font-size:1.15rem;transition:transform .2s ease}
.article-next-link:hover span{transform:translateX(4px)}
@media (max-width:980px){
  .article-page-layout{grid-template-columns:1fr;gap:0}
  .article-layout{padding:36px 0 52px}
  .article-page-layout>.article-sidebar{position:static;order:2;padding:0 0 36px}
  .article-sidebar-sticky{grid-template-columns:1fr 1fr;gap:14px}
}
@media (max-width:800px){
  .article-page{padding-top:104px}
  .article-hero{padding:34px 0 36px}
  .article-breadcrumb{margin-bottom:22px}
  .article-hero h1{font-size:clamp(1.9rem,8.5vw,2.9rem)}
  .article-lead{grid-template-columns:1fr;gap:20px;align-items:start}
  .article-cover-frame{height:260px}
  .article-cover figcaption{flex-direction:column;gap:4px}
  .article-meta-bar{flex-direction:column;align-items:flex-start}
  .article-sidebar-sticky{grid-template-columns:1fr}
  .article-related{padding:40px 0}
  .article-related-grid{grid-template-columns:1fr;gap:16px}
  .article-related-card{flex-direction:row;align-items:stretch}
  .article-related-media{flex:0 0 132px;aspect-ratio:1}
  .article-next-inner{display:grid;justify-items:start;padding-top:44px;padding-bottom:44px}
}
@media (max-width:520px){
  .article-related-card{flex-direction:column}
  .article-related-media{flex:0 0 auto;aspect-ratio:1.55}
}
@media (prefers-reduced-motion: reduce){
  .article-back-link span,.article-next-link span,.article-share-btn{transition:none}
  .article-related-card,.article-related-media img{transition:none}
}

/* Article pages keep the navigation readable over the editorial background. */
body.article-page-body .topbar{
  background:var(--pck-navy-900);
}
body.article-page-body .site-header,
body.article-page-body .site-header.scrolled,
body.article-page-body .site-header.is-scrolled{
  position:fixed;
  top:38px;
  background:var(--pck-navy-900);
  border-bottom-color:rgba(255,255,255,.12);
  box-shadow:0 12px 32px rgba(0,30,84,.18);
}
body.article-page-body .topbar.is-hidden + .site-header{top:0}
body.article-page-body .main-nav{background:var(--pck-navy-900)}

/* Rubrique listing */
.rubrique-page-body{background:#fff;color:var(--pck-text)}
.rubrique-page{padding-top:114px;background:#fff}
.rubrique-hero{padding:52px 0 56px;background:var(--pck-navy-900);color:#fff}
.rubrique-hero__inner{max-width:1120px}
.rubrique-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:42px;color:#b9cbe4;font-size:.78rem;font-weight:600}
.rubrique-breadcrumb a{color:#dce8f7}
.rubrique-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
.rubrique-breadcrumb [aria-current]{color:#fff}
.rubrique-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,430px);gap:64px;align-items:center}
.rubrique-kicker,.rubrique-overline{display:inline-flex;align-items:center;gap:9px;color:#f1a3ab;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.rubrique-kicker::before,.rubrique-overline::before{content:"";width:20px;height:2px;background:currentColor}
.rubrique-hero h1{max-width:16ch;margin:14px 0 0;color:#fff;font:700 clamp(2.5rem,6vw,5rem)/1 var(--font-display);letter-spacing:-.045em;text-wrap:balance}
.rubrique-description{max-width:58ch;margin:22px 0 0;color:#d6e2f1;font-size:1.05rem;line-height:1.7}
.rubrique-hero__grid>img{display:block;width:100%;aspect-ratio:1.45;object-fit:cover;border:1px solid rgba(255,255,255,.2);box-shadow:0 24px 55px rgba(0,0,0,.2)}
.rubrique-listing{padding:64px 0 80px;background:var(--pck-off-white);border-bottom:1px solid var(--color-border)}
.rubrique-listing__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:18px;margin-bottom:30px}
.rubrique-listing__head h2{margin:8px 0 0;color:var(--pck-navy-900);font:700 clamp(1.7rem,3vw,2.5rem)/1.1 var(--font-display);letter-spacing:-.025em}
.rubrique-count{margin:0;color:var(--pck-muted);font-size:.82rem;font-weight:600}
.rubrique-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.rubrique-article-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--color-border);overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .25s var(--ease)}
.rubrique-article-card:hover{transform:translateY(-4px);border-color:rgba(3,42,101,.18);box-shadow:0 16px 34px rgba(3,42,101,.1)}
.rubrique-article-card__media{position:relative;display:block;aspect-ratio:1.6;overflow:hidden;background:#e8eef5}
.rubrique-article-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.rubrique-article-card:hover .rubrique-article-card__media img{transform:scale(1.04)}
.rubrique-article-card__placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#e8eef5,#d4dfec)}
.rubrique-article-card__media>time{position:absolute;left:14px;bottom:14px;padding:8px 10px;background:var(--pck-navy-900);color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rubrique-article-card__body{display:flex;flex:1;flex-direction:column;gap:11px;padding:20px 20px 18px}
.rubrique-article-card__meta{display:flex;flex-wrap:wrap;gap:8px;margin:0;color:var(--pck-logo-red);font-size:.68rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.rubrique-article-card__meta time{color:var(--pck-muted);font-weight:600;letter-spacing:0;text-transform:none}
.rubrique-article-card h3{margin:0;color:var(--pck-navy-900);font:700 1.2rem/1.25 var(--font-display);text-wrap:balance}
.rubrique-article-card h3 a:hover{text-decoration:underline;text-decoration-color:var(--pck-logo-red);text-underline-offset:3px}
.rubrique-article-card__body>p:not(.rubrique-article-card__meta){margin:0;color:var(--pck-muted);font-size:.88rem;line-height:1.6}
.rubrique-article-card__link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding-top:8px;color:var(--pck-navy-900);font-size:.8rem;font-weight:800}
.rubrique-article-card__link span{color:var(--pck-logo-red);transition:transform .2s ease}
.rubrique-article-card:hover .rubrique-article-card__link span{transform:translateX(4px)}
.rubrique-pagination{display:flex;justify-content:center;margin-top:38px;color:var(--pck-navy-900)}
.rubrique-articles>.rubrique-pagination{grid-column:1/-1}
.rubrique-pagination .pagination-items{display:flex;gap:8px;align-items:center}
.rubrique-pagination a,.rubrique-pagination .on{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--color-border);background:#fff;font-size:.82rem;font-weight:800}
.rubrique-pagination a:hover,.rubrique-pagination .on{border-color:var(--pck-navy-900);background:var(--pck-navy-900);color:#fff}
.rubrique-empty{text-align:center;padding:48px 20px;background:#fff;border:1px solid var(--color-border);color:var(--pck-muted)}
.rubrique-empty p{margin:0 0 18px}
.rubrique-button{display:inline-flex;padding:10px 16px;border-radius:999px;background:var(--pck-navy-900);color:#fff;font-size:.82rem;font-weight:800}
.rubrique-button:hover{background:#031c42}
@media (max-width:800px){
  .rubrique-page{padding-top:104px}
  .rubrique-hero{padding:34px 0 42px}
  .rubrique-breadcrumb{margin-bottom:30px}
  .rubrique-hero__grid{grid-template-columns:1fr;gap:28px}
  .rubrique-hero h1{font-size:clamp(2.4rem,12vw,4rem)}
  .rubrique-hero__grid>img{max-width:620px}
  .rubrique-listing{padding:44px 0 56px}
  .rubrique-articles{grid-template-columns:1fr;gap:16px}
}
@media (prefers-reduced-motion:reduce){
  .rubrique-article-card,.rubrique-article-card__media img,.rubrique-article-card__link span{transition:none}
}

/* Rubrique pages keep the navigation readable over the editorial background. */
body.rubrique-page-body .topbar{
  background:var(--pck-navy-900);
}
body.rubrique-page-body .site-header,
body.rubrique-page-body .site-header.scrolled,
body.rubrique-page-body .site-header.is-scrolled{
  position:fixed;
  top:38px;
  background:var(--pck-navy-900);
  border-bottom-color:rgba(255,255,255,.12);
  box-shadow:0 12px 32px rgba(0,30,84,.18);
}
body.rubrique-page-body .topbar.is-hidden + .site-header{top:0}
body.rubrique-page-body .main-nav{background:var(--pck-navy-900)}
