/* =============================================================
   CIT — Conakry Institute of Technology
   Design System & Global Styles
   Charte graphique : Bleu nuit #0F2A4A · Bleu institutionnel #1E4B8C
   Bleu techno #00B4DB · Gris clair #F2F4F7 · Blanc #FFFFFF
   Titres : Poppins · Corps : Inter
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand palette */
  --navy:        #0F2A4A;
  --navy-700:    #15356040;
  --blue:        #1E4B8C;
  --cyan:        #00B4DB;
  --grey:        #F2F4F7;
  --white:       #FFFFFF;

  /* Derived / semantic */
  --ink:         #0B1F37;
  --muted:       #5A6B82;
  --muted-soft:  #8693a5;
  --line:        #E3E8F0;
  --bg:          #FFFFFF;
  --bg-alt:      #F6F8FC;
  --navy-grad:   linear-gradient(135deg, #0F2A4A 0%, #163a66 55%, #1E4B8C 100%);
  --cyan-grad:   linear-gradient(120deg, #00B4DB 0%, #1E4B8C 100%);
  --glow:        radial-gradient(circle at 30% 20%, rgba(0,180,219,.25), transparent 60%);

  /* Typography */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  /* Radius & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(15,42,74,.06);
  --shadow-md: 0 14px 40px rgba(15,42,74,.10);
  --shadow-lg: 0 30px 70px rgba(15,42,74,.16);
  --shadow-cyan: 0 18px 50px rgba(0,180,219,.28);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- 2. Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--cyan); color: #fff; }

h1,h2,h3,h4,h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--navy); }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; }
.section--navy .eyebrow { color: var(--cyan); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: .8rem 0 1rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.section--navy .section-head p { color: #c7d4e6; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.text-cyan { color: var(--cyan); }
.text-gradient {
  background: var(--cyan-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --pad-y: .95rem; --pad-x: 1.7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  border-radius: 100px; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--cyan-grad); color: #fff; box-shadow: var(--shadow-cyan); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px rgba(0,180,219,.38); }

.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { transform: translateY(-3px); background: var(--blue); box-shadow: var(--shadow-md); }

.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

.btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.btn--sm { --pad-y: .65rem; --pad-x: 1.2rem; font-size: .9rem; }
.btn--lg { --pad-y: 1.1rem; --pad-x: 2.1rem; font-size: 1.05rem; }

/* ---------- 5. Brand wordmark ---------- */
.wordmark {
  display: inline-flex; align-items: center; font-family: var(--font-head);
  font-weight: 700; letter-spacing: .02em; line-height: 1;
}
.wordmark .bracket { color: var(--cyan); font-weight: 600; }
.wordmark .cit { color: var(--navy); padding: 0 .12em; }
.navbar--scrolled .wordmark .cit, .footer .wordmark .cit { }

/* ---------- 6. Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding-block: 1.1rem;
}
.nav__inner { display: flex; align-items: center; gap: 2rem; }
.nav__brand { display: flex; align-items: center; gap: .7rem; font-size: 1.35rem; }
.nav__brand .sub { display: none; font-family: var(--font-head); font-weight: 500; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.nav__menu { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav__link {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
  position: relative; padding: .3rem 0; transition: color .3s ease;
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--cyan); border-radius: 2px; transition: width .3s var(--ease); }
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: .5rem; }

/* transparent over hero, solid on scroll */
.nav { color: #fff; }
.nav:not(.nav--scrolled) .nav__link { color: rgba(255,255,255,.86); }
.nav:not(.nav--scrolled) .nav__link:hover { color: #fff; }
.nav:not(.nav--scrolled) .wordmark .cit { color: #fff; }
.nav:not(.nav--scrolled) .nav__brand .sub { color: rgba(255,255,255,.6); }
.nav--scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(15,42,74,.07), 0 10px 30px rgba(15,42,74,.06);
  padding-block: .7rem;
}
.nav__toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s ease; margin-inline: auto; }
.nav--open .nav__toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2){ opacity: 0; }
.nav--open .nav__toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav__toggle { display: flex; margin-left: auto; color: #fff; }
  .nav--scrolled .nav__toggle { color: var(--navy); }
  .nav__menu {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: var(--navy); padding: 2rem var(--gutter);
    transform: translateX(100%); transition: transform .5s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav--open .nav__menu { transform: translateX(0); }
  .nav__menu .nav__link { color: #fff !important; font-size: 1.2rem; }
  .nav__cta { margin: 1rem 0 0; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: var(--navy-grad); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--glow); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%); }
.hero__inner { position: relative; z-index: 2; padding-top: 7rem; max-width: 940px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem;
  border: 1px solid rgba(255,255,255,.18); border-radius: 100px;
  background: rgba(255,255,255,.05); backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: #d7e3f3; margin-bottom: 1.8rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0,180,219,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(0,180,219,0); } }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05; }
.hero h1 .text-gradient { background: linear-gradient(120deg,#00B4DB,#7fdcf0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { margin: 1.6rem 0 2.4rem; font-size: clamp(1.05rem, 2vw, 1.3rem); color: #c2d2e8; max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll { position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero__scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 7px; background: var(--cyan); border-radius: 2px; animation: scroll-dot 1.8s var(--ease) infinite; }
@keyframes scroll-dot { 0%{ opacity: 0; transform: translate(-50%,0);} 30%{opacity:1;} 100%{ opacity: 0; transform: translate(-50%,12px);} }

/* Hero stats strip */
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,5vw,3.5rem); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem,3vw,2.4rem); color: #fff; line-height: 1; }
.hero__stat .num .text-gradient { -webkit-text-fill-color: transparent; }
.hero__stat .lbl { font-size: .82rem; color: #9fb3cd; margin-top: .35rem; }

/* ---------- 8. Logos / partners marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--muted-soft); opacity: .8; white-space: nowrap; display: flex; align-items: center; gap: .5rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- 9. Cards / programs ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .grid--3,.grid--4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .grid--2,.grid--3,.grid--4 { grid-template-columns: 1fr;} }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--cyan-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,180,219,.12), rgba(30,75,140,.12)); color: var(--blue);
  margin-bottom: 1.2rem; transition: transform .45s var(--ease);
}
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .96rem; }

/* Program card variant */
.program {
  display: flex; flex-direction: column; min-height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.program:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.program__media { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--navy); }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program:hover .program__media img { transform: scale(1.07); }
.program__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,42,74,.55), transparent 55%); }
.program__tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; padding: .4rem .8rem; border-radius: 100px; background: rgba(255,255,255,.92); color: var(--blue); font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .04em; }
.program__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.program__body h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.program__body p { color: var(--muted); font-size: .95rem; margin-bottom: 1.1rem; }
.program__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.3rem; }
.chip { padding: .32rem .7rem; border-radius: 8px; background: var(--grey); color: var(--blue); font-size: .76rem; font-weight: 500; }
.program__link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue); }
.program__link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.program:hover .program__link svg { transform: translateX(4px); }

