:root {
  --green-aisge: #729932;
  --green-light: #7da63c;
  --green-dark: #4a8d43;
  --green-pale: #d9e6ce;
  --green-olive: #8aab44;
  --red: #b33333;
  --red-tile: #ac3232;
  --red-pale: #e8c8c4;
  --orange: #ffae48;
  --orange-tile: #fdaa42;
  --orange-pale: #fceedb;
  --navy: #44586d;
  --grey-dark: #4f4d48;
  --text: #181714;
  --text-soft: #4f4d48;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- topbar ---------------- */
.topbar { padding: 22px 0 16px; background: #fff; }
.topbar-inner {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { height: 56px; width: auto; }
.topnav { display: flex; align-items: center; gap: 22px; }
.brand-dots { height: 22px; width: auto; display: block; }
.iconbtn {
  background: none; border: 0; padding: 0; cursor: pointer;
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
}
.iconbtn img { width: 22px; height: 22px; }
.navlink {
  font-family: 'KoHo', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--green-aisge);
  position: relative;
  padding: 4px 2px;
  transition: color .25s ease, transform .3s cubic-bezier(.2,.8,.3,1);
}
.navlink::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
.navlink:hover,
.navlink:focus-visible {
  color: var(--green-dark);
  transform: translateY(-2px);
}
.navlink:hover::after,
.navlink:focus-visible::after { transform: scaleX(1); }
.navlink-strong { font-weight: 700; }
.navlink-strong::after { height: 3px; }

.menu-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  transition: background .2s ease;
}
.menu-hamburger:hover { background: var(--green-pale); }
.menu-hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--green-aisge);
  border-radius: 2px;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), opacity .2s ease;
}

/* search reveal */
.search-wrap {
  display: inline-flex;
  align-items: center;
}
.dots-cluster { margin-right: 56px; }
.search-input-wrap {
  width: 0;
  margin-right: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: width .55s cubic-bezier(.6,0,.25,1),
              margin-right .55s cubic-bezier(.6,0,.25,1);
}
.search-input {
  width: 200px;
  border: 0;
  outline: none;
  background: transparent;
  border-bottom: 1.5px solid var(--green-aisge);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  padding: 5px 8px;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .35s ease .15s, transform .45s cubic-bezier(.2,.8,.3,1) .12s;
}
.search-input::placeholder { color: var(--text-soft); opacity: .55; }
.search-wrap:hover .search-input-wrap,
.search-wrap:focus-within .search-input-wrap,
.search-wrap.is-active .search-input-wrap { width: 216px; margin-right: 32px; }
.search-wrap:hover .search-input,
.search-wrap:focus-within .search-input,
.search-wrap.is-active .search-input { opacity: 1; transform: translateX(0); }

