*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --teal: #2B8C7A; --teal-light: #e6f4f1; --teal-dark: #1a5c50;
  --dark: #0e1a17; --charcoal: #2a3b37; --muted: #7a9992;
  --white: #ffffff; --light: #f5f7f6; --line: #e3eae8;
  --f-display: 'Plus Jakarta Sans', sans-serif; --f-body: 'Manrope', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); background: var(--white); color: var(--dark); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: inherit; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 600; color: #3a3a3a; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.btn-nav { background: #000; color: white; padding: 10px 22px; border-radius: 100px; font-size: 14px; font-weight: 500; text-decoration: none; }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }

/* Hero fiche */
.fiche-hero { padding: 104px 0 36px; background: var(--light); border-bottom: 1px solid var(--line); }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumb a { text-decoration: none; color: var(--muted); }
.crumb a:hover { color: var(--teal); }
.fiche-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fiche-logo { width: 84px; height: 84px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.fiche-logo img { max-width: 64px; max-height: 52px; width: auto; height: auto; object-fit: contain; }
.fiche-logo .mono { font-family: var(--f-display); font-weight: 800; font-size: 21px; letter-spacing: -.01em; color: var(--teal); text-align: center; }
.fiche-title h1 { font-family: var(--f-display); font-size: 40px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.fiche-loc { font-size: 15px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.fiche-tag { margin-top: 18px; font-size: 18px; color: var(--charcoal); max-width: 640px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 7px 15px; font-size: 13px; font-weight: 600; color: var(--teal-dark); }
.chip b { color: var(--dark); }

.facts { margin: 34px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 28px; box-shadow: 0 10px 30px rgba(20,70,60,.05); }
.facts h2 { font-family: var(--f-display); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 18px; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
.fact { display: flex; flex-direction: column; gap: 3px; }
.fact .k { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.fact .v { font-size: 15px; font-weight: 600; color: var(--dark); }

main { padding: 48px 0 24px; }
.sec { margin-bottom: 44px; }
.sec h2 { font-family: var(--f-display); font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 16px; }
.sec h3 { font-family: var(--f-display); font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
.sec p { margin-bottom: 14px; color: var(--charcoal); }
.sec strong { color: var(--dark); }

.prog { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; }
.prog .n { font-family: var(--f-display); font-weight: 700; font-size: 16px; }
.prog .d { font-size: 14px; color: var(--muted); margin-top: 3px; }

.steps { counter-reset: st; list-style: none; }
.steps li { position: relative; padding: 4px 0 18px 48px; border-left: 2px solid var(--teal-light); margin-left: 16px; }
.steps li:last-child { border-left-color: transparent; }
.steps li::before { counter-increment: st; content: counter(st); position: absolute; left: -16px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.steps b { display: block; font-family: var(--f-display); font-size: 16px; margin-bottom: 3px; }
.steps span { color: var(--charcoal); font-size: 15px; }

.note { background: var(--teal-light); border-radius: 14px; padding: 16px 18px; font-size: 14px; color: var(--teal-dark); }
.note b { color: var(--teal-dark); }

.cta { background: var(--teal-dark); color: #fff; border-radius: 22px; padding: 34px 32px; text-align: center; margin: 10px 0 40px; }
.cta h2 { font-family: var(--f-display); font-size: 25px; font-weight: 800; color: #fff; }
.cta p { color: rgba(255,255,255,.85); margin: 10px auto 22px; max-width: 520px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-w { background: #fff; color: var(--teal-dark); padding: 13px 26px; border-radius: 100px; font-weight: 700; text-decoration: none; font-size: 15px; }
.btn-o { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); padding: 13px 26px; border-radius: 100px; font-weight: 700; text-decoration: none; font-size: 15px; }
.btn-w:hover { opacity: .9; } .btn-o:hover { border-color: #fff; }

footer { padding: 32px 24px; text-align: center; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
footer a { color: var(--teal); text-decoration: none; }

/* Index des écoles */
.idx-hero { padding: 104px 0 24px; background: var(--light); border-bottom: 1px solid var(--line); }
.idx-hero h1 { font-family: var(--f-display); font-size: 42px; font-weight: 800; letter-spacing: -.02em; }
.idx-hero p { font-size: 18px; color: var(--charcoal); margin-top: 12px; max-width: 620px; }
.idx-country { font-family: var(--f-display); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin: 36px 0 16px; }
.idx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.school-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; background: #fff; }
.school-card:hover { border-color: var(--teal-mid, #4aa58f); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20,70,60,.07); }
.school-card .sc-logo { height: 40px; display: flex; align-items: center; }
.school-card .sc-logo img { max-height: 36px; max-width: 120px; width: auto; object-fit: contain; }
.school-card .sc-logo .mono { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--teal); }
.school-card .sc-name { font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.school-card .sc-loc { font-size: 13px; color: var(--muted); }
.school-card .sc-go { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--teal); }

@media (max-width: 860px) { .idx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  nav { padding: 0 20px; } .nav-links { display: none; }
  .fiche-title h1 { font-size: 30px; } .idx-hero h1 { font-size: 32px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fiche-hero, .idx-hero { padding-top: 92px; }
  .idx-grid { grid-template-columns: 1fr; }
}