/* ---------- 10. Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media (max-width:760px){ .stats { grid-template-columns: repeat(2,1fr);} }
.stat { text-align: center; padding: 1.5rem 1rem; }
.stat .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem,4vw,3.2rem); line-height: 1; background: var(--cyan-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { margin-top: .6rem; color: var(--muted); font-size: .92rem; font-weight: 500; }
.section--navy .stat .lbl { color: #b8c8de; }

/* ---------- 11. Pedagogy / steps ---------- */
.feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.feature__num { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--navy); color: #fff; }
.feature h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .94rem; }
.section--navy .feature p { color: #b8c8de; }
.section--navy .feature__num { background: var(--cyan); color: var(--navy); }

/* Admission timeline */
.timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 860px){ .timeline { grid-template-columns: 1fr; gap: 0; } }
.tl-step { position: relative; padding-top: 2.6rem; }
.tl-step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: #fff; border: 2px solid var(--cyan); color: var(--blue); z-index: 2; }
.tl-step::after { content: ""; position: absolute; top: 21px; left: 44px; right: -1rem; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--line)); }
.tl-step:last-child::after { display: none; }
@media (max-width:860px){ .tl-step { padding: 0 0 2rem 3.6rem; } .tl-step::after { top: 44px; left: 21px; right: auto; bottom: 0; width: 2px; height: auto; } .tl-step:last-child::after{ display:none; } }
.tl-step h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.tl-step p { color: var(--muted); font-size: .9rem; }