/* tile cluster (replaces tuiles-complet.svg, identical look, animatable) */
.dots-cluster {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  height: 35px;
  transition: gap .6s cubic-bezier(.6,0,.25,1);
}
.bar {
  display: inline-block;
  border-radius: 3px;
  transition: width .6s cubic-bezier(.6,0,.25,1),
              height .6s cubic-bezier(.6,0,.25,1);
}
.bar-rouge { background: #ac3232; width: 30px; height: 17px; transition-delay: 0s;   }
.bar-gris  { background: #44586d; width: 9px;  height: 14px; transition-delay: .04s; }
.bar-vert  { background: #4a8d43; width: 26px; height: 19px; transition-delay: .08s; }
.bar-jaune { background: #fdaa42; width: 15px; height: 35px; transition-delay: .12s; }
.bar-bleu  { background: #44586d; width: 24px; height: 17px; transition-delay: .16s; }

.search-wrap:hover .bar,
.search-wrap:focus-within .bar,
.search-wrap.is-active .bar { width: 2px; height: 35px; }
.search-wrap:hover .dots-cluster,
.search-wrap:focus-within .dots-cluster,
.search-wrap.is-active .dots-cluster { gap: 4px; }

/* ---------------- hero ---------------- */
.hero {
  margin: 8px auto 0;
  max-width: 1640px;
  padding: 0 32px;
}
.hero-video {
  width: 100%;
  height: auto;
  aspect-ratio: 1112 / 460;
  object-fit: cover;
  display: block;
  background: #ddd;
  border-radius: 0 0 40px 40px;
}

/* ---------------- quick access ---------------- */
.quick { padding: 56px 0 48px; }
.quick-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}
.h-section {
  font-family: 'KoHo', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 38px;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.5px;
}
.link-green { color: var(--green-aisge); font-weight: 500; font-size: 14px; }
.link-orange { color: var(--orange); font-weight: 600; font-size: 14px; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.tile {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  padding: 8% 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9%;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s ease;
  will-change: transform;
}
.tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.16);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}
.tile:hover, .tile:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px -16px rgba(0,0,0,0.35);
}
.tile:hover::before, .tile:focus-visible::before { opacity: 1; }

.tile-icon {
  width: 38%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .4s cubic-bezier(.3,1.4,.5,1);
}
.tile:hover .tile-icon,
.tile:focus-visible .tile-icon {
  transform: translateY(-4px) scale(1.08);
}
.tile-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.tile-icon .invert { filter: brightness(0) invert(1); }
.tile-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, 8.5cqw, 22px);
  line-height: 1.2;
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
.tile:hover .tile-label,
.tile:focus-visible .tile-label {
  transform: translateY(2px);
}
.tile-green-light { background: var(--green-light); }
.tile-orange     { background: var(--orange); }
.tile-navy       { background: var(--navy); }
.tile-red        { background: var(--red-tile); }
.tile-grey       { background: var(--grey-dark); }
.tile-green-dark { background: var(--green-dark); }

/* ---------------- news ---------------- */
.news {
  padding: 16px 0 0;
}
.news-box {
  background: var(--orange-pale);
  border-radius: 30px;
  padding: 48px 48px 48px;
  position: relative;
}
.news-accent {
  position: absolute;
  left: 28px;
  top: -18px;
  width: 30px;
  height: auto;
}
.news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.news-main img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 14px;
}
.news-side { display: flex; flex-direction: column; gap: 22px; }
.news-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: start;
}
.news-item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 4px;
}
.news-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
  margin: 0 0 6px;
}
.news-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  margin: 0 0 8px;
  line-height: 1.3;
}
.news-main .news-title { font-size: 18px; }
.news-text {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}
.news-cta { display: flex; justify-content: center; margin-top: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 20px;
  border-radius: 6px;
  font-family: 'KoHo', 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #fff;
}
.btn-orange {
  background: var(--orange);
  position: relative;
  box-shadow: 0 6px 16px -8px rgba(255, 174, 72, 0.55);
  transition: transform .3s cubic-bezier(.2,.8,.3,1),
              box-shadow .3s ease,
              background-color .25s ease;
}
.btn-orange:hover {
  transform: translateY(-3px);
  background-color: #ffba63;
  box-shadow: 0 16px 28px -10px rgba(255, 174, 72, 0.65),
              0 4px 10px -4px rgba(0, 0, 0, 0.15);
}
.btn-orange:active {
  transform: translateY(-1px);
  transition-duration: .1s;
}
.btn-icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  isolation: isolate;
}
.btn-icon img {
  width: 22px; height: 22px;
  animation: btn-icon-wiggle 5s ease-in-out infinite;
  transform-origin: center;
}
.btn-orange:hover .btn-icon img {
  animation-duration: 2s;
}
.btn-orange .btn-icon::before,
.btn-orange .btn-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.btn-orange:hover .btn-icon::before,
.btn-orange:hover .btn-icon::after {
  animation: btn-pulse 1.6s cubic-bezier(.3,.1,.3,1) infinite;
}
.btn-orange:hover .btn-icon::after { animation-delay: .8s; }

