:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft: #f5f5f7;
  --white: #ffffff;
  --brand: #0e6a8b;
  --brand-dark: #0a4f68;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.47; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav-inner { max-width: 1024px; margin: 0 auto; height: 52px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.nav-logo img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: #424245; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { text-align: center; padding: 120px 22px 100px; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.hero h1 { font-size: clamp(44px, 8vw, 88px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; max-width: 900px; margin: 0 auto; }
.hero p { font-size: clamp(19px, 2.4vw, 24px); color: var(--muted); max-width: 680px; margin: 24px auto 0; letter-spacing: -.01em; }
.hero-cta { margin-top: 36px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 19px; }

.btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 24px; border-radius: 980px; font-size: 17px; transition: background .2s; }
.btn:hover { background: var(--brand-dark); }
.link { color: var(--brand); font-size: 19px; }
.link:hover { text-decoration: underline; }
.link::after { content: " ›"; }

/* Tuiles écoles */
.schools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; max-width: 1440px; margin: 0 auto; }
.tile { position: relative; overflow: hidden; border-radius: 28px; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; padding: 64px 32px; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 100%); }
.tile:hover img { transform: scale(1.03); }
.tile .tag { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.tile h2 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; margin-top: 10px; }
.tile p { font-size: 19px; max-width: 420px; margin-top: 12px; opacity: .92; }
.tile .link { color: #fff; margin-top: 20px; }

/* Sections */
.section { padding: 120px 22px; }
.section.soft { background: var(--soft); }
.wrap { max-width: 980px; margin: 0 auto; }
.center { text-align: center; }
.section h2 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.07; }
.lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 720px; margin: 20px auto 0; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 72px; text-align: left; }
.pillar h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 17px; }
.pillar .num { font-size: 48px; font-weight: 700; letter-spacing: -.03em; color: var(--brand); line-height: 1; margin-bottom: 14px; }

/* Qualité */
.quality { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; margin-top: 64px; text-align: left; }
.quality-card { background: var(--white); border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: center; }
.quality-card img { width: 100%; max-width: 320px; }
.facts { list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; font-weight: 500; }
.note { font-size: 14px; color: var(--muted); margin-top: 20px; }

/* Infos pratiques */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; text-align: left; }
.info { background: var(--soft); border-radius: 24px; padding: 32px; }
.info h3 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.info p { font-size: 17px; }
.info p + p { margin-top: 6px; }
.info a { color: var(--brand); }
.info a:hover { text-decoration: underline; }

/* Contact */
.contact { text-align: center; }
.contact .big { display: block; font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -.03em; margin-top: 28px; color: var(--ink); }
.contact .big:hover { color: var(--brand); }

/* Pied de page */
.footer { background: var(--soft); color: var(--muted); font-size: 12px; padding: 32px 22px 48px; }
.footer .wrap { max-width: 980px; }
.footer p { line-height: 1.6; }
.footer p + p { margin-top: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.footer a { color: #424245; }
.footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 20px; }

/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 22px 120px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 40px; }
.legal h2 { font-size: 24px; font-weight: 600; letter-spacing: -.01em; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; color: #424245; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin-top: 8px; }
.legal a { color: var(--brand); }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile img { transition: none; }
  html { scroll-behavior: auto; }
}

/* Mobile */
@media (max-width: 860px) {
  .schools { grid-template-columns: 1fr; }
  .tile { min-height: 520px; padding: 48px 24px; }
  .pillars, .info-grid { grid-template-columns: 1fr; gap: 12px; }
  .pillars { gap: 40px; }
  .quality { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
  .hero { padding: 80px 16px 72px; }
  .section { padding: 88px 16px; }
  .facts li { flex-direction: column; gap: 2px; }
  .facts li span:last-child { text-align: left; }
}