/* ---------- 12. Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote__mark { font-family: var(--font-head); font-size: 3rem; line-height: .6; color: var(--cyan); }
.quote p { color: var(--ink); font-size: 1.02rem; }
.quote__who { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--grey); }
.quote__who b { font-family: var(--font-head); font-size: .95rem; color: var(--navy); display: block; }
.quote__who span { font-size: .82rem; color: var(--muted); }

/* ---------- 13. CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #fff; padding: clamp(2.5rem, 6vw, 5rem); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--glow); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); }
.cta-band p { color: #c2d2e8; max-width: 56ch; margin: 1rem auto 2rem; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--navy); color: #c2d2e8; padding-top: clamp(3.5rem,7vw,5.5rem); }
.footer a { color: #c2d2e8; transition: color .25s ease; }
.footer a:hover { color: var(--cyan); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 860px){ .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px){ .footer__top { grid-template-columns: 1fr; } }
.footer__brand .wordmark { font-size: 1.5rem; margin-bottom: 1rem; }
.footer__brand .wordmark .cit { color: #fff; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { display: flex; flex-direction: column; gap: .7rem; font-size: .94rem; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.footer__social a:hover { background: var(--cyan); color: var(--navy); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1.6rem 0; font-size: .85rem; color: #8ea3c2; }

/* ---------- 15. Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
  .marquee__track, .hero__scroll .mouse::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 16. Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
@media (max-width: 900px){ .split { grid-template-columns: 1fr; } }
.split__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.split__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split__media .badge-float { position: absolute; bottom: 1.2rem; left: 1.2rem; right: 1.2rem; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-radius: var(--r-md); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; box-shadow: var(--shadow-md); }
.split__media .badge-float .num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--blue); }
.split__media .badge-float span { font-size: .82rem; color: var(--muted); }
.value-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.value-list li { display: flex; gap: .9rem; align-items: flex-start; }
.value-list .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--grey); color: var(--blue); display: grid; place-items: center; }
.value-list .ic svg { width: 20px; height: 20px; }
.value-list b { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1rem; }
.value-list span { color: var(--muted); font-size: .9rem; }

/* utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.center { text-align: center; }

/* =============================================================
   17. Inner page hero (sub-hero)
   ============================================================= */