@keyframes btn-pulse {
  0%   { transform: scale(.55); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
@keyframes btn-icon-wiggle {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-14deg); }
  90% { transform: rotate(12deg); }
  92% { transform: rotate(-9deg); }
  94% { transform: rotate(6deg); }
  96% { transform: rotate(-3deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-orange .btn-icon::before,
  .btn-orange .btn-icon::after,
  .btn-orange .btn-icon img { animation: none; }
}

/* ---------------- duo (institution + events) ---------------- */
.duo { padding: 56px 0; }
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.card {
  border-radius: 12px;
  position: relative;
  padding: 0;
  min-height: 360px;
}
.card-green { background: var(--green-pale); }
.card-pink  { background: var(--red-pale); }
.card-accent {
  position: absolute;
  left: 24px;
  top: -10px;
  width: 32px;
  height: auto;
}
.card-accent-right { left: auto; right: 24px; }
.card-inner { padding: 38px 36px 36px; }
.kicker {
  font-size: 11px;
  letter-spacing: 0.6px;
  font-weight: 600;
  color: var(--text-soft);
  margin: 0 0 8px;
}
.kicker-spaced { margin-top: 28px; }
.card-title {
  font-family: 'KoHo', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.3;
}
.card-title-lg {
  font-size: 26px;
  margin-bottom: 22px;
}
.card-text {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0 0 12px;
  line-height: 1.55;
}

/* events list */
.events { display: flex; flex-direction: column; gap: 0; }
.event {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.event:last-child { border-bottom: 0; }
.date-chip {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 54px;
  flex: 0 0 auto;
}
.date-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.date-day {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 1;
  font-family: 'KoHo', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  color: var(--text);
}
.date-month {
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  z-index: 1;
  font-family: 'KoHo', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
}
.event-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

/* ---------------- footer ---------------- */
.footer { margin-top: 8px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  color: #fff;
}
.foot-col {
  background: var(--green-olive);
  border-radius: 12px;
  padding: 24px 24px 28px;
}
.foot-title {
  font-family: 'KoHo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
  color: #fff;
}
.foot-text { font-size: 12px; color: rgba(255,255,255,0.85); margin: 0 0 12px; line-height: 1.55; }
.foot-list { display: flex; flex-direction: column; gap: 4px; }
.foot-list li { font-size: 12px; color: rgba(255,255,255,0.85); }

.footer-bottom { padding: 24px 0 32px; background: #fff; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-soft);
}
.footer-meta { display: flex; align-items: center; gap: 14px; }
.footer-meta .brand-dots { height: 18px; }

/* ---------------- menu overlay ---------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--green-olive);
  z-index: 100;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 100px) 40px);
  transition: clip-path .55s cubic-bezier(.7,0,.2,1), visibility 0s linear .55s;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.menu-overlay.open {
  visibility: visible;
  clip-path: circle(170% at calc(100% - 100px) 40px);
  transition: clip-path .65s cubic-bezier(.6,0,.2,1), visibility 0s linear 0s;
}

/* ambient floating blobs in background */
.menu-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0;
  transition: opacity .8s ease;
}
.menu-overlay.open .blob { opacity: 0.35; }
.blob-1 {
  width: 420px; height: 420px;
  background: var(--green-light);
  top: -140px; left: -120px;
  animation: blob-float-a 14s ease-in-out infinite;
}
.blob-2 {
  width: 360px; height: 360px;
  background: var(--orange);
  bottom: -120px; right: -90px;
  animation: blob-float-b 18s ease-in-out infinite;
}
.blob-3 {
  width: 300px; height: 300px;
  background: var(--green-dark);
  top: 50%; left: 60%;
  animation: blob-float-c 22s ease-in-out infinite;
}
@keyframes blob-float-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(80px, 60px) scale(1.15); }
}
@keyframes blob-float-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-90px, -40px) scale(1.1); }
}
@keyframes blob-float-c {
  0%,100% { transform: translate(-50%, -50%) scale(1); }
  50%     { transform: translate(-60%, -55%) scale(1.2); }
}

.menu-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  z-index: 2;
}
.menu-brand {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .5s .15s ease, transform .5s .15s cubic-bezier(.2,.8,.3,1);
}
.menu-overlay.open .menu-brand {
  opacity: 1;
  transform: translateY(0);
}
.menu-brand img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
.menu-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .5s .2s ease, transform .5s .2s cubic-bezier(.2,.8,.3,1);
}
.menu-overlay.open .menu-actions {
  opacity: 1;
  transform: translateY(0);
}
.menu-iconbtn {
  width: 38px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.menu-iconbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.menu-iconbtn img {
  width: 18px;
  height: 18px;
  transition: transform .25s ease;
}
.menu-iconbtn:hover img { transform: scale(1.1); }

.menu-close {
  background: transparent;
  border: 0;
  color: #fff;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 6px;
  transition: transform .35s cubic-bezier(.5,1.6,.4,1);
}
.menu-close:hover { transform: rotate(90deg); }
.menu-close svg { width: 28px; height: 28px; }

.menu-list {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: 128px;
  padding: 32px 56px 64px;
  color: #fff;
  text-align: left;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}
.menu-col {
  display: flex;
  flex-direction: column;
  gap: 44px;
  flex: 1;
  min-width: 0;
  max-width: 480px;
}

.menu-item, .menu-group {
  opacity: 0;
  transform: translateY(24px);
}
.menu-overlay.open .menu-item,
.menu-overlay.open .menu-group {
  animation: menu-in .55s cubic-bezier(.2,.8,.25,1) forwards;
  animation-delay: calc(0.2s + var(--i, 1) * 0.05s);
}
@keyframes menu-in {
  to { opacity: 1; transform: translateY(0); }
}

.menu-item {
  font-family: 'KoHo', 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 0 0 8px;
  letter-spacing: -0.6px;
  align-self: flex-start;
}
.menu-text {
  position: relative;
  display: inline-block;
  transition: transform .35s cubic-bezier(.2,.8,.3,1);
}
.menu-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: width .35s cubic-bezier(.2,.8,.3,1);
}
.menu-item:hover::after,
.menu-item:focus-visible::after { width: 100%; }
.menu-item:hover .menu-text { transform: translateX(3px); }

.menu-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.menu-group .menu-item { padding-bottom: 6px; }

.menu-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 20px;
  font-family: 'Inter', sans-serif;
}
.menu-sub a {
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
  position: relative;
  padding: 2px 0;
  opacity: 0;
  transform: translateY(6px);
  transition: color .2s ease, transform .25s cubic-bezier(.2,.8,.3,1);
}
.menu-overlay.open .menu-sub a:hover { transform: translateY(0) translateX(2px); }
.menu-overlay.open .menu-sub a {
  animation: menu-sub-in .45s cubic-bezier(.2,.8,.25,1) forwards;
  animation-delay: calc(0.35s + var(--i, 1) * 0.05s + var(--j, 1) * 0.02s);
}
@keyframes menu-sub-in {
  to { opacity: 1; transform: translateY(0); }
}
.menu-sub a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.menu-sub a:hover { color: #fff; }
.menu-sub a:hover::after { transform: scaleX(1); }

@media (max-width: 900px) {
  .menu-list {
    flex-direction: column;
    gap: 24px;
    padding: 24px 32px 48px;
  }
  .menu-col { max-width: 100%; }
}
@media (max-width: 600px) {
  .menu-top { padding: 18px 20px; }
  .menu-brand img { height: 42px; }
  .menu-list { row-gap: 20px; padding: 16px 20px 40px; }
  .menu-item { font-size: 20px; }
  .menu-sub { gap: 4px 14px; }
  .menu-sub a { font-size: 13px; }
}

/* ---------------- ecole page ---------------- */

/* breadcrumb */
.breadcrumb {
  padding: 14px 0;
  font-size: 14px;
  line-height: 1;
  color: var(--text-soft);
  background: #FAFBF3;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb li { display: inline-flex; align-items: center; line-height: 1; }
.breadcrumb li + li::before {
  content: '→';
  margin-right: 6px;
  color: var(--green-aisge);
  opacity: .7;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--green-aisge); }
.breadcrumb [aria-current="page"] { color: var(--green-aisge); font-weight: 500; }

/* ecole hero */
.ecole-hero { padding: 0 0 12px; }
.ecole-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  min-height: 460px;
  background: var(--green-aisge);
}
.ecole-hero-panel {
  container-type: inline-size;
  background: var(--green-aisge);
  color: #fff;
  padding: clamp(32px, 4cqw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}
.ecole-hero-top { display: flex; flex-direction: column; gap: 14px; }
.ecole-hero-kicker {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: #fff;
  opacity: .82;
  margin: 0;
}
.ecole-hero-title {
  font-family: 'KoHo', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -0.6px;
  color: #fff;
  margin: 0;
}
.ecole-hero-abbr { font-weight: 500; opacity: .82; }
.ecole-hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.5cqw, 17px);
  line-height: 1.45;
  color: #fff;
  opacity: .92;
  margin: 0;
  max-width: 32em;
}
.ecole-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
}
.ecole-hero-stats .stat { display: flex; flex-direction: column; gap: 6px; }
.ecole-hero-stats dt {
  font-family: 'KoHo', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.4cqw, 40px);
  line-height: 1;
  color: #fff;
}
.ecole-hero-stats dd {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.35;
  color: #fff;
  opacity: .85;
}
.ecole-hero-image {
  position: relative;
  background: #ddd;
  min-height: 100%;
}
.ecole-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* actions chips row */
.ecole-actions { padding: 24px 0 8px; }
.ecole-actions-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.ecole-actions-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--green-aisge);
  color: var(--green-aisge);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  transition: background .25s ease, color .25s ease, transform .25s cubic-bezier(.2,.8,.3,1);
}
.chip:hover, .chip:focus-visible {
  background: var(--green-aisge);
  color: #fff;
  transform: translateY(-1px);
}