.subhero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(8rem,14vw,11rem) 0 clamp(3.5rem,7vw,5.5rem); }
.subhero .hero__grid { opacity: .6; }
.subhero::before { content: ""; position: absolute; inset: 0; background: var(--navy-grad); z-index: 0; }
.subhero::after { content: ""; position: absolute; inset: 0; background: var(--glow); z-index: 0; }
.subhero__inner { position: relative; z-index: 2; max-width: 820px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: #9fb3cd; margin-bottom: 1.4rem; }
.breadcrumb a { color: #9fb3cd; transition: color .25s ease; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { opacity: .5; }
.subhero h1 { color: #fff; font-size: clamp(2.1rem,5vw,3.4rem); line-height: 1.06; }
.subhero__tag { display: inline-block; padding: .4rem .9rem; border-radius: 100px; background: rgba(0,180,219,.16); border: 1px solid rgba(0,180,219,.35); color: #7fdcf0; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .06em; margin-bottom: 1.4rem; }
.subhero p { color: #c2d2e8; font-size: 1.12rem; margin-top: 1.2rem; max-width: 62ch; }
.subhero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Key facts strip */
.facts { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,4vw,3rem); margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.12); }
.fact .k { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: #fff; }
.fact .v { font-size: .82rem; color: #9fb3cd; margin-top: .2rem; }

/* =============================================================
   18. Module list (numbered)
   ============================================================= */
.modules { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; counter-reset: mod; }
@media (max-width: 720px){ .modules { grid-template-columns: 1fr; } }
.module {
  position: relative; display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.module:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.module__num { flex: none; counter-increment: mod; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: linear-gradient(135deg, rgba(0,180,219,.14), rgba(30,75,140,.14)); color: var(--blue); }
.module__num::before { content: counter(mod, decimal-leading-zero); }
.module h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.module p { color: var(--muted); font-size: .92rem; }

/* =============================================================
   19. Careers / outcomes
   ============================================================= */
.careers { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
@media (max-width: 820px){ .careers { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .careers { grid-template-columns: 1fr; } }
.career { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; display: flex; align-items: center; gap: .8rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .98rem; transition: border-color .35s ease, transform .35s var(--ease); }
.career:hover { border-color: var(--cyan); transform: translateY(-3px); }
.career .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan-grad); flex: none; }

/* Skills checklist */
.checklist { display: grid; grid-template-columns: repeat(2,1fr); gap: .9rem 1.6rem; }
@media (max-width: 620px){ .checklist { grid-template-columns: 1fr; } }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-size: .98rem; }
.checklist .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,180,219,.14); color: var(--blue); display: grid; place-items: center; margin-top: 1px; }
.checklist .ck svg { width: 14px; height: 14px; }

/* Other programs nav */
.prog-nav { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (max-width: 620px){ .prog-nav { grid-template-columns: 1fr; } }
.prog-nav a { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .35s ease, transform .35s var(--ease), box-shadow .35s var(--ease); }
.prog-nav a:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prog-nav .lbl { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.prog-nav b { font-family: var(--font-head); color: var(--navy); display: block; font-size: 1.02rem; }
.prog-nav .arr { margin-left: auto; color: var(--blue); }

/* =============================================================
   20. Formulaire d'admission
   ============================================================= */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.6rem,4vw,2.8rem); box-shadow: var(--shadow-md); }
.form { display: grid; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px){ .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
.field label .req { color: #e5484d; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .85rem 1rem; width: 100%;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,180,219,.14); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #e5484d; }
.field .hint { font-size: .8rem; color: var(--muted); }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: .4rem; }
.form__note { font-size: .85rem; color: var(--muted); max-width: 46ch; }
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 14px 36px rgba(37,211,102,.28); }
.btn--wa:hover { background: #1ebe5a; transform: translateY(-3px); box-shadow: 0 20px 46px rgba(37,211,102,.4); }
.btn--wa svg { width: 20px; height: 20px; }
.form__feedback { display: none; padding: 1rem 1.2rem; border-radius: 12px; font-size: .95rem; }
.form__feedback.show { display: block; }
.form__feedback.ok { background: rgba(37,211,102,.12); color: #0f7a37; border: 1px solid rgba(37,211,102,.3); }
.form__feedback.err { background: rgba(229,72,77,.1); color: #b42318; border: 1px solid rgba(229,72,77,.3); }

/* Contact aside (admission) */
.contact-aside { display: grid; gap: 1.2rem; align-content: start; }
.contact-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 1.6rem; }
.contact-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; }
.contact-card ul { display: grid; gap: .9rem; }
.contact-card li { display: flex; gap: .8rem; align-items: flex-start; font-size: .94rem; color: #c2d2e8; }
.contact-card li svg { width: 20px; height: 20px; flex: none; color: var(--cyan); margin-top: 2px; }
.contact-card a { color: #c2d2e8; } .contact-card a:hover { color: var(--cyan); }
.mini-steps { display: grid; gap: .8rem; counter-reset: ms; }
.mini-step { display: flex; gap: .9rem; align-items: flex-start; }
.mini-step .n { counter-increment: ms; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,180,219,.14); color: var(--blue); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.mini-step .n::before { content: counter(ms); }
.mini-step b { font-family: var(--font-head); color: var(--navy); font-size: .95rem; display: block; }
.mini-step span { color: var(--muted); font-size: .86rem; }

/* =============================================================
   21. Prose / pages de contenu (À propos, Fondateur)
   ============================================================= */
.prose p { color: var(--muted); margin-bottom: 1rem; font-size: 1.04rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); }

/* Mission/vision cards */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px){ .mv { grid-template-columns: 1fr; } }
.mv__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; position: relative; overflow: hidden; }
.mv__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cyan-grad); }
.mv__card .ic { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(0,180,219,.12), rgba(30,75,140,.12)); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.mv__card .ic svg { width: 26px; height: 26px; }
.mv__card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.mv__card p { color: var(--muted); }

/* Founder portrait */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
@media (max-width: 880px){ .founder { grid-template-columns: 1fr; } }
.founder__portrait { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.founder__portrait img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.founder__portrait .tagchip { position: absolute; top: 1.1rem; left: 1.1rem; background: rgba(15,42,74,.85); backdrop-filter: blur(8px); color: #fff; padding: .5rem 1rem; border-radius: 100px; font-family: var(--font-head); font-weight: 600; font-size: .8rem; }
.achievements { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2rem; }
@media (max-width: 620px){ .achievements { grid-template-columns: 1fr; } }
.achievement { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem; }
.achievement .ic { color: var(--blue); margin-bottom: .6rem; } .achievement .ic svg { width: 24px; height: 24px; }
.achievement b { font-family: var(--font-head); color: var(--navy); display: block; font-size: .98rem; margin-bottom: .2rem; }
.achievement span { color: var(--muted); font-size: .86rem; }

/* =============================================================
   22. Blog
   ============================================================= */
.blog-card__meta { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .78rem; color: var(--muted); margin-bottom: .5rem; align-items: center; }
.blog-card__meta .cat { color: var(--blue); font-weight: 600; }
.blog-card__meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-soft); }

/* Featured post */
.blog-featured { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .45s var(--ease), transform .45s var(--ease); }
.blog-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
@media (max-width: 820px){ .blog-featured { grid-template-columns: 1fr; } }
.blog-featured__media { position: relative; overflow: hidden; min-height: 280px; background: var(--navy); }
.blog-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__media .program__tag { top: 1.1rem; left: 1.1rem; }
.blog-featured__body { padding: clamp(1.6rem,3vw,2.6rem); display: flex; flex-direction: column; justify-content: center; }
.blog-featured__body h2 { font-size: clamp(1.5rem,3vw,2.1rem); margin: .4rem 0 .8rem; }
.blog-featured__body p { color: var(--muted); margin-bottom: 1.4rem; }

/* Category filter chips (static) */
.blog-cats { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.blog-cats span { padding: .45rem 1rem; border-radius: 100px; border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--muted); }
.blog-cats span.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Article page */
.article-wrap { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; color: #9fb3cd; font-size: .9rem; margin-top: 1.3rem; }
.article__meta .cat { color: var(--cyan); font-weight: 600; }
.article__meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.4); }
.post__cover { border-radius: var(--r-xl); overflow: hidden; margin: 0 0 2rem; box-shadow: var(--shadow-md); aspect-ratio: 16/7.5; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.post .prose h2 { font-size: 1.55rem; margin: 2.2rem 0 .8rem; }
.post .prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.post .prose ul { margin: 0 0 1.2rem 1.3rem; list-style: disc; color: var(--muted); display: grid; gap: .45rem; }
.post .prose li { padding-left: .2rem; }
.post .prose blockquote { border-left: 3px solid var(--cyan); padding: .4rem 0 .4rem 1.3rem; margin: 1.6rem 0; color: var(--navy); font-style: italic; font-size: 1.15rem; }
.post__share { display: flex; gap: .7rem; align-items: center; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.post__share span { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .9rem; }
.post__share a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--grey); color: var(--blue); transition: background .25s ease, color .25s ease, transform .25s ease; }
.post__share a:hover { background: var(--cyan); color: #fff; transform: translateY(-3px); }
.post__share svg { width: 18px; height: 18px; }

/* =============================================================
   23. CIT PRO — badge "PRO" sur le wordmark
   ============================================================= */
.pro-badge {
  display: inline-flex; align-items: center; margin-left: .5rem;
  padding: .12rem .5rem; border-radius: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .62rem; letter-spacing: .12em;
  background: var(--cyan-grad); color: #fff; text-transform: uppercase;
  vertical-align: middle;
}
.nav:not(.nav--scrolled) .pro-badge { background: rgba(255,255,255,.16); }