/* main layout: content + sidebar */
.ecole-main { padding: 36px 0 56px; }
.ecole-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  align-items: start;
}

.ecole-content { display: flex; flex-direction: column; gap: 48px; }
.ecole-block { display: flex; flex-direction: column; gap: 12px; }
.ecole-block .kicker {
  color: var(--green-aisge);
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 4px;
}
.ecole-block .h-section { font-size: clamp(22px, 2.4vw, 28px); }
.ecole-block > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}

/* info box (cycle accueilli) */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #f4f1ea;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 10px;
}
.info-box-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-box-icon img { width: 100%; height: 100%; object-fit: contain; }
.info-box-text { flex: 1; }
.info-box-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin: 0 0 4px;
  line-height: 1.35;
}
.info-box-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

/* person card */
.person-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid #ece8df;
  border-radius: 14px;
  background: #fff;
  margin-top: 8px;
  max-width: 380px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.person-card:hover { border-color: var(--green-pale); box-shadow: 0 8px 18px -12px rgba(0,0,0,.18); }
.person-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-pale);
}
.person-body { display: flex; flex-direction: column; gap: 2px; }
.person-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.person-role {
  font-size: 12.5px;
  color: var(--text-soft);
  margin: 0 0 4px;
  line-height: 1.4;
}

/* photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
  aspect-ratio: 16 / 9;
}
.photo {
  background: #ebe7dc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}
.photo-main { grid-row: span 2; }

/* rules list */
.rules-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
  list-style: none;
  padding: 0;
}
.rules-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--green-aisge);
}
.rules-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-aisge);
  font-weight: 600;
}

/* sidebar */
.ecole-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 24px;
}

.sidebar-map {
  border-radius: 16px;
  overflow: hidden;
  background: #ddd;
  border: 1px solid #e5e1d6;
}
.sidebar-map iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.sidebar-card {
  position: relative;
  border-radius: 18px;
  padding: 22px 24px 24px;
}
.sidebar-accent {
  position: absolute;
  left: 22px;
  top: -10px;
  width: 26px;
  height: auto;
}
.sidebar-accent-right { left: auto; right: 22px; }
.sidebar-title {
  font-family: 'KoHo', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

/* contact sidebar */
.sidebar-contact { background: var(--green-olive); color: #fff; }
.sidebar-contact .sidebar-title { color: #fff; opacity: .88; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.contact-row { display: flex; flex-direction: column; gap: 2px; }
.contact-row dt {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  opacity: .75;
}
.contact-row dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #fff;
}
.contact-row a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.4);
  transition: border-color .2s ease;
}
.contact-row a:hover { border-color: #fff; }
.contact-muted { opacity: .65; }

/* horaires sidebar */
.sidebar-horaires { background: var(--orange-pale); }
.schedule {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
  font-size: 12px;
}
.schedule th, .schedule td {
  text-align: left;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: var(--text);
  font-weight: 400;
  vertical-align: top;
}
.schedule th {
  font-weight: 600;
  padding-right: 10px;
  width: 70px;
}
.schedule tr:last-child th, .schedule tr:last-child td { border-bottom: 0; }
.schedule-note { margin-top: 10px; }
.schedule-note-title {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 2px;
  letter-spacing: .2px;
}
.schedule-note p:not(.schedule-note-title) {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* docs sidebar */
.sidebar-docs { background: var(--green-pale); }
.docs-list { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.docs-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.5);
  transition: background .2s ease, transform .2s cubic-bezier(.2,.8,.3,1);
}
.docs-list a:hover {
  background: #fff;
  transform: translateY(-1px);
}
.doc-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 26px;
  background: var(--red);
  color: #fff;
  font-family: 'KoHo', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .5px;
  border-radius: 4px;
}
.doc-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.doc-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.3;
}
.doc-meta {
  font-size: 10.5px;
  color: var(--text-soft);
  line-height: 1.3;
}

/* services bottom box */
.ecole-services { padding: 16px 0 56px; }
.services-box {
  background: var(--red-pale);
  border-radius: 30px;
  padding: 56px 56px 60px;
}
.services-head { margin-bottom: 38px; max-width: 720px; }
.services-head .h-section { margin-bottom: 12px; }
.services-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.service-icon img { width: 100%; height: 100%; object-fit: contain; }
.service-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin: 0;
}
.service-text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 4px;
}

@media (max-width: 980px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid, .duo-grid, .footer-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 140px 1fr; }
  .h-section { font-size: 30px; }

  .ecole-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .ecole-hero-image { aspect-ratio: 16 / 9; }
  .ecole-layout { grid-template-columns: 1fr; gap: 36px; }
  .ecole-sidebar { position: static; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-box { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topnav { gap: 12px; }
  .topnav .navlink, .topnav .search-wrap { display: none; }
  .menu-hamburger { display: inline-flex; }
  .brand img { height: 44px; }
  .brand-dots { height: 18px; }

  .hero { padding: 0 16px; }
  .hero-video { border-radius: 0 0 20px 20px; aspect-ratio: 4 / 5; }

  .quick { padding: 36px 0 28px; }
  .quick-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 18px; }
  .h-section { font-size: 26px; }

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

  .news { padding: 8px 0 0; }
  .news-box { padding: 36px 20px; border-radius: 20px; }
  .news-accent { left: 18px; top: -14px; width: 22px; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .news-item { grid-template-columns: 1fr; gap: 10px; }
  .news-item img { height: 180px; }
  .btn { font-size: 12px; padding: 9px 12px 9px 14px; }

  .duo { padding: 32px 0; }
  .card-inner { padding: 28px 22px; }
  .card-title-lg { font-size: 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }

  .ecole-hero-grid { border-radius: 0 0 20px 20px; }
  .ecole-hero-panel { gap: 22px; }
  .ecole-hero-stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ecole-actions-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ecole-main { padding: 24px 0 40px; }
  .ecole-content { gap: 36px; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; aspect-ratio: auto; }
  .photo { aspect-ratio: 4 / 3; }
  .photo-main { grid-row: auto; }
  .services-box { padding: 32px 22px; border-radius: 20px; }
  .services-head { margin-bottom: 24px; }
}
